@angular/material 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 (292) hide show
  1. package/_theming.scss +5 -0
  2. package/bundles/material-autocomplete-testing.umd.js +316 -248
  3. package/bundles/material-autocomplete-testing.umd.js.map +1 -1
  4. package/bundles/material-autocomplete-testing.umd.min.js +2 -9
  5. package/bundles/material-autocomplete-testing.umd.min.js.map +1 -1
  6. package/bundles/material-autocomplete.umd.js +421 -355
  7. package/bundles/material-autocomplete.umd.js.map +1 -1
  8. package/bundles/material-autocomplete.umd.min.js +2 -24
  9. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  10. package/bundles/material-badge-testing.umd.js +301 -235
  11. package/bundles/material-badge-testing.umd.js.map +1 -1
  12. package/bundles/material-badge-testing.umd.min.js +2 -9
  13. package/bundles/material-badge-testing.umd.min.js.map +1 -1
  14. package/bundles/material-badge.umd.js +344 -278
  15. package/bundles/material-badge.umd.js.map +1 -1
  16. package/bundles/material-badge.umd.min.js +3 -3
  17. package/bundles/material-badge.umd.min.js.map +1 -1
  18. package/bundles/material-bottom-sheet-testing.umd.js +302 -236
  19. package/bundles/material-bottom-sheet-testing.umd.js.map +1 -1
  20. package/bundles/material-bottom-sheet-testing.umd.min.js +2 -9
  21. package/bundles/material-bottom-sheet-testing.umd.min.js.map +1 -1
  22. package/bundles/material-bottom-sheet.umd.js +361 -288
  23. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  24. package/bundles/material-bottom-sheet.umd.min.js +17 -2
  25. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  26. package/bundles/material-button-testing.umd.js +310 -244
  27. package/bundles/material-button-testing.umd.js.map +1 -1
  28. package/bundles/material-button-testing.umd.min.js +2 -9
  29. package/bundles/material-button-testing.umd.min.js.map +1 -1
  30. package/bundles/material-button-toggle-testing.umd.js +304 -245
  31. package/bundles/material-button-toggle-testing.umd.js.map +1 -1
  32. package/bundles/material-button-toggle-testing.umd.min.js +3 -17
  33. package/bundles/material-button-toggle-testing.umd.min.js.map +1 -1
  34. package/bundles/material-button-toggle.umd.js +387 -321
  35. package/bundles/material-button-toggle.umd.js.map +1 -1
  36. package/bundles/material-button-toggle.umd.min.js +2 -10
  37. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  38. package/bundles/material-button.umd.js +375 -309
  39. package/bundles/material-button.umd.js.map +1 -1
  40. package/bundles/material-button.umd.min.js +2 -10
  41. package/bundles/material-button.umd.min.js.map +1 -1
  42. package/bundles/material-card-testing.umd.js +306 -242
  43. package/bundles/material-card-testing.umd.js.map +1 -1
  44. package/bundles/material-card-testing.umd.min.js +2 -9
  45. package/bundles/material-card-testing.umd.min.js.map +1 -1
  46. package/bundles/material-card.umd.js +139 -139
  47. package/bundles/material-card.umd.js.map +1 -1
  48. package/bundles/material-card.umd.min.js +2 -2
  49. package/bundles/material-card.umd.min.js.map +1 -1
  50. package/bundles/material-checkbox-testing.umd.js +302 -236
  51. package/bundles/material-checkbox-testing.umd.js.map +1 -1
  52. package/bundles/material-checkbox-testing.umd.min.js +2 -9
  53. package/bundles/material-checkbox-testing.umd.min.js.map +1 -1
  54. package/bundles/material-checkbox.umd.js +370 -311
  55. package/bundles/material-checkbox.umd.js.map +1 -1
  56. package/bundles/material-checkbox.umd.min.js +2 -9
  57. package/bundles/material-checkbox.umd.min.js.map +1 -1
  58. package/bundles/material-chips.umd.js +598 -539
  59. package/bundles/material-chips.umd.js.map +1 -1
  60. package/bundles/material-chips.umd.min.js +18 -3
  61. package/bundles/material-chips.umd.min.js.map +1 -1
  62. package/bundles/material-core-testing.umd.js +304 -245
  63. package/bundles/material-core-testing.umd.js.map +1 -1
  64. package/bundles/material-core-testing.umd.min.js +3 -17
  65. package/bundles/material-core-testing.umd.min.js.map +1 -1
  66. package/bundles/material-core.umd.js +509 -492
  67. package/bundles/material-core.umd.js.map +1 -1
  68. package/bundles/material-core.umd.min.js +37 -12
  69. package/bundles/material-core.umd.min.js.map +1 -1
  70. package/bundles/material-datepicker.umd.js +868 -837
  71. package/bundles/material-datepicker.umd.js.map +1 -1
  72. package/bundles/material-datepicker.umd.min.js +42 -8
  73. package/bundles/material-datepicker.umd.min.js.map +1 -1
  74. package/bundles/material-dialog-testing.umd.js +303 -237
  75. package/bundles/material-dialog-testing.umd.js.map +1 -1
  76. package/bundles/material-dialog-testing.umd.min.js +2 -9
  77. package/bundles/material-dialog-testing.umd.min.js.map +1 -1
  78. package/bundles/material-dialog.umd.js +431 -365
  79. package/bundles/material-dialog.umd.js.map +1 -1
  80. package/bundles/material-dialog.umd.min.js +15 -14
  81. package/bundles/material-dialog.umd.min.js.map +1 -1
  82. package/bundles/material-divider-testing.umd.js +300 -234
  83. package/bundles/material-divider-testing.umd.js.map +1 -1
  84. package/bundles/material-divider-testing.umd.min.js +2 -9
  85. package/bundles/material-divider-testing.umd.min.js.map +1 -1
  86. package/bundles/material-divider.umd.js +28 -28
  87. package/bundles/material-divider.umd.js.map +1 -1
  88. package/bundles/material-divider.umd.min.js +2 -9
  89. package/bundles/material-divider.umd.min.js.map +1 -1
  90. package/bundles/material-expansion-testing.umd.js +303 -246
  91. package/bundles/material-expansion-testing.umd.js.map +1 -1
  92. package/bundles/material-expansion-testing.umd.min.js +2 -10
  93. package/bundles/material-expansion-testing.umd.min.js.map +1 -1
  94. package/bundles/material-expansion.umd.js +459 -400
  95. package/bundles/material-expansion.umd.js.map +1 -1
  96. package/bundles/material-expansion.umd.min.js +11 -3
  97. package/bundles/material-expansion.umd.min.js.map +1 -1
  98. package/bundles/material-form-field-testing-control.umd.js +299 -233
  99. package/bundles/material-form-field-testing-control.umd.js.map +1 -1
  100. package/bundles/material-form-field-testing-control.umd.min.js.map +1 -1
  101. package/bundles/material-form-field-testing.umd.js +301 -235
  102. package/bundles/material-form-field-testing.umd.js.map +1 -1
  103. package/bundles/material-form-field-testing.umd.min.js +3 -10
  104. package/bundles/material-form-field-testing.umd.min.js.map +1 -1
  105. package/bundles/material-form-field.umd.js +452 -386
  106. package/bundles/material-form-field.umd.js.map +1 -1
  107. package/bundles/material-form-field.umd.min.js +34 -3
  108. package/bundles/material-form-field.umd.min.js.map +1 -1
  109. package/bundles/material-grid-list-testing.umd.js +311 -252
  110. package/bundles/material-grid-list-testing.umd.js.map +1 -1
  111. package/bundles/material-grid-list-testing.umd.min.js +2 -17
  112. package/bundles/material-grid-list-testing.umd.min.js.map +1 -1
  113. package/bundles/material-grid-list.umd.js +409 -336
  114. package/bundles/material-grid-list.umd.js.map +1 -1
  115. package/bundles/material-grid-list.umd.min.js +19 -4
  116. package/bundles/material-grid-list.umd.min.js.map +1 -1
  117. package/bundles/material-icon-testing.umd.js +8 -8
  118. package/bundles/material-icon-testing.umd.js.map +1 -1
  119. package/bundles/material-icon-testing.umd.min.js +2 -2
  120. package/bundles/material-icon-testing.umd.min.js.map +1 -1
  121. package/bundles/material-icon.umd.js +349 -283
  122. package/bundles/material-icon.umd.js.map +1 -1
  123. package/bundles/material-icon.umd.min.js +2 -9
  124. package/bundles/material-icon.umd.min.js.map +1 -1
  125. package/bundles/material-input-testing.umd.js +303 -237
  126. package/bundles/material-input-testing.umd.js.map +1 -1
  127. package/bundles/material-input-testing.umd.min.js +2 -9
  128. package/bundles/material-input-testing.umd.min.js.map +1 -1
  129. package/bundles/material-input.umd.js +387 -328
  130. package/bundles/material-input.umd.js.map +1 -1
  131. package/bundles/material-input.umd.min.js +4 -18
  132. package/bundles/material-input.umd.min.js.map +1 -1
  133. package/bundles/material-list-testing.umd.js +333 -303
  134. package/bundles/material-list-testing.umd.js.map +1 -1
  135. package/bundles/material-list-testing.umd.min.js +2 -2
  136. package/bundles/material-list-testing.umd.min.js.map +1 -1
  137. package/bundles/material-list.umd.js +492 -433
  138. package/bundles/material-list.umd.js.map +1 -1
  139. package/bundles/material-list.umd.min.js +2 -10
  140. package/bundles/material-list.umd.min.js.map +1 -1
  141. package/bundles/material-menu-testing.umd.js +305 -239
  142. package/bundles/material-menu-testing.umd.js.map +1 -1
  143. package/bundles/material-menu-testing.umd.min.js +2 -10
  144. package/bundles/material-menu-testing.umd.min.js.map +1 -1
  145. package/bundles/material-menu.umd.js +458 -406
  146. package/bundles/material-menu.umd.js.map +1 -1
  147. package/bundles/material-menu.umd.min.js +5 -4
  148. package/bundles/material-menu.umd.min.js.map +1 -1
  149. package/bundles/material-paginator-testing.umd.js +302 -236
  150. package/bundles/material-paginator-testing.umd.js.map +1 -1
  151. package/bundles/material-paginator-testing.umd.min.js +2 -9
  152. package/bundles/material-paginator-testing.umd.min.js.map +1 -1
  153. package/bundles/material-paginator.umd.js +345 -279
  154. package/bundles/material-paginator.umd.js.map +1 -1
  155. package/bundles/material-paginator.umd.min.js +2 -9
  156. package/bundles/material-paginator.umd.min.js.map +1 -1
  157. package/bundles/material-progress-bar-testing.umd.js +301 -235
  158. package/bundles/material-progress-bar-testing.umd.js.map +1 -1
  159. package/bundles/material-progress-bar-testing.umd.min.js +2 -9
  160. package/bundles/material-progress-bar-testing.umd.min.js.map +1 -1
  161. package/bundles/material-progress-bar.umd.js +339 -266
  162. package/bundles/material-progress-bar.umd.js.map +1 -1
  163. package/bundles/material-progress-bar.umd.min.js +4 -3
  164. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  165. package/bundles/material-progress-spinner-testing.umd.js +301 -235
  166. package/bundles/material-progress-spinner-testing.umd.js.map +1 -1
  167. package/bundles/material-progress-spinner-testing.umd.min.js +2 -9
  168. package/bundles/material-progress-spinner-testing.umd.min.js.map +1 -1
  169. package/bundles/material-progress-spinner.umd.js +380 -314
  170. package/bundles/material-progress-spinner.umd.js.map +1 -1
  171. package/bundles/material-progress-spinner.umd.min.js +2 -10
  172. package/bundles/material-progress-spinner.umd.min.js.map +1 -1
  173. package/bundles/material-radio-testing.umd.js +304 -238
  174. package/bundles/material-radio-testing.umd.js.map +1 -1
  175. package/bundles/material-radio-testing.umd.min.js +2 -10
  176. package/bundles/material-radio-testing.umd.min.js.map +1 -1
  177. package/bundles/material-radio.umd.js +405 -339
  178. package/bundles/material-radio.umd.js.map +1 -1
  179. package/bundles/material-radio.umd.min.js +2 -10
  180. package/bundles/material-radio.umd.min.js.map +1 -1
  181. package/bundles/material-select-testing.umd.js +315 -247
  182. package/bundles/material-select-testing.umd.js.map +1 -1
  183. package/bundles/material-select-testing.umd.min.js +2 -9
  184. package/bundles/material-select-testing.umd.min.js.map +1 -1
  185. package/bundles/material-select.umd.js +408 -342
  186. package/bundles/material-select.umd.js.map +1 -1
  187. package/bundles/material-select.umd.min.js +5 -12
  188. package/bundles/material-select.umd.min.js.map +1 -1
  189. package/bundles/material-sidenav-testing.umd.js +303 -244
  190. package/bundles/material-sidenav-testing.umd.js.map +1 -1
  191. package/bundles/material-sidenav-testing.umd.min.js +2 -16
  192. package/bundles/material-sidenav-testing.umd.min.js.map +1 -1
  193. package/bundles/material-sidenav.umd.js +512 -448
  194. package/bundles/material-sidenav.umd.js.map +1 -1
  195. package/bundles/material-sidenav.umd.min.js +3 -3
  196. package/bundles/material-sidenav.umd.min.js.map +1 -1
  197. package/bundles/material-slide-toggle-testing.umd.js +302 -236
  198. package/bundles/material-slide-toggle-testing.umd.js.map +1 -1
  199. package/bundles/material-slide-toggle-testing.umd.min.js +2 -9
  200. package/bundles/material-slide-toggle-testing.umd.min.js.map +1 -1
  201. package/bundles/material-slide-toggle.umd.js +373 -314
  202. package/bundles/material-slide-toggle.umd.js.map +1 -1
  203. package/bundles/material-slide-toggle.umd.min.js +2 -9
  204. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  205. package/bundles/material-slider-testing.umd.js +302 -236
  206. package/bundles/material-slider-testing.umd.js.map +1 -1
  207. package/bundles/material-slider-testing.umd.min.js +2 -9
  208. package/bundles/material-slider-testing.umd.min.js.map +1 -1
  209. package/bundles/material-slider.umd.js +374 -308
  210. package/bundles/material-slider.umd.js.map +1 -1
  211. package/bundles/material-slider.umd.min.js +4 -3
  212. package/bundles/material-slider.umd.min.js.map +1 -1
  213. package/bundles/material-snack-bar-testing.umd.js +304 -238
  214. package/bundles/material-snack-bar-testing.umd.js.map +1 -1
  215. package/bundles/material-snack-bar-testing.umd.min.js +2 -9
  216. package/bundles/material-snack-bar-testing.umd.min.js.map +1 -1
  217. package/bundles/material-snack-bar.umd.js +379 -306
  218. package/bundles/material-snack-bar.umd.js.map +1 -1
  219. package/bundles/material-snack-bar.umd.min.js +26 -2
  220. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  221. package/bundles/material-sort-testing.umd.js +302 -243
  222. package/bundles/material-sort-testing.umd.js.map +1 -1
  223. package/bundles/material-sort-testing.umd.min.js +2 -17
  224. package/bundles/material-sort-testing.umd.min.js.map +1 -1
  225. package/bundles/material-sort.umd.js +369 -310
  226. package/bundles/material-sort.umd.js.map +1 -1
  227. package/bundles/material-sort.umd.min.js +3 -18
  228. package/bundles/material-sort.umd.min.js.map +1 -1
  229. package/bundles/material-stepper.umd.js +490 -445
  230. package/bundles/material-stepper.umd.js.map +1 -1
  231. package/bundles/material-stepper.umd.min.js +5 -12
  232. package/bundles/material-stepper.umd.min.js.map +1 -1
  233. package/bundles/material-table-testing.umd.js +317 -265
  234. package/bundles/material-table-testing.umd.js.map +1 -1
  235. package/bundles/material-table-testing.umd.min.js +2 -24
  236. package/bundles/material-table-testing.umd.min.js.map +1 -1
  237. package/bundles/material-table.umd.js +494 -462
  238. package/bundles/material-table.umd.js.map +1 -1
  239. package/bundles/material-table.umd.min.js +3 -10
  240. package/bundles/material-table.umd.min.js.map +1 -1
  241. package/bundles/material-tabs-testing.umd.js +303 -244
  242. package/bundles/material-tabs-testing.umd.js.map +1 -1
  243. package/bundles/material-tabs-testing.umd.min.js +1 -16
  244. package/bundles/material-tabs-testing.umd.min.js.map +1 -1
  245. package/bundles/material-tabs.umd.js +661 -630
  246. package/bundles/material-tabs.umd.js.map +1 -1
  247. package/bundles/material-tabs.umd.min.js +29 -4
  248. package/bundles/material-tabs.umd.min.js.map +1 -1
  249. package/bundles/material-toolbar-testing.umd.js +301 -235
  250. package/bundles/material-toolbar-testing.umd.js.map +1 -1
  251. package/bundles/material-toolbar-testing.umd.min.js +2 -9
  252. package/bundles/material-toolbar-testing.umd.min.js.map +1 -1
  253. package/bundles/material-toolbar.umd.js +337 -271
  254. package/bundles/material-toolbar.umd.js.map +1 -1
  255. package/bundles/material-toolbar.umd.min.js +4 -3
  256. package/bundles/material-toolbar.umd.min.js.map +1 -1
  257. package/bundles/material-tooltip-testing.umd.js +301 -235
  258. package/bundles/material-tooltip-testing.umd.js.map +1 -1
  259. package/bundles/material-tooltip-testing.umd.min.js +2 -9
  260. package/bundles/material-tooltip-testing.umd.min.js.map +1 -1
  261. package/bundles/material-tooltip.umd.js +367 -294
  262. package/bundles/material-tooltip.umd.js.map +1 -1
  263. package/bundles/material-tooltip.umd.min.js +3 -3
  264. package/bundles/material-tooltip.umd.min.js.map +1 -1
  265. package/bundles/material-tree.umd.js +421 -383
  266. package/bundles/material-tree.umd.js.map +1 -1
  267. package/bundles/material-tree.umd.min.js +3 -3
  268. package/bundles/material-tree.umd.min.js.map +1 -1
  269. package/core/index.metadata.json +1 -1
  270. package/core/style/_vendor-prefixes.scss +5 -0
  271. package/esm2015/bottom-sheet/bottom-sheet.js +1 -1
  272. package/esm2015/core/common-behaviors/common-module.js +1 -1
  273. package/esm2015/core/version.js +1 -1
  274. package/esm2015/stepper/stepper.js +3 -3
  275. package/esm2015/table/cell.js +12 -26
  276. package/esm2015/table/table.js +4 -2
  277. package/esm2015/tree/node.js +2 -2
  278. package/fesm2015/core.js +2 -2
  279. package/fesm2015/core.js.map +1 -1
  280. package/fesm2015/stepper.js +2 -2
  281. package/fesm2015/stepper.js.map +1 -1
  282. package/fesm2015/table.js +14 -26
  283. package/fesm2015/table.js.map +1 -1
  284. package/fesm2015/tree.js +1 -1
  285. package/fesm2015/tree.js.map +1 -1
  286. package/package.json +2 -2
  287. package/schematics/ng-add/index.js +1 -1
  288. package/stepper/index.metadata.json +1 -1
  289. package/table/cell.d.ts +7 -4
  290. package/table/index.metadata.json +1 -1
  291. package/table/table.d.ts +2 -0
  292. package/tree/index.metadata.json +1 -1
