@angular/material 16.1.0-next.2 → 16.1.0-rc.0

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 (600) hide show
  1. package/autocomplete/index.d.ts +6 -6
  2. package/badge/index.d.ts +1 -1
  3. package/bottom-sheet/index.d.ts +1 -1
  4. package/button/_button-base.import.scss +2 -2
  5. package/button/index.d.ts +10 -10
  6. package/button-toggle/index.d.ts +2 -2
  7. package/card/index.d.ts +14 -14
  8. package/checkbox/index.d.ts +3 -3
  9. package/chips/index.d.ts +12 -12
  10. package/core/index.d.ts +7 -7
  11. package/datepicker/index.d.ts +21 -21
  12. package/dialog/index.d.ts +6 -6
  13. package/divider/index.d.ts +1 -1
  14. package/esm2022/autocomplete/autocomplete-origin.mjs +9 -11
  15. package/esm2022/autocomplete/autocomplete-trigger.mjs +9 -11
  16. package/esm2022/autocomplete/autocomplete.mjs +9 -11
  17. package/esm2022/autocomplete/module.mjs +6 -7
  18. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +2 -3
  19. package/esm2022/badge/badge-module.mjs +6 -7
  20. package/esm2022/badge/badge.mjs +5 -6
  21. package/esm2022/badge/testing/badge-harness.mjs +2 -3
  22. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +5 -6
  23. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +6 -7
  24. package/esm2022/bottom-sheet/bottom-sheet.mjs +5 -6
  25. package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +2 -3
  26. package/esm2022/button/button-base.mjs +9 -11
  27. package/esm2022/button/button-lazy-loader.mjs +5 -6
  28. package/esm2022/button/button.mjs +9 -11
  29. package/esm2022/button/fab.mjs +17 -21
  30. package/esm2022/button/icon-button.mjs +9 -11
  31. package/esm2022/button/module.mjs +6 -7
  32. package/esm2022/button/testing/button-harness.mjs +2 -3
  33. package/esm2022/button-toggle/button-toggle-module.mjs +6 -7
  34. package/esm2022/button-toggle/button-toggle.mjs +9 -11
  35. package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +2 -3
  36. package/esm2022/button-toggle/testing/button-toggle-harness.mjs +2 -3
  37. package/esm2022/card/card.mjs +57 -71
  38. package/esm2022/card/module.mjs +6 -7
  39. package/esm2022/card/testing/card-harness.mjs +2 -3
  40. package/esm2022/checkbox/checkbox-required-validator.mjs +5 -6
  41. package/esm2022/checkbox/checkbox.mjs +9 -11
  42. package/esm2022/checkbox/module.mjs +11 -13
  43. package/esm2022/checkbox/testing/checkbox-harness.mjs +2 -3
  44. package/esm2022/chips/chip-action.mjs +5 -6
  45. package/esm2022/chips/chip-edit-input.mjs +5 -6
  46. package/esm2022/chips/chip-grid.mjs +5 -6
  47. package/esm2022/chips/chip-icons.mjs +13 -16
  48. package/esm2022/chips/chip-input.mjs +5 -6
  49. package/esm2022/chips/chip-listbox.mjs +5 -6
  50. package/esm2022/chips/chip-option.mjs +5 -6
  51. package/esm2022/chips/chip-row.mjs +5 -6
  52. package/esm2022/chips/chip-set.mjs +5 -6
  53. package/esm2022/chips/chip.mjs +5 -6
  54. package/esm2022/chips/module.mjs +6 -7
  55. package/esm2022/chips/testing/chip-avatar-harness.mjs +2 -3
  56. package/esm2022/chips/testing/chip-edit-input-harness.mjs +2 -3
  57. package/esm2022/chips/testing/chip-grid-harness.mjs +2 -3
  58. package/esm2022/chips/testing/chip-harness.mjs +2 -3
  59. package/esm2022/chips/testing/chip-input-harness.mjs +2 -3
  60. package/esm2022/chips/testing/chip-listbox-harness.mjs +2 -3
  61. package/esm2022/chips/testing/chip-option-harness.mjs +2 -3
  62. package/esm2022/chips/testing/chip-remove-harness.mjs +2 -3
  63. package/esm2022/chips/testing/chip-row-harness.mjs +2 -3
  64. package/esm2022/chips/testing/chip-set-harness.mjs +2 -3
  65. package/esm2022/core/animation/animation.mjs +3 -5
  66. package/esm2022/core/common-behaviors/common-module.mjs +6 -7
  67. package/esm2022/core/datetime/index.mjs +11 -13
  68. package/esm2022/core/datetime/native-date-adapter.mjs +5 -6
  69. package/esm2022/core/error/error-options.mjs +9 -11
  70. package/esm2022/core/line/line.mjs +10 -12
  71. package/esm2022/core/option/index.mjs +6 -7
  72. package/esm2022/core/option/optgroup.mjs +10 -12
  73. package/esm2022/core/option/option.mjs +9 -11
  74. package/esm2022/core/ripple/index.mjs +6 -7
  75. package/esm2022/core/ripple/ripple-renderer.mjs +2 -3
  76. package/esm2022/core/ripple/ripple.mjs +5 -6
  77. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +6 -7
  78. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -6
  79. package/esm2022/core/testing/optgroup-harness.mjs +2 -3
  80. package/esm2022/core/testing/option-harness.mjs +2 -3
  81. package/esm2022/core/version.mjs +1 -1
  82. package/esm2022/datepicker/calendar-body.mjs +5 -6
  83. package/esm2022/datepicker/calendar.mjs +9 -11
  84. package/esm2022/datepicker/date-range-input-parts.mjs +12 -14
  85. package/esm2022/datepicker/date-range-input.mjs +5 -6
  86. package/esm2022/datepicker/date-range-picker.mjs +5 -6
  87. package/esm2022/datepicker/date-range-selection-strategy.mjs +5 -6
  88. package/esm2022/datepicker/date-selection-model.mjs +13 -16
  89. package/esm2022/datepicker/datepicker-actions.mjs +13 -16
  90. package/esm2022/datepicker/datepicker-base.mjs +9 -11
  91. package/esm2022/datepicker/datepicker-input-base.mjs +5 -6
  92. package/esm2022/datepicker/datepicker-input.mjs +5 -6
  93. package/esm2022/datepicker/datepicker-intl.mjs +5 -6
  94. package/esm2022/datepicker/datepicker-module.mjs +6 -7
  95. package/esm2022/datepicker/datepicker-toggle.mjs +9 -11
  96. package/esm2022/datepicker/datepicker.mjs +5 -6
  97. package/esm2022/datepicker/month-view.mjs +5 -6
  98. package/esm2022/datepicker/multi-year-view.mjs +5 -6
  99. package/esm2022/datepicker/testing/calendar-cell-harness.mjs +2 -3
  100. package/esm2022/datepicker/testing/calendar-harness.mjs +2 -3
  101. package/esm2022/datepicker/testing/date-range-input-harness.mjs +4 -7
  102. package/esm2022/datepicker/testing/datepicker-input-harness.mjs +2 -3
  103. package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +2 -3
  104. package/esm2022/datepicker/year-view.mjs +5 -6
  105. package/esm2022/dialog/dialog-container.mjs +9 -11
  106. package/esm2022/dialog/dialog-content-directives.mjs +17 -21
  107. package/esm2022/dialog/dialog.mjs +9 -11
  108. package/esm2022/dialog/module.mjs +6 -7
  109. package/esm2022/dialog/testing/dialog-harness.mjs +2 -3
  110. package/esm2022/dialog/testing/dialog-opener.mjs +5 -7
  111. package/esm2022/divider/divider-module.mjs +6 -7
  112. package/esm2022/divider/divider.mjs +5 -6
  113. package/esm2022/divider/testing/divider-harness.mjs +2 -3
  114. package/esm2022/expansion/accordion.mjs +5 -6
  115. package/esm2022/expansion/expansion-module.mjs +6 -7
  116. package/esm2022/expansion/expansion-panel-content.mjs +5 -6
  117. package/esm2022/expansion/expansion-panel-header.mjs +13 -16
  118. package/esm2022/expansion/expansion-panel.mjs +9 -11
  119. package/esm2022/expansion/testing/accordion-harness.mjs +2 -3
  120. package/esm2022/expansion/testing/expansion-harness.mjs +2 -3
  121. package/esm2022/form-field/directives/error.mjs +5 -6
  122. package/esm2022/form-field/directives/floating-label.mjs +5 -6
  123. package/esm2022/form-field/directives/hint.mjs +5 -6
  124. package/esm2022/form-field/directives/label.mjs +5 -6
  125. package/esm2022/form-field/directives/line-ripple.mjs +5 -6
  126. package/esm2022/form-field/directives/notched-outline.mjs +5 -6
  127. package/esm2022/form-field/directives/prefix.mjs +5 -6
  128. package/esm2022/form-field/directives/suffix.mjs +5 -6
  129. package/esm2022/form-field/form-field-control.mjs +5 -6
  130. package/esm2022/form-field/form-field.mjs +5 -6
  131. package/esm2022/form-field/module.mjs +6 -7
  132. package/esm2022/form-field/testing/error-harness.mjs +2 -3
  133. package/esm2022/form-field/testing/form-field-harness.mjs +2 -3
  134. package/esm2022/grid-list/grid-list-module.mjs +6 -7
  135. package/esm2022/grid-list/grid-list.mjs +5 -6
  136. package/esm2022/grid-list/grid-tile.mjs +21 -26
  137. package/esm2022/grid-list/testing/grid-list-harness.mjs +2 -3
  138. package/esm2022/grid-list/testing/grid-tile-harness.mjs +2 -3
  139. package/esm2022/icon/icon-module.mjs +6 -7
  140. package/esm2022/icon/icon-registry.mjs +5 -6
  141. package/esm2022/icon/icon.mjs +5 -6
  142. package/esm2022/icon/testing/fake-icon-registry.mjs +10 -12
  143. package/esm2022/icon/testing/icon-harness.mjs +2 -3
  144. package/esm2022/input/input.mjs +5 -6
  145. package/esm2022/input/module.mjs +6 -7
  146. package/esm2022/input/testing/input-harness.mjs +2 -3
  147. package/esm2022/input/testing/native-option-harness.mjs +2 -3
  148. package/esm2022/input/testing/native-select-harness.mjs +2 -3
  149. package/esm2022/legacy-autocomplete/autocomplete-module.mjs +6 -7
  150. package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +5 -6
  151. package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +5 -6
  152. package/esm2022/legacy-autocomplete/autocomplete.mjs +5 -6
  153. package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +2 -3
  154. package/esm2022/legacy-button/button-module.mjs +6 -7
  155. package/esm2022/legacy-button/button.mjs +9 -11
  156. package/esm2022/legacy-button/testing/button-harness.mjs +2 -3
  157. package/esm2022/legacy-card/card-module.mjs +6 -7
  158. package/esm2022/legacy-card/card.mjs +57 -71
  159. package/esm2022/legacy-card/testing/card-harness.mjs +2 -3
  160. package/esm2022/legacy-checkbox/checkbox-module.mjs +6 -7
  161. package/esm2022/legacy-checkbox/checkbox.mjs +5 -6
  162. package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +2 -3
  163. package/esm2022/legacy-chips/chip-input.mjs +5 -6
  164. package/esm2022/legacy-chips/chip-list.mjs +5 -6
  165. package/esm2022/legacy-chips/chip.mjs +17 -21
  166. package/esm2022/legacy-chips/chips-module.mjs +6 -7
  167. package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +2 -3
  168. package/esm2022/legacy-chips/testing/chip-harness.mjs +2 -3
  169. package/esm2022/legacy-chips/testing/chip-input-harness.mjs +2 -3
  170. package/esm2022/legacy-chips/testing/chip-list-harness.mjs +2 -3
  171. package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +2 -3
  172. package/esm2022/legacy-chips/testing/chip-option-harness.mjs +2 -3
  173. package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +2 -3
  174. package/esm2022/legacy-core/option/index.mjs +6 -7
  175. package/esm2022/legacy-core/option/optgroup.mjs +5 -6
  176. package/esm2022/legacy-core/option/option.mjs +5 -6
  177. package/esm2022/legacy-core/testing/optgroup-harness.mjs +2 -3
  178. package/esm2022/legacy-core/testing/option-harness.mjs +2 -3
  179. package/esm2022/legacy-dialog/dialog-container.mjs +5 -6
  180. package/esm2022/legacy-dialog/dialog-content-directives.mjs +17 -21
  181. package/esm2022/legacy-dialog/dialog-module.mjs +6 -7
  182. package/esm2022/legacy-dialog/dialog.mjs +5 -6
  183. package/esm2022/legacy-dialog/testing/dialog-harness.mjs +2 -3
  184. package/esm2022/legacy-dialog/testing/dialog-opener.mjs +3 -5
  185. package/esm2022/legacy-form-field/error.mjs +5 -6
  186. package/esm2022/legacy-form-field/form-field-module.mjs +6 -7
  187. package/esm2022/legacy-form-field/form-field.mjs +5 -6
  188. package/esm2022/legacy-form-field/hint.mjs +5 -6
  189. package/esm2022/legacy-form-field/label.mjs +5 -6
  190. package/esm2022/legacy-form-field/placeholder.mjs +5 -6
  191. package/esm2022/legacy-form-field/prefix.mjs +5 -6
  192. package/esm2022/legacy-form-field/suffix.mjs +5 -6
  193. package/esm2022/legacy-form-field/testing/error-harness.mjs +2 -3
  194. package/esm2022/legacy-form-field/testing/form-field-harness.mjs +2 -3
  195. package/esm2022/legacy-input/input-module.mjs +6 -7
  196. package/esm2022/legacy-input/input.mjs +5 -6
  197. package/esm2022/legacy-list/list-module.mjs +6 -7
  198. package/esm2022/legacy-list/list.mjs +25 -31
  199. package/esm2022/legacy-list/selection-list.mjs +9 -11
  200. package/esm2022/legacy-list/testing/action-list-harness.mjs +3 -5
  201. package/esm2022/legacy-list/testing/list-harness.mjs +3 -5
  202. package/esm2022/legacy-list/testing/list-item-harness-base.mjs +2 -3
  203. package/esm2022/legacy-list/testing/nav-list-harness.mjs +3 -5
  204. package/esm2022/legacy-list/testing/selection-list-harness.mjs +3 -5
  205. package/esm2022/legacy-menu/menu-content.mjs +5 -6
  206. package/esm2022/legacy-menu/menu-item.mjs +5 -6
  207. package/esm2022/legacy-menu/menu-module.mjs +6 -7
  208. package/esm2022/legacy-menu/menu-trigger.mjs +5 -6
  209. package/esm2022/legacy-menu/menu.mjs +5 -6
  210. package/esm2022/legacy-menu/testing/menu-harness.mjs +3 -5
  211. package/esm2022/legacy-paginator/paginator-module.mjs +6 -7
  212. package/esm2022/legacy-paginator/paginator.mjs +5 -6
  213. package/esm2022/legacy-paginator/testing/paginator-harness.mjs +2 -3
  214. package/esm2022/legacy-progress-bar/progress-bar-module.mjs +6 -7
  215. package/esm2022/legacy-progress-bar/progress-bar.mjs +5 -6
  216. package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +2 -3
  217. package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +6 -7
  218. package/esm2022/legacy-progress-spinner/progress-spinner.mjs +5 -6
  219. package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +2 -3
  220. package/esm2022/legacy-radio/radio-module.mjs +6 -7
  221. package/esm2022/legacy-radio/radio.mjs +9 -11
  222. package/esm2022/legacy-radio/testing/radio-harness.mjs +3 -5
  223. package/esm2022/legacy-select/select-module.mjs +6 -7
  224. package/esm2022/legacy-select/select.mjs +9 -11
  225. package/esm2022/legacy-select/testing/select-harness.mjs +2 -3
  226. package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +6 -7
  227. package/esm2022/legacy-slide-toggle/slide-toggle.mjs +5 -6
  228. package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +2 -3
  229. package/esm2022/legacy-slider/slider-module.mjs +6 -7
  230. package/esm2022/legacy-slider/slider.mjs +5 -6
  231. package/esm2022/legacy-slider/testing/slider-harness.mjs +2 -3
  232. package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +5 -6
  233. package/esm2022/legacy-snack-bar/snack-bar-container.mjs +5 -6
  234. package/esm2022/legacy-snack-bar/snack-bar-module.mjs +6 -7
  235. package/esm2022/legacy-snack-bar/snack-bar.mjs +5 -6
  236. package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +2 -3
  237. package/esm2022/legacy-table/cell.mjs +29 -36
  238. package/esm2022/legacy-table/row.mjs +29 -36
  239. package/esm2022/legacy-table/table-module.mjs +6 -7
  240. package/esm2022/legacy-table/table.mjs +9 -11
  241. package/esm2022/legacy-table/testing/cell-harness.mjs +4 -7
  242. package/esm2022/legacy-table/testing/row-harness.mjs +4 -7
  243. package/esm2022/legacy-table/testing/table-harness.mjs +2 -3
  244. package/esm2022/legacy-table/text-column.mjs +5 -6
  245. package/esm2022/legacy-tabs/ink-bar.mjs +5 -6
  246. package/esm2022/legacy-tabs/tab-body.mjs +9 -11
  247. package/esm2022/legacy-tabs/tab-content.mjs +5 -6
  248. package/esm2022/legacy-tabs/tab-group.mjs +5 -6
  249. package/esm2022/legacy-tabs/tab-header.mjs +5 -6
  250. package/esm2022/legacy-tabs/tab-label-wrapper.mjs +5 -6
  251. package/esm2022/legacy-tabs/tab-label.mjs +5 -6
  252. package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +13 -16
  253. package/esm2022/legacy-tabs/tab.mjs +5 -6
  254. package/esm2022/legacy-tabs/tabs-module.mjs +6 -7
  255. package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +2 -3
  256. package/esm2022/legacy-tabs/testing/tab-harness.mjs +2 -3
  257. package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +2 -3
  258. package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +2 -3
  259. package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +2 -3
  260. package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +2 -3
  261. package/esm2022/legacy-tooltip/tooltip-module.mjs +6 -7
  262. package/esm2022/legacy-tooltip/tooltip.mjs +9 -11
  263. package/esm2022/list/action-list.mjs +5 -6
  264. package/esm2022/list/list-base.mjs +11 -11
  265. package/esm2022/list/list-item-sections.mjs +25 -31
  266. package/esm2022/list/list-module.mjs +6 -7
  267. package/esm2022/list/list-option.mjs +5 -6
  268. package/esm2022/list/list.mjs +9 -11
  269. package/esm2022/list/nav-list.mjs +5 -6
  270. package/esm2022/list/selection-list.mjs +5 -6
  271. package/esm2022/list/subheader.mjs +5 -6
  272. package/esm2022/list/testing/action-list-harness.mjs +3 -5
  273. package/esm2022/list/testing/list-harness.mjs +3 -5
  274. package/esm2022/list/testing/list-item-harness-base.mjs +2 -3
  275. package/esm2022/list/testing/nav-list-harness.mjs +3 -5
  276. package/esm2022/list/testing/selection-list-harness.mjs +3 -5
  277. package/esm2022/menu/menu-content.mjs +9 -11
  278. package/esm2022/menu/menu-item.mjs +5 -6
  279. package/esm2022/menu/menu-trigger.mjs +9 -11
  280. package/esm2022/menu/menu.mjs +9 -11
  281. package/esm2022/menu/module.mjs +6 -7
  282. package/esm2022/menu/testing/menu-harness.mjs +3 -5
  283. package/esm2022/paginator/module.mjs +6 -7
  284. package/esm2022/paginator/paginator-intl.mjs +5 -6
  285. package/esm2022/paginator/paginator.mjs +9 -11
  286. package/esm2022/paginator/testing/paginator-harness.mjs +2 -3
  287. package/esm2022/progress-bar/module.mjs +6 -7
  288. package/esm2022/progress-bar/progress-bar.mjs +5 -6
  289. package/esm2022/progress-bar/testing/progress-bar-harness.mjs +2 -3
  290. package/esm2022/progress-spinner/module.mjs +6 -7
  291. package/esm2022/progress-spinner/progress-spinner.mjs +5 -6
  292. package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +2 -3
  293. package/esm2022/radio/module.mjs +6 -7
  294. package/esm2022/radio/radio.mjs +17 -21
  295. package/esm2022/radio/testing/radio-harness.mjs +3 -5
  296. package/esm2022/select/module.mjs +6 -7
  297. package/esm2022/select/select.mjs +13 -16
  298. package/esm2022/select/testing/select-harness.mjs +2 -3
  299. package/esm2022/sidenav/drawer.mjs +13 -16
  300. package/esm2022/sidenav/sidenav-module.mjs +6 -7
  301. package/esm2022/sidenav/sidenav.mjs +13 -16
  302. package/esm2022/sidenav/testing/drawer-container-harness.mjs +2 -3
  303. package/esm2022/sidenav/testing/drawer-content-harness.mjs +2 -3
  304. package/esm2022/sidenav/testing/drawer-harness.mjs +2 -3
  305. package/esm2022/sidenav/testing/sidenav-container-harness.mjs +2 -3
  306. package/esm2022/sidenav/testing/sidenav-content-harness.mjs +2 -3
  307. package/esm2022/sidenav/testing/sidenav-harness.mjs +2 -3
  308. package/esm2022/slide-toggle/module.mjs +11 -13
  309. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +5 -6
  310. package/esm2022/slide-toggle/slide-toggle.mjs +9 -11
  311. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +2 -3
  312. package/esm2022/slider/module.mjs +6 -7
  313. package/esm2022/slider/slider-input.mjs +10 -12
  314. package/esm2022/slider/slider-thumb.mjs +9 -7
  315. package/esm2022/slider/slider.mjs +7 -19
  316. package/esm2022/slider/testing/slider-harness.mjs +2 -3
  317. package/esm2022/slider/testing/slider-thumb-harness.mjs +2 -3
  318. package/esm2022/snack-bar/module.mjs +6 -7
  319. package/esm2022/snack-bar/simple-snack-bar.mjs +5 -6
  320. package/esm2022/snack-bar/snack-bar-container.mjs +9 -11
  321. package/esm2022/snack-bar/snack-bar-content.mjs +13 -16
  322. package/esm2022/snack-bar/snack-bar.mjs +9 -11
  323. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +2 -3
  324. package/esm2022/sort/sort-header-intl.mjs +5 -6
  325. package/esm2022/sort/sort-header.mjs +5 -6
  326. package/esm2022/sort/sort-module.mjs +6 -7
  327. package/esm2022/sort/sort.mjs +5 -6
  328. package/esm2022/sort/testing/sort-harness.mjs +2 -3
  329. package/esm2022/sort/testing/sort-header-harness.mjs +2 -3
  330. package/esm2022/stepper/step-content.mjs +5 -6
  331. package/esm2022/stepper/step-header.mjs +5 -6
  332. package/esm2022/stepper/step-label.mjs +5 -6
  333. package/esm2022/stepper/stepper-button.mjs +9 -11
  334. package/esm2022/stepper/stepper-icon.mjs +5 -6
  335. package/esm2022/stepper/stepper-intl.mjs +5 -6
  336. package/esm2022/stepper/stepper-module.mjs +6 -7
  337. package/esm2022/stepper/stepper.mjs +9 -11
  338. package/esm2022/stepper/testing/step-harness.mjs +2 -3
  339. package/esm2022/stepper/testing/stepper-button-harnesses.mjs +3 -5
  340. package/esm2022/stepper/testing/stepper-harness.mjs +2 -3
  341. package/esm2022/table/cell.mjs +29 -36
  342. package/esm2022/table/module.mjs +6 -7
  343. package/esm2022/table/row.mjs +29 -36
  344. package/esm2022/table/table.mjs +9 -11
  345. package/esm2022/table/testing/cell-harness.mjs +4 -7
  346. package/esm2022/table/testing/row-harness.mjs +4 -7
  347. package/esm2022/table/testing/table-harness.mjs +2 -3
  348. package/esm2022/table/text-column.mjs +5 -6
  349. package/esm2022/tabs/module.mjs +6 -7
  350. package/esm2022/tabs/paginated-tab-header.mjs +5 -6
  351. package/esm2022/tabs/tab-body.mjs +13 -16
  352. package/esm2022/tabs/tab-content.mjs +5 -6
  353. package/esm2022/tabs/tab-group.mjs +11 -13
  354. package/esm2022/tabs/tab-header.mjs +9 -11
  355. package/esm2022/tabs/tab-label-wrapper.mjs +9 -11
  356. package/esm2022/tabs/tab-label.mjs +5 -6
  357. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +24 -27
  358. package/esm2022/tabs/tab.mjs +9 -11
  359. package/esm2022/tabs/testing/tab-group-harness.mjs +2 -3
  360. package/esm2022/tabs/testing/tab-harness.mjs +2 -3
  361. package/esm2022/tabs/testing/tab-link-harness.mjs +2 -3
  362. package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +2 -3
  363. package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +2 -3
  364. package/esm2022/toolbar/testing/toolbar-harness.mjs +2 -3
  365. package/esm2022/toolbar/toolbar-module.mjs +6 -7
  366. package/esm2022/toolbar/toolbar.mjs +9 -11
  367. package/esm2022/tooltip/module.mjs +6 -7
  368. package/esm2022/tooltip/testing/tooltip-harness.mjs +2 -3
  369. package/esm2022/tooltip/tooltip.mjs +17 -21
  370. package/esm2022/tree/node.mjs +13 -16
  371. package/esm2022/tree/outlet.mjs +5 -6
  372. package/esm2022/tree/padding.mjs +5 -6
  373. package/esm2022/tree/testing/node-harness.mjs +2 -3
  374. package/esm2022/tree/testing/tree-harness.mjs +2 -3
  375. package/esm2022/tree/toggle.mjs +5 -6
  376. package/esm2022/tree/tree-module.mjs +6 -7
  377. package/esm2022/tree/tree.mjs +5 -6
  378. package/expansion/index.d.ts +7 -7
  379. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  380. package/fesm2022/autocomplete.mjs +22 -22
  381. package/fesm2022/autocomplete.mjs.map +1 -1
  382. package/fesm2022/badge/testing.mjs.map +1 -1
  383. package/fesm2022/badge.mjs +7 -7
  384. package/fesm2022/badge.mjs.map +1 -1
  385. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  386. package/fesm2022/bottom-sheet.mjs +10 -10
  387. package/fesm2022/bottom-sheet.mjs.map +1 -1
  388. package/fesm2022/button/testing.mjs.map +1 -1
  389. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  390. package/fesm2022/button-toggle.mjs +10 -10
  391. package/fesm2022/button-toggle.mjs.map +1 -1
  392. package/fesm2022/button.mjs +37 -37
  393. package/fesm2022/button.mjs.map +1 -1
  394. package/fesm2022/card/testing.mjs.map +1 -1
  395. package/fesm2022/card.mjs +46 -46
  396. package/fesm2022/card.mjs.map +1 -1
  397. package/fesm2022/checkbox/testing.mjs.map +1 -1
  398. package/fesm2022/checkbox.mjs +17 -17
  399. package/fesm2022/checkbox.mjs.map +1 -1
  400. package/fesm2022/chips/testing.mjs.map +1 -1
  401. package/fesm2022/chips.mjs +40 -40
  402. package/fesm2022/chips.mjs.map +1 -1
  403. package/fesm2022/core/testing.mjs.map +1 -1
  404. package/fesm2022/core.mjs +60 -60
  405. package/fesm2022/core.mjs.map +1 -1
  406. package/fesm2022/datepicker/testing.mjs.map +1 -1
  407. package/fesm2022/datepicker.mjs +82 -82
  408. package/fesm2022/datepicker.mjs.map +1 -1
  409. package/fesm2022/dialog/testing.mjs +2 -1
  410. package/fesm2022/dialog/testing.mjs.map +1 -1
  411. package/fesm2022/dialog.mjs +28 -28
  412. package/fesm2022/dialog.mjs.map +1 -1
  413. package/fesm2022/divider/testing.mjs.map +1 -1
  414. package/fesm2022/divider.mjs +7 -7
  415. package/fesm2022/divider.mjs.map +1 -1
  416. package/fesm2022/expansion/testing.mjs.map +1 -1
  417. package/fesm2022/expansion.mjs +25 -25
  418. package/fesm2022/expansion.mjs.map +1 -1
  419. package/fesm2022/form-field/testing.mjs.map +1 -1
  420. package/fesm2022/form-field.mjs +34 -34
  421. package/fesm2022/form-field.mjs.map +1 -1
  422. package/fesm2022/grid-list/testing.mjs.map +1 -1
  423. package/fesm2022/grid-list.mjs +22 -22
  424. package/fesm2022/grid-list.mjs.map +1 -1
  425. package/fesm2022/icon/testing.mjs +7 -7
  426. package/fesm2022/icon/testing.mjs.map +1 -1
  427. package/fesm2022/icon.mjs +10 -10
  428. package/fesm2022/icon.mjs.map +1 -1
  429. package/fesm2022/input/testing.mjs.map +1 -1
  430. package/fesm2022/input.mjs +7 -7
  431. package/fesm2022/input.mjs.map +1 -1
  432. package/fesm2022/legacy-autocomplete/testing.mjs.map +1 -1
  433. package/fesm2022/legacy-autocomplete.mjs +13 -13
  434. package/fesm2022/legacy-autocomplete.mjs.map +1 -1
  435. package/fesm2022/legacy-button/testing.mjs.map +1 -1
  436. package/fesm2022/legacy-button.mjs +10 -10
  437. package/fesm2022/legacy-button.mjs.map +1 -1
  438. package/fesm2022/legacy-card/testing.mjs.map +1 -1
  439. package/fesm2022/legacy-card.mjs +46 -46
  440. package/fesm2022/legacy-card.mjs.map +1 -1
  441. package/fesm2022/legacy-checkbox/testing.mjs.map +1 -1
  442. package/fesm2022/legacy-checkbox.mjs +7 -7
  443. package/fesm2022/legacy-checkbox.mjs.map +1 -1
  444. package/fesm2022/legacy-chips/testing.mjs.map +1 -1
  445. package/fesm2022/legacy-chips.mjs +22 -22
  446. package/fesm2022/legacy-chips.mjs.map +1 -1
  447. package/fesm2022/legacy-core/testing.mjs.map +1 -1
  448. package/fesm2022/legacy-core.mjs +10 -10
  449. package/fesm2022/legacy-core.mjs.map +1 -1
  450. package/fesm2022/legacy-dialog/testing.mjs.map +1 -1
  451. package/fesm2022/legacy-dialog.mjs +22 -22
  452. package/fesm2022/legacy-dialog.mjs.map +1 -1
  453. package/fesm2022/legacy-form-field/testing.mjs.map +1 -1
  454. package/fesm2022/legacy-form-field.mjs +25 -25
  455. package/fesm2022/legacy-form-field.mjs.map +1 -1
  456. package/fesm2022/legacy-input.mjs +7 -7
  457. package/fesm2022/legacy-input.mjs.map +1 -1
  458. package/fesm2022/legacy-list/testing.mjs.map +1 -1
  459. package/fesm2022/legacy-list.mjs +28 -28
  460. package/fesm2022/legacy-list.mjs.map +1 -1
  461. package/fesm2022/legacy-menu/testing.mjs.map +1 -1
  462. package/fesm2022/legacy-menu.mjs +16 -16
  463. package/fesm2022/legacy-menu.mjs.map +1 -1
  464. package/fesm2022/legacy-paginator/testing.mjs.map +1 -1
  465. package/fesm2022/legacy-paginator.mjs +7 -7
  466. package/fesm2022/legacy-paginator.mjs.map +1 -1
  467. package/fesm2022/legacy-progress-bar/testing.mjs.map +1 -1
  468. package/fesm2022/legacy-progress-bar.mjs +7 -7
  469. package/fesm2022/legacy-progress-bar.mjs.map +1 -1
  470. package/fesm2022/legacy-progress-spinner/testing.mjs.map +1 -1
  471. package/fesm2022/legacy-progress-spinner.mjs +7 -7
  472. package/fesm2022/legacy-progress-spinner.mjs.map +1 -1
  473. package/fesm2022/legacy-radio/testing.mjs.map +1 -1
  474. package/fesm2022/legacy-radio.mjs +10 -10
  475. package/fesm2022/legacy-radio.mjs.map +1 -1
  476. package/fesm2022/legacy-select/testing.mjs.map +1 -1
  477. package/fesm2022/legacy-select.mjs +10 -10
  478. package/fesm2022/legacy-select.mjs.map +1 -1
  479. package/fesm2022/legacy-slide-toggle/testing.mjs.map +1 -1
  480. package/fesm2022/legacy-slide-toggle.mjs +7 -7
  481. package/fesm2022/legacy-slide-toggle.mjs.map +1 -1
  482. package/fesm2022/legacy-slider/testing.mjs.map +1 -1
  483. package/fesm2022/legacy-slider.mjs +7 -7
  484. package/fesm2022/legacy-slider.mjs.map +1 -1
  485. package/fesm2022/legacy-snack-bar/testing.mjs.map +1 -1
  486. package/fesm2022/legacy-snack-bar.mjs +13 -13
  487. package/fesm2022/legacy-snack-bar.mjs.map +1 -1
  488. package/fesm2022/legacy-table/testing.mjs.map +1 -1
  489. package/fesm2022/legacy-table.mjs +55 -55
  490. package/fesm2022/legacy-table.mjs.map +1 -1
  491. package/fesm2022/legacy-tabs/testing.mjs.map +1 -1
  492. package/fesm2022/legacy-tabs.mjs +40 -40
  493. package/fesm2022/legacy-tabs.mjs.map +1 -1
  494. package/fesm2022/legacy-tooltip/testing.mjs.map +1 -1
  495. package/fesm2022/legacy-tooltip.mjs +10 -10
  496. package/fesm2022/legacy-tooltip.mjs.map +1 -1
  497. package/fesm2022/list/testing.mjs.map +1 -1
  498. package/fesm2022/list.mjs +51 -49
  499. package/fesm2022/list.mjs.map +1 -1
  500. package/fesm2022/menu/testing.mjs.map +1 -1
  501. package/fesm2022/menu.mjs +25 -25
  502. package/fesm2022/menu.mjs.map +1 -1
  503. package/fesm2022/paginator/testing.mjs.map +1 -1
  504. package/fesm2022/paginator.mjs +13 -13
  505. package/fesm2022/paginator.mjs.map +1 -1
  506. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  507. package/fesm2022/progress-bar.mjs +7 -7
  508. package/fesm2022/progress-bar.mjs.map +1 -1
  509. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  510. package/fesm2022/progress-spinner.mjs +7 -7
  511. package/fesm2022/progress-spinner.mjs.map +1 -1
  512. package/fesm2022/radio/testing.mjs.map +1 -1
  513. package/fesm2022/radio.mjs +16 -16
  514. package/fesm2022/radio.mjs.map +1 -1
  515. package/fesm2022/select/testing.mjs.map +1 -1
  516. package/fesm2022/select.mjs +13 -13
  517. package/fesm2022/select.mjs.map +1 -1
  518. package/fesm2022/sidenav/testing.mjs.map +1 -1
  519. package/fesm2022/sidenav.mjs +22 -22
  520. package/fesm2022/sidenav.mjs.map +1 -1
  521. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  522. package/fesm2022/slide-toggle.mjs +17 -17
  523. package/fesm2022/slide-toggle.mjs.map +1 -1
  524. package/fesm2022/slider/testing.mjs.map +1 -1
  525. package/fesm2022/slider.mjs +23 -31
  526. package/fesm2022/slider.mjs.map +1 -1
  527. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  528. package/fesm2022/snack-bar.mjs +28 -28
  529. package/fesm2022/snack-bar.mjs.map +1 -1
  530. package/fesm2022/sort/testing.mjs.map +1 -1
  531. package/fesm2022/sort.mjs +13 -13
  532. package/fesm2022/sort.mjs.map +1 -1
  533. package/fesm2022/stepper/testing.mjs.map +1 -1
  534. package/fesm2022/stepper.mjs +31 -31
  535. package/fesm2022/stepper.mjs.map +1 -1
  536. package/fesm2022/table/testing.mjs.map +1 -1
  537. package/fesm2022/table.mjs +55 -55
  538. package/fesm2022/table.mjs.map +1 -1
  539. package/fesm2022/tabs/testing.mjs.map +1 -1
  540. package/fesm2022/tabs.mjs +66 -64
  541. package/fesm2022/tabs.mjs.map +1 -1
  542. package/fesm2022/toolbar/testing.mjs.map +1 -1
  543. package/fesm2022/toolbar.mjs +10 -10
  544. package/fesm2022/toolbar.mjs.map +1 -1
  545. package/fesm2022/tooltip/testing.mjs.map +1 -1
  546. package/fesm2022/tooltip.mjs +16 -16
  547. package/fesm2022/tooltip.mjs.map +1 -1
  548. package/fesm2022/tree/testing.mjs.map +1 -1
  549. package/fesm2022/tree.mjs +25 -25
  550. package/fesm2022/tree.mjs.map +1 -1
  551. package/form-field/index.d.ts +10 -10
  552. package/grid-list/index.d.ts +6 -6
  553. package/icon/index.d.ts +1 -1
  554. package/input/index.d.ts +1 -1
  555. package/legacy-autocomplete/index.d.ts +3 -3
  556. package/legacy-button/index.d.ts +2 -2
  557. package/legacy-card/index.d.ts +14 -14
  558. package/legacy-checkbox/index.d.ts +1 -1
  559. package/legacy-chips/index.d.ts +6 -6
  560. package/legacy-core/index.d.ts +2 -2
  561. package/legacy-dialog/index.d.ts +5 -5
  562. package/legacy-form-field/index.d.ts +7 -7
  563. package/legacy-input/index.d.ts +1 -1
  564. package/legacy-list/index.d.ts +8 -8
  565. package/legacy-menu/index.d.ts +4 -4
  566. package/legacy-paginator/index.d.ts +1 -1
  567. package/legacy-progress-bar/index.d.ts +1 -1
  568. package/legacy-progress-spinner/index.d.ts +1 -1
  569. package/legacy-radio/index.d.ts +2 -2
  570. package/legacy-select/index.d.ts +2 -2
  571. package/legacy-slide-toggle/index.d.ts +1 -1
  572. package/legacy-slider/index.d.ts +1 -1
  573. package/legacy-snack-bar/index.d.ts +2 -2
  574. package/legacy-table/index.d.ts +17 -17
  575. package/legacy-tabs/index.d.ts +12 -12
  576. package/legacy-tooltip/index.d.ts +2 -2
  577. package/list/index.d.ts +15 -15
  578. package/menu/index.d.ts +7 -7
  579. package/package.json +2 -2
  580. package/paginator/index.d.ts +2 -2
  581. package/progress-bar/index.d.ts +1 -1
  582. package/progress-spinner/index.d.ts +1 -1
  583. package/radio/index.d.ts +4 -4
  584. package/schematics/ng-add/index.js +1 -1
  585. package/schematics/ng-add/index.mjs +1 -1
  586. package/schematics/ng-generate/mdc-migration/index_bundled.js +219 -51
  587. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
  588. package/select/index.d.ts +3 -3
  589. package/sidenav/index.d.ts +6 -6
  590. package/slide-toggle/index.d.ts +3 -3
  591. package/slider/index.d.ts +4 -4
  592. package/snack-bar/index.d.ts +6 -6
  593. package/sort/index.d.ts +2 -2
  594. package/stepper/index.d.ts +8 -8
  595. package/table/index.d.ts +17 -17
  596. package/tabs/_tabs-common.scss +5 -0
  597. package/tabs/index.d.ts +19 -19
  598. package/toolbar/index.d.ts +2 -2
  599. package/tooltip/index.d.ts +4 -4
  600. package/tree/index.d.ts +7 -7
