@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
@@ -12,7 +12,7 @@
12
12
  * found in the LICENSE file at https://angular.io/license
13
13
  */
14
14
  /** Current version of Angular Material. */
15
- var VERSION = new i0.Version('10.1.2');
15
+ var VERSION = new i0.Version('10.1.3');
16
16
 
17
17
  /**
18
18
  * @license
@@ -25,21 +25,21 @@
25
25
  var AnimationCurves = /** @class */ (function () {
26
26
  function AnimationCurves() {
27
27
  }
28
- AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
29
- AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
30
- AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
31
- AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
32
28
  return AnimationCurves;
33
29
  }());
30
+ AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
31
+ AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
32
+ AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
33
+ AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
34
34
  /** @docs-private */
35
35
  var AnimationDurations = /** @class */ (function () {
36
36
  function AnimationDurations() {
37
37
  }
38
- AnimationDurations.COMPLEX = '375ms';
39
- AnimationDurations.ENTERING = '225ms';
40
- AnimationDurations.EXITING = '195ms';
41
38
  return AnimationDurations;
42
39
  }());
40
+ AnimationDurations.COMPLEX = '375ms';
41
+ AnimationDurations.ENTERING = '225ms';
42
+ AnimationDurations.EXITING = '195ms';
43
43
 
44
44
  /**
45
45
  * @license
@@ -52,7 +52,7 @@
52
52
  // i.e. avoid core to depend on the @angular/material primary entry-point
53
53
  // Can be removed once the Material primary entry-point no longer
54
54
  // re-exports all secondary entry-points
55
- var VERSION$1 = new i0.Version('10.1.2');
55
+ var VERSION$1 = new i0.Version('10.1.3');
56
56
  /** @docs-private */
57
57
  function MATERIAL_SANITY_CHECKS_FACTORY() {
58
58
  return true;
@@ -151,255 +151,321 @@
151
151
  'Please ensure the versions of these two packages exactly match.');
152
152
  }
153
153
  };
154
- MatCommonModule.decorators = [
155
- { type: i0.NgModule, args: [{
156
- imports: [bidi.BidiModule],
157
- exports: [bidi.BidiModule],
158
- },] }
159
- ];
160
- MatCommonModule.ctorParameters = function () { return [
161
- { type: a11y.HighContrastModeDetector },
162
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MATERIAL_SANITY_CHECKS,] }] },
163
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] }
164
- ]; };
165
154
  return MatCommonModule;
166
155
  }());
156
+ MatCommonModule.decorators = [
157
+ { type: i0.NgModule, args: [{
158
+ imports: [bidi.BidiModule],
159
+ exports: [bidi.BidiModule],
160
+ },] }
161
+ ];
162
+ MatCommonModule.ctorParameters = function () { return [
163
+ { type: a11y.HighContrastModeDetector },
164
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MATERIAL_SANITY_CHECKS,] }] },
165
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] }
166
+ ]; };
167
167
 
