@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
@@ -18,14 +18,14 @@
18
18
  var MatCardContent = /** @class */ (function () {
19
19
  function MatCardContent() {
20
20
  }
21
- MatCardContent.decorators = [
22
- { type: core.Directive, args: [{
23
- selector: 'mat-card-content, [mat-card-content], [matCardContent]',
24
- host: { 'class': 'mat-card-content' }
25
- },] }
26
- ];
27
21
  return MatCardContent;
28
22
  }());
23
+ MatCardContent.decorators = [
24
+ { type: core.Directive, args: [{
25
+ selector: 'mat-card-content, [mat-card-content], [matCardContent]',
26
+ host: { 'class': 'mat-card-content' }
27
+ },] }
28
+ ];
29
29
  /**
30
30
  * Title of a card, needed as it's used as a selector in the API.
31
31
  * @docs-private
@@ -33,16 +33,16 @@
33
33
  var MatCardTitle = /** @class */ (function () {
34
34
  function MatCardTitle() {
35
35
  }
36
- MatCardTitle.decorators = [
37
- { type: core.Directive, args: [{
38
- selector: "mat-card-title, [mat-card-title], [matCardTitle]",
39
- host: {
40
- 'class': 'mat-card-title'
41
- }
42
- },] }
43
- ];
44
36
  return MatCardTitle;
45
37
  }());
38
+ MatCardTitle.decorators = [
39
+ { type: core.Directive, args: [{
40
+ selector: "mat-card-title, [mat-card-title], [matCardTitle]",
41
+ host: {
42
+ 'class': 'mat-card-title'
43
+ }
44
+ },] }
45
+ ];
46
46
  /**
47
47
  * Sub-title of a card, needed as it's used as a selector in the API.
48
48
  * @docs-private
@@ -50,16 +50,16 @@
50
50
  var MatCardSubtitle = /** @class */ (function () {
51
51
  function MatCardSubtitle() {
52
52
  }
53
- MatCardSubtitle.decorators = [
54
- { type: core.Directive, args: [{
55
- selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",
56
- host: {
57
- 'class': 'mat-card-subtitle'
58
- }
59
- },] }
60
- ];
61
53
  return MatCardSubtitle;
62
54
  }());
55
+ MatCardSubtitle.decorators = [
56
+ { type: core.Directive, args: [{
57
+ selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",
58
+ host: {
59
+ 'class': 'mat-card-subtitle'
60
+ }
61
+ },] }
62
+ ];
63
63
  /**
64
64
  * Action section of a card, needed as it's used as a selector in the API.
65
65
  * @docs-private
@@ -69,21 +69,21 @@
69
69
  /** Position of the actions inside the card. */
70
70
  this.align = 'start';
71
71
  }
72
- MatCardActions.decorators = [
73
- { type: core.Directive, args: [{
74
- selector: 'mat-card-actions',
75
- exportAs: 'matCardActions',
76
- host: {
77
- 'class': 'mat-card-actions',
78
- '[class.mat-card-actions-align-end]': 'align === "end"',
79
- }
80
- },] }
81
- ];
82
- MatCardActions.propDecorators = {
83
- align: [{ type: core.Input }]
84
- };
85
72
  return MatCardActions;
86
73
  }());
74
+ MatCardActions.decorators = [
75
+ { type: core.Directive, args: [{
76
+ selector: 'mat-card-actions',
77
+ exportAs: 'matCardActions',
78
+ host: {
79
+ 'class': 'mat-card-actions',
80
+ '[class.mat-card-actions-align-end]': 'align === "end"',
81
+ }
82
+ },] }
83
+ ];
84
+ MatCardActions.propDecorators = {
85
+ align: [{ type: core.Input }]
86
+ };
87
87
  /**
88
88
  * Footer of a card, needed as it's used as a selector in the API.
89
89
  * @docs-private
@@ -91,14 +91,14 @@
91
91
  var MatCardFooter = /** @class */ (function () {
92
92
  function MatCardFooter() {
93
93
  }
94
- MatCardFooter.decorators = [
95
- { type: core.Directive, args: [{
96
- selector: 'mat-card-footer',
97
- host: { 'class': 'mat-card-footer' }
98
- },] }
99
- ];
100
94
  return MatCardFooter;
101
95
  }());
96
+ MatCardFooter.decorators = [
97
+ { type: core.Directive, args: [{
98
+ selector: 'mat-card-footer',
99
+ host: { 'class': 'mat-card-footer' }
100
+ },] }
101
+ ];
102
102
  /**
103
103
  * Image used in a card, needed to add the mat- CSS styling.
104
104
  * @docs-private
@@ -106,14 +106,14 @@
106
106
  var MatCardImage = /** @class */ (function () {
107
107
  function MatCardImage() {
108
108
  }
109
- MatCardImage.decorators = [
110
- { type: core.Directive, args: [{
111
- selector: '[mat-card-image], [matCardImage]',
112
- host: { 'class': 'mat-card-image' }
113
- },] }
114
- ];
115
109
  return MatCardImage;
116
110
  }());
111
+ MatCardImage.decorators = [
112
+ { type: core.Directive, args: [{
113
+ selector: '[mat-card-image], [matCardImage]',
114
+ host: { 'class': 'mat-card-image' }
115
+ },] }
116
+ ];
117
117
  /**
118
118
  * Image used in a card, needed to add the mat- CSS styling.
119
119
  * @docs-private
@@ -121,14 +121,14 @@
121
121
  var MatCardSmImage = /** @class */ (function () {
122
122
  function MatCardSmImage() {
123
123
  }
124
- MatCardSmImage.decorators = [
125
- { type: core.Directive, args: [{
126
- selector: '[mat-card-sm-image], [matCardImageSmall]',
127
- host: { 'class': 'mat-card-sm-image' }
128
- },] }
129
- ];
130
124
  return MatCardSmImage;
131
125
  }());
126
+ MatCardSmImage.decorators = [
127
+ { type: core.Directive, args: [{
128
+ selector: '[mat-card-sm-image], [matCardImageSmall]',
129
+ host: { 'class': 'mat-card-sm-image' }
130
+ },] }
131
+ ];
132
132
  /**
133
133
  * Image used in a card, needed to add the mat- CSS styling.
134
134
  * @docs-private
@@ -136,14 +136,14 @@
136
136
  var MatCardMdImage = /** @class */ (function () {
137
137
  function MatCardMdImage() {
138
138
  }
139
- MatCardMdImage.decorators = [
140
- { type: core.Directive, args: [{
141
- selector: '[mat-card-md-image], [matCardImageMedium]',
142
- host: { 'class': 'mat-card-md-image' }
143
- },] }
144
- ];
145
139
  return MatCardMdImage;
146
140
  }());
141
+ MatCardMdImage.decorators = [
142
+ { type: core.Directive, args: [{
143
+ selector: '[mat-card-md-image], [matCardImageMedium]',
144
+ host: { 'class': 'mat-card-md-image' }
145
+ },] }
146
+ ];
147
147
  /**
148
148
  * Image used in a card, needed to add the mat- CSS styling.
149
149
  * @docs-private
@@ -151,14 +151,14 @@
151
151
  var MatCardLgImage = /** @class */ (function () {
152
152
  function MatCardLgImage() {
153
153
  }
154
- MatCardLgImage.decorators = [
155
- { type: core.Directive, args: [{
156
- selector: '[mat-card-lg-image], [matCardImageLarge]',
157
- host: { 'class': 'mat-card-lg-image' }
158
- },] }
159
- ];
160
154
  return MatCardLgImage;
161
155
  }());
