@dereekb/dbx-web 9.14.2 → 9.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2028,18 +2028,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
2028
2028
  * Section used to elevate content in a pre-configured manner.
2029
2029
  */
2030
2030
  class DbxContentElevateDirective {
2031
+ constructor() {
2032
+ this.elevate = true;
2033
+ }
2031
2034
  }
2032
2035
  DbxContentElevateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxContentElevateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2033
- DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: DbxContentElevateDirective, selector: "dbx-content-elevate,[dbxContentElevate]", host: { classAttribute: "d-block dbx-content-elevate" }, ngImport: i0 });
2036
+ DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: DbxContentElevateDirective, selector: "dbx-content-elevate,[dbxContentElevate]", inputs: { elevate: "elevate" }, host: { properties: { "class.dbx-content-elevate": "elevate" }, classAttribute: "d-block" }, ngImport: i0 });
2034
2037
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxContentElevateDirective, decorators: [{
2035
2038
  type: Directive,
2036
2039
  args: [{
2037
2040
  selector: 'dbx-content-elevate,[dbxContentElevate]',
2038
2041
  host: {
2039
- class: 'd-block dbx-content-elevate'
2042
+ class: 'd-block',
2043
+ '[class.dbx-content-elevate]': 'elevate'
2040
2044
  }
2041
2045
  }]
2042
- }] });
2046
+ }], propDecorators: { elevate: [{
2047
+ type: Input
2048
+ }] } });
2043
2049
 
2044
2050
  /**
2045
2051
  * Directive that sets the height of it's content to fill the page.
@@ -2106,26 +2112,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
2106
2112
  */
2107
2113
  class DbxContentBoxDirective {
2108
2114
  constructor() {
2109
- this.elevated = true;
2115
+ this.elevate = true;
2110
2116
  this.wide = true;
2117
+ // MARK: Compat
2118
+ /**
2119
+ * @Deprecated use elevate instead
2120
+ */
2121
+ this.elevated = true;
2111
2122
  }
2112
2123
  }
2113
2124
  DbxContentBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxContentBoxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2114
- DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: DbxContentBoxDirective, selector: "dbx-content-box, [dbxContentBox]", inputs: { elevated: "elevated", wide: "wide" }, host: { properties: { "class.dbx-content-elevate": "elevated", "class.dbx-content-box-wide": "wide" }, classAttribute: "d-block dbx-content-box" }, ngImport: i0 });
2125
+ DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: DbxContentBoxDirective, selector: "dbx-content-box, [dbxContentBox]", inputs: { elevate: "elevate", wide: "wide", elevated: "elevated" }, host: { properties: { "class.dbx-content-elevate": "elevate && elevated", "class.dbx-content-box-wide": "wide" }, classAttribute: "d-block dbx-content-box" }, ngImport: i0 });
2115
2126
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxContentBoxDirective, decorators: [{
2116
2127
  type: Directive,
2117
2128
  args: [{
2118
2129
  selector: 'dbx-content-box, [dbxContentBox]',
2119
2130
  host: {
2120
2131
  class: 'd-block dbx-content-box',
2121
- '[class.dbx-content-elevate]': 'elevated',
2132
+ '[class.dbx-content-elevate]': 'elevate && elevated',
2122
2133
  '[class.dbx-content-box-wide]': 'wide'
2123
2134
  }
2124
2135
  }]
2125
- }], propDecorators: { elevated: [{
2136
+ }], propDecorators: { elevate: [{
2126
2137
  type: Input
2127
2138
  }], wide: [{
2128
2139
  type: Input
2140
+ }], elevated: [{
2141
+ type: Input
2129
2142
  }] } });
2130
2143
 
2131
2144
  /**
@@ -4763,11 +4776,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
4763
4776
  class DbxSectionComponent extends DbxSectionHeaderComponent {
4764
4777
  constructor() {
4765
4778
  super(...arguments);
4766
- this.elevated = false;
4779
+ this.elevate = false;
4767
4780
  }
4768
4781
  }
4769
4782
  DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
4770
- DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: DbxSectionComponent, selector: "dbx-section", inputs: { elevated: "elevated" }, host: { properties: { "class": "(elevated) ? 'dbx-section-elevated' : ''" }, classAttribute: "d-block, dbx-section" }, usesInheritance: true, ngImport: i0, template: `
4783
+ DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: DbxSectionComponent, selector: "dbx-section", inputs: { elevate: "elevate" }, host: { properties: { "class": "(elevate) ? 'dbx-section-elevate dbx-content-elevate' : ''" }, classAttribute: "d-block, dbx-section" }, usesInheritance: true, ngImport: i0, template: `
4771
4784
  <div class="dbx-section-header" [h]="3" [header]="header" [icon]="icon" [hint]="hint">
4772
4785
  <ng-content select="[sectionHeader]"></ng-content>
4773
4786
  </div>
@@ -4789,10 +4802,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
4789
4802
  `,
4790
4803
  host: {
4791
4804
  class: 'd-block, dbx-section',
4792
- '[class]': `(elevated) ? 'dbx-section-elevated' : ''`
4805
+ '[class]': `(elevate) ? 'dbx-section-elevate dbx-content-elevate' : ''`
4793
4806
  }
4794
4807
  }]
4795
- }], propDecorators: { elevated: [{
4808
+ }], propDecorators: { elevate: [{
4796
4809
  type: Input
4797
4810
  }] } });
4798
4811
 
@@ -6036,9 +6049,9 @@ class DbxPromptConfirmDialogComponent extends AbstractDialogDirective {
6036
6049
  get injectionConfig() {
6037
6050
  return this.data.component;
6038
6051
  }
6039
- static openDialog(matDialog, config = DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG) {
6052
+ static openDialog(matDialog, config) {
6040
6053
  const dialogRef = matDialog.open(DbxPromptConfirmDialogComponent, {
6041
- data: config
6054
+ data: config || DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG
6042
6055
  });
6043
6056
  return dialogRef;
6044
6057
  }
@@ -6081,7 +6094,7 @@ class AbstractPromptConfirmDirective {
6081
6094
  showDialog() {
6082
6095
  if (!this._dialogPromise) {
6083
6096
  this._dialogPromise = new Promise((resolve) => {
6084
- this._dialogRef = DbxPromptConfirmDialogComponent.openDialog(this.matDialog);
6097
+ this._dialogRef = DbxPromptConfirmDialogComponent.openDialog(this.matDialog, this.config);
6085
6098
  this._dialogRef.afterClosed().subscribe((result) => {
6086
6099
  this._dialogRef = undefined;
6087
6100
  this._dialogPromise = undefined;