@angular/material-experimental 14.2.2 → 15.0.0-next.1

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 (624) hide show
  1. package/_index.scss +0 -69
  2. package/column-resize/index.d.ts +7 -7
  3. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  7. package/esm2020/column-resize/column-resize-module.mjs +13 -13
  8. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  9. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  10. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  11. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  12. package/esm2020/menubar/menubar-item.mjs +4 -4
  13. package/esm2020/menubar/menubar-module.mjs +5 -5
  14. package/esm2020/menubar/menubar.mjs +4 -4
  15. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  16. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  17. package/esm2020/popover-edit/table-directives.mjs +13 -13
  18. package/esm2020/selection/row-selection.mjs +4 -4
  19. package/esm2020/selection/select-all.mjs +4 -4
  20. package/esm2020/selection/selection-column.mjs +12 -12
  21. package/esm2020/selection/selection-module.mjs +8 -8
  22. package/esm2020/selection/selection-toggle.mjs +4 -4
  23. package/esm2020/selection/selection.mjs +4 -4
  24. package/esm2020/version.mjs +1 -1
  25. package/fesm2015/column-resize.mjs +36 -36
  26. package/fesm2015/column-resize.mjs.map +1 -1
  27. package/fesm2015/material-experimental.mjs +1 -1
  28. package/fesm2015/material-experimental.mjs.map +1 -1
  29. package/fesm2015/menubar.mjs +10 -10
  30. package/fesm2015/menubar.mjs.map +1 -1
  31. package/fesm2015/popover-edit.mjs +25 -25
  32. package/fesm2015/popover-edit.mjs.map +1 -1
  33. package/fesm2015/selection.mjs +29 -29
  34. package/fesm2015/selection.mjs.map +1 -1
  35. package/fesm2020/column-resize.mjs +36 -36
  36. package/fesm2020/column-resize.mjs.map +1 -1
  37. package/fesm2020/material-experimental.mjs +1 -1
  38. package/fesm2020/material-experimental.mjs.map +1 -1
  39. package/fesm2020/menubar.mjs +10 -10
  40. package/fesm2020/menubar.mjs.map +1 -1
  41. package/fesm2020/popover-edit.mjs +25 -25
  42. package/fesm2020/popover-edit.mjs.map +1 -1
  43. package/fesm2020/selection.mjs +29 -29
  44. package/fesm2020/selection.mjs.map +1 -1
  45. package/menubar/index.d.ts +2 -2
  46. package/package.json +55 -422
  47. package/popover-edit/index.d.ts +7 -7
  48. package/selection/index.d.ts +9 -9
  49. package/esm2020/mdc-autocomplete/animations.mjs +0 -25
  50. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
  51. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
  52. package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
  53. package/esm2020/mdc-autocomplete/index.mjs +0 -9
  54. package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
  55. package/esm2020/mdc-autocomplete/module.mjs +0 -46
  56. package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
  57. package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  58. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
  59. package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
  60. package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
  61. package/esm2020/mdc-button/button-base.mjs +0 -152
  62. package/esm2020/mdc-button/button.mjs +0 -69
  63. package/esm2020/mdc-button/fab.mjs +0 -175
  64. package/esm2020/mdc-button/icon-button.mjs +0 -57
  65. package/esm2020/mdc-button/index.mjs +0 -9
  66. package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
  67. package/esm2020/mdc-button/module.mjs +0 -61
  68. package/esm2020/mdc-button/public-api.mjs +0 -12
  69. package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
  70. package/esm2020/mdc-button/testing/index.mjs +0 -9
  71. package/esm2020/mdc-button/testing/public-api.mjs +0 -9
  72. package/esm2020/mdc-card/card.mjs +0 -261
  73. package/esm2020/mdc-card/index.mjs +0 -9
  74. package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
  75. package/esm2020/mdc-card/module.mjs +0 -68
  76. package/esm2020/mdc-card/public-api.mjs +0 -10
  77. package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
  78. package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
  79. package/esm2020/mdc-card/testing/index.mjs +0 -9
  80. package/esm2020/mdc-card/testing/public-api.mjs +0 -10
  81. package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
  82. package/esm2020/mdc-checkbox/index.mjs +0 -9
  83. package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
  84. package/esm2020/mdc-checkbox/module.mjs +0 -26
  85. package/esm2020/mdc-checkbox/public-api.mjs +0 -11
  86. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
  87. package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
  88. package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
  89. package/esm2020/mdc-chips/chip-action.mjs +0 -90
  90. package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
  91. package/esm2020/mdc-chips/chip-grid.mjs +0 -407
  92. package/esm2020/mdc-chips/chip-icons.mjs +0 -110
  93. package/esm2020/mdc-chips/chip-input.mjs +0 -212
  94. package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
  95. package/esm2020/mdc-chips/chip-option.mjs +0 -160
  96. package/esm2020/mdc-chips/chip-row.mjs +0 -176
  97. package/esm2020/mdc-chips/chip-set.mjs +0 -271
  98. package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
  99. package/esm2020/mdc-chips/chip.mjs +0 -287
  100. package/esm2020/mdc-chips/index.mjs +0 -9
  101. package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
  102. package/esm2020/mdc-chips/module.mjs +0 -87
  103. package/esm2020/mdc-chips/public-api.mjs +0 -20
  104. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
  105. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
  106. package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
  107. package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
  108. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
  109. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
  110. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
  111. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
  112. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
  113. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
  114. package/esm2020/mdc-chips/testing/index.mjs +0 -9
  115. package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
  116. package/esm2020/mdc-chips/tokens.mjs +0 -33
  117. package/esm2020/mdc-core/index.mjs +0 -9
  118. package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
  119. package/esm2020/mdc-core/option/index.mjs +0 -30
  120. package/esm2020/mdc-core/option/optgroup.mjs +0 -46
  121. package/esm2020/mdc-core/option/option.mjs +0 -52
  122. package/esm2020/mdc-core/public-api.mjs +0 -10
  123. package/esm2020/mdc-core/testing/index.mjs +0 -9
  124. package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
  125. package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
  126. package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
  127. package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
  128. package/esm2020/mdc-core/testing/public-api.mjs +0 -12
  129. package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
  130. package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
  131. package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
  132. package/esm2020/mdc-dialog/dialog.mjs +0 -82
  133. package/esm2020/mdc-dialog/index.mjs +0 -9
  134. package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
  135. package/esm2020/mdc-dialog/module.mjs +0 -53
  136. package/esm2020/mdc-dialog/public-api.mjs +0 -14
  137. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
  138. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
  139. package/esm2020/mdc-dialog/testing/index.mjs +0 -9
  140. package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
  141. package/esm2020/mdc-form-field/directives/error.mjs +0 -47
  142. package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
  143. package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
  144. package/esm2020/mdc-form-field/directives/label.mjs +0 -21
  145. package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
  146. package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
  147. package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
  148. package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
  149. package/esm2020/mdc-form-field/form-field.mjs +0 -608
  150. package/esm2020/mdc-form-field/index.mjs +0 -9
  151. package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
  152. package/esm2020/mdc-form-field/module.mjs +0 -53
  153. package/esm2020/mdc-form-field/public-api.mjs +0 -16
  154. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
  155. package/esm2020/mdc-form-field/testing/index.mjs +0 -9
  156. package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
  157. package/esm2020/mdc-input/index.mjs +0 -9
  158. package/esm2020/mdc-input/input.mjs +0 -55
  159. package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
  160. package/esm2020/mdc-input/module.mjs +0 -27
  161. package/esm2020/mdc-input/public-api.mjs +0 -11
  162. package/esm2020/mdc-input/testing/index.mjs +0 -9
  163. package/esm2020/mdc-input/testing/public-api.mjs +0 -9
  164. package/esm2020/mdc-list/action-list.mjs +0 -31
  165. package/esm2020/mdc-list/index.mjs +0 -9
  166. package/esm2020/mdc-list/list-base.mjs +0 -272
  167. package/esm2020/mdc-list/list-item-sections.mjs +0 -138
  168. package/esm2020/mdc-list/list-option-types.mjs +0 -16
  169. package/esm2020/mdc-list/list-option.mjs +0 -253
  170. package/esm2020/mdc-list/list.mjs +0 -82
  171. package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
  172. package/esm2020/mdc-list/module.mjs +0 -98
  173. package/esm2020/mdc-list/nav-list.mjs +0 -31
  174. package/esm2020/mdc-list/public-api.mjs +0 -18
  175. package/esm2020/mdc-list/selection-list.mjs +0 -338
  176. package/esm2020/mdc-list/subheader.mjs +0 -27
  177. package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
  178. package/esm2020/mdc-list/testing/index.mjs +0 -9
  179. package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
  180. package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
  181. package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
  182. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
  183. package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
  184. package/esm2020/mdc-list/testing/public-api.mjs +0 -14
  185. package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
  186. package/esm2020/mdc-menu/directives.mjs +0 -38
  187. package/esm2020/mdc-menu/index.mjs +0 -9
  188. package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
  189. package/esm2020/mdc-menu/menu-item.mjs +0 -36
  190. package/esm2020/mdc-menu/menu.mjs +0 -43
  191. package/esm2020/mdc-menu/module.mjs +0 -44
  192. package/esm2020/mdc-menu/public-api.mjs +0 -13
  193. package/esm2020/mdc-menu/testing/index.mjs +0 -9
  194. package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
  195. package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
  196. package/esm2020/mdc-paginator/index.mjs +0 -9
  197. package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
  198. package/esm2020/mdc-paginator/module.mjs +0 -30
  199. package/esm2020/mdc-paginator/paginator.mjs +0 -48
  200. package/esm2020/mdc-paginator/public-api.mjs +0 -11
  201. package/esm2020/mdc-paginator/testing/index.mjs +0 -9
  202. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
  203. package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
  204. package/esm2020/mdc-progress-bar/index.mjs +0 -9
  205. package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
  206. package/esm2020/mdc-progress-bar/module.mjs +0 -24
  207. package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
  208. package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
  209. package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
  210. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
  211. package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
  212. package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
  213. package/esm2020/mdc-progress-spinner/index.mjs +0 -9
  214. package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
  215. package/esm2020/mdc-progress-spinner/module.mjs +0 -26
  216. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
  217. package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
  218. package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
  219. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  220. package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
  221. package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
  222. package/esm2020/mdc-radio/index.mjs +0 -9
  223. package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
  224. package/esm2020/mdc-radio/module.mjs +0 -26
  225. package/esm2020/mdc-radio/public-api.mjs +0 -11
  226. package/esm2020/mdc-radio/radio.mjs +0 -111
  227. package/esm2020/mdc-radio/testing/index.mjs +0 -9
  228. package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
  229. package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
  230. package/esm2020/mdc-select/index.mjs +0 -9
  231. package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
  232. package/esm2020/mdc-select/module.mjs +0 -46
  233. package/esm2020/mdc-select/public-api.mjs +0 -12
  234. package/esm2020/mdc-select/select-animations.mjs +0 -38
  235. package/esm2020/mdc-select/select-errors.mjs +0 -35
  236. package/esm2020/mdc-select/select.mjs +0 -172
  237. package/esm2020/mdc-select/testing/index.mjs +0 -9
  238. package/esm2020/mdc-select/testing/public-api.mjs +0 -10
  239. package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
  240. package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
  241. package/esm2020/mdc-slide-toggle/index.mjs +0 -9
  242. package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
  243. package/esm2020/mdc-slide-toggle/module.mjs +0 -27
  244. package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
  245. package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
  246. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
  247. package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
  248. package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
  249. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
  250. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
  251. package/esm2020/mdc-slider/index.mjs +0 -9
  252. package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
  253. package/esm2020/mdc-slider/module.mjs +0 -26
  254. package/esm2020/mdc-slider/public-api.mjs +0 -10
  255. package/esm2020/mdc-slider/slider.mjs +0 -1094
  256. package/esm2020/mdc-slider/testing/index.mjs +0 -9
  257. package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
  258. package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
  259. package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
  260. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
  261. package/esm2020/mdc-snack-bar/index.mjs +0 -9
  262. package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
  263. package/esm2020/mdc-snack-bar/module.mjs +0 -51
  264. package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
  265. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
  266. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
  267. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
  268. package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
  269. package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
  270. package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
  271. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
  272. package/esm2020/mdc-table/cell.mjs +0 -141
  273. package/esm2020/mdc-table/index.mjs +0 -9
  274. package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
  275. package/esm2020/mdc-table/module.mjs +0 -94
  276. package/esm2020/mdc-table/public-api.mjs +0 -14
  277. package/esm2020/mdc-table/row.mjs +0 -143
  278. package/esm2020/mdc-table/table-data-source.mjs +0 -24
  279. package/esm2020/mdc-table/table.mjs +0 -74
  280. package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
  281. package/esm2020/mdc-table/testing/index.mjs +0 -9
  282. package/esm2020/mdc-table/testing/public-api.mjs +0 -11
  283. package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
  284. package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
  285. package/esm2020/mdc-table/text-column.mjs +0 -58
  286. package/esm2020/mdc-tabs/index.mjs +0 -9
  287. package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
  288. package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
  289. package/esm2020/mdc-tabs/module.mjs +0 -93
  290. package/esm2020/mdc-tabs/public-api.mjs +0 -19
  291. package/esm2020/mdc-tabs/tab-body.mjs +0 -60
  292. package/esm2020/mdc-tabs/tab-content.mjs +0 -20
  293. package/esm2020/mdc-tabs/tab-group.mjs +0 -98
  294. package/esm2020/mdc-tabs/tab-header.mjs +0 -73
  295. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
  296. package/esm2020/mdc-tabs/tab-label.mjs +0 -22
  297. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
  298. package/esm2020/mdc-tabs/tab.mjs +0 -34
  299. package/esm2020/mdc-tabs/testing/index.mjs +0 -9
  300. package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
  301. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
  302. package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
  303. package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
  304. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
  305. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
  306. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
  307. package/esm2020/mdc-tooltip/index.mjs +0 -9
  308. package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
  309. package/esm2020/mdc-tooltip/module.mjs +0 -31
  310. package/esm2020/mdc-tooltip/public-api.mjs +0 -12
  311. package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
  312. package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
  313. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
  314. package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
  315. package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
  316. package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
  317. package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
  318. package/fesm2015/mdc-autocomplete.mjs +0 -196
  319. package/fesm2015/mdc-autocomplete.mjs.map +0 -1
  320. package/fesm2015/mdc-button/testing.mjs +0 -75
  321. package/fesm2015/mdc-button/testing.mjs.map +0 -1
  322. package/fesm2015/mdc-button.mjs +0 -490
  323. package/fesm2015/mdc-button.mjs.map +0 -1
  324. package/fesm2015/mdc-card/testing.mjs +0 -63
  325. package/fesm2015/mdc-card/testing.mjs.map +0 -1
  326. package/fesm2015/mdc-card.mjs +0 -351
  327. package/fesm2015/mdc-card.mjs.map +0 -1
  328. package/fesm2015/mdc-checkbox/testing.mjs +0 -56
  329. package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
  330. package/fesm2015/mdc-checkbox.mjs +0 -142
  331. package/fesm2015/mdc-checkbox.mjs.map +0 -1
  332. package/fesm2015/mdc-chips/testing.mjs +0 -394
  333. package/fesm2015/mdc-chips/testing.mjs.map +0 -1
  334. package/fesm2015/mdc-chips.mjs +0 -2169
  335. package/fesm2015/mdc-chips.mjs.map +0 -1
  336. package/fesm2015/mdc-core/testing.mjs +0 -118
  337. package/fesm2015/mdc-core/testing.mjs.map +0 -1
  338. package/fesm2015/mdc-core.mjs +0 -141
  339. package/fesm2015/mdc-core.mjs.map +0 -1
  340. package/fesm2015/mdc-dialog/testing.mjs +0 -90
  341. package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
  342. package/fesm2015/mdc-dialog.mjs +0 -500
  343. package/fesm2015/mdc-dialog.mjs.map +0 -1
  344. package/fesm2015/mdc-form-field/testing.mjs +0 -78
  345. package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
  346. package/fesm2015/mdc-form-field.mjs +0 -1018
  347. package/fesm2015/mdc-form-field.mjs.map +0 -1
  348. package/fesm2015/mdc-input/testing.mjs +0 -18
  349. package/fesm2015/mdc-input/testing.mjs.map +0 -1
  350. package/fesm2015/mdc-input.mjs +0 -103
  351. package/fesm2015/mdc-input.mjs.map +0 -1
  352. package/fesm2015/mdc-list/testing.mjs +0 -574
  353. package/fesm2015/mdc-list/testing.mjs.map +0 -1
  354. package/fesm2015/mdc-list.mjs +0 -1264
  355. package/fesm2015/mdc-list.mjs.map +0 -1
  356. package/fesm2015/mdc-menu/testing.mjs +0 -59
  357. package/fesm2015/mdc-menu/testing.mjs.map +0 -1
  358. package/fesm2015/mdc-menu.mjs +0 -174
  359. package/fesm2015/mdc-menu.mjs.map +0 -1
  360. package/fesm2015/mdc-paginator/testing.mjs +0 -55
  361. package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
  362. package/fesm2015/mdc-paginator.mjs +0 -100
  363. package/fesm2015/mdc-paginator.mjs.map +0 -1
  364. package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
  365. package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
  366. package/fesm2015/mdc-progress-bar.mjs +0 -198
  367. package/fesm2015/mdc-progress-bar.mjs.map +0 -1
  368. package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
  369. package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
  370. package/fesm2015/mdc-progress-spinner.mjs +0 -200
  371. package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
  372. package/fesm2015/mdc-radio/testing.mjs +0 -63
  373. package/fesm2015/mdc-radio/testing.mjs.map +0 -1
  374. package/fesm2015/mdc-radio.mjs +0 -155
  375. package/fesm2015/mdc-radio.mjs.map +0 -1
  376. package/fesm2015/mdc-select/testing.mjs +0 -48
  377. package/fesm2015/mdc-select/testing.mjs.map +0 -1
  378. package/fesm2015/mdc-select.mjs +0 -273
  379. package/fesm2015/mdc-select.mjs.map +0 -1
  380. package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
  381. package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
  382. package/fesm2015/mdc-slide-toggle.mjs +0 -159
  383. package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
  384. package/fesm2015/mdc-slider/testing.mjs +0 -199
  385. package/fesm2015/mdc-slider/testing.mjs.map +0 -1
  386. package/fesm2015/mdc-slider.mjs +0 -1212
  387. package/fesm2015/mdc-slider.mjs.map +0 -1
  388. package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
  389. package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
  390. package/fesm2015/mdc-snack-bar.mjs +0 -229
  391. package/fesm2015/mdc-snack-bar.mjs.map +0 -1
  392. package/fesm2015/mdc-table/testing.mjs +0 -158
  393. package/fesm2015/mdc-table/testing.mjs.map +0 -1
  394. package/fesm2015/mdc-table.mjs +0 -540
  395. package/fesm2015/mdc-table.mjs.map +0 -1
  396. package/fesm2015/mdc-tabs/testing.mjs +0 -273
  397. package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
  398. package/fesm2015/mdc-tabs.mjs +0 -737
  399. package/fesm2015/mdc-tabs.mjs.map +0 -1
  400. package/fesm2015/mdc-tooltip/testing.mjs +0 -49
  401. package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
  402. package/fesm2015/mdc-tooltip.mjs +0 -206
  403. package/fesm2015/mdc-tooltip.mjs.map +0 -1
  404. package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
  405. package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
  406. package/fesm2020/mdc-autocomplete.mjs +0 -196
  407. package/fesm2020/mdc-autocomplete.mjs.map +0 -1
  408. package/fesm2020/mdc-button/testing.mjs +0 -69
  409. package/fesm2020/mdc-button/testing.mjs.map +0 -1
  410. package/fesm2020/mdc-button.mjs +0 -510
  411. package/fesm2020/mdc-button.mjs.map +0 -1
  412. package/fesm2020/mdc-card/testing.mjs +0 -69
  413. package/fesm2020/mdc-card/testing.mjs.map +0 -1
  414. package/fesm2020/mdc-card.mjs +0 -349
  415. package/fesm2020/mdc-card.mjs.map +0 -1
  416. package/fesm2020/mdc-checkbox/testing.mjs +0 -60
  417. package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
  418. package/fesm2020/mdc-checkbox.mjs +0 -139
  419. package/fesm2020/mdc-checkbox.mjs.map +0 -1
  420. package/fesm2020/mdc-chips/testing.mjs +0 -395
  421. package/fesm2020/mdc-chips/testing.mjs.map +0 -1
  422. package/fesm2020/mdc-chips.mjs +0 -2161
  423. package/fesm2020/mdc-chips.mjs.map +0 -1
  424. package/fesm2020/mdc-core/testing.mjs +0 -129
  425. package/fesm2020/mdc-core/testing.mjs.map +0 -1
  426. package/fesm2020/mdc-core.mjs +0 -139
  427. package/fesm2020/mdc-core.mjs.map +0 -1
  428. package/fesm2020/mdc-dialog/testing.mjs +0 -90
  429. package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
  430. package/fesm2020/mdc-dialog.mjs +0 -499
  431. package/fesm2020/mdc-dialog.mjs.map +0 -1
  432. package/fesm2020/mdc-form-field/testing.mjs +0 -78
  433. package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
  434. package/fesm2020/mdc-form-field.mjs +0 -1014
  435. package/fesm2020/mdc-form-field.mjs.map +0 -1
  436. package/fesm2020/mdc-input/testing.mjs +0 -18
  437. package/fesm2020/mdc-input/testing.mjs.map +0 -1
  438. package/fesm2020/mdc-input.mjs +0 -103
  439. package/fesm2020/mdc-input.mjs.map +0 -1
  440. package/fesm2020/mdc-list/testing.mjs +0 -544
  441. package/fesm2020/mdc-list/testing.mjs.map +0 -1
  442. package/fesm2020/mdc-list.mjs +0 -1260
  443. package/fesm2020/mdc-list.mjs.map +0 -1
  444. package/fesm2020/mdc-menu/testing.mjs +0 -65
  445. package/fesm2020/mdc-menu/testing.mjs.map +0 -1
  446. package/fesm2020/mdc-menu.mjs +0 -172
  447. package/fesm2020/mdc-menu.mjs.map +0 -1
  448. package/fesm2020/mdc-paginator/testing.mjs +0 -55
  449. package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
  450. package/fesm2020/mdc-paginator.mjs +0 -98
  451. package/fesm2020/mdc-paginator.mjs.map +0 -1
  452. package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
  453. package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
  454. package/fesm2020/mdc-progress-bar.mjs +0 -196
  455. package/fesm2020/mdc-progress-bar.mjs.map +0 -1
  456. package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
  457. package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
  458. package/fesm2020/mdc-progress-spinner.mjs +0 -197
  459. package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
  460. package/fesm2020/mdc-radio/testing.mjs +0 -69
  461. package/fesm2020/mdc-radio/testing.mjs.map +0 -1
  462. package/fesm2020/mdc-radio.mjs +0 -153
  463. package/fesm2020/mdc-radio.mjs.map +0 -1
  464. package/fesm2020/mdc-select/testing.mjs +0 -56
  465. package/fesm2020/mdc-select/testing.mjs.map +0 -1
  466. package/fesm2020/mdc-select.mjs +0 -273
  467. package/fesm2020/mdc-select.mjs.map +0 -1
  468. package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
  469. package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
  470. package/fesm2020/mdc-slide-toggle.mjs +0 -157
  471. package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
  472. package/fesm2020/mdc-slider/testing.mjs +0 -172
  473. package/fesm2020/mdc-slider/testing.mjs.map +0 -1
  474. package/fesm2020/mdc-slider.mjs +0 -1191
  475. package/fesm2020/mdc-slider.mjs.map +0 -1
  476. package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
  477. package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
  478. package/fesm2020/mdc-snack-bar.mjs +0 -232
  479. package/fesm2020/mdc-snack-bar.mjs.map +0 -1
  480. package/fesm2020/mdc-table/testing.mjs +0 -158
  481. package/fesm2020/mdc-table/testing.mjs.map +0 -1
  482. package/fesm2020/mdc-table.mjs +0 -539
  483. package/fesm2020/mdc-table.mjs.map +0 -1
  484. package/fesm2020/mdc-tabs/testing.mjs +0 -265
  485. package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
  486. package/fesm2020/mdc-tabs.mjs +0 -723
  487. package/fesm2020/mdc-tabs.mjs.map +0 -1
  488. package/fesm2020/mdc-tooltip/testing.mjs +0 -49
  489. package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
  490. package/fesm2020/mdc-tooltip.mjs +0 -202
  491. package/fesm2020/mdc-tooltip.mjs.map +0 -1
  492. package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
  493. package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
  494. package/mdc-autocomplete/index.d.ts +0 -97
  495. package/mdc-autocomplete/testing/index.d.ts +0 -32
  496. package/mdc-button/_button-base.import.scss +0 -4
  497. package/mdc-button/_button-base.scss +0 -95
  498. package/mdc-button/_button-theme-private.scss +0 -62
  499. package/mdc-button/_button-theme.import.scss +0 -16
  500. package/mdc-button/_button-theme.scss +0 -224
  501. package/mdc-button/_fab-theme.scss +0 -90
  502. package/mdc-button/_icon-button-theme.scss +0 -76
  503. package/mdc-button/index.d.ts +0 -216
  504. package/mdc-button/testing/index.d.ts +0 -41
  505. package/mdc-card/_card-theme.import.scss +0 -7
  506. package/mdc-card/_card-theme.scss +0 -74
  507. package/mdc-card/index.d.ts +0 -194
  508. package/mdc-card/testing/index.d.ts +0 -44
  509. package/mdc-checkbox/_checkbox-private.scss +0 -53
  510. package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
  511. package/mdc-checkbox/_checkbox-theme.scss +0 -122
  512. package/mdc-checkbox/index.d.ts +0 -87
  513. package/mdc-checkbox/testing/index.d.ts +0 -28
  514. package/mdc-chips/_chips-theme.import.scss +0 -8
  515. package/mdc-chips/_chips-theme.scss +0 -117
  516. package/mdc-chips/index.d.ts +0 -979
  517. package/mdc-chips/testing/index.d.ts +0 -232
  518. package/mdc-core/_core-theme.import.scss +0 -10
  519. package/mdc-core/_core-theme.scss +0 -78
  520. package/mdc-core/_elevation.scss +0 -38
  521. package/mdc-core/color/_all-color.scss +0 -25
  522. package/mdc-core/density/_all-density.scss +0 -25
  523. package/mdc-core/index.d.ts +0 -206
  524. package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
  525. package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
  526. package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
  527. package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
  528. package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
  529. package/mdc-core/option/_optgroup-theme.import.scss +0 -7
  530. package/mdc-core/option/_optgroup-theme.scss +0 -44
  531. package/mdc-core/option/_option-theme.import.scss +0 -7
  532. package/mdc-core/option/_option-theme.scss +0 -87
  533. package/mdc-core/testing/index.d.ts +0 -64
  534. package/mdc-core/theming/_all-theme.scss +0 -61
  535. package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
  536. package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
  537. package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
  538. package/mdc-core/theming/prebuilt/purple-green.css +0 -1
  539. package/mdc-core/typography/_all-typography.scss +0 -99
  540. package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
  541. package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
  542. package/mdc-dialog/_dialog-theme.import.scss +0 -5
  543. package/mdc-dialog/_dialog-theme.scss +0 -78
  544. package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  545. package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
  546. package/mdc-dialog/index.d.ts +0 -217
  547. package/mdc-dialog/testing/index.d.ts +0 -47
  548. package/mdc-form-field/_form-field-density.scss +0 -119
  549. package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
  550. package/mdc-form-field/_form-field-high-contrast.scss +0 -39
  551. package/mdc-form-field/_form-field-native-select.scss +0 -133
  552. package/mdc-form-field/_form-field-sizing.scss +0 -40
  553. package/mdc-form-field/_form-field-subscript.scss +0 -83
  554. package/mdc-form-field/_form-field-theme.scss +0 -148
  555. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
  556. package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  557. package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
  558. package/mdc-form-field/index.d.ts +0 -431
  559. package/mdc-form-field/testing/index.d.ts +0 -48
  560. package/mdc-input/_input-theme.import.scss +0 -5
  561. package/mdc-input/_input-theme.scss +0 -35
  562. package/mdc-input/index.d.ts +0 -30
  563. package/mdc-input/testing/index.d.ts +0 -20
  564. package/mdc-list/_interactive-list-theme.import.scss +0 -5
  565. package/mdc-list/_interactive-list-theme.scss +0 -40
  566. package/mdc-list/_list-option-theme.import.scss +0 -13
  567. package/mdc-list/_list-option-theme.scss +0 -28
  568. package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
  569. package/mdc-list/_list-theme.import.scss +0 -17
  570. package/mdc-list/_list-theme.scss +0 -81
  571. package/mdc-list/index.d.ts +0 -534
  572. package/mdc-list/testing/index.d.ts +0 -372
  573. package/mdc-menu/_menu-theme.import.scss +0 -5
  574. package/mdc-menu/_menu-theme.scss +0 -88
  575. package/mdc-menu/index.d.ts +0 -110
  576. package/mdc-menu/testing/index.d.ts +0 -38
  577. package/mdc-paginator/_paginator-theme.import.scss +0 -9
  578. package/mdc-paginator/_paginator-theme.scss +0 -106
  579. package/mdc-paginator/_paginator-variables.import.scss +0 -1
  580. package/mdc-paginator/_paginator-variables.scss +0 -13
  581. package/mdc-paginator/index.d.ts +0 -72
  582. package/mdc-paginator/testing/index.d.ts +0 -30
  583. package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
  584. package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
  585. package/mdc-progress-bar/index.d.ts +0 -98
  586. package/mdc-progress-bar/testing/index.d.ts +0 -24
  587. package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
  588. package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
  589. package/mdc-progress-spinner/index.d.ts +0 -90
  590. package/mdc-progress-spinner/testing/index.d.ts +0 -26
  591. package/mdc-radio/_radio-theme.import.scss +0 -7
  592. package/mdc-radio/_radio-theme.scss +0 -110
  593. package/mdc-radio/index.d.ts +0 -72
  594. package/mdc-radio/testing/index.d.ts +0 -43
  595. package/mdc-select/_select-theme.import.scss +0 -10
  596. package/mdc-select/_select-theme.scss +0 -100
  597. package/mdc-select/index.d.ts +0 -111
  598. package/mdc-select/testing/index.d.ts +0 -28
  599. package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  600. package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
  601. package/mdc-slide-toggle/index.d.ts +0 -83
  602. package/mdc-slide-toggle/testing/index.d.ts +0 -27
  603. package/mdc-slider/_slider-theme.import.scss +0 -5
  604. package/mdc-slider/_slider-theme.scss +0 -125
  605. package/mdc-slider/index.d.ts +0 -435
  606. package/mdc-slider/testing/index.d.ts +0 -92
  607. package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
  608. package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
  609. package/mdc-snack-bar/index.d.ts +0 -136
  610. package/mdc-snack-bar/testing/index.d.ts +0 -23
  611. package/mdc-table/_table-theme.import.scss +0 -11
  612. package/mdc-table/_table-theme.scss +0 -78
  613. package/mdc-table/index.d.ts +0 -238
  614. package/mdc-table/testing/index.d.ts +0 -118
  615. package/mdc-tabs/_tabs-common.import.scss +0 -14
  616. package/mdc-tabs/_tabs-common.scss +0 -196
  617. package/mdc-tabs/_tabs-theme.import.scss +0 -8
  618. package/mdc-tabs/_tabs-theme.scss +0 -146
  619. package/mdc-tabs/index.d.ts +0 -307
  620. package/mdc-tabs/testing/index.d.ts +0 -151
  621. package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
  622. package/mdc-tooltip/_tooltip-theme.scss +0 -49
  623. package/mdc-tooltip/index.d.ts +0 -118
  624. 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 { }