156
+ MatCardLgImage.decorators = [
157
+ { type: core.Directive, args: [{
158
+ selector: '[mat-card-lg-image], [matCardImageLarge]',
159
+ host: { 'class': 'mat-card-lg-image' }
160
+ },] }
161
+ ];
162
162
  /**
163
163
  * Large image used in a card, needed to add the mat- CSS styling.
164
164
  * @docs-private
@@ -166,14 +166,14 @@
166
166
  var MatCardXlImage = /** @class */ (function () {
167
167
  function MatCardXlImage() {
168
168
  }
169
- MatCardXlImage.decorators = [
170
- { type: core.Directive, args: [{
171
- selector: '[mat-card-xl-image], [matCardImageXLarge]',
172
- host: { 'class': 'mat-card-xl-image' }
173
- },] }
174
- ];
175
169
  return MatCardXlImage;
176
170
  }());
171
+ MatCardXlImage.decorators = [
172
+ { type: core.Directive, args: [{
173
+ selector: '[mat-card-xl-image], [matCardImageXLarge]',
174
+ host: { 'class': 'mat-card-xl-image' }
175
+ },] }
176
+ ];
177
177
  /**
178
178
  * Avatar image used in a card, needed to add the mat- CSS styling.
179
179
  * @docs-private
@@ -181,14 +181,14 @@
181
181
  var MatCardAvatar = /** @class */ (function () {
182
182
  function MatCardAvatar() {
183
183
  }
184
- MatCardAvatar.decorators = [
185
- { type: core.Directive, args: [{
186
- selector: '[mat-card-avatar], [matCardAvatar]',
187
- host: { 'class': 'mat-card-avatar' }
188
- },] }
189
- ];
190
184
  return MatCardAvatar;
191
185
  }());
186
+ MatCardAvatar.decorators = [
187
+ { type: core.Directive, args: [{
188
+ selector: '[mat-card-avatar], [matCardAvatar]',
189
+ host: { 'class': 'mat-card-avatar' }
190
+ },] }
191
+ ];
192
192
  /**
193
193
  * A basic content container component that adds the styles of a Material design card.
194
194
  *
@@ -205,25 +205,25 @@
205
205
  function MatCard(_animationMode) {
206
206
  this._animationMode = _animationMode;
207
207
  }
208
- MatCard.decorators = [
209
- { type: core.Component, args: [{
210
- selector: 'mat-card',
211
- exportAs: 'matCard',
212
- template: "<ng-content></ng-content>\n<ng-content select=\"mat-card-footer\"></ng-content>\n",
213
- encapsulation: core.ViewEncapsulation.None,
214
- changeDetection: core.ChangeDetectionStrategy.OnPush,
215
- host: {
216
- 'class': 'mat-card mat-focus-indicator',
217
- '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
218
- },
219
- styles: [".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"]
220
- },] }
221
- ];
222
- MatCard.ctorParameters = function () { return [
223
- { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
224
- ]; };
225
208
  return MatCard;
226
209
  }());
210
+ MatCard.decorators = [
211
+ { type: core.Component, args: [{
212
+ selector: 'mat-card',
213
+ exportAs: 'matCard',
214
+ template: "<ng-content></ng-content>\n<ng-content select=\"mat-card-footer\"></ng-content>\n",
215
+ encapsulation: core.ViewEncapsulation.None,
216
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
217
+ host: {
218
+ 'class': 'mat-card mat-focus-indicator',
219
+ '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
220
+ },
221
+ styles: [".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"]
222
+ },] }
223
+ ];
224
+ MatCard.ctorParameters = function () { return [
225
+ { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
226
+ ]; };
227
227
  /**
228
228
  * Component intended to be used within the `<mat-card>` component. It adds styles for a
229
229
  * preset header section (i.e. a title, subtitle, and avatar layout).
@@ -232,17 +232,17 @@
232
232
  var MatCardHeader = /** @class */ (function () {
233
233
  function MatCardHeader() {
234
234
  }
235
- MatCardHeader.decorators = [
236
- { type: core.Component, args: [{
237
- selector: 'mat-card-header',
238
- template: "<ng-content select=\"[mat-card-avatar], [matCardAvatar]\"></ng-content>\n<div class=\"mat-card-header-text\">\n <ng-content\n select=\"mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]\"></ng-content>\n</div>\n<ng-content></ng-content>\n",
239
- encapsulation: core.ViewEncapsulation.None,
240
- changeDetection: core.ChangeDetectionStrategy.OnPush,
241
- host: { 'class': 'mat-card-header' }
242
- },] }
243
- ];
244
235
  return MatCardHeader;
245
236
  }());
237
+ MatCardHeader.decorators = [
238
+ { type: core.Component, args: [{
239
+ selector: 'mat-card-header',
240
+ template: "<ng-content select=\"[mat-card-avatar], [matCardAvatar]\"></ng-content>\n<div class=\"mat-card-header-text\">\n <ng-content\n select=\"mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]\"></ng-content>\n</div>\n<ng-content></ng-content>\n",
241
+ encapsulation: core.ViewEncapsulation.None,
242
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
243
+ host: { 'class': 'mat-card-header' }
244
+ },] }
245
+ ];
246
246
  /**
247
247
  * Component intended to be used within the `<mat-card>` component. It adds styles for a preset
248
248
  * layout that groups an image with a title section.
@@ -251,17 +251,17 @@
251
251
  var MatCardTitleGroup = /** @class */ (function () {
252
252
  function MatCardTitleGroup() {
253
253
  }
254
- MatCardTitleGroup.decorators = [
255
- { type: core.Component, args: [{
256
- selector: 'mat-card-title-group',
257
- template: "<div>\n <ng-content\n select=\"mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]\"></ng-content>\n</div>\n<ng-content select=\"img\"></ng-content>\n<ng-content></ng-content>\n",
258
- encapsulation: core.ViewEncapsulation.None,
259
- changeDetection: core.ChangeDetectionStrategy.OnPush,
260
- host: { 'class': 'mat-card-title-group' }
261
- },] }
262
- ];
263
254
  return MatCardTitleGroup;
264
255
  }());
256
+ MatCardTitleGroup.decorators = [
257
+ { type: core.Component, args: [{
258
+ selector: 'mat-card-title-group',
259
+ template: "<div>\n <ng-content\n select=\"mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]\"></ng-content>\n</div>\n<ng-content select=\"img\"></ng-content>\n<ng-content></ng-content>\n",
260
+ encapsulation: core.ViewEncapsulation.None,
261
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
262
+ host: { 'class': 'mat-card-title-group' }
263
+ },] }
264
+ ];
265
265
 
266
266
  /**
267
267
  * @license
@@ -273,35 +273,35 @@
273
273
  var MatCardModule = /** @class */ (function () {
274
274
  function MatCardModule() {
275
275
  }
276
- MatCardModule.decorators = [
277
- { type: core.NgModule, args: [{
278
- imports: [core$1.MatCommonModule],
279
- exports: [
280
- MatCard,
281
- MatCardHeader,
282
- MatCardTitleGroup,
283
- MatCardContent,
284
- MatCardTitle,
285
- MatCardSubtitle,
286
- MatCardActions,
287
- MatCardFooter,
288
- MatCardSmImage,
289
- MatCardMdImage,
290
- MatCardLgImage,
291
- MatCardImage,
292
- MatCardXlImage,
293
- MatCardAvatar,
294
- core$1.MatCommonModule,
295
- ],
296
- declarations: [
297
- MatCard, MatCardHeader, MatCardTitleGroup, MatCardContent, MatCardTitle, MatCardSubtitle,
298
- MatCardActions, MatCardFooter, MatCardSmImage, MatCardMdImage, MatCardLgImage, MatCardImage,
299
- MatCardXlImage, MatCardAvatar,
300
- ],
301
- },] }
302
- ];
303
276
  return MatCardModule;
304
277
  }());
