@covalent/components 8.23.2 → 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,20 +1,14 @@
1
- import { _ as o, a as U, b as B, c as q } from "./tslib.es6-c4b0f3b1.mjs";
2
- import { i as V, e as K, x as F } from "./query-assigned-elements-4a39219d.mjs";
3
- import { L as Q } from "./mwc-list-base-402e1d8e.mjs";
4
- import { B as j } from "./base-element-acf30176.mjs";
5
- import { o as g } from "./observer-be7b92e2.mjs";
6
- import { a as Y, b as Z, d as J } from "./utils-dc65fdc9.mjs";
7
- import { n as a } from "./property-9b6ea53b.mjs";
8
- import { t as b } from "./state-b5e865db.mjs";
9
- import { i as D } from "./query-d843aa92.mjs";
10
- import { o as P } from "./class-map-6e504a9a.mjs";
11
- import { o as tt } from "./style-map-e7ec6d41.mjs";
12
- /**
13
- * @license
14
- * Copyright 2021 Google LLC
15
- * SPDX-LIcense-Identifier: Apache-2.0
16
- */
17
- const et = V`@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}`;
1
+ import { _ as o, a as U, b as B, c as X } from "./tslib.es6-pPsSiLLK.mjs";
2
+ import { e as j, x as F, i as V } from "./query-assigned-elements-DCt2xozt.mjs";
3
+ import { L as Q, s as Y } from "./mwc-list.css-DFOdJyFB.mjs";
4
+ import { B as W } from "./base-element-C-U4OfWx.mjs";
5
+ import { o as y } from "./observer-DQ8OfVDQ.mjs";
6
+ import { a as J, d as Z, b as tt } from "./utils-Dr5MegQq.mjs";
7
+ import { n as a } from "./property-DJzm_oB9.mjs";
8
+ import { t as b } from "./state-DaD9o2aK.mjs";
9
+ import { i as N } from "./query-BBDQWsft.mjs";
10
+ import { o as H } from "./class-map-C1SJpero.mjs";
11
+ import { o as et } from "./style-map-CCsABR5m.mjs";
18
12
  /**
19
13
  * @license
20
14
  * Copyright 2020 Google LLC
@@ -22,9 +16,9 @@ const et = V`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:c
22
16
  */
23
17
  let k = class extends Q {
24
18
  };
25
- k.styles = [et];
19
+ k.styles = [Y];
26
20
  k = o([
27
- K("mwc-list")
21
+ j("mwc-list")
28
22
  ], k);
29
23
  /**
30
24
  * @license
@@ -69,7 +63,7 @@ var it = {
69
63
  "textarea:not(:disabled)",
70
64
  '[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'
71
65
  ].join(", ")
72
- }, M = {
66
+ }, R = {
73
67
  /** Total duration of menu-surface open animation. */
74
68
  TRANSITION_OPEN_DURATION: 120,
75
69
  /** Total duration of menu-surface close animation. */
@@ -121,7 +115,7 @@ var m;
121
115
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
122
116
  * THE SOFTWARE.
123
117
  */
