@angular/cdk 10.1.2 → 10.1.3

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 (115) hide show
  1. package/bundles/cdk-a11y.umd.js +425 -373
  2. package/bundles/cdk-a11y.umd.js.map +1 -1
  3. package/bundles/cdk-a11y.umd.min.js +34 -10
  4. package/bundles/cdk-a11y.umd.min.js.map +1 -1
  5. package/bundles/cdk-accordion.umd.js +40 -40
  6. package/bundles/cdk-accordion.umd.js.map +1 -1
  7. package/bundles/cdk-accordion.umd.min.js +10 -2
  8. package/bundles/cdk-accordion.umd.min.js.map +1 -1
  9. package/bundles/cdk-bidi.umd.js +25 -25
  10. package/bundles/cdk-bidi.umd.js.map +1 -1
  11. package/bundles/cdk-bidi.umd.min.js +5 -4
  12. package/bundles/cdk-bidi.umd.min.js.map +1 -1
  13. package/bundles/cdk-clipboard.umd.js +31 -31
  14. package/bundles/cdk-clipboard.umd.js.map +1 -1
  15. package/bundles/cdk-clipboard.umd.min.js +10 -2
  16. package/bundles/cdk-clipboard.umd.min.js.map +1 -1
  17. package/bundles/cdk-coercion.umd.js.map +1 -1
  18. package/bundles/cdk-collections.umd.js +303 -237
  19. package/bundles/cdk-collections.umd.js.map +1 -1
  20. package/bundles/cdk-collections.umd.min.js +3 -9
  21. package/bundles/cdk-collections.umd.min.js.map +1 -1
  22. package/bundles/cdk-drag-drop.umd.js +484 -425
  23. package/bundles/cdk-drag-drop.umd.js.map +1 -1
  24. package/bundles/cdk-drag-drop.umd.min.js +68 -5
  25. package/bundles/cdk-drag-drop.umd.min.js.map +1 -1
  26. package/bundles/cdk-keycodes.umd.js.map +1 -1
  27. package/bundles/cdk-layout.umd.js +18 -18
  28. package/bundles/cdk-layout.umd.js.map +1 -1
  29. package/bundles/cdk-layout.umd.min.js +6 -5
  30. package/bundles/cdk-layout.umd.min.js.map +1 -1
  31. package/bundles/cdk-observers.umd.js +34 -34
  32. package/bundles/cdk-observers.umd.js.map +1 -1
  33. package/bundles/cdk-observers.umd.min.js +2 -2
  34. package/bundles/cdk-observers.umd.min.js.map +1 -1
  35. package/bundles/cdk-overlay.umd.js +442 -383
  36. package/bundles/cdk-overlay.umd.js.map +1 -1
  37. package/bundles/cdk-overlay.umd.min.js +57 -11
  38. package/bundles/cdk-overlay.umd.min.js.map +1 -1
  39. package/bundles/cdk-platform.umd.js +10 -10
  40. package/bundles/cdk-platform.umd.js.map +1 -1
  41. package/bundles/cdk-platform.umd.min.js +3 -10
  42. package/bundles/cdk-platform.umd.min.js.map +1 -1
  43. package/bundles/cdk-portal.umd.js +351 -299
  44. package/bundles/cdk-portal.umd.js.map +1 -1
  45. package/bundles/cdk-portal.umd.min.js +4 -5
  46. package/bundles/cdk-portal.umd.min.js.map +1 -1
  47. package/bundles/cdk-scrolling.umd.js +432 -378
  48. package/bundles/cdk-scrolling.umd.js.map +1 -1
  49. package/bundles/cdk-scrolling.umd.min.js +20 -19
  50. package/bundles/cdk-scrolling.umd.min.js.map +1 -1
  51. package/bundles/cdk-stepper.umd.js +117 -117
  52. package/bundles/cdk-stepper.umd.js.map +1 -1
  53. package/bundles/cdk-stepper.umd.min.js +11 -2
  54. package/bundles/cdk-stepper.umd.min.js.map +1 -1
  55. package/bundles/cdk-table.umd.js +684 -588
  56. package/bundles/cdk-table.umd.js.map +1 -1
  57. package/bundles/cdk-table.umd.min.js +7 -14
  58. package/bundles/cdk-table.umd.min.js.map +1 -1
  59. package/bundles/cdk-testing-protractor.umd.js +300 -241
  60. package/bundles/cdk-testing-protractor.umd.js.map +1 -1
  61. package/bundles/cdk-testing-protractor.umd.min.js +2 -9
  62. package/bundles/cdk-testing-protractor.umd.min.js.map +1 -1
  63. package/bundles/cdk-testing-testbed.umd.js +301 -256
  64. package/bundles/cdk-testing-testbed.umd.js.map +1 -1
  65. package/bundles/cdk-testing-testbed.umd.min.js +7 -30
  66. package/bundles/cdk-testing-testbed.umd.min.js.map +1 -1
  67. package/bundles/cdk-testing.umd.js +326 -270
  68. package/bundles/cdk-testing.umd.js.map +1 -1
  69. package/bundles/cdk-testing.umd.min.js +1 -16
  70. package/bundles/cdk-testing.umd.min.js.map +1 -1
  71. package/bundles/cdk-text-field.umd.js +51 -51
  72. package/bundles/cdk-text-field.umd.js.map +1 -1
  73. package/bundles/cdk-text-field.umd.min.js +10 -2
  74. package/bundles/cdk-text-field.umd.min.js.map +1 -1
  75. package/bundles/cdk-tree.umd.js +443 -394
  76. package/bundles/cdk-tree.umd.js.map +1 -1
  77. package/bundles/cdk-tree.umd.min.js +28 -3
  78. package/bundles/cdk-tree.umd.min.js.map +1 -1
  79. package/bundles/cdk.umd.js +1 -1
  80. package/bundles/cdk.umd.js.map +1 -1
  81. package/bundles/cdk.umd.min.js +1 -1
  82. package/bundles/cdk.umd.min.js.map +1 -1
  83. package/esm2015/a11y/focus-trap/configurable-focus-trap-factory.js +3 -3
  84. package/esm2015/a11y/focus-trap/focus-trap.js +1 -1
  85. package/esm2015/a11y/live-announcer/live-announcer.js +1 -1
  86. package/esm2015/bidi/directionality.js +1 -1
  87. package/esm2015/overlay/position/flexible-connected-position-strategy.js +3 -3
  88. package/esm2015/scrolling/scrolling-module.js +4 -1
  89. package/esm2015/table/cell.js +18 -3
  90. package/esm2015/table/coalesced-style-scheduler.js +21 -10
  91. package/esm2015/table/sticky-styler.js +21 -7
  92. package/esm2015/table/table.js +8 -2
  93. package/esm2015/tree/tree.js +9 -23
  94. package/esm2015/version.js +1 -1
  95. package/fesm2015/cdk.js +1 -1
  96. package/fesm2015/cdk.js.map +1 -1
  97. package/fesm2015/overlay.js +2 -2
  98. package/fesm2015/overlay.js.map +1 -1
  99. package/fesm2015/scrolling.js +3 -0
  100. package/fesm2015/scrolling.js.map +1 -1
  101. package/fesm2015/table.js +65 -19
  102. package/fesm2015/table.js.map +1 -1
  103. package/fesm2015/tree.js +7 -21
  104. package/fesm2015/tree.js.map +1 -1
  105. package/package.json +1 -1
  106. package/schematics/ng-add/index.js +1 -1
  107. package/scrolling/index.metadata.json +1 -1
  108. package/scrolling/scrolling-module.d.ts +3 -0
  109. package/table/cell.d.ts +13 -0
  110. package/table/coalesced-style-scheduler.d.ts +1 -0
  111. package/table/index.metadata.json +1 -1
  112. package/table/sticky-styler.d.ts +5 -1
  113. package/table/table.d.ts +6 -0
  114. package/tree/index.metadata.json +1 -1
  115. package/tree/tree.d.ts +2 -4
