@dereekb/dbx-web 8.11.0 → 8.12.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.
Files changed (35) hide show
  1. package/esm2020/lib/extension/calendar/calendar.component.mjs +86 -0
  2. package/esm2020/lib/extension/calendar/calendar.module.mjs +74 -0
  3. package/esm2020/lib/extension/calendar/calendar.store.mjs +107 -0
  4. package/esm2020/lib/extension/calendar/index.mjs +4 -0
  5. package/esm2020/lib/extension/index.mjs +2 -0
  6. package/esm2020/lib/index.mjs +2 -1
  7. package/esm2020/lib/layout/column/two/two.column.component.mjs +6 -7
  8. package/esm2020/lib/layout/column/two/two.column.store.mjs +10 -1
  9. package/fesm2015/dereekb-dbx-web.mjs +260 -9
  10. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  11. package/fesm2020/dereekb-dbx-web.mjs +261 -9
  12. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  13. package/lib/extension/_extension.scss +38 -0
  14. package/lib/extension/calendar/_calendar.scss +188 -0
  15. package/lib/extension/calendar/calendar.component.d.ts +43 -0
  16. package/lib/extension/calendar/calendar.module.d.ts +22 -0
  17. package/lib/extension/calendar/calendar.store.d.ts +67 -0
  18. package/lib/extension/calendar/index.d.ts +3 -0
  19. package/lib/extension/calendar/style/_angular-calendar.scss +23 -0
  20. package/lib/extension/calendar/style/_variables.scss +76 -0
  21. package/lib/extension/calendar/style/common/calendar-tooltip.scss +113 -0
  22. package/lib/extension/calendar/style/day/calendar-day-view.scss +34 -0
  23. package/lib/extension/calendar/style/month/calendar-month-view.scss +221 -0
  24. package/lib/extension/calendar/style/week/calendar-week-view.scss +377 -0
  25. package/lib/extension/index.d.ts +1 -0
  26. package/lib/index.d.ts +1 -0
  27. package/lib/layout/column/_column.scss +17 -5
  28. package/lib/layout/column/two/two.column.component.d.ts +1 -1
  29. package/lib/layout/column/two/two.column.store.d.ts +15 -0
  30. package/lib/style/_all-core.scss +3 -1
  31. package/lib/style/_all-theme.scss +2 -0
  32. package/lib/style/_all-typography.scss +3 -1
  33. package/lib/style/_config.scss +30 -1
  34. package/lib/style/_core.scss +2 -3
  35. package/package.json +4 -3
@@ -56,8 +56,17 @@ import * as i3$5 from '@angular/material/tooltip';
56
56
  import { MatTooltipModule } from '@angular/material/tooltip';
57
57
  import * as i1$b from '@angular/cdk/overlay';
58
58
  import { GlobalPositionStrategy } from '@angular/cdk/overlay';
59
- import * as i3$6 from '@angular/flex-layout/flex';
59
+ import * as i6$1 from '@angular/flex-layout/flex';
60
60
  import * as i2$2 from '@uirouter/core';
61
+ import { startOfDay, endOfDay, startOfWeek, endOfWeek, startOfMonth, endOfMonth, differenceInDays, addDays, isSameDay, isBefore, isAfter, isSameMonth } from 'date-fns';
62
+ import { distinctUntilChanged as distinctUntilChanged$1, switchMap as switchMap$1, first as first$1, tap as tap$1, map as map$1, shareReplay as shareReplay$1, withLatestFrom } from 'rxjs/operators';
63
+ import { formatToTimeAndDurationString } from '@dereekb/date';
64
+ import * as i4$2 from '@angular/material/button-toggle';
65
+ import { MatButtonToggleModule } from '@angular/material/button-toggle';
66
+ import * as i5$1 from 'angular-calendar';
67
+ import { CalendarModule, CalendarDayModule, CalendarWeekModule, DateAdapter } from 'angular-calendar';
68
+ import * as i9 from '@angular/flex-layout/extended';
69
+ import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
61
70
 
62
71
  const DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG = new InjectionToken('DbxMatProgressButtonGlobalConfig');
63
72
 
@@ -2450,6 +2459,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
2450
2459
 
2451
2460
  const DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH = 320;