@@ -58,12 +58,12 @@
58
58
  MatDatepickerIntl.prototype.formatYearRange = function (start, end) {
59
59
  return start + " \u2013 " + end;
60
60
  };
61
- MatDatepickerIntl.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatDatepickerIntl_Factory() { return new MatDatepickerIntl(); }, token: MatDatepickerIntl, providedIn: "root" });
62
- MatDatepickerIntl.decorators = [
63
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
64
- ];
65
61
  return MatDatepickerIntl;
66
62
  }());
63
+ MatDatepickerIntl.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatDatepickerIntl_Factory() { return new MatDatepickerIntl(); }, token: MatDatepickerIntl, providedIn: "root" });
64
+ MatDatepickerIntl.decorators = [
65
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
66
+ ];
67
67
 
68
68
  /**
69
69
  * @license
@@ -291,45 +291,45 @@
291
291
  }
292
292
  return null;
293
293
  };
294
- MatCalendarBody.decorators = [
295
- { type: i0.Component, args: [{
296
- selector: '[mat-calendar-body]',
297
- template: "<!--\n If there's not enough space in the first row, create a separate label row. We mark this row as\n aria-hidden because we don't want it to be read out as one of the weeks in the month.\n-->\n<tr *ngIf=\"_firstRowOffset < labelMinRequiredCells\" aria-hidden=\"true\">\n <td class=\"mat-calendar-body-label\"\n [attr.colspan]=\"numCols\"\n [style.paddingTop]=\"_cellPadding\"\n [style.paddingBottom]=\"_cellPadding\">\n {{label}}\n </td>\n</tr>\n\n<!-- Create the first row separately so we can include a special spacer cell. -->\n<tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\">\n <!--\n We mark this cell as aria-hidden so it doesn't get read out as one of the days in the week.\n The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n percentage of the width (a variant of the trick described here:\n https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n -->\n <td *ngIf=\"rowIndex === 0 && _firstRowOffset\"\n aria-hidden=\"true\"\n class=\"mat-calendar-body-label\"\n [attr.colspan]=\"_firstRowOffset\"\n [style.paddingTop]=\"_cellPadding\"\n [style.paddingBottom]=\"_cellPadding\">\n {{_firstRowOffset >= labelMinRequiredCells ? label : ''}}\n </td>\n <td *ngFor=\"let item of row; let colIndex = index\"\n role=\"gridcell\"\n class=\"mat-calendar-body-cell\"\n [ngClass]=\"item.cssClasses\"\n [tabindex]=\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\"\n [attr.data-mat-row]=\"rowIndex\"\n [attr.data-mat-col]=\"colIndex\"\n [class.mat-calendar-body-disabled]=\"!item.enabled\"\n [class.mat-calendar-body-active]=\"_isActiveCell(rowIndex, colIndex)\"\n [class.mat-calendar-body-range-start]=\"_isRangeStart(item.compareValue)\"\n [class.mat-calendar-body-range-end]=\"_isRangeEnd(item.compareValue)\"\n [class.mat-calendar-body-in-range]=\"_isInRange(item.compareValue)\"\n [class.mat-calendar-body-comparison-bridge-start]=\"_isComparisonBridgeStart(item.compareValue, rowIndex, colIndex)\"\n [class.mat-calendar-body-comparison-bridge-end]=\"_isComparisonBridgeEnd(item.compareValue, rowIndex, colIndex)\"\n [class.mat-calendar-body-comparison-start]=\"_isComparisonStart(item.compareValue)\"\n [class.mat-calendar-body-comparison-end]=\"_isComparisonEnd(item.compareValue)\"\n [class.mat-calendar-body-in-comparison-range]=\"_isInComparisonRange(item.compareValue)\"\n [class.mat-calendar-body-preview-start]=\"_isPreviewStart(item.compareValue)\"\n [class.mat-calendar-body-preview-end]=\"_isPreviewEnd(item.compareValue)\"\n [class.mat-calendar-body-in-preview]=\"_isInPreview(item.compareValue)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-disabled]=\"!item.enabled || null\"\n [attr.aria-selected]=\"_isSelected(item)\"\n (click)=\"_cellClicked(item, $event)\"\n [style.width]=\"_cellWidth\"\n [style.paddingTop]=\"_cellPadding\"\n [style.paddingBottom]=\"_cellPadding\">\n <div class=\"mat-calendar-body-cell-content mat-focus-indicator\"\n [class.mat-calendar-body-selected]=\"_isSelected(item)\"\n [class.mat-calendar-body-today]=\"todayValue === item.compareValue\">\n {{item.displayValue}}\n </div>\n <div class=\"mat-calendar-body-cell-preview\"></div>\n </td>\n</tr>\n",
298
- host: {
299
- 'class': 'mat-calendar-body',
300
- 'role': 'grid',
301
- 'aria-readonly': 'true'
302
- },
303
- exportAs: 'matCalendarBody',
304
- encapsulation: i0.ViewEncapsulation.None,
305
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
306
- styles: [".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:\"\";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n"]
307
- },] }
308
- ];
309
- MatCalendarBody.ctorParameters = function () { return [
310
- { type: i0.ElementRef },
311
- { type: i0.NgZone }
312
- ]; };
313
- MatCalendarBody.propDecorators = {
314
- label: [{ type: i0.Input }],
315
- rows: [{ type: i0.Input }],
316
- todayValue: [{ type: i0.Input }],
317
- startValue: [{ type: i0.Input }],
318
- endValue: [{ type: i0.Input }],
319
- labelMinRequiredCells: [{ type: i0.Input }],
320
- numCols: [{ type: i0.Input }],
321
- activeCell: [{ type: i0.Input }],
322
- isRange: [{ type: i0.Input }],
323
- cellAspectRatio: [{ type: i0.Input }],
324
- comparisonStart: [{ type: i0.Input }],
325
- comparisonEnd: [{ type: i0.Input }],
326
- previewStart: [{ type: i0.Input }],
327
- previewEnd: [{ type: i0.Input }],
328
- selectedValueChange: [{ type: i0.Output }],
329
- previewChange: [{ type: i0.Output }]
330
- };
331
294
  return MatCalendarBody;
332
295
  }());
296
+ MatCalendarBody.decorators = [
297
+ { type: i0.Component, args: [{
298
+ selector: '[mat-calendar-body]',
299
+ template: "<!--\n If there's not enough space in the first row, create a separate label row. We mark this row as\n aria-hidden because we don't want it to be read out as one of the weeks in the month.\n-->\n<tr *ngIf=\"_firstRowOffset < labelMinRequiredCells\" aria-hidden=\"true\">\n <td class=\"mat-calendar-body-label\"\n [attr.colspan]=\"numCols\"\n [style.paddingTop]=\"_cellPadding\"\n [style.paddingBottom]=\"_cellPadding\">\n {{label}}\n </td>\n</tr>\n\n<!-- Create the first row separately so we can include a special spacer cell. -->\n<tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\">\n <!--\n We mark this cell as aria-hidden so it doesn't get read out as one of the days in the week.\n The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n percentage of the width (a variant of the trick described here:\n https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n -->\n <td *ngIf=\"rowIndex === 0 && _firstRowOffset\"\n aria-hidden=\"true\"\n class=\"mat-calendar-body-label\"\n [attr.colspan]=\"_firstRowOffset\"\n [style.paddingTop]=\"_cellPadding\"\n [style.paddingBottom]=\"_cellPadding\">\n {{_firstRowOffset >= labelMinRequiredCells ? label : ''}}\n </td>\n <td *ngFor=\"let item of row; let colIndex = index\"\n role=\"gridcell\"\n class=\"mat-calendar-body-cell\"\n [ngClass]=\"item.cssClasses\"\n [tabindex]=\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\"\n [attr.data-mat-row]=\"rowIndex\"\n [attr.data-mat-col]=\"colIndex\"\n [class.mat-calendar-body-disabled]=\"!item.enabled\"\n [class.mat-calendar-body-active]=\"_isActiveCell(rowIndex, colIndex)\"\n [class.mat-calendar-body-range-start]=\"_isRangeStart(item.compareValue)\"\n [class.mat-calendar-body-range-end]=\"_isRangeEnd(item.compareValue)\"\n [class.mat-calendar-body-in-range]=\"_isInRange(item.compareValue)\"\n [class.mat-calendar-body-comparison-bridge-start]=\"_isComparisonBridgeStart(item.compareValue, rowIndex, colIndex)\"\n [class.mat-calendar-body-comparison-bridge-end]=\"_isComparisonBridgeEnd(item.compareValue, rowIndex, colIndex)\"\n [class.mat-calendar-body-comparison-start]=\"_isComparisonStart(item.compareValue)\"\n [class.mat-calendar-body-comparison-end]=\"_isComparisonEnd(item.compareValue)\"\n [class.mat-calendar-body-in-comparison-range]=\"_isInComparisonRange(item.compareValue)\"\n [class.mat-calendar-body-preview-start]=\"_isPreviewStart(item.compareValue)\"\n [class.mat-calendar-body-preview-end]=\"_isPreviewEnd(item.compareValue)\"\n [class.mat-calendar-body-in-preview]=\"_isInPreview(item.compareValue)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-disabled]=\"!item.enabled || null\"\n [attr.aria-selected]=\"_isSelected(item)\"\n (click)=\"_cellClicked(item, $event)\"\n [style.width]=\"_cellWidth\"\n [style.paddingTop]=\"_cellPadding\"\n [style.paddingBottom]=\"_cellPadding\">\n <div class=\"mat-calendar-body-cell-content mat-focus-indicator\"\n [class.mat-calendar-body-selected]=\"_isSelected(item)\"\n [class.mat-calendar-body-today]=\"todayValue === item.compareValue\">\n {{item.displayValue}}\n </div>\n <div class=\"mat-calendar-body-cell-preview\"></div>\n </td>\n</tr>\n",
300
+ host: {
301
+ 'class': 'mat-calendar-body',
302
+ 'role': 'grid',
303
+ 'aria-readonly': 'true'
304
+ },
305
+ exportAs: 'matCalendarBody',
306
+ encapsulation: i0.ViewEncapsulation.None,
307
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
308
+ styles: [".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:\"\";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n"]
309
+ },] }
310
+ ];
311
+ MatCalendarBody.ctorParameters = function () { return [
312
+ { type: i0.ElementRef },
313
+ { type: i0.NgZone }
314
+ ]; };
315
+ MatCalendarBody.propDecorators = {
316
+ label: [{ type: i0.Input }],
317
+ rows: [{ type: i0.Input }],
318
+ todayValue: [{ type: i0.Input }],
319
+ startValue: [{ type: i0.Input }],
320
+ endValue: [{ type: i0.Input }],
321
+ labelMinRequiredCells: [{ type: i0.Input }],
322
+ numCols: [{ type: i0.Input }],
323
+ activeCell: [{ type: i0.Input }],
324
+ isRange: [{ type: i0.Input }],
325
+ cellAspectRatio: [{ type: i0.Input }],
326
+ comparisonStart: [{ type: i0.Input }],
327
+ comparisonEnd: [{ type: i0.Input }],
328
+ previewStart: [{ type: i0.Input }],
329
+ previewEnd: [{ type: i0.Input }],
330
+ selectedValueChange: [{ type: i0.Output }],
331
+ previewChange: [{ type: i0.Output }]
332
+ };
333
333
  /** Checks whether a node is a table cell element. */
