@angular/material-experimental 14.2.1 → 15.0.0-next.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 (590) hide show
  1. package/_index.scss +0 -69
  2. package/esm2020/selection/selection-column.mjs +11 -11
  3. package/esm2020/selection/selection-module.mjs +5 -5
  4. package/esm2020/version.mjs +1 -1
  5. package/fesm2015/material-experimental.mjs +1 -1
  6. package/fesm2015/material-experimental.mjs.map +1 -1
  7. package/fesm2015/selection.mjs +13 -13
  8. package/fesm2015/selection.mjs.map +1 -1
  9. package/fesm2020/material-experimental.mjs +1 -1
  10. package/fesm2020/material-experimental.mjs.map +1 -1
  11. package/fesm2020/selection.mjs +13 -13
  12. package/fesm2020/selection.mjs.map +1 -1
  13. package/package.json +55 -422
  14. package/selection/index.d.ts +4 -4
  15. package/esm2020/mdc-autocomplete/animations.mjs +0 -25
  16. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
  17. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
  18. package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
  19. package/esm2020/mdc-autocomplete/index.mjs +0 -9
  20. package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
  21. package/esm2020/mdc-autocomplete/module.mjs +0 -46
  22. package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
  23. package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  24. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
  25. package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
  26. package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
  27. package/esm2020/mdc-button/button-base.mjs +0 -152
  28. package/esm2020/mdc-button/button.mjs +0 -69
  29. package/esm2020/mdc-button/fab.mjs +0 -175
  30. package/esm2020/mdc-button/icon-button.mjs +0 -57
  31. package/esm2020/mdc-button/index.mjs +0 -9
  32. package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
  33. package/esm2020/mdc-button/module.mjs +0 -61
  34. package/esm2020/mdc-button/public-api.mjs +0 -12
  35. package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
  36. package/esm2020/mdc-button/testing/index.mjs +0 -9
  37. package/esm2020/mdc-button/testing/public-api.mjs +0 -9
  38. package/esm2020/mdc-card/card.mjs +0 -261
  39. package/esm2020/mdc-card/index.mjs +0 -9
  40. package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
  41. package/esm2020/mdc-card/module.mjs +0 -68
  42. package/esm2020/mdc-card/public-api.mjs +0 -10
  43. package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
  44. package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
  45. package/esm2020/mdc-card/testing/index.mjs +0 -9
  46. package/esm2020/mdc-card/testing/public-api.mjs +0 -10
  47. package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
  48. package/esm2020/mdc-checkbox/index.mjs +0 -9
  49. package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
  50. package/esm2020/mdc-checkbox/module.mjs +0 -26
  51. package/esm2020/mdc-checkbox/public-api.mjs +0 -11
  52. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
  53. package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
  54. package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
  55. package/esm2020/mdc-chips/chip-action.mjs +0 -90
  56. package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
  57. package/esm2020/mdc-chips/chip-grid.mjs +0 -407
  58. package/esm2020/mdc-chips/chip-icons.mjs +0 -110
  59. package/esm2020/mdc-chips/chip-input.mjs +0 -212
  60. package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
  61. package/esm2020/mdc-chips/chip-option.mjs +0 -160
  62. package/esm2020/mdc-chips/chip-row.mjs +0 -176
  63. package/esm2020/mdc-chips/chip-set.mjs +0 -271
  64. package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
  65. package/esm2020/mdc-chips/chip.mjs +0 -287
  66. package/esm2020/mdc-chips/index.mjs +0 -9
  67. package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
  68. package/esm2020/mdc-chips/module.mjs +0 -87
  69. package/esm2020/mdc-chips/public-api.mjs +0 -20
  70. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
  71. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
  72. package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
  73. package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
  74. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
  75. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
  76. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
  77. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
  78. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
  79. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
  80. package/esm2020/mdc-chips/testing/index.mjs +0 -9
  81. package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
  82. package/esm2020/mdc-chips/tokens.mjs +0 -33
  83. package/esm2020/mdc-core/index.mjs +0 -9
  84. package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
  85. package/esm2020/mdc-core/option/index.mjs +0 -30
  86. package/esm2020/mdc-core/option/optgroup.mjs +0 -46
  87. package/esm2020/mdc-core/option/option.mjs +0 -52
  88. package/esm2020/mdc-core/public-api.mjs +0 -10
  89. package/esm2020/mdc-core/testing/index.mjs +0 -9
  90. package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
  91. package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
  92. package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
  93. package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
  94. package/esm2020/mdc-core/testing/public-api.mjs +0 -12
  95. package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
  96. package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
  97. package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
  98. package/esm2020/mdc-dialog/dialog.mjs +0 -82
  99. package/esm2020/mdc-dialog/index.mjs +0 -9
  100. package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
  101. package/esm2020/mdc-dialog/module.mjs +0 -53
  102. package/esm2020/mdc-dialog/public-api.mjs +0 -14
  103. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
  104. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
  105. package/esm2020/mdc-dialog/testing/index.mjs +0 -9
  106. package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
  107. package/esm2020/mdc-form-field/directives/error.mjs +0 -47
  108. package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
  109. package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
  110. package/esm2020/mdc-form-field/directives/label.mjs +0 -21
  111. package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
  112. package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
  113. package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
  114. package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
  115. package/esm2020/mdc-form-field/form-field.mjs +0 -608
  116. package/esm2020/mdc-form-field/index.mjs +0 -9
  117. package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
  118. package/esm2020/mdc-form-field/module.mjs +0 -53
  119. package/esm2020/mdc-form-field/public-api.mjs +0 -16
  120. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
  121. package/esm2020/mdc-form-field/testing/index.mjs +0 -9
  122. package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
  123. package/esm2020/mdc-input/index.mjs +0 -9
  124. package/esm2020/mdc-input/input.mjs +0 -55
  125. package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
  126. package/esm2020/mdc-input/module.mjs +0 -27
  127. package/esm2020/mdc-input/public-api.mjs +0 -11
  128. package/esm2020/mdc-input/testing/index.mjs +0 -9
  129. package/esm2020/mdc-input/testing/public-api.mjs +0 -9
  130. package/esm2020/mdc-list/action-list.mjs +0 -31
  131. package/esm2020/mdc-list/index.mjs +0 -9
  132. package/esm2020/mdc-list/list-base.mjs +0 -272
  133. package/esm2020/mdc-list/list-item-sections.mjs +0 -138
  134. package/esm2020/mdc-list/list-option-types.mjs +0 -16
  135. package/esm2020/mdc-list/list-option.mjs +0 -253
  136. package/esm2020/mdc-list/list.mjs +0 -82
  137. package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
  138. package/esm2020/mdc-list/module.mjs +0 -98
  139. package/esm2020/mdc-list/nav-list.mjs +0 -31
  140. package/esm2020/mdc-list/public-api.mjs +0 -18
  141. package/esm2020/mdc-list/selection-list.mjs +0 -338
  142. package/esm2020/mdc-list/subheader.mjs +0 -27
  143. package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
  144. package/esm2020/mdc-list/testing/index.mjs +0 -9
  145. package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
  146. package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
  147. package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
  148. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
  149. package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
  150. package/esm2020/mdc-list/testing/public-api.mjs +0 -14
  151. package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
  152. package/esm2020/mdc-menu/directives.mjs +0 -38
  153. package/esm2020/mdc-menu/index.mjs +0 -9
  154. package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
  155. package/esm2020/mdc-menu/menu-item.mjs +0 -36
  156. package/esm2020/mdc-menu/menu.mjs +0 -43
  157. package/esm2020/mdc-menu/module.mjs +0 -44
  158. package/esm2020/mdc-menu/public-api.mjs +0 -13
  159. package/esm2020/mdc-menu/testing/index.mjs +0 -9
  160. package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
  161. package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
  162. package/esm2020/mdc-paginator/index.mjs +0 -9
  163. package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
  164. package/esm2020/mdc-paginator/module.mjs +0 -30
  165. package/esm2020/mdc-paginator/paginator.mjs +0 -48
  166. package/esm2020/mdc-paginator/public-api.mjs +0 -11
  167. package/esm2020/mdc-paginator/testing/index.mjs +0 -9
  168. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
  169. package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
  170. package/esm2020/mdc-progress-bar/index.mjs +0 -9
  171. package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
  172. package/esm2020/mdc-progress-bar/module.mjs +0 -24
  173. package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
  174. package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
  175. package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
  176. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
  177. package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
  178. package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
  179. package/esm2020/mdc-progress-spinner/index.mjs +0 -9
  180. package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
  181. package/esm2020/mdc-progress-spinner/module.mjs +0 -26
  182. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
  183. package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
  184. package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
  185. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  186. package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
  187. package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
  188. package/esm2020/mdc-radio/index.mjs +0 -9
  189. package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
  190. package/esm2020/mdc-radio/module.mjs +0 -26
  191. package/esm2020/mdc-radio/public-api.mjs +0 -11
  192. package/esm2020/mdc-radio/radio.mjs +0 -111
  193. package/esm2020/mdc-radio/testing/index.mjs +0 -9
  194. package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
  195. package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
  196. package/esm2020/mdc-select/index.mjs +0 -9
  197. package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
  198. package/esm2020/mdc-select/module.mjs +0 -46
  199. package/esm2020/mdc-select/public-api.mjs +0 -12
  200. package/esm2020/mdc-select/select-animations.mjs +0 -38
  201. package/esm2020/mdc-select/select-errors.mjs +0 -35
  202. package/esm2020/mdc-select/select.mjs +0 -172
  203. package/esm2020/mdc-select/testing/index.mjs +0 -9
  204. package/esm2020/mdc-select/testing/public-api.mjs +0 -10
  205. package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
  206. package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
  207. package/esm2020/mdc-slide-toggle/index.mjs +0 -9
  208. package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
  209. package/esm2020/mdc-slide-toggle/module.mjs +0 -27
  210. package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
  211. package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
  212. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
  213. package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
  214. package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
  215. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
  216. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
  217. package/esm2020/mdc-slider/index.mjs +0 -9
  218. package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
  219. package/esm2020/mdc-slider/module.mjs +0 -26
  220. package/esm2020/mdc-slider/public-api.mjs +0 -10
  221. package/esm2020/mdc-slider/slider.mjs +0 -1094
  222. package/esm2020/mdc-slider/testing/index.mjs +0 -9
  223. package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
  224. package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
  225. package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
  226. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
  227. package/esm2020/mdc-snack-bar/index.mjs +0 -9
  228. package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
  229. package/esm2020/mdc-snack-bar/module.mjs +0 -51
  230. package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
  231. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
  232. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
  233. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
  234. package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
  235. package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
  236. package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
  237. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
  238. package/esm2020/mdc-table/cell.mjs +0 -141
  239. package/esm2020/mdc-table/index.mjs +0 -9
  240. package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
  241. package/esm2020/mdc-table/module.mjs +0 -94
  242. package/esm2020/mdc-table/public-api.mjs +0 -14
  243. package/esm2020/mdc-table/row.mjs +0 -143
  244. package/esm2020/mdc-table/table-data-source.mjs +0 -24
  245. package/esm2020/mdc-table/table.mjs +0 -74
  246. package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
  247. package/esm2020/mdc-table/testing/index.mjs +0 -9
  248. package/esm2020/mdc-table/testing/public-api.mjs +0 -11
  249. package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
  250. package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
  251. package/esm2020/mdc-table/text-column.mjs +0 -58
  252. package/esm2020/mdc-tabs/index.mjs +0 -9
  253. package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
  254. package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
  255. package/esm2020/mdc-tabs/module.mjs +0 -93
  256. package/esm2020/mdc-tabs/public-api.mjs +0 -19
  257. package/esm2020/mdc-tabs/tab-body.mjs +0 -60
  258. package/esm2020/mdc-tabs/tab-content.mjs +0 -20
  259. package/esm2020/mdc-tabs/tab-group.mjs +0 -98
  260. package/esm2020/mdc-tabs/tab-header.mjs +0 -73
  261. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
  262. package/esm2020/mdc-tabs/tab-label.mjs +0 -22
  263. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
  264. package/esm2020/mdc-tabs/tab.mjs +0 -34
  265. package/esm2020/mdc-tabs/testing/index.mjs +0 -9
  266. package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
  267. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
  268. package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
  269. package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
  270. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
  271. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
  272. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
  273. package/esm2020/mdc-tooltip/index.mjs +0 -9
  274. package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
  275. package/esm2020/mdc-tooltip/module.mjs +0 -31
  276. package/esm2020/mdc-tooltip/public-api.mjs +0 -12
  277. package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
  278. package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
  279. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
  280. package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
  281. package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
  282. package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
  283. package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
  284. package/fesm2015/mdc-autocomplete.mjs +0 -196
  285. package/fesm2015/mdc-autocomplete.mjs.map +0 -1
  286. package/fesm2015/mdc-button/testing.mjs +0 -75
  287. package/fesm2015/mdc-button/testing.mjs.map +0 -1
  288. package/fesm2015/mdc-button.mjs +0 -490
  289. package/fesm2015/mdc-button.mjs.map +0 -1
  290. package/fesm2015/mdc-card/testing.mjs +0 -63
  291. package/fesm2015/mdc-card/testing.mjs.map +0 -1
  292. package/fesm2015/mdc-card.mjs +0 -351
  293. package/fesm2015/mdc-card.mjs.map +0 -1
  294. package/fesm2015/mdc-checkbox/testing.mjs +0 -56
  295. package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
  296. package/fesm2015/mdc-checkbox.mjs +0 -142
  297. package/fesm2015/mdc-checkbox.mjs.map +0 -1
  298. package/fesm2015/mdc-chips/testing.mjs +0 -394
  299. package/fesm2015/mdc-chips/testing.mjs.map +0 -1
  300. package/fesm2015/mdc-chips.mjs +0 -2169
  301. package/fesm2015/mdc-chips.mjs.map +0 -1
  302. package/fesm2015/mdc-core/testing.mjs +0 -118
  303. package/fesm2015/mdc-core/testing.mjs.map +0 -1
  304. package/fesm2015/mdc-core.mjs +0 -141
  305. package/fesm2015/mdc-core.mjs.map +0 -1
  306. package/fesm2015/mdc-dialog/testing.mjs +0 -90
  307. package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
  308. package/fesm2015/mdc-dialog.mjs +0 -500
  309. package/fesm2015/mdc-dialog.mjs.map +0 -1
  310. package/fesm2015/mdc-form-field/testing.mjs +0 -78
  311. package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
  312. package/fesm2015/mdc-form-field.mjs +0 -1018
  313. package/fesm2015/mdc-form-field.mjs.map +0 -1
  314. package/fesm2015/mdc-input/testing.mjs +0 -18
  315. package/fesm2015/mdc-input/testing.mjs.map +0 -1
  316. package/fesm2015/mdc-input.mjs +0 -103
  317. package/fesm2015/mdc-input.mjs.map +0 -1
  318. package/fesm2015/mdc-list/testing.mjs +0 -574
  319. package/fesm2015/mdc-list/testing.mjs.map +0 -1
  320. package/fesm2015/mdc-list.mjs +0 -1264
  321. package/fesm2015/mdc-list.mjs.map +0 -1
  322. package/fesm2015/mdc-menu/testing.mjs +0 -59
  323. package/fesm2015/mdc-menu/testing.mjs.map +0 -1
  324. package/fesm2015/mdc-menu.mjs +0 -174
  325. package/fesm2015/mdc-menu.mjs.map +0 -1
  326. package/fesm2015/mdc-paginator/testing.mjs +0 -55
  327. package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
  328. package/fesm2015/mdc-paginator.mjs +0 -100
  329. package/fesm2015/mdc-paginator.mjs.map +0 -1
  330. package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
  331. package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
  332. package/fesm2015/mdc-progress-bar.mjs +0 -198
  333. package/fesm2015/mdc-progress-bar.mjs.map +0 -1
  334. package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
  335. package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
  336. package/fesm2015/mdc-progress-spinner.mjs +0 -200
  337. package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
  338. package/fesm2015/mdc-radio/testing.mjs +0 -63
  339. package/fesm2015/mdc-radio/testing.mjs.map +0 -1
  340. package/fesm2015/mdc-radio.mjs +0 -155
  341. package/fesm2015/mdc-radio.mjs.map +0 -1
  342. package/fesm2015/mdc-select/testing.mjs +0 -48
  343. package/fesm2015/mdc-select/testing.mjs.map +0 -1
  344. package/fesm2015/mdc-select.mjs +0 -273
  345. package/fesm2015/mdc-select.mjs.map +0 -1
  346. package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
  347. package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
  348. package/fesm2015/mdc-slide-toggle.mjs +0 -159
  349. package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
  350. package/fesm2015/mdc-slider/testing.mjs +0 -199
  351. package/fesm2015/mdc-slider/testing.mjs.map +0 -1
  352. package/fesm2015/mdc-slider.mjs +0 -1212
  353. package/fesm2015/mdc-slider.mjs.map +0 -1
  354. package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
  355. package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
  356. package/fesm2015/mdc-snack-bar.mjs +0 -229
  357. package/fesm2015/mdc-snack-bar.mjs.map +0 -1
  358. package/fesm2015/mdc-table/testing.mjs +0 -158
  359. package/fesm2015/mdc-table/testing.mjs.map +0 -1
  360. package/fesm2015/mdc-table.mjs +0 -540
  361. package/fesm2015/mdc-table.mjs.map +0 -1
  362. package/fesm2015/mdc-tabs/testing.mjs +0 -273
  363. package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
  364. package/fesm2015/mdc-tabs.mjs +0 -737
  365. package/fesm2015/mdc-tabs.mjs.map +0 -1
  366. package/fesm2015/mdc-tooltip/testing.mjs +0 -49
  367. package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
  368. package/fesm2015/mdc-tooltip.mjs +0 -206
  369. package/fesm2015/mdc-tooltip.mjs.map +0 -1
  370. package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
  371. package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
  372. package/fesm2020/mdc-autocomplete.mjs +0 -196
  373. package/fesm2020/mdc-autocomplete.mjs.map +0 -1
  374. package/fesm2020/mdc-button/testing.mjs +0 -69
  375. package/fesm2020/mdc-button/testing.mjs.map +0 -1
  376. package/fesm2020/mdc-button.mjs +0 -510
  377. package/fesm2020/mdc-button.mjs.map +0 -1
  378. package/fesm2020/mdc-card/testing.mjs +0 -69
  379. package/fesm2020/mdc-card/testing.mjs.map +0 -1
  380. package/fesm2020/mdc-card.mjs +0 -349
  381. package/fesm2020/mdc-card.mjs.map +0 -1
  382. package/fesm2020/mdc-checkbox/testing.mjs +0 -60
  383. package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
  384. package/fesm2020/mdc-checkbox.mjs +0 -139
  385. package/fesm2020/mdc-checkbox.mjs.map +0 -1
  386. package/fesm2020/mdc-chips/testing.mjs +0 -395
  387. package/fesm2020/mdc-chips/testing.mjs.map +0 -1
  388. package/fesm2020/mdc-chips.mjs +0 -2161
  389. package/fesm2020/mdc-chips.mjs.map +0 -1
  390. package/fesm2020/mdc-core/testing.mjs +0 -129
  391. package/fesm2020/mdc-core/testing.mjs.map +0 -1
  392. package/fesm2020/mdc-core.mjs +0 -139
  393. package/fesm2020/mdc-core.mjs.map +0 -1
  394. package/fesm2020/mdc-dialog/testing.mjs +0 -90
  395. package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
  396. package/fesm2020/mdc-dialog.mjs +0 -499
  397. package/fesm2020/mdc-dialog.mjs.map +0 -1
  398. package/fesm2020/mdc-form-field/testing.mjs +0 -78
  399. package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
  400. package/fesm2020/mdc-form-field.mjs +0 -1014
  401. package/fesm2020/mdc-form-field.mjs.map +0 -1
  402. package/fesm2020/mdc-input/testing.mjs +0 -18
  403. package/fesm2020/mdc-input/testing.mjs.map +0 -1
  404. package/fesm2020/mdc-input.mjs +0 -103
  405. package/fesm2020/mdc-input.mjs.map +0 -1
  406. package/fesm2020/mdc-list/testing.mjs +0 -544
  407. package/fesm2020/mdc-list/testing.mjs.map +0 -1
  408. package/fesm2020/mdc-list.mjs +0 -1260
  409. package/fesm2020/mdc-list.mjs.map +0 -1
  410. package/fesm2020/mdc-menu/testing.mjs +0 -65
  411. package/fesm2020/mdc-menu/testing.mjs.map +0 -1
  412. package/fesm2020/mdc-menu.mjs +0 -172
  413. package/fesm2020/mdc-menu.mjs.map +0 -1
  414. package/fesm2020/mdc-paginator/testing.mjs +0 -55
  415. package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
  416. package/fesm2020/mdc-paginator.mjs +0 -98
  417. package/fesm2020/mdc-paginator.mjs.map +0 -1
  418. package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
  419. package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
  420. package/fesm2020/mdc-progress-bar.mjs +0 -196
  421. package/fesm2020/mdc-progress-bar.mjs.map +0 -1
  422. package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
  423. package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
  424. package/fesm2020/mdc-progress-spinner.mjs +0 -197
  425. package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
  426. package/fesm2020/mdc-radio/testing.mjs +0 -69
  427. package/fesm2020/mdc-radio/testing.mjs.map +0 -1
  428. package/fesm2020/mdc-radio.mjs +0 -153
  429. package/fesm2020/mdc-radio.mjs.map +0 -1
  430. package/fesm2020/mdc-select/testing.mjs +0 -56
  431. package/fesm2020/mdc-select/testing.mjs.map +0 -1
  432. package/fesm2020/mdc-select.mjs +0 -273
  433. package/fesm2020/mdc-select.mjs.map +0 -1
  434. package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
  435. package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
  436. package/fesm2020/mdc-slide-toggle.mjs +0 -157
  437. package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
  438. package/fesm2020/mdc-slider/testing.mjs +0 -172
  439. package/fesm2020/mdc-slider/testing.mjs.map +0 -1
  440. package/fesm2020/mdc-slider.mjs +0 -1191
  441. package/fesm2020/mdc-slider.mjs.map +0 -1
  442. package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
  443. package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
  444. package/fesm2020/mdc-snack-bar.mjs +0 -232
  445. package/fesm2020/mdc-snack-bar.mjs.map +0 -1
  446. package/fesm2020/mdc-table/testing.mjs +0 -158
  447. package/fesm2020/mdc-table/testing.mjs.map +0 -1
  448. package/fesm2020/mdc-table.mjs +0 -539
  449. package/fesm2020/mdc-table.mjs.map +0 -1
  450. package/fesm2020/mdc-tabs/testing.mjs +0 -265
  451. package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
  452. package/fesm2020/mdc-tabs.mjs +0 -723
  453. package/fesm2020/mdc-tabs.mjs.map +0 -1
  454. package/fesm2020/mdc-tooltip/testing.mjs +0 -49
  455. package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
  456. package/fesm2020/mdc-tooltip.mjs +0 -202
  457. package/fesm2020/mdc-tooltip.mjs.map +0 -1
  458. package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
  459. package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
  460. package/mdc-autocomplete/index.d.ts +0 -97
  461. package/mdc-autocomplete/testing/index.d.ts +0 -32
  462. package/mdc-button/_button-base.import.scss +0 -4
  463. package/mdc-button/_button-base.scss +0 -95
  464. package/mdc-button/_button-theme-private.scss +0 -62
  465. package/mdc-button/_button-theme.import.scss +0 -16
  466. package/mdc-button/_button-theme.scss +0 -224
  467. package/mdc-button/_fab-theme.scss +0 -90
  468. package/mdc-button/_icon-button-theme.scss +0 -76
  469. package/mdc-button/index.d.ts +0 -216
  470. package/mdc-button/testing/index.d.ts +0 -41
  471. package/mdc-card/_card-theme.import.scss +0 -7
  472. package/mdc-card/_card-theme.scss +0 -74
  473. package/mdc-card/index.d.ts +0 -194
  474. package/mdc-card/testing/index.d.ts +0 -44
  475. package/mdc-checkbox/_checkbox-private.scss +0 -53
  476. package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
  477. package/mdc-checkbox/_checkbox-theme.scss +0 -122
  478. package/mdc-checkbox/index.d.ts +0 -87
  479. package/mdc-checkbox/testing/index.d.ts +0 -28
  480. package/mdc-chips/_chips-theme.import.scss +0 -8
  481. package/mdc-chips/_chips-theme.scss +0 -117
  482. package/mdc-chips/index.d.ts +0 -979
  483. package/mdc-chips/testing/index.d.ts +0 -232
  484. package/mdc-core/_core-theme.import.scss +0 -10
  485. package/mdc-core/_core-theme.scss +0 -78
  486. package/mdc-core/_elevation.scss +0 -38
  487. package/mdc-core/color/_all-color.scss +0 -25
  488. package/mdc-core/density/_all-density.scss +0 -25
  489. package/mdc-core/index.d.ts +0 -206
  490. package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
  491. package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
  492. package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
  493. package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
  494. package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
  495. package/mdc-core/option/_optgroup-theme.import.scss +0 -7
  496. package/mdc-core/option/_optgroup-theme.scss +0 -44
  497. package/mdc-core/option/_option-theme.import.scss +0 -7
  498. package/mdc-core/option/_option-theme.scss +0 -87
  499. package/mdc-core/testing/index.d.ts +0 -64
  500. package/mdc-core/theming/_all-theme.scss +0 -61
  501. package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
  502. package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
  503. package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
  504. package/mdc-core/theming/prebuilt/purple-green.css +0 -1
  505. package/mdc-core/typography/_all-typography.scss +0 -99
  506. package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
  507. package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
  508. package/mdc-dialog/_dialog-theme.import.scss +0 -5
  509. package/mdc-dialog/_dialog-theme.scss +0 -78
  510. package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  511. package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
  512. package/mdc-dialog/index.d.ts +0 -217
  513. package/mdc-dialog/testing/index.d.ts +0 -47
  514. package/mdc-form-field/_form-field-density.scss +0 -119
  515. package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
  516. package/mdc-form-field/_form-field-high-contrast.scss +0 -39
  517. package/mdc-form-field/_form-field-native-select.scss +0 -133
  518. package/mdc-form-field/_form-field-sizing.scss +0 -40
  519. package/mdc-form-field/_form-field-subscript.scss +0 -83
  520. package/mdc-form-field/_form-field-theme.scss +0 -148
  521. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
  522. package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  523. package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
  524. package/mdc-form-field/index.d.ts +0 -431
  525. package/mdc-form-field/testing/index.d.ts +0 -48
  526. package/mdc-input/_input-theme.import.scss +0 -5
  527. package/mdc-input/_input-theme.scss +0 -35
  528. package/mdc-input/index.d.ts +0 -30
  529. package/mdc-input/testing/index.d.ts +0 -20
  530. package/mdc-list/_interactive-list-theme.import.scss +0 -5
  531. package/mdc-list/_interactive-list-theme.scss +0 -40
  532. package/mdc-list/_list-option-theme.import.scss +0 -13
  533. package/mdc-list/_list-option-theme.scss +0 -28
  534. package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
  535. package/mdc-list/_list-theme.import.scss +0 -17
  536. package/mdc-list/_list-theme.scss +0 -81
  537. package/mdc-list/index.d.ts +0 -534
  538. package/mdc-list/testing/index.d.ts +0 -372
  539. package/mdc-menu/_menu-theme.import.scss +0 -5
  540. package/mdc-menu/_menu-theme.scss +0 -88
  541. package/mdc-menu/index.d.ts +0 -110
  542. package/mdc-menu/testing/index.d.ts +0 -38
  543. package/mdc-paginator/_paginator-theme.import.scss +0 -9
  544. package/mdc-paginator/_paginator-theme.scss +0 -106
  545. package/mdc-paginator/_paginator-variables.import.scss +0 -1
  546. package/mdc-paginator/_paginator-variables.scss +0 -13
  547. package/mdc-paginator/index.d.ts +0 -72
  548. package/mdc-paginator/testing/index.d.ts +0 -30
  549. package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
  550. package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
  551. package/mdc-progress-bar/index.d.ts +0 -98
  552. package/mdc-progress-bar/testing/index.d.ts +0 -24
  553. package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
  554. package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
  555. package/mdc-progress-spinner/index.d.ts +0 -90
  556. package/mdc-progress-spinner/testing/index.d.ts +0 -26
  557. package/mdc-radio/_radio-theme.import.scss +0 -7
  558. package/mdc-radio/_radio-theme.scss +0 -110
  559. package/mdc-radio/index.d.ts +0 -72
  560. package/mdc-radio/testing/index.d.ts +0 -43
  561. package/mdc-select/_select-theme.import.scss +0 -10
  562. package/mdc-select/_select-theme.scss +0 -100
  563. package/mdc-select/index.d.ts +0 -111
  564. package/mdc-select/testing/index.d.ts +0 -28
  565. package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  566. package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
  567. package/mdc-slide-toggle/index.d.ts +0 -83
  568. package/mdc-slide-toggle/testing/index.d.ts +0 -27
  569. package/mdc-slider/_slider-theme.import.scss +0 -5
  570. package/mdc-slider/_slider-theme.scss +0 -125
  571. package/mdc-slider/index.d.ts +0 -435
  572. package/mdc-slider/testing/index.d.ts +0 -92
  573. package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
  574. package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
  575. package/mdc-snack-bar/index.d.ts +0 -136
  576. package/mdc-snack-bar/testing/index.d.ts +0 -23
  577. package/mdc-table/_table-theme.import.scss +0 -11
  578. package/mdc-table/_table-theme.scss +0 -78
  579. package/mdc-table/index.d.ts +0 -238
  580. package/mdc-table/testing/index.d.ts +0 -118
  581. package/mdc-tabs/_tabs-common.import.scss +0 -14
  582. package/mdc-tabs/_tabs-common.scss +0 -196
  583. package/mdc-tabs/_tabs-theme.import.scss +0 -8
  584. package/mdc-tabs/_tabs-theme.scss +0 -146
  585. package/mdc-tabs/index.d.ts +0 -307
  586. package/mdc-tabs/testing/index.d.ts +0 -151
  587. package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
  588. package/mdc-tooltip/_tooltip-theme.scss +0 -49
  589. package/mdc-tooltip/index.d.ts +0 -118
  590. package/mdc-tooltip/testing/index.d.ts +0 -26