2452
2461
  const INITIAL_STATE = {
2462
+ reverseSizing: false,
2453
2463
  showRight: false,
2454
2464
  fullLeft: false,
2455
2465
  minRightWidth: DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH
@@ -2467,6 +2477,10 @@ class TwoColumnsContextStore extends ComponentStore {
2467
2477
  const hideLeft = x.showRight && expectedRightWidth < x.minRightWidth;
2468
2478
  return hideLeft;
2469
2479
  }));
2480
+ /**
2481
+ * Pipes the current state of reverseSizing.
2482
+ */
2483
+ this.reverseSizing$ = this.state$.pipe(map((x) => x.reverseSizing));
2470
2484
  /**
2471
2485
  * Pipes the current state of showRight.
2472
2486
  */
@@ -2496,6 +2510,10 @@ class TwoColumnsContextStore extends ComponentStore {
2496
2510
  * Completely resets the store.
2497
2511
  */
2498
2512
  this.reset = this.updater(() => ({ ...INITIAL_STATE }));
2513
+ /**
2514
+ * Changes the state to show right or not.
2515
+ */
2516
+ this.setReverseSizing = this.updater((state, reverseSizing) => (isMaybeNot(reverseSizing) ? state : { ...state, reverseSizing }));
2499
2517
  /**
2500
2518
  * Changes the state to show right or not.
2501
2519
  */
@@ -2585,15 +2603,15 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
2585
2603
  this.elementRef = elementRef;
2586
2604
  this.cdRef = cdRef;
2587
2605
  this._view = { showRight: false, showFullLeft: true, hideLeftColumn: false, reverseSizing: false, inSectionPage: false };
2588
- this._reverseSizing = new BehaviorSubject(false);
2589
2606
  this._inSectionPage = new BehaviorSubject(false);
2607
+ this.reverseSizing$ = this.twoColumnsContextStore.reverseSizing$;
2590
2608
  this.hideLeftColumn$ = this.twoColumnsContextStore.hideLeft$;
2591
2609
  this.showRight$ = this.twoColumnsContextStore.showRight$;
2592
2610
  this.showFullLeft$ = this.twoColumnsContextStore.showFullLeft$;
2593
2611
  this.hideRight$ = this.twoColumnsContextStore.hideRight$;
2594
2612
  }