334
334
  function isTableCell(node) {
335
335
  return node.nodeName === 'TD';
@@ -348,241 +348,307 @@
348
348
  value >= start && value <= end;
349
349
  }
350
350
 
351
- /*! *****************************************************************************
352
- Copyright (c) Microsoft Corporation.
353
-
354
- Permission to use, copy, modify, and/or distribute this software for any
355
- purpose with or without fee is hereby granted.
356
-
357
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
358
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
359
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
360
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
361
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
362
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
363
- PERFORMANCE OF THIS SOFTWARE.
364
- ***************************************************************************** */
365
- /* global Reflect, Promise */
366
-
367
- var extendStatics = function(d, b) {
368
- extendStatics = Object.setPrototypeOf ||
369
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
370
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
371
- return extendStatics(d, b);
372
- };
373
-
374
- function __extends(d, b) {
375
- extendStatics(d, b);
376
- function __() { this.constructor = d; }
377
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
378
- }
379
-
380
- var __assign = function() {
381
- __assign = Object.assign || function __assign(t) {
382
- for (var s, i = 1, n = arguments.length; i < n; i++) {
383
- s = arguments[i];
384
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
385
- }
386
- return t;
387
- };
388
- return __assign.apply(this, arguments);
389
- };
390
-
391
- function __rest(s, e) {
392
- var t = {};
393
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
394
- t[p] = s[p];
395
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
396
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
397
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
398
- t[p[i]] = s[p[i]];
399
- }
400
- return t;
401
- }
402
-
403
- function __decorate(decorators, target, key, desc) {
404
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
405
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
406
- 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;
407
- return c > 3 && r && Object.defineProperty(target, key, r), r;
408
- }
409
-
410
- function __param(paramIndex, decorator) {
411
- return function (target, key) { decorator(target, key, paramIndex); }
412
- }
413
-
414
- function __metadata(metadataKey, metadataValue) {
415
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
416
- }
417
-
418
- function __awaiter(thisArg, _arguments, P, generator) {
419
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
420
- return new (P || (P = Promise))(function (resolve, reject) {
421
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
422
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
423
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
424
- step((generator = generator.apply(thisArg, _arguments || [])).next());
425
- });
426
- }
427
-
428
- function __generator(thisArg, body) {
429
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
430
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
431
- function verb(n) { return function (v) { return step([n, v]); }; }
432
- function step(op) {
433
- if (f) throw new TypeError("Generator is already executing.");
434
- while (_) try {
435
- 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;
436
- if (y = 0, t) op = [op[0] & 2, t.value];
437
- switch (op[0]) {
438
- case 0: case 1: t = op; break;
439
- case 4: _.label++; return { value: op[1], done: false };
440
- case 5: _.label++; y = op[1]; op = [0]; continue;
441
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
442
- default:
443
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
444
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
445
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
446
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
447
- if (t[2]) _.ops.pop();
448
- _.trys.pop(); continue;
449
- }
450
- op = body.call(thisArg, _);
451
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
452
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
453
- }
454
- }
455
-
456
- var __createBinding = Object.create ? (function(o, m, k, k2) {
457
- if (k2 === undefined) k2 = k;
458
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
459
- }) : (function(o, m, k, k2) {
460
- if (k2 === undefined) k2 = k;
461
- o[k2] = m[k];
462
- });
463
-
464
- function __exportStar(m, exports) {
465
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
466
- }
467
-
468
- function __values(o) {
469
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
470
- if (m) return m.call(o);
471
- if (o && typeof o.length === "number") return {
472
- next: function () {
473
- if (o && i >= o.length) o = void 0;
474
- return { value: o && o[i++], done: !o };
475
- }
476
- };
477
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
478
- }
479
-
480
- function __read(o, n) {
481
- var m = typeof Symbol === "function" && o[Symbol.iterator];
482
- if (!m) return o;
483
- var i = m.call(o), r, ar = [], e;
484
- try {
485
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
486
- }
487
- catch (error) { e = { error: error }; }
488
- finally {
489
- try {
490
- if (r && !r.done && (m = i["return"])) m.call(i);
491
- }
492
- finally { if (e) throw e.error; }
493
- }
494
- return ar;
495
- }
496
-
497
- function __spread() {
498
- for (var ar = [], i = 0; i < arguments.length; i++)
499
- ar = ar.concat(__read(arguments[i]));
500
- return ar;
501
- }
502
-
503
- function __spreadArrays() {
504
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
505
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
506
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
507
- r[k] = a[j];
508
- return r;
509
- };
510
-
511
- function __await(v) {
512
- return this instanceof __await ? (this.v = v, this) : new __await(v);
513
- }
514
-
515
- function __asyncGenerator(thisArg, _arguments, generator) {
516
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
517
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
518
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
519
- 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); }); }; }
520
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
521
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
522
- function fulfill(value) { resume("next", value); }
523
- function reject(value) { resume("throw", value); }
524
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
525
- }
526
-
527
- function __asyncDelegator(o) {
528
- var i, p;
529
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
530
- 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; }
531
- }
532
-
533
- function __asyncValues(o) {
534
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
535
- var m = o[Symbol.asyncIterator], i;
536
- 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);
537
- 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); }); }; }
538
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
539
- }
540
-
541
- function __makeTemplateObject(cooked, raw) {
542
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
543
- return cooked;
544
- };
545
-
546
- var __setModuleDefault = Object.create ? (function(o, v) {
547
- Object.defineProperty(o, "default", { enumerable: true, value: v });
548
- }) : function(o, v) {
549
- o["default"] = v;
550
- };
551
-
552
- function __importStar(mod) {
553
- if (mod && mod.__esModule) return mod;
554
- var result = {};
555
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
556
- __setModuleDefault(result, mod);
557
- return result;
558
- }
559
-
560
- function __importDefault(mod) {
561
- return (mod && mod.__esModule) ? mod : { default: mod };
562
- }
563
-
564
- function __classPrivateFieldGet(receiver, privateMap) {
565
- if (!privateMap.has(receiver)) {
566
- throw new TypeError("attempted to get private field on non-instance");
567
- }
568
- return privateMap.get(receiver);
569
- }
570
-
571
- function __classPrivateFieldSet(receiver, privateMap, value) {
572
- if (!privateMap.has(receiver)) {
573
- throw new TypeError("attempted to set private field on non-instance");
574
- }
575
- privateMap.set(receiver, value);
576
- return value;
351
+ /*! *****************************************************************************
352
+ Copyright (c) Microsoft Corporation.
353
+
354
+ Permission to use, copy, modify, and/or distribute this software for any
355
+ purpose with or without fee is hereby granted.
356
+
357
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
358
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
359
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
360
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
361
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
362
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
363
+ PERFORMANCE OF THIS SOFTWARE.
364
+ ***************************************************************************** */
365
+ /* global Reflect, Promise */
366
+ var extendStatics = function (d, b) {
367
+ extendStatics = Object.setPrototypeOf ||
368
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
369
+ function (d, b) { for (var p in b)
370
+ if (b.hasOwnProperty(p))
371
+ d[p] = b[p]; };
372
+ return extendStatics(d, b);
373
+ };
374
+ function __extends(d, b) {
375
+ extendStatics(d, b);
376
+ function __() { this.constructor = d; }
377
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
378
+ }
379
+ var __assign = function () {
380
+ __assign = Object.assign || function __assign(t) {
381
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
382
+ s = arguments[i];
383
+ for (var p in s)
384
+ if (Object.prototype.hasOwnProperty.call(s, p))
385
+ t[p] = s[p];
386
+ }
387
+ return t;
388
+ };
389
+ return __assign.apply(this, arguments);
390
+ };
391
+ function __rest(s, e) {
392
+ var t = {};
393
+ for (var p in s)
394
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
395
+ t[p] = s[p];
396
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
397
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
398
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
399
+ t[p[i]] = s[p[i]];
400
+ }
401
+ return t;
402
+ }
403
+ function __decorate(decorators, target, key, desc) {
404
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
405
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
406
+ r = Reflect.decorate(decorators, target, key, desc);
407
+ else
408
+ for (var i = decorators.length - 1; i >= 0; i--)
409
+ if (d = decorators[i])
410
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
411
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
412
+ }
413
+ function __param(paramIndex, decorator) {
414
+ return function (target, key) { decorator(target, key, paramIndex); };
415
+ }
416
+ function __metadata(metadataKey, metadataValue) {
417
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
418
+ return Reflect.metadata(metadataKey, metadataValue);
419
+ }
420
+ function __awaiter(thisArg, _arguments, P, generator) {
421
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
422
+ return new (P || (P = Promise))(function (resolve, reject) {
423
+ function fulfilled(value) { try {
424
+ step(generator.next(value));
425
+ }
426
+ catch (e) {
427
+ reject(e);
428
+ } }
429
+ function rejected(value) { try {
430
+ step(generator["throw"](value));
431
+ }
432
+ catch (e) {
433
+ reject(e);
434
+ } }
435
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
436
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
437
+ });
438
+ }
439
+ function __generator(thisArg, body) {
440
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
441
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
442
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
443
+ function verb(n) { return function (v) { return step([n, v]); }; }
444
+ function step(op) {
445
+ if (f)
446
+ throw new TypeError("Generator is already executing.");
447
+ while (_)
448
+ try {
449
+ 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)
450
+ return t;
451
+ if (y = 0, t)
452
+ op = [op[0] & 2, t.value];
453
+ switch (op[0]) {
454
+ case 0:
455
+ case 1:
456
+ t = op;
457
+ break;
458
+ case 4:
459
+ _.label++;
460
+ return { value: op[1], done: false };
461
+ case 5:
462
+ _.label++;
463
+ y = op[1];
464
+ op = [0];
465
+ continue;
466
+ case 7:
467
+ op = _.ops.pop();
468
+ _.trys.pop();
469
+ continue;
470
+ default:
471
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
472
+ _ = 0;
473
+ continue;
474
+ }
475
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
476
+ _.label = op[1];
477
+ break;
478
+ }
479
+ if (op[0] === 6 && _.label < t[1]) {
480
+ _.label = t[1];
481
+ t = op;
482
+ break;
483
+ }
484
+ if (t && _.label < t[2]) {
485
+ _.label = t[2];
486
+ _.ops.push(op);
487
+ break;
488
+ }
489
+ if (t[2])
490
+ _.ops.pop();
491
+ _.trys.pop();
492
+ continue;
493
+ }
494
+ op = body.call(thisArg, _);
495
+ }
496
+ catch (e) {
497
+ op = [6, e];
498
+ y = 0;
499
+ }
500
+ finally {
501
+ f = t = 0;
502
+ }
503
+ if (op[0] & 5)
504
+ throw op[1];
505
+ return { value: op[0] ? op[1] : void 0, done: true };
506
+ }
507
+ }
508
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
509
+ if (k2 === undefined)
510
+ k2 = k;
511
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
512
+ }) : (function (o, m, k, k2) {
513
+ if (k2 === undefined)
514
+ k2 = k;
515
+ o[k2] = m[k];
516
+ });
517
+ function __exportStar(m, exports) {
518
+ for (var p in m)
519
+ if (p !== "default" && !exports.hasOwnProperty(p))
520
+ __createBinding(exports, m, p);
521
+ }
522
+ function __values(o) {
523
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
524
+ if (m)
525
+ return m.call(o);
526
+ if (o && typeof o.length === "number")
527
+ return {
528
+ next: function () {
529
+ if (o && i >= o.length)
530
+ o = void 0;
531
+ return { value: o && o[i++], done: !o };
532
+ }
533
+ };
534
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
535
+ }
536
+ function __read(o, n) {
537
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
538
+ if (!m)
539
+ return o;
540
+ var i = m.call(o), r, ar = [], e;
541
+ try {
542
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
543
+ ar.push(r.value);
544
+ }
545
+ catch (error) {
546
+ e = { error: error };
547
+ }
548
+ finally {
549
+ try {
550
+ if (r && !r.done && (m = i["return"]))
551
+ m.call(i);
552
+ }
553
+ finally {
554
+ if (e)
555
+ throw e.error;
556
+ }
557
+ }
558
+ return ar;
559
+ }
560
+ function __spread() {
561
+ for (var ar = [], i = 0; i < arguments.length; i++)
562
+ ar = ar.concat(__read(arguments[i]));
563
+ return ar;
564
+ }
565
+ function __spreadArrays() {
566
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
567
+ s += arguments[i].length;
568
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
569
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
570
+ r[k] = a[j];
571
+ return r;
572
+ }
573
+ ;
574
+ function __await(v) {
575
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
576
+ }
577
+ function __asyncGenerator(thisArg, _arguments, generator) {
578
+ if (!Symbol.asyncIterator)
579
+ throw new TypeError("Symbol.asyncIterator is not defined.");
580
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
581
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
582
+ function verb(n) { if (g[n])
583
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
584
+ function resume(n, v) { try {
585
+ step(g[n](v));
586
+ }
587
+ catch (e) {
588
+ settle(q[0][3], e);
589
+ } }
590
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
591
+ function fulfill(value) { resume("next", value); }
592
+ function reject(value) { resume("throw", value); }
593
+ function settle(f, v) { if (f(v), q.shift(), q.length)
594
+ resume(q[0][0], q[0][1]); }
595
+ }
596
+ function __asyncDelegator(o) {
597
+ var i, p;
598
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
599
+ 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; }
600
+ }
601
+ function __asyncValues(o) {
602
+ if (!Symbol.asyncIterator)
603
+ throw new TypeError("Symbol.asyncIterator is not defined.");
604
+ var m = o[Symbol.asyncIterator], i;
605
+ 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);
606
+ 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); }); }; }
607
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
608
+ }
609
+ function __makeTemplateObject(cooked, raw) {
610
+ if (Object.defineProperty) {
611
+ Object.defineProperty(cooked, "raw", { value: raw });
612
+ }
613
+ else {
614
+ cooked.raw = raw;
615
+ }
616
+ return cooked;
617
+ }
618
+ ;
619
+ var __setModuleDefault = Object.create ? (function (o, v) {
620
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
621
+ }) : function (o, v) {
622
+ o["default"] = v;
623
+ };
624
+ function __importStar(mod) {
625
+ if (mod && mod.__esModule)
626
+ return mod;
627
+ var result = {};
628
+ if (mod != null)
629
+ for (var k in mod)
630
+ if (Object.hasOwnProperty.call(mod, k))
631
+ __createBinding(result, mod, k);
632
+ __setModuleDefault(result, mod);
633
+ return result;
634
+ }
635
+ function __importDefault(mod) {
636
+ return (mod && mod.__esModule) ? mod : { default: mod };
637
+ }
638
+ function __classPrivateFieldGet(receiver, privateMap) {
639
+ if (!privateMap.has(receiver)) {
640
+ throw new TypeError("attempted to get private field on non-instance");
641
+ }
642
+ return privateMap.get(receiver);
643
+ }
644
+ function __classPrivateFieldSet(receiver, privateMap, value) {
645
+ if (!privateMap.has(receiver)) {
646
+ throw new TypeError("attempted to set private field on non-instance");
647
+ }
648
+ privateMap.set(receiver, value);
649
+ return value;
577
650
  }