168
- /*! *****************************************************************************
169
- Copyright (c) Microsoft Corporation.
170
-
171
- Permission to use, copy, modify, and/or distribute this software for any
172
- purpose with or without fee is hereby granted.
173
-
174
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
175
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
176
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
177
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
179
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
180
- PERFORMANCE OF THIS SOFTWARE.
181
- ***************************************************************************** */
182
- /* global Reflect, Promise */
183
-
184
- var extendStatics = function(d, b) {
185
- extendStatics = Object.setPrototypeOf ||
186
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
187
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
188
- return extendStatics(d, b);
189
- };
190
-
191
- function __extends(d, b) {
192
- extendStatics(d, b);
193
- function __() { this.constructor = d; }
194
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
195
- }
196
-
197
- var __assign = function() {
198
- __assign = Object.assign || function __assign(t) {
199
- for (var s, i = 1, n = arguments.length; i < n; i++) {
200
- s = arguments[i];
201
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
202
- }
203
- return t;
204
- };
205
- return __assign.apply(this, arguments);
206
- };
207
-
208
- function __rest(s, e) {
209
- var t = {};
210
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
211
- t[p] = s[p];
212
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
213
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
214
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
215
- t[p[i]] = s[p[i]];
216
- }
217
- return t;
218
- }
219
-
220
- function __decorate(decorators, target, key, desc) {
221
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
222
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
223
- 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;
224
- return c > 3 && r && Object.defineProperty(target, key, r), r;
225
- }
226
-
227
- function __param(paramIndex, decorator) {
228
- return function (target, key) { decorator(target, key, paramIndex); }
229
- }
230
-
231
- function __metadata(metadataKey, metadataValue) {
232
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
233
- }
234
-
235
- function __awaiter(thisArg, _arguments, P, generator) {
236
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
237
- return new (P || (P = Promise))(function (resolve, reject) {
238
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
239
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
240
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
241
- step((generator = generator.apply(thisArg, _arguments || [])).next());
242
- });
243
- }
244
-
245
- function __generator(thisArg, body) {
246
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
247
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
248
- function verb(n) { return function (v) { return step([n, v]); }; }
249
- function step(op) {
250
- if (f) throw new TypeError("Generator is already executing.");
251
- while (_) try {
252
- 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;
253
- if (y = 0, t) op = [op[0] & 2, t.value];
254
- switch (op[0]) {
255
- case 0: case 1: t = op; break;
256
- case 4: _.label++; return { value: op[1], done: false };
257
- case 5: _.label++; y = op[1]; op = [0]; continue;
258
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
259
- default:
260
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
261
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
262
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
263
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
264
- if (t[2]) _.ops.pop();
265
- _.trys.pop(); continue;
266
- }
267
- op = body.call(thisArg, _);
268
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
269
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
270
- }
271
- }
272
-
273
- var __createBinding = Object.create ? (function(o, m, k, k2) {
274
- if (k2 === undefined) k2 = k;
275
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
276
- }) : (function(o, m, k, k2) {
277
- if (k2 === undefined) k2 = k;
278
- o[k2] = m[k];
279
- });
280
-
281
- function __exportStar(m, exports) {
282
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
283
- }
284
-
285
- function __values(o) {
286
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
287
- if (m) return m.call(o);
288
- if (o && typeof o.length === "number") return {
289
- next: function () {
290
- if (o && i >= o.length) o = void 0;
291
- return { value: o && o[i++], done: !o };
292
- }
293
- };
294
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
295
- }
296
-
297
- function __read(o, n) {
298
- var m = typeof Symbol === "function" && o[Symbol.iterator];
299
- if (!m) return o;
300
- var i = m.call(o), r, ar = [], e;
301
- try {
302
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
303
- }
304
- catch (error) { e = { error: error }; }
305
- finally {
306
- try {
307
- if (r && !r.done && (m = i["return"])) m.call(i);
308
- }
309
- finally { if (e) throw e.error; }
310
- }
311
- return ar;
312
- }
313
-
314
- function __spread() {
315
- for (var ar = [], i = 0; i < arguments.length; i++)
316
- ar = ar.concat(__read(arguments[i]));
317
- return ar;
318
- }
319
-
320
- function __spreadArrays() {
321
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
322
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
323
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
324
- r[k] = a[j];
325
- return r;
326
- };
327
-
328
- function __await(v) {
329
- return this instanceof __await ? (this.v = v, this) : new __await(v);
330
- }
331
-
332
- function __asyncGenerator(thisArg, _arguments, generator) {
333
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
334
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
335
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
336
- 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); }); }; }
337
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
338
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
339
- function fulfill(value) { resume("next", value); }
340
- function reject(value) { resume("throw", value); }
341
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
342
- }
343
-
344
- function __asyncDelegator(o) {
345
- var i, p;
346
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
347
- 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; }
348
- }
349
-
350
- function __asyncValues(o) {
351
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
352
- var m = o[Symbol.asyncIterator], i;
353
- 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);
354
- 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); }); }; }
355
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
356
- }
357
-
358
- function __makeTemplateObject(cooked, raw) {
359
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
360
- return cooked;
361
- };
362
-
363
- var __setModuleDefault = Object.create ? (function(o, v) {
364
- Object.defineProperty(o, "default", { enumerable: true, value: v });
365
- }) : function(o, v) {
366
- o["default"] = v;
367
- };
368
-
369
- function __importStar(mod) {
370
- if (mod && mod.__esModule) return mod;
371
- var result = {};
372
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
373
- __setModuleDefault(result, mod);
374
- return result;
375
- }
376
-
377
- function __importDefault(mod) {
378
- return (mod && mod.__esModule) ? mod : { default: mod };
379
- }
380
-
381
- function __classPrivateFieldGet(receiver, privateMap) {
382
- if (!privateMap.has(receiver)) {
383
- throw new TypeError("attempted to get private field on non-instance");
384
- }
385
- return privateMap.get(receiver);
386
- }
387
-
388
- function __classPrivateFieldSet(receiver, privateMap, value) {
389
- if (!privateMap.has(receiver)) {
390
- throw new TypeError("attempted to set private field on non-instance");
391
- }
392
- privateMap.set(receiver, value);
393
- return value;
168
+ /*! *****************************************************************************
169
+ Copyright (c) Microsoft Corporation.
170
+
171
+ Permission to use, copy, modify, and/or distribute this software for any
172
+ purpose with or without fee is hereby granted.
173
+
174
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
175
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
176
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
177
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
179
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
180
+ PERFORMANCE OF THIS SOFTWARE.
181
+ ***************************************************************************** */
182
+ /* global Reflect, Promise */
183
+ var extendStatics = function (d, b) {
184
+ extendStatics = Object.setPrototypeOf ||
185
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
186
+ function (d, b) { for (var p in b)
187
+ if (b.hasOwnProperty(p))
188
+ d[p] = b[p]; };
189
+ return extendStatics(d, b);
190
+ };
191
+ function __extends(d, b) {
192
+ extendStatics(d, b);
193
+ function __() { this.constructor = d; }
194
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
195
+ }
196
+ var __assign = function () {
197
+ __assign = Object.assign || function __assign(t) {
198
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
199
+ s = arguments[i];
200
+ for (var p in s)
201
+ if (Object.prototype.hasOwnProperty.call(s, p))
202
+ t[p] = s[p];
203
+ }
204
+ return t;
205
+ };
206
+ return __assign.apply(this, arguments);
207
+ };
208
+ function __rest(s, e) {
209
+ var t = {};
210
+ for (var p in s)
211
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
212
+ t[p] = s[p];
213
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
214
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
215
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
216
+ t[p[i]] = s[p[i]];
217
+ }
218
+ return t;
219
+ }
220
+ function __decorate(decorators, target, key, desc) {
221
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
222
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
223
+ r = Reflect.decorate(decorators, target, key, desc);
224
+ else
225
+ for (var i = decorators.length - 1; i >= 0; i--)
226
+ if (d = decorators[i])
227
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
228
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
229
+ }
230
+ function __param(paramIndex, decorator) {
231
+ return function (target, key) { decorator(target, key, paramIndex); };
232
+ }
233
+ function __metadata(metadataKey, metadataValue) {
234
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
235
+ return Reflect.metadata(metadataKey, metadataValue);
236
+ }
237
+ function __awaiter(thisArg, _arguments, P, generator) {
238
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
239
+ return new (P || (P = Promise))(function (resolve, reject) {
240
+ function fulfilled(value) { try {
241
+ step(generator.next(value));
242
+ }
243
+ catch (e) {
244
+ reject(e);
245
+ } }
246
+ function rejected(value) { try {
247
+ step(generator["throw"](value));
248
+ }
249
+ catch (e) {
250
+ reject(e);
251
+ } }
252
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
253
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
254
+ });
255
+ }
256
+ function __generator(thisArg, body) {
257
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
258
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
259
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
260
+ function verb(n) { return function (v) { return step([n, v]); }; }
261
+ function step(op) {
262
+ if (f)
263
+ throw new TypeError("Generator is already executing.");
264
+ while (_)
265
+ try {
266
+ 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)
267
+ return t;
268
+ if (y = 0, t)
269
+ op = [op[0] & 2, t.value];
270
+ switch (op[0]) {
271
+ case 0:
272
+ case 1:
273
+ t = op;
274
+ break;
275
+ case 4:
276
+ _.label++;
277
+ return { value: op[1], done: false };
278
+ case 5:
279
+ _.label++;
280
+ y = op[1];
281
+ op = [0];
282
+ continue;
283
+ case 7:
284
+ op = _.ops.pop();
285
+ _.trys.pop();
286
+ continue;
287
+ default:
288
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
289
+ _ = 0;
290
+ continue;
291
+ }
292
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
293
+ _.label = op[1];
294
+ break;
295
+ }
296
+ if (op[0] === 6 && _.label < t[1]) {
297
+ _.label = t[1];
298
+ t = op;
299
+ break;
300
+ }
301
+ if (t && _.label < t[2]) {
302
+ _.label = t[2];
303
+ _.ops.push(op);
304
+ break;
305
+ }
306
+ if (t[2])
307
+ _.ops.pop();
308
+ _.trys.pop();
309
+ continue;
310
+ }
311
+ op = body.call(thisArg, _);
312
+ }
313
+ catch (e) {
314
+ op = [6, e];
315
+ y = 0;
316
+ }
317
+ finally {
318
+ f = t = 0;
319
+ }
320
+ if (op[0] & 5)
321
+ throw op[1];
322
+ return { value: op[0] ? op[1] : void 0, done: true };
323
+ }
324
+ }
325
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
326
+ if (k2 === undefined)
327
+ k2 = k;
328
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
329
+ }) : (function (o, m, k, k2) {
330
+ if (k2 === undefined)
331
+ k2 = k;
332
+ o[k2] = m[k];
333
+ });
334
+ function __exportStar(m, exports) {
335
+ for (var p in m)
336
+ if (p !== "default" && !exports.hasOwnProperty(p))
337
+ __createBinding(exports, m, p);
338
+ }
339
+ function __values(o) {
340
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
341
+ if (m)
342
+ return m.call(o);
343
+ if (o && typeof o.length === "number")
344
+ return {
345
+ next: function () {
346
+ if (o && i >= o.length)
347
+ o = void 0;
348
+ return { value: o && o[i++], done: !o };
349
+ }
350
+ };
351
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
352
+ }
353
+ function __read(o, n) {
354
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
355
+ if (!m)
356
+ return o;
357
+ var i = m.call(o), r, ar = [], e;
358
+ try {
359
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
360
+ ar.push(r.value);
361
+ }
362
+ catch (error) {
363
+ e = { error: error };
364
+ }
365
+ finally {
366
+ try {
367
+ if (r && !r.done && (m = i["return"]))
368
+ m.call(i);
369
+ }
370
+ finally {
371
+ if (e)
372
+ throw e.error;
373
+ }
374
+ }
375
+ return ar;
376
+ }
377
+ function __spread() {
378
+ for (var ar = [], i = 0; i < arguments.length; i++)
379
+ ar = ar.concat(__read(arguments[i]));
380
+ return ar;
381
+ }
382
+ function __spreadArrays() {
383
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
384
+ s += arguments[i].length;
385
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
386
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
387
+ r[k] = a[j];
388
+ return r;
389
+ }
390
+ ;
391
+ function __await(v) {
392
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
393
+ }
394
+ function __asyncGenerator(thisArg, _arguments, generator) {
395
+ if (!Symbol.asyncIterator)
396
+ throw new TypeError("Symbol.asyncIterator is not defined.");
397
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
398
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
399
+ function verb(n) { if (g[n])
400
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
401
+ function resume(n, v) { try {
402
+ step(g[n](v));
403
+ }
404
+ catch (e) {
405
+ settle(q[0][3], e);
406
+ } }
407
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
408
+ function fulfill(value) { resume("next", value); }
409
+ function reject(value) { resume("throw", value); }
410
+ function settle(f, v) { if (f(v), q.shift(), q.length)
411
+ resume(q[0][0], q[0][1]); }
412
+ }
413
+ function __asyncDelegator(o) {
414
+ var i, p;
415
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
416
+ 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; }
417
+ }
418
+ function __asyncValues(o) {
419
+ if (!Symbol.asyncIterator)
420
+ throw new TypeError("Symbol.asyncIterator is not defined.");
421
+ var m = o[Symbol.asyncIterator], i;
422
+ 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);
423
+ 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); }); }; }
424
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
425
+ }
426
+ function __makeTemplateObject(cooked, raw) {
427
+ if (Object.defineProperty) {
428
+ Object.defineProperty(cooked, "raw", { value: raw });
429
+ }
430
+ else {
431
+ cooked.raw = raw;
432
+ }
433
+ return cooked;
434
+ }
435
+ ;
436
+ var __setModuleDefault = Object.create ? (function (o, v) {
437
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
438
+ }) : function (o, v) {
439
+ o["default"] = v;
440
+ };
441
+ function __importStar(mod) {
442
+ if (mod && mod.__esModule)
443
+ return mod;
444
+ var result = {};
445
+ if (mod != null)
446
+ for (var k in mod)
447
+ if (Object.hasOwnProperty.call(mod, k))
448
+ __createBinding(result, mod, k);
449
+ __setModuleDefault(result, mod);
450
+ return result;
451
+ }
452
+ function __importDefault(mod) {
453
+ return (mod && mod.__esModule) ? mod : { default: mod };
454
+ }
455
+ function __classPrivateFieldGet(receiver, privateMap) {
456
+ if (!privateMap.has(receiver)) {
457
+ throw new TypeError("attempted to get private field on non-instance");
458
+ }
459
+ return privateMap.get(receiver);
460
+ }
461
+ function __classPrivateFieldSet(receiver, privateMap, value) {
462
+ if (!privateMap.has(receiver)) {
463
+ throw new TypeError("attempted to set private field on non-instance");
464
+ }
465
+ privateMap.set(receiver, value);
466
+ return value;
394
467
  }