@@ -4,232 +4,305 @@
4
4
  (global = global || self, factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || {}, global.ng.cdk.overlay = {}), global.ng.cdk.scrolling, global.ng.common, global.ng.core, global.ng.cdk.coercion, global.ng.cdk.bidi, global.ng.cdk.portal, global.ng.cdk.platform, global.rxjs, global.rxjs.operators, global.ng.cdk.keycodes));
5
5
  }(this, (function (exports, i1, i1$1, i0, coercion, bidi, portal, i2, rxjs, operators, keycodes) { 'use strict';
6
6
 
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- extendStatics(d, b);
32
- function __() { this.constructor = d; }
33
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
- }
35
-
36
- var __assign = function() {
37
- __assign = Object.assign || function __assign(t) {
38
- for (var s, i = 1, n = arguments.length; i < n; i++) {
39
- s = arguments[i];
40
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
41
- }
42
- return t;
43
- };
44
- return __assign.apply(this, arguments);
45
- };
46
-
47
- function __rest(s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- }
58
-
59
- function __decorate(decorators, target, key, desc) {
60
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
- return c > 3 && r && Object.defineProperty(target, key, r), r;
64
- }
65
-
66
- function __param(paramIndex, decorator) {
67
- return function (target, key) { decorator(target, key, paramIndex); }
68
- }
69
-
70
- function __metadata(metadataKey, metadataValue) {
71
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
72
- }
73
-
74
- function __awaiter(thisArg, _arguments, P, generator) {
75
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
- return new (P || (P = Promise))(function (resolve, reject) {
77
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
- step((generator = generator.apply(thisArg, _arguments || [])).next());
81
- });
82
- }
83
-
84
- function __generator(thisArg, body) {
85
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87
- function verb(n) { return function (v) { return step([n, v]); }; }
88
- function step(op) {
89
- if (f) throw new TypeError("Generator is already executing.");
90
- while (_) try {
91
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92
- if (y = 0, t) op = [op[0] & 2, t.value];
93
- switch (op[0]) {
94
- case 0: case 1: t = op; break;
95
- case 4: _.label++; return { value: op[1], done: false };
96
- case 5: _.label++; y = op[1]; op = [0]; continue;
97
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
- default:
99
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
- if (t[2]) _.ops.pop();
104
- _.trys.pop(); continue;
105
- }
106
- op = body.call(thisArg, _);
107
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
109
- }
110
- }
111
-
112
- var __createBinding = Object.create ? (function(o, m, k, k2) {
113
- if (k2 === undefined) k2 = k;
114
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
115
- }) : (function(o, m, k, k2) {
116
- if (k2 === undefined) k2 = k;
117
- o[k2] = m[k];
118
- });
119
-
120
- function __exportStar(m, exports) {
121
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
122
- }
123
-
124
- function __values(o) {
125
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
126
- if (m) return m.call(o);
127
- if (o && typeof o.length === "number") return {
128
- next: function () {
129
- if (o && i >= o.length) o = void 0;
130
- return { value: o && o[i++], done: !o };
131
- }
132
- };
133
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
134
- }
135
-
136
- function __read(o, n) {
137
- var m = typeof Symbol === "function" && o[Symbol.iterator];
138
- if (!m) return o;
139
- var i = m.call(o), r, ar = [], e;
140
- try {
141
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
142
- }
143
- catch (error) { e = { error: error }; }
144
- finally {
145
- try {
146
- if (r && !r.done && (m = i["return"])) m.call(i);
147
- }
148
- finally { if (e) throw e.error; }
149
- }
150
- return ar;
151
- }
152
-
153
- function __spread() {
154
- for (var ar = [], i = 0; i < arguments.length; i++)
155
- ar = ar.concat(__read(arguments[i]));
156
- return ar;
157
- }
158
-
159
- function __spreadArrays() {
160
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
161
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
162
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
163
- r[k] = a[j];
164
- return r;
165
- };
166
-
167
- function __await(v) {
168
- return this instanceof __await ? (this.v = v, this) : new __await(v);
169
- }
170
-
171
- function __asyncGenerator(thisArg, _arguments, generator) {
172
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
173
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
174
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
175
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
176
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
177
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
178
- function fulfill(value) { resume("next", value); }
179
- function reject(value) { resume("throw", value); }
180
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
181
- }
182
-
183
- function __asyncDelegator(o) {
184
- var i, p;
185
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
186
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
187
- }
188
-
189
- function __asyncValues(o) {
190
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
191
- var m = o[Symbol.asyncIterator], i;
192
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
193
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
194
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
195
- }
196
-
197
- function __makeTemplateObject(cooked, raw) {
198
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
199
- return cooked;
200
- };
201
-
202
- var __setModuleDefault = Object.create ? (function(o, v) {
203
- Object.defineProperty(o, "default", { enumerable: true, value: v });
204
- }) : function(o, v) {
205
- o["default"] = v;
206
- };
207
-
208
- function __importStar(mod) {
209
- if (mod && mod.__esModule) return mod;
210
- var result = {};
211
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
212
- __setModuleDefault(result, mod);
213
- return result;
214
- }
215
-
216
- function __importDefault(mod) {
217
- return (mod && mod.__esModule) ? mod : { default: mod };
218
- }
219
-
220
- function __classPrivateFieldGet(receiver, privateMap) {
221
- if (!privateMap.has(receiver)) {
222
- throw new TypeError("attempted to get private field on non-instance");
223
- }
224
- return privateMap.get(receiver);
225
- }
226
-
227
- function __classPrivateFieldSet(receiver, privateMap, value) {
228
- if (!privateMap.has(receiver)) {
229
- throw new TypeError("attempted to set private field on non-instance");
230
- }
231
- privateMap.set(receiver, value);
232
- return value;
7
+ /*! *****************************************************************************
8
+ Copyright (c) Microsoft Corporation.
9
+
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
+ PERFORMANCE OF THIS SOFTWARE.
20
+ ***************************************************************************** */
21
+ /* global Reflect, Promise */
22
+ var extendStatics = function (d, b) {
23
+ extendStatics = Object.setPrototypeOf ||
24
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
25
+ function (d, b) { for (var p in b)
26
+ if (b.hasOwnProperty(p))
27
+ d[p] = b[p]; };
28
+ return extendStatics(d, b);
29
+ };
30
+ function __extends(d, b) {
31
+ extendStatics(d, b);
32
+ function __() { this.constructor = d; }
33
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
+ }
35
+ var __assign = function () {
36
+ __assign = Object.assign || function __assign(t) {
37
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
38
+ s = arguments[i];
39
+ for (var p in s)
40
+ if (Object.prototype.hasOwnProperty.call(s, p))
41
+ t[p] = s[p];
42
+ }
43
+ return t;
44
+ };
45
+ return __assign.apply(this, arguments);
46
+ };
47
+ function __rest(s, e) {
48
+ var t = {};
49
+ for (var p in s)
50
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
51
+ t[p] = s[p];
52
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
53
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
54
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
55
+ t[p[i]] = s[p[i]];
56
+ }
57
+ return t;
58
+ }
59
+ function __decorate(decorators, target, key, desc) {
60
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
62
+ r = Reflect.decorate(decorators, target, key, desc);
63
+ else
64
+ for (var i = decorators.length - 1; i >= 0; i--)
65
+ if (d = decorators[i])
66
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
67
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
68
+ }
69
+ function __param(paramIndex, decorator) {
70
+ return function (target, key) { decorator(target, key, paramIndex); };
71
+ }
72
+ function __metadata(metadataKey, metadataValue) {
73
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
74
+ return Reflect.metadata(metadataKey, metadataValue);
75
+ }
76
+ function __awaiter(thisArg, _arguments, P, generator) {
77
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
78
+ return new (P || (P = Promise))(function (resolve, reject) {
79
+ function fulfilled(value) { try {
80
+ step(generator.next(value));
81
+ }
82
+ catch (e) {
83
+ reject(e);
84
+ } }
85
+ function rejected(value) { try {
86
+ step(generator["throw"](value));
87
+ }
88
+ catch (e) {
89
+ reject(e);
90
+ } }
91
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
92
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
93
+ });
94
+ }
95
+ function __generator(thisArg, body) {
96
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
97
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
98
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
99
+ function verb(n) { return function (v) { return step([n, v]); }; }
100
+ function step(op) {
101
+ if (f)
102
+ throw new TypeError("Generator is already executing.");
103
+ while (_)
104
+ try {
105
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
106
+ return t;
107
+ if (y = 0, t)
108
+ op = [op[0] & 2, t.value];
109
+ switch (op[0]) {
110
+ case 0:
111
+ case 1:
112
+ t = op;
113
+ break;
114
+ case 4:
115
+ _.label++;
116
+ return { value: op[1], done: false };
117
+ case 5:
118
+ _.label++;
119
+ y = op[1];
120
+ op = [0];
121
+ continue;
122
+ case 7:
123
+ op = _.ops.pop();
124
+ _.trys.pop();
125
+ continue;
126
+ default:
127
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
128
+ _ = 0;
129
+ continue;
130
+ }
131
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
132
+ _.label = op[1];
133
+ break;
134
+ }
135
+ if (op[0] === 6 && _.label < t[1]) {
136
+ _.label = t[1];
137
+ t = op;
138
+ break;
139
+ }
140
+ if (t && _.label < t[2]) {
141
+ _.label = t[2];
142
+ _.ops.push(op);
143
+ break;
144
+ }
145
+ if (t[2])
146
+ _.ops.pop();
147
+ _.trys.pop();
148
+ continue;
149
+ }
150
+ op = body.call(thisArg, _);
151
+ }
152
+ catch (e) {
153
+ op = [6, e];
154
+ y = 0;
155
+ }
156
+ finally {
157
+ f = t = 0;
158
+ }
159
+ if (op[0] & 5)
160
+ throw op[1];
161
+ return { value: op[0] ? op[1] : void 0, done: true };
162
+ }
163
+ }
164
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
165
+ if (k2 === undefined)
166
+ k2 = k;
167
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
168
+ }) : (function (o, m, k, k2) {
169
+ if (k2 === undefined)
170
+ k2 = k;
171
+ o[k2] = m[k];
172
+ });
173
+ function __exportStar(m, exports) {
174
+ for (var p in m)
175
+ if (p !== "default" && !exports.hasOwnProperty(p))
176
+ __createBinding(exports, m, p);
177
+ }
178
+ function __values(o) {
179
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
180
+ if (m)
181
+ return m.call(o);
182
+ if (o && typeof o.length === "number")
183
+ return {
184
+ next: function () {
185
+ if (o && i >= o.length)
186
+ o = void 0;
187
+ return { value: o && o[i++], done: !o };
188
+ }
189
+ };
190
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
191
+ }
192
+ function __read(o, n) {
193
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
194
+ if (!m)
195
+ return o;
196
+ var i = m.call(o), r, ar = [], e;
197
+ try {
198
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
199
+ ar.push(r.value);
200
+ }
201
+ catch (error) {
202
+ e = { error: error };
203
+ }
204
+ finally {
205
+ try {
206
+ if (r && !r.done && (m = i["return"]))
207
+ m.call(i);
208
+ }
209
+ finally {
210
+ if (e)
211
+ throw e.error;
212
+ }
213
+ }
214
+ return ar;
215
+ }
216
+ function __spread() {
217
+ for (var ar = [], i = 0; i < arguments.length; i++)
218
+ ar = ar.concat(__read(arguments[i]));
219
+ return ar;
220
+ }
221
+ function __spreadArrays() {
222
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
223
+ s += arguments[i].length;
224
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
225
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
226
+ r[k] = a[j];
227
+ return r;
228
+ }
229
+ ;
230
+ function __await(v) {
231
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
232
+ }
233
+ function __asyncGenerator(thisArg, _arguments, generator) {
234
+ if (!Symbol.asyncIterator)
235
+ throw new TypeError("Symbol.asyncIterator is not defined.");
236
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
237
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
238
+ function verb(n) { if (g[n])
239
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
240
+ function resume(n, v) { try {
241
+ step(g[n](v));
242
+ }
243
+ catch (e) {
244
+ settle(q[0][3], e);
245
+ } }
246
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
247
+ function fulfill(value) { resume("next", value); }
248
+ function reject(value) { resume("throw", value); }
249
+ function settle(f, v) { if (f(v), q.shift(), q.length)
250
+ resume(q[0][0], q[0][1]); }
251
+ }
252
+ function __asyncDelegator(o) {
253
+ var i, p;
254
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
255
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
256
+ }
257
+ function __asyncValues(o) {
258
+ if (!Symbol.asyncIterator)
259
+ throw new TypeError("Symbol.asyncIterator is not defined.");
260
+ var m = o[Symbol.asyncIterator], i;
261
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
262
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
263
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
264
+ }
265
+ function __makeTemplateObject(cooked, raw) {
266
+ if (Object.defineProperty) {
267
+ Object.defineProperty(cooked, "raw", { value: raw });
268
+ }
269
+ else {
270
+ cooked.raw = raw;
271
+ }
272
+ return cooked;
273
+ }
274
+ ;
275
+ var __setModuleDefault = Object.create ? (function (o, v) {
276
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
277
+ }) : function (o, v) {
278
+ o["default"] = v;
279
+ };
280
+ function __importStar(mod) {
281
+ if (mod && mod.__esModule)
282
+ return mod;
283
+ var result = {};
284
+ if (mod != null)
285
+ for (var k in mod)
286
+ if (Object.hasOwnProperty.call(mod, k))
287
+ __createBinding(result, mod, k);
288
+ __setModuleDefault(result, mod);
289
+ return result;
290
+ }
291
+ function __importDefault(mod) {
292
+ return (mod && mod.__esModule) ? mod : { default: mod };
293
+ }
294
+ function __classPrivateFieldGet(receiver, privateMap) {
295
+ if (!privateMap.has(receiver)) {
296
+ throw new TypeError("attempted to get private field on non-instance");
297
+ }
298
+ return privateMap.get(receiver);
299
+ }
300
+ function __classPrivateFieldSet(receiver, privateMap, value) {
301
+ if (!privateMap.has(receiver)) {
302
+ throw new TypeError("attempted to set private field on non-instance");
303
+ }
304
+ privateMap.set(receiver, value);
305
+ return value;
233
306
  }
234
307
 
235
308
  /**
@@ -539,18 +612,18 @@
539
612
  this.reposition = function (config) { return new RepositionScrollStrategy(_this._scrollDispatcher, _this._viewportRuler, _this._ngZone, config); };
540
613
  this._document = document;
541
614
  }
542
- ScrollStrategyOptions.ɵprov = i0.ɵɵdefineInjectable({ factory: function ScrollStrategyOptions_Factory() { return new ScrollStrategyOptions(i0.ɵɵinject(i1.ScrollDispatcher), i0.ɵɵinject(i1.ViewportRuler), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1$1.DOCUMENT)); }, token: ScrollStrategyOptions, providedIn: "root" });
543
- ScrollStrategyOptions.decorators = [
544
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
545
- ];
546
- ScrollStrategyOptions.ctorParameters = function () { return [
547
- { type: i1.ScrollDispatcher },
548
- { type: i1.ViewportRuler },
549
- { type: i0.NgZone },
550
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] }
551
- ]; };
552
615
  return ScrollStrategyOptions;
553
616
  }());
617
+ ScrollStrategyOptions.ɵprov = i0.ɵɵdefineInjectable({ factory: function ScrollStrategyOptions_Factory() { return new ScrollStrategyOptions(i0.ɵɵinject(i1.ScrollDispatcher), i0.ɵɵinject(i1.ViewportRuler), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1$1.DOCUMENT)); }, token: ScrollStrategyOptions, providedIn: "root" });
618
+ ScrollStrategyOptions.decorators = [
619
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
620
+ ];
621
+ ScrollStrategyOptions.ctorParameters = function () { return [
622
+ { type: i1.ScrollDispatcher },
623
+ { type: i1.ViewportRuler },
624
+ { type: i0.NgZone },
625
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] }
626
+ ]; };
554
627
 
555
628
  /**
556
629
  * @license
@@ -560,13 +633,6 @@
560
633
  * found in the LICENSE file at https://angular.io/license
561
634
  */
562
635
 
563
- /**
564
- * @license
565
- * Copyright Google LLC All Rights Reserved.
566
- *
567
- * Use of this source code is governed by an MIT-style license that can be
568
- * found in the LICENSE file at https://angular.io/license
569
- */
570
636
  /** Initial configuration used when creating an overlay. */
571
637
  var OverlayConfig = /** @class */ (function () {
572
638
  function OverlayConfig(config) {
@@ -686,12 +752,12 @@
686
752
  this.connectionPair = connectionPair;
687
753
  this.scrollableViewProperties = scrollableViewProperties;
688
754
  }
689
- ConnectedOverlayPositionChange.ctorParameters = function () { return [
690
- { type: ConnectionPositionPair },
691
- { type: ScrollingVisibility, decorators: [{ type: i0.Optional }] }
692
- ]; };
693
755
  return ConnectedOverlayPositionChange;
694
756
  }());
757
+ ConnectedOverlayPositionChange.ctorParameters = function () { return [
758
+ { type: ConnectionPositionPair },
759
+ { type: ScrollingVisibility, decorators: [{ type: i0.Optional }] }
760
+ ]; };
695
761
  /**
696
762
  * Validates whether a vertical position property matches the expected values.
697
763
  * @param property Name of the property being validated.
@@ -755,15 +821,15 @@
755
821
  this.detach();
756
822
  }
757
823
  };
758
- BaseOverlayDispatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function BaseOverlayDispatcher_Factory() { return new BaseOverlayDispatcher(i0.ɵɵinject(i1$1.DOCUMENT)); }, token: BaseOverlayDispatcher, providedIn: "root" });
759
- BaseOverlayDispatcher.decorators = [
760
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
761
- ];
762
- BaseOverlayDispatcher.ctorParameters = function () { return [
763
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] }
764
- ]; };
765
824
  return BaseOverlayDispatcher;
766
825
  }());
826
+ BaseOverlayDispatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function BaseOverlayDispatcher_Factory() { return new BaseOverlayDispatcher(i0.ɵɵinject(i1$1.DOCUMENT)); }, token: BaseOverlayDispatcher, providedIn: "root" });
827
+ BaseOverlayDispatcher.decorators = [
828
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
829
+ ];
830
+ BaseOverlayDispatcher.ctorParameters = function () { return [
831
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] }
832
+ ]; };
767
833
 
768
834
  /**
769
835
  * Service for dispatching keyboard events that land on the body to appropriate overlay ref,
@@ -808,15 +874,15 @@
808
874
  this._isAttached = false;
809
875
  }
810
876
  };
811
- OverlayKeyboardDispatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayKeyboardDispatcher_Factory() { return new OverlayKeyboardDispatcher(i0.ɵɵinject(i1$1.DOCUMENT)); }, token: OverlayKeyboardDispatcher, providedIn: "root" });
812
- OverlayKeyboardDispatcher.decorators = [
813
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
814
- ];
815
- OverlayKeyboardDispatcher.ctorParameters = function () { return [
816
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] }
817
- ]; };
818
877
  return OverlayKeyboardDispatcher;
819
878
  }(BaseOverlayDispatcher));
879
+ OverlayKeyboardDispatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayKeyboardDispatcher_Factory() { return new OverlayKeyboardDispatcher(i0.ɵɵinject(i1$1.DOCUMENT)); }, token: OverlayKeyboardDispatcher, providedIn: "root" });
880
+ OverlayKeyboardDispatcher.decorators = [
881
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
882
+ ];
883
+ OverlayKeyboardDispatcher.ctorParameters = function () { return [
884
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] }
885
+ ]; };
820
886
  /** @docs-private @deprecated @breaking-change 8.0.0 */
821
887
  function OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY(dispatcher, _document) {
822
888
  return dispatcher || new OverlayKeyboardDispatcher(_document);
@@ -907,16 +973,16 @@
907
973
  this._isAttached = false;
908
974
  }
909
975
  };
