@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,22 +1,27 @@
|
|
|
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
|
|
15
|
-
import * as i1$2 from '@angular/material/toolbar';
|
|
20
|
+
import * as i1$5 from '@angular/material/toolbar';
|
|
16
21
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
17
|
-
import * as
|
|
22
|
+
import * as i1$4 from '@angular/material/icon';
|
|
18
23
|
import { MatIconModule } from '@angular/material/icon';
|
|
19
|
-
import * as i1$
|
|
24
|
+
import * as i1$6 from '@angular/material/list';
|
|
20
25
|
import { MatListModule } from '@angular/material/list';
|
|
21
26
|
import * as i7 from '@angular/material/tabs';
|
|
22
27
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
@@ -26,41 +31,547 @@ import * as i4 from '@angular/material/divider';
|
|
|
26
31
|
import { MatDividerModule } from '@angular/material/divider';
|
|
27
32
|
import * as i6 from '@angular/material/core';
|
|
28
33
|
import { MatRippleModule } from '@angular/material/core';
|
|
29
|
-
import * as i1$
|
|
30
|
-
import * as i3$
|
|
34
|
+
import * as i1$7 from '@angular/cdk/layout';
|
|
35
|
+
import * as i3$1 from '@angular/material/sidenav';
|
|
31
36
|
import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
|
|
32
37
|
import * as i2$1 from '@uirouter/angular';
|
|
33
38
|
import { UIRouterModule } from '@uirouter/angular';
|
|
34
|
-
import * as i1$
|
|
35
|
-
import { MatProgressButtonsModule } from 'mat-progress-buttons';
|
|
36
|
-
import * as i1$6 from 'angular-resize-event';
|
|
39
|
+
import * as i1$8 from 'angular-resize-event';
|
|
37
40
|
import { AngularResizeEventModule } from 'angular-resize-event';
|
|
38
41
|
import { ComponentStore } from '@ngrx/component-store';
|
|
39
42
|
import { isBoolean } from 'class-validator';
|
|
40
|
-
import * as i1$
|
|
43
|
+
import * as i1$9 from '@angular/material/progress-bar';
|
|
41
44
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
42
45
|
import * as i2$2 from '@angular/material/progress-spinner';
|
|
43
46
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
44
|
-
import * as i3$
|
|
47
|
+
import * as i3$2 from 'ngx-infinite-scroll';
|
|
45
48
|
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
46
49
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
47
50
|
import linkifyStr from 'linkify-string';
|
|
48
|
-
import * as i1$
|
|
49
|
-
import * as i1$
|
|
51
|
+
import * as i1$a from '@angular/platform-browser';
|
|
52
|
+
import * as i1$b from '@angular/material/chips';
|
|
50
53
|
import { MatChipsModule } from '@angular/material/chips';
|
|
51
|
-
import * as i3$
|
|
54
|
+
import * as i3$3 from '@angular/material/tooltip';
|
|
52
55
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
53
|
-
import * as i1$
|
|
56
|
+
import * as i1$c from 'ng-overlay-container';
|
|
54
57
|
import { NgOverlayContainerService, NgOverlayContainerModule } from 'ng-overlay-container';
|
|
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
|
+
var _a;
|
|
104
|
+
const buttonIcon = (this.icon) ? {
|
|
105
|
+
fontIcon: this.icon
|
|
106
|
+
} : undefined;
|
|
107
|
+
return {
|
|
108
|
+
fab: false,
|
|
109
|
+
active: this.working,
|
|
110
|
+
buttonIcon,
|
|
111
|
+
customClass: 'dbx-button ' + ((buttonIcon && !this.text) ? 'dbx-button-no-text' : ''),
|
|
112
|
+
// buttonIcon: icon,
|
|
113
|
+
text: (_a = this.text) !== null && _a !== void 0 ? _a : '',
|
|
114
|
+
buttonColor: this.color,
|
|
115
|
+
barColor: 'accent',
|
|
116
|
+
raised: this.raised,
|
|
117
|
+
stroked: this.stroked,
|
|
118
|
+
flat: this.flat,
|
|
119
|
+
mode: 'indeterminate',
|
|
120
|
+
spinnerSize: 18,
|
|
121
|
+
spinnerColor: 'accent',
|
|
122
|
+
// Only disabled if we're not working, in order to show the animation.
|
|
123
|
+
disabled: !this.working && this.disabled
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
DbxButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
128
|
+
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: `
|
|
129
|
+
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
130
|
+
`, isInline: true, components: [{ type: i1.MatSpinnerButtonComponent, selector: "mat-spinner-button", inputs: ["options", "buttonId", "active", "disabled"], outputs: ["btnClick"] }] });
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonComponent, decorators: [{
|
|
132
|
+
type: Component,
|
|
133
|
+
args: [{
|
|
134
|
+
selector: 'dbx-button',
|
|
135
|
+
template: `
|
|
136
|
+
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
137
|
+
`,
|
|
138
|
+
providers: ProvideDbxButton(DbxButtonComponent)
|
|
139
|
+
}]
|
|
140
|
+
}], propDecorators: { type: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], raised: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], stroked: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], flat: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], color: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}] } });
|
|
151
|
+
|
|
152
|
+
class DbxSpacerDirective {
|
|
153
|
+
}
|
|
154
|
+
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
155
|
+
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 });
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSpacerDirective, decorators: [{
|
|
157
|
+
type: Directive,
|
|
158
|
+
args: [{
|
|
159
|
+
selector: 'dbx-spacer, [dbx-spacer]',
|
|
160
|
+
host: {
|
|
161
|
+
'class': 'dbx-spacer'
|
|
162
|
+
}
|
|
163
|
+
}]
|
|
164
|
+
}] });
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Button spacer directive.
|
|
168
|
+
*/
|
|
169
|
+
class DbxButtonSpacerDirective {
|
|
170
|
+
}
|
|
171
|
+
DbxButtonSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
172
|
+
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 });
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonSpacerDirective, decorators: [{
|
|
174
|
+
type: Directive,
|
|
175
|
+
args: [{
|
|
176
|
+
selector: 'dbx-button-spacer,dbxButtonSpacer',
|
|
177
|
+
host: {
|
|
178
|
+
class: 'dbx-button-spacer d-inline'
|
|
179
|
+
}
|
|
180
|
+
}]
|
|
181
|
+
}] });
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Component for a snackbar that contains an action.
|
|
185
|
+
*/
|
|
186
|
+
class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
187
|
+
constructor(snackbar, data) {
|
|
188
|
+
var _a, _b, _c;
|
|
189
|
+
super();
|
|
190
|
+
this.snackbar = snackbar;
|
|
191
|
+
this.data = data;
|
|
192
|
+
this._durationTimeout = new Subject();
|
|
193
|
+
this._actionRef = new BehaviorSubject(undefined);
|
|
194
|
+
this.value$ = of(0); // value passed to the action.
|
|
195
|
+
this.sourceInstance$ = this._actionRef.pipe(filterMaybe(), map(x => x === null || x === void 0 ? void 0 : x.sourceInstance));
|
|
196
|
+
this.complete$ = this.sourceInstance$.pipe(switchMap(x => x.isSuccess$), startWith(false), shareReplay(1));
|
|
197
|
+
this.loadingStateType$ = this.sourceInstance$.pipe(switchMap(x => x.loadingStateType$), startWith(LoadingStateType.IDLE), shareReplay(1));
|
|
198
|
+
this.snackbarStatusClass$ = this.loadingStateType$.pipe(map((x) => {
|
|
199
|
+
let classes = 'dbx-action-snackbar-';
|
|
200
|
+
switch (x) {
|
|
201
|
+
case LoadingStateType.ERROR:
|
|
202
|
+
classes += 'error';
|
|
203
|
+
break;
|
|
204
|
+
case LoadingStateType.SUCCESS:
|
|
205
|
+
classes += 'success';
|
|
206
|
+
break;
|
|
207
|
+
default:
|
|
208
|
+
classes += 'idle';
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
return classes;
|
|
212
|
+
}), distinctUntilChanged(), shareReplay(1));
|
|
213
|
+
this.dismissAfterActionCompletes = () => {
|
|
214
|
+
this.snackbar._dismissAfter(ms('3s'));
|
|
215
|
+
};
|
|
216
|
+
this.dismiss = () => {
|
|
217
|
+
this.snackbar.dismiss();
|
|
218
|
+
};
|
|
219
|
+
this.button = (_b = (_a = this.data.action) === null || _a === void 0 ? void 0 : _a.button) !== null && _b !== void 0 ? _b : this.data.button;
|
|
220
|
+
this._actionRef.next((_c = this.data.action) === null || _c === void 0 ? void 0 : _c.reference);
|
|
221
|
+
}
|
|
222
|
+
get action() {
|
|
223
|
+
return this.data.action;
|
|
224
|
+
}
|
|
225
|
+
get hasAction() {
|
|
226
|
+
return Boolean(this._actionRef.value);
|
|
227
|
+
}
|
|
228
|
+
get message() {
|
|
229
|
+
return this.data.message;
|
|
230
|
+
}
|
|
231
|
+
get actionConfig() {
|
|
232
|
+
return this.data.action;
|
|
233
|
+
}
|
|
234
|
+
ngOnInit() {
|
|
235
|
+
// Subscribe and close if the duration is up and the action state is idle.
|
|
236
|
+
this.sub = this._durationTimeout.pipe(switchMap((x) => this.loadingStateType$), filter(x => x === LoadingStateType.IDLE)).subscribe(() => {
|
|
237
|
+
this.dismiss();
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
ngOnDestroy() {
|
|
241
|
+
var _a;
|
|
242
|
+
super.ngOnDestroy();
|
|
243
|
+
(_a = this._actionRef.value) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
244
|
+
this._actionRef.complete();
|
|
245
|
+
this._durationTimeout.complete();
|
|
246
|
+
}
|
|
247
|
+
ngAfterViewInit() {
|
|
248
|
+
var _a, _b;
|
|
249
|
+
// Responsible for hiding itself if it has an action.
|
|
250
|
+
if (this.hasAction) {
|
|
251
|
+
setTimeout(() => {
|
|
252
|
+
this._durationTimeout.next();
|
|
253
|
+
}, (_b = (_a = this.action) === null || _a === void 0 ? void 0 : _a.duration) !== null && _b !== void 0 ? _b : ms('10s'));
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
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 });
|
|
258
|
+
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 } });
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
260
|
+
type: Component,
|
|
261
|
+
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" }]
|
|
262
|
+
}], ctorParameters: function () {
|
|
263
|
+
return [{ type: i1$1.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
264
|
+
type: Inject,
|
|
265
|
+
args: [MAT_SNACK_BAR_DATA]
|
|
266
|
+
}] }];
|
|
267
|
+
} });
|
|
268
|
+
|
|
269
|
+
const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
270
|
+
'create': {
|
|
271
|
+
loading: {
|
|
272
|
+
message: 'Creating...'
|
|
273
|
+
},
|
|
274
|
+
success: {
|
|
275
|
+
button: 'Ok',
|
|
276
|
+
message: 'Created'
|
|
277
|
+
},
|
|
278
|
+
error: {
|
|
279
|
+
button: 'X',
|
|
280
|
+
message: 'Create Failed'
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
'save': {
|
|
284
|
+
loading: {
|
|
285
|
+
message: 'Saving...'
|
|
286
|
+
},
|
|
287
|
+
success: {
|
|
288
|
+
button: 'Ok',
|
|
289
|
+
message: 'Saved'
|
|
290
|
+
},
|
|
291
|
+
error: {
|
|
292
|
+
button: 'X',
|
|
293
|
+
message: 'Save Failed'
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
'merge': {
|
|
297
|
+
loading: {
|
|
298
|
+
message: 'Merging...'
|
|
299
|
+
},
|
|
300
|
+
success: {
|
|
301
|
+
button: 'Ok',
|
|
302
|
+
message: 'Merged'
|
|
303
|
+
},
|
|
304
|
+
error: {
|
|
305
|
+
button: 'X',
|
|
306
|
+
message: 'Merge Failed'
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
'delete': {
|
|
310
|
+
loading: {
|
|
311
|
+
message: 'Deleting...'
|
|
312
|
+
},
|
|
313
|
+
success: {
|
|
314
|
+
button: 'Ok',
|
|
315
|
+
message: 'Deleted'
|
|
316
|
+
},
|
|
317
|
+
error: {
|
|
318
|
+
button: 'X',
|
|
319
|
+
message: 'Delete Failed'
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
'cancel': {
|
|
323
|
+
loading: {
|
|
324
|
+
message: 'Cancelling...'
|
|
325
|
+
},
|
|
326
|
+
success: {
|
|
327
|
+
button: 'Ok',
|
|
328
|
+
message: 'Canceled'
|
|
329
|
+
},
|
|
330
|
+
error: {
|
|
331
|
+
button: 'X',
|
|
332
|
+
message: 'Cancel Failed'
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
'restore': {
|
|
336
|
+
loading: {
|
|
337
|
+
message: 'Restoring...'
|
|
338
|
+
},
|
|
339
|
+
success: {
|
|
340
|
+
button: 'Ok',
|
|
341
|
+
message: 'Restored'
|
|
342
|
+
},
|
|
343
|
+
error: {
|
|
344
|
+
button: 'X',
|
|
345
|
+
message: 'Restore Failed'
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
'refresh': {
|
|
349
|
+
loading: {
|
|
350
|
+
message: 'Refreshing...'
|
|
351
|
+
},
|
|
352
|
+
success: {
|
|
353
|
+
button: 'Ok',
|
|
354
|
+
message: 'Refreshed'
|
|
355
|
+
},
|
|
356
|
+
error: {
|
|
357
|
+
button: 'X',
|
|
358
|
+
message: 'Refresh Failed'
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
'do': {
|
|
362
|
+
loading: {
|
|
363
|
+
message: 'Doing...'
|
|
364
|
+
},
|
|
365
|
+
success: {
|
|
366
|
+
button: 'Ok',
|
|
367
|
+
message: 'Done'
|
|
368
|
+
},
|
|
369
|
+
error: {
|
|
370
|
+
button: 'X',
|
|
371
|
+
message: 'Failed'
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Creates a DbxActionSnackbarDisplayConfigGeneratorFunction from the input config.
|
|
378
|
+
*
|
|
379
|
+
* @param config
|
|
380
|
+
* @returns
|
|
381
|
+
*/
|
|
382
|
+
function makeDbxActionSnackbarDisplayConfigGeneratorFunction(config) {
|
|
383
|
+
return (input) => {
|
|
384
|
+
const { event, undo: undoInput } = input;
|
|
385
|
+
const type = event.type;
|
|
386
|
+
const eventConfigObjectOrGetter = config[type];
|
|
387
|
+
const eventConfig = eventConfigObjectOrGetter && getValueFromObjectOrGetter(eventConfigObjectOrGetter);
|
|
388
|
+
let result;
|
|
389
|
+
if (eventConfig) {
|
|
390
|
+
const { undoButtonText } = eventConfig;
|
|
391
|
+
result = {
|
|
392
|
+
button: eventConfig.button,
|
|
393
|
+
message: eventConfig.message,
|
|
394
|
+
snackbar: eventConfig.snackbar
|
|
395
|
+
};
|
|
396
|
+
if (undoInput) {
|
|
397
|
+
let reference;
|
|
398
|
+
if (typeof undoInput === 'object') {
|
|
399
|
+
reference = undoInput.getUndoAction();
|
|
400
|
+
}
|
|
401
|
+
else {
|
|
402
|
+
reference = getValueFromObjectOrGetter(undoInput);
|
|
403
|
+
}
|
|
404
|
+
if (!reference) {
|
|
405
|
+
console.error('Expected action source reference was not provided to undo...');
|
|
406
|
+
}
|
|
407
|
+
else {
|
|
408
|
+
result.action = {
|
|
409
|
+
button: undoButtonText !== null && undoButtonText !== void 0 ? undoButtonText : 'Undo',
|
|
410
|
+
reference
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
return result;
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
const DBX_ACTION_SNACKBAR_SERVICE_CONFIG = new InjectionToken('DbxActionSnackbarServiceConfig');
|
|
420
|
+
const DEFAULT_SNACKBAR_DIRECTIVE_DURATION = ms('4s');
|
|
421
|
+
/**
|
|
422
|
+
* Used for managing/configuring the snackbar default values and pushing snackbar events.
|
|
423
|
+
*/
|
|
424
|
+
class DbxActionSnackbarService {
|
|
425
|
+
constructor(matSnackBar, inputConfig) {
|
|
426
|
+
var _a;
|
|
427
|
+
this.matSnackBar = matSnackBar;
|
|
428
|
+
inputConfig = inputConfig !== null && inputConfig !== void 0 ? inputConfig : {};
|
|
429
|
+
this.config = Object.assign(Object.assign({}, inputConfig), { componentClass: (_a = inputConfig.componentClass) !== null && _a !== void 0 ? _a : DbxActionSnackbarComponent, defaultDuration: inputConfig.defaultDuration || DEFAULT_SNACKBAR_DIRECTIVE_DURATION, eventTypeConfigs: mergeObjects([DBX_ACTION_SNACKBAR_DEFAULTS, inputConfig.eventTypeConfigs]) });
|
|
430
|
+
}
|
|
431
|
+
get componentClass() {
|
|
432
|
+
return this.config.componentClass;
|
|
433
|
+
}
|
|
434
|
+
get eventTypeConfigs() {
|
|
435
|
+
return this.config.eventTypeConfigs;
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Opens a new snackbar given the input configuration.
|
|
439
|
+
*
|
|
440
|
+
* @param config
|
|
441
|
+
* @returns
|
|
442
|
+
*/
|
|
443
|
+
openSnackbar(config) {
|
|
444
|
+
var _a, _b, _c, _d;
|
|
445
|
+
const { snackbar: inputSnackbarConfig } = config;
|
|
446
|
+
const { snackbar: defaultSnackbarConfig, defaultDuration } = this.config;
|
|
447
|
+
const matSnackbarConfig = Object.assign(Object.assign(Object.assign({}, defaultSnackbarConfig), inputSnackbarConfig), { data: config });
|
|
448
|
+
const duration = (_d = (_c = (_b = (_a = config.action) === null || _a === void 0 ? void 0 : _a.duration) !== null && _b !== void 0 ? _b : matSnackbarConfig.duration) !== null && _c !== void 0 ? _c : defaultDuration) !== null && _d !== void 0 ? _d : DEFAULT_SNACKBAR_DIRECTIVE_DURATION;
|
|
449
|
+
if (config.action) {
|
|
450
|
+
// Set the duration on the action
|
|
451
|
+
config.action = Object.assign(Object.assign({}, config.action), { duration });
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
// The snackbar does not close here. The duration is passed to the component and it will close it.
|
|
455
|
+
matSnackbarConfig.duration = duration;
|
|
456
|
+
}
|
|
457
|
+
return this.matSnackBar.openFromComponent(this.componentClass, matSnackbarConfig);
|
|
458
|
+
}
|
|
459
|
+
generateDisplayConfig(type, input) {
|
|
460
|
+
const configForType = this.eventTypeConfigs[type !== null && type !== void 0 ? type : 'none'];
|
|
461
|
+
let result;
|
|
462
|
+
if (configForType) {
|
|
463
|
+
result = makeDbxActionSnackbarDisplayConfigGeneratorFunction(configForType)(input);
|
|
464
|
+
}
|
|
465
|
+
return result;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
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 });
|
|
469
|
+
DbxActionSnackbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarService, providedIn: 'root' });
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarService, decorators: [{
|
|
471
|
+
type: Injectable,
|
|
472
|
+
args: [{
|
|
473
|
+
providedIn: 'root'
|
|
474
|
+
}]
|
|
475
|
+
}], ctorParameters: function () {
|
|
476
|
+
return [{ type: i1$1.MatSnackBar }, { type: undefined, decorators: [{
|
|
477
|
+
type: Optional
|
|
478
|
+
}, {
|
|
479
|
+
type: Inject,
|
|
480
|
+
args: [DBX_ACTION_SNACKBAR_SERVICE_CONFIG]
|
|
481
|
+
}] }];
|
|
482
|
+
} });
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Action directive that displays a snackbar when the action context hits a certain state.
|
|
486
|
+
*/
|
|
487
|
+
class DbxActionSnackbarDirective extends AbstractSubscriptionDirective {
|
|
488
|
+
constructor(source, dbxActionSnackbarService) {
|
|
489
|
+
super();
|
|
490
|
+
this.source = source;
|
|
491
|
+
this.dbxActionSnackbarService = dbxActionSnackbarService;
|
|
492
|
+
}
|
|
493
|
+
get snackbarFunction() {
|
|
494
|
+
return this._snackbarFunction;
|
|
495
|
+
}
|
|
496
|
+
set snackbarFunction(snackbarFunction) {
|
|
497
|
+
if (snackbarFunction) {
|
|
498
|
+
this._snackbarFunction = snackbarFunction;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
ngOnInit() {
|
|
502
|
+
this.sub = this.source.pipeStore((store) => store.loadingState$).subscribe((loadingState) => {
|
|
503
|
+
const event = { value: loadingState.value, error: loadingState.error, type: loadingStateType(loadingState) };
|
|
504
|
+
const config = this.buildConfigurationForEvent(event);
|
|
505
|
+
if (config) {
|
|
506
|
+
this.showSnackbarForConfiguration(config, event);
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
buildConfigurationForEvent(event) {
|
|
511
|
+
const input = {
|
|
512
|
+
event,
|
|
513
|
+
undo: event.type === LoadingStateType.SUCCESS ? this.dbxActionSnackbarUndo : undefined // only show undo on success.
|
|
514
|
+
};
|
|
515
|
+
return (this.snackbarFunction) ? this.snackbarFunction(input) : this.dbxActionSnackbarService.generateDisplayConfig(this.dbxActionSnackbarDefault, input);
|
|
516
|
+
}
|
|
517
|
+
showSnackbarForConfiguration(config, event) {
|
|
518
|
+
this.dbxActionSnackbarService.openSnackbar(config);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
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 });
|
|
522
|
+
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 });
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarDirective, decorators: [{
|
|
524
|
+
type: Directive,
|
|
525
|
+
args: [{
|
|
526
|
+
selector: '[dbxActionSnackbar]'
|
|
527
|
+
}]
|
|
528
|
+
}], ctorParameters: function () {
|
|
529
|
+
return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
530
|
+
type: Host
|
|
531
|
+
}] }, { type: DbxActionSnackbarService }];
|
|
532
|
+
}, 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,9 +588,9 @@ 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 () {
|
|
85
596
|
return [{ type: undefined, decorators: [{
|
|
@@ -87,10 +598,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
87
598
|
}, {
|
|
88
599
|
type: Inject,
|
|
89
600
|
args: [MAT_DIALOG_DATA]
|
|
90
|
-
}] }, { type: i1$
|
|
601
|
+
}] }, { type: i1$3.MatDialogRef, decorators: [{
|
|
91
602
|
type: Inject,
|
|
92
603
|
args: [MatDialogRef]
|
|
93
|
-
}] }, { type: i1.DbxRouterTransitionService }, { type: i0.NgZone }];
|
|
604
|
+
}] }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }];
|
|
94
605
|
} });
|
|
95
606
|
|
|
96
607
|
/**
|
|
@@ -101,9 +612,9 @@ class DbxDialogContentDirective {
|
|
|
101
612
|
this.width = 'normal';
|
|
102
613
|
}
|
|
103
614
|
}
|
|
104
|
-
DbxDialogContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
105
|
-
DbxDialogContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
615
|
+
DbxDialogContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
616
|
+
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 });
|
|
617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogContentDirective, decorators: [{
|
|
107
618
|
type: Directive,
|
|
108
619
|
args: [{
|
|
109
620
|
selector: 'dbx-dialog-content,.dbx-dialog-content',
|
|
@@ -144,7 +655,7 @@ class DbxStyleService {
|
|
|
144
655
|
this._suffix.next(suffix);
|
|
145
656
|
}
|
|
146
657
|
getStyleWithConfig(configObs) {
|
|
147
|
-
return combineLatest([configObs, this.suffix$]).pipe(map(([config, suffix]) => {
|
|
658
|
+
return combineLatest([configObs, this.suffix$]).pipe(map$1(([config, suffix]) => {
|
|
148
659
|
let style = config.style;
|
|
149
660
|
if (suffix != null && config.suffixes) {
|
|
150
661
|
const sanitizedSuffix = ((suffix[0] === '-') ? suffix === null || suffix === void 0 ? void 0 : suffix.slice(1) : suffix);
|
|
@@ -174,9 +685,9 @@ class DbxStyleService {
|
|
|
174
685
|
this._config.complete();
|
|
175
686
|
}
|
|
176
687
|
}
|
|
177
|
-
DbxStyleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
178
|
-
DbxStyleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
688
|
+
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 });
|
|
689
|
+
DbxStyleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleService, providedIn: 'root' });
|
|
690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleService, decorators: [{
|
|
180
691
|
type: Injectable,
|
|
181
692
|
args: [{
|
|
182
693
|
providedIn: 'root'
|
|
@@ -203,8 +714,8 @@ class DbxSetStyleDirective extends AbstractSubscriptionDirective {
|
|
|
203
714
|
this._suffixes = new BehaviorSubject(undefined);
|
|
204
715
|
this._style = new BehaviorSubject(undefined);
|
|
205
716
|
this.style$ = this._style.pipe(filterMaybe());
|
|
206
|
-
this.suffixes$ = this._suffixes.pipe(distinctUntilChanged(), map(splitCommaSeparatedStringToSet));
|
|
207
|
-
this.config$ = combineLatest([this.style$, this.suffixes$]).pipe(map(([style, suffixes]) => ({ style, suffixes })), shareReplay(1));
|
|
717
|
+
this.suffixes$ = this._suffixes.pipe(distinctUntilChanged(), map$1(splitCommaSeparatedStringToSet));
|
|
718
|
+
this.config$ = combineLatest([this.style$, this.suffixes$]).pipe(map$1(([style, suffixes]) => ({ style, suffixes })), shareReplay(1));
|
|
208
719
|
this.outputStyle$ = this.styleService.getStyleWithConfig(this.config$);
|
|
209
720
|
this.outputStyle = '';
|
|
210
721
|
}
|
|
@@ -233,9 +744,9 @@ class DbxSetStyleDirective extends AbstractSubscriptionDirective {
|
|
|
233
744
|
this._suffixes.next(suffixes);
|
|
234
745
|
}
|
|
235
746
|
}
|
|
236
|
-
DbxSetStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
237
|
-
DbxSetStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
747
|
+
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 });
|
|
748
|
+
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 });
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSetStyleDirective, decorators: [{
|
|
239
750
|
type: Directive,
|
|
240
751
|
args: [{
|
|
241
752
|
selector: '[dbxSetStyle]',
|
|
@@ -265,9 +776,9 @@ class DbxStyleDirective extends AbstractSubscriptionDirective {
|
|
|
265
776
|
this.style = '';
|
|
266
777
|
}
|
|
267
778
|
}
|
|
268
|
-
DbxStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
269
|
-
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
779
|
+
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 });
|
|
780
|
+
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 });
|
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleDirective, decorators: [{
|
|
271
782
|
type: Directive,
|
|
272
783
|
args: [{
|
|
273
784
|
selector: 'dbx-style, [dbx-style], .dbx-style',
|
|
@@ -277,20 +788,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
277
788
|
}]
|
|
278
789
|
}], ctorParameters: function () { return [{ type: DbxStyleService }, { type: i0.ChangeDetectorRef }]; } });
|
|
279
790
|
|
|
280
|
-
class DbxSpacerDirective {
|
|
281
|
-
}
|
|
282
|
-
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
283
|
-
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 });
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxSpacerDirective, decorators: [{
|
|
285
|
-
type: Directive,
|
|
286
|
-
args: [{
|
|
287
|
-
selector: 'dbx-spacer, [dbx-spacer]',
|
|
288
|
-
host: {
|
|
289
|
-
'class': 'dbx-spacer'
|
|
290
|
-
}
|
|
291
|
-
}]
|
|
292
|
-
}] });
|
|
293
|
-
|
|
294
791
|
/**
|
|
295
792
|
* Used to style the body document using the style provided by DbxStyleService.
|
|
296
793
|
*/
|
|
@@ -308,9 +805,9 @@ class DbxStyleBodyDirective extends AbstractSubscriptionDirective {
|
|
|
308
805
|
this._currentStyle = '';
|
|
309
806
|
}
|
|
310
807
|
}
|
|
311
|
-
DbxStyleBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
312
|
-
DbxStyleBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
808
|
+
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 });
|
|
809
|
+
DbxStyleBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxStyleBodyDirective, selector: "[dbxStyleBody]", host: { properties: { "class": "style" } }, usesInheritance: true, ngImport: i0 });
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleBodyDirective, decorators: [{
|
|
314
811
|
type: Directive,
|
|
315
812
|
args: [{
|
|
316
813
|
selector: '[dbxStyleBody]',
|
|
@@ -322,18 +819,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
322
819
|
|
|
323
820
|
class DbxStyleLayoutModule {
|
|
324
821
|
}
|
|
325
|
-
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
326
|
-
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
822
|
+
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
823
|
+
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxSpacerDirective,
|
|
327
824
|
DbxStyleDirective,
|
|
328
825
|
DbxSetStyleDirective,
|
|
329
826
|
DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxSpacerDirective,
|
|
330
827
|
DbxStyleDirective,
|
|
331
828
|
DbxSetStyleDirective,
|
|
332
829
|
DbxStyleBodyDirective] });
|
|
333
|
-
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
830
|
+
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, imports: [[
|
|
334
831
|
CommonModule
|
|
335
832
|
]] });
|
|
336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStyleLayoutModule, decorators: [{
|
|
337
834
|
type: NgModule,
|
|
338
835
|
args: [{
|
|
339
836
|
imports: [
|
|
@@ -359,14 +856,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
359
856
|
*/
|
|
360
857
|
class DbxDialogInteractionModule {
|
|
361
858
|
}
|
|
362
|
-
DbxDialogInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
363
|
-
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
859
|
+
DbxDialogInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
860
|
+
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, declarations: [DbxDialogContentDirective], imports: [CommonModule,
|
|
364
861
|
DbxStyleLayoutModule], exports: [DbxDialogContentDirective] });
|
|
365
|
-
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
862
|
+
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, imports: [[
|
|
366
863
|
CommonModule,
|
|
367
864
|
DbxStyleLayoutModule
|
|
368
865
|
]] });
|
|
369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDialogInteractionModule, decorators: [{
|
|
370
867
|
type: NgModule,
|
|
371
868
|
args: [{
|
|
372
869
|
imports: [
|
|
@@ -448,9 +945,9 @@ class PopoverPositionStrategy {
|
|
|
448
945
|
*/
|
|
449
946
|
class DbxBarDirective {
|
|
450
947
|
}
|
|
451
|
-
DbxBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
452
|
-
DbxBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
948
|
+
DbxBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
949
|
+
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 });
|
|
950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarDirective, decorators: [{
|
|
454
951
|
type: Directive,
|
|
455
952
|
args: [{
|
|
456
953
|
selector: 'dbx-bar',
|
|
@@ -470,14 +967,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
470
967
|
*/
|
|
471
968
|
class DbxBarHeaderComponent {
|
|
472
969
|
}
|
|
473
|
-
DbxBarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
474
|
-
DbxBarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
970
|
+
DbxBarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
971
|
+
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: `
|
|
475
972
|
<dbx-bar [color]="color">
|
|
476
973
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
477
974
|
<span *ngIf="text">{{ text }}</span>
|
|
478
975
|
</dbx-bar>
|
|
479
|
-
`, isInline: true, components: [{ type:
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
976
|
+
`, 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"] }] });
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarHeaderComponent, decorators: [{
|
|
481
978
|
type: Component,
|
|
482
979
|
args: [{
|
|
483
980
|
selector: 'dbx-bar-header',
|
|
@@ -501,9 +998,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
501
998
|
|
|
502
999
|
class DbxPagebarComponent {
|
|
503
1000
|
}
|
|
504
|
-
DbxPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
505
|
-
DbxPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1001
|
+
DbxPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPagebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1002
|
+
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"] }] });
|
|
1003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPagebarComponent, decorators: [{
|
|
507
1004
|
type: Component,
|
|
508
1005
|
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" }]
|
|
509
1006
|
}], propDecorators: { color: [{
|
|
@@ -515,20 +1012,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
515
1012
|
*/
|
|
516
1013
|
class DbxBarLayoutModule {
|
|
517
1014
|
}
|
|
518
|
-
DbxBarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
519
|
-
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1015
|
+
DbxBarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1016
|
+
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, declarations: [DbxBarDirective,
|
|
520
1017
|
DbxBarHeaderComponent,
|
|
521
1018
|
DbxPagebarComponent], imports: [CommonModule,
|
|
522
1019
|
MatToolbarModule,
|
|
523
1020
|
MatIconModule], exports: [DbxBarDirective,
|
|
524
1021
|
DbxBarHeaderComponent,
|
|
525
1022
|
DbxPagebarComponent] });
|
|
526
|
-
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1023
|
+
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, imports: [[
|
|
527
1024
|
CommonModule,
|
|
528
1025
|
MatToolbarModule,
|
|
529
1026
|
MatIconModule
|
|
530
1027
|
]] });
|
|
531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBarLayoutModule, decorators: [{
|
|
532
1029
|
type: NgModule,
|
|
533
1030
|
args: [{
|
|
534
1031
|
imports: [
|
|
@@ -561,8 +1058,8 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
561
1058
|
this.dbNgxRouterWebProviderConfig = dbNgxRouterWebProviderConfig;
|
|
562
1059
|
this._templateRef = new BehaviorSubject(undefined);
|
|
563
1060
|
this.templateRef$ = this._templateRef.pipe(skipFirstMaybe(), shareReplay$1(1));
|
|
564
|
-
this.url$ = this.anchor$.pipe(map
|
|
565
|
-
this.target$ = this.anchor$.pipe(map
|
|
1061
|
+
this.url$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.url), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1062
|
+
this.target$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.target), distinctUntilChanged$1(), shareReplay$1(1));
|
|
566
1063
|
}
|
|
567
1064
|
get templateRef() {
|
|
568
1065
|
return this._templateRef.value;
|
|
@@ -578,9 +1075,9 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
578
1075
|
(_b = (_a = this.anchor) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event);
|
|
579
1076
|
}
|
|
580
1077
|
}
|
|
581
|
-
DbxAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
582
|
-
DbxAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1078
|
+
DbxAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorComponent, deps: [{ token: DbxRouterWebProviderConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
1079
|
+
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 } });
|
|
1080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorComponent, decorators: [{
|
|
584
1081
|
type: Component,
|
|
585
1082
|
args: [{ selector: 'dbx-anchor, [dbx-anchor]', host: {
|
|
586
1083
|
class: 'd-inline dbx-anchor',
|
|
@@ -598,13 +1095,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
598
1095
|
*/
|
|
599
1096
|
class DbxAnchorIconComponent {
|
|
600
1097
|
}
|
|
601
|
-
DbxAnchorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
602
|
-
DbxAnchorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1098
|
+
DbxAnchorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1099
|
+
DbxAnchorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxAnchorIconComponent, selector: "dbx-anchor-icon", inputs: { anchor: "anchor" }, ngImport: i0, template: `
|
|
603
1100
|
<dbx-anchor [anchor]="anchor">
|
|
604
1101
|
<button mat-icon-button><mat-icon>{{ anchor?.icon }}</mat-icon></button>
|
|
605
1102
|
</dbx-anchor>
|
|
606
|
-
`, 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:
|
|
607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1103
|
+
`, 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"] }] });
|
|
1104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorIconComponent, decorators: [{
|
|
608
1105
|
type: Component,
|
|
609
1106
|
args: [{
|
|
610
1107
|
selector: 'dbx-anchor-icon',
|
|
@@ -637,13 +1134,13 @@ class DbxAnchorLinkComponent {
|
|
|
637
1134
|
}
|
|
638
1135
|
}
|
|
639
1136
|
}
|
|
640
|
-
DbxAnchorLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
641
|
-
DbxAnchorLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1137
|
+
DbxAnchorLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1138
|
+
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: `
|
|
642
1139
|
<dbx-anchor [anchor]="anchor">
|
|
643
1140
|
<ng-content></ng-content>
|
|
644
1141
|
</dbx-anchor>
|
|
645
1142
|
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
|
|
646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorLinkComponent, decorators: [{
|
|
647
1144
|
type: Component,
|
|
648
1145
|
args: [{
|
|
649
1146
|
selector: 'dbx-link',
|
|
@@ -664,24 +1161,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
664
1161
|
type: Input
|
|
665
1162
|
}] } });
|
|
666
1163
|
|
|
1164
|
+
/**
|
|
1165
|
+
* Component that displays an anchor and a span with the title.
|
|
1166
|
+
*/
|
|
1167
|
+
class DbxAnchorContentComponent {
|
|
1168
|
+
}
|
|
1169
|
+
DbxAnchorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1170
|
+
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"] }] });
|
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorContentComponent, decorators: [{
|
|
1172
|
+
type: Component,
|
|
1173
|
+
args: [{
|
|
1174
|
+
selector: 'dbx-anchor-content',
|
|
1175
|
+
template: `<mat-icon *ngIf="anchor?.icon">{{ anchor?.icon }}</mat-icon><span *ngIf="anchor?.title">{{ anchor?.title }}</span>`
|
|
1176
|
+
}]
|
|
1177
|
+
}], propDecorators: { anchor: [{
|
|
1178
|
+
type: Input
|
|
1179
|
+
}] } });
|
|
1180
|
+
|
|
667
1181
|
class DbxAnchorModule {
|
|
668
1182
|
}
|
|
669
|
-
DbxAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
670
|
-
DbxAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1183
|
+
DbxAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1184
|
+
DbxAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, declarations: [DbxAnchorComponent,
|
|
671
1185
|
DbxAnchorIconComponent,
|
|
672
|
-
DbxAnchorLinkComponent
|
|
1186
|
+
DbxAnchorLinkComponent,
|
|
1187
|
+
DbxAnchorContentComponent], imports: [CommonModule,
|
|
673
1188
|
MatIconModule,
|
|
674
1189
|
MatButtonModule,
|
|
675
1190
|
DbxInjectedComponentModule], exports: [DbxAnchorComponent,
|
|
676
1191
|
DbxAnchorIconComponent,
|
|
677
|
-
DbxAnchorLinkComponent
|
|
678
|
-
|
|
1192
|
+
DbxAnchorLinkComponent,
|
|
1193
|
+
DbxAnchorContentComponent] });
|
|
1194
|
+
DbxAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, imports: [[
|
|
679
1195
|
CommonModule,
|
|
680
1196
|
MatIconModule,
|
|
681
1197
|
MatButtonModule,
|
|
682
1198
|
DbxInjectedComponentModule
|
|
683
1199
|
]] });
|
|
684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorModule, decorators: [{
|
|
685
1201
|
type: NgModule,
|
|
686
1202
|
args: [{
|
|
687
1203
|
imports: [
|
|
@@ -693,12 +1209,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
693
1209
|
declarations: [
|
|
694
1210
|
DbxAnchorComponent,
|
|
695
1211
|
DbxAnchorIconComponent,
|
|
696
|
-
DbxAnchorLinkComponent
|
|
1212
|
+
DbxAnchorLinkComponent,
|
|
1213
|
+
DbxAnchorContentComponent
|
|
697
1214
|
],
|
|
698
1215
|
exports: [
|
|
699
1216
|
DbxAnchorComponent,
|
|
700
1217
|
DbxAnchorIconComponent,
|
|
701
|
-
DbxAnchorLinkComponent
|
|
1218
|
+
DbxAnchorLinkComponent,
|
|
1219
|
+
DbxAnchorContentComponent
|
|
702
1220
|
]
|
|
703
1221
|
}]
|
|
704
1222
|
}] });
|
|
@@ -710,10 +1228,10 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
710
1228
|
constructor(parent) {
|
|
711
1229
|
this.parent = parent;
|
|
712
1230
|
this.target$ = this.parent.target$;
|
|
713
|
-
this.ref$ = this.parent.anchor$.pipe(map
|
|
714
|
-
this.refParams$ = this.parent.anchor$.pipe(map
|
|
715
|
-
this.refOptions$ = this.parent.anchor$.pipe(map
|
|
716
|
-
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged$1(), map
|
|
1231
|
+
this.ref$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.ref), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1232
|
+
this.refParams$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.refParams), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1233
|
+
this.refOptions$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.refOptions), distinctUntilChanged$1(), shareReplay$1(1));
|
|
1234
|
+
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged$1(), map(templateRef => ({
|
|
717
1235
|
templateRef
|
|
718
1236
|
})), shareReplay$1(1));
|
|
719
1237
|
}
|
|
@@ -721,9 +1239,9 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
721
1239
|
return this.parent.anchor;
|
|
722
1240
|
}
|
|
723
1241
|
}
|
|
724
|
-
AbstractDbxSegueAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
725
|
-
AbstractDbxSegueAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1242
|
+
AbstractDbxSegueAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSegueAnchorDirective, deps: [{ token: DbxAnchorComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1243
|
+
AbstractDbxSegueAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxSegueAnchorDirective, ngImport: i0 });
|
|
1244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSegueAnchorDirective, decorators: [{
|
|
727
1245
|
type: Directive
|
|
728
1246
|
}], ctorParameters: function () { return [{ type: DbxAnchorComponent }]; } });
|
|
729
1247
|
|
|
@@ -733,7 +1251,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
733
1251
|
class DbxAnchorListComponent {
|
|
734
1252
|
constructor() {
|
|
735
1253
|
this._anchors = new BehaviorSubject([]);
|
|
736
|
-
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map(x => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
1254
|
+
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map$1(x => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
737
1255
|
}
|
|
738
1256
|
set anchors(anchors) {
|
|
739
1257
|
this._anchors.next(anchors !== null && anchors !== void 0 ? anchors : []);
|
|
@@ -742,9 +1260,9 @@ class DbxAnchorListComponent {
|
|
|
742
1260
|
this._anchors.complete();
|
|
743
1261
|
}
|
|
744
1262
|
}
|
|
745
|
-
DbxAnchorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
746
|
-
DbxAnchorListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1263
|
+
DbxAnchorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1264
|
+
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 } });
|
|
1265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListComponent, decorators: [{
|
|
748
1266
|
type: Component,
|
|
749
1267
|
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" }]
|
|
750
1268
|
}], propDecorators: { anchors: [{
|
|
@@ -753,15 +1271,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
753
1271
|
|
|
754
1272
|
class DbxAnchorListModule {
|
|
755
1273
|
}
|
|
756
|
-
DbxAnchorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
757
|
-
DbxAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1274
|
+
DbxAnchorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1275
|
+
DbxAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, declarations: [DbxAnchorListComponent], imports: [CommonModule,
|
|
758
1276
|
MatTabsModule,
|
|
759
1277
|
MatButtonModule,
|
|
760
1278
|
MatIconModule,
|
|
761
1279
|
MatListModule,
|
|
762
1280
|
MatMenuModule,
|
|
763
1281
|
DbxAnchorModule], exports: [DbxAnchorListComponent] });
|
|
764
|
-
DbxAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1282
|
+
DbxAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, imports: [[
|
|
765
1283
|
CommonModule,
|
|
766
1284
|
MatTabsModule,
|
|
767
1285
|
MatButtonModule,
|
|
@@ -770,7 +1288,7 @@ DbxAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
770
1288
|
MatMenuModule,
|
|
771
1289
|
DbxAnchorModule,
|
|
772
1290
|
]] });
|
|
773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAnchorListModule, decorators: [{
|
|
774
1292
|
type: NgModule,
|
|
775
1293
|
args: [{
|
|
776
1294
|
imports: [
|
|
@@ -833,8 +1351,8 @@ class DbxScreenMediaService {
|
|
|
833
1351
|
this._media = _media;
|
|
834
1352
|
this._updateWidth = new Subject();
|
|
835
1353
|
this._updateHeight = new Subject();
|
|
836
|
-
this.widthType$ = this._updateWidth.pipe(initialize(() => this._updateWidth.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map(() => this._readWidthType()), distinctUntilChanged(), shareReplay(1));
|
|
837
|
-
this.heightType$ = this._updateWidth.pipe(initialize(() => this._updateHeight.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map(() => this._readHeightType()), distinctUntilChanged(), shareReplay(1));
|
|
1354
|
+
this.widthType$ = this._updateWidth.pipe(initialize(() => this._updateWidth.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map$1(() => this._readWidthType()), distinctUntilChanged(), shareReplay(1));
|
|
1355
|
+
this.heightType$ = this._updateWidth.pipe(initialize(() => this._updateHeight.next()), throttleTime(100, undefined, { leading: true, trailing: true }), map$1(() => this._readHeightType()), distinctUntilChanged(), shareReplay(1));
|
|
838
1356
|
const { microScreenWidthMax, smallScreenWidthMax, tabletScreenWidthMax, largeScreenWidthMax } = config;
|
|
839
1357
|
this._microQuery = this._media.matchMedia(`screen and (max-width:${microScreenWidthMax}px)`);
|
|
840
1358
|
this._smallQuery = this._media.matchMedia(`screen and (max-width:${smallScreenWidthMax}px)`);
|
|
@@ -864,7 +1382,7 @@ class DbxScreenMediaService {
|
|
|
864
1382
|
* @returns
|
|
865
1383
|
*/
|
|
866
1384
|
isBreakpointActive(inputBreakpoint) {
|
|
867
|
-
return combineLatest([this.widthType$, asObservable(inputBreakpoint)]).pipe(map(([current, breakpoint]) => screenMediaWidthTypeIsActive(current, breakpoint)), distinctUntilChanged(), shareReplay(1));
|
|
1385
|
+
return combineLatest([this.widthType$, asObservable(inputBreakpoint)]).pipe(map$1(([current, breakpoint]) => screenMediaWidthTypeIsActive(current, breakpoint)), distinctUntilChanged(), shareReplay(1));
|
|
868
1386
|
}
|
|
869
1387
|
_readWidthType() {
|
|
870
1388
|
let width;
|
|
@@ -894,11 +1412,11 @@ class DbxScreenMediaService {
|
|
|
894
1412
|
}
|
|
895
1413
|
}
|
|
896
1414
|
}
|
|
897
|
-
DbxScreenMediaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
898
|
-
DbxScreenMediaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1415
|
+
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 });
|
|
1416
|
+
DbxScreenMediaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenMediaService });
|
|
1417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenMediaService, decorators: [{
|
|
900
1418
|
type: Injectable
|
|
901
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1419
|
+
}], ctorParameters: function () { return [{ type: i1$7.MediaMatcher }, { type: DbxScreenMediaServiceConfig }]; } });
|
|
902
1420
|
|
|
903
1421
|
/**
|
|
904
1422
|
* Component that displays a navbar.
|
|
@@ -914,10 +1432,10 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
914
1432
|
this._breakpoint = new BehaviorSubject('large');
|
|
915
1433
|
this._anchors = new BehaviorSubject([]);
|
|
916
1434
|
this.isBreakpointActive$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint);
|
|
917
|
-
this.mode$ = combineLatest([this._inputMode, this.isBreakpointActive$]).pipe(map(([inputMode, breakpointActive]) => {
|
|
1435
|
+
this.mode$ = combineLatest([this._inputMode, this.isBreakpointActive$]).pipe(map$1(([inputMode, breakpointActive]) => {
|
|
918
1436
|
return (breakpointActive) ? (inputMode !== null && inputMode !== void 0 ? inputMode : 'bar') : 'button';
|
|
919
1437
|
}), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
920
|
-
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map(([anchors]) => {
|
|
1438
|
+
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map$1(([anchors]) => {
|
|
921
1439
|
const results = anchors.map((anchor) => {
|
|
922
1440
|
let selected = this._dbxRouterService.isActive(anchor);
|
|
923
1441
|
return {
|
|
@@ -944,14 +1462,14 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
944
1462
|
this._breakpoint.next(breakpoint);
|
|
945
1463
|
}
|
|
946
1464
|
}
|
|
947
|
-
DbxNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
948
|
-
DbxNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1465
|
+
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 });
|
|
1466
|
+
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 });
|
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarComponent, decorators: [{
|
|
950
1468
|
type: Component,
|
|
951
1469
|
args: [{ selector: 'dbx-navbar', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
952
1470
|
'class': 'dbx-navbar'
|
|
953
1471
|
}, 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" }]
|
|
954
|
-
}], ctorParameters: function () { return [{ type: i1.DbxRouterTransitionService }, { type: i0.ChangeDetectorRef }, { type: DbxScreenMediaService }, { type: i1.DbxRouterService }]; }, propDecorators: { navAlign: [{
|
|
1472
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxRouterTransitionService }, { type: i0.ChangeDetectorRef }, { type: DbxScreenMediaService }, { type: i1$2.DbxRouterService }]; }, propDecorators: { navAlign: [{
|
|
955
1473
|
type: Input
|
|
956
1474
|
}], anchors: [{
|
|
957
1475
|
type: Input
|
|
@@ -963,14 +1481,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
963
1481
|
|
|
964
1482
|
class DbxNavbarModule {
|
|
965
1483
|
}
|
|
966
|
-
DbxNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
967
|
-
DbxNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1484
|
+
DbxNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1485
|
+
DbxNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, declarations: [DbxNavbarComponent], imports: [CommonModule,
|
|
968
1486
|
MatTabsModule,
|
|
969
1487
|
MatButtonModule,
|
|
970
1488
|
MatIconModule,
|
|
971
1489
|
MatMenuModule,
|
|
972
1490
|
DbxAnchorModule], exports: [DbxNavbarComponent] });
|
|
973
|
-
DbxNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1491
|
+
DbxNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, imports: [[
|
|
974
1492
|
CommonModule,
|
|
975
1493
|
MatTabsModule,
|
|
976
1494
|
MatButtonModule,
|
|
@@ -978,7 +1496,7 @@ DbxNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
978
1496
|
MatMenuModule,
|
|
979
1497
|
DbxAnchorModule,
|
|
980
1498
|
]] });
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNavbarModule, decorators: [{
|
|
982
1500
|
type: NgModule,
|
|
983
1501
|
args: [{
|
|
984
1502
|
imports: [
|
|
@@ -1012,10 +1530,10 @@ class DbxScreenModule {
|
|
|
1012
1530
|
};
|
|
1013
1531
|
}
|
|
1014
1532
|
}
|
|
1015
|
-
DbxScreenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1016
|
-
DbxScreenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1017
|
-
DbxScreenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1533
|
+
DbxScreenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1534
|
+
DbxScreenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule });
|
|
1535
|
+
DbxScreenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule });
|
|
1536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxScreenModule, decorators: [{
|
|
1019
1537
|
type: NgModule
|
|
1020
1538
|
}] });
|
|
1021
1539
|
|
|
@@ -1033,7 +1551,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1033
1551
|
constructor(dbxRouterTransitionService, ngZone, _screenMediaService) {
|
|
1034
1552
|
super(dbxRouterTransitionService, ngZone);
|
|
1035
1553
|
this._screenMediaService = _screenMediaService;
|
|
1036
|
-
this.mode$ = this._screenMediaService.widthType$.pipe(distinctUntilChanged(), map((width) => {
|
|
1554
|
+
this.mode$ = this._screenMediaService.widthType$.pipe(distinctUntilChanged(), map$1((width) => {
|
|
1037
1555
|
let mode;
|
|
1038
1556
|
switch (width) {
|
|
1039
1557
|
case 'micro':
|
|
@@ -1050,9 +1568,9 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1050
1568
|
}
|
|
1051
1569
|
return mode;
|
|
1052
1570
|
}), shareReplay(1));
|
|
1053
|
-
this.disableBackdrop$ = this.mode$.pipe(map(x => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1054
|
-
this.sizeClass$ = this.mode$.pipe(map((mode) => `dbx-sidenav-${mode}`), distinctUntilChanged(), shareReplay(1));
|
|
1055
|
-
this.state$ = this.mode$.pipe(map((mode) => {
|
|
1571
|
+
this.disableBackdrop$ = this.mode$.pipe(map$1(x => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1572
|
+
this.sizeClass$ = this.mode$.pipe(map$1((mode) => `dbx-sidenav-${mode}`), distinctUntilChanged(), shareReplay(1));
|
|
1573
|
+
this.state$ = this.mode$.pipe(map$1((mode) => {
|
|
1056
1574
|
let drawer;
|
|
1057
1575
|
let open;
|
|
1058
1576
|
switch (mode) {
|
|
@@ -1072,7 +1590,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1072
1590
|
open
|
|
1073
1591
|
};
|
|
1074
1592
|
}), shareReplay(1));
|
|
1075
|
-
this.drawer$ = this.state$.pipe(map(x => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
1593
|
+
this.drawer$ = this.state$.pipe(map$1(x => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
1076
1594
|
this._watcherSub = new SubscriptionObject();
|
|
1077
1595
|
this._stateSub = new SubscriptionObject();
|
|
1078
1596
|
}
|
|
@@ -1128,12 +1646,12 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1128
1646
|
});
|
|
1129
1647
|
}
|
|
1130
1648
|
}
|
|
1131
|
-
DbxSidenavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1132
|
-
DbxSidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1649
|
+
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 });
|
|
1650
|
+
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 } });
|
|
1651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavComponent, decorators: [{
|
|
1134
1652
|
type: Component,
|
|
1135
1653
|
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" }]
|
|
1136
|
-
}], ctorParameters: function () { return [{ type: i1.DbxRouterTransitionService }, { type: i0.NgZone }, { type: DbxScreenMediaService }]; }, propDecorators: { anchors: [{
|
|
1654
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }, { type: DbxScreenMediaService }]; }, propDecorators: { anchors: [{
|
|
1137
1655
|
type: Input
|
|
1138
1656
|
}], sidenav: [{
|
|
1139
1657
|
type: ViewChild,
|
|
@@ -1147,19 +1665,19 @@ class DbxSidenavButtonComponent {
|
|
|
1147
1665
|
constructor(parent) {
|
|
1148
1666
|
this.parent = parent;
|
|
1149
1667
|
this.mode$ = this.parent.mode$;
|
|
1150
|
-
this.showMenuButton$ = this.mode$.pipe(map
|
|
1668
|
+
this.showMenuButton$ = this.mode$.pipe(map(x => x === SideNavDisplayMode.MOBILE));
|
|
1151
1669
|
}
|
|
1152
1670
|
toggleNav() {
|
|
1153
1671
|
this.parent.toggleNav();
|
|
1154
1672
|
}
|
|
1155
1673
|
}
|
|
1156
|
-
DbxSidenavButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1157
|
-
DbxSidenavButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1674
|
+
DbxSidenavButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavButtonComponent, deps: [{ token: DbxSidenavComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
1675
|
+
DbxSidenavButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button", ngImport: i0, template: `
|
|
1158
1676
|
<button class="dbx-sidenav-button" mat-icon-button *ngIf="showMenuButton$ | async" (click)="toggleNav()" aria-label="open sidenav button">
|
|
1159
1677
|
<mat-icon>view_sidebar</mat-icon>
|
|
1160
1678
|
</button>
|
|
1161
|
-
`, 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:
|
|
1162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1679
|
+
`, 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 } });
|
|
1680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavButtonComponent, decorators: [{
|
|
1163
1681
|
type: Component,
|
|
1164
1682
|
args: [{
|
|
1165
1683
|
selector: 'dbx-sidenav-button',
|
|
@@ -1171,28 +1689,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1171
1689
|
}]
|
|
1172
1690
|
}], ctorParameters: function () { return [{ type: DbxSidenavComponent }]; } });
|
|
1173
1691
|
|
|
1174
|
-
/**
|
|
1175
|
-
* Button spacer component.
|
|
1176
|
-
*/
|
|
1177
|
-
class DbxButtonSpacerComponent {
|
|
1178
|
-
}
|
|
1179
|
-
DbxButtonSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1180
|
-
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 });
|
|
1181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonSpacerComponent, decorators: [{
|
|
1182
|
-
type: Component,
|
|
1183
|
-
args: [{
|
|
1184
|
-
selector: 'dbx-button-spacer',
|
|
1185
|
-
template: `<span class="dbx-button-spacer"></span>`
|
|
1186
|
-
}]
|
|
1187
|
-
}] });
|
|
1188
|
-
|
|
1189
1692
|
/**
|
|
1190
1693
|
* Pre-configured pagebar used with DbxSidenavComponent.
|
|
1191
1694
|
*/
|
|
1192
1695
|
class DbxSidenavPagebarComponent extends DbxPagebarComponent {
|
|
1193
1696
|
}
|
|
1194
|
-
DbxSidenavPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1195
|
-
DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1697
|
+
DbxSidenavPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPagebarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1698
|
+
DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSidenavPagebarComponent, selector: "dbx-sidenav-pagebar", usesInheritance: true, ngImport: i0, template: `
|
|
1196
1699
|
<dbx-pagebar class="dbx-sidenav-pagebar" [color]="color">
|
|
1197
1700
|
<span left>
|
|
1198
1701
|
<dbx-sidenav-button></dbx-sidenav-button>
|
|
@@ -1201,8 +1704,8 @@ DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
1201
1704
|
</span>
|
|
1202
1705
|
<ng-content right></ng-content>
|
|
1203
1706
|
</dbx-pagebar>
|
|
1204
|
-
`, isInline: true, components: [{ type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button" }, { type:
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1707
|
+
`, isInline: true, components: [{ type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button" }], directives: [{ type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
1708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPagebarComponent, decorators: [{
|
|
1206
1709
|
type: Component,
|
|
1207
1710
|
args: [{
|
|
1208
1711
|
selector: 'dbx-sidenav-pagebar',
|
|
@@ -1228,7 +1731,7 @@ class DbxSidenavPageComponent {
|
|
|
1228
1731
|
constructor(parent) {
|
|
1229
1732
|
this.parent = parent;
|
|
1230
1733
|
this._mobileOnly = new BehaviorSubject(false);
|
|
1231
|
-
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly) ? this.parent.mode$.pipe(map(x => x !== SideNavDisplayMode.MOBILE)) : of(true)), shareReplay(1));
|
|
1734
|
+
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly) ? this.parent.mode$.pipe(map$1(x => x !== SideNavDisplayMode.MOBILE)) : of(true)), shareReplay(1));
|
|
1232
1735
|
}
|
|
1233
1736
|
get mobileOnly() {
|
|
1234
1737
|
return this._mobileOnly.value;
|
|
@@ -1237,8 +1740,8 @@ class DbxSidenavPageComponent {
|
|
|
1237
1740
|
this._mobileOnly.next(mobileOnly);
|
|
1238
1741
|
}
|
|
1239
1742
|
}
|
|
1240
|
-
DbxSidenavPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1241
|
-
DbxSidenavPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1743
|
+
DbxSidenavPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPageComponent, deps: [{ token: DbxSidenavComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
1744
|
+
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: `
|
|
1242
1745
|
<div>
|
|
1243
1746
|
<dbx-sidenav-pagebar [color]="color" [ngClass]="(hidePagebar$ | async) ? 'dbx-pagebar-hide' : ''">
|
|
1244
1747
|
<ng-content left select="[navLeft]"></ng-content>
|
|
@@ -1248,8 +1751,8 @@ DbxSidenavPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1248
1751
|
<ng-content></ng-content>
|
|
1249
1752
|
</div>
|
|
1250
1753
|
</div>
|
|
1251
|
-
`, isInline: true, components: [{ type: DbxSidenavPagebarComponent, selector: "dbx-sidenav-pagebar" }], directives: [{ type: i3
|
|
1252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1754
|
+
`, isInline: true, components: [{ type: DbxSidenavPagebarComponent, selector: "dbx-sidenav-pagebar" }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i3.AsyncPipe } });
|
|
1755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavPageComponent, decorators: [{
|
|
1253
1756
|
type: Component,
|
|
1254
1757
|
args: [{
|
|
1255
1758
|
selector: 'dbx-sidenav-page',
|
|
@@ -1271,134 +1774,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1271
1774
|
type: Input
|
|
1272
1775
|
}] } });
|
|
1273
1776
|
|
|
1274
|
-
var DbxButtonDisplayType;
|
|
1275
|
-
(function (DbxButtonDisplayType) {
|
|
1276
|
-
DbxButtonDisplayType[DbxButtonDisplayType["RAISED"] = 0] = "RAISED";
|
|
1277
|
-
DbxButtonDisplayType[DbxButtonDisplayType["STROKED"] = 1] = "STROKED";
|
|
1278
|
-
DbxButtonDisplayType[DbxButtonDisplayType["FLAT"] = 2] = "FLAT";
|
|
1279
|
-
})(DbxButtonDisplayType || (DbxButtonDisplayType = {}));
|
|
1280
|
-
/**
|
|
1281
|
-
* Complex button that supports loading states.
|
|
1282
|
-
*/
|
|
1283
|
-
class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
1284
|
-
constructor() {
|
|
1285
|
-
super(...arguments);
|
|
1286
|
-
this.color = 'primary';
|
|
1287
|
-
}
|
|
1288
|
-
get raised() {
|
|
1289
|
-
return this.type === DbxButtonDisplayType.RAISED;
|
|
1290
|
-
}
|
|
1291
|
-
set raised(raised) {
|
|
1292
|
-
if (raised) {
|
|
1293
|
-
this.type = DbxButtonDisplayType.RAISED;
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
get stroked() {
|
|
1297
|
-
return this.type === DbxButtonDisplayType.STROKED;
|
|
1298
|
-
}
|
|
1299
|
-
set stroked(stroked) {
|
|
1300
|
-
if (stroked) {
|
|
1301
|
-
this.type = DbxButtonDisplayType.STROKED;
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
get flat() {
|
|
1305
|
-
return this.type === DbxButtonDisplayType.FLAT;
|
|
1306
|
-
}
|
|
1307
|
-
set flat(flat) {
|
|
1308
|
-
if (flat) {
|
|
1309
|
-
this.type = DbxButtonDisplayType.FLAT;
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
get btnOptions() {
|
|
1313
|
-
var _a;
|
|
1314
|
-
const buttonIcon = (this.icon) ? {
|
|
1315
|
-
fontIcon: this.icon
|
|
1316
|
-
} : undefined;
|
|
1317
|
-
return {
|
|
1318
|
-
fab: false,
|
|
1319
|
-
active: this.working,
|
|
1320
|
-
buttonIcon,
|
|
1321
|
-
customClass: 'dbx-button ' + ((buttonIcon && !this.text) ? 'dbx-button-no-text' : ''),
|
|
1322
|
-
// buttonIcon: icon,
|
|
1323
|
-
text: (_a = this.text) !== null && _a !== void 0 ? _a : '',
|
|
1324
|
-
buttonColor: this.color,
|
|
1325
|
-
barColor: 'accent',
|
|
1326
|
-
raised: this.raised,
|
|
1327
|
-
stroked: this.stroked,
|
|
1328
|
-
flat: this.flat,
|
|
1329
|
-
mode: 'indeterminate',
|
|
1330
|
-
spinnerSize: 18,
|
|
1331
|
-
spinnerColor: 'accent',
|
|
1332
|
-
// Only disabled if we're not working, in order to show the animation.
|
|
1333
|
-
disabled: !this.working && this.disabled
|
|
1334
|
-
};
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
DbxButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1338
|
-
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: `
|
|
1339
|
-
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
1340
|
-
`, isInline: true, components: [{ type: i1$5.MatSpinnerButtonComponent, selector: "mat-spinner-button", inputs: ["options", "buttonId", "active", "disabled"], outputs: ["btnClick"] }] });
|
|
1341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonComponent, decorators: [{
|
|
1342
|
-
type: Component,
|
|
1343
|
-
args: [{
|
|
1344
|
-
selector: 'dbx-button',
|
|
1345
|
-
template: `
|
|
1346
|
-
<mat-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions"></mat-spinner-button>
|
|
1347
|
-
`,
|
|
1348
|
-
// TODO: styleUrls: ['./button.scss'],
|
|
1349
|
-
providers: ProvideDbxButton(DbxButtonComponent)
|
|
1350
|
-
}]
|
|
1351
|
-
}], propDecorators: { type: [{
|
|
1352
|
-
type: Input
|
|
1353
|
-
}], raised: [{
|
|
1354
|
-
type: Input
|
|
1355
|
-
}], stroked: [{
|
|
1356
|
-
type: Input
|
|
1357
|
-
}], flat: [{
|
|
1358
|
-
type: Input
|
|
1359
|
-
}], color: [{
|
|
1360
|
-
type: Input
|
|
1361
|
-
}] } });
|
|
1362
|
-
|
|
1363
|
-
class DbxButtonModule {
|
|
1364
|
-
}
|
|
1365
|
-
DbxButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1366
|
-
DbxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, declarations: [DbxButtonComponent,
|
|
1367
|
-
DbxButtonSpacerComponent], imports: [CommonModule,
|
|
1368
|
-
MatProgressButtonsModule], exports: [MatProgressButtonsModule,
|
|
1369
|
-
DbxButtonComponent,
|
|
1370
|
-
DbxButtonSpacerComponent] });
|
|
1371
|
-
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, imports: [[
|
|
1372
|
-
CommonModule,
|
|
1373
|
-
MatProgressButtonsModule
|
|
1374
|
-
], MatProgressButtonsModule] });
|
|
1375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxButtonModule, decorators: [{
|
|
1376
|
-
type: NgModule,
|
|
1377
|
-
args: [{
|
|
1378
|
-
imports: [
|
|
1379
|
-
CommonModule,
|
|
1380
|
-
MatProgressButtonsModule
|
|
1381
|
-
],
|
|
1382
|
-
declarations: [
|
|
1383
|
-
DbxButtonComponent,
|
|
1384
|
-
DbxButtonSpacerComponent
|
|
1385
|
-
],
|
|
1386
|
-
exports: [
|
|
1387
|
-
MatProgressButtonsModule,
|
|
1388
|
-
DbxButtonComponent,
|
|
1389
|
-
DbxButtonSpacerComponent
|
|
1390
|
-
],
|
|
1391
|
-
}]
|
|
1392
|
-
}] });
|
|
1393
|
-
|
|
1394
1777
|
/**
|
|
1395
1778
|
* Section used to elevate content in a pre-configured manner.
|
|
1396
1779
|
*/
|
|
1397
1780
|
class DbxContentElevateDirective {
|
|
1398
1781
|
}
|
|
1399
|
-
DbxContentElevateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1400
|
-
DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1782
|
+
DbxContentElevateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentElevateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1783
|
+
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 });
|
|
1784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentElevateDirective, decorators: [{
|
|
1402
1785
|
type: Directive,
|
|
1403
1786
|
args: [{
|
|
1404
1787
|
selector: 'dbx-content-elevate,[dbx-content-elevate]',
|
|
@@ -1413,9 +1796,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1413
1796
|
*/
|
|
1414
1797
|
class DbxContentDirective {
|
|
1415
1798
|
}
|
|
1416
|
-
DbxContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1417
|
-
DbxContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1799
|
+
DbxContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1800
|
+
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 });
|
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentDirective, decorators: [{
|
|
1419
1802
|
type: Directive,
|
|
1420
1803
|
args: [{
|
|
1421
1804
|
selector: 'dbx-content,[dbx-content]',
|
|
@@ -1430,9 +1813,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1430
1813
|
*/
|
|
1431
1814
|
class DbxContentBorderDirective {
|
|
1432
1815
|
}
|
|
1433
|
-
DbxContentBorderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1434
|
-
DbxContentBorderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1816
|
+
DbxContentBorderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBorderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1817
|
+
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 });
|
|
1818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBorderDirective, decorators: [{
|
|
1436
1819
|
type: Directive,
|
|
1437
1820
|
args: [{
|
|
1438
1821
|
selector: 'dbx-content-border,[dbx-content-border]',
|
|
@@ -1451,9 +1834,9 @@ class DbxContentContainerDirective {
|
|
|
1451
1834
|
this.padding = 'normal';
|
|
1452
1835
|
}
|
|
1453
1836
|
}
|
|
1454
|
-
DbxContentContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1455
|
-
DbxContentContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1837
|
+
DbxContentContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1838
|
+
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 });
|
|
1839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentContainerDirective, decorators: [{
|
|
1457
1840
|
type: Directive,
|
|
1458
1841
|
args: [{
|
|
1459
1842
|
selector: 'dbx-content-container,[dbx-content-container],.dbx-content-container',
|
|
@@ -1476,9 +1859,9 @@ class DbxContentBoxDirective {
|
|
|
1476
1859
|
this.elevated = true;
|
|
1477
1860
|
}
|
|
1478
1861
|
}
|
|
1479
|
-
DbxContentBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1480
|
-
DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1862
|
+
DbxContentBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBoxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1863
|
+
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 });
|
|
1864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentBoxDirective, decorators: [{
|
|
1482
1865
|
type: Directive,
|
|
1483
1866
|
args: [{
|
|
1484
1867
|
selector: 'dbx-content-box, [dbx-content-box]',
|
|
@@ -1496,9 +1879,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1496
1879
|
*/
|
|
1497
1880
|
class DbxContentPageDirective {
|
|
1498
1881
|
}
|
|
1499
|
-
DbxContentPageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1500
|
-
DbxContentPageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1882
|
+
DbxContentPageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentPageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1883
|
+
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 });
|
|
1884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentPageDirective, decorators: [{
|
|
1502
1885
|
type: Directive,
|
|
1503
1886
|
args: [{
|
|
1504
1887
|
selector: 'dbx-content-page,[dbx-content-page]',
|
|
@@ -1513,8 +1896,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1513
1896
|
*/
|
|
1514
1897
|
class DbxContentLayoutModule {
|
|
1515
1898
|
}
|
|
1516
|
-
DbxContentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1517
|
-
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1899
|
+
DbxContentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1900
|
+
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, declarations: [DbxContentDirective,
|
|
1518
1901
|
DbxContentContainerDirective,
|
|
1519
1902
|
DbxContentBorderDirective,
|
|
1520
1903
|
DbxContentElevateDirective,
|
|
@@ -1525,10 +1908,10 @@ DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
1525
1908
|
DbxContentElevateDirective,
|
|
1526
1909
|
DbxContentBoxDirective,
|
|
1527
1910
|
DbxContentPageDirective] });
|
|
1528
|
-
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1911
|
+
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, imports: [[
|
|
1529
1912
|
CommonModule
|
|
1530
1913
|
]] });
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxContentLayoutModule, decorators: [{
|
|
1532
1915
|
type: NgModule,
|
|
1533
1916
|
args: [{
|
|
1534
1917
|
imports: [
|
|
@@ -1555,8 +1938,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1555
1938
|
|
|
1556
1939
|
class DbxSidenavModule {
|
|
1557
1940
|
}
|
|
1558
|
-
DbxSidenavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1559
|
-
DbxSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1941
|
+
DbxSidenavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1942
|
+
DbxSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, declarations: [DbxSidenavComponent,
|
|
1560
1943
|
DbxSidenavButtonComponent,
|
|
1561
1944
|
DbxSidenavPagebarComponent,
|
|
1562
1945
|
DbxSidenavPageComponent], imports: [CommonModule,
|
|
@@ -1575,7 +1958,7 @@ DbxSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
1575
1958
|
DbxSidenavButtonComponent,
|
|
1576
1959
|
DbxSidenavPagebarComponent,
|
|
1577
1960
|
DbxSidenavPageComponent] });
|
|
1578
|
-
DbxSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1961
|
+
DbxSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, imports: [[
|
|
1579
1962
|
CommonModule,
|
|
1580
1963
|
DbxBarLayoutModule,
|
|
1581
1964
|
DbxAnchorModule,
|
|
@@ -1590,7 +1973,7 @@ DbxSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
1590
1973
|
MatDividerModule,
|
|
1591
1974
|
UIRouterModule
|
|
1592
1975
|
]] });
|
|
1593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSidenavModule, decorators: [{
|
|
1594
1977
|
type: NgModule,
|
|
1595
1978
|
args: [{
|
|
1596
1979
|
imports: [
|
|
@@ -1629,16 +2012,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1629
2012
|
|
|
1630
2013
|
class DbxRouterLayoutModule {
|
|
1631
2014
|
}
|
|
1632
|
-
DbxRouterLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1633
|
-
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2015
|
+
DbxRouterLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2016
|
+
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, exports: [DbxAnchorModule,
|
|
1634
2017
|
DbxAnchorListModule,
|
|
1635
2018
|
DbxNavbarModule,
|
|
1636
2019
|
DbxSidenavModule] });
|
|
1637
|
-
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2020
|
+
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, imports: [DbxAnchorModule,
|
|
1638
2021
|
DbxAnchorListModule,
|
|
1639
2022
|
DbxNavbarModule,
|
|
1640
2023
|
DbxSidenavModule] });
|
|
1641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxRouterLayoutModule, decorators: [{
|
|
1642
2025
|
type: NgModule,
|
|
1643
2026
|
args: [{
|
|
1644
2027
|
exports: [
|
|
@@ -1655,9 +2038,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1655
2038
|
*/
|
|
1656
2039
|
class DbxAngularRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
1657
2040
|
}
|
|
1658
|
-
DbxAngularRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1659
|
-
DbxAngularRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2041
|
+
DbxAngularRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2042
|
+
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 } });
|
|
2043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterSegueAnchorComponent, decorators: [{
|
|
1661
2044
|
type: Component,
|
|
1662
2045
|
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" }]
|
|
1663
2046
|
}] });
|
|
@@ -1679,16 +2062,16 @@ class DbxWebAngularRouterModule {
|
|
|
1679
2062
|
};
|
|
1680
2063
|
}
|
|
1681
2064
|
}
|
|
1682
|
-
DbxWebAngularRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1683
|
-
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2065
|
+
DbxWebAngularRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2066
|
+
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, declarations: [DbxAngularRouterSegueAnchorComponent], imports: [CommonModule,
|
|
1684
2067
|
UIRouterModule,
|
|
1685
2068
|
DbxInjectedComponentModule], exports: [DbxAngularRouterSegueAnchorComponent] });
|
|
1686
|
-
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2069
|
+
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, imports: [[
|
|
1687
2070
|
CommonModule,
|
|
1688
2071
|
UIRouterModule,
|
|
1689
2072
|
DbxInjectedComponentModule
|
|
1690
2073
|
]] });
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebAngularRouterModule, decorators: [{
|
|
1692
2075
|
type: NgModule,
|
|
1693
2076
|
args: [{
|
|
1694
2077
|
imports: [
|
|
@@ -1706,9 +2089,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1706
2089
|
*/
|
|
1707
2090
|
class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
1708
2091
|
}
|
|
1709
|
-
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1710
|
-
DbxUIRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2092
|
+
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2093
|
+
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 } });
|
|
2094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, decorators: [{
|
|
1712
2095
|
type: Component,
|
|
1713
2096
|
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" }]
|
|
1714
2097
|
}] });
|
|
@@ -1730,16 +2113,16 @@ class DbxWebUIRouterModule {
|
|
|
1730
2113
|
};
|
|
1731
2114
|
}
|
|
1732
2115
|
}
|
|
1733
|
-
DbxWebUIRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1734
|
-
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2116
|
+
DbxWebUIRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2117
|
+
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, declarations: [DbxUIRouterSegueAnchorComponent], imports: [CommonModule,
|
|
1735
2118
|
UIRouterModule,
|
|
1736
2119
|
DbxInjectedComponentModule], exports: [DbxUIRouterSegueAnchorComponent] });
|
|
1737
|
-
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2120
|
+
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, imports: [[
|
|
1738
2121
|
CommonModule,
|
|
1739
2122
|
UIRouterModule,
|
|
1740
2123
|
DbxInjectedComponentModule
|
|
1741
2124
|
]] });
|
|
1742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebUIRouterModule, decorators: [{
|
|
1743
2126
|
type: NgModule,
|
|
1744
2127
|
args: [{
|
|
1745
2128
|
imports: [
|
|
@@ -1773,8 +2156,8 @@ class DbxTwoBlocksComponent {
|
|
|
1773
2156
|
element.style.setProperty('--two-block-top-height', `${height}px`);
|
|
1774
2157
|
}
|
|
1775
2158
|
}
|
|
1776
|
-
DbxTwoBlocksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1777
|
-
DbxTwoBlocksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2159
|
+
DbxTwoBlocksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoBlocksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2160
|
+
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: `
|
|
1778
2161
|
<div #two class="dbx-two-block">
|
|
1779
2162
|
<div #top class="dbx-two-block-top" (resized)="onResized($event)">
|
|
1780
2163
|
<ng-content select="[top]"></ng-content>
|
|
@@ -1783,8 +2166,8 @@ DbxTwoBlocksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1783
2166
|
<ng-content></ng-content>
|
|
1784
2167
|
</div>
|
|
1785
2168
|
</div>
|
|
1786
|
-
`, isInline: true, directives: [{ type: i1$
|
|
1787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2169
|
+
`, isInline: true, directives: [{ type: i1$8.ResizedDirective, selector: "[resized]", outputs: ["resized"] }] });
|
|
2170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoBlocksComponent, decorators: [{
|
|
1788
2171
|
type: Component,
|
|
1789
2172
|
args: [{
|
|
1790
2173
|
selector: 'dbx-two-block',
|
|
@@ -1809,16 +2192,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1809
2192
|
*/
|
|
1810
2193
|
class DbxBlockLayoutModule {
|
|
1811
2194
|
}
|
|
1812
|
-
DbxBlockLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1813
|
-
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2195
|
+
DbxBlockLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2196
|
+
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, declarations: [DbxTwoBlocksComponent], imports: [CommonModule,
|
|
1814
2197
|
DbxAnchorModule,
|
|
1815
2198
|
AngularResizeEventModule], exports: [DbxTwoBlocksComponent] });
|
|
1816
|
-
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2199
|
+
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, imports: [[
|
|
1817
2200
|
CommonModule,
|
|
1818
2201
|
DbxAnchorModule,
|
|
1819
2202
|
AngularResizeEventModule
|
|
1820
2203
|
]] });
|
|
1821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBlockLayoutModule, decorators: [{
|
|
1822
2205
|
type: NgModule,
|
|
1823
2206
|
args: [{
|
|
1824
2207
|
imports: [
|
|
@@ -1840,8 +2223,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1840
2223
|
*/
|
|
1841
2224
|
class DbxCardBoxComponent {
|
|
1842
2225
|
}
|
|
1843
|
-
DbxCardBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1844
|
-
DbxCardBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2226
|
+
DbxCardBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2227
|
+
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: `
|
|
1845
2228
|
<div class="dbx-card-box">
|
|
1846
2229
|
<div class="dbx-section-header">
|
|
1847
2230
|
<div class="dbx-section-header-content">
|
|
@@ -1854,8 +2237,8 @@ DbxCardBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
1854
2237
|
<ng-content></ng-content>
|
|
1855
2238
|
</div>
|
|
1856
2239
|
</div>
|
|
1857
|
-
`, isInline: true, components: [{ type:
|
|
1858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2240
|
+
`, 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"] }] });
|
|
2241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxComponent, decorators: [{
|
|
1859
2242
|
type: Component,
|
|
1860
2243
|
args: [{
|
|
1861
2244
|
selector: 'dbx-card-box',
|
|
@@ -1885,13 +2268,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1885
2268
|
*/
|
|
1886
2269
|
class DbxCardBoxContainerComponent {
|
|
1887
2270
|
}
|
|
1888
|
-
DbxCardBoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1889
|
-
DbxCardBoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2271
|
+
DbxCardBoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2272
|
+
DbxCardBoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxCardBoxContainerComponent, selector: "dbx-card-box-container", ngImport: i0, template: `
|
|
1890
2273
|
<div class="dbx-card-box-container">
|
|
1891
2274
|
<ng-content></ng-content>
|
|
1892
2275
|
</div>
|
|
1893
2276
|
`, isInline: true });
|
|
1894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxContainerComponent, decorators: [{
|
|
1895
2278
|
type: Component,
|
|
1896
2279
|
args: [{
|
|
1897
2280
|
selector: 'dbx-card-box-container',
|
|
@@ -1905,16 +2288,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1905
2288
|
|
|
1906
2289
|
class DbxCardBoxLayoutModule {
|
|
1907
2290
|
}
|
|
1908
|
-
DbxCardBoxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1909
|
-
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2291
|
+
DbxCardBoxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2292
|
+
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, declarations: [DbxCardBoxComponent,
|
|
1910
2293
|
DbxCardBoxContainerComponent], imports: [CommonModule,
|
|
1911
2294
|
MatIconModule], exports: [DbxCardBoxComponent,
|
|
1912
2295
|
DbxCardBoxContainerComponent] });
|
|
1913
|
-
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2296
|
+
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, imports: [[
|
|
1914
2297
|
CommonModule,
|
|
1915
2298
|
MatIconModule
|
|
1916
2299
|
]] });
|
|
1917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCardBoxLayoutModule, decorators: [{
|
|
1918
2301
|
type: NgModule,
|
|
1919
2302
|
args: [{
|
|
1920
2303
|
imports: [
|
|
@@ -1944,23 +2327,23 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
1944
2327
|
/**
|
|
1945
2328
|
* Pipes the current state of showRight.
|
|
1946
2329
|
*/
|
|
1947
|
-
this.showRight$ = this.state$.pipe(map
|
|
2330
|
+
this.showRight$ = this.state$.pipe(map((x) => x.showRight));
|
|
1948
2331
|
/**
|
|
1949
2332
|
* Convenience function for the showRight compliment.
|
|
1950
2333
|
*/
|
|
1951
|
-
this.hideRight$ = this.state$.pipe(map
|
|
2334
|
+
this.hideRight$ = this.state$.pipe(map((x) => !x.showRight));
|
|
1952
2335
|
/**
|
|
1953
2336
|
* Pipes the current state of fullLeft.
|
|
1954
2337
|
*/
|
|
1955
|
-
this.fullLeft$ = this.state$.pipe(map
|
|
2338
|
+
this.fullLeft$ = this.state$.pipe(map((x) => x.fullLeft));
|
|
1956
2339
|
/**
|
|
1957
2340
|
* Whether or not to show the full left.
|
|
1958
2341
|
*/
|
|
1959
|
-
this.showFullLeft$ = this.state$.pipe(map
|
|
2342
|
+
this.showFullLeft$ = this.state$.pipe(map((x) => !x.showRight && x.fullLeft));
|
|
1960
2343
|
/**
|
|
1961
2344
|
* Pipes the current backRef value.
|
|
1962
2345
|
*/
|
|
1963
|
-
this.backRef$ = this.state$.pipe(map
|
|
2346
|
+
this.backRef$ = this.state$.pipe(map((x) => x.backRef), distinct());
|
|
1964
2347
|
/**
|
|
1965
2348
|
* Emits back events.
|
|
1966
2349
|
*/
|
|
@@ -1995,9 +2378,9 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
1995
2378
|
this._back.complete();
|
|
1996
2379
|
}
|
|
1997
2380
|
}
|
|
1998
|
-
TwoColumnsContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1999
|
-
TwoColumnsContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
2000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2381
|
+
TwoColumnsContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TwoColumnsContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2382
|
+
TwoColumnsContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TwoColumnsContextStore });
|
|
2383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TwoColumnsContextStore, decorators: [{
|
|
2001
2384
|
type: Injectable
|
|
2002
2385
|
}], ctorParameters: function () { return []; } });
|
|
2003
2386
|
function ProvideTwoColumnsContext() {
|
|
@@ -2023,9 +2406,9 @@ class DbxTwoColumnsBackDirective extends AbstractSubscriptionDirective {
|
|
|
2023
2406
|
this.twoColumnsContextStore.back();
|
|
2024
2407
|
}
|
|
2025
2408
|
}
|
|
2026
|
-
DbxTwoColumnsBackDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2027
|
-
DbxTwoColumnsBackDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2409
|
+
DbxTwoColumnsBackDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsBackDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2410
|
+
DbxTwoColumnsBackDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsBackDirective, selector: "[dbxTwoColumnsBack]", outputs: { back: "dbxTwoColumnsBack" }, usesInheritance: true, ngImport: i0 });
|
|
2411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsBackDirective, decorators: [{
|
|
2029
2412
|
type: Directive,
|
|
2030
2413
|
args: [{
|
|
2031
2414
|
selector: '[dbxTwoColumnsBack]'
|
|
@@ -2052,9 +2435,9 @@ class DbxTwoColumnsComponent {
|
|
|
2052
2435
|
this.inSectionPage = false;
|
|
2053
2436
|
}
|
|
2054
2437
|
}
|
|
2055
|
-
DbxTwoColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2056
|
-
DbxTwoColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2438
|
+
DbxTwoColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2439
|
+
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 } });
|
|
2440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsComponent, decorators: [{
|
|
2058
2441
|
type: Component,
|
|
2059
2442
|
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" }]
|
|
2060
2443
|
}], ctorParameters: function () {
|
|
@@ -2091,9 +2474,9 @@ class DbxTwoColumnsFullLeftDirective {
|
|
|
2091
2474
|
this._fullLeft.complete();
|
|
2092
2475
|
}
|
|
2093
2476
|
}
|
|
2094
|
-
DbxTwoColumnsFullLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2095
|
-
DbxTwoColumnsFullLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2477
|
+
DbxTwoColumnsFullLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsFullLeftDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2478
|
+
DbxTwoColumnsFullLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsFullLeftDirective, selector: "[dbxTwoColumnsFullLeft]", inputs: { fullLeft: ["dbxTwoColumnsFullLeft", "fullLeft"] }, ngImport: i0 });
|
|
2479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsFullLeftDirective, decorators: [{
|
|
2097
2480
|
type: Directive,
|
|
2098
2481
|
args: [{
|
|
2099
2482
|
selector: '[dbxTwoColumnsFullLeft]'
|
|
@@ -2108,13 +2491,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2108
2491
|
*/
|
|
2109
2492
|
class DbxTwoColumnsColumnHeadComponent {
|
|
2110
2493
|
}
|
|
2111
|
-
DbxTwoColumnsColumnHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2112
|
-
DbxTwoColumnsColumnHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2494
|
+
DbxTwoColumnsColumnHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsColumnHeadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2495
|
+
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: `
|
|
2113
2496
|
<div class="dbx-two-columns-head" [ngClass]="{ 'block': block, 'full': full }">
|
|
2114
2497
|
<ng-content></ng-content>
|
|
2115
2498
|
</div>
|
|
2116
|
-
`, isInline: true, directives: [{ type: i3
|
|
2117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2499
|
+
`, isInline: true, directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsColumnHeadComponent, decorators: [{
|
|
2118
2501
|
type: Component,
|
|
2119
2502
|
args: [{
|
|
2120
2503
|
selector: 'dbx-two-columns-head',
|
|
@@ -2146,9 +2529,9 @@ class DbxTwoColumnsSrefDirective {
|
|
|
2146
2529
|
this._twoColumnsContextStore.setBackRef(ref);
|
|
2147
2530
|
}
|
|
2148
2531
|
}
|
|
2149
|
-
DbxTwoColumnsSrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2150
|
-
DbxTwoColumnsSrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2532
|
+
DbxTwoColumnsSrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsSrefDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2533
|
+
DbxTwoColumnsSrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxTwoColumnsSrefDirective, selector: "[dbxTwoColumnsSref]", inputs: { refString: ["dbxTwoColumnsSref", "refString"], ref: "ref" }, ngImport: i0 });
|
|
2534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsSrefDirective, decorators: [{
|
|
2152
2535
|
type: Directive,
|
|
2153
2536
|
args: [{
|
|
2154
2537
|
selector: '[dbxTwoColumnsSref]'
|
|
@@ -2169,8 +2552,8 @@ class DbxTwoColumnsRightComponent {
|
|
|
2169
2552
|
this._showBack = new BehaviorSubject(true);
|
|
2170
2553
|
this.ref$ = this.twoColumnsContextStore.backRef$;
|
|
2171
2554
|
this.showBack$ = combineLatest([
|
|
2172
|
-
this._showBack, this.ref$.pipe(map
|
|
2173
|
-
]).pipe(map
|
|
2555
|
+
this._showBack, this.ref$.pipe(map((x) => !Boolean(x))) // TODO: Is this correct? Show back if ref is not defined?
|
|
2556
|
+
]).pipe(map(([a, b]) => a && b));
|
|
2174
2557
|
}
|
|
2175
2558
|
ngAfterViewInit() {
|
|
2176
2559
|
setTimeout(() => {
|
|
@@ -2190,9 +2573,9 @@ class DbxTwoColumnsRightComponent {
|
|
|
2190
2573
|
this.twoColumnsContextStore.back();
|
|
2191
2574
|
}
|
|
2192
2575
|
}
|
|
2193
|
-
DbxTwoColumnsRightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2194
|
-
DbxTwoColumnsRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2576
|
+
DbxTwoColumnsRightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsRightComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2577
|
+
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 } });
|
|
2578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnsRightComponent, decorators: [{
|
|
2196
2579
|
type: Component,
|
|
2197
2580
|
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" }]
|
|
2198
2581
|
}], ctorParameters: function () {
|
|
@@ -2208,8 +2591,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2208
2591
|
|
|
2209
2592
|
class DbxTwoColumnLayoutModule {
|
|
2210
2593
|
}
|
|
2211
|
-
DbxTwoColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2212
|
-
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2594
|
+
DbxTwoColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2595
|
+
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, declarations: [DbxTwoColumnsComponent,
|
|
2213
2596
|
DbxTwoColumnsRightComponent,
|
|
2214
2597
|
DbxTwoColumnsColumnHeadComponent,
|
|
2215
2598
|
DbxTwoColumnsSrefDirective,
|
|
@@ -2224,14 +2607,14 @@ DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0"
|
|
|
2224
2607
|
DbxTwoColumnsSrefDirective,
|
|
2225
2608
|
DbxTwoColumnsBackDirective,
|
|
2226
2609
|
DbxTwoColumnsFullLeftDirective] });
|
|
2227
|
-
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2610
|
+
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, imports: [[
|
|
2228
2611
|
CommonModule,
|
|
2229
2612
|
MatIconModule,
|
|
2230
2613
|
MatButtonModule,
|
|
2231
2614
|
DbxAnchorModule,
|
|
2232
2615
|
DbxContentLayoutModule
|
|
2233
2616
|
]] });
|
|
2234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTwoColumnLayoutModule, decorators: [{
|
|
2235
2618
|
type: NgModule,
|
|
2236
2619
|
args: [{
|
|
2237
2620
|
imports: [
|
|
@@ -2270,8 +2653,8 @@ class DbxOneColumnComponent {
|
|
|
2270
2653
|
twoColumnsContextStore.setFullLeft(true);
|
|
2271
2654
|
}
|
|
2272
2655
|
}
|
|
2273
|
-
DbxOneColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2274
|
-
DbxOneColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2656
|
+
DbxOneColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2657
|
+
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: `
|
|
2275
2658
|
<ng-container>
|
|
2276
2659
|
<dbx-two-columns [inSectionPage]="inSectionPage">
|
|
2277
2660
|
<ng-content top select="[top]"></ng-content>
|
|
@@ -2279,7 +2662,7 @@ DbxOneColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
2279
2662
|
</dbx-two-columns>
|
|
2280
2663
|
</ng-container>
|
|
2281
2664
|
`, isInline: true, components: [{ type: DbxTwoColumnsComponent, selector: "dbx-two-columns", inputs: ["reverseSizing", "inSectionPage"], exportAs: ["columns"] }] });
|
|
2282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnComponent, decorators: [{
|
|
2283
2666
|
type: Component,
|
|
2284
2667
|
args: [{
|
|
2285
2668
|
selector: 'dbx-one-column',
|
|
@@ -2305,14 +2688,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2305
2688
|
|
|
2306
2689
|
class DbxOneColumnLayoutModule {
|
|
2307
2690
|
}
|
|
2308
|
-
DbxOneColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2309
|
-
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2691
|
+
DbxOneColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2692
|
+
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, declarations: [DbxOneColumnComponent], imports: [CommonModule,
|
|
2310
2693
|
DbxTwoColumnLayoutModule], exports: [DbxOneColumnComponent] });
|
|
2311
|
-
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2694
|
+
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, imports: [[
|
|
2312
2695
|
CommonModule,
|
|
2313
2696
|
DbxTwoColumnLayoutModule
|
|
2314
2697
|
]] });
|
|
2315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOneColumnLayoutModule, decorators: [{
|
|
2316
2699
|
type: NgModule,
|
|
2317
2700
|
args: [{
|
|
2318
2701
|
imports: [
|
|
@@ -2330,12 +2713,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2330
2713
|
|
|
2331
2714
|
class DbxColumnLayoutModule {
|
|
2332
2715
|
}
|
|
2333
|
-
DbxColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2334
|
-
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2716
|
+
DbxColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2717
|
+
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, exports: [DbxOneColumnLayoutModule,
|
|
2335
2718
|
DbxTwoColumnLayoutModule] });
|
|
2336
|
-
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2719
|
+
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, imports: [DbxOneColumnLayoutModule,
|
|
2337
2720
|
DbxTwoColumnLayoutModule] });
|
|
2338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxColumnLayoutModule, decorators: [{
|
|
2339
2722
|
type: NgModule,
|
|
2340
2723
|
args: [{
|
|
2341
2724
|
exports: [
|
|
@@ -2359,7 +2742,7 @@ function compactModeFromInput(input) {
|
|
|
2359
2742
|
function mapCompactModeObs(mode$, config) {
|
|
2360
2743
|
var _a;
|
|
2361
2744
|
const modeObs = mode$ !== null && mode$ !== void 0 ? mode$ : of((_a = config.defaultMode) !== null && _a !== void 0 ? _a : CompactMode.FULL);
|
|
2362
|
-
return modeObs.pipe(map
|
|
2745
|
+
return modeObs.pipe(map((inputMode) => {
|
|
2363
2746
|
const isCompact = ((inputMode !== null && inputMode !== void 0 ? inputMode : config.defaultMode) === CompactMode.COMPACT);
|
|
2364
2747
|
if (isCompact) {
|
|
2365
2748
|
return config.compact;
|
|
@@ -2374,13 +2757,13 @@ class CompactContextStore extends ComponentStore {
|
|
|
2374
2757
|
constructor() {
|
|
2375
2758
|
super({ mode: CompactMode.FULL });
|
|
2376
2759
|
// MARK: Accessors
|
|
2377
|
-
this.mode$ = this.state$.pipe(map
|
|
2760
|
+
this.mode$ = this.state$.pipe(map(x => x.mode));
|
|
2378
2761
|
this.setMode = this.updater((state, mode) => ({ mode: compactModeFromInput(mode) }));
|
|
2379
2762
|
}
|
|
2380
2763
|
}
|
|
2381
|
-
CompactContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2382
|
-
CompactContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
2383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2764
|
+
CompactContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CompactContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2765
|
+
CompactContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CompactContextStore });
|
|
2766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CompactContextStore, decorators: [{
|
|
2384
2767
|
type: Injectable
|
|
2385
2768
|
}], ctorParameters: function () { return []; } });
|
|
2386
2769
|
|
|
@@ -2396,9 +2779,9 @@ class DbxCompactDirective {
|
|
|
2396
2779
|
this.compactContextStore.setMode(mode);
|
|
2397
2780
|
}
|
|
2398
2781
|
}
|
|
2399
|
-
DbxCompactDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2400
|
-
DbxCompactDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2782
|
+
DbxCompactDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactDirective, deps: [{ token: CompactContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2783
|
+
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 });
|
|
2784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactDirective, decorators: [{
|
|
2402
2785
|
type: Directive,
|
|
2403
2786
|
args: [{
|
|
2404
2787
|
selector: '[dbxCompact]',
|
|
@@ -2415,12 +2798,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2415
2798
|
*/
|
|
2416
2799
|
class DbxCompactLayoutModule {
|
|
2417
2800
|
}
|
|
2418
|
-
DbxCompactLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2419
|
-
DbxCompactLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2420
|
-
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2801
|
+
DbxCompactLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2802
|
+
DbxCompactLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, declarations: [DbxCompactDirective], imports: [CommonModule], exports: [DbxCompactDirective] });
|
|
2803
|
+
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, imports: [[
|
|
2421
2804
|
CommonModule
|
|
2422
2805
|
]] });
|
|
2423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCompactLayoutModule, decorators: [{
|
|
2424
2807
|
type: NgModule,
|
|
2425
2808
|
args: [{
|
|
2426
2809
|
imports: [
|
|
@@ -2443,15 +2826,15 @@ class DbxFlagComponent {
|
|
|
2443
2826
|
this.color = 'accent';
|
|
2444
2827
|
}
|
|
2445
2828
|
}
|
|
2446
|
-
DbxFlagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2447
|
-
DbxFlagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2829
|
+
DbxFlagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2830
|
+
DbxFlagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxFlagComponent, selector: "dbx-flag", inputs: { color: "color" }, ngImport: i0, template: `
|
|
2448
2831
|
<div class="dbx-flag">
|
|
2449
2832
|
<mat-toolbar [color]="color">
|
|
2450
2833
|
<ng-content></ng-content>
|
|
2451
2834
|
</mat-toolbar>
|
|
2452
2835
|
</div>
|
|
2453
|
-
`, isInline: true, components: [{ type: i1$
|
|
2454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2836
|
+
`, isInline: true, components: [{ type: i1$5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }] });
|
|
2837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagComponent, decorators: [{
|
|
2455
2838
|
type: Component,
|
|
2456
2839
|
args: [{
|
|
2457
2840
|
selector: 'dbx-flag',
|
|
@@ -2476,15 +2859,15 @@ class DbxFlagPromptComponent {
|
|
|
2476
2859
|
this.color = 'accent';
|
|
2477
2860
|
}
|
|
2478
2861
|
}
|
|
2479
|
-
DbxFlagPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2480
|
-
DbxFlagPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2862
|
+
DbxFlagPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagPromptComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2863
|
+
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: `
|
|
2481
2864
|
<dbx-flag [color]="color">
|
|
2482
2865
|
<span class="dbx-flag-prompt">{{ text }}</span>
|
|
2483
2866
|
<span class="dbx-flag-spacer"></span>
|
|
2484
2867
|
<ng-content></ng-content>
|
|
2485
2868
|
</dbx-flag>
|
|
2486
2869
|
`, isInline: true, components: [{ type: DbxFlagComponent, selector: "dbx-flag", inputs: ["color"] }] });
|
|
2487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagPromptComponent, decorators: [{
|
|
2488
2871
|
type: Component,
|
|
2489
2872
|
args: [{
|
|
2490
2873
|
selector: 'dbx-flag-prompt',
|
|
@@ -2508,16 +2891,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2508
2891
|
*/
|
|
2509
2892
|
class DbxFlagLayoutModule {
|
|
2510
2893
|
}
|
|
2511
|
-
DbxFlagLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2512
|
-
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2894
|
+
DbxFlagLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2895
|
+
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, declarations: [DbxFlagComponent,
|
|
2513
2896
|
DbxFlagPromptComponent], imports: [CommonModule,
|
|
2514
2897
|
MatToolbarModule], exports: [DbxFlagComponent,
|
|
2515
2898
|
DbxFlagPromptComponent] });
|
|
2516
|
-
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2899
|
+
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, imports: [[
|
|
2517
2900
|
CommonModule,
|
|
2518
2901
|
MatToolbarModule
|
|
2519
2902
|
]] });
|
|
2520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlagLayoutModule, decorators: [{
|
|
2521
2904
|
type: NgModule,
|
|
2522
2905
|
args: [{
|
|
2523
2906
|
imports: [
|
|
@@ -2547,7 +2930,7 @@ class DbxFlexGroupDirective extends AbstractSubscriptionDirective {
|
|
|
2547
2930
|
this.relative = false;
|
|
2548
2931
|
this._small = false;
|
|
2549
2932
|
this._breakpoint = new BehaviorSubject('tablet');
|
|
2550
|
-
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map(x => !x), distinctUntilChanged(), shareReplay(1));
|
|
2933
|
+
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map$1(x => !x), distinctUntilChanged(), shareReplay(1));
|
|
2551
2934
|
}
|
|
2552
2935
|
get small() {
|
|
2553
2936
|
return this._small;
|
|
@@ -2562,9 +2945,9 @@ class DbxFlexGroupDirective extends AbstractSubscriptionDirective {
|
|
|
2562
2945
|
this._breakpoint.next(breakpoint !== null && breakpoint !== void 0 ? breakpoint : 'tablet');
|
|
2563
2946
|
}
|
|
2564
2947
|
}
|
|
2565
|
-
DbxFlexGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2566
|
-
DbxFlexGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2948
|
+
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 });
|
|
2949
|
+
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 });
|
|
2950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexGroupDirective, decorators: [{
|
|
2568
2951
|
type: Directive,
|
|
2569
2952
|
args: [{
|
|
2570
2953
|
selector: '[dbxFlexGroup]',
|
|
@@ -2590,9 +2973,9 @@ class DbxFlexSizeDirective {
|
|
|
2590
2973
|
this.size = 1;
|
|
2591
2974
|
}
|
|
2592
2975
|
}
|
|
2593
|
-
DbxFlexSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2594
|
-
DbxFlexSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2976
|
+
DbxFlexSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2977
|
+
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 });
|
|
2978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexSizeDirective, decorators: [{
|
|
2596
2979
|
type: Directive,
|
|
2597
2980
|
args: [{
|
|
2598
2981
|
selector: '[dbxFlexSize]',
|
|
@@ -2607,14 +2990,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2607
2990
|
|
|
2608
2991
|
class DbxFlexLayoutModule {
|
|
2609
2992
|
}
|
|
2610
|
-
DbxFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2611
|
-
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
2993
|
+
DbxFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2994
|
+
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, declarations: [DbxFlexGroupDirective,
|
|
2612
2995
|
DbxFlexSizeDirective], imports: [CommonModule], exports: [DbxFlexGroupDirective,
|
|
2613
2996
|
DbxFlexSizeDirective] });
|
|
2614
|
-
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
2997
|
+
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, imports: [[
|
|
2615
2998
|
CommonModule
|
|
2616
2999
|
]] });
|
|
2617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFlexLayoutModule, decorators: [{
|
|
2618
3001
|
type: NgModule,
|
|
2619
3002
|
args: [{
|
|
2620
3003
|
imports: [
|
|
@@ -2636,8 +3019,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2636
3019
|
*/
|
|
2637
3020
|
class DbxIconItemComponent {
|
|
2638
3021
|
}
|
|
2639
|
-
DbxIconItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2640
|
-
DbxIconItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3022
|
+
DbxIconItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3023
|
+
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: `
|
|
2641
3024
|
<div class="dbx-icon-item">
|
|
2642
3025
|
<div class="left">
|
|
2643
3026
|
<mat-icon>{{ icon }}</mat-icon>
|
|
@@ -2649,8 +3032,8 @@ DbxIconItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2649
3032
|
</div>
|
|
2650
3033
|
</div>
|
|
2651
3034
|
</div>
|
|
2652
|
-
`, isInline: true, components: [{ type:
|
|
2653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3035
|
+
`, 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"] }] });
|
|
3036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconItemComponent, decorators: [{
|
|
2654
3037
|
type: Component,
|
|
2655
3038
|
args: [{
|
|
2656
3039
|
selector: 'dbx-icon-item',
|
|
@@ -2676,14 +3059,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2676
3059
|
|
|
2677
3060
|
class DbxItemLayoutModule {
|
|
2678
3061
|
}
|
|
2679
|
-
DbxItemLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2680
|
-
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
3062
|
+
DbxItemLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3063
|
+
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, declarations: [DbxIconItemComponent], imports: [CommonModule,
|
|
2681
3064
|
MatIconModule], exports: [DbxIconItemComponent] });
|
|
2682
|
-
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
3065
|
+
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, imports: [[
|
|
2683
3066
|
CommonModule,
|
|
2684
3067
|
MatIconModule
|
|
2685
3068
|
]] });
|
|
2686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxItemLayoutModule, decorators: [{
|
|
2687
3070
|
type: NgModule,
|
|
2688
3071
|
args: [{
|
|
2689
3072
|
imports: [
|
|
@@ -2704,13 +3087,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2704
3087
|
*/
|
|
2705
3088
|
class DbxListEmptyContentComponent {
|
|
2706
3089
|
}
|
|
2707
|
-
DbxListEmptyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2708
|
-
DbxListEmptyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3090
|
+
DbxListEmptyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListEmptyContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3091
|
+
DbxListEmptyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content", ngImport: i0, template: `
|
|
2709
3092
|
<div class="dbx-list-empty-content">
|
|
2710
3093
|
<ng-content></ng-content>
|
|
2711
3094
|
</div>
|
|
2712
3095
|
`, isInline: true });
|
|
2713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListEmptyContentComponent, decorators: [{
|
|
2714
3097
|
type: Component,
|
|
2715
3098
|
args: [{
|
|
2716
3099
|
selector: 'dbx-list-empty-content',
|
|
@@ -2747,8 +3130,8 @@ class DbxLoadingProgressComponent {
|
|
|
2747
3130
|
return this.mode;
|
|
2748
3131
|
}
|
|
2749
3132
|
}
|
|
2750
|
-
DbxLoadingProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2751
|
-
DbxLoadingProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3133
|
+
DbxLoadingProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3134
|
+
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: `
|
|
2752
3135
|
<div class="loading-progress-view">
|
|
2753
3136
|
<ng-container [ngSwitch]="linear">
|
|
2754
3137
|
<mat-progress-bar *ngSwitchCase="true" [mode]="bmode" [color]="color" [bufferValue]="bufferValue" [value]="value" style="margin: auto;"></mat-progress-bar>
|
|
@@ -2756,8 +3139,8 @@ DbxLoadingProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2756
3139
|
</ng-container>
|
|
2757
3140
|
<div *ngIf="text" class="hint">{{ text }}</div>
|
|
2758
3141
|
</div>
|
|
2759
|
-
`, isInline: true, components: [{ type: i1$
|
|
2760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3142
|
+
`, 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"] }] });
|
|
3143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingProgressComponent, decorators: [{
|
|
2761
3144
|
type: Component,
|
|
2762
3145
|
args: [{
|
|
2763
3146
|
selector: 'dbx-loading-progress',
|
|
@@ -2802,9 +3185,9 @@ class DbxReadableErrorComponent {
|
|
|
2802
3185
|
return (_a = this._error) === null || _a === void 0 ? void 0 : _a.message;
|
|
2803
3186
|
}
|
|
2804
3187
|
}
|
|
2805
|
-
DbxReadableErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2806
|
-
DbxReadableErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3188
|
+
DbxReadableErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3189
|
+
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"] }] });
|
|
3190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorComponent, decorators: [{
|
|
2808
3191
|
type: Component,
|
|
2809
3192
|
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" }]
|
|
2810
3193
|
}], propDecorators: { error: [{
|
|
@@ -2831,7 +3214,7 @@ class DbxBasicLoadingComponent {
|
|
|
2831
3214
|
this._error = new BehaviorSubject(undefined);
|
|
2832
3215
|
this._customErrorContent = new BehaviorSubject(undefined);
|
|
2833
3216
|
this._customLoadingContent = new BehaviorSubject(undefined);
|
|
2834
|
-
this.state$ = combineLatest([this._loading, this._show, this._error]).pipe(map(([loading, show, error]) => {
|
|
3217
|
+
this.state$ = combineLatest([this._loading, this._show, this._error]).pipe(map$1(([loading, show, error]) => {
|
|
2835
3218
|
let state;
|
|
2836
3219
|
if (error) {
|
|
2837
3220
|
state = LoadingComponentState.ERROR;
|
|
@@ -2848,8 +3231,8 @@ class DbxBasicLoadingComponent {
|
|
|
2848
3231
|
return state;
|
|
2849
3232
|
}), distinctUntilChanged(), startWith(LoadingComponentState.NONE), shareReplay(1));
|
|
2850
3233
|
this.error$ = this._error.asObservable();
|
|
2851
|
-
this.hasNoCustomError$ = this._customErrorContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
2852
|
-
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
3234
|
+
this.hasNoCustomError$ = this._customErrorContent.pipe(map$1(x => !checkNgContentWrapperHasContent(x)));
|
|
3235
|
+
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map$1(x => !checkNgContentWrapperHasContent(x)));
|
|
2853
3236
|
this.mode = 'indeterminate';
|
|
2854
3237
|
this.color = 'primary';
|
|
2855
3238
|
this.linear = false;
|
|
@@ -2890,9 +3273,9 @@ class DbxBasicLoadingComponent {
|
|
|
2890
3273
|
}, 0);
|
|
2891
3274
|
}
|
|
2892
3275
|
}
|
|
2893
|
-
DbxBasicLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2894
|
-
DbxBasicLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3276
|
+
DbxBasicLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBasicLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3277
|
+
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 } });
|
|
3278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxBasicLoadingComponent, decorators: [{
|
|
2896
3279
|
type: Component,
|
|
2897
3280
|
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" }]
|
|
2898
3281
|
}], propDecorators: { diameter: [{
|
|
@@ -2927,7 +3310,7 @@ class DbxLoadingComponent {
|
|
|
2927
3310
|
this._context = new BehaviorSubject(undefined);
|
|
2928
3311
|
this._inputLoading = new BehaviorSubject(true);
|
|
2929
3312
|
this._inputError = new BehaviorSubject(undefined);
|
|
2930
|
-
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap(x => (x != null) ? x.stream$ : of(undefined)))]).pipe(map(([inputLoading, inputError, loadingState]) => {
|
|
3313
|
+
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap(x => (x != null) ? x.stream$ : of(undefined)))]).pipe(map$1(([inputLoading, inputError, loadingState]) => {
|
|
2931
3314
|
if (loadingState) {
|
|
2932
3315
|
return loadingState;
|
|
2933
3316
|
}
|
|
@@ -2938,8 +3321,8 @@ class DbxLoadingComponent {
|
|
|
2938
3321
|
};
|
|
2939
3322
|
}
|
|
2940
3323
|
}), distinctUntilChanged((a, b) => a.loading === b.loading && a.error === b.error), shareReplay(1));
|
|
2941
|
-
this.loading$ = this.state$.pipe(map(x => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
2942
|
-
this.error$ = this.state$.pipe(map(x => x.error), distinctUntilChanged(), shareReplay(1));
|
|
3324
|
+
this.loading$ = this.state$.pipe(map$1(x => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
3325
|
+
this.error$ = this.state$.pipe(map$1(x => x.error), distinctUntilChanged(), shareReplay(1));
|
|
2943
3326
|
this.mode = 'indeterminate';
|
|
2944
3327
|
this.color = 'primary';
|
|
2945
3328
|
}
|
|
@@ -2967,16 +3350,16 @@ class DbxLoadingComponent {
|
|
|
2967
3350
|
this._inputError.next(error);
|
|
2968
3351
|
}
|
|
2969
3352
|
}
|
|
2970
|
-
DbxLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2971
|
-
DbxLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3353
|
+
DbxLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3354
|
+
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: `
|
|
2972
3355
|
<dbx-basic-loading [show]="show" [color]="color" [text]="text" [mode]="mode" [linear]="linear" [diameter]="diameter" [error]="error$ | async" [loading]="loading$ | async">
|
|
2973
3356
|
<ng-content loading select="[loading]"></ng-content>
|
|
2974
3357
|
<ng-content></ng-content>
|
|
2975
3358
|
<ng-content error select="[error]"></ng-content>
|
|
2976
3359
|
<ng-content errorAction select="[errorAction]"></ng-content>
|
|
2977
3360
|
</dbx-basic-loading>
|
|
2978
|
-
`, isInline: true, components: [{ type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: ["diameter", "mode", "color", "text", "linear", "show", "loading", "error"] }], pipes: { "async": i3
|
|
2979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3361
|
+
`, isInline: true, components: [{ type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: ["diameter", "mode", "color", "text", "linear", "show", "loading", "error"] }], pipes: { "async": i3.AsyncPipe } });
|
|
3362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingComponent, decorators: [{
|
|
2980
3363
|
type: Component,
|
|
2981
3364
|
args: [{
|
|
2982
3365
|
selector: 'dbx-loading',
|
|
@@ -3035,16 +3418,16 @@ class DbxListComponent {
|
|
|
3035
3418
|
this.context = new ListLoadingStateContextInstance({ showLoadingOnNoValue: false });
|
|
3036
3419
|
this.isEmpty$ = this.context.isEmpty$;
|
|
3037
3420
|
this.disabled$ = this._disabled.asObservable();
|
|
3038
|
-
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map(x => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3039
|
-
this.invertedList$ = this._config.pipe(filterMaybe(), map(x => Boolean(x === null || x === void 0 ? void 0 : x.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3040
|
-
this.throttleScroll$ = this._config.pipe(map(x => { var _a; return (_a = (x === null || x === void 0 ? void 0 : x.throttle)) !== null && _a !== void 0 ? _a : this.DEFAULT_THROTTLE_SCROLL; }), distinctUntilChanged(), shareReplay(1));
|
|
3041
|
-
this.scrollDistance$ = this._config.pipe(map(x => { var _a; return (_a = (x === null || x === void 0 ? void 0 : x.scrollDistance)) !== null && _a !== void 0 ? _a : this.DEFAULT_SCROLL_DISTANCE; }), distinctUntilChanged(), shareReplay(1));
|
|
3421
|
+
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map$1(x => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3422
|
+
this.invertedList$ = this._config.pipe(filterMaybe(), map$1(x => Boolean(x === null || x === void 0 ? void 0 : x.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3423
|
+
this.throttleScroll$ = this._config.pipe(map$1(x => { var _a; return (_a = (x === null || x === void 0 ? void 0 : x.throttle)) !== null && _a !== void 0 ? _a : this.DEFAULT_THROTTLE_SCROLL; }), distinctUntilChanged(), shareReplay(1));
|
|
3424
|
+
this.scrollDistance$ = this._config.pipe(map$1(x => { var _a; return (_a = (x === null || x === void 0 ? void 0 : x.scrollDistance)) !== null && _a !== void 0 ? _a : this.DEFAULT_SCROLL_DISTANCE; }), distinctUntilChanged(), shareReplay(1));
|
|
3042
3425
|
this.scrollLoadMoreTrigger$ = this._config.pipe(switchMap((config) => {
|
|
3043
3426
|
const loadNextDirection = (config === null || config === void 0 ? void 0 : config.invertedList) ? 'up' : 'down';
|
|
3044
|
-
return this._scrollTrigger.pipe(filter(x => x === loadNextDirection));
|
|
3427
|
+
return this._scrollTrigger.pipe(filter$1(x => x === loadNextDirection));
|
|
3045
3428
|
}));
|
|
3046
3429
|
this.loadMore$ = merge(this.scrollLoadMoreTrigger$, this._loadMoreTrigger);
|
|
3047
|
-
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map((config) => {
|
|
3430
|
+
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map$1((config) => {
|
|
3048
3431
|
let injectedComponentConfig;
|
|
3049
3432
|
if (config) {
|
|
3050
3433
|
const { componentClass, init, onClick, onSelectionChange, loadMore } = config;
|
|
@@ -3094,7 +3477,7 @@ class DbxListComponent {
|
|
|
3094
3477
|
}
|
|
3095
3478
|
return injectedComponentConfig;
|
|
3096
3479
|
}), distinctUntilChanged(), shareReplay(1));
|
|
3097
|
-
this.hideContent$ = this.context.stateChange$.pipe(switchMap(() => this.context.state$.pipe(filter((x) => loadingStateHasFinishedLoading(x)), first(), startWith(beginLoading()))), switchMap((state) => {
|
|
3480
|
+
this.hideContent$ = this.context.stateChange$.pipe(switchMap(() => this.context.state$.pipe(filter$1((x) => loadingStateHasFinishedLoading(x)), first(), startWith(beginLoading()))), switchMap((state) => {
|
|
3098
3481
|
if (state === null || state === void 0 ? void 0 : state.loading) {
|
|
3099
3482
|
return of(true);
|
|
3100
3483
|
}
|
|
@@ -3180,9 +3563,9 @@ class DbxListComponent {
|
|
|
3180
3563
|
}
|
|
3181
3564
|
}
|
|
3182
3565
|
}
|
|
3183
|
-
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3184
|
-
DbxListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
3185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3566
|
+
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3567
|
+
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; }) } });
|
|
3568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListComponent, decorators: [{
|
|
3186
3569
|
type: Component,
|
|
3187
3570
|
args: [{ selector: 'dbx-list', host: {
|
|
3188
3571
|
'class': 'd-block dbx-list',
|
|
@@ -3214,9 +3597,9 @@ class DbxListInternalContentDirective {
|
|
|
3214
3597
|
this.parent.contentScrolled.emit(position);
|
|
3215
3598
|
}
|
|
3216
3599
|
}
|
|
3217
|
-
DbxListInternalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3218
|
-
DbxListInternalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3600
|
+
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 });
|
|
3601
|
+
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 });
|
|
3602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListInternalContentDirective, decorators: [{
|
|
3220
3603
|
type: Directive,
|
|
3221
3604
|
args: [{
|
|
3222
3605
|
selector: '[dbx-list-internal-content]',
|
|
@@ -3251,7 +3634,7 @@ class AbstractDbxListWrapperDirective {
|
|
|
3251
3634
|
constructor(initConfig) {
|
|
3252
3635
|
this.initConfig = initConfig;
|
|
3253
3636
|
this._init = new BehaviorSubject(undefined);
|
|
3254
|
-
this.config$ = this._init.pipe(filterMaybe(), getter(), map((x) => this._buildListConfig(x)), shareReplay(1));
|
|
3637
|
+
this.config$ = this._init.pipe(filterMaybe(), getter(), map$1((x) => this._buildListConfig(x)), shareReplay(1));
|
|
3255
3638
|
this.clickItem = new EventEmitter();
|
|
3256
3639
|
this.loadMore = new EventEmitter();
|
|
3257
3640
|
}
|
|
@@ -3267,9 +3650,9 @@ class AbstractDbxListWrapperDirective {
|
|
|
3267
3650
|
return Object.assign(Object.assign({}, config), { onClick: (x) => this.clickItem.emit(x), loadMore: () => this.loadMore.emit() });
|
|
3268
3651
|
}
|
|
3269
3652
|
}
|
|
3270
|
-
AbstractDbxListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3271
|
-
AbstractDbxListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3653
|
+
AbstractDbxListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListWrapperDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
3654
|
+
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 });
|
|
3655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListWrapperDirective, decorators: [{
|
|
3273
3656
|
type: Directive
|
|
3274
3657
|
}], ctorParameters: function () { return [{ type: undefined }]; }, propDecorators: { disabled: [{
|
|
3275
3658
|
type: Input
|
|
@@ -3294,9 +3677,9 @@ class AbstractDbxSelectionListWrapperDirective extends AbstractDbxListWrapperDir
|
|
|
3294
3677
|
return result;
|
|
3295
3678
|
}
|
|
3296
3679
|
}
|
|
3297
|
-
AbstractDbxSelectionListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3298
|
-
AbstractDbxSelectionListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3680
|
+
AbstractDbxSelectionListWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionListWrapperDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3681
|
+
AbstractDbxSelectionListWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxSelectionListWrapperDirective, outputs: { selectionChange: "selectionChange" }, usesInheritance: true, ngImport: i0 });
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionListWrapperDirective, decorators: [{
|
|
3300
3683
|
type: Directive
|
|
3301
3684
|
}], propDecorators: { selectionChange: [{
|
|
3302
3685
|
type: Output
|
|
@@ -3317,9 +3700,9 @@ class DbxActionErrorDirective extends AbstractSubscriptionDirective {
|
|
|
3317
3700
|
});
|
|
3318
3701
|
}
|
|
3319
3702
|
}
|
|
3320
|
-
DbxActionErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3321
|
-
DbxActionErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3703
|
+
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 });
|
|
3704
|
+
DbxActionErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionErrorDirective, selector: "[dbxActionError]", usesInheritance: true, ngImport: i0 });
|
|
3705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionErrorDirective, decorators: [{
|
|
3323
3706
|
type: Directive,
|
|
3324
3707
|
args: [{
|
|
3325
3708
|
selector: '[dbxActionError]'
|
|
@@ -3327,7 +3710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3327
3710
|
}], ctorParameters: function () {
|
|
3328
3711
|
return [{ type: DbxReadableErrorComponent, decorators: [{
|
|
3329
3712
|
type: Host
|
|
3330
|
-
}] }, { type: i1.
|
|
3713
|
+
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }];
|
|
3331
3714
|
} });
|
|
3332
3715
|
|
|
3333
3716
|
/**
|
|
@@ -3399,9 +3782,9 @@ class DbxLoadingErrorDirective extends AbstractSubscriptionDirective {
|
|
|
3399
3782
|
this.sub = subscription;
|
|
3400
3783
|
}
|
|
3401
3784
|
}
|
|
3402
|
-
DbxLoadingErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3403
|
-
DbxLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3785
|
+
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 });
|
|
3786
|
+
DbxLoadingErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxLoadingErrorDirective, selector: "[dbxLoadingError]", inputs: { context: ["dbxLoadingError", "context"] }, usesInheritance: true, ngImport: i0 });
|
|
3787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingErrorDirective, decorators: [{
|
|
3405
3788
|
type: Directive,
|
|
3406
3789
|
args: [{
|
|
3407
3790
|
selector: '[dbxLoadingError]'
|
|
@@ -3417,16 +3800,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3417
3800
|
|
|
3418
3801
|
class DbxReadableErrorModule {
|
|
3419
3802
|
}
|
|
3420
|
-
DbxReadableErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3421
|
-
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
3803
|
+
DbxReadableErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3804
|
+
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, declarations: [DbxReadableErrorComponent,
|
|
3422
3805
|
DbxLoadingErrorDirective,
|
|
3423
3806
|
DbxActionErrorDirective], imports: [CommonModule], exports: [DbxReadableErrorComponent,
|
|
3424
3807
|
DbxLoadingErrorDirective,
|
|
3425
3808
|
DbxActionErrorDirective] });
|
|
3426
|
-
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
3809
|
+
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, imports: [[
|
|
3427
3810
|
CommonModule
|
|
3428
3811
|
]] });
|
|
3429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxReadableErrorModule, decorators: [{
|
|
3430
3813
|
type: NgModule,
|
|
3431
3814
|
args: [{
|
|
3432
3815
|
imports: [
|
|
@@ -3459,27 +3842,61 @@ function catchErrorServerParams(action, mapError = (error) => error) {
|
|
|
3459
3842
|
return catchError$1((error) => of(action(mapError(convertServerErrorParams(error)))));
|
|
3460
3843
|
}
|
|
3461
3844
|
|
|
3845
|
+
/**
|
|
3846
|
+
* Context used for linking a loadingComponent to an ActionContext by providing a LoadingContext.
|
|
3847
|
+
*/
|
|
3848
|
+
class DbxActionLoadingContextDirective {
|
|
3849
|
+
constructor(loadingComponent, source) {
|
|
3850
|
+
this.loadingComponent = loadingComponent;
|
|
3851
|
+
this.source = source;
|
|
3852
|
+
this._context = new LoadingStateContextInstance({ obs: this.source.loadingState$ });
|
|
3853
|
+
}
|
|
3854
|
+
get context() {
|
|
3855
|
+
return this._context;
|
|
3856
|
+
}
|
|
3857
|
+
ngOnInit() {
|
|
3858
|
+
this.loadingComponent.context = this._context;
|
|
3859
|
+
}
|
|
3860
|
+
ngOnDestroy() {
|
|
3861
|
+
this._context.destroy();
|
|
3862
|
+
}
|
|
3863
|
+
}
|
|
3864
|
+
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 });
|
|
3865
|
+
DbxActionLoadingContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionLoadingContextDirective, selector: "[dbxActionLoadingContext]", ngImport: i0 });
|
|
3866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionLoadingContextDirective, decorators: [{
|
|
3867
|
+
type: Directive,
|
|
3868
|
+
args: [{
|
|
3869
|
+
selector: '[dbxActionLoadingContext]'
|
|
3870
|
+
}]
|
|
3871
|
+
}], ctorParameters: function () {
|
|
3872
|
+
return [{ type: DbxLoadingComponent, decorators: [{
|
|
3873
|
+
type: Host
|
|
3874
|
+
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }];
|
|
3875
|
+
} });
|
|
3876
|
+
|
|
3462
3877
|
class DbxLoadingModule {
|
|
3463
3878
|
}
|
|
3464
|
-
DbxLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3465
|
-
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
3879
|
+
DbxLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3880
|
+
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent,
|
|
3466
3881
|
DbxBasicLoadingComponent,
|
|
3467
|
-
DbxLoadingProgressComponent
|
|
3882
|
+
DbxLoadingProgressComponent,
|
|
3883
|
+
DbxActionLoadingContextDirective], imports: [CommonModule,
|
|
3468
3884
|
DbxReadableErrorModule,
|
|
3469
3885
|
MatProgressSpinnerModule,
|
|
3470
3886
|
MatProgressBarModule], exports: [DbxLoadingComponent,
|
|
3471
3887
|
DbxBasicLoadingComponent,
|
|
3472
3888
|
DbxLoadingProgressComponent,
|
|
3473
3889
|
MatProgressSpinnerModule,
|
|
3474
|
-
MatProgressBarModule
|
|
3475
|
-
|
|
3890
|
+
MatProgressBarModule,
|
|
3891
|
+
DbxActionLoadingContextDirective] });
|
|
3892
|
+
DbxLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, imports: [[
|
|
3476
3893
|
CommonModule,
|
|
3477
3894
|
DbxReadableErrorModule,
|
|
3478
3895
|
MatProgressSpinnerModule,
|
|
3479
3896
|
MatProgressBarModule
|
|
3480
3897
|
], MatProgressSpinnerModule,
|
|
3481
3898
|
MatProgressBarModule] });
|
|
3482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingModule, decorators: [{
|
|
3483
3900
|
type: NgModule,
|
|
3484
3901
|
args: [{
|
|
3485
3902
|
imports: [
|
|
@@ -3491,14 +3908,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3491
3908
|
declarations: [
|
|
3492
3909
|
DbxLoadingComponent,
|
|
3493
3910
|
DbxBasicLoadingComponent,
|
|
3494
|
-
DbxLoadingProgressComponent
|
|
3911
|
+
DbxLoadingProgressComponent,
|
|
3912
|
+
DbxActionLoadingContextDirective
|
|
3495
3913
|
],
|
|
3496
3914
|
exports: [
|
|
3497
3915
|
DbxLoadingComponent,
|
|
3498
3916
|
DbxBasicLoadingComponent,
|
|
3499
3917
|
DbxLoadingProgressComponent,
|
|
3500
3918
|
MatProgressSpinnerModule,
|
|
3501
|
-
MatProgressBarModule
|
|
3919
|
+
MatProgressBarModule,
|
|
3920
|
+
DbxActionLoadingContextDirective
|
|
3502
3921
|
]
|
|
3503
3922
|
}]
|
|
3504
3923
|
}] });
|
|
@@ -3507,7 +3926,7 @@ const DBX_VALUE_LIST_VIEW_ITEM = new InjectionToken('DbxValueListViewItem');
|
|
|
3507
3926
|
const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES = (values) => of(values.map(value => ({ value })));
|
|
3508
3927
|
function mapValuesToValuesListItemConfigObs(listViewConfig, values) {
|
|
3509
3928
|
var _a;
|
|
3510
|
-
return ((_a = listViewConfig.mapValuesToItemValues) !== null && _a !== void 0 ? _a : DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES)(values).pipe(map((itemValues) => {
|
|
3929
|
+
return ((_a = listViewConfig.mapValuesToItemValues) !== null && _a !== void 0 ? _a : DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES)(values).pipe(map$1((itemValues) => {
|
|
3511
3930
|
const items = mapItemValuesToValueListItemConfig(listViewConfig, itemValues);
|
|
3512
3931
|
return items;
|
|
3513
3932
|
}));
|
|
@@ -3565,9 +3984,9 @@ class AbstractDbxValueListViewDirective {
|
|
|
3565
3984
|
(_a = this.dbxListView.clickValue) === null || _a === void 0 ? void 0 : _a.next(value);
|
|
3566
3985
|
}
|
|
3567
3986
|
}
|
|
3568
|
-
AbstractDbxValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3569
|
-
AbstractDbxValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3987
|
+
AbstractDbxValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxValueListViewDirective, deps: [{ token: DbxListView }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3988
|
+
AbstractDbxValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxValueListViewDirective, inputs: { config: "config" }, ngImport: i0 });
|
|
3989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxValueListViewDirective, decorators: [{
|
|
3571
3990
|
type: Directive
|
|
3572
3991
|
}], ctorParameters: function () { return [{ type: DbxListView }]; }, propDecorators: { config: [{
|
|
3573
3992
|
type: Input
|
|
@@ -3579,14 +3998,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3579
3998
|
class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
3580
3999
|
constructor(dbxListView) {
|
|
3581
4000
|
super(dbxListView);
|
|
3582
|
-
this.multiple$ = this.config$.pipe(map(x => { var _a; return (_a = x.multiple) !== null && _a !== void 0 ? _a : true; }), distinctUntilChanged(), shareReplay(1));
|
|
4001
|
+
this.multiple$ = this.config$.pipe(map$1(x => { var _a; return (_a = x.multiple) !== null && _a !== void 0 ? _a : true; }), distinctUntilChanged(), shareReplay(1));
|
|
3583
4002
|
}
|
|
3584
4003
|
}
|
|
3585
|
-
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3586
|
-
DbxSelectionValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4004
|
+
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListViewComponent, deps: [{ token: DbxListView }], target: i0.ɵɵFactoryTarget.Component });
|
|
4005
|
+
DbxSelectionValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view", usesInheritance: true, ngImport: i0, template: `
|
|
3587
4006
|
<dbx-selection-list-view-content [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
3588
|
-
`, 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
|
|
3589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4007
|
+
`, 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; }) } });
|
|
4008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListViewComponent, decorators: [{
|
|
3590
4009
|
type: Component,
|
|
3591
4010
|
args: [{
|
|
3592
4011
|
selector: 'dbx-selection-list-view',
|
|
@@ -3621,16 +4040,16 @@ class DbxSelectionValueListItemViewComponent {
|
|
|
3621
4040
|
});
|
|
3622
4041
|
}
|
|
3623
4042
|
}
|
|
3624
|
-
DbxSelectionValueListItemViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3625
|
-
DbxSelectionValueListItemViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4043
|
+
DbxSelectionValueListItemViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListItemViewComponent, deps: [{ token: DbxListView }], target: i0.ɵɵFactoryTarget.Component });
|
|
4044
|
+
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: `
|
|
3626
4045
|
<mat-selection-list [disabled]="disabled$ | async" [multiple]="multiple" (selectionChange)="matSelectionChanged($event)">
|
|
3627
4046
|
<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)">
|
|
3628
4047
|
<mat-icon matListIcon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
3629
4048
|
<div dbx-injected-content [config]="item.config"></div>
|
|
3630
4049
|
</mat-list-option>
|
|
3631
4050
|
</mat-selection-list>
|
|
3632
|
-
`, isInline: true, components: [{ type: i1$
|
|
3633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4051
|
+
`, 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 } });
|
|
4052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSelectionValueListItemViewComponent, decorators: [{
|
|
3634
4053
|
type: Component,
|
|
3635
4054
|
args: [{
|
|
3636
4055
|
selector: 'dbx-selection-list-view-content',
|
|
@@ -3658,7 +4077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3658
4077
|
class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
3659
4078
|
constructor() {
|
|
3660
4079
|
super(...arguments);
|
|
3661
|
-
this.emitAllClicks$ = this.config$.pipe(map(x => x.emitAllClicks), shareReplay(1));
|
|
4080
|
+
this.emitAllClicks$ = this.config$.pipe(map$1(x => x.emitAllClicks), shareReplay(1));
|
|
3662
4081
|
}
|
|
3663
4082
|
onClickItem(item) {
|
|
3664
4083
|
// do not emit clicks for disabled items.
|
|
@@ -3672,8 +4091,8 @@ class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
|
3672
4091
|
}
|
|
3673
4092
|
}
|
|
3674
4093
|
}
|
|
3675
|
-
DbxValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3676
|
-
DbxValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4094
|
+
DbxValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4095
|
+
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: `
|
|
3677
4096
|
<mat-nav-list>
|
|
3678
4097
|
<dbx-anchor *ngFor="let item of (items$ | async)" [anchor]="item.anchor" [disabled]="item.disabled">
|
|
3679
4098
|
<a mat-list-item class="dbx-list-view-item" [disabled]="item.disabled" (click)="onClickItem(item)">
|
|
@@ -3682,8 +4101,8 @@ DbxValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3682
4101
|
</a>
|
|
3683
4102
|
</dbx-anchor>
|
|
3684
4103
|
</mat-nav-list>
|
|
3685
|
-
`, isInline: true, components: [{ type: i1$
|
|
3686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4104
|
+
`, 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 } });
|
|
4105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxValueListViewComponent, decorators: [{
|
|
3687
4106
|
type: Component,
|
|
3688
4107
|
args: [{
|
|
3689
4108
|
selector: 'dbx-list-view',
|
|
@@ -3705,8 +4124,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3705
4124
|
|
|
3706
4125
|
class DbxListLayoutModule {
|
|
3707
4126
|
}
|
|
3708
|
-
DbxListLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3709
|
-
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4127
|
+
DbxListLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4128
|
+
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, declarations: [DbxListComponent,
|
|
3710
4129
|
DbxListInternalContentDirective,
|
|
3711
4130
|
DbxListEmptyContentComponent,
|
|
3712
4131
|
DbxValueListViewComponent,
|
|
@@ -3722,7 +4141,7 @@ DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
3722
4141
|
DbxValueListViewComponent,
|
|
3723
4142
|
DbxSelectionValueListViewComponent,
|
|
3724
4143
|
DbxSelectionValueListItemViewComponent] });
|
|
3725
|
-
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4144
|
+
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, imports: [[
|
|
3726
4145
|
CommonModule,
|
|
3727
4146
|
DbxLoadingModule,
|
|
3728
4147
|
DbxAnchorModule,
|
|
@@ -3731,7 +4150,7 @@ DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
3731
4150
|
MatListModule,
|
|
3732
4151
|
MatIconModule
|
|
3733
4152
|
]] });
|
|
3734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxListLayoutModule, decorators: [{
|
|
3735
4154
|
type: NgModule,
|
|
3736
4155
|
args: [{
|
|
3737
4156
|
imports: [
|
|
@@ -3794,9 +4213,9 @@ class AbstractDbxListViewDirective {
|
|
|
3794
4213
|
this._disabled.next(disabled);
|
|
3795
4214
|
}
|
|
3796
4215
|
}
|
|
3797
|
-
AbstractDbxListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3798
|
-
AbstractDbxListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4216
|
+
AbstractDbxListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4217
|
+
AbstractDbxListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxListViewDirective, inputs: { valueArray: "valueArray", values: "values" }, outputs: { clickValue: "clickValue" }, ngImport: i0 });
|
|
4218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxListViewDirective, decorators: [{
|
|
3800
4219
|
type: Directive
|
|
3801
4220
|
}], ctorParameters: function () { return []; }, propDecorators: { clickValue: [{
|
|
3802
4221
|
type: Output
|
|
@@ -3827,9 +4246,9 @@ class AbstractSelectionValueListViewDirective extends AbstractDbxListViewDirecti
|
|
|
3827
4246
|
this.selectionChanged({ items });
|
|
3828
4247
|
}
|
|
3829
4248
|
}
|
|
3830
|
-
AbstractSelectionValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3831
|
-
AbstractSelectionValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4249
|
+
AbstractSelectionValueListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractSelectionValueListViewDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4250
|
+
AbstractSelectionValueListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractSelectionValueListViewDirective, outputs: { selectionChange: "selectionChange" }, usesInheritance: true, ngImport: i0 });
|
|
4251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractSelectionValueListViewDirective, decorators: [{
|
|
3833
4252
|
type: Directive
|
|
3834
4253
|
}], propDecorators: { selectionChange: [{
|
|
3835
4254
|
type: Output
|
|
@@ -3843,9 +4262,9 @@ class AbstractDbxSelectionValueListViewItemComponent {
|
|
|
3843
4262
|
return this.item.value;
|
|
3844
4263
|
}
|
|
3845
4264
|
}
|
|
3846
|
-
AbstractDbxSelectionValueListViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3847
|
-
AbstractDbxSelectionValueListViewItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
3848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4265
|
+
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 });
|
|
4266
|
+
AbstractDbxSelectionValueListViewItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxSelectionValueListViewItemComponent, ngImport: i0 });
|
|
4267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxSelectionValueListViewItemComponent, decorators: [{
|
|
3849
4268
|
type: Directive
|
|
3850
4269
|
}], ctorParameters: function () {
|
|
3851
4270
|
return [{ type: undefined, decorators: [{
|
|
@@ -3858,11 +4277,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3858
4277
|
* Component used to style a section's header.
|
|
3859
4278
|
*/
|
|
3860
4279
|
class DbxSectionHeaderComponent {
|
|
4280
|
+
get showTitle() {
|
|
4281
|
+
return Boolean(this.header || this.icon);
|
|
4282
|
+
}
|
|
3861
4283
|
}
|
|
3862
|
-
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3863
|
-
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4284
|
+
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4285
|
+
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: `
|
|
3864
4286
|
<div class="dbx-section-header-content">
|
|
3865
|
-
<ng-container [ngSwitch]="h ?? 1">
|
|
4287
|
+
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
3866
4288
|
<h1 *ngSwitchCase="1" class="dbx-section-header-content-title">
|
|
3867
4289
|
<ng-container *ngTemplateOutlet="headerContentTitleTemplate"></ng-container>
|
|
3868
4290
|
</h1>
|
|
@@ -3886,14 +4308,14 @@ DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3886
4308
|
<ng-template #headerContentTitleTemplate>
|
|
3887
4309
|
<mat-icon *ngIf="icon">{{icon}}</mat-icon><span class="title-text">{{ header }}</span>
|
|
3888
4310
|
</ng-template>
|
|
3889
|
-
`, isInline: true, components: [{ type:
|
|
3890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4311
|
+
`, 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"] }] });
|
|
4312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionHeaderComponent, decorators: [{
|
|
3891
4313
|
type: Component,
|
|
3892
4314
|
args: [{
|
|
3893
4315
|
selector: '.dbx-section-header',
|
|
3894
4316
|
template: `
|
|
3895
4317
|
<div class="dbx-section-header-content">
|
|
3896
|
-
<ng-container [ngSwitch]="h ?? 1">
|
|
4318
|
+
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
3897
4319
|
<h1 *ngSwitchCase="1" class="dbx-section-header-content-title">
|
|
3898
4320
|
<ng-container *ngTemplateOutlet="headerContentTitleTemplate"></ng-container>
|
|
3899
4321
|
</h1>
|
|
@@ -3938,8 +4360,8 @@ class DbxSectionComponent extends DbxSectionHeaderComponent {
|
|
|
3938
4360
|
this.elevated = false;
|
|
3939
4361
|
}
|
|
3940
4362
|
}
|
|
3941
|
-
DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3942
|
-
DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4363
|
+
DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4364
|
+
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: `
|
|
3943
4365
|
<div class="dbx-section-header" [h]="3" [header]="header" [icon]="icon" [hint]="hint">
|
|
3944
4366
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
3945
4367
|
</div>
|
|
@@ -3947,7 +4369,7 @@ DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
3947
4369
|
<ng-content></ng-content>
|
|
3948
4370
|
</div>
|
|
3949
4371
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
3950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionComponent, decorators: [{
|
|
3951
4373
|
type: Component,
|
|
3952
4374
|
args: [{
|
|
3953
4375
|
selector: 'dbx-section',
|
|
@@ -3983,8 +4405,8 @@ class DbxIntroActionSectionComponent extends DbxSectionComponent {
|
|
|
3983
4405
|
this.showAction.next();
|
|
3984
4406
|
}
|
|
3985
4407
|
}
|
|
3986
|
-
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
3987
|
-
DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4408
|
+
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIntroActionSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4409
|
+
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: `
|
|
3988
4410
|
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
3989
4411
|
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
3990
4412
|
<p>{{ hint }}</p>
|
|
@@ -3999,8 +4421,8 @@ DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
3999
4421
|
<ng-content></ng-content>
|
|
4000
4422
|
</ng-container>
|
|
4001
4423
|
</div>
|
|
4002
|
-
`, 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
|
|
4003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4424
|
+
`, 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"] }] });
|
|
4425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIntroActionSectionComponent, decorators: [{
|
|
4004
4426
|
type: Component,
|
|
4005
4427
|
args: [{
|
|
4006
4428
|
selector: 'dbx-intro-action-section',
|
|
@@ -4034,8 +4456,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4034
4456
|
*/
|
|
4035
4457
|
class DbxSubSectionComponent extends DbxSectionComponent {
|
|
4036
4458
|
}
|
|
4037
|
-
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4038
|
-
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4459
|
+
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSubSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4460
|
+
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSubSectionComponent, selector: "dbx-subsection", usesInheritance: true, ngImport: i0, template: `
|
|
4039
4461
|
<div class="dbx-subsection">
|
|
4040
4462
|
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
4041
4463
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
@@ -4045,7 +4467,7 @@ DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
4045
4467
|
</div>
|
|
4046
4468
|
</div>
|
|
4047
4469
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
4048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSubSectionComponent, decorators: [{
|
|
4049
4471
|
type: Component,
|
|
4050
4472
|
args: [{
|
|
4051
4473
|
selector: 'dbx-subsection',
|
|
@@ -4067,8 +4489,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4067
4489
|
*/
|
|
4068
4490
|
class DbxSectionPageComponent extends DbxSectionHeaderComponent {
|
|
4069
4491
|
}
|
|
4070
|
-
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4071
|
-
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4492
|
+
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4493
|
+
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxSectionPageComponent, selector: "dbx-section-page", usesInheritance: true, ngImport: i0, template: `
|
|
4072
4494
|
<div class="dbx-content-page dbx-section-page">
|
|
4073
4495
|
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
4074
4496
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
@@ -4076,7 +4498,7 @@ DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4076
4498
|
<ng-content></ng-content>
|
|
4077
4499
|
</div>
|
|
4078
4500
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
4079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionPageComponent, decorators: [{
|
|
4080
4502
|
type: Component,
|
|
4081
4503
|
args: [{
|
|
4082
4504
|
selector: 'dbx-section-page',
|
|
@@ -4096,8 +4518,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4096
4518
|
*/
|
|
4097
4519
|
class DbxSectionLayoutModule {
|
|
4098
4520
|
}
|
|
4099
|
-
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4100
|
-
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4521
|
+
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4522
|
+
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, declarations: [DbxSectionHeaderComponent,
|
|
4101
4523
|
DbxSectionPageComponent,
|
|
4102
4524
|
DbxSectionComponent,
|
|
4103
4525
|
DbxSubSectionComponent,
|
|
@@ -4110,14 +4532,14 @@ DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
4110
4532
|
DbxSectionComponent,
|
|
4111
4533
|
DbxSubSectionComponent,
|
|
4112
4534
|
DbxIntroActionSectionComponent] });
|
|
4113
|
-
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4535
|
+
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, imports: [[
|
|
4114
4536
|
CommonModule,
|
|
4115
4537
|
DbxAnchorModule,
|
|
4116
4538
|
MatButtonModule,
|
|
4117
4539
|
MatRippleModule,
|
|
4118
4540
|
MatIconModule
|
|
4119
4541
|
]] });
|
|
4120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSectionLayoutModule, decorators: [{
|
|
4121
4543
|
type: NgModule,
|
|
4122
4544
|
args: [{
|
|
4123
4545
|
imports: [
|
|
@@ -4146,9 +4568,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4146
4568
|
|
|
4147
4569
|
class DbxStepComponent {
|
|
4148
4570
|
}
|
|
4149
|
-
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4150
|
-
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4571
|
+
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4572
|
+
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"] }] });
|
|
4573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepComponent, decorators: [{
|
|
4152
4574
|
type: Component,
|
|
4153
4575
|
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" }]
|
|
4154
4576
|
}], propDecorators: { done: [{
|
|
@@ -4163,14 +4585,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4163
4585
|
|
|
4164
4586
|
class DbxStepLayoutModule {
|
|
4165
4587
|
}
|
|
4166
|
-
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4167
|
-
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4588
|
+
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4589
|
+
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule,
|
|
4168
4590
|
MatIconModule], exports: [DbxStepComponent] });
|
|
4169
|
-
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4591
|
+
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, imports: [[
|
|
4170
4592
|
CommonModule,
|
|
4171
4593
|
MatIconModule
|
|
4172
4594
|
]] });
|
|
4173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStepLayoutModule, decorators: [{
|
|
4174
4596
|
type: NgModule,
|
|
4175
4597
|
args: [{
|
|
4176
4598
|
imports: [
|
|
@@ -4188,9 +4610,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4188
4610
|
|
|
4189
4611
|
class DbxHintComponent {
|
|
4190
4612
|
}
|
|
4191
|
-
DbxHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4192
|
-
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4613
|
+
DbxHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4614
|
+
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 });
|
|
4615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxHintComponent, decorators: [{
|
|
4194
4616
|
type: Component,
|
|
4195
4617
|
args: [{
|
|
4196
4618
|
selector: 'dbx-hint',
|
|
@@ -4201,11 +4623,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4201
4623
|
}]
|
|
4202
4624
|
}] });
|
|
4203
4625
|
|
|
4626
|
+
/**
|
|
4627
|
+
* Icon spacer directive.
|
|
4628
|
+
*/
|
|
4629
|
+
class DbxIconSpacerDirective {
|
|
4630
|
+
}
|
|
4631
|
+
DbxIconSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4632
|
+
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 });
|
|
4633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxIconSpacerDirective, decorators: [{
|
|
4634
|
+
type: Directive,
|
|
4635
|
+
args: [{
|
|
4636
|
+
selector: 'dbx-icon-spacer,dbxIconSpacer',
|
|
4637
|
+
host: {
|
|
4638
|
+
class: 'dbx-icon-spacer d-inline'
|
|
4639
|
+
}
|
|
4640
|
+
}]
|
|
4641
|
+
}] });
|
|
4642
|
+
|
|
4204
4643
|
class DbxLabelComponent {
|
|
4205
4644
|
}
|
|
4206
|
-
DbxLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4207
|
-
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4645
|
+
DbxLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4646
|
+
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 });
|
|
4647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLabelComponent, decorators: [{
|
|
4209
4648
|
type: Component,
|
|
4210
4649
|
args: [{
|
|
4211
4650
|
selector: 'dbx-label',
|
|
@@ -4223,13 +4662,13 @@ class DbxLinkifyComponent {
|
|
|
4223
4662
|
constructor(sanitizer) {
|
|
4224
4663
|
this.sanitizer = sanitizer;
|
|
4225
4664
|
this._text = new BehaviorSubject('');
|
|
4226
|
-
this.linkifiedText$ = this._text.pipe(distinctUntilChanged$1(), map
|
|
4665
|
+
this.linkifiedText$ = this._text.pipe(distinctUntilChanged$1(), map(x => linkifyStr(x, {
|
|
4227
4666
|
defaultProtocol: 'https',
|
|
4228
4667
|
target: {
|
|
4229
4668
|
url: '_blank'
|
|
4230
4669
|
}
|
|
4231
4670
|
})), shareReplay$1(1));
|
|
4232
|
-
this.linkifiedBody$ = this.linkifiedText$.pipe(map
|
|
4671
|
+
this.linkifiedBody$ = this.linkifiedText$.pipe(map(x => {
|
|
4233
4672
|
return this.sanitizer.bypassSecurityTrustHtml(x);
|
|
4234
4673
|
}), shareReplay$1(1));
|
|
4235
4674
|
}
|
|
@@ -4243,23 +4682,23 @@ class DbxLinkifyComponent {
|
|
|
4243
4682
|
this._text.next(text);
|
|
4244
4683
|
}
|
|
4245
4684
|
}
|
|
4246
|
-
DbxLinkifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4247
|
-
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4685
|
+
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 });
|
|
4686
|
+
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 } });
|
|
4687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLinkifyComponent, decorators: [{
|
|
4249
4688
|
type: Component,
|
|
4250
4689
|
args: [{
|
|
4251
4690
|
selector: 'dbx-linkify',
|
|
4252
4691
|
template: `<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>`
|
|
4253
4692
|
}]
|
|
4254
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4693
|
+
}], ctorParameters: function () { return [{ type: i1$a.DomSanitizer }]; }, propDecorators: { text: [{
|
|
4255
4694
|
type: Input
|
|
4256
4695
|
}] } });
|
|
4257
4696
|
|
|
4258
4697
|
class DbxNoteComponent {
|
|
4259
4698
|
}
|
|
4260
|
-
DbxNoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4261
|
-
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4699
|
+
DbxNoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4700
|
+
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 });
|
|
4701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoteComponent, decorators: [{
|
|
4263
4702
|
type: Component,
|
|
4264
4703
|
args: [{
|
|
4265
4704
|
selector: 'dbx-note',
|
|
@@ -4272,9 +4711,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4272
4711
|
|
|
4273
4712
|
class DbxNoticeComponent {
|
|
4274
4713
|
}
|
|
4275
|
-
DbxNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4276
|
-
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4714
|
+
DbxNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4715
|
+
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 });
|
|
4716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxNoticeComponent, decorators: [{
|
|
4278
4717
|
type: Component,
|
|
4279
4718
|
args: [{
|
|
4280
4719
|
selector: 'dbx-notice',
|
|
@@ -4287,9 +4726,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4287
4726
|
|
|
4288
4727
|
class DbxOkComponent {
|
|
4289
4728
|
}
|
|
4290
|
-
DbxOkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4291
|
-
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4729
|
+
DbxOkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4730
|
+
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 });
|
|
4731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxOkComponent, decorators: [{
|
|
4293
4732
|
type: Component,
|
|
4294
4733
|
args: [{
|
|
4295
4734
|
selector: 'dbx-ok',
|
|
@@ -4302,9 +4741,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4302
4741
|
|
|
4303
4742
|
class DbxSuccessComponent {
|
|
4304
4743
|
}
|
|
4305
|
-
DbxSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4306
|
-
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4744
|
+
DbxSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4745
|
+
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 });
|
|
4746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxSuccessComponent, decorators: [{
|
|
4308
4747
|
type: Component,
|
|
4309
4748
|
args: [{
|
|
4310
4749
|
selector: 'dbx-success',
|
|
@@ -4317,15 +4756,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4317
4756
|
|
|
4318
4757
|
class DbxTextChipsComponent {
|
|
4319
4758
|
}
|
|
4320
|
-
DbxTextChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4321
|
-
DbxTextChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4759
|
+
DbxTextChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4760
|
+
DbxTextChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxTextChipsComponent, selector: "dbx-text-chips", inputs: { chips: "chips" }, ngImport: i0, template: `
|
|
4322
4761
|
<mat-chip-list *ngIf="chips" [multiple]="false">
|
|
4323
4762
|
<mat-chip *ngFor="let chip of chips" selected [color]="chip.color" [matTooltip]="chip.tooltip!" matTooltipPosition="above">
|
|
4324
4763
|
{{chip.text}}
|
|
4325
4764
|
</mat-chip>
|
|
4326
4765
|
</mat-chip-list>
|
|
4327
|
-
`, isInline: true, components: [{ type: i1$
|
|
4328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4766
|
+
`, 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"] }] });
|
|
4767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextChipsComponent, decorators: [{
|
|
4329
4768
|
type: Component,
|
|
4330
4769
|
args: [{
|
|
4331
4770
|
selector: 'dbx-text-chips',
|
|
@@ -4343,9 +4782,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4343
4782
|
|
|
4344
4783
|
class DbxWarnComponent {
|
|
4345
4784
|
}
|
|
4346
|
-
DbxWarnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4347
|
-
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4785
|
+
DbxWarnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWarnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4786
|
+
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 });
|
|
4787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWarnComponent, decorators: [{
|
|
4349
4788
|
type: Component,
|
|
4350
4789
|
args: [{
|
|
4351
4790
|
selector: 'dbx-warn',
|
|
@@ -4358,8 +4797,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4358
4797
|
|
|
4359
4798
|
class DbxTextModule {
|
|
4360
4799
|
}
|
|
4361
|
-
DbxTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4362
|
-
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4800
|
+
DbxTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4801
|
+
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, declarations: [DbxNoteComponent,
|
|
4363
4802
|
DbxNoticeComponent,
|
|
4364
4803
|
DbxSuccessComponent,
|
|
4365
4804
|
DbxWarnComponent,
|
|
@@ -4367,7 +4806,8 @@ DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
4367
4806
|
DbxLabelComponent,
|
|
4368
4807
|
DbxLinkifyComponent,
|
|
4369
4808
|
DbxOkComponent,
|
|
4370
|
-
DbxTextChipsComponent
|
|
4809
|
+
DbxTextChipsComponent,
|
|
4810
|
+
DbxIconSpacerDirective], imports: [CommonModule,
|
|
4371
4811
|
MatChipsModule,
|
|
4372
4812
|
MatTooltipModule,
|
|
4373
4813
|
MatIconModule], exports: [DbxNoteComponent,
|
|
@@ -4378,14 +4818,15 @@ DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
4378
4818
|
DbxLabelComponent,
|
|
4379
4819
|
DbxLinkifyComponent,
|
|
4380
4820
|
DbxOkComponent,
|
|
4381
|
-
DbxTextChipsComponent
|
|
4382
|
-
|
|
4821
|
+
DbxTextChipsComponent,
|
|
4822
|
+
DbxIconSpacerDirective] });
|
|
4823
|
+
DbxTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, imports: [[
|
|
4383
4824
|
CommonModule,
|
|
4384
4825
|
MatChipsModule,
|
|
4385
4826
|
MatTooltipModule,
|
|
4386
4827
|
MatIconModule
|
|
4387
4828
|
]] });
|
|
4388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxTextModule, decorators: [{
|
|
4389
4830
|
type: NgModule,
|
|
4390
4831
|
args: [{
|
|
4391
4832
|
imports: [
|
|
@@ -4403,7 +4844,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4403
4844
|
DbxLabelComponent,
|
|
4404
4845
|
DbxLinkifyComponent,
|
|
4405
4846
|
DbxOkComponent,
|
|
4406
|
-
DbxTextChipsComponent
|
|
4847
|
+
DbxTextChipsComponent,
|
|
4848
|
+
DbxIconSpacerDirective
|
|
4407
4849
|
],
|
|
4408
4850
|
exports: [
|
|
4409
4851
|
DbxNoteComponent,
|
|
@@ -4414,15 +4856,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4414
4856
|
DbxLabelComponent,
|
|
4415
4857
|
DbxLinkifyComponent,
|
|
4416
4858
|
DbxOkComponent,
|
|
4417
|
-
DbxTextChipsComponent
|
|
4859
|
+
DbxTextChipsComponent,
|
|
4860
|
+
DbxIconSpacerDirective
|
|
4418
4861
|
],
|
|
4419
4862
|
}]
|
|
4420
4863
|
}] });
|
|
4421
4864
|
|
|
4422
4865
|
class DbxLayoutModule {
|
|
4423
4866
|
}
|
|
4424
|
-
DbxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4425
|
-
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
4867
|
+
DbxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4868
|
+
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, exports: [DbxBarLayoutModule,
|
|
4426
4869
|
DbxBlockLayoutModule,
|
|
4427
4870
|
DbxCardBoxLayoutModule,
|
|
4428
4871
|
DbxColumnLayoutModule,
|
|
@@ -4436,7 +4879,7 @@ DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
4436
4879
|
DbxStepLayoutModule,
|
|
4437
4880
|
DbxStyleLayoutModule,
|
|
4438
4881
|
DbxTextModule] });
|
|
4439
|
-
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
4882
|
+
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, imports: [DbxBarLayoutModule,
|
|
4440
4883
|
DbxBlockLayoutModule,
|
|
4441
4884
|
DbxCardBoxLayoutModule,
|
|
4442
4885
|
DbxColumnLayoutModule,
|
|
@@ -4450,7 +4893,7 @@ DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
4450
4893
|
DbxStepLayoutModule,
|
|
4451
4894
|
DbxStyleLayoutModule,
|
|
4452
4895
|
DbxTextModule] });
|
|
4453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLayoutModule, decorators: [{
|
|
4454
4897
|
type: NgModule,
|
|
4455
4898
|
args: [{
|
|
4456
4899
|
exports: [
|
|
@@ -4506,9 +4949,9 @@ class DbxPopoverCoordinatorService {
|
|
|
4506
4949
|
}
|
|
4507
4950
|
}
|
|
4508
4951
|
}
|
|
4509
|
-
DbxPopoverCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4510
|
-
DbxPopoverCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
4511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4952
|
+
DbxPopoverCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4953
|
+
DbxPopoverCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorService });
|
|
4954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorService, decorators: [{
|
|
4512
4955
|
type: Injectable
|
|
4513
4956
|
}] });
|
|
4514
4957
|
|
|
@@ -4519,7 +4962,7 @@ class DbxPopoverCoordinatorComponent {
|
|
|
4519
4962
|
constructor(service, popover) {
|
|
4520
4963
|
this.service = service;
|
|
4521
4964
|
this.popover = popover;
|
|
4522
|
-
this.isPopoverForKey$ = this.service.popovers$.pipe(map
|
|
4965
|
+
this.isPopoverForKey$ = this.service.popovers$.pipe(map(x => x.get(this.popover.key) === this.popover), shareReplay$1(1));
|
|
4523
4966
|
this.show$ = this.isPopoverForKey$.pipe(delay$1(0));
|
|
4524
4967
|
}
|
|
4525
4968
|
ngOnInit() {
|
|
@@ -4529,13 +4972,13 @@ class DbxPopoverCoordinatorComponent {
|
|
|
4529
4972
|
this.service.removePopover(this.popover.key, this.popover);
|
|
4530
4973
|
}
|
|
4531
4974
|
}
|
|
4532
|
-
DbxPopoverCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4533
|
-
DbxPopoverCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4975
|
+
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 });
|
|
4976
|
+
DbxPopoverCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator", ngImport: i0, template: `
|
|
4534
4977
|
<ng-container *ngIf="show$ | async">
|
|
4535
4978
|
<ng-content></ng-content>
|
|
4536
4979
|
</ng-container>
|
|
4537
|
-
`, isInline: true, directives: [{ type: i3
|
|
4538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4980
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
4981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverCoordinatorComponent, decorators: [{
|
|
4539
4982
|
type: Component,
|
|
4540
4983
|
args: [{
|
|
4541
4984
|
selector: 'dbx-popover-coordinator',
|
|
@@ -4571,9 +5014,9 @@ class DbxWindowKeyDownListenerDirective {
|
|
|
4571
5014
|
}
|
|
4572
5015
|
}
|
|
4573
5016
|
}
|
|
4574
|
-
DbxWindowKeyDownListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4575
|
-
DbxWindowKeyDownListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
4576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5017
|
+
DbxWindowKeyDownListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWindowKeyDownListenerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5018
|
+
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 });
|
|
5019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWindowKeyDownListenerDirective, decorators: [{
|
|
4577
5020
|
type: Directive,
|
|
4578
5021
|
args: [{
|
|
4579
5022
|
selector: '[dbxWindowKeyDownListener]'
|
|
@@ -4609,8 +5052,8 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
4609
5052
|
this._startedClosing = false;
|
|
4610
5053
|
this._closing = new Subject();
|
|
4611
5054
|
this._triggerCloseKeys = [];
|
|
4612
|
-
this.isClosing$ = this._closing.pipe(first$1(), map
|
|
4613
|
-
this.closing$ = this.isClosing$.pipe(filter
|
|
5055
|
+
this.isClosing$ = this._closing.pipe(first$1(), map(x => true), startWith$1(false), shareReplay$1(1));
|
|
5056
|
+
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
4614
5057
|
// Override Close to properly signal to listeners when a close is occuring.
|
|
4615
5058
|
const originalClose = this.popoverRef.close;
|
|
4616
5059
|
this.popoverRef.close = (x) => {
|
|
@@ -4679,8 +5122,8 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
4679
5122
|
this.close();
|
|
4680
5123
|
}
|
|
4681
5124
|
}
|
|
4682
|
-
DbxPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4683
|
-
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5125
|
+
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 });
|
|
5126
|
+
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverComponent, selector: "ng-component", providers: [{
|
|
4684
5127
|
provide: DbxPopoverController,
|
|
4685
5128
|
useExisting: DbxPopoverComponent
|
|
4686
5129
|
}, {
|
|
@@ -4689,8 +5132,8 @@ DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4689
5132
|
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown($event)" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
4690
5133
|
<div dbx-style class="dbx-popover-component" dbx-injected-content [config]="contentConfig"></div>
|
|
4691
5134
|
</dbx-popover-coordinator>
|
|
4692
|
-
`, 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" }] });
|
|
4693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5135
|
+
`, 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" }] });
|
|
5136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverComponent, decorators: [{
|
|
4694
5137
|
type: Component,
|
|
4695
5138
|
args: [{
|
|
4696
5139
|
template: `
|
|
@@ -4705,7 +5148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
4705
5148
|
provide: CompactContextStore
|
|
4706
5149
|
}]
|
|
4707
5150
|
}]
|
|
4708
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5151
|
+
}], ctorParameters: function () { return [{ type: i1$c.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
4709
5152
|
|
|
4710
5153
|
/**
|
|
4711
5154
|
* Abstract popover directive.
|
|
@@ -4721,9 +5164,9 @@ class AbstractPopoverDirective {
|
|
|
4721
5164
|
this.popover.return(value);
|
|
4722
5165
|
}
|
|
4723
5166
|
}
|
|
4724
|
-
AbstractPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4725
|
-
AbstractPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
4726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5167
|
+
AbstractPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverDirective, deps: [{ token: DbxPopoverComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5168
|
+
AbstractPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopoverDirective, ngImport: i0 });
|
|
5169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverDirective, decorators: [{
|
|
4727
5170
|
type: Directive
|
|
4728
5171
|
}], ctorParameters: function () { return [{ type: DbxPopoverComponent }]; } });
|
|
4729
5172
|
|
|
@@ -4744,16 +5187,16 @@ class DbxPopoverContentComponent {
|
|
|
4744
5187
|
this._height.complete();
|
|
4745
5188
|
}
|
|
4746
5189
|
}
|
|
4747
|
-
DbxPopoverContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4748
|
-
DbxPopoverContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5190
|
+
DbxPopoverContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5191
|
+
DbxPopoverContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverContentComponent, selector: "dbx-popover-content", ngImport: i0, template: `
|
|
4749
5192
|
<div class="d-block dbx-popover-content" (resized)="onResized($event)" [style.--popoverh]="height$ | async">
|
|
4750
5193
|
<ng-content select="[controls]"></ng-content>
|
|
4751
5194
|
<div class="dbx-popover-content-container">
|
|
4752
5195
|
<ng-content></ng-content>
|
|
4753
5196
|
</div>
|
|
4754
5197
|
</div>
|
|
4755
|
-
`, isInline: true, directives: [{ type: i1$
|
|
4756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5198
|
+
`, isInline: true, directives: [{ type: i1$8.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], pipes: { "async": i3.AsyncPipe } });
|
|
5199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverContentComponent, decorators: [{
|
|
4757
5200
|
type: Component,
|
|
4758
5201
|
args: [{
|
|
4759
5202
|
selector: 'dbx-popover-content',
|
|
@@ -4778,8 +5221,8 @@ class DbxPopoverHeaderComponent {
|
|
|
4778
5221
|
}
|
|
4779
5222
|
}
|
|
4780
5223
|
}
|
|
4781
|
-
DbxPopoverHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4782
|
-
DbxPopoverHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5224
|
+
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 });
|
|
5225
|
+
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: `
|
|
4783
5226
|
<div class="dbx-popover-header">
|
|
4784
5227
|
<div class="dbx-popover-header-content">
|
|
4785
5228
|
<h3><mat-icon *ngIf="icon" class="dbx-icon-spacer">{{ icon }}</mat-icon> {{ header }}</h3>
|
|
@@ -4788,8 +5231,8 @@ DbxPopoverHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4788
5231
|
</div>
|
|
4789
5232
|
</div>
|
|
4790
5233
|
<mat-divider></mat-divider>
|
|
4791
|
-
`, isInline: true, components: [{ type:
|
|
4792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5234
|
+
`, 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"] }] });
|
|
5235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverHeaderComponent, decorators: [{
|
|
4793
5236
|
type: Component,
|
|
4794
5237
|
args: [{
|
|
4795
5238
|
selector: 'dbx-popover-header',
|
|
@@ -4843,9 +5286,9 @@ class DbxPopoverScrollContentComponent {
|
|
|
4843
5286
|
return this.appPopoverContentComponent.hasControls;
|
|
4844
5287
|
}
|
|
4845
5288
|
}
|
|
4846
|
-
DbxPopoverScrollContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4847
|
-
DbxPopoverScrollContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5289
|
+
DbxPopoverScrollContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverScrollContentComponent, deps: [{ token: DbxPopoverContentComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
5290
|
+
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 });
|
|
5291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverScrollContentComponent, decorators: [{
|
|
4849
5292
|
type: Component,
|
|
4850
5293
|
args: [{
|
|
4851
5294
|
selector: 'dbx-popover-scroll-content',
|
|
@@ -4867,7 +5310,7 @@ class DbxFilterPopoverComponent extends AbstractPopoverDirective {
|
|
|
4867
5310
|
this.showSwitchButtons = Boolean(this.config.customFilterComponentClass && this.config.presetFilterComponentClass);
|
|
4868
5311
|
this._showPreset = new BehaviorSubject(false);
|
|
4869
5312
|
this.showPreset$ = this._showPreset.asObservable();
|
|
4870
|
-
this.config$ = this._showPreset.pipe(map((showPreset) => {
|
|
5313
|
+
this.config$ = this._showPreset.pipe(map$1((showPreset) => {
|
|
4871
5314
|
const { connector, initialFilterObs, customFilterComponentClass, presetFilterComponentClass } = this.config;
|
|
4872
5315
|
let componentClass;
|
|
4873
5316
|
if (showPreset) {
|
|
@@ -4928,9 +5371,9 @@ class DbxFilterPopoverComponent extends AbstractPopoverDirective {
|
|
|
4928
5371
|
this._showPreset.next(false);
|
|
4929
5372
|
}
|
|
4930
5373
|
}
|
|
4931
|
-
DbxFilterPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4932
|
-
DbxFilterPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
4933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5374
|
+
DbxFilterPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverComponent, deps: [{ token: DbxPopoverComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
5375
|
+
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 } });
|
|
5376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverComponent, decorators: [{
|
|
4934
5377
|
type: Component,
|
|
4935
5378
|
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" }]
|
|
4936
5379
|
}], ctorParameters: function () { return [{ type: DbxPopoverComponent }]; } });
|
|
@@ -4966,11 +5409,11 @@ class DbxPopoverService {
|
|
|
4966
5409
|
});
|
|
4967
5410
|
}
|
|
4968
5411
|
}
|
|
4969
|
-
DbxPopoverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4970
|
-
DbxPopoverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
4971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5412
|
+
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 });
|
|
5413
|
+
DbxPopoverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverService });
|
|
5414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverService, decorators: [{
|
|
4972
5415
|
type: Injectable
|
|
4973
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5416
|
+
}], ctorParameters: function () { return [{ type: i1$d.Overlay }, { type: i0.Injector }]; } });
|
|
4974
5417
|
|
|
4975
5418
|
class AbstractFilterPopoverButtonDirective extends AbstractSubscriptionDirective {
|
|
4976
5419
|
constructor(popupService) {
|
|
@@ -4993,9 +5436,9 @@ class AbstractFilterPopoverButtonDirective extends AbstractSubscriptionDirective
|
|
|
4993
5436
|
});
|
|
4994
5437
|
}
|
|
4995
5438
|
}
|
|
4996
|
-
AbstractFilterPopoverButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4997
|
-
AbstractFilterPopoverButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
4998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5439
|
+
AbstractFilterPopoverButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterPopoverButtonDirective, deps: [{ token: DbxPopoverService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5440
|
+
AbstractFilterPopoverButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractFilterPopoverButtonDirective, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 });
|
|
5441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterPopoverButtonDirective, decorators: [{
|
|
4999
5442
|
type: Directive
|
|
5000
5443
|
}], ctorParameters: function () { return [{ type: DbxPopoverService }]; }, propDecorators: { config: [{
|
|
5001
5444
|
type: Input
|
|
@@ -5007,13 +5450,13 @@ class DbxFilterPopoverButtonComponent extends AbstractFilterPopoverButtonDirecti
|
|
|
5007
5450
|
this.showFilterPopoverAtOrigin(origin);
|
|
5008
5451
|
}
|
|
5009
5452
|
}
|
|
5010
|
-
DbxFilterPopoverButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5011
|
-
DbxFilterPopoverButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5453
|
+
DbxFilterPopoverButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5454
|
+
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: `
|
|
5012
5455
|
<button #button mat-icon-button (click)="showFilterPopover()" matTooltip="Filter" matTooltipPosition="above">
|
|
5013
5456
|
<mat-icon>filter_list</mat-icon>
|
|
5014
5457
|
</button>
|
|
5015
|
-
`, 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:
|
|
5016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5458
|
+
`, 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"] }] });
|
|
5459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterPopoverButtonComponent, decorators: [{
|
|
5017
5460
|
type: Component,
|
|
5018
5461
|
args: [{
|
|
5019
5462
|
selector: 'dbx-filter-popover-button',
|
|
@@ -5038,9 +5481,9 @@ class DbxPopoverControlsDirective {
|
|
|
5038
5481
|
}
|
|
5039
5482
|
}
|
|
5040
5483
|
}
|
|
5041
|
-
DbxPopoverControlsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5042
|
-
DbxPopoverControlsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5484
|
+
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 });
|
|
5485
|
+
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 });
|
|
5486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverControlsDirective, decorators: [{
|
|
5044
5487
|
type: Directive,
|
|
5045
5488
|
args: [{
|
|
5046
5489
|
selector: 'dbx-popover-controls,[dbx-popover-controls],.dbx-popover-controls',
|
|
@@ -5078,9 +5521,9 @@ class AbstractPopoverRefDirective extends AbstractSubscriptionDirective {
|
|
|
5078
5521
|
// Do nothing.
|
|
5079
5522
|
}
|
|
5080
5523
|
}
|
|
5081
|
-
AbstractPopoverRefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5082
|
-
AbstractPopoverRefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5524
|
+
AbstractPopoverRefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5525
|
+
AbstractPopoverRefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopoverRefDirective, usesInheritance: true, ngImport: i0 });
|
|
5526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefDirective, decorators: [{
|
|
5084
5527
|
type: Directive
|
|
5085
5528
|
}] });
|
|
5086
5529
|
/**
|
|
@@ -5104,9 +5547,9 @@ class AbstractPopoverRefWithEventsDirective extends AbstractPopoverRefDirective
|
|
|
5104
5547
|
this.popoverClosed.next(event);
|
|
5105
5548
|
}
|
|
5106
5549
|
}
|
|
5107
|
-
AbstractPopoverRefWithEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5108
|
-
AbstractPopoverRefWithEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5550
|
+
AbstractPopoverRefWithEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefWithEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5551
|
+
AbstractPopoverRefWithEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopoverRefWithEventsDirective, outputs: { popoverOpened: "popoverOpened", popoverClosed: "popoverClosed" }, usesInheritance: true, ngImport: i0 });
|
|
5552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopoverRefWithEventsDirective, decorators: [{
|
|
5110
5553
|
type: Directive
|
|
5111
5554
|
}], propDecorators: { popoverOpened: [{
|
|
5112
5555
|
type: Output
|
|
@@ -5174,15 +5617,15 @@ class DbxPopoverActionDirective extends AbstractPopoverRefWithEventsDirective {
|
|
|
5174
5617
|
}
|
|
5175
5618
|
}
|
|
5176
5619
|
}
|
|
5177
|
-
DbxPopoverActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5178
|
-
DbxPopoverActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5620
|
+
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 });
|
|
5621
|
+
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 });
|
|
5622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverActionDirective, decorators: [{
|
|
5180
5623
|
type: Directive,
|
|
5181
5624
|
args: [{
|
|
5182
5625
|
exportAs: 'popoverAction',
|
|
5183
5626
|
selector: '[dbxPopoverAction]'
|
|
5184
5627
|
}]
|
|
5185
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.
|
|
5628
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$2.DbxActionContextStoreSourceInstance }]; }, propDecorators: { fn: [{
|
|
5186
5629
|
type: Input,
|
|
5187
5630
|
args: ['dbxPopoverAction']
|
|
5188
5631
|
}], appPopoverActionModified: [{
|
|
@@ -5193,35 +5636,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5193
5636
|
* Action directive that is used to link an DbxButton to an DbxPopoverActionDirective.
|
|
5194
5637
|
*/
|
|
5195
5638
|
class DbxPopoverActionButtonDirective extends DbxActionButtonDirective {
|
|
5196
|
-
constructor(button, source,
|
|
5197
|
-
super(button, source,
|
|
5639
|
+
constructor(button, source, cdRef, appPopoverActionDirective) {
|
|
5640
|
+
super(button, source, cdRef);
|
|
5198
5641
|
this.appPopoverActionDirective = appPopoverActionDirective;
|
|
5199
5642
|
}
|
|
5200
5643
|
_buttonClicked() {
|
|
5201
5644
|
this.appPopoverActionDirective.showPopover();
|
|
5202
5645
|
}
|
|
5203
5646
|
}
|
|
5204
|
-
DbxPopoverActionButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5205
|
-
DbxPopoverActionButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5647
|
+
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 });
|
|
5648
|
+
DbxPopoverActionButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopoverActionButtonDirective, selector: "[dbxPopoverActionButton]", usesInheritance: true, ngImport: i0 });
|
|
5649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverActionButtonDirective, decorators: [{
|
|
5207
5650
|
type: Directive,
|
|
5208
5651
|
args: [{
|
|
5209
5652
|
selector: '[dbxPopoverActionButton]'
|
|
5210
5653
|
}]
|
|
5211
5654
|
}], ctorParameters: function () {
|
|
5212
|
-
return [{ type: i1.DbxButtonDirective, decorators: [{
|
|
5655
|
+
return [{ type: i1$2.DbxButtonDirective, decorators: [{
|
|
5213
5656
|
type: Host
|
|
5214
|
-
}] }, { type: i1.
|
|
5657
|
+
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }, { type: i0.ChangeDetectorRef }, { type: DbxPopoverActionDirective }];
|
|
5215
5658
|
} });
|
|
5216
5659
|
|
|
5217
5660
|
class DbxKeypressModule {
|
|
5218
5661
|
}
|
|
5219
|
-
DbxKeypressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5220
|
-
DbxKeypressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
5221
|
-
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
5662
|
+
DbxKeypressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5663
|
+
DbxKeypressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, declarations: [DbxWindowKeyDownListenerDirective], imports: [CommonModule], exports: [DbxWindowKeyDownListenerDirective] });
|
|
5664
|
+
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, imports: [[
|
|
5222
5665
|
CommonModule
|
|
5223
5666
|
]] });
|
|
5224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxKeypressModule, decorators: [{
|
|
5225
5668
|
type: NgModule,
|
|
5226
5669
|
args: [{
|
|
5227
5670
|
imports: [
|
|
@@ -5255,15 +5698,15 @@ class DbxActionKeyTriggerDirective {
|
|
|
5255
5698
|
}
|
|
5256
5699
|
}
|
|
5257
5700
|
}
|
|
5258
|
-
DbxActionKeyTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5259
|
-
DbxActionKeyTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5701
|
+
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 });
|
|
5702
|
+
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 });
|
|
5703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionKeyTriggerDirective, decorators: [{
|
|
5261
5704
|
type: Directive,
|
|
5262
5705
|
args: [{
|
|
5263
5706
|
selector: '[dbxActionKeyTrigger]',
|
|
5264
5707
|
}]
|
|
5265
5708
|
}], ctorParameters: function () {
|
|
5266
|
-
return [{ type: i1.
|
|
5709
|
+
return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
5267
5710
|
type: Host
|
|
5268
5711
|
}] }];
|
|
5269
5712
|
}, propDecorators: { inputKey: [{
|
|
@@ -5274,100 +5717,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5274
5717
|
args: ['document:keyup', ['$event']]
|
|
5275
5718
|
}] } });
|
|
5276
5719
|
|
|
5277
|
-
/**
|
|
5278
|
-
* Component for a snackbar that contains an action.
|
|
5279
|
-
*/
|
|
5280
|
-
class DbxActionSnackbarComponent {
|
|
5281
|
-
constructor(snackbar, data) {
|
|
5282
|
-
this.snackbar = snackbar;
|
|
5283
|
-
this.data = data;
|
|
5284
|
-
this.complete$ = this.actionSourceInstance.isSuccess$;
|
|
5285
|
-
this.snackbarStatusClass$ = this.actionSourceInstance.actionState$.pipe(map$1((x) => {
|
|
5286
|
-
let classes = 'dbx-action-snackbar-';
|
|
5287
|
-
switch (x) {
|
|
5288
|
-
case ActionState.Rejected:
|
|
5289
|
-
classes += 'error';
|
|
5290
|
-
break;
|
|
5291
|
-
case ActionState.Success:
|
|
5292
|
-
classes += 'success';
|
|
5293
|
-
break;
|
|
5294
|
-
default:
|
|
5295
|
-
classes += 'idle';
|
|
5296
|
-
break;
|
|
5297
|
-
}
|
|
5298
|
-
return classes;
|
|
5299
|
-
}), distinctUntilChanged(), shareReplay(1));
|
|
5300
|
-
this.dismissEarly = () => {
|
|
5301
|
-
this.snackbar._dismissAfter(ms('3s'));
|
|
5302
|
-
};
|
|
5303
|
-
this.dismiss = () => {
|
|
5304
|
-
this.snackbar.dismiss();
|
|
5305
|
-
};
|
|
5306
|
-
if (!data.actionSource) {
|
|
5307
|
-
throw new Error('No action was provided to ActionSnackbar.');
|
|
5308
|
-
}
|
|
5309
|
-
}
|
|
5310
|
-
get message() {
|
|
5311
|
-
return this.data.message;
|
|
5312
|
-
}
|
|
5313
|
-
get action() {
|
|
5314
|
-
return this.data.action;
|
|
5315
|
-
}
|
|
5316
|
-
get actionSourceInstance() {
|
|
5317
|
-
return this.data.actionSource;
|
|
5318
|
-
}
|
|
5319
|
-
}
|
|
5320
|
-
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 });
|
|
5321
|
-
DbxActionSnackbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: DbxActionSnackbarComponent, selector: "ng-component", ngImport: i0, template: `
|
|
5322
|
-
<div class="dbx-action-snackbar" [ngClass]="(snackbarStatusClass$ | async)!">
|
|
5323
|
-
<ng-container [ngSwitch]="complete$ | async">
|
|
5324
|
-
<ng-container *ngSwitchCase="true">
|
|
5325
|
-
<div class="spacer"></div>
|
|
5326
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="done" text="Success"></dbx-button>
|
|
5327
|
-
</ng-container>
|
|
5328
|
-
<ng-container *ngSwitchCase="false">
|
|
5329
|
-
<span>{{ message }}</span>
|
|
5330
|
-
<div class="spacer"></div>
|
|
5331
|
-
<dbx-action dbxActionValue [dbxActionSource]="actionSourceInstance" [dbxActionSuccess]="dismissEarly">
|
|
5332
|
-
<dbx-button dbxActionButton color="warn" [text]="action"></dbx-button>
|
|
5333
|
-
</dbx-action>
|
|
5334
|
-
<dbx-button-spacer></dbx-button-spacer>
|
|
5335
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="close"></dbx-button>
|
|
5336
|
-
</ng-container>
|
|
5337
|
-
</ng-container>
|
|
5338
|
-
</div>
|
|
5339
|
-
`, 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 } });
|
|
5340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
5341
|
-
type: Component,
|
|
5342
|
-
args: [{
|
|
5343
|
-
template: `
|
|
5344
|
-
<div class="dbx-action-snackbar" [ngClass]="(snackbarStatusClass$ | async)!">
|
|
5345
|
-
<ng-container [ngSwitch]="complete$ | async">
|
|
5346
|
-
<ng-container *ngSwitchCase="true">
|
|
5347
|
-
<div class="spacer"></div>
|
|
5348
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="done" text="Success"></dbx-button>
|
|
5349
|
-
</ng-container>
|
|
5350
|
-
<ng-container *ngSwitchCase="false">
|
|
5351
|
-
<span>{{ message }}</span>
|
|
5352
|
-
<div class="spacer"></div>
|
|
5353
|
-
<dbx-action dbxActionValue [dbxActionSource]="actionSourceInstance" [dbxActionSuccess]="dismissEarly">
|
|
5354
|
-
<dbx-button dbxActionButton color="warn" [text]="action"></dbx-button>
|
|
5355
|
-
</dbx-action>
|
|
5356
|
-
<dbx-button-spacer></dbx-button-spacer>
|
|
5357
|
-
<dbx-button (buttonClick)="dismiss()" color="accent" icon="close"></dbx-button>
|
|
5358
|
-
</ng-container>
|
|
5359
|
-
</ng-container>
|
|
5360
|
-
</div>
|
|
5361
|
-
`,
|
|
5362
|
-
// TODO: styleUrls: ['./action.scss']
|
|
5363
|
-
}]
|
|
5364
|
-
}], ctorParameters: function () {
|
|
5365
|
-
return [{ type: i1$c.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
5366
|
-
type: Inject,
|
|
5367
|
-
args: [MAT_SNACK_BAR_DATA]
|
|
5368
|
-
}] }];
|
|
5369
|
-
} });
|
|
5370
|
-
|
|
5371
5720
|
class DbxPromptConfirm {
|
|
5372
5721
|
}
|
|
5373
5722
|
function ProvideDbxPromptConfirm(sourceType) {
|
|
@@ -5382,8 +5731,8 @@ function ProvideDbxPromptConfirm(sourceType) {
|
|
|
5382
5731
|
*/
|
|
5383
5732
|
class DbxPromptComponent {
|
|
5384
5733
|
}
|
|
5385
|
-
DbxPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5386
|
-
DbxPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5734
|
+
DbxPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5735
|
+
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: `
|
|
5387
5736
|
<div class="dbx-prompt">
|
|
5388
5737
|
<ng-content select="[hero]"></ng-content>
|
|
5389
5738
|
<dbx-subsection [header]="header" [hint]="prompt">
|
|
@@ -5391,7 +5740,7 @@ DbxPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5391
5740
|
</dbx-subsection>
|
|
5392
5741
|
</div>
|
|
5393
5742
|
`, isInline: true, components: [{ type: DbxSubSectionComponent, selector: "dbx-subsection" }] });
|
|
5394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptComponent, decorators: [{
|
|
5395
5744
|
type: Component,
|
|
5396
5745
|
args: [{
|
|
5397
5746
|
selector: 'dbx-prompt',
|
|
@@ -5443,9 +5792,9 @@ class DbxPromptConfirmComponent {
|
|
|
5443
5792
|
this.cancel.emit();
|
|
5444
5793
|
}
|
|
5445
5794
|
}
|
|
5446
|
-
DbxPromptConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5447
|
-
DbxPromptConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5795
|
+
DbxPromptConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5796
|
+
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" }] });
|
|
5797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmComponent, decorators: [{
|
|
5449
5798
|
type: Component,
|
|
5450
5799
|
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" }]
|
|
5451
5800
|
}], propDecorators: { confirm: [{
|
|
@@ -5480,15 +5829,15 @@ class DbxPromptConfirmDialogComponent extends AbstractDialogDirective {
|
|
|
5480
5829
|
this.close(false);
|
|
5481
5830
|
}
|
|
5482
5831
|
}
|
|
5483
|
-
DbxPromptConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5484
|
-
DbxPromptConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5832
|
+
DbxPromptConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5833
|
+
DbxPromptConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptConfirmDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
5485
5834
|
<dbx-dialog-content>
|
|
5486
5835
|
<dbx-prompt-confirm [config]="config" (confirm)="confirm()" (cancel)="cancel()">
|
|
5487
5836
|
<dbx-injected-content [config]="injectedConfig"></dbx-injected-content>
|
|
5488
5837
|
</dbx-prompt-confirm>
|
|
5489
5838
|
</dbx-dialog-content>
|
|
5490
|
-
`, 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"] }] });
|
|
5491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5839
|
+
`, 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"] }] });
|
|
5840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDialogComponent, decorators: [{
|
|
5492
5841
|
type: Component,
|
|
5493
5842
|
args: [{
|
|
5494
5843
|
template: `
|
|
@@ -5526,11 +5875,11 @@ class AbstractPromptConfirmDirective {
|
|
|
5526
5875
|
return result;
|
|
5527
5876
|
}
|
|
5528
5877
|
}
|
|
5529
|
-
AbstractPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5530
|
-
AbstractPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5878
|
+
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 });
|
|
5879
|
+
AbstractPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPromptConfirmDirective, ngImport: i0 });
|
|
5880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPromptConfirmDirective, decorators: [{
|
|
5532
5881
|
type: Directive
|
|
5533
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5882
|
+
}], ctorParameters: function () { return [{ type: i1$3.MatDialog }]; } });
|
|
5534
5883
|
// MARK: Directive
|
|
5535
5884
|
/**
|
|
5536
5885
|
* Directive that shows a confirmation screen.
|
|
@@ -5540,15 +5889,15 @@ class DbxPromptConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
5540
5889
|
super(dialog);
|
|
5541
5890
|
}
|
|
5542
5891
|
}
|
|
5543
|
-
DbxPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5544
|
-
DbxPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5892
|
+
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 });
|
|
5893
|
+
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 });
|
|
5894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmDirective, decorators: [{
|
|
5546
5895
|
type: Directive,
|
|
5547
5896
|
args: [{
|
|
5548
5897
|
selector: '[dbxPromptConfirm]',
|
|
5549
5898
|
providers: ProvideDbxPromptConfirm(DbxPromptConfirmDirective)
|
|
5550
5899
|
}]
|
|
5551
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5900
|
+
}], ctorParameters: function () { return [{ type: i1$3.MatDialog }]; }, propDecorators: { config: [{
|
|
5552
5901
|
type: Input,
|
|
5553
5902
|
args: ['dbxPromptConfirm']
|
|
5554
5903
|
}] } });
|
|
@@ -5574,8 +5923,9 @@ class DbxActionConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
5574
5923
|
this._sourceSubscription.destroy();
|
|
5575
5924
|
}
|
|
5576
5925
|
_handleDialogResult(result) {
|
|
5926
|
+
var _a;
|
|
5577
5927
|
if (result) {
|
|
5578
|
-
this.source.readyValue(null);
|
|
5928
|
+
this.source.readyValue((_a = this.config) === null || _a === void 0 ? void 0 : _a.readyValue);
|
|
5579
5929
|
}
|
|
5580
5930
|
else {
|
|
5581
5931
|
this.source.reject(undefined);
|
|
@@ -5583,17 +5933,17 @@ class DbxActionConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
5583
5933
|
return result;
|
|
5584
5934
|
}
|
|
5585
5935
|
}
|
|
5586
|
-
DbxActionConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5587
|
-
DbxActionConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5936
|
+
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 });
|
|
5937
|
+
DbxActionConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionConfirmDirective, selector: "[dbxActionConfirm]", inputs: { config: ["dbxActionConfirm", "config"] }, usesInheritance: true, ngImport: i0 });
|
|
5938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionConfirmDirective, decorators: [{
|
|
5589
5939
|
type: Directive,
|
|
5590
5940
|
args: [{
|
|
5591
5941
|
selector: '[dbxActionConfirm]'
|
|
5592
5942
|
}]
|
|
5593
5943
|
}], ctorParameters: function () {
|
|
5594
|
-
return [{ type: i1.
|
|
5944
|
+
return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
5595
5945
|
type: Host
|
|
5596
|
-
}] }, { type: i1$
|
|
5946
|
+
}] }, { type: i1$3.MatDialog }];
|
|
5597
5947
|
}, propDecorators: { config: [{
|
|
5598
5948
|
type: Input,
|
|
5599
5949
|
args: ['dbxActionConfirm']
|
|
@@ -5604,9 +5954,9 @@ class DbxPromptBoxComponent {
|
|
|
5604
5954
|
this.elevated = true;
|
|
5605
5955
|
}
|
|
5606
5956
|
}
|
|
5607
|
-
DbxPromptBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5608
|
-
DbxPromptBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5957
|
+
DbxPromptBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5958
|
+
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 });
|
|
5959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptBoxComponent, decorators: [{
|
|
5610
5960
|
type: Component,
|
|
5611
5961
|
args: [{
|
|
5612
5962
|
selector: 'dbx-prompt-box',
|
|
@@ -5622,15 +5972,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5622
5972
|
|
|
5623
5973
|
class DbxPromptPageComponent {
|
|
5624
5974
|
}
|
|
5625
|
-
DbxPromptPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5626
|
-
DbxPromptPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5975
|
+
DbxPromptPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5976
|
+
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: `
|
|
5627
5977
|
<dbx-content-container width="full">
|
|
5628
5978
|
<div class="dbx-prompt-page-content-wrap">
|
|
5629
5979
|
<ng-content></ng-content>
|
|
5630
5980
|
</div>
|
|
5631
5981
|
</dbx-content-container>
|
|
5632
5982
|
`, isInline: true, directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[dbx-content-container],.dbx-content-container", inputs: ["grow", "padding"] }] });
|
|
5633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptPageComponent, decorators: [{
|
|
5634
5984
|
type: Component,
|
|
5635
5985
|
args: [{
|
|
5636
5986
|
selector: 'dbx-prompt-page',
|
|
@@ -5655,22 +6005,22 @@ class DbxPromptConfirmButtonDirective {
|
|
|
5655
6005
|
this.appButton = appButton;
|
|
5656
6006
|
this.prompt = prompt;
|
|
5657
6007
|
this.interceptButtonClick = () => {
|
|
5658
|
-
return this.prompt.showDialog().pipe(map
|
|
6008
|
+
return this.prompt.showDialog().pipe(map(x => Boolean(x)));
|
|
5659
6009
|
};
|
|
5660
6010
|
}
|
|
5661
6011
|
ngOnInit() {
|
|
5662
6012
|
this.appButton.setButtonInterceptor(this);
|
|
5663
6013
|
}
|
|
5664
6014
|
}
|
|
5665
|
-
DbxPromptConfirmButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5666
|
-
DbxPromptConfirmButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6015
|
+
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 });
|
|
6016
|
+
DbxPromptConfirmButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxPromptConfirmButtonDirective, selector: "[dbxPromptConfirmButton]", ngImport: i0 });
|
|
6017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptConfirmButtonDirective, decorators: [{
|
|
5668
6018
|
type: Directive,
|
|
5669
6019
|
args: [{
|
|
5670
6020
|
selector: '[dbxPromptConfirmButton]',
|
|
5671
6021
|
}]
|
|
5672
6022
|
}], ctorParameters: function () {
|
|
5673
|
-
return [{ type: i1.DbxButtonDirective, decorators: [{
|
|
6023
|
+
return [{ type: i1$2.DbxButtonDirective, decorators: [{
|
|
5674
6024
|
type: Host
|
|
5675
6025
|
}] }, { type: DbxPromptConfirm, decorators: [{
|
|
5676
6026
|
type: Host
|
|
@@ -5679,8 +6029,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5679
6029
|
|
|
5680
6030
|
class DbxPromptModule {
|
|
5681
6031
|
}
|
|
5682
|
-
DbxPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5683
|
-
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6032
|
+
DbxPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6033
|
+
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, declarations: [DbxPromptComponent,
|
|
5684
6034
|
DbxPromptBoxComponent,
|
|
5685
6035
|
DbxPromptPageComponent,
|
|
5686
6036
|
DbxPromptConfirmComponent,
|
|
@@ -5700,7 +6050,7 @@ DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
5700
6050
|
DbxPromptConfirmComponent,
|
|
5701
6051
|
DbxPromptConfirmButtonDirective,
|
|
5702
6052
|
DbxPromptConfirmDirective] });
|
|
5703
|
-
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6053
|
+
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, imports: [[
|
|
5704
6054
|
CommonModule,
|
|
5705
6055
|
MatDialogModule,
|
|
5706
6056
|
MatButtonModule,
|
|
@@ -5711,7 +6061,7 @@ DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
5711
6061
|
DbxSectionLayoutModule,
|
|
5712
6062
|
DbxContentLayoutModule
|
|
5713
6063
|
]] });
|
|
5714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPromptModule, decorators: [{
|
|
5715
6065
|
type: NgModule,
|
|
5716
6066
|
args: [{
|
|
5717
6067
|
imports: [
|
|
@@ -5747,9 +6097,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5747
6097
|
|
|
5748
6098
|
class DbxActionModule {
|
|
5749
6099
|
}
|
|
5750
|
-
DbxActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5751
|
-
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
5752
|
-
DbxActionSnackbarComponent,
|
|
6100
|
+
DbxActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6101
|
+
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, declarations: [DbxActionKeyTriggerDirective,
|
|
5753
6102
|
DbxActionConfirmDirective], imports: [CommonModule,
|
|
5754
6103
|
DbxCoreActionModule,
|
|
5755
6104
|
DbxButtonModule,
|
|
@@ -5758,9 +6107,8 @@ DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
5758
6107
|
MatButtonModule,
|
|
5759
6108
|
DbxPromptModule], exports: [DbxCoreActionModule,
|
|
5760
6109
|
DbxActionKeyTriggerDirective,
|
|
5761
|
-
DbxActionSnackbarComponent,
|
|
5762
6110
|
DbxActionConfirmDirective] });
|
|
5763
|
-
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6111
|
+
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, imports: [[
|
|
5764
6112
|
CommonModule,
|
|
5765
6113
|
DbxCoreActionModule,
|
|
5766
6114
|
DbxButtonModule,
|
|
@@ -5769,7 +6117,7 @@ DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
5769
6117
|
MatButtonModule,
|
|
5770
6118
|
DbxPromptModule,
|
|
5771
6119
|
], DbxCoreActionModule] });
|
|
5772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionModule, decorators: [{
|
|
5773
6121
|
type: NgModule,
|
|
5774
6122
|
args: [{
|
|
5775
6123
|
imports: [
|
|
@@ -5783,13 +6131,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5783
6131
|
],
|
|
5784
6132
|
declarations: [
|
|
5785
6133
|
DbxActionKeyTriggerDirective,
|
|
5786
|
-
DbxActionSnackbarComponent,
|
|
5787
6134
|
DbxActionConfirmDirective,
|
|
5788
6135
|
],
|
|
5789
6136
|
exports: [
|
|
5790
6137
|
DbxCoreActionModule,
|
|
5791
6138
|
DbxActionKeyTriggerDirective,
|
|
5792
|
-
DbxActionSnackbarComponent,
|
|
5793
6139
|
DbxActionConfirmDirective,
|
|
5794
6140
|
]
|
|
5795
6141
|
}]
|
|
@@ -5805,8 +6151,8 @@ class DbxPopoverInteractionModule {
|
|
|
5805
6151
|
};
|
|
5806
6152
|
}
|
|
5807
6153
|
}
|
|
5808
|
-
DbxPopoverInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5809
|
-
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6154
|
+
DbxPopoverInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6155
|
+
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxPopoverActionButtonDirective,
|
|
5810
6156
|
DbxPopoverActionDirective,
|
|
5811
6157
|
DbxPopoverComponent,
|
|
5812
6158
|
DbxPopoverCoordinatorComponent,
|
|
@@ -5830,7 +6176,7 @@ DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0
|
|
|
5830
6176
|
DbxPopoverControlsDirective,
|
|
5831
6177
|
DbxPopoverHeaderComponent,
|
|
5832
6178
|
DbxPopoverScrollContentComponent] });
|
|
5833
|
-
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6179
|
+
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, providers: [
|
|
5834
6180
|
DbxPopoverService
|
|
5835
6181
|
], imports: [[
|
|
5836
6182
|
CommonModule,
|
|
@@ -5846,7 +6192,7 @@ DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0
|
|
|
5846
6192
|
NgOverlayContainerModule,
|
|
5847
6193
|
AngularResizeEventModule
|
|
5848
6194
|
]] });
|
|
5849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopoverInteractionModule, decorators: [{
|
|
5850
6196
|
type: NgModule,
|
|
5851
6197
|
args: [{
|
|
5852
6198
|
imports: [
|
|
@@ -5902,9 +6248,9 @@ class DbxFilterWrapperComponent {
|
|
|
5902
6248
|
this.resetFilter.emit();
|
|
5903
6249
|
}
|
|
5904
6250
|
}
|
|
5905
|
-
DbxFilterWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5906
|
-
DbxFilterWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
5907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6251
|
+
DbxFilterWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6252
|
+
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"] }] });
|
|
6253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterWrapperComponent, decorators: [{
|
|
5908
6254
|
type: Component,
|
|
5909
6255
|
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" }]
|
|
5910
6256
|
}], propDecorators: { modified: [{
|
|
@@ -5917,8 +6263,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
5917
6263
|
|
|
5918
6264
|
class DbxFilterInteractionModule {
|
|
5919
6265
|
}
|
|
5920
|
-
DbxFilterInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5921
|
-
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6266
|
+
DbxFilterInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6267
|
+
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxFilterPopoverComponent,
|
|
5922
6268
|
DbxFilterPopoverButtonComponent,
|
|
5923
6269
|
DbxFilterWrapperComponent], imports: [CommonModule,
|
|
5924
6270
|
DbxPopoverInteractionModule,
|
|
@@ -5930,7 +6276,7 @@ DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.
|
|
|
5930
6276
|
MatButtonModule], exports: [DbxCoreFilterModule,
|
|
5931
6277
|
DbxFilterPopoverButtonComponent,
|
|
5932
6278
|
DbxFilterWrapperComponent] });
|
|
5933
|
-
DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6279
|
+
DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, imports: [[
|
|
5934
6280
|
CommonModule,
|
|
5935
6281
|
DbxPopoverInteractionModule,
|
|
5936
6282
|
DbxCoreFilterModule,
|
|
@@ -5940,7 +6286,7 @@ DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
5940
6286
|
MatIconModule,
|
|
5941
6287
|
MatButtonModule
|
|
5942
6288
|
], DbxCoreFilterModule] });
|
|
5943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterInteractionModule, decorators: [{
|
|
5944
6290
|
type: NgModule,
|
|
5945
6291
|
args: [{
|
|
5946
6292
|
imports: [
|
|
@@ -6047,9 +6393,9 @@ class DbxPopupCoordinatorService {
|
|
|
6047
6393
|
}
|
|
6048
6394
|
}
|
|
6049
6395
|
}
|
|
6050
|
-
DbxPopupCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6051
|
-
DbxPopupCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
6052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6396
|
+
DbxPopupCoordinatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6397
|
+
DbxPopupCoordinatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorService });
|
|
6398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorService, decorators: [{
|
|
6053
6399
|
type: Injectable
|
|
6054
6400
|
}], ctorParameters: function () { return []; } });
|
|
6055
6401
|
|
|
@@ -6060,7 +6406,7 @@ class DbxPopupCoordinatorComponent {
|
|
|
6060
6406
|
constructor(service, popup) {
|
|
6061
6407
|
this.service = service;
|
|
6062
6408
|
this.popup = popup;
|
|
6063
|
-
this.isPopupForKey$ = this.service.popups$.pipe(map
|
|
6409
|
+
this.isPopupForKey$ = this.service.popups$.pipe(map(x => x.get(this.popup.key) === this.popup), shareReplay$1(1));
|
|
6064
6410
|
this.show$ = this.isPopupForKey$.pipe(delay$1(0));
|
|
6065
6411
|
}
|
|
6066
6412
|
ngOnInit() {
|
|
@@ -6070,13 +6416,13 @@ class DbxPopupCoordinatorComponent {
|
|
|
6070
6416
|
this.service.removePopup(this.popup.key, this.popup);
|
|
6071
6417
|
}
|
|
6072
6418
|
}
|
|
6073
|
-
DbxPopupCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6074
|
-
DbxPopupCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6419
|
+
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 });
|
|
6420
|
+
DbxPopupCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator", ngImport: i0, template: `
|
|
6075
6421
|
<ng-container *ngIf="show$ | async">
|
|
6076
6422
|
<ng-content></ng-content>
|
|
6077
6423
|
</ng-container>
|
|
6078
|
-
`, isInline: true, directives: [{ type: i3
|
|
6079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6424
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
6425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupCoordinatorComponent, decorators: [{
|
|
6080
6426
|
type: Component,
|
|
6081
6427
|
args: [{
|
|
6082
6428
|
selector: 'dbx-popup-coordinator',
|
|
@@ -6106,8 +6452,8 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
6106
6452
|
init: this.config.init ? ((instance) => this.config.init(instance, this)) : undefined
|
|
6107
6453
|
};
|
|
6108
6454
|
this.closing = new Subject();
|
|
6109
|
-
this.isClosing$ = this.closing.pipe(first$1(), map
|
|
6110
|
-
this.closing$ = this.isClosing$.pipe(filter
|
|
6455
|
+
this.isClosing$ = this.closing.pipe(first$1(), map(x => true), startWith$1(false), shareReplay$1(1));
|
|
6456
|
+
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
6111
6457
|
this._windowState = new BehaviorSubject(DbxPopupWindowState.NORMAL);
|
|
6112
6458
|
this.windowState$ = this._windowState.asObservable();
|
|
6113
6459
|
this.compactContextState.setMode(CompactMode.COMPACT);
|
|
@@ -6170,8 +6516,8 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
6170
6516
|
this._windowState.next(DbxPopupWindowState.FULLSCREEN);
|
|
6171
6517
|
}
|
|
6172
6518
|
}
|
|
6173
|
-
DbxPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6174
|
-
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6519
|
+
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 });
|
|
6520
|
+
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxPopupComponent, selector: "ng-component", providers: [{
|
|
6175
6521
|
provide: DbxPopupController,
|
|
6176
6522
|
useExisting: DbxPopupComponent
|
|
6177
6523
|
}, {
|
|
@@ -6180,8 +6526,8 @@ DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
6180
6526
|
<dbx-popup-coordinator>
|
|
6181
6527
|
<div class="dbx-popup-component" dbx-injected-content [config]="contentConfig"></div>
|
|
6182
6528
|
</dbx-popup-coordinator>
|
|
6183
|
-
`, isInline: true, components: [{ type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator" }, { type: i1.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }] });
|
|
6184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6529
|
+
`, isInline: true, components: [{ type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator" }, { type: i1$2.DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: ["config", "template"] }] });
|
|
6530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupComponent, decorators: [{
|
|
6185
6531
|
type: Component,
|
|
6186
6532
|
args: [{
|
|
6187
6533
|
template: `
|
|
@@ -6196,7 +6542,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6196
6542
|
provide: CompactContextStore
|
|
6197
6543
|
}]
|
|
6198
6544
|
}]
|
|
6199
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6545
|
+
}], ctorParameters: function () { return [{ type: i1$c.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
6200
6546
|
|
|
6201
6547
|
/**
|
|
6202
6548
|
* Abstract popup directive.
|
|
@@ -6209,9 +6555,9 @@ class AbstractPopupDirective {
|
|
|
6209
6555
|
this.popup.close();
|
|
6210
6556
|
}
|
|
6211
6557
|
}
|
|
6212
|
-
AbstractPopupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6213
|
-
AbstractPopupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
6214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6558
|
+
AbstractPopupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopupDirective, deps: [{ token: DbxPopupComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6559
|
+
AbstractPopupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractPopupDirective, ngImport: i0 });
|
|
6560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractPopupDirective, decorators: [{
|
|
6215
6561
|
type: Directive
|
|
6216
6562
|
}], ctorParameters: function () { return [{ type: DbxPopupComponent }]; } });
|
|
6217
6563
|
|
|
@@ -6221,17 +6567,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6221
6567
|
class DbxPopupContentComponent {
|
|
6222
6568
|
constructor(appPopupController) {
|
|
6223
6569
|
this.appPopupController = appPopupController;
|
|
6224
|
-
this.showContent$ = this.appPopupController.windowState$.pipe(map
|
|
6570
|
+
this.showContent$ = this.appPopupController.windowState$.pipe(map(x => x !== DbxPopupWindowState.MINIMIZED));
|
|
6225
6571
|
}
|
|
6226
6572
|
}
|
|
6227
|
-
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6228
|
-
DbxPopupContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6573
|
+
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupContentComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
6574
|
+
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: `
|
|
6229
6575
|
<ng-content select="[controls]"></ng-content>
|
|
6230
6576
|
<div *ngIf="showContent$ | async" class="dbx-popup-content-container">
|
|
6231
6577
|
<ng-content></ng-content>
|
|
6232
6578
|
</div>
|
|
6233
|
-
`, isInline: true, directives: [{ type: i3
|
|
6234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6579
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe } });
|
|
6580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupContentComponent, decorators: [{
|
|
6235
6581
|
type: Component,
|
|
6236
6582
|
args: [{
|
|
6237
6583
|
selector: 'dbx-popup-content',
|
|
@@ -6253,8 +6599,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6253
6599
|
class DbxPopupControlButtonsComponent {
|
|
6254
6600
|
constructor(appPopupController) {
|
|
6255
6601
|
this.appPopupController = appPopupController;
|
|
6256
|
-
this.isMinimized$ = this.appPopupController.windowState$.pipe(map
|
|
6257
|
-
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map
|
|
6602
|
+
this.isMinimized$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.MINIMIZED));
|
|
6603
|
+
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.FULLSCREEN));
|
|
6258
6604
|
}
|
|
6259
6605
|
minimizeClicked() {
|
|
6260
6606
|
this.appPopupController.minimize();
|
|
@@ -6272,8 +6618,8 @@ class DbxPopupControlButtonsComponent {
|
|
|
6272
6618
|
this.appPopupController.close();
|
|
6273
6619
|
}
|
|
6274
6620
|
}
|
|
6275
|
-
DbxPopupControlButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6276
|
-
DbxPopupControlButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6621
|
+
DbxPopupControlButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlButtonsComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
6622
|
+
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: `
|
|
6277
6623
|
<ng-container [ngSwitch]="isMinimized$ | async">
|
|
6278
6624
|
<dbx-button [flat]="true" *ngSwitchCase="false" icon="minimize" (buttonClick)="minimizeClicked()"></dbx-button>
|
|
6279
6625
|
<dbx-button [flat]="true" *ngSwitchCase="true" icon="maximize" (buttonClick)="maximizeClicked()"></dbx-button>
|
|
@@ -6285,8 +6631,8 @@ DbxPopupControlButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
6285
6631
|
</ng-container>
|
|
6286
6632
|
<dbx-button-spacer></dbx-button-spacer>
|
|
6287
6633
|
<dbx-button [flat]="true" icon="close" color="warn" (buttonClick)="closeClicked()"></dbx-button>
|
|
6288
|
-
`, isInline: true, components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color"] }
|
|
6289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6634
|
+
`, 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 } });
|
|
6635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlButtonsComponent, decorators: [{
|
|
6290
6636
|
type: Component,
|
|
6291
6637
|
args: [{
|
|
6292
6638
|
selector: 'dbx-popup-control-buttons',
|
|
@@ -6314,13 +6660,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6314
6660
|
*/
|
|
6315
6661
|
class DbxPopupControlsComponent {
|
|
6316
6662
|
}
|
|
6317
|
-
DbxPopupControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6318
|
-
DbxPopupControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6663
|
+
DbxPopupControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6664
|
+
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: `
|
|
6319
6665
|
<span class="dbx-popup-controls-header">{{ header }}</span>
|
|
6320
6666
|
<div class="spacer"></div>
|
|
6321
6667
|
<dbx-popup-control-buttons></dbx-popup-control-buttons>
|
|
6322
6668
|
`, isInline: true, components: [{ type: DbxPopupControlButtonsComponent, selector: "dbx-popup-control-buttons" }] });
|
|
6323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupControlsComponent, decorators: [{
|
|
6324
6670
|
type: Component,
|
|
6325
6671
|
args: [{
|
|
6326
6672
|
selector: 'dbx-popup-controls',
|
|
@@ -6366,11 +6712,11 @@ class DbxPopupService {
|
|
|
6366
6712
|
});
|
|
6367
6713
|
}
|
|
6368
6714
|
}
|
|
6369
|
-
DbxPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6370
|
-
DbxPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
6371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6715
|
+
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 });
|
|
6716
|
+
DbxPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupService });
|
|
6717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupService, decorators: [{
|
|
6372
6718
|
type: Injectable
|
|
6373
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6719
|
+
}], ctorParameters: function () { return [{ type: i1$d.Overlay }, { type: i0.Injector }]; } });
|
|
6374
6720
|
|
|
6375
6721
|
class DbxPopupInteractionModule {
|
|
6376
6722
|
static forRoot() {
|
|
@@ -6382,8 +6728,8 @@ class DbxPopupInteractionModule {
|
|
|
6382
6728
|
};
|
|
6383
6729
|
}
|
|
6384
6730
|
}
|
|
6385
|
-
DbxPopupInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6386
|
-
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6731
|
+
DbxPopupInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6732
|
+
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, declarations: [DbxPopupComponent,
|
|
6387
6733
|
DbxPopupCoordinatorComponent,
|
|
6388
6734
|
DbxPopupContentComponent,
|
|
6389
6735
|
DbxPopupControlsComponent,
|
|
@@ -6398,7 +6744,7 @@ DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0
|
|
|
6398
6744
|
NgOverlayContainerModule], exports: [DbxPopupContentComponent,
|
|
6399
6745
|
DbxPopupControlsComponent,
|
|
6400
6746
|
DbxPopupControlButtonsComponent] });
|
|
6401
|
-
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6747
|
+
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, providers: [
|
|
6402
6748
|
DbxPopupService
|
|
6403
6749
|
], imports: [[
|
|
6404
6750
|
CommonModule,
|
|
@@ -6411,7 +6757,7 @@ DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
|
|
|
6411
6757
|
DbxInjectedComponentModule,
|
|
6412
6758
|
NgOverlayContainerModule,
|
|
6413
6759
|
]] });
|
|
6414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxPopupInteractionModule, decorators: [{
|
|
6415
6761
|
type: NgModule,
|
|
6416
6762
|
args: [{
|
|
6417
6763
|
imports: [
|
|
@@ -6445,18 +6791,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6445
6791
|
|
|
6446
6792
|
class DbxInteractionModule {
|
|
6447
6793
|
}
|
|
6448
|
-
DbxInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6449
|
-
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6794
|
+
DbxInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6795
|
+
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, exports: [DbxDialogInteractionModule,
|
|
6450
6796
|
DbxFilterInteractionModule,
|
|
6451
6797
|
DbxPromptModule,
|
|
6452
6798
|
DbxPopoverInteractionModule,
|
|
6453
6799
|
DbxPopupInteractionModule] });
|
|
6454
|
-
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
6800
|
+
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, imports: [DbxDialogInteractionModule,
|
|
6455
6801
|
DbxFilterInteractionModule,
|
|
6456
6802
|
DbxPromptModule,
|
|
6457
6803
|
DbxPopoverInteractionModule,
|
|
6458
6804
|
DbxPopupInteractionModule] });
|
|
6459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInteractionModule, decorators: [{
|
|
6460
6806
|
type: NgModule,
|
|
6461
6807
|
args: [{
|
|
6462
6808
|
exports: [
|
|
@@ -6469,6 +6815,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6469
6815
|
}]
|
|
6470
6816
|
}] });
|
|
6471
6817
|
|
|
6818
|
+
class DbxActionSnackbarModule {
|
|
6819
|
+
}
|
|
6820
|
+
DbxActionSnackbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6821
|
+
DbxActionSnackbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, declarations: [DbxActionSnackbarComponent,
|
|
6822
|
+
DbxActionSnackbarDirective], imports: [CommonModule,
|
|
6823
|
+
DbxStyleLayoutModule,
|
|
6824
|
+
DbxCoreActionModule,
|
|
6825
|
+
DbxPromptModule,
|
|
6826
|
+
DbxButtonModule,
|
|
6827
|
+
DbxReadableErrorModule], exports: [DbxActionSnackbarComponent,
|
|
6828
|
+
DbxActionSnackbarDirective] });
|
|
6829
|
+
DbxActionSnackbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, imports: [[
|
|
6830
|
+
CommonModule,
|
|
6831
|
+
DbxStyleLayoutModule,
|
|
6832
|
+
DbxCoreActionModule,
|
|
6833
|
+
DbxPromptModule,
|
|
6834
|
+
DbxButtonModule,
|
|
6835
|
+
DbxReadableErrorModule
|
|
6836
|
+
]] });
|
|
6837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSnackbarModule, decorators: [{
|
|
6838
|
+
type: NgModule,
|
|
6839
|
+
args: [{
|
|
6840
|
+
imports: [
|
|
6841
|
+
CommonModule,
|
|
6842
|
+
DbxStyleLayoutModule,
|
|
6843
|
+
DbxCoreActionModule,
|
|
6844
|
+
DbxPromptModule,
|
|
6845
|
+
DbxButtonModule,
|
|
6846
|
+
DbxReadableErrorModule
|
|
6847
|
+
],
|
|
6848
|
+
declarations: [
|
|
6849
|
+
DbxActionSnackbarComponent,
|
|
6850
|
+
DbxActionSnackbarDirective
|
|
6851
|
+
],
|
|
6852
|
+
exports: [
|
|
6853
|
+
DbxActionSnackbarComponent,
|
|
6854
|
+
DbxActionSnackbarDirective
|
|
6855
|
+
]
|
|
6856
|
+
}]
|
|
6857
|
+
}] });
|
|
6858
|
+
|
|
6472
6859
|
var DbxActionTransitionSafetyDialogResult;
|
|
6473
6860
|
(function (DbxActionTransitionSafetyDialogResult) {
|
|
6474
6861
|
DbxActionTransitionSafetyDialogResult[DbxActionTransitionSafetyDialogResult["SUCCESS"] = 0] = "SUCCESS";
|
|
@@ -6497,8 +6884,8 @@ class DbxActionUIRouterTransitionSafetyDialogComponent extends AbstractDialogDir
|
|
|
6497
6884
|
this.dialogRef.close(DbxActionTransitionSafetyDialogResult.DISCARD);
|
|
6498
6885
|
}
|
|
6499
6886
|
}
|
|
6500
|
-
DbxActionUIRouterTransitionSafetyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6501
|
-
DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
6887
|
+
DbxActionUIRouterTransitionSafetyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionSafetyDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6888
|
+
DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionUIRouterTransitionSafetyDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
6502
6889
|
<dbx-prompt-confirm [config]="config" (confirm)="confirm()" (cancel)="cancel()">
|
|
6503
6890
|
<ng-container>
|
|
6504
6891
|
<dbx-error dbxActionError></dbx-error>
|
|
@@ -6506,8 +6893,8 @@ DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareCompone
|
|
|
6506
6893
|
<dbx-button-spacer></dbx-button-spacer>
|
|
6507
6894
|
</ng-container>
|
|
6508
6895
|
</dbx-prompt-confirm>
|
|
6509
|
-
`, 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:
|
|
6510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6896
|
+
`, 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" }] });
|
|
6897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionSafetyDialogComponent, decorators: [{
|
|
6511
6898
|
type: Component,
|
|
6512
6899
|
args: [{
|
|
6513
6900
|
template: `
|
|
@@ -6560,9 +6947,9 @@ class DbxActionTransitionSafetyDirective {
|
|
|
6560
6947
|
if (isModified) {
|
|
6561
6948
|
return race([
|
|
6562
6949
|
// Watch for success to occur. At that point, close everything.
|
|
6563
|
-
this.source.success$.pipe(first$1(), map
|
|
6564
|
-
this._handleIsModifiedState(transition).pipe(first$1(), map
|
|
6565
|
-
]).pipe(map
|
|
6950
|
+
this.source.success$.pipe(first$1(), map((x) => [true, undefined])),
|
|
6951
|
+
this._handleIsModifiedState(transition).pipe(first$1(), map((x) => [undefined, x]))
|
|
6952
|
+
]).pipe(map(([saveSuccess, handleResult]) => {
|
|
6566
6953
|
if (saveSuccess) {
|
|
6567
6954
|
return true;
|
|
6568
6955
|
}
|
|
@@ -6619,7 +7006,7 @@ class DbxActionTransitionSafetyDirective {
|
|
|
6619
7006
|
viewContainerRef: this.viewContainerRef
|
|
6620
7007
|
});
|
|
6621
7008
|
}
|
|
6622
|
-
return this._dialogRef.afterClosed().pipe(first$1(), map
|
|
7009
|
+
return this._dialogRef.afterClosed().pipe(first$1(), map((result = DbxActionTransitionSafetyDialogResult.STAY) => {
|
|
6623
7010
|
// Default to Stay if the user clicks outside.
|
|
6624
7011
|
switch (result) {
|
|
6625
7012
|
case DbxActionTransitionSafetyDialogResult.DISCARD:
|
|
@@ -6638,14 +7025,14 @@ class DbxActionTransitionSafetyDirective {
|
|
|
6638
7025
|
this._dialogRef = undefined;
|
|
6639
7026
|
}
|
|
6640
7027
|
}
|
|
6641
|
-
DbxActionTransitionSafetyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6642
|
-
DbxActionTransitionSafetyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
6643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7028
|
+
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 });
|
|
7029
|
+
DbxActionTransitionSafetyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionTransitionSafetyDirective, selector: "[dbxActionTransitionSafety]", inputs: { inputSafetyType: ["dbxActionTransitionSafety", "inputSafetyType"] }, ngImport: i0 });
|
|
7030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionTransitionSafetyDirective, decorators: [{
|
|
6644
7031
|
type: Directive,
|
|
6645
7032
|
args: [{
|
|
6646
7033
|
selector: '[dbxActionTransitionSafety]',
|
|
6647
7034
|
}]
|
|
6648
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
7035
|
+
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance }, { type: i2$3.TransitionService }, { type: i0.ViewContainerRef }, { type: i1$3.MatDialog }]; }, propDecorators: { inputSafetyType: [{
|
|
6649
7036
|
type: Input,
|
|
6650
7037
|
args: ['dbxActionTransitionSafety']
|
|
6651
7038
|
}] } });
|
|
@@ -6657,21 +7044,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6657
7044
|
*/
|
|
6658
7045
|
class DbxActionUIRouterTransitionModule {
|
|
6659
7046
|
}
|
|
6660
|
-
DbxActionUIRouterTransitionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6661
|
-
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
7047
|
+
DbxActionUIRouterTransitionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7048
|
+
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, declarations: [DbxActionTransitionSafetyDirective,
|
|
6662
7049
|
DbxActionUIRouterTransitionSafetyDialogComponent], imports: [CommonModule,
|
|
6663
7050
|
DbxCoreActionModule,
|
|
6664
7051
|
DbxPromptModule,
|
|
6665
7052
|
DbxButtonModule,
|
|
6666
7053
|
DbxReadableErrorModule], exports: [DbxActionTransitionSafetyDirective] });
|
|
6667
|
-
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
7054
|
+
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, imports: [[
|
|
6668
7055
|
CommonModule,
|
|
6669
7056
|
DbxCoreActionModule,
|
|
6670
7057
|
DbxPromptModule,
|
|
6671
7058
|
DbxButtonModule,
|
|
6672
7059
|
DbxReadableErrorModule
|
|
6673
7060
|
]] });
|
|
6674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionUIRouterTransitionModule, decorators: [{
|
|
6675
7062
|
type: NgModule,
|
|
6676
7063
|
args: [{
|
|
6677
7064
|
imports: [
|
|
@@ -6693,14 +7080,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6693
7080
|
|
|
6694
7081
|
class DbxWebModule {
|
|
6695
7082
|
}
|
|
6696
|
-
DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6697
|
-
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
7083
|
+
DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7084
|
+
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, exports: [DbxButtonModule,
|
|
6698
7085
|
DbxActionModule,
|
|
6699
7086
|
DbxLoadingModule] });
|
|
6700
|
-
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
7087
|
+
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, imports: [DbxButtonModule,
|
|
6701
7088
|
DbxActionModule,
|
|
6702
7089
|
DbxLoadingModule] });
|
|
6703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebModule, decorators: [{
|
|
6704
7091
|
type: NgModule,
|
|
6705
7092
|
args: [{
|
|
6706
7093
|
exports: [
|
|
@@ -6718,12 +7105,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6718
7105
|
*/
|
|
6719
7106
|
class DbxWebRootModule {
|
|
6720
7107
|
}
|
|
6721
|
-
DbxWebRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6722
|
-
DbxWebRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
6723
|
-
DbxWebRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
7108
|
+
DbxWebRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7109
|
+
DbxWebRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, imports: [i1.MatProgressButtonsModule] });
|
|
7110
|
+
DbxWebRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, imports: [[
|
|
6724
7111
|
MatProgressButtonsModule.forRoot()
|
|
6725
7112
|
]] });
|
|
6726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxWebRootModule, decorators: [{
|
|
6727
7114
|
type: NgModule,
|
|
6728
7115
|
args: [{
|
|
6729
7116
|
imports: [
|
|
@@ -6736,5 +7123,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
6736
7123
|
* Generated bundle index. Do not edit.
|
|
6737
7124
|
*/
|
|
6738
7125
|
|
|
6739
|
-
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,
|
|
7126
|
+
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 };
|
|
6740
7127
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|