578
651
 
579
- /**
580
- * @license
581
- * Copyright Google LLC All Rights Reserved.
582
- *
583
- * Use of this source code is governed by an MIT-style license that can be
584
- * found in the LICENSE file at https://angular.io/license
585
- */
586
652
  /** A class representing a range of dates. */
587
653
  var DateRange = /** @class */ (function () {
588
654
  function DateRange(
@@ -622,15 +688,15 @@
622
688
  MatDateSelectionModel.prototype._isValidDateInstance = function (date) {
623
689
  return this._adapter.isDateInstance(date) && this._adapter.isValid(date);
624
690
  };
625
- MatDateSelectionModel.decorators = [
626
- { type: i0.Directive }
627
- ];
628
- MatDateSelectionModel.ctorParameters = function () { return [
629
- { type: undefined },
630
- { type: core.DateAdapter }
631
- ]; };
632
691
  return MatDateSelectionModel;
633
692
  }());
693
+ MatDateSelectionModel.decorators = [
694
+ { type: i0.Directive }
695
+ ];
696
+ MatDateSelectionModel.ctorParameters = function () { return [
697
+ { type: undefined },
698
+ { type: core.DateAdapter }
699
+ ]; };
634
700
  /** A selection model that contains a single date. */
635
701
  var MatSingleDateSelectionModel = /** @class */ (function (_super) {
636
702
  __extends(MatSingleDateSelectionModel, _super);
@@ -655,14 +721,14 @@
655
721
  MatSingleDateSelectionModel.prototype.isComplete = function () {
656
722
  return this.selection != null;
657
723
  };
658
- MatSingleDateSelectionModel.decorators = [
659
- { type: i0.Injectable }
660
- ];
661
- MatSingleDateSelectionModel.ctorParameters = function () { return [
662
- { type: core.DateAdapter }
663
- ]; };
664
724
  return MatSingleDateSelectionModel;
665
725
  }(MatDateSelectionModel));
726
+ MatSingleDateSelectionModel.decorators = [
727
+ { type: i0.Injectable }
728
+ ];
729
+ MatSingleDateSelectionModel.ctorParameters = function () { return [
730
+ { type: core.DateAdapter }
731
+ ]; };
666
732
  /** A selection model that contains a date range. */
667
733
  var MatRangeDateSelectionModel = /** @class */ (function (_super) {
668
734
  __extends(MatRangeDateSelectionModel, _super);
@@ -711,14 +777,14 @@
711
777
  MatRangeDateSelectionModel.prototype.isComplete = function () {
712
778
  return this.selection.start != null && this.selection.end != null;
713
779
  };
714
- MatRangeDateSelectionModel.decorators = [
715
- { type: i0.Injectable }
716
- ];
717
- MatRangeDateSelectionModel.ctorParameters = function () { return [
718
- { type: core.DateAdapter }
719
- ]; };
720
780
  return MatRangeDateSelectionModel;
721
781
  }(MatDateSelectionModel));
782
+ MatRangeDateSelectionModel.decorators = [
783
+ { type: i0.Injectable }
784
+ ];
785
+ MatRangeDateSelectionModel.ctorParameters = function () { return [
786
+ { type: core.DateAdapter }
787
+ ]; };
722
788
  /** @docs-private */
723
789
  function MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent, adapter) {
724
790
  return parent || new MatSingleDateSelectionModel(adapter);
@@ -777,14 +843,14 @@
777
843
  }
778
844
  return new DateRange(start, end);
779
845
  };
780
- DefaultMatCalendarRangeStrategy.decorators = [
781
- { type: i0.Injectable }
782
- ];
783
- DefaultMatCalendarRangeStrategy.ctorParameters = function () { return [
784
- { type: core.DateAdapter }
785
- ]; };
786
846
  return DefaultMatCalendarRangeStrategy;
787
847
  }());
848
+ DefaultMatCalendarRangeStrategy.decorators = [
849
+ { type: i0.Injectable }
850
+ ];
851
+ DefaultMatCalendarRangeStrategy.ctorParameters = function () { return [
852
+ { type: core.DateAdapter }
853
+ ]; };
788
854
 