910
- OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayOutsideClickDispatcher_Factory() { return new OverlayOutsideClickDispatcher(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform)); }, token: OverlayOutsideClickDispatcher, providedIn: "root" });
911
- OverlayOutsideClickDispatcher.decorators = [
912
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
913
- ];
914
- OverlayOutsideClickDispatcher.ctorParameters = function () { return [
915
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
916
- { type: i2.Platform }
917
- ]; };
918
976
  return OverlayOutsideClickDispatcher;
919
977
  }(BaseOverlayDispatcher));
978
+ OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayOutsideClickDispatcher_Factory() { return new OverlayOutsideClickDispatcher(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform)); }, token: OverlayOutsideClickDispatcher, providedIn: "root" });
979
+ OverlayOutsideClickDispatcher.decorators = [
980
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
981
+ ];
982
+ OverlayOutsideClickDispatcher.ctorParameters = function () { return [
983
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
984
+ { type: i2.Platform }
985
+ ]; };
920
986
 
921
987
  /**
922
988
  * @license
@@ -997,16 +1063,16 @@
997
1063
  this._document.body.appendChild(container);
998
1064
  this._containerElement = container;
999
1065
  };
1000
- OverlayContainer.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayContainer_Factory() { return new OverlayContainer(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform)); }, token: OverlayContainer, providedIn: "root" });
1001
- OverlayContainer.decorators = [
1002
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1003
- ];
1004
- OverlayContainer.ctorParameters = function () { return [
1005
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
1006
- { type: i2.Platform }
1007
- ]; };
1008
1066
  return OverlayContainer;
1009
1067
  }());
1068
+ OverlayContainer.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayContainer_Factory() { return new OverlayContainer(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform)); }, token: OverlayContainer, providedIn: "root" });
1069
+ OverlayContainer.decorators = [
1070
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1071
+ ];
1072
+ OverlayContainer.ctorParameters = function () { return [
1073
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
1074
+ { type: i2.Platform }
1075
+ ]; };
1010
1076
  /** @docs-private @deprecated @breaking-change 8.0.0 */