@@ -1,979 +0,0 @@
1
- import { _AbstractConstructor } from '@angular/material-experimental/mdc-core';
2
- import { AfterContentInit } from '@angular/core';
3
- import { AfterViewInit } from '@angular/core';
4
- import { BooleanInput } from '@angular/cdk/coercion';
5
- import { CanColor } from '@angular/material-experimental/mdc-core';
6
- import { CanDisable } from '@angular/material-experimental/mdc-core';
7
- import { CanDisableRipple } from '@angular/material-experimental/mdc-core';
8
- import { CanUpdateErrorState } from '@angular/material-experimental/mdc-core';
9
- import { ChangeDetectorRef } from '@angular/core';
10
- import { _Constructor } from '@angular/material-experimental/mdc-core';
11
- import { ControlValueAccessor } from '@angular/forms';
12
- import { Directionality } from '@angular/cdk/bidi';
13
- import { DoCheck } from '@angular/core';
14
- import { ElementRef } from '@angular/core';
15
- import { ErrorStateMatcher } from '@angular/material-experimental/mdc-core';
16
- import { EventEmitter } from '@angular/core';
17
- import { FocusKeyManager } from '@angular/cdk/a11y';
18
- import { FocusMonitor } from '@angular/cdk/a11y';
19
- import { FormGroupDirective } from '@angular/forms';
20
- import { HasTabIndex } from '@angular/material-experimental/mdc-core';
21
- import * as i0 from '@angular/core';
22
- import * as i11 from '@angular/material-experimental/mdc-core';
23
- import * as i12 from '@angular/common';
24
- import { InjectionToken } from '@angular/core';
25
- import { MatChipAvatar as MatChipAvatar_2 } from '@angular/material-experimental/mdc-chips';
26
- import { MatFormField } from '@angular/material-experimental/mdc-form-field';
27
- import { MatFormFieldControl } from '@angular/material-experimental/mdc-form-field';
28
- import { MatRipple } from '@angular/material-experimental/mdc-core';
29
- import { NgControl } from '@angular/forms';
30
- import { NgForm } from '@angular/forms';
31
- import { NgZone } from '@angular/core';
32
- import { Observable } from 'rxjs';
33
- import { OnChanges } from '@angular/core';
34
- import { OnDestroy } from '@angular/core';
35
- import { OnInit } from '@angular/core';
36
- import { QueryList } from '@angular/core';
37
- import { RippleGlobalOptions } from '@angular/material-experimental/mdc-core';
38
- import { Subject } from 'rxjs';
39
-
40
- declare namespace i1 {
41
- export {
42
- MatChipAction
43
- }
44
- }
45
-
46
- declare namespace i10 {
47
- export {
48
- MatChipSet
49
- }
50
- }
51
-
52
- declare namespace i2 {
53
- export {
54
- MatChipEvent,
55
- MatChip
56
- }
57
- }
58
-
59
- declare namespace i3 {
60
- export {
61
- MatChipAvatar,
62
- MatChipTrailingIcon,
63
- MatChipRemove
64
- }
65
- }
66
-
67
- declare namespace i4 {
68
- export {
69
- MatChipEditInput
70
- }
71
- }
72
-
73
- declare namespace i5 {
74
- export {
75
- MatChipGridChange,
76
- MatChipGrid
77
- }
78
- }
79
-
80
- declare namespace i6 {
81
- export {
82
- MatChipInputEvent,
83
- MatChipInput
84
- }
85
- }
86
-
87
- declare namespace i7 {
88
- export {
89
- MatChipListboxChange,
90
- MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR,
91
- MatChipListbox
92
- }
93
- }
94
-
95
- declare namespace i8 {
96
- export {
97
- MatChipSelectionChange,
98
- MatChipOption
99
- }
100
- }
101
-
102
- declare namespace i9 {
103
- export {
104
- MatChipEditedEvent,
105
- MatChipRow
106
- }
107
- }
108
-
109
- /**
110
- * Injection token used to avoid a circular dependency between the `MatChip` and `MatChipAction`.
111
- */
112
- export declare const MAT_CHIP: InjectionToken<unknown>;
113
-
114
- /**
115
- * Injection token that can be used to reference instances of `MatChipAvatar`. It serves as
116
- * alternative token to the actual `MatChipAvatar` class which could cause unnecessary
117
- * retention of the class and its directive metadata.
118
- */
119
- export declare const MAT_CHIP_AVATAR: InjectionToken<unknown>;
120
-
121
- /**
122
- * Provider Expression that allows mat-chip-listbox to register as a ControlValueAccessor.
123
- * This allows it to support [(ngModel)].
124
- * @docs-private
125
- */
126
- export declare const MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR: any;
127
-
128
- /**
129
- * Injection token that can be used to reference instances of `MatChipRemove`. It serves as
130
- * alternative token to the actual `MatChipRemove` class which could cause unnecessary
131
- * retention of the class and its directive metadata.
132
- */
133
- export declare const MAT_CHIP_REMOVE: InjectionToken<unknown>;
134
-
135
- /**
136
- * Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as
137
- * alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary
138
- * retention of the class and its directive metadata.
139
- */
140
- export declare const MAT_CHIP_TRAILING_ICON: InjectionToken<unknown>;
141
-
142
- /** Injection token to be used to override the default options for the chips module. */
143
- export declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOptions>;
144
-
145
- /**
146
- * Material design styled Chip base component. Used inside the MatChipSet component.
147
- *
148
- * Extended by MatChipOption and MatChipRow for different interaction patterns.
149
- */
150
- export declare class MatChip extends _MatChipMixinBase implements AfterViewInit, CanColor, CanDisableRipple, CanDisable, HasTabIndex, OnDestroy {
151
- _changeDetectorRef: ChangeDetectorRef;
152
- protected _ngZone: NgZone;
153
- private _focusMonitor;
154
- private _globalRippleOptions?;
155
- protected _document: Document;
156
- /** Whether the ripple is centered on the chip. */
157
- readonly _isRippleCentered = false;
158
- /** Emits when the chip is focused. */
159
- readonly _onFocus: Subject<MatChipEvent>;
160
- /** Emits when the chip is blurred. */
161
- readonly _onBlur: Subject<MatChipEvent>;
162
- /** Whether this chip is a basic (unstyled) chip. */
163
- readonly _isBasicChip: boolean;
164
- /** Role for the root of the chip. */
165
- role: string | null;
166
- /** Whether the chip has focus. */
167
- private _hasFocusInternal;
168
- /** Whether moving focus into the chip is pending. */
169
- private _pendingFocus;
170
- /** Whether animations for the chip are enabled. */
171
- _animationsDisabled: boolean;
172
- _hasFocus(): boolean;
173
- /** A unique id for the chip. If none is supplied, it will be auto-generated. */
174
- id: string;
175
- /** ARIA label for the content of the chip. */
176
- ariaLabel: string | null;
177
- private _textElement;
178
- /**
179
- * The value of the chip. Defaults to the content inside
180
- * the `mat-mdc-chip-action-label` element.
181
- */
182
- get value(): any;
183
- set value(value: any);
184
- protected _value: any;
185
- /**
186
- * Determines whether or not the chip displays the remove styling and emits (removed) events.
187
- */
188
- get removable(): boolean;
189
- set removable(value: BooleanInput);
190
- protected _removable: boolean;
191
- /**
192
- * Colors the chip for emphasis as if it were selected.
193
- */
194
- get highlighted(): boolean;
195
- set highlighted(value: BooleanInput);
196
- protected _highlighted: boolean;
197
- /** Emitted when a chip is to be removed. */
198
- readonly removed: EventEmitter<MatChipEvent>;
199
- /** Emitted when the chip is destroyed. */
200
- readonly destroyed: EventEmitter<MatChipEvent>;
201
- /** The unstyled chip selector for this component. */
202
- protected basicChipAttrName: string;
203
- /** The chip's leading icon. */
204
- leadingIcon: MatChipAvatar;
205
- /** The chip's trailing icon. */
206
- trailingIcon: MatChipTrailingIcon;
207
- /** The chip's trailing remove icon. */
208
- removeIcon: MatChipRemove;
209
- /** Reference to the MatRipple instance of the chip. */
210
- ripple: MatRipple;
211
- /** Action receiving the primary set of user interactions. */
212
- primaryAction: MatChipAction;
213
- constructor(_changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _focusMonitor: FocusMonitor, _document: any, animationMode?: string, _globalRippleOptions?: RippleGlobalOptions | undefined, tabIndex?: string);
214
- ngAfterViewInit(): void;
215
- ngOnDestroy(): void;
216
- /**
217
- * Allows for programmatic removal of the chip.
218
- *
219
- * Informs any listeners of the removal request. Does not remove the chip from the DOM.
220
- */
221
- remove(): void;
222
- /** Whether or not the ripple should be disabled. */
223
- _isRippleDisabled(): boolean;
224
- /** Returns whether the chip has a trailing icon. */
225
- _hasTrailingIcon(): boolean;
226
- /** Handles keyboard events on the chip. */
227
- _handleKeydown(event: KeyboardEvent): void;
228
- /** Allows for programmatic focusing of the chip. */
229
- focus(): void;
230
- /** Gets the action that contains a specific target node. */
231
- _getSourceAction(target: Node): MatChipAction | undefined;
232
- /** Gets all of the actions within the chip. */
233
- _getActions(): MatChipAction[];
234
- /** Handles interactions with the primary action of the chip. */
235
- _handlePrimaryActionInteraction(): void;
236
- /** Starts the focus monitoring process on the chip. */
237
- private _monitorFocus;
238
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
239
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, mat-chip", ["matChip"], { "color": "color"; "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "role": "role"; "id": "id"; "ariaLabel": "aria-label"; "value": "value"; "removable": "removable"; "highlighted": "highlighted"; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], false>;
240
- }
241
-
242
- /**
243
- * Section within a chip.
244
- * @docs-private
245
- */
246
- declare class MatChipAction extends _MatChipActionMixinBase implements HasTabIndex {
247
- _elementRef: ElementRef<HTMLElement>;
248
- protected _parentChip: {
249
- _handlePrimaryActionInteraction(): void;
250
- remove(): void;
251
- disabled: boolean;
252
- };
253
- /** Whether the action is interactive. */
254
- isInteractive: boolean;
255
- /** Whether this is the primary action in the chip. */
256
- _isPrimary: boolean;
257
- /** Whether the action is disabled. */
258
- get disabled(): boolean;
259
- set disabled(value: BooleanInput);
260
- private _disabled;
261
- constructor(_elementRef: ElementRef<HTMLElement>, _parentChip: {
262
- _handlePrimaryActionInteraction(): void;
263
- remove(): void;
264
- disabled: boolean;
265
- });
266
- focus(): void;
267
- _handleClick(event: MouseEvent): void;
268
- _handleKeydown(event: KeyboardEvent): void;
269
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
270
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "isInteractive": "isInteractive"; }, {}, never, never, false>;
271
- }
272
-
273
- declare abstract class _MatChipActionBase {
274
- abstract disabled: boolean;
275
- }
276
-
277
- declare const _MatChipActionMixinBase: _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & typeof _MatChipActionBase;
278
-
279
- /**
280
- * Directive to add CSS classes to chip leading icon.
281
- * @docs-private
282
- */
283
- export declare class MatChipAvatar {
284
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAvatar, never>;
285
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never, false>;
286
- }
287
-
288
- /** Represents an event fired on an individual `mat-chip` when it is edited. */
289
- export declare interface MatChipEditedEvent extends MatChipEvent {
290
- /** The final edit value. */
291
- value: string;
292
- }
293
-
294
- /**
295
- * A directive that makes a span editable and exposes functions to modify and retrieve the
296
- * element's contents.
297
- */
298
- export declare class MatChipEditInput {
299
- private readonly _elementRef;
300
- private readonly _document;
301
- constructor(_elementRef: ElementRef, _document: any);
302
- initialize(initialValue: string): void;
303
- getNativeElement(): HTMLElement;
304
- setValue(value: string): void;
305
- getValue(): string;
306
- private _moveCursorToEndOfInput;
307
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipEditInput, never>;
308
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never, never, false>;
309
- }
310
-
311
- /** Represents an event fired on an individual `mat-chip`. */
312
- export declare interface MatChipEvent {
313
- /** The chip the event was fired on. */
314
- chip: MatChip;
315
- }
316
-
317
- /**
318
- * An extension of the MatChipSet component used with MatChipRow chips and
319
- * the matChipInputFor directive.
320
- */
321
- export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterContentInit, AfterViewInit, CanUpdateErrorState, ControlValueAccessor, DoCheck, MatFormFieldControl<any>, OnDestroy {
322
- /**
323
- * Implemented as part of MatFormFieldControl.
324
- * @docs-private
325
- */
326
- readonly controlType: string;
327
- /** The chip input to add more chips */
328
- protected _chipInput: MatChipTextControl;
329
- protected _defaultRole: string;
330
- /**
331
- * List of element ids to propagate to the chipInput's aria-describedby attribute.
332
- */
333
- private _ariaDescribedbyIds;
334
- /**
335
- * Function when touched. Set as part of ControlValueAccessor implementation.
336
- * @docs-private
337
- */
338
- _onTouched: () => void;
339
- /**
340
- * Function when changed. Set as part of ControlValueAccessor implementation.
341
- * @docs-private
342
- */
343
- _onChange: (value: any) => void;
344
- /**
345
- * Implemented as part of MatFormFieldControl.
346
- * @docs-private
347
- */
348
- get disabled(): boolean;
349
- set disabled(value: BooleanInput);
350
- /**
351
- * Implemented as part of MatFormFieldControl.
352
- * @docs-private
353
- */
354
- get id(): string;
355
- /**
356
- * Implemented as part of MatFormFieldControl.
357
- * @docs-private
358
- */
359
- get empty(): boolean;
360
- /**
361
- * Implemented as part of MatFormFieldControl.
362
- * @docs-private
363
- */
364
- get placeholder(): string;
365
- set placeholder(value: string);
366
- protected _placeholder: string;
367
- /** Whether any chips or the matChipInput inside of this chip-grid has focus. */
368
- get focused(): boolean;
369
- /**
370
- * Implemented as part of MatFormFieldControl.
371
- * @docs-private
372
- */
373
- get required(): boolean;
374
- set required(value: BooleanInput);
375
- protected _required: boolean | undefined;
376
- /**
377
- * Implemented as part of MatFormFieldControl.
378
- * @docs-private
379
- */
380
- get shouldLabelFloat(): boolean;
381
- /**
382
- * Implemented as part of MatFormFieldControl.
383
- * @docs-private
384
- */
385
- get value(): any;
386
- set value(value: any);
387
- protected _value: any[];
388
- /** An object used to control when error messages are shown. */
389
- errorStateMatcher: ErrorStateMatcher;
390
- /** Combined stream of all of the child chips' blur events. */
391
- get chipBlurChanges(): Observable<MatChipEvent>;
392
- /** Emits when the chip grid value has been changed by the user. */
393
- readonly change: EventEmitter<MatChipGridChange>;
394
- /**
395
- * Emits whenever the raw value of the chip-grid changes. This is here primarily
396
- * to facilitate the two-way binding for the `value` input.
397
- * @docs-private
398
- */
399
- readonly valueChange: EventEmitter<any>;
400
- _chips: QueryList<MatChipRow>;
401
- constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, ngControl: NgControl);
402
- ngAfterContentInit(): void;
403
- ngAfterViewInit(): void;
404
- ngDoCheck(): void;
405
- ngOnDestroy(): void;
406
- /** Associates an HTML input element with this chip grid. */
407
- registerInput(inputElement: MatChipTextControl): void;
408
- /**
409
- * Implemented as part of MatFormFieldControl.
410
- * @docs-private
411
- */
412
- onContainerClick(event: MouseEvent): void;
413
- /**
414
- * Focuses the first chip in this chip grid, or the associated input when there
415
- * are no eligible chips.
416
- */
417
- focus(): void;
418
- /**
419
- * Implemented as part of MatFormFieldControl.
420
- * @docs-private
421
- */
422
- setDescribedByIds(ids: string[]): void;
423
- /**
424
- * Implemented as part of ControlValueAccessor.
425
- * @docs-private
426
- */
427
- writeValue(value: any): void;
428
- /**
429
- * Implemented as part of ControlValueAccessor.
430
- * @docs-private
431
- */
432
- registerOnChange(fn: (value: any) => void): void;
433
- /**
434
- * Implemented as part of ControlValueAccessor.
435
- * @docs-private
436
- */
437
- registerOnTouched(fn: () => void): void;
438
- /**
439
- * Implemented as part of ControlValueAccessor.
440
- * @docs-private
441
- */
442
- setDisabledState(isDisabled: boolean): void;
443
- /** When blurred, mark the field as touched when focus moved outside the chip grid. */
444
- _blur(): void;
445
- /**
446
- * Removes the `tabindex` from the chip grid and resets it back afterwards, allowing the
447
- * user to tab out of it. This prevents the grid from capturing focus and redirecting
448
- * it back to the first chip, creating a focus trap, if it user tries to tab away.
449
- */
450
- protected _allowFocusEscape(): void;
451
- /** Handles custom keyboard events. */
452
- _handleKeydown(event: KeyboardEvent): void;
453
- _focusLastChip(): void;
454
- /** Emits change event to set the model value. */
455
- private _propagateChanges;
456
- /** Mark the field as touched */
457
- private _markAsTouched;
458
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
459
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "tabIndex": "tabIndex"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "value": "value"; "errorStateMatcher": "errorStateMatcher"; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], false>;
460
- }
461
-
462
- /**
463
- * Boilerplate for applying mixins to MatChipGrid.
464
- * @docs-private
465
- */
466
- declare class MatChipGridBase extends MatChipSet {
467
- _defaultErrorStateMatcher: ErrorStateMatcher;
468
- _parentForm: NgForm;
469
- _parentFormGroup: FormGroupDirective;
470
- /**
471
- * Form control bound to the component.
472
- * Implemented as part of `MatFormFieldControl`.
473
- * @docs-private
474
- */
475
- ngControl: NgControl;
476
- /**
477
- * Emits whenever the component state changes and should cause the parent
478
- * form-field to update. Implemented as part of `MatFormFieldControl`.
479
- * @docs-private
480
- */
481
- readonly stateChanges: Subject<void>;
482
- constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, dir: Directionality, _defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective,
483
- /**
484
- * Form control bound to the component.
485
- * Implemented as part of `MatFormFieldControl`.
486
- * @docs-private
487
- */
488
- ngControl: NgControl);
489
- }
490
-
491
- /** Change event object that is emitted when the chip grid value has changed. */
492
- export declare class MatChipGridChange {
493
- /** Chip grid that emitted the event. */
494
- source: MatChipGrid;
495
- /** Value of the chip grid when the event was emitted. */
496
- value: any;
497
- constructor(
498
- /** Chip grid that emitted the event. */
499
- source: MatChipGrid,
500
- /** Value of the chip grid when the event was emitted. */
501
- value: any);
502
- }
503
-
504
- declare const _MatChipGridMixinBase: _Constructor<CanUpdateErrorState> & _AbstractConstructor<CanUpdateErrorState> & typeof MatChipGridBase;
505
-
506
- /**
507
- * Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
508
- * May be placed inside or outside of a `<mat-chip-grid>`.
509
- */
510
- export declare class MatChipInput implements MatChipTextControl, AfterContentInit, OnChanges, OnDestroy {
511
- protected _elementRef: ElementRef<HTMLInputElement>;
512
- private _defaultOptions;
513
- /** Used to prevent focus moving to chips while user is holding backspace */
514
- private _focusLastChipOnBackspace;
515
- /** Value for ariaDescribedby property */
516
- _ariaDescribedby?: string;
517
- /** Whether the control is focused. */
518
- focused: boolean;
519
- _chipGrid: MatChipGrid;
520
- /** Register input for chip list */
521
- set chipGrid(value: MatChipGrid);
522
- /**
523
- * Whether or not the chipEnd event will be emitted when the input is blurred.
524
- */
525
- get addOnBlur(): boolean;
526
- set addOnBlur(value: BooleanInput);
527
- _addOnBlur: boolean;
528
- /**
529
- * The list of key codes that will trigger a chipEnd event.
530
- *
531
- * Defaults to `[ENTER]`.
532
- */
533
- separatorKeyCodes: readonly number[] | ReadonlySet<number>;
534
- /** Emitted when a chip is to be added. */
535
- readonly chipEnd: EventEmitter<MatChipInputEvent>;
536
- /** The input's placeholder text. */
537
- placeholder: string;
538
- /** Unique id for the input. */
539
- id: string;
540
- /** Whether the input is disabled. */
541
- get disabled(): boolean;
542
- set disabled(value: BooleanInput);
543
- private _disabled;
544
- /** Whether the input is empty. */
545
- get empty(): boolean;
546
- /** The native input element to which this directive is attached. */
547
- readonly inputElement: HTMLInputElement;
548
- constructor(_elementRef: ElementRef<HTMLInputElement>, _defaultOptions: MatChipsDefaultOptions, formField?: MatFormField);
549
- ngOnChanges(): void;
550
- ngOnDestroy(): void;
551
- ngAfterContentInit(): void;
552
- /** Utility method to make host definition/tests more clear. */
553
- _keydown(event?: KeyboardEvent): void;
554
- /**
555
- * Pass events to the keyboard manager. Available here for tests.
556
- */
557
- _keyup(event: KeyboardEvent): void;
558
- /** Checks to see if the blur should emit the (chipEnd) event. */
559
- _blur(): void;
560
- _focus(): void;
561
- /** Checks to see if the (chipEnd) event needs to be emitted. */
562
- _emitChipEnd(event?: KeyboardEvent): void;
563
- _onInput(): void;
564
- /** Focuses the input. */
565
- focus(): void;
566
- /** Clears the input */
567
- clear(): void;
568
- setDescribedByIds(ids: string[]): void;
569
- /** Checks whether a keycode is one of the configured separators. */
570
- private _isSeparatorKey;
571
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, [null, null, { optional: true; }]>;
572
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": "matChipInputFor"; "addOnBlur": "matChipInputAddOnBlur"; "separatorKeyCodes": "matChipInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "disabled": "disabled"; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, false>;
573
- }
574
-
575
- /** Represents an input event on a `matChipInput`. */
576
- export declare interface MatChipInputEvent {
577
- /**
578
- * The native `<input>` element that the event is being fired for.
579
- * @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead.
580
- * @breaking-change 13.0.0 This property will be removed.
581
- */
582
- input: HTMLInputElement;
583
- /** The value of the input. */
584
- value: string;
585
- /** Reference to the chip input that emitted the event. */
586
- chipInput: MatChipInput;
587
- }
588
-
589
- /**
590
- * An extension of the MatChipSet component that supports chip selection.
591
- * Used with MatChipOption chips.
592
- */
593
- export declare class MatChipListbox extends MatChipSet implements AfterContentInit, OnDestroy, ControlValueAccessor {
594
- /**
595
- * Function when touched. Set as part of ControlValueAccessor implementation.
596
- * @docs-private
597
- */
598
- _onTouched: () => void;
599
- /**
600
- * Function when changed. Set as part of ControlValueAccessor implementation.
601
- * @docs-private
602
- */
603
- _onChange: (value: any) => void;
604
- protected _defaultRole: string;
605
- /** Whether the user should be allowed to select multiple chips. */
606
- get multiple(): boolean;
607
- set multiple(value: BooleanInput);
608
- private _multiple;
609
- /** The array of selected chips inside the chip listbox. */
610
- get selected(): MatChipOption[] | MatChipOption;
611
- /** Orientation of the chip list. */
612
- ariaOrientation: 'horizontal' | 'vertical';
613
- /**
614
- * Whether or not this chip listbox is selectable.
615
- *
616
- * When a chip listbox is not selectable, the selected states for all
617
- * the chips inside the chip listbox are always ignored.
618
- */
619
- get selectable(): boolean;
620
- set selectable(value: BooleanInput);
621
- protected _selectable: boolean;
622
- /**
623
- * A function to compare the option values with the selected values. The first argument
624
- * is a value from an option. The second is a value from the selection. A boolean
625
- * should be returned.
626
- */
627
- compareWith: (o1: any, o2: any) => boolean;
628
- /** Whether this chip listbox is required. */
629
- get required(): boolean;
630
- set required(value: BooleanInput);
631
- protected _required: boolean;
632
- /** Combined stream of all of the child chips' selection change events. */
633
- get chipSelectionChanges(): Observable<MatChipSelectionChange>;
634
- /** Combined stream of all of the child chips' blur events. */
635
- get chipBlurChanges(): Observable<MatChipEvent>;
636
- /** The value of the listbox, which is the combined value of the selected chips. */
637
- get value(): any;
638
- set value(value: any);
639
- protected _value: any;
640
- /** Event emitted when the selected chip listbox value has been changed by the user. */
641
- readonly change: EventEmitter<MatChipListboxChange>;
642
- _chips: QueryList<MatChipOption>;
643
- ngAfterContentInit(): void;
644
- /**
645
- * Focuses the first selected chip in this chip listbox, or the first non-disabled chip when there
646
- * are no selected chips.
647
- */
648
- focus(): void;
649
- /**
650
- * Implemented as part of ControlValueAccessor.
651
- * @docs-private
652
- */
653
- writeValue(value: any): void;
654
- /**
655
- * Implemented as part of ControlValueAccessor.
656
- * @docs-private
657
- */
658
- registerOnChange(fn: (value: any) => void): void;
659
- /**
660
- * Implemented as part of ControlValueAccessor.
661
- * @docs-private
662
- */
663
- registerOnTouched(fn: () => void): void;
664
- /**
665
- * Implemented as part of ControlValueAccessor.
666
- * @docs-private
667
- */
668
- setDisabledState(isDisabled: boolean): void;
669
- /** Selects all chips with value. */
670
- _setSelectionByValue(value: any, isUserInput?: boolean): void;
671
- /** When blurred, marks the field as touched when focus moved outside the chip listbox. */
672
- _blur(): void;
673
- _keydown(event: KeyboardEvent): void;
674
- /** Marks the field as touched */
675
- private _markAsTouched;
676
- /** Emits change event to set the model value. */
677
- private _propagateChanges;
678
- /**
679
- * Deselects every chip in the listbox.
680
- * @param skip Chip that should not be deselected.
681
- */
682
- private _clearSelection;
683
- /**
684
- * Finds and selects the chip based on its value.
685
- * @returns Chip that has the corresponding value.
686
- */
687
- private _selectValue;
688
- /** Syncs the chip-listbox selection state with the individual chips. */
689
- private _syncListboxProperties;
690
- /** Returns the first selected chip in this listbox, or undefined if no chips are selected. */
691
- private _getFirstSelectedChip;
692
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListbox, never>;
693
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "tabIndex": "tabIndex"; "multiple": "multiple"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "compareWith": "compareWith"; "required": "required"; "value": "value"; }, { "change": "change"; }, ["_chips"], ["*"], false>;
694
- }
695
-
696
- /** Change event object that is emitted when the chip listbox value has changed. */
697
- export declare class MatChipListboxChange {
698
- /** Chip listbox that emitted the event. */
699
- source: MatChipListbox;
700
- /** Value of the chip listbox when the event was emitted. */
701
- value: any;
702
- constructor(
703
- /** Chip listbox that emitted the event. */
704
- source: MatChipListbox,
705
- /** Value of the chip listbox when the event was emitted. */
706
- value: any);
707
- }
708
-
709
- /**
710
- * Boilerplate for applying mixins to MatChip.
711
- * @docs-private
712
- */
713
- declare const _MatChipMixinBase: _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & _Constructor<CanColor> & _AbstractConstructor<CanColor> & _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & _Constructor<CanDisable> & _AbstractConstructor<CanDisable> & {
714
- new (_elementRef: ElementRef<HTMLElement>): {
715
- _elementRef: ElementRef<HTMLElement>;
716
- };
717
- };
718
-
719
- /**
720
- * An extension of the MatChip component that supports chip selection.
721
- * Used with MatChipListbox.
722
- */
723
- export declare class MatChipOption extends MatChip implements OnInit {
724
- /** Whether the chip list is selectable. */
725
- chipListSelectable: boolean;
726
- /** Whether the chip list is in multi-selection mode. */
727
- _chipListMultiple: boolean;
728
- /**
729
- * Whether or not the chip is selectable.
730
- *
731
- * When a chip is not selectable, changes to its selected state are always
732
- * ignored. By default an option chip is selectable, and it becomes
733
- * non-selectable if its parent chip list is not selectable.
734
- */
735
- get selectable(): boolean;
736
- set selectable(value: BooleanInput);
737
- protected _selectable: boolean;
738
- /** Whether the chip is selected. */
739
- get selected(): boolean;
740
- set selected(value: BooleanInput);
741
- private _selected;
742
- /** The ARIA selected applied to the chip. */
743
- get ariaSelected(): string | null;
744
- /** The unstyled chip selector for this component. */
745
- protected basicChipAttrName: string;
746
- /** Emitted when the chip is selected or deselected. */
747
- readonly selectionChange: EventEmitter<MatChipSelectionChange>;
748
- ngOnInit(): void;
749
- /** Selects the chip. */
750
- select(): void;
751
- /** Deselects the chip. */
752
- deselect(): void;
753
- /** Selects this chip and emits userInputSelection event */
754
- selectViaInteraction(): void;
755
- /** Toggles the current selected state of this chip. */
756
- toggleSelected(isUserInput?: boolean): boolean;
757
- _handlePrimaryActionInteraction(): void;
758
- _hasLeadingGraphic(): MatChipAvatar_2;
759
- _setSelectedState(isSelected: boolean, isUserInput: boolean, emitEvent: boolean): void;
760
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipOption, never>;
761
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, mat-chip-option", never, { "color": "color"; "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selectable": "selectable"; "selected": "selected"; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], false>;
762
- }
763
-
764
- /**
765
- * Directive to remove the parent chip when the trailing icon is clicked or
766
- * when the ENTER key is pressed on it.
767
- *
768
- * Recommended for use with the Material Design "cancel" icon
769
- * available at https://material.io/icons/#ic_cancel.
770
- *
771
- * Example:
772
- *
773
- * ```
774
- * <mat-chip>
775
- * <mat-icon matChipRemove>cancel</mat-icon>
776
- * </mat-chip>
777
- * ```
778
- */
779
- export declare class MatChipRemove extends MatChipAction {
780
- _isPrimary: boolean;
781
- _handleClick(event: MouseEvent): void;
782
- _handleKeydown(event: KeyboardEvent): void;
783
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRemove, never>;
784
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never, never, false>;
785
- }
786
-
787
- /**
788
- * An extension of the MatChip component used with MatChipGrid and
789
- * the matChipInputFor directive.
790
- */
791
- export declare class MatChipRow extends MatChip implements AfterViewInit {
792
- protected basicChipAttrName: string;
793
- /**
794
- * The editing action has to be triggered in a timeout. While we're waiting on it, a blur
795
- * event might occur which will interrupt the editing. This flag is used to avoid interruptions
796
- * while the editing action is being initialized.
797
- */
798
- private _editStartPending;
799
- editable: boolean;
800
- /** Emitted when the chip is edited. */
801
- readonly edited: EventEmitter<MatChipEditedEvent>;
802
- /** The default chip edit input that is used if none is projected into this chip row. */
803
- defaultEditInput?: MatChipEditInput;
804
- /** The projected chip edit input. */
805
- contentEditInput?: MatChipEditInput;
806
- _isEditing: boolean;
807
- constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef, ngZone: NgZone, focusMonitor: FocusMonitor, _document: any, animationMode?: string, globalRippleOptions?: RippleGlobalOptions, tabIndex?: string);
808
- _hasTrailingIcon(): boolean;
809
- /** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */
810
- _mousedown(event: MouseEvent): void;
811
- _handleKeydown(event: KeyboardEvent): void;
812
- _doubleclick(event: MouseEvent): void;
813
- private _startEditing;
814
- private _onEditFinish;
815
- /**
816
- * Gets the projected chip edit input, or the default input if none is projected in. One of these
817
- * two values is guaranteed to be defined.
818
- */
819
- private _getEditInput;
820
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, [null, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
821
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, mat-basic-chip-row", never, { "color": "color"; "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "editable": "editable"; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "*", "[matChipEditInput]", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], false>;
822
- }
823
-
824
- /** Default options, for the chips module, that can be overridden. */
825
- export declare interface MatChipsDefaultOptions {
826
- /** The list of key codes that will trigger a chipEnd event. */
827
- separatorKeyCodes: readonly number[] | ReadonlySet<number>;
828
- }
829
-
830
- /** Event object emitted by MatChipOption when selected or deselected. */
831
- export declare class MatChipSelectionChange {
832
- /** Reference to the chip that emitted the event. */
833
- source: MatChipOption;
834
- /** Whether the chip that emitted the event is selected. */
835
- selected: boolean;
836
- /** Whether the selection change was a result of a user interaction. */
837
- isUserInput: boolean;
838
- constructor(
839
- /** Reference to the chip that emitted the event. */
840
- source: MatChipOption,
841
- /** Whether the chip that emitted the event is selected. */
842
- selected: boolean,
843
- /** Whether the selection change was a result of a user interaction. */
844
- isUserInput?: boolean);
845
- }
846
-
847
- /**
848
- * Basic container component for the MatChip component.
849
- *
850
- * Extended by MatChipListbox and MatChipGrid for different interaction patterns.
851
- */
852
- export declare class MatChipSet extends _MatChipSetMixinBase implements AfterViewInit, HasTabIndex, OnDestroy {
853
- protected _elementRef: ElementRef<HTMLElement>;
854
- protected _changeDetectorRef: ChangeDetectorRef;
855
- private _dir;
856
- /** Index of the last destroyed chip that had focus. */
857
- private _lastDestroyedFocusedChipIndex;
858
- /** Used to manage focus within the chip list. */
859
- protected _keyManager: FocusKeyManager<MatChipAction>;
860
- /** Subject that emits when the component has been destroyed. */
861
- protected _destroyed: Subject<void>;
862
- /** Role to use if it hasn't been overwritten by the user. */
863
- protected _defaultRole: string;
864
- /** Combined stream of all of the child chips' focus events. */
865
- get chipFocusChanges(): Observable<MatChipEvent>;
866
- /** Combined stream of all of the child chips' remove events. */
867
- get chipDestroyedChanges(): Observable<MatChipEvent>;
868
- /** Whether the chip set is disabled. */
869
- get disabled(): boolean;
870
- set disabled(value: BooleanInput);
871
- protected _disabled: boolean;
872
- /** Whether the chip list contains chips or not. */
873
- get empty(): boolean;
874
- /** The ARIA role applied to the chip set. */
875
- get role(): string | null;
876
- set role(value: string | null);
877
- private _explicitRole;
878
- /** Whether any of the chips inside of this chip-set has focus. */
879
- get focused(): boolean;
880
- /** The chips that are part of this chip set. */
881
- _chips: QueryList<MatChip>;
882
- /** Flat list of all the actions contained within the chips. */
883
- _chipActions: QueryList<MatChipAction>;
884
- constructor(_elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality);
885
- ngAfterViewInit(): void;
886
- ngOnDestroy(): void;
887
- /** Checks whether any of the chips is focused. */
888
- protected _hasFocusedChip(): boolean;
889
- /** Syncs the chip-set's state with the individual chips. */
890
- protected _syncChipsState(): void;
891
- /** Dummy method for subclasses to override. Base chip set cannot be focused. */
892
- focus(): void;
893
- /** Handles keyboard events on the chip set. */
894
- _handleKeydown(event: KeyboardEvent): void;
895
- /**
896
- * Utility to ensure all indexes are valid.
897
- *
898
- * @param index The index to be checked.
899
- * @returns True if the index is valid for our list of chips.
900
- */
901
- protected _isValidIndex(index: number): boolean;
902
- /**
903
- * Removes the `tabindex` from the chip grid and resets it back afterwards, allowing the
904
- * user to tab out of it. This prevents the grid from capturing focus and redirecting
905
- * it back to the first chip, creating a focus trap, if it user tries to tab away.
906
- */
907
- protected _allowFocusEscape(): void;
908
- /**
909
- * Gets a stream of events from all the chips within the set.
910
- * The stream will automatically incorporate any newly-added chips.
911
- */
912
- protected _getChipStream<T, C extends MatChip = MatChip>(mappingFunction: (chip: C) => Observable<T>): Observable<T>;
913
- /** Checks whether an event comes from inside a chip element. */
914
- protected _originatesFromChip(event: Event): boolean;
915
- /** Sets up the chip set's focus management logic. */
916
- private _setUpFocusManagement;
917
- /** Listens to changes in the chip set and syncs up the state of the individual chips. */
918
- private _trackChipSetChanges;
919
- /** Starts tracking the destroyed chips in order to capture the focused one. */
920
- private _trackDestroyedFocusedChip;
921
- /**
922
- * Finds the next appropriate chip to move focus to,
923
- * if the currently-focused chip is destroyed.
924
- */
925
- private _redirectDestroyedChipFocus;
926
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, [null, null, { optional: true; }]>;
927
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": "disabled"; "role": "role"; }, {}, ["_chips"], ["*"], false>;
928
- }
929
-
930
- /**
931
- * Boilerplate for applying mixins to MatChipSet.
932
- * @docs-private
933
- */
934
- declare abstract class MatChipSetBase {
935
- abstract disabled: boolean;
936
- constructor(_elementRef: ElementRef);
937
- }
938
-
939
- declare const _MatChipSetMixinBase: _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & typeof MatChipSetBase;
940
-
941
- export declare class MatChipsModule {
942
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsModule, never>;
943
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, [typeof i1.MatChipAction, typeof i2.MatChip, typeof i3.MatChipAvatar, typeof i4.MatChipEditInput, typeof i5.MatChipGrid, typeof i6.MatChipInput, typeof i7.MatChipListbox, typeof i8.MatChipOption, typeof i3.MatChipRemove, typeof i9.MatChipRow, typeof i10.MatChipSet, typeof i3.MatChipTrailingIcon], [typeof i11.MatCommonModule, typeof i12.CommonModule, typeof i11.MatRippleModule], [typeof i11.MatCommonModule, typeof i2.MatChip, typeof i3.MatChipAvatar, typeof i4.MatChipEditInput, typeof i5.MatChipGrid, typeof i6.MatChipInput, typeof i7.MatChipListbox, typeof i8.MatChipOption, typeof i3.MatChipRemove, typeof i9.MatChipRow, typeof i10.MatChipSet, typeof i3.MatChipTrailingIcon]>;
944
- static ɵinj: i0.ɵɵInjectorDeclaration<MatChipsModule>;
945
- }
946
-
947
-
948
- /** Interface for a text control that is used to drive interaction with a mat-chip-list. */
949
- export declare interface MatChipTextControl {
950
- /** Unique identifier for the text control. */
951
- id: string;
952
- /** The text control's placeholder text. */
953
- placeholder: string;
954
- /** Whether the text control has browser focus. */
955
- focused: boolean;
956
- /** Whether the text control is empty. */
957
- empty: boolean;
958
- /** Focuses the text control. */
959
- focus(): void;
960
- /** Sets the list of ids the input is described by. */
961
- setDescribedByIds(ids: string[]): void;
962
- }
963
-
964
- /**
965
- * Directive to add CSS classes to and configure attributes for chip trailing icon.
966
- * @docs-private
967
- */
968
- export declare class MatChipTrailingIcon extends MatChipAction {
969
- /**
970
- * MDC considers all trailing actions as a remove icon,
971
- * but we support non-interactive trailing icons.
972
- */
973
- isInteractive: boolean;
974
- _isPrimary: boolean;
975
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
976
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never, false>;
977
- }
978
-
979
- export { }