789
855
  /**
790
856
  * @license
@@ -1085,38 +1151,38 @@
1085
1151
  this._comparisonRangeStart = this._getCellCompareValue(this.comparisonStart);
1086
1152
  this._comparisonRangeEnd = this._getCellCompareValue(this.comparisonEnd);
1087
1153
  };
1088
- MatMonthView.decorators = [
1089
- { type: i0.Component, args: [{
1090
- selector: 'mat-month-view',
1091
- template: "<table class=\"mat-calendar-table\" role=\"presentation\">\n <thead class=\"mat-calendar-table-header\">\n <tr>\n <th scope=\"col\" *ngFor=\"let day of _weekdays\" [attr.aria-label]=\"day.long\">{{day.narrow}}</th>\n </tr>\n <tr><th class=\"mat-calendar-table-header-divider\" colspan=\"7\" aria-hidden=\"true\"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [label]=\"_monthLabel\"\n [rows]=\"_weeks\"\n [todayValue]=\"_todayDate!\"\n [startValue]=\"_rangeStart!\"\n [endValue]=\"_rangeEnd!\"\n [comparisonStart]=\"_comparisonRangeStart\"\n [comparisonEnd]=\"_comparisonRangeEnd\"\n [previewStart]=\"_previewStart\"\n [previewEnd]=\"_previewEnd\"\n [isRange]=\"_isRange\"\n [labelMinRequiredCells]=\"3\"\n [activeCell]=\"_dateAdapter.getDate(activeDate) - 1\"\n (selectedValueChange)=\"_dateSelected($event)\"\n (previewChange)=\"_previewChanged($event)\"\n (keydown)=\"_handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
1092
- exportAs: 'matMonthView',
1093
- encapsulation: i0.ViewEncapsulation.None,
1094
- changeDetection: i0.ChangeDetectionStrategy.OnPush
1095
- },] }
1096
- ];
1097
- MatMonthView.ctorParameters = function () { return [
1098
- { type: i0.ChangeDetectorRef },
1099
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
1100
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1101
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
1102
- { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_SELECTION_STRATEGY,] }, { type: i0.Optional }] }
1103
- ]; };
1104
- MatMonthView.propDecorators = {
1105
- activeDate: [{ type: i0.Input }],
1106
- selected: [{ type: i0.Input }],
1107
- minDate: [{ type: i0.Input }],
1108
- maxDate: [{ type: i0.Input }],
1109
- dateFilter: [{ type: i0.Input }],
1110
- dateClass: [{ type: i0.Input }],
1111
- comparisonStart: [{ type: i0.Input }],
1112
- comparisonEnd: [{ type: i0.Input }],
1113
- selectedChange: [{ type: i0.Output }],
1114
- _userSelection: [{ type: i0.Output }],
1115
- activeDateChange: [{ type: i0.Output }],
1116
- _matCalendarBody: [{ type: i0.ViewChild, args: [MatCalendarBody,] }]
1117
- };
1118
1154
  return MatMonthView;
1119
1155
  }());
1156
+ MatMonthView.decorators = [
1157
+ { type: i0.Component, args: [{
1158
+ selector: 'mat-month-view',
1159
+ template: "<table class=\"mat-calendar-table\" role=\"presentation\">\n <thead class=\"mat-calendar-table-header\">\n <tr>\n <th scope=\"col\" *ngFor=\"let day of _weekdays\" [attr.aria-label]=\"day.long\">{{day.narrow}}</th>\n </tr>\n <tr><th class=\"mat-calendar-table-header-divider\" colspan=\"7\" aria-hidden=\"true\"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [label]=\"_monthLabel\"\n [rows]=\"_weeks\"\n [todayValue]=\"_todayDate!\"\n [startValue]=\"_rangeStart!\"\n [endValue]=\"_rangeEnd!\"\n [comparisonStart]=\"_comparisonRangeStart\"\n [comparisonEnd]=\"_comparisonRangeEnd\"\n [previewStart]=\"_previewStart\"\n [previewEnd]=\"_previewEnd\"\n [isRange]=\"_isRange\"\n [labelMinRequiredCells]=\"3\"\n [activeCell]=\"_dateAdapter.getDate(activeDate) - 1\"\n (selectedValueChange)=\"_dateSelected($event)\"\n (previewChange)=\"_previewChanged($event)\"\n (keydown)=\"_handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
1160
+ exportAs: 'matMonthView',
1161
+ encapsulation: i0.ViewEncapsulation.None,
1162
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
1163
+ },] }
1164
+ ];
1165
+ MatMonthView.ctorParameters = function () { return [
1166
+ { type: i0.ChangeDetectorRef },
1167
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
1168
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1169
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
1170
+ { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_SELECTION_STRATEGY,] }, { type: i0.Optional }] }
1171
+ ]; };
1172
+ MatMonthView.propDecorators = {
1173
+ activeDate: [{ type: i0.Input }],
1174
+ selected: [{ type: i0.Input }],
1175
+ minDate: [{ type: i0.Input }],
1176
+ maxDate: [{ type: i0.Input }],
1177
+ dateFilter: [{ type: i0.Input }],
1178
+ dateClass: [{ type: i0.Input }],
1179
+ comparisonStart: [{ type: i0.Input }],
1180
+ comparisonEnd: [{ type: i0.Input }],
1181
+ selectedChange: [{ type: i0.Output }],
1182
+ _userSelection: [{ type: i0.Output }],
1183
+ activeDateChange: [{ type: i0.Output }],
1184
+ _matCalendarBody: [{ type: i0.ViewChild, args: [MatCalendarBody,] }]
1185
+ };
1120
1186
 
1121
1187
  /**
1122
1188
  * @license
@@ -1336,33 +1402,33 @@
1336
1402
  this._selectedYear = this._dateAdapter.getYear(value);
1337
1403
  }
1338
1404
  };
1339
- MatMultiYearView.decorators = [
1340
- { type: i0.Component, args: [{
1341
- selector: 'mat-multi-year-view',
1342
- template: "<table class=\"mat-calendar-table\" role=\"presentation\">\n <thead class=\"mat-calendar-table-header\">\n <tr><th class=\"mat-calendar-table-header-divider\" colspan=\"4\"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [rows]=\"_years\"\n [todayValue]=\"_todayYear\"\n [startValue]=\"_selectedYear!\"\n [endValue]=\"_selectedYear!\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"_getActiveCell()\"\n (selectedValueChange)=\"_yearSelected($event)\"\n (keydown)=\"_handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
1343
- exportAs: 'matMultiYearView',
1344
- encapsulation: i0.ViewEncapsulation.None,
1345
- changeDetection: i0.ChangeDetectionStrategy.OnPush
1346
- },] }
1347
- ];
1348
- MatMultiYearView.ctorParameters = function () { return [
1349
- { type: i0.ChangeDetectorRef },
1350
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1351
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
1352
- ]; };
1353
- MatMultiYearView.propDecorators = {
1354
- activeDate: [{ type: i0.Input }],
1355
- selected: [{ type: i0.Input }],
1356
- minDate: [{ type: i0.Input }],
1357
- maxDate: [{ type: i0.Input }],
1358
- dateFilter: [{ type: i0.Input }],
1359
- selectedChange: [{ type: i0.Output }],
1360
- yearSelected: [{ type: i0.Output }],
1361
- activeDateChange: [{ type: i0.Output }],
1362
- _matCalendarBody: [{ type: i0.ViewChild, args: [MatCalendarBody,] }]
1363
- };
1364
1405
  return MatMultiYearView;
1365
1406
  }());
1407
+ MatMultiYearView.decorators = [
1408
+ { type: i0.Component, args: [{
1409
+ selector: 'mat-multi-year-view',
1410
+ template: "<table class=\"mat-calendar-table\" role=\"presentation\">\n <thead class=\"mat-calendar-table-header\">\n <tr><th class=\"mat-calendar-table-header-divider\" colspan=\"4\"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [rows]=\"_years\"\n [todayValue]=\"_todayYear\"\n [startValue]=\"_selectedYear!\"\n [endValue]=\"_selectedYear!\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"_getActiveCell()\"\n (selectedValueChange)=\"_yearSelected($event)\"\n (keydown)=\"_handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
1411
+ exportAs: 'matMultiYearView',
1412
+ encapsulation: i0.ViewEncapsulation.None,
1413
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
1414
+ },] }
1415
+ ];
1416
+ MatMultiYearView.ctorParameters = function () { return [
1417
+ { type: i0.ChangeDetectorRef },
1418
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1419
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
1420
+ ]; };
1421
+ MatMultiYearView.propDecorators = {
1422
+ activeDate: [{ type: i0.Input }],
1423
+ selected: [{ type: i0.Input }],
1424
+ minDate: [{ type: i0.Input }],
1425
+ maxDate: [{ type: i0.Input }],
1426
+ dateFilter: [{ type: i0.Input }],
1427
+ selectedChange: [{ type: i0.Output }],
1428
+ yearSelected: [{ type: i0.Output }],
1429
+ activeDateChange: [{ type: i0.Output }],
1430
+ _matCalendarBody: [{ type: i0.ViewChild, args: [MatCalendarBody,] }]
1431
+ };
1366
1432
  function isSameMultiYearView(dateAdapter, date1, date2, minDate, maxDate) {
1367
1433
  var year1 = dateAdapter.getYear(date1);
1368
1434
  var year2 = dateAdapter.getYear(date2);
@@ -1637,34 +1703,34 @@
1637
1703
  this._selectedMonth = this._getMonthInCurrentYear(value);
1638
1704
  }
1639
1705
  };
1640
- MatYearView.decorators = [
1641
- { type: i0.Component, args: [{
1642
- selector: 'mat-year-view',
1643
- template: "<table class=\"mat-calendar-table\" role=\"presentation\">\n <thead class=\"mat-calendar-table-header\">\n <tr><th class=\"mat-calendar-table-header-divider\" colspan=\"4\"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [label]=\"_yearLabel\"\n [rows]=\"_months\"\n [todayValue]=\"_todayMonth!\"\n [startValue]=\"_selectedMonth!\"\n [endValue]=\"_selectedMonth!\"\n [labelMinRequiredCells]=\"2\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"_dateAdapter.getMonth(activeDate)\"\n (selectedValueChange)=\"_monthSelected($event)\"\n (keydown)=\"_handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
1644
- exportAs: 'matYearView',
1645
- encapsulation: i0.ViewEncapsulation.None,
1646
- changeDetection: i0.ChangeDetectionStrategy.OnPush
1647
- },] }
1648
- ];
1649
- MatYearView.ctorParameters = function () { return [
1650
- { type: i0.ChangeDetectorRef },
1651
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
1652
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1653
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
1654
- ]; };
1655
- MatYearView.propDecorators = {
1656
- activeDate: [{ type: i0.Input }],
1657
- selected: [{ type: i0.Input }],
1658
- minDate: [{ type: i0.Input }],
1659
- maxDate: [{ type: i0.Input }],
1660
- dateFilter: [{ type: i0.Input }],
1661
- selectedChange: [{ type: i0.Output }],
1662
- monthSelected: [{ type: i0.Output }],
1663
- activeDateChange: [{ type: i0.Output }],
1664
- _matCalendarBody: [{ type: i0.ViewChild, args: [MatCalendarBody,] }]
1665
- };
1666
1706
  return MatYearView;
1667
1707
  }());
1708
+ MatYearView.decorators = [
1709
+ { type: i0.Component, args: [{
1710
+ selector: 'mat-year-view',
1711
+ template: "<table class=\"mat-calendar-table\" role=\"presentation\">\n <thead class=\"mat-calendar-table-header\">\n <tr><th class=\"mat-calendar-table-header-divider\" colspan=\"4\"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [label]=\"_yearLabel\"\n [rows]=\"_months\"\n [todayValue]=\"_todayMonth!\"\n [startValue]=\"_selectedMonth!\"\n [endValue]=\"_selectedMonth!\"\n [labelMinRequiredCells]=\"2\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"_dateAdapter.getMonth(activeDate)\"\n (selectedValueChange)=\"_monthSelected($event)\"\n (keydown)=\"_handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
1712
+ exportAs: 'matYearView',
1713
+ encapsulation: i0.ViewEncapsulation.None,
1714
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
1715
+ },] }
1716
+ ];
1717
+ MatYearView.ctorParameters = function () { return [
1718
+ { type: i0.ChangeDetectorRef },
1719
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
1720
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1721
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
1722
+ ]; };
1723
+ MatYearView.propDecorators = {
1724
+ activeDate: [{ type: i0.Input }],
1725
+ selected: [{ type: i0.Input }],
1726
+ minDate: [{ type: i0.Input }],
1727
+ maxDate: [{ type: i0.Input }],
1728
+ dateFilter: [{ type: i0.Input }],
1729
+ selectedChange: [{ type: i0.Output }],
1730
+ monthSelected: [{ type: i0.Output }],
1731
+ activeDateChange: [{ type: i0.Output }],
1732
+ _matCalendarBody: [{ type: i0.ViewChild, args: [MatCalendarBody,] }]
1733
+ };
1668
1734
 
1669
1735
  /**
1670
1736
  * @license
@@ -1779,24 +1845,24 @@
1779
1845
  // Otherwise we are in 'multi-year' view.
1780
1846
  return isSameMultiYearView(this._dateAdapter, date1, date2, this.calendar.minDate, this.calendar.maxDate);
1781
1847
  };
1782
- MatCalendarHeader.decorators = [
1783
- { type: i0.Component, args: [{
1784
- selector: 'mat-calendar-header',
1785
- template: "<div class=\"mat-calendar-header\">\n <div class=\"mat-calendar-controls\">\n <button mat-button type=\"button\" class=\"mat-calendar-period-button\"\n (click)=\"currentPeriodClicked()\" [attr.aria-label]=\"periodButtonLabel\"\n cdkAriaLive=\"polite\">\n {{periodButtonText}}\n <div class=\"mat-calendar-arrow\"\n [class.mat-calendar-invert]=\"calendar.currentView != 'month'\"></div>\n </button>\n\n <div class=\"mat-calendar-spacer\"></div>\n\n <ng-content></ng-content>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-previous-button\"\n [disabled]=\"!previousEnabled()\" (click)=\"previousClicked()\"\n [attr.aria-label]=\"prevButtonLabel\">\n </button>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-next-button\"\n [disabled]=\"!nextEnabled()\" (click)=\"nextClicked()\"\n [attr.aria-label]=\"nextButtonLabel\">\n </button>\n </div>\n</div>\n",
1786
- exportAs: 'matCalendarHeader',
1787
- encapsulation: i0.ViewEncapsulation.None,
1788
- changeDetection: i0.ChangeDetectionStrategy.OnPush
1789
- },] }
1790
- ];
1791
- MatCalendarHeader.ctorParameters = function () { return [
1792
- { type: MatDatepickerIntl },
1793
- { type: MatCalendar, decorators: [{ type: i0.Inject, args: [i0.forwardRef(function () { return MatCalendar; }),] }] },
1794
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1795
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
1796
- { type: i0.ChangeDetectorRef }
1797
- ]; };
1798
1848
  return MatCalendarHeader;
1799
1849
  }());
1850
+ MatCalendarHeader.decorators = [
1851
+ { type: i0.Component, args: [{
1852
+ selector: 'mat-calendar-header',
1853
+ template: "<div class=\"mat-calendar-header\">\n <div class=\"mat-calendar-controls\">\n <button mat-button type=\"button\" class=\"mat-calendar-period-button\"\n (click)=\"currentPeriodClicked()\" [attr.aria-label]=\"periodButtonLabel\"\n cdkAriaLive=\"polite\">\n {{periodButtonText}}\n <div class=\"mat-calendar-arrow\"\n [class.mat-calendar-invert]=\"calendar.currentView != 'month'\"></div>\n </button>\n\n <div class=\"mat-calendar-spacer\"></div>\n\n <ng-content></ng-content>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-previous-button\"\n [disabled]=\"!previousEnabled()\" (click)=\"previousClicked()\"\n [attr.aria-label]=\"prevButtonLabel\">\n </button>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-next-button\"\n [disabled]=\"!nextEnabled()\" (click)=\"nextClicked()\"\n [attr.aria-label]=\"nextButtonLabel\">\n </button>\n </div>\n</div>\n",
1854
+ exportAs: 'matCalendarHeader',
1855
+ encapsulation: i0.ViewEncapsulation.None,
1856
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
1857
+ },] }
1858
+ ];
1859
+ MatCalendarHeader.ctorParameters = function () { return [
1860
+ { type: MatDatepickerIntl },
1861
+ { type: MatCalendar, decorators: [{ type: i0.Inject, args: [i0.forwardRef(function () { return MatCalendar; }),] }] },
1862
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
1863
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
1864
+ { type: i0.ChangeDetectorRef }
1865
+ ]; };
1800
1866
  /**
1801
1867
  * A calendar that is used as part of the datepicker.
1802
1868
  * @docs-private
@@ -1995,47 +2061,47 @@
1995
2061
  MatCalendar.prototype._getCurrentViewComponent = function () {
1996
2062
  return this.monthView || this.yearView || this.multiYearView;
1997
2063
  };
1998
- MatCalendar.decorators = [
1999
- { type: i0.Component, args: [{
2000
- selector: 'mat-calendar',
2001
- template: "<ng-template [cdkPortalOutlet]=\"_calendarHeaderPortal\"></ng-template>\n\n<div class=\"mat-calendar-content\" [ngSwitch]=\"currentView\" cdkMonitorSubtreeFocus tabindex=\"-1\">\n <mat-month-view\n *ngSwitchCase=\"'month'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [dateClass]=\"dateClass\"\n [comparisonStart]=\"comparisonStart\"\n [comparisonEnd]=\"comparisonEnd\"\n (_userSelection)=\"_dateSelected($event)\">\n </mat-month-view>\n\n <mat-year-view\n *ngSwitchCase=\"'year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (monthSelected)=\"_monthSelectedInYearView($event)\"\n (selectedChange)=\"_goToDateInView($event, 'month')\">\n </mat-year-view>\n\n <mat-multi-year-view\n *ngSwitchCase=\"'multi-year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (yearSelected)=\"_yearSelectedInMultiYearView($event)\"\n (selectedChange)=\"_goToDateInView($event, 'year')\">\n </mat-multi-year-view>\n</div>\n",
2002
- host: {
2003
- 'class': 'mat-calendar',
2004
- },
2005
- exportAs: 'matCalendar',
2006
- encapsulation: i0.ViewEncapsulation.None,
2007
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2008
- providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER],
2009
- styles: [".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\"\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\"\";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n"]
2010
- },] }
2011
- ];
2012
- MatCalendar.ctorParameters = function () { return [
2013
- { type: MatDatepickerIntl },
2014
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
2015
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
2016
- { type: i0.ChangeDetectorRef }
2017
- ]; };
2018
- MatCalendar.propDecorators = {
2019
- headerComponent: [{ type: i0.Input }],
2020
- startAt: [{ type: i0.Input }],
2021
- startView: [{ type: i0.Input }],
2022
- selected: [{ type: i0.Input }],
2023
- minDate: [{ type: i0.Input }],
2024
- maxDate: [{ type: i0.Input }],
2025
- dateFilter: [{ type: i0.Input }],
2026
- dateClass: [{ type: i0.Input }],
2027
- comparisonStart: [{ type: i0.Input }],
2028
- comparisonEnd: [{ type: i0.Input }],
2029
- selectedChange: [{ type: i0.Output }],
2030
- yearSelected: [{ type: i0.Output }],
2031
- monthSelected: [{ type: i0.Output }],
2032
- _userSelection: [{ type: i0.Output }],
2033
- monthView: [{ type: i0.ViewChild, args: [MatMonthView,] }],
2034
- yearView: [{ type: i0.ViewChild, args: [MatYearView,] }],
2035
- multiYearView: [{ type: i0.ViewChild, args: [MatMultiYearView,] }]
2036
- };
2037
2064
  return MatCalendar;
2038
2065
  }());
2066
+ MatCalendar.decorators = [
2067
+ { type: i0.Component, args: [{
2068
+ selector: 'mat-calendar',
2069
+ template: "<ng-template [cdkPortalOutlet]=\"_calendarHeaderPortal\"></ng-template>\n\n<div class=\"mat-calendar-content\" [ngSwitch]=\"currentView\" cdkMonitorSubtreeFocus tabindex=\"-1\">\n <mat-month-view\n *ngSwitchCase=\"'month'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [dateClass]=\"dateClass\"\n [comparisonStart]=\"comparisonStart\"\n [comparisonEnd]=\"comparisonEnd\"\n (_userSelection)=\"_dateSelected($event)\">\n </mat-month-view>\n\n <mat-year-view\n *ngSwitchCase=\"'year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (monthSelected)=\"_monthSelectedInYearView($event)\"\n (selectedChange)=\"_goToDateInView($event, 'month')\">\n </mat-year-view>\n\n <mat-multi-year-view\n *ngSwitchCase=\"'multi-year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (yearSelected)=\"_yearSelectedInMultiYearView($event)\"\n (selectedChange)=\"_goToDateInView($event, 'year')\">\n </mat-multi-year-view>\n</div>\n",
2070
+ host: {
2071
+ 'class': 'mat-calendar',
2072
+ },
2073
+ exportAs: 'matCalendar',
2074
+ encapsulation: i0.ViewEncapsulation.None,
2075
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2076
+ providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER],
2077
+ styles: [".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\"\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\"\";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n"]
2078
+ },] }
2079
+ ];
2080
+ MatCalendar.ctorParameters = function () { return [
2081
+ { type: MatDatepickerIntl },
2082
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
2083
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
2084
+ { type: i0.ChangeDetectorRef }
2085
+ ]; };
2086
+ MatCalendar.propDecorators = {
2087
+ headerComponent: [{ type: i0.Input }],
2088
+ startAt: [{ type: i0.Input }],
2089
+ startView: [{ type: i0.Input }],
2090
+ selected: [{ type: i0.Input }],
2091
+ minDate: [{ type: i0.Input }],
2092
+ maxDate: [{ type: i0.Input }],
2093
+ dateFilter: [{ type: i0.Input }],
2094
+ dateClass: [{ type: i0.Input }],
2095
+ comparisonStart: [{ type: i0.Input }],
2096
+ comparisonEnd: [{ type: i0.Input }],
2097
+ selectedChange: [{ type: i0.Output }],
2098
+ yearSelected: [{ type: i0.Output }],
2099
+ monthSelected: [{ type: i0.Output }],
2100
+ _userSelection: [{ type: i0.Output }],
2101
+ monthView: [{ type: i0.ViewChild, args: [MatMonthView,] }],
2102
+ yearView: [{ type: i0.ViewChild, args: [MatYearView,] }],
2103
+ multiYearView: [{ type: i0.ViewChild, args: [MatMultiYearView,] }]
2104
+ };
2039
2105
 
2040
2106
  /**
2041
2107
  * @license
@@ -2071,13 +2137,6 @@
2071
2137
  ])
2072
2138
  };
2073
2139
 
2074
- /**
2075
- * @license
2076
- * Copyright Google LLC All Rights Reserved.
2077
- *
2078
- * Use of this source code is governed by an MIT-style license that can be
2079
- * found in the LICENSE file at https://angular.io/license
2080
- */
2081
2140
  /** Used to generate a unique ID for each datepicker instance. */
2082
2141
  var datepickerUid = 0;
2083
2142
  /** Injection token that determines the scroll handling while the calendar is open. */
@@ -2179,39 +2238,39 @@
2179
2238
  // @breaking-change 11.0.0 Remove null check for `_model`.
2180
2239
  return this._model ? this._model.selection : null;
2181
2240
  };