1011
1077
  function OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer, _document) {
1012
1078
  return parentContainer || new OverlayContainer(_document);
@@ -1265,12 +1331,12 @@
1265
1331
  };
1266
1332
  /** Update the size properties of the overlay. */
1267
1333
  OverlayRef.prototype.updateSize = function (sizeConfig) {
1268
- this._config = __assign(__assign({}, this._config), sizeConfig);
1334
+ this._config = Object.assign(Object.assign({}, this._config), sizeConfig);
1269
1335
  this._updateElementSize();
1270
1336
  };
1271
1337
  /** Sets the LTR/RTL direction for the overlay. */
1272
1338
  OverlayRef.prototype.setDirection = function (dir) {
1273
- this._config = __assign(__assign({}, this._config), { direction: dir });
1339
+ this._config = Object.assign(Object.assign({}, this._config), { direction: dir });
1274
1340
  this._updateElementDirection();
1275
1341
  };
1276
1342
  /** Add a CSS class or an array of classes to the overlay pane. */
@@ -1462,13 +1528,6 @@
1462
1528
  return OverlayRef;
1463
1529
  }());
1464
1530
 
1465
- /**
1466
- * @license
1467
- * Copyright Google LLC All Rights Reserved.
1468
- *
1469
- * Use of this source code is governed by an MIT-style license that can be
1470
- * found in the LICENSE file at https://angular.io/license
1471
- */
1472
1531
  // TODO: refactor clipping detection into a separate thing (part of scrolling module)
