@angular/material-experimental 14.0.0-next.12 → 14.0.0-next.13

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 (578) hide show
  1. package/column-resize/index.d.ts +238 -6
  2. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  3. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
  4. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
  6. package/esm2020/column-resize/column-resize-module.mjs +12 -12
  7. package/esm2020/column-resize/overlay-handle.mjs +3 -3
  8. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +3 -3
  9. package/esm2020/column-resize/resizable-directives/resizable.mjs +3 -3
  10. package/esm2020/column-resize/resize-strategy.mjs +3 -3
  11. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +3 -3
  12. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +3 -3
  13. package/esm2020/mdc-autocomplete/autocomplete.mjs +3 -3
  14. package/esm2020/mdc-autocomplete/module.mjs +5 -5
  15. package/esm2020/mdc-button/button-base.mjs +6 -6
  16. package/esm2020/mdc-button/button.mjs +6 -6
  17. package/esm2020/mdc-button/fab.mjs +12 -12
  18. package/esm2020/mdc-button/icon-button.mjs +6 -6
  19. package/esm2020/mdc-button/module.mjs +5 -5
  20. package/esm2020/mdc-card/card.mjs +42 -42
  21. package/esm2020/mdc-card/module.mjs +5 -5
  22. package/esm2020/mdc-checkbox/checkbox.mjs +3 -3
  23. package/esm2020/mdc-checkbox/module.mjs +5 -5
  24. package/esm2020/mdc-chips/chip-action.mjs +3 -3
  25. package/esm2020/mdc-chips/chip-edit-input.mjs +3 -3
  26. package/esm2020/mdc-chips/chip-grid.mjs +3 -3
  27. package/esm2020/mdc-chips/chip-icons.mjs +9 -9
  28. package/esm2020/mdc-chips/chip-input.mjs +3 -3
  29. package/esm2020/mdc-chips/chip-listbox.mjs +3 -3
  30. package/esm2020/mdc-chips/chip-option.mjs +3 -3
  31. package/esm2020/mdc-chips/chip-row.mjs +3 -3
  32. package/esm2020/mdc-chips/chip-set.mjs +3 -3
  33. package/esm2020/mdc-chips/chip.mjs +3 -3
  34. package/esm2020/mdc-chips/module.mjs +6 -6
  35. package/esm2020/mdc-core/option/index.mjs +5 -5
  36. package/esm2020/mdc-core/option/optgroup.mjs +3 -3
  37. package/esm2020/mdc-core/option/option.mjs +3 -3
  38. package/esm2020/mdc-dialog/dialog-container.mjs +17 -15
  39. package/esm2020/mdc-dialog/dialog-content-directives.mjs +12 -12
  40. package/esm2020/mdc-dialog/dialog-ref.mjs +1 -6
  41. package/esm2020/mdc-dialog/dialog.mjs +12 -7
  42. package/esm2020/mdc-dialog/module.mjs +8 -7
  43. package/esm2020/mdc-dialog/public-api.mjs +2 -2
  44. package/esm2020/mdc-form-field/directives/error.mjs +3 -3
  45. package/esm2020/mdc-form-field/directives/floating-label.mjs +3 -3
  46. package/esm2020/mdc-form-field/directives/hint.mjs +3 -3
  47. package/esm2020/mdc-form-field/directives/label.mjs +3 -3
  48. package/esm2020/mdc-form-field/directives/line-ripple.mjs +3 -3
  49. package/esm2020/mdc-form-field/directives/notched-outline.mjs +3 -3
  50. package/esm2020/mdc-form-field/directives/prefix.mjs +3 -3
  51. package/esm2020/mdc-form-field/directives/suffix.mjs +3 -3
  52. package/esm2020/mdc-form-field/form-field.mjs +3 -3
  53. package/esm2020/mdc-form-field/module.mjs +5 -5
  54. package/esm2020/mdc-input/input.mjs +3 -3
  55. package/esm2020/mdc-input/module.mjs +5 -5
  56. package/esm2020/mdc-list/action-list.mjs +3 -3
  57. package/esm2020/mdc-list/interactive-list-base.mjs +3 -3
  58. package/esm2020/mdc-list/list-base.mjs +6 -6
  59. package/esm2020/mdc-list/list-item-sections.mjs +18 -18
  60. package/esm2020/mdc-list/list-option.mjs +3 -3
  61. package/esm2020/mdc-list/list.mjs +6 -6
  62. package/esm2020/mdc-list/module.mjs +9 -11
  63. package/esm2020/mdc-list/nav-list.mjs +3 -3
  64. package/esm2020/mdc-list/selection-list.mjs +3 -3
  65. package/esm2020/mdc-list/subheader.mjs +3 -3
  66. package/esm2020/mdc-menu/directives.mjs +6 -6
  67. package/esm2020/mdc-menu/menu-item.mjs +3 -3
  68. package/esm2020/mdc-menu/menu.mjs +3 -3
  69. package/esm2020/mdc-menu/module.mjs +5 -5
  70. package/esm2020/mdc-paginator/module.mjs +5 -5
  71. package/esm2020/mdc-paginator/paginator.mjs +3 -3
  72. package/esm2020/mdc-progress-bar/module.mjs +4 -4
  73. package/esm2020/mdc-progress-bar/progress-bar.mjs +3 -3
  74. package/esm2020/mdc-progress-spinner/module.mjs +5 -5
  75. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +3 -3
  76. package/esm2020/mdc-radio/module.mjs +5 -5
  77. package/esm2020/mdc-radio/radio.mjs +6 -6
  78. package/esm2020/mdc-select/module.mjs +5 -5
  79. package/esm2020/mdc-select/select.mjs +6 -6
  80. package/esm2020/mdc-slide-toggle/module.mjs +5 -5
  81. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +3 -3
  82. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +3 -3
  83. package/esm2020/mdc-slider/module.mjs +5 -5
  84. package/esm2020/mdc-slider/slider.mjs +9 -9
  85. package/esm2020/mdc-snack-bar/module.mjs +5 -5
  86. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +3 -3
  87. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +31 -18
  88. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +9 -9
  89. package/esm2020/mdc-snack-bar/snack-bar.mjs +3 -3
  90. package/esm2020/mdc-table/cell.mjs +21 -21
  91. package/esm2020/mdc-table/module.mjs +5 -5
  92. package/esm2020/mdc-table/row.mjs +21 -21
  93. package/esm2020/mdc-table/table.mjs +8 -8
  94. package/esm2020/mdc-table/text-column.mjs +3 -3
  95. package/esm2020/mdc-tabs/module.mjs +10 -12
  96. package/esm2020/mdc-tabs/tab-body.mjs +6 -6
  97. package/esm2020/mdc-tabs/tab-content.mjs +3 -3
  98. package/esm2020/mdc-tabs/tab-group.mjs +3 -3
  99. package/esm2020/mdc-tabs/tab-header.mjs +3 -3
  100. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +3 -3
  101. package/esm2020/mdc-tabs/tab-label.mjs +3 -3
  102. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  103. package/esm2020/mdc-tabs/tab.mjs +3 -3
  104. package/esm2020/mdc-tooltip/module.mjs +5 -5
  105. package/esm2020/mdc-tooltip/tooltip.mjs +6 -6
  106. package/esm2020/menubar/menubar-item.mjs +3 -3
  107. package/esm2020/menubar/menubar-module.mjs +5 -5
  108. package/esm2020/menubar/menubar.mjs +3 -3
  109. package/esm2020/popover-edit/lens-directives.mjs +9 -9
  110. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  111. package/esm2020/popover-edit/table-directives.mjs +12 -12
  112. package/esm2020/selection/row-selection.mjs +3 -3
  113. package/esm2020/selection/select-all.mjs +3 -3
  114. package/esm2020/selection/selection-column.mjs +3 -3
  115. package/esm2020/selection/selection-module.mjs +5 -5
  116. package/esm2020/selection/selection-toggle.mjs +3 -3
  117. package/esm2020/selection/selection.mjs +3 -3
  118. package/esm2020/version.mjs +1 -1
  119. package/fesm2015/column-resize.mjs +36 -36
  120. package/fesm2015/material-experimental.mjs +1 -1
  121. package/fesm2015/material-experimental.mjs.map +1 -1
  122. package/fesm2015/mdc-autocomplete.mjs +13 -13
  123. package/fesm2015/mdc-autocomplete.mjs.map +1 -1
  124. package/fesm2015/mdc-button.mjs +34 -34
  125. package/fesm2015/mdc-button.mjs.map +1 -1
  126. package/fesm2015/mdc-card.mjs +46 -46
  127. package/fesm2015/mdc-card.mjs.map +1 -1
  128. package/fesm2015/mdc-checkbox.mjs +7 -7
  129. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  130. package/fesm2015/mdc-chips.mjs +41 -41
  131. package/fesm2015/mdc-chips.mjs.map +1 -1
  132. package/fesm2015/mdc-core.mjs +10 -10
  133. package/fesm2015/mdc-core.mjs.map +1 -1
  134. package/fesm2015/mdc-dialog.mjs +45 -43
  135. package/fesm2015/mdc-dialog.mjs.map +1 -1
  136. package/fesm2015/mdc-form-field.mjs +31 -31
  137. package/fesm2015/mdc-form-field.mjs.map +1 -1
  138. package/fesm2015/mdc-input.mjs +7 -7
  139. package/fesm2015/mdc-input.mjs.map +1 -1
  140. package/fesm2015/mdc-list.mjs +56 -58
  141. package/fesm2015/mdc-list.mjs.map +1 -1
  142. package/fesm2015/mdc-menu.mjs +16 -16
  143. package/fesm2015/mdc-menu.mjs.map +1 -1
  144. package/fesm2015/mdc-paginator.mjs +7 -7
  145. package/fesm2015/mdc-paginator.mjs.map +1 -1
  146. package/fesm2015/mdc-progress-bar.mjs +7 -7
  147. package/fesm2015/mdc-progress-spinner.mjs +7 -7
  148. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  149. package/fesm2015/mdc-radio.mjs +10 -10
  150. package/fesm2015/mdc-radio.mjs.map +1 -1
  151. package/fesm2015/mdc-select.mjs +10 -10
  152. package/fesm2015/mdc-select.mjs.map +1 -1
  153. package/fesm2015/mdc-slide-toggle.mjs +7 -7
  154. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  155. package/fesm2015/mdc-slider.mjs +16 -16
  156. package/fesm2015/mdc-slider.mjs.map +1 -1
  157. package/fesm2015/mdc-snack-bar.mjs +49 -36
  158. package/fesm2015/mdc-snack-bar.mjs.map +1 -1
  159. package/fesm2015/mdc-table.mjs +57 -57
  160. package/fesm2015/mdc-table.mjs.map +1 -1
  161. package/fesm2015/mdc-tabs.mjs +42 -44
  162. package/fesm2015/mdc-tabs.mjs.map +1 -1
  163. package/fesm2015/mdc-tooltip.mjs +10 -10
  164. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  165. package/fesm2015/menubar.mjs +10 -10
  166. package/fesm2015/menubar.mjs.map +1 -1
  167. package/fesm2015/popover-edit.mjs +25 -25
  168. package/fesm2015/popover-edit.mjs.map +1 -1
  169. package/fesm2015/selection.mjs +19 -19
  170. package/fesm2015/selection.mjs.map +1 -1
  171. package/fesm2020/column-resize.mjs +36 -36
  172. package/fesm2020/material-experimental.mjs +1 -1
  173. package/fesm2020/material-experimental.mjs.map +1 -1
  174. package/fesm2020/mdc-autocomplete.mjs +13 -13
  175. package/fesm2020/mdc-autocomplete.mjs.map +1 -1
  176. package/fesm2020/mdc-button.mjs +34 -34
  177. package/fesm2020/mdc-button.mjs.map +1 -1
  178. package/fesm2020/mdc-card.mjs +46 -46
  179. package/fesm2020/mdc-card.mjs.map +1 -1
  180. package/fesm2020/mdc-checkbox.mjs +7 -7
  181. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  182. package/fesm2020/mdc-chips.mjs +41 -41
  183. package/fesm2020/mdc-chips.mjs.map +1 -1
  184. package/fesm2020/mdc-core.mjs +10 -10
  185. package/fesm2020/mdc-core.mjs.map +1 -1
  186. package/fesm2020/mdc-dialog.mjs +45 -43
  187. package/fesm2020/mdc-dialog.mjs.map +1 -1
  188. package/fesm2020/mdc-form-field.mjs +31 -31
  189. package/fesm2020/mdc-form-field.mjs.map +1 -1
  190. package/fesm2020/mdc-input.mjs +7 -7
  191. package/fesm2020/mdc-input.mjs.map +1 -1
  192. package/fesm2020/mdc-list.mjs +56 -58
  193. package/fesm2020/mdc-list.mjs.map +1 -1
  194. package/fesm2020/mdc-menu.mjs +16 -16
  195. package/fesm2020/mdc-menu.mjs.map +1 -1
  196. package/fesm2020/mdc-paginator.mjs +7 -7
  197. package/fesm2020/mdc-paginator.mjs.map +1 -1
  198. package/fesm2020/mdc-progress-bar.mjs +7 -7
  199. package/fesm2020/mdc-progress-spinner.mjs +7 -7
  200. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  201. package/fesm2020/mdc-radio.mjs +10 -10
  202. package/fesm2020/mdc-radio.mjs.map +1 -1
  203. package/fesm2020/mdc-select.mjs +10 -10
  204. package/fesm2020/mdc-select.mjs.map +1 -1
  205. package/fesm2020/mdc-slide-toggle.mjs +7 -7
  206. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  207. package/fesm2020/mdc-slider.mjs +16 -16
  208. package/fesm2020/mdc-slider.mjs.map +1 -1
  209. package/fesm2020/mdc-snack-bar.mjs +49 -36
  210. package/fesm2020/mdc-snack-bar.mjs.map +1 -1
  211. package/fesm2020/mdc-table.mjs +57 -57
  212. package/fesm2020/mdc-table.mjs.map +1 -1
  213. package/fesm2020/mdc-tabs.mjs +42 -44
  214. package/fesm2020/mdc-tabs.mjs.map +1 -1
  215. package/fesm2020/mdc-tooltip.mjs +10 -10
  216. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  217. package/fesm2020/menubar.mjs +10 -10
  218. package/fesm2020/menubar.mjs.map +1 -1
  219. package/fesm2020/popover-edit.mjs +25 -25
  220. package/fesm2020/popover-edit.mjs.map +1 -1
  221. package/fesm2020/selection.mjs +19 -19
  222. package/fesm2020/selection.mjs.map +1 -1
  223. package/index.d.ts +6 -8
  224. package/mdc-autocomplete/index.d.ts +95 -6
  225. package/mdc-autocomplete/testing/index.d.ts +31 -8
  226. package/mdc-button/index.d.ts +217 -5
  227. package/mdc-button/testing/index.d.ts +40 -8
  228. package/mdc-card/index.d.ts +191 -5
  229. package/mdc-card/testing/index.d.ts +44 -8
  230. package/mdc-checkbox/index.d.ts +200 -8
  231. package/mdc-checkbox/testing/index.d.ts +27 -8
  232. package/mdc-chips/index.d.ts +1030 -5
  233. package/mdc-chips/testing/index.d.ts +225 -8
  234. package/mdc-core/index.d.ts +204 -6
  235. package/mdc-core/testing/index.d.ts +64 -8
  236. package/mdc-dialog/index.d.ts +215 -6
  237. package/mdc-dialog/testing/index.d.ts +47 -8
  238. package/mdc-form-field/index.d.ts +436 -5
  239. package/mdc-form-field/testing/index.d.ts +47 -8
  240. package/mdc-input/index.d.ts +30 -8
  241. package/mdc-input/testing/index.d.ts +20 -8
  242. package/mdc-list/_list-theme.scss +0 -3
  243. package/mdc-list/index.d.ts +555 -5
  244. package/mdc-list/testing/index.d.ts +369 -6
  245. package/mdc-menu/index.d.ts +108 -6
  246. package/mdc-menu/testing/index.d.ts +39 -8
  247. package/mdc-paginator/index.d.ts +70 -6
  248. package/mdc-paginator/testing/index.d.ts +30 -8
  249. package/mdc-progress-bar/index.d.ts +101 -8
  250. package/mdc-progress-bar/testing/index.d.ts +21 -8
  251. package/mdc-progress-spinner/index.d.ts +100 -5
  252. package/mdc-progress-spinner/testing/index.d.ts +25 -8
  253. package/mdc-radio/index.d.ts +86 -6
  254. package/mdc-radio/testing/index.d.ts +42 -8
  255. package/mdc-select/index.d.ts +108 -5
  256. package/mdc-select/testing/index.d.ts +28 -8
  257. package/mdc-slide-toggle/index.d.ts +144 -8
  258. package/mdc-slide-toggle/testing/index.d.ts +26 -8
  259. package/mdc-slider/index.d.ts +426 -5
  260. package/mdc-slider/testing/index.d.ts +93 -8
  261. package/mdc-snack-bar/index.d.ts +198 -6
  262. package/mdc-snack-bar/testing/index.d.ts +23 -8
  263. package/mdc-table/index.d.ts +235 -5
  264. package/mdc-table/testing/index.d.ts +117 -8
  265. package/mdc-tabs/index.d.ts +353 -6
  266. package/mdc-tabs/testing/index.d.ts +153 -8
  267. package/mdc-tooltip/index.d.ts +115 -5
  268. package/mdc-tooltip/testing/index.d.ts +25 -8
  269. package/menubar/index.d.ts +42 -6
  270. package/package.json +31 -31
  271. package/popover-edit/index.d.ts +99 -6
  272. package/selection/index.d.ts +137 -5
  273. package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -25
  274. package/column-resize/column-resize-directives/column-resize.d.ts +0 -25
  275. package/column-resize/column-resize-directives/common.d.ts +0 -20
  276. package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +0 -25
  277. package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +0 -25
  278. package/column-resize/column-resize-module.d.ts +0 -25
  279. package/column-resize/column-resize_public_index.d.ts +0 -4
  280. package/column-resize/overlay-handle.d.ts +0 -33
  281. package/column-resize/package.json +0 -9
  282. package/column-resize/public-api.d.ts +0 -16
  283. package/column-resize/resizable-directives/common.d.ts +0 -19
  284. package/column-resize/resizable-directives/default-enabled-resizable.d.ts +0 -37
  285. package/column-resize/resizable-directives/resizable.d.ts +0 -36
  286. package/column-resize/resize-strategy.d.ts +0 -22
  287. package/mdc-autocomplete/animations.d.ts +0 -9
  288. package/mdc-autocomplete/autocomplete-origin.d.ts +0 -10
  289. package/mdc-autocomplete/autocomplete-trigger.d.ts +0 -12
  290. package/mdc-autocomplete/autocomplete.d.ts +0 -21
  291. package/mdc-autocomplete/mdc-autocomplete_public_index.d.ts +0 -4
  292. package/mdc-autocomplete/module.d.ts +0 -13
  293. package/mdc-autocomplete/package.json +0 -9
  294. package/mdc-autocomplete/public-api.d.ts +0 -12
  295. package/mdc-autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  296. package/mdc-autocomplete/testing/autocomplete-harness.d.ts +0 -26
  297. package/mdc-autocomplete/testing/package.json +0 -9
  298. package/mdc-autocomplete/testing/public-api.d.ts +0 -9
  299. package/mdc-button/button-base.d.ts +0 -70
  300. package/mdc-button/button.d.ts +0 -40
  301. package/mdc-button/fab.d.ts +0 -80
  302. package/mdc-button/icon-button.d.ts +0 -33
  303. package/mdc-button/mdc-button_public_index.d.ts +0 -4
  304. package/mdc-button/module.d.ts +0 -10
  305. package/mdc-button/package.json +0 -9
  306. package/mdc-button/public-api.d.ts +0 -11
  307. package/mdc-button/testing/button-harness.d.ts +0 -41
  308. package/mdc-button/testing/package.json +0 -9
  309. package/mdc-button/testing/public-api.d.ts +0 -9
  310. package/mdc-card/card.d.ts +0 -152
  311. package/mdc-card/mdc-card_public_index.d.ts +0 -4
  312. package/mdc-card/module.d.ts +0 -9
  313. package/mdc-card/package.json +0 -9
  314. package/mdc-card/public-api.d.ts +0 -9
  315. package/mdc-card/testing/card-harness-filters.d.ts +0 -17
  316. package/mdc-card/testing/card-harness.d.ts +0 -36
  317. package/mdc-card/testing/package.json +0 -9
  318. package/mdc-card/testing/public-api.d.ts +0 -9
  319. package/mdc-checkbox/checkbox.d.ts +0 -155
  320. package/mdc-checkbox/mdc-checkbox_public_index.d.ts +0 -4
  321. package/mdc-checkbox/module.d.ts +0 -9
  322. package/mdc-checkbox/package.json +0 -9
  323. package/mdc-checkbox/public-api.d.ts +0 -15
  324. package/mdc-checkbox/testing/checkbox-harness.d.ts +0 -26
  325. package/mdc-checkbox/testing/package.json +0 -9
  326. package/mdc-checkbox/testing/public-api.d.ts +0 -9
  327. package/mdc-chips/chip-action.d.ts +0 -40
  328. package/mdc-chips/chip-default-options.d.ts +0 -15
  329. package/mdc-chips/chip-edit-input.d.ts +0 -25
  330. package/mdc-chips/chip-grid.d.ts +0 -211
  331. package/mdc-chips/chip-icons.d.ts +0 -73
  332. package/mdc-chips/chip-input.d.ts +0 -95
  333. package/mdc-chips/chip-listbox.d.ts +0 -152
  334. package/mdc-chips/chip-option.d.ts +0 -81
  335. package/mdc-chips/chip-row.d.ts +0 -62
  336. package/mdc-chips/chip-set.d.ts +0 -113
  337. package/mdc-chips/chip-text-control.d.ts +0 -22
  338. package/mdc-chips/chip.d.ts +0 -139
  339. package/mdc-chips/emit-event.d.ts +0 -16
  340. package/mdc-chips/mdc-chips_public_index.d.ts +0 -4
  341. package/mdc-chips/module.d.ts +0 -18
  342. package/mdc-chips/package.json +0 -9
  343. package/mdc-chips/public-api.d.ts +0 -19
  344. package/mdc-chips/testing/chip-avatar-harness.d.ts +0 -20
  345. package/mdc-chips/testing/chip-grid-harness.d.ts +0 -29
  346. package/mdc-chips/testing/chip-harness-filters.d.ts +0 -34
  347. package/mdc-chips/testing/chip-harness.d.ts +0 -36
  348. package/mdc-chips/testing/chip-input-harness.d.ts +0 -47
  349. package/mdc-chips/testing/chip-listbox-harness.d.ts +0 -38
  350. package/mdc-chips/testing/chip-option-harness.d.ts +0 -27
  351. package/mdc-chips/testing/chip-remove-harness.d.ts +0 -22
  352. package/mdc-chips/testing/chip-row-harness.d.ts +0 -22
  353. package/mdc-chips/testing/chip-set-harness.d.ts +0 -20
  354. package/mdc-chips/testing/package.json +0 -9
  355. package/mdc-chips/testing/public-api.d.ts +0 -17
  356. package/mdc-core/mdc-core_public_index.d.ts +0 -4
  357. package/mdc-core/option/index.d.ts +0 -13
  358. package/mdc-core/option/optgroup.d.ts +0 -9
  359. package/mdc-core/option/option.d.ts +0 -19
  360. package/mdc-core/package.json +0 -9
  361. package/mdc-core/public-api.d.ts +0 -9
  362. package/mdc-core/testing/optgroup-harness-filters.d.ts +0 -11
  363. package/mdc-core/testing/optgroup-harness.d.ts +0 -33
  364. package/mdc-core/testing/option-harness-filters.d.ts +0 -12
  365. package/mdc-core/testing/option-harness.d.ts +0 -35
  366. package/mdc-core/testing/package.json +0 -9
  367. package/mdc-core/testing/public-api.d.ts +0 -11
  368. package/mdc-dialog/dialog-container.d.ts +0 -53
  369. package/mdc-dialog/dialog-content-directives.d.ts +0 -64
  370. package/mdc-dialog/dialog-ref.d.ts +0 -16
  371. package/mdc-dialog/dialog.d.ts +0 -45
  372. package/mdc-dialog/mdc-dialog_public_index.d.ts +0 -4
  373. package/mdc-dialog/module.d.ts +0 -11
  374. package/mdc-dialog/package.json +0 -9
  375. package/mdc-dialog/public-api.d.ts +0 -13
  376. package/mdc-dialog/testing/dialog-harness.d.ts +0 -30
  377. package/mdc-dialog/testing/dialog-opener.d.ts +0 -18
  378. package/mdc-dialog/testing/package.json +0 -9
  379. package/mdc-dialog/testing/public-api.d.ts +0 -10
  380. package/mdc-form-field/directives/error.d.ts +0 -22
  381. package/mdc-form-field/directives/floating-label.d.ts +0 -34
  382. package/mdc-form-field/directives/hint.d.ts +0 -10
  383. package/mdc-form-field/directives/label.d.ts +0 -6
  384. package/mdc-form-field/directives/line-ripple.d.ts +0 -24
  385. package/mdc-form-field/directives/notched-outline.d.ts +0 -37
  386. package/mdc-form-field/directives/prefix.d.ts +0 -22
  387. package/mdc-form-field/directives/suffix.d.ts +0 -22
  388. package/mdc-form-field/form-field.d.ts +0 -212
  389. package/mdc-form-field/mdc-form-field_public_index.d.ts +0 -4
  390. package/mdc-form-field/module.d.ts +0 -18
  391. package/mdc-form-field/package.json +0 -9
  392. package/mdc-form-field/public-api.d.ts +0 -15
  393. package/mdc-form-field/testing/form-field-harness.d.ts +0 -41
  394. package/mdc-form-field/testing/package.json +0 -9
  395. package/mdc-form-field/testing/public-api.d.ts +0 -10
  396. package/mdc-input/input.d.ts +0 -6
  397. package/mdc-input/mdc-input_public_index.d.ts +0 -4
  398. package/mdc-input/module.d.ts +0 -10
  399. package/mdc-input/package.json +0 -9
  400. package/mdc-input/public-api.d.ts +0 -10
  401. package/mdc-input/testing/package.json +0 -9
  402. package/mdc-input/testing/public-api.d.ts +0 -8
  403. package/mdc-list/action-list.d.ts +0 -7
  404. package/mdc-list/interactive-list-base.d.ts +0 -41
  405. package/mdc-list/list-base.d.ts +0 -120
  406. package/mdc-list/list-item-sections.d.ts +0 -77
  407. package/mdc-list/list-option-types.d.ts +0 -28
  408. package/mdc-list/list-option.d.ts +0 -98
  409. package/mdc-list/list.d.ts +0 -31
  410. package/mdc-list/mdc-list_public_index.d.ts +0 -4
  411. package/mdc-list/module.d.ts +0 -17
  412. package/mdc-list/nav-list.d.ts +0 -7
  413. package/mdc-list/package.json +0 -9
  414. package/mdc-list/public-api.d.ts +0 -18
  415. package/mdc-list/selection-list.d.ts +0 -118
  416. package/mdc-list/subheader.d.ts +0 -9
  417. package/mdc-list/testing/action-list-harness.d.ts +0 -44
  418. package/mdc-list/testing/list-harness-base.d.ts +0 -100
  419. package/mdc-list/testing/list-harness-filters.d.ts +0 -40
  420. package/mdc-list/testing/list-harness.d.ts +0 -36
  421. package/mdc-list/testing/list-item-harness-base.d.ts +0 -79
  422. package/mdc-list/testing/nav-list-harness.d.ts +0 -46
  423. package/mdc-list/testing/package.json +0 -9
  424. package/mdc-list/testing/public-api.d.ts +0 -13
  425. package/mdc-list/testing/selection-list-harness.d.ts +0 -74
  426. package/mdc-menu/directives.d.ts +0 -12
  427. package/mdc-menu/mdc-menu_public_index.d.ts +0 -4
  428. package/mdc-menu/menu-item.d.ts +0 -9
  429. package/mdc-menu/menu.d.ts +0 -22
  430. package/mdc-menu/module.d.ts +0 -13
  431. package/mdc-menu/package.json +0 -9
  432. package/mdc-menu/public-api.d.ts +0 -12
  433. package/mdc-menu/testing/menu-harness.d.ts +0 -35
  434. package/mdc-menu/testing/package.json +0 -9
  435. package/mdc-menu/testing/public-api.d.ts +0 -9
  436. package/mdc-paginator/mdc-paginator_public_index.d.ts +0 -4
  437. package/mdc-paginator/module.d.ts +0 -11
  438. package/mdc-paginator/package.json +0 -9
  439. package/mdc-paginator/paginator.d.ts +0 -40
  440. package/mdc-paginator/public-api.d.ts +0 -10
  441. package/mdc-paginator/testing/package.json +0 -9
  442. package/mdc-paginator/testing/paginator-harness.d.ts +0 -29
  443. package/mdc-paginator/testing/public-api.d.ts +0 -9
  444. package/mdc-progress-bar/mdc-progress-bar_public_index.d.ts +0 -4
  445. package/mdc-progress-bar/module.d.ts +0 -8
  446. package/mdc-progress-bar/package.json +0 -9
  447. package/mdc-progress-bar/progress-bar.d.ts +0 -67
  448. package/mdc-progress-bar/public-api.d.ts +0 -10
  449. package/mdc-progress-bar/testing/package.json +0 -9
  450. package/mdc-progress-bar/testing/progress-bar-harness.d.ts +0 -22
  451. package/mdc-progress-bar/testing/public-api.d.ts +0 -9
  452. package/mdc-progress-bar/testing/testing_public_index.d.ts +0 -4
  453. package/mdc-progress-spinner/mdc-progress-spinner_public_index.d.ts +0 -4
  454. package/mdc-progress-spinner/module.d.ts +0 -9
  455. package/mdc-progress-spinner/package.json +0 -9
  456. package/mdc-progress-spinner/progress-spinner.d.ts +0 -77
  457. package/mdc-progress-spinner/public-api.d.ts +0 -10
  458. package/mdc-progress-spinner/testing/package.json +0 -9
  459. package/mdc-progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  460. package/mdc-progress-spinner/testing/public-api.d.ts +0 -9
  461. package/mdc-progress-spinner/testing/testing_public_index.d.ts +0 -4
  462. package/mdc-radio/mdc-radio_public_index.d.ts +0 -4
  463. package/mdc-radio/module.d.ts +0 -9
  464. package/mdc-radio/package.json +0 -9
  465. package/mdc-radio/public-api.d.ts +0 -10
  466. package/mdc-radio/radio.d.ts +0 -53
  467. package/mdc-radio/testing/package.json +0 -9
  468. package/mdc-radio/testing/public-api.d.ts +0 -9
  469. package/mdc-radio/testing/radio-harness.d.ts +0 -36
  470. package/mdc-select/mdc-select_public_index.d.ts +0 -4
  471. package/mdc-select/module.d.ts +0 -12
  472. package/mdc-select/package.json +0 -9
  473. package/mdc-select/public-api.d.ts +0 -11
  474. package/mdc-select/select-animations.d.ts +0 -23
  475. package/mdc-select/select-errors.d.ts +0 -26
  476. package/mdc-select/select.d.ts +0 -54
  477. package/mdc-select/testing/package.json +0 -9
  478. package/mdc-select/testing/public-api.d.ts +0 -9
  479. package/mdc-select/testing/select-harness-filters.d.ts +0 -11
  480. package/mdc-select/testing/select-harness.d.ts +0 -25
  481. package/mdc-slide-toggle/mdc-slide-toggle_public_index.d.ts +0 -4
  482. package/mdc-slide-toggle/module.d.ts +0 -10
  483. package/mdc-slide-toggle/package.json +0 -9
  484. package/mdc-slide-toggle/public-api.d.ts +0 -11
  485. package/mdc-slide-toggle/slide-toggle-config.d.ts +0 -18
  486. package/mdc-slide-toggle/slide-toggle.d.ts +0 -107
  487. package/mdc-slide-toggle/testing/package.json +0 -9
  488. package/mdc-slide-toggle/testing/public-api.d.ts +0 -9
  489. package/mdc-slide-toggle/testing/slide-toggle-harness.d.ts +0 -25
  490. package/mdc-slider/global-change-and-input-listener.d.ts +0 -29
  491. package/mdc-slider/mdc-slider_public_index.d.ts +0 -4
  492. package/mdc-slider/module.d.ts +0 -9
  493. package/mdc-slider/package.json +0 -9
  494. package/mdc-slider/public-api.d.ts +0 -9
  495. package/mdc-slider/slider.d.ts +0 -373
  496. package/mdc-slider/testing/package.json +0 -9
  497. package/mdc-slider/testing/public-api.d.ts +0 -10
  498. package/mdc-slider/testing/slider-harness-filters.d.ts +0 -23
  499. package/mdc-slider/testing/slider-harness.d.ts +0 -35
  500. package/mdc-slider/testing/slider-thumb-harness.d.ts +0 -52
  501. package/mdc-snack-bar/mdc-snack-bar_public_index.d.ts +0 -4
  502. package/mdc-snack-bar/module.d.ts +0 -14
  503. package/mdc-snack-bar/package.json +0 -9
  504. package/mdc-snack-bar/public-api.d.ts +0 -13
  505. package/mdc-snack-bar/simple-snack-bar.d.ts +0 -19
  506. package/mdc-snack-bar/snack-bar-container.d.ts +0 -80
  507. package/mdc-snack-bar/snack-bar-content.d.ts +0 -16
  508. package/mdc-snack-bar/snack-bar.d.ts +0 -26
  509. package/mdc-snack-bar/testing/package.json +0 -9
  510. package/mdc-snack-bar/testing/public-api.d.ts +0 -9
  511. package/mdc-snack-bar/testing/snack-bar-harness.d.ts +0 -24
  512. package/mdc-table/cell.d.ts +0 -59
  513. package/mdc-table/mdc-table_public_index.d.ts +0 -4
  514. package/mdc-table/module.d.ts +0 -12
  515. package/mdc-table/package.json +0 -9
  516. package/mdc-table/public-api.d.ts +0 -14
  517. package/mdc-table/row.d.ts +0 -55
  518. package/mdc-table/table-data-source.d.ts +0 -23
  519. package/mdc-table/table.d.ts +0 -27
  520. package/mdc-table/testing/cell-harness.d.ts +0 -44
  521. package/mdc-table/testing/package.json +0 -9
  522. package/mdc-table/testing/public-api.d.ts +0 -11
  523. package/mdc-table/testing/row-harness.d.ts +0 -48
  524. package/mdc-table/testing/table-harness.d.ts +0 -24
  525. package/mdc-table/text-column.d.ts +0 -22
  526. package/mdc-tabs/ink-bar.d.ts +0 -72
  527. package/mdc-tabs/mdc-tabs_public_index.d.ts +0 -4
  528. package/mdc-tabs/module.d.ts +0 -19
  529. package/mdc-tabs/package.json +0 -9
  530. package/mdc-tabs/public-api.d.ts +0 -18
  531. package/mdc-tabs/tab-body.d.ts +0 -31
  532. package/mdc-tabs/tab-content.d.ts +0 -7
  533. package/mdc-tabs/tab-group.d.ts +0 -34
  534. package/mdc-tabs/tab-header.d.ts +0 -35
  535. package/mdc-tabs/tab-label-wrapper.d.ts +0 -28
  536. package/mdc-tabs/tab-label.d.ts +0 -7
  537. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -68
  538. package/mdc-tabs/tab.d.ts +0 -22
  539. package/mdc-tabs/testing/package.json +0 -9
  540. package/mdc-tabs/testing/public-api.d.ts +0 -12
  541. package/mdc-tabs/testing/tab-group-harness.d.ts +0 -35
  542. package/mdc-tabs/testing/tab-harness-filters.d.ts +0 -29
  543. package/mdc-tabs/testing/tab-harness.d.ts +0 -38
  544. package/mdc-tabs/testing/tab-link-harness.d.ts +0 -29
  545. package/mdc-tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  546. package/mdc-tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  547. package/mdc-tooltip/mdc-tooltip_public_index.d.ts +0 -4
  548. package/mdc-tooltip/module.d.ts +0 -12
  549. package/mdc-tooltip/package.json +0 -9
  550. package/mdc-tooltip/public-api.d.ts +0 -11
  551. package/mdc-tooltip/testing/package.json +0 -9
  552. package/mdc-tooltip/testing/public-api.d.ts +0 -9
  553. package/mdc-tooltip/testing/tooltip-harness.d.ts +0 -24
  554. package/mdc-tooltip/tooltip-animations.d.ts +0 -15
  555. package/mdc-tooltip/tooltip.d.ts +0 -52
  556. package/menubar/menubar-item.d.ts +0 -12
  557. package/menubar/menubar-module.d.ts +0 -9
  558. package/menubar/menubar.d.ts +0 -10
  559. package/menubar/menubar_public_index.d.ts +0 -4
  560. package/menubar/package.json +0 -9
  561. package/menubar/public-api.d.ts +0 -10
  562. package/popover-edit/lens-directives.d.ts +0 -22
  563. package/popover-edit/package.json +0 -9
  564. package/popover-edit/popover-edit-module.d.ts +0 -10
  565. package/popover-edit/popover-edit_public_index.d.ts +0 -4
  566. package/popover-edit/public-api.d.ts +0 -10
  567. package/popover-edit/table-directives.d.ts +0 -41
  568. package/public-api.d.ts +0 -8
  569. package/selection/package.json +0 -9
  570. package/selection/public-api.d.ts +0 -13
  571. package/selection/row-selection.d.ts +0 -22
  572. package/selection/select-all.d.ts +0 -23
  573. package/selection/selection-column.d.ts +0 -34
  574. package/selection/selection-module.d.ts +0 -14
  575. package/selection/selection-toggle.d.ts +0 -25
  576. package/selection/selection.d.ts +0 -22
  577. package/selection/selection_public_index.d.ts +0 -4
  578. package/version.d.ts +0 -10
