@dereekb/dbx-web 9.14.1 → 9.15.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.
@@ -3,6 +3,7 @@ import { MatDialog } from '@angular/material/dialog';
3
3
  import { AbstractPromptConfirmDirective } from '../interaction/prompt/prompt.confirm.directive';
4
4
  import { DbxPromptConfirmConfig } from '../interaction/prompt/prompt.confirm.component';
5
5
  import { DbxActionContextStoreSourceInstance } from '@dereekb/dbx-core';
6
+ import { Maybe } from '@dereekb/util';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * DbxActionConfirmDirective configuration.
@@ -21,7 +22,7 @@ export interface DbxActionConfirmConfig<T> extends DbxPromptConfirmConfig {
21
22
  */
22
23
  export declare class DbxActionConfirmDirective<T, O> extends AbstractPromptConfirmDirective implements OnInit, OnDestroy {
23
24
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
24
- config?: DbxActionConfirmConfig<T>;
25
+ config?: Maybe<DbxActionConfirmConfig<T>>;
25
26
  private _sourceSubscription;
26
27
  constructor(source: DbxActionContextStoreSourceInstance<T, O>, dialog: MatDialog);
27
28
  ngOnInit(): void;
@@ -15,7 +15,7 @@ export interface DbxPromptConfirmDialogConfig extends DbxPromptConfirmConfig {
15
15
  export declare class DbxPromptConfirmDialogComponent extends AbstractDialogDirective<boolean, DbxPromptConfirmDialogConfig> implements OnInit {
16
16
  get config(): DbxPromptConfirmDialogConfig;
17
17
  get injectionConfig(): Maybe<DbxInjectionComponentConfig>;
18
- static openDialog(matDialog: MatDialog, config?: DbxPromptConfirmDialogConfig): MatDialogRef<DbxPromptConfirmDialogComponent, boolean>;
18
+ static openDialog(matDialog: MatDialog, config?: Maybe<DbxPromptConfirmDialogConfig>): MatDialogRef<DbxPromptConfirmDialogComponent, boolean>;
19
19
  confirm(): void;
20
20
  cancel(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptConfirmDialogComponent, never>;
@@ -1,4 +1,5 @@
1
1
  import { MatDialog } from '@angular/material/dialog';
2
+ import { Maybe } from '@dereekb/util';
2
3
  import { Observable } from 'rxjs';
3
4
  import { DbxPromptConfirm } from './prompt.confirm';
4
5
  import { DbxPromptConfirmConfig } from './prompt.confirm.component';
@@ -8,7 +9,7 @@ import * as i0 from "@angular/core";
8
9
  */
9
10
  export declare abstract class AbstractPromptConfirmDirective implements DbxPromptConfirm {
10
11
  protected readonly matDialog: MatDialog;
11
- config?: DbxPromptConfirmConfig;
12
+ config?: Maybe<DbxPromptConfirmConfig>;
12
13
  private _dialogRef?;
13
14
  private _dialogPromise?;
14
15
  constructor(matDialog: MatDialog);
@@ -21,7 +22,7 @@ export declare abstract class AbstractPromptConfirmDirective implements DbxPromp
21
22
  * Directive that shows a confirmation screen.
22
23
  */
23
24
  export declare class DbxPromptConfirmDirective extends AbstractPromptConfirmDirective {
24
- config?: DbxPromptConfirmConfig;
25
+ config?: Maybe<DbxPromptConfirmConfig>;
25
26
  constructor(dialog: MatDialog);
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptConfirmDirective, never>;
27
28
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxPromptConfirmDirective, "[dbxPromptConfirm]", never, { "config": "dbxPromptConfirm"; }, {}, never, never, false>;
@@ -3,8 +3,12 @@ import * as i0 from "@angular/core";
3
3
  * Component used to wrap content in a box with optionally elevation.
4
4
  */
5
5
  export declare class DbxContentBoxDirective {
6
- elevated: boolean;
6
+ elevate: boolean;
7
7
  wide: boolean;
8
+ /**
9
+ * @Deprecated use elevate instead
10
+ */
11
+ elevated: boolean;
8
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentBoxDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentBoxDirective, "dbx-content-box, [dbxContentBox]", never, { "elevated": "elevated"; "wide": "wide"; }, {}, never, never, false>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentBoxDirective, "dbx-content-box, [dbxContentBox]", never, { "elevate": "elevate"; "wide": "wide"; "elevated": "elevated"; }, {}, never, never, false>;
10
14
  }
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
3
3
  * Section used to elevate content in a pre-configured manner.
4
4
  */
5
5
  export declare class DbxContentElevateDirective {
6
+ elevate: boolean;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentElevateDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentElevateDirective, "dbx-content-elevate,[dbxContentElevate]", never, {}, {}, never, never, false>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentElevateDirective, "dbx-content-elevate,[dbxContentElevate]", never, { "elevate": "elevate"; }, {}, never, never, false>;
8
9
  }
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
4
4
  * Component used to format content on a page within a section.
5
5
  */
6
6
  export declare class DbxSectionComponent extends DbxSectionHeaderComponent {
7
- elevated: boolean;
7
+ elevate: boolean;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxSectionComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxSectionComponent, "dbx-section", never, { "elevated": "elevated"; }, {}, never, ["[sectionHeader]", "*"], false>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxSectionComponent, "dbx-section", never, { "elevate": "elevate"; }, {}, never, ["[sectionHeader]", "*"], false>;
10
10
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.14.1",
3
+ "version": "9.15.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.14.1",
8
- "@dereekb/dbx-web": "9.14.1",
7
+ "@dereekb/dbx-core": "9.15.0",
8
+ "@dereekb/dbx-web": "9.15.0",
9
9
  "ngx-mapbox-gl": "^9.1.0",
10
10
  "mapbox-gl": "^2.9.2",
11
11
  "@mapbox/geo-viewport": "git+https://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f"
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "9.14.1",
3
+ "version": "9.15.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
7
7
  "linkify-string": "4.0.0-beta.5",
8
8
  "linkifyjs": "^4.0.0-beta.5",
9
9
  "@angular/material": "^14.0.0",
10
- "@dereekb/rxjs": "9.14.1",
11
- "@dereekb/dbx-core": "9.14.1",
10
+ "@dereekb/rxjs": "9.15.0",
11
+ "@dereekb/dbx-core": "9.15.0",
12
12
  "angular-calendar": "^0.30.1",
13
13
  "@angular/flex-layout": "^14.0.0-beta.40",
14
14
  "ng-overlay-container": "^14.0.0",