@@ -7886,6 +7886,9 @@ var RecursiveAstVisitor$1 = class {
7886
7886
  visitMapType(type, context) {
7887
7887
  return this.visitType(type, context);
7888
7888
  }
7889
+ visitTransplantedType(type, context) {
7890
+ return type;
7891
+ }
7889
7892
  visitWrappedNodeExpr(ast, context) {
7890
7893
  return ast;
7891
7894
  }
@@ -8772,6 +8775,9 @@ var Identifiers = _Identifiers;
8772
8775
  (() => {
8773
8776
  _Identifiers.HostDirectivesFeature = { name: "\u0275\u0275HostDirectivesFeature", moduleName: CORE };
8774
8777
  })();
8778
+ (() => {
8779
+ _Identifiers.InputTransformsFeatureFeature = { name: "\u0275\u0275InputTransformsFeature", moduleName: CORE };
8780
+ })();
8775
8781
  (() => {
8776
8782
  _Identifiers.listener = { name: "\u0275\u0275listener", moduleName: CORE };
8777
8783
  })();
@@ -9873,7 +9879,7 @@ function visitAll$1(visitor, nodes) {
9873
9879
  const result = [];
9874
9880
  if (visitor.visit) {
9875
9881
  for (const node of nodes) {
9876
- const newNode = visitor.visit(node) || node.visit(visitor);
9882
+ visitor.visit(node) || node.visit(visitor);
9877
9883
  }
9878
9884
  } else {
9879
9885
  for (const node of nodes) {
@@ -10226,22 +10232,30 @@ function conditionallyCreateDirectiveBindingLiteral(map, keepDeclared) {
10226
10232
  let declaredName;
10227
10233
  let publicName;
10228
10234
  let minifiedName;
10229
- let needsDeclaredName;
10235
+ let expressionValue;
10230
10236
  if (typeof value === "string") {
10231
10237
  declaredName = key;
10232
10238
  minifiedName = key;
10233
10239
  publicName = value;
10234
- needsDeclaredName = false;
10240
+ expressionValue = asLiteral(publicName);
10235
10241
  } else {
10236
10242
  minifiedName = key;
10237
10243
  declaredName = value.classPropertyName;
10238
10244
  publicName = value.bindingPropertyName;
10239
- needsDeclaredName = publicName !== declaredName;
10245
+ if (keepDeclared && (publicName !== declaredName || value.transformFunction != null)) {
10246
+ const expressionKeys = [asLiteral(publicName), asLiteral(declaredName)];
10247
+ if (value.transformFunction != null) {
10248
+ expressionKeys.push(value.transformFunction);
10249
+ }
10250
+ expressionValue = literalArr(expressionKeys);
10251
+ } else {
10252
+ expressionValue = asLiteral(publicName);
10253
+ }
10240
10254
  }
10241
10255
  return {
10242
10256
  key: minifiedName,
10243
10257
  quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),
10244
- value: keepDeclared && needsDeclaredName ? literalArr([asLiteral(publicName), asLiteral(declaredName)]) : asLiteral(publicName)
10258
+ value: expressionValue
10245
10259
  };
10246
10260
  }));
10247
10261
  }