@@ -1,8 +1,144 @@
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
- export * from './public-api';
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { BooleanInput } from '@angular/cdk/coercion';
3
+ import { ChangeDetectorRef } from '@angular/core';
4
+ import { ControlValueAccessor } from '@angular/forms';
5
+ import { ElementRef } from '@angular/core';
6
+ import { EventEmitter } from '@angular/core';
7
+ import { FocusMonitor } from '@angular/cdk/a11y';
8
+ import * as i0 from '@angular/core';
9
+ import * as i2 from '@angular/material/slide-toggle';
10
+ import * as i3 from '@angular/material-experimental/mdc-core';
11
+ import * as i4 from '@angular/common';
12
+ import { InjectionToken } from '@angular/core';
13
+ import { MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR } from '@angular/material/slide-toggle';
14
+ import { MatSlideToggleRequiredValidator } from '@angular/material/slide-toggle';
15
+ import { NumberInput } from '@angular/cdk/coercion';
16
+ import { OnDestroy } from '@angular/core';
17
+ import { ThemePalette } from '@angular/material-experimental/mdc-core';
18
+
19
+ declare namespace i1 {
20
+ export {
21
+ MAT_SLIDE_TOGGLE_VALUE_ACCESSOR,
22
+ MatSlideToggleChange,
23
+ MatSlideToggle
24
+ }
25
+ }
26
+
27
+ /** Injection token to be used to override the default options for `mat-slide-toggle`. */
28
+ export declare const MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatSlideToggleDefaultOptions>;
29
+
30
+ export { MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR }
31
+
32
+ /** @docs-private */
33
+ export declare const MAT_SLIDE_TOGGLE_VALUE_ACCESSOR: any;
34
+
35
+ export declare class MatSlideToggle implements ControlValueAccessor, AfterViewInit, OnDestroy {
36
+ private _elementRef;
37
+ private _focusMonitor;
38
+ private _changeDetectorRef;
39
+ defaults: MatSlideToggleDefaultOptions;
40
+ private _onChange;
41
+ private _onTouched;
42
+ private _uniqueId;
43
+ private _required;
44
+ private _checked;
45
+ private _foundation;
46
+ private _adapter;
47
+ /** Whether the slide toggle is currently focused. */
48
+ _focused: boolean;
49
+ /** Whether noop animations are enabled. */
50
+ _noopAnimations: boolean;
51
+ /** Unique ID for the label element. */
52
+ _labelId: string;
53
+ /** The color palette for this slide toggle. */
54
+ color: ThemePalette;
55
+ /** Name value will be applied to the button element if present. */
56
+ name: string | null;
57
+ /** A unique id for the slide-toggle button. If none is supplied, it will be auto-generated. */
58
+ id: string;
59
+ /** Tabindex for the input element. */
60
+ get tabIndex(): number;
61
+ set tabIndex(value: NumberInput);
62
+ private _tabIndex;
63
+ /** Whether the label should appear after or before the slide-toggle. Defaults to 'after'. */
64
+ labelPosition: 'before' | 'after';
65
+ /** Used to set the aria-label attribute on the underlying button element. */
66
+ ariaLabel: string | null;
67
+ /** Used to set the aria-labelledby attribute on the underlying button element. */
68
+ ariaLabelledby: string | null;
69
+ /** Used to set the aria-describedby attribute on the underlying button element. */
70
+ ariaDescribedby: string;
71
+ /** Whether the slide-toggle is required. */
72
+ get required(): boolean;
73
+ set required(value: BooleanInput);
74
+ /** Whether the slide-toggle element is checked or not. */
75
+ get checked(): boolean;
76
+ set checked(value: BooleanInput);
77
+ /** Whether to disable the ripple on this checkbox. */
78
+ get disableRipple(): boolean;
79
+ set disableRipple(disableRipple: BooleanInput);
80
+ private _disableRipple;
81
+ /** Whether the slide toggle is disabled. */
82
+ get disabled(): boolean;
83
+ set disabled(disabled: BooleanInput);
84
+ private _disabled;
85
+ /** An event will be dispatched each time the slide-toggle changes its value. */
86
+ readonly change: EventEmitter<MatSlideToggleChange>;
87
+ /** Event will be dispatched each time the slide-toggle input is toggled. */
88
+ readonly toggleChange: EventEmitter<void>;
89
+ /** Returns the unique id for the visual hidden button. */
90
+ get buttonId(): string;
91
+ /** Reference to the MDC switch element. */
92
+ _switchElement: ElementRef<HTMLElement>;
93
+ constructor(_elementRef: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, tabIndex: string, defaults: MatSlideToggleDefaultOptions, animationMode?: string);
94
+ ngAfterViewInit(): void;
95
+ ngOnDestroy(): void;
96
+ /** Method being called whenever the underlying button is clicked. */
97
+ _handleClick(event: Event): void;
98
+ /** Implemented as part of ControlValueAccessor. */
99
+ writeValue(value: any): void;
100
+ /** Implemented as part of ControlValueAccessor. */
101
+ registerOnChange(fn: any): void;
102
+ /** Implemented as part of ControlValueAccessor. */
103
+ registerOnTouched(fn: any): void;
104
+ /** Implemented as a part of ControlValueAccessor. */
105
+ setDisabledState(isDisabled: boolean): void;
106
+ /** Focuses the slide-toggle. */
107
+ focus(): void;
108
+ /** Toggles the checked state of the slide-toggle. */
109
+ toggle(): void;
110
+ _getAriaLabelledBy(): string | null;
111
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
112
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "color": "color"; "name": "name"; "id": "id"; "tabIndex": "tabIndex"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "required": "required"; "checked": "checked"; "disableRipple": "disableRipple"; "disabled": "disabled"; }, { "change": "change"; "toggleChange": "toggleChange"; }, never, ["*"], false>;
113
+ }
114
+
115
+ /** Change event object emitted by a MatSlideToggle. */
116
+ export declare class MatSlideToggleChange {
117
+ /** The source MatSlideToggle of the event. */
118
+ source: MatSlideToggle;
119
+ /** The new `checked` value of the MatSlideToggle. */
120
+ checked: boolean;
121
+ constructor(
122
+ /** The source MatSlideToggle of the event. */
123
+ source: MatSlideToggle,
124
+ /** The new `checked` value of the MatSlideToggle. */
125
+ checked: boolean);
126
+ }
127
+
128
+ /** Default `mat-slide-toggle` options that can be overridden. */
129
+ export declare interface MatSlideToggleDefaultOptions {
130
+ /** Whether toggle action triggers value changes in slide toggle. */
131
+ disableToggleValue?: boolean;
132
+ /** Default color for slide toggles. */
133
+ color?: ThemePalette;
134
+ }
135
+
136
+ export declare class MatSlideToggleModule {
137
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggleModule, never>;
138
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatSlideToggleModule, [typeof i1.MatSlideToggle], [typeof i2._MatSlideToggleRequiredValidatorModule, typeof i3.MatCommonModule, typeof i3.MatRippleModule, typeof i4.CommonModule], [typeof i2._MatSlideToggleRequiredValidatorModule, typeof i1.MatSlideToggle, typeof i3.MatCommonModule]>;
139
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatSlideToggleModule>;
140
+ }
141
+
142
+ export { MatSlideToggleRequiredValidator }
143
+
144
+ export { }
@@ -1,8 +1,26 @@
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
- export * from './public-api';
1
+ import { AsyncFactoryFn } from '@angular/cdk/testing';
2
+ import { HarnessPredicate } from '@angular/cdk/testing';
3
+ import { _MatSlideToggleHarnessBase } from '@angular/material/slide-toggle/testing';
4
+ import { SlideToggleHarnessFilters } from '@angular/material/slide-toggle/testing';
5
+ import { TestElement } from '@angular/cdk/testing';
6
+
7
+ /** Harness for interacting with a MDC-based mat-slide-toggle in tests. */
8
+ export declare class MatSlideToggleHarness extends _MatSlideToggleHarnessBase {
9
+ protected _nativeElement: AsyncFactoryFn<TestElement>;
10
+ static hostSelector: string;
11
+ /**
12
+ * Gets a `HarnessPredicate` that can be used to search for a slide-toggle w/ specific attributes.
13
+ * @param options Options for narrowing the search:
14
+ * - `selector` finds a slide-toggle whose host element matches the given selector.
15
+ * - `label` finds a slide-toggle with specific label text.
16
+ * @return a `HarnessPredicate` configured with the given options.
17
+ */
18
+ static with(options?: SlideToggleHarnessFilters): HarnessPredicate<MatSlideToggleHarness>;
19
+ toggle(): Promise<void>;
20
+ isRequired(): Promise<boolean>;
21
+ isChecked(): Promise<boolean>;
22
+ }
23
+
24
+ export { SlideToggleHarnessFilters }
25
+
26
+ export { }
@@ -1,8 +1,429 @@
1
+ import { _AbstractConstructor } from '@angular/material/core';
2
+ import { AfterViewInit } from '@angular/core';
3
+ import { BooleanInput } from '@angular/cdk/coercion';
4
+ import { CanColor } from '@angular/material/core';
5
+ import { CanDisableRipple } from '@angular/material/core';
6
+ import { ChangeDetectorRef } from '@angular/core';
7
+ import { _Constructor } from '@angular/material/core';
8
+ import { ControlValueAccessor } from '@angular/forms';
9
+ import { Directionality } from '@angular/cdk/bidi';
10
+ import { ElementRef } from '@angular/core';
11
+ import { EventEmitter } from '@angular/core';
12
+ import * as i0 from '@angular/core';
13
+ import * as i2 from '@angular/material-experimental/mdc-core';
14
+ import * as i3 from '@angular/common';
15
+ import { NgZone } from '@angular/core';
16
+ import { NumberInput } from '@angular/cdk/coercion';
17
+ import { OnDestroy } from '@angular/core';
18
+ import { OnInit } from '@angular/core';
19
+ import { Platform } from '@angular/cdk/platform';
20
+ import { QueryList } from '@angular/core';
21
+ import { RippleGlobalOptions } from '@angular/material/core';
22
+ import { SpecificEventListener } from '@material/base';
23
+ import { Subscription } from 'rxjs';
24
+ import { Thumb } from '@material/slider';
25
+ import { TickMark } from '@material/slider';
26
+
1
27
  /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
