@covalent/components 8.23.1 → 9.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/{_commonjsHelpers-2f131a27.mjs → _commonjsHelpers-DjF3Plf2.mjs} +2 -4
  2. package/action-ribbon.js +5 -6
  3. package/action-ribbon.mjs +47 -51
  4. package/alert.js +5 -6
  5. package/alert.mjs +48 -52
  6. package/app-shell.js +1 -2
  7. package/app-shell.mjs +13 -30
  8. package/{async-directive-99a01ec7.mjs → async-directive-Cx1B9M5C.mjs} +11 -23
  9. package/{async-directive-4a34f75e.js → async-directive-y3fBDDSk.js} +1 -1
  10. package/badge.js +1 -2
  11. package/badge.mjs +10 -12
  12. package/{base-element-acf30176.mjs → base-element-C-U4OfWx.mjs} +2 -2
  13. package/{base-element-58a3f9ea.js → base-element-aUDWLn36.js} +1 -1
  14. package/button.js +2 -3
  15. package/button.mjs +18 -23
  16. package/card.js +8 -9
  17. package/card.mjs +36 -38
  18. package/check-list-item.js +11 -15
  19. package/check-list-item.mjs +53 -70
  20. package/checkbox.js +1 -2
  21. package/checkbox.mjs +15 -31
  22. package/{chip-c65a4549.js → chip-BsDYOEFW.js} +31 -32
  23. package/{chip-fb0ea5c5.mjs → chip-C8L37ovG.mjs} +110 -117
  24. package/chip-set.js +5 -6
  25. package/chip-set.mjs +73 -83
  26. package/chip.js +1 -1
  27. package/chip.mjs +4 -13
  28. package/circular-progress.js +1 -1
  29. package/circular-progress.mjs +9 -10
  30. package/{class-map-6e504a9a.mjs → class-map-C1SJpero.mjs} +4 -6
  31. package/{class-map-0a4c6ca9.js → class-map-C8G1ALWK.js} +1 -1
  32. package/{code-editor-712d0ce9.mjs → code-editor-CxQzms2S.mjs} +13485 -13720
  33. package/code-editor-hT6MTCL6.js +660 -0
  34. package/code-editor.js +1 -1
  35. package/code-editor.mjs +3 -6
  36. package/code-snippet.js +5 -6
  37. package/code-snippet.mjs +235 -284
  38. package/{dialog-78a9fd0e.mjs → dialog-BoNH4r3n.mjs} +23 -25
  39. package/{dialog-83104700.js → dialog-LUOzoMeO.js} +6 -7
  40. package/dialog.js +1 -1
  41. package/dialog.mjs +4 -13
  42. package/directive-C7oCP5Bh.js +5 -0
  43. package/{directive-helpers-e3ea6592.mjs → directive-helpers-CllkNDrI.mjs} +1 -1
  44. package/{directive-helpers-0ce1f995.js → directive-helpers-Duf3sfLn.js} +1 -1
  45. package/{directive-daf4e9b6.mjs → directive-oAbCiebi.mjs} +4 -4
  46. package/drawer.js +2 -3
  47. package/drawer.mjs +7 -17
  48. package/empty-state.js +2 -3
  49. package/empty-state.mjs +12 -15
  50. package/{event-options-3f5eb195.js → event-options-BH8ks-kz.js} +1 -1
  51. package/{event-options-78d6cf94.mjs → event-options-CNykeE2u.mjs} +1 -1
  52. package/expansion-panel-item.js +1 -2
  53. package/expansion-panel-item.mjs +6 -9
  54. package/expansion-panel.js +1 -1
  55. package/expansion-panel.mjs +2 -2
  56. package/focused-page.js +1 -2
  57. package/focused-page.mjs +13 -16
  58. package/{form-element-abadd335.mjs → form-element-CxSqbssX.mjs} +4 -4
  59. package/{form-element-c553d6f5.js → form-element-DwqUbs65.js} +1 -1
  60. package/formfield.js +6 -7
  61. package/formfield.mjs +19 -23
  62. package/{foundation-e980aa3d.js → foundation-CySCCTUE.js} +3 -3
  63. package/{foundation-d533452a.mjs → foundation-qQ4jzaAu.mjs} +11 -13
  64. package/full-screen-dialog.js +4 -5
  65. package/full-screen-dialog.mjs +13 -22
  66. package/{html-021d0b5b.mjs → html-BFM6gjw5.mjs} +13 -18
  67. package/html-BMgGKfr0.js +6 -0
  68. package/icon-button-toggle.js +11 -16
  69. package/icon-button-toggle.mjs +68 -78
  70. package/icon-button.js +6 -11
  71. package/icon-button.mjs +56 -66
  72. package/icon-check-toggle.js +6 -7
  73. package/icon-check-toggle.mjs +10 -23
  74. package/icon-radio-toggle.js +4 -5
  75. package/icon-radio-toggle.mjs +13 -29
  76. package/icon.js +1 -5
  77. package/icon.mjs +13 -20
  78. package/{if-defined-c367f208.mjs → if-defined-BsNkRMMG.mjs} +1 -1
  79. package/{if-defined-f1c45245.js → if-defined-D8C6ewRn.js} +1 -1
  80. package/index.js +1 -1
  81. package/index.mjs +110 -150
  82. package/{inert.esm-359d4581.mjs → inert.esm-BJ7IrRxy.mjs} +3 -4
  83. package/{javascript-5b83986c.js → javascript-20JK5_5Y.js} +1 -1
  84. package/{javascript-d2604785.mjs → javascript-BVQ0GGQP.mjs} +4 -10
  85. package/linear-progress.js +2 -3
  86. package/linear-progress.mjs +12 -14
  87. package/list-item-BZVW1fmJ.js +5 -0
  88. package/list-item-DCzzLVZh.mjs +11 -0
  89. package/list-item.js +5 -5
  90. package/list-item.mjs +21 -32
  91. package/list.js +3 -8
  92. package/list.mjs +18 -38
  93. package/menu.js +3 -8
  94. package/menu.mjs +18 -39
  95. package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-Cd0yCOHu.js} +42 -2
  96. package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-MBOzkrQg.mjs} +198 -3
  97. package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-D-48lqfn.js} +5 -5
  98. package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-Dgs9327G.mjs} +24 -26
  99. package/{mwc-icon-5227aec3.mjs → mwc-icon-BZRds8SY.mjs} +6 -5
  100. package/{mwc-icon-f87639bc.js → mwc-icon-BumH81hp.js} +2 -2
  101. package/mwc-icon-button.css-BtgKBOl3.js +5 -0
  102. package/mwc-icon-button.css-DJMY7U7e.mjs +10 -0
  103. package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-DvPWr3ER.js} +1 -1
  104. package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-zhm5Zc8i.mjs} +7 -7
  105. package/{list-item-8b940ec8.js → mwc-list-item.css-CtRq5wSu.js} +28 -6
  106. package/{list-item-ef175b93.mjs → mwc-list-item.css-g34xqhLC.mjs} +199 -9
  107. package/mwc-list.css-CaMJWsDp.js +111 -0
  108. package/{mwc-list-base-402e1d8e.mjs → mwc-list.css-DFOdJyFB.mjs} +213 -213
  109. package/{mwc-menu-base-04586160.mjs → mwc-menu.css-BEiPghgR.mjs} +90 -92
  110. package/{mwc-menu-base-08f54c38.js → mwc-menu.css-pxcxlTrh.js} +22 -22
  111. package/mwc-radio.css-CVMtIq-L.js +105 -0
  112. package/{mwc-radio-base-768b4221.mjs → mwc-radio.css-XRx0vL1k.mjs} +124 -118
  113. package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-2Bqk43z7.mjs} +200 -211
  114. package/{mwc-slider.css-c5f99704.js → mwc-slider.css-WrkrmqkL.js} +6 -6
  115. package/{mwc-tab-base-0814a3ef.mjs → mwc-tab.css-B9yQpkYf.mjs} +126 -122
  116. package/{mwc-tab-base-f2269fd1.js → mwc-tab.css-CgdXMZBB.js} +26 -22
  117. package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-B0EW9eNk.mjs} +13 -15
  118. package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-CSXRBOiX.js} +3 -3
  119. package/nav-list-item.js +4 -5
  120. package/nav-list-item.mjs +12 -23
  121. package/notebook-cell.js +8 -9
  122. package/notebook-cell.mjs +14 -29
  123. package/package.json +1 -1
  124. package/python-B8sEpp0H.js +6 -0
  125. package/{python-0707b744.mjs → python-BRZC-1dQ.mjs} +11 -16
  126. package/query-BBDQWsft.mjs +15 -0
  127. package/query-BxDs8ftQ.js +5 -0
  128. package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-DCt2xozt.mjs} +32 -57
  129. package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-B9zBfkh6.mjs} +1 -1
  130. package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-CckKHm2z.js} +1 -1
  131. package/radio-list-item.js +9 -13
  132. package/radio-list-item.mjs +50 -66
  133. package/radio.js +1 -2
  134. package/radio.mjs +15 -32
  135. package/{ripple-handlers-9fb4a31a.js → ripple-handlers-CzfSBjWo.js} +8 -8
  136. package/{ripple-handlers-8883e893.mjs → ripple-handlers-i3WPEBiO.mjs} +20 -25
  137. package/select.js +15 -20
  138. package/select.mjs +196 -213
  139. package/side-sheet.js +1 -2
  140. package/side-sheet.mjs +18 -27
  141. package/slider-range.js +1 -1
  142. package/slider-range.mjs +15 -19
  143. package/slider.js +1 -1
  144. package/slider.mjs +18 -26
  145. package/snackbar.js +9 -10
  146. package/snackbar.mjs +30 -33
  147. package/{state-0974a8e5.js → state-C3HoXfoa.js} +1 -1
  148. package/{state-b5e865db.mjs → state-DaD9o2aK.mjs} +1 -1
  149. package/status-dialog/status-dialog.d.ts.map +1 -1
  150. package/status-dialog.js +15 -37
  151. package/status-dialog.mjs +47 -116
  152. package/status-header-item.js +1 -2
  153. package/status-header-item.mjs +7 -8
  154. package/status-header.js +4 -5
  155. package/status-header.mjs +22 -24
  156. package/{style-map-a135c6ab.js → style-map-BJBXlSqn.js} +1 -1
  157. package/{style-map-e7ec6d41.mjs → style-map-CCsABR5m.mjs} +4 -6
  158. package/style.css +1 -1
  159. package/switch.js +6 -7
  160. package/switch.mjs +20 -29
  161. package/tab-bar.js +18 -22
  162. package/tab-bar.mjs +192 -205
  163. package/tab.js +1 -6
  164. package/tab.mjs +13 -31
  165. package/text-lockup.js +1 -2
  166. package/text-lockup.mjs +14 -16
  167. package/textarea.js +15 -19
  168. package/textarea.mjs +53 -68
  169. package/textfield-BwmiygD8.js +136 -0
  170. package/textfield-C6sUZIeA.mjs +927 -0
  171. package/textfield.js +3 -7
  172. package/textfield.mjs +17 -37
  173. package/toolbar.js +1 -2
  174. package/toolbar.mjs +6 -13
  175. package/tooltip.js +3 -4
  176. package/tooltip.mjs +29 -40
  177. package/{top-app-bar-f83386e0.mjs → top-app-bar-4SA3DjLX.mjs} +2 -3
  178. package/{top-app-bar-a531c1b4.js → top-app-bar-CGjBuyiD.js} +2 -3
  179. package/top-app-bar-fixed.js +6 -6
  180. package/top-app-bar-fixed.mjs +24 -32
  181. package/top-app-bar.js +3 -3
  182. package/top-app-bar.mjs +18 -25
  183. package/tree-list-item.js +1 -2
  184. package/tree-list-item.mjs +9 -13
  185. package/tree-list.js +1 -2
  186. package/tree-list.mjs +6 -7
  187. package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-pPsSiLLK.mjs} +15 -26
  188. package/typescript-CqVUCaiQ.js +6 -0
  189. package/{typescript-399a453a.mjs → typescript-qqbekFoQ.mjs} +10 -15
  190. package/typography.js +1 -2
  191. package/typography.mjs +7 -8
  192. package/code-editor-b36fad77.js +0 -662
  193. package/directive-1186bc23.js +0 -5
  194. package/html-b2900c6a.js +0 -6
  195. package/mwc-checkbox-base-02b4eb91.mjs +0 -198
  196. package/mwc-checkbox-base-935d9566.js +0 -41
  197. package/mwc-list-base-22616d0a.js +0 -111
  198. package/mwc-list-item-base-06d93e6e.js +0 -28
  199. package/mwc-list-item-base-3c6a3bfb.mjs +0 -202
  200. package/mwc-radio-base-147cf999.js +0 -101
  201. package/mwc-radio.css-4e140252.js +0 -5
  202. package/mwc-radio.css-7454bb11.mjs +0 -10
  203. package/python-6a1f2ad7.js +0 -6
  204. package/query-680f1868.js +0 -5
  205. package/query-d843aa92.mjs +0 -25
  206. package/textfield-83e78e56.js +0 -133
  207. package/textfield-853ebae5.mjs +0 -933
  208. package/typescript-98fbdb3d.js +0 -6
  209. /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-6jR-N8xe.js} +0 -0
  210. /package/{aria-property-fa2717fe.mjs → aria-property-6O5bK0tV.mjs} +0 -0
  211. /package/{aria-property-849c8816.js → aria-property-Dl2ZKBbP.js} +0 -0
  212. /package/{css-9be95551.js → css-Bn4le2Sp.js} +0 -0
  213. /package/{css-5dd354ac.mjs → css-DjwjINlv.mjs} +0 -0
  214. /package/{foundation-2334d146.mjs → foundation-PL3XY-m_.mjs} +0 -0
  215. /package/{foundation-e830bd94.js → foundation-pgmPu2iJ.js} +0 -0
  216. /package/{inert.esm-2cee6f2e.js → inert.esm-CNFtJ8pb.js} +0 -0
  217. /package/{keyboard-983b121c.mjs → keyboard-BLpVBEDM.mjs} +0 -0
  218. /package/{keyboard-39125691.js → keyboard-CZlaSOb1.js} +0 -0
  219. /package/{markdown-eae8e3ba.js → markdown-CrnizovQ.js} +0 -0
  220. /package/{markdown-9b448c46.mjs → markdown-bAu8rWEZ.mjs} +0 -0
  221. /package/{observer-be7b92e2.mjs → observer-DQ8OfVDQ.mjs} +0 -0
  222. /package/{observer-a096ab43.js → observer-N9cgkDqh.js} +0 -0
  223. /package/{property-9b6ea53b.mjs → property-DJzm_oB9.mjs} +0 -0
  224. /package/{property-57f6f6fe.js → property-DYTC_2-m.js} +0 -0
  225. /package/{query-assigned-elements-f623705d.js → query-assigned-elements-4CafVNR8.js} +0 -0
  226. /package/{r-42c6f0aa.js → r-DKABafMl.js} +0 -0
  227. /package/{r-630f5d6b.mjs → r-rF4J5dF2.mjs} +0 -0
  228. /package/{sql-63ec8e76.mjs → sql-CL8qgBkR.mjs} +0 -0
  229. /package/{sql-faf05577.js → sql-CXm05EUD.js} +0 -0
  230. /package/{tslib.es6-98719205.js → tslib.es6-CHeFCc6E.js} +0 -0
  231. /package/{utils-dc65fdc9.mjs → utils-Dr5MegQq.mjs} +0 -0
  232. /package/{utils-a8190a39.js → utils-wMBJ9n_n.js} +0 -0