@@ -12930,11 +12944,14 @@ var OpKind;
12930
12944
  OpKind2[OpKind2["Element"] = 4] = "Element";
12931
12945
  OpKind2[OpKind2["Template"] = 5] = "Template";
12932
12946
  OpKind2[OpKind2["ElementEnd"] = 6] = "ElementEnd";
12933
- OpKind2[OpKind2["Text"] = 7] = "Text";
12934
- OpKind2[OpKind2["Listener"] = 8] = "Listener";
12935
- OpKind2[OpKind2["InterpolateText"] = 9] = "InterpolateText";
12936
- OpKind2[OpKind2["Property"] = 10] = "Property";
12937
- OpKind2[OpKind2["Advance"] = 11] = "Advance";
12947
+ OpKind2[OpKind2["ContainerStart"] = 7] = "ContainerStart";
12948
+ OpKind2[OpKind2["Container"] = 8] = "Container";
12949
+ OpKind2[OpKind2["ContainerEnd"] = 9] = "ContainerEnd";
12950
+ OpKind2[OpKind2["Text"] = 10] = "Text";
12951
+ OpKind2[OpKind2["Listener"] = 11] = "Listener";
12952
+ OpKind2[OpKind2["InterpolateText"] = 12] = "InterpolateText";
12953
+ OpKind2[OpKind2["Property"] = 13] = "Property";
12954
+ OpKind2[OpKind2["Advance"] = 14] = "Advance";
12938
12955
  })(OpKind || (OpKind = {}));