28
+ * Handles listening for all change and input events that occur on the document.
4
29
  *
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
30
+ * This service exposes a single method #listen to allow users to subscribe to change and input
31
+ * events that occur on the document. Since listening for these events can be expensive, we use
32
+ * #fromEvent which will lazily attach a listener when the first subscription is made and remove the
33
+ * listener once the last observer unsubscribes.
7
34
  */
8
- export * from './public-api';
35
+ declare class GlobalChangeAndInputListener<K extends 'change' | 'input'> implements OnDestroy {
36
+ private _ngZone;
37
+ /** The injected document if available or fallback to the global document reference. */
38
+ private _document;
39
+ /** Stores the subjects that emit the events that occur on the global document. */
40
+ private _observables;
41
+ /** The notifier that triggers the global event observables to stop emitting and complete. */
42
+ private _destroyed;
43
+ constructor(document: any, _ngZone: NgZone);
44
+ ngOnDestroy(): void;
45
+ /** Returns a subscription to global change or input events. */
46
+ listen(type: K, callback: SpecificEventListener<K>): Subscription;
47
+ /** Creates an observable that emits all events of the given type. */
48
+ private _createGlobalEventObservable;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalChangeAndInputListener<any>, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlobalChangeAndInputListener<any>>;
51
+ }
52
+
53
+ declare namespace i1 {
54
+ export {
55
+ MatSliderDragEvent,
56
+ MatSliderVisualThumb,
57
+ MatSliderThumb,
58
+ MatSlider
59
+ }
60
+ }
61
+
62
+ /**
63
+ * Allows users to select from a range of values by moving the slider thumb. It is similar in
64
+ * behavior to the native `<input type="range">` element.
65
+ */
66
+ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewInit, CanDisableRipple, OnDestroy {
67
+ readonly _ngZone: NgZone;
68
+ readonly _cdr: ChangeDetectorRef;
69
+ private readonly _platform;
70
+ readonly _globalChangeAndInputListener: GlobalChangeAndInputListener<'input' | 'change'>;
71
+ private _dir;
72
+ readonly _globalRippleOptions?: RippleGlobalOptions | undefined;
73
+ /** The slider thumb(s). */
74
+ _thumbs: QueryList<MatSliderVisualThumb>;
75
+ /** The active section of the slider track. */
76
+ _trackActive: ElementRef<HTMLElement>;
77
+ /** The sliders hidden range input(s). */
78
+ _inputs: QueryList<MatSliderThumb>;
79
+ /** Whether the slider is disabled. */
80
+ get disabled(): boolean;
81
+ set disabled(v: BooleanInput);
82
+ private _disabled;
83
+ /** Whether the slider displays a numeric value label upon pressing the thumb. */
84
+ get discrete(): boolean;
85
+ set discrete(v: BooleanInput);
86
+ private _discrete;
87
+ /** Whether the slider displays tick marks along the slider track. */
88
+ get showTickMarks(): boolean;
89
+ set showTickMarks(v: BooleanInput);
90
+ private _showTickMarks;
91
+ /** The minimum value that the slider can have. */
92
+ get min(): number;
93
+ set min(v: NumberInput);
94
+ private _min;
95
+ /** The maximum value that the slider can have. */
96
+ get max(): number;
97
+ set max(v: NumberInput);
98
+ private _max;
99
+ /** The values at which the thumb will snap. */
100
+ get step(): number;
101
+ set step(v: NumberInput);
102
+ private _step;
103
+ /**
104
+ * Function that will be used to format the value before it is displayed
105
+ * in the thumb label. Can be used to format very large number in order
106
+ * for them to fit into the slider thumb.
107
+ */
108
+ displayWith: (value: number) => string;
109
+ /** Instance of the MDC slider foundation for this slider. */
110
+ private _foundation;
111
+ /** Whether the foundation has been initialized. */
112
+ _initialized: boolean;
113
+ /** The injected document if available or fallback to the global document reference. */
114
+ _document: Document;
115
+ /**
116
+ * The defaultView of the injected document if
117
+ * available or fallback to global window reference.
118
+ */
119
+ _window: Window;
120
+ /** Used to keep track of & render the active & inactive tick marks on the slider track. */
121
+ _tickMarks: TickMark[];
122
+ /** The display value of the start thumb. */
123
+ _startValueIndicatorText: string;
124
+ /** The display value of the end thumb. */
125
+ _endValueIndicatorText: string;
126
+ /** Whether animations have been disabled. */
127
+ _noopAnimations: boolean;
128
+ /**
129
+ * Whether the browser supports pointer events.
130
+ *
131
+ * We exclude iOS to mirror the MDC Foundation. The MDC Foundation cannot use pointer events on
132
+ * iOS because of this open bug - https://bugs.webkit.org/show_bug.cgi?id=220196.
133
+ */
134
+ private _SUPPORTS_POINTER_EVENTS;
135
+ /** Subscription to changes to the directionality (LTR / RTL) context for the application. */
136
+ private _dirChangeSubscription;
137
+ /** Observer used to monitor size changes in the slider. */
138
+ private _resizeObserver;
139
+ /** Timeout used to debounce resize listeners. */
140
+ private _resizeTimer;
141
+ constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _platform: Platform, _globalChangeAndInputListener: GlobalChangeAndInputListener<'input' | 'change'>, document: any, _dir: Directionality, _globalRippleOptions?: RippleGlobalOptions | undefined, animationMode?: string);
142
+ ngAfterViewInit(): void;
143
+ ngOnDestroy(): void;
144
+ /** Returns true if the language direction for this slider element is right to left. */
145
+ _isRTL(): boolean;
146
+ /**
147
+ * Attaches an event listener that keeps sync the slider UI and the foundation in sync.
148
+ *
149
+ * Because the MDC Foundation stores the value of the bounding client rect when layout is called,
150
+ * we need to keep calling layout to avoid the position of the slider getting out of sync with
151
+ * what the foundation has stored. If we don't do this, the foundation will not be able to
152
+ * correctly calculate the slider value on click/slide.
153
+ */
154
+ _attachUISyncEventListener(): void;
155
+ /** Removes the event listener that keeps sync the slider UI and the foundation in sync. */
156
+ _removeUISyncEventListener(): void;
157
+ /** Wrapper function for calling layout (needed for adding & removing an event listener). */
158
+ private _layout;
159
+ /**
160
+ * Reinitializes the slider foundation and input state(s).
161
+ *
162
+ * The MDC Foundation does not support changing some slider attributes after it has been
163
+ * initialized (e.g. min, max, and step). To continue supporting this feature, we need to
164
+ * destroy the foundation and re-initialize everything whenever we make these changes.
165
+ */
166
+ private _reinitialize;
167
+ /** Handles updating the slider foundation after a dir change. */
168
+ private _onDirChange;
169
+ /** Sets the value of a slider thumb. */
170
+ _setValue(value: number, thumbPosition: Thumb): void;
171
+ /** Sets the disabled state of the MatSlider. */
172
+ private _setDisabled;
173
+ /** Sets the disabled state of the individual slider thumb(s) (ControlValueAccessor). */
174
+ private _updateInputsDisabledState;
175
+ /** Whether this is a ranged slider. */
176
+ _isRange(): boolean;
177
+ /** Sets the disabled state based on the disabled state of the inputs (ControlValueAccessor). */
178
+ _updateDisabled(): void;
179
+ /** Gets the slider thumb input of the given thumb position. */
180
+ _getInput(thumbPosition: Thumb): MatSliderThumb;
181
+ /** Gets the slider thumb HTML input element of the given thumb position. */
182
+ _getInputElement(thumbPosition: Thumb): HTMLInputElement;
183
+ _getThumb(thumbPosition: Thumb): MatSliderVisualThumb;
184
+ /** Gets the slider thumb HTML element of the given thumb position. */
185
+ _getThumbElement(thumbPosition: Thumb): HTMLElement;
186
+ /** Gets the slider knob HTML element of the given thumb position. */
187
+ _getKnobElement(thumbPosition: Thumb): HTMLElement;
188
+ /**
189
+ * Gets the slider value indicator container HTML element of the given thumb
190
+ * position.
191
+ */
192
+ _getValueIndicatorContainerElement(thumbPosition: Thumb): HTMLElement;
193
+ /**
194
+ * Sets the value indicator text of the given thumb position using the given value.
195
+ *
196
+ * Uses the `displayWith` function if one has been provided. Otherwise, it just uses the
197
+ * numeric value as a string.
198
+ */
199
+ _setValueIndicatorText(value: number, thumbPosition: Thumb): void;
200
+ /** Gets the value indicator text for the given thumb position. */
201
+ _getValueIndicatorText(thumbPosition: Thumb): string;
202
+ /** Determines the class name for a HTML element. */
203
+ _getTickMarkClass(tickMark: TickMark): string;
204
+ /** Whether the slider thumb ripples should be disabled. */
205
+ _isRippleDisabled(): boolean;
206
+ /** Starts observing and updating the slider if the host changes its size. */
207
+ private _observeHostResize;
208
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSlider, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
209
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSlider, "mat-slider", ["matSlider"], { "color": "color"; "disableRipple": "disableRipple"; "disabled": "disabled"; "discrete": "discrete"; "showTickMarks": "showTickMarks"; "min": "min"; "max": "max"; "step": "step"; "displayWith": "displayWith"; }, {}, ["_inputs"], ["*"], false>;
210
+ }
211
+
212
+ /** Represents a drag event emitted by the MatSlider component. */
213
+ export declare interface MatSliderDragEvent {
214
+ /** The MatSliderThumb that was interacted with. */
215
+ source: MatSliderThumb;
216
+ /** The MatSlider that was interacted with. */
217
+ parent: MatSlider;
218
+ /** The current value of the slider. */
219
+ value: number;
220
+ }
221
+
222
+ declare const _MatSliderMixinBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & {
223
+ new (_elementRef: ElementRef<HTMLElement>): {
224
+ _elementRef: ElementRef<HTMLElement>;
225
+ };
226
+ };
227
+
228
+ export declare class MatSliderModule {
229
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSliderModule, never>;
230
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatSliderModule, [typeof i1.MatSlider, typeof i1.MatSliderThumb, typeof i1.MatSliderVisualThumb], [typeof i2.MatCommonModule, typeof i3.CommonModule, typeof i2.MatRippleModule], [typeof i1.MatSlider, typeof i1.MatSliderThumb]>;
231
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatSliderModule>;
232
+ }
233
+
234
+ /**
235
+ * Directive that adds slider-specific behaviors to an input element inside `<mat-slider>`.
236
+ * Up to two may be placed inside of a `<mat-slider>`.
237
+ *
238
+ * If one is used, the selector `matSliderThumb` must be used, and the outcome will be a normal
239
+ * slider. If two are used, the selectors `matSliderStartThumb` and `matSliderEndThumb` must be
240
+ * used, and the outcome will be a range slider with two slider thumbs.
241
+ */
242
+ export declare class MatSliderThumb implements AfterViewInit, ControlValueAccessor, OnInit, OnDestroy {
243
+ private readonly _slider;
244
+ private readonly _elementRef;
245
+ /** The current value of this slider input. */
246
+ get value(): number;
247
+ set value(v: NumberInput);
248
+ /**
249
+ * Emits when the raw value of the slider changes. This is here primarily
250
+ * to facilitate the two-way binding for the `value` input.
251
+ * @docs-private
252
+ */
253
+ readonly valueChange: EventEmitter<number>;
254
+ /** Event emitted when the slider thumb starts being dragged. */
255
+ readonly dragStart: EventEmitter<MatSliderDragEvent>;
256
+ /** Event emitted when the slider thumb stops being dragged. */
257
+ readonly dragEnd: EventEmitter<MatSliderDragEvent>;
258
+ /** Event emitted every time the MatSliderThumb is blurred. */
259
+ readonly _blur: EventEmitter<void>;
260
+ /** Event emitted every time the MatSliderThumb is focused. */
261
+ readonly _focus: EventEmitter<void>;
262
+ /**
263
+ * Used to determine the disabled state of the MatSlider (ControlValueAccessor).
264
+ * For ranged sliders, the disabled state of the MatSlider depends on the combined state of the
265
+ * start and end inputs. See MatSlider._updateDisabled.
266
+ */
267
+ _disabled: boolean;
268
+ /**
269
+ * A callback function that is called when the
270
+ * control's value changes in the UI (ControlValueAccessor).
271
+ */
272
+ _onChange: (value: any) => void;
273
+ /**
274
+ * A callback function that is called by the forms API on
275
+ * initialization to update the form model on blur (ControlValueAccessor).
276
+ */
277
+ private _onTouched;
278
+ /** Indicates which slider thumb this input corresponds to. */
279
+ _thumbPosition: Thumb;
280
+ /** The injected document if available or fallback to the global document reference. */
281
+ private _document;
282
+ /** The host native HTML input element. */
283
+ _hostElement: HTMLInputElement;
284
+ constructor(document: any, _slider: MatSlider, _elementRef: ElementRef<HTMLInputElement>);
285
+ ngOnInit(): void;
286
+ ngAfterViewInit(): void;
287
+ ngOnDestroy(): void;
288
+ _onBlur(): void;
289
+ _emitFakeEvent(type: 'change' | 'input'): void;
290
+ /**
291
+ * Sets the model value. Implemented as part of ControlValueAccessor.
292
+ * @param value
293
+ */
294
+ writeValue(value: any): void;
295
+ /**
296
+ * Registers a callback to be triggered when the value has changed.
297
+ * Implemented as part of ControlValueAccessor.
298
+ * @param fn Callback to be registered.
299
+ */
300
+ registerOnChange(fn: any): void;
301
+ /**
302
+ * Registers a callback to be triggered when the component is touched.
303
+ * Implemented as part of ControlValueAccessor.
304
+ * @param fn Callback to be registered.
305
+ */
306
+ registerOnTouched(fn: any): void;
307
+ /**
308
+ * Sets whether the component should be disabled.
309
+ * Implemented as part of ControlValueAccessor.
310
+ * @param isDisabled
311
+ */
312
+ setDisabledState(isDisabled: boolean): void;
313
+ focus(): void;
314
+ blur(): void;
315
+ /** Returns true if this slider input currently has focus. */
316
+ _isFocused(): boolean;
317
+ /**
318
+ * Sets the min, max, and step properties on the slider thumb input.
319
+ *
320
+ * Must be called AFTER the sibling slider thumb input is guaranteed to have had its value
321
+ * attribute value set. For a range slider, the min and max of the slider thumb input depends on
322
+ * the value of its sibling slider thumb inputs value.
323
+ *
324
+ * Must be called BEFORE the value property is set. In the case where the min and max have not
325
+ * yet been set and we are setting the input value property to a value outside of the native
326
+ * inputs default min or max. The value property would not be set to our desired value, but
327
+ * instead be capped at either the default min or max.
328
+ *
329
+ */
330
+ _initializeInputState(): void;
331
+ /**
332
+ * Sets the value property on the slider thumb input.
333
+ *
334
+ * Must be called AFTER the min and max have been set. In the case where the min and max have not
335
+ * yet been set and we are setting the input value property to a value outside of the native
336
+ * inputs default min or max. The value property would not be set to our desired value, but
337
+ * instead be capped at either the default min or max.
338
+ */
339
+ private _initializeInputValueProperty;
340
+ /**
341
+ * Ensures the value attribute is initialized.
342
+ *
343
+ * Must be called BEFORE the min and max are set. For a range slider, the min and max of the
344
+ * slider thumb input depends on the value of its sibling slider thumb inputs value.
345
+ */
346
+ private _initializeInputValueAttribute;
347
+ /**
348
+ * Initializes the aria-valuetext attribute.
349
+ *
350
+ * Must be called AFTER the value attribute is set. This is because the slider's parent
351
+ * `displayWith` function is used to set the `aria-valuetext` attribute.
352
+ */
353
+ private _initializeAriaValueText;
354
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSliderThumb, never>;
355
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatSliderThumb, "input[matSliderThumb], input[matSliderStartThumb], input[matSliderEndThumb]", ["matSliderThumb"], { "value": "value"; }, { "valueChange": "valueChange"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; "_blur": "_blur"; "_focus": "_focus"; }, never, never, false>;
356
+ }
357
+
358
+ /**
359
+ * The visual slider thumb.
360
+ *
361
+ * Handles the slider thumb ripple states (hover, focus, and active),
362
+ * and displaying the value tooltip on discrete sliders.
363
+ * @docs-private
364
+ */
365
+ declare class MatSliderVisualThumb implements AfterViewInit, OnDestroy {
366
+ private readonly _ngZone;
367
+ private readonly _slider;
368
+ private readonly _elementRef;
369
+ /** Whether the slider displays a numeric value label upon pressing the thumb. */
370
+ discrete: boolean;
371
+ /** Indicates which slider thumb this input corresponds to. */
372
+ thumbPosition: Thumb;
373
+ /** The display value of the slider thumb. */
374
+ valueIndicatorText: string;
375
+ /** Whether ripples on the slider thumb should be disabled. */
376
+ disableRipple: boolean;
377
+ /** The MatRipple for this slider thumb. */
378
+ private readonly _ripple;
379
+ /** The slider thumb knob. */
380
+ _knob: ElementRef<HTMLElement>;
381
+ /** The slider thumb value indicator container. */
382
+ _valueIndicatorContainer: ElementRef<HTMLElement>;
383
+ /** The slider input corresponding to this slider thumb. */
384
+ private _sliderInput;
385
+ /** The RippleRef for the slider thumbs hover state. */
386
+ private _hoverRippleRef;
387
+ /** The RippleRef for the slider thumbs focus state. */
388
+ private _focusRippleRef;
389
+ /** The RippleRef for the slider thumbs active state. */
390
+ private _activeRippleRef;
391
+ /** Whether the slider thumb is currently being pressed. */
392
+ private _isActive;
393
+ /** Whether the slider thumb is currently being hovered. */
394
+ private _isHovered;
395
+ constructor(_ngZone: NgZone, _slider: MatSlider, _elementRef: ElementRef<HTMLElement>);
396
+ ngAfterViewInit(): void;
397
+ ngOnDestroy(): void;
398
+ /** Used to append a class to indicate when the value indicator text is short. */
399
+ _isShortValue(): boolean;
400
+ private _onMouseEnter;
401
+ private _onMouseLeave;
402
+ private _onFocus;
403
+ private _onBlur;
404
+ private _onDragStart;
405
+ private _onDragEnd;
406
+ /** Handles displaying the hover ripple. */
407
+ private _showHoverRipple;
408
+ /** Handles displaying the focus ripple. */
409
+ private _showFocusRipple;
410
+ /** Handles displaying the active ripple. */
411
+ private _showActiveRipple;
412
+ /** Whether the given rippleRef is currently fading in or visible. */
413
+ private _isShowingRipple;
414
+ /** Manually launches the slider thumb ripple using the specified ripple animation config. */
415
+ private _showRipple;
416
+ /** Gets the hosts native HTML element. */
417
+ _getHostElement(): HTMLElement;
418
+ /** Gets the native HTML element of the slider thumb knob. */
419
+ _getKnob(): HTMLElement;
420
+ /**
421
+ * Gets the native HTML element of the slider thumb value indicator
422
+ * container.
423
+ */
424
+ _getValueIndicatorContainer(): HTMLElement;
425
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSliderVisualThumb, never>;
426
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSliderVisualThumb, "mat-slider-visual-thumb", never, { "discrete": "discrete"; "thumbPosition": "thumbPosition"; "valueIndicatorText": "valueIndicatorText"; "disableRipple": "disableRipple"; }, {}, never, never, false>;
427
+ }
428
+
429
+ export { }