2595
2613
  ngOnInit() {
2596
- this.sub = combineLatest([this.showRight$, this.showFullLeft$, this.hideLeftColumn$, this._reverseSizing, this._inSectionPage]).subscribe(([showRight, showFullLeft, hideLeftColumn, reverseSizing, inSectionPage]) => {
2614
+ this.sub = combineLatest([this.showRight$, this.showFullLeft$, this.hideLeftColumn$, this.reverseSizing$, this._inSectionPage]).subscribe(([showRight, showFullLeft, hideLeftColumn, reverseSizing, inSectionPage]) => {
2597
2615
  this._view = {
2598
2616
  showRight,
2599
2617
  showFullLeft,
@@ -2606,14 +2624,13 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
2606
2624
  }
2607
2625
  ngOnDestroy() {
2608
2626
  super.ngOnDestroy();
2609
- this._reverseSizing.complete();
2610
2627
  this._inSectionPage.complete();
2611
2628
  }
2612
2629
  get v() {
2613
2630
  return this._view;
2614
2631
  }
2615
2632
  set reverseSizing(reverseSizing) {
2616
- this._reverseSizing.next(reverseSizing);
2633
+ this.twoColumnsContextStore.setReverseSizing(reverseSizing);
2617
2634
  }
2618
2635
  set inSectionPage(inSectionPage) {
2619
2636
  this._inSectionPage.next(inSectionPage);
@@ -2624,13 +2641,13 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
2624
2641
  }
2625
2642
  }
2626
2643
  DbxTwoColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnComponent, deps: [{ token: TwoColumnsContextStore }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2627
- DbxTwoColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: { reverseSizing: "reverseSizing", inSectionPage: "inSectionPage" }, host: { properties: { "class": "{ 'right-shown': v.showRight, 'full-left': v.showFullLeft,'hide-left-column': v.hideLeftColumn, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }" }, classAttribute: "dbx-two-column" }, exportAs: ["columns"], usesInheritance: true, ngImport: i0, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\" *ngIf=\"v.showRight\" (resized)=\"onResized($event)\">\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n", directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[dbxContentContainer],.dbx-content-container", inputs: ["grow", "padding"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2644
+ DbxTwoColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: { reverseSizing: "reverseSizing", inSectionPage: "inSectionPage" }, host: { properties: { "class": "{ 'right-shown': v.showRight, 'full-left': v.showFullLeft,'hide-left-column': v.hideLeftColumn, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }" }, classAttribute: "dbx-two-column" }, exportAs: ["columns"], usesInheritance: true, ngImport: i0, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <div *ngIf=\"!v.hideLeftColumn && v.reverseSizing\" (resized)=\"onResized($event)\"></div>\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\" *ngIf=\"v.showRight\">\n <div *ngIf=\"v.hideLeftColumn || !v.reverseSizing\" (resized)=\"onResized($event)\"></div>\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n", directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[dbxContentContainer],.dbx-content-container", inputs: ["grow", "padding"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2628
2645
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnComponent, decorators: [{
2629
2646
  type: Component,
2630
2647
  args: [{ selector: 'dbx-two-column', exportAs: 'columns', host: {
2631
2648
  class: 'dbx-two-column',
2632
2649
  '[class]': "{ 'right-shown': v.showRight, 'full-left': v.showFullLeft,'hide-left-column': v.hideLeftColumn, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }"
2633
- }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\" *ngIf=\"v.showRight\" (resized)=\"onResized($event)\">\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n" }]
2650
+ }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <div *ngIf=\"!v.hideLeftColumn && v.reverseSizing\" (resized)=\"onResized($event)\"></div>\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\" *ngIf=\"v.showRight\">\n <div *ngIf=\"v.hideLeftColumn || !v.reverseSizing\" (resized)=\"onResized($event)\"></div>\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n" }]
2634
2651
  }], ctorParameters: function () { return [{ type: TwoColumnsContextStore, decorators: [{
2635
2652
  type: Inject,
2636
2653
  args: [TwoColumnsContextStore]
@@ -6230,7 +6247,7 @@ class DbxFilterWrapperComponent {
6230
6247
  }
6231
6248
  }
6232
6249
  DbxFilterWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6233
- DbxFilterWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$6.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"] }] });
6250
+ DbxFilterWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i6$1.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"] }] });
6234
6251
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterWrapperComponent, decorators: [{
6235
6252
  type: Component,
6236
6253
  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" }]
@@ -7003,6 +7020,241 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
7003
7020
  }]
7004
7021
  }] });
7005
7022
 
7023
+ var CalendarDisplayType;
7024
+ (function (CalendarDisplayType) {
7025
+ CalendarDisplayType["MONTH"] = "month";
7026
+ CalendarDisplayType["WEEK"] = "week";
7027
+ CalendarDisplayType["DAY"] = "day";
7028
+ })(CalendarDisplayType || (CalendarDisplayType = {}));
7029
+ function visibleDateRangeForCalendarState(calendarState) {
7030
+ const { type, date } = calendarState;
7031
+ let start;
7032
+ let end;
7033
+ let distance;
7034
+ switch (type) {
7035
+ case CalendarDisplayType.MONTH:
7036
+ start = startOfDay(startOfWeek(startOfMonth(date), { weekStartsOn: 0 }));
7037
+ end = endOfWeek(endOfMonth(date));
7038
+ distance = differenceInDays(end, start) + 1;
7039
+ break;
7040
+ case CalendarDisplayType.WEEK:
7041
+ start = startOfWeek(date);
7042
+ end = endOfWeek(start);
7043
+ distance = 7; // 7 days in a week.
7044
+ break;
7045
+ case CalendarDisplayType.DAY:
7046
+ start = startOfDay(date);
7047
+ end = endOfDay(date);
7048
+ distance = 1;
7049
+ break;
7050
+ }
7051
+ // console.log('Date range: ', start, end, distance);
7052
+ return {
7053
+ type,
7054
+ start,
7055
+ end,
7056
+ distance
7057
+ };
7058
+ }
7059
+ const distinctUntilDateOrTypeOrEventsChanged = distinctUntilChanged$1((a, b) => a?.date === b?.date && a?.type === b?.type && a?.events === b?.events);
7060
+ class DbxCalendarStore extends ComponentStore {
7061
+ constructor() {
7062
+ super({
7063
+ type: CalendarDisplayType.MONTH,
7064
+ date: new Date(),
7065
+ dateTappedTwice: false,
7066
+ events: []
7067
+ });
7068
+ // MARK: Effects
7069
+ this.tapNext = this.effect((input) => {
7070
+ return input.pipe(switchMap$1(() => this.visibleDateRange$.pipe(first$1(), tap$1(({ end }) => {
7071
+ this.tapDay(addDays(end, 1));
7072
+ }))));
7073
+ });
7074
+ this.tapPrevious = this.effect((input) => {
7075
+ return input.pipe(switchMap$1(() => this.visibleDateRange$.pipe(first$1(), tap$1(({ start }) => {
7076
+ this.tapDay(addDays(start, -1));
7077
+ }))));
7078
+ });
7079
+ // MARK: Accessors
7080
+ this.date$ = this.state$.pipe(map$1((x) => x.date));
7081
+ this.dateTappedTwice$ = this.state$.pipe(map$1((x) => x.dateTappedTwice));
7082
+ this.events$ = this.state$.pipe(map$1((x) => x.events));
7083
+ // TODO: Filter to be events that will only be displayed based on the current calendar.
7084
+ this.visibleEvents$ = this.state$.pipe(map$1((x) => x.events), shareReplay$1(1));
7085
+ this.eventsForDateState$ = this.state$.pipe(distinctUntilDateOrTypeOrEventsChanged, map$1((state) => ({
7086
+ date: state.date,
7087
+ events: state.events.filter((x) => isSameDay(x.start, state.date) || (x.end && isBefore(x.start, state.date) && isAfter(x.end, state.date))),
7088
+ dateTappedTwice: state.dateTappedTwice
7089
+ })), shareReplay$1(1));
7090
+ this.eventsForDate$ = this.eventsForDateState$.pipe(map$1((state) => state.events));
7091
+ this.visibleDateRange$ = this.state$.pipe(
7092
+ // If the date or type changes, check again.
7093
+ distinctUntilChanged$1((a, b) => a?.date === b?.date && a?.type === b?.type), map$1(visibleDateRangeForCalendarState), distinctUntilChanged$1((a, b) => {
7094
+ if (a.type === b.type) {
7095
+ return isSameDay(a.start, b.start);
7096
+ }
7097
+ else {
7098
+ return false; // Type changed, date range changed.
7099
+ }
7100
+ }), shareReplay$1(1));
7101
+ this.displayType$ = this.state$.pipe(map$1((x) => x.type), distinctUntilChanged$1((a, b) => a === b), shareReplay$1(1));
7102
+ // MARK: State Changes
7103
+ /**
7104
+ * Tap a day.
7105
+ *
7106
+ * - If the same day is presented, dateTappedTwice is flipped.
7107
+ */
7108
+ this.tapDay = this.updater((state, date) => ({ ...state, date, dateTappedTwice: isSameDay(date, state.date) ? !state.dateTappedTwice : false }));
7109
+ /**
7110
+ * Set all events on the calendar.
7111
+ */
7112
+ this.setEvents = this.updater((state, events) => ({ ...state, events }));
7113
+ /**
7114
+ * Set all events on the calendar.
7115
+ */
7116
+ this.setDisplayType = this.updater((state, type) => ({ ...state, type }));
7117
+ }
7118
+ }
7119
+ DbxCalendarStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7120
+ DbxCalendarStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarStore });
7121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarStore, decorators: [{
7122
+ type: Injectable
7123
+ }], ctorParameters: function () { return []; } });
7124
+
7125
+ function timeSubtitleForEvent(event) {
7126
+ let subtitle;
7127
+ if (event.allDay) {
7128
+ subtitle = `(All Day)`;
7129
+ }
7130
+ else {
7131
+ subtitle = formatToTimeAndDurationString(event.start, event.end ?? new Date());
7132
+ }
7133
+ return subtitle;
7134
+ }
7135
+ class DbxCalendarComponent {
7136
+ constructor(calendarStore) {
7137
+ this.calendarStore = calendarStore;
7138
+ this.clickEvent = new EventEmitter();
7139
+ this.viewDate$ = this.calendarStore.date$;
7140
+ this.events$ = this.calendarStore.visibleEvents$.pipe(map$1((events) => {
7141
+ return events
7142
+ .map((event) => {
7143
+ const subtitle = timeSubtitleForEvent(event);
7144
+ let title;
7145
+ if (event.allDay) {
7146
+ title = event.title + ' ' + subtitle;
7147
+ }
7148
+ else {
7149
+ title = `${event.title} - ${subtitle}`;
7150
+ }
7151
+ return {
7152
+ ...event,
7153
+ title
7154
+ };
7155
+ })
7156
+ .sort((a, b) => {
7157
+ return a.start.getTime() - b.start.getTime();
7158
+ });
7159
+ }), shareReplay$1(1));
7160
+ this.activeDayIsOpen$ = this.calendarStore.eventsForDateState$.pipe(withLatestFrom(this.calendarStore.date$), map$1(([x, date]) => {
7161
+ if (x.events.length && isSameMonth(x.date, date)) {
7162
+ return !x.dateTappedTwice;
7163
+ }
7164
+ return false;
7165
+ }));
7166
+ this.displayType$ = this.calendarStore.displayType$;
7167
+ }
7168
+ todayClicked() {
7169
+ this.dayClicked({ date: new Date() });
7170
+ }
7171
+ nextButtonClicked() {
7172
+ this.calendarStore.tapNext();
7173
+ }
7174
+ previousButtonClicked() {
7175
+ this.calendarStore.tapPrevious();
7176
+ }
7177
+ dayClicked({ date }) {
7178
+ this.calendarStore.tapDay(date);
7179
+ }
7180
+ eventClicked(action, event) {
7181
+ this.clickEvent.emit({ action, event });
7182
+ }
7183
+ typeToggleChanged(event) {
7184
+ this.calendarStore.setDisplayType(event.value);
7185
+ }
7186
+ }
7187
+ DbxCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarComponent, deps: [{ token: DbxCalendarStore }], target: i0.ɵɵFactoryTarget.Component });
7188
+ DbxCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxCalendarComponent, selector: "dbx-calendar", outputs: { clickEvent: "clickEvent" }, ngImport: i0, template: "<div class=\"dbx-calendar\">\n <h3 class=\"dbx-calendar-title\">{{ (viewDate$ | async)! | calendarDate: (displayType$ | async) + 'ViewTitle':'en' }}</h3>\n <div class=\"dbx-calendar-header\">\n <div class=\"dbx-calendar-controls\" fxLayout=\"row\">\n <span class=\"dbx-calendar-controls-left\" fxFlex=\"nogrow\">\n <button mat-stroked-button (click)=\"todayClicked()\">Today</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-icon-button [attr.aria-label]=\"'Previous ' + (displayType$ | async) + ' button'\" (click)=\"previousButtonClicked()\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n <button mat-icon-button [attr.aria-label]=\"'Next' + (displayType$ | async)! + ' button'\" (click)=\"nextButtonClicked()\">\n <mat-icon>navigate_next</mat-icon>\n </button>\n </span>\n <span class=\"spacer\"></span>\n <span class=\"dbx-calendar-controls-right\" fxFlex=\"nogrow\">\n <mat-button-toggle-group name=\"calendarDisplayStyle\" [value]=\"(displayType$ | async)!\" (change)=\"typeToggleChanged($event)\" aria-label=\"Display Style\">\n <mat-button-toggle value=\"month\">Month</mat-button-toggle>\n <mat-button-toggle value=\"week\">Week</mat-button-toggle>\n <mat-button-toggle value=\"day\">Day</mat-button-toggle>\n </mat-button-toggle-group>\n </span>\n </div>\n </div>\n <div class=\"dbx-calendar-content\" [ngClass]=\"'dbx-calendar-content-' + (displayType$ | async)!\" [ngSwitch]=\"displayType$ | async\">\n <mwl-calendar-month-view *ngSwitchCase=\"'month'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" [activeDayIsOpen]=\"(activeDayIsOpen$ | async)!\" (dayClicked)=\"dayClicked($event.day)\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-month-view>\n <mwl-calendar-week-view *ngSwitchCase=\"'week'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-week-view>\n <mwl-calendar-day-view *ngSwitchCase=\"'day'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-day-view>\n </div>\n</div>\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4$2.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { type: i5$1.CalendarMonthViewComponent, selector: "mwl-calendar-month-view", inputs: ["viewDate", "events", "excludeDays", "activeDayIsOpen", "activeDay", "refresh", "locale", "tooltipPlacement", "tooltipTemplate", "tooltipAppendToBody", "tooltipDelay", "weekStartsOn", "headerTemplate", "cellTemplate", "openDayEventsTemplate", "eventTitleTemplate", "eventActionsTemplate", "weekendDays"], outputs: ["beforeViewRender", "dayClicked", "eventClicked", "columnHeaderClicked", "eventTimesChanged"] }, { type: i5$1.CalendarWeekViewComponent, selector: "mwl-calendar-week-view", inputs: ["viewDate", "events", "excludeDays", "refresh", "locale", "tooltipPlacement", "tooltipTemplate", "tooltipAppendToBody", "tooltipDelay", "weekStartsOn", "headerTemplate", "eventTemplate", "eventTitleTemplate", "eventActionsTemplate", "precision", "weekendDays", "snapDraggedEvents", "hourSegments", "hourDuration", "hourSegmentHeight", "minimumEventHeight", "dayStartHour", "dayStartMinute", "dayEndHour", "dayEndMinute", "hourSegmentTemplate", "eventSnapSize", "allDayEventsLabelTemplate", "daysInWeek", "currentTimeMarkerTemplate", "validateEventTimesChanged"], outputs: ["dayHeaderClicked", "eventClicked", "eventTimesChanged", "beforeViewRender", "hourSegmentClicked"] }, { type: i5$1.CalendarDayViewComponent, selector: "mwl-calendar-day-view", inputs: ["viewDate", "events", "hourSegments", "hourSegmentHeight", "hourDuration", "minimumEventHeight", "dayStartHour", "dayStartMinute", "dayEndHour", "dayEndMinute", "refresh", "locale", "eventSnapSize", "tooltipPlacement", "tooltipTemplate", "tooltipAppendToBody", "tooltipDelay", "hourSegmentTemplate", "eventTemplate", "eventTitleTemplate", "eventActionsTemplate", "snapDraggedEvents", "allDayEventsLabelTemplate", "currentTimeMarkerTemplate", "validateEventTimesChanged"], outputs: ["eventClicked", "hourSegmentClicked", "eventTimesChanged", "beforeViewRender"] }], directives: [{ type: i6$1.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"] }, { type: i6$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { type: i4$2.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "calendarDate": i5$1.ɵCalendarDatePipe, "async": i3$1.AsyncPipe } });
7189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarComponent, decorators: [{
7190
+ type: Component,
7191
+ args: [{ selector: 'dbx-calendar', template: "<div class=\"dbx-calendar\">\n <h3 class=\"dbx-calendar-title\">{{ (viewDate$ | async)! | calendarDate: (displayType$ | async) + 'ViewTitle':'en' }}</h3>\n <div class=\"dbx-calendar-header\">\n <div class=\"dbx-calendar-controls\" fxLayout=\"row\">\n <span class=\"dbx-calendar-controls-left\" fxFlex=\"nogrow\">\n <button mat-stroked-button (click)=\"todayClicked()\">Today</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-icon-button [attr.aria-label]=\"'Previous ' + (displayType$ | async) + ' button'\" (click)=\"previousButtonClicked()\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n <button mat-icon-button [attr.aria-label]=\"'Next' + (displayType$ | async)! + ' button'\" (click)=\"nextButtonClicked()\">\n <mat-icon>navigate_next</mat-icon>\n </button>\n </span>\n <span class=\"spacer\"></span>\n <span class=\"dbx-calendar-controls-right\" fxFlex=\"nogrow\">\n <mat-button-toggle-group name=\"calendarDisplayStyle\" [value]=\"(displayType$ | async)!\" (change)=\"typeToggleChanged($event)\" aria-label=\"Display Style\">\n <mat-button-toggle value=\"month\">Month</mat-button-toggle>\n <mat-button-toggle value=\"week\">Week</mat-button-toggle>\n <mat-button-toggle value=\"day\">Day</mat-button-toggle>\n </mat-button-toggle-group>\n </span>\n </div>\n </div>\n <div class=\"dbx-calendar-content\" [ngClass]=\"'dbx-calendar-content-' + (displayType$ | async)!\" [ngSwitch]=\"displayType$ | async\">\n <mwl-calendar-month-view *ngSwitchCase=\"'month'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" [activeDayIsOpen]=\"(activeDayIsOpen$ | async)!\" (dayClicked)=\"dayClicked($event.day)\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-month-view>\n <mwl-calendar-week-view *ngSwitchCase=\"'week'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-week-view>\n <mwl-calendar-day-view *ngSwitchCase=\"'day'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-day-view>\n </div>\n</div>\n" }]
7192
+ }], ctorParameters: function () { return [{ type: DbxCalendarStore }]; }, propDecorators: { clickEvent: [{
7193
+ type: Output
7194
+ }] } });
7195
+
7196
+ const declarations = [DbxCalendarComponent];
7197
+ class DbxCalendarModule {
7198
+ }
7199
+ DbxCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7200
+ DbxCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarModule, declarations: [DbxCalendarComponent], imports: [
7201
+ //
7202
+ CommonModule,
7203
+ MatIconModule,
7204
+ MatButtonModule,
7205
+ MatButtonToggleModule,
7206
+ CalendarModule,
7207
+ CalendarDayModule,
7208
+ FlexLayoutModule,
7209
+ CalendarWeekModule,
7210
+ DbxButtonModule], exports: [DbxCalendarComponent] });
7211
+ DbxCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarModule, imports: [[
7212
+ //
7213
+ CommonModule,
7214
+ MatIconModule,
7215
+ MatButtonModule,
7216
+ MatButtonToggleModule,
7217
+ CalendarModule,
7218
+ CalendarDayModule,
7219
+ FlexLayoutModule,
7220
+ CalendarWeekModule,
7221
+ DbxButtonModule
7222
+ ]] });
7223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarModule, decorators: [{
7224
+ type: NgModule,
7225
+ args: [{
7226
+ declarations,
7227
+ imports: [
7228
+ //
7229
+ CommonModule,
7230
+ MatIconModule,
7231
+ MatButtonModule,
7232
+ MatButtonToggleModule,
7233
+ CalendarModule,
7234
+ CalendarDayModule,
7235
+ FlexLayoutModule,
7236
+ CalendarWeekModule,
7237
+ DbxButtonModule
7238
+ ],
7239
+ exports: declarations
7240
+ }]
7241
+ }] });
7242
+ /**
7243
+ * Provides default configuration for the DbxCalendarModule
7244
+ */
7245
+ class DbxCalendarRootModule {
7246
+ }
7247
+ DbxCalendarRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7248
+ DbxCalendarRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarRootModule, imports: [i5$1.CalendarModule], exports: [DbxCalendarModule] });
7249
+ DbxCalendarRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarRootModule, imports: [[CalendarModule.forRoot({ provide: DateAdapter, useFactory: adapterFactory })], DbxCalendarModule] });
7250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCalendarRootModule, decorators: [{
7251
+ type: NgModule,
7252
+ args: [{
7253
+ imports: [CalendarModule.forRoot({ provide: DateAdapter, useFactory: adapterFactory })],
7254
+ exports: [DbxCalendarModule]
7255
+ }]
7256
+ }] });
7257
+
7006
7258
  class DbxWebModule {
7007
7259
  }