395
468
 
396
- /**
397
- * @license
398
- * Copyright Google LLC All Rights Reserved.
399
- *
400
- * Use of this source code is governed by an MIT-style license that can be
401
- * found in the LICENSE file at https://angular.io/license
402
- */
403
469
  /** Mixin to augment a directive with a `disabled` property. */
404
470
  function mixinDisabled(base) {
405
471
  return /** @class */ (function (_super) {
@@ -465,13 +531,6 @@
465
531
  }(base));
466
532
  }
467
533
 
468
- /**
469
- * @license
470
- * Copyright Google LLC All Rights Reserved.
471
- *
472
- * Use of this source code is governed by an MIT-style license that can be
473
- * found in the LICENSE file at https://angular.io/license
474
- */
475
534
  /** Mixin to augment a directive with a `disableRipple` property. */
476
535
  function mixinDisableRipple(base) {
477
536
  return /** @class */ (function (_super) {
@@ -496,13 +555,6 @@
496
555
  }(base));
497
556
  }
498
557
 
499
- /**
500
- * @license
501
- * Copyright Google LLC All Rights Reserved.
502
- *
503
- * Use of this source code is governed by an MIT-style license that can be
504
- * found in the LICENSE file at https://angular.io/license
505
- */
506
558
  /** Mixin to augment a directive with a `tabIndex` property. */