2182
- MatDatepickerContent.decorators = [
2183
- { type: i0.Component, args: [{
2184
- selector: 'mat-datepicker-content',
2185
- template: "<mat-calendar cdkTrapFocus\n [id]=\"datepicker.id\"\n [ngClass]=\"datepicker.panelClass\"\n [startAt]=\"datepicker.startAt\"\n [startView]=\"datepicker.startView\"\n [minDate]=\"datepicker._getMinDate()\"\n [maxDate]=\"datepicker._getMaxDate()\"\n [dateFilter]=\"datepicker._getDateFilter()\"\n [headerComponent]=\"datepicker.calendarHeaderComponent\"\n [selected]=\"_getSelected()\"\n [dateClass]=\"datepicker.dateClass\"\n [comparisonStart]=\"comparisonStart\"\n [comparisonEnd]=\"comparisonEnd\"\n [@fadeInCalendar]=\"'enter'\"\n (yearSelected)=\"datepicker._selectYear($event)\"\n (monthSelected)=\"datepicker._selectMonth($event)\"\n (_userSelection)=\"_handleUserSelection($event)\">\n</mat-calendar>\n",
2186
- host: {
2187
- 'class': 'mat-datepicker-content',
2188
- '[@transformPanel]': '_animationState',
2189
- '(@transformPanel.done)': '_animationDone.next()',
2190
- '[class.mat-datepicker-content-touch]': 'datepicker.touchUi',
2191
- },
2192
- animations: [
2193
- matDatepickerAnimations.transformPanel,
2194
- matDatepickerAnimations.fadeInCalendar,
2195
- ],
2196
- exportAs: 'matDatepickerContent',
2197
- encapsulation: i0.ViewEncapsulation.None,
2198
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2199
- inputs: ['color'],
2200
- styles: [".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"]
2201
- },] }
2202
- ];
2203
- MatDatepickerContent.ctorParameters = function () { return [
2204
- { type: i0.ElementRef },
2205
- { type: i0.ChangeDetectorRef },
2206
- { type: MatDateSelectionModel },
2207
- { type: core.DateAdapter },
2208
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_RANGE_SELECTION_STRATEGY,] }] }
2209
- ]; };
2210
- MatDatepickerContent.propDecorators = {
2211
- _calendar: [{ type: i0.ViewChild, args: [MatCalendar,] }]
2212
- };
2213
2241
  return MatDatepickerContent;
2214
2242
  }(_MatDatepickerContentMixinBase));
2243
+ MatDatepickerContent.decorators = [
2244
+ { type: i0.Component, args: [{
2245
+ selector: 'mat-datepicker-content',
2246
+ template: "<mat-calendar cdkTrapFocus\n [id]=\"datepicker.id\"\n [ngClass]=\"datepicker.panelClass\"\n [startAt]=\"datepicker.startAt\"\n [startView]=\"datepicker.startView\"\n [minDate]=\"datepicker._getMinDate()\"\n [maxDate]=\"datepicker._getMaxDate()\"\n [dateFilter]=\"datepicker._getDateFilter()\"\n [headerComponent]=\"datepicker.calendarHeaderComponent\"\n [selected]=\"_getSelected()\"\n [dateClass]=\"datepicker.dateClass\"\n [comparisonStart]=\"comparisonStart\"\n [comparisonEnd]=\"comparisonEnd\"\n [@fadeInCalendar]=\"'enter'\"\n (yearSelected)=\"datepicker._selectYear($event)\"\n (monthSelected)=\"datepicker._selectMonth($event)\"\n (_userSelection)=\"_handleUserSelection($event)\">\n</mat-calendar>\n",
2247
+ host: {
2248
+ 'class': 'mat-datepicker-content',
2249
+ '[@transformPanel]': '_animationState',
2250
+ '(@transformPanel.done)': '_animationDone.next()',
2251
+ '[class.mat-datepicker-content-touch]': 'datepicker.touchUi',
2252
+ },
2253
+ animations: [
2254
+ matDatepickerAnimations.transformPanel,
2255
+ matDatepickerAnimations.fadeInCalendar,
2256
+ ],
2257
+ exportAs: 'matDatepickerContent',
2258
+ encapsulation: i0.ViewEncapsulation.None,
2259
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2260
+ inputs: ['color'],
2261
+ styles: [".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"]
2262
+ },] }
2263
+ ];
2264
+ MatDatepickerContent.ctorParameters = function () { return [
2265
+ { type: i0.ElementRef },
2266
+ { type: i0.ChangeDetectorRef },
2267
+ { type: MatDateSelectionModel },
2268
+ { type: core.DateAdapter },
2269
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_RANGE_SELECTION_STRATEGY,] }] }
2270
+ ]; };
2271
+ MatDatepickerContent.propDecorators = {
2272
+ _calendar: [{ type: i0.ViewChild, args: [MatCalendar,] }]
2273
+ };
2215
2274
  /** Base class for a datepicker. */
2216
2275
  var MatDatepickerBase = /** @class */ (function () {
2217
2276
  function MatDatepickerBase(_dialog, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dateAdapter, _dir, _document, _model) {
@@ -2557,47 +2616,40 @@
2557
2616
  MatDatepickerBase.prototype._getValidDateOrNull = function (obj) {
2558
2617
  return (this._dateAdapter.isDateInstance(obj) && this._dateAdapter.isValid(obj)) ? obj : null;
2559
2618
  };
2560
- MatDatepickerBase.decorators = [
2561
- { type: i0.Directive }
2562
- ];
2563
- MatDatepickerBase.ctorParameters = function () { return [
2564
- { type: dialog.MatDialog },
2565
- { type: overlay.Overlay },
2566
- { type: i0.NgZone },
2567
- { type: i0.ViewContainerRef },
2568
- { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATEPICKER_SCROLL_STRATEGY,] }] },
2569
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
2570
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
2571
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] },
2572
- { type: MatDateSelectionModel }
2573
- ]; };
2574
- MatDatepickerBase.propDecorators = {
2575
- calendarHeaderComponent: [{ type: i0.Input }],
2576
- startAt: [{ type: i0.Input }],
2577
- startView: [{ type: i0.Input }],
2578
- color: [{ type: i0.Input }],
2579
- touchUi: [{ type: i0.Input }],
2580
- disabled: [{ type: i0.Input }],
2581
- xPosition: [{ type: i0.Input }],
2582
- yPosition: [{ type: i0.Input }],
2583
- yearSelected: [{ type: i0.Output }],
2584
- monthSelected: [{ type: i0.Output }],
2585
- panelClass: [{ type: i0.Input }],
2586
- dateClass: [{ type: i0.Input }],
2587
- openedStream: [{ type: i0.Output, args: ['opened',] }],
2588
- closedStream: [{ type: i0.Output, args: ['closed',] }],
2589
- opened: [{ type: i0.Input }]
2590
- };
2591
2619
  return MatDatepickerBase;
2592
2620
  }());
2621
+ MatDatepickerBase.decorators = [
2622
+ { type: i0.Directive }
2623
+ ];
2624
+ MatDatepickerBase.ctorParameters = function () { return [
2625
+ { type: dialog.MatDialog },
2626
+ { type: overlay.Overlay },
2627
+ { type: i0.NgZone },
2628
+ { type: i0.ViewContainerRef },
2629
+ { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATEPICKER_SCROLL_STRATEGY,] }] },
2630
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
2631
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
2632
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] },
2633
+ { type: MatDateSelectionModel }
2634
+ ]; };
2635
+ MatDatepickerBase.propDecorators = {
2636
+ calendarHeaderComponent: [{ type: i0.Input }],
2637
+ startAt: [{ type: i0.Input }],
2638
+ startView: [{ type: i0.Input }],
2639
+ color: [{ type: i0.Input }],
2640
+ touchUi: [{ type: i0.Input }],
2641
+ disabled: [{ type: i0.Input }],
2642
+ xPosition: [{ type: i0.Input }],
2643
+ yPosition: [{ type: i0.Input }],
2644
+ yearSelected: [{ type: i0.Output }],
2645
+ monthSelected: [{ type: i0.Output }],
2646
+ panelClass: [{ type: i0.Input }],
2647
+ dateClass: [{ type: i0.Input }],
2648
+ openedStream: [{ type: i0.Output, args: ['opened',] }],
2649
+ closedStream: [{ type: i0.Output, args: ['closed',] }],
2650
+ opened: [{ type: i0.Input }]
2651
+ };
2593
2652
 
2594
- /**
2595
- * @license
2596
- * Copyright Google LLC All Rights Reserved.
2597
- *
2598
- * Use of this source code is governed by an MIT-style license that can be
2599
- * found in the LICENSE file at https://angular.io/license
2600
- */
2601
2653
  // TODO(mmalerba): We use a component instead of a directive here so the user can use implicit
2602
2654
  // template reference variables (e.g. #d vs #d="matDatepicker"). We can change this to a directive
2603
2655
  // if angular adds support for `exportAs: '$implicit'` on directives.
@@ -2607,18 +2659,18 @@
2607
2659
  function MatDatepicker() {
2608
2660
  return _super !== null && _super.apply(this, arguments) || this;
2609
2661
  }
2610
- MatDatepicker.decorators = [
2611
- { type: i0.Component, args: [{
2612
- selector: 'mat-datepicker',
2613
- template: '',
2614
- exportAs: 'matDatepicker',
2615
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2616
- encapsulation: i0.ViewEncapsulation.None,
2617
- providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER]
2618
- },] }
2619
- ];
2620
2662
  return MatDatepicker;
2621
2663
  }(MatDatepickerBase));
2664
+ MatDatepicker.decorators = [
2665
+ { type: i0.Component, args: [{
2666
+ selector: 'mat-datepicker',
2667
+ template: '',
2668
+ exportAs: 'matDatepicker',
2669
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2670
+ encapsulation: i0.ViewEncapsulation.None,
2671
+ providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER]
2672
+ },] }
2673
+ ];
2622
2674
 
2623
2675
  /**
2624
2676
  * @license
@@ -2891,30 +2943,23 @@
2891
2943
  MatDatepickerInputBase.prototype._parentDisabled = function () {
2892
2944
  return false;
2893
2945
  };
2894
- MatDatepickerInputBase.decorators = [
2895
- { type: i0.Directive }
2896
- ];
2897
- MatDatepickerInputBase.ctorParameters = function () { return [
2898
- { type: i0.ElementRef },
2899
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
2900
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
2901
- ]; };
2902
- MatDatepickerInputBase.propDecorators = {
2903
- value: [{ type: i0.Input }],
2904
- disabled: [{ type: i0.Input }],
2905
- dateChange: [{ type: i0.Output }],
2906
- dateInput: [{ type: i0.Output }]
2907
- };
2908
2946
  return MatDatepickerInputBase;
2909
2947
  }());
2948
+ MatDatepickerInputBase.decorators = [
2949
+ { type: i0.Directive }
2950
+ ];
2951
+ MatDatepickerInputBase.ctorParameters = function () { return [
2952
+ { type: i0.ElementRef },
2953
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
2954
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
2955
+ ]; };
2956
+ MatDatepickerInputBase.propDecorators = {
2957
+ value: [{ type: i0.Input }],
2958
+ disabled: [{ type: i0.Input }],
2959
+ dateChange: [{ type: i0.Output }],
2960
+ dateInput: [{ type: i0.Output }]
2961
+ };
2910
2962
 
2911
- /**
2912
- * @license
2913
- * Copyright Google LLC All Rights Reserved.
2914
- *
2915
- * Use of this source code is governed by an MIT-style license that can be
2916
- * found in the LICENSE file at https://angular.io/license
2917
- */
2918
2963
  /** @docs-private */
2919
2964
  var MAT_DATEPICKER_VALUE_ACCESSOR = {
2920
2965
  provide: forms.NG_VALUE_ACCESSOR,
@@ -3028,42 +3073,42 @@
3028
3073
  MatDatepickerInput.prototype._canEmitChangeEvent = function () {
3029
3074
  return true;
3030
3075
  };
3031
- MatDatepickerInput.decorators = [
3032
- { type: i0.Directive, args: [{
3033
- selector: 'input[matDatepicker]',
3034
- providers: [
3035
- MAT_DATEPICKER_VALUE_ACCESSOR,
3036
- MAT_DATEPICKER_VALIDATORS,
3037
- { provide: input.MAT_INPUT_VALUE_ACCESSOR, useExisting: MatDatepickerInput },
3038
- ],
3039
- host: {
3040
- '[attr.aria-haspopup]': '_datepicker ? "dialog" : null',
3041
- '[attr.aria-owns]': '(_datepicker?.opened && _datepicker.id) || null',
3042
- '[attr.min]': 'min ? _dateAdapter.toIso8601(min) : null',
3043
- '[attr.max]': 'max ? _dateAdapter.toIso8601(max) : null',
3044
- '[disabled]': 'disabled',
3045
- '(input)': '_onInput($event.target.value)',
3046
- '(change)': '_onChange()',
3047
- '(blur)': '_onBlur()',
3048
- '(keydown)': '_onKeydown($event)',
3049
- },
3050
- exportAs: 'matDatepickerInput',
3051
- },] }
3052
- ];
3053
- MatDatepickerInput.ctorParameters = function () { return [
3054
- { type: i0.ElementRef },
3055
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3056
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
3057
- { type: formField.MatFormField, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [formField.MAT_FORM_FIELD,] }] }
3058
- ]; };
3059
- MatDatepickerInput.propDecorators = {
3060
- matDatepicker: [{ type: i0.Input }],
3061
- min: [{ type: i0.Input }],
3062
- max: [{ type: i0.Input }],
3063
- dateFilter: [{ type: i0.Input, args: ['matDatepickerFilter',] }]
3064
- };
3065
3076
  return MatDatepickerInput;
3066
3077
  }(MatDatepickerInputBase));
3078
+ MatDatepickerInput.decorators = [
3079
+ { type: i0.Directive, args: [{
3080
+ selector: 'input[matDatepicker]',
3081
+ providers: [
3082
+ MAT_DATEPICKER_VALUE_ACCESSOR,
3083
+ MAT_DATEPICKER_VALIDATORS,
3084
+ { provide: input.MAT_INPUT_VALUE_ACCESSOR, useExisting: MatDatepickerInput },
3085
+ ],
3086
+ host: {
3087
+ '[attr.aria-haspopup]': '_datepicker ? "dialog" : null',
3088
+ '[attr.aria-owns]': '(_datepicker?.opened && _datepicker.id) || null',
3089
+ '[attr.min]': 'min ? _dateAdapter.toIso8601(min) : null',
3090
+ '[attr.max]': 'max ? _dateAdapter.toIso8601(max) : null',
3091
+ '[disabled]': 'disabled',
3092
+ '(input)': '_onInput($event.target.value)',
3093
+ '(change)': '_onChange()',
3094
+ '(blur)': '_onBlur()',
3095
+ '(keydown)': '_onKeydown($event)',
3096
+ },
3097
+ exportAs: 'matDatepickerInput',
3098
+ },] }
3099
+ ];
3100
+ MatDatepickerInput.ctorParameters = function () { return [
3101
+ { type: i0.ElementRef },
3102
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3103
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] },
3104
+ { type: formField.MatFormField, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [formField.MAT_FORM_FIELD,] }] }
3105
+ ]; };
3106
+ MatDatepickerInput.propDecorators = {
3107
+ matDatepicker: [{ type: i0.Input }],
3108
+ min: [{ type: i0.Input }],
3109
+ max: [{ type: i0.Input }],
3110
+ dateFilter: [{ type: i0.Input, args: ['matDatepickerFilter',] }]
3111
+ };
3067
3112
 