1473
1532
  // TODO: doesn't handle both flexible width and height when it has to scroll along both axis.
1474
1533
  /** Class to be added to the overlay bounding box. */
@@ -1955,8 +2014,8 @@
1955
2014
  var viewport = this._viewportRect;
1956
2015
  // Determine how much the overlay goes outside the viewport on each
1957
2016
  // side, which we'll use to decide which direction to push it.
1958
- var overflowRight = Math.max(start.x + overlay.width - viewport.right, 0);
1959
- var overflowBottom = Math.max(start.y + overlay.height - viewport.bottom, 0);
2017
+ var overflowRight = Math.max(start.x + overlay.width - viewport.width, 0);
2018
+ var overflowBottom = Math.max(start.y + overlay.height - viewport.height, 0);
1960
2019
  var overflowTop = Math.max(viewport.top - scrollPosition.top - start.y, 0);
1961
2020
  var overflowLeft = Math.max(viewport.left - scrollPosition.left - start.x, 0);
1962
2021
  // Amount by which to push the overlay in each axis such that it remains on-screen.
@@ -2834,18 +2893,18 @@
2834
2893
  OverlayPositionBuilder.prototype.flexibleConnectedTo = function (origin) {
2835
2894
  return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);
2836
2895
  };
2837
- OverlayPositionBuilder.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayPositionBuilder_Factory() { return new OverlayPositionBuilder(i0.ɵɵinject(i1.ViewportRuler), i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform), i0.ɵɵinject(OverlayContainer)); }, token: OverlayPositionBuilder, providedIn: "root" });
2838
- OverlayPositionBuilder.decorators = [
2839
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2840
- ];
2841
- OverlayPositionBuilder.ctorParameters = function () { return [
2842
- { type: i1.ViewportRuler },
2843
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
2844
- { type: i2.Platform },
2845
- { type: OverlayContainer }
2846
- ]; };
2847
2896
  return OverlayPositionBuilder;
