@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.
- package/bundles/cdk-a11y.umd.js +425 -373
- package/bundles/cdk-a11y.umd.js.map +1 -1
- package/bundles/cdk-a11y.umd.min.js +34 -10
- package/bundles/cdk-a11y.umd.min.js.map +1 -1
- package/bundles/cdk-accordion.umd.js +40 -40
- package/bundles/cdk-accordion.umd.js.map +1 -1
- package/bundles/cdk-accordion.umd.min.js +10 -2
- package/bundles/cdk-accordion.umd.min.js.map +1 -1
- package/bundles/cdk-bidi.umd.js +25 -25
- package/bundles/cdk-bidi.umd.js.map +1 -1
- package/bundles/cdk-bidi.umd.min.js +5 -4
- package/bundles/cdk-bidi.umd.min.js.map +1 -1
- package/bundles/cdk-clipboard.umd.js +31 -31
- package/bundles/cdk-clipboard.umd.js.map +1 -1
- package/bundles/cdk-clipboard.umd.min.js +10 -2
- package/bundles/cdk-clipboard.umd.min.js.map +1 -1
- package/bundles/cdk-coercion.umd.js.map +1 -1
- package/bundles/cdk-collections.umd.js +303 -237
- package/bundles/cdk-collections.umd.js.map +1 -1
- package/bundles/cdk-collections.umd.min.js +3 -9
- package/bundles/cdk-collections.umd.min.js.map +1 -1
- package/bundles/cdk-drag-drop.umd.js +484 -425
- package/bundles/cdk-drag-drop.umd.js.map +1 -1
- package/bundles/cdk-drag-drop.umd.min.js +68 -5
- package/bundles/cdk-drag-drop.umd.min.js.map +1 -1
- package/bundles/cdk-keycodes.umd.js.map +1 -1
- package/bundles/cdk-layout.umd.js +18 -18
- package/bundles/cdk-layout.umd.js.map +1 -1
- package/bundles/cdk-layout.umd.min.js +6 -5
- package/bundles/cdk-layout.umd.min.js.map +1 -1
- package/bundles/cdk-observers.umd.js +34 -34
- package/bundles/cdk-observers.umd.js.map +1 -1
- package/bundles/cdk-observers.umd.min.js +2 -2
- package/bundles/cdk-observers.umd.min.js.map +1 -1
- package/bundles/cdk-overlay.umd.js +442 -383
- package/bundles/cdk-overlay.umd.js.map +1 -1
- package/bundles/cdk-overlay.umd.min.js +57 -11
- package/bundles/cdk-overlay.umd.min.js.map +1 -1
- package/bundles/cdk-platform.umd.js +10 -10
- package/bundles/cdk-platform.umd.js.map +1 -1
- package/bundles/cdk-platform.umd.min.js +3 -10
- package/bundles/cdk-platform.umd.min.js.map +1 -1
- package/bundles/cdk-portal.umd.js +351 -299
- package/bundles/cdk-portal.umd.js.map +1 -1
- package/bundles/cdk-portal.umd.min.js +4 -5
- package/bundles/cdk-portal.umd.min.js.map +1 -1
- package/bundles/cdk-scrolling.umd.js +432 -378
- package/bundles/cdk-scrolling.umd.js.map +1 -1
- package/bundles/cdk-scrolling.umd.min.js +20 -19
- package/bundles/cdk-scrolling.umd.min.js.map +1 -1
- package/bundles/cdk-stepper.umd.js +117 -117
- package/bundles/cdk-stepper.umd.js.map +1 -1
- package/bundles/cdk-stepper.umd.min.js +11 -2
- package/bundles/cdk-stepper.umd.min.js.map +1 -1
- package/bundles/cdk-table.umd.js +684 -588
- package/bundles/cdk-table.umd.js.map +1 -1
- package/bundles/cdk-table.umd.min.js +7 -14
- package/bundles/cdk-table.umd.min.js.map +1 -1
- package/bundles/cdk-testing-protractor.umd.js +300 -241
- package/bundles/cdk-testing-protractor.umd.js.map +1 -1
- package/bundles/cdk-testing-protractor.umd.min.js +2 -9
- package/bundles/cdk-testing-protractor.umd.min.js.map +1 -1
- package/bundles/cdk-testing-testbed.umd.js +301 -256
- package/bundles/cdk-testing-testbed.umd.js.map +1 -1
- package/bundles/cdk-testing-testbed.umd.min.js +7 -30
- package/bundles/cdk-testing-testbed.umd.min.js.map +1 -1
- package/bundles/cdk-testing.umd.js +326 -270
- package/bundles/cdk-testing.umd.js.map +1 -1
- package/bundles/cdk-testing.umd.min.js +1 -16
- package/bundles/cdk-testing.umd.min.js.map +1 -1
- package/bundles/cdk-text-field.umd.js +51 -51
- package/bundles/cdk-text-field.umd.js.map +1 -1
- package/bundles/cdk-text-field.umd.min.js +10 -2
- package/bundles/cdk-text-field.umd.min.js.map +1 -1
- package/bundles/cdk-tree.umd.js +443 -394
- package/bundles/cdk-tree.umd.js.map +1 -1
- package/bundles/cdk-tree.umd.min.js +28 -3
- package/bundles/cdk-tree.umd.min.js.map +1 -1
- package/bundles/cdk.umd.js +1 -1
- package/bundles/cdk.umd.js.map +1 -1
- package/bundles/cdk.umd.min.js +1 -1
- package/bundles/cdk.umd.min.js.map +1 -1
- package/esm2015/a11y/focus-trap/configurable-focus-trap-factory.js +3 -3
- package/esm2015/a11y/focus-trap/focus-trap.js +1 -1
- package/esm2015/a11y/live-announcer/live-announcer.js +1 -1
- package/esm2015/bidi/directionality.js +1 -1
- package/esm2015/overlay/position/flexible-connected-position-strategy.js +3 -3
- package/esm2015/scrolling/scrolling-module.js +4 -1
- package/esm2015/table/cell.js +18 -3
- package/esm2015/table/coalesced-style-scheduler.js +21 -10
- package/esm2015/table/sticky-styler.js +21 -7
- package/esm2015/table/table.js +8 -2
- package/esm2015/tree/tree.js +9 -23
- package/esm2015/version.js +1 -1
- package/fesm2015/cdk.js +1 -1
- package/fesm2015/cdk.js.map +1 -1
- package/fesm2015/overlay.js +2 -2
- package/fesm2015/overlay.js.map +1 -1
- package/fesm2015/scrolling.js +3 -0
- package/fesm2015/scrolling.js.map +1 -1
- package/fesm2015/table.js +65 -19
- package/fesm2015/table.js.map +1 -1
- package/fesm2015/tree.js +7 -21
- package/fesm2015/tree.js.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/scrolling/index.metadata.json +1 -1
- package/scrolling/scrolling-module.d.ts +3 -0
- package/table/cell.d.ts +13 -0
- package/table/coalesced-style-scheduler.d.ts +1 -0
- package/table/index.metadata.json +1 -1
- package/table/sticky-styler.d.ts +5 -1
- package/table/table.d.ts +6 -0
- package/tree/index.metadata.json +1 -1
- package/tree/tree.d.ts +2 -4
package/bundles/cdk-a11y.umd.js
CHANGED
|
@@ -249,243 +249,316 @@
|
|
|
249
249
|
AriaDescriber.prototype._isElementNode = function (element) {
|
|
250
250
|
return element.nodeType === this._document.ELEMENT_NODE;
|
|
251
251
|
};
|
|
252
|
-
AriaDescriber.ɵprov = i0.ɵɵdefineInjectable({ factory: function AriaDescriber_Factory() { return new AriaDescriber(i0.ɵɵinject(i2.DOCUMENT), i0.ɵɵinject(i1.Platform)); }, token: AriaDescriber, providedIn: "root" });
|
|
253
|
-
AriaDescriber.decorators = [
|
|
254
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
255
|
-
];
|
|
256
|
-
AriaDescriber.ctorParameters = function () { return [
|
|
257
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
258
|
-
{ type: i1.Platform }
|
|
259
|
-
]; };
|
|
260
252
|
return AriaDescriber;
|
|
261
253
|
}());
|
|
254
|
+
AriaDescriber.ɵprov = i0.ɵɵdefineInjectable({ factory: function AriaDescriber_Factory() { return new AriaDescriber(i0.ɵɵinject(i2.DOCUMENT), i0.ɵɵinject(i1.Platform)); }, token: AriaDescriber, providedIn: "root" });
|
|
255
|
+
AriaDescriber.decorators = [
|
|
256
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
257
|
+
];
|
|
258
|
+
AriaDescriber.ctorParameters = function () { return [
|
|
259
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
260
|
+
{ type: i1.Platform }
|
|
261
|
+
]; };
|
|
262
262
|
|
|
263
|
-
/*! *****************************************************************************
|
|
264
|
-
Copyright (c) Microsoft Corporation.
|
|
265
|
-
|
|
266
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
267
|
-
purpose with or without fee is hereby granted.
|
|
268
|
-
|
|
269
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
270
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
271
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
272
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
273
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
274
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
275
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
276
|
-
***************************************************************************** */
|
|
277
|
-
/* global Reflect, Promise */
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
function __extends(d, b) {
|
|
287
|
-
extendStatics(d, b);
|
|
288
|
-
function __() { this.constructor = d; }
|
|
289
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
function __rest(s, e) {
|
|
304
|
-
var t = {};
|
|
305
|
-
for (var p in s)
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
function __decorate(decorators, target, key, desc) {
|
|
316
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
317
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
return
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
function
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
function
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
263
|
+
/*! *****************************************************************************
|
|
264
|
+
Copyright (c) Microsoft Corporation.
|
|
265
|
+
|
|
266
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
267
|
+
purpose with or without fee is hereby granted.
|
|
268
|
+
|
|
269
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
270
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
271
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
272
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
273
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
274
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
275
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
276
|
+
***************************************************************************** */
|
|
277
|
+
/* global Reflect, Promise */
|
|
278
|
+
var extendStatics = function (d, b) {
|
|
279
|
+
extendStatics = Object.setPrototypeOf ||
|
|
280
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
281
|
+
function (d, b) { for (var p in b)
|
|
282
|
+
if (b.hasOwnProperty(p))
|
|
283
|
+
d[p] = b[p]; };
|
|
284
|
+
return extendStatics(d, b);
|
|
285
|
+
};
|
|
286
|
+
function __extends(d, b) {
|
|
287
|
+
extendStatics(d, b);
|
|
288
|
+
function __() { this.constructor = d; }
|
|
289
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
290
|
+
}
|
|
291
|
+
var __assign = function () {
|
|
292
|
+
__assign = Object.assign || function __assign(t) {
|
|
293
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
294
|
+
s = arguments[i];
|
|
295
|
+
for (var p in s)
|
|
296
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
297
|
+
t[p] = s[p];
|
|
298
|
+
}
|
|
299
|
+
return t;
|
|
300
|
+
};
|
|
301
|
+
return __assign.apply(this, arguments);
|
|
302
|
+
};
|
|
303
|
+
function __rest(s, e) {
|
|
304
|
+
var t = {};
|
|
305
|
+
for (var p in s)
|
|
306
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
307
|
+
t[p] = s[p];
|
|
308
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
309
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
310
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
311
|
+
t[p[i]] = s[p[i]];
|
|
312
|
+
}
|
|
313
|
+
return t;
|
|
314
|
+
}
|
|
315
|
+
function __decorate(decorators, target, key, desc) {
|
|
316
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
317
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
318
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
319
|
+
else
|
|
320
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
321
|
+
if (d = decorators[i])
|
|
322
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
323
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
324
|
+
}
|
|
325
|
+
function __param(paramIndex, decorator) {
|
|
326
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
327
|
+
}
|
|
328
|
+
function __metadata(metadataKey, metadataValue) {
|
|
329
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
330
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
331
|
+
}
|
|
332
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
333
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
334
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
335
|
+
function fulfilled(value) { try {
|
|
336
|
+
step(generator.next(value));
|
|
337
|
+
}
|
|
338
|
+
catch (e) {
|
|
339
|
+
reject(e);
|
|
340
|
+
} }
|
|
341
|
+
function rejected(value) { try {
|
|
342
|
+
step(generator["throw"](value));
|
|
343
|
+
}
|
|
344
|
+
catch (e) {
|
|
345
|
+
reject(e);
|
|
346
|
+
} }
|
|
347
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
348
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
function __generator(thisArg, body) {
|
|
352
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
353
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
354
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
355
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
356
|
+
function step(op) {
|
|
357
|
+
if (f)
|
|
358
|
+
throw new TypeError("Generator is already executing.");
|
|
359
|
+
while (_)
|
|
360
|
+
try {
|
|
361
|
+
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)
|
|
362
|
+
return t;
|
|
363
|
+
if (y = 0, t)
|
|
364
|
+
op = [op[0] & 2, t.value];
|
|
365
|
+
switch (op[0]) {
|
|
366
|
+
case 0:
|
|
367
|
+
case 1:
|
|
368
|
+
t = op;
|
|
369
|
+
break;
|
|
370
|
+
case 4:
|
|
371
|
+
_.label++;
|
|
372
|
+
return { value: op[1], done: false };
|
|
373
|
+
case 5:
|
|
374
|
+
_.label++;
|
|
375
|
+
y = op[1];
|
|
376
|
+
op = [0];
|
|
377
|
+
continue;
|
|
378
|
+
case 7:
|
|
379
|
+
op = _.ops.pop();
|
|
380
|
+
_.trys.pop();
|
|
381
|
+
continue;
|
|
382
|
+
default:
|
|
383
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
384
|
+
_ = 0;
|
|
385
|
+
continue;
|
|
386
|
+
}
|
|
387
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
388
|
+
_.label = op[1];
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
392
|
+
_.label = t[1];
|
|
393
|
+
t = op;
|
|
394
|
+
break;
|
|
395
|
+
}
|
|
396
|
+
if (t && _.label < t[2]) {
|
|
397
|
+
_.label = t[2];
|
|
398
|
+
_.ops.push(op);
|
|
399
|
+
break;
|
|
400
|
+
}
|
|
401
|
+
if (t[2])
|
|
402
|
+
_.ops.pop();
|
|
403
|
+
_.trys.pop();
|
|
404
|
+
continue;
|
|
405
|
+
}
|
|
406
|
+
op = body.call(thisArg, _);
|
|
407
|
+
}
|
|
408
|
+
catch (e) {
|
|
409
|
+
op = [6, e];
|
|
410
|
+
y = 0;
|
|
411
|
+
}
|
|
412
|
+
finally {
|
|
413
|
+
f = t = 0;
|
|
414
|
+
}
|
|
415
|
+
if (op[0] & 5)
|
|
416
|
+
throw op[1];
|
|
417
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
421
|
+
if (k2 === undefined)
|
|
422
|
+
k2 = k;
|
|
423
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
424
|
+
}) : (function (o, m, k, k2) {
|
|
425
|
+
if (k2 === undefined)
|
|
426
|
+
k2 = k;
|
|
427
|
+
o[k2] = m[k];
|
|
428
|
+
});
|
|
429
|
+
function __exportStar(m, exports) {
|
|
430
|
+
for (var p in m)
|
|
431
|
+
if (p !== "default" && !exports.hasOwnProperty(p))
|
|
432
|
+
__createBinding(exports, m, p);
|
|
433
|
+
}
|
|
434
|
+
function __values(o) {
|
|
435
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
436
|
+
if (m)
|
|
437
|
+
return m.call(o);
|
|
438
|
+
if (o && typeof o.length === "number")
|
|
439
|
+
return {
|
|
440
|
+
next: function () {
|
|
441
|
+
if (o && i >= o.length)
|
|
442
|
+
o = void 0;
|
|
443
|
+
return { value: o && o[i++], done: !o };
|
|
444
|
+
}
|
|
445
|
+
};
|
|
446
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
447
|
+
}
|
|
448
|
+
function __read(o, n) {
|
|
449
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
450
|
+
if (!m)
|
|
451
|
+
return o;
|
|
452
|
+
var i = m.call(o), r, ar = [], e;
|
|
453
|
+
try {
|
|
454
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
455
|
+
ar.push(r.value);
|
|
456
|
+
}
|
|
457
|
+
catch (error) {
|
|
458
|
+
e = { error: error };
|
|
459
|
+
}
|
|
460
|
+
finally {
|
|
461
|
+
try {
|
|
462
|
+
if (r && !r.done && (m = i["return"]))
|
|
463
|
+
m.call(i);
|
|
464
|
+
}
|
|
465
|
+
finally {
|
|
466
|
+
if (e)
|
|
467
|
+
throw e.error;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
return ar;
|
|
471
|
+
}
|
|
472
|
+
function __spread() {
|
|
473
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
474
|
+
ar = ar.concat(__read(arguments[i]));
|
|
475
|
+
return ar;
|
|
476
|
+
}
|
|
477
|
+
function __spreadArrays() {
|
|
478
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
479
|
+
s += arguments[i].length;
|
|
480
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
481
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
482
|
+
r[k] = a[j];
|
|
483
|
+
return r;
|
|
484
|
+
}
|
|
485
|
+
;
|
|
486
|
+
function __await(v) {
|
|
487
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
488
|
+
}
|
|
489
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
490
|
+
if (!Symbol.asyncIterator)
|
|
491
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
492
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
493
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
494
|
+
function verb(n) { if (g[n])
|
|
495
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
496
|
+
function resume(n, v) { try {
|
|
497
|
+
step(g[n](v));
|
|
498
|
+
}
|
|
499
|
+
catch (e) {
|
|
500
|
+
settle(q[0][3], e);
|
|
501
|
+
} }
|
|
502
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
503
|
+
function fulfill(value) { resume("next", value); }
|
|
504
|
+
function reject(value) { resume("throw", value); }
|
|
505
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
506
|
+
resume(q[0][0], q[0][1]); }
|
|
507
|
+
}
|
|
508
|
+
function __asyncDelegator(o) {
|
|
509
|
+
var i, p;
|
|
510
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
511
|
+
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; }
|
|
512
|
+
}
|
|
513
|
+
function __asyncValues(o) {
|
|
514
|
+
if (!Symbol.asyncIterator)
|
|
515
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
516
|
+
var m = o[Symbol.asyncIterator], i;
|
|
517
|
+
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);
|
|
518
|
+
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); }); }; }
|
|
519
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
520
|
+
}
|
|
521
|
+
function __makeTemplateObject(cooked, raw) {
|
|
522
|
+
if (Object.defineProperty) {
|
|
523
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
524
|
+
}
|
|
525
|
+
else {
|
|
526
|
+
cooked.raw = raw;
|
|
527
|
+
}
|
|
528
|
+
return cooked;
|
|
529
|
+
}
|
|
530
|
+
;
|
|
531
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
532
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
533
|
+
}) : function (o, v) {
|
|
534
|
+
o["default"] = v;
|
|
535
|
+
};
|
|
536
|
+
function __importStar(mod) {
|
|
537
|
+
if (mod && mod.__esModule)
|
|
538
|
+
return mod;
|
|
539
|
+
var result = {};
|
|
540
|
+
if (mod != null)
|
|
541
|
+
for (var k in mod)
|
|
542
|
+
if (Object.hasOwnProperty.call(mod, k))
|
|
543
|
+
__createBinding(result, mod, k);
|
|
544
|
+
__setModuleDefault(result, mod);
|
|
545
|
+
return result;
|
|
546
|
+
}
|
|
547
|
+
function __importDefault(mod) {
|
|
548
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
549
|
+
}
|
|
550
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
|
551
|
+
if (!privateMap.has(receiver)) {
|
|
552
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
553
|
+
}
|
|
554
|
+
return privateMap.get(receiver);
|
|
555
|
+
}
|
|
556
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
557
|
+
if (!privateMap.has(receiver)) {
|
|
558
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
559
|
+
}
|
|
560
|
+
privateMap.set(receiver, value);
|
|
561
|
+
return value;
|
|
489
562
|
}
|
|
490
563
|
|
|
491
564
|
/**
|
|
@@ -814,13 +887,6 @@
|
|
|
814
887
|
return ListKeyManager;
|
|
815
888
|
}());
|
|
816
889
|
|
|
817
|
-
/**
|
|
818
|
-
* @license
|
|
819
|
-
* Copyright Google LLC All Rights Reserved.
|
|
820
|
-
*
|
|
821
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
822
|
-
* found in the LICENSE file at https://angular.io/license
|
|
823
|
-
*/
|
|
824
890
|
var ActiveDescendantKeyManager = /** @class */ (function (_super) {
|
|
825
891
|
__extends(ActiveDescendantKeyManager, _super);
|
|
826
892
|
function ActiveDescendantKeyManager() {
|
|
@@ -838,17 +904,10 @@
|
|
|
838
904
|
return ActiveDescendantKeyManager;
|
|
839
905
|
}(ListKeyManager));
|
|
840
906
|
|
|
841
|
-
/**
|
|
842
|
-
* @license
|
|
843
|
-
* Copyright Google LLC All Rights Reserved.
|
|
844
|
-
*
|
|
845
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
846
|
-
* found in the LICENSE file at https://angular.io/license
|
|
847
|
-
*/
|
|
848
907
|
var FocusKeyManager = /** @class */ (function (_super) {
|
|
849
908
|
__extends(FocusKeyManager, _super);
|
|
850
909
|
function FocusKeyManager() {
|
|
851
|
-
var _this = _super
|
|
910
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
852
911
|
_this._origin = 'program';
|
|
853
912
|
return _this;
|
|
854
913
|
}
|
|
@@ -1002,15 +1061,15 @@
|
|
|
1002
1061
|
return isPotentiallyFocusable(element) && !this.isDisabled(element) &&
|
|
1003
1062
|
((config === null || config === void 0 ? void 0 : config.ignoreVisibility) || this.isVisible(element));
|
|
1004
1063
|
};
|
|
1005
|
-
InteractivityChecker.ɵprov = i0.ɵɵdefineInjectable({ factory: function InteractivityChecker_Factory() { return new InteractivityChecker(i0.ɵɵinject(i1.Platform)); }, token: InteractivityChecker, providedIn: "root" });
|
|
1006
|
-
InteractivityChecker.decorators = [
|
|
1007
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1008
|
-
];
|
|
1009
|
-
InteractivityChecker.ctorParameters = function () { return [
|
|
1010
|
-
{ type: i1.Platform }
|
|
1011
|
-
]; };
|
|
1012
1064
|
return InteractivityChecker;
|
|
1013
1065
|
}());
|
|
1066
|
+
InteractivityChecker.ɵprov = i0.ɵɵdefineInjectable({ factory: function InteractivityChecker_Factory() { return new InteractivityChecker(i0.ɵɵinject(i1.Platform)); }, token: InteractivityChecker, providedIn: "root" });
|
|
1067
|
+
InteractivityChecker.decorators = [
|
|
1068
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1069
|
+
];
|
|
1070
|
+
InteractivityChecker.ctorParameters = function () { return [
|
|
1071
|
+
{ type: i1.Platform }
|
|
1072
|
+
]; };
|
|
1014
1073
|
/**
|
|
1015
1074
|
* Returns the frame element from a window object. Since browsers like MS Edge throw errors if
|
|
1016
1075
|
* the frameElement property is being accessed from a different host address, this property
|
|
@@ -1418,17 +1477,17 @@
|
|
|
1418
1477
|
if (deferCaptureElements === void 0) { deferCaptureElements = false; }
|
|
1419
1478
|
return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);
|
|
1420
1479
|
};
|
|
1421
|
-
FocusTrapFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function FocusTrapFactory_Factory() { return new FocusTrapFactory(i0.ɵɵinject(InteractivityChecker), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i2.DOCUMENT)); }, token: FocusTrapFactory, providedIn: "root" });
|
|
1422
|
-
FocusTrapFactory.decorators = [
|
|
1423
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1424
|
-
];
|
|
1425
|
-
FocusTrapFactory.ctorParameters = function () { return [
|
|
1426
|
-
{ type: InteractivityChecker },
|
|
1427
|
-
{ type: i0.NgZone },
|
|
1428
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] }
|
|
1429
|
-
]; };
|
|
1430
1480
|
return FocusTrapFactory;
|
|
1431
1481
|
}());
|
|
1482
|
+
FocusTrapFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function FocusTrapFactory_Factory() { return new FocusTrapFactory(i0.ɵɵinject(InteractivityChecker), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i2.DOCUMENT)); }, token: FocusTrapFactory, providedIn: "root" });
|
|
1483
|
+
FocusTrapFactory.decorators = [
|
|
1484
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1485
|
+
];
|
|
1486
|
+
FocusTrapFactory.ctorParameters = function () { return [
|
|
1487
|
+
{ type: InteractivityChecker },
|
|
1488
|
+
{ type: i0.NgZone },
|
|
1489
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] }
|
|
1490
|
+
]; };
|
|
1432
1491
|
/** Directive for trapping focus within a region. */
|
|
1433
1492
|
var CdkTrapFocus = /** @class */ (function () {
|
|
1434
1493
|
function CdkTrapFocus(_elementRef, _focusTrapFactory, _document) {
|
|
@@ -1487,31 +1546,24 @@
|
|
|
1487
1546
|
this._previouslyFocusedElement = this._document.activeElement;
|
|
1488
1547
|
this.focusTrap.focusInitialElementWhenReady();
|
|
1489
1548
|
};
|
|
1490
|
-
CdkTrapFocus.decorators = [
|
|
1491
|
-
{ type: i0.Directive, args: [{
|
|
1492
|
-
selector: '[cdkTrapFocus]',
|
|
1493
|
-
exportAs: 'cdkTrapFocus',
|
|
1494
|
-
},] }
|
|
1495
|
-
];
|
|
1496
|
-
CdkTrapFocus.ctorParameters = function () { return [
|
|
1497
|
-
{ type: i0.ElementRef },
|
|
1498
|
-
{ type: FocusTrapFactory },
|
|
1499
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] }
|
|
1500
|
-
]; };
|
|
1501
|
-
CdkTrapFocus.propDecorators = {
|
|
1502
|
-
enabled: [{ type: i0.Input, args: ['cdkTrapFocus',] }],
|
|
1503
|
-
autoCapture: [{ type: i0.Input, args: ['cdkTrapFocusAutoCapture',] }]
|
|
1504
|
-
};
|
|
1505
1549
|
return CdkTrapFocus;
|
|
1506
1550
|
}());
|
|
1551
|
+
CdkTrapFocus.decorators = [
|
|
1552
|
+
{ type: i0.Directive, args: [{
|
|
1553
|
+
selector: '[cdkTrapFocus]',
|
|
1554
|
+
exportAs: 'cdkTrapFocus',
|
|
1555
|
+
},] }
|
|
1556
|
+
];
|
|
1557
|
+
CdkTrapFocus.ctorParameters = function () { return [
|
|
1558
|
+
{ type: i0.ElementRef },
|
|
1559
|
+
{ type: FocusTrapFactory },
|
|
1560
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] }
|
|
1561
|
+
]; };
|
|
1562
|
+
CdkTrapFocus.propDecorators = {
|
|
1563
|
+
enabled: [{ type: i0.Input, args: ['cdkTrapFocus',] }],
|
|
1564
|
+
autoCapture: [{ type: i0.Input, args: ['cdkTrapFocusAutoCapture',] }]
|
|
1565
|
+
};
|
|
1507
1566
|
|
|
1508
|
-
/**
|
|
1509
|
-
* @license
|
|
1510
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1511
|
-
*
|
|
1512
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1513
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1514
|
-
*/
|
|
1515
1567
|
/**
|
|
1516
1568
|
* Class that allows for trapping focus within a DOM element.
|
|
1517
1569
|
*
|
|
@@ -1733,12 +1785,12 @@
|
|
|
1733
1785
|
}
|
|
1734
1786
|
}
|
|
1735
1787
|
};
|
|
1736
|
-
FocusTrapManager.ɵprov = i0.ɵɵdefineInjectable({ factory: function FocusTrapManager_Factory() { return new FocusTrapManager(); }, token: FocusTrapManager, providedIn: "root" });
|
|
1737
|
-
FocusTrapManager.decorators = [
|
|
1738
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1739
|
-
];
|
|
1740
1788
|
return FocusTrapManager;
|
|
1741
1789
|
}());
|
|
1790
|
+
FocusTrapManager.ɵprov = i0.ɵɵdefineInjectable({ factory: function FocusTrapManager_Factory() { return new FocusTrapManager(); }, token: FocusTrapManager, providedIn: "root" });
|
|
1791
|
+
FocusTrapManager.decorators = [
|
|
1792
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1793
|
+
];
|
|
1742
1794
|
|
|
1743
1795
|
/**
|
|
1744
1796
|
* @license
|
|
@@ -1769,19 +1821,19 @@
|
|
|
1769
1821
|
}
|
|
1770
1822
|
return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);
|
|
1771
1823
|
};
|
|
1772
|
-
ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigurableFocusTrapFactory_Factory() { return new ConfigurableFocusTrapFactory(i0.ɵɵinject(InteractivityChecker), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(FocusTrapManager), i0.ɵɵinject(i2.DOCUMENT), i0.ɵɵinject(FOCUS_TRAP_INERT_STRATEGY, 8)); }, token: ConfigurableFocusTrapFactory, providedIn: "root" });
|
|
1773
|
-
ConfigurableFocusTrapFactory.decorators = [
|
|
1774
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1775
|
-
];
|
|
1776
|
-
ConfigurableFocusTrapFactory.ctorParameters = function () { return [
|
|
1777
|
-
{ type: InteractivityChecker },
|
|
1778
|
-
{ type: i0.NgZone },
|
|
1779
|
-
{ type: FocusTrapManager },
|
|
1780
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
1781
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [FOCUS_TRAP_INERT_STRATEGY,] }] }
|
|
1782
|
-
]; };
|
|
1783
1824
|
return ConfigurableFocusTrapFactory;
|
|
1784
1825
|
}());
|
|
1826
|
+
ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigurableFocusTrapFactory_Factory() { return new ConfigurableFocusTrapFactory(i0.ɵɵinject(InteractivityChecker), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(FocusTrapManager), i0.ɵɵinject(i2.DOCUMENT), i0.ɵɵinject(FOCUS_TRAP_INERT_STRATEGY, 8)); }, token: ConfigurableFocusTrapFactory, providedIn: "root" });
|
|
1827
|
+
ConfigurableFocusTrapFactory.decorators = [
|
|
1828
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1829
|
+
];
|
|
1830
|
+
ConfigurableFocusTrapFactory.ctorParameters = function () { return [
|
|
1831
|
+
{ type: InteractivityChecker },
|
|
1832
|
+
{ type: i0.NgZone },
|
|
1833
|
+
{ type: FocusTrapManager },
|
|
1834
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
1835
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [FOCUS_TRAP_INERT_STRATEGY,] }] }
|
|
1836
|
+
]; };
|
|
1785
1837
|
|
|
1786
1838
|
/**
|
|
1787
1839
|
* @license
|
|
@@ -1888,18 +1940,18 @@
|
|
|
1888
1940
|
this._document.body.appendChild(liveEl);
|
|
1889
1941
|
return liveEl;
|
|
1890
1942
|
};
|
|
1891
|
-
LiveAnnouncer.ɵprov = i0.ɵɵdefineInjectable({ factory: function LiveAnnouncer_Factory() { return new LiveAnnouncer(i0.ɵɵinject(LIVE_ANNOUNCER_ELEMENT_TOKEN, 8), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i2.DOCUMENT), i0.ɵɵinject(LIVE_ANNOUNCER_DEFAULT_OPTIONS, 8)); }, token: LiveAnnouncer, providedIn: "root" });
|
|
1892
|
-
LiveAnnouncer.decorators = [
|
|
1893
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1894
|
-
];
|
|
1895
|
-
LiveAnnouncer.ctorParameters = function () { return [
|
|
1896
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [LIVE_ANNOUNCER_ELEMENT_TOKEN,] }] },
|
|
1897
|
-
{ type: i0.NgZone },
|
|
1898
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
1899
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS,] }] }
|
|
1900
|
-
]; };
|
|
1901
1943
|
return LiveAnnouncer;
|
|
1902
1944
|
}());
|
|
1945
|
+
LiveAnnouncer.ɵprov = i0.ɵɵdefineInjectable({ factory: function LiveAnnouncer_Factory() { return new LiveAnnouncer(i0.ɵɵinject(LIVE_ANNOUNCER_ELEMENT_TOKEN, 8), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i2.DOCUMENT), i0.ɵɵinject(LIVE_ANNOUNCER_DEFAULT_OPTIONS, 8)); }, token: LiveAnnouncer, providedIn: "root" });
|
|
1946
|
+
LiveAnnouncer.decorators = [
|
|
1947
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1948
|
+
];
|
|
1949
|
+
LiveAnnouncer.ctorParameters = function () { return [
|
|
1950
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [LIVE_ANNOUNCER_ELEMENT_TOKEN,] }] },
|
|
1951
|
+
{ type: i0.NgZone },
|
|
1952
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
1953
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS,] }] }
|
|
1954
|
+
]; };
|
|
1903
1955
|
/**
|
|
1904
1956
|
* A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility
|
|
1905
1957
|
* with a wider range of browsers and screen readers.
|
|
@@ -1949,23 +2001,23 @@
|
|
|
1949
2001
|
this._subscription.unsubscribe();
|
|
1950
2002
|
}
|
|
1951
2003
|
};
|
|
1952
|
-
CdkAriaLive.decorators = [
|
|
1953
|
-
{ type: i0.Directive, args: [{
|
|
1954
|
-
selector: '[cdkAriaLive]',
|
|
1955
|
-
exportAs: 'cdkAriaLive',
|
|
1956
|
-
},] }
|
|
1957
|
-
];
|
|
1958
|
-
CdkAriaLive.ctorParameters = function () { return [
|
|
1959
|
-
{ type: i0.ElementRef },
|
|
1960
|
-
{ type: LiveAnnouncer },
|
|
1961
|
-
{ type: observers.ContentObserver },
|
|
1962
|
-
{ type: i0.NgZone }
|
|
1963
|
-
]; };
|
|
1964
|
-
CdkAriaLive.propDecorators = {
|
|
1965
|
-
politeness: [{ type: i0.Input, args: ['cdkAriaLive',] }]
|
|
1966
|
-
};
|
|
1967
2004
|
return CdkAriaLive;
|
|
1968
2005
|
}());
|
|
2006
|
+
CdkAriaLive.decorators = [
|
|
2007
|
+
{ type: i0.Directive, args: [{
|
|
2008
|
+
selector: '[cdkAriaLive]',
|
|
2009
|
+
exportAs: 'cdkAriaLive',
|
|
2010
|
+
},] }
|
|
2011
|
+
];
|
|
2012
|
+
CdkAriaLive.ctorParameters = function () { return [
|
|
2013
|
+
{ type: i0.ElementRef },
|
|
2014
|
+
{ type: LiveAnnouncer },
|
|
2015
|
+
{ type: observers.ContentObserver },
|
|
2016
|
+
{ type: i0.NgZone }
|
|
2017
|
+
]; };
|
|
2018
|
+
CdkAriaLive.propDecorators = {
|
|
2019
|
+
politeness: [{ type: i0.Input, args: ['cdkAriaLive',] }]
|
|
2020
|
+
};
|
|
1969
2021
|
|
|
1970
2022
|
/**
|
|
1971
2023
|
* @license
|
|
@@ -2321,30 +2373,30 @@
|
|
|
2321
2373
|
}
|
|
2322
2374
|
// Unregister global listeners when last element is unmonitored.
|
|
2323
2375
|
if (!--this._monitoredElementCount) {
|
|
2324
|
-
var
|
|
2325
|
-
var
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2376
|
+
var document = this._getDocument();
|
|
2377
|
+
var window = this._getWindow();
|
|
2378
|
+
document.removeEventListener('keydown', this._documentKeydownListener, captureEventListenerOptions);
|
|
2379
|
+
document.removeEventListener('mousedown', this._documentMousedownListener, captureEventListenerOptions);
|
|
2380
|
+
document.removeEventListener('touchstart', this._documentTouchstartListener, captureEventListenerOptions);
|
|
2381
|
+
window.removeEventListener('focus', this._windowFocusListener);
|
|
2330
2382
|
// Clear timeouts for all potentially pending timeouts to prevent the leaks.
|
|
2331
2383
|
clearTimeout(this._windowFocusTimeoutId);
|
|
2332
2384
|
clearTimeout(this._touchTimeoutId);
|
|
2333
2385
|
clearTimeout(this._originTimeoutId);
|
|
2334
2386
|
}
|
|
2335
2387
|
};
|
|
2336
|
-
FocusMonitor.ɵprov = i0.ɵɵdefineInjectable({ factory: function FocusMonitor_Factory() { return new FocusMonitor(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1.Platform), i0.ɵɵinject(i2.DOCUMENT, 8), i0.ɵɵinject(FOCUS_MONITOR_DEFAULT_OPTIONS, 8)); }, token: FocusMonitor, providedIn: "root" });
|
|
2337
|
-
FocusMonitor.decorators = [
|
|
2338
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2339
|
-
];
|
|
2340
|
-
FocusMonitor.ctorParameters = function () { return [
|
|
2341
|
-
{ type: i0.NgZone },
|
|
2342
|
-
{ type: i1.Platform },
|
|
2343
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
2344
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [FOCUS_MONITOR_DEFAULT_OPTIONS,] }] }
|
|
2345
|
-
]; };
|
|
2346
2388
|
return FocusMonitor;
|
|
2347
2389
|
}());
|
|
2390
|
+
FocusMonitor.ɵprov = i0.ɵɵdefineInjectable({ factory: function FocusMonitor_Factory() { return new FocusMonitor(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1.Platform), i0.ɵɵinject(i2.DOCUMENT, 8), i0.ɵɵinject(FOCUS_MONITOR_DEFAULT_OPTIONS, 8)); }, token: FocusMonitor, providedIn: "root" });
|
|
2391
|
+
FocusMonitor.decorators = [
|
|
2392
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2393
|
+
];
|
|
2394
|
+
FocusMonitor.ctorParameters = function () { return [
|
|
2395
|
+
{ type: i0.NgZone },
|
|
2396
|
+
{ type: i1.Platform },
|
|
2397
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i2.DOCUMENT,] }] },
|
|
2398
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [FOCUS_MONITOR_DEFAULT_OPTIONS,] }] }
|
|
2399
|
+
]; };
|
|
2348
2400
|
/** Gets the target of an event, accounting for Shadow DOM. */
|
|
2349
2401
|
function getTarget(event) {
|
|
2350
2402
|
// If an event is bound outside the Shadow DOM, the `event.target` will
|
|
@@ -2377,20 +2429,20 @@
|
|
|
2377
2429
|
this._monitorSubscription.unsubscribe();
|
|
2378
2430
|
}
|
|
2379
2431
|
};
|
|
2380
|
-
CdkMonitorFocus.decorators = [
|
|
2381
|
-
{ type: i0.Directive, args: [{
|
|
2382
|
-
selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
|
|
2383
|
-
},] }
|
|
2384
|
-
];
|
|
2385
|
-
CdkMonitorFocus.ctorParameters = function () { return [
|
|
2386
|
-
{ type: i0.ElementRef },
|
|
2387
|
-
{ type: FocusMonitor }
|
|
2388
|
-
]; };
|
|
2389
|
-
CdkMonitorFocus.propDecorators = {
|
|
2390
|
-
cdkFocusChange: [{ type: i0.Output }]
|
|
2391
|
-
};
|
|
2392
2432
|
return CdkMonitorFocus;
|
|
2393
2433
|
}());
|
|
2434
|
+
CdkMonitorFocus.decorators = [
|
|
2435
|
+
{ type: i0.Directive, args: [{
|
|
2436
|
+
selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
|
|
2437
|
+
},] }
|
|
2438
|
+
];
|
|
2439
|
+
CdkMonitorFocus.ctorParameters = function () { return [
|
|
2440
|
+
{ type: i0.ElementRef },
|
|
2441
|
+
{ type: FocusMonitor }
|
|
2442
|
+
]; };
|
|
2443
|
+
CdkMonitorFocus.propDecorators = {
|
|
2444
|
+
cdkFocusChange: [{ type: i0.Output }]
|
|
2445
|
+
};
|
|
2394
2446
|
|
|
2395
2447
|
/**
|
|
2396
2448
|
* @license
|
|
@@ -2467,16 +2519,16 @@
|
|
|
2467
2519
|
}
|
|
2468
2520
|
}
|
|
2469
2521
|
};
|
|
2470
|
-
HighContrastModeDetector.ɵprov = i0.ɵɵdefineInjectable({ factory: function HighContrastModeDetector_Factory() { return new HighContrastModeDetector(i0.ɵɵinject(i1.Platform), i0.ɵɵinject(i2.DOCUMENT)); }, token: HighContrastModeDetector, providedIn: "root" });
|
|
2471
|
-
HighContrastModeDetector.decorators = [
|
|
2472
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2473
|
-
];
|
|
2474
|
-
HighContrastModeDetector.ctorParameters = function () { return [
|
|
2475
|
-
{ type: i1.Platform },
|
|
2476
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] }
|
|
2477
|
-
]; };
|
|
2478
2522
|
return HighContrastModeDetector;
|
|
2479
2523
|
}());
|
|
2524
|
+
HighContrastModeDetector.ɵprov = i0.ɵɵdefineInjectable({ factory: function HighContrastModeDetector_Factory() { return new HighContrastModeDetector(i0.ɵɵinject(i1.Platform), i0.ɵɵinject(i2.DOCUMENT)); }, token: HighContrastModeDetector, providedIn: "root" });
|
|
2525
|
+
HighContrastModeDetector.decorators = [
|
|
2526
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2527
|
+
];
|
|
2528
|
+
HighContrastModeDetector.ctorParameters = function () { return [
|
|
2529
|
+
{ type: i1.Platform },
|
|
2530
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i2.DOCUMENT,] }] }
|
|
2531
|
+
]; };
|
|
2480
2532
|
|
|
2481
2533
|
/**
|
|
2482
2534
|
* @license
|
|
@@ -2489,18 +2541,18 @@
|
|
|
2489
2541
|
function A11yModule(highContrastModeDetector) {
|
|
2490
2542
|
highContrastModeDetector._applyBodyHighContrastModeCssClasses();
|
|
2491
2543
|
}
|
|
2492
|
-
A11yModule.decorators = [
|
|
2493
|
-
{ type: i0.NgModule, args: [{
|
|
2494
|
-
imports: [i1.PlatformModule, observers.ObserversModule],
|
|
2495
|
-
declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
|
2496
|
-
exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
|
2497
|
-
},] }
|
|
2498
|
-
];
|
|
2499
|
-
A11yModule.ctorParameters = function () { return [
|
|
2500
|
-
{ type: HighContrastModeDetector }
|
|
2501
|
-
]; };
|
|
2502
2544
|
return A11yModule;
|
|
2503
2545
|
}());
|
|
2546
|
+
A11yModule.decorators = [
|
|
2547
|
+
{ type: i0.NgModule, args: [{
|
|
2548
|
+
imports: [i1.PlatformModule, observers.ObserversModule],
|
|
2549
|
+
declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
|
2550
|
+
exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
|
2551
|
+
},] }
|
|
2552
|
+
];
|
|
2553
|
+
A11yModule.ctorParameters = function () { return [
|
|
2554
|
+
{ type: HighContrastModeDetector }
|
|
2555
|
+
]; };
|
|
2504
2556
|
|
|
2505
2557
|
/**
|
|
2506
2558
|
* @license
|