507
559
  function mixinTabIndex(base, defaultTabIndex) {
508
560
  if (defaultTabIndex === void 0) { defaultTabIndex = 0; }
@@ -530,13 +582,6 @@
530
582
  }(base));
531
583
  }
532
584
 
533
- /**
534
- * @license
535
- * Copyright Google LLC All Rights Reserved.
536
- *
537
- * Use of this source code is governed by an MIT-style license that can be
538
- * found in the LICENSE file at https://angular.io/license
539
- */
540
585
  /**
541
586
  * Mixin to augment a directive with updateErrorState method.
542
587
  * For component with `errorState` and need to update `errorState`.
@@ -574,13 +619,6 @@
574
619
  }(base));
575
620
  }
576
621
 
577
- /**
578
- * @license
579
- * Copyright Google LLC All Rights Reserved.
580
- *
581
- * Use of this source code is governed by an MIT-style license that can be
582
- * found in the LICENSE file at https://angular.io/license
583
- */
584
622
  /** Mixin to augment a directive with an initialized property that will emits when ngOnInit ends. */
585
623
  function mixinInitialized(base) {
586
624
  return /** @class */ (function (_super) {
@@ -765,13 +803,6 @@
765
803
  */
766
804
  var MAT_DATE_FORMATS = new i0.InjectionToken('mat-date-formats');
767
805
 
768
- /**
769
- * @license
770
- * Copyright Google LLC All Rights Reserved.
771
- *
772
- * Use of this source code is governed by an MIT-style license that can be
773
- * found in the LICENSE file at https://angular.io/license
774
- */
775
806
  // TODO(mmalerba): Remove when we no longer support safari 9.
776
807
  /** Whether the browser supports the Intl API. */
777
808
  var SUPPORTS_INTL_API;
@@ -857,9 +888,7 @@
857
888
  var _this = this;
858
889
  if (SUPPORTS_INTL_API) {
859
890
  var dtf_1 = new Intl.DateTimeFormat(this.locale, { month: style, timeZone: 'utc' });
860
- return range(12, function (i) {
861
- return _this._stripDirectionalityCharacters(_this._format(dtf_1, new Date(2017, i, 1)));
862
- });
891
+ return range(12, function (i) { return _this._stripDirectionalityCharacters(_this._format(dtf_1, new Date(2017, i, 1))); });
863
892
  }
864
893
  return DEFAULT_MONTH_NAMES[style];
865
894
  };
@@ -934,7 +963,7 @@
934
963
  date = this.clone(date);
935
964
  date.setFullYear(Math.max(1, Math.min(9999, date.getFullYear())));
936
965
  }
937
- displayFormat = __assign(__assign({}, displayFormat), { timeZone: 'utc' });
966
+ displayFormat = Object.assign(Object.assign({}, displayFormat), { timeZone: 'utc' });
938
967
  var dtf = new Intl.DateTimeFormat(this.locale, displayFormat);
939
968
  return this._stripDirectionalityCharacters(this._format(dtf, date));
940
969
  }
@@ -1037,15 +1066,15 @@
1037
1066
  var d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
1038
1067
  return dtf.format(d);
1039
1068
  };
1040
- NativeDateAdapter.decorators = [
1041
- { type: i0.Injectable }
1042
- ];
1043
- NativeDateAdapter.ctorParameters = function () { return [
1044
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_LOCALE,] }] },
1045
- { type: platform.Platform }
1046
- ]; };
1047
1069
  return NativeDateAdapter;
1048
1070
  }(DateAdapter));
1071
+ NativeDateAdapter.decorators = [
1072
+ { type: i0.Injectable }
1073
+ ];
1074
+ NativeDateAdapter.ctorParameters = function () { return [
1075
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_LOCALE,] }] },
1076
+ { type: platform.Platform }
1077
+ ]; };
1049
1078
 
1050
1079
  /**
1051
1080
  * @license
@@ -1076,28 +1105,28 @@
1076
1105
  var NativeDateModule = /** @class */ (function () {
1077
1106
  function NativeDateModule() {
1078
1107
  }
1079
- NativeDateModule.decorators = [
1080
- { type: i0.NgModule, args: [{
1081
- imports: [platform.PlatformModule],
1082
- providers: [
1083
- { provide: DateAdapter, useClass: NativeDateAdapter },
1084
- ],
1085
- },] }
1086
- ];
1087
1108
  return NativeDateModule;
1088
1109
  }());
1110
+ NativeDateModule.decorators = [
1111
+ { type: i0.NgModule, args: [{
1112
+ imports: [platform.PlatformModule],
1113
+ providers: [
1114
+ { provide: DateAdapter, useClass: NativeDateAdapter },
1115
+ ],
1116
+ },] }
1117
+ ];
1089
1118
  var ɵ0$1 = MAT_NATIVE_DATE_FORMATS;
1090
1119
  var MatNativeDateModule = /** @class */ (function () {
1091
1120
  function MatNativeDateModule() {
1092
1121
  }
1093
- MatNativeDateModule.decorators = [
1094
- { type: i0.NgModule, args: [{
1095
- imports: [NativeDateModule],
1096
- providers: [{ provide: MAT_DATE_FORMATS, useValue: ɵ0$1 }],
1097
- },] }
1098
- ];
1099
1122
  return MatNativeDateModule;
1100
1123
  }());