2848
2897
  }());
2898
+ OverlayPositionBuilder.ɵprov = i0.ɵɵdefineInjectable({ factory: function OverlayPositionBuilder_Factory() { return new OverlayPositionBuilder(i0.ɵɵinject(i1.ViewportRuler), i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform), i0.ɵɵinject(OverlayContainer)); }, token: OverlayPositionBuilder, providedIn: "root" });
2899
+ OverlayPositionBuilder.decorators = [
2900
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2901
+ ];
2902
+ OverlayPositionBuilder.ctorParameters = function () { return [
2903
+ { type: i1.ViewportRuler },
2904
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
2905
+ { type: i2.Platform },
2906
+ { type: OverlayContainer }
2907
+ ]; };
2849
2908
 
2850
2909
  /**
2851
2910
  * @license
@@ -2941,24 +3000,24 @@
2941
3000
  }
2942
3001
  return new portal.DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document);
2943
3002
  };
2944
- Overlay.decorators = [
2945
- { type: i0.Injectable }
2946
- ];
2947
- Overlay.ctorParameters = function () { return [
2948
- { type: ScrollStrategyOptions },
2949
- { type: OverlayContainer },
2950
- { type: i0.ComponentFactoryResolver },
2951
- { type: OverlayPositionBuilder },
2952
- { type: OverlayKeyboardDispatcher },
2953
- { type: i0.Injector },
2954
- { type: i0.NgZone },
2955
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
2956
- { type: bidi.Directionality },
2957
- { type: i1$1.Location, decorators: [{ type: i0.Optional }] },
2958
- { type: OverlayOutsideClickDispatcher, decorators: [{ type: i0.Optional }] }
2959
- ]; };
2960
3003
  return Overlay;
2961
3004
  }());
3005
+ Overlay.decorators = [
3006
+ { type: i0.Injectable }
3007
+ ];
3008
+ Overlay.ctorParameters = function () { return [
3009
+ { type: ScrollStrategyOptions },
3010
+ { type: OverlayContainer },
3011
+ { type: i0.ComponentFactoryResolver },
3012
+ { type: OverlayPositionBuilder },
3013
+ { type: OverlayKeyboardDispatcher },
3014
+ { type: i0.Injector },
3015
+ { type: i0.NgZone },
3016
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
3017
+ { type: bidi.Directionality },
3018
+ { type: i1$1.Location, decorators: [{ type: i0.Optional }] },
3019
+ { type: OverlayOutsideClickDispatcher, decorators: [{ type: i0.Optional }] }
3020
+ ]; };
2962
3021
 
2963
3022
  /**
2964
3023
  * @license
@@ -3010,17 +3069,17 @@
3010
3069
  elementRef) {
3011
3070
  this.elementRef = elementRef;
3012
3071
  }
3013
- CdkOverlayOrigin.decorators = [
3014
- { type: i0.Directive, args: [{
3015
- selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',
3016
- exportAs: 'cdkOverlayOrigin',
3017
- },] }
3018
- ];
3019
- CdkOverlayOrigin.ctorParameters = function () { return [
3020
- { type: i0.ElementRef }
3021
- ]; };
3022
3072
  return CdkOverlayOrigin;
3023
3073
  }());
3074
+ CdkOverlayOrigin.decorators = [
3075
+ { type: i0.Directive, args: [{
3076
+ selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',
3077
+ exportAs: 'cdkOverlayOrigin',
3078
+ },] }
3079
+ ];
3080
+ CdkOverlayOrigin.ctorParameters = function () { return [
3081
+ { type: i0.ElementRef }
3082
+ ]; };
3024
3083
  /**
3025
3084
  * Directive to facilitate declarative creation of an
3026
3085
  * Overlay using a FlexibleConnectedPositionStrategy.
@@ -3283,49 +3342,49 @@
3283
3342
  this._backdropSubscription.unsubscribe();
3284
3343
  this._positionSubscription.unsubscribe();
3285
3344
  };
3286
- CdkConnectedOverlay.decorators = [
3287
- { type: i0.Directive, args: [{
3288
- selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',
3289
- exportAs: 'cdkConnectedOverlay'
3290
- },] }
3291
- ];
3292
- CdkConnectedOverlay.ctorParameters = function () { return [
3293
- { type: Overlay },
3294
- { type: i0.TemplateRef },
3295
- { type: i0.ViewContainerRef },
3296
- { type: undefined, decorators: [{ type: i0.Inject, args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY,] }] },
3297
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
3298
- ]; };
3299
- CdkConnectedOverlay.propDecorators = {
3300
- origin: [{ type: i0.Input, args: ['cdkConnectedOverlayOrigin',] }],
3301
- positions: [{ type: i0.Input, args: ['cdkConnectedOverlayPositions',] }],
3302
- positionStrategy: [{ type: i0.Input, args: ['cdkConnectedOverlayPositionStrategy',] }],
3303
- offsetX: [{ type: i0.Input, args: ['cdkConnectedOverlayOffsetX',] }],
3304
- offsetY: [{ type: i0.Input, args: ['cdkConnectedOverlayOffsetY',] }],
3305
- width: [{ type: i0.Input, args: ['cdkConnectedOverlayWidth',] }],
3306
- height: [{ type: i0.Input, args: ['cdkConnectedOverlayHeight',] }],
3307
- minWidth: [{ type: i0.Input, args: ['cdkConnectedOverlayMinWidth',] }],
3308
- minHeight: [{ type: i0.Input, args: ['cdkConnectedOverlayMinHeight',] }],
3309
- backdropClass: [{ type: i0.Input, args: ['cdkConnectedOverlayBackdropClass',] }],
3310
- panelClass: [{ type: i0.Input, args: ['cdkConnectedOverlayPanelClass',] }],
3311
- viewportMargin: [{ type: i0.Input, args: ['cdkConnectedOverlayViewportMargin',] }],
3312
- scrollStrategy: [{ type: i0.Input, args: ['cdkConnectedOverlayScrollStrategy',] }],
3313
- open: [{ type: i0.Input, args: ['cdkConnectedOverlayOpen',] }],
3314
- transformOriginSelector: [{ type: i0.Input, args: ['cdkConnectedOverlayTransformOriginOn',] }],
3315
- hasBackdrop: [{ type: i0.Input, args: ['cdkConnectedOverlayHasBackdrop',] }],
3316
- lockPosition: [{ type: i0.Input, args: ['cdkConnectedOverlayLockPosition',] }],
3317
- flexibleDimensions: [{ type: i0.Input, args: ['cdkConnectedOverlayFlexibleDimensions',] }],
3318
- growAfterOpen: [{ type: i0.Input, args: ['cdkConnectedOverlayGrowAfterOpen',] }],
3319
- push: [{ type: i0.Input, args: ['cdkConnectedOverlayPush',] }],
3320
- backdropClick: [{ type: i0.Output }],
3321
- positionChange: [{ type: i0.Output }],
3322
- attach: [{ type: i0.Output }],
3323
- detach: [{ type: i0.Output }],
3324
- overlayKeydown: [{ type: i0.Output }],
3325
- overlayOutsideClick: [{ type: i0.Output }]
3326
- };
3327
3345
  return CdkConnectedOverlay;
3328
3346
  }());
3347
+ CdkConnectedOverlay.decorators = [
3348
+ { type: i0.Directive, args: [{
3349
+ selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',
3350
+ exportAs: 'cdkConnectedOverlay'
3351
+ },] }
3352
+ ];
3353
+ CdkConnectedOverlay.ctorParameters = function () { return [
3354
+ { type: Overlay },
3355
+ { type: i0.TemplateRef },
3356
+ { type: i0.ViewContainerRef },
3357
+ { type: undefined, decorators: [{ type: i0.Inject, args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY,] }] },
3358
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
3359
+ ]; };
3360
+ CdkConnectedOverlay.propDecorators = {
3361
+ origin: [{ type: i0.Input, args: ['cdkConnectedOverlayOrigin',] }],
3362
+ positions: [{ type: i0.Input, args: ['cdkConnectedOverlayPositions',] }],
3363
+ positionStrategy: [{ type: i0.Input, args: ['cdkConnectedOverlayPositionStrategy',] }],
3364
+ offsetX: [{ type: i0.Input, args: ['cdkConnectedOverlayOffsetX',] }],
3365
+ offsetY: [{ type: i0.Input, args: ['cdkConnectedOverlayOffsetY',] }],
3366
+ width: [{ type: i0.Input, args: ['cdkConnectedOverlayWidth',] }],
3367
+ height: [{ type: i0.Input, args: ['cdkConnectedOverlayHeight',] }],
3368
+ minWidth: [{ type: i0.Input, args: ['cdkConnectedOverlayMinWidth',] }],
3369
+ minHeight: [{ type: i0.Input, args: ['cdkConnectedOverlayMinHeight',] }],
3370
+ backdropClass: [{ type: i0.Input, args: ['cdkConnectedOverlayBackdropClass',] }],
3371
+ panelClass: [{ type: i0.Input, args: ['cdkConnectedOverlayPanelClass',] }],
3372
+ viewportMargin: [{ type: i0.Input, args: ['cdkConnectedOverlayViewportMargin',] }],
3373
+ scrollStrategy: [{ type: i0.Input, args: ['cdkConnectedOverlayScrollStrategy',] }],
3374
+ open: [{ type: i0.Input, args: ['cdkConnectedOverlayOpen',] }],
3375
+ transformOriginSelector: [{ type: i0.Input, args: ['cdkConnectedOverlayTransformOriginOn',] }],
3376
+ hasBackdrop: [{ type: i0.Input, args: ['cdkConnectedOverlayHasBackdrop',] }],
3377
+ lockPosition: [{ type: i0.Input, args: ['cdkConnectedOverlayLockPosition',] }],
3378
+ flexibleDimensions: [{ type: i0.Input, args: ['cdkConnectedOverlayFlexibleDimensions',] }],
3379
+ growAfterOpen: [{ type: i0.Input, args: ['cdkConnectedOverlayGrowAfterOpen',] }],
3380
+ push: [{ type: i0.Input, args: ['cdkConnectedOverlayPush',] }],
3381
+ backdropClick: [{ type: i0.Output }],
3382
+ positionChange: [{ type: i0.Output }],
3383
+ attach: [{ type: i0.Output }],
3384
+ detach: [{ type: i0.Output }],
3385
+ overlayKeydown: [{ type: i0.Output }],
3386
+ overlayOutsideClick: [{ type: i0.Output }]
3387
+ };
3329
3388
  /** @docs-private */