124
- var W = (
118
+ var K = (
125
119
  /** @class */
126
120
  function() {
127
121
  function n(e) {
@@ -178,7 +172,7 @@ var W = (
178
172
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
179
173
  * THE SOFTWARE.
180
174
  */
181
- var X = (
175
+ var q = (
182
176
  /** @class */
183
177
  function(n) {
184
178
  U(e, n);
@@ -200,7 +194,7 @@ var X = (
200
194
  configurable: !0
201
195
  }), Object.defineProperty(e, "numbers", {
202
196
  get: function() {
203
- return M;
197
+ return R;
204
198
  },
205
199
  enumerable: !1,
206
200
  configurable: !0
@@ -308,7 +302,7 @@ var X = (
308
302
  this.isSurfaceOpen || (this.adapter.notifyOpening(), this.adapter.saveFocus(), this.isQuickOpen ? (this.isSurfaceOpen = !0, this.adapter.addClass(e.cssClasses.OPEN), this.dimensions = this.adapter.getInnerDimensions(), this.autoposition(), this.adapter.notifyOpen()) : (this.adapter.addClass(e.cssClasses.ANIMATING_OPEN), this.animationRequestId = requestAnimationFrame(function() {
309
303
  t.dimensions = t.adapter.getInnerDimensions(), t.autoposition(), t.adapter.addClass(e.cssClasses.OPEN), t.openAnimationEndTimerId = setTimeout(function() {
310
304
  t.openAnimationEndTimerId = 0, t.adapter.removeClass(e.cssClasses.ANIMATING_OPEN), t.adapter.notifyOpen();
311
- }, M.TRANSITION_OPEN_DURATION);
305
+ }, R.TRANSITION_OPEN_DURATION);
312
306
  }), this.isSurfaceOpen = !0));
313
307
  }, e.prototype.close = function(t) {
314
308
  var i = this;
@@ -320,7 +314,7 @@ var X = (
320
314
  this.adapter.addClass(e.cssClasses.ANIMATING_CLOSED), requestAnimationFrame(function() {
321
315
  i.adapter.removeClass(e.cssClasses.OPEN), i.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW), i.closeAnimationEndTimerId = setTimeout(function() {
322
316
  i.closeAnimationEndTimerId = 0, i.adapter.removeClass(e.cssClasses.ANIMATING_CLOSED), i.adapter.notifyClose();
323
- }, M.TRANSITION_CLOSE_DURATION);
317
+ }, R.TRANSITION_CLOSE_DURATION);
324
318
  }), this.isSurfaceOpen = !1, t || this.maybeRestoreFocus();
325
319
  }
326
320
  }, e.prototype.handleBodyClick = function(t) {
@@ -332,8 +326,8 @@ var X = (
332
326
  }, e.prototype.autoposition = function() {
333
327
  var t;
334
328
  this.measurements = this.getAutoLayoutmeasurements();
335
- var i = this.getoriginCorner(), s = this.getMenuSurfaceMaxHeight(i), r = this.hasBit(i, c.BOTTOM) ? "bottom" : "top", l = this.hasBit(i, c.RIGHT) ? "right" : "left", f = this.getHorizontalOriginOffset(i), R = this.getVerticalOriginOffset(i), I = this.measurements, _ = I.anchorSize, S = I.surfaceSize, p = (t = {}, t[l] = f, t[r] = R, t);
336
- _.width / S.width > M.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO && (l = "center"), (this.isHoistedElement || this.isFixedPosition) && this.adjustPositionForHoistedElement(p), this.adapter.setTransformOrigin(l + " " + r), this.adapter.setPosition(p), this.adapter.setMaxHeight(s ? s + "px" : ""), this.hasBit(i, c.BOTTOM) || this.adapter.addClass(e.cssClasses.IS_OPEN_BELOW);
329
+ var i = this.getoriginCorner(), s = this.getMenuSurfaceMaxHeight(i), r = this.hasBit(i, c.BOTTOM) ? "bottom" : "top", l = this.hasBit(i, c.RIGHT) ? "right" : "left", p = this.getHorizontalOriginOffset(i), x = this.getVerticalOriginOffset(i), I = this.measurements, S = I.anchorSize, O = I.surfaceSize, f = (t = {}, t[l] = p, t[r] = x, t);
330
+ S.width / O.width > R.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO && (l = "center"), (this.isHoistedElement || this.isFixedPosition) && this.adjustPositionForHoistedElement(f), this.adapter.setTransformOrigin(l + " " + r), this.adapter.setPosition(f), this.adapter.setMaxHeight(s ? s + "px" : ""), this.hasBit(i, c.BOTTOM) || this.adapter.addClass(e.cssClasses.IS_OPEN_BELOW);
337
331
  }, e.prototype.getAutoLayoutmeasurements = function() {
338
332
  var t = this.adapter.getAnchorDimensions(), i = this.adapter.getBodyDimensions(), s = this.adapter.getWindowDimensions(), r = this.adapter.getWindowScroll();
339
333
  return t || (t = {
@@ -359,21 +353,21 @@ var X = (
359
353
  windowScroll: r
360
354
  };
361
355
  }, e.prototype.getoriginCorner = function() {
362
- var t = this.originCorner, i = this.measurements, s = i.viewportDistance, r = i.anchorSize, l = i.surfaceSize, f = e.numbers.MARGIN_TO_EDGE, R = this.hasBit(this.anchorCorner, c.BOTTOM), I, _;
363
- R ? (I = s.top - f + this.anchorMargin.bottom, _ = s.bottom - f - this.anchorMargin.bottom) : (I = s.top - f + this.anchorMargin.top, _ = s.bottom - f + r.height - this.anchorMargin.top);
364
- var S = _ - l.height > 0;
365
- !S && I > _ + this.openBottomBias && (t = this.setBit(t, c.BOTTOM));
366
- var p = this.adapter.isRtl(), T = this.hasBit(this.anchorCorner, c.FLIP_RTL), E = this.hasBit(this.anchorCorner, c.RIGHT) || this.hasBit(t, c.RIGHT), A = !1;
367
- p && T ? A = !E : A = E;
356
+ var t = this.originCorner, i = this.measurements, s = i.viewportDistance, r = i.anchorSize, l = i.surfaceSize, p = e.numbers.MARGIN_TO_EDGE, x = this.hasBit(this.anchorCorner, c.BOTTOM), I, S;
357
+ x ? (I = s.top - p + this.anchorMargin.bottom, S = s.bottom - p - this.anchorMargin.bottom) : (I = s.top - p + this.anchorMargin.top, S = s.bottom - p + r.height - this.anchorMargin.top);
358
+ var O = S - l.height > 0;
359
+ !O && I > S + this.openBottomBias && (t = this.setBit(t, c.BOTTOM));
360
+ var f = this.adapter.isRtl(), T = this.hasBit(this.anchorCorner, c.FLIP_RTL), E = this.hasBit(this.anchorCorner, c.RIGHT) || this.hasBit(t, c.RIGHT), A = !1;
361
+ f && T ? A = !E : A = E;
368
362
  var L, w;
369
363
  A ? (L = s.left + r.width + this.anchorMargin.right, w = s.right - this.anchorMargin.right) : (L = s.left + this.anchorMargin.left, w = s.right + r.width - this.anchorMargin.left);
370
- var N = L - l.width > 0, G = w - l.width > 0, $ = this.hasBit(t, c.FLIP_RTL) && this.hasBit(t, c.RIGHT);
371
- return G && $ && p || !N && $ ? t = this.unsetBit(t, c.RIGHT) : (N && A && p || N && !A && E || !G && L >= w) && (t = this.setBit(t, c.RIGHT)), t;
364
+ var D = L - l.width > 0, G = w - l.width > 0, $ = this.hasBit(t, c.FLIP_RTL) && this.hasBit(t, c.RIGHT);
365
+ return G && $ && f || !D && $ ? t = this.unsetBit(t, c.RIGHT) : (D && A && f || D && !A && E || !G && L >= w) && (t = this.setBit(t, c.RIGHT)), t;
372
366
  }, e.prototype.getMenuSurfaceMaxHeight = function(t) {
373
367
  if (this.maxHeight > 0)
374
368
  return this.maxHeight;
375
- var i = this.measurements.viewportDistance, s = 0, r = this.hasBit(t, c.BOTTOM), l = this.hasBit(this.anchorCorner, c.BOTTOM), f = e.numbers.MARGIN_TO_EDGE;
376
- return r ? (s = i.top + this.anchorMargin.top - f, l || (s += this.measurements.anchorSize.height)) : (s = i.bottom - this.anchorMargin.bottom + this.measurements.anchorSize.height - f, l && (s -= this.measurements.anchorSize.height)), s;
369
+ var i = this.measurements.viewportDistance, s = 0, r = this.hasBit(t, c.BOTTOM), l = this.hasBit(this.anchorCorner, c.BOTTOM), p = e.numbers.MARGIN_TO_EDGE;
370
+ return r ? (s = i.top + this.anchorMargin.top - p, l || (s += this.measurements.anchorSize.height)) : (s = i.bottom - this.anchorMargin.bottom + this.measurements.anchorSize.height - p, l && (s -= this.measurements.anchorSize.height)), s;
377
371
  }, e.prototype.getHorizontalOriginOffset = function(t) {
378
372
  var i = this.measurements.anchorSize, s = this.hasBit(t, c.RIGHT), r = this.hasBit(this.anchorCorner, c.RIGHT);
379
373
  if (s) {
@@ -385,31 +379,30 @@ var X = (
385
379
  var i = this.measurements.anchorSize, s = this.hasBit(t, c.BOTTOM), r = this.hasBit(this.anchorCorner, c.BOTTOM), l = 0;
386
380
  return s ? l = r ? i.height - this.anchorMargin.top : -this.anchorMargin.bottom : l = r ? i.height + this.anchorMargin.bottom : this.anchorMargin.top, l;
387
381
  }, e.prototype.adjustPositionForHoistedElement = function(t) {
388
- var i, s, r = this.measurements, l = r.windowScroll, f = r.viewportDistance, R = r.surfaceSize, I = r.viewportSize, _ = Object.keys(t);
382
+ var i, s, r = this.measurements, l = r.windowScroll, p = r.viewportDistance, x = r.surfaceSize, I = r.viewportSize, S = Object.keys(t);
389
383
  try {
390
- for (var S = q(_), p = S.next(); !p.done; p = S.next()) {
391
- var T = p.value, E = t[T] || 0;
384
+ for (var O = X(S), f = O.next(); !f.done; f = O.next()) {
385
+ var T = f.value, E = t[T] || 0;
392
386
  if (this.isHorizontallyCenteredOnViewport && (T === "left" || T === "right")) {
393
- t[T] = (I.width - R.width) / 2;
387
+ t[T] = (I.width - x.width) / 2;
394
388
  continue;
395
389
  }
396
- E += f[T], this.isFixedPosition || (T === "top" ? E += l.y : T === "bottom" ? E -= l.y : T === "left" ? E += l.x : E -= l.x), t[T] = E;
390
+ E += p[T], this.isFixedPosition || (T === "top" ? E += l.y : T === "bottom" ? E -= l.y : T === "left" ? E += l.x : E -= l.x), t[T] = E;
397
391
  }
398
392
  } catch (A) {
399
393
  i = { error: A };
400
394
  } finally {
401
395
  try {
402
- p && !p.done && (s = S.return) && s.call(S);
396
+ f && !f.done && (s = O.return) && s.call(O);
403
397
  } finally {
404
- if (i)
405
- throw i.error;
398
+ if (i) throw i.error;
406
399
  }
407
400
  }
408
401
  }, e.prototype.maybeRestoreFocus = function() {
409
402
  var t = this, i = this.adapter.isFocused(), s = this.adapter.getOwnerDocument ? this.adapter.getOwnerDocument() : document, r = s.activeElement && this.adapter.isElementInContainer(s.activeElement);
410
403
  (i || r) && setTimeout(function() {
411
404
  t.adapter.restoreFocus();
412
- }, M.TOUCH_EVENT_WAIT_MS);
405
+ }, R.TOUCH_EVENT_WAIT_MS);
413
406
  }, e.prototype.hasBit = function(t, i) {
414
407
  return !!(t & i);
415
408
  }, e.prototype.setBit = function(t, i) {
@@ -419,15 +412,14 @@ var X = (
419
412
  }, e.prototype.isFinite = function(t) {
420
413
  return typeof t == "number" && isFinite(t);
421
414
  }, e;
422
- }(W)
415
+ }(K)
423
416
  );
424
- const st = X;
425
417
  /**
426
418
  * @license
427
419
  * Copyright 2020 Google LLC
428
420
  * SPDX-License-Identifier: Apache-2.0
429
421
  */
430
- const ot = {
422
+ const st = {
431
423
  TOP_LEFT: m.TOP_LEFT,
432
424
  TOP_RIGHT: m.TOP_RIGHT,
433
425
  BOTTOM_LEFT: m.BOTTOM_LEFT,
@@ -437,9 +429,9 @@ const ot = {
437
429
  BOTTOM_START: m.BOTTOM_START,
438
430
  BOTTOM_END: m.BOTTOM_END
439
431
  };
440
- class u extends j {
432
+ class u extends W {
441
433
  constructor() {
442
- super(...arguments), this.mdcFoundationClass = st, this.absolute = !1, this.fullwidth = !1, this.fixed = !1, this.x = null, this.y = null, this.quick = !1, this.open = !1, this.stayOpenOnBodyClick = !1, this.bitwiseCorner = m.TOP_START, this.previousMenuCorner = null, this.menuCorner = "START", this.corner = "TOP_START", this.styleTop = "", this.styleLeft = "", this.styleRight = "", this.styleBottom = "", this.styleMaxHeight = "", this.styleTransformOrigin = "", this.anchor = null, this.previouslyFocused = null, this.previousAnchor = null, this.onBodyClickBound = () => {
434
+ super(...arguments), this.mdcFoundationClass = q, this.absolute = !1, this.fullwidth = !1, this.fixed = !1, this.x = null, this.y = null, this.quick = !1, this.open = !1, this.stayOpenOnBodyClick = !1, this.bitwiseCorner = m.TOP_START, this.previousMenuCorner = null, this.menuCorner = "START", this.corner = "TOP_START", this.styleTop = "", this.styleLeft = "", this.styleRight = "", this.styleBottom = "", this.styleMaxHeight = "", this.styleTransformOrigin = "", this.anchor = null, this.previouslyFocused = null, this.previousAnchor = null, this.onBodyClickBound = () => {
443
435
  };
444
436
  }
445
437
  render() {
@@ -449,8 +441,8 @@ class u extends j {
449
441
  const e = this.getRootClasses(), t = this.getRootStyles();
450
442
  return F`
451
443
  <div
452
- class=${P(e)}
453
- style="${tt(t)}"
444
+ class=${H(e)}
445
+ style="${et(t)}"
454
446
  @keydown=${this.onKeydown}
455
447
  @opened=${this.registerBodyClick}
456
448
  @closed=${this.deregisterBodyClick}>
@@ -478,7 +470,7 @@ class u extends j {
478
470
  return F`<slot></slot>`;
479
471
  }
480
472
  createAdapter() {
481
- return Object.assign(Object.assign({}, Y(this.mdcRoot)), { hasAnchor: () => !!this.anchor, notifyClose: () => {
473
+ return Object.assign(Object.assign({}, J(this.mdcRoot)), { hasAnchor: () => !!this.anchor, notifyClose: () => {
482
474
  const e = { bubbles: !0, composed: !0 }, t = new CustomEvent("closed", e);
483
475
  this.open = !1, this.mdcRoot.dispatchEvent(t);
484
476
  }, notifyClosing: () => {
@@ -492,8 +484,8 @@ class u extends j {
492
484
  this.mdcRoot.dispatchEvent(t);
493
485
  }, isElementInContainer: () => !1, isRtl: () => this.mdcRoot ? getComputedStyle(this.mdcRoot).direction === "rtl" : !1, setTransformOrigin: (e) => {
494
486
  this.mdcRoot && (this.styleTransformOrigin = e);
495
- }, isFocused: () => Z(this), saveFocus: () => {
496
- const e = J(), t = e.length;
487
+ }, isFocused: () => tt(this), saveFocus: () => {
488
+ const e = Z(), t = e.length;
497
489
  t || (this.previouslyFocused = null), this.previouslyFocused = e[t - 1];
498
490
  }, restoreFocus: () => {
499
491
  this.previouslyFocused && "focus" in this.previouslyFocused && this.previouslyFocused.focus();
@@ -543,14 +535,14 @@ class u extends j {
543
535
  }
544
536
  }
545
537
  o([
546
- D(".mdc-menu-surface")
538
+ N(".mdc-menu-surface")
547
539
  ], u.prototype, "mdcRoot", void 0);
548
540
  o([
549
- D("slot")
541
+ N("slot")
550
542
  ], u.prototype, "slotElement", void 0);
551
543
  o([
552
544
  a({ type: Boolean }),
553
- g(function(n) {
545
+ y(function(n) {
554
546
  this.mdcFoundation && !this.fixed && this.mdcFoundation.setIsHoisted(n);
555
547
  })
556
548
  ], u.prototype, "absolute", void 0);
@@ -559,31 +551,31 @@ o([
559
551
  ], u.prototype, "fullwidth", void 0);
560
552
  o([
561
553
  a({ type: Boolean }),
562
- g(function(n) {
554
+ y(function(n) {
563
555
  this.mdcFoundation && !this.absolute && this.mdcFoundation.setFixedPosition(n);
564
556
  })
565
557
  ], u.prototype, "fixed", void 0);
566
558
  o([
567
559
  a({ type: Number }),
568
- g(function(n) {
560
+ y(function(n) {
569
561
  this.mdcFoundation && this.y !== null && n !== null && (this.mdcFoundation.setAbsolutePosition(n, this.y), this.mdcFoundation.setAnchorMargin({ left: n, top: this.y, right: -n, bottom: this.y }));
570
562
  })
571
563
  ], u.prototype, "x", void 0);
572
564
  o([
573
565
  a({ type: Number }),
574
- g(function(n) {
566
+ y(function(n) {
575
567
  this.mdcFoundation && this.x !== null && n !== null && (this.mdcFoundation.setAbsolutePosition(this.x, n), this.mdcFoundation.setAnchorMargin({ left: this.x, top: n, right: -this.x, bottom: n }));
576
568
  })
577
569
  ], u.prototype, "y", void 0);
578
570
  o([
579
571
  a({ type: Boolean }),
580
- g(function(n) {
572
+ y(function(n) {
581
573
  this.mdcFoundation && this.mdcFoundation.setQuickOpen(n);
582
574
  })
583
575
  ], u.prototype, "quick", void 0);
584
576
  o([
585
577
  a({ type: Boolean, reflect: !0 }),
586
- g(function(n, e) {
578
+ y(function(n, e) {
587
579
  this.onOpenChanged(n, e);
588
580
  })
589
581
  ], u.prototype, "open", void 0);
@@ -592,13 +584,13 @@ o([
592
584
  ], u.prototype, "stayOpenOnBodyClick", void 0);
593
585
  o([
594
586
  b(),
595
- g(function(n) {
587
+ y(function(n) {
596
588
  this.mdcFoundation && (n ? this.mdcFoundation.setAnchorCorner(n) : this.mdcFoundation.setAnchorCorner(n));
597
589
  })
598
590
  ], u.prototype, "bitwiseCorner", void 0);
599
591
  o([
600
592
  a({ type: String }),
601
- g(function(n) {
593
+ y(function(n) {
602
594
  if (this.mdcFoundation) {
603
595
  const e = n === "START" || n === "END", t = this.previousMenuCorner === null, i = !t && n !== this.previousMenuCorner;
604
596
  e && (i || t && n === "END") && (this.bitwiseCorner = this.bitwiseCorner ^ c.RIGHT, this.mdcFoundation.flipCornerHorizontally(), this.previousMenuCorner = n);
@@ -607,9 +599,9 @@ o([
607
599
  ], u.prototype, "menuCorner", void 0);
608
600
  o([
609
601
  a({ type: String }),
610
- g(function(n) {
602
+ y(function(n) {
611
603
  if (this.mdcFoundation && n) {
612
- let e = ot[n];
604
+ let e = st[n];
613
605
  this.menuCorner === "END" && (e = e ^ c.RIGHT), this.bitwiseCorner = e;
614
606
  }
615
607
  })
@@ -637,7 +629,7 @@ o([
637
629
  * Copyright 2021 Google LLC
638
630
  * SPDX-LIcense-Identifier: Apache-2.0
639
631
  */
640
- const rt = V`.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}:host(:not([open])){display:none}.mdc-menu-surface{z-index:8;z-index:var(--mdc-menu-z-index, 8);min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}`;
632
+ const ot = V`.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}:host(:not([open])){display:none}.mdc-menu-surface{z-index:8;z-index:var(--mdc-menu-z-index, 8);min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}`;
641
633
  /**
642
634
  * @license
643
635
  * Copyright 2020 Google LLC
@@ -645,9 +637,9 @@ const rt = V`.mdc-menu-surface{display:none;position:absolute;box-sizing:border-
645
637
  */
646
638
  let z = class extends u {
647
639
  };
648
- z.styles = [rt];
640
+ z.styles = [ot];
649
641
  z = o([
650
- K("mwc-menu-surface")
642
+ j("mwc-menu-surface")
651
643
  ], z);
652
644
  /**
653
645
  * @license
@@ -671,7 +663,7 @@ z = o([
671
663
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
672
664
  * THE SOFTWARE.
673
665
  */
674
- var H = {
666
+ var P = {
675
667
  MENU_SELECTED_LIST_ITEM: "mdc-menu-item--selected",
676
668
  MENU_SELECTION_GROUP: "mdc-menu__selection-group",
677
669
  ROOT: "mdc-menu"
@@ -682,7 +674,7 @@ var H = {
682
674
  LIST_SELECTOR: ".mdc-list,.mdc-deprecated-list",
683
675
  SELECTED_EVENT: "MDCMenu:selected",
684
676
  SKIP_RESTORE_FOCUS: "data-menu-item-skip-restore-focus"
685
- }, at = {
677
+ }, rt = {
686
678
  FOCUS_ROOT_INDEX: -1
687
679
  }, C;
688
680
  (function(n) {
@@ -710,7 +702,7 @@ var H = {
710
702
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
711
703
  * THE SOFTWARE.
712
704
  */
713
- var O, y, d = {
705
+ var _, g, d = {
714
706
  LIST_ITEM_ACTIVATED_CLASS: "mdc-list-item--activated",
715
707
  LIST_ITEM_CLASS: "mdc-list-item",
716
708
  LIST_ITEM_DISABLED_CLASS: "mdc-list-item--disabled",
@@ -719,9 +711,9 @@ var O, y, d = {
719
711
  LIST_ITEM_PRIMARY_TEXT_CLASS: "mdc-list-item__primary-text",
720
712
  ROOT: "mdc-list"
721
713
  };
722
- O = {}, O["" + d.LIST_ITEM_ACTIVATED_CLASS] = "mdc-list-item--activated", O["" + d.LIST_ITEM_CLASS] = "mdc-list-item", O["" + d.LIST_ITEM_DISABLED_CLASS] = "mdc-list-item--disabled", O["" + d.LIST_ITEM_SELECTED_CLASS] = "mdc-list-item--selected", O["" + d.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-list-item__primary-text", O["" + d.ROOT] = "mdc-list";
723
- var x = (y = {}, y["" + d.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item--activated", y["" + d.LIST_ITEM_CLASS] = "mdc-deprecated-list-item", y["" + d.LIST_ITEM_DISABLED_CLASS] = "mdc-deprecated-list-item--disabled", y["" + d.LIST_ITEM_SELECTED_CLASS] = "mdc-deprecated-list-item--selected", y["" + d.LIST_ITEM_TEXT_CLASS] = "mdc-deprecated-list-item__text", y["" + d.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-deprecated-list-item__primary-text", y["" + d.ROOT] = "mdc-deprecated-list", y);
724
- "" + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + x[d.LIST_ITEM_CLASS] + x[d.LIST_ITEM_CLASS], "" + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + x[d.LIST_ITEM_CLASS] + x[d.LIST_ITEM_CLASS] + x[d.LIST_ITEM_CLASS] + x[d.LIST_ITEM_CLASS];
714
+ _ = {}, _["" + d.LIST_ITEM_ACTIVATED_CLASS] = "mdc-list-item--activated", _["" + d.LIST_ITEM_CLASS] = "mdc-list-item", _["" + d.LIST_ITEM_DISABLED_CLASS] = "mdc-list-item--disabled", _["" + d.LIST_ITEM_SELECTED_CLASS] = "mdc-list-item--selected", _["" + d.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-list-item__primary-text", _["" + d.ROOT] = "mdc-list";
715
+ var M = (g = {}, g["" + d.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item--activated", g["" + d.LIST_ITEM_CLASS] = "mdc-deprecated-list-item", g["" + d.LIST_ITEM_DISABLED_CLASS] = "mdc-deprecated-list-item--disabled", g["" + d.LIST_ITEM_SELECTED_CLASS] = "mdc-deprecated-list-item--selected", g["" + d.LIST_ITEM_TEXT_CLASS] = "mdc-deprecated-list-item__text", g["" + d.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-deprecated-list-item__primary-text", g["" + d.ROOT] = "mdc-deprecated-list", g);
716
+ "" + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + M[d.LIST_ITEM_CLASS] + M[d.LIST_ITEM_CLASS], "" + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + d.LIST_ITEM_CLASS + M[d.LIST_ITEM_CLASS] + M[d.LIST_ITEM_CLASS] + M[d.LIST_ITEM_CLASS] + M[d.LIST_ITEM_CLASS];
725
717
  /**
726
718
  * @license
727
719
  * Copyright 2018 Google Inc.
@@ -744,7 +736,7 @@ var x = (y = {}, y["" + d.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item
744
736
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
745
737
  * THE SOFTWARE.
746
738
  */
747
- var dt = (
739
+ var at = (
748
740
  /** @class */
749
741
  function(n) {
750
742
  U(e, n);
@@ -754,7 +746,7 @@ var dt = (
754
746
  }
755
747
  return Object.defineProperty(e, "cssClasses", {
756
748
  get: function() {
757
- return H;
749
+ return P;
758
750
  },
759
751
  enumerable: !1,
760
752
  configurable: !0
@@ -766,7 +758,7 @@ var dt = (
766
758
  configurable: !0
767
759
  }), Object.defineProperty(e, "numbers", {
768
760
  get: function() {
769
- return at;
761
+ return rt;
770
762
  },
771
763
  enumerable: !1,
772
764
  configurable: !0
@@ -830,7 +822,7 @@ var dt = (
830
822
  this.adapter.closeSurface(r), this.closeAnimationEndTimerId = setTimeout(function() {
831
823
  var l = i.adapter.getElementIndex(t);
832
824
  l >= 0 && i.adapter.isSelectableItemAtIndex(l) && i.setSelectedIndex(l);
833
- }, X.numbers.TRANSITION_CLOSE_DURATION);
825
+ }, q.numbers.TRANSITION_CLOSE_DURATION);
834
826
  }
835
827
  }, e.prototype.handleMenuSurfaceOpened = function() {
836
828
  switch (this.defaultFocusState) {
@@ -854,7 +846,7 @@ var dt = (
854
846
  if (this.validatedIndex(t), !this.adapter.isSelectableItemAtIndex(t))
855
847
  throw new Error("MDCMenuFoundation: No selection group at specified index.");
856
848
  var i = this.adapter.getSelectedSiblingOfItemAtIndex(t);
857
- i >= 0 && (this.adapter.removeAttributeFromElementAtIndex(i, v.ARIA_CHECKED_ATTR), this.adapter.removeClassFromElementAtIndex(i, H.MENU_SELECTED_LIST_ITEM)), this.adapter.addClassToElementAtIndex(t, H.MENU_SELECTED_LIST_ITEM), this.adapter.addAttributeToElementAtIndex(t, v.ARIA_CHECKED_ATTR, "true"), this.selectedIndex = t;
849
+ i >= 0 && (this.adapter.removeAttributeFromElementAtIndex(i, v.ARIA_CHECKED_ATTR), this.adapter.removeClassFromElementAtIndex(i, P.MENU_SELECTED_LIST_ITEM)), this.adapter.addClassToElementAtIndex(t, P.MENU_SELECTED_LIST_ITEM), this.adapter.addAttributeToElementAtIndex(t, v.ARIA_CHECKED_ATTR, "true"), this.selectedIndex = t;
858
850
  }, e.prototype.setEnabled = function(t, i) {
859
851
  this.validatedIndex(t), i ? (this.adapter.removeClassFromElementAtIndex(t, d.LIST_ITEM_DISABLED_CLASS), this.adapter.addAttributeToElementAtIndex(t, v.ARIA_DISABLED_ATTR, "false")) : (this.adapter.addClassToElementAtIndex(t, d.LIST_ITEM_DISABLED_CLASS), this.adapter.addAttributeToElementAtIndex(t, v.ARIA_DISABLED_ATTR, "true"));
860
852
  }, e.prototype.validatedIndex = function(t) {
@@ -862,17 +854,16 @@ var dt = (
862
854
  if (!s)
863
855
  throw new Error("MDCMenuFoundation: No list item at specified index.");
864
856
  }, e;
865
- }(W)
857
+ }(K)
866
858
  );
867
- const lt = dt;
868
859
  /**
869
860
  * @license
870
861
  * Copyright 2020 Google LLC
871
862
  * SPDX-License-Identifier: Apache-2.0
872
863
  */
873
- class h extends j {
864
+ class h extends W {
874
865
  constructor() {
875
- super(...arguments), this.mdcFoundationClass = lt, this.listElement_ = null, this.anchor = null, this.open = !1, this.quick = !1, this.wrapFocus = !1, this.innerRole = "menu", this.innerAriaLabel = null, this.corner = "TOP_START", this.x = null, this.y = null, this.absolute = !1, this.multi = !1, this.activatable = !1, this.fixed = !1, this.forceGroupSelection = !1, this.fullwidth = !1, this.menuCorner = "START", this.stayOpenOnBodyClick = !1, this.defaultFocus = "LIST_ROOT", this._listUpdateComplete = null;
866
+ super(...arguments), this.mdcFoundationClass = at, this.listElement_ = null, this.anchor = null, this.open = !1, this.quick = !1, this.wrapFocus = !1, this.innerRole = "menu", this.innerAriaLabel = null, this.corner = "TOP_START", this.x = null, this.y = null, this.absolute = !1, this.multi = !1, this.activatable = !1, this.fixed = !1, this.forceGroupSelection = !1, this.fullwidth = !1, this.menuCorner = "START", this.stayOpenOnBodyClick = !1, this.defaultFocus = "LIST_ROOT", this._listUpdateComplete = null;
876
867
  }
877
868
  get listElement() {
878
869
  return this.listElement_ ? this.listElement_ : (this.listElement_ = this.renderRoot.querySelector("mwc-list"), this.listElement_);
@@ -908,7 +899,7 @@ class h extends j {
908
899
  .fullwidth=${this.fullwidth}
909
900
  .menuCorner=${this.menuCorner}
910
901
  ?stayOpenOnBodyClick=${this.stayOpenOnBodyClick}
911
- class=${P(e)}
902
+ class=${H(e)}
912
903
  @closed=${this.onClosed}
913
904
  @opened=${this.onOpened}
914
905
  @keydown=${this.onKeydown}>
@@ -929,7 +920,7 @@ class h extends j {
929
920
  .innerAriaLabel=${this.innerAriaLabel}
930
921
  .innerRole=${this.innerRole}
931
922
  .multi=${this.multi}
932
- class=${P(t)}
923
+ class=${H(t)}
933
924
  .itemRoles=${e}
934
925
  .wrapFocus=${this.wrapFocus}
935
926
  .activatable=${this.activatable}
@@ -1078,10 +1069,10 @@ class h extends j {
1078
1069
  }
1079
1070
  }
1080
1071
  o([
1081
- D(".mdc-menu")
1072
+ N(".mdc-menu")
1082
1073
  ], h.prototype, "mdcRoot", void 0);
1083
1074
  o([
1084
- D("slot")
1075
+ N("slot")
1085
1076
  ], h.prototype, "slotElement", void 0);
1086
1077
  o([
1087
1078
  a({ type: Object })
@@ -1136,10 +1127,17 @@ o([
1136
1127
  ], h.prototype, "stayOpenOnBodyClick", void 0);
1137
1128
  o([
1138
1129
  a({ type: String }),
1139
- g(function(n) {
1130
+ y(function(n) {
1140
1131
  this.mdcFoundation && this.mdcFoundation.setDefaultFocusState(C[n]);
1141
1132
  })
1142
1133
  ], h.prototype, "defaultFocus", void 0);
1134
+ /**
1135
+ * @license
1136
+ * Copyright 2021 Google LLC
1137
+ * SPDX-LIcense-Identifier: Apache-2.0
1138
+ */
1139
+ const St = V`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`;
1143
1140
  export {
1144
- h as M
1141
+ h as M,
1142
+ St as s
1145
1143
  };