1124
+ MatNativeDateModule.decorators = [
1125
+ { type: i0.NgModule, args: [{
1126
+ imports: [NativeDateModule],
1127
+ providers: [{ provide: MAT_DATE_FORMATS, useValue: ɵ0$1 }],
1128
+ },] }
1129
+ ];
1101
1130
 
1102
1131
  /**
1103
1132
  * @license
@@ -1113,11 +1142,11 @@
1113
1142
  ShowOnDirtyErrorStateMatcher.prototype.isErrorState = function (control, form) {
1114
1143
  return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
1115
1144
  };
1116
- ShowOnDirtyErrorStateMatcher.decorators = [
1117
- { type: i0.Injectable }
1118
- ];
1119
1145
  return ShowOnDirtyErrorStateMatcher;
1120
1146
  }());
1147
+ ShowOnDirtyErrorStateMatcher.decorators = [
1148
+ { type: i0.Injectable }
1149
+ ];
1121
1150
  /** Provider that defines how form controls behave with regards to displaying error messages. */
1122
1151
  var ErrorStateMatcher = /** @class */ (function () {
1123
1152
  function ErrorStateMatcher() {
@@ -1125,12 +1154,12 @@
1125
1154
  ErrorStateMatcher.prototype.isErrorState = function (control, form) {
1126
1155
  return !!(control && control.invalid && (control.touched || (form && form.submitted)));
1127
1156
  };
1128
- ErrorStateMatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function ErrorStateMatcher_Factory() { return new ErrorStateMatcher(); }, token: ErrorStateMatcher, providedIn: "root" });
1129
- ErrorStateMatcher.decorators = [
1130
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1131
- ];
1132
1157
  return ErrorStateMatcher;
1133
1158
  }());
1159
+ ErrorStateMatcher.ɵprov = i0.ɵɵdefineInjectable({ factory: function ErrorStateMatcher_Factory() { return new ErrorStateMatcher(); }, token: ErrorStateMatcher, providedIn: "root" });
1160
+ ErrorStateMatcher.decorators = [
1161
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1162
+ ];
1134
1163
 
1135
1164
  /**
1136
1165
  * @license
@@ -1147,14 +1176,14 @@
1147
1176
  var MatLine = /** @class */ (function () {
1148
1177
  function MatLine() {
1149
1178
  }
1150
- MatLine.decorators = [
1151
- { type: i0.Directive, args: [{
1152
- selector: '[mat-line], [matLine]',
1153
- host: { 'class': 'mat-line' }
1154
- },] }
1155
- ];
1156
1179
  return MatLine;
1157
1180
  }());
1181
+ MatLine.decorators = [
1182
+ { type: i0.Directive, args: [{
1183
+ selector: '[mat-line], [matLine]',
1184
+ host: { 'class': 'mat-line' }
1185
+ },] }
1186
+ ];
1158
1187
  /**
1159
1188
  * Helper that takes a query list of lines and sets the correct class on the host.
1160
1189
  * @docs-private
@@ -1196,15 +1225,15 @@
1196
1225
  var MatLineModule = /** @class */ (function () {
1197
1226
  function MatLineModule() {
1198
1227
  }
1199
- MatLineModule.decorators = [
1200
- { type: i0.NgModule, args: [{
1201
- imports: [MatCommonModule],
1202
- exports: [MatLine, MatCommonModule],
1203
- declarations: [MatLine],
1204
- },] }
1205
- ];
1206
1228
  return MatLineModule;
1207
1229
  }());
1230
+ MatLineModule.decorators = [
1231
+ { type: i0.NgModule, args: [{
1232
+ imports: [MatCommonModule],
1233
+ exports: [MatLine, MatCommonModule],
1234
+ declarations: [MatLine],
1235
+ },] }
1236
+ ];
1208
1237
 
1209
1238
  /**
1210
1239
  * @license
@@ -1287,7 +1316,7 @@
1287
1316
  if (config === void 0) { config = {}; }
1288
1317
  var containerRect = this._containerRect =
1289
1318
  this._containerRect || this._containerElement.getBoundingClientRect();
1290
- var animationConfig = __assign(__assign({}, defaultRippleAnimationConfig), config.animation);
1319
+ var animationConfig = Object.assign(Object.assign({}, defaultRippleAnimationConfig), config.animation);
1291
1320
  if (config.centered) {
1292
1321
  x = containerRect.left + containerRect.width / 2;
1293
1322
  y = containerRect.top + containerRect.height / 2;
@@ -1351,7 +1380,7 @@
1351
1380
  return;
1352
1381
  }
1353
1382
  var rippleEl = rippleRef.element;
1354
- var animationConfig = __assign(__assign({}, defaultRippleAnimationConfig), rippleRef.config.animation);
1383
+ var animationConfig = Object.assign(Object.assign({}, defaultRippleAnimationConfig), rippleRef.config.animation);
1355
1384
  rippleEl.style.transitionDuration = animationConfig.exitDuration + "ms";
1356
1385
  rippleEl.style.opacity = '0';
1357
1386
  rippleRef.state = 2 /* FADING_OUT */;
@@ -1561,7 +1590,7 @@
1561
1590
  centered: this.centered,
1562
1591
  radius: this.radius,
1563
1592
  color: this.color,
1564
- animation: __assign(__assign(__assign({}, this._globalOptions.animation), (this._animationMode === 'NoopAnimations' ? { enterDuration: 0, exitDuration: 0 } : {})), this.animation),
1593
+ animation: Object.assign(Object.assign(Object.assign({}, this._globalOptions.animation), (this._animationMode === 'NoopAnimations' ? { enterDuration: 0, exitDuration: 0 } : {})), this.animation),
1565
1594
  terminateOnPointerUp: this._globalOptions.terminateOnPointerUp,
1566
1595
  };
1567
1596
  },
@@ -1589,40 +1618,40 @@
1589
1618
  MatRipple.prototype.launch = function (configOrX, y, config) {
1590
1619
  if (y === void 0) { y = 0; }
1591
1620
  if (typeof configOrX === 'number') {
1592
- return this._rippleRenderer.fadeInRipple(configOrX, y, __assign(__assign({}, this.rippleConfig), config));
1621
+ return this._rippleRenderer.fadeInRipple(configOrX, y, Object.assign(Object.assign({}, this.rippleConfig), config));
1593
1622
  }
1594
1623
  else {
1595
- return this._rippleRenderer.fadeInRipple(0, 0, __assign(__assign({}, this.rippleConfig), configOrX));
1624
+ return this._rippleRenderer.fadeInRipple(0, 0, Object.assign(Object.assign({}, this.rippleConfig), configOrX));
1596
1625
  }
1597
1626
  };