3068
3113
  /**
3069
3114
  * @license
@@ -3076,13 +3121,13 @@
3076
3121
  var MatDatepickerToggleIcon = /** @class */ (function () {
3077
3122
  function MatDatepickerToggleIcon() {
3078
3123
  }
3079
- MatDatepickerToggleIcon.decorators = [
3080
- { type: i0.Directive, args: [{
3081
- selector: '[matDatepickerToggleIcon]'
3082
- },] }
3083
- ];
3084
3124
  return MatDatepickerToggleIcon;
3085
3125
  }());
3126
+ MatDatepickerToggleIcon.decorators = [
3127
+ { type: i0.Directive, args: [{
3128
+ selector: '[matDatepickerToggleIcon]'
3129
+ },] }
3130
+ ];
3086
3131
  var MatDatepickerToggle = /** @class */ (function () {
3087
3132
  function MatDatepickerToggle(_intl, _changeDetectorRef, defaultTabIndex) {
3088
3133
  this._intl = _intl;
@@ -3133,49 +3178,42 @@
3133
3178
  this._stateChanges.unsubscribe();
3134
3179
  this._stateChanges = rxjs.merge(this._intl.changes, datepickerStateChanged, inputStateChanged, datepickerToggled).subscribe(function () { return _this._changeDetectorRef.markForCheck(); });
3135
3180
  };
3136
- MatDatepickerToggle.decorators = [
3137
- { type: i0.Component, args: [{
3138
- selector: 'mat-datepicker-toggle',
3139
- template: "<button\n #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"datepicker ? 'dialog' : null\"\n [attr.aria-label]=\"_intl.openCalendarLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n (click)=\"_open($event)\">\n\n <svg\n *ngIf=\"!_customIcon\"\n class=\"mat-datepicker-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\">\n <path d=\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\"/>\n </svg>\n\n <ng-content select=\"[matDatepickerToggleIcon]\"></ng-content>\n</button>\n",
3140
- host: {
3141
- 'class': 'mat-datepicker-toggle',
3142
- // Always set the tabindex to -1 so that it doesn't overlap with any custom tabindex the
3143
- // consumer may have provided, while still being able to receive focus.
3144
- '[attr.tabindex]': 'disabled ? null : -1',
3145
- '[class.mat-datepicker-toggle-active]': 'datepicker && datepicker.opened',
3146
- '[class.mat-accent]': 'datepicker && datepicker.color === "accent"',
3147
- '[class.mat-warn]': 'datepicker && datepicker.color === "warn"',
3148
- '(focus)': '_button.focus()',
3149
- },
3150
- exportAs: 'matDatepickerToggle',
3151
- encapsulation: i0.ViewEncapsulation.None,
3152
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3153
- styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"]
3154
- },] }
3155
- ];
3156
- MatDatepickerToggle.ctorParameters = function () { return [
3157
- { type: MatDatepickerIntl },
3158
- { type: i0.ChangeDetectorRef },
3159
- { type: String, decorators: [{ type: i0.Attribute, args: ['tabindex',] }] }
3160
- ]; };
3161
- MatDatepickerToggle.propDecorators = {
3162
- datepicker: [{ type: i0.Input, args: ['for',] }],
3163
- tabIndex: [{ type: i0.Input }],
3164
- disabled: [{ type: i0.Input }],
3165
- disableRipple: [{ type: i0.Input }],
3166
- _customIcon: [{ type: i0.ContentChild, args: [MatDatepickerToggleIcon,] }],
3167
- _button: [{ type: i0.ViewChild, args: ['button',] }]
3168
- };
3169
3181
  return MatDatepickerToggle;
3170
3182
  }());
3183
+ MatDatepickerToggle.decorators = [
3184
+ { type: i0.Component, args: [{
3185
+ selector: 'mat-datepicker-toggle',
3186
+ template: "<button\n #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"datepicker ? 'dialog' : null\"\n [attr.aria-label]=\"_intl.openCalendarLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n (click)=\"_open($event)\">\n\n <svg\n *ngIf=\"!_customIcon\"\n class=\"mat-datepicker-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\">\n <path d=\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\"/>\n </svg>\n\n <ng-content select=\"[matDatepickerToggleIcon]\"></ng-content>\n</button>\n",
3187
+ host: {
3188
+ 'class': 'mat-datepicker-toggle',
3189
+ // Always set the tabindex to -1 so that it doesn't overlap with any custom tabindex the
3190
+ // consumer may have provided, while still being able to receive focus.
3191
+ '[attr.tabindex]': 'disabled ? null : -1',
3192
+ '[class.mat-datepicker-toggle-active]': 'datepicker && datepicker.opened',
3193
+ '[class.mat-accent]': 'datepicker && datepicker.color === "accent"',
3194
+ '[class.mat-warn]': 'datepicker && datepicker.color === "warn"',
3195
+ '(focus)': '_button.focus()',
3196
+ },
3197
+ exportAs: 'matDatepickerToggle',
3198
+ encapsulation: i0.ViewEncapsulation.None,
3199
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3200
+ styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"]
3201
+ },] }
3202
+ ];
3203
+ MatDatepickerToggle.ctorParameters = function () { return [
3204
+ { type: MatDatepickerIntl },
3205
+ { type: i0.ChangeDetectorRef },
3206
+ { type: String, decorators: [{ type: i0.Attribute, args: ['tabindex',] }] }
3207
+ ]; };
3208
+ MatDatepickerToggle.propDecorators = {
3209
+ datepicker: [{ type: i0.Input, args: ['for',] }],
3210
+ tabIndex: [{ type: i0.Input }],
3211
+ disabled: [{ type: i0.Input }],
3212
+ disableRipple: [{ type: i0.Input }],
3213
+ _customIcon: [{ type: i0.ContentChild, args: [MatDatepickerToggleIcon,] }],
3214
+ _button: [{ type: i0.ViewChild, args: ['button',] }]
3215
+ };
3171
3216
 
3172
- /**
3173
- * @license
3174
- * Copyright Google LLC All Rights Reserved.
3175
- *
3176
- * Use of this source code is governed by an MIT-style license that can be
3177
- * found in the LICENSE file at https://angular.io/license
3178
- */
3179
3217
  /**
3180
3218
  * Used to provide the date range input wrapper component
3181
3219
  * to the parts without circular dependencies.
@@ -3256,21 +3294,21 @@
3256
3294
  MatDateRangeInputPartBase.prototype._parentDisabled = function () {
3257
3295
  return this._rangeInput._groupDisabled;
3258
3296
  };
3259
- MatDateRangeInputPartBase.decorators = [
3260
- { type: i0.Directive }
3261
- ];
3262
- MatDateRangeInputPartBase.ctorParameters = function () { return [
3263
- { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_INPUT_PARENT,] }] },
3264
- { type: i0.ElementRef },
3265
- { type: core.ErrorStateMatcher },
3266
- { type: i0.Injector },
3267
- { type: forms.NgForm, decorators: [{ type: i0.Optional }] },
3268
- { type: forms.FormGroupDirective, decorators: [{ type: i0.Optional }] },
3269
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3270
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
3271
- ]; };
3272
3297
  return MatDateRangeInputPartBase;
3273
3298
  }(MatDatepickerInputBase));
3299
+ MatDateRangeInputPartBase.decorators = [
3300
+ { type: i0.Directive }
3301
+ ];
3302
+ MatDateRangeInputPartBase.ctorParameters = function () { return [
3303
+ { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_INPUT_PARENT,] }] },
3304
+ { type: i0.ElementRef },
3305
+ { type: core.ErrorStateMatcher },
3306
+ { type: i0.Injector },
3307
+ { type: forms.NgForm, decorators: [{ type: i0.Optional }] },
3308
+ { type: forms.FormGroupDirective, decorators: [{ type: i0.Optional }] },
3309
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3310
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
3311
+ ]; };
3274
3312
  var _MatDateRangeInputBase =
3275
3313
  // Needs to be `as any`, because the base class is abstract.
3276
3314
  core.mixinErrorState(MatDateRangeInputPartBase);
@@ -3318,41 +3356,41 @@
3318
3356
  var value = element.value;
3319
3357
  return value.length > 0 ? value : element.placeholder;
3320
3358
  };
3321
- MatStartDate.decorators = [
3322
- { type: i0.Directive, args: [{
3323
- selector: 'input[matStartDate]',
3324
- host: {
3325
- 'class': 'mat-date-range-input-inner',
3326
- '[disabled]': 'disabled',
3327
- '(input)': '_onInput($event.target.value)',
3328
- '(change)': '_onChange()',
3329
- '(keydown)': '_onKeydown($event)',
3330
- '[attr.id]': '_rangeInput.id',
3331
- '[attr.aria-haspopup]': '_rangeInput.rangePicker ? "dialog" : null',
3332
- '[attr.aria-owns]': '(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null',
3333
- '[attr.min]': '_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null',
3334
- '[attr.max]': '_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null',
3335
- '(blur)': '_onBlur()',
3336
- 'type': 'text',
3337
- },
3338
- providers: [
3339
- { provide: forms.NG_VALUE_ACCESSOR, useExisting: MatStartDate, multi: true },
3340
- { provide: forms.NG_VALIDATORS, useExisting: MatStartDate, multi: true }
3341
- ]
3342
- },] }
3343
- ];
3344
- MatStartDate.ctorParameters = function () { return [
3345
- { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_INPUT_PARENT,] }] },
3346
- { type: i0.ElementRef },
3347
- { type: core.ErrorStateMatcher },
3348
- { type: i0.Injector },
3349
- { type: forms.NgForm, decorators: [{ type: i0.Optional }] },
3350
- { type: forms.FormGroupDirective, decorators: [{ type: i0.Optional }] },
3351
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3352
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
3353
- ]; };
3354
3359
  return MatStartDate;
3355
3360
  }(_MatDateRangeInputBase));
3361
+ MatStartDate.decorators = [
3362
+ { type: i0.Directive, args: [{
3363
+ selector: 'input[matStartDate]',
3364
+ host: {
3365
+ 'class': 'mat-date-range-input-inner',
3366
+ '[disabled]': 'disabled',
3367
+ '(input)': '_onInput($event.target.value)',
3368
+ '(change)': '_onChange()',
3369
+ '(keydown)': '_onKeydown($event)',
3370
+ '[attr.id]': '_rangeInput.id',
3371
+ '[attr.aria-haspopup]': '_rangeInput.rangePicker ? "dialog" : null',
3372
+ '[attr.aria-owns]': '(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null',
3373
+ '[attr.min]': '_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null',
3374
+ '[attr.max]': '_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null',
3375
+ '(blur)': '_onBlur()',
3376
+ 'type': 'text',
3377
+ },
3378
+ providers: [
3379
+ { provide: forms.NG_VALUE_ACCESSOR, useExisting: MatStartDate, multi: true },
3380
+ { provide: forms.NG_VALIDATORS, useExisting: MatStartDate, multi: true }
3381
+ ]
3382
+ },] }
3383
+ ];
3384
+ MatStartDate.ctorParameters = function () { return [
3385
+ { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_INPUT_PARENT,] }] },
3386
+ { type: i0.ElementRef },
3387
+ { type: core.ErrorStateMatcher },
3388
+ { type: i0.Injector },
3389
+ { type: forms.NgForm, decorators: [{ type: i0.Optional }] },
3390
+ { type: forms.FormGroupDirective, decorators: [{ type: i0.Optional }] },
3391
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3392
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
3393
+ ]; };
3356
3394
  /** Input for entering the end date in a `mat-date-range-input`. */
3357
3395
  var MatEndDate = /** @class */ (function (_super) {
3358
3396
  __extends(MatEndDate, _super);
@@ -3393,77 +3431,40 @@
3393
3431
  }
3394
3432
  _super.prototype._onKeydown.call(this, event);
3395
3433
  };
3396
- MatEndDate.decorators = [
3397
- { type: i0.Directive, args: [{
3398
- selector: 'input[matEndDate]',
3399
- host: {
3400
- 'class': 'mat-date-range-input-inner',
3401
- '[disabled]': 'disabled',
3402
- '(input)': '_onInput($event.target.value)',
3403
- '(change)': '_onChange()',
3404
- '(keydown)': '_onKeydown($event)',
3405
- '[attr.aria-haspopup]': '_rangeInput.rangePicker ? "dialog" : null',
3406
- '[attr.aria-owns]': '(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null',
3407
- '[attr.min]': '_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null',
3408
- '[attr.max]': '_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null',
3409
- '(blur)': '_onBlur()',
3410
- 'type': 'text',
3411
- },
3412
- providers: [
3413
- { provide: forms.NG_VALUE_ACCESSOR, useExisting: MatEndDate, multi: true },
3414
- { provide: forms.NG_VALIDATORS, useExisting: MatEndDate, multi: true }
3415
- ]
3416
- },] }
3417
- ];
3418
- MatEndDate.ctorParameters = function () { return [
3419
- { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_INPUT_PARENT,] }] },
3420
- { type: i0.ElementRef },
3421
- { type: core.ErrorStateMatcher },
3422
- { type: i0.Injector },
3423
- { type: forms.NgForm, decorators: [{ type: i0.Optional }] },
3424
- { type: forms.FormGroupDirective, decorators: [{ type: i0.Optional }] },
3425
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3426
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
3427
- ]; };
3428
3434
  return MatEndDate;
3429
3435
  }(_MatDateRangeInputBase));
