constructor-checks.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. "use strict";
  2. /**
  3. * @license
  4. * Copyright Google LLC All Rights Reserved.
  5. *
  6. * Use of this source code is governed by an MIT-style license that can be
  7. * found in the LICENSE file at https://angular.io/license
  8. */
  9. Object.defineProperty(exports, "__esModule", { value: true });
  10. const schematics_1 = require("@angular/cdk/schematics");
  11. /**
  12. * List of class names for which the constructor signature has been changed. The new constructor
  13. * signature types don't need to be stored here because the signature will be determined
  14. * automatically through type checking.
  15. */
  16. exports.constructorChecks = {
  17. [schematics_1.TargetVersion.V8]: [
  18. {
  19. pr: 'https://github.com/angular/components/pull/15647',
  20. changes: ['MatFormField', 'MatTabLink', 'MatVerticalStepper']
  21. },
  22. { pr: 'https://github.com/angular/components/pull/15757', changes: ['MatBadge'] },
  23. { pr: 'https://github.com/angular/components/issues/15734', changes: ['MatButton', 'MatAnchor'] },
  24. {
  25. pr: 'https://github.com/angular/components/pull/15761',
  26. changes: ['MatSpinner', 'MatProgressSpinner']
  27. },
  28. { pr: 'https://github.com/angular/components/pull/15723', changes: ['MatList', 'MatListItem'] },
  29. { pr: 'https://github.com/angular/components/pull/15722', changes: ['MatExpansionPanel'] }, {
  30. pr: 'https://github.com/angular/components/pull/15737',
  31. changes: ['MatTabHeader', 'MatTabBody']
  32. },
  33. { pr: 'https://github.com/angular/components/pull/15806', changes: ['MatSlideToggle'] },
  34. { pr: 'https://github.com/angular/components/pull/15773', changes: ['MatDrawerContainer'] }
  35. ],
  36. [schematics_1.TargetVersion.V7]: [
  37. {
  38. pr: 'https://github.com/angular/components/pull/11706',
  39. changes: ['MatDrawerContent'],
  40. },
  41. { pr: 'https://github.com/angular/components/pull/11706', changes: ['MatSidenavContent'] }
  42. ],
  43. [schematics_1.TargetVersion.V6]: [
  44. {
  45. pr: 'https://github.com/angular/components/pull/9190',
  46. changes: ['NativeDateAdapter'],
  47. },
  48. {
  49. pr: 'https://github.com/angular/components/pull/10319',
  50. changes: ['MatAutocomplete'],
  51. },
  52. {
  53. pr: 'https://github.com/angular/components/pull/10344',
  54. changes: ['MatTooltip'],
  55. },
  56. {
  57. pr: 'https://github.com/angular/components/pull/10389',
  58. changes: ['MatIconRegistry'],
  59. },
  60. {
  61. pr: 'https://github.com/angular/components/pull/9775',
  62. changes: ['MatCalendar'],
  63. },
  64. ]
  65. };
  66. //# sourceMappingURL=constructor-checks.js.map