@angular/material 12.2.6 → 12.2.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-core.umd.js +7 -17
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-list.umd.js +3 -3
- package/bundles/material-select.umd.js +3 -1
- package/bundles/material-select.umd.js.map +1 -1
- package/bundles/material-snack-bar-testing.umd.js +19 -20
- package/bundles/material-snack-bar-testing.umd.js.map +1 -1
- package/bundles/material-tabs.umd.js +22 -8
- package/bundles/material-tabs.umd.js.map +1 -1
- package/core/common-behaviors/common-module.d.ts +0 -4
- package/core/index.metadata.json +1 -1
- package/esm2015/core/common-behaviors/common-module.js +4 -13
- package/esm2015/core/version.js +1 -1
- package/esm2015/list/list.js +2 -2
- package/esm2015/list/selection-list.js +1 -1
- package/esm2015/select/select.js +4 -2
- package/esm2015/snack-bar/testing/snack-bar-harness.js +20 -21
- package/esm2015/tabs/public-api.js +2 -2
- package/esm2015/tabs/tab-label.js +16 -2
- package/esm2015/tabs/tab.js +9 -8
- package/fesm2015/core.js +4 -14
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/list.js +3 -3
- package/fesm2015/select.js +3 -1
- package/fesm2015/select.js.map +1 -1
- package/fesm2015/snack-bar/testing.js +19 -20
- package/fesm2015/snack-bar/testing.js.map +1 -1
- package/fesm2015/tabs.js +23 -8
- package/fesm2015/tabs.js.map +1 -1
- package/list/index.metadata.json +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/select/index.metadata.json +1 -1
- package/snack-bar/testing/snack-bar-harness.d.ts +8 -9
- package/tabs/index.metadata.json +1 -1
- package/tabs/public-api.d.ts +1 -1
- package/tabs/tab-label.d.ts +8 -1
- package/tabs/tab.d.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk'), require('@angular/common'), require('@angular/cdk/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@angular/material/core', ['exports', '@angular/core', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk', '@angular/common', '@angular/cdk/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.core = {}), global.ng.core, global.ng.cdk.a11y, global.ng.cdk.bidi, global.ng.cdk, global.ng.common, global.ng.cdk.
|
|
5
|
-
}(this, (function (exports, i0, a11y, bidi, cdk, common, coercion, rxjs,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk'), require('@angular/common'), require('@angular/cdk/platform'), require('@angular/cdk/coercion'), require('rxjs'), require('rxjs/operators'), require('@angular/platform-browser/animations'), require('@angular/cdk/keycodes')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@angular/material/core', ['exports', '@angular/core', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk', '@angular/common', '@angular/cdk/platform', '@angular/cdk/coercion', 'rxjs', 'rxjs/operators', '@angular/platform-browser/animations', '@angular/cdk/keycodes'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.core = {}), global.ng.core, global.ng.cdk.a11y, global.ng.cdk.bidi, global.ng.cdk, global.ng.common, global.ng.cdk.platform, global.ng.cdk.coercion, global.rxjs, global.rxjs.operators, global.ng.platformBrowser.animations, global.ng.cdk.keycodes));
|
|
5
|
+
}(this, (function (exports, i0, a11y, bidi, cdk, common, platform, coercion, rxjs, operators, animations, keycodes) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* found in the LICENSE file at https://angular.io/license
|
|
35
35
|
*/
|
|
36
36
|
/** Current version of Angular Material. */
|
|
37
|
-
var VERSION$1 = new i0.Version('12.2.
|
|
37
|
+
var VERSION$1 = new i0.Version('12.2.7');
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
// i.e. avoid core to depend on the @angular/material primary entry-point
|
|
75
75
|
// Can be removed once the Material primary entry-point no longer
|
|
76
76
|
// re-exports all secondary entry-points
|
|
77
|
-
var VERSION = new i0.Version('12.2.
|
|
77
|
+
var VERSION = new i0.Version('12.2.7');
|
|
78
78
|
/** @docs-private */
|
|
79
79
|
function MATERIAL_SANITY_CHECKS_FACTORY() {
|
|
80
80
|
return true;
|
|
@@ -108,18 +108,13 @@
|
|
|
108
108
|
this._hasDoneGlobalChecks = true;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
112
|
-
MatCommonModule.prototype._getWindow = function () {
|
|
113
|
-
var win = this._document.defaultView || window;
|
|
114
|
-
return typeof win === 'object' && win ? win : null;
|
|
115
|
-
};
|
|
116
111
|
/** Gets whether a specific sanity check is enabled. */
|
|
117
112
|
MatCommonModule.prototype._checkIsEnabled = function (name) {
|
|
118
113
|
// TODO(crisbeto): we can't use `ngDevMode` here yet, because ViewEngine apps might not support
|
|
119
114
|
// it. Since these checks can have performance implications and they aren't tree shakeable
|
|
120
115
|
// in their current form, we can leave the `isDevMode` check in for now.
|
|
121
116
|
// tslint:disable-next-line:ban
|
|
122
|
-
if (!i0.isDevMode() ||
|
|
117
|
+
if (!i0.isDevMode() || platform._isTestEnvironment()) {
|
|
123
118
|
return false;
|
|
124
119
|
}
|
|
125
120
|
if (typeof this._sanityChecks === 'boolean') {
|
|
@@ -127,11 +122,6 @@
|
|
|
127
122
|
}
|
|
128
123
|
return !!this._sanityChecks[name];
|
|
129
124
|
};
|
|
130
|
-
/** Whether the code is running in tests. */
|
|
131
|
-
MatCommonModule.prototype._isTestEnv = function () {
|
|
132
|
-
var window = this._getWindow();
|
|
133
|
-
return window && (window.__karma__ || window.jasmine);
|
|
134
|
-
};
|
|
135
125
|
MatCommonModule.prototype._checkDoctypeIsDefined = function () {
|
|
136
126
|
if (this._checkIsEnabled('doctype') && !this._document.doctype) {
|
|
137
127
|
console.warn('Current document does not have a doctype. This may cause ' +
|