1598
- MatRipple.decorators = [
1599
- { type: i0.Directive, args: [{
1600
- selector: '[mat-ripple], [matRipple]',
1601
- exportAs: 'matRipple',
1602
- host: {
1603
- 'class': 'mat-ripple',
1604
- '[class.mat-ripple-unbounded]': 'unbounded'
1605
- }
1606
- },] }
1607
- ];
1608
- MatRipple.ctorParameters = function () { return [
1609
- { type: i0.ElementRef },
1610
- { type: i0.NgZone },
1611
- { type: platform.Platform },
1612
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },
1613
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1614
- ]; };
1615
- MatRipple.propDecorators = {
1616
- color: [{ type: i0.Input, args: ['matRippleColor',] }],
1617
- unbounded: [{ type: i0.Input, args: ['matRippleUnbounded',] }],
1618
- centered: [{ type: i0.Input, args: ['matRippleCentered',] }],
1619
- radius: [{ type: i0.Input, args: ['matRippleRadius',] }],
1620
- animation: [{ type: i0.Input, args: ['matRippleAnimation',] }],
1621
- disabled: [{ type: i0.Input, args: ['matRippleDisabled',] }],
1622
- trigger: [{ type: i0.Input, args: ['matRippleTrigger',] }]
1623
- };
1624
1627
  return MatRipple;
1625
1628
  }());
1629
+ MatRipple.decorators = [
1630
+ { type: i0.Directive, args: [{
1631
+ selector: '[mat-ripple], [matRipple]',
1632
+ exportAs: 'matRipple',
1633
+ host: {
1634
+ 'class': 'mat-ripple',
1635
+ '[class.mat-ripple-unbounded]': 'unbounded'
1636
+ }
1637
+ },] }
1638
+ ];
1639
+ MatRipple.ctorParameters = function () { return [
1640
+ { type: i0.ElementRef },
1641
+ { type: i0.NgZone },
1642
+ { type: platform.Platform },
1643
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },
1644
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1645
+ ]; };
1646
+ MatRipple.propDecorators = {
1647
+ color: [{ type: i0.Input, args: ['matRippleColor',] }],
1648
+ unbounded: [{ type: i0.Input, args: ['matRippleUnbounded',] }],
1649
+ centered: [{ type: i0.Input, args: ['matRippleCentered',] }],
1650
+ radius: [{ type: i0.Input, args: ['matRippleRadius',] }],
1651
+ animation: [{ type: i0.Input, args: ['matRippleAnimation',] }],
1652
+ disabled: [{ type: i0.Input, args: ['matRippleDisabled',] }],
1653
+ trigger: [{ type: i0.Input, args: ['matRippleTrigger',] }]
1654
+ };
1626
1655
 
1627
1656
  /**
1628
1657
  * @license
@@ -1634,15 +1663,15 @@
1634
1663
  var MatRippleModule = /** @class */ (function () {
1635
1664
  function MatRippleModule() {
1636
1665
  }
1637
- MatRippleModule.decorators = [
1638
- { type: i0.NgModule, args: [{
1639
- imports: [MatCommonModule, platform.PlatformModule],
1640
- exports: [MatRipple, MatCommonModule],
1641
- declarations: [MatRipple],
1642
- },] }
1643
- ];
1644
1666
  return MatRippleModule;
1645
1667
  }());
1668
+ MatRippleModule.decorators = [
1669
+ { type: i0.NgModule, args: [{
1670
+ imports: [MatCommonModule, platform.PlatformModule],
1671
+ exports: [MatRipple, MatCommonModule],
1672
+ declarations: [MatRipple],
1673
+ },] }
1674
+ ];
1646
1675
 
1647
1676
  /**
1648
1677
  * @license
@@ -1672,31 +1701,31 @@
1672
1701
  /** Whether the checkbox is disabled. */
1673
1702
  this.disabled = false;
1674
1703
  }
1675
- MatPseudoCheckbox.decorators = [
1676
- { type: i0.Component, args: [{
1677
- encapsulation: i0.ViewEncapsulation.None,
1678
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1679
- selector: 'mat-pseudo-checkbox',
1680
- template: '',
1681
- host: {
1682
- 'class': 'mat-pseudo-checkbox',
1683
- '[class.mat-pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
1684
- '[class.mat-pseudo-checkbox-checked]': 'state === "checked"',
1685
- '[class.mat-pseudo-checkbox-disabled]': 'disabled',
1686
- '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1687
- },
1688
- styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n"]
1689
- },] }
1690
- ];
1691
- MatPseudoCheckbox.ctorParameters = function () { return [
1692
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1693
- ]; };
1694
- MatPseudoCheckbox.propDecorators = {
1695
- state: [{ type: i0.Input }],
1696
- disabled: [{ type: i0.Input }]
1697
- };
1698
1704
  return MatPseudoCheckbox;
1699
1705
  }());
1706
+ MatPseudoCheckbox.decorators = [
1707
+ { type: i0.Component, args: [{
1708
+ encapsulation: i0.ViewEncapsulation.None,
1709
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1710
+ selector: 'mat-pseudo-checkbox',
1711
+ template: '',
1712
+ host: {
1713
+ 'class': 'mat-pseudo-checkbox',
1714
+ '[class.mat-pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
1715
+ '[class.mat-pseudo-checkbox-checked]': 'state === "checked"',
1716
+ '[class.mat-pseudo-checkbox-disabled]': 'disabled',
1717
+ '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1718
+ },
1719
+ styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n"]
1720
+ },] }
1721
+ ];
1722
+ MatPseudoCheckbox.ctorParameters = function () { return [
1723
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1724
+ ]; };
1725
+ MatPseudoCheckbox.propDecorators = {
1726
+ state: [{ type: i0.Input }],
1727
+ disabled: [{ type: i0.Input }]
1728
+ };
1700
1729
 
