@angular/material-experimental 14.0.0-next.9 → 14.0.0-rc.2

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 (720) hide show
  1. package/column-resize/index.d.ts +238 -6
  2. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  3. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-module.mjs +13 -13
  7. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  8. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  9. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  10. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  11. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
  12. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +4 -4
  13. package/esm2020/mdc-autocomplete/autocomplete.mjs +4 -4
  14. package/esm2020/mdc-autocomplete/module.mjs +5 -5
  15. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +4 -4
  16. package/esm2020/mdc-button/button-base.mjs +7 -7
  17. package/esm2020/mdc-button/button.mjs +9 -9
  18. package/esm2020/mdc-button/fab.mjs +17 -17
  19. package/esm2020/mdc-button/icon-button.mjs +9 -9
  20. package/esm2020/mdc-button/module.mjs +5 -5
  21. package/esm2020/mdc-button/testing/button-harness.mjs +3 -3
  22. package/esm2020/mdc-card/card.mjs +44 -44
  23. package/esm2020/mdc-card/module.mjs +5 -5
  24. package/esm2020/mdc-card/testing/card-harness.mjs +4 -5
  25. package/esm2020/mdc-checkbox/checkbox.mjs +29 -283
  26. package/esm2020/mdc-checkbox/module.mjs +5 -5
  27. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +2 -2
  28. package/esm2020/mdc-chips/chip-action.mjs +43 -76
  29. package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
  30. package/esm2020/mdc-chips/chip-grid.mjs +59 -70
  31. package/esm2020/mdc-chips/chip-icons.mjs +27 -41
  32. package/esm2020/mdc-chips/chip-input.mjs +5 -8
  33. package/esm2020/mdc-chips/chip-listbox.mjs +24 -66
  34. package/esm2020/mdc-chips/chip-option.mjs +41 -86
  35. package/esm2020/mdc-chips/chip-row.mjs +51 -75
  36. package/esm2020/mdc-chips/chip-set.mjs +117 -118
  37. package/esm2020/mdc-chips/chip.mjs +79 -164
  38. package/esm2020/mdc-chips/module.mjs +7 -7
  39. package/esm2020/mdc-chips/public-api.mjs +2 -2
  40. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +5 -5
  41. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +5 -3
  42. package/esm2020/mdc-chips/testing/chip-harness.mjs +5 -5
  43. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +5 -5
  44. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +5 -3
  45. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +3 -3
  46. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +5 -5
  47. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +1 -10
  48. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +5 -3
  49. package/esm2020/mdc-chips/tokens.mjs +33 -0
  50. package/esm2020/mdc-core/option/index.mjs +5 -5
  51. package/esm2020/mdc-core/option/optgroup.mjs +4 -4
  52. package/esm2020/mdc-core/option/option.mjs +5 -5
  53. package/esm2020/mdc-core/testing/optgroup-harness.mjs +5 -5
  54. package/esm2020/mdc-core/testing/option-harness.mjs +4 -5
  55. package/esm2020/mdc-dialog/dialog-container.mjs +19 -18
  56. package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
  57. package/esm2020/mdc-dialog/dialog-ref.mjs +1 -6
  58. package/esm2020/mdc-dialog/dialog.mjs +12 -7
  59. package/esm2020/mdc-dialog/module.mjs +8 -7
  60. package/esm2020/mdc-dialog/public-api.mjs +2 -2
  61. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +6 -7
  62. package/esm2020/mdc-form-field/directives/error.mjs +4 -4
  63. package/esm2020/mdc-form-field/directives/floating-label.mjs +26 -6
  64. package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
  65. package/esm2020/mdc-form-field/directives/label.mjs +4 -4
  66. package/esm2020/mdc-form-field/directives/line-ripple.mjs +32 -11
  67. package/esm2020/mdc-form-field/directives/notched-outline.mjs +25 -46
  68. package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
  69. package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
  70. package/esm2020/mdc-form-field/form-field.mjs +17 -101
  71. package/esm2020/mdc-form-field/module.mjs +5 -5
  72. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +4 -4
  73. package/esm2020/mdc-input/input.mjs +4 -4
  74. package/esm2020/mdc-input/module.mjs +5 -5
  75. package/esm2020/mdc-list/action-list.mjs +5 -5
  76. package/esm2020/mdc-list/list-base.mjs +7 -15
  77. package/esm2020/mdc-list/list-item-sections.mjs +19 -19
  78. package/esm2020/mdc-list/list-option.mjs +42 -24
  79. package/esm2020/mdc-list/list.mjs +8 -8
  80. package/esm2020/mdc-list/module.mjs +9 -11
  81. package/esm2020/mdc-list/nav-list.mjs +5 -5
  82. package/esm2020/mdc-list/selection-list.mjs +124 -124
  83. package/esm2020/mdc-list/subheader.mjs +4 -4
  84. package/esm2020/mdc-list/testing/action-list-harness.mjs +7 -7
  85. package/esm2020/mdc-list/testing/list-harness.mjs +5 -7
  86. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +6 -6
  87. package/esm2020/mdc-list/testing/nav-list-harness.mjs +7 -7
  88. package/esm2020/mdc-list/testing/selection-list-harness.mjs +7 -7
  89. package/esm2020/mdc-menu/directives.mjs +7 -7
  90. package/esm2020/mdc-menu/menu-item.mjs +6 -6
  91. package/esm2020/mdc-menu/menu.mjs +5 -5
  92. package/esm2020/mdc-menu/module.mjs +5 -5
  93. package/esm2020/mdc-menu/testing/menu-harness.mjs +5 -7
  94. package/esm2020/mdc-paginator/module.mjs +5 -5
  95. package/esm2020/mdc-paginator/paginator.mjs +9 -9
  96. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +3 -4
  97. package/esm2020/mdc-progress-bar/module.mjs +5 -5
  98. package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
  99. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +5 -3
  100. package/esm2020/mdc-progress-spinner/module.mjs +5 -5
  101. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +14 -61
  102. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +5 -5
  103. package/esm2020/mdc-radio/module.mjs +5 -5
  104. package/esm2020/mdc-radio/radio.mjs +9 -43
  105. package/esm2020/mdc-radio/testing/radio-harness.mjs +7 -7
  106. package/esm2020/mdc-select/module.mjs +5 -5
  107. package/esm2020/mdc-select/select.mjs +11 -12
  108. package/esm2020/mdc-select/testing/select-harness.mjs +3 -4
  109. package/esm2020/mdc-slide-toggle/module.mjs +5 -5
  110. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +16 -178
  111. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -3
  112. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
  113. package/esm2020/mdc-slider/module.mjs +5 -5
  114. package/esm2020/mdc-slider/slider.mjs +14 -14
  115. package/esm2020/mdc-slider/testing/slider-harness.mjs +6 -7
  116. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +5 -6
  117. package/esm2020/mdc-snack-bar/module.mjs +5 -5
  118. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +7 -7
  119. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +51 -32
  120. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
  121. package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
  122. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +3 -4
  123. package/esm2020/mdc-table/cell.mjs +22 -22
  124. package/esm2020/mdc-table/module.mjs +5 -5
  125. package/esm2020/mdc-table/row.mjs +22 -22
  126. package/esm2020/mdc-table/table.mjs +9 -9
  127. package/esm2020/mdc-table/testing/cell-harness.mjs +8 -8
  128. package/esm2020/mdc-table/testing/row-harness.mjs +8 -8
  129. package/esm2020/mdc-table/testing/table-harness.mjs +2 -2
  130. package/esm2020/mdc-table/text-column.mjs +5 -5
  131. package/esm2020/mdc-tabs/ink-bar.mjs +93 -114
  132. package/esm2020/mdc-tabs/module.mjs +10 -12
  133. package/esm2020/mdc-tabs/tab-body.mjs +7 -7
  134. package/esm2020/mdc-tabs/tab-content.mjs +4 -4
  135. package/esm2020/mdc-tabs/tab-group.mjs +13 -13
  136. package/esm2020/mdc-tabs/tab-header.mjs +5 -5
  137. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +10 -34
  138. package/esm2020/mdc-tabs/tab-label.mjs +4 -4
  139. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +17 -26
  140. package/esm2020/mdc-tabs/tab.mjs +4 -4
  141. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +4 -5
  142. package/esm2020/mdc-tabs/testing/tab-harness.mjs +3 -4
  143. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +4 -5
  144. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +5 -5
  145. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +5 -5
  146. package/esm2020/mdc-tooltip/module.mjs +5 -5
  147. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -4
  148. package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
  149. package/esm2020/menubar/menubar-item.mjs +8 -8
  150. package/esm2020/menubar/menubar-module.mjs +6 -6
  151. package/esm2020/menubar/menubar.mjs +6 -6
  152. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  153. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  154. package/esm2020/popover-edit/table-directives.mjs +13 -13
  155. package/esm2020/selection/row-selection.mjs +4 -4
  156. package/esm2020/selection/select-all.mjs +4 -4
  157. package/esm2020/selection/selection-column.mjs +7 -7
  158. package/esm2020/selection/selection-module.mjs +5 -5
  159. package/esm2020/selection/selection-toggle.mjs +4 -4
  160. package/esm2020/selection/selection.mjs +4 -4
  161. package/esm2020/version.mjs +1 -1
  162. package/fesm2015/column-resize.mjs +36 -36
  163. package/fesm2015/column-resize.mjs.map +1 -1
  164. package/fesm2015/material-experimental.mjs +1 -1
  165. package/fesm2015/material-experimental.mjs.map +1 -1
  166. package/fesm2015/mdc-autocomplete/testing.mjs +3 -3
  167. package/fesm2015/mdc-autocomplete/testing.mjs.map +1 -1
  168. package/fesm2015/mdc-autocomplete.mjs +13 -13
  169. package/fesm2015/mdc-autocomplete.mjs.map +1 -1
  170. package/fesm2015/mdc-button/testing.mjs +1 -1
  171. package/fesm2015/mdc-button/testing.mjs.map +1 -1
  172. package/fesm2015/mdc-button.mjs +42 -42
  173. package/fesm2015/mdc-button.mjs.map +1 -1
  174. package/fesm2015/mdc-card/testing.mjs +2 -3
  175. package/fesm2015/mdc-card/testing.mjs.map +1 -1
  176. package/fesm2015/mdc-card.mjs +47 -47
  177. package/fesm2015/mdc-card.mjs.map +1 -1
  178. package/fesm2015/mdc-checkbox/testing.mjs +1 -1
  179. package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
  180. package/fesm2015/mdc-checkbox.mjs +34 -287
  181. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  182. package/fesm2015/mdc-chips/testing.mjs +23 -25
  183. package/fesm2015/mdc-chips/testing.mjs.map +1 -1
  184. package/fesm2015/mdc-chips.mjs +528 -783
  185. package/fesm2015/mdc-chips.mjs.map +1 -1
  186. package/fesm2015/mdc-core/testing.mjs +5 -6
  187. package/fesm2015/mdc-core/testing.mjs.map +1 -1
  188. package/fesm2015/mdc-core.mjs +11 -11
  189. package/fesm2015/mdc-core.mjs.map +1 -1
  190. package/fesm2015/mdc-dialog/testing.mjs +5 -6
  191. package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
  192. package/fesm2015/mdc-dialog.mjs +47 -46
  193. package/fesm2015/mdc-dialog.mjs.map +1 -1
  194. package/fesm2015/mdc-form-field/testing.mjs +3 -3
  195. package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
  196. package/fesm2015/mdc-form-field.mjs +120 -175
  197. package/fesm2015/mdc-form-field.mjs.map +1 -1
  198. package/fesm2015/mdc-input.mjs +7 -7
  199. package/fesm2015/mdc-input.mjs.map +1 -1
  200. package/fesm2015/mdc-list/testing.mjs +27 -29
  201. package/fesm2015/mdc-list/testing.mjs.map +1 -1
  202. package/fesm2015/mdc-list.mjs +215 -403
  203. package/fesm2015/mdc-list.mjs.map +1 -1
  204. package/fesm2015/mdc-menu/testing.mjs +4 -6
  205. package/fesm2015/mdc-menu/testing.mjs.map +1 -1
  206. package/fesm2015/mdc-menu.mjs +18 -18
  207. package/fesm2015/mdc-menu.mjs.map +1 -1
  208. package/fesm2015/mdc-paginator/testing.mjs +2 -3
  209. package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
  210. package/fesm2015/mdc-paginator.mjs +12 -12
  211. package/fesm2015/mdc-paginator.mjs.map +1 -1
  212. package/fesm2015/mdc-progress-bar/testing.mjs +3 -1
  213. package/fesm2015/mdc-progress-bar/testing.mjs.map +1 -1
  214. package/fesm2015/mdc-progress-bar.mjs +11 -8
  215. package/fesm2015/mdc-progress-bar.mjs.map +1 -1
  216. package/fesm2015/mdc-progress-spinner/testing.mjs +3 -3
  217. package/fesm2015/mdc-progress-spinner/testing.mjs.map +1 -1
  218. package/fesm2015/mdc-progress-spinner.mjs +17 -64
  219. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  220. package/fesm2015/mdc-radio/testing.mjs +6 -6
  221. package/fesm2015/mdc-radio/testing.mjs.map +1 -1
  222. package/fesm2015/mdc-radio.mjs +13 -47
  223. package/fesm2015/mdc-radio.mjs.map +1 -1
  224. package/fesm2015/mdc-select/testing.mjs +2 -3
  225. package/fesm2015/mdc-select/testing.mjs.map +1 -1
  226. package/fesm2015/mdc-select.mjs +14 -15
  227. package/fesm2015/mdc-select.mjs.map +1 -1
  228. package/fesm2015/mdc-slide-toggle/testing.mjs +3 -2
  229. package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
  230. package/fesm2015/mdc-slide-toggle.mjs +20 -184
  231. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  232. package/fesm2015/mdc-slider/testing.mjs +7 -9
  233. package/fesm2015/mdc-slider/testing.mjs.map +1 -1
  234. package/fesm2015/mdc-slider.mjs +20 -20
  235. package/fesm2015/mdc-slider.mjs.map +1 -1
  236. package/fesm2015/mdc-snack-bar/testing.mjs +2 -3
  237. package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
  238. package/fesm2015/mdc-snack-bar.mjs +75 -56
  239. package/fesm2015/mdc-snack-bar.mjs.map +1 -1
  240. package/fesm2015/mdc-table/testing.mjs +15 -15
  241. package/fesm2015/mdc-table/testing.mjs.map +1 -1
  242. package/fesm2015/mdc-table.mjs +58 -58
  243. package/fesm2015/mdc-table.mjs.map +1 -1
  244. package/fesm2015/mdc-tabs/testing.mjs +12 -15
  245. package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
  246. package/fesm2015/mdc-tabs.mjs +151 -205
  247. package/fesm2015/mdc-tabs.mjs.map +1 -1
  248. package/fesm2015/mdc-tooltip/testing.mjs +3 -3
  249. package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
  250. package/fesm2015/mdc-tooltip.mjs +11 -11
  251. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  252. package/fesm2015/menubar.mjs +15 -15
  253. package/fesm2015/menubar.mjs.map +1 -1
  254. package/fesm2015/popover-edit.mjs +25 -25
  255. package/fesm2015/popover-edit.mjs.map +1 -1
  256. package/fesm2015/selection.mjs +23 -23
  257. package/fesm2015/selection.mjs.map +1 -1
  258. package/fesm2020/column-resize.mjs +36 -36
  259. package/fesm2020/column-resize.mjs.map +1 -1
  260. package/fesm2020/material-experimental.mjs +1 -1
  261. package/fesm2020/material-experimental.mjs.map +1 -1
  262. package/fesm2020/mdc-autocomplete/testing.mjs +3 -3
  263. package/fesm2020/mdc-autocomplete/testing.mjs.map +1 -1
  264. package/fesm2020/mdc-autocomplete.mjs +13 -13
  265. package/fesm2020/mdc-autocomplete.mjs.map +1 -1
  266. package/fesm2020/mdc-button/testing.mjs +1 -1
  267. package/fesm2020/mdc-button/testing.mjs.map +1 -1
  268. package/fesm2020/mdc-button.mjs +42 -42
  269. package/fesm2020/mdc-button.mjs.map +1 -1
  270. package/fesm2020/mdc-card/testing.mjs +2 -3
  271. package/fesm2020/mdc-card/testing.mjs.map +1 -1
  272. package/fesm2020/mdc-card.mjs +47 -47
  273. package/fesm2020/mdc-card.mjs.map +1 -1
  274. package/fesm2020/mdc-checkbox/testing.mjs +1 -1
  275. package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
  276. package/fesm2020/mdc-checkbox.mjs +34 -287
  277. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  278. package/fesm2020/mdc-chips/testing.mjs +23 -25
  279. package/fesm2020/mdc-chips/testing.mjs.map +1 -1
  280. package/fesm2020/mdc-chips.mjs +441 -699
  281. package/fesm2020/mdc-chips.mjs.map +1 -1
  282. package/fesm2020/mdc-core/testing.mjs +5 -6
  283. package/fesm2020/mdc-core/testing.mjs.map +1 -1
  284. package/fesm2020/mdc-core.mjs +11 -11
  285. package/fesm2020/mdc-core.mjs.map +1 -1
  286. package/fesm2020/mdc-dialog/testing.mjs +5 -6
  287. package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
  288. package/fesm2020/mdc-dialog.mjs +47 -46
  289. package/fesm2020/mdc-dialog.mjs.map +1 -1
  290. package/fesm2020/mdc-form-field/testing.mjs +3 -3
  291. package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
  292. package/fesm2020/mdc-form-field.mjs +112 -174
  293. package/fesm2020/mdc-form-field.mjs.map +1 -1
  294. package/fesm2020/mdc-input.mjs +7 -7
  295. package/fesm2020/mdc-input.mjs.map +1 -1
  296. package/fesm2020/mdc-list/testing.mjs +27 -29
  297. package/fesm2020/mdc-list/testing.mjs.map +1 -1
  298. package/fesm2020/mdc-list.mjs +214 -392
  299. package/fesm2020/mdc-list.mjs.map +1 -1
  300. package/fesm2020/mdc-menu/testing.mjs +4 -6
  301. package/fesm2020/mdc-menu/testing.mjs.map +1 -1
  302. package/fesm2020/mdc-menu.mjs +18 -18
  303. package/fesm2020/mdc-menu.mjs.map +1 -1
  304. package/fesm2020/mdc-paginator/testing.mjs +2 -3
  305. package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
  306. package/fesm2020/mdc-paginator.mjs +12 -12
  307. package/fesm2020/mdc-paginator.mjs.map +1 -1
  308. package/fesm2020/mdc-progress-bar/testing.mjs +3 -1
  309. package/fesm2020/mdc-progress-bar/testing.mjs.map +1 -1
  310. package/fesm2020/mdc-progress-bar.mjs +11 -8
  311. package/fesm2020/mdc-progress-bar.mjs.map +1 -1
  312. package/fesm2020/mdc-progress-spinner/testing.mjs +3 -3
  313. package/fesm2020/mdc-progress-spinner/testing.mjs.map +1 -1
  314. package/fesm2020/mdc-progress-spinner.mjs +17 -64
  315. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  316. package/fesm2020/mdc-radio/testing.mjs +6 -6
  317. package/fesm2020/mdc-radio/testing.mjs.map +1 -1
  318. package/fesm2020/mdc-radio.mjs +13 -47
  319. package/fesm2020/mdc-radio.mjs.map +1 -1
  320. package/fesm2020/mdc-select/testing.mjs +2 -3
  321. package/fesm2020/mdc-select/testing.mjs.map +1 -1
  322. package/fesm2020/mdc-select.mjs +14 -15
  323. package/fesm2020/mdc-select.mjs.map +1 -1
  324. package/fesm2020/mdc-slide-toggle/testing.mjs +3 -2
  325. package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
  326. package/fesm2020/mdc-slide-toggle.mjs +20 -183
  327. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  328. package/fesm2020/mdc-slider/testing.mjs +7 -9
  329. package/fesm2020/mdc-slider/testing.mjs.map +1 -1
  330. package/fesm2020/mdc-slider.mjs +20 -20
  331. package/fesm2020/mdc-slider.mjs.map +1 -1
  332. package/fesm2020/mdc-snack-bar/testing.mjs +2 -3
  333. package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
  334. package/fesm2020/mdc-snack-bar.mjs +75 -56
  335. package/fesm2020/mdc-snack-bar.mjs.map +1 -1
  336. package/fesm2020/mdc-table/testing.mjs +15 -15
  337. package/fesm2020/mdc-table/testing.mjs.map +1 -1
  338. package/fesm2020/mdc-table.mjs +58 -58
  339. package/fesm2020/mdc-table.mjs.map +1 -1
  340. package/fesm2020/mdc-tabs/testing.mjs +12 -15
  341. package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
  342. package/fesm2020/mdc-tabs.mjs +149 -203
  343. package/fesm2020/mdc-tabs.mjs.map +1 -1
  344. package/fesm2020/mdc-tooltip/testing.mjs +3 -3
  345. package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
  346. package/fesm2020/mdc-tooltip.mjs +11 -11
  347. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  348. package/fesm2020/menubar.mjs +15 -15
  349. package/fesm2020/menubar.mjs.map +1 -1
  350. package/fesm2020/popover-edit.mjs +25 -25
  351. package/fesm2020/popover-edit.mjs.map +1 -1
  352. package/fesm2020/selection.mjs +23 -23
  353. package/fesm2020/selection.mjs.map +1 -1
  354. package/index.d.ts +6 -8
  355. package/mdc-autocomplete/index.d.ts +95 -6
  356. package/mdc-autocomplete/testing/index.d.ts +32 -8
  357. package/mdc-button/index.d.ts +217 -5
  358. package/mdc-button/testing/index.d.ts +41 -8
  359. package/mdc-card/index.d.ts +191 -5
  360. package/mdc-card/testing/index.d.ts +44 -8
  361. package/mdc-checkbox/_checkbox-private.scss +10 -3
  362. package/mdc-checkbox/_checkbox-theme.scss +3 -3
  363. package/mdc-checkbox/index.d.ts +79 -8
  364. package/mdc-checkbox/testing/index.d.ts +28 -8
  365. package/mdc-chips/index.d.ts +970 -5
  366. package/mdc-chips/testing/index.d.ts +232 -8
  367. package/mdc-core/index.d.ts +204 -6
  368. package/mdc-core/testing/index.d.ts +64 -8
  369. package/mdc-dialog/index.d.ts +215 -6
  370. package/mdc-dialog/testing/index.d.ts +47 -8
  371. package/mdc-form-field/index.d.ts +428 -5
  372. package/mdc-form-field/testing/index.d.ts +48 -8
  373. package/mdc-input/index.d.ts +30 -8
  374. package/mdc-input/testing/index.d.ts +20 -8
  375. package/mdc-list/_list-option-theme.scss +2 -2
  376. package/mdc-list/_list-theme.scss +3 -6
  377. package/mdc-list/index.d.ts +531 -5
  378. package/mdc-list/testing/index.d.ts +367 -6
  379. package/mdc-menu/index.d.ts +108 -6
  380. package/mdc-menu/testing/index.d.ts +38 -8
  381. package/mdc-paginator/index.d.ts +70 -6
  382. package/mdc-paginator/testing/index.d.ts +30 -8
  383. package/mdc-progress-bar/index.d.ts +101 -8
  384. package/mdc-progress-bar/testing/index.d.ts +24 -8
  385. package/mdc-progress-spinner/index.d.ts +87 -5
  386. package/mdc-progress-spinner/testing/index.d.ts +26 -8
  387. package/mdc-radio/_radio-theme.scss +8 -2
  388. package/mdc-radio/index.d.ts +70 -6
  389. package/mdc-radio/testing/index.d.ts +43 -8
  390. package/mdc-select/index.d.ts +108 -5
  391. package/mdc-select/testing/index.d.ts +28 -8
  392. package/mdc-slide-toggle/index.d.ts +83 -8
  393. package/mdc-slide-toggle/testing/index.d.ts +27 -8
  394. package/mdc-slider/index.d.ts +426 -5
  395. package/mdc-slider/testing/index.d.ts +92 -8
  396. package/mdc-snack-bar/index.d.ts +198 -6
  397. package/mdc-snack-bar/testing/index.d.ts +23 -8
  398. package/mdc-table/index.d.ts +235 -5
  399. package/mdc-table/testing/index.d.ts +118 -8
  400. package/mdc-tabs/index.d.ts +305 -6
  401. package/mdc-tabs/testing/index.d.ts +151 -8
  402. package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
  403. package/mdc-theming/prebuilt/indigo-pink.css +1 -1
  404. package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
  405. package/mdc-theming/prebuilt/purple-green.css +1 -1
  406. package/mdc-tooltip/index.d.ts +115 -5
  407. package/mdc-tooltip/testing/index.d.ts +26 -8
  408. package/menubar/index.d.ts +42 -6
  409. package/package.json +79 -79
  410. package/popover-edit/index.d.ts +99 -6
  411. package/selection/index.d.ts +137 -5
  412. package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -25
  413. package/column-resize/column-resize-directives/column-resize.d.ts +0 -25
  414. package/column-resize/column-resize-directives/common.d.ts +0 -20
  415. package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +0 -25
  416. package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +0 -25
  417. package/column-resize/column-resize-module.d.ts +0 -25
  418. package/column-resize/column-resize_public_index.d.ts +0 -4
  419. package/column-resize/overlay-handle.d.ts +0 -33
  420. package/column-resize/package.json +0 -9
  421. package/column-resize/public-api.d.ts +0 -16
  422. package/column-resize/resizable-directives/common.d.ts +0 -19
  423. package/column-resize/resizable-directives/default-enabled-resizable.d.ts +0 -37
  424. package/column-resize/resizable-directives/resizable.d.ts +0 -36
  425. package/column-resize/resize-strategy.d.ts +0 -22
  426. package/esm2020/mdc-chips/chip-default-options.mjs +0 -11
  427. package/esm2020/mdc-chips/emit-event.mjs +0 -27
  428. package/esm2020/mdc-list/interactive-list-base.mjs +0 -196
  429. package/mdc-autocomplete/animations.d.ts +0 -9
  430. package/mdc-autocomplete/autocomplete-origin.d.ts +0 -10
  431. package/mdc-autocomplete/autocomplete-trigger.d.ts +0 -12
  432. package/mdc-autocomplete/autocomplete.d.ts +0 -21
  433. package/mdc-autocomplete/mdc-autocomplete_public_index.d.ts +0 -4
  434. package/mdc-autocomplete/module.d.ts +0 -13
  435. package/mdc-autocomplete/package.json +0 -9
  436. package/mdc-autocomplete/public-api.d.ts +0 -12
  437. package/mdc-autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  438. package/mdc-autocomplete/testing/autocomplete-harness.d.ts +0 -26
  439. package/mdc-autocomplete/testing/package.json +0 -9
  440. package/mdc-autocomplete/testing/public-api.d.ts +0 -9
  441. package/mdc-button/button-base.d.ts +0 -70
  442. package/mdc-button/button.d.ts +0 -40
  443. package/mdc-button/fab.d.ts +0 -80
  444. package/mdc-button/icon-button.d.ts +0 -33
  445. package/mdc-button/mdc-button_public_index.d.ts +0 -4
  446. package/mdc-button/module.d.ts +0 -10
  447. package/mdc-button/package.json +0 -9
  448. package/mdc-button/public-api.d.ts +0 -11
  449. package/mdc-button/testing/button-harness.d.ts +0 -41
  450. package/mdc-button/testing/package.json +0 -9
  451. package/mdc-button/testing/public-api.d.ts +0 -9
  452. package/mdc-card/card.d.ts +0 -152
  453. package/mdc-card/mdc-card_public_index.d.ts +0 -4
  454. package/mdc-card/module.d.ts +0 -9
  455. package/mdc-card/package.json +0 -9
  456. package/mdc-card/public-api.d.ts +0 -9
  457. package/mdc-card/testing/card-harness-filters.d.ts +0 -17
  458. package/mdc-card/testing/card-harness.d.ts +0 -36
  459. package/mdc-card/testing/package.json +0 -9
  460. package/mdc-card/testing/public-api.d.ts +0 -9
  461. package/mdc-checkbox/checkbox.d.ts +0 -155
  462. package/mdc-checkbox/mdc-checkbox_public_index.d.ts +0 -4
  463. package/mdc-checkbox/module.d.ts +0 -9
  464. package/mdc-checkbox/package.json +0 -9
  465. package/mdc-checkbox/public-api.d.ts +0 -15
  466. package/mdc-checkbox/testing/checkbox-harness.d.ts +0 -26
  467. package/mdc-checkbox/testing/package.json +0 -9
  468. package/mdc-checkbox/testing/public-api.d.ts +0 -9
  469. package/mdc-chips/chip-action.d.ts +0 -40
  470. package/mdc-chips/chip-default-options.d.ts +0 -15
  471. package/mdc-chips/chip-edit-input.d.ts +0 -25
  472. package/mdc-chips/chip-grid.d.ts +0 -211
  473. package/mdc-chips/chip-icons.d.ts +0 -73
  474. package/mdc-chips/chip-input.d.ts +0 -95
  475. package/mdc-chips/chip-listbox.d.ts +0 -152
  476. package/mdc-chips/chip-option.d.ts +0 -81
  477. package/mdc-chips/chip-row.d.ts +0 -62
  478. package/mdc-chips/chip-set.d.ts +0 -113
  479. package/mdc-chips/chip-text-control.d.ts +0 -22
  480. package/mdc-chips/chip.d.ts +0 -139
  481. package/mdc-chips/emit-event.d.ts +0 -16
  482. package/mdc-chips/mdc-chips_public_index.d.ts +0 -4
  483. package/mdc-chips/module.d.ts +0 -18
  484. package/mdc-chips/package.json +0 -9
  485. package/mdc-chips/public-api.d.ts +0 -19
  486. package/mdc-chips/testing/chip-avatar-harness.d.ts +0 -20
  487. package/mdc-chips/testing/chip-grid-harness.d.ts +0 -29
  488. package/mdc-chips/testing/chip-harness-filters.d.ts +0 -34
  489. package/mdc-chips/testing/chip-harness.d.ts +0 -36
  490. package/mdc-chips/testing/chip-input-harness.d.ts +0 -47
  491. package/mdc-chips/testing/chip-listbox-harness.d.ts +0 -38
  492. package/mdc-chips/testing/chip-option-harness.d.ts +0 -27
  493. package/mdc-chips/testing/chip-remove-harness.d.ts +0 -22
  494. package/mdc-chips/testing/chip-row-harness.d.ts +0 -22
  495. package/mdc-chips/testing/chip-set-harness.d.ts +0 -20
  496. package/mdc-chips/testing/package.json +0 -9
  497. package/mdc-chips/testing/public-api.d.ts +0 -17
  498. package/mdc-core/mdc-core_public_index.d.ts +0 -4
  499. package/mdc-core/option/index.d.ts +0 -13
  500. package/mdc-core/option/optgroup.d.ts +0 -9
  501. package/mdc-core/option/option.d.ts +0 -19
  502. package/mdc-core/package.json +0 -9
  503. package/mdc-core/public-api.d.ts +0 -9
  504. package/mdc-core/testing/optgroup-harness-filters.d.ts +0 -11
  505. package/mdc-core/testing/optgroup-harness.d.ts +0 -33
  506. package/mdc-core/testing/option-harness-filters.d.ts +0 -12
  507. package/mdc-core/testing/option-harness.d.ts +0 -35
  508. package/mdc-core/testing/package.json +0 -9
  509. package/mdc-core/testing/public-api.d.ts +0 -11
  510. package/mdc-dialog/dialog-container.d.ts +0 -53
  511. package/mdc-dialog/dialog-content-directives.d.ts +0 -64
  512. package/mdc-dialog/dialog-ref.d.ts +0 -16
  513. package/mdc-dialog/dialog.d.ts +0 -45
  514. package/mdc-dialog/mdc-dialog_public_index.d.ts +0 -4
  515. package/mdc-dialog/module.d.ts +0 -11
  516. package/mdc-dialog/package.json +0 -9
  517. package/mdc-dialog/public-api.d.ts +0 -13
  518. package/mdc-dialog/testing/dialog-harness.d.ts +0 -30
  519. package/mdc-dialog/testing/dialog-opener.d.ts +0 -18
  520. package/mdc-dialog/testing/package.json +0 -9
  521. package/mdc-dialog/testing/public-api.d.ts +0 -10
  522. package/mdc-form-field/directives/error.d.ts +0 -22
  523. package/mdc-form-field/directives/floating-label.d.ts +0 -34
  524. package/mdc-form-field/directives/hint.d.ts +0 -10
  525. package/mdc-form-field/directives/label.d.ts +0 -6
  526. package/mdc-form-field/directives/line-ripple.d.ts +0 -24
  527. package/mdc-form-field/directives/notched-outline.d.ts +0 -37
  528. package/mdc-form-field/directives/prefix.d.ts +0 -22
  529. package/mdc-form-field/directives/suffix.d.ts +0 -22
  530. package/mdc-form-field/form-field.d.ts +0 -212
  531. package/mdc-form-field/mdc-form-field_public_index.d.ts +0 -4
  532. package/mdc-form-field/module.d.ts +0 -18
  533. package/mdc-form-field/package.json +0 -9
  534. package/mdc-form-field/public-api.d.ts +0 -15
  535. package/mdc-form-field/testing/form-field-harness.d.ts +0 -41
  536. package/mdc-form-field/testing/package.json +0 -9
  537. package/mdc-form-field/testing/public-api.d.ts +0 -10
  538. package/mdc-input/input.d.ts +0 -6
  539. package/mdc-input/mdc-input_public_index.d.ts +0 -4
  540. package/mdc-input/module.d.ts +0 -10
  541. package/mdc-input/package.json +0 -9
  542. package/mdc-input/public-api.d.ts +0 -10
  543. package/mdc-input/testing/package.json +0 -9
  544. package/mdc-input/testing/public-api.d.ts +0 -8
  545. package/mdc-list/action-list.d.ts +0 -7
  546. package/mdc-list/interactive-list-base.d.ts +0 -41
  547. package/mdc-list/list-base.d.ts +0 -120
  548. package/mdc-list/list-item-sections.d.ts +0 -77
  549. package/mdc-list/list-option-types.d.ts +0 -28
  550. package/mdc-list/list-option.d.ts +0 -98
  551. package/mdc-list/list.d.ts +0 -31
  552. package/mdc-list/mdc-list_public_index.d.ts +0 -4
  553. package/mdc-list/module.d.ts +0 -17
  554. package/mdc-list/nav-list.d.ts +0 -7
  555. package/mdc-list/package.json +0 -9
  556. package/mdc-list/public-api.d.ts +0 -18
  557. package/mdc-list/selection-list.d.ts +0 -118
  558. package/mdc-list/subheader.d.ts +0 -9
  559. package/mdc-list/testing/action-list-harness.d.ts +0 -44
  560. package/mdc-list/testing/list-harness-base.d.ts +0 -100
  561. package/mdc-list/testing/list-harness-filters.d.ts +0 -40
  562. package/mdc-list/testing/list-harness.d.ts +0 -36
  563. package/mdc-list/testing/list-item-harness-base.d.ts +0 -79
  564. package/mdc-list/testing/nav-list-harness.d.ts +0 -46
  565. package/mdc-list/testing/package.json +0 -9
  566. package/mdc-list/testing/public-api.d.ts +0 -13
  567. package/mdc-list/testing/selection-list-harness.d.ts +0 -74
  568. package/mdc-menu/directives.d.ts +0 -12
  569. package/mdc-menu/mdc-menu_public_index.d.ts +0 -4
  570. package/mdc-menu/menu-item.d.ts +0 -9
  571. package/mdc-menu/menu.d.ts +0 -22
  572. package/mdc-menu/module.d.ts +0 -13
  573. package/mdc-menu/package.json +0 -9
  574. package/mdc-menu/public-api.d.ts +0 -12
  575. package/mdc-menu/testing/menu-harness.d.ts +0 -35
  576. package/mdc-menu/testing/package.json +0 -9
  577. package/mdc-menu/testing/public-api.d.ts +0 -9
  578. package/mdc-paginator/mdc-paginator_public_index.d.ts +0 -4
  579. package/mdc-paginator/module.d.ts +0 -11
  580. package/mdc-paginator/package.json +0 -9
  581. package/mdc-paginator/paginator.d.ts +0 -40
  582. package/mdc-paginator/public-api.d.ts +0 -10
  583. package/mdc-paginator/testing/package.json +0 -9
  584. package/mdc-paginator/testing/paginator-harness.d.ts +0 -29
  585. package/mdc-paginator/testing/public-api.d.ts +0 -9
  586. package/mdc-progress-bar/mdc-progress-bar_public_index.d.ts +0 -4
  587. package/mdc-progress-bar/module.d.ts +0 -8
  588. package/mdc-progress-bar/package.json +0 -9
  589. package/mdc-progress-bar/progress-bar.d.ts +0 -67
  590. package/mdc-progress-bar/public-api.d.ts +0 -10
  591. package/mdc-progress-bar/testing/package.json +0 -9
  592. package/mdc-progress-bar/testing/progress-bar-harness.d.ts +0 -22
  593. package/mdc-progress-bar/testing/public-api.d.ts +0 -9
  594. package/mdc-progress-bar/testing/testing_public_index.d.ts +0 -4
  595. package/mdc-progress-spinner/mdc-progress-spinner_public_index.d.ts +0 -4
  596. package/mdc-progress-spinner/module.d.ts +0 -9
  597. package/mdc-progress-spinner/package.json +0 -9
  598. package/mdc-progress-spinner/progress-spinner.d.ts +0 -77
  599. package/mdc-progress-spinner/public-api.d.ts +0 -10
  600. package/mdc-progress-spinner/testing/package.json +0 -9
  601. package/mdc-progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  602. package/mdc-progress-spinner/testing/public-api.d.ts +0 -9
  603. package/mdc-progress-spinner/testing/testing_public_index.d.ts +0 -4
  604. package/mdc-radio/mdc-radio_public_index.d.ts +0 -4
  605. package/mdc-radio/module.d.ts +0 -9
  606. package/mdc-radio/package.json +0 -9
  607. package/mdc-radio/public-api.d.ts +0 -10
  608. package/mdc-radio/radio.d.ts +0 -53
  609. package/mdc-radio/testing/package.json +0 -9
  610. package/mdc-radio/testing/public-api.d.ts +0 -9
  611. package/mdc-radio/testing/radio-harness.d.ts +0 -36
  612. package/mdc-select/mdc-select_public_index.d.ts +0 -4
  613. package/mdc-select/module.d.ts +0 -12
  614. package/mdc-select/package.json +0 -9
  615. package/mdc-select/public-api.d.ts +0 -11
  616. package/mdc-select/select-animations.d.ts +0 -23
  617. package/mdc-select/select-errors.d.ts +0 -26
  618. package/mdc-select/select.d.ts +0 -54
  619. package/mdc-select/testing/package.json +0 -9
  620. package/mdc-select/testing/public-api.d.ts +0 -9
  621. package/mdc-select/testing/select-harness-filters.d.ts +0 -11
  622. package/mdc-select/testing/select-harness.d.ts +0 -25
  623. package/mdc-slide-toggle/mdc-slide-toggle_public_index.d.ts +0 -4
  624. package/mdc-slide-toggle/module.d.ts +0 -10
  625. package/mdc-slide-toggle/package.json +0 -9
  626. package/mdc-slide-toggle/public-api.d.ts +0 -11
  627. package/mdc-slide-toggle/slide-toggle-config.d.ts +0 -18
  628. package/mdc-slide-toggle/slide-toggle.d.ts +0 -107
  629. package/mdc-slide-toggle/testing/package.json +0 -9
  630. package/mdc-slide-toggle/testing/public-api.d.ts +0 -9
  631. package/mdc-slide-toggle/testing/slide-toggle-harness.d.ts +0 -25
  632. package/mdc-slider/global-change-and-input-listener.d.ts +0 -29
  633. package/mdc-slider/mdc-slider_public_index.d.ts +0 -4
  634. package/mdc-slider/module.d.ts +0 -9
  635. package/mdc-slider/package.json +0 -9
  636. package/mdc-slider/public-api.d.ts +0 -9
  637. package/mdc-slider/slider.d.ts +0 -373
  638. package/mdc-slider/testing/package.json +0 -9
  639. package/mdc-slider/testing/public-api.d.ts +0 -10
  640. package/mdc-slider/testing/slider-harness-filters.d.ts +0 -23
  641. package/mdc-slider/testing/slider-harness.d.ts +0 -35
  642. package/mdc-slider/testing/slider-thumb-harness.d.ts +0 -52
  643. package/mdc-snack-bar/mdc-snack-bar_public_index.d.ts +0 -4
  644. package/mdc-snack-bar/module.d.ts +0 -14
  645. package/mdc-snack-bar/package.json +0 -9
  646. package/mdc-snack-bar/public-api.d.ts +0 -13
  647. package/mdc-snack-bar/simple-snack-bar.d.ts +0 -19
  648. package/mdc-snack-bar/snack-bar-container.d.ts +0 -79
  649. package/mdc-snack-bar/snack-bar-content.d.ts +0 -16
  650. package/mdc-snack-bar/snack-bar.d.ts +0 -26
  651. package/mdc-snack-bar/testing/package.json +0 -9
  652. package/mdc-snack-bar/testing/public-api.d.ts +0 -9
  653. package/mdc-snack-bar/testing/snack-bar-harness.d.ts +0 -24
  654. package/mdc-table/cell.d.ts +0 -59
  655. package/mdc-table/mdc-table_public_index.d.ts +0 -4
  656. package/mdc-table/module.d.ts +0 -12
  657. package/mdc-table/package.json +0 -9
  658. package/mdc-table/public-api.d.ts +0 -14
  659. package/mdc-table/row.d.ts +0 -55
  660. package/mdc-table/table-data-source.d.ts +0 -23
  661. package/mdc-table/table.d.ts +0 -27
  662. package/mdc-table/testing/cell-harness.d.ts +0 -44
  663. package/mdc-table/testing/package.json +0 -9
  664. package/mdc-table/testing/public-api.d.ts +0 -11
  665. package/mdc-table/testing/row-harness.d.ts +0 -48
  666. package/mdc-table/testing/table-harness.d.ts +0 -24
  667. package/mdc-table/text-column.d.ts +0 -22
  668. package/mdc-tabs/ink-bar.d.ts +0 -72
  669. package/mdc-tabs/mdc-tabs_public_index.d.ts +0 -4
  670. package/mdc-tabs/module.d.ts +0 -19
  671. package/mdc-tabs/package.json +0 -9
  672. package/mdc-tabs/public-api.d.ts +0 -18
  673. package/mdc-tabs/tab-body.d.ts +0 -31
  674. package/mdc-tabs/tab-content.d.ts +0 -7
  675. package/mdc-tabs/tab-group.d.ts +0 -34
  676. package/mdc-tabs/tab-header.d.ts +0 -35
  677. package/mdc-tabs/tab-label-wrapper.d.ts +0 -28
  678. package/mdc-tabs/tab-label.d.ts +0 -7
  679. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -68
  680. package/mdc-tabs/tab.d.ts +0 -22
  681. package/mdc-tabs/testing/package.json +0 -9
  682. package/mdc-tabs/testing/public-api.d.ts +0 -12
  683. package/mdc-tabs/testing/tab-group-harness.d.ts +0 -35
  684. package/mdc-tabs/testing/tab-harness-filters.d.ts +0 -29
  685. package/mdc-tabs/testing/tab-harness.d.ts +0 -38
  686. package/mdc-tabs/testing/tab-link-harness.d.ts +0 -29
  687. package/mdc-tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  688. package/mdc-tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  689. package/mdc-tooltip/mdc-tooltip_public_index.d.ts +0 -4
  690. package/mdc-tooltip/module.d.ts +0 -12
  691. package/mdc-tooltip/package.json +0 -9
  692. package/mdc-tooltip/public-api.d.ts +0 -11
  693. package/mdc-tooltip/testing/package.json +0 -9
  694. package/mdc-tooltip/testing/public-api.d.ts +0 -9
  695. package/mdc-tooltip/testing/tooltip-harness.d.ts +0 -24
  696. package/mdc-tooltip/tooltip-animations.d.ts +0 -15
  697. package/mdc-tooltip/tooltip.d.ts +0 -52
  698. package/menubar/menubar-item.d.ts +0 -12
  699. package/menubar/menubar-module.d.ts +0 -9
  700. package/menubar/menubar.d.ts +0 -10
  701. package/menubar/menubar_public_index.d.ts +0 -4
  702. package/menubar/package.json +0 -9
  703. package/menubar/public-api.d.ts +0 -10
  704. package/popover-edit/lens-directives.d.ts +0 -22
  705. package/popover-edit/package.json +0 -9
  706. package/popover-edit/popover-edit-module.d.ts +0 -10
  707. package/popover-edit/popover-edit_public_index.d.ts +0 -4
  708. package/popover-edit/public-api.d.ts +0 -10
  709. package/popover-edit/table-directives.d.ts +0 -41
  710. package/public-api.d.ts +0 -8
  711. package/selection/package.json +0 -9
  712. package/selection/public-api.d.ts +0 -13
  713. package/selection/row-selection.d.ts +0 -22
  714. package/selection/select-all.d.ts +0 -23
  715. package/selection/selection-column.d.ts +0 -34
  716. package/selection/selection-module.d.ts +0 -14
  717. package/selection/selection-toggle.d.ts +0 -25
  718. package/selection/selection.d.ts +0 -22
  719. package/selection/selection_public_index.d.ts +0 -4
  720. package/version.d.ts +0 -10