3430
-
3431
- /**
3432
- * @license
3433
- * Copyright Google LLC All Rights Reserved.
3434
- *
3435
- * Use of this source code is governed by an MIT-style license that can be
3436
- * found in the LICENSE file at https://angular.io/license
3437
- */
3438
- // TODO(mmalerba): We use a component instead of a directive here so the user can use implicit
3439
- // template reference variables (e.g. #d vs #d="matDateRangePicker"). We can change this to a
3440
- // directive if angular adds support for `exportAs: '$implicit'` on directives.
3441
- /** Component responsible for managing the date range picker popup/dialog. */
3442
- var MatDateRangePicker = /** @class */ (function (_super) {
3443
- __extends(MatDateRangePicker, _super);
3444
- function MatDateRangePicker() {
3445
- return _super !== null && _super.apply(this, arguments) || this;
3446
- }
3447
- MatDateRangePicker.prototype._forwardContentValues = function (instance) {
3448
- _super.prototype._forwardContentValues.call(this, instance);
3449
- var input = this._datepickerInput;
3450
- if (input) {
3451
- instance.comparisonStart = input.comparisonStart;
3452
- instance.comparisonEnd = input.comparisonEnd;
3453
- }
3454
- };
3455
- MatDateRangePicker.decorators = [
3456
- { type: i0.Component, args: [{
3457
- selector: 'mat-date-range-picker',
3458
- template: '',
3459
- exportAs: 'matDateRangePicker',
3460
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3461
- encapsulation: i0.ViewEncapsulation.None,
3462
- providers: [MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER]
3463
- },] }
3464
- ];
3465
- return MatDateRangePicker;
3466
- }(MatDatepickerBase));
3436
+ MatEndDate.decorators = [
3437
+ { type: i0.Directive, args: [{
3438
+ selector: 'input[matEndDate]',
3439
+ host: {
3440
+ 'class': 'mat-date-range-input-inner',
3441
+ '[disabled]': 'disabled',
3442
+ '(input)': '_onInput($event.target.value)',
3443
+ '(change)': '_onChange()',
3444
+ '(keydown)': '_onKeydown($event)',
3445
+ '[attr.aria-haspopup]': '_rangeInput.rangePicker ? "dialog" : null',
3446
+ '[attr.aria-owns]': '(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null',
3447
+ '[attr.min]': '_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null',
3448
+ '[attr.max]': '_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null',
3449
+ '(blur)': '_onBlur()',
3450
+ 'type': 'text',
3451
+ },
3452
+ providers: [
3453
+ { provide: forms.NG_VALUE_ACCESSOR, useExisting: MatEndDate, multi: true },
3454
+ { provide: forms.NG_VALIDATORS, useExisting: MatEndDate, multi: true }
3455
+ ]
3456
+ },] }
3457
+ ];
3458
+ MatEndDate.ctorParameters = function () { return [
3459
+ { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_DATE_RANGE_INPUT_PARENT,] }] },
3460
+ { type: i0.ElementRef },
3461
+ { type: core.ErrorStateMatcher },
3462
+ { type: i0.Injector },
3463
+ { type: forms.NgForm, decorators: [{ type: i0.Optional }] },
3464
+ { type: forms.FormGroupDirective, decorators: [{ type: i0.Optional }] },
3465
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3466
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [core.MAT_DATE_FORMATS,] }] }
3467
+ ]; };
3467
3468
 
3468
3469
  /**
3469
3470
  * @license
@@ -3735,50 +3736,80 @@
3735
3736
  this._endInput._registerModel(model);
3736
3737
  }
3737
3738
  };
3738
- MatDateRangeInput.decorators = [
3739
- { type: i0.Component, args: [{
3740
- selector: 'mat-date-range-input',
3741
- template: "<div\n class=\"mat-date-range-input-container\"\n cdkMonitorSubtreeFocus\n (cdkFocusChange)=\"focused = $event !== null\">\n <div class=\"mat-date-range-input-start-wrapper\">\n <ng-content select=\"input[matStartDate]\"></ng-content>\n <span\n class=\"mat-date-range-input-mirror\"\n aria-hidden=\"true\">{{_getInputMirrorValue()}}</span>\n </div>\n\n <span\n class=\"mat-date-range-input-separator\"\n [class.mat-date-range-input-separator-hidden]=\"_shouldHideSeparator()\">{{separator}}</span>\n\n <div class=\"mat-date-range-input-end-wrapper\">\n <ng-content select=\"input[matEndDate]\"></ng-content>\n </div>\n</div>\n\n",
3742
- exportAs: 'matDateRangeInput',
3743
- host: {
3744
- 'class': 'mat-date-range-input',
3745
- '[class.mat-date-range-input-hide-placeholders]': '_shouldHidePlaceholders()',
3746
- '[attr.id]': 'null',
3747
- 'role': 'group',
3748
- '[attr.aria-labelledby]': '_getAriaLabelledby()',
3749
- '[attr.aria-describedby]': '_ariaDescribedBy',
3750
- },
3751
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3752
- encapsulation: i0.ViewEncapsulation.None,
3753
- providers: [
3754
- { provide: formField.MatFormFieldControl, useExisting: MatDateRangeInput },
3755
- { provide: MAT_DATE_RANGE_INPUT_PARENT, useExisting: MatDateRangeInput },
3756
- ],
3757
- styles: [".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"]
3758
- },] }
3759
- ];
3760
- MatDateRangeInput.ctorParameters = function () { return [
3761
- { type: i0.ChangeDetectorRef },
3762
- { type: i0.ElementRef },
3763
- { type: forms.ControlContainer, decorators: [{ type: i0.Optional }, { type: i0.Self }] },
3764
- { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3765
- { type: formField.MatFormField, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [formField.MAT_FORM_FIELD,] }] }
3766
- ]; };
3767
- MatDateRangeInput.propDecorators = {
3768
- rangePicker: [{ type: i0.Input }],
3769
- required: [{ type: i0.Input }],
3770
- dateFilter: [{ type: i0.Input }],
3771
- min: [{ type: i0.Input }],
3772
- max: [{ type: i0.Input }],
3773
- disabled: [{ type: i0.Input }],
3774
- separator: [{ type: i0.Input }],
3775
- comparisonStart: [{ type: i0.Input }],
3776
- comparisonEnd: [{ type: i0.Input }],
3777
- _startInput: [{ type: i0.ContentChild, args: [MatStartDate,] }],
3778
- _endInput: [{ type: i0.ContentChild, args: [MatEndDate,] }]
3779
- };
3780
3739
  return MatDateRangeInput;
3781
3740
  }());
3741
+ MatDateRangeInput.decorators = [
3742
+ { type: i0.Component, args: [{
3743
+ selector: 'mat-date-range-input',
3744
+ template: "<div\n class=\"mat-date-range-input-container\"\n cdkMonitorSubtreeFocus\n (cdkFocusChange)=\"focused = $event !== null\">\n <div class=\"mat-date-range-input-start-wrapper\">\n <ng-content select=\"input[matStartDate]\"></ng-content>\n <span\n class=\"mat-date-range-input-mirror\"\n aria-hidden=\"true\">{{_getInputMirrorValue()}}</span>\n </div>\n\n <span\n class=\"mat-date-range-input-separator\"\n [class.mat-date-range-input-separator-hidden]=\"_shouldHideSeparator()\">{{separator}}</span>\n\n <div class=\"mat-date-range-input-end-wrapper\">\n <ng-content select=\"input[matEndDate]\"></ng-content>\n </div>\n</div>\n\n",
3745
+ exportAs: 'matDateRangeInput',
3746
+ host: {
3747
+ 'class': 'mat-date-range-input',
3748
+ '[class.mat-date-range-input-hide-placeholders]': '_shouldHidePlaceholders()',
3749
+ '[attr.id]': 'null',
3750
+ 'role': 'group',
3751
+ '[attr.aria-labelledby]': '_getAriaLabelledby()',
3752
+ '[attr.aria-describedby]': '_ariaDescribedBy',
3753
+ },
3754
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3755
+ encapsulation: i0.ViewEncapsulation.None,
3756
+ providers: [
3757
+ { provide: formField.MatFormFieldControl, useExisting: MatDateRangeInput },
3758
+ { provide: MAT_DATE_RANGE_INPUT_PARENT, useExisting: MatDateRangeInput },
3759
+ ],
3760
+ styles: [".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"]
3761
+ },] }
3762
+ ];
3763
+ MatDateRangeInput.ctorParameters = function () { return [
3764
+ { type: i0.ChangeDetectorRef },
3765
+ { type: i0.ElementRef },
3766
+ { type: forms.ControlContainer, decorators: [{ type: i0.Optional }, { type: i0.Self }] },
3767
+ { type: core.DateAdapter, decorators: [{ type: i0.Optional }] },
3768
+ { type: formField.MatFormField, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [formField.MAT_FORM_FIELD,] }] }
3769
+ ]; };
3770
+ MatDateRangeInput.propDecorators = {
3771
+ rangePicker: [{ type: i0.Input }],
3772
+ required: [{ type: i0.Input }],
3773
+ dateFilter: [{ type: i0.Input }],
3774
+ min: [{ type: i0.Input }],
3775
+ max: [{ type: i0.Input }],
3776
+ disabled: [{ type: i0.Input }],
3777
+ separator: [{ type: i0.Input }],
3778
+ comparisonStart: [{ type: i0.Input }],
3779
+ comparisonEnd: [{ type: i0.Input }],
3780
+ _startInput: [{ type: i0.ContentChild, args: [MatStartDate,] }],
3781
+ _endInput: [{ type: i0.ContentChild, args: [MatEndDate,] }]
3782
+ };
3783
+
3784
+ // TODO(mmalerba): We use a component instead of a directive here so the user can use implicit
3785
+ // template reference variables (e.g. #d vs #d="matDateRangePicker"). We can change this to a
3786
+ // directive if angular adds support for `exportAs: '$implicit'` on directives.
3787
+ /** Component responsible for managing the date range picker popup/dialog. */
3788
+ var MatDateRangePicker = /** @class */ (function (_super) {
3789
+ __extends(MatDateRangePicker, _super);
3790
+ function MatDateRangePicker() {
3791
+ return _super !== null && _super.apply(this, arguments) || this;
3792
+ }
3793
+ MatDateRangePicker.prototype._forwardContentValues = function (instance) {
3794
+ _super.prototype._forwardContentValues.call(this, instance);
3795
+ var input = this._datepickerInput;
3796
+ if (input) {
3797
+ instance.comparisonStart = input.comparisonStart;
3798
+ instance.comparisonEnd = input.comparisonEnd;
3799
+ }
3800
+ };
3801
+ return MatDateRangePicker;
3802
+ }(MatDatepickerBase));
3803
+ MatDateRangePicker.decorators = [
3804
+ { type: i0.Component, args: [{
3805
+ selector: 'mat-date-range-picker',
3806
+ template: '',
3807
+ exportAs: 'matDateRangePicker',
3808
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3809
+ encapsulation: i0.ViewEncapsulation.None,
3810
+ providers: [MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER]
3811
+ },] }
3812
+ ];
3782
3813
 
3783
3814
  /**
3784
3815
  * @license
@@ -3790,67 +3821,67 @@
3790
3821
  var MatDatepickerModule = /** @class */ (function () {
3791
3822
  function MatDatepickerModule() {
3792
3823
  }
3793
- MatDatepickerModule.decorators = [
3794
- { type: i0.NgModule, args: [{
3795
- imports: [
3796
- common.CommonModule,
3797
- button.MatButtonModule,
3798
- dialog.MatDialogModule,
3799
- overlay.OverlayModule,
3800
- a11y.A11yModule,
3801
- portal.PortalModule,
3802
- ],
3803
- exports: [
3804
- scrolling.CdkScrollableModule,
3805
- MatCalendar,
3806
- MatCalendarBody,
3807
- MatDatepicker,
3808
- MatDatepickerContent,
3809
- MatDatepickerInput,
3810
- MatDatepickerToggle,
3811
- MatDatepickerToggleIcon,
3812
- MatMonthView,
3813
- MatYearView,
3814
- MatMultiYearView,
3815
- MatCalendarHeader,
3816
- MatDateRangeInput,
3817
- MatStartDate,
3818
- MatEndDate,
3819
- MatDateRangePicker,
3820
- ],
3821
- declarations: [
3822
- MatCalendar,
3823
- MatCalendarBody,
3824
- MatDatepicker,
3825
- MatDatepickerContent,
3826
- MatDatepickerInput,
3827
- MatDatepickerToggle,
3828
- MatDatepickerToggleIcon,
3829
- MatMonthView,
3830
- MatYearView,
3831
- MatMultiYearView,
3832
- MatCalendarHeader,
3833
- MatDateRangeInput,
3834
- MatStartDate,
3835
- MatEndDate,
3836
- MatDateRangePicker,
3837
- ],
3838
- providers: [
3839
- MatDatepickerIntl,
3840
- MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER,
3841
- {
3842
- provide: MAT_DATE_RANGE_SELECTION_STRATEGY,
3843
- useClass: DefaultMatCalendarRangeStrategy
3844
- }
3845
- ],
3846
- entryComponents: [
3847
- MatDatepickerContent,
3848
- MatCalendarHeader,
3849
- ]
3850
- },] }
3851
- ];
3852
3824
  return MatDatepickerModule;
3853
3825
  }());
3826
+ MatDatepickerModule.decorators = [
3827
+ { type: i0.NgModule, args: [{
3828
+ imports: [
3829
+ common.CommonModule,
3830
+ button.MatButtonModule,
3831
+ dialog.MatDialogModule,
3832
+ overlay.OverlayModule,
3833
+ a11y.A11yModule,
3834
+ portal.PortalModule,
3835
+ ],
3836
+ exports: [
3837
+ scrolling.CdkScrollableModule,
3838
+ MatCalendar,
3839
+ MatCalendarBody,
3840
+ MatDatepicker,
3841
+ MatDatepickerContent,
3842
+ MatDatepickerInput,
3843
+ MatDatepickerToggle,
3844
+ MatDatepickerToggleIcon,
3845
+ MatMonthView,
3846
+ MatYearView,
3847
+ MatMultiYearView,
3848
+ MatCalendarHeader,
3849
+ MatDateRangeInput,
3850
+ MatStartDate,
3851
+ MatEndDate,
3852
+ MatDateRangePicker,
3853
+ ],
3854
+ declarations: [
3855
+ MatCalendar,
3856
+ MatCalendarBody,
3857
+ MatDatepicker,
3858
+ MatDatepickerContent,
3859
+ MatDatepickerInput,
3860
+ MatDatepickerToggle,
3861
+ MatDatepickerToggleIcon,
3862
+ MatMonthView,
3863
+ MatYearView,
3864
+ MatMultiYearView,
3865
+ MatCalendarHeader,
3866
+ MatDateRangeInput,
3867
+ MatStartDate,
3868
+ MatEndDate,
3869
+ MatDateRangePicker,
3870
+ ],
3871
+ providers: [
3872
+ MatDatepickerIntl,
3873
+ MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER,
3874
+ {
3875
+ provide: MAT_DATE_RANGE_SELECTION_STRATEGY,
3876
+ useClass: DefaultMatCalendarRangeStrategy
3877
+ }
3878
+ ],
3879
+ entryComponents: [
3880
+ MatDatepickerContent,
3881
+ MatCalendarHeader,
3882
+ ]
3883
+ },] }
3884
+ ];
3854
3885
 
3855
3886
  /**
3856
3887
  * @license