@@ -1,30 +1,24 @@
1
- import { _ as p } from "./tslib.es6-c4b0f3b1.mjs";
2
- import { i as z, e as B, x as P } from "./query-assigned-elements-4a39219d.mjs";
3
- import { L as H } from "./mwc-list-item-base-3c6a3bfb.mjs";
4
- import { B as K } from "./base-element-acf30176.mjs";
5
- import { o as L } from "./observer-be7b92e2.mjs";
6
- import { i as V, b as X, d as G } from "./utils-dc65fdc9.mjs";
7
- import { n as I } from "./property-9b6ea53b.mjs";
8
- import { i as $ } from "./query-d843aa92.mjs";
9
- import { o as k } from "./query-assigned-nodes-df691e78.mjs";
10
- import { l as U } from "./if-defined-c367f208.mjs";
11
- /**
12
- * @license
13
- * Copyright 2021 Google LLC
14
- * SPDX-LIcense-Identifier: Apache-2.0
15
- */
16
- const j = z`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`;
1
+ import { _ as h } from "./tslib.es6-pPsSiLLK.mjs";
2
+ import { e as k, x as P, i as H } from "./query-assigned-elements-DCt2xozt.mjs";
3
+ import { L as K, s as V } from "./mwc-list-item.css-g34xqhLC.mjs";
4
+ import { B as X } from "./base-element-C-U4OfWx.mjs";
5
+ import { o as y } from "./observer-DQ8OfVDQ.mjs";
6
+ import { i as G, b as z, d as $ } from "./utils-Dr5MegQq.mjs";
7
+ import { n as A } from "./property-DJzm_oB9.mjs";
8
+ import { i as j } from "./query-BBDQWsft.mjs";
9
+ import { o as W } from "./query-assigned-nodes-B9zBfkh6.mjs";
10
+ import { l as U } from "./if-defined-BsNkRMMG.mjs";
17
11
  /**
18
12
  * @license
19
13
  * Copyright 2020 Google LLC
20
14
  * SPDX-License-Identifier: Apache-2.0
21
15
  */