7008
7260
  DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -7035,5 +7287,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
7035
7287
  * Generated bundle index. Do not edit.
7036
7288
  */
7037
7289
 
7038
- export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxListGridViewDirective, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_DBX_VALUE_LIST_GRID_DIRECTIVE_TEMPLATE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionProgressComponent, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, 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, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListLayoutModule, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxProgressButtonsModule, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterAnchorListModule, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxUIRouterSegueAnchorComponent, DbxValueListGridItemViewComponent, DbxValueListGridViewComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListItemViewComponent, DbxValueListView, DbxValueListViewComponent, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebRootModule, DbxWebUIRouterModule, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TwoColumnsContextStore, addConfigToValueListItems, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, provideDbxListView, provideDbxListViewWrapper, provideDbxPromptConfirm, provideDbxValueListView, provideDbxValueListViewModifier, provideTwoColumnsContext, screenMediaWidthTypeIsActive };
7290
+ export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxListGridViewDirective, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, CalendarDisplayType, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_DBX_VALUE_LIST_GRID_DIRECTIVE_TEMPLATE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionProgressComponent, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCalendarComponent, DbxCalendarModule, DbxCalendarRootModule, DbxCalendarStore, 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, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListLayoutModule, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxProgressButtonsModule, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterAnchorListModule, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxUIRouterSegueAnchorComponent, DbxValueListGridItemViewComponent, DbxValueListGridViewComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListItemViewComponent, DbxValueListView, DbxValueListViewComponent, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebRootModule, DbxWebUIRouterModule, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TwoColumnsContextStore, addConfigToValueListItems, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, provideDbxListView, provideDbxListViewWrapper, provideDbxPromptConfirm, provideDbxValueListView, provideDbxValueListViewModifier, provideTwoColumnsContext, screenMediaWidthTypeIsActive, visibleDateRangeForCalendarState };
7039
7291
  //# sourceMappingURL=dereekb-dbx-web.mjs.map