@dereekb/dbx-web 1.0.0 → 2.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/README.md +1 -1
- package/_index.scss +5 -2
- package/esm2020/lib/action/action.confirm.directive.mjs +7 -7
- package/esm2020/lib/action/action.module.mjs +5 -10
- package/esm2020/lib/action/index.mjs +2 -2
- package/esm2020/lib/action/key.trigger.directive.mjs +6 -6
- package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +95 -0
- package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +107 -0
- package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +62 -0
- package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +44 -0
- package/esm2020/lib/action/snackbar/action.snackbar.mjs +2 -0
- package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +51 -0
- package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +82 -0
- package/esm2020/lib/action/snackbar/index.mjs +8 -0
- package/esm2020/lib/action/transition/action.transition.module.mjs +4 -4
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +8 -7
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +6 -6
- package/esm2020/lib/button/button.component.mjs +4 -5
- package/esm2020/lib/button/button.module.mjs +16 -12
- package/esm2020/lib/button/button.spacer.component.mjs +12 -10
- package/esm2020/lib/dbx-web.module.mjs +8 -8
- package/esm2020/lib/error/error.action.directive.mjs +6 -6
- package/esm2020/lib/error/error.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +3 -3
- package/esm2020/lib/interaction/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/interaction/filter/filter.module.mjs +4 -4
- 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 +3 -3
- 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.button.directive.mjs +9 -9
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +6 -6
- package/esm2020/lib/interaction/popover/popover.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/interaction/popover/popover.header.component.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.module.mjs +4 -4
- 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 +3 -3
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +6 -6
- 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 +3 -3
- package/esm2020/lib/interaction/popup/popup.module.mjs +4 -4
- 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 +3 -3
- package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +6 -6
- package/esm2020/lib/interaction/prompt/prompt.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/layout/block/two.block.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/layout/column/one/one.column.module.mjs +4 -4
- package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.module.mjs +4 -4
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.store.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/layout/content/content.container.directive.mjs +3 -3
- 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 +3 -3
- 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/list.component.mjs +6 -6
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +3 -3
- package/esm2020/lib/layout/list/list.directive.mjs +6 -6
- package/esm2020/lib/layout/list/list.layout.module.mjs +4 -4
- package/esm2020/lib/layout/list/list.view.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +6 -6
- package/esm2020/lib/layout/section/section.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.header.component.mjs +9 -6
- package/esm2020/lib/layout/section/section.intro.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.layout.module.mjs +4 -4
- 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 +3 -3
- package/esm2020/lib/layout/style/style.set.directive.mjs +3 -3
- package/esm2020/lib/layout/text/hint.component.mjs +3 -3
- package/esm2020/lib/layout/text/icon.spacer.component.mjs +19 -0
- package/esm2020/lib/layout/text/index.mjs +2 -1
- 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 +14 -9
- package/esm2020/lib/layout/text/warn.component.mjs +3 -3
- package/esm2020/lib/loading/basic-loading.component.mjs +3 -3
- package/esm2020/lib/loading/index.mjs +2 -1
- package/esm2020/lib/loading/loading-progress.component.mjs +3 -3
- package/esm2020/lib/loading/loading.action.directive.mjs +37 -0
- package/esm2020/lib/loading/loading.component.mjs +3 -3
- package/esm2020/lib/loading/loading.module.mjs +14 -9
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +3 -3
- package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +21 -0
- 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 +14 -9
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +3 -3
- package/esm2020/lib/router/layout/anchor/index.mjs +2 -1
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +3 -3
- package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +4 -4
- package/esm2020/lib/router/layout/layout.module.mjs +4 -4
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +3 -3
- package/esm2020/lib/router/layout/navbar/navbar.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +4 -4
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +3 -3
- package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -4
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +3 -3
- package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -4
- package/esm2020/lib/screen/screen.module.mjs +4 -4
- package/esm2020/lib/screen/screen.service.mjs +3 -3
- package/fesm2015/dereekb-dbx-web.mjs +1300 -913
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +1297 -910
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/_action.scss +8 -35
- package/lib/action/action.confirm.directive.d.ts +13 -4
- package/lib/action/action.module.d.ts +9 -10
- package/lib/action/index.d.ts +1 -1
- package/lib/action/key.trigger.directive.d.ts +3 -3
- package/lib/action/snackbar/_snackbar.scss +33 -0
- package/lib/action/snackbar/action.snackbar.component.d.ts +36 -0
- package/lib/action/snackbar/action.snackbar.d.ts +52 -0
- package/lib/action/snackbar/action.snackbar.default.d.ts +2 -0
- package/lib/action/snackbar/action.snackbar.directive.d.ts +25 -0
- package/lib/action/snackbar/action.snackbar.generator.d.ts +32 -0
- package/lib/action/snackbar/action.snackbar.module.d.ts +14 -0
- package/lib/action/snackbar/action.snackbar.service.d.ts +39 -0
- package/lib/action/snackbar/index.d.ts +7 -0
- package/lib/action/transition/transition.safety.directive.d.ts +3 -3
- package/lib/button/button.module.d.ts +2 -1
- package/lib/button/button.spacer.component.d.ts +4 -4
- package/lib/error/error.action.directive.d.ts +3 -3
- package/lib/interaction/popover/popover.action.button.directive.d.ts +3 -3
- package/lib/interaction/popover/popover.action.directive.d.ts +3 -3
- package/lib/layout/content/_content.scss +13 -0
- package/lib/layout/section/section.header.component.d.ts +1 -0
- package/lib/layout/text/icon.spacer.component.d.ts +8 -0
- package/lib/layout/text/index.d.ts +1 -0
- package/lib/layout/text/text.module.d.ts +6 -5
- package/lib/loading/index.d.ts +1 -0
- package/lib/loading/loading.action.directive.d.ts +19 -0
- package/lib/loading/loading.module.d.ts +6 -5
- package/lib/router/layout/anchor/anchor.content.component.d.ts +11 -0
- package/lib/router/layout/anchor/anchor.module.d.ts +6 -5
- package/lib/router/layout/anchor/index.d.ts +1 -0
- package/lib/style/_all-core.scss +2 -0
- package/lib/style/_all-theme.scss +2 -0
- package/lib/style/_all-typography.scss +2 -0
- package/lib/style/_function.scss +4 -0
- package/package.json +21 -20
- package/esm2020/lib/action/action.snackbar.component.mjs +0 -104
- package/lib/action/action.snackbar.component.d.ts +0 -22
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { filterMaybe, LoadingStateType, loadingStateType, skipFirstMaybe, initialize, asObservable, SubscriptionObject, ListLoadingStateContextInstance, loadingStateHasFinishedLoading, beginLoading, getter, LoadingStateContextInstance, switchMapMaybeObs, LockSet } from '@dereekb/rxjs';
|
|
2
|
+
import { Subject, BehaviorSubject, of, switchMap, startWith, shareReplay, distinctUntilChanged, combineLatest, map as map$1, delay, throttleTime, first, filter as filter$1, merge, exhaustMap, catchError, from, race } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import {
|
|
5
|
-
import * as i1$1 from '@angular/material/
|
|
4
|
+
import { Component, Input, Directive, Inject, InjectionToken, Injectable, Optional, Host, NgModule, TemplateRef, ViewChild, ChangeDetectionStrategy, ElementRef, EventEmitter, Output, HostListener, forwardRef } from '@angular/core';
|
|
5
|
+
import * as i1$1 from '@angular/material/snack-bar';
|
|
6
|
+
import { MAT_SNACK_BAR_DATA, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
7
|
+
import { map, filter, shareReplay as shareReplay$1, distinctUntilChanged as distinctUntilChanged$1, distinct, catchError as catchError$1, delay as delay$1, first as first$1, startWith as startWith$1, throttleTime as throttleTime$1, switchMap as switchMap$1, mergeMap, tap } from 'rxjs/operators';
|
|
8
|
+
import * as i1$2 from '@dereekb/dbx-core';
|
|
9
|
+
import { AbstractDbxButtonDirective, ProvideDbxButton, AbstractSubscriptionDirective, DbxCoreButtonModule, AbstractTransitionWatcherDirective, safeDetectChanges, AbstractDbxAnchorDirective, DbxInjectedComponentModule, expandClickableAnchorLinkTrees, AbstractTransitionDirective, tapDetectChanges, checkNgContentWrapperHasContent, anchorTypeForAnchor, AnchorType, DbxActionButtonDirective, DbxCoreActionModule, DbxCoreFilterModule, isIdleActionState, canTriggerAction } from '@dereekb/dbx-core';
|
|
10
|
+
import ms from 'ms';
|
|
11
|
+
import * as i1 from 'mat-progress-buttons';
|
|
12
|
+
import { MatProgressButtonsModule } from 'mat-progress-buttons';
|
|
13
|
+
import * as i3 from '@angular/common';
|
|
14
|
+
import { CommonModule } from '@angular/common';
|
|
15
|
+
import { getValueFromObjectOrGetter, mergeObjects, splitCommaSeparatedStringToSet, applyBestFit, convertToReadableError, ServerErrorResponse, UnauthorizedServerErrorResponse } from '@dereekb/util';
|
|
16
|
+
import * as i1$3 from '@angular/material/dialog';
|
|
6
17
|
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogModule } from '@angular/material/dialog';
|
|
7
|
-
import * as i1 from '@dereekb/dbx-core';
|
|
8
|
-
import { AbstractTransitionWatcherDirective, AbstractSubscriptionDirective, safeDetectChanges, AbstractDbxAnchorDirective, DbxInjectedComponentModule, expandClickableAnchorLinkTrees, AbstractTransitionDirective, tapDetectChanges, AbstractDbxButtonDirective, ProvideDbxButton, checkNgContentWrapperHasContent, anchorTypeForAnchor, AnchorType, DbxActionButtonDirective, ActionState, DbxCoreActionModule, DbxCoreFilterModule, isIdleActionState, canTriggerAction } from '@dereekb/dbx-core';
|
|
9
|
-
import { splitCommaSeparatedStringToSet, applyBestFit, convertToReadableError, ServerErrorResponse, UnauthorizedServerErrorResponse } from '@dereekb/util';
|
|
10
|
-
import { BehaviorSubject, switchMap, distinctUntilChanged, shareReplay, combineLatest, map, delay, Subject, throttleTime, first, of, startWith, filter, merge, exhaustMap, catchError, from, race } from 'rxjs';
|
|
11
|
-
import { filterMaybe, skipFirstMaybe, initialize, asObservable, SubscriptionObject, ListLoadingStateContextInstance, loadingStateHasFinishedLoading, beginLoading, getter, switchMapMaybeObs, LockSet } from '@dereekb/rxjs';
|
|
12
18
|
import * as i2 from '@angular/material/button';
|
|
13
19
|
import { MatButtonModule } from '@angular/material/button';
|
|
14
|
-
import * as i1$
|
|
20
|
+
import * as i1$c from 'ng-overlay-container';
|
|
15
21
|
import { NgOverlayContainerService, NgOverlayContainerModule } from 'ng-overlay-container';
|
|
16
|
-
import
|
|
17
|
-
import * as i1$2 from '@angular/material/toolbar';
|
|
22
|
+
import * as i1$5 from '@angular/material/toolbar';
|
|
18
23
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
19
|
-
import * as
|
|
24
|
+
import * as i1$4 from '@angular/material/icon';
|
|
20
25
|
import { MatIconModule } from '@angular/material/icon';
|
|
21
|
-
import * as i1$
|
|
26
|
+
import * as i1$6 from '@angular/material/list';
|
|
22
27
|
import { MatListModule } from '@angular/material/list';
|
|
23
28
|
import * as i7 from '@angular/material/tabs';
|
|
24
29
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
@@ -28,39 +33,545 @@ import * as i4 from '@angular/material/divider';
|
|
|
28
33
|
import { MatDividerModule } from '@angular/material/divider';
|
|
29
34
|
import * as i6 from '@angular/material/core';
|
|
30
35
|
import { MatRippleModule } from '@angular/material/core';
|
|
31
|
-
import * as i1$
|
|
32
|
-
import * as i3$
|
|
36
|
+
import * as i1$7 from '@angular/cdk/layout';
|
|
37
|
+
import * as i3$1 from '@angular/material/sidenav';
|
|
33
38
|
import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
|
|
34
39
|
import * as i2$1 from '@uirouter/angular';
|
|
35
40
|
import { UIRouterModule } from '@uirouter/angular';
|
|
36
|
-
import * as i1$
|
|
37
|
-
import { MatProgressButtonsModule } from 'mat-progress-buttons';
|
|
38
|
-
import * as i1$6 from 'angular-resize-event';
|
|
41
|
+
import * as i1$8 from 'angular-resize-event';
|
|
39
42
|
import { AngularResizeEventModule } from 'angular-resize-event';
|
|
40
43
|
import { ComponentStore } from '@ngrx/component-store';
|
|
41
44
|
import { isBoolean } from 'class-validator';
|
|
42
|
-
import * as i1$
|
|
45
|
+
import * as i1$9 from '@angular/material/progress-bar';
|
|
43
46
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
44
47
|
import * as i2$2 from '@angular/material/progress-spinner';
|
|
45
48
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
46
|
-
import * as i3$
|
|
49
|
+
import * as i3$2 from 'ngx-infinite-scroll';
|
|
47
50
|
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
48
51
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
49
52
|
import linkifyStr from 'linkify-string';
|
|
50
|
-
import * as i1$
|
|
51
|
-
import * as i1$
|
|
53
|
+
import * as i1$a from '@angular/platform-browser';
|
|
54
|
+
import * as i1$b from '@angular/material/chips';
|
|
52
55
|
import { MatChipsModule } from '@angular/material/chips';
|
|
53
|
-
import * as i3$
|
|
56
|
+
import * as i3$3 from '@angular/material/tooltip';
|
|
54
57
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
55
|
-
import * as i1$
|
|
58
|
+
import * as i1$d from '@angular/cdk/overlay';
|
|
56
59
|
import { GlobalPositionStrategy } from '@angular/cdk/overlay';
|
|
57
|
-
import * as
|
|
58
|
-
import { MAT_SNACK_BAR_DATA, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
59
|
-
import ms from 'ms';
|
|
60
|
-
import * as i3$5 from '@angular/flex-layout/flex';
|
|
60
|
+
import * as i3$4 from '@angular/flex-layout/flex';
|
|
61
61
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
62
62
|
import * as i2$3 from '@uirouter/core';
|
|
63
63
|
|
|
64
|
+
var DbxButtonDisplayType;
|
|
65
|
+
(function (DbxButtonDisplayType) {
|
|
66
|
+
DbxButtonDisplayType[DbxButtonDisplayType["RAISED"] = 0] = "RAISED";
|
|
67
|
+
DbxButtonDisplayType[DbxButtonDisplayType["STROKED"] = 1] = "STROKED";
|
|
68
|
+
DbxButtonDisplayType[DbxButtonDisplayType["FLAT"] = 2] = "FLAT";
|
|
69
|
+
})(DbxButtonDisplayType || (DbxButtonDisplayType = {}));
|
|
70
|
+
/**
|
|
71
|
+
* Complex button that supports loading states.
|
|
72
|
+
*/
|
|
73
|
+
class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
74
|
+
constructor() {
|
|
75
|
+
super(...arguments);
|
|
76
|
+
this.color = 'primary';
|
|
77
|
+
}
|
|
78
|
+
get raised() {
|
|
79
|
+
return this.type === DbxButtonDisplayType.RAISED;
|
|
80
|
+
}
|
|
81
|
+
set raised(raised) {
|
|
82
|
+
if (raised) {
|
|
83
|
+
this.type = DbxButtonDisplayType.RAISED;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
get stroked() {
|
|
87
|
+
return this.type === DbxButtonDisplayType.STROKED;
|
|
88
|
+
}
|
|
89
|
+
set stroked(stroked) {
|
|
90
|
+
if (stroked) {
|
|
91
|
+
this.type = DbxButtonDisplayType.STROKED;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
get flat() {
|
|
95
|
+
return this.type === DbxButtonDisplayType.FLAT;
|
|
96
|
+
}
|
|
97
|
+
set flat(flat) {
|
|
98
|
+
if (flat) {
|
|
99
|
+
this.type = DbxButtonDisplayType.FLAT;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
get btnOptions() {
|
|
103
|
+
const buttonIcon = (this.icon) ? {
|
|
104
|
+
fontIcon: this.icon
|
|
105
|
+
} : undefined;
|
|
106
|
+
return {
|
|
107
|
+
fab: false,
|
|
108
|
+
active: this.working,
|
|
109
|
+
buttonIcon,
|
|
110
|
+
customClass: 'dbx-button ' + ((buttonIcon && !this.text) ? 'dbx-button-no-text' : ''),
|
|
111
|
+
// buttonIcon: icon,
|
|
112
|
+
text: this.text ?? '',
|
|
113
|
+
buttonColor: this.color,
|
|
114
|
+
barColor: 'accent',
|
|
115
|
+
raised: this.raised,
|
|
116
|
+
stroked: this.stroked,
|
|
117
|
+
flat: this.flat,
|
|
118
|
+
mode: 'indeterminate',
|
|
119
|
+
spinnerSize: 18,
|
|
120
|
+
spinnerColor: 'accent',
|
|
121
|
+
// Only disabled if we're not working, in order to show the animation.
|
|
122
|
+
disabled: !this.working && this.disabled
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
DbxButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
127
|
+
DbxButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxButtonComponent, selector: "dbx-button", inputs: { type: "type", raised: "raised", stroked: "stroked", flat: "flat", color: "color" }, providers: ProvideDbxButton(DbxButtonComponent), usesInheritance: true, ngImport: i0, template: `
|
|
128
|
+
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
129
|
+
`, isInline: true, components: [{ type: i1.MatSpinnerButtonComponent, selector: "mat-spinner-button", inputs: ["options", "buttonId", "active", "disabled"], outputs: ["btnClick"] }] });
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonComponent, decorators: [{
|
|
131
|
+
type: Component,
|
|
132
|
+
args: [{
|
|
133
|
+
selector: 'dbx-button',
|
|
134
|
+
template: `
|
|
135
|
+
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
136
|
+
`,
|
|
137
|
+
providers: ProvideDbxButton(DbxButtonComponent)
|
|
138
|
+
}]
|
|
139
|
+
}], propDecorators: { type: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], raised: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], stroked: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], flat: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], color: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}] } });
|
|
150
|
+
|
|
151
|
+
class DbxSpacerDirective {
|
|
152
|
+
}
|
|
153
|
+
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
154
|
+
DbxSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxSpacerDirective, selector: "dbx-spacer, [dbx-spacer]", host: { classAttribute: "dbx-spacer" }, ngImport: i0 });
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSpacerDirective, decorators: [{
|
|
156
|
+
type: Directive,
|
|
157
|
+
args: [{
|
|
158
|
+
selector: 'dbx-spacer, [dbx-spacer]',
|
|
159
|
+
host: {
|
|
160
|
+
'class': 'dbx-spacer'
|
|
161
|
+
}
|
|
162
|
+
}]
|
|
163
|
+
}] });
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Button spacer directive.
|
|
167
|
+
*/
|
|
168
|
+
class DbxButtonSpacerDirective {
|
|
169
|
+
}
|
|
170
|
+
DbxButtonSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
171
|
+
DbxButtonSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer", host: { classAttribute: "dbx-button-spacer d-inline" }, ngImport: i0 });
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonSpacerDirective, decorators: [{
|
|
173
|
+
type: Directive,
|
|
174
|
+
args: [{
|
|
175
|
+
selector: 'dbx-button-spacer,dbxButtonSpacer',
|
|
176
|
+
host: {
|
|
177
|
+
class: 'dbx-button-spacer d-inline'
|
|
178
|
+
}
|
|
179
|
+
}]
|
|
180
|
+
}] });
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Component for a snackbar that contains an action.
|
|
184
|
+
*/
|
|
185
|
+
class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
186
|
+
constructor(snackbar, data) {
|
|
187
|
+
super();
|
|
188
|
+
this.snackbar = snackbar;
|
|
189
|
+
this.data = data;
|
|
190
|
+
this._durationTimeout = new Subject();
|
|
191
|
+
this._actionRef = new BehaviorSubject(undefined);
|
|
192
|
+
this.value$ = of(0); // value passed to the action.
|
|
193
|
+
this.sourceInstance$ = this._actionRef.pipe(filterMaybe(), map(x => x?.sourceInstance));
|
|
194
|
+
this.complete$ = this.sourceInstance$.pipe(switchMap(x => x.isSuccess$), startWith(false), shareReplay(1));
|
|
195
|
+
this.loadingStateType$ = this.sourceInstance$.pipe(switchMap(x => x.loadingStateType$), startWith(LoadingStateType.IDLE), shareReplay(1));
|
|
196
|
+
this.snackbarStatusClass$ = this.loadingStateType$.pipe(map((x) => {
|
|
197
|
+
let classes = 'dbx-action-snackbar-';
|
|
198
|
+
switch (x) {
|
|
199
|
+
case LoadingStateType.ERROR:
|
|
200
|
+
classes += 'error';
|
|
201
|
+
break;
|
|
202
|
+
case LoadingStateType.SUCCESS:
|
|
203
|
+
classes += 'success';
|
|
204
|
+
break;
|
|
205
|
+
default:
|
|
206
|
+
classes += 'idle';
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
return classes;
|
|
210
|
+
}), distinctUntilChanged(), shareReplay(1));
|
|
211
|
+
this.dismissAfterActionCompletes = () => {
|
|
212
|
+
this.snackbar._dismissAfter(ms('3s'));
|
|
213
|
+
};
|
|
214
|
+
this.dismiss = () => {
|
|
215
|
+
this.snackbar.dismiss();
|
|
216
|
+
};
|
|
217
|
+
this.button = this.data.action?.button ?? this.data.button;
|
|
218
|
+
this._actionRef.next(this.data.action?.reference);
|
|
219
|
+
}
|
|
220
|
+
get action() {
|
|
221
|
+
return this.data.action;
|
|
222
|
+
}
|
|
223
|
+
get hasAction() {
|
|
224
|
+
return Boolean(this._actionRef.value);
|
|
225
|
+
}
|
|
226
|
+
get message() {
|
|
227
|
+
return this.data.message;
|
|
228
|
+
}
|
|
229
|
+
get actionConfig() {
|
|
230
|
+
return this.data.action;
|
|
231
|
+
}
|
|
232
|
+
ngOnInit() {
|
|
233
|
+
// Subscribe and close if the duration is up and the action state is idle.
|
|
234
|
+
this.sub = this._durationTimeout.pipe(switchMap((x) => this.loadingStateType$), filter(x => x === LoadingStateType.IDLE)).subscribe(() => {
|
|
235
|
+
this.dismiss();
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
ngOnDestroy() {
|
|
239
|
+
super.ngOnDestroy();
|
|
240
|
+
this._actionRef.value?.destroy();
|
|
241
|
+
this._actionRef.complete();
|
|
242
|
+
this._durationTimeout.complete();
|
|
243
|
+
}
|
|
244
|
+
ngAfterViewInit() {
|
|
245
|
+
// Responsible for hiding itself if it has an action.
|
|
246
|
+
if (this.hasAction) {
|
|
247
|
+
setTimeout(() => {
|
|
248
|
+
this._durationTimeout.next();
|
|
249
|
+
}, this.action?.duration ?? ms('10s'));
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
DbxActionSnackbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarComponent, deps: [{ token: i1$1.MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
254
|
+
DbxActionSnackbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionSnackbarComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\"\n [dbxActionSuccess]=\"dismissAfterActionCompletes\">\n <dbx-button dbxActionButton color=\"warn\" [text]=\"button\"></dbx-button>\n </dbx-action>\n <dbx-button-spacer></dbx-button-spacer>\n </ng-container>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"close\"></dbx-button>\n </ng-container>\n </ng-container>\n</div>\n", components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: DbxSpacerDirective, selector: "dbx-spacer, [dbx-spacer]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.DbxActionDirective, selector: "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", exportAs: ["action", "dbxAction"] }, { type: i1$2.dbxActionValueStreamDirective, selector: "[dbxActionValueStream]", inputs: ["dbxActionValueStream", "dbxActionValueStreamIsNotEmpty", "dbxActionValueStreamModified"] }, { type: i1$2.DbxActionSourceDirective, selector: "[dbxActionSource]", inputs: ["dbxActionSource"] }, { type: i1$2.DbxActionSuccessDirective, selector: "[dbxActionSuccess]", inputs: ["dbxActionSuccess"] }, { type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }], pipes: { "async": i3.AsyncPipe } });
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
256
|
+
type: Component,
|
|
257
|
+
args: [{ template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\"\n [dbxActionSuccess]=\"dismissAfterActionCompletes\">\n <dbx-button dbxActionButton color=\"warn\" [text]=\"button\"></dbx-button>\n </dbx-action>\n <dbx-button-spacer></dbx-button-spacer>\n </ng-container>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"close\"></dbx-button>\n </ng-container>\n </ng-container>\n</div>\n" }]
|
|
258
|
+
}], ctorParameters: function () { return [{ type: i1$1.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
259
|
+
type: Inject,
|
|
260
|
+
args: [MAT_SNACK_BAR_DATA]
|
|
261
|
+
}] }]; } });
|
|
262
|
+
|
|
263
|
+
const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
264
|
+
'create': {
|
|
265
|
+
loading: {
|
|
266
|
+
message: 'Creating...'
|
|
267
|
+
},
|
|
268
|
+
success: {
|
|
269
|
+
button: 'Ok',
|
|
270
|
+
message: 'Created'
|
|
271
|
+
},
|
|
272
|
+
error: {
|
|
273
|
+
button: 'X',
|
|
274
|
+
message: 'Create Failed'
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
'save': {
|
|
278
|
+
loading: {
|
|
279
|
+
message: 'Saving...'
|
|
280
|
+
},
|
|
281
|
+
success: {
|
|
282
|
+
button: 'Ok',
|
|
283
|
+
message: 'Saved'
|
|
284
|
+
},
|
|
285
|
+
error: {
|
|
286
|
+
button: 'X',
|
|
287
|
+
message: 'Save Failed'
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
'merge': {
|
|
291
|
+
loading: {
|
|
292
|
+
message: 'Merging...'
|
|
293
|
+
},
|
|
294
|
+
success: {
|
|
295
|
+
button: 'Ok',
|
|
296
|
+
message: 'Merged'
|
|
297
|
+
},
|
|
298
|
+
error: {
|
|
299
|
+
button: 'X',
|
|
300
|
+
message: 'Merge Failed'
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
'delete': {
|
|
304
|
+
loading: {
|
|
305
|
+
message: 'Deleting...'
|
|
306
|
+
},
|
|
307
|
+
success: {
|
|
308
|
+
button: 'Ok',
|
|
309
|
+
message: 'Deleted'
|
|
310
|
+
},
|
|
311
|
+
error: {
|
|
312
|
+
button: 'X',
|
|
313
|
+
message: 'Delete Failed'
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
'cancel': {
|
|
317
|
+
loading: {
|
|
318
|
+
message: 'Cancelling...'
|
|
319
|
+
},
|
|
320
|
+
success: {
|
|
321
|
+
button: 'Ok',
|
|
322
|
+
message: 'Canceled'
|
|
323
|
+
},
|
|
324
|
+
error: {
|
|
325
|
+
button: 'X',
|
|
326
|
+
message: 'Cancel Failed'
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
'restore': {
|
|
330
|
+
loading: {
|
|
331
|
+
message: 'Restoring...'
|
|
332
|
+
},
|
|
333
|
+
success: {
|
|
334
|
+
button: 'Ok',
|
|
335
|
+
message: 'Restored'
|
|
336
|
+
},
|
|
337
|
+
error: {
|
|
338
|
+
button: 'X',
|
|
339
|
+
message: 'Restore Failed'
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
'refresh': {
|
|
343
|
+
loading: {
|
|
344
|
+
message: 'Refreshing...'
|
|
345
|
+
},
|
|
346
|
+
success: {
|
|
347
|
+
button: 'Ok',
|
|
348
|
+
message: 'Refreshed'
|
|
349
|
+
},
|
|
350
|
+
error: {
|
|
351
|
+
button: 'X',
|
|
352
|
+
message: 'Refresh Failed'
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
'do': {
|
|
356
|
+
loading: {
|
|
357
|
+
message: 'Doing...'
|
|
358
|
+
},
|
|
359
|
+
success: {
|
|
360
|
+
button: 'Ok',
|
|
361
|
+
message: 'Done'
|
|
362
|
+
},
|
|
363
|
+
error: {
|
|
364
|
+
button: 'X',
|
|
365
|
+
message: 'Failed'
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Creates a DbxActionSnackbarDisplayConfigGeneratorFunction from the input config.
|
|
372
|
+
*
|
|
373
|
+
* @param config
|
|
374
|
+
* @returns
|
|
375
|
+
*/
|
|
376
|
+
function makeDbxActionSnackbarDisplayConfigGeneratorFunction(config) {
|
|
377
|
+
return (input) => {
|
|
378
|
+
const { event, undo: undoInput } = input;
|
|
379
|
+
const type = event.type;
|
|
380
|
+
const eventConfigObjectOrGetter = config[type];
|
|
381
|
+
const eventConfig = eventConfigObjectOrGetter && getValueFromObjectOrGetter(eventConfigObjectOrGetter);
|
|
382
|
+
let result;
|
|
383
|
+
if (eventConfig) {
|
|
384
|
+
const { undoButtonText } = eventConfig;
|
|
385
|
+
result = {
|
|
386
|
+
button: eventConfig.button,
|
|
387
|
+
message: eventConfig.message,
|
|
388
|
+
snackbar: eventConfig.snackbar
|
|
389
|
+
};
|
|
390
|
+
if (undoInput) {
|
|
391
|
+
let reference;
|
|
392
|
+
if (typeof undoInput === 'object') {
|
|
393
|
+
reference = undoInput.getUndoAction();
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
reference = getValueFromObjectOrGetter(undoInput);
|
|
397
|
+
}
|
|
398
|
+
if (!reference) {
|
|
399
|
+
console.error('Expected action source reference was not provided to undo...');
|
|
400
|
+
}
|
|
401
|
+
else {
|
|
402
|
+
result.action = {
|
|
403
|
+
button: undoButtonText ?? 'Undo',
|
|
404
|
+
reference
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
return result;
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
const DBX_ACTION_SNACKBAR_SERVICE_CONFIG = new InjectionToken('DbxActionSnackbarServiceConfig');
|
|
414
|
+
const DEFAULT_SNACKBAR_DIRECTIVE_DURATION = ms('4s');
|
|
415
|
+
/**
|
|
416
|
+
* Used for managing/configuring the snackbar default values and pushing snackbar events.
|
|
417
|
+
*/
|
|
418
|
+
class DbxActionSnackbarService {
|
|
419
|
+
constructor(matSnackBar, inputConfig) {
|
|
420
|
+
this.matSnackBar = matSnackBar;
|
|
421
|
+
inputConfig = inputConfig ?? {};
|
|
422
|
+
this.config = {
|
|
423
|
+
...inputConfig,
|
|
424
|
+
componentClass: inputConfig.componentClass ?? DbxActionSnackbarComponent,
|
|
425
|
+
defaultDuration: inputConfig.defaultDuration || DEFAULT_SNACKBAR_DIRECTIVE_DURATION,
|
|
426
|
+
eventTypeConfigs: mergeObjects([DBX_ACTION_SNACKBAR_DEFAULTS, inputConfig.eventTypeConfigs])
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
get componentClass() {
|
|
430
|
+
return this.config.componentClass;
|
|
431
|
+
}
|
|
432
|
+
get eventTypeConfigs() {
|
|
433
|
+
return this.config.eventTypeConfigs;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Opens a new snackbar given the input configuration.
|
|
437
|
+
*
|
|
438
|
+
* @param config
|
|
439
|
+
* @returns
|
|
440
|
+
*/
|
|
441
|
+
openSnackbar(config) {
|
|
442
|
+
const { snackbar: inputSnackbarConfig } = config;
|
|
443
|
+
const { snackbar: defaultSnackbarConfig, defaultDuration } = this.config;
|
|
444
|
+
const matSnackbarConfig = {
|
|
445
|
+
...defaultSnackbarConfig,
|
|
446
|
+
...inputSnackbarConfig,
|
|
447
|
+
data: config
|
|
448
|
+
};
|
|
449
|
+
const duration = config.action?.duration ?? matSnackbarConfig.duration ?? defaultDuration ?? DEFAULT_SNACKBAR_DIRECTIVE_DURATION;
|
|
450
|
+
if (config.action) {
|
|
451
|
+
// Set the duration on the action
|
|
452
|
+
config.action = {
|
|
453
|
+
...config.action,
|
|
454
|
+
duration
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
// The snackbar does not close here. The duration is passed to the component and it will close it.
|
|
459
|
+
matSnackbarConfig.duration = duration;
|
|
460
|
+
}
|
|
461
|
+
return this.matSnackBar.openFromComponent(this.componentClass, matSnackbarConfig);
|
|
462
|
+
}
|
|
463
|
+
generateDisplayConfig(type, input) {
|
|
464
|
+
const configForType = this.eventTypeConfigs[type ?? 'none'];
|
|
465
|
+
let result;
|
|
466
|
+
if (configForType) {
|
|
467
|
+
result = makeDbxActionSnackbarDisplayConfigGeneratorFunction(configForType)(input);
|
|
468
|
+
}
|
|
469
|
+
return result;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
DbxActionSnackbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarService, deps: [{ token: i1$1.MatSnackBar }, { token: DBX_ACTION_SNACKBAR_SERVICE_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
473
|
+
DbxActionSnackbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarService, providedIn: 'root' });
|
|
474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarService, decorators: [{
|
|
475
|
+
type: Injectable,
|
|
476
|
+
args: [{
|
|
477
|
+
providedIn: 'root'
|
|
478
|
+
}]
|
|
479
|
+
}], ctorParameters: function () { return [{ type: i1$1.MatSnackBar }, { type: undefined, decorators: [{
|
|
480
|
+
type: Optional
|
|
481
|
+
}, {
|
|
482
|
+
type: Inject,
|
|
483
|
+
args: [DBX_ACTION_SNACKBAR_SERVICE_CONFIG]
|
|
484
|
+
}] }]; } });
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Action directive that displays a snackbar when the action context hits a certain state.
|
|
488
|
+
*/
|
|
489
|
+
class DbxActionSnackbarDirective extends AbstractSubscriptionDirective {
|
|
490
|
+
constructor(source, dbxActionSnackbarService) {
|
|
491
|
+
super();
|
|
492
|
+
this.source = source;
|
|
493
|
+
this.dbxActionSnackbarService = dbxActionSnackbarService;
|
|
494
|
+
}
|
|
495
|
+
get snackbarFunction() {
|
|
496
|
+
return this._snackbarFunction;
|
|
497
|
+
}
|
|
498
|
+
set snackbarFunction(snackbarFunction) {
|
|
499
|
+
if (snackbarFunction) {
|
|
500
|
+
this._snackbarFunction = snackbarFunction;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
ngOnInit() {
|
|
504
|
+
this.sub = this.source.pipeStore((store) => store.loadingState$).subscribe((loadingState) => {
|
|
505
|
+
const event = { value: loadingState.value, error: loadingState.error, type: loadingStateType(loadingState) };
|
|
506
|
+
const config = this.buildConfigurationForEvent(event);
|
|
507
|
+
if (config) {
|
|
508
|
+
this.showSnackbarForConfiguration(config, event);
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
buildConfigurationForEvent(event) {
|
|
513
|
+
const input = {
|
|
514
|
+
event,
|
|
515
|
+
undo: event.type === LoadingStateType.SUCCESS ? this.dbxActionSnackbarUndo : undefined // only show undo on success.
|
|
516
|
+
};
|
|
517
|
+
return (this.snackbarFunction) ? this.snackbarFunction(input) : this.dbxActionSnackbarService.generateDisplayConfig(this.dbxActionSnackbarDefault, input);
|
|
518
|
+
}
|
|
519
|
+
showSnackbarForConfiguration(config, event) {
|
|
520
|
+
this.dbxActionSnackbarService.openSnackbar(config);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
DbxActionSnackbarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarDirective, deps: [{ token: i1$2.DbxActionContextStoreSourceInstance, host: true }, { token: DbxActionSnackbarService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
524
|
+
DbxActionSnackbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionSnackbarDirective, selector: "[dbxActionSnackbar]", inputs: { snackbarFunction: ["dbxActionSnackbar", "snackbarFunction"], dbxActionSnackbarDefault: "dbxActionSnackbarDefault", dbxActionSnackbarUndo: "dbxActionSnackbarUndo" }, usesInheritance: true, ngImport: i0 });
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarDirective, decorators: [{
|
|
526
|
+
type: Directive,
|
|
527
|
+
args: [{
|
|
528
|
+
selector: '[dbxActionSnackbar]'
|
|
529
|
+
}]
|
|
530
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
531
|
+
type: Host
|
|
532
|
+
}] }, { type: DbxActionSnackbarService }]; }, propDecorators: { snackbarFunction: [{
|
|
533
|
+
type: Input,
|
|
534
|
+
args: ['dbxActionSnackbar']
|
|
535
|
+
}], dbxActionSnackbarDefault: [{
|
|
536
|
+
type: Input
|
|
537
|
+
}], dbxActionSnackbarUndo: [{
|
|
538
|
+
type: Input
|
|
539
|
+
}] } });
|
|
540
|
+
|
|
541
|
+
class DbxButtonModule {
|
|
542
|
+
}
|
|
543
|
+
DbxButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
544
|
+
DbxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonModule, declarations: [DbxButtonComponent,
|
|
545
|
+
DbxButtonSpacerDirective], imports: [CommonModule,
|
|
546
|
+
MatProgressButtonsModule], exports: [DbxCoreButtonModule,
|
|
547
|
+
MatProgressButtonsModule,
|
|
548
|
+
DbxButtonComponent,
|
|
549
|
+
DbxButtonSpacerDirective] });
|
|
550
|
+
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonModule, imports: [[
|
|
551
|
+
CommonModule,
|
|
552
|
+
MatProgressButtonsModule
|
|
553
|
+
], DbxCoreButtonModule,
|
|
554
|
+
MatProgressButtonsModule] });
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonModule, decorators: [{
|
|
556
|
+
type: NgModule,
|
|
557
|
+
args: [{
|
|
558
|
+
imports: [
|
|
559
|
+
CommonModule,
|
|
560
|
+
MatProgressButtonsModule
|
|
561
|
+
],
|
|
562
|
+
declarations: [
|
|
563
|
+
DbxButtonComponent,
|
|
564
|
+
DbxButtonSpacerDirective
|
|
565
|
+
],
|
|
566
|
+
exports: [
|
|
567
|
+
DbxCoreButtonModule,
|
|
568
|
+
MatProgressButtonsModule,
|
|
569
|
+
DbxButtonComponent,
|
|
570
|
+
DbxButtonSpacerDirective
|
|
571
|
+
],
|
|
572
|
+
}]
|
|
573
|
+
}] });
|
|
574
|
+
|
|
64
575
|
/**
|
|
65
576
|
* Abstract dialog component that closes when a transition is successful.
|
|
66
577
|
*/
|
|
@@ -77,19 +588,19 @@ class AbstractDialogDirective extends AbstractTransitionWatcherDirective {
|
|
|
77
588
|
this.dialogRef.close(value);
|
|
78
589
|
}
|
|
79
590
|
}
|
|
80
|
-
AbstractDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
81
|
-
AbstractDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
591
|
+
AbstractDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDialogDirective, deps: [{ token: MAT_DIALOG_DATA, optional: true }, { token: MatDialogRef }, { token: i1$2.DbxRouterTransitionService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
592
|
+
AbstractDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDialogDirective, usesInheritance: true, ngImport: i0 });
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDialogDirective, decorators: [{
|
|
83
594
|
type: Directive
|
|
84
595
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
85
596
|
type: Optional
|
|
86
597
|
}, {
|
|
87
598
|
type: Inject,
|
|
88
599
|
args: [MAT_DIALOG_DATA]
|
|
89
|
-
}] }, { type: i1$
|
|
600
|
+
}] }, { type: i1$3.MatDialogRef, decorators: [{
|
|
90
601
|
type: Inject,
|
|
91
602
|
args: [MatDialogRef]
|
|
92
|
-
}] }, { type: i1.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
603
|
+
}] }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
93
604
|
|
|
94
605
|
/**
|
|
95
606
|
* Component used to style a dialog.
|
|
@@ -99,9 +610,9 @@ class DbxDialogContentDirective {
|
|
|
99
610
|
this.width = 'normal';
|
|
100
611
|
}
|
|
101
612
|
}
|
|
102
|
-
DbxDialogContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
103
|
-
DbxDialogContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
613
|
+
DbxDialogContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
614
|
+
DbxDialogContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxDialogContentDirective, selector: "dbx-dialog-content,.dbx-dialog-content", inputs: { width: "width" }, host: { properties: { "class": "width + '-dialog-content'" }, classAttribute: "dbx-dialog-content" }, ngImport: i0 });
|
|
615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogContentDirective, decorators: [{
|
|
105
616
|
type: Directive,
|
|
106
617
|
args: [{
|
|
107
618
|
selector: 'dbx-dialog-content,.dbx-dialog-content',
|
|
@@ -142,7 +653,7 @@ class DbxStyleService {
|
|
|
142
653
|
this._suffix.next(suffix);
|
|
143
654
|
}
|
|
144
655
|
getStyleWithConfig(configObs) {
|
|
145
|
-
return combineLatest([configObs, this.suffix$]).pipe(map(([config, suffix]) => {
|
|
656
|
+
return combineLatest([configObs, this.suffix$]).pipe(map$1(([config, suffix]) => {
|
|
146
657
|
let style = config.style;
|
|
147
658
|
if (suffix != null && config.suffixes) {
|
|
148
659
|
const sanitizedSuffix = ((suffix[0] === '-') ? suffix?.slice(1) : suffix);
|
|
@@ -172,9 +683,9 @@ class DbxStyleService {
|
|
|
172
683
|
this._config.complete();
|
|
173
684
|
}
|
|
174
685
|
}
|
|
175
|
-
DbxStyleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
176
|
-
DbxStyleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
686
|
+
DbxStyleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleService, deps: [{ token: DBX_STYLE_DEFAULT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
687
|
+
DbxStyleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleService, providedIn: 'root' });
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleService, decorators: [{
|
|
178
689
|
type: Injectable,
|
|
179
690
|
args: [{
|
|
180
691
|
providedIn: 'root'
|
|
@@ -199,8 +710,8 @@ class DbxSetStyleDirective extends AbstractSubscriptionDirective {
|
|
|
199
710
|
this._suffixes = new BehaviorSubject(undefined);
|
|
200
711
|
this._style = new BehaviorSubject(undefined);
|
|
201
712
|
this.style$ = this._style.pipe(filterMaybe());
|
|
202
|
-
this.suffixes$ = this._suffixes.pipe(distinctUntilChanged(), map(splitCommaSeparatedStringToSet));
|
|
203
|
-
this.config$ = combineLatest([this.style$, this.suffixes$]).pipe(map(([style, suffixes]) => ({ style, suffixes })), shareReplay(1));
|
|
713
|
+
this.suffixes$ = this._suffixes.pipe(distinctUntilChanged(), map$1(splitCommaSeparatedStringToSet));
|
|
714
|
+
this.config$ = combineLatest([this.style$, this.suffixes$]).pipe(map$1(([style, suffixes]) => ({ style, suffixes })), shareReplay(1));
|
|
204
715
|
this.outputStyle$ = this.styleService.getStyleWithConfig(this.config$);
|
|
205
716
|
this.outputStyle = '';
|
|
206
717
|
}
|
|
@@ -228,9 +739,9 @@ class DbxSetStyleDirective extends AbstractSubscriptionDirective {
|
|
|
228
739
|
this._suffixes.next(suffixes);
|
|
229
740
|
}
|
|
230
741
|
}
|
|
231
|
-
DbxSetStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
232
|
-
DbxSetStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
742
|
+
DbxSetStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSetStyleDirective, deps: [{ token: DbxStyleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
743
|
+
DbxSetStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxSetStyleDirective, selector: "[dbxSetStyle]", inputs: { style: ["dbxSetStyle", "style"], suffixes: "suffixes" }, host: { properties: { "class": "outputStyle" }, classAttribute: "dbx-style-root" }, usesInheritance: true, ngImport: i0 });
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSetStyleDirective, decorators: [{
|
|
234
745
|
type: Directive,
|
|
235
746
|
args: [{
|
|
236
747
|
selector: '[dbxSetStyle]',
|
|
@@ -260,9 +771,9 @@ class DbxStyleDirective extends AbstractSubscriptionDirective {
|
|
|
260
771
|
this.style = '';
|
|
261
772
|
}
|
|
262
773
|
}
|
|
263
|
-
DbxStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
264
|
-
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
774
|
+
DbxStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleDirective, deps: [{ token: DbxStyleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
775
|
+
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxStyleDirective, selector: "dbx-style, [dbx-style], .dbx-style", host: { properties: { "class": "style" } }, usesInheritance: true, ngImport: i0 });
|
|
776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleDirective, decorators: [{
|
|
266
777
|
type: Directive,
|
|
267
778
|
args: [{
|
|
268
779
|
selector: 'dbx-style, [dbx-style], .dbx-style',
|
|
@@ -272,20 +783,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
272
783
|
}]
|
|
273
784
|
}], ctorParameters: function () { return [{ type: DbxStyleService }, { type: i0.ChangeDetectorRef }]; } });
|
|
274
785
|
|
|
275
|
-
class DbxSpacerDirective {
|
|
276
|
-
}
|
|
277
|
-
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
278
|
-
DbxSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: DbxSpacerDirective, selector: "dbx-spacer, [dbx-spacer]", host: { classAttribute: "dbx-spacer" }, ngImport: i0 });
|
|
279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxSpacerDirective, decorators: [{
|
|
280
|
-
type: Directive,
|
|
281
|
-
args: [{
|
|
282
|
-
selector: 'dbx-spacer, [dbx-spacer]',
|
|
283
|
-
host: {
|
|
284
|
-
'class': 'dbx-spacer'
|
|
285
|
-
}
|
|
286
|
-
}]
|
|
287
|
-
}] });
|
|
288
|
-
|
|
289
786
|
/**
|
|
290
787
|
* Used to style the body document using the style provided by DbxStyleService.
|
|
291
788
|
*/
|
|
@@ -303,9 +800,9 @@ class DbxStyleBodyDirective extends AbstractSubscriptionDirective {
|
|
|
303
800
|
this._currentStyle = '';
|
|
304
801
|
}
|
|
305
802
|
}
|
|
306
|
-
DbxStyleBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
307
|
-
DbxStyleBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
803
|
+
DbxStyleBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleBodyDirective, deps: [{ token: i0.Renderer2 }, { token: DbxStyleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
804
|
+
DbxStyleBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxStyleBodyDirective, selector: "[dbxStyleBody]", host: { properties: { "class": "style" } }, usesInheritance: true, ngImport: i0 });
|
|
805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleBodyDirective, decorators: [{
|
|
309
806
|
type: Directive,
|
|
310
807
|
args: [{
|
|
311
808
|
selector: '[dbxStyleBody]',
|
|
@@ -317,18 +814,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
317
814
|
|
|
318
815
|
class DbxStyleLayoutModule {
|
|
319
816
|
}
|
|
320
|
-
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
321
|
-
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
817
|
+
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
818
|
+
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxSpacerDirective,
|
|
322
819
|
DbxStyleDirective,
|
|
323
820
|
DbxSetStyleDirective,
|
|
324
821
|
DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxSpacerDirective,
|
|
325
822
|
DbxStyleDirective,
|
|
326
823
|
DbxSetStyleDirective,
|
|
327
824
|
DbxStyleBodyDirective] });
|
|
328
|
-
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
825
|
+
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, imports: [[
|
|
329
826
|
CommonModule
|
|
330
827
|
]] });
|
|
331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, decorators: [{
|
|
332
829
|
type: NgModule,
|
|
333
830
|
args: [{
|
|
334
831
|
imports: [
|
|
@@ -354,14 +851,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
354
851
|
*/
|
|
355
852
|
class DbxDialogInteractionModule {
|
|
356
853
|
}
|
|
357
|
-
DbxDialogInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
358
|
-
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
854
|
+
DbxDialogInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
855
|
+
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, declarations: [DbxDialogContentDirective], imports: [CommonModule,
|
|
359
856
|
DbxStyleLayoutModule], exports: [DbxDialogContentDirective] });
|
|
360
|
-
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
857
|
+
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, imports: [[
|
|
361
858
|
CommonModule,
|
|
362
859
|
DbxStyleLayoutModule
|
|
363
860
|
]] });
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, decorators: [{
|
|
365
862
|
type: NgModule,
|
|
366
863
|
args: [{
|
|
367
864
|
imports: [
|
|
@@ -443,9 +940,9 @@ class PopoverPositionStrategy {
|
|
|
443
940
|
*/
|
|
444
941
|
class DbxBarDirective {
|
|
445
942
|
}
|
|
446
|
-
DbxBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
447
|
-
DbxBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
943
|
+
DbxBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
944
|
+
DbxBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxBarDirective, selector: "dbx-bar", inputs: { color: "color" }, host: { properties: { "class.dbx-primary-bg": "color === \"primary\"", "class.dbx-accent-bg": "color === \"accent\"", "class.dbx-warn-bg": "color === \"warn\"" }, classAttribute: "dbx-bar" }, ngImport: i0 });
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarDirective, decorators: [{
|
|
449
946
|
type: Directive,
|
|
450
947
|
args: [{
|
|
451
948
|
selector: 'dbx-bar',
|
|
@@ -465,14 +962,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
465
962
|
*/
|
|
466
963
|
class DbxBarHeaderComponent {
|
|
467
964
|
}
|
|
468
|
-
DbxBarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
469
|
-
DbxBarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
965
|
+
DbxBarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
966
|
+
DbxBarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxBarHeaderComponent, selector: "dbx-bar-header", inputs: { text: "text", icon: "icon", color: "color" }, host: { classAttribute: "dbx-bar-header dbx-hint" }, ngImport: i0, template: `
|
|
470
967
|
<dbx-bar [color]="color">
|
|
471
968
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
472
969
|
<span *ngIf="text">{{ text }}</span>
|
|
473
970
|
</dbx-bar>
|
|
474
|
-
`, isInline: true, components: [{ type:
|
|
475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
971
|
+
`, isInline: true, components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: DbxBarDirective, selector: "dbx-bar", inputs: ["color"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarHeaderComponent, decorators: [{
|
|
476
973
|
type: Component,
|
|
477
974
|
args: [{
|
|
478
975
|
selector: 'dbx-bar-header',
|
|
@@ -496,9 +993,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
496
993
|
|
|
497
994
|
class DbxPagebarComponent {
|
|
498
995
|
}
|
|
499
|
-
DbxPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
500
|
-
DbxPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
996
|
+
DbxPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPagebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
997
|
+
DbxPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: { color: "color" }, ngImport: i0, template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"(color) ? ('dbx-bar-' + color) : ''\">\n <ng-content select=\"[left]\"></ng-content>\n <span class=\"spacer\"></span>\n <ng-content select=\"[right]\"></ng-content>\n</mat-toolbar>\n", components: [{ type: i1$5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPagebarComponent, decorators: [{
|
|
502
999
|
type: Component,
|
|
503
1000
|
args: [{ selector: 'dbx-pagebar', template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"(color) ? ('dbx-bar-' + color) : ''\">\n <ng-content select=\"[left]\"></ng-content>\n <span class=\"spacer\"></span>\n <ng-content select=\"[right]\"></ng-content>\n</mat-toolbar>\n" }]
|
|
504
1001
|
}], propDecorators: { color: [{
|
|
@@ -510,20 +1007,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
510
1007
|
*/
|
|
511
1008
|
class DbxBarLayoutModule {
|
|
512
1009
|
}
|
|
513
|
-
DbxBarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
514
|
-
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1010
|
+
DbxBarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1011
|
+
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, declarations: [DbxBarDirective,
|
|
515
1012
|
DbxBarHeaderComponent,
|
|
516
1013
|
DbxPagebarComponent], imports: [CommonModule,
|
|
517
1014
|
MatToolbarModule,
|
|
518
1015
|
MatIconModule], exports: [DbxBarDirective,
|
|
519
1016
|
DbxBarHeaderComponent,
|
|
520
1017
|
DbxPagebarComponent] });
|
|
521
|
-
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1018
|
+
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, imports: [[
|
|
522
1019
|
CommonModule,
|
|
523
1020
|
MatToolbarModule,
|
|
524
1021
|
MatIconModule
|
|
525
1022
|
]] });
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, decorators: [{
|
|
527
1024
|
type: NgModule,
|
|
528
1025
|
args: [{
|
|
529
1026
|
imports: [
|
|
@@ -556,8 +1053,8 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
556
1053
|
this.dbNgxRouterWebProviderConfig = dbNgxRouterWebProviderConfig;
|
|
557
1054
|
this._templateRef = new BehaviorSubject(undefined);
|
|
558
1055
|
this.templateRef$ = this._templateRef.pipe(skipFirstMaybe(), shareReplay$1(1));
|
|
559
|
-
this.url$ = this.anchor$.pipe(map
|
|
560
|
-
this.target$ = this.anchor$.pipe(map
|
|
1056
|
+
this.url$ = this.anchor$.pipe(map(x => x?.url), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1057
|
+
this.target$ = this.anchor$.pipe(map(x => x?.target), distinctUntilChanged$1(), shareReplay$1(1));
|
|
561
1058
|
}
|
|
562
1059
|
get templateRef() {
|
|
563
1060
|
return this._templateRef.value;
|
|
@@ -572,9 +1069,9 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
572
1069
|
this.anchor?.onClick?.(event);
|
|
573
1070
|
}
|
|
574
1071
|
}
|
|
575
|
-
DbxAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
576
|
-
DbxAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1072
|
+
DbxAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorComponent, deps: [{ token: DbxRouterWebProviderConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
1073
|
+
DbxAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: { block: "block" }, host: { attributes: { "dbx-anchor-block": "block" }, classAttribute: "d-inline dbx-anchor" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"(type$ | async)\">\n <!-- Plain -->\n <ng-container *ngSwitchCase=\"0\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n <!-- Click -->\n <a class=\"dbx-anchor-a dbx-anchor-click\" (click)=\"clickAnchor()\" *ngSwitchCase=\"1\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n <!-- Router -->\n <dbx-injected-content [config]=\"srefAnchorConfig\" *ngSwitchCase=\"2\">\n <!-- Injected in child. -->\n </dbx-injected-content>\n <!-- Href -->\n <a class=\"dbx-anchor-a dbx-anchor-href\" [href]=\"url$ | async\" [attr.target]=\"target$ | async\"\n *ngSwitchCase=\"3\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n <!-- Disabled or None -->\n <a class=\"dbx-anchor-a dbx-anchor-disabled\" *ngSwitchDefault>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-container>\n<!-- Template content -->\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", components: [{ type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "async": i3.AsyncPipe } });
|
|
1074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorComponent, decorators: [{
|
|
578
1075
|
type: Component,
|
|
579
1076
|
args: [{ selector: 'dbx-anchor, [dbx-anchor]', host: {
|
|
580
1077
|
class: 'd-inline dbx-anchor',
|
|
@@ -592,13 +1089,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
592
1089
|
*/
|
|
593
1090
|
class DbxAnchorIconComponent {
|
|
594
1091
|
}
|
|
595
|
-
DbxAnchorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
596
|
-
DbxAnchorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1092
|
+
DbxAnchorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1093
|
+
DbxAnchorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAnchorIconComponent, selector: "dbx-anchor-icon", inputs: { anchor: "anchor" }, ngImport: i0, template: `
|
|
597
1094
|
<dbx-anchor [anchor]="anchor">
|
|
598
1095
|
<button mat-icon-button><mat-icon>{{ anchor?.icon }}</mat-icon></button>
|
|
599
1096
|
</dbx-anchor>
|
|
600
|
-
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i2.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"] }, { type:
|
|
601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1097
|
+
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i2.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"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorIconComponent, decorators: [{
|
|
602
1099
|
type: Component,
|
|
603
1100
|
args: [{
|
|
604
1101
|
selector: 'dbx-anchor-icon',
|
|
@@ -631,13 +1128,13 @@ class DbxAnchorLinkComponent {
|
|
|
631
1128
|
}
|
|
632
1129
|
}
|
|
633
1130
|
}
|
|
634
|
-
DbxAnchorLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
635
|
-
DbxAnchorLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1131
|
+
DbxAnchorLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1132
|
+
DbxAnchorLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAnchorLinkComponent, selector: "dbx-link", inputs: { anchor: "anchor", ref: "ref", href: "href" }, host: { classAttribute: "d-inline dbx-link" }, ngImport: i0, template: `
|
|
636
1133
|
<dbx-anchor [anchor]="anchor">
|
|
637
1134
|
<ng-content></ng-content>
|
|
638
1135
|
</dbx-anchor>
|
|
639
1136
|
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
|
|
640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorLinkComponent, decorators: [{
|
|
641
1138
|
type: Component,
|
|
642
1139
|
args: [{
|
|
643
1140
|
selector: 'dbx-link',
|
|
@@ -658,24 +1155,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
658
1155
|
type: Input
|
|
659
1156
|
}] } });
|
|
660
1157
|
|
|
1158
|
+
/**
|
|
1159
|
+
* Component that displays an anchor and a span with the title.
|
|
1160
|
+
*/
|
|
1161
|
+
class DbxAnchorContentComponent {
|
|
1162
|
+
}
|
|
1163
|
+
DbxAnchorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1164
|
+
DbxAnchorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAnchorContentComponent, selector: "dbx-anchor-content", inputs: { anchor: "anchor" }, ngImport: i0, template: `<mat-icon *ngIf="anchor?.icon">{{ anchor?.icon }}</mat-icon><span *ngIf="anchor?.title">{{ anchor?.title }}</span>`, isInline: true, components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorContentComponent, decorators: [{
|
|
1166
|
+
type: Component,
|
|
1167
|
+
args: [{
|
|
1168
|
+
selector: 'dbx-anchor-content',
|
|
1169
|
+
template: `<mat-icon *ngIf="anchor?.icon">{{ anchor?.icon }}</mat-icon><span *ngIf="anchor?.title">{{ anchor?.title }}</span>`
|
|
1170
|
+
}]
|
|
1171
|
+
}], propDecorators: { anchor: [{
|
|
1172
|
+
type: Input
|
|
1173
|
+
}] } });
|
|
1174
|
+
|
|
661
1175
|
class DbxAnchorModule {
|
|
662
1176
|
}
|
|
663
|
-
DbxAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
664
|
-
DbxAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1177
|
+
DbxAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1178
|
+
DbxAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, declarations: [DbxAnchorComponent,
|
|
665
1179
|
DbxAnchorIconComponent,
|
|
666
|
-
DbxAnchorLinkComponent
|
|
1180
|
+
DbxAnchorLinkComponent,
|
|
1181
|
+
DbxAnchorContentComponent], imports: [CommonModule,
|
|
667
1182
|
MatIconModule,
|
|
668
1183
|
MatButtonModule,
|
|
669
1184
|
DbxInjectedComponentModule], exports: [DbxAnchorComponent,
|
|
670
1185
|
DbxAnchorIconComponent,
|
|
671
|
-
DbxAnchorLinkComponent
|
|
672
|
-
|
|
1186
|
+
DbxAnchorLinkComponent,
|
|
1187
|
+
DbxAnchorContentComponent] });
|
|
1188
|
+
DbxAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, imports: [[
|
|
673
1189
|
CommonModule,
|
|
674
1190
|
MatIconModule,
|
|
675
1191
|
MatButtonModule,
|
|
676
1192
|
DbxInjectedComponentModule
|
|
677
1193
|
]] });
|
|
678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, decorators: [{
|
|
679
1195
|
type: NgModule,
|
|
680
1196
|
args: [{
|
|
681
1197
|
imports: [
|
|
@@ -687,12 +1203,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
687
1203
|
declarations: [
|
|
688
1204
|
DbxAnchorComponent,
|
|
689
1205
|
DbxAnchorIconComponent,
|
|
690
|
-
DbxAnchorLinkComponent
|
|
1206
|
+
DbxAnchorLinkComponent,
|
|
1207
|
+
DbxAnchorContentComponent
|
|
691
1208
|
],
|
|
692
1209
|
exports: [
|
|
693
1210
|
DbxAnchorComponent,
|
|
694
1211
|
DbxAnchorIconComponent,
|
|
695
|
-
DbxAnchorLinkComponent
|
|
1212
|
+
DbxAnchorLinkComponent,
|
|
1213
|
+
DbxAnchorContentComponent
|
|
696
1214
|
]
|
|
697
1215
|
}]
|
|
698
1216
|
}] });
|
|
@@ -704,10 +1222,10 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
704
1222
|
constructor(parent) {
|
|
705
1223
|
this.parent = parent;
|
|
706
1224
|
this.target$ = this.parent.target$;
|
|
707
|
-
this.ref$ = this.parent.anchor$.pipe(map
|
|
708
|
-
this.refParams$ = this.parent.anchor$.pipe(map
|
|
709
|
-
this.refOptions$ = this.parent.anchor$.pipe(map
|
|
710
|
-
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged$1(), map
|
|
1225
|
+
this.ref$ = this.parent.anchor$.pipe(map(x => x?.ref), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1226
|
+
this.refParams$ = this.parent.anchor$.pipe(map(x => x?.refParams), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1227
|
+
this.refOptions$ = this.parent.anchor$.pipe(map(x => x?.refOptions), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1228
|
+
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged$1(), map(templateRef => ({
|
|
711
1229
|
templateRef
|
|
712
1230
|
})), shareReplay$1(1));
|
|
713
1231
|
}
|
|
@@ -715,9 +1233,9 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
715
1233
|
return this.parent.anchor;
|
|
716
1234
|
}
|
|
717
1235
|
}
|
|
718
|
-
AbstractDbxSegueAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
719
|
-
AbstractDbxSegueAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1236
|
+
AbstractDbxSegueAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSegueAnchorDirective, deps: [{ token: DbxAnchorComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1237
|
+
AbstractDbxSegueAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxSegueAnchorDirective, ngImport: i0 });
|
|
1238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSegueAnchorDirective, decorators: [{
|
|
721
1239
|
type: Directive
|
|
722
1240
|
}], ctorParameters: function () { return [{ type: DbxAnchorComponent }]; } });
|
|
723
1241
|
|
|
@@ -727,7 +1245,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
727
1245
|
class DbxAnchorListComponent {
|
|
728
1246
|
constructor() {
|
|
729
1247
|
this._anchors = new BehaviorSubject([]);
|
|
730
|
-
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map(x => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
1248
|
+
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map$1(x => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
731
1249
|
}
|
|
732
1250
|
set anchors(anchors) {
|
|
733
1251
|
this._anchors.next(anchors ?? []);
|
|
@@ -736,9 +1254,9 @@ class DbxAnchorListComponent {
|
|
|
736
1254
|
this._anchors.complete();
|
|
737
1255
|
}
|
|
738
1256
|
}
|
|
739
|
-
DbxAnchorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
740
|
-
DbxAnchorListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1257
|
+
DbxAnchorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1258
|
+
DbxAnchorListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAnchorListComponent, selector: "dbx-anchor-list", inputs: { anchors: "anchors" }, ngImport: i0, template: "<mat-nav-list class=\"dbx-anchor-list\">\n <ng-container *ngFor=\"let expanded of expandedAnchors$ | async; let last = last;\">\n <span dbx-anchor [anchor]=\"expanded.value\">\n <a mat-list-item [ngClass]=\"(expanded.depth) ? 'dbx-anchor-list-child' : 'dbx-anchor-list-root'\">\n <mat-icon mat-list-icon *ngIf=\"expanded.value.icon\">{{ expanded.value.icon }}</mat-icon>\n <!-- TODO: Add an icon from a letter if anchor.icon is unavailable. -->\n <div mat-line>{{ expanded.value.title }}</div>\n <mat-divider *ngIf=\"!last\"></mat-divider>\n </a>\n </span>\n </ng-container>\n</mat-nav-list>\n", components: [{ type: i1$6.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i1$6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$6.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i6.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "async": i3.AsyncPipe } });
|
|
1259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListComponent, decorators: [{
|
|
742
1260
|
type: Component,
|
|
743
1261
|
args: [{ selector: 'dbx-anchor-list', template: "<mat-nav-list class=\"dbx-anchor-list\">\n <ng-container *ngFor=\"let expanded of expandedAnchors$ | async; let last = last;\">\n <span dbx-anchor [anchor]=\"expanded.value\">\n <a mat-list-item [ngClass]=\"(expanded.depth) ? 'dbx-anchor-list-child' : 'dbx-anchor-list-root'\">\n <mat-icon mat-list-icon *ngIf=\"expanded.value.icon\">{{ expanded.value.icon }}</mat-icon>\n <!-- TODO: Add an icon from a letter if anchor.icon is unavailable. -->\n <div mat-line>{{ expanded.value.title }}</div>\n <mat-divider *ngIf=\"!last\"></mat-divider>\n </a>\n </span>\n </ng-container>\n</mat-nav-list>\n" }]
|
|
744
1262
|
}], propDecorators: { anchors: [{
|
|
@@ -747,15 +1265,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
747
1265
|
|
|
748
1266
|
class DbxAnchorListModule {
|
|
749
1267
|
}
|
|
750
|
-
DbxAnchorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
751
|
-
DbxAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1268
|
+
DbxAnchorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1269
|
+
DbxAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, declarations: [DbxAnchorListComponent], imports: [CommonModule,
|
|
752
1270
|
MatTabsModule,
|
|
753
1271
|
MatButtonModule,
|
|
754
1272
|
MatIconModule,
|
|
755
1273
|
MatListModule,
|
|
756
1274
|
MatMenuModule,
|
|
757
1275
|
DbxAnchorModule], exports: [DbxAnchorListComponent] });
|
|
758
|
-
DbxAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1276
|
+
DbxAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, imports: [[
|
|
759
1277
|
CommonModule,
|
|
760
1278
|
MatTabsModule,
|
|
761
1279
|
MatButtonModule,
|
|
@@ -764,7 +1282,7 @@ DbxAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
764
1282
|
MatMenuModule,
|
|
765
1283
|
DbxAnchorModule,
|
|
766
1284
|
]] });
|
|
767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, decorators: [{
|
|
768
1286
|
type: NgModule,
|
|
769
1287
|
args: [{
|
|
770
1288
|
imports: [
|
|
@@ -827,8 +1345,8 @@ class DbxScreenMediaService {
|
|
|
827
1345
|
this._media = _media;
|
|
828
1346
|
this._updateWidth = new Subject();
|
|
829
1347
|
this._updateHeight = new Subject();
|
|
830
|
-
this.widthType$ = this._updateWidth.pipe(initialize(() => this._updateWidth.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map(() => this._readWidthType()), distinctUntilChanged(), shareReplay(1));
|
|
831
|
-
this.heightType$ = this._updateWidth.pipe(initialize(() => this._updateHeight.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map(() => this._readHeightType()), distinctUntilChanged(), shareReplay(1));
|
|
1348
|
+
this.widthType$ = this._updateWidth.pipe(initialize(() => this._updateWidth.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map$1(() => this._readWidthType()), distinctUntilChanged(), shareReplay(1));
|
|
1349
|
+
this.heightType$ = this._updateWidth.pipe(initialize(() => this._updateHeight.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map$1(() => this._readHeightType()), distinctUntilChanged(), shareReplay(1));
|
|
832
1350
|
const { microScreenWidthMax, smallScreenWidthMax, tabletScreenWidthMax, largeScreenWidthMax } = config;
|
|
833
1351
|
this._microQuery = this._media.matchMedia(`screen and (max-width:${microScreenWidthMax}px)`);
|
|
834
1352
|
this._smallQuery = this._media.matchMedia(`screen and (max-width:${smallScreenWidthMax}px)`);
|
|
@@ -858,7 +1376,7 @@ class DbxScreenMediaService {
|
|
|
858
1376
|
* @returns
|
|
859
1377
|
*/
|
|
860
1378
|
isBreakpointActive(inputBreakpoint) {
|
|
861
|
-
return combineLatest([this.widthType$, asObservable(inputBreakpoint)]).pipe(map(([current, breakpoint]) => screenMediaWidthTypeIsActive(current, breakpoint)), distinctUntilChanged(), shareReplay(1));
|
|
1379
|
+
return combineLatest([this.widthType$, asObservable(inputBreakpoint)]).pipe(map$1(([current, breakpoint]) => screenMediaWidthTypeIsActive(current, breakpoint)), distinctUntilChanged(), shareReplay(1));
|
|
862
1380
|
}
|
|
863
1381
|
_readWidthType() {
|
|
864
1382
|
let width;
|
|
@@ -888,11 +1406,11 @@ class DbxScreenMediaService {
|
|
|
888
1406
|
}
|
|
889
1407
|
}
|
|
890
1408
|
}
|
|
891
|
-
DbxScreenMediaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
892
|
-
DbxScreenMediaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1409
|
+
DbxScreenMediaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenMediaService, deps: [{ token: i1$7.MediaMatcher }, { token: DbxScreenMediaServiceConfig }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1410
|
+
DbxScreenMediaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenMediaService });
|
|
1411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenMediaService, decorators: [{
|
|
894
1412
|
type: Injectable
|
|
895
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1413
|
+
}], ctorParameters: function () { return [{ type: i1$7.MediaMatcher }, { type: DbxScreenMediaServiceConfig }]; } });
|
|
896
1414
|
|
|
897
1415
|
/**
|
|
898
1416
|
* Component that displays a navbar.
|
|
@@ -908,10 +1426,10 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
908
1426
|
this._breakpoint = new BehaviorSubject('large');
|
|
909
1427
|
this._anchors = new BehaviorSubject([]);
|
|
910
1428
|
this.isBreakpointActive$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint);
|
|
911
|
-
this.mode$ = combineLatest([this._inputMode, this.isBreakpointActive$]).pipe(map(([inputMode, breakpointActive]) => {
|
|
1429
|
+
this.mode$ = combineLatest([this._inputMode, this.isBreakpointActive$]).pipe(map$1(([inputMode, breakpointActive]) => {
|
|
912
1430
|
return (breakpointActive) ? (inputMode ?? 'bar') : 'button';
|
|
913
1431
|
}), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
914
|
-
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map(([anchors]) => {
|
|
1432
|
+
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map$1(([anchors]) => {
|
|
915
1433
|
const results = anchors.map((anchor) => {
|
|
916
1434
|
let selected = this._dbxRouterService.isActive(anchor);
|
|
917
1435
|
return {
|
|
@@ -938,14 +1456,14 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
938
1456
|
this._breakpoint.next(breakpoint);
|
|
939
1457
|
}
|
|
940
1458
|
}
|
|
941
|
-
DbxNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
942
|
-
DbxNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1459
|
+
DbxNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarComponent, deps: [{ token: i1$2.DbxRouterTransitionService }, { token: i0.ChangeDetectorRef }, { token: DbxScreenMediaService }, { token: i1$2.DbxRouterService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1460
|
+
DbxNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxNavbarComponent, selector: "dbx-navbar", inputs: { navAlign: "navAlign", anchors: "anchors", mode: "mode", breakpoint: "breakpoint" }, host: { classAttribute: "dbx-navbar" }, usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"mode$ | async\">\n <!-- Button -->\n <ng-container *ngSwitchCase=\"'button'\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"nav-menu-button\" aria-label=\"open navigation\">\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #menu>\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <button mat-menu-item [ngClass]=\"(x.selected) ? 'active' : ''\">{{ x.anchor.title }}</button>\n </dbx-anchor>\n </mat-menu>\n </ng-container>\n <!-- Bar -->\n <nav *ngSwitchDefault mat-tab-nav-bar [attr.mat-align-tabs]=\"navAlign\">\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <a mat-tab-link [active]=\"x.selected\">{{ x.anchor.title }}</a>\n </dbx-anchor>\n </nav>\n</ng-container>\n", components: [{ type: i2.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"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i7.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["color"], exportAs: ["matTabNavBar", "matTabNav"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i7.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matTabLink"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarComponent, decorators: [{
|
|
944
1462
|
type: Component,
|
|
945
1463
|
args: [{ selector: 'dbx-navbar', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
946
1464
|
'class': 'dbx-navbar'
|
|
947
1465
|
}, template: "<ng-container [ngSwitch]=\"mode$ | async\">\n <!-- Button -->\n <ng-container *ngSwitchCase=\"'button'\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"nav-menu-button\" aria-label=\"open navigation\">\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #menu>\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <button mat-menu-item [ngClass]=\"(x.selected) ? 'active' : ''\">{{ x.anchor.title }}</button>\n </dbx-anchor>\n </mat-menu>\n </ng-container>\n <!-- Bar -->\n <nav *ngSwitchDefault mat-tab-nav-bar [attr.mat-align-tabs]=\"navAlign\">\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <a mat-tab-link [active]=\"x.selected\">{{ x.anchor.title }}</a>\n </dbx-anchor>\n </nav>\n</ng-container>\n" }]
|
|
948
|
-
}], ctorParameters: function () { return [{ type: i1.DbxRouterTransitionService }, { type: i0.ChangeDetectorRef }, { type: DbxScreenMediaService }, { type: i1.DbxRouterService }]; }, propDecorators: { navAlign: [{
|
|
1466
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxRouterTransitionService }, { type: i0.ChangeDetectorRef }, { type: DbxScreenMediaService }, { type: i1$2.DbxRouterService }]; }, propDecorators: { navAlign: [{
|
|
949
1467
|
type: Input
|
|
950
1468
|
}], anchors: [{
|
|
951
1469
|
type: Input
|
|
@@ -957,14 +1475,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
957
1475
|
|
|
958
1476
|
class DbxNavbarModule {
|
|
959
1477
|
}
|
|
960
|
-
DbxNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
961
|
-
DbxNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1478
|
+
DbxNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1479
|
+
DbxNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, declarations: [DbxNavbarComponent], imports: [CommonModule,
|
|
962
1480
|
MatTabsModule,
|
|
963
1481
|
MatButtonModule,
|
|
964
1482
|
MatIconModule,
|
|
965
1483
|
MatMenuModule,
|
|
966
1484
|
DbxAnchorModule], exports: [DbxNavbarComponent] });
|
|
967
|
-
DbxNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1485
|
+
DbxNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, imports: [[
|
|
968
1486
|
CommonModule,
|
|
969
1487
|
MatTabsModule,
|
|
970
1488
|
MatButtonModule,
|
|
@@ -972,7 +1490,7 @@ DbxNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
972
1490
|
MatMenuModule,
|
|
973
1491
|
DbxAnchorModule,
|
|
974
1492
|
]] });
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, decorators: [{
|
|
976
1494
|
type: NgModule,
|
|
977
1495
|
args: [{
|
|
978
1496
|
imports: [
|
|
@@ -1006,10 +1524,10 @@ class DbxScreenModule {
|
|
|
1006
1524
|
};
|
|
1007
1525
|
}
|
|
1008
1526
|
}
|
|
1009
|
-
DbxScreenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1010
|
-
DbxScreenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1011
|
-
DbxScreenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1527
|
+
DbxScreenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1528
|
+
DbxScreenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule });
|
|
1529
|
+
DbxScreenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule });
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule, decorators: [{
|
|
1013
1531
|
type: NgModule
|
|
1014
1532
|
}] });
|
|
1015
1533
|
|
|
@@ -1027,7 +1545,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1027
1545
|
constructor(dbxRouterTransitionService, ngZone, _screenMediaService) {
|
|
1028
1546
|
super(dbxRouterTransitionService, ngZone);
|
|
1029
1547
|
this._screenMediaService = _screenMediaService;
|
|
1030
|
-
this.mode$ = this._screenMediaService.widthType$.pipe(distinctUntilChanged(), map((width) => {
|
|
1548
|
+
this.mode$ = this._screenMediaService.widthType$.pipe(distinctUntilChanged(), map$1((width) => {
|
|
1031
1549
|
let mode;
|
|
1032
1550
|
switch (width) {
|
|
1033
1551
|
case 'micro':
|
|
@@ -1044,9 +1562,9 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1044
1562
|
}
|
|
1045
1563
|
return mode;
|
|
1046
1564
|
}), shareReplay(1));
|
|
1047
|
-
this.disableBackdrop$ = this.mode$.pipe(map(x => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1048
|
-
this.sizeClass$ = this.mode$.pipe(map((mode) => `dbx-sidenav-${mode}`), distinctUntilChanged(), shareReplay(1));
|
|
1049
|
-
this.state$ = this.mode$.pipe(map((mode) => {
|
|
1565
|
+
this.disableBackdrop$ = this.mode$.pipe(map$1(x => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1566
|
+
this.sizeClass$ = this.mode$.pipe(map$1((mode) => `dbx-sidenav-${mode}`), distinctUntilChanged(), shareReplay(1));
|
|
1567
|
+
this.state$ = this.mode$.pipe(map$1((mode) => {
|
|
1050
1568
|
let drawer;
|
|
1051
1569
|
let open;
|
|
1052
1570
|
switch (mode) {
|
|
@@ -1066,7 +1584,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1066
1584
|
open
|
|
1067
1585
|
};
|
|
1068
1586
|
}), shareReplay(1));
|
|
1069
|
-
this.drawer$ = this.state$.pipe(map(x => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
1587
|
+
this.drawer$ = this.state$.pipe(map$1(x => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
1070
1588
|
this._watcherSub = new SubscriptionObject();
|
|
1071
1589
|
this._stateSub = new SubscriptionObject();
|
|
1072
1590
|
}
|
|
@@ -1122,12 +1640,12 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1122
1640
|
});
|
|
1123
1641
|
}
|
|
1124
1642
|
}
|
|
1125
|
-
DbxSidenavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1126
|
-
DbxSidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1643
|
+
DbxSidenavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavComponent, deps: [{ token: i1$2.DbxRouterTransitionService }, { token: i0.NgZone }, { token: DbxScreenMediaService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1644
|
+
DbxSidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSidenavComponent, selector: "dbx-sidenav", inputs: { anchors: "anchors" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, static: true }], exportAs: ["sidenav"], usesInheritance: true, ngImport: i0, template: "<mat-sidenav-container class=\"dbx-sidenav\" [ngClass]=\"(sizeClass$ | async) ?? ''\">\n <mat-sidenav class=\"dbx-sidenav-nav\" [disableClose]=\"disableBackdrop$ | async\" [mode]=\"(drawer$ | async)!\">\n <ng-content select=\"[top]\"></ng-content>\n <dbx-anchor-list class=\"dbx-sidenav-anchor-list\" [anchors]=\"anchors\"></dbx-anchor-list>\n <span class=\"spacer\"></span>\n <ng-content select=\"[bottom]\"></ng-content>\n <div class=\"dbx-sidenav-nav-end\"></div>\n </mat-sidenav>\n <mat-sidenav-content>\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", components: [{ type: i3$1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { type: i3$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: DbxAnchorListComponent, selector: "dbx-anchor-list", inputs: ["anchors"] }, { type: i3$1.MatSidenavContent, selector: "mat-sidenav-content" }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i3.AsyncPipe } });
|
|
1645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavComponent, decorators: [{
|
|
1128
1646
|
type: Component,
|
|
1129
1647
|
args: [{ selector: 'dbx-sidenav', exportAs: 'sidenav', template: "<mat-sidenav-container class=\"dbx-sidenav\" [ngClass]=\"(sizeClass$ | async) ?? ''\">\n <mat-sidenav class=\"dbx-sidenav-nav\" [disableClose]=\"disableBackdrop$ | async\" [mode]=\"(drawer$ | async)!\">\n <ng-content select=\"[top]\"></ng-content>\n <dbx-anchor-list class=\"dbx-sidenav-anchor-list\" [anchors]=\"anchors\"></dbx-anchor-list>\n <span class=\"spacer\"></span>\n <ng-content select=\"[bottom]\"></ng-content>\n <div class=\"dbx-sidenav-nav-end\"></div>\n </mat-sidenav>\n <mat-sidenav-content>\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n" }]
|
|
1130
|
-
}], ctorParameters: function () { return [{ type: i1.DbxRouterTransitionService }, { type: i0.NgZone }, { type: DbxScreenMediaService }]; }, propDecorators: { anchors: [{
|
|
1648
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }, { type: DbxScreenMediaService }]; }, propDecorators: { anchors: [{
|
|
1131
1649
|
type: Input
|
|
1132
1650
|
}], sidenav: [{
|
|
1133
1651
|
type: ViewChild,
|
|
@@ -1141,19 +1659,19 @@ class DbxSidenavButtonComponent {
|
|
|
1141
1659
|
constructor(parent) {
|
|
1142
1660
|
this.parent = parent;
|
|
1143
1661
|
this.mode$ = this.parent.mode$;
|
|
1144
|
-
this.showMenuButton$ = this.mode$.pipe(map
|
|
1662
|
+
this.showMenuButton$ = this.mode$.pipe(map(x => x === SideNavDisplayMode.MOBILE));
|
|
1145
1663
|
}
|
|
1146
1664
|
toggleNav() {
|
|
1147
1665
|
this.parent.toggleNav();
|
|
1148
1666
|
}
|
|
1149
1667
|
}
|
|
1150
|
-
DbxSidenavButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1151
|
-
DbxSidenavButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1668
|
+
DbxSidenavButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavButtonComponent, deps: [{ token: DbxSidenavComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
1669
|
+
DbxSidenavButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button", ngImport: i0, template: `
|
|
1152
1670
|
<button class="dbx-sidenav-button" mat-icon-button *ngIf="showMenuButton$ | async" (click)="toggleNav()" aria-label="open sidenav button">
|
|
1153
1671
|
<mat-icon>view_sidebar</mat-icon>
|
|
1154
1672
|
</button>
|
|
1155
|
-
`, isInline: true, components: [{ type: i2.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"] }, { type:
|
|
1156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1673
|
+
`, isInline: true, components: [{ type: i2.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"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
1674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavButtonComponent, decorators: [{
|
|
1157
1675
|
type: Component,
|
|
1158
1676
|
args: [{
|
|
1159
1677
|
selector: 'dbx-sidenav-button',
|
|
@@ -1165,28 +1683,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1165
1683
|
}]
|
|
1166
1684
|
}], ctorParameters: function () { return [{ type: DbxSidenavComponent }]; } });
|
|
1167
1685
|
|
|
1168
|
-
/**
|
|
1169
|
-
* Button spacer component.
|
|
1170
|
-
*/
|
|
1171
|
-
class DbxButtonSpacerComponent {
|
|
1172
|
-
}
|
|
1173
|
-
DbxButtonSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1174
|
-
DbxButtonSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: DbxButtonSpacerComponent, selector: "dbx-button-spacer", ngImport: i0, template: `<span class="dbx-button-spacer"></span>`, isInline: true });
|
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonSpacerComponent, decorators: [{
|
|
1176
|
-
type: Component,
|
|
1177
|
-
args: [{
|
|
1178
|
-
selector: 'dbx-button-spacer',
|
|
1179
|
-
template: `<span class="dbx-button-spacer"></span>`
|
|
1180
|
-
}]
|
|
1181
|
-
}] });
|
|
1182
|
-
|
|
1183
1686
|
/**
|
|
1184
1687
|
* Pre-configured pagebar used with DbxSidenavComponent.
|
|
1185
1688
|
*/
|
|
1186
1689
|
class DbxSidenavPagebarComponent extends DbxPagebarComponent {
|
|
1187
1690
|
}
|
|
1188
|
-
DbxSidenavPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1189
|
-
DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1691
|
+
DbxSidenavPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPagebarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1692
|
+
DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSidenavPagebarComponent, selector: "dbx-sidenav-pagebar", usesInheritance: true, ngImport: i0, template: `
|
|
1190
1693
|
<dbx-pagebar class="dbx-sidenav-pagebar" [color]="color">
|
|
1191
1694
|
<span left>
|
|
1192
1695
|
<dbx-sidenav-button></dbx-sidenav-button>
|
|
@@ -1195,8 +1698,8 @@ DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
1195
1698
|
</span>
|
|
1196
1699
|
<ng-content right></ng-content>
|
|
1197
1700
|
</dbx-pagebar>
|
|
1198
|
-
`, isInline: true, components: [{ type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button" }, { type:
|
|
1199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1701
|
+
`, isInline: true, components: [{ type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button" }], directives: [{ type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
1702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPagebarComponent, decorators: [{
|
|
1200
1703
|
type: Component,
|
|
1201
1704
|
args: [{
|
|
1202
1705
|
selector: 'dbx-sidenav-pagebar',
|
|
@@ -1222,7 +1725,7 @@ class DbxSidenavPageComponent {
|
|
|
1222
1725
|
constructor(parent) {
|
|
1223
1726
|
this.parent = parent;
|
|
1224
1727
|
this._mobileOnly = new BehaviorSubject(false);
|
|
1225
|
-
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly) ? this.parent.mode$.pipe(map(x => x !== SideNavDisplayMode.MOBILE)) : of(true)), shareReplay(1));
|
|
1728
|
+
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly) ? this.parent.mode$.pipe(map$1(x => x !== SideNavDisplayMode.MOBILE)) : of(true)), shareReplay(1));
|
|
1226
1729
|
}
|
|
1227
1730
|
get mobileOnly() {
|
|
1228
1731
|
return this._mobileOnly.value;
|
|
@@ -1231,8 +1734,8 @@ class DbxSidenavPageComponent {
|
|
|
1231
1734
|
this._mobileOnly.next(mobileOnly);
|
|
1232
1735
|
}
|
|
1233
1736
|
}
|
|
1234
|
-
DbxSidenavPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1235
|
-
DbxSidenavPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1737
|
+
DbxSidenavPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPageComponent, deps: [{ token: DbxSidenavComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
1738
|
+
DbxSidenavPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSidenavPageComponent, selector: "dbx-sidenav-page", inputs: { color: "color", mobileOnly: "mobileOnly" }, ngImport: i0, template: `
|
|
1236
1739
|
<div>
|
|
1237
1740
|
<dbx-sidenav-pagebar [color]="color" [ngClass]="(hidePagebar$ | async) ? 'dbx-pagebar-hide' : ''">
|
|
1238
1741
|
<ng-content left select="[navLeft]"></ng-content>
|
|
@@ -1242,8 +1745,8 @@ DbxSidenavPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1242
1745
|
<ng-content></ng-content>
|
|
1243
1746
|
</div>
|
|
1244
1747
|
</div>
|
|
1245
|
-
`, isInline: true, components: [{ type: DbxSidenavPagebarComponent, selector: "dbx-sidenav-pagebar" }], directives: [{ type: i3
|
|
1246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1748
|
+
`, isInline: true, components: [{ type: DbxSidenavPagebarComponent, selector: "dbx-sidenav-pagebar" }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i3.AsyncPipe } });
|
|
1749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPageComponent, decorators: [{
|
|
1247
1750
|
type: Component,
|
|
1248
1751
|
args: [{
|
|
1249
1752
|
selector: 'dbx-sidenav-page',
|
|
@@ -1265,133 +1768,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1265
1768
|
type: Input
|
|
1266
1769
|
}] } });
|
|
1267
1770
|
|
|
1268
|
-
var DbxButtonDisplayType;
|
|
1269
|
-
(function (DbxButtonDisplayType) {
|
|
1270
|
-
DbxButtonDisplayType[DbxButtonDisplayType["RAISED"] = 0] = "RAISED";
|
|
1271
|
-
DbxButtonDisplayType[DbxButtonDisplayType["STROKED"] = 1] = "STROKED";
|
|
1272
|
-
DbxButtonDisplayType[DbxButtonDisplayType["FLAT"] = 2] = "FLAT";
|
|
1273
|
-
})(DbxButtonDisplayType || (DbxButtonDisplayType = {}));
|
|
1274
|
-
/**
|
|
1275
|
-
* Complex button that supports loading states.
|
|
1276
|
-
*/
|
|
1277
|
-
class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
1278
|
-
constructor() {
|
|
1279
|
-
super(...arguments);
|
|
1280
|
-
this.color = 'primary';
|
|
1281
|
-
}
|
|
1282
|
-
get raised() {
|
|
1283
|
-
return this.type === DbxButtonDisplayType.RAISED;
|
|
1284
|
-
}
|
|
1285
|
-
set raised(raised) {
|
|
1286
|
-
if (raised) {
|
|
1287
|
-
this.type = DbxButtonDisplayType.RAISED;
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
get stroked() {
|
|
1291
|
-
return this.type === DbxButtonDisplayType.STROKED;
|
|
1292
|
-
}
|
|
1293
|
-
set stroked(stroked) {
|
|
1294
|
-
if (stroked) {
|
|
1295
|
-
this.type = DbxButtonDisplayType.STROKED;
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
get flat() {
|
|
1299
|
-
return this.type === DbxButtonDisplayType.FLAT;
|
|
1300
|
-
}
|
|
1301
|
-
set flat(flat) {
|
|
1302
|
-
if (flat) {
|
|
1303
|
-
this.type = DbxButtonDisplayType.FLAT;
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
get btnOptions() {
|
|
1307
|
-
const buttonIcon = (this.icon) ? {
|
|
1308
|
-
fontIcon: this.icon
|
|
1309
|
-
} : undefined;
|
|
1310
|
-
return {
|
|
1311
|
-
fab: false,
|
|
1312
|
-
active: this.working,
|
|
1313
|
-
buttonIcon,
|
|
1314
|
-
customClass: 'dbx-button ' + ((buttonIcon && !this.text) ? 'dbx-button-no-text' : ''),
|
|
1315
|
-
// buttonIcon: icon,
|
|
1316
|
-
text: this.text ?? '',
|
|
1317
|
-
buttonColor: this.color,
|
|
1318
|
-
barColor: 'accent',
|
|
1319
|
-
raised: this.raised,
|
|
1320
|
-
stroked: this.stroked,
|
|
1321
|
-
flat: this.flat,
|
|
1322
|
-
mode: 'indeterminate',
|
|
1323
|
-
spinnerSize: 18,
|
|
1324
|
-
spinnerColor: 'accent',
|
|
1325
|
-
// Only disabled if we're not working, in order to show the animation.
|
|
1326
|
-
disabled: !this.working && this.disabled
|
|
1327
|
-
};
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
DbxButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1331
|
-
DbxButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: DbxButtonComponent, selector: "dbx-button", inputs: { type: "type", raised: "raised", stroked: "stroked", flat: "flat", color: "color" }, providers: ProvideDbxButton(DbxButtonComponent), usesInheritance: true, ngImport: i0, template: `
|
|
1332
|
-
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
1333
|
-
`, isInline: true, components: [{ type: i1$5.MatSpinnerButtonComponent, selector: "mat-spinner-button", inputs: ["options", "buttonId", "active", "disabled"], outputs: ["btnClick"] }] });
|
|
1334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonComponent, decorators: [{
|
|
1335
|
-
type: Component,
|
|
1336
|
-
args: [{
|
|
1337
|
-
selector: 'dbx-button',
|
|
1338
|
-
template: `
|
|
1339
|
-
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
1340
|
-
`,
|
|
1341
|
-
// TODO: styleUrls: ['./button.scss'],
|
|
1342
|
-
providers: ProvideDbxButton(DbxButtonComponent)
|
|
1343
|
-
}]
|
|
1344
|
-
}], propDecorators: { type: [{
|
|
1345
|
-
type: Input
|
|
1346
|
-
}], raised: [{
|
|
1347
|
-
type: Input
|
|
1348
|
-
}], stroked: [{
|
|
1349
|
-
type: Input
|
|
1350
|
-
}], flat: [{
|
|
1351
|
-
type: Input
|
|
1352
|
-
}], color: [{
|
|
1353
|
-
type: Input
|
|
1354
|
-
}] } });
|
|
1355
|
-
|
|
1356
|
-
class DbxButtonModule {
|
|
1357
|
-
}
|
|
1358
|
-
DbxButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1359
|
-
DbxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, declarations: [DbxButtonComponent,
|
|
1360
|
-
DbxButtonSpacerComponent], imports: [CommonModule,
|
|
1361
|
-
MatProgressButtonsModule], exports: [MatProgressButtonsModule,
|
|
1362
|
-
DbxButtonComponent,
|
|
1363
|
-
DbxButtonSpacerComponent] });
|
|
1364
|
-
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, imports: [[
|
|
1365
|
-
CommonModule,
|
|
1366
|
-
MatProgressButtonsModule
|
|
1367
|
-
], MatProgressButtonsModule] });
|
|
1368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, decorators: [{
|
|
1369
|
-
type: NgModule,
|
|
1370
|
-
args: [{
|
|
1371
|
-
imports: [
|
|
1372
|
-
CommonModule,
|
|
1373
|
-
MatProgressButtonsModule
|
|
1374
|
-
],
|
|
1375
|
-
declarations: [
|
|
1376
|
-
DbxButtonComponent,
|
|
1377
|
-
DbxButtonSpacerComponent
|
|
1378
|
-
],
|
|
1379
|
-
exports: [
|
|
1380
|
-
MatProgressButtonsModule,
|
|
1381
|
-
DbxButtonComponent,
|
|
1382
|
-
DbxButtonSpacerComponent
|
|
1383
|
-
],
|
|
1384
|
-
}]
|
|
1385
|
-
}] });
|
|
1386
|
-
|
|
1387
1771
|
/**
|
|
1388
1772
|
* Section used to elevate content in a pre-configured manner.
|
|
1389
1773
|
*/
|
|
1390
1774
|
class DbxContentElevateDirective {
|
|
1391
1775
|
}
|
|
1392
|
-
DbxContentElevateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1393
|
-
DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1776
|
+
DbxContentElevateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentElevateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1777
|
+
DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxContentElevateDirective, selector: "dbx-content-elevate,[dbx-content-elevate]", host: { classAttribute: "d-block dbx-content-elevate" }, ngImport: i0 });
|
|
1778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentElevateDirective, decorators: [{
|
|
1395
1779
|
type: Directive,
|
|
1396
1780
|
args: [{
|
|
1397
1781
|
selector: 'dbx-content-elevate,[dbx-content-elevate]',
|
|
@@ -1406,9 +1790,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1406
1790
|
*/
|
|
1407
1791
|
class DbxContentDirective {
|
|
1408
1792
|
}
|
|
1409
|
-
DbxContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1410
|
-
DbxContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1793
|
+
DbxContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1794
|
+
DbxContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxContentDirective, selector: "dbx-content,[dbx-content]", host: { classAttribute: "d-block dbx-content" }, ngImport: i0 });
|
|
1795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentDirective, decorators: [{
|
|
1412
1796
|
type: Directive,
|
|
1413
1797
|
args: [{
|
|
1414
1798
|
selector: 'dbx-content,[dbx-content]',
|
|
@@ -1423,9 +1807,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1423
1807
|
*/
|
|
1424
1808
|
class DbxContentBorderDirective {
|
|
1425
1809
|
}
|
|
1426
|
-
DbxContentBorderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1427
|
-
DbxContentBorderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1810
|
+
DbxContentBorderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBorderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1811
|
+
DbxContentBorderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxContentBorderDirective, selector: "dbx-content-border,[dbx-content-border]", host: { classAttribute: "d-block dbx-content-border" }, ngImport: i0 });
|
|
1812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBorderDirective, decorators: [{
|
|
1429
1813
|
type: Directive,
|
|
1430
1814
|
args: [{
|
|
1431
1815
|
selector: 'dbx-content-border,[dbx-content-border]',
|
|
@@ -1444,9 +1828,9 @@ class DbxContentContainerDirective {
|
|
|
1444
1828
|
this.padding = 'normal';
|
|
1445
1829
|
}
|
|
1446
1830
|
}
|
|
1447
|
-
DbxContentContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1448
|
-
DbxContentContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1831
|
+
DbxContentContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1832
|
+
DbxContentContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxContentContainerDirective, selector: "dbx-content-container,[dbx-content-container],.dbx-content-container", inputs: { grow: "grow", padding: "padding" }, host: { properties: { "class": "\"container-\" + grow + \" container-padding-\" + padding" }, classAttribute: "d-block dbx-content-container" }, ngImport: i0 });
|
|
1833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentContainerDirective, decorators: [{
|
|
1450
1834
|
type: Directive,
|
|
1451
1835
|
args: [{
|
|
1452
1836
|
selector: 'dbx-content-container,[dbx-content-container],.dbx-content-container',
|
|
@@ -1469,9 +1853,9 @@ class DbxContentBoxDirective {
|
|
|
1469
1853
|
this.elevated = true;
|
|
1470
1854
|
}
|
|
1471
1855
|
}
|
|
1472
|
-
DbxContentBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1473
|
-
DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1856
|
+
DbxContentBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBoxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1857
|
+
DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxContentBoxDirective, selector: "dbx-content-box, [dbx-content-box]", inputs: { elevated: "elevated" }, host: { properties: { "class.dbx-content-elevate": "elevated" }, classAttribute: "d-block dbx-content-box" }, ngImport: i0 });
|
|
1858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBoxDirective, decorators: [{
|
|
1475
1859
|
type: Directive,
|
|
1476
1860
|
args: [{
|
|
1477
1861
|
selector: 'dbx-content-box, [dbx-content-box]',
|
|
@@ -1489,9 +1873,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1489
1873
|
*/
|
|
1490
1874
|
class DbxContentPageDirective {
|
|
1491
1875
|
}
|
|
1492
|
-
DbxContentPageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1493
|
-
DbxContentPageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1876
|
+
DbxContentPageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentPageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1877
|
+
DbxContentPageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxContentPageDirective, selector: "dbx-content-page,[dbx-content-page]", host: { classAttribute: "d-block dbx-content-page" }, ngImport: i0 });
|
|
1878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentPageDirective, decorators: [{
|
|
1495
1879
|
type: Directive,
|
|
1496
1880
|
args: [{
|
|
1497
1881
|
selector: 'dbx-content-page,[dbx-content-page]',
|
|
@@ -1506,8 +1890,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1506
1890
|
*/
|
|
1507
1891
|
class DbxContentLayoutModule {
|
|
1508
1892
|
}
|
|
1509
|
-
DbxContentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1510
|
-
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1893
|
+
DbxContentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1894
|
+
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, declarations: [DbxContentDirective,
|
|
1511
1895
|
DbxContentContainerDirective,
|
|
1512
1896
|
DbxContentBorderDirective,
|
|
1513
1897
|
DbxContentElevateDirective,
|
|
@@ -1518,10 +1902,10 @@ DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
1518
1902
|
DbxContentElevateDirective,
|
|
1519
1903
|
DbxContentBoxDirective,
|
|
1520
1904
|
DbxContentPageDirective] });
|
|
1521
|
-
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1905
|
+
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, imports: [[
|
|
1522
1906
|
CommonModule
|
|
1523
1907
|
]] });
|
|
1524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, decorators: [{
|
|
1525
1909
|
type: NgModule,
|
|
1526
1910
|
args: [{
|
|
1527
1911
|
imports: [
|
|
@@ -1548,8 +1932,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1548
1932
|
|
|
1549
1933
|
class DbxSidenavModule {
|
|
1550
1934
|
}
|
|
1551
|
-
DbxSidenavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1552
|
-
DbxSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1935
|
+
DbxSidenavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1936
|
+
DbxSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, declarations: [DbxSidenavComponent,
|
|
1553
1937
|
DbxSidenavButtonComponent,
|
|
1554
1938
|
DbxSidenavPagebarComponent,
|
|
1555
1939
|
DbxSidenavPageComponent], imports: [CommonModule,
|
|
@@ -1568,7 +1952,7 @@ DbxSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
1568
1952
|
DbxSidenavButtonComponent,
|
|
1569
1953
|
DbxSidenavPagebarComponent,
|
|
1570
1954
|
DbxSidenavPageComponent] });
|
|
1571
|
-
DbxSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1955
|
+
DbxSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, imports: [[
|
|
1572
1956
|
CommonModule,
|
|
1573
1957
|
DbxBarLayoutModule,
|
|
1574
1958
|
DbxAnchorModule,
|
|
@@ -1583,7 +1967,7 @@ DbxSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
1583
1967
|
MatDividerModule,
|
|
1584
1968
|
UIRouterModule
|
|
1585
1969
|
]] });
|
|
1586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, decorators: [{
|
|
1587
1971
|
type: NgModule,
|
|
1588
1972
|
args: [{
|
|
1589
1973
|
imports: [
|
|
@@ -1622,16 +2006,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1622
2006
|
|
|
1623
2007
|
class DbxRouterLayoutModule {
|
|
1624
2008
|
}
|
|
1625
|
-
DbxRouterLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1626
|
-
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2009
|
+
DbxRouterLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2010
|
+
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, exports: [DbxAnchorModule,
|
|
1627
2011
|
DbxAnchorListModule,
|
|
1628
2012
|
DbxNavbarModule,
|
|
1629
2013
|
DbxSidenavModule] });
|
|
1630
|
-
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2014
|
+
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, imports: [DbxAnchorModule,
|
|
1631
2015
|
DbxAnchorListModule,
|
|
1632
2016
|
DbxNavbarModule,
|
|
1633
2017
|
DbxSidenavModule] });
|
|
1634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, decorators: [{
|
|
1635
2019
|
type: NgModule,
|
|
1636
2020
|
args: [{
|
|
1637
2021
|
exports: [
|
|
@@ -1648,9 +2032,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1648
2032
|
*/
|
|
1649
2033
|
class DbxAngularRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
1650
2034
|
}
|
|
1651
|
-
DbxAngularRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1652
|
-
DbxAngularRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2035
|
+
DbxAngularRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2036
|
+
DbxAngularRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAngularRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"ref$ | async\"\n [uiParams]=\"refParams$ | async\" [uiOptions]=\"refOptions$ | async\">\n <dbx-injected-content></dbx-injected-content>\n</a>\n", components: [{ type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i2$1.AnchorUISref, selector: "a[uiSref]" }, { type: i2$1.UISref, selector: "[uiSref]", inputs: ["uiSref", "uiParams", "uiOptions"], exportAs: ["uiSref"] }], pipes: { "async": i3.AsyncPipe } });
|
|
2037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterSegueAnchorComponent, decorators: [{
|
|
1654
2038
|
type: Component,
|
|
1655
2039
|
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"ref$ | async\"\n [uiParams]=\"refParams$ | async\" [uiOptions]=\"refOptions$ | async\">\n <dbx-injected-content></dbx-injected-content>\n</a>\n" }]
|
|
1656
2040
|
}] });
|
|
@@ -1672,16 +2056,16 @@ class DbxWebAngularRouterModule {
|
|
|
1672
2056
|
};
|
|
1673
2057
|
}
|
|
1674
2058
|
}
|
|
1675
|
-
DbxWebAngularRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1676
|
-
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2059
|
+
DbxWebAngularRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2060
|
+
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, declarations: [DbxAngularRouterSegueAnchorComponent], imports: [CommonModule,
|
|
1677
2061
|
UIRouterModule,
|
|
1678
2062
|
DbxInjectedComponentModule], exports: [DbxAngularRouterSegueAnchorComponent] });
|
|
1679
|
-
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2063
|
+
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, imports: [[
|
|
1680
2064
|
CommonModule,
|
|
1681
2065
|
UIRouterModule,
|
|
1682
2066
|
DbxInjectedComponentModule
|
|
1683
2067
|
]] });
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, decorators: [{
|
|
1685
2069
|
type: NgModule,
|
|
1686
2070
|
args: [{
|
|
1687
2071
|
imports: [
|
|
@@ -1699,9 +2083,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1699
2083
|
*/
|
|
1700
2084
|
class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
1701
2085
|
}
|
|
1702
|
-
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1703
|
-
DbxUIRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2086
|
+
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2087
|
+
DbxUIRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxUIRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"ref$ | async\"\n [uiParams]=\"refParams$ | async\" [uiOptions]=\"refOptions$ | async\" uiSrefActive=\"dbx-anchor-active\" uiSrefActiveEq=\"dbx-anchor-active-eq\">\n <dbx-injected-content [template]=\"template$ | async\"></dbx-injected-content>\n</a>\n", components: [{ type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i2$1.AnchorUISref, selector: "a[uiSref]" }, { type: i2$1.UISrefActive, selector: "[uiSrefActive],[uiSrefActiveEq]", inputs: ["uiSrefActive", "uiSrefActiveEq"] }, { type: i2$1.UISrefStatus, selector: "[uiSrefStatus],[uiSrefActive],[uiSrefActiveEq]", outputs: ["uiSrefStatus"], exportAs: ["uiSrefStatus"] }, { type: i2$1.UISref, selector: "[uiSref]", inputs: ["uiSref", "uiParams", "uiOptions"], exportAs: ["uiSref"] }], pipes: { "async": i3.AsyncPipe } });
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, decorators: [{
|
|
1705
2089
|
type: Component,
|
|
1706
2090
|
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"ref$ | async\"\n [uiParams]=\"refParams$ | async\" [uiOptions]=\"refOptions$ | async\" uiSrefActive=\"dbx-anchor-active\" uiSrefActiveEq=\"dbx-anchor-active-eq\">\n <dbx-injected-content [template]=\"template$ | async\"></dbx-injected-content>\n</a>\n" }]
|
|
1707
2091
|
}] });
|
|
@@ -1723,16 +2107,16 @@ class DbxWebUIRouterModule {
|
|
|
1723
2107
|
};
|
|
1724
2108
|
}
|
|
1725
2109
|
}
|
|
1726
|
-
DbxWebUIRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1727
|
-
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2110
|
+
DbxWebUIRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2111
|
+
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, declarations: [DbxUIRouterSegueAnchorComponent], imports: [CommonModule,
|
|
1728
2112
|
UIRouterModule,
|
|
1729
2113
|
DbxInjectedComponentModule], exports: [DbxUIRouterSegueAnchorComponent] });
|
|
1730
|
-
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2114
|
+
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, imports: [[
|
|
1731
2115
|
CommonModule,
|
|
1732
2116
|
UIRouterModule,
|
|
1733
2117
|
DbxInjectedComponentModule
|
|
1734
2118
|
]] });
|
|
1735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, decorators: [{
|
|
1736
2120
|
type: NgModule,
|
|
1737
2121
|
args: [{
|
|
1738
2122
|
imports: [
|
|
@@ -1766,8 +2150,8 @@ class DbxTwoBlocksComponent {
|
|
|
1766
2150
|
element.style.setProperty('--two-block-top-height', `${height}px`);
|
|
1767
2151
|
}
|
|
1768
2152
|
}
|
|
1769
|
-
DbxTwoBlocksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1770
|
-
DbxTwoBlocksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2153
|
+
DbxTwoBlocksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoBlocksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2154
|
+
DbxTwoBlocksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoBlocksComponent, selector: "dbx-two-block", viewQueries: [{ propertyName: "twoElement", first: true, predicate: ["two"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
|
|
1771
2155
|
<div #two class="dbx-two-block">
|
|
1772
2156
|
<div #top class="dbx-two-block-top" (resized)="onResized($event)">
|
|
1773
2157
|
<ng-content select="[top]"></ng-content>
|
|
@@ -1776,8 +2160,8 @@ DbxTwoBlocksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1776
2160
|
<ng-content></ng-content>
|
|
1777
2161
|
</div>
|
|
1778
2162
|
</div>
|
|
1779
|
-
`, isInline: true, directives: [{ type: i1$
|
|
1780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2163
|
+
`, isInline: true, directives: [{ type: i1$8.ResizedDirective, selector: "[resized]", outputs: ["resized"] }] });
|
|
2164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoBlocksComponent, decorators: [{
|
|
1781
2165
|
type: Component,
|
|
1782
2166
|
args: [{
|
|
1783
2167
|
selector: 'dbx-two-block',
|
|
@@ -1802,16 +2186,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1802
2186
|
*/
|
|
1803
2187
|
class DbxBlockLayoutModule {
|
|
1804
2188
|
}
|
|
1805
|
-
DbxBlockLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1806
|
-
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2189
|
+
DbxBlockLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2190
|
+
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, declarations: [DbxTwoBlocksComponent], imports: [CommonModule,
|
|
1807
2191
|
DbxAnchorModule,
|
|
1808
2192
|
AngularResizeEventModule], exports: [DbxTwoBlocksComponent] });
|
|
1809
|
-
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2193
|
+
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, imports: [[
|
|
1810
2194
|
CommonModule,
|
|
1811
2195
|
DbxAnchorModule,
|
|
1812
2196
|
AngularResizeEventModule
|
|
1813
2197
|
]] });
|
|
1814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, decorators: [{
|
|
1815
2199
|
type: NgModule,
|
|
1816
2200
|
args: [{
|
|
1817
2201
|
imports: [
|
|
@@ -1833,8 +2217,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1833
2217
|
*/
|
|
1834
2218
|
class DbxCardBoxComponent {
|
|
1835
2219
|
}
|
|
1836
|
-
DbxCardBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1837
|
-
DbxCardBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2220
|
+
DbxCardBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2221
|
+
DbxCardBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxCardBoxComponent, selector: "dbx-card-box", inputs: { header: "header", icon: "icon" }, ngImport: i0, template: `
|
|
1838
2222
|
<div class="dbx-card-box">
|
|
1839
2223
|
<div class="dbx-section-header">
|
|
1840
2224
|
<div class="dbx-section-header-content">
|
|
@@ -1847,8 +2231,8 @@ DbxCardBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
1847
2231
|
<ng-content></ng-content>
|
|
1848
2232
|
</div>
|
|
1849
2233
|
</div>
|
|
1850
|
-
`, isInline: true, components: [{ type:
|
|
1851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2234
|
+
`, isInline: true, components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxComponent, decorators: [{
|
|
1852
2236
|
type: Component,
|
|
1853
2237
|
args: [{
|
|
1854
2238
|
selector: 'dbx-card-box',
|
|
@@ -1878,13 +2262,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1878
2262
|
*/
|
|
1879
2263
|
class DbxCardBoxContainerComponent {
|
|
1880
2264
|
}
|
|
1881
|
-
DbxCardBoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1882
|
-
DbxCardBoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2265
|
+
DbxCardBoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2266
|
+
DbxCardBoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxCardBoxContainerComponent, selector: "dbx-card-box-container", ngImport: i0, template: `
|
|
1883
2267
|
<div class="dbx-card-box-container">
|
|
1884
2268
|
<ng-content></ng-content>
|
|
1885
2269
|
</div>
|
|
1886
2270
|
`, isInline: true });
|
|
1887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxContainerComponent, decorators: [{
|
|
1888
2272
|
type: Component,
|
|
1889
2273
|
args: [{
|
|
1890
2274
|
selector: 'dbx-card-box-container',
|
|
@@ -1898,16 +2282,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1898
2282
|
|
|
1899
2283
|
class DbxCardBoxLayoutModule {
|
|
1900
2284
|
}
|
|
1901
|
-
DbxCardBoxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1902
|
-
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2285
|
+
DbxCardBoxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2286
|
+
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, declarations: [DbxCardBoxComponent,
|
|
1903
2287
|
DbxCardBoxContainerComponent], imports: [CommonModule,
|
|
1904
2288
|
MatIconModule], exports: [DbxCardBoxComponent,
|
|
1905
2289
|
DbxCardBoxContainerComponent] });
|
|
1906
|
-
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2290
|
+
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, imports: [[
|
|
1907
2291
|
CommonModule,
|
|
1908
2292
|
MatIconModule
|
|
1909
2293
|
]] });
|
|
1910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, decorators: [{
|
|
1911
2295
|
type: NgModule,
|
|
1912
2296
|
args: [{
|
|
1913
2297
|
imports: [
|
|
@@ -1937,23 +2321,23 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
1937
2321
|
/**
|
|
1938
2322
|
* Pipes the current state of showRight.
|
|
1939
2323
|
*/
|
|
1940
|
-
this.showRight$ = this.state$.pipe(map
|
|
2324
|
+
this.showRight$ = this.state$.pipe(map((x) => x.showRight));
|
|
1941
2325
|
/**
|
|
1942
2326
|
* Convenience function for the showRight compliment.
|
|
1943
2327
|
*/
|
|
1944
|
-
this.hideRight$ = this.state$.pipe(map
|
|
2328
|
+
this.hideRight$ = this.state$.pipe(map((x) => !x.showRight));
|
|
1945
2329
|
/**
|
|
1946
2330
|
* Pipes the current state of fullLeft.
|
|
1947
2331
|
*/
|
|
1948
|
-
this.fullLeft$ = this.state$.pipe(map
|
|
2332
|
+
this.fullLeft$ = this.state$.pipe(map((x) => x.fullLeft));
|
|
1949
2333
|
/**
|
|
1950
2334
|
* Whether or not to show the full left.
|
|
1951
2335
|
*/
|
|
1952
|
-
this.showFullLeft$ = this.state$.pipe(map
|
|
2336
|
+
this.showFullLeft$ = this.state$.pipe(map((x) => !x.showRight && x.fullLeft));
|
|
1953
2337
|
/**
|
|
1954
2338
|
* Pipes the current backRef value.
|
|
1955
2339
|
*/
|
|
1956
|
-
this.backRef$ = this.state$.pipe(map
|
|
2340
|
+
this.backRef$ = this.state$.pipe(map((x) => x.backRef), distinct());
|
|
1957
2341
|
/**
|
|
1958
2342
|
* Emits back events.
|
|
1959
2343
|
*/
|
|
@@ -1988,9 +2372,9 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
1988
2372
|
this._back.complete();
|
|
1989
2373
|
}
|
|
1990
2374
|
}
|
|
1991
|
-
TwoColumnsContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1992
|
-
TwoColumnsContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
1993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2375
|
+
TwoColumnsContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TwoColumnsContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2376
|
+
TwoColumnsContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TwoColumnsContextStore });
|
|
2377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TwoColumnsContextStore, decorators: [{
|
|
1994
2378
|
type: Injectable
|
|
1995
2379
|
}], ctorParameters: function () { return []; } });
|
|
1996
2380
|
function ProvideTwoColumnsContext() {
|
|
@@ -2016,9 +2400,9 @@ class DbxTwoColumnsBackDirective extends AbstractSubscriptionDirective {
|
|
|
2016
2400
|
this.twoColumnsContextStore.back();
|
|
2017
2401
|
}
|
|
2018
2402
|
}
|
|
2019
|
-
DbxTwoColumnsBackDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2020
|
-
DbxTwoColumnsBackDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2403
|
+
DbxTwoColumnsBackDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsBackDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2404
|
+
DbxTwoColumnsBackDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsBackDirective, selector: "[dbxTwoColumnsBack]", outputs: { back: "dbxTwoColumnsBack" }, usesInheritance: true, ngImport: i0 });
|
|
2405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsBackDirective, decorators: [{
|
|
2022
2406
|
type: Directive,
|
|
2023
2407
|
args: [{
|
|
2024
2408
|
selector: '[dbxTwoColumnsBack]'
|
|
@@ -2045,9 +2429,9 @@ class DbxTwoColumnsComponent {
|
|
|
2045
2429
|
this.inSectionPage = false;
|
|
2046
2430
|
}
|
|
2047
2431
|
}
|
|
2048
|
-
DbxTwoColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2049
|
-
DbxTwoColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2432
|
+
DbxTwoColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2433
|
+
DbxTwoColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsComponent, selector: "dbx-two-columns", inputs: { reverseSizing: "reverseSizing", inSectionPage: "inSectionPage" }, exportAs: ["columns"], ngImport: i0, template: "<div class=\"two-column\" [ngClass]=\"{ 'two-column-reverse-sizing': reverseSizing, 'right-shown': showRight$ | async, 'full-left': (showFullLeft$ | async), 'dbx-section-page-two': inSectionPage }\">\n <div class=\"left-column\">\n <ng-content select=\"[left]\"></ng-content>\n </div>\n <div class=\"right-column\" *ngIf=\"showRight$ | async\">\n <!-- NOTE: This will only hide the content project. Be sure to use *ngIf separately on the right's content if needed. -->\n <!-- https://github.com/angular/angular/issues/17983 -->\n <ng-content select=\"[right]\"></ng-content>\n </div>\n</div>\n", directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
2434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsComponent, decorators: [{
|
|
2051
2435
|
type: Component,
|
|
2052
2436
|
args: [{ selector: 'dbx-two-columns', exportAs: 'columns', template: "<div class=\"two-column\" [ngClass]=\"{ 'two-column-reverse-sizing': reverseSizing, 'right-shown': showRight$ | async, 'full-left': (showFullLeft$ | async), 'dbx-section-page-two': inSectionPage }\">\n <div class=\"left-column\">\n <ng-content select=\"[left]\"></ng-content>\n </div>\n <div class=\"right-column\" *ngIf=\"showRight$ | async\">\n <!-- NOTE: This will only hide the content project. Be sure to use *ngIf separately on the right's content if needed. -->\n <!-- https://github.com/angular/angular/issues/17983 -->\n <ng-content select=\"[right]\"></ng-content>\n </div>\n</div>\n" }]
|
|
2053
2437
|
}], ctorParameters: function () { return [{ type: TwoColumnsContextStore, decorators: [{
|
|
@@ -2082,9 +2466,9 @@ class DbxTwoColumnsFullLeftDirective {
|
|
|
2082
2466
|
this._fullLeft.complete();
|
|
2083
2467
|
}
|
|
2084
2468
|
}
|
|
2085
|
-
DbxTwoColumnsFullLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2086
|
-
DbxTwoColumnsFullLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2469
|
+
DbxTwoColumnsFullLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsFullLeftDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2470
|
+
DbxTwoColumnsFullLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsFullLeftDirective, selector: "[dbxTwoColumnsFullLeft]", inputs: { fullLeft: ["dbxTwoColumnsFullLeft", "fullLeft"] }, ngImport: i0 });
|
|
2471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsFullLeftDirective, decorators: [{
|
|
2088
2472
|
type: Directive,
|
|
2089
2473
|
args: [{
|
|
2090
2474
|
selector: '[dbxTwoColumnsFullLeft]'
|
|
@@ -2099,13 +2483,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2099
2483
|
*/
|
|
2100
2484
|
class DbxTwoColumnsColumnHeadComponent {
|
|
2101
2485
|
}
|
|
2102
|
-
DbxTwoColumnsColumnHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2103
|
-
DbxTwoColumnsColumnHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2486
|
+
DbxTwoColumnsColumnHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsColumnHeadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2487
|
+
DbxTwoColumnsColumnHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsColumnHeadComponent, selector: "dbx-two-columns-head", inputs: { block: "block", full: "full" }, ngImport: i0, template: `
|
|
2104
2488
|
<div class="dbx-two-columns-head" [ngClass]="{ 'block': block, 'full': full }">
|
|
2105
2489
|
<ng-content></ng-content>
|
|
2106
2490
|
</div>
|
|
2107
|
-
`, isInline: true, directives: [{ type: i3
|
|
2108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2491
|
+
`, isInline: true, directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsColumnHeadComponent, decorators: [{
|
|
2109
2493
|
type: Component,
|
|
2110
2494
|
args: [{
|
|
2111
2495
|
selector: 'dbx-two-columns-head',
|
|
@@ -2137,9 +2521,9 @@ class DbxTwoColumnsSrefDirective {
|
|
|
2137
2521
|
this._twoColumnsContextStore.setBackRef(ref);
|
|
2138
2522
|
}
|
|
2139
2523
|
}
|
|
2140
|
-
DbxTwoColumnsSrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2141
|
-
DbxTwoColumnsSrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2524
|
+
DbxTwoColumnsSrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsSrefDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2525
|
+
DbxTwoColumnsSrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsSrefDirective, selector: "[dbxTwoColumnsSref]", inputs: { refString: ["dbxTwoColumnsSref", "refString"], ref: "ref" }, ngImport: i0 });
|
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsSrefDirective, decorators: [{
|
|
2143
2527
|
type: Directive,
|
|
2144
2528
|
args: [{
|
|
2145
2529
|
selector: '[dbxTwoColumnsSref]'
|
|
@@ -2160,8 +2544,8 @@ class DbxTwoColumnsRightComponent {
|
|
|
2160
2544
|
this._showBack = new BehaviorSubject(true);
|
|
2161
2545
|
this.ref$ = this.twoColumnsContextStore.backRef$;
|
|
2162
2546
|
this.showBack$ = combineLatest([
|
|
2163
|
-
this._showBack, this.ref$.pipe(map
|
|
2164
|
-
]).pipe(map
|
|
2547
|
+
this._showBack, this.ref$.pipe(map((x) => !Boolean(x))) // TODO: Is this correct? Show back if ref is not defined?
|
|
2548
|
+
]).pipe(map(([a, b]) => a && b));
|
|
2165
2549
|
}
|
|
2166
2550
|
ngAfterViewInit() {
|
|
2167
2551
|
setTimeout(() => {
|
|
@@ -2181,9 +2565,9 @@ class DbxTwoColumnsRightComponent {
|
|
|
2181
2565
|
this.twoColumnsContextStore.back();
|
|
2182
2566
|
}
|
|
2183
2567
|
}
|
|
2184
|
-
DbxTwoColumnsRightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2185
|
-
DbxTwoColumnsRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2568
|
+
DbxTwoColumnsRightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsRightComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2569
|
+
DbxTwoColumnsRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsRightComponent, selector: "dbx-two-columns-right", inputs: { header: "header", showBack: "showBack" }, ngImport: i0, template: "<div class=\"two-columns-right\">\n <dbx-two-columns-head>\n <!-- Back Buttons -->\n <ng-container *ngIf=\"showBack$ | async\">\n <button mat-icon-button class=\"back-button\" (click)=\"backClicked()\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngIf=\"ref$ | async\">\n <dbx-anchor [anchor]=\"ref$ | async\">\n <button mat-icon-button class=\"back-button\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </dbx-anchor>\n </ng-container>\n <span *ngIf=\"header\" class=\"right-nav-title\">{{ header }}</span>\n <span class=\"right-nav-spacer\"></span>\n <span class=\"spacer\"></span>\n <ng-content select=\"[nav]\"></ng-content>\n </dbx-two-columns-head>\n <div class=\"two-columns-right-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", components: [{ type: DbxTwoColumnsColumnHeadComponent, selector: "dbx-two-columns-head", inputs: ["block", "full"] }, { type: i2.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"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
2570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsRightComponent, decorators: [{
|
|
2187
2571
|
type: Component,
|
|
2188
2572
|
args: [{ selector: 'dbx-two-columns-right', template: "<div class=\"two-columns-right\">\n <dbx-two-columns-head>\n <!-- Back Buttons -->\n <ng-container *ngIf=\"showBack$ | async\">\n <button mat-icon-button class=\"back-button\" (click)=\"backClicked()\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngIf=\"ref$ | async\">\n <dbx-anchor [anchor]=\"ref$ | async\">\n <button mat-icon-button class=\"back-button\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </dbx-anchor>\n </ng-container>\n <span *ngIf=\"header\" class=\"right-nav-title\">{{ header }}</span>\n <span class=\"right-nav-spacer\"></span>\n <span class=\"spacer\"></span>\n <ng-content select=\"[nav]\"></ng-content>\n </dbx-two-columns-head>\n <div class=\"two-columns-right-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
2189
2573
|
}], ctorParameters: function () { return [{ type: TwoColumnsContextStore, decorators: [{
|
|
@@ -2197,8 +2581,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2197
2581
|
|
|
2198
2582
|
class DbxTwoColumnLayoutModule {
|
|
2199
2583
|
}
|
|
2200
|
-
DbxTwoColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2201
|
-
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2584
|
+
DbxTwoColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2585
|
+
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, declarations: [DbxTwoColumnsComponent,
|
|
2202
2586
|
DbxTwoColumnsRightComponent,
|
|
2203
2587
|
DbxTwoColumnsColumnHeadComponent,
|
|
2204
2588
|
DbxTwoColumnsSrefDirective,
|
|
@@ -2213,14 +2597,14 @@ DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0"
|
|
|
2213
2597
|
DbxTwoColumnsSrefDirective,
|
|
2214
2598
|
DbxTwoColumnsBackDirective,
|
|
2215
2599
|
DbxTwoColumnsFullLeftDirective] });
|
|
2216
|
-
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2600
|
+
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, imports: [[
|
|
2217
2601
|
CommonModule,
|
|
2218
2602
|
MatIconModule,
|
|
2219
2603
|
MatButtonModule,
|
|
2220
2604
|
DbxAnchorModule,
|
|
2221
2605
|
DbxContentLayoutModule
|
|
2222
2606
|
]] });
|
|
2223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, decorators: [{
|
|
2224
2608
|
type: NgModule,
|
|
2225
2609
|
args: [{
|
|
2226
2610
|
imports: [
|
|
@@ -2259,8 +2643,8 @@ class DbxOneColumnComponent {
|
|
|
2259
2643
|
twoColumnsContextStore.setFullLeft(true);
|
|
2260
2644
|
}
|
|
2261
2645
|
}
|
|
2262
|
-
DbxOneColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2263
|
-
DbxOneColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2646
|
+
DbxOneColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2647
|
+
DbxOneColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxOneColumnComponent, selector: "dbx-one-column", inputs: { inSectionPage: "inSectionPage" }, providers: [TwoColumnsContextStore], exportAs: ["columns"], ngImport: i0, template: `
|
|
2264
2648
|
<ng-container>
|
|
2265
2649
|
<dbx-two-columns [inSectionPage]="inSectionPage">
|
|
2266
2650
|
<ng-content top select="[top]"></ng-content>
|
|
@@ -2268,7 +2652,7 @@ DbxOneColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
2268
2652
|
</dbx-two-columns>
|
|
2269
2653
|
</ng-container>
|
|
2270
2654
|
`, isInline: true, components: [{ type: DbxTwoColumnsComponent, selector: "dbx-two-columns", inputs: ["reverseSizing", "inSectionPage"], exportAs: ["columns"] }] });
|
|
2271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnComponent, decorators: [{
|
|
2272
2656
|
type: Component,
|
|
2273
2657
|
args: [{
|
|
2274
2658
|
selector: 'dbx-one-column',
|
|
@@ -2292,14 +2676,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2292
2676
|
|
|
2293
2677
|
class DbxOneColumnLayoutModule {
|
|
2294
2678
|
}
|
|
2295
|
-
DbxOneColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2296
|
-
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2679
|
+
DbxOneColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2680
|
+
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, declarations: [DbxOneColumnComponent], imports: [CommonModule,
|
|
2297
2681
|
DbxTwoColumnLayoutModule], exports: [DbxOneColumnComponent] });
|
|
2298
|
-
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2682
|
+
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, imports: [[
|
|
2299
2683
|
CommonModule,
|
|
2300
2684
|
DbxTwoColumnLayoutModule
|
|
2301
2685
|
]] });
|
|
2302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, decorators: [{
|
|
2303
2687
|
type: NgModule,
|
|
2304
2688
|
args: [{
|
|
2305
2689
|
imports: [
|
|
@@ -2317,12 +2701,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2317
2701
|
|
|
2318
2702
|
class DbxColumnLayoutModule {
|
|
2319
2703
|
}
|
|
2320
|
-
DbxColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2321
|
-
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2704
|
+
DbxColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2705
|
+
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, exports: [DbxOneColumnLayoutModule,
|
|
2322
2706
|
DbxTwoColumnLayoutModule] });
|
|
2323
|
-
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2707
|
+
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, imports: [DbxOneColumnLayoutModule,
|
|
2324
2708
|
DbxTwoColumnLayoutModule] });
|
|
2325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, decorators: [{
|
|
2326
2710
|
type: NgModule,
|
|
2327
2711
|
args: [{
|
|
2328
2712
|
exports: [
|
|
@@ -2345,7 +2729,7 @@ function compactModeFromInput(input) {
|
|
|
2345
2729
|
}
|
|
2346
2730
|
function mapCompactModeObs(mode$, config) {
|
|
2347
2731
|
const modeObs = mode$ ?? of(config.defaultMode ?? CompactMode.FULL);
|
|
2348
|
-
return modeObs.pipe(map
|
|
2732
|
+
return modeObs.pipe(map((inputMode) => {
|
|
2349
2733
|
const isCompact = ((inputMode ?? config.defaultMode) === CompactMode.COMPACT);
|
|
2350
2734
|
if (isCompact) {
|
|
2351
2735
|
return config.compact;
|
|
@@ -2360,13 +2744,13 @@ class CompactContextStore extends ComponentStore {
|
|
|
2360
2744
|
constructor() {
|
|
2361
2745
|
super({ mode: CompactMode.FULL });
|
|
2362
2746
|
// MARK: Accessors
|
|
2363
|
-
this.mode$ = this.state$.pipe(map
|
|
2747
|
+
this.mode$ = this.state$.pipe(map(x => x.mode));
|
|
2364
2748
|
this.setMode = this.updater((state, mode) => ({ mode: compactModeFromInput(mode) }));
|
|
2365
2749
|
}
|
|
2366
2750
|
}
|
|
2367
|
-
CompactContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2368
|
-
CompactContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
2369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2751
|
+
CompactContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CompactContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2752
|
+
CompactContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CompactContextStore });
|
|
2753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CompactContextStore, decorators: [{
|
|
2370
2754
|
type: Injectable
|
|
2371
2755
|
}], ctorParameters: function () { return []; } });
|
|
2372
2756
|
|
|
@@ -2382,9 +2766,9 @@ class DbxCompactDirective {
|
|
|
2382
2766
|
this.compactContextStore.setMode(mode);
|
|
2383
2767
|
}
|
|
2384
2768
|
}
|
|
2385
|
-
DbxCompactDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2386
|
-
DbxCompactDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2769
|
+
DbxCompactDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactDirective, deps: [{ token: CompactContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2770
|
+
DbxCompactDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxCompactDirective, selector: "[dbxCompact]", inputs: { mode: ["dbxCompact", "mode"] }, providers: [CompactContextStore], exportAs: ["compact"], ngImport: i0 });
|
|
2771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactDirective, decorators: [{
|
|
2388
2772
|
type: Directive,
|
|
2389
2773
|
args: [{
|
|
2390
2774
|
selector: '[dbxCompact]',
|
|
@@ -2401,12 +2785,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2401
2785
|
*/
|
|
2402
2786
|
class DbxCompactLayoutModule {
|
|
2403
2787
|
}
|
|
2404
|
-
DbxCompactLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2405
|
-
DbxCompactLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2406
|
-
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2788
|
+
DbxCompactLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2789
|
+
DbxCompactLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, declarations: [DbxCompactDirective], imports: [CommonModule], exports: [DbxCompactDirective] });
|
|
2790
|
+
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, imports: [[
|
|
2407
2791
|
CommonModule
|
|
2408
2792
|
]] });
|
|
2409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, decorators: [{
|
|
2410
2794
|
type: NgModule,
|
|
2411
2795
|
args: [{
|
|
2412
2796
|
imports: [
|
|
@@ -2429,15 +2813,15 @@ class DbxFlagComponent {
|
|
|
2429
2813
|
this.color = 'accent';
|
|
2430
2814
|
}
|
|
2431
2815
|
}
|
|
2432
|
-
DbxFlagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2433
|
-
DbxFlagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2816
|
+
DbxFlagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2817
|
+
DbxFlagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxFlagComponent, selector: "dbx-flag", inputs: { color: "color" }, ngImport: i0, template: `
|
|
2434
2818
|
<div class="dbx-flag">
|
|
2435
2819
|
<mat-toolbar [color]="color">
|
|
2436
2820
|
<ng-content></ng-content>
|
|
2437
2821
|
</mat-toolbar>
|
|
2438
2822
|
</div>
|
|
2439
|
-
`, isInline: true, components: [{ type: i1$
|
|
2440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2823
|
+
`, isInline: true, components: [{ type: i1$5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }] });
|
|
2824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagComponent, decorators: [{
|
|
2441
2825
|
type: Component,
|
|
2442
2826
|
args: [{
|
|
2443
2827
|
selector: 'dbx-flag',
|
|
@@ -2462,15 +2846,15 @@ class DbxFlagPromptComponent {
|
|
|
2462
2846
|
this.color = 'accent';
|
|
2463
2847
|
}
|
|
2464
2848
|
}
|
|
2465
|
-
DbxFlagPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2466
|
-
DbxFlagPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2849
|
+
DbxFlagPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagPromptComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2850
|
+
DbxFlagPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxFlagPromptComponent, selector: "dbx-flag-prompt", inputs: { color: "color", text: "text" }, ngImport: i0, template: `
|
|
2467
2851
|
<dbx-flag [color]="color">
|
|
2468
2852
|
<span class="dbx-flag-prompt">{{ text }}</span>
|
|
2469
2853
|
<span class="dbx-flag-spacer"></span>
|
|
2470
2854
|
<ng-content></ng-content>
|
|
2471
2855
|
</dbx-flag>
|
|
2472
2856
|
`, isInline: true, components: [{ type: DbxFlagComponent, selector: "dbx-flag", inputs: ["color"] }] });
|
|
2473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagPromptComponent, decorators: [{
|
|
2474
2858
|
type: Component,
|
|
2475
2859
|
args: [{
|
|
2476
2860
|
selector: 'dbx-flag-prompt',
|
|
@@ -2494,16 +2878,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2494
2878
|
*/
|
|
2495
2879
|
class DbxFlagLayoutModule {
|
|
2496
2880
|
}
|
|
2497
|
-
DbxFlagLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2498
|
-
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2881
|
+
DbxFlagLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2882
|
+
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, declarations: [DbxFlagComponent,
|
|
2499
2883
|
DbxFlagPromptComponent], imports: [CommonModule,
|
|
2500
2884
|
MatToolbarModule], exports: [DbxFlagComponent,
|
|
2501
2885
|
DbxFlagPromptComponent] });
|
|
2502
|
-
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2886
|
+
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, imports: [[
|
|
2503
2887
|
CommonModule,
|
|
2504
2888
|
MatToolbarModule
|
|
2505
2889
|
]] });
|
|
2506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, decorators: [{
|
|
2507
2891
|
type: NgModule,
|
|
2508
2892
|
args: [{
|
|
2509
2893
|
imports: [
|
|
@@ -2533,7 +2917,7 @@ class DbxFlexGroupDirective extends AbstractSubscriptionDirective {
|
|
|
2533
2917
|
this.relative = false;
|
|
2534
2918
|
this._small = false;
|
|
2535
2919
|
this._breakpoint = new BehaviorSubject('tablet');
|
|
2536
|
-
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map(x => !x), distinctUntilChanged(), shareReplay(1));
|
|
2920
|
+
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map$1(x => !x), distinctUntilChanged(), shareReplay(1));
|
|
2537
2921
|
}
|
|
2538
2922
|
get small() {
|
|
2539
2923
|
return this._small;
|
|
@@ -2548,9 +2932,9 @@ class DbxFlexGroupDirective extends AbstractSubscriptionDirective {
|
|
|
2548
2932
|
this._breakpoint.next(breakpoint ?? 'tablet');
|
|
2549
2933
|
}
|
|
2550
2934
|
}
|
|
2551
|
-
DbxFlexGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2552
|
-
DbxFlexGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2935
|
+
DbxFlexGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexGroupDirective, deps: [{ token: DbxScreenMediaService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2936
|
+
DbxFlexGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: { content: "content", relative: "relative", breakpoint: "breakpoint" }, host: { properties: { "class.dbx-flex-group": "content", "class.dbx-flex-group-small": "small", "class.dbx-flex-group-relative": "relative" } }, usesInheritance: true, ngImport: i0 });
|
|
2937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexGroupDirective, decorators: [{
|
|
2554
2938
|
type: Directive,
|
|
2555
2939
|
args: [{
|
|
2556
2940
|
selector: '[dbxFlexGroup]',
|
|
@@ -2576,9 +2960,9 @@ class DbxFlexSizeDirective {
|
|
|
2576
2960
|
this.size = 1;
|
|
2577
2961
|
}
|
|
2578
2962
|
}
|
|
2579
|
-
DbxFlexSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2580
|
-
DbxFlexSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2963
|
+
DbxFlexSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2964
|
+
DbxFlexSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: { size: ["dbxFlexSize", "size"] }, host: { properties: { "class": "\"dbx-flex-\" + size" } }, ngImport: i0 });
|
|
2965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexSizeDirective, decorators: [{
|
|
2582
2966
|
type: Directive,
|
|
2583
2967
|
args: [{
|
|
2584
2968
|
selector: '[dbxFlexSize]',
|
|
@@ -2593,14 +2977,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2593
2977
|
|
|
2594
2978
|
class DbxFlexLayoutModule {
|
|
2595
2979
|
}
|
|
2596
|
-
DbxFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2597
|
-
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2980
|
+
DbxFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2981
|
+
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, declarations: [DbxFlexGroupDirective,
|
|
2598
2982
|
DbxFlexSizeDirective], imports: [CommonModule], exports: [DbxFlexGroupDirective,
|
|
2599
2983
|
DbxFlexSizeDirective] });
|
|
2600
|
-
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2984
|
+
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, imports: [[
|
|
2601
2985
|
CommonModule
|
|
2602
2986
|
]] });
|
|
2603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, decorators: [{
|
|
2604
2988
|
type: NgModule,
|
|
2605
2989
|
args: [{
|
|
2606
2990
|
imports: [
|
|
@@ -2622,8 +3006,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2622
3006
|
*/
|
|
2623
3007
|
class DbxIconItemComponent {
|
|
2624
3008
|
}
|
|
2625
|
-
DbxIconItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2626
|
-
DbxIconItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3009
|
+
DbxIconItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3010
|
+
DbxIconItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxIconItemComponent, selector: "dbx-icon-item", inputs: { icon: "icon", header: "header" }, ngImport: i0, template: `
|
|
2627
3011
|
<div class="dbx-icon-item">
|
|
2628
3012
|
<div class="left">
|
|
2629
3013
|
<mat-icon>{{ icon }}</mat-icon>
|
|
@@ -2635,8 +3019,8 @@ DbxIconItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2635
3019
|
</div>
|
|
2636
3020
|
</div>
|
|
2637
3021
|
</div>
|
|
2638
|
-
`, isInline: true, components: [{ type:
|
|
2639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3022
|
+
`, isInline: true, components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconItemComponent, decorators: [{
|
|
2640
3024
|
type: Component,
|
|
2641
3025
|
args: [{
|
|
2642
3026
|
selector: 'dbx-icon-item',
|
|
@@ -2662,14 +3046,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2662
3046
|
|
|
2663
3047
|
class DbxItemLayoutModule {
|
|
2664
3048
|
}
|
|
2665
|
-
DbxItemLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2666
|
-
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
3049
|
+
DbxItemLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3050
|
+
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, declarations: [DbxIconItemComponent], imports: [CommonModule,
|
|
2667
3051
|
MatIconModule], exports: [DbxIconItemComponent] });
|
|
2668
|
-
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
3052
|
+
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, imports: [[
|
|
2669
3053
|
CommonModule,
|
|
2670
3054
|
MatIconModule
|
|
2671
3055
|
]] });
|
|
2672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, decorators: [{
|
|
2673
3057
|
type: NgModule,
|
|
2674
3058
|
args: [{
|
|
2675
3059
|
imports: [
|
|
@@ -2690,13 +3074,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2690
3074
|
*/
|
|
2691
3075
|
class DbxListEmptyContentComponent {
|
|
2692
3076
|
}
|
|
2693
|
-
DbxListEmptyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2694
|
-
DbxListEmptyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3077
|
+
DbxListEmptyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListEmptyContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3078
|
+
DbxListEmptyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content", ngImport: i0, template: `
|
|
2695
3079
|
<div class="dbx-list-empty-content">
|
|
2696
3080
|
<ng-content></ng-content>
|
|
2697
3081
|
</div>
|
|
2698
3082
|
`, isInline: true });
|
|
2699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListEmptyContentComponent, decorators: [{
|
|
2700
3084
|
type: Component,
|
|
2701
3085
|
args: [{
|
|
2702
3086
|
selector: 'dbx-list-empty-content',
|
|
@@ -2733,8 +3117,8 @@ class DbxLoadingProgressComponent {
|
|
|
2733
3117
|
return this.mode;
|
|
2734
3118
|
}
|
|
2735
3119
|
}
|
|
2736
|
-
DbxLoadingProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2737
|
-
DbxLoadingProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3120
|
+
DbxLoadingProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3121
|
+
DbxLoadingProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: { text: "text", linear: "linear", mode: "mode", color: "color", value: "value", bufferValue: "bufferValue", diameter: "diameter" }, ngImport: i0, template: `
|
|
2738
3122
|
<div class="loading-progress-view">
|
|
2739
3123
|
<ng-container [ngSwitch]="linear">
|
|
2740
3124
|
<mat-progress-bar *ngSwitchCase="true" [mode]="bmode" [color]="color" [bufferValue]="bufferValue" [value]="value" style="margin: auto;"></mat-progress-bar>
|
|
@@ -2742,8 +3126,8 @@ DbxLoadingProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2742
3126
|
</ng-container>
|
|
2743
3127
|
<div *ngIf="text" class="hint">{{ text }}</div>
|
|
2744
3128
|
</div>
|
|
2745
|
-
`, isInline: true, components: [{ type: i1$
|
|
2746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3129
|
+
`, isInline: true, components: [{ type: i1$9.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { type: i2$2.MatProgressSpinner, selector: "mat-progress-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingProgressComponent, decorators: [{
|
|
2747
3131
|
type: Component,
|
|
2748
3132
|
args: [{
|
|
2749
3133
|
selector: 'dbx-loading-progress',
|
|
@@ -2787,9 +3171,9 @@ class DbxReadableErrorComponent {
|
|
|
2787
3171
|
return this._error?.message;
|
|
2788
3172
|
}
|
|
2789
3173
|
}
|
|
2790
|
-
DbxReadableErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2791
|
-
DbxReadableErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3174
|
+
DbxReadableErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3175
|
+
DbxReadableErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: { error: "error" }, ngImport: i0, template: "<div *ngIf=\"error\" class=\"dbx-error\">\n <h4>An error occured.</h4>\n <!-- <p class=\"dbx-error-code\" *ngIf=\"errorData.code\">{{ errorData.code }}</p> -->\n <p class=\"dbx-error-message\" *ngIf=\"message\">{{ message }}</p>\n</div>\n", directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorComponent, decorators: [{
|
|
2793
3177
|
type: Component,
|
|
2794
3178
|
args: [{ selector: 'dbx-error', template: "<div *ngIf=\"error\" class=\"dbx-error\">\n <h4>An error occured.</h4>\n <!-- <p class=\"dbx-error-code\" *ngIf=\"errorData.code\">{{ errorData.code }}</p> -->\n <p class=\"dbx-error-message\" *ngIf=\"message\">{{ message }}</p>\n</div>\n" }]
|
|
2795
3179
|
}], propDecorators: { error: [{
|
|
@@ -2816,7 +3200,7 @@ class DbxBasicLoadingComponent {
|
|
|
2816
3200
|
this._error = new BehaviorSubject(undefined);
|
|
2817
3201
|
this._customErrorContent = new BehaviorSubject(undefined);
|
|
2818
3202
|
this._customLoadingContent = new BehaviorSubject(undefined);
|
|
2819
|
-
this.state$ = combineLatest([this._loading, this._show, this._error]).pipe(map(([loading, show, error]) => {
|
|
3203
|
+
this.state$ = combineLatest([this._loading, this._show, this._error]).pipe(map$1(([loading, show, error]) => {
|
|
2820
3204
|
let state;
|
|
2821
3205
|
if (error) {
|
|
2822
3206
|
state = LoadingComponentState.ERROR;
|
|
@@ -2833,8 +3217,8 @@ class DbxBasicLoadingComponent {
|
|
|
2833
3217
|
return state;
|
|
2834
3218
|
}), distinctUntilChanged(), startWith(LoadingComponentState.NONE), shareReplay(1));
|
|
2835
3219
|
this.error$ = this._error.asObservable();
|
|
2836
|
-
this.hasNoCustomError$ = this._customErrorContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
2837
|
-
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
3220
|
+
this.hasNoCustomError$ = this._customErrorContent.pipe(map$1(x => !checkNgContentWrapperHasContent(x)));
|
|
3221
|
+
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map$1(x => !checkNgContentWrapperHasContent(x)));
|
|
2838
3222
|
this.mode = 'indeterminate';
|
|
2839
3223
|
this.color = 'primary';
|
|
2840
3224
|
this.linear = false;
|
|
@@ -2875,9 +3259,9 @@ class DbxBasicLoadingComponent {
|
|
|
2875
3259
|
}, 0);
|
|
2876
3260
|
}
|
|
2877
3261
|
}
|
|
2878
|
-
DbxBasicLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2879
|
-
DbxBasicLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3262
|
+
DbxBasicLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBasicLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3263
|
+
DbxBasicLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: { diameter: "diameter", mode: "mode", color: "color", text: "text", linear: "linear", show: "show", loading: "loading", error: "error" }, viewQueries: [{ propertyName: "customErrorContent", first: true, predicate: ["customError"], descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: ["customLoading"], descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\"\n [linear]=\"linear\" [diameter]=\"diameter\"></dbx-loading-progress>\n <div #customLoading>\n <ng-content select=\"[loading]\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #errorTemplate>\n <dbx-error *ngIf=\"hasNoCustomError$ | async\" [error]=\"error$ | async\"></dbx-error>\n <div #customError>\n <ng-content select=\"[error]\"></ng-content>\n </div>\n <ng-content select=\"[errorAction]\"></ng-content>\n</ng-template>\n", components: [{ type: DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: ["text", "linear", "mode", "color", "value", "bufferValue", "diameter"] }, { type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
3264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBasicLoadingComponent, decorators: [{
|
|
2881
3265
|
type: Component,
|
|
2882
3266
|
args: [{ selector: 'dbx-basic-loading', template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\"\n [linear]=\"linear\" [diameter]=\"diameter\"></dbx-loading-progress>\n <div #customLoading>\n <ng-content select=\"[loading]\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #errorTemplate>\n <dbx-error *ngIf=\"hasNoCustomError$ | async\" [error]=\"error$ | async\"></dbx-error>\n <div #customError>\n <ng-content select=\"[error]\"></ng-content>\n </div>\n <ng-content select=\"[errorAction]\"></ng-content>\n</ng-template>\n" }]
|
|
2883
3267
|
}], propDecorators: { diameter: [{
|
|
@@ -2912,7 +3296,7 @@ class DbxLoadingComponent {
|
|
|
2912
3296
|
this._context = new BehaviorSubject(undefined);
|
|
2913
3297
|
this._inputLoading = new BehaviorSubject(true);
|
|
2914
3298
|
this._inputError = new BehaviorSubject(undefined);
|
|
2915
|
-
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap(x => (x != null) ? x.stream$ : of(undefined)))]).pipe(map(([inputLoading, inputError, loadingState]) => {
|
|
3299
|
+
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap(x => (x != null) ? x.stream$ : of(undefined)))]).pipe(map$1(([inputLoading, inputError, loadingState]) => {
|
|
2916
3300
|
if (loadingState) {
|
|
2917
3301
|
return loadingState;
|
|
2918
3302
|
}
|
|
@@ -2923,8 +3307,8 @@ class DbxLoadingComponent {
|
|
|
2923
3307
|
};
|
|
2924
3308
|
}
|
|
2925
3309
|
}), distinctUntilChanged((a, b) => a.loading === b.loading && a.error === b.error), shareReplay(1));
|
|
2926
|
-
this.loading$ = this.state$.pipe(map(x => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
2927
|
-
this.error$ = this.state$.pipe(map(x => x.error), distinctUntilChanged(), shareReplay(1));
|
|
3310
|
+
this.loading$ = this.state$.pipe(map$1(x => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
3311
|
+
this.error$ = this.state$.pipe(map$1(x => x.error), distinctUntilChanged(), shareReplay(1));
|
|
2928
3312
|
this.mode = 'indeterminate';
|
|
2929
3313
|
this.color = 'primary';
|
|
2930
3314
|
}
|
|
@@ -2952,16 +3336,16 @@ class DbxLoadingComponent {
|
|
|
2952
3336
|
this._inputError.next(error);
|
|
2953
3337
|
}
|
|
2954
3338
|
}
|
|
2955
|
-
DbxLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2956
|
-
DbxLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3339
|
+
DbxLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3340
|
+
DbxLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxLoadingComponent, selector: "dbx-loading", inputs: { show: "show", text: "text", mode: "mode", color: "color", diameter: "diameter", linear: "linear", context: "context", loading: "loading", error: "error" }, ngImport: i0, template: `
|
|
2957
3341
|
<dbx-basic-loading [show]="show" [color]="color" [text]="text" [mode]="mode" [linear]="linear" [diameter]="diameter" [error]="error$ | async" [loading]="loading$ | async">
|
|
2958
3342
|
<ng-content loading select="[loading]"></ng-content>
|
|
2959
3343
|
<ng-content></ng-content>
|
|
2960
3344
|
<ng-content error select="[error]"></ng-content>
|
|
2961
3345
|
<ng-content errorAction select="[errorAction]"></ng-content>
|
|
2962
3346
|
</dbx-basic-loading>
|
|
2963
|
-
`, isInline: true, components: [{ type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: ["diameter", "mode", "color", "text", "linear", "show", "loading", "error"] }], pipes: { "async": i3
|
|
2964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3347
|
+
`, isInline: true, components: [{ type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: ["diameter", "mode", "color", "text", "linear", "show", "loading", "error"] }], pipes: { "async": i3.AsyncPipe } });
|
|
3348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingComponent, decorators: [{
|
|
2965
3349
|
type: Component,
|
|
2966
3350
|
args: [{
|
|
2967
3351
|
selector: 'dbx-loading',
|
|
@@ -3020,16 +3404,16 @@ class DbxListComponent {
|
|
|
3020
3404
|
this.context = new ListLoadingStateContextInstance({ showLoadingOnNoValue: false });
|
|
3021
3405
|
this.isEmpty$ = this.context.isEmpty$;
|
|
3022
3406
|
this.disabled$ = this._disabled.asObservable();
|
|
3023
|
-
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map(x => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3024
|
-
this.invertedList$ = this._config.pipe(filterMaybe(), map(x => Boolean(x?.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3025
|
-
this.throttleScroll$ = this._config.pipe(map(x => (x?.throttle) ?? this.DEFAULT_THROTTLE_SCROLL), distinctUntilChanged(), shareReplay(1));
|
|
3026
|
-
this.scrollDistance$ = this._config.pipe(map(x => (x?.scrollDistance) ?? this.DEFAULT_SCROLL_DISTANCE), distinctUntilChanged(), shareReplay(1));
|
|
3407
|
+
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map$1(x => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3408
|
+
this.invertedList$ = this._config.pipe(filterMaybe(), map$1(x => Boolean(x?.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3409
|
+
this.throttleScroll$ = this._config.pipe(map$1(x => (x?.throttle) ?? this.DEFAULT_THROTTLE_SCROLL), distinctUntilChanged(), shareReplay(1));
|
|
3410
|
+
this.scrollDistance$ = this._config.pipe(map$1(x => (x?.scrollDistance) ?? this.DEFAULT_SCROLL_DISTANCE), distinctUntilChanged(), shareReplay(1));
|
|
3027
3411
|
this.scrollLoadMoreTrigger$ = this._config.pipe(switchMap((config) => {
|
|
3028
3412
|
const loadNextDirection = config?.invertedList ? 'up' : 'down';
|
|
3029
|
-
return this._scrollTrigger.pipe(filter(x => x === loadNextDirection));
|
|
3413
|
+
return this._scrollTrigger.pipe(filter$1(x => x === loadNextDirection));
|
|
3030
3414
|
}));
|
|
3031
3415
|
this.loadMore$ = merge(this.scrollLoadMoreTrigger$, this._loadMoreTrigger);
|
|
3032
|
-
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map((config) => {
|
|
3416
|
+
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map$1((config) => {
|
|
3033
3417
|
let injectedComponentConfig;
|
|
3034
3418
|
if (config) {
|
|
3035
3419
|
const { componentClass, init, onClick, onSelectionChange, loadMore } = config;
|
|
@@ -3079,7 +3463,7 @@ class DbxListComponent {
|
|
|
3079
3463
|
}
|
|
3080
3464
|
return injectedComponentConfig;
|
|
3081
3465
|
}), distinctUntilChanged(), shareReplay(1));
|
|
3082
|
-
this.hideContent$ = this.context.stateChange$.pipe(switchMap(() => this.context.state$.pipe(filter((x) => loadingStateHasFinishedLoading(x)), first(), startWith(beginLoading()))), switchMap((state) => {
|
|
3466
|
+
this.hideContent$ = this.context.stateChange$.pipe(switchMap(() => this.context.state$.pipe(filter$1((x) => loadingStateHasFinishedLoading(x)), first(), startWith(beginLoading()))), switchMap((state) => {
|
|
3083
3467
|
if (state?.loading) {
|
|
3084
3468
|
return of(true);
|
|
3085
3469
|
}
|
|
@@ -3165,9 +3549,9 @@ class DbxListComponent {
|
|
|
3165
3549
|
}
|
|
3166
3550
|
}
|
|
3167
3551
|
}
|
|
3168
|
-
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3169
|
-
DbxListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3552
|
+
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3553
|
+
DbxListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxListComponent, selector: "dbx-list", inputs: { padded: "padded", state$: "state$", config: "config", disabled: "disabled" }, outputs: { contentScrolled: "contentScrolled" }, host: { properties: { "class.dbx-list-padded": "padded" }, classAttribute: "d-block dbx-list" }, ngImport: i0, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbx-list-internal-content infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\"\n [infiniteScrollUpDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [hide]=\"hideContent$ | async\"\n [infiniteScrollThrottle]=\"(throttleScroll$ | async) ?? DEFAULT_THROTTLE_SCROLL\" [scrollWindow]=\"false\"\n (scrolled)=\"onScrollDown()\" (scrolledUp)=\"onScrollUp()\">\n <ng-content select=\"[top]\"></ng-content>\n <dbx-injected-content [config]=\"injectedComponentConfig$ | async\"></dbx-injected-content>\n <ng-content select=\"[bottom]\"></ng-content>\n</div>\n<ng-content *ngIf=\"isEmpty$ | async\" select=\"[empty]\"></ng-content>\n", components: [{ type: i0.forwardRef(function () { return DbxLoadingComponent; }), selector: "dbx-loading", inputs: ["show", "text", "mode", "color", "diameter", "linear", "context", "loading", "error"] }, { type: i0.forwardRef(function () { return i1$2.DbxInjectedComponent; }), selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i0.forwardRef(function () { return DbxListInternalContentDirective; }), selector: "[dbx-list-internal-content]", inputs: ["hide"] }, { type: i0.forwardRef(function () { return i3$2.InfiniteScrollDirective; }), selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { type: i0.forwardRef(function () { return i3.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i0.forwardRef(function () { return i3.AsyncPipe; }) } });
|
|
3554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListComponent, decorators: [{
|
|
3171
3555
|
type: Component,
|
|
3172
3556
|
args: [{ selector: 'dbx-list', host: {
|
|
3173
3557
|
'class': 'd-block dbx-list',
|
|
@@ -3199,9 +3583,9 @@ class DbxListInternalContentDirective {
|
|
|
3199
3583
|
this.parent.contentScrolled.emit(position);
|
|
3200
3584
|
}
|
|
3201
3585
|
}
|
|
3202
|
-
DbxListInternalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3203
|
-
DbxListInternalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3586
|
+
DbxListInternalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListInternalContentDirective, deps: [{ token: DbxListComponent }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3587
|
+
DbxListInternalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxListInternalContentDirective, selector: "[dbx-list-internal-content]", inputs: { hide: "hide" }, host: { listeners: { "scroll": "onScrollEvent($event)" }, properties: { "class.dbx-list-content-hidden": "hide" }, classAttribute: "d-block dbx-list-content" }, ngImport: i0 });
|
|
3588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListInternalContentDirective, decorators: [{
|
|
3205
3589
|
type: Directive,
|
|
3206
3590
|
args: [{
|
|
3207
3591
|
selector: '[dbx-list-internal-content]',
|
|
@@ -3236,7 +3620,7 @@ class AbstractDbxListWrapperDirective {
|
|
|
3236
3620
|
constructor(initConfig) {
|
|
3237
3621
|
this.initConfig = initConfig;
|
|
3238
3622
|
this._init = new BehaviorSubject(undefined);
|
|
3239
|
-
this.config$ = this._init.pipe(filterMaybe(), getter(), map((x) => this._buildListConfig(x)), shareReplay(1));
|
|
3623
|
+
this.config$ = this._init.pipe(filterMaybe(), getter(), map$1((x) => this._buildListConfig(x)), shareReplay(1));
|
|
3240
3624
|
this.clickItem = new EventEmitter();
|
|
3241
3625
|
this.loadMore = new EventEmitter();
|
|
3242
3626
|
}
|
|
@@ -3256,9 +3640,9 @@ class AbstractDbxListWrapperDirective {
|
|
|
3256
3640
|
};
|
|
3257
3641
|
}
|
|
3258
3642
|
}
|
|
3259
|
-
AbstractDbxListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3260
|
-
AbstractDbxListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3643
|
+
AbstractDbxListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListWrapperDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
3644
|
+
AbstractDbxListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxListWrapperDirective, inputs: { disabled: "disabled", state$: "state$" }, outputs: { clickItem: "clickItem", loadMore: "loadMore" }, ngImport: i0 });
|
|
3645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListWrapperDirective, decorators: [{
|
|
3262
3646
|
type: Directive
|
|
3263
3647
|
}], ctorParameters: function () { return [{ type: undefined }]; }, propDecorators: { disabled: [{
|
|
3264
3648
|
type: Input
|
|
@@ -3283,9 +3667,9 @@ class AbstractDbxSelectionListWrapperDirective extends AbstractDbxListWrapperDir
|
|
|
3283
3667
|
return result;
|
|
3284
3668
|
}
|
|
3285
3669
|
}
|
|
3286
|
-
AbstractDbxSelectionListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3287
|
-
AbstractDbxSelectionListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3670
|
+
AbstractDbxSelectionListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionListWrapperDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3671
|
+
AbstractDbxSelectionListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxSelectionListWrapperDirective, outputs: { selectionChange: "selectionChange" }, usesInheritance: true, ngImport: i0 });
|
|
3672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionListWrapperDirective, decorators: [{
|
|
3289
3673
|
type: Directive
|
|
3290
3674
|
}], propDecorators: { selectionChange: [{
|
|
3291
3675
|
type: Output
|
|
@@ -3306,16 +3690,16 @@ class DbxActionErrorDirective extends AbstractSubscriptionDirective {
|
|
|
3306
3690
|
});
|
|
3307
3691
|
}
|
|
3308
3692
|
}
|
|
3309
|
-
DbxActionErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3310
|
-
DbxActionErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3693
|
+
DbxActionErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionErrorDirective, deps: [{ token: DbxReadableErrorComponent, host: true }, { token: i1$2.DbxActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3694
|
+
DbxActionErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionErrorDirective, selector: "[dbxActionError]", usesInheritance: true, ngImport: i0 });
|
|
3695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionErrorDirective, decorators: [{
|
|
3312
3696
|
type: Directive,
|
|
3313
3697
|
args: [{
|
|
3314
3698
|
selector: '[dbxActionError]'
|
|
3315
3699
|
}]
|
|
3316
3700
|
}], ctorParameters: function () { return [{ type: DbxReadableErrorComponent, decorators: [{
|
|
3317
3701
|
type: Host
|
|
3318
|
-
}] }, { type: i1.
|
|
3702
|
+
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }]; } });
|
|
3319
3703
|
|
|
3320
3704
|
/**
|
|
3321
3705
|
* Converts the error response to a POJO.
|
|
@@ -3385,9 +3769,9 @@ class DbxLoadingErrorDirective extends AbstractSubscriptionDirective {
|
|
|
3385
3769
|
this.sub = subscription;
|
|
3386
3770
|
}
|
|
3387
3771
|
}
|
|
3388
|
-
DbxLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3389
|
-
DbxLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3772
|
+
DbxLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingErrorDirective, deps: [{ token: DbxReadableErrorComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3773
|
+
DbxLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxLoadingErrorDirective, selector: "[dbxLoadingError]", inputs: { context: ["dbxLoadingError", "context"] }, usesInheritance: true, ngImport: i0 });
|
|
3774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingErrorDirective, decorators: [{
|
|
3391
3775
|
type: Directive,
|
|
3392
3776
|
args: [{
|
|
3393
3777
|
selector: '[dbxLoadingError]'
|
|
@@ -3401,16 +3785,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3401
3785
|
|
|
3402
3786
|
class DbxReadableErrorModule {
|
|
3403
3787
|
}
|
|
3404
|
-
DbxReadableErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3405
|
-
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
3788
|
+
DbxReadableErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3789
|
+
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, declarations: [DbxReadableErrorComponent,
|
|
3406
3790
|
DbxLoadingErrorDirective,
|
|
3407
3791
|
DbxActionErrorDirective], imports: [CommonModule], exports: [DbxReadableErrorComponent,
|
|
3408
3792
|
DbxLoadingErrorDirective,
|
|
3409
3793
|
DbxActionErrorDirective] });
|
|
3410
|
-
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
3794
|
+
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, imports: [[
|
|
3411
3795
|
CommonModule
|
|
3412
3796
|
]] });
|
|
3413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, decorators: [{
|
|
3414
3798
|
type: NgModule,
|
|
3415
3799
|
args: [{
|
|
3416
3800
|
imports: [
|
|
@@ -3443,27 +3827,59 @@ function catchErrorServerParams(action, mapError = (error) => error) {
|
|
|
3443
3827
|
return catchError$1((error) => of(action(mapError(convertServerErrorParams(error)))));
|
|
3444
3828
|
}
|
|
3445
3829
|
|
|
3830
|
+
/**
|
|
3831
|
+
* Context used for linking a loadingComponent to an ActionContext by providing a LoadingContext.
|
|
3832
|
+
*/
|
|
3833
|
+
class DbxActionLoadingContextDirective {
|
|
3834
|
+
constructor(loadingComponent, source) {
|
|
3835
|
+
this.loadingComponent = loadingComponent;
|
|
3836
|
+
this.source = source;
|
|
3837
|
+
this._context = new LoadingStateContextInstance({ obs: this.source.loadingState$ });
|
|
3838
|
+
}
|
|
3839
|
+
get context() {
|
|
3840
|
+
return this._context;
|
|
3841
|
+
}
|
|
3842
|
+
ngOnInit() {
|
|
3843
|
+
this.loadingComponent.context = this._context;
|
|
3844
|
+
}
|
|
3845
|
+
ngOnDestroy() {
|
|
3846
|
+
this._context.destroy();
|
|
3847
|
+
}
|
|
3848
|
+
}
|
|
3849
|
+
DbxActionLoadingContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionLoadingContextDirective, deps: [{ token: DbxLoadingComponent, host: true }, { token: i1$2.DbxActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3850
|
+
DbxActionLoadingContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionLoadingContextDirective, selector: "[dbxActionLoadingContext]", ngImport: i0 });
|
|
3851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionLoadingContextDirective, decorators: [{
|
|
3852
|
+
type: Directive,
|
|
3853
|
+
args: [{
|
|
3854
|
+
selector: '[dbxActionLoadingContext]'
|
|
3855
|
+
}]
|
|
3856
|
+
}], ctorParameters: function () { return [{ type: DbxLoadingComponent, decorators: [{
|
|
3857
|
+
type: Host
|
|
3858
|
+
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }]; } });
|
|
3859
|
+
|
|
3446
3860
|
class DbxLoadingModule {
|
|
3447
3861
|
}
|
|
3448
|
-
DbxLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3449
|
-
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
3862
|
+
DbxLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3863
|
+
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent,
|
|
3450
3864
|
DbxBasicLoadingComponent,
|
|
3451
|
-
DbxLoadingProgressComponent
|
|
3865
|
+
DbxLoadingProgressComponent,
|
|
3866
|
+
DbxActionLoadingContextDirective], imports: [CommonModule,
|
|
3452
3867
|
DbxReadableErrorModule,
|
|
3453
3868
|
MatProgressSpinnerModule,
|
|
3454
3869
|
MatProgressBarModule], exports: [DbxLoadingComponent,
|
|
3455
3870
|
DbxBasicLoadingComponent,
|
|
3456
3871
|
DbxLoadingProgressComponent,
|
|
3457
3872
|
MatProgressSpinnerModule,
|
|
3458
|
-
MatProgressBarModule
|
|
3459
|
-
|
|
3873
|
+
MatProgressBarModule,
|
|
3874
|
+
DbxActionLoadingContextDirective] });
|
|
3875
|
+
DbxLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, imports: [[
|
|
3460
3876
|
CommonModule,
|
|
3461
3877
|
DbxReadableErrorModule,
|
|
3462
3878
|
MatProgressSpinnerModule,
|
|
3463
3879
|
MatProgressBarModule
|
|
3464
3880
|
], MatProgressSpinnerModule,
|
|
3465
3881
|
MatProgressBarModule] });
|
|
3466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, decorators: [{
|
|
3467
3883
|
type: NgModule,
|
|
3468
3884
|
args: [{
|
|
3469
3885
|
imports: [
|
|
@@ -3475,14 +3891,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3475
3891
|
declarations: [
|
|
3476
3892
|
DbxLoadingComponent,
|
|
3477
3893
|
DbxBasicLoadingComponent,
|
|
3478
|
-
DbxLoadingProgressComponent
|
|
3894
|
+
DbxLoadingProgressComponent,
|
|
3895
|
+
DbxActionLoadingContextDirective
|
|
3479
3896
|
],
|
|
3480
3897
|
exports: [
|
|
3481
3898
|
DbxLoadingComponent,
|
|
3482
3899
|
DbxBasicLoadingComponent,
|
|
3483
3900
|
DbxLoadingProgressComponent,
|
|
3484
3901
|
MatProgressSpinnerModule,
|
|
3485
|
-
MatProgressBarModule
|
|
3902
|
+
MatProgressBarModule,
|
|
3903
|
+
DbxActionLoadingContextDirective
|
|
3486
3904
|
]
|
|
3487
3905
|
}]
|
|
3488
3906
|
}] });
|
|
@@ -3502,7 +3920,7 @@ function ProvideDbxListView(sourceType) {
|
|
|
3502
3920
|
const DBX_VALUE_LIST_VIEW_ITEM = new InjectionToken('DbxValueListViewItem');
|
|
3503
3921
|
const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES = (values) => of(values.map(value => ({ value })));
|
|
3504
3922
|
function mapValuesToValuesListItemConfigObs(listViewConfig, values) {
|
|
3505
|
-
return (listViewConfig.mapValuesToItemValues ?? DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES)(values).pipe(map((itemValues) => {
|
|
3923
|
+
return (listViewConfig.mapValuesToItemValues ?? DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES)(values).pipe(map$1((itemValues) => {
|
|
3506
3924
|
const items = mapItemValuesToValueListItemConfig(listViewConfig, itemValues);
|
|
3507
3925
|
return items;
|
|
3508
3926
|
}));
|
|
@@ -3547,9 +3965,9 @@ class AbstractDbxValueListViewDirective {
|
|
|
3547
3965
|
this.dbxListView.clickValue?.next(value);
|
|
3548
3966
|
}
|
|
3549
3967
|
}
|
|
3550
|
-
AbstractDbxValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3551
|
-
AbstractDbxValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3968
|
+
AbstractDbxValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxValueListViewDirective, deps: [{ token: DbxListView }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3969
|
+
AbstractDbxValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxValueListViewDirective, inputs: { config: "config" }, ngImport: i0 });
|
|
3970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxValueListViewDirective, decorators: [{
|
|
3553
3971
|
type: Directive
|
|
3554
3972
|
}], ctorParameters: function () { return [{ type: DbxListView }]; }, propDecorators: { config: [{
|
|
3555
3973
|
type: Input
|
|
@@ -3561,14 +3979,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3561
3979
|
class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
3562
3980
|
constructor(dbxListView) {
|
|
3563
3981
|
super(dbxListView);
|
|
3564
|
-
this.multiple$ = this.config$.pipe(map(x => x.multiple ?? true), distinctUntilChanged(), shareReplay(1));
|
|
3982
|
+
this.multiple$ = this.config$.pipe(map$1(x => x.multiple ?? true), distinctUntilChanged(), shareReplay(1));
|
|
3565
3983
|
}
|
|
3566
3984
|
}
|
|
3567
|
-
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3568
|
-
DbxSelectionValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3985
|
+
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListViewComponent, deps: [{ token: DbxListView }], target: i0.ɵɵFactoryTarget.Component });
|
|
3986
|
+
DbxSelectionValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view", usesInheritance: true, ngImport: i0, template: `
|
|
3569
3987
|
<dbx-selection-list-view-content [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
3570
|
-
`, isInline: true, components: [{ type: i0.forwardRef(function () { return DbxSelectionValueListItemViewComponent; }), selector: "dbx-selection-list-view-content", inputs: ["multiple", "items"] }], pipes: { "async": i0.forwardRef(function () { return i3
|
|
3571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3988
|
+
`, isInline: true, components: [{ type: i0.forwardRef(function () { return DbxSelectionValueListItemViewComponent; }), selector: "dbx-selection-list-view-content", inputs: ["multiple", "items"] }], pipes: { "async": i0.forwardRef(function () { return i3.AsyncPipe; }) } });
|
|
3989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListViewComponent, decorators: [{
|
|
3572
3990
|
type: Component,
|
|
3573
3991
|
args: [{
|
|
3574
3992
|
selector: 'dbx-selection-list-view',
|
|
@@ -3602,16 +4020,16 @@ class DbxSelectionValueListItemViewComponent {
|
|
|
3602
4020
|
});
|
|
3603
4021
|
}
|
|
3604
4022
|
}
|
|
3605
|
-
DbxSelectionValueListItemViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3606
|
-
DbxSelectionValueListItemViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4023
|
+
DbxSelectionValueListItemViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListItemViewComponent, deps: [{ token: DbxListView }], target: i0.ɵɵFactoryTarget.Component });
|
|
4024
|
+
DbxSelectionValueListItemViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSelectionValueListItemViewComponent, selector: "dbx-selection-list-view-content", inputs: { multiple: "multiple", items: "items" }, host: { classAttribute: "dbx-list-view dbx-selection-list-view" }, ngImport: i0, template: `
|
|
3607
4025
|
<mat-selection-list [disabled]="disabled$ | async" [multiple]="multiple" (selectionChange)="matSelectionChanged($event)">
|
|
3608
4026
|
<mat-list-option class="dbx-list-view-item" *ngFor="let item of items" [selected]="item.selected" [disabled]="item.disabled" [value]="item.value" (click)="onClickValue(item.value)">
|
|
3609
4027
|
<mat-icon matListIcon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
3610
4028
|
<div dbx-injected-content [config]="item.config"></div>
|
|
3611
4029
|
</mat-list-option>
|
|
3612
4030
|
</mat-selection-list>
|
|
3613
|
-
`, isInline: true, components: [{ type: i1$
|
|
3614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4031
|
+
`, isInline: true, components: [{ type: i1$6.MatSelectionList, selector: "mat-selection-list", inputs: ["disableRipple", "tabIndex", "color", "compareWith", "disabled", "multiple"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { type: i1$6.MatListOption, selector: "mat-list-option", inputs: ["disableRipple", "checkboxPosition", "color", "value", "disabled", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$6.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }], pipes: { "async": i3.AsyncPipe } });
|
|
4032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListItemViewComponent, decorators: [{
|
|
3615
4033
|
type: Component,
|
|
3616
4034
|
args: [{
|
|
3617
4035
|
selector: 'dbx-selection-list-view-content',
|
|
@@ -3639,7 +4057,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3639
4057
|
class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
3640
4058
|
constructor() {
|
|
3641
4059
|
super(...arguments);
|
|
3642
|
-
this.emitAllClicks$ = this.config$.pipe(map(x => x.emitAllClicks), shareReplay(1));
|
|
4060
|
+
this.emitAllClicks$ = this.config$.pipe(map$1(x => x.emitAllClicks), shareReplay(1));
|
|
3643
4061
|
}
|
|
3644
4062
|
onClickItem(item) {
|
|
3645
4063
|
// do not emit clicks for disabled items.
|
|
@@ -3653,8 +4071,8 @@ class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
|
3653
4071
|
}
|
|
3654
4072
|
}
|
|
3655
4073
|
}
|
|
3656
|
-
DbxValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3657
|
-
DbxValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4074
|
+
DbxValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4075
|
+
DbxValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxValueListViewComponent, selector: "dbx-list-view", host: { classAttribute: "dbx-list-view" }, usesInheritance: true, ngImport: i0, template: `
|
|
3658
4076
|
<mat-nav-list>
|
|
3659
4077
|
<dbx-anchor *ngFor="let item of (items$ | async)" [anchor]="item.anchor" [disabled]="item.disabled">
|
|
3660
4078
|
<a mat-list-item class="dbx-list-view-item" [disabled]="item.disabled" (click)="onClickItem(item)">
|
|
@@ -3663,8 +4081,8 @@ DbxValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3663
4081
|
</a>
|
|
3664
4082
|
</dbx-anchor>
|
|
3665
4083
|
</mat-nav-list>
|
|
3666
|
-
`, isInline: true, components: [{ type: i1$
|
|
3667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4084
|
+
`, isInline: true, components: [{ type: i1$6.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i1$6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$6.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }], pipes: { "async": i3.AsyncPipe } });
|
|
4085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxValueListViewComponent, decorators: [{
|
|
3668
4086
|
type: Component,
|
|
3669
4087
|
args: [{
|
|
3670
4088
|
selector: 'dbx-list-view',
|
|
@@ -3686,8 +4104,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3686
4104
|
|
|
3687
4105
|
class DbxListLayoutModule {
|
|
3688
4106
|
}
|
|
3689
|
-
DbxListLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3690
|
-
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4107
|
+
DbxListLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4108
|
+
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, declarations: [DbxListComponent,
|
|
3691
4109
|
DbxListInternalContentDirective,
|
|
3692
4110
|
DbxListEmptyContentComponent,
|
|
3693
4111
|
DbxValueListViewComponent,
|
|
@@ -3703,7 +4121,7 @@ DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
3703
4121
|
DbxValueListViewComponent,
|
|
3704
4122
|
DbxSelectionValueListViewComponent,
|
|
3705
4123
|
DbxSelectionValueListItemViewComponent] });
|
|
3706
|
-
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4124
|
+
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, imports: [[
|
|
3707
4125
|
CommonModule,
|
|
3708
4126
|
DbxLoadingModule,
|
|
3709
4127
|
DbxAnchorModule,
|
|
@@ -3712,7 +4130,7 @@ DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
3712
4130
|
MatListModule,
|
|
3713
4131
|
MatIconModule
|
|
3714
4132
|
]] });
|
|
3715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, decorators: [{
|
|
3716
4134
|
type: NgModule,
|
|
3717
4135
|
args: [{
|
|
3718
4136
|
imports: [
|
|
@@ -3775,9 +4193,9 @@ class AbstractDbxListViewDirective {
|
|
|
3775
4193
|
this._disabled.next(disabled);
|
|
3776
4194
|
}
|
|
3777
4195
|
}
|
|
3778
|
-
AbstractDbxListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3779
|
-
AbstractDbxListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4196
|
+
AbstractDbxListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4197
|
+
AbstractDbxListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxListViewDirective, inputs: { valueArray: "valueArray", values: "values" }, outputs: { clickValue: "clickValue" }, ngImport: i0 });
|
|
4198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListViewDirective, decorators: [{
|
|
3781
4199
|
type: Directive
|
|
3782
4200
|
}], ctorParameters: function () { return []; }, propDecorators: { clickValue: [{
|
|
3783
4201
|
type: Output
|
|
@@ -3808,9 +4226,9 @@ class AbstractSelectionValueListViewDirective extends AbstractDbxListViewDirecti
|
|
|
3808
4226
|
this.selectionChanged({ items });
|
|
3809
4227
|
}
|
|
3810
4228
|
}
|
|
3811
|
-
AbstractSelectionValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3812
|
-
AbstractSelectionValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4229
|
+
AbstractSelectionValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractSelectionValueListViewDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4230
|
+
AbstractSelectionValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractSelectionValueListViewDirective, outputs: { selectionChange: "selectionChange" }, usesInheritance: true, ngImport: i0 });
|
|
4231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractSelectionValueListViewDirective, decorators: [{
|
|
3814
4232
|
type: Directive
|
|
3815
4233
|
}], propDecorators: { selectionChange: [{
|
|
3816
4234
|
type: Output
|
|
@@ -3824,9 +4242,9 @@ class AbstractDbxSelectionValueListViewItemComponent {
|
|
|
3824
4242
|
return this.item.value;
|
|
3825
4243
|
}
|
|
3826
4244
|
}
|
|
3827
|
-
AbstractDbxSelectionValueListViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3828
|
-
AbstractDbxSelectionValueListViewItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4245
|
+
AbstractDbxSelectionValueListViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionValueListViewItemComponent, deps: [{ token: DBX_VALUE_LIST_VIEW_ITEM }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4246
|
+
AbstractDbxSelectionValueListViewItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxSelectionValueListViewItemComponent, ngImport: i0 });
|
|
4247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionValueListViewItemComponent, decorators: [{
|
|
3830
4248
|
type: Directive
|
|
3831
4249
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3832
4250
|
type: Inject,
|
|
@@ -3837,11 +4255,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3837
4255
|
* Component used to style a section's header.
|
|
3838
4256
|
*/
|
|
3839
4257
|
class DbxSectionHeaderComponent {
|
|
4258
|
+
get showTitle() {
|
|
4259
|
+
return Boolean(this.header || this.icon);
|
|
4260
|
+
}
|
|
3840
4261
|
}
|
|
3841
|
-
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3842
|
-
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4262
|
+
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4263
|
+
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: { h: "h", header: "header", icon: "icon", hint: "hint" }, ngImport: i0, template: `
|
|
3843
4264
|
<div class="dbx-section-header-content">
|
|
3844
|
-
<ng-container [ngSwitch]="h ?? 1">
|
|
4265
|
+
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
3845
4266
|
<h1 *ngSwitchCase="1" class="dbx-section-header-content-title">
|
|
3846
4267
|
<ng-container *ngTemplateOutlet="headerContentTitleTemplate"></ng-container>
|
|
3847
4268
|
</h1>
|
|
@@ -3865,14 +4286,14 @@ DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3865
4286
|
<ng-template #headerContentTitleTemplate>
|
|
3866
4287
|
<mat-icon *ngIf="icon">{{icon}}</mat-icon><span class="title-text">{{ header }}</span>
|
|
3867
4288
|
</ng-template>
|
|
3868
|
-
`, isInline: true, components: [{ type:
|
|
3869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4289
|
+
`, isInline: true, components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionHeaderComponent, decorators: [{
|
|
3870
4291
|
type: Component,
|
|
3871
4292
|
args: [{
|
|
3872
4293
|
selector: '.dbx-section-header',
|
|
3873
4294
|
template: `
|
|
3874
4295
|
<div class="dbx-section-header-content">
|
|
3875
|
-
<ng-container [ngSwitch]="h ?? 1">
|
|
4296
|
+
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
3876
4297
|
<h1 *ngSwitchCase="1" class="dbx-section-header-content-title">
|
|
3877
4298
|
<ng-container *ngTemplateOutlet="headerContentTitleTemplate"></ng-container>
|
|
3878
4299
|
</h1>
|
|
@@ -3917,8 +4338,8 @@ class DbxSectionComponent extends DbxSectionHeaderComponent {
|
|
|
3917
4338
|
this.elevated = false;
|
|
3918
4339
|
}
|
|
3919
4340
|
}
|
|
3920
|
-
DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3921
|
-
DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4341
|
+
DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4342
|
+
DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", 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: `
|
|
3922
4343
|
<div class="dbx-section-header" [h]="3" [header]="header" [icon]="icon" [hint]="hint">
|
|
3923
4344
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
3924
4345
|
</div>
|
|
@@ -3926,7 +4347,7 @@ DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
3926
4347
|
<ng-content></ng-content>
|
|
3927
4348
|
</div>
|
|
3928
4349
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
3929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionComponent, decorators: [{
|
|
3930
4351
|
type: Component,
|
|
3931
4352
|
args: [{
|
|
3932
4353
|
selector: 'dbx-section',
|
|
@@ -3962,8 +4383,8 @@ class DbxIntroActionSectionComponent extends DbxSectionComponent {
|
|
|
3962
4383
|
this.showAction.next();
|
|
3963
4384
|
}
|
|
3964
4385
|
}
|
|
3965
|
-
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3966
|
-
DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4386
|
+
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIntroActionSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4387
|
+
DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxIntroActionSectionComponent, selector: "dbx-intro-action-section", inputs: { showIntro: "showIntro", action: "action" }, outputs: { showAction: "showAction" }, usesInheritance: true, ngImport: i0, template: `
|
|
3967
4388
|
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
3968
4389
|
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
3969
4390
|
<p>{{ hint }}</p>
|
|
@@ -3978,8 +4399,8 @@ DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
3978
4399
|
<ng-content></ng-content>
|
|
3979
4400
|
</ng-container>
|
|
3980
4401
|
</div>
|
|
3981
|
-
`, isInline: true, components: [{ type: i2.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: i3
|
|
3982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4402
|
+
`, isInline: true, components: [{ type: i2.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: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
|
|
4403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIntroActionSectionComponent, decorators: [{
|
|
3983
4404
|
type: Component,
|
|
3984
4405
|
args: [{
|
|
3985
4406
|
selector: 'dbx-intro-action-section',
|
|
@@ -4013,8 +4434,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4013
4434
|
*/
|
|
4014
4435
|
class DbxSubSectionComponent extends DbxSectionComponent {
|
|
4015
4436
|
}
|
|
4016
|
-
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4017
|
-
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4437
|
+
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSubSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4438
|
+
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSubSectionComponent, selector: "dbx-subsection", usesInheritance: true, ngImport: i0, template: `
|
|
4018
4439
|
<div class="dbx-subsection">
|
|
4019
4440
|
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
4020
4441
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
@@ -4024,7 +4445,7 @@ DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
4024
4445
|
</div>
|
|
4025
4446
|
</div>
|
|
4026
4447
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
4027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSubSectionComponent, decorators: [{
|
|
4028
4449
|
type: Component,
|
|
4029
4450
|
args: [{
|
|
4030
4451
|
selector: 'dbx-subsection',
|
|
@@ -4046,8 +4467,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4046
4467
|
*/
|
|
4047
4468
|
class DbxSectionPageComponent extends DbxSectionHeaderComponent {
|
|
4048
4469
|
}
|
|
4049
|
-
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4050
|
-
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4470
|
+
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4471
|
+
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSectionPageComponent, selector: "dbx-section-page", usesInheritance: true, ngImport: i0, template: `
|
|
4051
4472
|
<div class="dbx-content-page dbx-section-page">
|
|
4052
4473
|
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
4053
4474
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
@@ -4055,7 +4476,7 @@ DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4055
4476
|
<ng-content></ng-content>
|
|
4056
4477
|
</div>
|
|
4057
4478
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
4058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionPageComponent, decorators: [{
|
|
4059
4480
|
type: Component,
|
|
4060
4481
|
args: [{
|
|
4061
4482
|
selector: 'dbx-section-page',
|
|
@@ -4075,8 +4496,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4075
4496
|
*/
|
|
4076
4497
|
class DbxSectionLayoutModule {
|
|
4077
4498
|
}
|
|
4078
|
-
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4079
|
-
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4499
|
+
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4500
|
+
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, declarations: [DbxSectionHeaderComponent,
|
|
4080
4501
|
DbxSectionPageComponent,
|
|
4081
4502
|
DbxSectionComponent,
|
|
4082
4503
|
DbxSubSectionComponent,
|
|
@@ -4089,14 +4510,14 @@ DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
4089
4510
|
DbxSectionComponent,
|
|
4090
4511
|
DbxSubSectionComponent,
|
|
4091
4512
|
DbxIntroActionSectionComponent] });
|
|
4092
|
-
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4513
|
+
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, imports: [[
|
|
4093
4514
|
CommonModule,
|
|
4094
4515
|
DbxAnchorModule,
|
|
4095
4516
|
MatButtonModule,
|
|
4096
4517
|
MatRippleModule,
|
|
4097
4518
|
MatIconModule
|
|
4098
4519
|
]] });
|
|
4099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, decorators: [{
|
|
4100
4521
|
type: NgModule,
|
|
4101
4522
|
args: [{
|
|
4102
4523
|
imports: [
|
|
@@ -4125,9 +4546,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4125
4546
|
|
|
4126
4547
|
class DbxStepComponent {
|
|
4127
4548
|
}
|
|
4128
|
-
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4129
|
-
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4549
|
+
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4550
|
+
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", 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$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepComponent, decorators: [{
|
|
4131
4552
|
type: Component,
|
|
4132
4553
|
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" }]
|
|
4133
4554
|
}], propDecorators: { done: [{
|
|
@@ -4142,14 +4563,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4142
4563
|
|
|
4143
4564
|
class DbxStepLayoutModule {
|
|
4144
4565
|
}
|
|
4145
|
-
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4146
|
-
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4566
|
+
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4567
|
+
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule,
|
|
4147
4568
|
MatIconModule], exports: [DbxStepComponent] });
|
|
4148
|
-
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4569
|
+
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, imports: [[
|
|
4149
4570
|
CommonModule,
|
|
4150
4571
|
MatIconModule
|
|
4151
4572
|
]] });
|
|
4152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, decorators: [{
|
|
4153
4574
|
type: NgModule,
|
|
4154
4575
|
args: [{
|
|
4155
4576
|
imports: [
|
|
@@ -4167,9 +4588,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4167
4588
|
|
|
4168
4589
|
class DbxHintComponent {
|
|
4169
4590
|
}
|
|
4170
|
-
DbxHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4171
|
-
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4591
|
+
DbxHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4592
|
+
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxHintComponent, selector: "dbx-hint", host: { classAttribute: "dbx-hint" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxHintComponent, decorators: [{
|
|
4173
4594
|
type: Component,
|
|
4174
4595
|
args: [{
|
|
4175
4596
|
selector: 'dbx-hint',
|
|
@@ -4180,11 +4601,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4180
4601
|
}]
|
|
4181
4602
|
}] });
|
|
4182
4603
|
|
|
4604
|
+
/**
|
|
4605
|
+
* Icon spacer directive.
|
|
4606
|
+
*/
|
|
4607
|
+
class DbxIconSpacerDirective {
|
|
4608
|
+
}
|
|
4609
|
+
DbxIconSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4610
|
+
DbxIconSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxIconSpacerDirective, selector: "dbx-icon-spacer,dbxIconSpacer", host: { classAttribute: "dbx-icon-spacer d-inline" }, ngImport: i0 });
|
|
4611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconSpacerDirective, decorators: [{
|
|
4612
|
+
type: Directive,
|
|
4613
|
+
args: [{
|
|
4614
|
+
selector: 'dbx-icon-spacer,dbxIconSpacer',
|
|
4615
|
+
host: {
|
|
4616
|
+
class: 'dbx-icon-spacer d-inline'
|
|
4617
|
+
}
|
|
4618
|
+
}]
|
|
4619
|
+
}] });
|
|
4620
|
+
|
|
4183
4621
|
class DbxLabelComponent {
|
|
4184
4622
|
}
|
|
4185
|
-
DbxLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4186
|
-
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4623
|
+
DbxLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4624
|
+
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxLabelComponent, selector: "dbx-label", host: { classAttribute: "dbx-label" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLabelComponent, decorators: [{
|
|
4188
4626
|
type: Component,
|
|
4189
4627
|
args: [{
|
|
4190
4628
|
selector: 'dbx-label',
|
|
@@ -4202,13 +4640,13 @@ class DbxLinkifyComponent {
|
|
|
4202
4640
|
constructor(sanitizer) {
|
|
4203
4641
|
this.sanitizer = sanitizer;
|
|
4204
4642
|
this._text = new BehaviorSubject('');
|
|
4205
|
-
this.linkifiedText$ = this._text.pipe(distinctUntilChanged$1(), map
|
|
4643
|
+
this.linkifiedText$ = this._text.pipe(distinctUntilChanged$1(), map(x => linkifyStr(x, {
|
|
4206
4644
|
defaultProtocol: 'https',
|
|
4207
4645
|
target: {
|
|
4208
4646
|
url: '_blank'
|
|
4209
4647
|
}
|
|
4210
4648
|
})), shareReplay$1(1));
|
|
4211
|
-
this.linkifiedBody$ = this.linkifiedText$.pipe(map
|
|
4649
|
+
this.linkifiedBody$ = this.linkifiedText$.pipe(map(x => {
|
|
4212
4650
|
return this.sanitizer.bypassSecurityTrustHtml(x);
|
|
4213
4651
|
}), shareReplay$1(1));
|
|
4214
4652
|
}
|
|
@@ -4222,23 +4660,23 @@ class DbxLinkifyComponent {
|
|
|
4222
4660
|
this._text.next(text);
|
|
4223
4661
|
}
|
|
4224
4662
|
}
|
|
4225
|
-
DbxLinkifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4226
|
-
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4663
|
+
DbxLinkifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLinkifyComponent, deps: [{ token: i1$a.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
4664
|
+
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxLinkifyComponent, selector: "dbx-linkify", inputs: { text: "text" }, ngImport: i0, template: `<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>`, isInline: true, pipes: { "async": i3.AsyncPipe } });
|
|
4665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLinkifyComponent, decorators: [{
|
|
4228
4666
|
type: Component,
|
|
4229
4667
|
args: [{
|
|
4230
4668
|
selector: 'dbx-linkify',
|
|
4231
4669
|
template: `<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>`
|
|
4232
4670
|
}]
|
|
4233
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4671
|
+
}], ctorParameters: function () { return [{ type: i1$a.DomSanitizer }]; }, propDecorators: { text: [{
|
|
4234
4672
|
type: Input
|
|
4235
4673
|
}] } });
|
|
4236
4674
|
|
|
4237
4675
|
class DbxNoteComponent {
|
|
4238
4676
|
}
|
|
4239
|
-
DbxNoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4240
|
-
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4677
|
+
DbxNoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4678
|
+
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxNoteComponent, selector: "dbx-note", host: { classAttribute: "dbx-note" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoteComponent, decorators: [{
|
|
4242
4680
|
type: Component,
|
|
4243
4681
|
args: [{
|
|
4244
4682
|
selector: 'dbx-note',
|
|
@@ -4251,9 +4689,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4251
4689
|
|
|
4252
4690
|
class DbxNoticeComponent {
|
|
4253
4691
|
}
|
|
4254
|
-
DbxNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4255
|
-
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4692
|
+
DbxNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4693
|
+
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxNoticeComponent, selector: "dbx-notice", host: { classAttribute: "dbx-notice" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoticeComponent, decorators: [{
|
|
4257
4695
|
type: Component,
|
|
4258
4696
|
args: [{
|
|
4259
4697
|
selector: 'dbx-notice',
|
|
@@ -4266,9 +4704,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4266
4704
|
|
|
4267
4705
|
class DbxOkComponent {
|
|
4268
4706
|
}
|
|
4269
|
-
DbxOkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4270
|
-
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4707
|
+
DbxOkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4708
|
+
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxOkComponent, selector: "dbx-ok", host: { classAttribute: "dbx-ok" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOkComponent, decorators: [{
|
|
4272
4710
|
type: Component,
|
|
4273
4711
|
args: [{
|
|
4274
4712
|
selector: 'dbx-ok',
|
|
@@ -4281,9 +4719,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4281
4719
|
|
|
4282
4720
|
class DbxSuccessComponent {
|
|
4283
4721
|
}
|
|
4284
|
-
DbxSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4285
|
-
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4722
|
+
DbxSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4723
|
+
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSuccessComponent, selector: "dbx-success", host: { classAttribute: "dbx-success" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSuccessComponent, decorators: [{
|
|
4287
4725
|
type: Component,
|
|
4288
4726
|
args: [{
|
|
4289
4727
|
selector: 'dbx-success',
|
|
@@ -4296,15 +4734,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4296
4734
|
|
|
4297
4735
|
class DbxTextChipsComponent {
|
|
4298
4736
|
}
|
|
4299
|
-
DbxTextChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4300
|
-
DbxTextChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4737
|
+
DbxTextChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4738
|
+
DbxTextChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxTextChipsComponent, selector: "dbx-text-chips", inputs: { chips: "chips" }, ngImport: i0, template: `
|
|
4301
4739
|
<mat-chip-list *ngIf="chips" [multiple]="false">
|
|
4302
4740
|
<mat-chip *ngFor="let chip of chips" selected [color]="chip.color" [matTooltip]="chip.tooltip!" matTooltipPosition="above">
|
|
4303
4741
|
{{chip.text}}
|
|
4304
4742
|
</mat-chip>
|
|
4305
4743
|
</mat-chip-list>
|
|
4306
|
-
`, isInline: true, components: [{ type: i1$
|
|
4307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4744
|
+
`, isInline: true, components: [{ type: i1$b.MatChipList, selector: "mat-chip-list", inputs: ["errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$b.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { type: i3$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
4745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextChipsComponent, decorators: [{
|
|
4308
4746
|
type: Component,
|
|
4309
4747
|
args: [{
|
|
4310
4748
|
selector: 'dbx-text-chips',
|
|
@@ -4322,9 +4760,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4322
4760
|
|
|
4323
4761
|
class DbxWarnComponent {
|
|
4324
4762
|
}
|
|
4325
|
-
DbxWarnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4326
|
-
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4763
|
+
DbxWarnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWarnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4764
|
+
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxWarnComponent, selector: "dbx-warn", host: { classAttribute: "dbx-warn" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWarnComponent, decorators: [{
|
|
4328
4766
|
type: Component,
|
|
4329
4767
|
args: [{
|
|
4330
4768
|
selector: 'dbx-warn',
|
|
@@ -4337,8 +4775,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4337
4775
|
|
|
4338
4776
|
class DbxTextModule {
|
|
4339
4777
|
}
|
|
4340
|
-
DbxTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4341
|
-
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4778
|
+
DbxTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4779
|
+
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, declarations: [DbxNoteComponent,
|
|
4342
4780
|
DbxNoticeComponent,
|
|
4343
4781
|
DbxSuccessComponent,
|
|
4344
4782
|
DbxWarnComponent,
|
|
@@ -4346,7 +4784,8 @@ DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
4346
4784
|
DbxLabelComponent,
|
|
4347
4785
|
DbxLinkifyComponent,
|
|
4348
4786
|
DbxOkComponent,
|
|
4349
|
-
DbxTextChipsComponent
|
|
4787
|
+
DbxTextChipsComponent,
|
|
4788
|
+
DbxIconSpacerDirective], imports: [CommonModule,
|
|
4350
4789
|
MatChipsModule,
|
|
4351
4790
|
MatTooltipModule,
|
|
4352
4791
|
MatIconModule], exports: [DbxNoteComponent,
|
|
@@ -4357,14 +4796,15 @@ DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
4357
4796
|
DbxLabelComponent,
|
|
4358
4797
|
DbxLinkifyComponent,
|
|
4359
4798
|
DbxOkComponent,
|
|
4360
|
-
DbxTextChipsComponent
|
|
4361
|
-
|
|
4799
|
+
DbxTextChipsComponent,
|
|
4800
|
+
DbxIconSpacerDirective] });
|
|
4801
|
+
DbxTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, imports: [[
|
|
4362
4802
|
CommonModule,
|
|
4363
4803
|
MatChipsModule,
|
|
4364
4804
|
MatTooltipModule,
|
|
4365
4805
|
MatIconModule
|
|
4366
4806
|
]] });
|
|
4367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, decorators: [{
|
|
4368
4808
|
type: NgModule,
|
|
4369
4809
|
args: [{
|
|
4370
4810
|
imports: [
|
|
@@ -4382,7 +4822,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4382
4822
|
DbxLabelComponent,
|
|
4383
4823
|
DbxLinkifyComponent,
|
|
4384
4824
|
DbxOkComponent,
|
|
4385
|
-
DbxTextChipsComponent
|
|
4825
|
+
DbxTextChipsComponent,
|
|
4826
|
+
DbxIconSpacerDirective
|
|
4386
4827
|
],
|
|
4387
4828
|
exports: [
|
|
4388
4829
|
DbxNoteComponent,
|
|
@@ -4393,15 +4834,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4393
4834
|
DbxLabelComponent,
|
|
4394
4835
|
DbxLinkifyComponent,
|
|
4395
4836
|
DbxOkComponent,
|
|
4396
|
-
DbxTextChipsComponent
|
|
4837
|
+
DbxTextChipsComponent,
|
|
4838
|
+
DbxIconSpacerDirective
|
|
4397
4839
|
],
|
|
4398
4840
|
}]
|
|
4399
4841
|
}] });
|
|
4400
4842
|
|
|
4401
4843
|
class DbxLayoutModule {
|
|
4402
4844
|
}
|
|
4403
|
-
DbxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4404
|
-
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4845
|
+
DbxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4846
|
+
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, exports: [DbxBarLayoutModule,
|
|
4405
4847
|
DbxBlockLayoutModule,
|
|
4406
4848
|
DbxCardBoxLayoutModule,
|
|
4407
4849
|
DbxColumnLayoutModule,
|
|
@@ -4415,7 +4857,7 @@ DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
4415
4857
|
DbxStepLayoutModule,
|
|
4416
4858
|
DbxStyleLayoutModule,
|
|
4417
4859
|
DbxTextModule] });
|
|
4418
|
-
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4860
|
+
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, imports: [DbxBarLayoutModule,
|
|
4419
4861
|
DbxBlockLayoutModule,
|
|
4420
4862
|
DbxCardBoxLayoutModule,
|
|
4421
4863
|
DbxColumnLayoutModule,
|
|
@@ -4429,7 +4871,7 @@ DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
4429
4871
|
DbxStepLayoutModule,
|
|
4430
4872
|
DbxStyleLayoutModule,
|
|
4431
4873
|
DbxTextModule] });
|
|
4432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, decorators: [{
|
|
4433
4875
|
type: NgModule,
|
|
4434
4876
|
args: [{
|
|
4435
4877
|
exports: [
|
|
@@ -4485,9 +4927,9 @@ class DbxPopoverCoordinatorService {
|
|
|
4485
4927
|
}
|
|
4486
4928
|
}
|
|
4487
4929
|
}
|
|
4488
|
-
DbxPopoverCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4489
|
-
DbxPopoverCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
4490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4930
|
+
DbxPopoverCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4931
|
+
DbxPopoverCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorService });
|
|
4932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorService, decorators: [{
|
|
4491
4933
|
type: Injectable
|
|
4492
4934
|
}] });
|
|
4493
4935
|
|
|
@@ -4498,7 +4940,7 @@ class DbxPopoverCoordinatorComponent {
|
|
|
4498
4940
|
constructor(service, popover) {
|
|
4499
4941
|
this.service = service;
|
|
4500
4942
|
this.popover = popover;
|
|
4501
|
-
this.isPopoverForKey$ = this.service.popovers$.pipe(map
|
|
4943
|
+
this.isPopoverForKey$ = this.service.popovers$.pipe(map(x => x.get(this.popover.key) === this.popover), shareReplay$1(1));
|
|
4502
4944
|
this.show$ = this.isPopoverForKey$.pipe(delay$1(0));
|
|
4503
4945
|
}
|
|
4504
4946
|
ngOnInit() {
|
|
@@ -4508,13 +4950,13 @@ class DbxPopoverCoordinatorComponent {
|
|
|
4508
4950
|
this.service.removePopover(this.popover.key, this.popover);
|
|
4509
4951
|
}
|
|
4510
4952
|
}
|
|
4511
|
-
DbxPopoverCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4512
|
-
DbxPopoverCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4953
|
+
DbxPopoverCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorComponent, deps: [{ token: DbxPopoverCoordinatorService }, { token: DbxPopoverController }], target: i0.ɵɵFactoryTarget.Component });
|
|
4954
|
+
DbxPopoverCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator", ngImport: i0, template: `
|
|
4513
4955
|
<ng-container *ngIf="show$ | async">
|
|
4514
4956
|
<ng-content></ng-content>
|
|
4515
4957
|
</ng-container>
|
|
4516
|
-
`, isInline: true, directives: [{ type: i3
|
|
4517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4958
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
4959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorComponent, decorators: [{
|
|
4518
4960
|
type: Component,
|
|
4519
4961
|
args: [{
|
|
4520
4962
|
selector: 'dbx-popover-coordinator',
|
|
@@ -4550,9 +4992,9 @@ class DbxWindowKeyDownListenerDirective {
|
|
|
4550
4992
|
}
|
|
4551
4993
|
}
|
|
4552
4994
|
}
|
|
4553
|
-
DbxWindowKeyDownListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4554
|
-
DbxWindowKeyDownListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
4555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4995
|
+
DbxWindowKeyDownListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWindowKeyDownListenerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4996
|
+
DbxWindowKeyDownListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxWindowKeyDownListenerDirective, selector: "[dbxWindowKeyDownListener]", inputs: { appWindowKeyDownEnabled: "appWindowKeyDownEnabled", appWindowKeyDownFilter: "appWindowKeyDownFilter" }, outputs: { keyPressed: "dbxWindowKeyDownListener" }, host: { listeners: { "window:keydown": "handleKeyboardEvent($event)" } }, ngImport: i0 });
|
|
4997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWindowKeyDownListenerDirective, decorators: [{
|
|
4556
4998
|
type: Directive,
|
|
4557
4999
|
args: [{
|
|
4558
5000
|
selector: '[dbxWindowKeyDownListener]'
|
|
@@ -4588,8 +5030,8 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
4588
5030
|
this._startedClosing = false;
|
|
4589
5031
|
this._closing = new Subject();
|
|
4590
5032
|
this._triggerCloseKeys = [];
|
|
4591
|
-
this.isClosing$ = this._closing.pipe(first$1(), map
|
|
4592
|
-
this.closing$ = this.isClosing$.pipe(filter
|
|
5033
|
+
this.isClosing$ = this._closing.pipe(first$1(), map(x => true), startWith$1(false), shareReplay$1(1));
|
|
5034
|
+
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
4593
5035
|
// Override Close to properly signal to listeners when a close is occuring.
|
|
4594
5036
|
const originalClose = this.popoverRef.close;
|
|
4595
5037
|
this.popoverRef.close = (x) => {
|
|
@@ -4658,8 +5100,8 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
4658
5100
|
this.close();
|
|
4659
5101
|
}
|
|
4660
5102
|
}
|
|
4661
|
-
DbxPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4662
|
-
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5103
|
+
DbxPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverComponent, deps: [{ token: i1$c.NgPopoverRef }, { token: CompactContextStore }, { token: i1$2.DbxRouterTransitionService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5104
|
+
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverComponent, selector: "ng-component", providers: [{
|
|
4663
5105
|
provide: DbxPopoverController,
|
|
4664
5106
|
useExisting: DbxPopoverComponent
|
|
4665
5107
|
}, {
|
|
@@ -4668,8 +5110,8 @@ DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4668
5110
|
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown($event)" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
4669
5111
|
<div dbx-style class="dbx-popover-component" dbx-injected-content [config]="contentConfig"></div>
|
|
4670
5112
|
</dbx-popover-coordinator>
|
|
4671
|
-
`, isInline: true, components: [{ type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator" }, { type: i1.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: DbxWindowKeyDownListenerDirective, selector: "[dbxWindowKeyDownListener]", inputs: ["appWindowKeyDownEnabled", "appWindowKeyDownFilter"], outputs: ["dbxWindowKeyDownListener"] }, { type: DbxStyleDirective, selector: "dbx-style, [dbx-style], .dbx-style" }] });
|
|
4672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5113
|
+
`, isInline: true, components: [{ type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator" }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: DbxWindowKeyDownListenerDirective, selector: "[dbxWindowKeyDownListener]", inputs: ["appWindowKeyDownEnabled", "appWindowKeyDownFilter"], outputs: ["dbxWindowKeyDownListener"] }, { type: DbxStyleDirective, selector: "dbx-style, [dbx-style], .dbx-style" }] });
|
|
5114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverComponent, decorators: [{
|
|
4673
5115
|
type: Component,
|
|
4674
5116
|
args: [{
|
|
4675
5117
|
template: `
|
|
@@ -4684,7 +5126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4684
5126
|
provide: CompactContextStore
|
|
4685
5127
|
}]
|
|
4686
5128
|
}]
|
|
4687
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5129
|
+
}], ctorParameters: function () { return [{ type: i1$c.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
4688
5130
|
|
|
4689
5131
|
/**
|
|
4690
5132
|
* Used for displaying a popover.
|
|
@@ -4719,11 +5161,11 @@ class DbxPopoverService {
|
|
|
4719
5161
|
});
|
|
4720
5162
|
}
|
|
4721
5163
|
}
|
|
4722
|
-
DbxPopoverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4723
|
-
DbxPopoverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
4724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5164
|
+
DbxPopoverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverService, deps: [{ token: i1$d.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5165
|
+
DbxPopoverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverService });
|
|
5166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverService, decorators: [{
|
|
4725
5167
|
type: Injectable
|
|
4726
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5168
|
+
}], ctorParameters: function () { return [{ type: i1$d.Overlay }, { type: i0.Injector }]; } });
|
|
4727
5169
|
|
|
4728
5170
|
/**
|
|
4729
5171
|
* Abstract popover directive.
|
|
@@ -4739,9 +5181,9 @@ class AbstractPopoverDirective {
|
|
|
4739
5181
|
this.popover.return(value);
|
|
4740
5182
|
}
|
|
4741
5183
|
}
|
|
4742
|
-
AbstractPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4743
|
-
AbstractPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
4744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5184
|
+
AbstractPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverDirective, deps: [{ token: DbxPopoverComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5185
|
+
AbstractPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopoverDirective, ngImport: i0 });
|
|
5186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverDirective, decorators: [{
|
|
4745
5187
|
type: Directive
|
|
4746
5188
|
}], ctorParameters: function () { return [{ type: DbxPopoverComponent }]; } });
|
|
4747
5189
|
|
|
@@ -4762,16 +5204,16 @@ class DbxPopoverContentComponent {
|
|
|
4762
5204
|
this._height.complete();
|
|
4763
5205
|
}
|
|
4764
5206
|
}
|
|
4765
|
-
DbxPopoverContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4766
|
-
DbxPopoverContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5207
|
+
DbxPopoverContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5208
|
+
DbxPopoverContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverContentComponent, selector: "dbx-popover-content", ngImport: i0, template: `
|
|
4767
5209
|
<div class="d-block dbx-popover-content" (resized)="onResized($event)" [style.--popoverh]="height$ | async">
|
|
4768
5210
|
<ng-content select="[controls]"></ng-content>
|
|
4769
5211
|
<div class="dbx-popover-content-container">
|
|
4770
5212
|
<ng-content></ng-content>
|
|
4771
5213
|
</div>
|
|
4772
5214
|
</div>
|
|
4773
|
-
`, isInline: true, directives: [{ type: i1$
|
|
4774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5215
|
+
`, isInline: true, directives: [{ type: i1$8.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], pipes: { "async": i3.AsyncPipe } });
|
|
5216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverContentComponent, decorators: [{
|
|
4775
5217
|
type: Component,
|
|
4776
5218
|
args: [{
|
|
4777
5219
|
selector: 'dbx-popover-content',
|
|
@@ -4796,8 +5238,8 @@ class DbxPopoverHeaderComponent {
|
|
|
4796
5238
|
}
|
|
4797
5239
|
}
|
|
4798
5240
|
}
|
|
4799
|
-
DbxPopoverHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4800
|
-
DbxPopoverHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5241
|
+
DbxPopoverHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverHeaderComponent, deps: [{ token: DbxPopoverContentComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5242
|
+
DbxPopoverHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: { header: "header", icon: "icon" }, ngImport: i0, template: `
|
|
4801
5243
|
<div class="dbx-popover-header">
|
|
4802
5244
|
<div class="dbx-popover-header-content">
|
|
4803
5245
|
<h3><mat-icon *ngIf="icon" class="dbx-icon-spacer">{{ icon }}</mat-icon> {{ header }}</h3>
|
|
@@ -4806,8 +5248,8 @@ DbxPopoverHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4806
5248
|
</div>
|
|
4807
5249
|
</div>
|
|
4808
5250
|
<mat-divider></mat-divider>
|
|
4809
|
-
`, isInline: true, components: [{ type:
|
|
4810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5251
|
+
`, isInline: true, components: [{ type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverHeaderComponent, decorators: [{
|
|
4811
5253
|
type: Component,
|
|
4812
5254
|
args: [{
|
|
4813
5255
|
selector: 'dbx-popover-header',
|
|
@@ -4859,9 +5301,9 @@ class DbxPopoverScrollContentComponent {
|
|
|
4859
5301
|
return this.appPopoverContentComponent.hasControls;
|
|
4860
5302
|
}
|
|
4861
5303
|
}
|
|
4862
|
-
DbxPopoverScrollContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4863
|
-
DbxPopoverScrollContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5304
|
+
DbxPopoverScrollContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverScrollContentComponent, deps: [{ token: DbxPopoverContentComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
5305
|
+
DbxPopoverScrollContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverScrollContentComponent, selector: "dbx-popover-scroll-content", host: { properties: { "class": "sizingClasses" }, classAttribute: "d-block dbx-popover-scroll-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
5306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverScrollContentComponent, decorators: [{
|
|
4865
5307
|
type: Component,
|
|
4866
5308
|
args: [{
|
|
4867
5309
|
selector: 'dbx-popover-scroll-content',
|
|
@@ -4883,7 +5325,7 @@ class DbxFilterPopoverComponent extends AbstractPopoverDirective {
|
|
|
4883
5325
|
this.showSwitchButtons = Boolean(this.config.customFilterComponentClass && this.config.presetFilterComponentClass);
|
|
4884
5326
|
this._showPreset = new BehaviorSubject(false);
|
|
4885
5327
|
this.showPreset$ = this._showPreset.asObservable();
|
|
4886
|
-
this.config$ = this._showPreset.pipe(map((showPreset) => {
|
|
5328
|
+
this.config$ = this._showPreset.pipe(map$1((showPreset) => {
|
|
4887
5329
|
const { connector, initialFilterObs, customFilterComponentClass, presetFilterComponentClass } = this.config;
|
|
4888
5330
|
let componentClass;
|
|
4889
5331
|
if (showPreset) {
|
|
@@ -4944,9 +5386,9 @@ class DbxFilterPopoverComponent extends AbstractPopoverDirective {
|
|
|
4944
5386
|
this._showPreset.next(false);
|
|
4945
5387
|
}
|
|
4946
5388
|
}
|
|
4947
|
-
DbxFilterPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4948
|
-
DbxFilterPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5389
|
+
DbxFilterPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverComponent, deps: [{ token: DbxPopoverComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
5390
|
+
DbxFilterPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterPopoverComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header icon=\"filter\" header=\"Filter\">\n <ng-container *ngIf=\"showSwitchButtons\" [ngSwitch]=\"showPreset$ | async\">\n <button *ngSwitchCase=\"true\" mat-flat-button color=\"accent\" (click)=\"showCustom()\">Custom</button>\n <button *ngSwitchCase=\"false\" mat-flat-button color=\"accent\" (click)=\"showPresets()\">Presets</button>\n </ng-container>\n </dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-injected-content [config]=\"config$ | async\"></dbx-injected-content>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", components: [{ type: DbxPopoverContentComponent, selector: "dbx-popover-content" }, { type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { type: i2.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"] }, { type: DbxPopoverScrollContentComponent, selector: "dbx-popover-scroll-content" }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "async": i3.AsyncPipe } });
|
|
5391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverComponent, decorators: [{
|
|
4950
5392
|
type: Component,
|
|
4951
5393
|
args: [{ template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header icon=\"filter\" header=\"Filter\">\n <ng-container *ngIf=\"showSwitchButtons\" [ngSwitch]=\"showPreset$ | async\">\n <button *ngSwitchCase=\"true\" mat-flat-button color=\"accent\" (click)=\"showCustom()\">Custom</button>\n <button *ngSwitchCase=\"false\" mat-flat-button color=\"accent\" (click)=\"showPresets()\">Presets</button>\n </ng-container>\n </dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-injected-content [config]=\"config$ | async\"></dbx-injected-content>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
4952
5394
|
}], ctorParameters: function () { return [{ type: DbxPopoverComponent }]; } });
|
|
@@ -4975,9 +5417,9 @@ class AbstractFilterPopoverButtonDirective extends AbstractSubscriptionDirective
|
|
|
4975
5417
|
});
|
|
4976
5418
|
}
|
|
4977
5419
|
}
|
|
4978
|
-
AbstractFilterPopoverButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4979
|
-
AbstractFilterPopoverButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
4980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5420
|
+
AbstractFilterPopoverButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterPopoverButtonDirective, deps: [{ token: DbxPopoverService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5421
|
+
AbstractFilterPopoverButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractFilterPopoverButtonDirective, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 });
|
|
5422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterPopoverButtonDirective, decorators: [{
|
|
4981
5423
|
type: Directive
|
|
4982
5424
|
}], ctorParameters: function () { return [{ type: DbxPopoverService }]; }, propDecorators: { config: [{
|
|
4983
5425
|
type: Input
|
|
@@ -4989,13 +5431,13 @@ class DbxFilterPopoverButtonComponent extends AbstractFilterPopoverButtonDirecti
|
|
|
4989
5431
|
this.showFilterPopoverAtOrigin(origin);
|
|
4990
5432
|
}
|
|
4991
5433
|
}
|
|
4992
|
-
DbxFilterPopoverButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4993
|
-
DbxFilterPopoverButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5434
|
+
DbxFilterPopoverButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5435
|
+
DbxFilterPopoverButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterPopoverButtonComponent, selector: "dbx-filter-popover-button", viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
4994
5436
|
<button #button mat-icon-button (click)="showFilterPopover()" matTooltip="Filter" matTooltipPosition="above">
|
|
4995
5437
|
<mat-icon>filter_list</mat-icon>
|
|
4996
5438
|
</button>
|
|
4997
|
-
`, isInline: true, components: [{ type: i2.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"] }, { type:
|
|
4998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5439
|
+
`, isInline: true, components: [{ type: i2.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"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
5440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverButtonComponent, decorators: [{
|
|
4999
5441
|
type: Component,
|
|
5000
5442
|
args: [{
|
|
5001
5443
|
selector: 'dbx-filter-popover-button',
|
|
@@ -5020,9 +5462,9 @@ class DbxPopoverControlsDirective {
|
|
|
5020
5462
|
}
|
|
5021
5463
|
}
|
|
5022
5464
|
}
|
|
5023
|
-
DbxPopoverControlsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5024
|
-
DbxPopoverControlsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5465
|
+
DbxPopoverControlsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverControlsDirective, deps: [{ token: DbxPopoverContentComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5466
|
+
DbxPopoverControlsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverControlsDirective, selector: "dbx-popover-controls,[dbx-popover-controls],.dbx-popover-controls", host: { classAttribute: "d-block dbx-popover-controls" }, ngImport: i0 });
|
|
5467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverControlsDirective, decorators: [{
|
|
5026
5468
|
type: Directive,
|
|
5027
5469
|
args: [{
|
|
5028
5470
|
selector: 'dbx-popover-controls,[dbx-popover-controls],.dbx-popover-controls',
|
|
@@ -5058,9 +5500,9 @@ class AbstractPopoverRefDirective extends AbstractSubscriptionDirective {
|
|
|
5058
5500
|
// Do nothing.
|
|
5059
5501
|
}
|
|
5060
5502
|
}
|
|
5061
|
-
AbstractPopoverRefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5062
|
-
AbstractPopoverRefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5503
|
+
AbstractPopoverRefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5504
|
+
AbstractPopoverRefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopoverRefDirective, usesInheritance: true, ngImport: i0 });
|
|
5505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefDirective, decorators: [{
|
|
5064
5506
|
type: Directive
|
|
5065
5507
|
}] });
|
|
5066
5508
|
/**
|
|
@@ -5084,9 +5526,9 @@ class AbstractPopoverRefWithEventsDirective extends AbstractPopoverRefDirective
|
|
|
5084
5526
|
this.popoverClosed.next(event);
|
|
5085
5527
|
}
|
|
5086
5528
|
}
|
|
5087
|
-
AbstractPopoverRefWithEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5088
|
-
AbstractPopoverRefWithEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5529
|
+
AbstractPopoverRefWithEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefWithEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5530
|
+
AbstractPopoverRefWithEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopoverRefWithEventsDirective, outputs: { popoverOpened: "popoverOpened", popoverClosed: "popoverClosed" }, usesInheritance: true, ngImport: i0 });
|
|
5531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefWithEventsDirective, decorators: [{
|
|
5090
5532
|
type: Directive
|
|
5091
5533
|
}], propDecorators: { popoverOpened: [{
|
|
5092
5534
|
type: Output
|
|
@@ -5154,15 +5596,15 @@ class DbxPopoverActionDirective extends AbstractPopoverRefWithEventsDirective {
|
|
|
5154
5596
|
}
|
|
5155
5597
|
}
|
|
5156
5598
|
}
|
|
5157
|
-
DbxPopoverActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5158
|
-
DbxPopoverActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5599
|
+
DbxPopoverActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverActionDirective, deps: [{ token: i0.ElementRef }, { token: i1$2.DbxActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5600
|
+
DbxPopoverActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverActionDirective, selector: "[dbxPopoverAction]", inputs: { fn: ["dbxPopoverAction", "fn"], appPopoverActionModified: "appPopoverActionModified" }, exportAs: ["popoverAction"], usesInheritance: true, ngImport: i0 });
|
|
5601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverActionDirective, decorators: [{
|
|
5160
5602
|
type: Directive,
|
|
5161
5603
|
args: [{
|
|
5162
5604
|
exportAs: 'popoverAction',
|
|
5163
5605
|
selector: '[dbxPopoverAction]'
|
|
5164
5606
|
}]
|
|
5165
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.
|
|
5607
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$2.DbxActionContextStoreSourceInstance }]; }, propDecorators: { fn: [{
|
|
5166
5608
|
type: Input,
|
|
5167
5609
|
args: ['dbxPopoverAction']
|
|
5168
5610
|
}], appPopoverActionModified: [{
|
|
@@ -5173,33 +5615,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5173
5615
|
* Action directive that is used to link an DbxButton to an DbxPopoverActionDirective.
|
|
5174
5616
|
*/
|
|
5175
5617
|
class DbxPopoverActionButtonDirective extends DbxActionButtonDirective {
|
|
5176
|
-
constructor(button, source,
|
|
5177
|
-
super(button, source,
|
|
5618
|
+
constructor(button, source, cdRef, appPopoverActionDirective) {
|
|
5619
|
+
super(button, source, cdRef);
|
|
5178
5620
|
this.appPopoverActionDirective = appPopoverActionDirective;
|
|
5179
5621
|
}
|
|
5180
5622
|
_buttonClicked() {
|
|
5181
5623
|
this.appPopoverActionDirective.showPopover();
|
|
5182
5624
|
}
|
|
5183
5625
|
}
|
|
5184
|
-
DbxPopoverActionButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5185
|
-
DbxPopoverActionButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5626
|
+
DbxPopoverActionButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverActionButtonDirective, deps: [{ token: i1$2.DbxButtonDirective, host: true }, { token: i1$2.DbxActionContextStoreSourceInstance }, { token: i0.ChangeDetectorRef }, { token: DbxPopoverActionDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5627
|
+
DbxPopoverActionButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverActionButtonDirective, selector: "[dbxPopoverActionButton]", usesInheritance: true, ngImport: i0 });
|
|
5628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverActionButtonDirective, decorators: [{
|
|
5187
5629
|
type: Directive,
|
|
5188
5630
|
args: [{
|
|
5189
5631
|
selector: '[dbxPopoverActionButton]'
|
|
5190
5632
|
}]
|
|
5191
|
-
}], ctorParameters: function () { return [{ type: i1.DbxButtonDirective, decorators: [{
|
|
5633
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxButtonDirective, decorators: [{
|
|
5192
5634
|
type: Host
|
|
5193
|
-
}] }, { type: i1.
|
|
5635
|
+
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }, { type: i0.ChangeDetectorRef }, { type: DbxPopoverActionDirective }]; } });
|
|
5194
5636
|
|
|
5195
5637
|
class DbxKeypressModule {
|
|
5196
5638
|
}
|
|
5197
|
-
DbxKeypressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5198
|
-
DbxKeypressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
5199
|
-
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
5639
|
+
DbxKeypressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5640
|
+
DbxKeypressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, declarations: [DbxWindowKeyDownListenerDirective], imports: [CommonModule], exports: [DbxWindowKeyDownListenerDirective] });
|
|
5641
|
+
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, imports: [[
|
|
5200
5642
|
CommonModule
|
|
5201
5643
|
]] });
|
|
5202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, decorators: [{
|
|
5203
5645
|
type: NgModule,
|
|
5204
5646
|
args: [{
|
|
5205
5647
|
imports: [
|
|
@@ -5233,14 +5675,14 @@ class DbxActionKeyTriggerDirective {
|
|
|
5233
5675
|
}
|
|
5234
5676
|
}
|
|
5235
5677
|
}
|
|
5236
|
-
DbxActionKeyTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5237
|
-
DbxActionKeyTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5678
|
+
DbxActionKeyTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionKeyTriggerDirective, deps: [{ token: i1$2.DbxActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5679
|
+
DbxActionKeyTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionKeyTriggerDirective, selector: "[dbxActionKeyTrigger]", inputs: { inputKey: ["dbxActionKeyTrigger", "inputKey"] }, host: { listeners: { "document:keyup": "onKeyupHandler($event)" } }, ngImport: i0 });
|
|
5680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionKeyTriggerDirective, decorators: [{
|
|
5239
5681
|
type: Directive,
|
|
5240
5682
|
args: [{
|
|
5241
5683
|
selector: '[dbxActionKeyTrigger]',
|
|
5242
5684
|
}]
|
|
5243
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
5685
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
5244
5686
|
type: Host
|
|
5245
5687
|
}] }]; }, propDecorators: { inputKey: [{
|
|
5246
5688
|
type: Input,
|
|
@@ -5250,98 +5692,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5250
5692
|
args: ['document:keyup', ['$event']]
|
|
5251
5693
|
}] } });
|
|
5252
5694
|
|
|
5253
|
-
/**
|
|
5254
|
-
* Component for a snackbar that contains an action.
|
|
5255
|
-
*/
|
|
5256
|
-
class DbxActionSnackbarComponent {
|
|
5257
|
-
constructor(snackbar, data) {
|
|
5258
|
-
this.snackbar = snackbar;
|
|
5259
|
-
this.data = data;
|
|
5260
|
-
this.complete$ = this.actionSourceInstance.isSuccess$;
|
|
5261
|
-
this.snackbarStatusClass$ = this.actionSourceInstance.actionState$.pipe(map$1((x) => {
|
|
5262
|
-
let classes = 'dbx-action-snackbar-';
|
|
5263
|
-
switch (x) {
|
|
5264
|
-
case ActionState.Rejected:
|
|
5265
|
-
classes += 'error';
|
|
5266
|
-
break;
|
|
5267
|
-
case ActionState.Success:
|
|
5268
|
-
classes += 'success';
|
|
5269
|
-
break;
|
|
5270
|
-
default:
|
|
5271
|
-
classes += 'idle';
|
|
5272
|
-
break;
|
|
5273
|
-
}
|
|
5274
|
-
return classes;
|
|
5275
|
-
}), distinctUntilChanged(), shareReplay(1));
|
|
5276
|
-
this.dismissEarly = () => {
|
|
5277
|
-
this.snackbar._dismissAfter(ms('3s'));
|
|
5278
|
-
};
|
|
5279
|
-
this.dismiss = () => {
|
|
5280
|
-
this.snackbar.dismiss();
|
|
5281
|
-
};
|
|
5282
|
-
if (!data.actionSource) {
|
|
5283
|
-
throw new Error('No action was provided to ActionSnackbar.');
|
|
5284
|
-
}
|
|
5285
|
-
}
|
|
5286
|
-
get message() {
|
|
5287
|
-
return this.data.message;
|
|
5288
|
-
}
|
|
5289
|
-
get action() {
|
|
5290
|
-
return this.data.action;
|
|
5291
|
-
}
|
|
5292
|
-
get actionSourceInstance() {
|
|
5293
|
-
return this.data.actionSource;
|
|
5294
|
-
}
|
|
5295
|
-
}
|
|
5296
|
-
DbxActionSnackbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxActionSnackbarComponent, deps: [{ token: i1$c.MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
5297
|
-
DbxActionSnackbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: DbxActionSnackbarComponent, selector: "ng-component", ngImport: i0, template: `
|
|
5298
|
-
<div class="dbx-action-snackbar" [ngClass]="(snackbarStatusClass$ | async)!">
|
|
5299
|
-
<ng-container [ngSwitch]="complete$ | async">
|
|
5300
|
-
<ng-container *ngSwitchCase="true">
|
|
5301
|
-
<div class="spacer"></div>
|
|
5302
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="done" text="Success"></dbx-button>
|
|
5303
|
-
</ng-container>
|
|
5304
|
-
<ng-container *ngSwitchCase="false">
|
|
5305
|
-
<span>{{ message }}</span>
|
|
5306
|
-
<div class="spacer"></div>
|
|
5307
|
-
<dbx-action dbxActionValue [dbxActionSource]="actionSourceInstance" [dbxActionSuccess]="dismissEarly">
|
|
5308
|
-
<dbx-button dbxActionButton color="warn" [text]="action"></dbx-button>
|
|
5309
|
-
</dbx-action>
|
|
5310
|
-
<dbx-button-spacer></dbx-button-spacer>
|
|
5311
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="close"></dbx-button>
|
|
5312
|
-
</ng-container>
|
|
5313
|
-
</ng-container>
|
|
5314
|
-
</div>
|
|
5315
|
-
`, isInline: true, components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }, { type: DbxButtonSpacerComponent, selector: "dbx-button-spacer" }], directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.DbxActionDirective, selector: "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", exportAs: ["action"] }, { type: i1.DbxActionValueDirective, selector: "[dbxActionValue]", inputs: ["dbxActionValue"] }, { type: i1.DbxActionSourceDirective, selector: "[dbxActionSource]", inputs: ["dbxActionSource"] }, { type: i1.DbxActionSuccessDirective, selector: "[dbxActionSuccess]", inputs: ["dbxActionSuccess"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
5317
|
-
type: Component,
|
|
5318
|
-
args: [{
|
|
5319
|
-
template: `
|
|
5320
|
-
<div class="dbx-action-snackbar" [ngClass]="(snackbarStatusClass$ | async)!">
|
|
5321
|
-
<ng-container [ngSwitch]="complete$ | async">
|
|
5322
|
-
<ng-container *ngSwitchCase="true">
|
|
5323
|
-
<div class="spacer"></div>
|
|
5324
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="done" text="Success"></dbx-button>
|
|
5325
|
-
</ng-container>
|
|
5326
|
-
<ng-container *ngSwitchCase="false">
|
|
5327
|
-
<span>{{ message }}</span>
|
|
5328
|
-
<div class="spacer"></div>
|
|
5329
|
-
<dbx-action dbxActionValue [dbxActionSource]="actionSourceInstance" [dbxActionSuccess]="dismissEarly">
|
|
5330
|
-
<dbx-button dbxActionButton color="warn" [text]="action"></dbx-button>
|
|
5331
|
-
</dbx-action>
|
|
5332
|
-
<dbx-button-spacer></dbx-button-spacer>
|
|
5333
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="close"></dbx-button>
|
|
5334
|
-
</ng-container>
|
|
5335
|
-
</ng-container>
|
|
5336
|
-
</div>
|
|
5337
|
-
`,
|
|
5338
|
-
// TODO: styleUrls: ['./action.scss']
|
|
5339
|
-
}]
|
|
5340
|
-
}], ctorParameters: function () { return [{ type: i1$c.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
5341
|
-
type: Inject,
|
|
5342
|
-
args: [MAT_SNACK_BAR_DATA]
|
|
5343
|
-
}] }]; } });
|
|
5344
|
-
|
|
5345
5695
|
class DbxPromptConfirm {
|
|
5346
5696
|
}
|
|
5347
5697
|
function ProvideDbxPromptConfirm(sourceType) {
|
|
@@ -5356,8 +5706,8 @@ function ProvideDbxPromptConfirm(sourceType) {
|
|
|
5356
5706
|
*/
|
|
5357
5707
|
class DbxPromptComponent {
|
|
5358
5708
|
}
|
|
5359
|
-
DbxPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5360
|
-
DbxPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5709
|
+
DbxPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5710
|
+
DbxPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptComponent, selector: "dbx-prompt", inputs: { header: "header", prompt: "prompt" }, ngImport: i0, template: `
|
|
5361
5711
|
<div class="dbx-prompt">
|
|
5362
5712
|
<ng-content select="[hero]"></ng-content>
|
|
5363
5713
|
<dbx-subsection [header]="header" [hint]="prompt">
|
|
@@ -5365,7 +5715,7 @@ DbxPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5365
5715
|
</dbx-subsection>
|
|
5366
5716
|
</div>
|
|
5367
5717
|
`, isInline: true, components: [{ type: DbxSubSectionComponent, selector: "dbx-subsection" }] });
|
|
5368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptComponent, decorators: [{
|
|
5369
5719
|
type: Component,
|
|
5370
5720
|
args: [{
|
|
5371
5721
|
selector: 'dbx-prompt',
|
|
@@ -5417,9 +5767,9 @@ class DbxPromptConfirmComponent {
|
|
|
5417
5767
|
this.cancel.emit();
|
|
5418
5768
|
}
|
|
5419
5769
|
}
|
|
5420
|
-
DbxPromptConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5421
|
-
DbxPromptConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5770
|
+
DbxPromptConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5771
|
+
DbxPromptConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: { config: "config" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<dbx-prompt [header]=\"config.title\" [prompt]=\"config.prompt\">\n <ng-content></ng-content>\n <button mat-stroked-button (click)=\"onConfirm()\">{{ config.confirmText || 'Confirm' }}</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-stroked-button color=\"warn\" (click)=\"onCancel()\">{{ config.cancelText || 'Cancel' }}</button>\n</dbx-prompt>\n", components: [{ type: DbxPromptComponent, selector: "dbx-prompt", inputs: ["header", "prompt"] }, { type: i2.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: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
5772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmComponent, decorators: [{
|
|
5423
5773
|
type: Component,
|
|
5424
5774
|
args: [{ selector: 'dbx-prompt-confirm', template: "<dbx-prompt [header]=\"config.title\" [prompt]=\"config.prompt\">\n <ng-content></ng-content>\n <button mat-stroked-button (click)=\"onConfirm()\">{{ config.confirmText || 'Confirm' }}</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-stroked-button color=\"warn\" (click)=\"onCancel()\">{{ config.cancelText || 'Cancel' }}</button>\n</dbx-prompt>\n" }]
|
|
5425
5775
|
}], propDecorators: { confirm: [{
|
|
@@ -5454,15 +5804,15 @@ class DbxPromptConfirmDialogComponent extends AbstractDialogDirective {
|
|
|
5454
5804
|
this.close(false);
|
|
5455
5805
|
}
|
|
5456
5806
|
}
|
|
5457
|
-
DbxPromptConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5458
|
-
DbxPromptConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5807
|
+
DbxPromptConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5808
|
+
DbxPromptConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptConfirmDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
5459
5809
|
<dbx-dialog-content>
|
|
5460
5810
|
<dbx-prompt-confirm [config]="config" (confirm)="confirm()" (cancel)="cancel()">
|
|
5461
5811
|
<dbx-injected-content [config]="injectedConfig"></dbx-injected-content>
|
|
5462
5812
|
</dbx-prompt-confirm>
|
|
5463
5813
|
</dbx-dialog-content>
|
|
5464
|
-
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: i1.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: DbxDialogContentDirective, selector: "dbx-dialog-content,.dbx-dialog-content", inputs: ["width"] }] });
|
|
5465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5814
|
+
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }], directives: [{ type: DbxDialogContentDirective, selector: "dbx-dialog-content,.dbx-dialog-content", inputs: ["width"] }] });
|
|
5815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDialogComponent, decorators: [{
|
|
5466
5816
|
type: Component,
|
|
5467
5817
|
args: [{
|
|
5468
5818
|
template: `
|
|
@@ -5500,11 +5850,11 @@ class AbstractPromptConfirmDirective {
|
|
|
5500
5850
|
return result;
|
|
5501
5851
|
}
|
|
5502
5852
|
}
|
|
5503
|
-
AbstractPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5504
|
-
AbstractPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5853
|
+
AbstractPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPromptConfirmDirective, deps: [{ token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5854
|
+
AbstractPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPromptConfirmDirective, ngImport: i0 });
|
|
5855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPromptConfirmDirective, decorators: [{
|
|
5506
5856
|
type: Directive
|
|
5507
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5857
|
+
}], ctorParameters: function () { return [{ type: i1$3.MatDialog }]; } });
|
|
5508
5858
|
// MARK: Directive
|
|
5509
5859
|
/**
|
|
5510
5860
|
* Directive that shows a confirmation screen.
|
|
@@ -5514,15 +5864,15 @@ class DbxPromptConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
5514
5864
|
super(dialog);
|
|
5515
5865
|
}
|
|
5516
5866
|
}
|
|
5517
|
-
DbxPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5518
|
-
DbxPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5867
|
+
DbxPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDirective, deps: [{ token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5868
|
+
DbxPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptConfirmDirective, selector: "[dbxPromptConfirm]", inputs: { config: ["dbxPromptConfirm", "config"] }, providers: ProvideDbxPromptConfirm(DbxPromptConfirmDirective), usesInheritance: true, ngImport: i0 });
|
|
5869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDirective, decorators: [{
|
|
5520
5870
|
type: Directive,
|
|
5521
5871
|
args: [{
|
|
5522
5872
|
selector: '[dbxPromptConfirm]',
|
|
5523
5873
|
providers: ProvideDbxPromptConfirm(DbxPromptConfirmDirective)
|
|
5524
5874
|
}]
|
|
5525
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5875
|
+
}], ctorParameters: function () { return [{ type: i1$3.MatDialog }]; }, propDecorators: { config: [{
|
|
5526
5876
|
type: Input,
|
|
5527
5877
|
args: ['dbxPromptConfirm']
|
|
5528
5878
|
}] } });
|
|
@@ -5549,7 +5899,7 @@ class DbxActionConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
5549
5899
|
}
|
|
5550
5900
|
_handleDialogResult(result) {
|
|
5551
5901
|
if (result) {
|
|
5552
|
-
this.source.readyValue(
|
|
5902
|
+
this.source.readyValue(this.config?.readyValue);
|
|
5553
5903
|
}
|
|
5554
5904
|
else {
|
|
5555
5905
|
this.source.reject(undefined);
|
|
@@ -5557,16 +5907,16 @@ class DbxActionConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
5557
5907
|
return result;
|
|
5558
5908
|
}
|
|
5559
5909
|
}
|
|
5560
|
-
DbxActionConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5561
|
-
DbxActionConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5910
|
+
DbxActionConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionConfirmDirective, deps: [{ token: i1$2.DbxActionContextStoreSourceInstance, host: true }, { token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5911
|
+
DbxActionConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionConfirmDirective, selector: "[dbxActionConfirm]", inputs: { config: ["dbxActionConfirm", "config"] }, usesInheritance: true, ngImport: i0 });
|
|
5912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionConfirmDirective, decorators: [{
|
|
5563
5913
|
type: Directive,
|
|
5564
5914
|
args: [{
|
|
5565
5915
|
selector: '[dbxActionConfirm]'
|
|
5566
5916
|
}]
|
|
5567
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
5917
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
5568
5918
|
type: Host
|
|
5569
|
-
}] }, { type: i1$
|
|
5919
|
+
}] }, { type: i1$3.MatDialog }]; }, propDecorators: { config: [{
|
|
5570
5920
|
type: Input,
|
|
5571
5921
|
args: ['dbxActionConfirm']
|
|
5572
5922
|
}] } });
|
|
@@ -5576,9 +5926,9 @@ class DbxPromptBoxComponent {
|
|
|
5576
5926
|
this.elevated = true;
|
|
5577
5927
|
}
|
|
5578
5928
|
}
|
|
5579
|
-
DbxPromptBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5580
|
-
DbxPromptBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5929
|
+
DbxPromptBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5930
|
+
DbxPromptBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptBoxComponent, selector: "dbx-prompt-box", inputs: { elevated: "elevated" }, host: { properties: { "class.elevated": "elevated" }, classAttribute: "d-block dbx-prompt-box" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
5931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptBoxComponent, decorators: [{
|
|
5582
5932
|
type: Component,
|
|
5583
5933
|
args: [{
|
|
5584
5934
|
selector: 'dbx-prompt-box',
|
|
@@ -5594,15 +5944,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5594
5944
|
|
|
5595
5945
|
class DbxPromptPageComponent {
|
|
5596
5946
|
}
|
|
5597
|
-
DbxPromptPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5598
|
-
DbxPromptPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5947
|
+
DbxPromptPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5948
|
+
DbxPromptPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptPageComponent, selector: "dbx-prompt-page", host: { classAttribute: "d-block dbx-prompt-page" }, ngImport: i0, template: `
|
|
5599
5949
|
<dbx-content-container width="full">
|
|
5600
5950
|
<div class="dbx-prompt-page-content-wrap">
|
|
5601
5951
|
<ng-content></ng-content>
|
|
5602
5952
|
</div>
|
|
5603
5953
|
</dbx-content-container>
|
|
5604
5954
|
`, isInline: true, directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[dbx-content-container],.dbx-content-container", inputs: ["grow", "padding"] }] });
|
|
5605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptPageComponent, decorators: [{
|
|
5606
5956
|
type: Component,
|
|
5607
5957
|
args: [{
|
|
5608
5958
|
selector: 'dbx-prompt-page',
|
|
@@ -5627,21 +5977,21 @@ class DbxPromptConfirmButtonDirective {
|
|
|
5627
5977
|
this.appButton = appButton;
|
|
5628
5978
|
this.prompt = prompt;
|
|
5629
5979
|
this.interceptButtonClick = () => {
|
|
5630
|
-
return this.prompt.showDialog().pipe(map
|
|
5980
|
+
return this.prompt.showDialog().pipe(map(x => Boolean(x)));
|
|
5631
5981
|
};
|
|
5632
5982
|
}
|
|
5633
5983
|
ngOnInit() {
|
|
5634
5984
|
this.appButton.setButtonInterceptor(this);
|
|
5635
5985
|
}
|
|
5636
5986
|
}
|
|
5637
|
-
DbxPromptConfirmButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5638
|
-
DbxPromptConfirmButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5987
|
+
DbxPromptConfirmButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmButtonDirective, deps: [{ token: i1$2.DbxButtonDirective, host: true }, { token: DbxPromptConfirm, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5988
|
+
DbxPromptConfirmButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptConfirmButtonDirective, selector: "[dbxPromptConfirmButton]", ngImport: i0 });
|
|
5989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmButtonDirective, decorators: [{
|
|
5640
5990
|
type: Directive,
|
|
5641
5991
|
args: [{
|
|
5642
5992
|
selector: '[dbxPromptConfirmButton]',
|
|
5643
5993
|
}]
|
|
5644
|
-
}], ctorParameters: function () { return [{ type: i1.DbxButtonDirective, decorators: [{
|
|
5994
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxButtonDirective, decorators: [{
|
|
5645
5995
|
type: Host
|
|
5646
5996
|
}] }, { type: DbxPromptConfirm, decorators: [{
|
|
5647
5997
|
type: Host
|
|
@@ -5649,8 +5999,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5649
5999
|
|
|
5650
6000
|
class DbxPromptModule {
|
|
5651
6001
|
}
|
|
5652
|
-
DbxPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5653
|
-
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6002
|
+
DbxPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6003
|
+
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, declarations: [DbxPromptComponent,
|
|
5654
6004
|
DbxPromptBoxComponent,
|
|
5655
6005
|
DbxPromptPageComponent,
|
|
5656
6006
|
DbxPromptConfirmComponent,
|
|
@@ -5670,7 +6020,7 @@ DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
5670
6020
|
DbxPromptConfirmComponent,
|
|
5671
6021
|
DbxPromptConfirmButtonDirective,
|
|
5672
6022
|
DbxPromptConfirmDirective] });
|
|
5673
|
-
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6023
|
+
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, imports: [[
|
|
5674
6024
|
CommonModule,
|
|
5675
6025
|
MatDialogModule,
|
|
5676
6026
|
MatButtonModule,
|
|
@@ -5681,7 +6031,7 @@ DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
5681
6031
|
DbxSectionLayoutModule,
|
|
5682
6032
|
DbxContentLayoutModule
|
|
5683
6033
|
]] });
|
|
5684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, decorators: [{
|
|
5685
6035
|
type: NgModule,
|
|
5686
6036
|
args: [{
|
|
5687
6037
|
imports: [
|
|
@@ -5717,9 +6067,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5717
6067
|
|
|
5718
6068
|
class DbxActionModule {
|
|
5719
6069
|
}
|
|
5720
|
-
DbxActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5721
|
-
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
5722
|
-
DbxActionSnackbarComponent,
|
|
6070
|
+
DbxActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6071
|
+
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, declarations: [DbxActionKeyTriggerDirective,
|
|
5723
6072
|
DbxActionConfirmDirective], imports: [CommonModule,
|
|
5724
6073
|
DbxCoreActionModule,
|
|
5725
6074
|
DbxButtonModule,
|
|
@@ -5728,9 +6077,8 @@ DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
5728
6077
|
MatButtonModule,
|
|
5729
6078
|
DbxPromptModule], exports: [DbxCoreActionModule,
|
|
5730
6079
|
DbxActionKeyTriggerDirective,
|
|
5731
|
-
DbxActionSnackbarComponent,
|
|
5732
6080
|
DbxActionConfirmDirective] });
|
|
5733
|
-
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6081
|
+
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, imports: [[
|
|
5734
6082
|
CommonModule,
|
|
5735
6083
|
DbxCoreActionModule,
|
|
5736
6084
|
DbxButtonModule,
|
|
@@ -5739,7 +6087,7 @@ DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
5739
6087
|
MatButtonModule,
|
|
5740
6088
|
DbxPromptModule,
|
|
5741
6089
|
], DbxCoreActionModule] });
|
|
5742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, decorators: [{
|
|
5743
6091
|
type: NgModule,
|
|
5744
6092
|
args: [{
|
|
5745
6093
|
imports: [
|
|
@@ -5753,13 +6101,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5753
6101
|
],
|
|
5754
6102
|
declarations: [
|
|
5755
6103
|
DbxActionKeyTriggerDirective,
|
|
5756
|
-
DbxActionSnackbarComponent,
|
|
5757
6104
|
DbxActionConfirmDirective,
|
|
5758
6105
|
],
|
|
5759
6106
|
exports: [
|
|
5760
6107
|
DbxCoreActionModule,
|
|
5761
6108
|
DbxActionKeyTriggerDirective,
|
|
5762
|
-
DbxActionSnackbarComponent,
|
|
5763
6109
|
DbxActionConfirmDirective,
|
|
5764
6110
|
]
|
|
5765
6111
|
}]
|
|
@@ -5775,8 +6121,8 @@ class DbxPopoverInteractionModule {
|
|
|
5775
6121
|
};
|
|
5776
6122
|
}
|
|
5777
6123
|
}
|
|
5778
|
-
DbxPopoverInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5779
|
-
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6124
|
+
DbxPopoverInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6125
|
+
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxPopoverActionButtonDirective,
|
|
5780
6126
|
DbxPopoverActionDirective,
|
|
5781
6127
|
DbxPopoverComponent,
|
|
5782
6128
|
DbxPopoverCoordinatorComponent,
|
|
@@ -5800,7 +6146,7 @@ DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0
|
|
|
5800
6146
|
DbxPopoverControlsDirective,
|
|
5801
6147
|
DbxPopoverHeaderComponent,
|
|
5802
6148
|
DbxPopoverScrollContentComponent] });
|
|
5803
|
-
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6149
|
+
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, providers: [
|
|
5804
6150
|
DbxPopoverService
|
|
5805
6151
|
], imports: [[
|
|
5806
6152
|
CommonModule,
|
|
@@ -5816,7 +6162,7 @@ DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0
|
|
|
5816
6162
|
NgOverlayContainerModule,
|
|
5817
6163
|
AngularResizeEventModule
|
|
5818
6164
|
]] });
|
|
5819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, decorators: [{
|
|
5820
6166
|
type: NgModule,
|
|
5821
6167
|
args: [{
|
|
5822
6168
|
imports: [
|
|
@@ -5872,9 +6218,9 @@ class DbxFilterWrapperComponent {
|
|
|
5872
6218
|
this.resetFilter.emit();
|
|
5873
6219
|
}
|
|
5874
6220
|
}
|
|
5875
|
-
DbxFilterWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5876
|
-
DbxFilterWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6221
|
+
DbxFilterWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6222
|
+
DbxFilterWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterWrapperComponent, selector: "dbx-filter-wrapper", inputs: { modified: "modified" }, outputs: { applyFilter: "applyFilter", resetFilter: "resetFilter" }, ngImport: i0, template: "<div class=\"dbx-filter-wrapper\">\n <div class=\"dbx-filter-wrapper-content\">\n <ng-content></ng-content>\n </div>\n <div fxLayout=\"row\">\n <button mat-raised-button (click)=\"filterClicked()\">Apply Filter</button>\n <div class=\"spacer\"></div>\n <button mat-icon-button (click)=\"resetClicked()\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n</div>\n", components: [{ type: i2.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"] }, { type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }] });
|
|
6223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterWrapperComponent, decorators: [{
|
|
5878
6224
|
type: Component,
|
|
5879
6225
|
args: [{ selector: 'dbx-filter-wrapper', template: "<div class=\"dbx-filter-wrapper\">\n <div class=\"dbx-filter-wrapper-content\">\n <ng-content></ng-content>\n </div>\n <div fxLayout=\"row\">\n <button mat-raised-button (click)=\"filterClicked()\">Apply Filter</button>\n <div class=\"spacer\"></div>\n <button mat-icon-button (click)=\"resetClicked()\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n</div>\n" }]
|
|
5880
6226
|
}], propDecorators: { modified: [{
|
|
@@ -5887,8 +6233,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5887
6233
|
|
|
5888
6234
|
class DbxFilterInteractionModule {
|
|
5889
6235
|
}
|
|
5890
|
-
DbxFilterInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5891
|
-
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6236
|
+
DbxFilterInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6237
|
+
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxFilterPopoverComponent,
|
|
5892
6238
|
DbxFilterPopoverButtonComponent,
|
|
5893
6239
|
DbxFilterWrapperComponent], imports: [CommonModule,
|
|
5894
6240
|
DbxPopoverInteractionModule,
|
|
@@ -5900,7 +6246,7 @@ DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.
|
|
|
5900
6246
|
MatButtonModule], exports: [DbxCoreFilterModule,
|
|
5901
6247
|
DbxFilterPopoverButtonComponent,
|
|
5902
6248
|
DbxFilterWrapperComponent] });
|
|
5903
|
-
DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6249
|
+
DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, imports: [[
|
|
5904
6250
|
CommonModule,
|
|
5905
6251
|
DbxPopoverInteractionModule,
|
|
5906
6252
|
DbxCoreFilterModule,
|
|
@@ -5910,7 +6256,7 @@ DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
5910
6256
|
MatIconModule,
|
|
5911
6257
|
MatButtonModule
|
|
5912
6258
|
], DbxCoreFilterModule] });
|
|
5913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, decorators: [{
|
|
5914
6260
|
type: NgModule,
|
|
5915
6261
|
args: [{
|
|
5916
6262
|
imports: [
|
|
@@ -6016,9 +6362,9 @@ class DbxPopupCoordinatorService {
|
|
|
6016
6362
|
}
|
|
6017
6363
|
}
|
|
6018
6364
|
}
|
|
6019
|
-
DbxPopupCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6020
|
-
DbxPopupCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
6021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6365
|
+
DbxPopupCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6366
|
+
DbxPopupCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorService });
|
|
6367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorService, decorators: [{
|
|
6022
6368
|
type: Injectable
|
|
6023
6369
|
}], ctorParameters: function () { return []; } });
|
|
6024
6370
|
|
|
@@ -6029,7 +6375,7 @@ class DbxPopupCoordinatorComponent {
|
|
|
6029
6375
|
constructor(service, popup) {
|
|
6030
6376
|
this.service = service;
|
|
6031
6377
|
this.popup = popup;
|
|
6032
|
-
this.isPopupForKey$ = this.service.popups$.pipe(map
|
|
6378
|
+
this.isPopupForKey$ = this.service.popups$.pipe(map(x => x.get(this.popup.key) === this.popup), shareReplay$1(1));
|
|
6033
6379
|
this.show$ = this.isPopupForKey$.pipe(delay$1(0));
|
|
6034
6380
|
}
|
|
6035
6381
|
ngOnInit() {
|
|
@@ -6039,13 +6385,13 @@ class DbxPopupCoordinatorComponent {
|
|
|
6039
6385
|
this.service.removePopup(this.popup.key, this.popup);
|
|
6040
6386
|
}
|
|
6041
6387
|
}
|
|
6042
|
-
DbxPopupCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6043
|
-
DbxPopupCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6388
|
+
DbxPopupCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorComponent, deps: [{ token: DbxPopupCoordinatorService }, { token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
6389
|
+
DbxPopupCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator", ngImport: i0, template: `
|
|
6044
6390
|
<ng-container *ngIf="show$ | async">
|
|
6045
6391
|
<ng-content></ng-content>
|
|
6046
6392
|
</ng-container>
|
|
6047
|
-
`, isInline: true, directives: [{ type: i3
|
|
6048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6393
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
6394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorComponent, decorators: [{
|
|
6049
6395
|
type: Component,
|
|
6050
6396
|
args: [{
|
|
6051
6397
|
selector: 'dbx-popup-coordinator',
|
|
@@ -6075,8 +6421,8 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
6075
6421
|
init: this.config.init ? ((instance) => this.config.init(instance, this)) : undefined
|
|
6076
6422
|
};
|
|
6077
6423
|
this.closing = new Subject();
|
|
6078
|
-
this.isClosing$ = this.closing.pipe(first$1(), map
|
|
6079
|
-
this.closing$ = this.isClosing$.pipe(filter
|
|
6424
|
+
this.isClosing$ = this.closing.pipe(first$1(), map(x => true), startWith$1(false), shareReplay$1(1));
|
|
6425
|
+
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
6080
6426
|
this._windowState = new BehaviorSubject(DbxPopupWindowState.NORMAL);
|
|
6081
6427
|
this.windowState$ = this._windowState.asObservable();
|
|
6082
6428
|
this.compactContextState.setMode(CompactMode.COMPACT);
|
|
@@ -6139,8 +6485,8 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
6139
6485
|
this._windowState.next(DbxPopupWindowState.FULLSCREEN);
|
|
6140
6486
|
}
|
|
6141
6487
|
}
|
|
6142
|
-
DbxPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6143
|
-
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6488
|
+
DbxPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupComponent, deps: [{ token: i1$c.NgPopoverRef }, { token: CompactContextStore }, { token: i1$2.DbxRouterTransitionService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
6489
|
+
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupComponent, selector: "ng-component", providers: [{
|
|
6144
6490
|
provide: DbxPopupController,
|
|
6145
6491
|
useExisting: DbxPopupComponent
|
|
6146
6492
|
}, {
|
|
@@ -6149,8 +6495,8 @@ DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
6149
6495
|
<dbx-popup-coordinator>
|
|
6150
6496
|
<div class="dbx-popup-component" dbx-injected-content [config]="contentConfig"></div>
|
|
6151
6497
|
</dbx-popup-coordinator>
|
|
6152
|
-
`, isInline: true, components: [{ type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator" }, { type: i1.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }] });
|
|
6153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6498
|
+
`, isInline: true, components: [{ type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator" }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }] });
|
|
6499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupComponent, decorators: [{
|
|
6154
6500
|
type: Component,
|
|
6155
6501
|
args: [{
|
|
6156
6502
|
template: `
|
|
@@ -6165,7 +6511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6165
6511
|
provide: CompactContextStore
|
|
6166
6512
|
}]
|
|
6167
6513
|
}]
|
|
6168
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6514
|
+
}], ctorParameters: function () { return [{ type: i1$c.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
6169
6515
|
|
|
6170
6516
|
/**
|
|
6171
6517
|
* Abstract popup directive.
|
|
@@ -6178,9 +6524,9 @@ class AbstractPopupDirective {
|
|
|
6178
6524
|
this.popup.close();
|
|
6179
6525
|
}
|
|
6180
6526
|
}
|
|
6181
|
-
AbstractPopupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6182
|
-
AbstractPopupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
6183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6527
|
+
AbstractPopupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopupDirective, deps: [{ token: DbxPopupComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6528
|
+
AbstractPopupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopupDirective, ngImport: i0 });
|
|
6529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopupDirective, decorators: [{
|
|
6184
6530
|
type: Directive
|
|
6185
6531
|
}], ctorParameters: function () { return [{ type: DbxPopupComponent }]; } });
|
|
6186
6532
|
|
|
@@ -6190,17 +6536,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6190
6536
|
class DbxPopupContentComponent {
|
|
6191
6537
|
constructor(appPopupController) {
|
|
6192
6538
|
this.appPopupController = appPopupController;
|
|
6193
|
-
this.showContent$ = this.appPopupController.windowState$.pipe(map
|
|
6539
|
+
this.showContent$ = this.appPopupController.windowState$.pipe(map(x => x !== DbxPopupWindowState.MINIMIZED));
|
|
6194
6540
|
}
|
|
6195
6541
|
}
|
|
6196
|
-
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6197
|
-
DbxPopupContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6542
|
+
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupContentComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
6543
|
+
DbxPopupContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupContentComponent, selector: "dbx-popup-content", host: { classAttribute: "dbx-popup-content" }, ngImport: i0, template: `
|
|
6198
6544
|
<ng-content select="[controls]"></ng-content>
|
|
6199
6545
|
<div *ngIf="showContent$ | async" class="dbx-popup-content-container">
|
|
6200
6546
|
<ng-content></ng-content>
|
|
6201
6547
|
</div>
|
|
6202
|
-
`, isInline: true, directives: [{ type: i3
|
|
6203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6548
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
6549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupContentComponent, decorators: [{
|
|
6204
6550
|
type: Component,
|
|
6205
6551
|
args: [{
|
|
6206
6552
|
selector: 'dbx-popup-content',
|
|
@@ -6222,8 +6568,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6222
6568
|
class DbxPopupControlButtonsComponent {
|
|
6223
6569
|
constructor(appPopupController) {
|
|
6224
6570
|
this.appPopupController = appPopupController;
|
|
6225
|
-
this.isMinimized$ = this.appPopupController.windowState$.pipe(map
|
|
6226
|
-
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map
|
|
6571
|
+
this.isMinimized$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.MINIMIZED));
|
|
6572
|
+
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.FULLSCREEN));
|
|
6227
6573
|
}
|
|
6228
6574
|
minimizeClicked() {
|
|
6229
6575
|
this.appPopupController.minimize();
|
|
@@ -6241,8 +6587,8 @@ class DbxPopupControlButtonsComponent {
|
|
|
6241
6587
|
this.appPopupController.close();
|
|
6242
6588
|
}
|
|
6243
6589
|
}
|
|
6244
|
-
DbxPopupControlButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6245
|
-
DbxPopupControlButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6590
|
+
DbxPopupControlButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlButtonsComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
6591
|
+
DbxPopupControlButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupControlButtonsComponent, selector: "dbx-popup-control-buttons", host: { classAttribute: "dbx-popup-control-buttons" }, ngImport: i0, template: `
|
|
6246
6592
|
<ng-container [ngSwitch]="isMinimized$ | async">
|
|
6247
6593
|
<dbx-button [flat]="true" *ngSwitchCase="false" icon="minimize" (buttonClick)="minimizeClicked()"></dbx-button>
|
|
6248
6594
|
<dbx-button [flat]="true" *ngSwitchCase="true" icon="maximize" (buttonClick)="maximizeClicked()"></dbx-button>
|
|
@@ -6254,8 +6600,8 @@ DbxPopupControlButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
6254
6600
|
</ng-container>
|
|
6255
6601
|
<dbx-button-spacer></dbx-button-spacer>
|
|
6256
6602
|
<dbx-button [flat]="true" icon="close" color="warn" (buttonClick)="closeClicked()"></dbx-button>
|
|
6257
|
-
`, isInline: true, components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }
|
|
6258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6603
|
+
`, isInline: true, components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }], pipes: { "async": i3.AsyncPipe } });
|
|
6604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlButtonsComponent, decorators: [{
|
|
6259
6605
|
type: Component,
|
|
6260
6606
|
args: [{
|
|
6261
6607
|
selector: 'dbx-popup-control-buttons',
|
|
@@ -6283,13 +6629,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6283
6629
|
*/
|
|
6284
6630
|
class DbxPopupControlsComponent {
|
|
6285
6631
|
}
|
|
6286
|
-
DbxPopupControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6287
|
-
DbxPopupControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6632
|
+
DbxPopupControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6633
|
+
DbxPopupControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupControlsComponent, selector: "dbx-popup-controls", inputs: { header: "header" }, host: { classAttribute: "dbx-popup-controls" }, ngImport: i0, template: `
|
|
6288
6634
|
<span class="dbx-popup-controls-header">{{ header }}</span>
|
|
6289
6635
|
<div class="spacer"></div>
|
|
6290
6636
|
<dbx-popup-control-buttons></dbx-popup-control-buttons>
|
|
6291
6637
|
`, isInline: true, components: [{ type: DbxPopupControlButtonsComponent, selector: "dbx-popup-control-buttons" }] });
|
|
6292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlsComponent, decorators: [{
|
|
6293
6639
|
type: Component,
|
|
6294
6640
|
args: [{
|
|
6295
6641
|
selector: 'dbx-popup-controls',
|
|
@@ -6337,11 +6683,11 @@ class DbxPopupService {
|
|
|
6337
6683
|
});
|
|
6338
6684
|
}
|
|
6339
6685
|
}
|
|
6340
|
-
DbxPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6341
|
-
DbxPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
6342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6686
|
+
DbxPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupService, deps: [{ token: i1$d.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6687
|
+
DbxPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupService });
|
|
6688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupService, decorators: [{
|
|
6343
6689
|
type: Injectable
|
|
6344
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6690
|
+
}], ctorParameters: function () { return [{ type: i1$d.Overlay }, { type: i0.Injector }]; } });
|
|
6345
6691
|
|
|
6346
6692
|
class DbxPopupInteractionModule {
|
|
6347
6693
|
static forRoot() {
|
|
@@ -6353,8 +6699,8 @@ class DbxPopupInteractionModule {
|
|
|
6353
6699
|
};
|
|
6354
6700
|
}
|
|
6355
6701
|
}
|
|
6356
|
-
DbxPopupInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6357
|
-
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6702
|
+
DbxPopupInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6703
|
+
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, declarations: [DbxPopupComponent,
|
|
6358
6704
|
DbxPopupCoordinatorComponent,
|
|
6359
6705
|
DbxPopupContentComponent,
|
|
6360
6706
|
DbxPopupControlsComponent,
|
|
@@ -6369,7 +6715,7 @@ DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0
|
|
|
6369
6715
|
NgOverlayContainerModule], exports: [DbxPopupContentComponent,
|
|
6370
6716
|
DbxPopupControlsComponent,
|
|
6371
6717
|
DbxPopupControlButtonsComponent] });
|
|
6372
|
-
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6718
|
+
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, providers: [
|
|
6373
6719
|
DbxPopupService
|
|
6374
6720
|
], imports: [[
|
|
6375
6721
|
CommonModule,
|
|
@@ -6382,7 +6728,7 @@ DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
|
|
|
6382
6728
|
DbxInjectedComponentModule,
|
|
6383
6729
|
NgOverlayContainerModule,
|
|
6384
6730
|
]] });
|
|
6385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, decorators: [{
|
|
6386
6732
|
type: NgModule,
|
|
6387
6733
|
args: [{
|
|
6388
6734
|
imports: [
|
|
@@ -6416,18 +6762,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6416
6762
|
|
|
6417
6763
|
class DbxInteractionModule {
|
|
6418
6764
|
}
|
|
6419
|
-
DbxInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6420
|
-
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6765
|
+
DbxInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6766
|
+
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, exports: [DbxDialogInteractionModule,
|
|
6421
6767
|
DbxFilterInteractionModule,
|
|
6422
6768
|
DbxPromptModule,
|
|
6423
6769
|
DbxPopoverInteractionModule,
|
|
6424
6770
|
DbxPopupInteractionModule] });
|
|
6425
|
-
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6771
|
+
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, imports: [DbxDialogInteractionModule,
|
|
6426
6772
|
DbxFilterInteractionModule,
|
|
6427
6773
|
DbxPromptModule,
|
|
6428
6774
|
DbxPopoverInteractionModule,
|
|
6429
6775
|
DbxPopupInteractionModule] });
|
|
6430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, decorators: [{
|
|
6431
6777
|
type: NgModule,
|
|
6432
6778
|
args: [{
|
|
6433
6779
|
exports: [
|
|
@@ -6440,6 +6786,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6440
6786
|
}]
|
|
6441
6787
|
}] });
|
|
6442
6788
|
|
|
6789
|
+
class DbxActionSnackbarModule {
|
|
6790
|
+
}
|
|
6791
|
+
DbxActionSnackbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6792
|
+
DbxActionSnackbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, declarations: [DbxActionSnackbarComponent,
|
|
6793
|
+
DbxActionSnackbarDirective], imports: [CommonModule,
|
|
6794
|
+
DbxStyleLayoutModule,
|
|
6795
|
+
DbxCoreActionModule,
|
|
6796
|
+
DbxPromptModule,
|
|
6797
|
+
DbxButtonModule,
|
|
6798
|
+
DbxReadableErrorModule], exports: [DbxActionSnackbarComponent,
|
|
6799
|
+
DbxActionSnackbarDirective] });
|
|
6800
|
+
DbxActionSnackbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, imports: [[
|
|
6801
|
+
CommonModule,
|
|
6802
|
+
DbxStyleLayoutModule,
|
|
6803
|
+
DbxCoreActionModule,
|
|
6804
|
+
DbxPromptModule,
|
|
6805
|
+
DbxButtonModule,
|
|
6806
|
+
DbxReadableErrorModule
|
|
6807
|
+
]] });
|
|
6808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, decorators: [{
|
|
6809
|
+
type: NgModule,
|
|
6810
|
+
args: [{
|
|
6811
|
+
imports: [
|
|
6812
|
+
CommonModule,
|
|
6813
|
+
DbxStyleLayoutModule,
|
|
6814
|
+
DbxCoreActionModule,
|
|
6815
|
+
DbxPromptModule,
|
|
6816
|
+
DbxButtonModule,
|
|
6817
|
+
DbxReadableErrorModule
|
|
6818
|
+
],
|
|
6819
|
+
declarations: [
|
|
6820
|
+
DbxActionSnackbarComponent,
|
|
6821
|
+
DbxActionSnackbarDirective
|
|
6822
|
+
],
|
|
6823
|
+
exports: [
|
|
6824
|
+
DbxActionSnackbarComponent,
|
|
6825
|
+
DbxActionSnackbarDirective
|
|
6826
|
+
]
|
|
6827
|
+
}]
|
|
6828
|
+
}] });
|
|
6829
|
+
|
|
6443
6830
|
var DbxActionTransitionSafetyDialogResult;
|
|
6444
6831
|
(function (DbxActionTransitionSafetyDialogResult) {
|
|
6445
6832
|
DbxActionTransitionSafetyDialogResult[DbxActionTransitionSafetyDialogResult["SUCCESS"] = 0] = "SUCCESS";
|
|
@@ -6468,8 +6855,8 @@ class DbxActionUIRouterTransitionSafetyDialogComponent extends AbstractDialogDir
|
|
|
6468
6855
|
this.dialogRef.close(DbxActionTransitionSafetyDialogResult.DISCARD);
|
|
6469
6856
|
}
|
|
6470
6857
|
}
|
|
6471
|
-
DbxActionUIRouterTransitionSafetyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6472
|
-
DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6858
|
+
DbxActionUIRouterTransitionSafetyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionSafetyDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6859
|
+
DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionUIRouterTransitionSafetyDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
6473
6860
|
<dbx-prompt-confirm [config]="config" (confirm)="confirm()" (cancel)="cancel()">
|
|
6474
6861
|
<ng-container>
|
|
6475
6862
|
<dbx-error dbxActionError></dbx-error>
|
|
@@ -6477,8 +6864,8 @@ DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareCompone
|
|
|
6477
6864
|
<dbx-button-spacer></dbx-button-spacer>
|
|
6478
6865
|
</ng-container>
|
|
6479
6866
|
</dbx-prompt-confirm>
|
|
6480
|
-
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }, { type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }, { type:
|
|
6481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6867
|
+
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }, { type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }], directives: [{ type: DbxActionErrorDirective, selector: "[dbxActionError]" }, { type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
6868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionSafetyDialogComponent, decorators: [{
|
|
6482
6869
|
type: Component,
|
|
6483
6870
|
args: [{
|
|
6484
6871
|
template: `
|
|
@@ -6530,9 +6917,9 @@ class DbxActionTransitionSafetyDirective {
|
|
|
6530
6917
|
if (isModified) {
|
|
6531
6918
|
return race([
|
|
6532
6919
|
// Watch for success to occur. At that point, close everything.
|
|
6533
|
-
this.source.success$.pipe(first$1(), map
|
|
6534
|
-
this._handleIsModifiedState(transition).pipe(first$1(), map
|
|
6535
|
-
]).pipe(map
|
|
6920
|
+
this.source.success$.pipe(first$1(), map((x) => [true, undefined])),
|
|
6921
|
+
this._handleIsModifiedState(transition).pipe(first$1(), map((x) => [undefined, x]))
|
|
6922
|
+
]).pipe(map(([saveSuccess, handleResult]) => {
|
|
6536
6923
|
if (saveSuccess) {
|
|
6537
6924
|
return true;
|
|
6538
6925
|
}
|
|
@@ -6589,7 +6976,7 @@ class DbxActionTransitionSafetyDirective {
|
|
|
6589
6976
|
viewContainerRef: this.viewContainerRef
|
|
6590
6977
|
});
|
|
6591
6978
|
}
|
|
6592
|
-
return this._dialogRef.afterClosed().pipe(first$1(), map
|
|
6979
|
+
return this._dialogRef.afterClosed().pipe(first$1(), map((result = DbxActionTransitionSafetyDialogResult.STAY) => {
|
|
6593
6980
|
// Default to Stay if the user clicks outside.
|
|
6594
6981
|
switch (result) {
|
|
6595
6982
|
case DbxActionTransitionSafetyDialogResult.DISCARD:
|
|
@@ -6608,14 +6995,14 @@ class DbxActionTransitionSafetyDirective {
|
|
|
6608
6995
|
this._dialogRef = undefined;
|
|
6609
6996
|
}
|
|
6610
6997
|
}
|
|
6611
|
-
DbxActionTransitionSafetyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6612
|
-
DbxActionTransitionSafetyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
6613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6998
|
+
DbxActionTransitionSafetyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionTransitionSafetyDirective, deps: [{ token: i1$2.DbxActionContextStoreSourceInstance }, { token: i2$3.TransitionService }, { token: i0.ViewContainerRef }, { token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6999
|
+
DbxActionTransitionSafetyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionTransitionSafetyDirective, selector: "[dbxActionTransitionSafety]", inputs: { inputSafetyType: ["dbxActionTransitionSafety", "inputSafetyType"] }, ngImport: i0 });
|
|
7000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionTransitionSafetyDirective, decorators: [{
|
|
6614
7001
|
type: Directive,
|
|
6615
7002
|
args: [{
|
|
6616
7003
|
selector: '[dbxActionTransitionSafety]',
|
|
6617
7004
|
}]
|
|
6618
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
7005
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance }, { type: i2$3.TransitionService }, { type: i0.ViewContainerRef }, { type: i1$3.MatDialog }]; }, propDecorators: { inputSafetyType: [{
|
|
6619
7006
|
type: Input,
|
|
6620
7007
|
args: ['dbxActionTransitionSafety']
|
|
6621
7008
|
}] } });
|
|
@@ -6627,21 +7014,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6627
7014
|
*/
|
|
6628
7015
|
class DbxActionUIRouterTransitionModule {
|
|
6629
7016
|
}
|
|
6630
|
-
DbxActionUIRouterTransitionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6631
|
-
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
7017
|
+
DbxActionUIRouterTransitionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7018
|
+
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, declarations: [DbxActionTransitionSafetyDirective,
|
|
6632
7019
|
DbxActionUIRouterTransitionSafetyDialogComponent], imports: [CommonModule,
|
|
6633
7020
|
DbxCoreActionModule,
|
|
6634
7021
|
DbxPromptModule,
|
|
6635
7022
|
DbxButtonModule,
|
|
6636
7023
|
DbxReadableErrorModule], exports: [DbxActionTransitionSafetyDirective] });
|
|
6637
|
-
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
7024
|
+
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, imports: [[
|
|
6638
7025
|
CommonModule,
|
|
6639
7026
|
DbxCoreActionModule,
|
|
6640
7027
|
DbxPromptModule,
|
|
6641
7028
|
DbxButtonModule,
|
|
6642
7029
|
DbxReadableErrorModule
|
|
6643
7030
|
]] });
|
|
6644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, decorators: [{
|
|
6645
7032
|
type: NgModule,
|
|
6646
7033
|
args: [{
|
|
6647
7034
|
imports: [
|
|
@@ -6663,14 +7050,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6663
7050
|
|
|
6664
7051
|
class DbxWebModule {
|
|
6665
7052
|
}
|
|
6666
|
-
DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6667
|
-
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
7053
|
+
DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7054
|
+
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, exports: [DbxButtonModule,
|
|
6668
7055
|
DbxActionModule,
|
|
6669
7056
|
DbxLoadingModule] });
|
|
6670
|
-
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
7057
|
+
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, imports: [DbxButtonModule,
|
|
6671
7058
|
DbxActionModule,
|
|
6672
7059
|
DbxLoadingModule] });
|
|
6673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, decorators: [{
|
|
6674
7061
|
type: NgModule,
|
|
6675
7062
|
args: [{
|
|
6676
7063
|
exports: [
|
|
@@ -6688,12 +7075,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6688
7075
|
*/
|
|
6689
7076
|
class DbxWebRootModule {
|
|
6690
7077
|
}
|
|
6691
|
-
DbxWebRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6692
|
-
DbxWebRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6693
|
-
DbxWebRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
7078
|
+
DbxWebRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7079
|
+
DbxWebRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, imports: [i1.MatProgressButtonsModule] });
|
|
7080
|
+
DbxWebRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, imports: [[
|
|
6694
7081
|
MatProgressButtonsModule.forRoot()
|
|
6695
7082
|
]] });
|
|
6696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, decorators: [{
|
|
6697
7084
|
type: NgModule,
|
|
6698
7085
|
args: [{
|
|
6699
7086
|
imports: [
|
|
@@ -6706,5 +7093,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6706
7093
|
* Generated bundle index. Do not edit.
|
|
6707
7094
|
*/
|
|
6708
7095
|
|
|
6709
|
-
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxSelectionValueListViewItemComponent, AbstractDbxValueListViewDirective, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, AbstractSelectionValueListViewDirective, CompactContextStore, CompactMode, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DbxActionConfirmDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionModule, DbxActionSnackbarComponent, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAnchorListModule, DbxAnchorModule, DbxAngularRouterSegueAnchorComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule,
|
|
7096
|
+
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxSelectionValueListViewItemComponent, AbstractDbxValueListViewDirective, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, AbstractSelectionValueListViewDirective, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DbxActionConfirmDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAnchorListModule, DbxAnchorModule, DbxAngularRouterSegueAnchorComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxDialogContentDirective, DbxDialogInteractionModule, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHintComponent, DbxIconItemComponent, DbxIconSpacerDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListLayoutModule, DbxListView, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxNavbarComponent, DbxNavbarModule, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPopoverActionButtonDirective, DbxPopoverActionDirective, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterLayoutModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavModule, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxStepComponent, DbxStepLayoutModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnLayoutModule, DbxTwoColumnsBackDirective, DbxTwoColumnsColumnHeadComponent, DbxTwoColumnsComponent, DbxTwoColumnsFullLeftDirective, DbxTwoColumnsRightComponent, DbxTwoColumnsSrefDirective, DbxUIRouterSegueAnchorComponent, DbxValueListViewComponent, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebRootModule, DbxWebUIRouterModule, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, ProvideDbxListView, ProvideDbxPromptConfirm, ProvideTwoColumnsContext, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TwoColumnsContextStore, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapItemValuesToValueListItemConfig, mapValuesToValuesListItemConfigObs, screenMediaWidthTypeIsActive };
|
|
6710
7097
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|