@@ -1,40 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
9
- import { MDCChipActionAdapter, MDCChipActionFoundation } from '@material/chips';
10
- import { CanDisable, HasTabIndex } from '@angular/material-experimental/mdc-core';
11
- import * as i0 from "@angular/core";
12
- declare const _MatChipActionMixinBase: import("@angular/material-experimental/mdc-core")._Constructor<HasTabIndex> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<HasTabIndex> & import("@angular/material-experimental/mdc-core")._Constructor<CanDisable> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanDisable> & {
13
- new (): {};
14
- };
15
- /**
16
- * Interactive element within a chip.
17
- * @docs-private
18
- */
19
- export declare class MatChipAction extends _MatChipActionMixinBase implements AfterViewInit, OnDestroy, CanDisable, HasTabIndex, OnChanges {
20
- _elementRef: ElementRef;
21
- private _changeDetectorRef;
22
- private _document;
23
- private _foundation;
24
- private _adapter;
25
- /** Whether the action is interactive. */
26
- isInteractive: boolean;
27
- _handleClick(_event: MouseEvent): void;
28
- _handleKeydown(event: KeyboardEvent): void;
29
- protected _createFoundation(adapter: MDCChipActionAdapter): MDCChipActionFoundation;
30
- constructor(_elementRef: ElementRef, _document: any, _changeDetectorRef: ChangeDetectorRef);
31
- ngAfterViewInit(): void;
32
- ngOnChanges(changes: SimpleChanges): void;
33
- ngOnDestroy(): void;
34
- focus(): void;
35
- _getFoundation(): MDCChipActionFoundation;
36
- _updateTabindex(value: number): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "isInteractive": "isInteractive"; }, {}, never>;
39
- }
40
- export {};
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { InjectionToken } from '@angular/core';
9
- /** Default options, for the chips module, that can be overridden. */
10
- export interface MatChipsDefaultOptions {
11
- /** The list of key codes that will trigger a chipEnd event. */
12
- separatorKeyCodes: readonly number[] | ReadonlySet<number>;
13
- }
14
- /** Injection token to be used to override the default options for the chips module. */
15
- export declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOptions>;
@@ -1,25 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { ElementRef } from '@angular/core';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * A directive that makes a span editable and exposes functions to modify and retrieve the
12
- * element's contents.
13
- */
14
- export declare class MatChipEditInput {
15
- private readonly _elementRef;
16
- private readonly _document;
17
- constructor(_elementRef: ElementRef, _document: any);
18
- initialize(initialValue: string): void;
19
- getNativeElement(): HTMLElement;
20
- setValue(value: string): void;
21
- getValue(): string;
22
- private _moveCursorToEndOfInput;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipEditInput, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never>;
25
- }
@@ -1,211 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { BooleanInput } from '@angular/cdk/coercion';
9
- import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
10
- import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
11
- import { CanUpdateErrorState, ErrorStateMatcher } from '@angular/material-experimental/mdc-core';
12
- import { MatFormFieldControl } from '@angular/material-experimental/mdc-form-field';
13
- import { LiveAnnouncer } from '@angular/cdk/a11y';
14
- import { MatChipTextControl } from './chip-text-control';
15
- import { Observable, Subject } from 'rxjs';
16
- import { MatChipEvent } from './chip';
17
- import { MatChipRow } from './chip-row';
18
- import { MatChipSet } from './chip-set';
19
- import * as i0 from "@angular/core";
20
- /** Change event object that is emitted when the chip grid value has changed. */
21
- export declare class MatChipGridChange {
22
- /** Chip grid that emitted the event. */
23
- source: MatChipGrid;
24
- /** Value of the chip grid when the event was emitted. */
25
- value: any;
26
- constructor(
27
- /** Chip grid that emitted the event. */
28
- source: MatChipGrid,
29
- /** Value of the chip grid when the event was emitted. */
30
- value: any);
31
- }
32
- /**
33
- * Boilerplate for applying mixins to MatChipGrid.
34
- * @docs-private
35
- */
36
- declare class MatChipGridBase extends MatChipSet {
37
- _defaultErrorStateMatcher: ErrorStateMatcher;
38
- _parentForm: NgForm;
39
- _parentFormGroup: FormGroupDirective;
40
- /**
41
- * Form control bound to the component.
42
- * Implemented as part of `MatFormFieldControl`.
43
- * @docs-private
44
- */
45
- ngControl: NgControl;
46
- /**
47
- * Emits whenever the component state changes and should cause the parent
48
- * form-field to update. Implemented as part of `MatFormFieldControl`.
49
- * @docs-private
50
- */
51
- readonly stateChanges: Subject<void>;
52
- constructor(liveAnnouncer: LiveAnnouncer, document: any, elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, _defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective,
53
- /**
54
- * Form control bound to the component.
55
- * Implemented as part of `MatFormFieldControl`.
56
- * @docs-private
57
- */
58
- ngControl: NgControl);
59
- }
60
- declare const _MatChipGridMixinBase: import("@angular/material-experimental/mdc-core")._Constructor<CanUpdateErrorState> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanUpdateErrorState> & typeof MatChipGridBase;
61
- /**
62
- * An extension of the MatChipSet component used with MatChipRow chips and
63
- * the matChipInputFor directive.
64
- */
65
- export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterContentInit, AfterViewInit, CanUpdateErrorState, ControlValueAccessor, DoCheck, MatFormFieldControl<any>, OnDestroy {
66
- /**
67
- * Implemented as part of MatFormFieldControl.
68
- * @docs-private
69
- */
70
- readonly controlType: string;
71
- /** The chip input to add more chips */
72
- protected _chipInput: MatChipTextControl;
73
- protected _defaultRole: string;
74
- /**
75
- * List of element ids to propagate to the chipInput's aria-describedby attribute.
76
- */
77
- private _ariaDescribedbyIds;
78
- /**
79
- * Function when touched. Set as part of ControlValueAccessor implementation.
80
- * @docs-private
81
- */
82
- _onTouched: () => void;
83
- /**
84
- * Function when changed. Set as part of ControlValueAccessor implementation.
85
- * @docs-private
86
- */
87
- _onChange: (value: any) => void;
88
- /**
89
- * Implemented as part of MatFormFieldControl.
90
- * @docs-private
91
- */
92
- get disabled(): boolean;
93
- set disabled(value: BooleanInput);
94
- /**
95
- * Implemented as part of MatFormFieldControl.
96
- * @docs-private
97
- */
98
- get id(): string;
99
- /**
100
- * Implemented as part of MatFormFieldControl.
101
- * @docs-private
102
- */
103
- get empty(): boolean;
104
- /**
105
- * Implemented as part of MatFormFieldControl.
106
- * @docs-private
107
- */
108
- get placeholder(): string;
109
- set placeholder(value: string);
110
- protected _placeholder: string;
111
- /** Whether any chips or the matChipInput inside of this chip-grid has focus. */
112
- get focused(): boolean;
113
- /**
114
- * Implemented as part of MatFormFieldControl.
115
- * @docs-private
116
- */
117
- get required(): boolean;
118
- set required(value: BooleanInput);
119
- protected _required: boolean | undefined;
120
- /**
121
- * Implemented as part of MatFormFieldControl.
122
- * @docs-private
123
- */
124
- get shouldLabelFloat(): boolean;
125
- /**
126
- * Implemented as part of MatFormFieldControl.
127
- * @docs-private
128
- */
129
- get value(): any;
130
- set value(value: any);
131
- protected _value: any[];
132
- /** An object used to control when error messages are shown. */
133
- errorStateMatcher: ErrorStateMatcher;
134
- /** Combined stream of all of the child chips' blur events. */
135
- get chipBlurChanges(): Observable<MatChipEvent>;
136
- /** Combined stream of all of the child chips' focus events. */
137
- get chipFocusChanges(): Observable<MatChipEvent>;
138
- /** Emits when the chip grid value has been changed by the user. */
139
- readonly change: EventEmitter<MatChipGridChange>;
140
- /**
141
- * Emits whenever the raw value of the chip-grid changes. This is here primarily
142
- * to facilitate the two-way binding for the `value` input.
143
- * @docs-private
144
- */
145
- readonly valueChange: EventEmitter<any>;
146
- _chips: QueryList<MatChipRow>;
147
- constructor(liveAnnouncer: LiveAnnouncer, document: any, elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, ngControl: NgControl);
148
- ngAfterContentInit(): void;
149
- ngAfterViewInit(): void;
150
- ngDoCheck(): void;
151
- ngOnDestroy(): void;
152
- /** Associates an HTML input element with this chip grid. */
153
- registerInput(inputElement: MatChipTextControl): void;
154
- /**
155
- * Implemented as part of MatFormFieldControl.
156
- * @docs-private
157
- */
158
- onContainerClick(event: MouseEvent): void;
159
- /**
160
- * Focuses the first chip in this chip grid, or the associated input when there
161
- * are no eligible chips.
162
- */
163
- focus(): void;
164
- /**
165
- * Implemented as part of MatFormFieldControl.
166
- * @docs-private
167
- */
168
- setDescribedByIds(ids: string[]): void;
169
- /**
170
- * Implemented as part of ControlValueAccessor.
171
- * @docs-private
172
- */
173
- writeValue(value: any): void;
174
- /**
175
- * Implemented as part of ControlValueAccessor.
176
- * @docs-private
177
- */
178
- registerOnChange(fn: (value: any) => void): void;
179
- /**
180
- * Implemented as part of ControlValueAccessor.
181
- * @docs-private
182
- */
183
- registerOnTouched(fn: () => void): void;
184
- /**
185
- * Implemented as part of ControlValueAccessor.
186
- * @docs-private
187
- */
188
- setDisabledState(isDisabled: boolean): void;
189
- /** When blurred, mark the field as touched when focus moved outside the chip grid. */
190
- _blur(): void;
191
- /**
192
- * Removes the `tabindex` from the chip grid and resets it back afterwards, allowing the
193
- * user to tab out of it. This prevents the grid from capturing focus and redirecting
194
- * it back to the first chip, creating a focus trap, if it user tries to tab away.
195
- */
196
- protected _allowFocusEscape(): void;
197
- /** Handles custom keyboard events. */
198
- _keydown(event: KeyboardEvent): void;
199
- _focusLastChip(): void;
200
- /** Emits change event to set the model value. */
201
- private _propagateChanges;
202
- /** Mark the field as touched */
203
- private _markAsTouched;
204
- /**
205
- * If the amount of chips changed, we need to focus the next closest chip.
206
- */
207
- private _updateFocusForDestroyedChips;
208
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, [null, null, null, null, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
209
- 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"], ["*"]>;
210
- }
211
- export {};
@@ -1,73 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { InjectionToken } from '@angular/core';
9
- import { MDCChipActionAdapter, MDCChipTrailingActionFoundation } from '@material/chips';
10
- import { MatChipAction } from './chip-action';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Injection token that can be used to reference instances of `MatChipAvatar`. It serves as
14
- * alternative token to the actual `MatChipAvatar` class which could cause unnecessary
15
- * retention of the class and its directive metadata.
16
- */
17
- export declare const MAT_CHIP_AVATAR: InjectionToken<MatChipAvatar>;
18
- /**
19
- * Directive to add CSS classes to chip leading icon.
20
- * @docs-private
21
- */
22
- export declare class MatChipAvatar {
23
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAvatar, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never>;
25
- }
26
- /**
27
- * Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as
28
- * alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary
29
- * retention of the class and its directive metadata.
30
- */
31
- export declare const MAT_CHIP_TRAILING_ICON: InjectionToken<MatChipTrailingIcon>;
32
- /**
33
- * Directive to add CSS classes to and configure attributes for chip trailing icon.
34
- * @docs-private
35
- */
36
- export declare class MatChipTrailingIcon extends MatChipAction {
37
- /**
38
- * MDC considers all trailing actions as a remove icon,
39
- * but we support non-interactive trailing icons.
40
- */
41
- isInteractive: boolean;
42
- protected _createFoundation(adapter: MDCChipActionAdapter): MDCChipTrailingActionFoundation;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
44
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never>;
45
- }
46
- /**
47
- * Injection token that can be used to reference instances of `MatChipRemove`. It serves as
48
- * alternative token to the actual `MatChipRemove` class which could cause unnecessary
49
- * retention of the class and its directive metadata.
50
- */
51
- export declare const MAT_CHIP_REMOVE: InjectionToken<MatChipRemove>;
52
- /**
53
- * Directive to remove the parent chip when the trailing icon is clicked or
54
- * when the ENTER key is pressed on it.
55
- *
56
- * Recommended for use with the Material Design "cancel" icon
57
- * available at https://material.io/icons/#ic_cancel.
58
- *
59
- * Example:
60
- *
61
- * ```
62
- * <mat-chip>
63
- * <mat-icon matChipRemove>cancel</mat-icon>
64
- * </mat-chip>
65
- * ```
66
- */
67
- export declare class MatChipRemove extends MatChipAction {
68
- protected _createFoundation(adapter: MDCChipActionAdapter): MDCChipTrailingActionFoundation;
69
- _handleClick(event: MouseEvent): void;
70
- _handleKeydown(event: KeyboardEvent): void;
71
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRemove, never>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never>;
73
- }
@@ -1,95 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { BooleanInput } from '@angular/cdk/coercion';
9
- import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
10
- import { MatFormField } from '@angular/material-experimental/mdc-form-field';
11
- import { MatChipsDefaultOptions } from './chip-default-options';
12
- import { MatChipGrid } from './chip-grid';
13
- import { MatChipTextControl } from './chip-text-control';
14
- import * as i0 from "@angular/core";
15
- /** Represents an input event on a `matChipInput`. */
16
- export interface MatChipInputEvent {
17
- /**
18
- * The native `<input>` element that the event is being fired for.
19
- * @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead.
20
- * @breaking-change 13.0.0 This property will be removed.
21
- */
22
- input: HTMLInputElement;
23
- /** The value of the input. */
24
- value: string;
25
- /** Reference to the chip input that emitted the event. */
26
- chipInput: MatChipInput;
27
- }
28
- /**
29
- * Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
30
- * May be placed inside or outside of a `<mat-chip-grid>`.
31
- */
32
- export declare class MatChipInput implements MatChipTextControl, AfterContentInit, OnChanges, OnDestroy {
33
- protected _elementRef: ElementRef<HTMLInputElement>;
34
- private _defaultOptions;
35
- /** Used to prevent focus moving to chips while user is holding backspace */
36
- private _focusLastChipOnBackspace;
37
- /** Value for ariaDescribedby property */
38
- _ariaDescribedby?: string;
39
- /** Whether the control is focused. */
40
- focused: boolean;
41
- _chipGrid: MatChipGrid;
42
- /** Register input for chip list */
43
- set chipGrid(value: MatChipGrid);
44
- /**
45
- * Whether or not the chipEnd event will be emitted when the input is blurred.
46
- */
47
- get addOnBlur(): boolean;
48
- set addOnBlur(value: BooleanInput);
49
- _addOnBlur: boolean;
50
- /**
51
- * The list of key codes that will trigger a chipEnd event.
52
- *
53
- * Defaults to `[ENTER]`.
54
- */
55
- separatorKeyCodes: readonly number[] | ReadonlySet<number>;
56
- /** Emitted when a chip is to be added. */
57
- readonly chipEnd: EventEmitter<MatChipInputEvent>;
58
- /** The input's placeholder text. */
59
- placeholder: string;
60
- /** Unique id for the input. */
61
- id: string;
62
- /** Whether the input is disabled. */
63
- get disabled(): boolean;
64
- set disabled(value: BooleanInput);
65
- private _disabled;
66
- /** Whether the input is empty. */
67
- get empty(): boolean;
68
- /** The native input element to which this directive is attached. */
69
- readonly inputElement: HTMLInputElement;
70
- constructor(_elementRef: ElementRef<HTMLInputElement>, _defaultOptions: MatChipsDefaultOptions, formField?: MatFormField);
71
- ngOnChanges(): void;
72
- ngOnDestroy(): void;
73
- ngAfterContentInit(): void;
74
- /** Utility method to make host definition/tests more clear. */
75
- _keydown(event?: KeyboardEvent): void;
76
- /**
77
- * Pass events to the keyboard manager. Available here for tests.
78
- */
79
- _keyup(event: KeyboardEvent): void;
80
- /** Checks to see if the blur should emit the (chipEnd) event. */
81
- _blur(): void;
82
- _focus(): void;
83
- /** Checks to see if the (chipEnd) event needs to be emitted. */
84
- _emitChipEnd(event?: KeyboardEvent): void;
85
- _onInput(): void;
86
- /** Focuses the input. */
87
- focus(): void;
88
- /** Clears the input */
89
- clear(): void;
90
- setDescribedByIds(ids: string[]): void;
91
- /** Checks whether a keycode is one of the configured separators. */
92
- private _isSeparatorKey;
93
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, [null, null, { optional: true; }]>;
94
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": "matChipInputFor"; "addOnBlur": "matChipInputAddOnBlur"; "separatorKeyCodes": "matChipInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "disabled": "disabled"; }, { "chipEnd": "matChipInputTokenEnd"; }, never>;
95
- }
@@ -1,152 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { BooleanInput } from '@angular/cdk/coercion';
9
- import { AfterContentInit, EventEmitter, OnDestroy, QueryList } from '@angular/core';
10
- import { ControlValueAccessor } from '@angular/forms';
11
- import { Observable } from 'rxjs';
12
- import { MatChipEvent } from './chip';
13
- import { MatChipOption, MatChipSelectionChange } from './chip-option';
14
- import { MatChipSet } from './chip-set';
15
- import * as i0 from "@angular/core";
16
- /** Change event object that is emitted when the chip listbox value has changed. */
17
- export declare class MatChipListboxChange {
18
- /** Chip listbox that emitted the event. */
19
- source: MatChipListbox;
20
- /** Value of the chip listbox when the event was emitted. */
21
- value: any;
22
- constructor(
23
- /** Chip listbox that emitted the event. */
24
- source: MatChipListbox,
25
- /** Value of the chip listbox when the event was emitted. */
26
- value: any);
27
- }
28
- /**
29
- * Provider Expression that allows mat-chip-listbox to register as a ControlValueAccessor.
30
- * This allows it to support [(ngModel)].
31
- * @docs-private
32
- */
33
- export declare const MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR: any;
34
- /**
35
- * An extension of the MatChipSet component that supports chip selection.
36
- * Used with MatChipOption chips.
37
- */
38
- export declare class MatChipListbox extends MatChipSet implements AfterContentInit, OnDestroy, ControlValueAccessor {
39
- /**
40
- * Function when touched. Set as part of ControlValueAccessor implementation.
41
- * @docs-private
42
- */
43
- _onTouched: () => void;
44
- /**
45
- * Function when changed. Set as part of ControlValueAccessor implementation.
46
- * @docs-private
47
- */
48
- _onChange: (value: any) => void;
49
- protected _defaultRole: string;
50
- /** Whether the user should be allowed to select multiple chips. */
51
- get multiple(): boolean;
52
- set multiple(value: BooleanInput);
53
- private _multiple;
54
- /** The array of selected chips inside the chip listbox. */
55
- get selected(): MatChipOption[] | MatChipOption;
56
- /** Orientation of the chip list. */
57
- ariaOrientation: 'horizontal' | 'vertical';
58
- /**
59
- * Whether or not this chip listbox is selectable.
60
- *
61
- * When a chip listbox is not selectable, the selected states for all
62
- * the chips inside the chip listbox are always ignored.
63
- */
64
- get selectable(): boolean;
65
- set selectable(value: BooleanInput);
66
- protected _selectable: boolean;
67
- /**
68
- * A function to compare the option values with the selected values. The first argument
69
- * is a value from an option. The second is a value from the selection. A boolean
70
- * should be returned.
71
- */
72
- get compareWith(): (o1: any, o2: any) => boolean;
73
- set compareWith(fn: (o1: any, o2: any) => boolean);
74
- private _compareWith;
75
- /** Whether this chip listbox is required. */
76
- get required(): boolean;
77
- set required(value: BooleanInput);
78
- protected _required: boolean;
79
- /** Combined stream of all of the child chips' selection change events. */
80
- get chipSelectionChanges(): Observable<MatChipSelectionChange>;
81
- /** Combined stream of all of the child chips' focus events. */
82
- get chipFocusChanges(): Observable<MatChipEvent>;
83
- /** Combined stream of all of the child chips' blur events. */
84
- get chipBlurChanges(): Observable<MatChipEvent>;
85
- /** The value of the listbox, which is the combined value of the selected chips. */
86
- get value(): any;
87
- set value(value: any);
88
- protected _value: any;
89
- /** Event emitted when the selected chip listbox value has been changed by the user. */
90
- readonly change: EventEmitter<MatChipListboxChange>;
91
- _chips: QueryList<MatChipOption>;
92
- ngAfterContentInit(): void;
93
- /**
94
- * Focuses the first selected chip in this chip listbox, or the first non-disabled chip when there
95
- * are no selected chips.
96
- */
97
- focus(): void;
98
- /**
99
- * Implemented as part of ControlValueAccessor.
100
- * @docs-private
101
- */
102
- writeValue(value: any): void;
103
- /**
104
- * Implemented as part of ControlValueAccessor.
105
- * @docs-private
106
- */
107
- registerOnChange(fn: (value: any) => void): void;
108
- /**
109
- * Implemented as part of ControlValueAccessor.
110
- * @docs-private
111
- */
112
- registerOnTouched(fn: () => void): void;
113
- /**
114
- * Implemented as part of ControlValueAccessor.
115
- * @docs-private
116
- */
117
- setDisabledState(isDisabled: boolean): void;
118
- /** Selects all chips with value. */
119
- _setSelectionByValue(value: any, isUserInput?: boolean): void;
120
- /** When blurred, marks the field as touched when focus moved outside the chip listbox. */
121
- _blur(): void;
122
- _keydown(event: KeyboardEvent): void;
123
- /** Marks the field as touched */
124
- private _markAsTouched;
125
- /** Emits change event to set the model value. */
126
- private _propagateChanges;
127
- /**
128
- * Initializes the chip listbox selection state to reflect any chips that were preselected.
129
- */
130
- private _initializeSelection;
131
- /**
132
- * Deselects every chip in the listbox.
133
- * @param skip Chip that should not be deselected.
134
- */
135
- private _clearSelection;
136
- /**
137
- * Finds and selects the chip based on its value.
138
- * @returns Chip that has the corresponding value.
139
- */
140
- private _selectValue;
141
- /** Syncs the chip-listbox selection state with the individual chips. */
142
- private _syncListboxProperties;
143
- /** Returns the first selected chip in this listbox, or undefined if no chips are selected. */
144
- private _getFirstSelectedChip;
145
- /**
146
- * If the amount of chips changed, we need to update the
147
- * key manager state and focus the next closest chip.
148
- */
149
- private _updateFocusForDestroyedChips;
150
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListbox, never>;
151
- 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"], ["*"]>;
152
- }