1701
1730
  /**
1702
1731
  * @license
@@ -1708,22 +1737,15 @@
1708
1737
  var MatPseudoCheckboxModule = /** @class */ (function () {
1709
1738
  function MatPseudoCheckboxModule() {
1710
1739
  }
1711
- MatPseudoCheckboxModule.decorators = [
1712
- { type: i0.NgModule, args: [{
1713
- exports: [MatPseudoCheckbox],
1714
- declarations: [MatPseudoCheckbox]
1715
- },] }
1716
- ];
1717
1740
  return MatPseudoCheckboxModule;
1718
1741
  }());
1742
+ MatPseudoCheckboxModule.decorators = [
1743
+ { type: i0.NgModule, args: [{
1744
+ exports: [MatPseudoCheckbox],
1745
+ declarations: [MatPseudoCheckbox]
1746
+ },] }
1747
+ ];
1719
1748
 
1720
- /**
1721
- * @license
1722
- * Copyright Google LLC All Rights Reserved.
1723
- *
1724
- * Use of this source code is governed by an MIT-style license that can be
1725
- * found in the LICENSE file at https://angular.io/license
1726
- */
1727
1749
  // Boilerplate for applying mixins to MatOptgroup.
1728
1750
  /** @docs-private */
1729
1751
  var MatOptgroupBase = /** @class */ (function () {
@@ -1734,22 +1756,23 @@
1734
1756
  var _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);
1735
1757
  // Counter for unique group ids.
1736
1758
  var _uniqueOptgroupIdCounter = 0;
1759
+ // tslint:disable-next-line:class-name
1737
1760
  var _MatOptgroupBase = /** @class */ (function (_super) {
1738
1761
  __extends(_MatOptgroupBase, _super);
1739
1762
  function _MatOptgroupBase() {
1740
- var _this = _super !== null && _super.apply(this, arguments) || this;
1763
+ var _this = _super.apply(this, __spread(arguments)) || this;
1741
1764
  /** Unique id for the underlying label. */
1742
1765
  _this._labelId = "mat-optgroup-label-" + _uniqueOptgroupIdCounter++;
1743
1766
  return _this;
1744
1767
  }
1745
- _MatOptgroupBase.decorators = [
1746
- { type: i0.Directive }
1747
- ];
1748
- _MatOptgroupBase.propDecorators = {
1749
- label: [{ type: i0.Input }]
1750
- };
1751
1768
  return _MatOptgroupBase;
1752
1769
  }(_MatOptgroupMixinBase));
1770
+ _MatOptgroupBase.decorators = [
1771
+ { type: i0.Directive }
1772
+ ];
1773
+ _MatOptgroupBase.propDecorators = {
1774
+ label: [{ type: i0.Input }]
1775
+ };
1753
1776
  /**
1754
1777
  * Injection token that can be used to reference instances of `MatOptgroup`. It serves as
1755
1778
  * alternative token to the actual `MatOptgroup` class which could cause unnecessary
@@ -1764,35 +1787,28 @@
1764
1787
  function MatOptgroup() {
1765
1788
  return _super !== null && _super.apply(this, arguments) || this;
1766
1789
  }
1767
- MatOptgroup.decorators = [
1768
- { type: i0.Component, args: [{
1769
- selector: 'mat-optgroup',
1770
- exportAs: 'matOptgroup',
1771
- template: "<label class=\"mat-optgroup-label\" [id]=\"_labelId\">{{ label }} <ng-content></ng-content></label>\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n",
1772
- encapsulation: i0.ViewEncapsulation.None,
1773
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1774
- inputs: ['disabled'],
1775
- host: {
1776
- 'class': 'mat-optgroup',
1777
- 'role': 'group',
1778
- '[class.mat-optgroup-disabled]': 'disabled',
1779
- '[attr.aria-disabled]': 'disabled.toString()',
1780
- '[attr.aria-labelledby]': '_labelId',
1781
- },
1782
- providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }],
1783
- styles: [".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"]
1784
- },] }
1785
- ];
1786
1790
  return MatOptgroup;
1787
1791
  }(_MatOptgroupBase));
1792
+ MatOptgroup.decorators = [
1793
+ { type: i0.Component, args: [{
1794
+ selector: 'mat-optgroup',
1795
+ exportAs: 'matOptgroup',
1796
+ template: "<label class=\"mat-optgroup-label\" [id]=\"_labelId\">{{ label }} <ng-content></ng-content></label>\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n",
1797
+ encapsulation: i0.ViewEncapsulation.None,
1798
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1799
+ inputs: ['disabled'],
1800
+ host: {
1801
+ 'class': 'mat-optgroup',
1802
+ 'role': 'group',
1803
+ '[class.mat-optgroup-disabled]': 'disabled',
1804
+ '[attr.aria-disabled]': 'disabled.toString()',
1805
+ '[attr.aria-labelledby]': '_labelId',
1806
+ },
1807
+ providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }],
1808
+ styles: [".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"]
1809
+ },] }
1810
+ ];
1788
1811
 
1789
- /**
1790
- * @license
1791
- * Copyright Google LLC All Rights Reserved.
1792
- *
1793
- * Use of this source code is governed by an MIT-style license that can be
1794
- * found in the LICENSE file at https://angular.io/license
1795
- */
1796
1812
  /**
1797
1813
  * Option IDs need to be unique across components, so this counter exists outside of
1798
1814
  * the component definition.
@@ -1815,6 +1831,7 @@
1815
1831
  * Injection token used to provide the parent component to options.
1816
1832
  */
1817
1833
  var MAT_OPTION_PARENT_COMPONENT = new i0.InjectionToken('MAT_OPTION_PARENT_COMPONENT');
1834
+ // tslint:disable-next-line:class-name
1818
1835
  var _MatOptionBase = /** @class */ (function () {
1819
1836
  function _MatOptionBase(_element, _changeDetectorRef, _parent, group) {
1820
1837
  this._element = _element;
@@ -1992,23 +2009,23 @@
1992
2009
  if (isUserInput === void 0) { isUserInput = false; }
1993
2010
  this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));
1994
2011
  };
1995
- _MatOptionBase.decorators = [
1996
- { type: i0.Directive }
1997
- ];
1998
- _MatOptionBase.ctorParameters = function () { return [
1999
- { type: i0.ElementRef },
2000
- { type: i0.ChangeDetectorRef },
2001
- { type: undefined },
2002
- { type: _MatOptgroupBase }
2003
- ]; };
2004
- _MatOptionBase.propDecorators = {
2005
- value: [{ type: i0.Input }],
2006
- id: [{ type: i0.Input }],
2007
- disabled: [{ type: i0.Input }],
2008
- onSelectionChange: [{ type: i0.Output }]
2009
- };
2010
2012
  return _MatOptionBase;
2011
2013
  }());