12939
12956
  var ExpressionKind;
12940
12957
  (function(ExpressionKind2) {
@@ -13183,6 +13200,9 @@ function transformExpressionsInOp(op, transform, flags) {
13183
13200
  case OpKind.Element:
13184
13201
  case OpKind.ElementStart:
13185
13202
  case OpKind.ElementEnd:
13203
+ case OpKind.Container:
13204
+ case OpKind.ContainerStart:
13205
+ case OpKind.ContainerEnd:
13186
13206
  case OpKind.Template:
13187
13207
  case OpKind.Text:
13188
13208
  case OpKind.Advance:
@@ -13200,6 +13220,9 @@ function transformExpressionsInExpression(expr, transform, flags) {
13200
13220
  expr.rhs = transformExpressionsInExpression(expr.rhs, transform, flags);
13201
13221
  } else if (expr instanceof ReadPropExpr) {
13202
13222
  expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
13223
+ } else if (expr instanceof ReadKeyExpr) {
13224
+ expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
13225
+ expr.index = transformExpressionsInExpression(expr.index, transform, flags);
13203
13226
  } else if (expr instanceof InvokeFunctionExpr) {
13204
13227
  expr.fn = transformExpressionsInExpression(expr.fn, transform, flags);
13205
13228
  for (let i = 0; i < expr.args.length; i++) {
@@ -13505,11 +13528,20 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
13505
13528
  }
13506
13529
  return literalArr(attrArray);
13507
13530
  }
13531
+ var REPLACEMENTS = /* @__PURE__ */ new Map([
13532
+ [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
13533
+ [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
13534
+ ]);
13508
13535
  function phaseEmptyElements(cpl) {
13509
13536
  for (const [_, view] of cpl.views) {
13510
13537
  for (const op of view.create) {
13511
- if (op.kind === OpKind.ElementEnd && op.prev !== null && op.prev.kind === OpKind.ElementStart) {
13512
- op.prev.kind = OpKind.Element;
13538
+ const opReplacements = REPLACEMENTS.get(op.kind);
13539
+ if (opReplacements === void 0) {
13540
+ continue;
13541
+ }
13542
+ const [startKind, mergedKind] = opReplacements;
13543
+ if (op.prev !== null && op.prev.kind === startKind) {
13544
+ op.prev.kind = mergedKind;
13513
13545
  OpList.remove(op);
13514
13546
  }
13515
13547
  }
@@ -13546,16 +13578,16 @@ function phaseGenerateAdvance(cpl) {
13546
13578
  }
13547
13579
  }
13548
13580
  function element(slot, tag, constIndex, localRefIndex) {
13549
- return elementStartBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
13581
+ return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
13550
13582
  }
13551
13583
  function elementStart(slot, tag, constIndex, localRefIndex) {
13552
- return elementStartBase(Identifiers.elementStart, slot, tag, constIndex, localRefIndex);
13584
+ return elementOrContainerBase(Identifiers.elementStart, slot, tag, constIndex, localRefIndex);
13553
13585
  }
13554
- function elementStartBase(instruction, slot, tag, constIndex, localRefIndex) {
13555
- const args = [
13556
- literal(slot),
13557
- literal(tag)
13558
- ];
13586
+ function elementOrContainerBase(instruction, slot, tag, constIndex, localRefIndex) {
13587
+ const args = [literal(slot)];
13588
+ if (tag !== null) {
13589
+ args.push(literal(tag));
13590
+ }
13559
13591
  if (localRefIndex !== null) {
13560
13592
  args.push(
13561
13593
  literal(constIndex),
@@ -13569,6 +13601,15 @@ function elementStartBase(instruction, slot, tag, constIndex, localRefIndex) {
13569
13601
  function elementEnd() {
13570
13602
  return call(Identifiers.elementEnd, []);
13571
13603
  }
13604
+ function elementContainerStart(slot, constIndex, localRefIndex) {
13605
+ return elementOrContainerBase(Identifiers.elementContainerStart, slot, null, constIndex, localRefIndex);
13606
+ }
13607
+ function elementContainer(slot, constIndex, localRefIndex) {
13608
+ return elementOrContainerBase(Identifiers.elementContainer, slot, null, constIndex, localRefIndex);
13609
+ }
13610
+ function elementContainerEnd() {
13611
+ return call(Identifiers.elementContainerEnd, []);
13612
+ }
13572
13613
  function template(slot, templateFnRef, decls, vars, tag, constIndex) {
13573
13614
  return call(Identifiers.templateCreate, [
13574
13615
  literal(slot),
@@ -13690,6 +13731,15 @@ function reifyCreateOperations(view, ops) {
13690
13731
  case OpKind.ElementEnd:
13691
13732
  OpList.replace(op, elementEnd());
13692
13733
  break;
13734
+ case OpKind.ContainerStart:
13735
+ OpList.replace(op, elementContainerStart(op.slot, op.attributes, op.localRefs));
13736
+ break;
13737
+ case OpKind.Container:
13738
+ OpList.replace(op, elementContainer(op.slot, op.attributes, op.localRefs));
13739
+ break;
13740
+ case OpKind.ContainerEnd:
13741
+ OpList.replace(op, elementContainerEnd());
13742
+ break;
13693
13743
  case OpKind.Template:
13694
13744
  const childView = view.tpl.views.get(op.xref);
13695
13745
  OpList.replace(op, template(op.slot, variable(childView.fnName), childView.decls, childView.vars, op.tag, op.attributes));
@@ -13957,25 +14007,15 @@ function phaseGenerateVariables(cpl) {
13957
14007
  }
13958
14008
  function recursivelyProcessView(view, parentScope) {
13959
14009
  const scope = getScopeForView(view, parentScope);
13960
- view.create.prepend([
13961
- createVariableOp(view.tpl.allocateXrefId(), scope.savedViewVariable, new GetCurrentViewExpr())
13962
- ]);
14010
+ if (view.parent !== null) {
14011
+ }
13963
14012
  for (const op of view.create) {
13964
14013
  switch (op.kind) {
13965
14014
  case OpKind.Template:
13966
14015
  recursivelyProcessView(view.tpl.views.get(op.xref), scope);
13967
14016
  break;
13968
14017
  case OpKind.Listener:
13969
- const preambleOps2 = [
13970
- createVariableOp(view.tpl.allocateXrefId(), scope.viewContextVariable, new RestoreViewExpr(view.xref)),
13971
- ...generateVariablesInScopeForView(view, scope)
13972
- ];
13973
- op.handlerOps.prepend(preambleOps2);
13974
- for (const handlerOp of op.handlerOps) {
13975
- if (handlerOp.kind === OpKind.Statement && handlerOp.statement instanceof ReturnStatement) {
13976
- handlerOp.statement.value = new ResetViewExpr(handlerOp.statement.value);
13977
- }
13978
- }
14018
+ op.handlerOps.prepend(generateVariablesInScopeForView(view, scope));
13979
14019
  break;
13980
14020
  }
13981
14021
  }
@@ -13990,11 +14030,6 @@ function getScopeForView(view, parent) {
13990
14030
  name: null,
13991
14031
  view: view.xref
13992
14032
  },
13993
- savedViewVariable: {
13994
- kind: SemanticVariableKind.SavedView,
13995
- name: null,
13996
- view: view.xref
13997
- },
13998
14033
  contextVariables: /* @__PURE__ */ new Map(),
13999
14034
  references: [],
14000
14035
  parent
@@ -14333,7 +14368,10 @@ function allowConservativeInlining(decl2, target) {
14333
14368
  var CHAINABLE = /* @__PURE__ */ new Set([
14334
14369
  Identifiers.elementStart,
14335
14370
  Identifiers.elementEnd,
14336
- Identifiers.property
14371
+ Identifiers.property,
14372
+ Identifiers.elementContainerStart,
14373
+ Identifiers.elementContainerEnd,
14374
+ Identifiers.elementContainer
14337
14375
  ]);
14338
14376
  function phaseChaining(cpl) {
14339
14377
  for (const [_, view] of cpl.views) {
@@ -14411,12 +14449,58 @@ function mergeNextContextsInOps(ops) {
14411
14449
  }
14412
14450
  }
14413
14451
  }
14452
+ var CONTAINER_TAG = "ng-container";
14453
+ function phaseNgContainer(cpl) {
14454
+ for (const [_, view] of cpl.views) {
14455
+ const updatedElementXrefs = /* @__PURE__ */ new Set();
14456
+ for (const op of view.create) {
14457
+ if (op.kind === OpKind.ElementStart && op.tag === CONTAINER_TAG) {
14458
+ op.kind = OpKind.ContainerStart;
14459
+ updatedElementXrefs.add(op.xref);
14460
+ }
14461
+ if (op.kind === OpKind.ElementEnd && updatedElementXrefs.has(op.xref)) {
14462
+ op.kind = OpKind.ContainerEnd;
14463
+ }
14464
+ }
14465
+ }
14466
+ }
14467
+ function phaseSaveRestoreView(cpl) {
14468
+ for (const view of cpl.views.values()) {
14469
+ if (view === cpl.root) {
14470
+ continue;
14471
+ }
14472
+ view.create.prepend([
14473
+ createVariableOp(view.tpl.allocateXrefId(), {
14474
+ kind: SemanticVariableKind.SavedView,
14475
+ name: null,
14476
+ view: view.xref
14477
+ }, new GetCurrentViewExpr())
14478
+ ]);
14479
+ for (const op of view.create) {
14480
+ if (op.kind !== OpKind.Listener) {
14481
+ continue;
14482
+ }
14483
+ op.handlerOps.prepend([
14484
+ createVariableOp(view.tpl.allocateXrefId(), {
14485
+ kind: SemanticVariableKind.Context,
14486
+ name: null,
14487
+ view: view.xref
14488
+ }, new RestoreViewExpr(view.xref))
14489
+ ]);
14490
+ for (const handlerOp of op.handlerOps) {
14491
+ if (handlerOp.kind === OpKind.Statement && handlerOp.statement instanceof ReturnStatement) {
14492
+ handlerOp.statement.value = new ResetViewExpr(handlerOp.statement.value);
14493
+ }
14494
+ }
14495
+ }
14496
+ }
14497
+ }
14414
14498
  function transformTemplate(cpl) {
14415
14499
  phaseGenerateVariables(cpl);
14500
+ phaseSaveRestoreView(cpl);
14416
14501
  phaseResolveNames(cpl);
14417
14502
  phaseResolveContexts(cpl);
14418
14503
  phaseLocalRefs(cpl);
14419
- phaseEmptyElements(cpl);
14420
14504
  phaseConstCollection(cpl);
14421
14505
  phaseSlotAllocation(cpl);
14422
14506
  phaseVarCounting(cpl);
@@ -14424,6 +14508,8 @@ function transformTemplate(cpl) {
14424
14508
  phaseNaming(cpl);
14425
14509
  phaseVariableOptimization(cpl, { conservative: true });
14426
14510
  phaseMergeNextContext(cpl);
14511
+ phaseNgContainer(cpl);
14512
+ phaseEmptyElements(cpl);
14427
14513
  phaseReify(cpl);
14428
14514
  phaseChaining(cpl);
14429
14515
  }
@@ -14539,6 +14625,25 @@ var ViewCompilation = class {
14539
14625
  }
14540
14626
  }
14541
14627
  };
14628
+ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
14629
+ ["&&", BinaryOperator.And],
14630
+ [">", BinaryOperator.Bigger],
14631
+ [">=", BinaryOperator.BiggerEquals],
14632
+ ["&", BinaryOperator.BitwiseAnd],
14633
+ ["/", BinaryOperator.Divide],
14634
+ ["==", BinaryOperator.Equals],
14635
+ ["===", BinaryOperator.Identical],
14636
+ ["<", BinaryOperator.Lower],
14637
+ ["<=", BinaryOperator.LowerEquals],
14638
+ ["-", BinaryOperator.Minus],
14639
+ ["%", BinaryOperator.Modulo],
14640
+ ["*", BinaryOperator.Multiply],
14641
+ ["!=", BinaryOperator.NotEquals],
14642
+ ["!==", BinaryOperator.NotIdentical],
14643
+ ["??", BinaryOperator.NullishCoalesce],
14644
+ ["||", BinaryOperator.Or],
14645
+ ["+", BinaryOperator.Plus]
14646
+ ]);
14542
14647
  function ingest(componentName, template2) {
14543
14648
  const cpl = new ComponentCompilation(componentName);
14544
14649
  ingestNodes(cpl.root, template2);
@@ -14618,8 +14723,18 @@ function convertAst(ast, cpl) {
14618
14723
  }
14619
14724
  } else if (ast instanceof LiteralPrimitive) {
14620
14725
  return literal(ast.value);
14726
+ } else if (ast instanceof Binary) {
14727
+ const operator = BINARY_OPERATORS.get(ast.operation);
14728
+ if (operator === void 0) {
14729
+ throw new Error(`AssertionError: unknown binary operator ${ast.operation}`);
14730
+ }
14731
+ return new BinaryOperatorExpr(operator, convertAst(ast.left, cpl), convertAst(ast.right, cpl));
14621
14732
  } else if (ast instanceof ThisReceiver) {
14622
14733
  return new ContextExpr(cpl.root.xref);
14734
+ } else if (ast instanceof KeyedRead) {
14735
+ return new ReadKeyExpr(convertAst(ast.receiver, cpl), convertAst(ast.key, cpl));
14736
+ } else if (ast instanceof Chain) {
14737
+ throw new Error(`AssertionError: Chain in unknown context`);
14623
14738
  } else {
14624
14739
  throw new Error(`Unhandled expression type: ${ast.constructor.name}`);
14625
14740
  }
@@ -14643,11 +14758,11 @@ function ingestAttributes(op, element2) {
14643
14758
  }
14644
14759
  function ingestBindings(view, op, element2) {
14645
14760
  if (element2 instanceof Template) {
14646
- for (const attr of element2.templateAttrs) {
14647
- if (typeof attr.value === "string") {
14648
- } else {
14649
- view.update.push(createPropertyOp(op.xref, attr.name, convertAst(attr.value, view.tpl)));
14761
+ for (const input of [...element2.templateAttrs, ...element2.inputs]) {
14762
+ if (!(input instanceof BoundAttribute)) {
14763
+ continue;
14650
14764
  }
14765
+ view.update.push(createPropertyOp(op.xref, input.name, convertAst(input.value, view.tpl)));
14651
14766
  }
14652
14767
  } else {
14653
14768
  for (const input of element2.inputs) {
@@ -14655,7 +14770,26 @@ function ingestBindings(view, op, element2) {
14655
14770
  }
14656
14771
  for (const output of element2.outputs) {
14657
14772
  const listenerOp = createListenerOp(op.xref, output.name, op.tag);
14658
- listenerOp.handlerOps.push(createStatementOp(new ReturnStatement(convertAst(output.handler, view.tpl))));
14773
+ let inputExprs;
14774
+ let handler = output.handler;
14775
+ if (handler instanceof ASTWithSource) {
14776
+ handler = handler.ast;
14777
+ }
14778
+ if (handler instanceof Chain) {
14779
+ inputExprs = handler.expressions;
14780
+ } else {
14781
+ inputExprs = [handler];
14782
+ }
14783
+ if (inputExprs.length === 0) {
14784
+ throw new Error("Expected listener to have non-empty expression list.");
14785
+ }
14786
+ const expressions = inputExprs.map((expr) => convertAst(expr, view.tpl));
14787
+ const returnExpr = expressions.pop();
14788
+ for (const expr of expressions) {
14789
+ const stmtOp = createStatementOp(new ExpressionStatement(expr));
14790
+ listenerOp.handlerOps.push(stmtOp);
14791
+ }
14792
+ listenerOp.handlerOps.push(createStatementOp(new ReturnStatement(returnExpr)));
14659
14793
  view.create.push(listenerOp);
14660
14794
  }
14661
14795
  }
@@ -22980,6 +23114,9 @@ function baseDirectiveFields(meta, constantPool, bindingParser) {
22980
23114
  if (meta.isStandalone) {
22981
23115
  definitionMap.set("standalone", literal(true));
22982
23116
  }
23117
+ if (meta.isSignal) {
23118
+ definitionMap.set("signals", literal(true));
23119
+ }
22983
23120
  return definitionMap;
22984
23121
  }
22985
23122
  function addFeatures(definitionMap, meta) {
@@ -22987,6 +23124,7 @@ function addFeatures(definitionMap, meta) {
22987
23124
  const features = [];
22988
23125
  const providers = meta.providers;
22989
23126
  const viewProviders = meta.viewProviders;
23127
+ const inputKeys = Object.keys(meta.inputs);
22990
23128
  if (providers || viewProviders) {
22991
23129
  const args = [providers || new LiteralArrayExpr([])];
22992
23130
  if (viewProviders) {
@@ -22994,6 +23132,12 @@ function addFeatures(definitionMap, meta) {
22994
23132
  }
22995
23133
  features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
22996
23134
  }
23135
+ for (const key of inputKeys) {
23136
+ if (meta.inputs[key].transformFunction !== null) {
23137
+ features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
23138
+ break;
23139
+ }
23140
+ }
22997
23141
  if (meta.usesInheritance) {
22998
23142
  features.push(importExpr(Identifiers.InheritDefinitionFeature));
22999
23143
  }
@@ -23105,6 +23249,7 @@ function createComponentType(meta) {
23105
23249
  typeParams.push(stringArrayAsType(meta.template.ngContentSelectors));
23106
23250
  typeParams.push(expressionType(literal(meta.isStandalone)));
23107
23251
  typeParams.push(createHostDirectivesType(meta));
23252
+ typeParams.push(expressionType(literal(meta.isSignal)));
23108
23253
  return expressionType(importExpr(Identifiers.ComponentDeclaration, typeParams));
23109
23254
  }
23110
23255
  function compileDeclarationList(list2, mode) {
@@ -23204,6 +23349,7 @@ function createDirectiveType(meta) {
23204
23349
  typeParams.push(NONE_TYPE);
23205
23350
  typeParams.push(expressionType(literal(meta.isStandalone)));
23206
23351
  typeParams.push(createHostDirectivesType(meta));
23352
+ typeParams.push(expressionType(literal(meta.isSignal)));
23207
23353
  return expressionType(importExpr(Identifiers.DirectiveDeclaration, typeParams));
23208
23354
  }
23209
23355
  function createViewQueriesFunction(viewQueries, constantPool, name) {
@@ -23708,7 +23854,8 @@ function convertDirectiveFacadeToMetadata(facade) {
23708
23854
  inputsFromType[field] = {
23709
23855
  bindingPropertyName: ann.alias || field,
23710
23856
  classPropertyName: field,
23711
- required: ann.required || false
23857
+ required: ann.required || false,
23858
+ transformFunction: ann.transform != null ? new WrappedNodeExpr(ann.transform) : null
23712
23859
  };
23713
23860
  } else if (isOutput(ann)) {
23714
23861
  outputsFromType[field] = ann.alias || field;
@@ -23732,7 +23879,7 @@ function convertDirectiveFacadeToMetadata(facade) {
23732
23879
  });
23733
23880
  }
23734
23881
  function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
23735
- var _a2, _b, _c, _d, _e, _f, _g, _h;
23882
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
23736
23883
  return {
23737
23884
  name: declaration.type.name,
23738
23885
  type: wrapReference(declaration.type),
@@ -23751,6 +23898,7 @@ function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
23751
23898
  typeArgumentCount: 0,
23752
23899
  fullInheritance: false,
23753
23900
  isStandalone: (_h = declaration.isStandalone) != null ? _h : false,
23901
+ isSignal: (_i = declaration.isSignal) != null ? _i : false,
23754
23902
  hostDirectives: convertHostDirectivesToMetadata(declaration)
23755
23903
  };
23756
23904
  }
@@ -23943,7 +24091,21 @@ function isOutput(value) {
23943
24091
  function inputsMappingToInputMetadata(inputs) {
23944
24092
  return Object.keys(inputs).reduce((result, key) => {
23945
24093
  const value = inputs[key];
23946
- result[key] = typeof value === "string" ? { bindingPropertyName: value, classPropertyName: value, required: false } : { bindingPropertyName: value[0], classPropertyName: value[1], required: false };
24094
+ if (typeof value === "string") {
24095
+ result[key] = {
24096
+ bindingPropertyName: value,
24097
+ classPropertyName: value,
24098
+ transformFunction: null,
24099
+ required: false
24100
+ };
24101
+ } else {
24102
+ result[key] = {
24103
+ bindingPropertyName: value[0],
24104
+ classPropertyName: value[1],
24105
+ transformFunction: value[2] || null,
24106
+ required: false
24107
+ };
24108
+ }
23947
24109
  return result;
23948
24110
  }, {});
23949
24111
  }
@@ -23951,12 +24113,18 @@ function parseInputsArray(values) {
23951
24113
  return values.reduce((results, value) => {
23952
24114
  if (typeof value === "string") {
23953
24115
  const [bindingPropertyName, classPropertyName] = parseMappingString(value);
23954
- results[classPropertyName] = { bindingPropertyName, classPropertyName, required: false };
24116
+ results[classPropertyName] = {
24117
+ bindingPropertyName,
24118
+ classPropertyName,
24119
+ required: false,
24120
+ transformFunction: null
24121
+ };
23955
24122
  } else {
23956
24123
  results[value.name] = {
23957
24124
  bindingPropertyName: value.alias || value.name,
23958
24125
  classPropertyName: value.name,
23959
- required: value.required || false
24126
+ required: value.required || false,
24127
+ transformFunction: value.transform != null ? new WrappedNodeExpr(value.transform) : null
23960
24128
  };
23961
24129
  }
23962
24130
  return results;
@@ -23997,7 +24165,7 @@ function publishFacade(global2) {
23997
24165
  const ng = global2.ng || (global2.ng = {});
23998
24166
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
23999
24167
  }
24000
- var VERSION = new Version("16.0.0");
24168
+ var VERSION = new Version("16.1.0-next.3");
24001
24169
  var _VisitorMode;
24002
24170
  (function(_VisitorMode2) {
24003
24171
  _VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
@@ -25936,7 +26104,7 @@ ${[...componentsToMigrate].join("\n")}`);
25936
26104
  * found in the LICENSE file at https://angular.io/license
25937
26105
  */
25938
26106
  /**
25939
- * @license Angular v16.0.0
26107
+ * @license Angular v16.1.0-next.3
25940
26108
  * (c) 2010-2022 Google LLC. https://angular.io/
25941
26109
  * License: MIT
25942
26110
  */