278
+ MatCardModule.decorators = [
279
+ { type: core.NgModule, args: [{
280
+ imports: [core$1.MatCommonModule],
281
+ exports: [
282
+ MatCard,
283
+ MatCardHeader,
284
+ MatCardTitleGroup,
285
+ MatCardContent,
286
+ MatCardTitle,
287
+ MatCardSubtitle,
288
+ MatCardActions,
289
+ MatCardFooter,
290
+ MatCardSmImage,
291
+ MatCardMdImage,
292
+ MatCardLgImage,
293
+ MatCardImage,
294
+ MatCardXlImage,
295
+ MatCardAvatar,
296
+ core$1.MatCommonModule,
297
+ ],
298
+ declarations: [
299
+ MatCard, MatCardHeader, MatCardTitleGroup, MatCardContent, MatCardTitle, MatCardSubtitle,
300
+ MatCardActions, MatCardFooter, MatCardSmImage, MatCardMdImage, MatCardLgImage, MatCardImage,
301
+ MatCardXlImage, MatCardAvatar,
302
+ ],
303
+ },] }
304
+ ];
305
305
 
306
306
  /**
307
307
  * @license
@@ -1 +1 @@
1
- {"version":3,"file":"material-card.umd.js","sources":["../../../../../../src/material/card/card.ts","../../../../../../src/material/card/card-module.ts","../../../../../../src/material/card/public-api.ts","../../../../../../src/material/card/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Directive,\n Input,\n Optional,\n Inject,\n} from '@angular/core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\n\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: 'mat-card-content, [mat-card-content], [matCardContent]',\n host: {'class': 'mat-card-content'}\n})\nexport class MatCardContent {}\n\n/**\n * Title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: `mat-card-title, [mat-card-title], [matCardTitle]`,\n host: {\n 'class': 'mat-card-title'\n }\n})\nexport class MatCardTitle {}\n\n/**\n * Sub-title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: `mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]`,\n host: {\n 'class': 'mat-card-subtitle'\n }\n})\nexport class MatCardSubtitle {}\n\n/**\n * Action section of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: 'mat-card-actions',\n exportAs: 'matCardActions',\n host: {\n 'class': 'mat-card-actions',\n '[class.mat-card-actions-align-end]': 'align === \"end\"',\n }\n})\nexport class MatCardActions {\n /** Position of the actions inside the card. */\n @Input() align: 'start' | 'end' = 'start';\n}\n\n/**\n * Footer of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: 'mat-card-footer',\n host: {'class': 'mat-card-footer'}\n})\nexport class MatCardFooter {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-image], [matCardImage]',\n host: {'class': 'mat-card-image'}\n})\nexport class MatCardImage {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-sm-image], [matCardImageSmall]',\n host: {'class': 'mat-card-sm-image'}\n})\nexport class MatCardSmImage {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-md-image], [matCardImageMedium]',\n host: {'class': 'mat-card-md-image'}\n})\nexport class MatCardMdImage {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-lg-image], [matCardImageLarge]',\n host: {'class': 'mat-card-lg-image'}\n})\nexport class MatCardLgImage {}\n\n/**\n * Large image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-xl-image], [matCardImageXLarge]',\n host: {'class': 'mat-card-xl-image'}\n})\nexport class MatCardXlImage {}\n\n/**\n * Avatar image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-avatar], [matCardAvatar]',\n host: {'class': 'mat-card-avatar'}\n})\nexport class MatCardAvatar {}\n\n\n/**\n * A basic content container component that adds the styles of a Material design card.\n *\n * While this component can be used alone, it also provides a number\n * of preset styles for common card sections, including:\n * - mat-card-title\n * - mat-card-subtitle\n * - mat-card-content\n * - mat-card-actions\n * - mat-card-footer\n */\n@Component({\n selector: 'mat-card',\n exportAs: 'matCard',\n templateUrl: 'card.html',\n styleUrls: ['card.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'mat-card mat-focus-indicator',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n }\n})\nexport class MatCard {\n // @breaking-change 9.0.0 `_animationMode` parameter to be made required.\n constructor(@Optional() @Inject(ANIMATION_MODULE_TYPE) public _animationMode?: string) {}\n}\n\n\n/**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a\n * preset header section (i.e. a title, subtitle, and avatar layout).\n * @docs-private\n */\n@Component({\n selector: 'mat-card-header',\n templateUrl: 'card-header.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {'class': 'mat-card-header'}\n})\nexport class MatCardHeader {}\n\n\n/**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a preset\n * layout that groups an image with a title section.\n * @docs-private\n */\n@Component({\n selector: 'mat-card-title-group',\n templateUrl: 'card-title-group.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {'class': 'mat-card-title-group'}\n})\nexport class MatCardTitleGroup {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {\n MatCard,\n MatCardActions,\n MatCardAvatar,\n MatCardContent,\n MatCardFooter,\n MatCardHeader,\n MatCardImage,\n MatCardLgImage,\n MatCardMdImage,\n MatCardSmImage,\n MatCardSubtitle,\n MatCardTitle,\n MatCardTitleGroup,\n MatCardXlImage,\n} from './card';\n\n\n@NgModule({\n imports: [MatCommonModule],\n exports: [\n MatCard,\n MatCardHeader,\n MatCardTitleGroup,\n MatCardContent,\n MatCardTitle,\n MatCardSubtitle,\n MatCardActions,\n MatCardFooter,\n MatCardSmImage,\n MatCardMdImage,\n MatCardLgImage,\n MatCardImage,\n MatCardXlImage,\n MatCardAvatar,\n MatCommonModule,\n ],\n declarations: [\n MatCard, MatCardHeader, MatCardTitleGroup, MatCardContent, MatCardTitle, MatCardSubtitle,\n MatCardActions, MatCardFooter, MatCardSmImage, MatCardMdImage, MatCardLgImage, MatCardImage,\n MatCardXlImage, MatCardAvatar,\n ],\n})\nexport class MatCardModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './card';\nexport * from './card-module';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Directive","Input","Component","ViewEncapsulation","ChangeDetectionStrategy","Optional","Inject","ANIMATION_MODULE_TYPE","NgModule","MatCommonModule"],"mappings":";;;;;;IAAA;;;;;;;AAQA,IAYA;;;;AAIA;QAAA;SAI8B;;oBAJ7BA,cAAS,SAAC;wBACT,QAAQ,EAAE,wDAAwD;wBAClE,IAAI,EAAE,EAAC,OAAO,EAAE,kBAAkB,EAAC;qBACpC;;QAC4B,qBAAC;KAJ9B,IAI8B;IAE9B;;;;AAIA;QAAA;SAM4B;;oBAN3BA,cAAS,SAAC;wBACT,QAAQ,EAAE,kDAAkD;wBAC5D,IAAI,EAAE;4BACJ,OAAO,EAAE,gBAAgB;yBAC1B;qBACF;;QAC0B,mBAAC;KAN5B,IAM4B;IAE5B;;;;AAIA;QAAA;SAM+B;;oBAN9BA,cAAS,SAAC;wBACT,QAAQ,EAAE,2DAA2D;wBACrE,IAAI,EAAE;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,sBAAsB,EAAC;qBACxC;;QAC+B,wBAAC;KAPjC;;IC/LA;;;;;;;AAQA;QAoBA;SAyB6B;;oBAzB5BI,aAAQ,SAAC;wBACR,OAAO,EAAE,CAACC,sBAAe,CAAC;wBAC1B,OAAO,EAAE;4BACP,OAAO;4BACP,aAAa;4BACb,iBAAiB;4BACjB,cAAc;4BACd,YAAY;4BACZ,eAAe;4BACf,cAAc;4BACd,aAAa;4BACb,cAAc;4BACd,cAAc;4BACd,cAAc;4BACd,YAAY;4BACZ,cAAc;4BACd,aAAa;4BACbA,sBAAe;yBAChB;wBACD,YAAY,EAAE;4BACZ,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe;4BACxF,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY;4BAC3F,cAAc,EAAE,aAAa;yBAC9B;qBACF;;QAC2B,oBAAC;KAzB7B;;IC5BA;;;;;;OAMG;;ICNH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"material-card.umd.js","sources":["../../../../../src/material/card/card.ts","../../../../../src/material/card/card-module.ts","../../../../../src/material/card/public-api.ts","../../../../../src/material/card/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Directive,\n Input,\n Optional,\n Inject,\n} from '@angular/core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\n\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: 'mat-card-content, [mat-card-content], [matCardContent]',\n host: {'class': 'mat-card-content'}\n})\nexport class MatCardContent {}\n\n/**\n * Title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: `mat-card-title, [mat-card-title], [matCardTitle]`,\n host: {\n 'class': 'mat-card-title'\n }\n})\nexport class MatCardTitle {}\n\n/**\n * Sub-title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: `mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]`,\n host: {\n 'class': 'mat-card-subtitle'\n }\n})\nexport class MatCardSubtitle {}\n\n/**\n * Action section of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: 'mat-card-actions',\n exportAs: 'matCardActions',\n host: {\n 'class': 'mat-card-actions',\n '[class.mat-card-actions-align-end]': 'align === \"end\"',\n }\n})\nexport class MatCardActions {\n /** Position of the actions inside the card. */\n @Input() align: 'start' | 'end' = 'start';\n}\n\n/**\n * Footer of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n@Directive({\n selector: 'mat-card-footer',\n host: {'class': 'mat-card-footer'}\n})\nexport class MatCardFooter {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-image], [matCardImage]',\n host: {'class': 'mat-card-image'}\n})\nexport class MatCardImage {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-sm-image], [matCardImageSmall]',\n host: {'class': 'mat-card-sm-image'}\n})\nexport class MatCardSmImage {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-md-image], [matCardImageMedium]',\n host: {'class': 'mat-card-md-image'}\n})\nexport class MatCardMdImage {}\n\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-lg-image], [matCardImageLarge]',\n host: {'class': 'mat-card-lg-image'}\n})\nexport class MatCardLgImage {}\n\n/**\n * Large image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-xl-image], [matCardImageXLarge]',\n host: {'class': 'mat-card-xl-image'}\n})\nexport class MatCardXlImage {}\n\n/**\n * Avatar image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n@Directive({\n selector: '[mat-card-avatar], [matCardAvatar]',\n host: {'class': 'mat-card-avatar'}\n})\nexport class MatCardAvatar {}\n\n\n/**\n * A basic content container component that adds the styles of a Material design card.\n *\n * While this component can be used alone, it also provides a number\n * of preset styles for common card sections, including:\n * - mat-card-title\n * - mat-card-subtitle\n * - mat-card-content\n * - mat-card-actions\n * - mat-card-footer\n */\n@Component({\n selector: 'mat-card',\n exportAs: 'matCard',\n templateUrl: 'card.html',\n styleUrls: ['card.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'mat-card mat-focus-indicator',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n }\n})\nexport class MatCard {\n // @breaking-change 9.0.0 `_animationMode` parameter to be made required.\n constructor(@Optional() @Inject(ANIMATION_MODULE_TYPE) public _animationMode?: string) {}\n}\n\n\n/**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a\n * preset header section (i.e. a title, subtitle, and avatar layout).\n * @docs-private\n */\n@Component({\n selector: 'mat-card-header',\n templateUrl: 'card-header.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {'class': 'mat-card-header'}\n})\nexport class MatCardHeader {}\n\n\n/**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a preset\n * layout that groups an image with a title section.\n * @docs-private\n */\n@Component({\n selector: 'mat-card-title-group',\n templateUrl: 'card-title-group.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {'class': 'mat-card-title-group'}\n})\nexport class MatCardTitleGroup {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {\n MatCard,\n MatCardActions,\n MatCardAvatar,\n MatCardContent,\n MatCardFooter,\n MatCardHeader,\n MatCardImage,\n MatCardLgImage,\n MatCardMdImage,\n MatCardSmImage,\n MatCardSubtitle,\n MatCardTitle,\n MatCardTitleGroup,\n MatCardXlImage,\n} from './card';\n\n\n@NgModule({\n imports: [MatCommonModule],\n exports: [\n MatCard,\n MatCardHeader,\n MatCardTitleGroup,\n MatCardContent,\n MatCardTitle,\n MatCardSubtitle,\n MatCardActions,\n MatCardFooter,\n MatCardSmImage,\n MatCardMdImage,\n MatCardLgImage,\n MatCardImage,\n MatCardXlImage,\n MatCardAvatar,\n MatCommonModule,\n ],\n declarations: [\n MatCard, MatCardHeader, MatCardTitleGroup, MatCardContent, MatCardTitle, MatCardSubtitle,\n MatCardActions, MatCardFooter, MatCardSmImage, MatCardMdImage, MatCardLgImage, MatCardImage,\n MatCardXlImage, MatCardAvatar,\n ],\n})\nexport class MatCardModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './card';\nexport * from './card-module';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Directive","Input","Component","ViewEncapsulation","ChangeDetectionStrategy","Optional","Inject","ANIMATION_MODULE_TYPE","NgModule","MatCommonModule"],"mappings":";;;;;;IAAA;;;;;;;AAQA,IAYA;;;;AAQA;QAAA;;;;;gBAJCA,cAAS,SAAC;oBACT,QAAQ,EAAE,wDAAwD;oBAClE,IAAI,EAAE,EAAC,OAAO,EAAE,kBAAkB,EAAC;iBACpC;;IAGD;;;;AAUA;QAAA;;;;;gBANCA,cAAS,SAAC;oBACT,QAAQ,EAAE,kDAAkD;oBAC5D,IAAI,EAAE;wBACJ,OAAO,EAAE,gBAAgB;qBAC1B;iBACF;;IAGD;;;;AAUA;QAAA;;;;;gBANCA,cAAS,SAAC;oBACT,QAAQ,EAAE,2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AAE;wBACZ,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe;wBACxF,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY;wBAC3F,cAAc,EAAE,aAAa;qBAC9B;iBACF;;;ICpDD;;;;;;OAMG;;ICNH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
- */var n=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"mat-card-content, [mat-card-content], [matCardContent]",host:{class:"mat-card-content"}}]}],t}(),i=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"mat-card-title, [mat-card-title], [matCardTitle]",host:{class:"mat-card-title"}}]}],t}(),o=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",host:{class:"mat-card-subtitle"}}]}],t}(),c=function(){function t(){this.align="start"}return t.decorators=[{type:a.Directive,args:[{selector:"mat-card-actions",exportAs:"matCardActions",host:{class:"mat-card-actions","[class.mat-card-actions-align-end]":'align === "end"'}}]}],t.propDecorators={align:[{type:a.Input}]},t}(),d=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"mat-card-footer",host:{class:"mat-card-footer"}}]}],t}(),m=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"[mat-card-image], [matCardImage]",host:{class:"mat-card-image"}}]}],t}(),s=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"[mat-card-sm-image], [matCardImageSmall]",host:{class:"mat-card-sm-image"}}]}],t}(),l=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"[mat-card-md-image], [matCardImageMedium]",host:{class:"mat-card-md-image"}}]}],t}(),g=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"[mat-card-lg-image], [matCardImageLarge]",host:{class:"mat-card-lg-image"}}]}],t}(),p=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"[mat-card-xl-image], [matCardImageXLarge]",host:{class:"mat-card-xl-image"}}]}],t}(),u=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"[mat-card-avatar], [matCardAvatar]",host:{class:"mat-card-avatar"}}]}],t}(),h=function(){function t(t){this._animationMode=t}return t.decorators=[{type:a.Component,args:[{selector:"mat-card",exportAs:"matCard",template:'<ng-content></ng-content>\n<ng-content select="mat-card-footer"></ng-content>\n',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,host:{class:"mat-card mat-focus-indicator","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"]}]}],t.ctorParameters=function(){return[{type:String,decorators:[{type:a.Optional},{type:a.Inject,args:[r.ANIMATION_MODULE_TYPE]}]}]},t}(),f=function(){function t(){}return t.decorators=[{type:a.Component,args:[{selector:"mat-card-header",template:'<ng-content select="[mat-card-avatar], [matCardAvatar]"></ng-content>\n<div class="mat-card-header-text">\n <ng-content\n select="mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]"></ng-content>\n</div>\n<ng-content></ng-content>\n',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-header"}}]}],t}(),x=function(){function t(){}return t.decorators=[{type:a.Component,args:[{selector:"mat-card-title-group",template:'<div>\n <ng-content\n select="mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]"></ng-content>\n</div>\n<ng-content select="img"></ng-content>\n<ng-content></ng-content>\n',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-title-group"}}]}],t}(),b=function(){function t(){}return t.decorators=[{type:a.NgModule,args:[{imports:[e.MatCommonModule],exports:[h,f,x,n,i,o,c,d,s,l,g,m,p,u,e.MatCommonModule],declarations:[h,f,x,n,i,o,c,d,s,l,g,m,p,u]}]}],t}();
8
+ */var i,n,o,c,d,m,s,l,g,p,u,h,f,x,b;(i=function i(){}).decorators=[{type:a.Directive,args:[{selector:"mat-card-content, [mat-card-content], [matCardContent]",host:{class:"mat-card-content"}}]}],(n=function n(){}).decorators=[{type:a.Directive,args:[{selector:"mat-card-title, [mat-card-title], [matCardTitle]",host:{class:"mat-card-title"}}]}],(o=function o(){}).decorators=[{type:a.Directive,args:[{selector:"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",host:{class:"mat-card-subtitle"}}]}],(c=function c(){this.align="start"}).decorators=[{type:a.Directive,args:[{selector:"mat-card-actions",exportAs:"matCardActions",host:{class:"mat-card-actions","[class.mat-card-actions-align-end]":'align === "end"'}}]}],c.propDecorators={align:[{type:a.Input}]},(d=function d(){}).decorators=[{type:a.Directive,args:[{selector:"mat-card-footer",host:{class:"mat-card-footer"}}]}],(m=function m(){}).decorators=[{type:a.Directive,args:[{selector:"[mat-card-image], [matCardImage]",host:{class:"mat-card-image"}}]}],(s=function s(){}).decorators=[{type:a.Directive,args:[{selector:"[mat-card-sm-image], [matCardImageSmall]",host:{class:"mat-card-sm-image"}}]}],(l=function l(){}).decorators=[{type:a.Directive,args:[{selector:"[mat-card-md-image], [matCardImageMedium]",host:{class:"mat-card-md-image"}}]}],(g=function g(){}).decorators=[{type:a.Directive,args:[{selector:"[mat-card-lg-image], [matCardImageLarge]",host:{class:"mat-card-lg-image"}}]}],(p=function p(){}).decorators=[{type:a.Directive,args:[{selector:"[mat-card-xl-image], [matCardImageXLarge]",host:{class:"mat-card-xl-image"}}]}],(u=function u(){}).decorators=[{type:a.Directive,args:[{selector:"[mat-card-avatar], [matCardAvatar]",host:{class:"mat-card-avatar"}}]}],(h=function h(t){this._animationMode=t}).decorators=[{type:a.Component,args:[{selector:"mat-card",exportAs:"matCard",template:'<ng-content></ng-content>\n<ng-content select="mat-card-footer"></ng-content>\n',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,host:{class:"mat-card mat-focus-indicator","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"]}]}],h.ctorParameters=function(){return[{type:String,decorators:[{type:a.Optional},{type:a.Inject,args:[r.ANIMATION_MODULE_TYPE]}]}]},(f=function f(){}).decorators=[{type:a.Component,args:[{selector:"mat-card-header",template:'<ng-content select="[mat-card-avatar], [matCardAvatar]"></ng-content>\n<div class="mat-card-header-text">\n <ng-content\n select="mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]"></ng-content>\n</div>\n<ng-content></ng-content>\n',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-header"}}]}],(x=function x(){}).decorators=[{type:a.Component,args:[{selector:"mat-card-title-group",template:'<div>\n <ng-content\n select="mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]"></ng-content>\n</div>\n<ng-content select="img"></ng-content>\n<ng-content></ng-content>\n',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-title-group"}}]}],(b=function b(){}).decorators=[{type:a.NgModule,args:[{imports:[e.MatCommonModule],exports:[h,f,x,i,n,o,c,d,s,l,g,m,p,u,e.MatCommonModule],declarations:[h,f,x,i,n,o,c,d,s,l,g,m,p,u]}]}],
9
9
  /**
10
10
  * @license
11
11
  * Copyright Google LLC All Rights Reserved.
@@ -13,4 +13,4 @@
13
13
  * Use of this source code is governed by an MIT-style license that can be
14
14
  * found in the LICENSE file at https://angular.io/license
15
15
  */
16
- t.MatCard=h,t.MatCardActions=c,t.MatCardAvatar=u,t.MatCardContent=n,t.MatCardFooter=d,t.MatCardHeader=f,t.MatCardImage=m,t.MatCardLgImage=g,t.MatCardMdImage=l,t.MatCardModule=b,t.MatCardSmImage=s,t.MatCardSubtitle=o,t.MatCardTitle=i,t.MatCardTitleGroup=x,t.MatCardXlImage=p,Object.defineProperty(t,"__esModule",{value:!0})}));
16
+ t.MatCard=h,t.MatCardActions=c,t.MatCardAvatar=u,t.MatCardContent=i,t.MatCardFooter=d,t.MatCardHeader=f,t.MatCardImage=m,t.MatCardLgImage=g,t.MatCardMdImage=l,t.MatCardModule=b,t.MatCardSmImage=s,t.MatCardSubtitle=o,t.MatCardTitle=n,t.MatCardTitleGroup=x,t.MatCardXlImage=p,Object.defineProperty(t,"__esModule",{value:!0})}));
@@ -1 +1 @@
1
- {"version":3,"sources":["src/material/material-card.umd.js"],"names":["global","factory","exports","module","require","define","amd","self","ng","material","card","core","platformBrowser","animations","this","core$1","MatCardContent","decorators","type","Directive","args","selector","host","class","MatCardTitle","MatCardSubtitle","MatCardActions","align","exportAs","[class.mat-card-actions-align-end]","propDecorators","Input","MatCardFooter","MatCardImage","MatCardSmImage","MatCardMdImage","MatCardLgImage","MatCardXlImage","MatCardAvatar","MatCard","_animationMode","Component","template","encapsulation","ViewEncapsulation","None","changeDetection","ChangeDetectionStrategy","OnPush","[class._mat-animation-noopable]","styles","ctorParameters","String","Optional","Inject","ANIMATION_MODULE_TYPE","MatCardHeader","MatCardTitleGroup","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AeC,EAAmBzC,EAAgBQ,EAAcC,EACzEC,EAAgBM,EAAeE,EAAgBC,EAAgBC,EAAgBH,EAC/EI,EAAgBC,OAI7BoB,EA9BuB;;;;;;;;AA6ClCxD,EAAQqC,QAAUA,EAClBrC,EAAQwB,eAAiBA,EACzBxB,EAAQoC,cAAgBA,EACxBpC,EAAQc,eAAiBA,EACzBd,EAAQ8B,cAAgBA,EACxB9B,EAAQsD,cAAgBA,EACxBtD,EAAQ+B,aAAeA,EACvB/B,EAAQkC,eAAiBA,EACzBlC,EAAQiC,eAAiBA,EACzBjC,EAAQwD,cAAgBA,EACxBxD,EAAQgC,eAAiBA,EACzBhC,EAAQuB,gBAAkBA,EAC1BvB,EAAQsB,aAAeA,EACvBtB,EAAQuD,kBAAoBA,EAC5BvD,EAAQmC,eAAiBA,EAEzB0B,OAAOC,eAAe9D,EAAS,aAAc,CAAE+D,OAAO","sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser/animations'), require('@angular/material/core')) :\n typeof define === 'function' && define.amd ? define('@angular/material/card', ['exports', '@angular/core', '@angular/platform-browser/animations', '@angular/material/core'], factory) :\n (global = global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.card = {}), global.ng.core, global.ng.platformBrowser.animations, global.ng.material.core));\n}(this, (function (exports, core, animations, core$1) { 'use strict';\n\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Content of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardContent = /** @class */ (function () {\n function MatCardContent() {\n }\n MatCardContent.decorators = [\n { type: core.Directive, args: [{\n selector: 'mat-card-content, [mat-card-content], [matCardContent]',\n host: { 'class': 'mat-card-content' }\n },] }\n ];\n return MatCardContent;\n }());\n /**\n * Title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardTitle = /** @class */ (function () {\n function MatCardTitle() {\n }\n MatCardTitle.decorators = [\n { type: core.Directive, args: [{\n selector: \"mat-card-title, [mat-card-title], [matCardTitle]\",\n host: {\n 'class': 'mat-card-title'\n }\n },] }\n ];\n return MatCardTitle;\n }());\n /**\n * Sub-title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardSubtitle = /** @class */ (function () {\n function MatCardSubtitle() {\n }\n MatCardSubtitle.decorators = [\n { type: core.Directive, args: [{\n selector: \"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]\",\n host: {\n 'class': 'mat-card-subtitle'\n }\n },] }\n ];\n return MatCardSubtitle;\n }());\n /**\n * Action section of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardActions = /** @class */ (function () {\n function MatCardActions() {\n /** Position of the actions inside the card. */\n this.align = 'start';\n }\n MatCardActions.decorators = [\n { type: core.Directive, args: [{\n selector: 'mat-card-actions',\n exportAs: 'matCardActions',\n host: {\n 'class': 'mat-card-actions',\n '[class.mat-card-actions-align-end]': 'align === \"end\"',\n }\n },] }\n ];\n MatCardActions.propDecorators = {\n align: [{ type: core.Input }]\n };\n return MatCardActions;\n }());\n /**\n * Footer of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardFooter = /** @class */ (function () {\n function MatCardFooter() {\n }\n MatCardFooter.decorators = [\n { type: core.Directive, args: [{\n selector: 'mat-card-footer',\n host: { 'class': 'mat-card-footer' }\n },] }\n ];\n return MatCardFooter;\n }());\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardImage = /** @class */ (function () {\n function MatCardImage() {\n }\n MatCardImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-image], [matCardImage]',\n host: { 'class': 'mat-card-image' }\n },] }\n ];\n return MatCardImage;\n }());\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardSmImage = /** @class */ (function () {\n function MatCardSmImage() {\n }\n MatCardSmImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-sm-image], [matCardImageSmall]',\n host: { 'class': 'mat-card-sm-image' }\n },] }\n ];\n return MatCardSmImage;\n }());\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardMdImage = /** @class */ (function () {\n function MatCardMdImage() {\n }\n MatCardMdImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-md-image], [matCardImageMedium]',\n host: { 'class': 'mat-card-md-image' }\n },] }\n ];\n return MatCardMdImage;\n }());\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardLgImage = /** @class */ (function () {\n function MatCardLgImage() {\n }\n MatCardLgImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-lg-image], [matCardImageLarge]',\n host: { 'class': 'mat-card-lg-image' }\n },] }\n ];\n return MatCardLgImage;\n }());\n /**\n * Large image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardXlImage = /** @class */ (function () {\n function MatCardXlImage() {\n }\n MatCardXlImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-xl-image], [matCardImageXLarge]',\n host: { 'class': 'mat-card-xl-image' }\n },] }\n ];\n return MatCardXlImage;\n }());\n /**\n * Avatar image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardAvatar = /** @class */ (function () {\n function MatCardAvatar() {\n }\n MatCardAvatar.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-avatar], [matCardAvatar]',\n host: { 'class': 'mat-card-avatar' }\n },] }\n ];\n return MatCardAvatar;\n }());\n /**\n * A basic content container component that adds the styles of a Material design card.\n *\n * While this component can be used alone, it also provides a number\n * of preset styles for common card sections, including:\n * - mat-card-title\n * - mat-card-subtitle\n * - mat-card-content\n * - mat-card-actions\n * - mat-card-footer\n */\n var MatCard = /** @class */ (function () {\n // @breaking-change 9.0.0 `_animationMode` parameter to be made required.\n function MatCard(_animationMode) {\n this._animationMode = _animationMode;\n }\n MatCard.decorators = [\n { type: core.Component, args: [{\n selector: 'mat-card',\n exportAs: 'matCard',\n template: \"<ng-content></ng-content>\\n<ng-content select=\\\"mat-card-footer\\\"></ng-content>\\n\",\n encapsulation: core.ViewEncapsulation.None,\n changeDetection: core.ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'mat-card mat-focus-indicator',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n },\n styles: [\".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\\n\"]\n },] }\n ];\n MatCard.ctorParameters = function () { return [\n { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }\n ]; };\n return MatCard;\n }());\n /**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a\n * preset header section (i.e. a title, subtitle, and avatar layout).\n * @docs-private\n */\n var MatCardHeader = /** @class */ (function () {\n function MatCardHeader() {\n }\n MatCardHeader.decorators = [\n { type: core.Component, args: [{\n selector: 'mat-card-header',\n template: \"<ng-content select=\\\"[mat-card-avatar], [matCardAvatar]\\\"></ng-content>\\n<div class=\\\"mat-card-header-text\\\">\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content></ng-content>\\n\",\n encapsulation: core.ViewEncapsulation.None,\n changeDetection: core.ChangeDetectionStrategy.OnPush,\n host: { 'class': 'mat-card-header' }\n },] }\n ];\n return MatCardHeader;\n }());\n /**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a preset\n * layout that groups an image with a title section.\n * @docs-private\n */\n var MatCardTitleGroup = /** @class */ (function () {\n function MatCardTitleGroup() {\n }\n MatCardTitleGroup.decorators = [\n { type: core.Component, args: [{\n selector: 'mat-card-title-group',\n template: \"<div>\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content select=\\\"img\\\"></ng-content>\\n<ng-content></ng-content>\\n\",\n encapsulation: core.ViewEncapsulation.None,\n changeDetection: core.ChangeDetectionStrategy.OnPush,\n host: { 'class': 'mat-card-title-group' }\n },] }\n ];\n return MatCardTitleGroup;\n }());\n\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var MatCardModule = /** @class */ (function () {\n function MatCardModule() {\n }\n MatCardModule.decorators = [\n { type: core.NgModule, args: [{\n imports: [core$1.MatCommonModule],\n exports: [\n MatCard,\n MatCardHeader,\n MatCardTitleGroup,\n MatCardContent,\n MatCardTitle,\n MatCardSubtitle,\n MatCardActions,\n MatCardFooter,\n MatCardSmImage,\n MatCardMdImage,\n MatCardLgImage,\n MatCardImage,\n MatCardXlImage,\n MatCardAvatar,\n core$1.MatCommonModule,\n ],\n declarations: [\n MatCard, MatCardHeader, MatCardTitleGroup, MatCardContent, MatCardTitle, MatCardSubtitle,\n MatCardActions, MatCardFooter, MatCardSmImage, MatCardMdImage, MatCardLgImage, MatCardImage,\n MatCardXlImage, MatCardAvatar,\n ],\n },] }\n ];\n return MatCardModule;\n }());\n\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n /**\n * Generated bundle index. Do not edit.\n */\n\n exports.MatCard = MatCard;\n exports.MatCardActions = MatCardActions;\n exports.MatCardAvatar = MatCardAvatar;\n exports.MatCardContent = MatCardContent;\n exports.MatCardFooter = MatCardFooter;\n exports.MatCardHeader = MatCardHeader;\n exports.MatCardImage = MatCardImage;\n exports.MatCardLgImage = MatCardLgImage;\n exports.MatCardMdImage = MatCardMdImage;\n exports.MatCardModule = MatCardModule;\n exports.MatCardSmImage = MatCardSmImage;\n exports.MatCardSubtitle = MatCardSubtitle;\n exports.MatCardTitle = MatCardTitle;\n exports.MatCardTitleGroup = MatCardTitleGroup;\n exports.MatCardXlImage = MatCardXlImage;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=material-card.umd.js.map\n"]}
1
+ {"version":3,"sources":["src/material/material-card.umd.js"],"names":["global","factory","exports","module","require","define","amd","self","ng","material","card","core","platformBrowser","animations","this","core$1","MatCardContent","MatCardTitle","MatCardSubtitle","MatCardActions","MatCardFooter","MatCardImage","MatCardSmImage","MatCardMdImage","MatCardLgImage","MatCardXlImage","MatCardAvatar","MatCard","MatCardHeader","MatCardTitleGroup","MatCardModule","decorators","type","Directive","args","selector","host","class","align","exportAs","[class.mat-card-actions-align-end]","propDecorators","Input","_animationMode","Component","template","encapsulation","ViewEncapsulation","None","changeDetection","ChangeDetectionStrategy","OnPush","[class._mat-animation-noopable]","styles","ctorParameters","String","Optional","Inject","ANIMATION_MODULE_TYPE","NgModule","imports","MatCommonModule","declarations","Object","defineProperty","value"],"mappings":"CAAC,SAAUA,EAAQC,GACI,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,iBAAkBA,QAAQ,wCAAyCA,QAAQ,2BACjJ,mBAAXC,QAAyBA,OAAOC,IAAMD,OAAO,yBAA0B,CAAC,UAAW,gBAAiB,uCAAwC,0BAA2BJ,GACpJA,IAAzBD,EAASA,GAAUO,MAAsBC,GAAKR,EAAOQ,IAAM,GAAIR,EAAOQ,GAAGC,SAAWT,EAAOQ,GAAGC,UAAY,GAAIT,EAAOQ,GAAGC,SAASC,KAAO,IAAKV,EAAOQ,GAAGG,KAAMX,EAAOQ,GAAGI,gBAAgBC,WAAYb,EAAO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,EAAKoC,kBAAkBC,KACtCC,gBAAiBtC,EAAKuC,wBAAwBC,OAC9Cf,KAAM,CAAEC,MAAS,6BAW7BP,EACA,SAASA,OAICC,WAAa,CACvB,CAAEC,KAAMrB,EAAKgD,SAAUzB,KAAM,CAAC,CAClB0B,QAAS,CAAC7C,EAAO8C,iBACjB3D,QAAS,CACLyB,EACAC,EACAC,EACAb,EACAC,EACAC,EACAC,EACAC,EACAE,EACAC,EACAC,EACAH,EACAI,EACAC,EACAX,EAAO8C,iBAEXC,aAAc,CACVnC,EAASC,EAAeC,EAAmBb,EAAgBC,EAAcC,EACzEC,EAAgBC,EAAeE,EAAgBC,EAAgBC,EAAgBH,EAC/EI,EAAgBC;;;;;;;;AAiBpCxB,EAAQyB,QAAUA,EAClBzB,EAAQiB,eAAiBA,EACzBjB,EAAQwB,cAAgBA,EACxBxB,EAAQc,eAAiBA,EACzBd,EAAQkB,cAAgBA,EACxBlB,EAAQ0B,cAAgBA,EACxB1B,EAAQmB,aAAeA,EACvBnB,EAAQsB,eAAiBA,EACzBtB,EAAQqB,eAAiBA,EACzBrB,EAAQ4B,cAAgBA,EACxB5B,EAAQoB,eAAiBA,EACzBpB,EAAQgB,gBAAkBA,EAC1BhB,EAAQe,aAAeA,EACvBf,EAAQ2B,kBAAoBA,EAC5B3B,EAAQuB,eAAiBA,EAEzBsC,OAAOC,eAAe9D,EAAS,aAAc,CAAE+D,OAAO","sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser/animations'), require('@angular/material/core')) :\n typeof define === 'function' && define.amd ? define('@angular/material/card', ['exports', '@angular/core', '@angular/platform-browser/animations', '@angular/material/core'], factory) :\n (global = global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.card = {}), global.ng.core, global.ng.platformBrowser.animations, global.ng.material.core));\n}(this, (function (exports, core, animations, core$1) { 'use strict';\n\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Content of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardContent = /** @class */ (function () {\n function MatCardContent() {\n }\n return MatCardContent;\n }());\n MatCardContent.decorators = [\n { type: core.Directive, args: [{\n selector: 'mat-card-content, [mat-card-content], [matCardContent]',\n host: { 'class': 'mat-card-content' }\n },] }\n ];\n /**\n * Title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardTitle = /** @class */ (function () {\n function MatCardTitle() {\n }\n return MatCardTitle;\n }());\n MatCardTitle.decorators = [\n { type: core.Directive, args: [{\n selector: \"mat-card-title, [mat-card-title], [matCardTitle]\",\n host: {\n 'class': 'mat-card-title'\n }\n },] }\n ];\n /**\n * Sub-title of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardSubtitle = /** @class */ (function () {\n function MatCardSubtitle() {\n }\n return MatCardSubtitle;\n }());\n MatCardSubtitle.decorators = [\n { type: core.Directive, args: [{\n selector: \"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]\",\n host: {\n 'class': 'mat-card-subtitle'\n }\n },] }\n ];\n /**\n * Action section of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardActions = /** @class */ (function () {\n function MatCardActions() {\n /** Position of the actions inside the card. */\n this.align = 'start';\n }\n return MatCardActions;\n }());\n MatCardActions.decorators = [\n { type: core.Directive, args: [{\n selector: 'mat-card-actions',\n exportAs: 'matCardActions',\n host: {\n 'class': 'mat-card-actions',\n '[class.mat-card-actions-align-end]': 'align === \"end\"',\n }\n },] }\n ];\n MatCardActions.propDecorators = {\n align: [{ type: core.Input }]\n };\n /**\n * Footer of a card, needed as it's used as a selector in the API.\n * @docs-private\n */\n var MatCardFooter = /** @class */ (function () {\n function MatCardFooter() {\n }\n return MatCardFooter;\n }());\n MatCardFooter.decorators = [\n { type: core.Directive, args: [{\n selector: 'mat-card-footer',\n host: { 'class': 'mat-card-footer' }\n },] }\n ];\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardImage = /** @class */ (function () {\n function MatCardImage() {\n }\n return MatCardImage;\n }());\n MatCardImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-image], [matCardImage]',\n host: { 'class': 'mat-card-image' }\n },] }\n ];\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardSmImage = /** @class */ (function () {\n function MatCardSmImage() {\n }\n return MatCardSmImage;\n }());\n MatCardSmImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-sm-image], [matCardImageSmall]',\n host: { 'class': 'mat-card-sm-image' }\n },] }\n ];\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardMdImage = /** @class */ (function () {\n function MatCardMdImage() {\n }\n return MatCardMdImage;\n }());\n MatCardMdImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-md-image], [matCardImageMedium]',\n host: { 'class': 'mat-card-md-image' }\n },] }\n ];\n /**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardLgImage = /** @class */ (function () {\n function MatCardLgImage() {\n }\n return MatCardLgImage;\n }());\n MatCardLgImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-lg-image], [matCardImageLarge]',\n host: { 'class': 'mat-card-lg-image' }\n },] }\n ];\n /**\n * Large image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardXlImage = /** @class */ (function () {\n function MatCardXlImage() {\n }\n return MatCardXlImage;\n }());\n MatCardXlImage.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-xl-image], [matCardImageXLarge]',\n host: { 'class': 'mat-card-xl-image' }\n },] }\n ];\n /**\n * Avatar image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n */\n var MatCardAvatar = /** @class */ (function () {\n function MatCardAvatar() {\n }\n return MatCardAvatar;\n }());\n MatCardAvatar.decorators = [\n { type: core.Directive, args: [{\n selector: '[mat-card-avatar], [matCardAvatar]',\n host: { 'class': 'mat-card-avatar' }\n },] }\n ];\n /**\n * A basic content container component that adds the styles of a Material design card.\n *\n * While this component can be used alone, it also provides a number\n * of preset styles for common card sections, including:\n * - mat-card-title\n * - mat-card-subtitle\n * - mat-card-content\n * - mat-card-actions\n * - mat-card-footer\n */\n var MatCard = /** @class */ (function () {\n // @breaking-change 9.0.0 `_animationMode` parameter to be made required.\n function MatCard(_animationMode) {\n this._animationMode = _animationMode;\n }\n return MatCard;\n }());\n MatCard.decorators = [\n { type: core.Component, args: [{\n selector: 'mat-card',\n exportAs: 'matCard',\n template: \"<ng-content></ng-content>\\n<ng-content select=\\\"mat-card-footer\\\"></ng-content>\\n\",\n encapsulation: core.ViewEncapsulation.None,\n changeDetection: core.ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'mat-card mat-focus-indicator',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n },\n styles: [\".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\\n\"]\n },] }\n ];\n MatCard.ctorParameters = function () { return [\n { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }\n ]; };\n /**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a\n * preset header section (i.e. a title, subtitle, and avatar layout).\n * @docs-private\n */\n var MatCardHeader = /** @class */ (function () {\n function MatCardHeader() {\n }\n return MatCardHeader;\n }());\n MatCardHeader.decorators = [\n { type: core.Component, args: [{\n selector: 'mat-card-header',\n template: \"<ng-content select=\\\"[mat-card-avatar], [matCardAvatar]\\\"></ng-content>\\n<div class=\\\"mat-card-header-text\\\">\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content></ng-content>\\n\",\n encapsulation: core.ViewEncapsulation.None,\n changeDetection: core.ChangeDetectionStrategy.OnPush,\n host: { 'class': 'mat-card-header' }\n },] }\n ];\n /**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a preset\n * layout that groups an image with a title section.\n * @docs-private\n */\n var MatCardTitleGroup = /** @class */ (function () {\n function MatCardTitleGroup() {\n }\n return MatCardTitleGroup;\n }());\n MatCardTitleGroup.decorators = [\n { type: core.Component, args: [{\n selector: 'mat-card-title-group',\n template: \"<div>\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content select=\\\"img\\\"></ng-content>\\n<ng-content></ng-content>\\n\",\n encapsulation: core.ViewEncapsulation.None,\n changeDetection: core.ChangeDetectionStrategy.OnPush,\n host: { 'class': 'mat-card-title-group' }\n },] }\n ];\n\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var MatCardModule = /** @class */ (function () {\n function MatCardModule() {\n }\n return MatCardModule;\n }());\n MatCardModule.decorators = [\n { type: core.NgModule, args: [{\n imports: [core$1.MatCommonModule],\n exports: [\n MatCard,\n MatCardHeader,\n MatCardTitleGroup,\n MatCardContent,\n MatCardTitle,\n MatCardSubtitle,\n MatCardActions,\n MatCardFooter,\n MatCardSmImage,\n MatCardMdImage,\n MatCardLgImage,\n MatCardImage,\n MatCardXlImage,\n MatCardAvatar,\n core$1.MatCommonModule,\n ],\n declarations: [\n MatCard, MatCardHeader, MatCardTitleGroup, MatCardContent, MatCardTitle, MatCardSubtitle,\n MatCardActions, MatCardFooter, MatCardSmImage, MatCardMdImage, MatCardLgImage, MatCardImage,\n MatCardXlImage, MatCardAvatar,\n ],\n },] }\n ];\n\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n /**\n * Generated bundle index. Do not edit.\n */\n\n exports.MatCard = MatCard;\n exports.MatCardActions = MatCardActions;\n exports.MatCardAvatar = MatCardAvatar;\n exports.MatCardContent = MatCardContent;\n exports.MatCardFooter = MatCardFooter;\n exports.MatCardHeader = MatCardHeader;\n exports.MatCardImage = MatCardImage;\n exports.MatCardLgImage = MatCardLgImage;\n exports.MatCardMdImage = MatCardMdImage;\n exports.MatCardModule = MatCardModule;\n exports.MatCardSmImage = MatCardSmImage;\n exports.MatCardSubtitle = MatCardSubtitle;\n exports.MatCardTitle = MatCardTitle;\n exports.MatCardTitleGroup = MatCardTitleGroup;\n exports.MatCardXlImage = MatCardXlImage;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=material-card.umd.js.map\n"]}