2014
+ _MatOptionBase.decorators = [
2015
+ { type: i0.Directive }
2016
+ ];
2017
+ _MatOptionBase.ctorParameters = function () { return [
2018
+ { type: i0.ElementRef },
2019
+ { type: i0.ChangeDetectorRef },
2020
+ { type: undefined },
2021
+ { type: _MatOptgroupBase }
2022
+ ]; };
2023
+ _MatOptionBase.propDecorators = {
2024
+ value: [{ type: i0.Input }],
2025
+ id: [{ type: i0.Input }],
2026
+ disabled: [{ type: i0.Input }],
2027
+ onSelectionChange: [{ type: i0.Output }]
2028
+ };
2012
2029
  /**
2013
2030
  * Single option inside of a `<mat-select>` element.
2014
2031
  */
@@ -2017,38 +2034,38 @@
2017
2034
  function MatOption(element, changeDetectorRef, parent, group) {
2018
2035
  return _super.call(this, element, changeDetectorRef, parent, group) || this;
2019
2036
  }
2020
- MatOption.decorators = [
2021
- { type: i0.Component, args: [{
2022
- selector: 'mat-option',
2023
- exportAs: 'matOption',
2024
- host: {
2025
- 'role': 'option',
2026
- '[attr.tabindex]': '_getTabIndex()',
2027
- '[class.mat-selected]': 'selected',
2028
- '[class.mat-option-multiple]': 'multiple',
2029
- '[class.mat-active]': 'active',
2030
- '[id]': 'id',
2031
- '[attr.aria-selected]': '_getAriaSelected()',
2032
- '[attr.aria-disabled]': 'disabled.toString()',
2033
- '[class.mat-option-disabled]': 'disabled',
2034
- '(click)': '_selectViaInteraction()',
2035
- '(keydown)': '_handleKeydown($event)',
2036
- 'class': 'mat-option mat-focus-indicator',
2037
- },
2038
- template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\" [disabled]=\"disabled\"></mat-pseudo-checkbox>\n\n<span class=\"mat-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mat-option-ripple\" mat-ripple\n [matRippleTrigger]=\"_getHostElement()\"\n [matRippleDisabled]=\"disabled || disableRipple\">\n</div>\n",
2039
- encapsulation: i0.ViewEncapsulation.None,
2040
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2041
- styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"]
2042
- },] }
2043
- ];
2044
- MatOption.ctorParameters = function () { return [
2045
- { type: i0.ElementRef },
2046
- { type: i0.ChangeDetectorRef },
2047
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTION_PARENT_COMPONENT,] }] },
2048
- { type: MatOptgroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTGROUP,] }] }
2049
- ]; };
2050
2037
  return MatOption;
2051
2038
  }(_MatOptionBase));
2039
+ MatOption.decorators = [
2040
+ { type: i0.Component, args: [{
2041
+ selector: 'mat-option',
2042
+ exportAs: 'matOption',
2043
+ host: {
2044
+ 'role': 'option',
2045
+ '[attr.tabindex]': '_getTabIndex()',
2046
+ '[class.mat-selected]': 'selected',
2047
+ '[class.mat-option-multiple]': 'multiple',
2048
+ '[class.mat-active]': 'active',
2049
+ '[id]': 'id',
2050
+ '[attr.aria-selected]': '_getAriaSelected()',
2051
+ '[attr.aria-disabled]': 'disabled.toString()',
2052
+ '[class.mat-option-disabled]': 'disabled',
2053
+ '(click)': '_selectViaInteraction()',
2054
+ '(keydown)': '_handleKeydown($event)',
2055
+ 'class': 'mat-option mat-focus-indicator',
2056
+ },
2057
+ template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\" [disabled]=\"disabled\"></mat-pseudo-checkbox>\n\n<span class=\"mat-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mat-option-ripple\" mat-ripple\n [matRippleTrigger]=\"_getHostElement()\"\n [matRippleDisabled]=\"disabled || disableRipple\">\n</div>\n",
2058
+ encapsulation: i0.ViewEncapsulation.None,
2059
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2060
+ styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"]
2061
+ },] }
2062
+ ];
2063
+ MatOption.ctorParameters = function () { return [
2064
+ { type: i0.ElementRef },
2065
+ { type: i0.ChangeDetectorRef },
2066
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTION_PARENT_COMPONENT,] }] },
2067
+ { type: MatOptgroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTGROUP,] }] }
2068
+ ]; };
2052
2069
  /**
2053
2070
  * Counts the amount of option group labels that precede the specified option.
2054
2071
  * @param optionIndex Index of the option at which to start counting.
@@ -2099,15 +2116,15 @@
2099
2116
  var MatOptionModule = /** @class */ (function () {
2100
2117
  function MatOptionModule() {
2101
2118
  }
2102
- MatOptionModule.decorators = [
2103
- { type: i0.NgModule, args: [{
2104
- imports: [MatRippleModule, common.CommonModule, MatPseudoCheckboxModule],
2105
- exports: [MatOption, MatOptgroup],
2106
- declarations: [MatOption, MatOptgroup]
2107
- },] }
2108
- ];
2109
2119
  return MatOptionModule;
2110
2120
  }());
2121
+ MatOptionModule.decorators = [
2122
+ { type: i0.NgModule, args: [{
2123
+ imports: [MatRippleModule, common.CommonModule, MatPseudoCheckboxModule],
2124
+ exports: [MatOption, MatOptgroup],
2125
+ declarations: [MatOption, MatOptgroup]
2126
+ },] }
2127
+ ];
2111
2128
 
2112
2129
  /**
2113
2130
  * @license