@angular/material 7.3.6 → 7.3.7
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/bundles/material-bottom-sheet.umd.js +5 -2
- package/bundles/material-bottom-sheet.umd.js.map +1 -1
- package/bundles/material-bottom-sheet.umd.min.js +1 -1
- package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
- package/bundles/material-chips.umd.js +16 -7
- package/bundles/material-chips.umd.js.map +1 -1
- package/bundles/material-chips.umd.min.js +1 -1
- package/bundles/material-chips.umd.min.js.map +1 -1
- package/bundles/material-core.umd.js +36 -2
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js +1 -1
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js +1 -20
- package/bundles/material-dialog.umd.js.map +1 -1
- package/bundles/material-dialog.umd.min.js +1 -1
- package/bundles/material-dialog.umd.min.js.map +1 -1
- package/bundles/material-form-field.umd.js +1 -1
- package/bundles/material-form-field.umd.js.map +1 -1
- package/bundles/material-form-field.umd.min.js +1 -1
- package/bundles/material-form-field.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +1 -1
- package/bundles/material-grid-list.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.js +2 -0
- package/bundles/material-sidenav.umd.js.map +1 -1
- package/bundles/material-sidenav.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +11 -11
- package/bundles/material-tabs.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.js +4 -5
- package/bundles/material-tooltip.umd.js.map +1 -1
- package/bundles/material-tooltip.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.min.js.map +1 -1
- package/bundles/material.umd.js +78 -50
- package/bundles/material.umd.js.map +1 -1
- package/bundles/material.umd.min.js +18 -18
- package/bundles/material.umd.min.js.map +1 -1
- package/chips/typings/chip-list.d.ts +2 -2
- package/chips/typings/chip.d.ts +2 -0
- package/chips/typings/index.metadata.json +1 -1
- package/core/typings/index.metadata.json +1 -1
- package/core/typings/option/option.d.ts +7 -0
- package/dialog/typings/dialog-content-directives.d.ts +0 -5
- package/dialog/typings/index.metadata.json +1 -1
- package/esm2015/bottom-sheet.js +5 -2
- package/esm2015/bottom-sheet.js.map +1 -1
- package/esm2015/chips.js +14 -5
- package/esm2015/chips.js.map +1 -1
- package/esm2015/core.js +23 -2
- package/esm2015/core.js.map +1 -1
- package/esm2015/dialog.js +1 -20
- package/esm2015/dialog.js.map +1 -1
- package/esm2015/form-field.js +1 -1
- package/esm2015/form-field.js.map +1 -1
- package/esm2015/grid-list.js +1 -1
- package/esm2015/material.js +3 -3
- package/esm2015/material.js.map +1 -1
- package/esm2015/sidenav.js +2 -0
- package/esm2015/sidenav.js.map +1 -1
- package/esm2015/tabs.js +1 -1
- package/esm2015/tooltip.js +4 -5
- package/esm2015/tooltip.js.map +1 -1
- package/esm5/bottom-sheet.es5.js +5 -2
- package/esm5/bottom-sheet.es5.js.map +1 -1
- package/esm5/chips.es5.js +16 -7
- package/esm5/chips.es5.js.map +1 -1
- package/esm5/core.es5.js +36 -2
- package/esm5/core.es5.js.map +1 -1
- package/esm5/dialog.es5.js +1 -20
- package/esm5/dialog.es5.js.map +1 -1
- package/esm5/form-field.es5.js +1 -1
- package/esm5/form-field.es5.js.map +1 -1
- package/esm5/grid-list.es5.js +1 -1
- package/esm5/material.es5.js +3 -3
- package/esm5/material.es5.js.map +1 -1
- package/esm5/sidenav.es5.js +2 -0
- package/esm5/sidenav.es5.js.map +1 -1
- package/esm5/tabs.es5.js +1 -1
- package/esm5/tooltip.es5.js +4 -5
- package/esm5/tooltip.es5.js.map +1 -1
- package/form-field/typings/index.metadata.json +1 -1
- package/grid-list/typings/index.d.ts +1 -1
- package/grid-list/typings/index.metadata.json +1 -1
- package/material.d.ts +1 -1
- package/material.metadata.json +3 -3
- package/package.json +4 -4
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +3 -3
- package/sidenav/typings/index.metadata.json +1 -1
- package/tabs/typings/index.d.ts +5 -5
- package/tabs/typings/index.metadata.json +1 -1
- package/tooltip/typings/index.metadata.json +1 -1
- package/typings/chips/chip-list.d.ts +2 -2
- package/typings/chips/chip.d.ts +2 -0
- package/typings/chips/index.metadata.json +1 -1
- package/typings/core/index.metadata.json +1 -1
- package/typings/core/option/option.d.ts +7 -0
- package/typings/dialog/dialog-content-directives.d.ts +0 -5
- package/typings/dialog/index.metadata.json +1 -1
- package/typings/esm5/chips/chip-list.d.ts +2 -2
- package/typings/esm5/chips/chip.d.ts +2 -0
- package/typings/esm5/chips/index.metadata.json +1 -1
- package/typings/esm5/core/index.metadata.json +1 -1
- package/typings/esm5/core/option/option.d.ts +7 -0
- package/typings/esm5/dialog/dialog-content-directives.d.ts +0 -5
- package/typings/esm5/dialog/index.metadata.json +1 -1
- package/typings/esm5/form-field/index.metadata.json +1 -1
- package/typings/esm5/grid-list/index.d.ts +1 -1
- package/typings/esm5/grid-list/index.metadata.json +1 -1
- package/typings/esm5/index.metadata.json +1 -1
- package/typings/esm5/sidenav/index.metadata.json +1 -1
- package/typings/esm5/tabs/index.d.ts +5 -5
- package/typings/esm5/tabs/index.metadata.json +1 -1
- package/typings/esm5/tooltip/index.metadata.json +1 -1
- package/typings/form-field/index.metadata.json +1 -1
- package/typings/grid-list/index.d.ts +1 -1
- package/typings/grid-list/index.metadata.json +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/sidenav/index.metadata.json +1 -1
- package/typings/tabs/index.d.ts +5 -5
- package/typings/tabs/index.metadata.json +1 -1
- package/typings/tooltip/index.metadata.json +1 -1
- package/schematics/ng-update/data/attribute-selectors.ts +0 -11
- package/schematics/ng-update/data/class-names.ts +0 -31
- package/schematics/ng-update/data/constructor-checks.ts +0 -50
- package/schematics/ng-update/data/css-selectors.ts +0 -110
- package/schematics/ng-update/data/element-selectors.ts +0 -23
- package/schematics/ng-update/data/index.ts +0 -17
- package/schematics/ng-update/data/input-names.ts +0 -118
- package/schematics/ng-update/data/method-call-checks.ts +0 -11
- package/schematics/ng-update/data/output-names.ts +0 -102
- package/schematics/ng-update/data/property-names.ts +0 -219
package/bundles/material.umd.js
CHANGED
|
@@ -789,7 +789,18 @@ var MAT_DATE_FORMATS = new core.InjectionToken('mat-date-formats');
|
|
|
789
789
|
* Whether the browser supports the Intl API.
|
|
790
790
|
* @type {?}
|
|
791
791
|
*/
|
|
792
|
-
var SUPPORTS_INTL_API
|
|
792
|
+
var SUPPORTS_INTL_API;
|
|
793
|
+
// We need a try/catch around the reference to `Intl`, because accessing it in some cases can
|
|
794
|
+
// cause IE to throw. These cases are tied to particular versions of Windows and can happen if
|
|
795
|
+
// the consumer is providing a polyfilled `Map`. See:
|
|
796
|
+
// https://github.com/Microsoft/ChakraCore/issues/3189
|
|
797
|
+
// https://github.com/angular/material2/issues/15687
|
|
798
|
+
try {
|
|
799
|
+
SUPPORTS_INTL_API = typeof Intl != 'undefined';
|
|
800
|
+
}
|
|
801
|
+
catch (_a) {
|
|
802
|
+
SUPPORTS_INTL_API = false;
|
|
803
|
+
}
|
|
793
804
|
/**
|
|
794
805
|
* The default month names to use if Intl API is not available.
|
|
795
806
|
* @type {?}
|
|
@@ -2730,6 +2741,29 @@ var MatOption = /** @class */ (function () {
|
|
|
2730
2741
|
this._emitSelectionChangeEvent(true);
|
|
2731
2742
|
}
|
|
2732
2743
|
};
|
|
2744
|
+
/**
|
|
2745
|
+
* Gets the `aria-selected` value for the option. We explicitly omit the `aria-selected`
|
|
2746
|
+
* attribute from single-selection, unselected options. Including the `aria-selected="false"`
|
|
2747
|
+
* attributes adds a significant amount of noise to screen-reader users without providing useful
|
|
2748
|
+
* information.
|
|
2749
|
+
*/
|
|
2750
|
+
/**
|
|
2751
|
+
* Gets the `aria-selected` value for the option. We explicitly omit the `aria-selected`
|
|
2752
|
+
* attribute from single-selection, unselected options. Including the `aria-selected="false"`
|
|
2753
|
+
* attributes adds a significant amount of noise to screen-reader users without providing useful
|
|
2754
|
+
* information.
|
|
2755
|
+
* @return {?}
|
|
2756
|
+
*/
|
|
2757
|
+
MatOption.prototype._getAriaSelected = /**
|
|
2758
|
+
* Gets the `aria-selected` value for the option. We explicitly omit the `aria-selected`
|
|
2759
|
+
* attribute from single-selection, unselected options. Including the `aria-selected="false"`
|
|
2760
|
+
* attributes adds a significant amount of noise to screen-reader users without providing useful
|
|
2761
|
+
* information.
|
|
2762
|
+
* @return {?}
|
|
2763
|
+
*/
|
|
2764
|
+
function () {
|
|
2765
|
+
return this.selected || (this.multiple ? false : null);
|
|
2766
|
+
};
|
|
2733
2767
|
/** Returns the correct tabindex for the option depending on disabled state. */
|
|
2734
2768
|
/**
|
|
2735
2769
|
* Returns the correct tabindex for the option depending on disabled state.
|
|
@@ -2811,7 +2845,7 @@ var MatOption = /** @class */ (function () {
|
|
|
2811
2845
|
'[class.mat-option-multiple]': 'multiple',
|
|
2812
2846
|
'[class.mat-active]': 'active',
|
|
2813
2847
|
'[id]': 'id',
|
|
2814
|
-
'[attr.aria-selected]': '
|
|
2848
|
+
'[attr.aria-selected]': '_getAriaSelected()',
|
|
2815
2849
|
'[attr.aria-disabled]': 'disabled.toString()',
|
|
2816
2850
|
'[class.mat-option-disabled]': 'disabled',
|
|
2817
2851
|
'(click)': '_selectViaInteraction()',
|
|
@@ -3823,7 +3857,7 @@ var MatFormField = /** @class */ (function (_super) {
|
|
|
3823
3857
|
MatFormField.decorators = [
|
|
3824
3858
|
{ type: core.Component, args: [{selector: 'mat-form-field',
|
|
3825
3859
|
exportAs: 'matFormField',
|
|
3826
|
-
template: "<div class=\"mat-form-field-wrapper\"><div class=\"mat-form-field-flex\" #connectionContainer (click)=\"_control.onContainerClick && _control.onContainerClick($event)\"><ng-container *ngIf=\"appearance == 'outline'\"><div class=\"mat-form-field-outline\"><div class=\"mat-form-field-outline-start\"></div><div class=\"mat-form-field-outline-gap\"></div><div class=\"mat-form-field-outline-end\"></div></div><div class=\"mat-form-field-outline mat-form-field-outline-thick\"><div class=\"mat-form-field-outline-start\"></div><div class=\"mat-form-field-outline-gap\"></div><div class=\"mat-form-field-outline-end\"></div></div></ng-container><div class=\"mat-form-field-prefix\" *ngIf=\"_prefixChildren.length\"><ng-content select=\"[matPrefix]\"></ng-content></div><div class=\"mat-form-field-infix\" #inputContainer><ng-content></ng-content><span class=\"mat-form-field-label-wrapper\"><label class=\"mat-form-field-label\" (cdkObserveContent)=\"updateOutlineGap()\" [cdkObserveContentDisabled]=\"appearance != 'outline'\" [id]=\"_labelId\" [attr.for]=\"_control.id\" [attr.aria-owns]=\"_control.id\" [class.mat-empty]=\"_control.empty && !_shouldAlwaysFloat\" [class.mat-form-field-empty]=\"_control.empty && !_shouldAlwaysFloat\" [class.mat-accent]=\"color == 'accent'\" [class.mat-warn]=\"color == 'warn'\" #label *ngIf=\"_hasFloatingLabel()\" [ngSwitch]=\"_hasLabel()\"><ng-container *ngSwitchCase=\"false\"><ng-content select=\"mat-placeholder\"></ng-content>{{_control.placeholder}}</ng-container><ng-content select=\"mat-label\" *ngSwitchCase=\"true\"></ng-content><span class=\"mat-placeholder-required mat-form-field-required-marker\" aria-hidden=\"true\" *ngIf=\"!hideRequiredMarker && _control.required && !_control.disabled\"
|
|
3860
|
+
template: "<div class=\"mat-form-field-wrapper\"><div class=\"mat-form-field-flex\" #connectionContainer (click)=\"_control.onContainerClick && _control.onContainerClick($event)\"><ng-container *ngIf=\"appearance == 'outline'\"><div class=\"mat-form-field-outline\"><div class=\"mat-form-field-outline-start\"></div><div class=\"mat-form-field-outline-gap\"></div><div class=\"mat-form-field-outline-end\"></div></div><div class=\"mat-form-field-outline mat-form-field-outline-thick\"><div class=\"mat-form-field-outline-start\"></div><div class=\"mat-form-field-outline-gap\"></div><div class=\"mat-form-field-outline-end\"></div></div></ng-container><div class=\"mat-form-field-prefix\" *ngIf=\"_prefixChildren.length\"><ng-content select=\"[matPrefix]\"></ng-content></div><div class=\"mat-form-field-infix\" #inputContainer><ng-content></ng-content><span class=\"mat-form-field-label-wrapper\"><label class=\"mat-form-field-label\" (cdkObserveContent)=\"updateOutlineGap()\" [cdkObserveContentDisabled]=\"appearance != 'outline'\" [id]=\"_labelId\" [attr.for]=\"_control.id\" [attr.aria-owns]=\"_control.id\" [class.mat-empty]=\"_control.empty && !_shouldAlwaysFloat\" [class.mat-form-field-empty]=\"_control.empty && !_shouldAlwaysFloat\" [class.mat-accent]=\"color == 'accent'\" [class.mat-warn]=\"color == 'warn'\" #label *ngIf=\"_hasFloatingLabel()\" [ngSwitch]=\"_hasLabel()\"><ng-container *ngSwitchCase=\"false\"><ng-content select=\"mat-placeholder\"></ng-content>{{_control.placeholder}}</ng-container><ng-content select=\"mat-label\" *ngSwitchCase=\"true\"></ng-content><span class=\"mat-placeholder-required mat-form-field-required-marker\" aria-hidden=\"true\" *ngIf=\"!hideRequiredMarker && _control.required && !_control.disabled\"> *</span></label></span></div><div class=\"mat-form-field-suffix\" *ngIf=\"_suffixChildren.length\"><ng-content select=\"[matSuffix]\"></ng-content></div></div><div class=\"mat-form-field-underline\" #underline *ngIf=\"appearance != 'outline'\"><span class=\"mat-form-field-ripple\" [class.mat-accent]=\"color == 'accent'\" [class.mat-warn]=\"color == 'warn'\"></span></div><div class=\"mat-form-field-subscript-wrapper\" [ngSwitch]=\"_getDisplayedMessages()\"><div *ngSwitchCase=\"'error'\" [@transitionMessages]=\"_subscriptAnimationState\"><ng-content select=\"mat-error\"></ng-content></div><div class=\"mat-form-field-hint-wrapper\" *ngSwitchCase=\"'hint'\" [@transitionMessages]=\"_subscriptAnimationState\"><div *ngIf=\"hintLabel\" [id]=\"_hintLabelId\" class=\"mat-hint\">{{hintLabel}}</div><ng-content select=\"mat-hint:not([align='end'])\"></ng-content><div class=\"mat-form-field-hint-spacer\"></div><ng-content select=\"mat-hint[align='end']\"></ng-content></div></div></div>",
|
|
3827
3861
|
// MatInput is a directive and can't have styles, so we need to include its styles here
|
|
3828
3862
|
// in form-field-input.css. The MatInput styles are fairly minimal so it shouldn't be a
|
|
3829
3863
|
// big deal for people who aren't using MatInput.
|
|
@@ -5963,9 +5997,12 @@ MatBottomSheetRef = /** @class */ (function () {
|
|
|
5963
5997
|
_this._afterOpened.complete();
|
|
5964
5998
|
});
|
|
5965
5999
|
// Dispose overlay when closing animation is complete
|
|
5966
|
-
containerInstance._animationStateChanged
|
|
6000
|
+
containerInstance._animationStateChanged
|
|
6001
|
+
.pipe(operators.filter(function (event) { return event.phaseName === 'done' && event.toState === 'hidden'; }), operators.take(1))
|
|
5967
6002
|
.subscribe(function () {
|
|
5968
|
-
|
|
6003
|
+
_overlayRef.dispose();
|
|
6004
|
+
});
|
|
6005
|
+
_overlayRef.detachments().pipe(operators.take(1)).subscribe(function () {
|
|
5969
6006
|
_this._afterDismissed.next(_this._result);
|
|
5970
6007
|
_this._afterDismissed.complete();
|
|
5971
6008
|
});
|
|
@@ -8335,6 +8372,10 @@ var MatChip = /** @class */ (function (_super) {
|
|
|
8335
8372
|
* Whether the chip list is selectable
|
|
8336
8373
|
*/
|
|
8337
8374
|
_this.chipListSelectable = true;
|
|
8375
|
+
/**
|
|
8376
|
+
* Whether the chip list is in multi-selection mode.
|
|
8377
|
+
*/
|
|
8378
|
+
_this._chipListMultiple = false;
|
|
8338
8379
|
_this._selected = false;
|
|
8339
8380
|
_this._selectable = true;
|
|
8340
8381
|
_this._removable = true;
|
|
@@ -8472,7 +8513,10 @@ var MatChip = /** @class */ (function (_super) {
|
|
|
8472
8513
|
* @return {?}
|
|
8473
8514
|
*/
|
|
8474
8515
|
function () {
|
|
8475
|
-
|
|
8516
|
+
// Remove the `aria-selected` when the chip is deselected in single-selection mode, because
|
|
8517
|
+
// it adds noise to NVDA users where "not selected" will be read out for each chip.
|
|
8518
|
+
return this.selectable && (this._chipListMultiple || this.selected) ?
|
|
8519
|
+
this.selected.toString() : null;
|
|
8476
8520
|
},
|
|
8477
8521
|
enumerable: true,
|
|
8478
8522
|
configurable: true
|
|
@@ -8955,6 +8999,7 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
8955
8999
|
*/
|
|
8956
9000
|
function (value) {
|
|
8957
9001
|
this._multiple = coercion.coerceBooleanProperty(value);
|
|
9002
|
+
this._syncChipsState();
|
|
8958
9003
|
},
|
|
8959
9004
|
enumerable: true,
|
|
8960
9005
|
configurable: true
|
|
@@ -9129,7 +9174,7 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
9129
9174
|
*/
|
|
9130
9175
|
function (value) {
|
|
9131
9176
|
this._disabled = coercion.coerceBooleanProperty(value);
|
|
9132
|
-
this.
|
|
9177
|
+
this._syncChipsState();
|
|
9133
9178
|
},
|
|
9134
9179
|
enumerable: true,
|
|
9135
9180
|
configurable: true
|
|
@@ -9251,7 +9296,7 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
9251
9296
|
// Since this happens after the content has been
|
|
9252
9297
|
// checked, we need to defer it to the next tick.
|
|
9253
9298
|
Promise.resolve().then(function () {
|
|
9254
|
-
_this.
|
|
9299
|
+
_this._syncChipsState();
|
|
9255
9300
|
});
|
|
9256
9301
|
}
|
|
9257
9302
|
_this._resetChips();
|
|
@@ -9944,14 +9989,14 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
9944
9989
|
function () {
|
|
9945
9990
|
return this.chips.some(function (chip) { return chip._hasFocus; });
|
|
9946
9991
|
};
|
|
9947
|
-
/** Syncs the list's
|
|
9992
|
+
/** Syncs the list's state with the individual chips. */
|
|
9948
9993
|
/**
|
|
9949
|
-
* Syncs the list's
|
|
9994
|
+
* Syncs the list's state with the individual chips.
|
|
9950
9995
|
* @private
|
|
9951
9996
|
* @return {?}
|
|
9952
9997
|
*/
|
|
9953
|
-
MatChipList.prototype.
|
|
9954
|
-
* Syncs the list's
|
|
9998
|
+
MatChipList.prototype._syncChipsState = /**
|
|
9999
|
+
* Syncs the list's state with the individual chips.
|
|
9955
10000
|
* @private
|
|
9956
10001
|
* @return {?}
|
|
9957
10002
|
*/
|
|
@@ -9960,6 +10005,7 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
9960
10005
|
if (this.chips) {
|
|
9961
10006
|
this.chips.forEach(function (chip) {
|
|
9962
10007
|
chip.disabled = _this._disabled;
|
|
10008
|
+
chip._chipListMultiple = _this.multiple;
|
|
9963
10009
|
});
|
|
9964
10010
|
}
|
|
9965
10011
|
};
|
|
@@ -11526,10 +11572,6 @@ var MatDialogClose = /** @class */ (function () {
|
|
|
11526
11572
|
this.dialogRef = dialogRef;
|
|
11527
11573
|
this._elementRef = _elementRef;
|
|
11528
11574
|
this._dialog = _dialog;
|
|
11529
|
-
/**
|
|
11530
|
-
* Screenreader label for the button.
|
|
11531
|
-
*/
|
|
11532
|
-
this.ariaLabel = 'Close dialog';
|
|
11533
11575
|
}
|
|
11534
11576
|
/**
|
|
11535
11577
|
* @return {?}
|
|
@@ -11546,18 +11588,6 @@ var MatDialogClose = /** @class */ (function () {
|
|
|
11546
11588
|
// be resolved at constructor time.
|
|
11547
11589
|
this.dialogRef = (/** @type {?} */ (getClosestDialog(this._elementRef, this._dialog.openDialogs)));
|
|
11548
11590
|
}
|
|
11549
|
-
if (typeof this._hasAriaLabel === 'undefined') {
|
|
11550
|
-
/** @type {?} */
|
|
11551
|
-
var element = this._elementRef.nativeElement;
|
|
11552
|
-
if (element.hasAttribute('mat-icon-button')) {
|
|
11553
|
-
this._hasAriaLabel = true;
|
|
11554
|
-
}
|
|
11555
|
-
else {
|
|
11556
|
-
/** @type {?} */
|
|
11557
|
-
var buttonTextContent = element.textContent;
|
|
11558
|
-
this._hasAriaLabel = !buttonTextContent || buttonTextContent.trim().length === 0;
|
|
11559
|
-
}
|
|
11560
|
-
}
|
|
11561
11591
|
};
|
|
11562
11592
|
/**
|
|
11563
11593
|
* @param {?} changes
|
|
@@ -11573,9 +11603,6 @@ var MatDialogClose = /** @class */ (function () {
|
|
|
11573
11603
|
if (proxiedChange) {
|
|
11574
11604
|
this.dialogResult = proxiedChange.currentValue;
|
|
11575
11605
|
}
|
|
11576
|
-
if (changes.ariaLabel) {
|
|
11577
|
-
this._hasAriaLabel = !!changes.ariaLabel.currentValue;
|
|
11578
|
-
}
|
|
11579
11606
|
};
|
|
11580
11607
|
MatDialogClose.decorators = [
|
|
11581
11608
|
{ type: core.Directive, args: [{
|
|
@@ -11583,7 +11610,7 @@ var MatDialogClose = /** @class */ (function () {
|
|
|
11583
11610
|
exportAs: 'matDialogClose',
|
|
11584
11611
|
host: {
|
|
11585
11612
|
'(click)': 'dialogRef.close(dialogResult)',
|
|
11586
|
-
'[attr.aria-label]': '
|
|
11613
|
+
'[attr.aria-label]': 'ariaLabel || null',
|
|
11587
11614
|
'type': 'button',
|
|
11588
11615
|
}
|
|
11589
11616
|
},] },
|
|
@@ -24955,17 +24982,16 @@ var MatTooltip = /** @class */ (function () {
|
|
|
24955
24982
|
if (this._overlayRef) {
|
|
24956
24983
|
return this._overlayRef;
|
|
24957
24984
|
}
|
|
24985
|
+
/** @type {?} */
|
|
24986
|
+
var scrollableAncestors = this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);
|
|
24958
24987
|
// Create connected position strategy that listens for scroll events to reposition.
|
|
24959
24988
|
/** @type {?} */
|
|
24960
24989
|
var strategy = this._overlay.position()
|
|
24961
24990
|
.flexibleConnectedTo(this._elementRef)
|
|
24962
24991
|
.withTransformOriginOn('.mat-tooltip')
|
|
24963
24992
|
.withFlexibleDimensions(false)
|
|
24964
|
-
.withViewportMargin(8)
|
|
24965
|
-
|
|
24966
|
-
var scrollableAncestors = this._scrollDispatcher
|
|
24967
|
-
.getAncestorScrollContainers(this._elementRef);
|
|
24968
|
-
strategy.withScrollableContainers(scrollableAncestors);
|
|
24993
|
+
.withViewportMargin(8)
|
|
24994
|
+
.withScrollableContainers(scrollableAncestors);
|
|
24969
24995
|
strategy.positionChanges.pipe(operators.takeUntil(this._destroyed)).subscribe(function (change) {
|
|
24970
24996
|
if (_this._tooltipInstance) {
|
|
24971
24997
|
if (change.scrollableViewProperties.isOverlayClipped && _this._tooltipInstance.isVisible()) {
|
|
@@ -27933,6 +27959,7 @@ var MatDrawer = /** @class */ (function () {
|
|
|
27933
27959
|
}
|
|
27934
27960
|
this._animationStarted.complete();
|
|
27935
27961
|
this._animationEnd.complete();
|
|
27962
|
+
this._modeChanged.complete();
|
|
27936
27963
|
this._destroyed.next();
|
|
27937
27964
|
this._destroyed.complete();
|
|
27938
27965
|
};
|
|
@@ -28258,6 +28285,7 @@ var MatDrawerContainer = /** @class */ (function () {
|
|
|
28258
28285
|
* @return {?}
|
|
28259
28286
|
*/
|
|
28260
28287
|
function () {
|
|
28288
|
+
this._contentMarginChanges.complete();
|
|
28261
28289
|
this._doCheckSubject.complete();
|
|
28262
28290
|
this._destroyed.next();
|
|
28263
28291
|
this._destroyed.complete();
|
|
@@ -36839,7 +36867,7 @@ MatTreeNestedDataSource = /** @class */ (function (_super) {
|
|
|
36839
36867
|
* Current version of Angular Material.
|
|
36840
36868
|
* @type {?}
|
|
36841
36869
|
*/
|
|
36842
|
-
var VERSION = new core.Version('7.3.
|
|
36870
|
+
var VERSION = new core.Version('7.3.7');
|
|
36843
36871
|
|
|
36844
36872
|
exports.VERSION = VERSION;
|
|
36845
36873
|
exports.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY = MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY;
|
|
@@ -37052,7 +37080,7 @@ exports.MatPrefix = MatPrefix;
|
|
|
37052
37080
|
exports.MatSuffix = MatSuffix;
|
|
37053
37081
|
exports.MatLabel = MatLabel;
|
|
37054
37082
|
exports.matFormFieldAnimations = matFormFieldAnimations;
|
|
37055
|
-
exports.ɵ
|
|
37083
|
+
exports.ɵa8 = MAT_GRID_LIST;
|
|
37056
37084
|
exports.MatGridListModule = MatGridListModule;
|
|
37057
37085
|
exports.MatGridList = MatGridList;
|
|
37058
37086
|
exports.MatGridTile = MatGridTile;
|
|
@@ -37235,17 +37263,17 @@ exports.MatHeaderRow = MatHeaderRow;
|
|
|
37235
37263
|
exports.MatFooterRow = MatFooterRow;
|
|
37236
37264
|
exports.MatRow = MatRow;
|
|
37237
37265
|
exports.MatTableDataSource = MatTableDataSource;
|
|
37238
|
-
exports.ɵ
|
|
37239
|
-
exports.ɵ
|
|
37240
|
-
exports.ɵ
|
|
37241
|
-
exports.ɵ
|
|
37242
|
-
exports.ɵ
|
|
37243
|
-
exports.ɵ
|
|
37244
|
-
exports.ɵ
|
|
37245
|
-
exports.ɵ
|
|
37246
|
-
exports.ɵ
|
|
37247
|
-
exports.ɵ
|
|
37248
|
-
exports.ɵ
|
|
37266
|
+
exports.ɵa21 = _MAT_INK_BAR_POSITIONER_FACTORY;
|
|
37267
|
+
exports.ɵf21 = MatTabBase;
|
|
37268
|
+
exports.ɵg21 = _MatTabMixinBase;
|
|
37269
|
+
exports.ɵb21 = MatTabHeaderBase;
|
|
37270
|
+
exports.ɵc21 = _MatTabHeaderMixinBase;
|
|
37271
|
+
exports.ɵd21 = MatTabLabelWrapperBase;
|
|
37272
|
+
exports.ɵe21 = _MatTabLabelWrapperMixinBase;
|
|
37273
|
+
exports.ɵj21 = MatTabLinkBase;
|
|
37274
|
+
exports.ɵh21 = MatTabNavBase;
|
|
37275
|
+
exports.ɵk21 = _MatTabLinkMixinBase;
|
|
37276
|
+
exports.ɵi21 = _MatTabNavMixinBase;
|
|
37249
37277
|
exports.MatInkBar = MatInkBar;
|
|
37250
37278
|
exports._MAT_INK_BAR_POSITIONER = _MAT_INK_BAR_POSITIONER;
|
|
37251
37279
|
exports.MatTabBody = MatTabBody;
|