22
- let F = class extends H {
16
+ let D = class extends K {
23
17
  };
24
- F.styles = [j];
25
- F = p([
26
- B("mwc-list-item")
27
- ], F);
18
+ D.styles = [V];
19
+ D = h([
20
+ k("mwc-list-item")
21
+ ], D);
28
22
  /**
29
23
  * @license
30
24
  * Copyright 2016 Google Inc.
@@ -50,36 +44,36 @@ F = p([
50
44
  var Y = (
51
45
  /** @class */
52
46
  function() {
53
- function r(e) {
47
+ function n(e) {
54
48
  e === void 0 && (e = {}), this.adapter = e;
55
49
  }
56
- return Object.defineProperty(r, "cssClasses", {
50
+ return Object.defineProperty(n, "cssClasses", {
57
51
  get: function() {
58
52
  return {};
59
53
  },
60
54
  enumerable: !1,
61
55
  configurable: !0
62
- }), Object.defineProperty(r, "strings", {
56
+ }), Object.defineProperty(n, "strings", {
63
57
  get: function() {
64
58
  return {};
65
59
  },
66
60
  enumerable: !1,
67
61
  configurable: !0
68
- }), Object.defineProperty(r, "numbers", {
62
+ }), Object.defineProperty(n, "numbers", {
69
63
  get: function() {
70
64
  return {};
71
65
  },
72
66
  enumerable: !1,
73
67
  configurable: !0
74
- }), Object.defineProperty(r, "defaultAdapter", {
68
+ }), Object.defineProperty(n, "defaultAdapter", {
75
69
  get: function() {
76
70
  return {};
77
71
  },
78
72
  enumerable: !1,
79
73
  configurable: !0
80
- }), r.prototype.init = function() {
81
- }, r.prototype.destroy = function() {
82
- }, r;
74
+ }), n.prototype.init = function() {
75
+ }, n.prototype.destroy = function() {
76
+ }, n;
83
77
  }()
84
78
  );
85
79
  /**
@@ -104,7 +98,7 @@ var Y = (
104
98
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
99
  * THE SOFTWARE.
106
100
  */
107
- var a = {
101
+ var d = {
108
102
  UNKNOWN: "Unknown",
109
103
  BACKSPACE: "Backspace",
110
104
  ENTER: "Enter",
@@ -120,22 +114,22 @@ var a = {
120
114
  DELETE: "Delete",
121
115
  ESCAPE: "Escape",
122
116
  TAB: "Tab"
123
- }, c = /* @__PURE__ */ new Set();
124
- c.add(a.BACKSPACE);
125
- c.add(a.ENTER);
126
- c.add(a.SPACEBAR);
127
- c.add(a.PAGE_UP);
128
- c.add(a.PAGE_DOWN);
129
- c.add(a.END);
130
- c.add(a.HOME);
131
- c.add(a.ARROW_LEFT);
132
- c.add(a.ARROW_UP);
133
- c.add(a.ARROW_RIGHT);
134
- c.add(a.ARROW_DOWN);
135
- c.add(a.DELETE);
136
- c.add(a.ESCAPE);
137
- c.add(a.TAB);
138
- var h = {
117
+ }, l = /* @__PURE__ */ new Set();
118
+ l.add(d.BACKSPACE);
119
+ l.add(d.ENTER);
120
+ l.add(d.SPACEBAR);
121
+ l.add(d.PAGE_UP);
122
+ l.add(d.PAGE_DOWN);
123
+ l.add(d.END);
124
+ l.add(d.HOME);
125
+ l.add(d.ARROW_LEFT);
126
+ l.add(d.ARROW_UP);
127
+ l.add(d.ARROW_RIGHT);
128
+ l.add(d.ARROW_DOWN);
129
+ l.add(d.DELETE);
130
+ l.add(d.ESCAPE);
131
+ l.add(d.TAB);
132
+ var u = {
139
133
  BACKSPACE: 8,
140
134
  ENTER: 13,
141
135
  SPACEBAR: 32,
@@ -150,36 +144,36 @@ var h = {
150
144
  DELETE: 46,
151
145
  ESCAPE: 27,
152
146
  TAB: 9
153
- }, l = /* @__PURE__ */ new Map();
154
- l.set(h.BACKSPACE, a.BACKSPACE);
155
- l.set(h.ENTER, a.ENTER);
156
- l.set(h.SPACEBAR, a.SPACEBAR);
157
- l.set(h.PAGE_UP, a.PAGE_UP);
158
- l.set(h.PAGE_DOWN, a.PAGE_DOWN);
159
- l.set(h.END, a.END);
160
- l.set(h.HOME, a.HOME);
161
- l.set(h.ARROW_LEFT, a.ARROW_LEFT);
162
- l.set(h.ARROW_UP, a.ARROW_UP);
163
- l.set(h.ARROW_RIGHT, a.ARROW_RIGHT);
164
- l.set(h.ARROW_DOWN, a.ARROW_DOWN);
165
- l.set(h.DELETE, a.DELETE);
166
- l.set(h.ESCAPE, a.ESCAPE);
167
- l.set(h.TAB, a.TAB);
168
- var S = /* @__PURE__ */ new Set();
169
- S.add(a.PAGE_UP);
170
- S.add(a.PAGE_DOWN);
171
- S.add(a.END);
172
- S.add(a.HOME);
173
- S.add(a.ARROW_LEFT);
174
- S.add(a.ARROW_UP);
175
- S.add(a.ARROW_RIGHT);
176
- S.add(a.ARROW_DOWN);
177
- function A(r) {
178
- var e = r.key;
179
- if (c.has(e))
147
+ }, c = /* @__PURE__ */ new Map();
148
+ c.set(u.BACKSPACE, d.BACKSPACE);
149
+ c.set(u.ENTER, d.ENTER);
150
+ c.set(u.SPACEBAR, d.SPACEBAR);
151
+ c.set(u.PAGE_UP, d.PAGE_UP);
152
+ c.set(u.PAGE_DOWN, d.PAGE_DOWN);
153
+ c.set(u.END, d.END);
154
+ c.set(u.HOME, d.HOME);
155
+ c.set(u.ARROW_LEFT, d.ARROW_LEFT);
156
+ c.set(u.ARROW_UP, d.ARROW_UP);
157
+ c.set(u.ARROW_RIGHT, d.ARROW_RIGHT);
158
+ c.set(u.ARROW_DOWN, d.ARROW_DOWN);
159
+ c.set(u.DELETE, d.DELETE);
160
+ c.set(u.ESCAPE, d.ESCAPE);
161
+ c.set(u.TAB, d.TAB);
162
+ var g = /* @__PURE__ */ new Set();
163
+ g.add(d.PAGE_UP);
164
+ g.add(d.PAGE_DOWN);
165
+ g.add(d.END);
166
+ g.add(d.HOME);
167
+ g.add(d.ARROW_LEFT);
168
+ g.add(d.ARROW_UP);
169
+ g.add(d.ARROW_RIGHT);
170
+ g.add(d.ARROW_DOWN);
171
+ function S(n) {
172
+ var e = n.key;
173
+ if (l.has(e))
180
174
  return e;
181
- var t = l.get(r.keyCode);
182
- return t || a.UNKNOWN;
175
+ var t = c.get(n.keyCode);
176
+ return t || d.UNKNOWN;
183
177
  }
184
178
  /**
185
179
  * @license
@@ -203,7 +197,7 @@ function A(r) {
203
197
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
204
198
  * THE SOFTWARE.
205
199
  */
206
- var x, E, n = {
200
+ var T, _, r = {
207
201
  LIST_ITEM_ACTIVATED_CLASS: "mdc-list-item--activated",
208
202
  LIST_ITEM_CLASS: "mdc-list-item",
209
203
  LIST_ITEM_DISABLED_CLASS: "mdc-list-item--disabled",
@@ -212,8 +206,8 @@ var x, E, n = {
212
206
  LIST_ITEM_PRIMARY_TEXT_CLASS: "mdc-list-item__primary-text",
213
207
  ROOT: "mdc-list"
214
208
  };
215
- x = {}, x["" + n.LIST_ITEM_ACTIVATED_CLASS] = "mdc-list-item--activated", x["" + n.LIST_ITEM_CLASS] = "mdc-list-item", x["" + n.LIST_ITEM_DISABLED_CLASS] = "mdc-list-item--disabled", x["" + n.LIST_ITEM_SELECTED_CLASS] = "mdc-list-item--selected", x["" + n.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-list-item__primary-text", x["" + n.ROOT] = "mdc-list";
216
- var v = (E = {}, E["" + n.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item--activated", E["" + n.LIST_ITEM_CLASS] = "mdc-deprecated-list-item", E["" + n.LIST_ITEM_DISABLED_CLASS] = "mdc-deprecated-list-item--disabled", E["" + n.LIST_ITEM_SELECTED_CLASS] = "mdc-deprecated-list-item--selected", E["" + n.LIST_ITEM_TEXT_CLASS] = "mdc-deprecated-list-item__text", E["" + n.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-deprecated-list-item__primary-text", E["" + n.ROOT] = "mdc-deprecated-list", E), C = {
209
+ T = {}, T["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-list-item--activated", T["" + r.LIST_ITEM_CLASS] = "mdc-list-item", T["" + r.LIST_ITEM_DISABLED_CLASS] = "mdc-list-item--disabled", T["" + r.LIST_ITEM_SELECTED_CLASS] = "mdc-list-item--selected", T["" + r.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-list-item__primary-text", T["" + r.ROOT] = "mdc-list";
210
+ var L = (_ = {}, _["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item--activated", _["" + r.LIST_ITEM_CLASS] = "mdc-deprecated-list-item", _["" + r.LIST_ITEM_DISABLED_CLASS] = "mdc-deprecated-list-item--disabled", _["" + r.LIST_ITEM_SELECTED_CLASS] = "mdc-deprecated-list-item--selected", _["" + r.LIST_ITEM_TEXT_CLASS] = "mdc-deprecated-list-item__text", _["" + r.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-deprecated-list-item__primary-text", _["" + r.ROOT] = "mdc-deprecated-list", _), v = {
217
211
  ACTION_EVENT: "MDCList:action",
218
212
  SELECTION_CHANGE_EVENT: "MDCList:selectionChange",
219
213
  ARIA_CHECKED: "aria-checked",
@@ -230,21 +224,21 @@ var v = (E = {}, E["" + n.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item
230
224
  CHECKBOX_RADIO_SELECTOR: 'input[type="checkbox"], input[type="radio"]',
231
225
  CHECKBOX_SELECTOR: 'input[type="checkbox"]',
232
226
  CHILD_ELEMENTS_TO_TOGGLE_TABINDEX: `
233
- .` + n.LIST_ITEM_CLASS + ` button:not(:disabled),
234
- .` + n.LIST_ITEM_CLASS + ` a,
235
- .` + v[n.LIST_ITEM_CLASS] + ` button:not(:disabled),
236
- .` + v[n.LIST_ITEM_CLASS] + ` a
227
+ .` + r.LIST_ITEM_CLASS + ` button:not(:disabled),
228
+ .` + r.LIST_ITEM_CLASS + ` a,
229
+ .` + L[r.LIST_ITEM_CLASS] + ` button:not(:disabled),
230
+ .` + L[r.LIST_ITEM_CLASS] + ` a
237
231
  `,
238
232
  DEPRECATED_SELECTOR: ".mdc-deprecated-list",
239
233
  FOCUSABLE_CHILD_ELEMENTS: `
240
- .` + n.LIST_ITEM_CLASS + ` button:not(:disabled),
241
- .` + n.LIST_ITEM_CLASS + ` a,
242
- .` + n.LIST_ITEM_CLASS + ` input[type="radio"]:not(:disabled),
243
- .` + n.LIST_ITEM_CLASS + ` input[type="checkbox"]:not(:disabled),
244
- .` + v[n.LIST_ITEM_CLASS] + ` button:not(:disabled),
245
- .` + v[n.LIST_ITEM_CLASS] + ` a,
246
- .` + v[n.LIST_ITEM_CLASS] + ` input[type="radio"]:not(:disabled),
247
- .` + v[n.LIST_ITEM_CLASS] + ` input[type="checkbox"]:not(:disabled)
234
+ .` + r.LIST_ITEM_CLASS + ` button:not(:disabled),
235
+ .` + r.LIST_ITEM_CLASS + ` a,
236
+ .` + r.LIST_ITEM_CLASS + ` input[type="radio"]:not(:disabled),
237
+ .` + r.LIST_ITEM_CLASS + ` input[type="checkbox"]:not(:disabled),
238
+ .` + L[r.LIST_ITEM_CLASS] + ` button:not(:disabled),
239
+ .` + L[r.LIST_ITEM_CLASS] + ` a,
240
+ .` + L[r.LIST_ITEM_CLASS] + ` input[type="radio"]:not(:disabled),
241
+ .` + L[r.LIST_ITEM_CLASS] + ` input[type="checkbox"]:not(:disabled)
248
242
  `,
249
243
  RADIO_SELECTOR: 'input[type="radio"]',
250
244
  SELECTED_ITEM_SELECTOR: '[aria-selected="true"], [aria-current="true"]'
@@ -257,39 +251,39 @@ var v = (E = {}, E["" + n.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item
257
251
  * Copyright 2020 Google LLC
258
252
  * SPDX-License-Identifier: Apache-2.0
259
253
  */
260
- const D = (r, e) => r - e, q = (r, e) => {
261
- const t = Array.from(r), i = Array.from(e), s = { added: [], removed: [] }, d = t.sort(D), o = i.sort(D);
262
- let _ = 0, b = 0;
263
- for (; _ < d.length || b < o.length; ) {
264
- const f = d[_], g = o[b];
265
- if (f === g) {
266
- _++, b++;
254
+ const N = (n, e) => n - e, q = (n, e) => {
255
+ const t = Array.from(n), i = Array.from(e), s = { added: [], removed: [] }, o = t.sort(N), a = i.sort(N);
256
+ let E = 0, x = 0;
257
+ for (; E < o.length || x < a.length; ) {
258
+ const p = o[E], I = a[x];
259
+ if (p === I) {
260
+ E++, x++;
267
261
  continue;
268
262
  }
269
- if (f !== void 0 && (g === void 0 || f < g)) {
270
- s.removed.push(f), _++;
263
+ if (p !== void 0 && (I === void 0 || p < I)) {
264
+ s.removed.push(p), E++;
271
265
  continue;
272
266
  }
273
- if (g !== void 0 && (f === void 0 || g < f)) {
274
- s.added.push(g), b++;
267
+ if (I !== void 0 && (p === void 0 || I < p)) {
268
+ s.added.push(I), x++;
275
269
  continue;
276
270
  }
277
271
  }
278
272
  return s;
279
273
  }, Z = ["input", "button", "textarea", "select"];
280
- function R(r) {
281
- return r instanceof Set;
274
+ function C(n) {
275
+ return n instanceof Set;
282
276
  }
283
- const O = (r) => {
284
- const e = r === m.UNSET_INDEX ? /* @__PURE__ */ new Set() : r;
285
- return R(e) ? new Set(e) : /* @__PURE__ */ new Set([e]);
277
+ const F = (n) => {
278
+ const e = n === m.UNSET_INDEX ? /* @__PURE__ */ new Set() : n;
279
+ return C(e) ? new Set(e) : /* @__PURE__ */ new Set([e]);
286
280
  };
287
- class N extends Y {
281
+ class w extends Y {
288
282
  constructor(e) {
289
- super(Object.assign(Object.assign({}, N.defaultAdapter), e)), this.isMulti_ = !1, this.wrapFocus_ = !1, this.isVertical_ = !0, this.selectedIndex_ = m.UNSET_INDEX, this.focusedItemIndex_ = m.UNSET_INDEX, this.useActivatedClass_ = !1, this.ariaCurrentAttrValue_ = null;
283
+ super(Object.assign(Object.assign({}, w.defaultAdapter), e)), this.isMulti_ = !1, this.wrapFocus_ = !1, this.isVertical_ = !0, this.selectedIndex_ = m.UNSET_INDEX, this.focusedItemIndex_ = m.UNSET_INDEX, this.useActivatedClass_ = !1, this.ariaCurrentAttrValue_ = null;
290
284
  }
291
285
  static get strings() {
292
- return C;
286
+ return v;
293
287
  }
294
288
  static get numbers() {
295
289
  return m;
@@ -334,13 +328,13 @@ class N extends Y {
334
328
  this.isMulti_ = e;
335
329
  const t = this.selectedIndex_;
336
330
  if (e) {
337
- if (!R(t)) {
331
+ if (!C(t)) {
338
332
  const i = t === m.UNSET_INDEX;
339
333
  this.selectedIndex_ = i ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([t]);
340
334
  }
341
- } else if (R(t))
335
+ } else if (C(t))
342
336
  if (t.size) {
343
- const i = Array.from(t).sort(D);
337
+ const i = Array.from(t).sort(N);
344
338
  this.selectedIndex_ = i[0];
345
339
  } else
346
340
  this.selectedIndex_ = m.UNSET_INDEX;
@@ -361,7 +355,7 @@ class N extends Y {
361
355
  return this.selectedIndex_;
362
356
  }
363
357
  setSelectedIndex(e) {
364
- this.isIndexValid_(e) && (this.isMulti_ ? this.setMultiSelectionAtIndex_(O(e)) : this.setSingleSelectionAtIndex_(e));
358
+ this.isIndexValid_(e) && (this.isMulti_ ? this.setMultiSelectionAtIndex_(F(e)) : this.setSingleSelectionAtIndex_(e));
365
359
  }
366
360
  /**
367
361
  * Focus in handler for the list items.
@@ -381,30 +375,30 @@ class N extends Y {
381
375
  * Key handler for the list.
382
376
  */
383
377
  handleKeydown(e, t, i) {
384
- const s = A(e) === "ArrowLeft", d = A(e) === "ArrowUp", o = A(e) === "ArrowRight", _ = A(e) === "ArrowDown", b = A(e) === "Home", f = A(e) === "End", g = A(e) === "Enter", W = A(e) === "Spacebar";
378
+ const s = S(e) === "ArrowLeft", o = S(e) === "ArrowUp", a = S(e) === "ArrowRight", E = S(e) === "ArrowDown", x = S(e) === "Home", p = S(e) === "End", I = S(e) === "Enter", B = S(e) === "Spacebar";
385
379
  if (this.adapter.isRootFocused()) {
386
- d || f ? (e.preventDefault(), this.focusLastElement()) : (_ || b) && (e.preventDefault(), this.focusFirstElement());
380
+ o || p ? (e.preventDefault(), this.focusLastElement()) : (E || x) && (e.preventDefault(), this.focusFirstElement());
387
381
  return;
388
382
  }
389
- let T = this.adapter.getFocusedElementIndex();
390
- if (T === -1 && (T = i, T < 0))
383
+ let b = this.adapter.getFocusedElementIndex();
384
+ if (b === -1 && (b = i, b < 0))
391
385
  return;
392
- let y;
393
- if (this.isVertical_ && _ || !this.isVertical_ && o)
394
- this.preventDefaultEvent(e), y = this.focusNextElement(T);
395
- else if (this.isVertical_ && d || !this.isVertical_ && s)
396
- this.preventDefaultEvent(e), y = this.focusPrevElement(T);
397
- else if (b)
398
- this.preventDefaultEvent(e), y = this.focusFirstElement();
399
- else if (f)
400
- this.preventDefaultEvent(e), y = this.focusLastElement();
401
- else if ((g || W) && t) {
386
+ let R;
387
+ if (this.isVertical_ && E || !this.isVertical_ && a)
388
+ this.preventDefaultEvent(e), R = this.focusNextElement(b);
389
+ else if (this.isVertical_ && o || !this.isVertical_ && s)
390
+ this.preventDefaultEvent(e), R = this.focusPrevElement(b);
391
+ else if (x)
392
+ this.preventDefaultEvent(e), R = this.focusFirstElement();
393
+ else if (p)
394
+ this.preventDefaultEvent(e), R = this.focusLastElement();
395
+ else if ((I || B) && t) {
402
396
  const M = e.target;
403
- if (M && M.tagName === "A" && g)
397
+ if (M && M.tagName === "A" && I)
404
398
  return;
405
- this.preventDefaultEvent(e), this.setSelectedIndexOnAction_(T, !0);
399
+ this.preventDefaultEvent(e), this.setSelectedIndexOnAction_(b, !0);
406
400
  }
407
- this.focusedItemIndex_ = T, y !== void 0 && (this.setTabindexAtIndex_(y), this.focusedItemIndex_ = y);
401
+ this.focusedItemIndex_ = b, R !== void 0 && (this.setTabindexAtIndex_(R), this.focusedItemIndex_ = R);
408
402
  }
409
403
  /**
410
404
  * Click handler for the list.
@@ -463,12 +457,12 @@ class N extends Y {
463
457
  this.selectedIndex_ !== e && (this.selectedIndex_ !== m.UNSET_INDEX && (this.adapter.setSelectedStateForElementIndex(this.selectedIndex_, !1), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(this.selectedIndex_, !1)), t && this.adapter.setSelectedStateForElementIndex(e, !0), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(e, !0), this.setAriaForSingleSelectionAtIndex_(e), this.selectedIndex_ = e, this.adapter.notifySelected(e));
464
458
  }
465
459
  setMultiSelectionAtIndex_(e, t = !0) {
466
- const i = O(this.selectedIndex_), s = q(i, e);
460
+ const i = F(this.selectedIndex_), s = q(i, e);
467
461
  if (!(!s.removed.length && !s.added.length)) {
468
- for (const d of s.removed)
469
- t && this.adapter.setSelectedStateForElementIndex(d, !1), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(d, !1);
470
- for (const d of s.added)
471
- t && this.adapter.setSelectedStateForElementIndex(d, !0), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(d, !0);
462
+ for (const o of s.removed)
463
+ t && this.adapter.setSelectedStateForElementIndex(o, !1), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(o, !1);
464
+ for (const o of s.added)
465
+ t && this.adapter.setSelectedStateForElementIndex(o, !0), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(o, !0);
472
466
  this.selectedIndex_ = e, this.adapter.notifySelected(e, s);
473
467
  }
474
468
  }
@@ -476,8 +470,8 @@ class N extends Y {
476
470
  * Sets aria attribute for single selection at given index.
477
471
  */
478
472
  setAriaForSingleSelectionAtIndex_(e) {
479
- this.selectedIndex_ === m.UNSET_INDEX && (this.ariaCurrentAttrValue_ = this.adapter.getAttributeForElementIndex(e, C.ARIA_CURRENT));
480
- const t = this.ariaCurrentAttrValue_ !== null, i = t ? C.ARIA_CURRENT : C.ARIA_SELECTED;
473
+ this.selectedIndex_ === m.UNSET_INDEX && (this.ariaCurrentAttrValue_ = this.adapter.getAttributeForElementIndex(e, v.ARIA_CURRENT));
474
+ const t = this.ariaCurrentAttrValue_ !== null, i = t ? v.ARIA_CURRENT : v.ARIA_SELECTED;
481
475
  this.selectedIndex_ !== m.UNSET_INDEX && this.adapter.setAttributeForElementIndex(this.selectedIndex_, i, "false");
482
476
  const s = t ? this.ariaCurrentAttrValue_ : "true";
483
477
  this.adapter.setAttributeForElementIndex(e, i, s);
@@ -487,7 +481,7 @@ class N extends Y {
487
481
  }
488
482
  setTabindexToFirstSelectedItem_() {
489
483
  let e = 0;
490
- typeof this.selectedIndex_ == "number" && this.selectedIndex_ !== m.UNSET_INDEX ? e = this.selectedIndex_ : R(this.selectedIndex_) && this.selectedIndex_.size > 0 && (e = Math.min(...this.selectedIndex_)), this.setTabindexAtIndex_(e);
484
+ typeof this.selectedIndex_ == "number" && this.selectedIndex_ !== m.UNSET_INDEX ? e = this.selectedIndex_ : C(this.selectedIndex_) && this.selectedIndex_.size > 0 && (e = Math.min(...this.selectedIndex_)), this.setTabindexAtIndex_(e);
491
485
  }
492
486
  isIndexValid_(e) {
493
487
  if (e instanceof Set) {
@@ -527,8 +521,8 @@ class N extends Y {
527
521
  toggleMultiAtIndex(e, t, i = !0) {
528
522
  let s = !1;
529
523
  t === void 0 ? s = !this.adapter.getSelectedStateForElementIndex(e) : s = t;
530
- const d = O(this.selectedIndex_);
531
- s ? d.add(e) : d.delete(e), this.setMultiSelectionAtIndex_(d, i);
524
+ const o = F(this.selectedIndex_);
525
+ s ? o.add(e) : o.delete(e), this.setMultiSelectionAtIndex_(o, i);
532
526
  }
533
527
  }
534
528
  /**
@@ -536,22 +530,22 @@ class N extends Y {
536
530
  * Copyright 2020 Google LLC
537
531
  * SPDX-License-Identifier: Apache-2.0
538
532
  */
539
- function J(r, e = 50) {
533
+ function J(n, e = 50) {
540
534
  let t;
541
535
  return function(i = !0) {
542
536
  clearTimeout(t), t = setTimeout(() => {
543
- r(i);
537
+ n(i);
544
538
  }, e);
545
539
  };
546
540
  }
547
- const w = (r) => r.hasAttribute("mwc-list-item");
541
+ const O = (n) => n.hasAttribute("mwc-list-item");
548
542
  function Q() {
549
- const r = this.itemsReadyResolver;
550
- this.itemsReady = new Promise((e) => this.itemsReadyResolver = e), r();
543
+ const n = this.itemsReadyResolver;
544
+ this.itemsReady = new Promise((e) => this.itemsReadyResolver = e), n();
551
545
  }
552
- class u extends K {
546
+ class f extends X {
553
547
  constructor() {
554
- super(), this.mdcAdapter = null, this.mdcFoundationClass = N, this.activatable = !1, this.multi = !1, this.wrapFocus = !1, this.itemRoles = null, this.innerRole = null, this.innerAriaLabel = null, this.rootTabbable = !1, this.previousTabindex = null, this.noninteractive = !1, this.itemsReadyResolver = () => {
548
+ super(), this.mdcAdapter = null, this.mdcFoundationClass = w, this.activatable = !1, this.multi = !1, this.wrapFocus = !1, this.itemRoles = null, this.innerRole = null, this.innerAriaLabel = null, this.rootTabbable = !1, this.previousTabindex = null, this.noninteractive = !1, this.itemsReadyResolver = () => {
555
549
  }, this.itemsReady = Promise.resolve([]), this.items_ = [];
556
550
  const e = J(this.layout.bind(this));
557
551
  this.debouncedLayout = (t = !0) => {
@@ -569,24 +563,24 @@ class u extends K {
569
563
  updateItems() {
570
564
  var e;
571
565
  const t = (e = this.assignedElements) !== null && e !== void 0 ? e : [], i = [];
572
- for (const o of t)
573
- w(o) && (i.push(o), o._managingList = this), o.hasAttribute("divider") && !o.hasAttribute("role") && o.setAttribute("role", "separator");
566
+ for (const a of t)
567
+ O(a) && (i.push(a), a._managingList = this), a.hasAttribute("divider") && !a.hasAttribute("role") && a.setAttribute("role", "separator");
574
568
  this.items_ = i;
575
569
  const s = /* @__PURE__ */ new Set();
576
- if (this.items_.forEach((o, _) => {
577
- this.itemRoles ? o.setAttribute("role", this.itemRoles) : o.removeAttribute("role"), o.selected && s.add(_);
570
+ if (this.items_.forEach((a, E) => {
571
+ this.itemRoles ? a.setAttribute("role", this.itemRoles) : a.removeAttribute("role"), a.selected && s.add(E);
578
572
  }), this.multi)
579
573
  this.select(s);
580
574
  else {
581
- const o = s.size ? s.entries().next().value[1] : -1;
582
- this.select(o);
575
+ const a = s.size ? s.entries().next().value[1] : -1;
576
+ this.select(a);
583
577
  }
584
- const d = new Event("items-updated", { bubbles: !0, composed: !0 });
585
- this.dispatchEvent(d);
578
+ const o = new Event("items-updated", { bubbles: !0, composed: !0 });
579
+ this.dispatchEvent(o);
586
580
  }
587
581
  get selected() {
588
582
  const e = this.index;
589
- if (!R(e))
583
+ if (!C(e))
590
584
  return e === -1 ? null : this.items[e];
591
585
  const t = [];
592
586
  for (const i of e)
@@ -639,7 +633,7 @@ class u extends K {
639
633
  }
640
634
  onKeydown(e) {
641
635
  if (this.mdcFoundation && this.mdcRoot) {
642
- const t = this.getIndexOfTarget(e), i = e.target, s = w(i);
636
+ const t = this.getIndexOfTarget(e), i = e.target, s = O(i);
643
637
  this.mdcFoundation.handleKeydown(e, s, t);
644
638
  }
645
639
  }
@@ -648,16 +642,16 @@ class u extends K {
648
642
  let t = this.getIndexOfTarget(e);
649
643
  if (t === -1 && (this.layout(), t = this.getIndexOfTarget(e), t === -1) || this.items[t].disabled)
650
644
  return;
651
- const s = e.detail.selected, d = e.detail.source;
652
- this.mdcFoundation.handleSingleSelection(t, d === "interaction", s), e.stopPropagation();
645
+ const s = e.detail.selected, o = e.detail.source;
646
+ this.mdcFoundation.handleSingleSelection(t, o === "interaction", s), e.stopPropagation();
653
647
  }
654
648
  }
655
649
  getIndexOfTarget(e) {
656
650
  const t = this.items, i = e.composedPath();
657
651
  for (const s of i) {
658
- let d = -1;
659
- if (V(s) && w(s) && (d = t.indexOf(s)), d !== -1)
660
- return d;
652
+ let o = -1;
653
+ if (G(s) && O(s) && (o = t.indexOf(s)), o !== -1)
654
+ return o;
661
655
  }
662
656
  return -1;
663
657
  }
@@ -697,7 +691,7 @@ class u extends K {
697
691
  const s = new CustomEvent("selected", i);
698
692
  this.dispatchEvent(s);
699
693
  },
700
- isFocusInsideList: () => X(this),
694
+ isFocusInsideList: () => z(this),
701
695
  isRootFocused: () => {
702
696
  const e = this.mdcRoot;
703
697
  return e.getRootNode().activeElement === e;
@@ -752,12 +746,12 @@ class u extends K {
752
746
  getFocusedItemIndex() {
753
747
  if (!this.mdcRoot || !this.items.length)
754
748
  return -1;
755
- const e = G();
749
+ const e = $();
756
750
  if (!e.length)
757
751
  return -1;
758
752
  for (let t = e.length - 1; t >= 0; t--) {
759
753
  const i = e[t];
760
- if (w(i))
754
+ if (O(i))
761
755
  return this.items.indexOf(i);
762
756
  }
763
757
  return -1;
@@ -779,62 +773,68 @@ class u extends K {
779
773
  e && e.blur();
780
774
  }
781
775
  }
782
- p([
783
- I({ type: String })
784
- ], u.prototype, "emptyMessage", void 0);
785
- p([
786
- $(".mdc-deprecated-list")
787
- ], u.prototype, "mdcRoot", void 0);
788
- p([
789
- k("", !0, "*")
790
- ], u.prototype, "assignedElements", void 0);
791
- p([
792
- k("", !0, '[tabindex="0"]')
793
- ], u.prototype, "tabbableElements", void 0);
794
- p([
795
- I({ type: Boolean }),
796
- L(function(r) {
797
- this.mdcFoundation && this.mdcFoundation.setUseActivatedClass(r);
776
+ h([
777
+ A({ type: String })
778
+ ], f.prototype, "emptyMessage", void 0);
779
+ h([
780
+ j(".mdc-deprecated-list")
781
+ ], f.prototype, "mdcRoot", void 0);
782
+ h([
783
+ W("", !0, "*")
784
+ ], f.prototype, "assignedElements", void 0);
785
+ h([
786
+ W("", !0, '[tabindex="0"]')
787
+ ], f.prototype, "tabbableElements", void 0);
788
+ h([
789
+ A({ type: Boolean }),
790
+ y(function(n) {
791
+ this.mdcFoundation && this.mdcFoundation.setUseActivatedClass(n);
798
792
  })
799
- ], u.prototype, "activatable", void 0);
800
- p([
801
- I({ type: Boolean }),
802
- L(function(r, e) {
803
- this.mdcFoundation && this.mdcFoundation.setMulti(r), e !== void 0 && this.layout();
793
+ ], f.prototype, "activatable", void 0);
794
+ h([
795
+ A({ type: Boolean }),
796
+ y(function(n, e) {
797
+ this.mdcFoundation && this.mdcFoundation.setMulti(n), e !== void 0 && this.layout();
804
798
  })
805
- ], u.prototype, "multi", void 0);
806
- p([
807
- I({ type: Boolean }),
808
- L(function(r) {
809
- this.mdcFoundation && this.mdcFoundation.setWrapFocus(r);
799
+ ], f.prototype, "multi", void 0);
800
+ h([
801
+ A({ type: Boolean }),
802
+ y(function(n) {
803
+ this.mdcFoundation && this.mdcFoundation.setWrapFocus(n);
810
804
  })
811
- ], u.prototype, "wrapFocus", void 0);
812
- p([
813
- I({ type: String }),
814
- L(function(r, e) {
805
+ ], f.prototype, "wrapFocus", void 0);
806
+ h([
807
+ A({ type: String }),
808
+ y(function(n, e) {
815
809
  e !== void 0 && this.updateItems();
816
810
  })
817
- ], u.prototype, "itemRoles", void 0);
818
- p([
819
- I({ type: String })
820
- ], u.prototype, "innerRole", void 0);
821
- p([
822
- I({ type: String })
823
- ], u.prototype, "innerAriaLabel", void 0);
824
- p([
825
- I({ type: Boolean })
826
- ], u.prototype, "rootTabbable", void 0);
827
- p([
828
- I({ type: Boolean, reflect: !0 }),
829
- L(function(r) {
811
+ ], f.prototype, "itemRoles", void 0);
812
+ h([
813
+ A({ type: String })
814
+ ], f.prototype, "innerRole", void 0);
815
+ h([
816
+ A({ type: String })
817
+ ], f.prototype, "innerAriaLabel", void 0);
818
+ h([
819
+ A({ type: Boolean })
820
+ ], f.prototype, "rootTabbable", void 0);
821
+ h([
822
+ A({ type: Boolean, reflect: !0 }),
823
+ y(function(n) {
830
824
  var e, t;
831
- if (r) {
825
+ if (n) {
832
826
  const i = (t = (e = this.tabbableElements) === null || e === void 0 ? void 0 : e[0]) !== null && t !== void 0 ? t : null;
833
827
  this.previousTabindex = i, i && i.setAttribute("tabindex", "-1");
834
- } else
835
- !r && this.previousTabindex && (this.previousTabindex.setAttribute("tabindex", "0"), this.previousTabindex = null);
828
+ } else !n && this.previousTabindex && (this.previousTabindex.setAttribute("tabindex", "0"), this.previousTabindex = null);
836
829
  })
837
- ], u.prototype, "noninteractive", void 0);
830
+ ], f.prototype, "noninteractive", void 0);
831
+ /**
832
+ * @license
833
+ * Copyright 2021 Google LLC
834
+ * SPDX-LIcense-Identifier: Apache-2.0
835
+ */
836
+ const me = H`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;
838
837
  export {
839
- u as L
838
+ f as L,
839
+ me as s
840
840
  };