3330
3389
  function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {
3331
3390
  return function () { return overlay.scrollStrategies.reposition(); };
@@ -3347,19 +3406,19 @@
3347
3406
  var OverlayModule = /** @class */ (function () {
3348
3407
  function OverlayModule() {
3349
3408
  }
3350
- OverlayModule.decorators = [
3351
- { type: i0.NgModule, args: [{
3352
- imports: [bidi.BidiModule, portal.PortalModule, i1.ScrollingModule],
3353
- exports: [CdkConnectedOverlay, CdkOverlayOrigin, i1.ScrollingModule],
3354
- declarations: [CdkConnectedOverlay, CdkOverlayOrigin],
3355
- providers: [
3356
- Overlay,
3357
- CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,
3358
- ],
3359
- },] }
3360
- ];
3361
3409
  return OverlayModule;
3362
3410
  }());
3411
+ OverlayModule.decorators = [
3412
+ { type: i0.NgModule, args: [{
3413
+ imports: [bidi.BidiModule, portal.PortalModule, i1.ScrollingModule],
3414
+ exports: [CdkConnectedOverlay, CdkOverlayOrigin, i1.ScrollingModule],
3415
+ declarations: [CdkConnectedOverlay, CdkOverlayOrigin],
3416
+ providers: [
3417
+ Overlay,
3418
+ CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,
3419
+ ],
3420
+ },] }
3421
+ ];
3363
3422
  /**
3364
3423
  * @deprecated Use `OverlayModule` instead.
3365
3424
  * @breaking-change 8.0.0
@@ -3458,16 +3517,16 @@
3458
3517
  _document.msFullscreenElement ||
3459
3518
  null;
3460
3519
  };
3461
- FullscreenOverlayContainer.ɵprov = i0.ɵɵdefineInjectable({ factory: function FullscreenOverlayContainer_Factory() { return new FullscreenOverlayContainer(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform)); }, token: FullscreenOverlayContainer, providedIn: "root" });
3462
- FullscreenOverlayContainer.decorators = [
3463
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
3464
- ];
3465
- FullscreenOverlayContainer.ctorParameters = function () { return [
3466
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
3467
- { type: i2.Platform }
3468
- ]; };
3469
3520
  return FullscreenOverlayContainer;
3470
3521
  }(OverlayContainer));
3522
+ FullscreenOverlayContainer.ɵprov = i0.ɵɵdefineInjectable({ factory: function FullscreenOverlayContainer_Factory() { return new FullscreenOverlayContainer(i0.ɵɵinject(i1$1.DOCUMENT), i0.ɵɵinject(i2.Platform)); }, token: FullscreenOverlayContainer, providedIn: "root" });
3523
+ FullscreenOverlayContainer.decorators = [
3524
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
3525
+ ];
3526
+ FullscreenOverlayContainer.ctorParameters = function () { return [
3527
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1$1.DOCUMENT,] }] },
3528
+ { type: i2.Platform }
3529
+ ]; };
3471
3530
 
3472
3531
  /**
3473
3532
  * @license