@tylertech/forge 3.0.0-next.14 → 3.0.0-next.16

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 (814) hide show
  1. package/custom-elements.json +52540 -39351
  2. package/dist/esm/accordion/index.js +1 -1
  3. package/dist/esm/app-bar/app-bar/index.js +1 -1
  4. package/dist/esm/app-bar/help-button/index.js +1 -1
  5. package/dist/esm/app-bar/index.js +1 -1
  6. package/dist/esm/app-bar/menu-button/index.js +1 -1
  7. package/dist/esm/app-bar/notification-button/index.js +1 -1
  8. package/dist/esm/app-bar/profile-button/index.js +1 -1
  9. package/dist/esm/app-bar/search/index.js +1 -1
  10. package/dist/esm/autocomplete/index.js +1 -1
  11. package/dist/esm/avatar/index.js +1 -1
  12. package/dist/esm/backdrop/index.js +1 -1
  13. package/dist/esm/badge/index.js +1 -1
  14. package/dist/esm/banner/index.js +1 -1
  15. package/dist/esm/bottom-sheet/index.js +1 -1
  16. package/dist/esm/busy-indicator/index.js +1 -1
  17. package/dist/esm/button/index.js +1 -1
  18. package/dist/esm/button-area/index.js +1 -1
  19. package/dist/esm/button-toggle/button-toggle/index.js +1 -1
  20. package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
  21. package/dist/esm/button-toggle/index.js +1 -1
  22. package/dist/esm/calendar/calendar-dropdown/index.js +1 -1
  23. package/dist/esm/calendar/calendar-menu/index.js +1 -1
  24. package/dist/esm/calendar/index.js +1 -1
  25. package/dist/esm/card/index.js +1 -1
  26. package/dist/esm/checkbox/index.js +1 -1
  27. package/dist/esm/chip-field/index.js +1 -1
  28. package/dist/esm/chips/chip/index.js +1 -1
  29. package/dist/esm/chips/chip-set/index.js +1 -1
  30. package/dist/esm/chips/index.js +1 -1
  31. package/dist/esm/chunks/chunk.24NQGTNU.js +7 -0
  32. package/dist/esm/chunks/chunk.24NQGTNU.js.map +7 -0
  33. package/dist/esm/chunks/{chunk.PSTGTQVK.js → chunk.2JCTFKCR.js} +2 -2
  34. package/dist/esm/chunks/{chunk.3UO6S3IK.js → chunk.2OZ2HVBZ.js} +2 -2
  35. package/dist/esm/chunks/{chunk.3UO6S3IK.js.map → chunk.2OZ2HVBZ.js.map} +3 -3
  36. package/dist/esm/chunks/{chunk.4B5IOZAT.js → chunk.2YE556AM.js} +2 -2
  37. package/dist/esm/chunks/{chunk.YKZ25J6B.js → chunk.3U6A353B.js} +2 -2
  38. package/dist/esm/chunks/chunk.3VHQPHQP.js +7 -0
  39. package/dist/esm/chunks/chunk.3VHQPHQP.js.map +7 -0
  40. package/dist/esm/chunks/{chunk.LXX3YZYS.js → chunk.436USWLL.js} +2 -2
  41. package/dist/esm/chunks/{chunk.KLPF4CNX.js → chunk.4GMGQZOW.js} +2 -2
  42. package/dist/esm/chunks/{chunk.Z7PBGV4K.js → chunk.4JB3SESQ.js} +2 -2
  43. package/dist/esm/chunks/{chunk.QFY23EWU.js → chunk.4JL5LW5J.js} +2 -2
  44. package/dist/esm/chunks/chunk.4O6OEUGY.js +7 -0
  45. package/dist/esm/chunks/{chunk.RDW7Z4W5.js.map → chunk.4O6OEUGY.js.map} +2 -2
  46. package/dist/esm/chunks/chunk.4OG3OGVO.js +7 -0
  47. package/dist/esm/chunks/chunk.4OG3OGVO.js.map +7 -0
  48. package/dist/esm/chunks/chunk.4QOXI2GM.js +7 -0
  49. package/dist/esm/chunks/chunk.4QOXI2GM.js.map +7 -0
  50. package/dist/esm/chunks/chunk.55D2BMXX.js +7 -0
  51. package/dist/esm/chunks/{chunk.A72W7RW7.js → chunk.5LCWC3A7.js} +2 -2
  52. package/dist/esm/chunks/{chunk.RYNQDXFA.js → chunk.5T7TT3AB.js} +2 -2
  53. package/dist/esm/chunks/{chunk.2GYZM6ZG.js → chunk.5WVOPPBY.js} +2 -2
  54. package/dist/esm/chunks/{chunk.2GYZM6ZG.js.map → chunk.5WVOPPBY.js.map} +2 -2
  55. package/dist/esm/chunks/chunk.5XLCY232.js +7 -0
  56. package/dist/esm/chunks/chunk.5XLCY232.js.map +7 -0
  57. package/dist/esm/chunks/chunk.65WE722H.js +7 -0
  58. package/dist/esm/chunks/chunk.65WE722H.js.map +7 -0
  59. package/dist/esm/chunks/chunk.6IPX5C4B.js +7 -0
  60. package/dist/esm/chunks/chunk.6IPX5C4B.js.map +7 -0
  61. package/dist/esm/chunks/{chunk.TLFCQSJN.js → chunk.6PB5OWMP.js} +2 -2
  62. package/dist/esm/chunks/{chunk.TLFCQSJN.js.map → chunk.6PB5OWMP.js.map} +2 -2
  63. package/dist/esm/chunks/chunk.74HZVSDM.js +7 -0
  64. package/dist/esm/chunks/chunk.74HZVSDM.js.map +7 -0
  65. package/dist/esm/chunks/chunk.74JHE77R.js +7 -0
  66. package/dist/esm/chunks/{chunk.KTYYBWTN.js.map → chunk.74JHE77R.js.map} +2 -2
  67. package/dist/esm/chunks/chunk.7SYU6KRU.js +15 -0
  68. package/dist/esm/chunks/chunk.7SYU6KRU.js.map +7 -0
  69. package/dist/esm/chunks/{chunk.HHHBS6FB.js → chunk.B53Q676I.js} +2 -2
  70. package/dist/esm/chunks/{chunk.B46Q3AFP.js → chunk.BKQSLDMK.js} +2 -2
  71. package/dist/esm/chunks/{chunk.7XFU2W25.js → chunk.BX4AQRHB.js} +2 -2
  72. package/dist/esm/chunks/{chunk.7XFU2W25.js.map → chunk.BX4AQRHB.js.map} +3 -3
  73. package/dist/esm/chunks/{chunk.OUACQISE.js → chunk.BZG47SA5.js} +2 -2
  74. package/dist/esm/chunks/{chunk.OUACQISE.js.map → chunk.BZG47SA5.js.map} +1 -1
  75. package/dist/esm/chunks/{chunk.F2EBSV5Z.js → chunk.BZVLSWZR.js} +2 -2
  76. package/dist/esm/chunks/chunk.C72LM2AL.js +7 -0
  77. package/dist/esm/chunks/chunk.C72LM2AL.js.map +7 -0
  78. package/dist/esm/chunks/{chunk.BMQYEYCT.js → chunk.DGG5ABL3.js} +2 -2
  79. package/dist/esm/chunks/{chunk.PK7R6WDF.js → chunk.DPIWAXEW.js} +2 -2
  80. package/dist/esm/chunks/chunk.E62ZPQSM.js +7 -0
  81. package/dist/esm/chunks/chunk.E62ZPQSM.js.map +7 -0
  82. package/dist/esm/chunks/chunk.ECJBVX3D.js +7 -0
  83. package/dist/esm/chunks/{chunk.5VHUMZYS.js.map → chunk.ECJBVX3D.js.map} +1 -1
  84. package/dist/esm/chunks/chunk.EN2HVFJ4.js +7 -0
  85. package/dist/esm/chunks/chunk.EN2HVFJ4.js.map +7 -0
  86. package/dist/esm/chunks/chunk.EPRRK33O.js +7 -0
  87. package/dist/esm/chunks/chunk.EPRRK33O.js.map +7 -0
  88. package/dist/esm/chunks/{chunk.7PP6QHOM.js → chunk.ETDUW5K2.js} +2 -2
  89. package/dist/esm/chunks/chunk.EWFNM4WO.js +7 -0
  90. package/dist/esm/chunks/chunk.EWFNM4WO.js.map +7 -0
  91. package/dist/esm/chunks/{chunk.FYWPZFLJ.js → chunk.EWT2PBEP.js} +2 -2
  92. package/dist/esm/chunks/{chunk.FYWPZFLJ.js.map → chunk.EWT2PBEP.js.map} +2 -2
  93. package/dist/esm/chunks/{chunk.GHR7T6U2.js → chunk.FGHSNC2V.js} +2 -2
  94. package/dist/esm/chunks/{chunk.P7LC3YYW.js → chunk.FPRBYGET.js} +2 -2
  95. package/dist/esm/chunks/{chunk.7W2UWAZX.js → chunk.FQVR2QNF.js} +2 -2
  96. package/dist/esm/chunks/{chunk.IEB5KRFQ.js → chunk.FWWBFNQA.js} +2 -2
  97. package/dist/esm/chunks/{chunk.543K5Y4E.js → chunk.FZELFLPE.js} +2 -2
  98. package/dist/esm/chunks/{chunk.6Q3SV2R2.js → chunk.FZZUNYH5.js} +2 -2
  99. package/dist/esm/chunks/chunk.GHMAI3SM.js +15 -0
  100. package/dist/esm/chunks/chunk.GHMAI3SM.js.map +7 -0
  101. package/dist/esm/chunks/{chunk.CTZ3AWDW.js → chunk.GLUKTMQU.js} +2 -2
  102. package/dist/esm/chunks/{chunk.W324TWF2.js → chunk.GTBCTNMI.js} +2 -2
  103. package/dist/esm/chunks/chunk.GTGXHY4A.js +7 -0
  104. package/dist/esm/chunks/chunk.GTGXHY4A.js.map +7 -0
  105. package/dist/esm/chunks/{chunk.L4Y4RO5O.js → chunk.GURV4TDZ.js} +2 -2
  106. package/dist/esm/chunks/chunk.H6MMHAQI.js +15 -0
  107. package/dist/esm/chunks/chunk.H6MMHAQI.js.map +7 -0
  108. package/dist/esm/chunks/{chunk.FQSL747N.js → chunk.HJUFU2PV.js} +2 -2
  109. package/dist/esm/chunks/{chunk.FQSL747N.js.map → chunk.HJUFU2PV.js.map} +2 -2
  110. package/dist/esm/chunks/chunk.HPCXVNG6.js +7 -0
  111. package/dist/esm/chunks/{chunk.CZOABXEQ.js.map → chunk.HPCXVNG6.js.map} +3 -3
  112. package/dist/esm/chunks/{chunk.K7FPXAFS.js → chunk.HZUQXCOQ.js} +2 -2
  113. package/dist/esm/chunks/{chunk.K7FPXAFS.js.map → chunk.HZUQXCOQ.js.map} +2 -2
  114. package/dist/esm/chunks/{chunk.THWSN3X4.js → chunk.IA27LU2O.js} +2 -2
  115. package/dist/esm/chunks/chunk.INQZNXG6.js +7 -0
  116. package/dist/esm/chunks/chunk.INQZNXG6.js.map +7 -0
  117. package/dist/esm/chunks/chunk.IO3TM653.js +7 -0
  118. package/dist/esm/chunks/chunk.IO3TM653.js.map +7 -0
  119. package/dist/esm/chunks/{chunk.TZFUKJ24.js → chunk.JXJVPJRO.js} +2 -2
  120. package/dist/esm/chunks/{chunk.Z2RB75TN.js → chunk.K3STAW42.js} +2 -2
  121. package/dist/esm/chunks/chunk.KM5XYTE3.js +7 -0
  122. package/dist/esm/chunks/chunk.KM5XYTE3.js.map +7 -0
  123. package/dist/esm/chunks/{chunk.G2BNY5QQ.js → chunk.KPC6IS3C.js} +2 -2
  124. package/dist/esm/chunks/chunk.KPNGLSCU.js +7 -0
  125. package/dist/esm/chunks/chunk.KPNGLSCU.js.map +7 -0
  126. package/dist/esm/chunks/{chunk.VDZ7HBKM.js → chunk.KV7PGQJ7.js} +2 -2
  127. package/dist/esm/chunks/chunk.LCS2O4Y7.js +7 -0
  128. package/dist/esm/chunks/chunk.LCS2O4Y7.js.map +7 -0
  129. package/dist/esm/chunks/chunk.M4KCRUKW.js +7 -0
  130. package/dist/esm/chunks/chunk.M4KCRUKW.js.map +7 -0
  131. package/dist/esm/chunks/chunk.M5JGYRH4.js +7 -0
  132. package/dist/esm/chunks/chunk.M7RYU4HQ.js +7 -0
  133. package/dist/esm/chunks/chunk.M7RYU4HQ.js.map +7 -0
  134. package/dist/esm/chunks/chunk.N75VD4S4.js +7 -0
  135. package/dist/esm/chunks/chunk.NHOGZDLN.js +7 -0
  136. package/dist/esm/chunks/chunk.NHOGZDLN.js.map +7 -0
  137. package/dist/esm/chunks/{chunk.H7GW57Q6.js → chunk.NKEAMFO4.js} +2 -2
  138. package/dist/esm/chunks/{chunk.26E4L52W.js → chunk.NW54VA4E.js} +2 -2
  139. package/dist/esm/chunks/chunk.OJGPKHHC.js +7 -0
  140. package/dist/esm/chunks/{chunk.VD5ZL5ZN.js.map → chunk.OJGPKHHC.js.map} +2 -2
  141. package/dist/esm/chunks/chunk.OSCODMUG.js +7 -0
  142. package/dist/esm/chunks/chunk.OSCODMUG.js.map +7 -0
  143. package/dist/esm/chunks/chunk.OT3JZ6JO.js +7 -0
  144. package/dist/esm/chunks/chunk.OT3JZ6JO.js.map +7 -0
  145. package/dist/esm/chunks/{chunk.PADPL4L3.js → chunk.OUIWXKO2.js} +2 -2
  146. package/dist/esm/chunks/chunk.OXVCCHM5.js +7 -0
  147. package/dist/esm/chunks/{chunk.7ABZUBTT.js → chunk.P5XHGSJY.js} +2 -2
  148. package/dist/esm/chunks/chunk.Q5YXX4DU.js +7 -0
  149. package/dist/esm/chunks/chunk.Q5YXX4DU.js.map +7 -0
  150. package/dist/esm/chunks/chunk.QG5EYBS3.js +7 -0
  151. package/dist/esm/chunks/chunk.QG5EYBS3.js.map +7 -0
  152. package/dist/esm/chunks/{chunk.NZKIFXBU.js → chunk.QKTNCOVX.js} +2 -2
  153. package/dist/esm/chunks/{chunk.NG6UZ4OL.js → chunk.QZ57WM3D.js} +2 -2
  154. package/dist/esm/chunks/{chunk.OED5UCYT.js → chunk.R2QENXIL.js} +2 -2
  155. package/dist/esm/chunks/chunk.R53VHVKB.js +12 -0
  156. package/dist/esm/chunks/chunk.R53VHVKB.js.map +7 -0
  157. package/dist/esm/chunks/{chunk.DOEG3DWJ.js → chunk.RDQ3QGWS.js} +2 -2
  158. package/dist/esm/chunks/{chunk.GS72TBUD.js → chunk.RFKKHN7V.js} +2 -2
  159. package/dist/esm/chunks/{chunk.57PXXJA6.js → chunk.RKG66YKS.js} +2 -2
  160. package/dist/esm/chunks/chunk.RRNSZCVJ.js +7 -0
  161. package/dist/esm/chunks/chunk.RRNSZCVJ.js.map +7 -0
  162. package/dist/esm/chunks/chunk.S32JKL3M.js +7 -0
  163. package/dist/esm/chunks/chunk.S32JKL3M.js.map +7 -0
  164. package/dist/esm/chunks/chunk.SJQPD3CO.js +7 -0
  165. package/dist/esm/chunks/chunk.SJQPD3CO.js.map +7 -0
  166. package/dist/esm/chunks/{chunk.LMIKNDBS.js → chunk.T235SNYZ.js} +2 -2
  167. package/dist/esm/chunks/chunk.T4N7KZHZ.js +7 -0
  168. package/dist/esm/chunks/chunk.T4N7KZHZ.js.map +7 -0
  169. package/dist/esm/chunks/{chunk.J3B5CWKT.js → chunk.TE6ZNUAM.js} +2 -2
  170. package/dist/esm/chunks/{chunk.J3B5CWKT.js.map → chunk.TE6ZNUAM.js.map} +2 -2
  171. package/dist/esm/chunks/{chunk.DD35U4AA.js → chunk.TNEUDWZU.js} +2 -2
  172. package/dist/esm/chunks/{chunk.DD35U4AA.js.map → chunk.TNEUDWZU.js.map} +2 -2
  173. package/dist/esm/chunks/chunk.TPXXHX5J.js +7 -0
  174. package/dist/esm/chunks/{chunk.JAWV5Y5T.js.map → chunk.TPXXHX5J.js.map} +2 -2
  175. package/dist/esm/chunks/chunk.TZ67MC2N.js +7 -0
  176. package/dist/esm/chunks/{chunk.C5IB44HX.js.map → chunk.TZ67MC2N.js.map} +1 -1
  177. package/dist/esm/chunks/chunk.V3IHX6B2.js +7 -0
  178. package/dist/esm/chunks/{chunk.BFUGFHEH.js.map → chunk.V3IHX6B2.js.map} +1 -1
  179. package/dist/esm/chunks/chunk.V564JB6A.js +7 -0
  180. package/dist/esm/chunks/chunk.V564JB6A.js.map +7 -0
  181. package/dist/esm/chunks/chunk.VGIZJ32U.js +7 -0
  182. package/dist/esm/chunks/chunk.VZTV4GXC.js +7 -0
  183. package/dist/esm/chunks/chunk.VZTV4GXC.js.map +7 -0
  184. package/dist/esm/chunks/chunk.W5TDBDVY.js +7 -0
  185. package/dist/esm/chunks/{chunk.XDANTL6C.js.map → chunk.W5TDBDVY.js.map} +2 -2
  186. package/dist/esm/chunks/{chunk.U5WMRBSC.js → chunk.WA2YP4NC.js} +2 -2
  187. package/dist/esm/chunks/chunk.WFQYTXCB.js +7 -0
  188. package/dist/esm/chunks/chunk.WFQYTXCB.js.map +7 -0
  189. package/dist/esm/chunks/chunk.WNH7EHZP.js +7 -0
  190. package/dist/esm/chunks/{chunk.F6KM5FO6.js.map → chunk.WNH7EHZP.js.map} +2 -2
  191. package/dist/esm/chunks/{chunk.5C24LZNU.js → chunk.WQHKUNR7.js} +2 -2
  192. package/dist/esm/chunks/chunk.WYSUQK6Z.js +7 -0
  193. package/dist/esm/chunks/{chunk.3ZRQFXQU.js.map → chunk.WYSUQK6Z.js.map} +2 -2
  194. package/dist/esm/chunks/chunk.X57DRPFB.js +7 -0
  195. package/dist/esm/chunks/{chunk.DDXIHZFX.js → chunk.X7YTDVNT.js} +2 -2
  196. package/dist/esm/chunks/chunk.XBFH6M72.js +7 -0
  197. package/dist/esm/chunks/chunk.XBFH6M72.js.map +7 -0
  198. package/dist/esm/chunks/{chunk.7DHDFH5L.js → chunk.XOH2JCRS.js} +2 -2
  199. package/dist/esm/chunks/{chunk.IW7HALLT.js → chunk.Y6D5Z56X.js} +2 -2
  200. package/dist/esm/chunks/{chunk.IW7HALLT.js.map → chunk.Y6D5Z56X.js.map} +2 -2
  201. package/dist/esm/chunks/chunk.YBPAGWVG.js +7 -0
  202. package/dist/esm/chunks/chunk.YBPAGWVG.js.map +7 -0
  203. package/dist/esm/chunks/{chunk.KVCDAZ6B.js → chunk.YTBNAGLS.js} +2 -2
  204. package/dist/esm/chunks/chunk.YWDYBX3G.js +7 -0
  205. package/dist/esm/chunks/chunk.YWDYBX3G.js.map +7 -0
  206. package/dist/esm/chunks/{chunk.RZZBM3AW.js → chunk.ZHMV5SR4.js} +2 -2
  207. package/dist/esm/chunks/{chunk.GWJ4QCSW.js → chunk.ZLACSRD4.js} +2 -2
  208. package/dist/esm/chunks/{chunk.URCJO73M.js → chunk.ZPVRRFT7.js} +2 -2
  209. package/dist/esm/chunks/{chunk.URCJO73M.js.map → chunk.ZPVRRFT7.js.map} +1 -1
  210. package/dist/esm/chunks/chunk.ZS3T6MJS.js +7 -0
  211. package/dist/esm/chunks/{chunk.JVK64JDZ.js.map → chunk.ZS3T6MJS.js.map} +2 -2
  212. package/dist/esm/chunks/{chunk.DTKFE7YB.js → chunk.ZUTQPJ2B.js} +2 -2
  213. package/dist/esm/chunks/chunk.ZWIEYVZC.js +7 -0
  214. package/dist/esm/chunks/chunk.ZWIEYVZC.js.map +7 -0
  215. package/dist/esm/chunks/chunk.ZY3ETQ3D.js +7 -0
  216. package/dist/esm/chunks/chunk.ZY3ETQ3D.js.map +7 -0
  217. package/dist/esm/chunks/{chunk.PQQVUUHU.js → chunk.ZYCKD6K5.js} +2 -2
  218. package/dist/esm/circular-progress/index.js +1 -1
  219. package/dist/esm/color-picker/index.js +1 -1
  220. package/dist/esm/core/base/index.js +1 -1
  221. package/dist/esm/core/delegates/index.js +1 -1
  222. package/dist/esm/core/index.js +1 -1
  223. package/dist/esm/core/utils/index.js +1 -1
  224. package/dist/esm/date-picker/index.js +1 -1
  225. package/dist/esm/date-range-picker/index.js +1 -1
  226. package/dist/esm/dialog/index.js +1 -1
  227. package/dist/esm/divider/index.js +1 -1
  228. package/dist/esm/drawer/base/index.js +1 -1
  229. package/dist/esm/drawer/drawer/index.js +1 -1
  230. package/dist/esm/drawer/index.js +1 -1
  231. package/dist/esm/drawer/mini-drawer/index.js +1 -1
  232. package/dist/esm/drawer/modal-drawer/index.js +1 -1
  233. package/dist/esm/expansion-panel/index.js +1 -1
  234. package/dist/esm/file-picker/index.js +1 -1
  235. package/dist/esm/floating-action-button/index.js +1 -1
  236. package/dist/esm/floating-label/index.js +1 -1
  237. package/dist/esm/focus-indicator/index.js +1 -1
  238. package/dist/esm/icon/index.js +1 -1
  239. package/dist/esm/icon-button/index.js +1 -1
  240. package/dist/esm/index.js +1 -1
  241. package/dist/esm/inline-message/index.js +1 -1
  242. package/dist/esm/keyboard-shortcut/index.js +1 -1
  243. package/dist/esm/label/index.js +1 -1
  244. package/dist/esm/label-value/index.js +1 -1
  245. package/dist/esm/linear-progress/index.js +1 -1
  246. package/dist/esm/list/index.js +1 -1
  247. package/dist/esm/list/list/index.js +1 -1
  248. package/dist/esm/list/list-item/index.js +1 -1
  249. package/dist/esm/list-dropdown/index.js +1 -1
  250. package/dist/esm/menu/index.js +1 -1
  251. package/dist/esm/open-icon/index.js +1 -1
  252. package/dist/esm/overlay/index.js +7 -0
  253. package/dist/esm/overlay/index.js.map +7 -0
  254. package/dist/esm/page-state/index.js +1 -1
  255. package/dist/esm/paginator/index.js +1 -1
  256. package/dist/esm/popover/index.js +7 -0
  257. package/dist/esm/popover/index.js.map +7 -0
  258. package/dist/esm/popup/index.js +1 -1
  259. package/dist/esm/product-icon/index.js +1 -1
  260. package/dist/esm/profile-card/index.js +1 -1
  261. package/dist/esm/quantity-field/index.js +1 -1
  262. package/dist/esm/radio/index.js +1 -1
  263. package/dist/esm/radio/radio/index.js +7 -0
  264. package/dist/esm/radio/radio/index.js.map +7 -0
  265. package/dist/esm/radio/radio-group/index.js +7 -0
  266. package/dist/esm/radio/radio-group/index.js.map +7 -0
  267. package/dist/esm/ripple/index.js +1 -1
  268. package/dist/esm/scaffold/index.js +1 -1
  269. package/dist/esm/select/core/index.js +1 -1
  270. package/dist/esm/select/index.js +1 -1
  271. package/dist/esm/select/option/index.js +1 -1
  272. package/dist/esm/select/option-group/index.js +1 -1
  273. package/dist/esm/select/select/index.js +1 -1
  274. package/dist/esm/select/select-dropdown/index.js +1 -1
  275. package/dist/esm/skeleton/index.js +1 -1
  276. package/dist/esm/slider/index.js +1 -1
  277. package/dist/esm/split-button/index.js +1 -1
  278. package/dist/esm/split-view/index.js +1 -1
  279. package/dist/esm/split-view/split-view/index.js +1 -1
  280. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  281. package/dist/esm/stack/index.js +1 -1
  282. package/dist/esm/state-layer/index.js +1 -1
  283. package/dist/esm/stepper/index.js +1 -1
  284. package/dist/esm/stepper/step/index.js +1 -1
  285. package/dist/esm/stepper/stepper/index.js +1 -1
  286. package/dist/esm/switch/index.js +1 -1
  287. package/dist/esm/table/index.js +1 -1
  288. package/dist/esm/tabs/index.js +1 -1
  289. package/dist/esm/tabs/tab/index.js +1 -1
  290. package/dist/esm/tabs/tab-bar/index.js +1 -1
  291. package/dist/esm/text-field/index.js +1 -1
  292. package/dist/esm/time-picker/index.js +1 -1
  293. package/dist/esm/toast/index.js +1 -1
  294. package/dist/esm/toolbar/index.js +1 -1
  295. package/dist/esm/tooltip/index.js +1 -1
  296. package/dist/esm/view-switcher/index.js +1 -1
  297. package/dist/esm/view-switcher/view/index.js +1 -1
  298. package/dist/forge-dark.css +1 -1
  299. package/dist/forge.css +1 -1
  300. package/dist/theme/forge-theme.css +1 -1
  301. package/esm/app-bar/app-bar/app-bar.js +1 -1
  302. package/esm/app-bar/help-button/app-bar-help-button-adapter.js +3 -3
  303. package/esm/app-bar/help-button/app-bar-help-button.js +1 -1
  304. package/esm/app-bar/menu-button/app-bar-menu-button.js +4 -4
  305. package/esm/app-bar/notification-button/app-bar-notification-button-adapter.js +3 -3
  306. package/esm/app-bar/notification-button/app-bar-notification-button.js +1 -1
  307. package/esm/app-bar/profile-button/app-bar-profile-button-adapter.js +3 -3
  308. package/esm/app-bar/profile-button/app-bar-profile-button-foundation.js +1 -0
  309. package/esm/app-bar/profile-button/app-bar-profile-button.js +1 -1
  310. package/esm/app-bar/search/app-bar-search-adapter.d.ts +8 -43
  311. package/esm/app-bar/search/app-bar-search-adapter.js +23 -53
  312. package/esm/app-bar/search/app-bar-search-constants.d.ts +0 -15
  313. package/esm/app-bar/search/app-bar-search-constants.js +3 -20
  314. package/esm/app-bar/search/app-bar-search-foundation.d.ts +3 -37
  315. package/esm/app-bar/search/app-bar-search-foundation.js +27 -88
  316. package/esm/app-bar/search/app-bar-search.d.ts +1 -21
  317. package/esm/app-bar/search/app-bar-search.js +13 -39
  318. package/esm/banner/banner.js +1 -1
  319. package/esm/button/base/base-button-adapter.d.ts +0 -5
  320. package/esm/button/base/base-button-adapter.js +18 -18
  321. package/esm/button/base/base-button-constants.d.ts +28 -28
  322. package/esm/button/base/base-button-foundation.d.ts +0 -2
  323. package/esm/button/base/base-button-foundation.js +9 -14
  324. package/esm/button/base/base-button.d.ts +11 -7
  325. package/esm/button/base/base-button.js +21 -14
  326. package/esm/button/button-constants.d.ts +2 -0
  327. package/esm/button/button-constants.js +2 -1
  328. package/esm/button/button-foundation.d.ts +4 -0
  329. package/esm/button/button-foundation.js +10 -0
  330. package/esm/button/button.d.ts +4 -0
  331. package/esm/button/button.js +10 -2
  332. package/esm/button-toggle/button-toggle/button-toggle-adapter.d.ts +6 -14
  333. package/esm/button-toggle/button-toggle/button-toggle-adapter.js +19 -45
  334. package/esm/button-toggle/button-toggle/button-toggle-constants.d.ts +11 -15
  335. package/esm/button-toggle/button-toggle/button-toggle-constants.js +6 -17
  336. package/esm/button-toggle/button-toggle/button-toggle-foundation.d.ts +18 -12
  337. package/esm/button-toggle/button-toggle/button-toggle-foundation.js +74 -30
  338. package/esm/button-toggle/button-toggle/button-toggle.d.ts +67 -14
  339. package/esm/button-toggle/button-toggle/button-toggle.js +82 -29
  340. package/esm/button-toggle/button-toggle-group/button-toggle-group-adapter.d.ts +7 -13
  341. package/esm/button-toggle/button-toggle-group/button-toggle-group-adapter.js +26 -91
  342. package/esm/button-toggle/button-toggle-group/button-toggle-group-constants.d.ts +20 -11
  343. package/esm/button-toggle/button-toggle-group/button-toggle-group-constants.js +8 -2
  344. package/esm/button-toggle/button-toggle-group/button-toggle-group-foundation.d.ts +20 -12
  345. package/esm/button-toggle/button-toggle-group/button-toggle-group-foundation.js +101 -97
  346. package/esm/button-toggle/button-toggle-group/button-toggle-group.d.ts +75 -9
  347. package/esm/button-toggle/button-toggle-group/button-toggle-group.js +134 -25
  348. package/esm/calendar/calendar-dom-utils.js +1 -2
  349. package/esm/calendar/calendar-foundation.d.ts +1 -1
  350. package/esm/calendar/calendar-foundation.js +13 -16
  351. package/esm/checkbox/checkbox.js +1 -1
  352. package/esm/circular-progress/circular-progress-adapter.js +8 -12
  353. package/esm/circular-progress/circular-progress.d.ts +7 -3
  354. package/esm/circular-progress/circular-progress.js +4 -2
  355. package/esm/color-picker/color-picker.js +1 -1
  356. package/esm/constants.d.ts +15 -2
  357. package/esm/constants.js +13 -0
  358. package/esm/core/base/base-adapter.d.ts +6 -0
  359. package/esm/core/base/base-adapter.js +13 -4
  360. package/esm/core/base/base-component.d.ts +4 -0
  361. package/esm/core/base/base-form-component.d.ts +0 -10
  362. package/esm/core/base/base-form-component.js +0 -6
  363. package/esm/core/base/base-nullable-form-component.d.ts +0 -10
  364. package/esm/core/base/base-nullable-form-component.js +0 -6
  365. package/esm/core/{base/base-focusable-component.d.ts → mixins/focus/with-focusable.d.ts} +11 -14
  366. package/esm/core/{base/base-focusable-component.js → mixins/focus/with-focusable.js} +15 -16
  367. package/esm/core/mixins/form/with-form-associated.d.ts +116 -0
  368. package/esm/core/mixins/form/with-form-associated.js +71 -0
  369. package/esm/core/mixins/form/with-form-validity.d.ts +35 -0
  370. package/esm/core/mixins/form/with-form-validity.js +43 -0
  371. package/esm/core/mixins/interactions/longpress/with-longpress-listener.d.ts +33 -0
  372. package/esm/core/mixins/interactions/longpress/with-longpress-listener.js +82 -0
  373. package/esm/core/mixins/internals/with-default-aria.d.ts +32 -0
  374. package/esm/core/mixins/internals/with-default-aria.js +22 -0
  375. package/esm/core/mixins/internals/with-element-internals.d.ts +26 -0
  376. package/esm/core/mixins/internals/with-element-internals.js +22 -0
  377. package/esm/core/mixins/label/with-label-aware.d.ts +33 -0
  378. package/esm/core/mixins/label/with-label-aware.js +17 -0
  379. package/esm/core/utils/a11y-utils.d.ts +126 -0
  380. package/esm/core/utils/a11y-utils.js +169 -0
  381. package/esm/core/utils/deferred.d.ts +29 -0
  382. package/esm/core/utils/deferred.js +32 -0
  383. package/esm/core/utils/dismissible-stack.d.ts +74 -0
  384. package/esm/core/utils/dismissible-stack.js +133 -0
  385. package/esm/core/utils/event-utils.d.ts +1 -0
  386. package/esm/core/utils/event-utils.js +3 -0
  387. package/esm/core/utils/feature-detection.d.ts +13 -0
  388. package/esm/core/utils/feature-detection.js +21 -0
  389. package/esm/core/utils/form-utils.d.ts +24 -0
  390. package/{styles/checkbox/_configuration.scss → esm/core/utils/form-utils.js} +1 -5
  391. package/esm/core/utils/index.d.ts +1 -0
  392. package/esm/core/utils/index.js +1 -0
  393. package/esm/core/utils/mixin-utils.d.ts +20 -0
  394. package/esm/core/utils/mixin-utils.js +15 -0
  395. package/esm/core/utils/position-utils.d.ts +78 -0
  396. package/esm/core/utils/position-utils.js +197 -0
  397. package/esm/core/utils/reflect-utils.d.ts +1 -1
  398. package/esm/core/utils/reflect-utils.js +2 -2
  399. package/esm/core/utils/utils.d.ts +14 -0
  400. package/esm/core/utils/utils.js +25 -7
  401. package/esm/date-picker/base/base-date-picker.d.ts +1 -1
  402. package/esm/date-picker/base/base-date-picker.js +4 -3
  403. package/esm/date-range-picker/date-range-picker-foundation.d.ts +1 -0
  404. package/esm/date-range-picker/date-range-picker-foundation.js +4 -0
  405. package/esm/dialog/dialog-constants.d.ts +1 -0
  406. package/esm/dialog/dialog-constants.js +2 -1
  407. package/esm/dialog/dialog-foundation.js +3 -6
  408. package/esm/dialog/dialog.js +1 -1
  409. package/esm/drawer/mini-drawer/mini-drawer.js +1 -1
  410. package/esm/expansion-panel/expansion-panel-adapter.js +0 -5
  411. package/esm/floating-action-button/floating-action-button.js +1 -1
  412. package/esm/icon-button/icon-button-component-delegate.js +1 -1
  413. package/esm/icon-button/icon-button.js +1 -1
  414. package/esm/index.d.ts +6 -4
  415. package/esm/index.js +36 -29
  416. package/esm/label/label-adapter.d.ts +2 -0
  417. package/esm/label/label-adapter.js +8 -5
  418. package/esm/label/label-aware.js +2 -1
  419. package/esm/label/label-constants.d.ts +6 -2
  420. package/esm/label/label-constants.js +13 -4
  421. package/esm/label/label-foundation.d.ts +16 -0
  422. package/esm/label/label-foundation.js +69 -6
  423. package/esm/label/label.d.ts +8 -0
  424. package/esm/label/label.js +21 -3
  425. package/esm/linear-progress/linear-progress-adapter.js +13 -12
  426. package/esm/linear-progress/linear-progress-constants.d.ts +6 -0
  427. package/esm/linear-progress/linear-progress-constants.js +4 -2
  428. package/esm/linear-progress/linear-progress-foundation.js +2 -1
  429. package/esm/linear-progress/linear-progress.d.ts +7 -3
  430. package/esm/linear-progress/linear-progress.js +8 -11
  431. package/esm/list/list/list.js +1 -1
  432. package/esm/list/list-item/list-item.js +1 -1
  433. package/esm/menu/menu-adapter.d.ts +3 -3
  434. package/esm/menu/menu-constants.d.ts +1 -1
  435. package/esm/menu/menu-foundation.d.ts +1 -0
  436. package/esm/menu/menu-foundation.js +11 -4
  437. package/esm/menu/menu.js +1 -5
  438. package/esm/open-icon/open-icon.js +2 -2
  439. package/esm/overlay/base/base-overlay-foundation.d.ts +50 -0
  440. package/esm/overlay/base/base-overlay-foundation.js +11 -0
  441. package/esm/overlay/base/base-overlay.d.ts +49 -0
  442. package/esm/overlay/base/base-overlay.js +106 -0
  443. package/esm/overlay/base/overlay-aware-adapter.d.ts +17 -0
  444. package/esm/overlay/base/overlay-aware-adapter.js +15 -0
  445. package/esm/overlay/base/overlay-aware-foundation.d.ts +53 -0
  446. package/esm/overlay/base/overlay-aware-foundation.js +158 -0
  447. package/esm/overlay/base/overlay-aware.d.ts +36 -0
  448. package/esm/overlay/base/overlay-aware.js +102 -0
  449. package/esm/overlay/index.d.ts +10 -0
  450. package/esm/overlay/index.js +14 -0
  451. package/esm/overlay/mixins/with-overlay-aware.d.ts +105 -0
  452. package/esm/overlay/mixins/with-overlay-aware.js +152 -0
  453. package/esm/overlay/overlay-adapter.d.ts +54 -0
  454. package/esm/overlay/overlay-adapter.js +182 -0
  455. package/esm/overlay/overlay-constants.d.ts +71 -0
  456. package/esm/overlay/overlay-constants.js +48 -0
  457. package/esm/overlay/overlay-foundation.d.ts +76 -0
  458. package/esm/overlay/overlay-foundation.js +288 -0
  459. package/esm/overlay/overlay.d.ts +90 -0
  460. package/esm/overlay/overlay.js +105 -0
  461. package/esm/paginator/paginator-constants.d.ts +9 -0
  462. package/esm/paginator/paginator-foundation.d.ts +5 -2
  463. package/esm/paginator/paginator-foundation.js +29 -8
  464. package/esm/paginator/paginator.d.ts +3 -1
  465. package/esm/paginator/paginator.js +4 -1
  466. package/esm/popover/index.d.ts +10 -0
  467. package/esm/popover/index.js +14 -0
  468. package/esm/popover/popover-adapter.d.ts +46 -0
  469. package/esm/popover/popover-adapter.js +105 -0
  470. package/esm/popover/popover-constants.d.ts +42 -0
  471. package/esm/popover/popover-constants.js +42 -0
  472. package/esm/popover/popover-foundation.d.ts +139 -0
  473. package/esm/popover/popover-foundation.js +458 -0
  474. package/esm/popover/popover.d.ts +96 -0
  475. package/esm/popover/popover.js +147 -0
  476. package/esm/popup/popup-constants.d.ts +1 -1
  477. package/esm/profile-card/profile-card.js +1 -1
  478. package/esm/radio/core/radio-group-manager.d.ts +83 -0
  479. package/esm/radio/core/radio-group-manager.js +201 -0
  480. package/esm/radio/index.d.ts +1 -2
  481. package/esm/radio/index.js +1 -6
  482. package/esm/radio/radio/index.d.ts +10 -0
  483. package/esm/radio/radio/index.js +14 -0
  484. package/esm/radio/radio/radio-adapter.d.ts +41 -0
  485. package/esm/radio/radio/radio-adapter.js +75 -0
  486. package/{styles/focus-indicator/_configuration.scss → esm/radio/radio/radio-component-delegate.d.ts} +0 -5
  487. package/{styles/list/list/_configuration.scss → esm/radio/radio/radio-component-delegate.js} +1 -5
  488. package/esm/radio/radio/radio-constants.d.ts +37 -0
  489. package/esm/radio/radio/radio-constants.js +40 -0
  490. package/esm/radio/radio/radio-foundation.d.ts +70 -0
  491. package/esm/radio/radio/radio-foundation.js +199 -0
  492. package/esm/radio/radio/radio.d.ts +115 -0
  493. package/esm/radio/radio/radio.js +204 -0
  494. package/esm/radio/radio-group/index.d.ts +10 -0
  495. package/esm/radio/radio-group/index.js +14 -0
  496. package/esm/radio/radio-group/radio-group-adapter.d.ts +18 -0
  497. package/esm/radio/radio-group/radio-group-adapter.js +26 -0
  498. package/esm/radio/radio-group/radio-group-constants.d.ts +11 -0
  499. package/esm/radio/radio-group/radio-group-constants.js +14 -0
  500. package/esm/radio/radio-group/radio-group-foundation.d.ts +20 -0
  501. package/esm/radio/radio-group/radio-group-foundation.js +32 -0
  502. package/esm/radio/radio-group/radio-group.d.ts +47 -0
  503. package/esm/radio/radio-group/radio-group.js +83 -0
  504. package/esm/slider/slider.d.ts +2 -2
  505. package/esm/slider/slider.js +2 -2
  506. package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
  507. package/esm/state-layer/state-layer-foundation.js +9 -10
  508. package/esm/switch/switch.js +1 -1
  509. package/esm/table/table-utils.js +2 -3
  510. package/esm/tabs/tab/tab.js +1 -1
  511. package/esm/tabs/tab-bar/tab-bar-adapter.d.ts +1 -1
  512. package/esm/tabs/tab-bar/tab-bar-adapter.js +3 -3
  513. package/esm/tabs/tab-bar/tab-bar-constants.d.ts +1 -1
  514. package/esm/tabs/tab-bar/tab-bar-constants.js +1 -1
  515. package/esm/tabs/tab-bar/tab-bar.js +2 -2
  516. package/esm/toast/toast-constants.d.ts +1 -1
  517. package/esm/toolbar/toolbar.js +1 -1
  518. package/esm/tooltip/index.d.ts +0 -1
  519. package/esm/tooltip/index.js +0 -1
  520. package/esm/tooltip/tooltip-adapter.d.ts +30 -60
  521. package/esm/tooltip/tooltip-adapter.js +105 -97
  522. package/esm/tooltip/tooltip-constants.d.ts +44 -21
  523. package/esm/tooltip/tooltip-constants.js +27 -22
  524. package/esm/tooltip/tooltip-foundation.d.ts +72 -84
  525. package/esm/tooltip/tooltip-foundation.js +265 -192
  526. package/esm/tooltip/tooltip.d.ts +93 -26
  527. package/esm/tooltip/tooltip.js +129 -31
  528. package/package.json +2 -4
  529. package/styles/app-bar/app-bar/_core.scss +6 -0
  530. package/styles/app-bar/app-bar/app-bar.scss +31 -17
  531. package/styles/app-bar/app-bar/index.scss +0 -2
  532. package/styles/app-bar/search/_core.scss +75 -0
  533. package/styles/app-bar/search/_token-utils.scss +30 -0
  534. package/styles/app-bar/search/app-bar-search.scss +50 -4
  535. package/styles/{switch/_configuration.scss → app-bar/search/index.scss} +1 -5
  536. package/styles/button/_core.scss +2 -0
  537. package/styles/button/button.scss +40 -25
  538. package/styles/button/index.scss +0 -2
  539. package/styles/button-toggle/button-toggle/_core.scss +78 -0
  540. package/styles/button-toggle/button-toggle/_token-utils.scss +30 -0
  541. package/styles/button-toggle/button-toggle/button-toggle.scss +65 -11
  542. package/styles/button-toggle/button-toggle/index.scss +6 -0
  543. package/styles/button-toggle/button-toggle-group/_core.scss +62 -0
  544. package/styles/button-toggle/button-toggle-group/_token-utils.scss +30 -0
  545. package/styles/button-toggle/button-toggle-group/button-toggle-group.scss +123 -3
  546. package/styles/button-toggle/button-toggle-group/index.scss +8 -0
  547. package/styles/checkbox/_core.scss +3 -0
  548. package/styles/checkbox/checkbox.scss +24 -26
  549. package/styles/checkbox/index.scss +0 -2
  550. package/styles/circular-progress/_core.scss +2 -0
  551. package/styles/circular-progress/circular-progress.scss +36 -27
  552. package/styles/circular-progress/index.scss +0 -2
  553. package/styles/core/styles/elevation/index.scss +1 -1
  554. package/styles/core/styles/tokens/_token-utils.scss +14 -5
  555. package/styles/core/styles/tokens/app-bar/search/_tokens.scss +35 -0
  556. package/styles/core/styles/tokens/button/_tokens.scss +4 -4
  557. package/styles/core/styles/tokens/button-toggle/button-toggle/_tokens.scss +68 -0
  558. package/styles/core/styles/tokens/button-toggle/button-toggle-group/_tokens.scss +48 -0
  559. package/styles/core/styles/tokens/checkbox/_tokens.scss +6 -6
  560. package/styles/core/styles/tokens/floating-action-button/_tokens.scss +1 -1
  561. package/styles/core/styles/tokens/icon-button/_tokens.scss +3 -3
  562. package/styles/core/styles/tokens/overlay/_tokens.scss +23 -0
  563. package/styles/core/styles/tokens/popover/_tokens.scss +56 -0
  564. package/styles/core/styles/tokens/profile-card/_tokens.scss +1 -1
  565. package/styles/core/styles/tokens/radio/_tokens.scss +66 -0
  566. package/styles/core/styles/tokens/switch/_tokens.scss +3 -3
  567. package/styles/core/styles/tokens/tabs/tab/_tokens.scss +5 -5
  568. package/styles/core/styles/tokens/theme/_token-utils.scss +12 -11
  569. package/styles/core/styles/tokens/theme/_tokens.surface.scss +3 -0
  570. package/styles/core/styles/tokens/theme/_tokens.text.scss +4 -4
  571. package/styles/core/styles/tokens/theme/_tokens.utilities.scss +3 -0
  572. package/styles/core/styles/tokens/tooltip/_tokens.scss +53 -0
  573. package/styles/dialog/_mixins.scss +1 -1
  574. package/styles/drawer/mini-drawer/_mixins.scss +0 -2
  575. package/styles/floating-action-button/_core.scss +2 -0
  576. package/styles/floating-action-button/floating-action-button.scss +14 -14
  577. package/styles/floating-action-button/index.scss +0 -2
  578. package/styles/focus-indicator/_core.scss +2 -0
  579. package/styles/focus-indicator/focus-indicator.scss +7 -8
  580. package/styles/focus-indicator/index.scss +0 -2
  581. package/styles/forge.scss +0 -1
  582. package/styles/icon-button/_core.scss +2 -0
  583. package/styles/icon-button/icon-button.scss +29 -28
  584. package/styles/icon-button/index.scss +0 -2
  585. package/styles/label/_core.scss +2 -5
  586. package/styles/label/label.scss +3 -7
  587. package/styles/linear-progress/_core.scss +2 -0
  588. package/styles/linear-progress/index.scss +0 -2
  589. package/styles/linear-progress/linear-progress.scss +29 -18
  590. package/styles/list/list/_core.scss +2 -0
  591. package/styles/list/list/index.scss +0 -2
  592. package/styles/list/list/list.scss +4 -4
  593. package/styles/list/list-item/_core.scss +2 -0
  594. package/styles/list/list-item/index.scss +0 -2
  595. package/styles/list/list-item/list-item.scss +50 -44
  596. package/styles/overlay/_core.scss +46 -0
  597. package/styles/overlay/_token-utils.scss +31 -0
  598. package/styles/overlay/index.scss +6 -0
  599. package/styles/overlay/overlay.scss +66 -0
  600. package/styles/popover/_animations.scss +36 -0
  601. package/styles/popover/_core.scss +56 -0
  602. package/styles/popover/_token-utils.scss +31 -0
  603. package/styles/popover/index.scss +6 -0
  604. package/styles/popover/popover.scss +254 -0
  605. package/styles/profile-card/_core.scss +2 -0
  606. package/styles/profile-card/index.scss +0 -2
  607. package/styles/profile-card/profile-card.scss +9 -11
  608. package/styles/radio/index.scss +6 -0
  609. package/styles/radio/radio/_core.scss +126 -0
  610. package/styles/radio/radio/_token-utils.scss +30 -0
  611. package/styles/radio/radio/index.scss +6 -0
  612. package/styles/radio/radio/radio.scss +99 -0
  613. package/styles/slider/_core.scss +2 -0
  614. package/styles/slider/index.scss +0 -2
  615. package/styles/slider/slider.scss +45 -41
  616. package/styles/split-button/index.scss +0 -1
  617. package/styles/split-button/split-button.scss +3 -2
  618. package/styles/state-layer/_core.scss +3 -2
  619. package/styles/state-layer/index.scss +0 -2
  620. package/styles/state-layer/state-layer.scss +7 -8
  621. package/styles/switch/_core.scss +9 -0
  622. package/styles/switch/index.scss +0 -2
  623. package/styles/switch/switch.scss +28 -30
  624. package/styles/tabs/tab/_core.scss +2 -0
  625. package/styles/tabs/tab/index.scss +0 -2
  626. package/styles/tabs/tab/tab.scss +27 -28
  627. package/styles/tabs/tab-bar/_core.scss +2 -0
  628. package/styles/tabs/tab-bar/index.scss +0 -2
  629. package/styles/tabs/tab-bar/tab-bar.scss +21 -23
  630. package/styles/theme/_theme-dark.scss +14 -2
  631. package/styles/theme/_theme-values.scss +2 -0
  632. package/styles/toolbar/_mixins.scss +2 -1
  633. package/styles/tooltip/_animations.scss +18 -0
  634. package/styles/tooltip/_core.scss +86 -0
  635. package/styles/tooltip/_token-utils.scss +31 -0
  636. package/styles/tooltip/index.scss +6 -0
  637. package/styles/tooltip/tooltip.scss +107 -0
  638. package/dist/esm/chunks/chunk.2GJ54C3Q.js +0 -7
  639. package/dist/esm/chunks/chunk.2GJ54C3Q.js.map +0 -7
  640. package/dist/esm/chunks/chunk.2YDKRTKP.js +0 -7
  641. package/dist/esm/chunks/chunk.2YDKRTKP.js.map +0 -7
  642. package/dist/esm/chunks/chunk.3JCHXLPT.js +0 -7
  643. package/dist/esm/chunks/chunk.3JCHXLPT.js.map +0 -7
  644. package/dist/esm/chunks/chunk.3RMBFRGC.js +0 -7
  645. package/dist/esm/chunks/chunk.3RMBFRGC.js.map +0 -7
  646. package/dist/esm/chunks/chunk.3ZRQFXQU.js +0 -7
  647. package/dist/esm/chunks/chunk.4QDN5PM6.js +0 -7
  648. package/dist/esm/chunks/chunk.4QDN5PM6.js.map +0 -7
  649. package/dist/esm/chunks/chunk.5H4G6BWX.js +0 -7
  650. package/dist/esm/chunks/chunk.5H4G6BWX.js.map +0 -7
  651. package/dist/esm/chunks/chunk.5VHUMZYS.js +0 -7
  652. package/dist/esm/chunks/chunk.6DXDNQUR.js +0 -15
  653. package/dist/esm/chunks/chunk.6DXDNQUR.js.map +0 -7
  654. package/dist/esm/chunks/chunk.6Y45DLA6.js +0 -7
  655. package/dist/esm/chunks/chunk.6Y45DLA6.js.map +0 -7
  656. package/dist/esm/chunks/chunk.7BGOH44S.js +0 -7
  657. package/dist/esm/chunks/chunk.7BGOH44S.js.map +0 -7
  658. package/dist/esm/chunks/chunk.7UXLLUTN.js +0 -7
  659. package/dist/esm/chunks/chunk.AEJGC4YG.js +0 -7
  660. package/dist/esm/chunks/chunk.AEJGC4YG.js.map +0 -7
  661. package/dist/esm/chunks/chunk.BFUGFHEH.js +0 -7
  662. package/dist/esm/chunks/chunk.BLW6QESQ.js +0 -12
  663. package/dist/esm/chunks/chunk.BLW6QESQ.js.map +0 -7
  664. package/dist/esm/chunks/chunk.C5IB44HX.js +0 -7
  665. package/dist/esm/chunks/chunk.CNRFOWHY.js +0 -7
  666. package/dist/esm/chunks/chunk.CNRFOWHY.js.map +0 -7
  667. package/dist/esm/chunks/chunk.CZOABXEQ.js +0 -7
  668. package/dist/esm/chunks/chunk.E3GVKR4E.js +0 -7
  669. package/dist/esm/chunks/chunk.E3GVKR4E.js.map +0 -7
  670. package/dist/esm/chunks/chunk.EBSBAFCX.js +0 -7
  671. package/dist/esm/chunks/chunk.EBSBAFCX.js.map +0 -7
  672. package/dist/esm/chunks/chunk.F6KM5FO6.js +0 -7
  673. package/dist/esm/chunks/chunk.FB6ZLH6P.js +0 -7
  674. package/dist/esm/chunks/chunk.FB6ZLH6P.js.map +0 -7
  675. package/dist/esm/chunks/chunk.FDZSLGIW.js +0 -7
  676. package/dist/esm/chunks/chunk.FDZSLGIW.js.map +0 -7
  677. package/dist/esm/chunks/chunk.GT3VPSXY.js +0 -7
  678. package/dist/esm/chunks/chunk.GT3VPSXY.js.map +0 -7
  679. package/dist/esm/chunks/chunk.I3NHK2S3.js +0 -7
  680. package/dist/esm/chunks/chunk.IT66AOX7.js +0 -7
  681. package/dist/esm/chunks/chunk.IT66AOX7.js.map +0 -7
  682. package/dist/esm/chunks/chunk.IVUK3W34.js +0 -7
  683. package/dist/esm/chunks/chunk.IVUK3W34.js.map +0 -7
  684. package/dist/esm/chunks/chunk.J2KHTGSB.js +0 -7
  685. package/dist/esm/chunks/chunk.J2KHTGSB.js.map +0 -7
  686. package/dist/esm/chunks/chunk.JAWV5Y5T.js +0 -7
  687. package/dist/esm/chunks/chunk.JVK64JDZ.js +0 -7
  688. package/dist/esm/chunks/chunk.KFDYMENL.js +0 -7
  689. package/dist/esm/chunks/chunk.KFDYMENL.js.map +0 -7
  690. package/dist/esm/chunks/chunk.KTYYBWTN.js +0 -7
  691. package/dist/esm/chunks/chunk.LCNR2RPT.js +0 -7
  692. package/dist/esm/chunks/chunk.LCNR2RPT.js.map +0 -7
  693. package/dist/esm/chunks/chunk.LOBKFTRM.js +0 -7
  694. package/dist/esm/chunks/chunk.LOBKFTRM.js.map +0 -7
  695. package/dist/esm/chunks/chunk.LS7WRRT2.js +0 -7
  696. package/dist/esm/chunks/chunk.LS7WRRT2.js.map +0 -7
  697. package/dist/esm/chunks/chunk.LSNAGIIH.js +0 -7
  698. package/dist/esm/chunks/chunk.LSNAGIIH.js.map +0 -7
  699. package/dist/esm/chunks/chunk.LUIKMPQR.js +0 -7
  700. package/dist/esm/chunks/chunk.LUIKMPQR.js.map +0 -7
  701. package/dist/esm/chunks/chunk.MZZJY5NX.js +0 -7
  702. package/dist/esm/chunks/chunk.MZZJY5NX.js.map +0 -7
  703. package/dist/esm/chunks/chunk.NYYXUH3X.js +0 -7
  704. package/dist/esm/chunks/chunk.OYO5O3NF.js +0 -7
  705. package/dist/esm/chunks/chunk.Q5Z6F3PI.js +0 -7
  706. package/dist/esm/chunks/chunk.Q5Z6F3PI.js.map +0 -7
  707. package/dist/esm/chunks/chunk.RCSBJQ4G.js +0 -7
  708. package/dist/esm/chunks/chunk.RCSBJQ4G.js.map +0 -7
  709. package/dist/esm/chunks/chunk.RDW7Z4W5.js +0 -7
  710. package/dist/esm/chunks/chunk.SNF35Y6C.js +0 -7
  711. package/dist/esm/chunks/chunk.SNF35Y6C.js.map +0 -7
  712. package/dist/esm/chunks/chunk.SOLF23NC.js +0 -7
  713. package/dist/esm/chunks/chunk.T34DG7BU.js +0 -7
  714. package/dist/esm/chunks/chunk.TA3MVDUU.js +0 -7
  715. package/dist/esm/chunks/chunk.TA3MVDUU.js.map +0 -7
  716. package/dist/esm/chunks/chunk.UWZWXNTW.js +0 -7
  717. package/dist/esm/chunks/chunk.UWZWXNTW.js.map +0 -7
  718. package/dist/esm/chunks/chunk.VD5ZL5ZN.js +0 -7
  719. package/dist/esm/chunks/chunk.WQGPIOL6.js +0 -7
  720. package/dist/esm/chunks/chunk.WQGPIOL6.js.map +0 -7
  721. package/dist/esm/chunks/chunk.XDANTL6C.js +0 -7
  722. package/dist/esm/chunks/chunk.XNCBGWE4.js +0 -7
  723. package/dist/esm/chunks/chunk.XNCBGWE4.js.map +0 -7
  724. package/dist/esm/chunks/chunk.ZSD7MMVB.js +0 -7
  725. package/dist/esm/chunks/chunk.ZSD7MMVB.js.map +0 -7
  726. package/dist/esm/chunks/chunk.ZVJMIBUM.js +0 -7
  727. package/dist/esm/chunks/chunk.ZVJMIBUM.js.map +0 -7
  728. package/dist/tooltip/forge-tooltip.css +0 -6
  729. package/esm/radio/radio-adapter.d.ts +0 -71
  730. package/esm/radio/radio-adapter.js +0 -260
  731. package/esm/radio/radio-constants.d.ts +0 -30
  732. package/esm/radio/radio-constants.js +0 -36
  733. package/esm/radio/radio-foundation.d.ts +0 -31
  734. package/esm/radio/radio-foundation.js +0 -80
  735. package/esm/radio/radio.d.ts +0 -33
  736. package/esm/radio/radio.js +0 -75
  737. package/esm/tooltip/tooltip-utils.d.ts +0 -13
  738. package/esm/tooltip/tooltip-utils.js +0 -53
  739. package/styles/app-bar/app-bar/_configuration.scss +0 -16
  740. package/styles/app-bar/search/_mixins.scss +0 -238
  741. package/styles/app-bar/search/_variables.scss +0 -18
  742. package/styles/button/_configuration.scss +0 -16
  743. package/styles/button-toggle/button-toggle/_mixins.scss +0 -117
  744. package/styles/button-toggle/button-toggle-group/_mixins.scss +0 -79
  745. package/styles/circular-progress/_configuration.scss +0 -16
  746. package/styles/floating-action-button/_configuration.scss +0 -16
  747. package/styles/icon-button/_configuration.scss +0 -16
  748. package/styles/linear-progress/_configuration.scss +0 -28
  749. package/styles/list/list-item/_configuration.scss +0 -16
  750. package/styles/radio/_mixins.scss +0 -309
  751. package/styles/radio/_radio-theme.scss +0 -314
  752. package/styles/radio/radio.scss +0 -19
  753. package/styles/split-button/_configuration.scss +0 -12
  754. package/styles/state-layer/_configuration.scss +0 -10
  755. package/styles/tabs/tab/_configuration.scss +0 -27
  756. package/styles/tabs/tab-bar/_configuration.scss +0 -10
  757. package/styles/tooltip/_mixins.scss +0 -98
  758. package/styles/tooltip/_variables.scss +0 -18
  759. package/styles/tooltip/forge-tooltip.scss +0 -12
  760. /package/dist/esm/chunks/{chunk.PSTGTQVK.js.map → chunk.2JCTFKCR.js.map} +0 -0
  761. /package/dist/esm/chunks/{chunk.4B5IOZAT.js.map → chunk.2YE556AM.js.map} +0 -0
  762. /package/dist/esm/chunks/{chunk.YKZ25J6B.js.map → chunk.3U6A353B.js.map} +0 -0
  763. /package/dist/esm/chunks/{chunk.LXX3YZYS.js.map → chunk.436USWLL.js.map} +0 -0
  764. /package/dist/esm/chunks/{chunk.KLPF4CNX.js.map → chunk.4GMGQZOW.js.map} +0 -0
  765. /package/dist/esm/chunks/{chunk.Z7PBGV4K.js.map → chunk.4JB3SESQ.js.map} +0 -0
  766. /package/dist/esm/chunks/{chunk.QFY23EWU.js.map → chunk.4JL5LW5J.js.map} +0 -0
  767. /package/dist/esm/chunks/{chunk.NYYXUH3X.js.map → chunk.55D2BMXX.js.map} +0 -0
  768. /package/dist/esm/chunks/{chunk.A72W7RW7.js.map → chunk.5LCWC3A7.js.map} +0 -0
  769. /package/dist/esm/chunks/{chunk.RYNQDXFA.js.map → chunk.5T7TT3AB.js.map} +0 -0
  770. /package/dist/esm/chunks/{chunk.HHHBS6FB.js.map → chunk.B53Q676I.js.map} +0 -0
  771. /package/dist/esm/chunks/{chunk.B46Q3AFP.js.map → chunk.BKQSLDMK.js.map} +0 -0
  772. /package/dist/esm/chunks/{chunk.F2EBSV5Z.js.map → chunk.BZVLSWZR.js.map} +0 -0
  773. /package/dist/esm/chunks/{chunk.BMQYEYCT.js.map → chunk.DGG5ABL3.js.map} +0 -0
  774. /package/dist/esm/chunks/{chunk.PK7R6WDF.js.map → chunk.DPIWAXEW.js.map} +0 -0
  775. /package/dist/esm/chunks/{chunk.7PP6QHOM.js.map → chunk.ETDUW5K2.js.map} +0 -0
  776. /package/dist/esm/chunks/{chunk.GHR7T6U2.js.map → chunk.FGHSNC2V.js.map} +0 -0
  777. /package/dist/esm/chunks/{chunk.P7LC3YYW.js.map → chunk.FPRBYGET.js.map} +0 -0
  778. /package/dist/esm/chunks/{chunk.7W2UWAZX.js.map → chunk.FQVR2QNF.js.map} +0 -0
  779. /package/dist/esm/chunks/{chunk.IEB5KRFQ.js.map → chunk.FWWBFNQA.js.map} +0 -0
  780. /package/dist/esm/chunks/{chunk.543K5Y4E.js.map → chunk.FZELFLPE.js.map} +0 -0
  781. /package/dist/esm/chunks/{chunk.6Q3SV2R2.js.map → chunk.FZZUNYH5.js.map} +0 -0
  782. /package/dist/esm/chunks/{chunk.CTZ3AWDW.js.map → chunk.GLUKTMQU.js.map} +0 -0
  783. /package/dist/esm/chunks/{chunk.W324TWF2.js.map → chunk.GTBCTNMI.js.map} +0 -0
  784. /package/dist/esm/chunks/{chunk.L4Y4RO5O.js.map → chunk.GURV4TDZ.js.map} +0 -0
  785. /package/dist/esm/chunks/{chunk.THWSN3X4.js.map → chunk.IA27LU2O.js.map} +0 -0
  786. /package/dist/esm/chunks/{chunk.TZFUKJ24.js.map → chunk.JXJVPJRO.js.map} +0 -0
  787. /package/dist/esm/chunks/{chunk.Z2RB75TN.js.map → chunk.K3STAW42.js.map} +0 -0
  788. /package/dist/esm/chunks/{chunk.G2BNY5QQ.js.map → chunk.KPC6IS3C.js.map} +0 -0
  789. /package/dist/esm/chunks/{chunk.VDZ7HBKM.js.map → chunk.KV7PGQJ7.js.map} +0 -0
  790. /package/dist/esm/chunks/{chunk.OYO5O3NF.js.map → chunk.M5JGYRH4.js.map} +0 -0
  791. /package/dist/esm/chunks/{chunk.T34DG7BU.js.map → chunk.N75VD4S4.js.map} +0 -0
  792. /package/dist/esm/chunks/{chunk.H7GW57Q6.js.map → chunk.NKEAMFO4.js.map} +0 -0
  793. /package/dist/esm/chunks/{chunk.26E4L52W.js.map → chunk.NW54VA4E.js.map} +0 -0
  794. /package/dist/esm/chunks/{chunk.PADPL4L3.js.map → chunk.OUIWXKO2.js.map} +0 -0
  795. /package/dist/esm/chunks/{chunk.I3NHK2S3.js.map → chunk.OXVCCHM5.js.map} +0 -0
  796. /package/dist/esm/chunks/{chunk.7ABZUBTT.js.map → chunk.P5XHGSJY.js.map} +0 -0
  797. /package/dist/esm/chunks/{chunk.NZKIFXBU.js.map → chunk.QKTNCOVX.js.map} +0 -0
  798. /package/dist/esm/chunks/{chunk.NG6UZ4OL.js.map → chunk.QZ57WM3D.js.map} +0 -0
  799. /package/dist/esm/chunks/{chunk.OED5UCYT.js.map → chunk.R2QENXIL.js.map} +0 -0
  800. /package/dist/esm/chunks/{chunk.DOEG3DWJ.js.map → chunk.RDQ3QGWS.js.map} +0 -0
  801. /package/dist/esm/chunks/{chunk.GS72TBUD.js.map → chunk.RFKKHN7V.js.map} +0 -0
  802. /package/dist/esm/chunks/{chunk.57PXXJA6.js.map → chunk.RKG66YKS.js.map} +0 -0
  803. /package/dist/esm/chunks/{chunk.LMIKNDBS.js.map → chunk.T235SNYZ.js.map} +0 -0
  804. /package/dist/esm/chunks/{chunk.SOLF23NC.js.map → chunk.VGIZJ32U.js.map} +0 -0
  805. /package/dist/esm/chunks/{chunk.U5WMRBSC.js.map → chunk.WA2YP4NC.js.map} +0 -0
  806. /package/dist/esm/chunks/{chunk.5C24LZNU.js.map → chunk.WQHKUNR7.js.map} +0 -0
  807. /package/dist/esm/chunks/{chunk.7UXLLUTN.js.map → chunk.X57DRPFB.js.map} +0 -0
  808. /package/dist/esm/chunks/{chunk.DDXIHZFX.js.map → chunk.X7YTDVNT.js.map} +0 -0
  809. /package/dist/esm/chunks/{chunk.7DHDFH5L.js.map → chunk.XOH2JCRS.js.map} +0 -0
  810. /package/dist/esm/chunks/{chunk.KVCDAZ6B.js.map → chunk.YTBNAGLS.js.map} +0 -0
  811. /package/dist/esm/chunks/{chunk.RZZBM3AW.js.map → chunk.ZHMV5SR4.js.map} +0 -0
  812. /package/dist/esm/chunks/{chunk.GWJ4QCSW.js.map → chunk.ZLACSRD4.js.map} +0 -0
  813. /package/dist/esm/chunks/{chunk.DTKFE7YB.js.map → chunk.ZUTQPJ2B.js.map} +0 -0
  814. /package/dist/esm/chunks/{chunk.PQQVUUHU.js.map → chunk.ZYCKD6K5.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/list/list/list-constants.ts", "../../src/list/list-item/list-item-constants.ts", "../../src/list/list-item/list-item-adapter.ts", "../../src/list/list-item/list-item-foundation.ts", "../../src/list/list-item/list-item.ts", "../../src/list/list-item/index.ts"],
4
- "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nconst elementName = `${COMPONENT_NAME_PREFIX}list`;\n\nconst observedAttributes = {\n ROLE: 'role',\n STATIC: 'static',\n NON_INTERACTIVE: 'non-interactive',\n DISABLED: 'disabled',\n DENSE: 'dense',\n PROPAGATE_CLICK: 'propagate-click',\n SELECTED_VALUE: 'selected-value',\n INDENTED: 'indented',\n TWO_LINE: 'two-line',\n THREE_LINE: 'three-line',\n WRAP: 'wrap'\n};\n\nconst attributes = {\n ...observedAttributes\n};\n\nexport const LIST_CONSTANTS = {\n elementName,\n attributes\n};\n\nexport const ListComponentItemRole = {\n list: 'listitem',\n listbox: 'option',\n menu: 'menuitem'\n};\n", "import { COMPONENT_NAME_PREFIX } from '../../constants';\nimport { IListItemComponent } from './list-item';\n\nconst elementName = `${COMPONENT_NAME_PREFIX}list-item`;\n\nconst observedAttributes = {\n HREF: 'href',\n TARGET: 'target',\n DOWNLOAD: 'download',\n REL: 'rel',\n STATIC: 'static',\n NON_INTERACTIVE: 'non-interactive',\n DISABLED: 'disabled',\n SELECTED: 'selected',\n ACTIVE: 'active',\n VALUE: 'value',\n DENSE: 'dense',\n PROPAGATE_CLICK: 'propagate-click',\n INDENTED: 'indented',\n TWO_LINE: 'two-line',\n THREE_LINE: 'three-line',\n WRAP: 'wrap'\n};\n\nconst attributes = {\n ...observedAttributes\n};\n\nconst classes = {\n ROOT: 'forge-list-item'\n};\n\nconst selectors = {\n ROOT: `.${classes.ROOT}`,\n CHECKBOX_RADIO_SELECTOR: ':is(input[type=checkbox], input[type=radio], forge-checkbox):not(:disabled):not([forge-ignore])',\n SWITCH_SELECTOR: 'forge-switch:not([disabled]):not([forge-ignore])',\n IGNORE: '[forge-ignore],[data-forge-ignore]'\n};\n\nconst events = {\n SELECT: `${elementName}-select`\n};\n\nexport const LIST_ITEM_CONSTANTS = {\n elementName,\n observedAttributes,\n attributes,\n classes,\n selectors,\n events\n};\n\nexport interface IListItemSelectEventData<T = unknown> {\n value: T;\n listItem: IListItemComponent;\n}\n", "import { getShadowElement, isDeepEqual, toggleAttribute } from '@tylertech/forge-core';\nimport { replaceElement } from '../../core/utils/utils';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { FOCUS_INDICATOR_CONSTANTS, IFocusIndicatorComponent } from '../../focus-indicator';\nimport { IStateLayerComponent, STATE_LAYER_CONSTANTS } from '../../state-layer';\nimport { IListComponent } from '../list/list';\nimport { ListComponentItemRole, LIST_CONSTANTS } from '../list/list-constants';\nimport { IListItemComponent } from './list-item';\nimport { LIST_ITEM_CONSTANTS } from './list-item-constants';\nimport { ISwitchComponent } from '../../switch';\n\nexport interface IListItemAdapter extends IBaseAdapter<IListItemComponent> {\n initialize(): void;\n setHref(href: string): void;\n setAnchorTarget(target: string): void;\n setAnchorDownload(download: string): void;\n setAnchorRel(rel: string): void;\n setNonInteractive(value: boolean): void;\n setDisabled(value: boolean): void;\n setActive(value: boolean): void;\n trySelect(value: unknown): boolean | null;\n tryToggleSelectionControl(value?: boolean): void;\n isFocused(): boolean;\n setFocus(): void;\n animateStateLayer(): void;\n clickAnchor(): void;\n clickHost(): void;\n}\n\nexport class ListItemAdapter extends BaseAdapter<IListItemComponent> implements IListItemAdapter {\n private _rootElement: HTMLElement | HTMLAnchorElement;\n private _focusIndicatorElement: IFocusIndicatorComponent;\n private _stateLayerElement: IStateLayerComponent;\n\n constructor(component: IListItemComponent) {\n super(component);\n this._rootElement = getShadowElement(component, LIST_ITEM_CONSTANTS.selectors.ROOT);\n this._focusIndicatorElement = getShadowElement(component, FOCUS_INDICATOR_CONSTANTS.elementName) as IFocusIndicatorComponent;\n this._stateLayerElement = getShadowElement(component, STATE_LAYER_CONSTANTS.elementName) as IStateLayerComponent;\n }\n\n public initialize(): void {\n // Attempt to inherit state for corresponding properties from our parent list\n const list = this._getParentList();\n if (list) {\n this._inheritParentListProps(list);\n }\n\n this._rootElement.tabIndex = this._component.nonInteractive || this._component.disabled ? -1 : 0;\n\n if (!this._component.hasAttribute('role')) {\n this._setRole(list);\n }\n }\n\n public setHref(href: string): void {\n if (href) {\n if (this._rootElement.tagName !== 'A') {\n const anchor = this._createAnchorRootElement();\n this._rootElement = replaceElement(this._rootElement, anchor);\n }\n (this._rootElement as HTMLAnchorElement).href = href;\n } else if (this._rootElement.tagName === 'A') {\n const defaultEl = this._createDefaultRootElement();\n this._rootElement = replaceElement(this._rootElement, defaultEl);\n }\n }\n\n public setAnchorTarget(target: string): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).target = target;\n }\n }\n\n public setAnchorDownload(download: string): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).download = download;\n }\n }\n\n public setAnchorRel(rel: string): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).rel = rel;\n }\n }\n\n public setNonInteractive(value: boolean): void {\n this._rootElement.tabIndex = value ? -1 : 0;\n\n if (value) {\n this._focusIndicatorElement.remove();\n this._stateLayerElement.remove();\n } else {\n this._rootElement.append(this._focusIndicatorElement, this._stateLayerElement);\n }\n }\n\n public setDisabled(value: boolean): void {\n this._rootElement.tabIndex = value ? -1 : 0;\n toggleAttribute(this._component, value, 'aria-disabled', 'true');\n\n if (value) {\n this._focusIndicatorElement.remove();\n this._stateLayerElement.remove();\n } else {\n this._rootElement.append(this._focusIndicatorElement, this._stateLayerElement);\n }\n }\n\n public setActive(value: boolean): void {\n this._focusIndicatorElement.active = value;\n }\n\n /**\n * Attempts to set the selected state of the list item element and it's visual indicators\n * @param value The value to compare to the parent list element's selected value\n * @returns Returns whether the list item is selected, or null otherwise.\n */\n public trySelect(value: unknown): boolean | null {\n const list = this._getParentList();\n if (list?.selectedValue === undefined) {\n return null;\n }\n\n const listValues = Array.isArray(list.selectedValue) ? list.selectedValue : [list.selectedValue];\n const isSelected = listValues.some(v => isDeepEqual(v, value));\n\n this.tryToggleSelectionControl(isSelected);\n return isSelected;\n }\n\n /**\n * Attempts to toggle a checkbox radio button, or switch within the list item if it can find one.\n */\n public tryToggleSelectionControl(value?: boolean): void {\n const checkable = this._component.querySelector(LIST_ITEM_CONSTANTS.selectors.CHECKBOX_RADIO_SELECTOR) as HTMLInputElement;\n if (checkable) {\n const force = typeof value === 'boolean';\n const currentState = checkable.checked;\n \n // Check if we are just toggling or forcing to a specific checked state\n checkable.checked = force ? value as boolean : !checkable.checked;\n\n // TODO: This seems weird... Should we be dispatching events on slotted elements when changes are made programmatically?\n if (!force || currentState !== value) {\n checkable.dispatchEvent(new Event('change', { bubbles: true }));\n }\n } else {\n // Special case handling for the Forge switch element since it doesn't have a checked property\n const switchEl = this._component.querySelector(LIST_ITEM_CONSTANTS.selectors.SWITCH_SELECTOR) as ISwitchComponent;\n if (!switchEl) {\n return;\n }\n \n const force = typeof value === 'boolean';\n const currentState = switchEl.on;\n\n // Check if we are just toggling or forcing to a specific checked state\n switchEl.on = force ? value as boolean : !switchEl.on;\n\n // TODO: This seems weird... Should we be dispatching events on slotted elements when changes are made programmatically?\n if (!force || currentState !== value) {\n switchEl.dispatchEvent(new CustomEvent('forge-switch-change', { bubbles: true, detail: switchEl.on }));\n }\n }\n }\n\n public isFocused(): boolean {\n return this._component.matches(':focus');\n }\n\n public setFocus(): void {\n this._rootElement.focus({ preventScroll: true });\n }\n\n public animateStateLayer(): void {\n this._stateLayerElement.playAnimation();\n }\n\n public clickAnchor(): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).click();\n }\n }\n\n public clickHost(): void {\n // Calling click() on the prototype ensures we don't end up in an infinite\n // recursion since the host overrides the HTMLElement.click() method\n HTMLElement.prototype.click.call(this._component);\n }\n\n private _createAnchorRootElement(): HTMLAnchorElement {\n const a = document.createElement('a');\n a.classList.add(LIST_ITEM_CONSTANTS.classes.ROOT);\n a.setAttribute('part', 'root');\n if (this._component.href) {\n a.href = this._component.href;\n }\n if (this._component.target) {\n a.target = this._component.target;\n }\n if (this._component.download) {\n a.download = this._component.download;\n }\n if (this._component.rel) {\n a.rel = this._component.rel;\n }\n return a;\n }\n\n private _createDefaultRootElement(): HTMLElement {\n const div = document.createElement('div');\n div.classList.add(LIST_ITEM_CONSTANTS.classes.ROOT);\n div.setAttribute('part', 'root');\n div.tabIndex = this._component.nonInteractive || this._component.disabled ? -1 : 0;\n return div;\n }\n\n private _getParentList(): IListComponent | null {\n return this._component.closest(LIST_CONSTANTS.elementName);\n }\n\n private _inheritParentListProps(list: IListComponent): void {\n if (list.hasAttribute(LIST_CONSTANTS.attributes.NON_INTERACTIVE) || list.hasAttribute(LIST_CONSTANTS.attributes.STATIC)) {\n this._component.nonInteractive = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.DISABLED)) {\n this._component.disabled = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.DENSE)) {\n this._component.dense = true;\n }\n if (list.getAttribute(LIST_CONSTANTS.attributes.PROPAGATE_CLICK) === 'false') {\n this._component.propagateClick = false;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.INDENTED)) {\n this._component.indented = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.TWO_LINE)) {\n this._component.twoLine = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.THREE_LINE)) {\n this._component.threeLine = true;\n }\n }\n\n private _setRole(list: IListComponent | null): void {\n const listRole = list?.getAttribute('role');\n const role = ListComponentItemRole[listRole as string] ?? 'listitem';\n this._component.setAttribute('role', role);\n }\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\n\nimport { IListItemAdapter } from './list-item-adapter';\nimport { IListItemSelectEventData, LIST_ITEM_CONSTANTS } from './list-item-constants';\n\nexport interface IListItemFoundation extends ICustomElementFoundation {\n href: string;\n target: string;\n download: string;\n rel: string;\n static: boolean;\n nonInteractive: boolean;\n disabled: boolean;\n selected: boolean;\n active: boolean;\n value: unknown;\n dense: boolean;\n propagateClick: boolean;\n indented: boolean;\n twoLine: boolean;\n threeLine: boolean;\n wrap: boolean;\n setFocus(): void;\n}\n\nexport class ListItemFoundation implements IListItemFoundation {\n private _href: string;\n private _target = '';\n private _download = '';\n private _rel = '';\n private _nonInteractive = false;\n private _disabled = false;\n private _selected = false;\n private _active = false;\n private _value: unknown;\n private _dense = false;\n private _propagateClick = true;\n private _indented = false;\n private _twoLine = false;\n private _threeLine = false;\n private _wrap = false;\n\n private _clickListener: EventListener;\n private _pointerDownListener: EventListener;\n private _keydownListener: EventListener;\n\n constructor(private _adapter: IListItemAdapter) {\n this._clickListener = this._onClick.bind(this);\n this._pointerDownListener = this._onPointerDown.bind(this);\n this._keydownListener = this._onKeydown.bind(this);\n }\n\n public initialize(): void {\n this._adapter.initialize();\n\n if (!this._nonInteractive && !this._disabled) {\n this._adapter.addHostListener('click', this._clickListener);\n this._adapter.addHostListener('keydown', this._keydownListener);\n\n if (!this._propagateClick) {\n this._adapter.addHostListener('pointerdown', this._pointerDownListener);\n }\n }\n }\n\n public disconnect(): void {\n this._adapter.removeHostListener('click', this._clickListener);\n this._adapter.removeHostListener('pointerdown', this._pointerDownListener);\n this._adapter.removeHostListener('keydown', this._keydownListener);\n }\n\n public setFocus(): void {\n this._adapter.setFocus();\n }\n\n public click(): void {\n if (this._href) {\n this._adapter.clickAnchor();\n } else {\n this._adapter.clickHost();\n }\n }\n\n private _onPointerDown(evt: MouseEvent): void {\n if (this._adapter.isFocused()) {\n evt.preventDefault();\n }\n }\n\n private _onKeydown(evt: KeyboardEvent): void {\n if (evt.key === 'Enter' || evt.key === ' ') {\n if (!this._href && evt.key === ' ') {\n evt.preventDefault();\n }\n this._adapter.animateStateLayer();\n this._select(evt.target as HTMLElement);\n }\n }\n\n private _onClick(event: MouseEvent): void {\n this._select(event.target as HTMLElement);\n }\n\n private _select(targetElement: HTMLElement): void {\n const ignoreElement = targetElement?.matches(LIST_ITEM_CONSTANTS.selectors.IGNORE);\n if (this._nonInteractive || this._disabled || ignoreElement) {\n return;\n }\n\n if (!this._adapter.isFocused() && this._propagateClick) {\n this.setFocus();\n }\n\n // If the target was not a checkbox or radio button, attempt to find one and toggle its checked state\n if (!targetElement.matches(LIST_ITEM_CONSTANTS.selectors.CHECKBOX_RADIO_SELECTOR)) {\n this._adapter.tryToggleSelectionControl();\n }\n\n const data: IListItemSelectEventData = {\n value: this._value,\n listItem: this._adapter.hostElement\n };\n this._adapter.emitHostEvent(LIST_ITEM_CONSTANTS.events.SELECT, data);\n }\n\n public get href(): string {\n return this._href;\n }\n public set href(value: string) {\n if (this._href !== value) {\n this._href = value;\n this._adapter.setHref(this._href);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.HREF, !!this._href, this._href);\n }\n }\n\n public get target(): string {\n return this._target;\n }\n public set target(value: string) {\n if (this._target !== value) {\n this._target = value;\n if (this._href) {\n this._adapter.setAnchorTarget(this._target);\n }\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TARGET, !!this._target, this._target);\n }\n }\n\n public get download(): string {\n return this._download;\n }\n public set download(value: string) {\n if (this._download !== value) {\n this._download = value;\n this._adapter.setAnchorDownload(this._download);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DOWNLOAD, !!this._download, this._download);\n }\n }\n\n public get rel(): string {\n return this._rel;\n }\n public set rel(value: string) {\n if (this._rel !== value) {\n this._rel = value;\n this._adapter.setAnchorRel(this._rel);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.REL, !!this._rel, this._rel);\n }\n }\n\n public get static(): boolean {\n return this.nonInteractive;\n }\n public set static(value: boolean) {\n this.nonInteractive = value;\n }\n\n public get nonInteractive(): boolean {\n return this._nonInteractive;\n }\n public set nonInteractive(value: boolean) {\n if (this._nonInteractive !== value) {\n this._nonInteractive = value;\n if (this._nonInteractive) {\n this._adapter.removeHostListener('click', this._clickListener);\n } else {\n this._adapter.addHostListener('click', this._clickListener);\n }\n this._adapter.setNonInteractive(this._nonInteractive);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.STATIC, this._nonInteractive);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.NON_INTERACTIVE, this._nonInteractive);\n }\n }\n\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (this._disabled !== value) {\n this._disabled = value;\n if (this._disabled) {\n this._adapter.removeHostListener('click', this._clickListener);\n } else {\n this._adapter.addHostListener('click', this._clickListener);\n }\n this._adapter.setDisabled(this._disabled);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DISABLED, this._disabled);\n }\n }\n\n public get selected(): boolean {\n return this._selected;\n }\n public set selected(value: boolean) {\n if (this._selected !== value) {\n this._selected = value;\n this._adapter.tryToggleSelectionControl(this._selected);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.SELECTED, this._selected);\n }\n }\n\n public get active(): boolean {\n return this._active;\n }\n public set active(value: boolean) {\n if (this._active !== value) {\n this._active = value;\n this._adapter.setActive(this._active);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.ACTIVE, this._active);\n }\n }\n\n public get value(): unknown {\n return this._value;\n }\n public set value(value: unknown) {\n this._value = value;\n const isSelected = this._adapter.trySelect(this._value);\n if (isSelected !== null && isSelected !== this._selected) {\n this.selected = isSelected;\n }\n }\n\n public get dense(): boolean {\n return this._dense;\n }\n public set dense(value: boolean) {\n if (this._dense !== value) {\n this._dense = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DENSE, this._dense);\n }\n }\n\n public get propagateClick(): boolean {\n return this._propagateClick;\n }\n public set propagateClick(value: boolean) {\n if (this._propagateClick !== value) {\n this._propagateClick = value;\n\n if (this._propagateClick) {\n this._adapter.removeHostListener('pointerdown', this._pointerDownListener);\n } else {\n this._adapter.addHostListener('pointerdown', this._pointerDownListener);\n }\n\n this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.PROPAGATE_CLICK, this._propagateClick ? 'true' : 'false');\n }\n }\n\n public get indented(): boolean {\n return this._indented;\n }\n public set indented(value: boolean) {\n if (this._indented !== value) {\n this._indented = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.INDENTED, this._indented);\n }\n }\n\n public get twoLine(): boolean {\n return this._twoLine;\n }\n public set twoLine(value: boolean) {\n if (this._twoLine !== value) {\n this._twoLine = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE, this._twoLine);\n }\n }\n\n public get threeLine(): boolean {\n return this._threeLine;\n }\n public set threeLine(value: boolean) {\n if (this._threeLine !== value) {\n this._threeLine = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.THREE_LINE, this._threeLine);\n }\n }\n\n public get wrap(): boolean {\n return this._wrap;\n }\n public set wrap(value: boolean) {\n if (this._wrap !== value) {\n this._wrap = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.WRAP, this._wrap);\n }\n }\n}\n", "import { CustomElement, attachShadowTemplate, ICustomElement, FoundationProperty, coerceBoolean } from '@tylertech/forge-core';\nimport { ListItemAdapter } from './list-item-adapter';\nimport { ListItemFoundation } from './list-item-foundation';\nimport { IListItemSelectEventData, LIST_ITEM_CONSTANTS } from './list-item-constants';\nimport { StateLayerComponent } from '../../state-layer';\nimport { FocusIndicatorComponent } from '../../focus-indicator';\n\nconst template = '<template><div class=\\\"forge-list-item\\\" tabindex=\\\"0\\\" part=\\\"root\\\"><slot name=\\\"leading\\\"></slot><slot name=\\\"avatar\\\"></slot><div class=\\\"text-container\\\" part=\\\"text-container\\\"><slot></slot><slot name=\\\"title\\\"></slot><slot name=\\\"primary-text\\\"></slot><slot name=\\\"subtitle\\\"></slot><slot name=\\\"secondary-text\\\"></slot><slot name=\\\"tertiary-text\\\"></slot><slot name=\\\"tertiary-title\\\"></slot></div><slot name=\\\"trailing\\\"></slot><forge-state-layer exportparts=\\\"surface:state-layer\\\"></forge-state-layer><forge-focus-indicator part=\\\"focus-indicator\\\" inward></forge-focus-indicator></div></template>';\nconst styles = ':host{--_list-item-indent:var(--forge-list-item-indent, 56px);--_list-item-dense-indent:var(--forge-list-item-dense-indent, 48px)}:host{display:block;outline:0}:host([hidden]){display:none}:host([non-interactive]) .forge-list-item{cursor:initial}:host([disabled]) .forge-list-item{cursor:var(--_list-item-disabled-cursor);opacity:var(--_list-item-disabled-opacity)}:host([two-line]) .forge-list-item{height:var(--_list-item-two-line-height);min-height:var(--_list-item-two-line-height)}:host([three-line]) .forge-list-item{height:var(--_list-item-three-line-height);min-height:var(--_list-item-three-line-height)}:host([dense]) .forge-list-item{height:var(--_list-item-dense-one-line-height);min-height:var(--_list-item-dense-one-line-height)}:host([dense]) .text-container{font-size:var(--_list-item-dense-font-size)}:host([dense][indented]){-webkit-margin-start:var(--_list-item-dense-indent);margin-inline-start:var(--_list-item-dense-indent)}:host([dense][two-line]) .forge-list-item{height:var(--_list-item-dense-two-line-height);min-height:var(--_list-item-dense-two-line-height)}:host([dense][three-line]) .forge-list-item{height:var(--_list-item-dense-three-line-height);min-height:var(--_list-item-dense-three-line-height)}:host([selected]) .forge-list-item{color:var(--_list-item-selected-color)}:host([selected]) .forge-list-item::before{content:\\\"\\\";position:absolute;inset:0;border-radius:inherit;opacity:var(--_list-item-selected-opacity);background-color:var(--_list-item-selected-color)}:host([selected]) .forge-list-item ::slotted([slot=leading]),:host([selected]) .forge-list-item ::slotted([slot=trailing]){color:var(--_list-item-selected-color)}:host([selected]) .forge-list-item ::slotted([slot=leading]){color:var(--_list-item-leading-selected-color)}:host([selected]) .forge-list-item ::slotted([slot=trailing]){color:var(--_list-item-trailing-selected-color)}:host([selected]) .text-container{color:var(--_list-item-selected-color)}:host([selected]) forge-state-layer{--forge-state-layer-color:var(--_list-item-selected-color)}:host([indented]){-webkit-margin-start:var(--_list-item-indent);margin-inline-start:var(--_list-item-indent)}.forge-list-item{--_list-item-background-color:var(--forge-list-item-background-color, transparent);--_list-item-shape:var(--forge-list-item-shape, 0);--_list-item-padding:var(--forge-list-item-padding, 8px 16px);--_list-item-margin:var(--forge-list-item-margin, 0);--_list-item-height:var(--forge-list-item-height, 48px);--_list-item-dense-height:var(--forge-list-item-dense-height, 32px);--_list-item-cursor:var(--forge-list-item-cursor, pointer);--_list-item-supporting-text-color:var(--forge-list-item-supporting-text-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.54)));--_list-item-supporting-text-font-size:var(--forge-list-item-supporting-text-font-size, var(--forge-typography-body2-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 1))));--_list-item-supporting-text-font-weight:var(--forge-list-item-supporting-text-font-weight, var(--forge-typography-body2-font-weight, 400));--_list-item-supporting-text-line-height:var(--forge-list-item-supporting-text-line-height, 1.5rem);--_list-item-selected-color:var(--forge-list-item-selected-color, var(--forge-theme-primary, #3f51b5));--_list-item-selected-opacity:var(--forge-list-item-selected-opacity, 0.08);--_list-item-selected-leading-color:var(--forge-list-item-selected-leading-color, var(--_list-item-selected-color));--_list-item-selected-trailing-color:var(--forge-list-item-selected-trailing-color, var(--_list-item-selected-color));--_list-item-selected-supporting-text-color:var(--forge-list-item-selected-supporting-text-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.54)));--_list-item-disabled-opacity:var(--forge-list-item-disabled-opacity, 0.38);--_list-item-disabled-cursor:var(--forge-list-item-disabled-cursor, not-allowed);--_list-item-one-line-height:var(--forge-list-item-one-line-height, var(--_list-item-height));--_list-item-two-line-height:var(--forge-list-item-two-line-height, var(--forge-list-item-height, 72px));--_list-item-three-line-height:var(--forge-list-item-three-line-height, var(--forge-list-item-height, 88px));--_list-item-dense-one-line-height:var(--forge-list-item-dense-one-line-height, var(--_list-item-dense-height));--_list-item-dense-two-line-height:var(--forge-list-item-dense-two-line-height, var(--forge-list-item-dense-height, 56px));--_list-item-dense-three-line-height:var(--forge-list-item-dense-three-line-height, var(--forge-list-item-dense-height, 72px));--_list-item-dense-font-size:var(--forge-list-item-dense-font-size, 0.875rem);--_list-item-dense-leading-margin-end:var(--forge-list-item-dense-leading-margin-end, var(--forge-list-item-leading-margin-end, 24px));--_list-item-dense-trailing-margin-start:var(--forge-list-item-dense-trailing-margin-start, var(--forge-list-item-trailing-margin-start, 24px));--_list-item-leading-margin-start:var(--forge-list-item-leading-margin-start, 0);--_list-item-leading-margin-end:var(--forge-list-item-leading-margin-end, 32px);--_list-item-leading-selected-color:var(--forge-list-item-leading-selected-color, var(--_list-item-selected-color));--_list-item-trailing-margin-start:var(--forge-list-item-trailing-margin-start, 32px);--_list-item-trailing-margin-end:var(--forge-list-item-trailing-margin-end, 0);--_list-item-trailing-selected-color:var(--forge-list-item-trailing-selected-color, var(--_list-item-selected-color));--_list-item-avatar-background-color:var(--forge-list-item-avatar-background-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.54)));--_list-item-avatar-color:var(--forge-list-item-avatar-color, var(--forge-theme-on-primary, #ffffff));--_list-item-avatar-shape:var(--forge-list-item-avatar-shape, var(--forge-shape-round, 50%));--_list-item-avatar-margin-start:var(--forge-list-item-avatar-margin-start, 0);--_list-item-avatar-margin-end:var(--forge-list-item-avatar-margin-end, 16px);--_list-item-avatar-size:var(--forge-list-item-avatar-size, 40px)}.forge-list-item{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;text-decoration:none;background-color:var(--_list-item-background-color);border-radius:var(--_list-item-shape);-webkit-tap-highlight-color:transparent;height:var(--_list-item-height);min-height:var(--_list-item-height);padding:var(--_list-item-padding);margin:var(--_list-item-margin);cursor:var(--_list-item-cursor)}a.forge-list-item{color:inherit}.text-container{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body2-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));letter-spacing:var(--forge-typography-body2-letter-spacing, .015625em);text-transform:var(--forge-typography-body2-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body2-text-decoration,inherit);text-decoration:var(--forge-typography-body2-text-decoration,inherit);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:var(--_list-item-supporting-text-font-size);font-weight:var(--_list-item-supporting-text-font-weight);line-height:var(--_list-item-supporting-text-line-height);-webkit-box-flex:1;flex:1}slot[name=secondary-text]::slotted(*),slot[name=subtitle]::slotted(*),slot[name=tertiary-text]::slotted(*),slot[name=tertiary-title]::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body1-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-body1-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, .875)));font-weight:var(--forge-typography-body1-font-weight,400);line-height:var(--forge-typography-body1-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.125)));letter-spacing:var(--forge-typography-body1-letter-spacing, .0357142857em);text-transform:var(--forge-typography-body1-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body1-text-decoration,inherit);text-decoration:var(--forge-typography-body1-text-decoration,inherit);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_list-item-supporting-text-color);display:block}:host([selected]) slot[name=secondary-text]::slotted(*),:host([selected]) slot[name=subtitle]::slotted(*),:host([selected]) slot[name=tertiary-text]::slotted(*),:host([selected]) slot[name=tertiary-title]::slotted(*){color:var(--_list-item-selected-supporting-text-color)}::slotted([slot=avatar]){background-color:var(--_list-item-avatar-background-color);color:var(--_list-item-avatar-color);display:-webkit-inline-box;display:inline-flex;flex-shrink:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;fill:currentColor;-webkit-margin-start:var(--_list-item-avatar-margin-start);margin-inline-start:var(--_list-item-avatar-margin-start);-webkit-margin-end:var(--_list-item-avatar-margin-end);margin-inline-end:var(--_list-item-avatar-margin-end);min-width:var(--_list-item-avatar-size);min-height:var(--_list-item-avatar-size);border-radius:var(--_list-item-avatar-shape)}::slotted([slot=leading]),::slotted([slot=trailing]){color:var(--_list-item-supporting-text-color);display:-webkit-inline-box;display:inline-flex;flex-shrink:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;fill:currentColor}::slotted([slot=leading]){-webkit-margin-start:var(--_list-item-leading-margin-start);margin-inline-start:var(--_list-item-leading-margin-start);-webkit-margin-end:var(--_list-item-leading-margin-end);margin-inline-end:var(--_list-item-leading-margin-end)}:host([selected]) ::slotted([slot=leading]){color:var(--_list-item-leading-selected-color)}:host([dense]) ::slotted([slot=leading]){-webkit-margin-end:var(--_list-item-dense-leading-margin-end);margin-inline-end:var(--_list-item-dense-leading-margin-end)}::slotted([slot=trailing]){-webkit-margin-start:var(--_list-item-trailing-margin-start);margin-inline-start:var(--_list-item-trailing-margin-start);-webkit-margin-end:var(--_list-item-trailing-margin-end);margin-inline-end:var(--_list-item-trailing-margin-end)}:host([selected]) ::slotted([slot=trailing]){color:var(--_list-item-trailing-selected-color)}:host([dense]) ::slotted([slot=trailing]){-webkit-margin-start:var(--_list-item-dense-trailing-margin-start);margin-inline-start:var(--_list-item-dense-trailing-margin-start)}:host([wrap]) .forge-list-item{height:auto}:host([wrap]) .text-container{white-space:normal;overflow:visible;text-overflow:clip}:host([wrap]) slot[name=secondary-text]::slotted(*),:host([wrap]) slot[name=subtitle]::slotted(*),:host([wrap]) slot[name=tertiary-text]::slotted(*),:host([wrap]) slot[name=tertiary-title]::slotted(*){white-space:normal;overflow:visible;text-overflow:clip}forge-focus-indicator{z-index:1;--forge-focus-indicator-shape:var(--forge-shape-medium, 4px)}forge-state-layer{border-radius:inherit}';\n\nexport interface IListItemComponent<T = unknown> extends ICustomElement {\n href: string;\n target: string;\n download: string;\n rel: string;\n /** @deprecated Use nonInteractive instead. */\n static: boolean;\n nonInteractive: boolean;\n disabled: boolean;\n selected: boolean;\n active: boolean;\n value: T;\n dense: boolean;\n propagateClick: boolean;\n indented: boolean;\n twoLine: boolean;\n threeLine: boolean;\n wrap: boolean;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-list-item': IListItemComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-list-item-select': CustomEvent<IListItemSelectEventData>;\n }\n}\n\n/**\n * @tag forge-list-item\n * \n * @summary List items are individual rows of content inside of a list.\n * \n * @property {string} href - The href of the anchor. This forces the list item to render as an anchor element.\n * @property {string} target - The target of the anchor when an `href` is set. Defaults to `'_blank'`.\n * @property {boolean} download - The anchor download attribute.\n * @property {boolean} rel - The anchor rel attribute.\n * @property {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.\n * @property {boolean} nonInteractive - If true, the list item will not be interactive.\n * @property {boolean} static - If true, the list item will not be interactive. Deprecated use `nonInteractive` instead.\n * @property {boolean} disabled - Disables the list item.\n * @property {boolean} selected - Applies the selected state to the list item.\n * @property {boolean} active - Applies the active state to the list item by emulating its focused state.\n * @property {unknown} value - The unique value of the list item.\n * @property {boolean} dense - Applies the dense state to the list item.\n * @property {boolean} propagateClick - If true, the list item will not propagate click events to itself and therefore cannot receive focus.\n * @property {boolean} indented - Applies the indented state by adding margin to the start of the list item.\n * @property {boolean} twoLine - Sets the list item height to support at least two lines of text.\n * @property {boolean} threeLine - Sets the list item height to support at least three lines of text.\n * @property {boolean} wrap - Sets the list item to wrap its text content.\n * \n * @attribute {string} href - The href of the anchor This forces the list item to render as an anchor element.\n * @attribute {string} target - The target of the anchor when an `href` is set. Defaults to `'_blank'`.\n * @attribute {boolean} download - The anchor download attribute.\n * @attribute {boolean} rel - The anchor rel attribute.\n * @attribute {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.\n * @attribute {boolean} non-interactive - If true, the list item will not be interactive.\n * @attribute {boolean} static - If true, the list item will not be interactive. Deprecated use `non-interactive` instead.\n * @attribute {boolean} disabled - Disables the list item.\n * @attribute {boolean} selected - Applies the selected state to the list item.\n * @attribute {boolean} active - Applies the active state to the list item by emulating its focused state.\n * @attribute {unknown} value - The unique value of the list item.\n * @attribute {boolean} dense - Applies the dense state to the list item.\n * @attribute {boolean} propagate-click - If applied, the list item will not propagate click events to itself and therefore cannot receive focus.\n * @attribute {boolean} indented - Applies the indented state by adding margin to the start of the list item.\n * @attribute {boolean} two-line - Sets the list item height to support at least two lines of text.\n * @attribute {boolean} three-line - Sets the list item height to support at least three lines of text.\n * @attribute {boolean} wrap - Sets the list item to wrap its text content.\n * \n * @event {CustomEvent<IListItemSelectEventData>} forge-list-item-select - Fires when the list item is selected.\n * \n * @slot - The primary text.\n * @slot primary-text - The primary text. A named alias for the default slot.\n * @slot secondary-text - The secondary text.\n * @slot tertiary-text - The tertiary text.\n * @slot title - The title element. An alias for the primary-text slot for backwards compatibility.\n * @slot subtitle - The subtitle element. An alias for the secondary-text slot for backwards compatibility.\n * @slot tertiary-title - The tertiary title element. An alias for the tertiary-text slot for backwards compatibility.\n * @slot leading - The leading content.\n * @slot trailing - The trailing element.\n * @slot avatar - The avatar content.\n * \n * @csspart root - The root container element.\n * @csspart text-container - The container for the text content.\n * @csspart focus-indicator - The forwarded focus indicator's internal indicator element.\n * @csspart state-layer - The forwarded state layer's internal surface element.\n * \n * @cssprop --forge-list-item-background-color - The background color.\n * @cssprop --forge-list-item-shape - The shape of the list item.\n * @cssprop --forge-list-item-padding - The padding inside of the container element.\n * @cssprop --forge-list-item-margin - The margin around the host element.\n * @cssprop --forge-list-item-height - The height of the container.\n * @cssprop --forge-list-item-dense-height - The height when in the dense state.\n * @cssprop --forge-list-item-indent - The margin inline state when in the indented state.\n * @cssprop --forge-list-item-supporting-text-color - The text color of the supporting text.\n * @cssprop --forge-list-item-supporting-line-height - The line height of the supporting text.\n * @cssprop --forge-list-item-selected-color - The color when in the selected state.\n * @cssprop --forge-list-item-opacity - The opacity of the background color when in the disabled state.\n * @cssprop --forge-list-item-selected-leading-color - The color of the leading content when in the selected state.\n * @cssprop --forge-list-item-selected-trailing-color - The color of the trailing content when in the selected state.\n * @cssprop --forge-list-item-selected-supporting-text-color - The color of the supporting text when in the selected state.\n * @cssprop --forge-list-item-disabled-opacity - The opacity of the element when in the disabled state.\n * @cssprop --forge-list-item-disabled-cursor - The cursor when in the disabled state.\n * @cssprop --forge-list-item-one-line-height - The line height when in the one/single line state.\n * @cssprop --forge-list-item-two-line-height - The line height when in the two line state.\n * @cssprop --forge-list-item-three-line-height - The line height when in the three line state.\n * @cssprop --forge-list-item-dense-one-line-height - The line height when in the dense one/single line state.\n * @cssprop --forge-list-item-dense-two-line-height - The line height when in the dense two line state.\n * @cssprop --forge-list-item-dense-three-line-height - The line height when in the dense three line state.\n * @cssprop --forge-list-item-dense-font-size - The font size when in the dense state.\n * @cssprop --forge-list-item-dense-indent - The margin inline state when in the dense indented state.\n * @cssprop --forge-list-item-dense-leading-margin-end - The margin end of the leading content when in the dense state.\n * @cssprop --forge-list-item-dense-trailing-margin-start - The margin start of the trailing content when in the dense state.\n * @cssprop --forge-list-item-leading-margin-start - The margin start of the leading content.\n * @cssprop --forge-list-item-leading-margin-end - The margin end of the leading content.\n * @cssprop --forge-list-item-leading-selected-color - The color of the leading content when in the selected state.\n * @cssprop --forge-list-item-trailing-margin-start - The margin start of the trailing content.\n * @cssprop --forge-list-item-trailing-margin-end - The margin end of the trailing content.\n * @cssprop --forge-list-item-trailing-selected-color - The color of the trailing content when in the selected state.\n * @cssprop --forge-list-item-avatar-background-color - The background color of the avatar container.\n * @cssprop --forge-list-item-avatar-color - The foreground color of the avatar container.\n * @cssprop --forge-list-item-avatar-shape - The shape of the avatar container.\n * @cssprop --forge-list-item-avatar-margin-start - The margin start of the avatar container.\n * @cssprop --forge-list-item-avatar-margin-end - The margin end of the avatar container.\n * @cssprop --forge-list-item-avatar-size - The height & width of the avatar container.\n */\n@CustomElement({\n name: LIST_ITEM_CONSTANTS.elementName,\n dependencies: [\n StateLayerComponent,\n FocusIndicatorComponent\n ]\n})\nexport class ListItemComponent extends HTMLElement implements IListItemComponent {\n public static get observedAttributes(): string[] {\n return [\n LIST_ITEM_CONSTANTS.observedAttributes.HREF,\n LIST_ITEM_CONSTANTS.observedAttributes.TARGET,\n LIST_ITEM_CONSTANTS.observedAttributes.DOWNLOAD,\n LIST_ITEM_CONSTANTS.observedAttributes.REL,\n LIST_ITEM_CONSTANTS.observedAttributes.STATIC,\n LIST_ITEM_CONSTANTS.observedAttributes.NON_INTERACTIVE,\n LIST_ITEM_CONSTANTS.observedAttributes.DISABLED,\n LIST_ITEM_CONSTANTS.observedAttributes.SELECTED,\n LIST_ITEM_CONSTANTS.observedAttributes.ACTIVE,\n LIST_ITEM_CONSTANTS.observedAttributes.VALUE,\n LIST_ITEM_CONSTANTS.observedAttributes.DENSE,\n LIST_ITEM_CONSTANTS.observedAttributes.PROPAGATE_CLICK,\n LIST_ITEM_CONSTANTS.observedAttributes.INDENTED,\n LIST_ITEM_CONSTANTS.observedAttributes.TWO_LINE,\n LIST_ITEM_CONSTANTS.observedAttributes.THREE_LINE,\n LIST_ITEM_CONSTANTS.observedAttributes.WRAP\n ];\n }\n\n private _foundation: ListItemFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new ListItemFoundation(new ListItemAdapter(this));\n }\n\n public connectedCallback(): void {\n this._foundation.initialize();\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case LIST_ITEM_CONSTANTS.observedAttributes.HREF:\n this.href = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.TARGET:\n this.target = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.DOWNLOAD:\n this.download = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.REL:\n this.rel = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.NON_INTERACTIVE:\n case LIST_ITEM_CONSTANTS.observedAttributes.STATIC:\n this.nonInteractive = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.SELECTED:\n this.selected = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.ACTIVE:\n this.active = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.VALUE:\n this.value = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.DENSE:\n this.dense = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.PROPAGATE_CLICK:\n this.propagateClick = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.INDENTED:\n this.indented = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.TWO_LINE:\n this.twoLine = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.THREE_LINE:\n this.threeLine = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.WRAP:\n this.wrap = coerceBoolean(newValue);\n break;\n }\n }\n\n public override focus(): void {\n this._foundation.setFocus();\n }\n\n @FoundationProperty()\n public declare href: string;\n\n @FoundationProperty()\n public declare target: string;\n\n @FoundationProperty()\n public declare download: string;\n\n @FoundationProperty()\n public declare rel: string;\n\n /** @deprecated Use nonInteractive instead. */\n @FoundationProperty()\n public declare static: boolean;\n\n @FoundationProperty()\n public declare nonInteractive: boolean;\n\n @FoundationProperty()\n public declare disabled: boolean;\n\n @FoundationProperty()\n public declare selected: boolean;\n\n @FoundationProperty()\n public declare active: boolean;\n\n @FoundationProperty()\n public declare value: unknown;\n\n @FoundationProperty()\n public declare dense: boolean;\n\n @FoundationProperty()\n public declare propagateClick: boolean;\n\n @FoundationProperty()\n public declare indented: boolean;\n\n @FoundationProperty()\n public declare twoLine: boolean;\n\n @FoundationProperty()\n public declare threeLine: boolean;\n\n @FoundationProperty()\n public declare wrap: boolean;\n\n public override click(): void {\n this._foundation.click();\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\nimport { ListItemComponent } from './list-item';\n\nexport * from './list-item-adapter';\nexport * from './list-item-constants';\nexport * from './list-item-foundation';\nexport * from './list-item';\n\nexport function defineListItemComponent(): void {\n defineCustomElement(ListItemComponent);\n}\n"],
5
- "mappings": "icAEA,IAAMA,EAAc,GAAGC,QAEjBC,EAAqB,CACzB,KAAM,OACN,OAAQ,SACR,gBAAiB,kBACjB,SAAU,WACV,MAAO,QACP,gBAAiB,kBACjB,eAAgB,iBAChB,SAAU,WACV,SAAU,WACV,WAAY,aACZ,KAAM,MACR,EAEMC,EAAaC,EAAA,GACdF,GAGQG,EAAiB,CAC5B,YAAAL,EACA,WAAAG,CACF,EAEaG,EAAwB,CACnC,KAAM,WACN,QAAS,SACT,KAAM,UACR,EC5BA,IAAMC,EAAc,GAAGC,aAEjBC,E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AC1B,aAAc,CACZQ,EACAC,CACF,CACF,CAAC,GACYb,GCzIN,SAASc,IAAgC,CAC9CC,EAAoBC,CAAiB,CACvC",
4
+ "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nconst elementName = `${COMPONENT_NAME_PREFIX}list`;\n\nconst observedAttributes = {\n ROLE: 'role',\n STATIC: 'static',\n NON_INTERACTIVE: 'non-interactive',\n DISABLED: 'disabled',\n DENSE: 'dense',\n PROPAGATE_CLICK: 'propagate-click',\n SELECTED_VALUE: 'selected-value',\n INDENTED: 'indented',\n TWO_LINE: 'two-line',\n THREE_LINE: 'three-line',\n WRAP: 'wrap'\n};\n\nconst attributes = {\n ...observedAttributes\n};\n\nexport const LIST_CONSTANTS = {\n elementName,\n attributes\n};\n\nexport const ListComponentItemRole = {\n list: 'listitem',\n listbox: 'option',\n menu: 'menuitem'\n};\n", "import { COMPONENT_NAME_PREFIX } from '../../constants';\nimport { IListItemComponent } from './list-item';\n\nconst elementName = `${COMPONENT_NAME_PREFIX}list-item`;\n\nconst observedAttributes = {\n HREF: 'href',\n TARGET: 'target',\n DOWNLOAD: 'download',\n REL: 'rel',\n STATIC: 'static',\n NON_INTERACTIVE: 'non-interactive',\n DISABLED: 'disabled',\n SELECTED: 'selected',\n ACTIVE: 'active',\n VALUE: 'value',\n DENSE: 'dense',\n PROPAGATE_CLICK: 'propagate-click',\n INDENTED: 'indented',\n TWO_LINE: 'two-line',\n THREE_LINE: 'three-line',\n WRAP: 'wrap'\n};\n\nconst attributes = {\n ...observedAttributes\n};\n\nconst classes = {\n ROOT: 'forge-list-item'\n};\n\nconst selectors = {\n ROOT: `.${classes.ROOT}`,\n CHECKBOX_RADIO_SELECTOR: ':is(input[type=checkbox], input[type=radio], forge-checkbox):not(:disabled):not([forge-ignore])',\n SWITCH_SELECTOR: 'forge-switch:not([disabled]):not([forge-ignore])',\n IGNORE: '[forge-ignore],[data-forge-ignore]'\n};\n\nconst events = {\n SELECT: `${elementName}-select`\n};\n\nexport const LIST_ITEM_CONSTANTS = {\n elementName,\n observedAttributes,\n attributes,\n classes,\n selectors,\n events\n};\n\nexport interface IListItemSelectEventData<T = unknown> {\n value: T;\n listItem: IListItemComponent;\n}\n", "import { getShadowElement, isDeepEqual, toggleAttribute } from '@tylertech/forge-core';\nimport { replaceElement } from '../../core/utils/utils';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { FOCUS_INDICATOR_CONSTANTS, IFocusIndicatorComponent } from '../../focus-indicator';\nimport { IStateLayerComponent, STATE_LAYER_CONSTANTS } from '../../state-layer';\nimport { IListComponent } from '../list/list';\nimport { ListComponentItemRole, LIST_CONSTANTS } from '../list/list-constants';\nimport { IListItemComponent } from './list-item';\nimport { LIST_ITEM_CONSTANTS } from './list-item-constants';\nimport { ISwitchComponent } from '../../switch';\n\nexport interface IListItemAdapter extends IBaseAdapter<IListItemComponent> {\n initialize(): void;\n setHref(href: string): void;\n setAnchorTarget(target: string): void;\n setAnchorDownload(download: string): void;\n setAnchorRel(rel: string): void;\n setNonInteractive(value: boolean): void;\n setDisabled(value: boolean): void;\n setActive(value: boolean): void;\n trySelect(value: unknown): boolean | null;\n tryToggleSelectionControl(value?: boolean): void;\n isFocused(): boolean;\n setFocus(): void;\n animateStateLayer(): void;\n clickAnchor(): void;\n clickHost(): void;\n}\n\nexport class ListItemAdapter extends BaseAdapter<IListItemComponent> implements IListItemAdapter {\n private _rootElement: HTMLElement | HTMLAnchorElement;\n private _focusIndicatorElement: IFocusIndicatorComponent;\n private _stateLayerElement: IStateLayerComponent;\n\n constructor(component: IListItemComponent) {\n super(component);\n this._rootElement = getShadowElement(component, LIST_ITEM_CONSTANTS.selectors.ROOT);\n this._focusIndicatorElement = getShadowElement(component, FOCUS_INDICATOR_CONSTANTS.elementName) as IFocusIndicatorComponent;\n this._stateLayerElement = getShadowElement(component, STATE_LAYER_CONSTANTS.elementName) as IStateLayerComponent;\n }\n\n public initialize(): void {\n // Attempt to inherit state for corresponding properties from our parent list\n const list = this._getParentList();\n if (list) {\n this._inheritParentListProps(list);\n }\n\n this._rootElement.tabIndex = this._component.nonInteractive || this._component.disabled ? -1 : 0;\n\n if (!this._component.hasAttribute('role')) {\n this._setRole(list);\n }\n }\n\n public setHref(href: string): void {\n if (href) {\n if (this._rootElement.tagName !== 'A') {\n const anchor = this._createAnchorRootElement();\n this._rootElement = replaceElement(this._rootElement, anchor);\n }\n (this._rootElement as HTMLAnchorElement).href = href;\n } else if (this._rootElement.tagName === 'A') {\n const defaultEl = this._createDefaultRootElement();\n this._rootElement = replaceElement(this._rootElement, defaultEl);\n }\n }\n\n public setAnchorTarget(target: string): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).target = target;\n }\n }\n\n public setAnchorDownload(download: string): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).download = download;\n }\n }\n\n public setAnchorRel(rel: string): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).rel = rel;\n }\n }\n\n public setNonInteractive(value: boolean): void {\n this._rootElement.tabIndex = value ? -1 : 0;\n\n if (value) {\n this._focusIndicatorElement.remove();\n this._stateLayerElement.remove();\n } else {\n this._rootElement.append(this._focusIndicatorElement, this._stateLayerElement);\n }\n }\n\n public setDisabled(value: boolean): void {\n this._rootElement.tabIndex = value ? -1 : 0;\n toggleAttribute(this._component, value, 'aria-disabled', 'true');\n\n if (value) {\n this._focusIndicatorElement.remove();\n this._stateLayerElement.remove();\n } else {\n this._rootElement.append(this._focusIndicatorElement, this._stateLayerElement);\n }\n }\n\n public setActive(value: boolean): void {\n this._focusIndicatorElement.active = value;\n }\n\n /**\n * Attempts to set the selected state of the list item element and it's visual indicators\n * @param value The value to compare to the parent list element's selected value\n * @returns Returns whether the list item is selected, or null otherwise.\n */\n public trySelect(value: unknown): boolean | null {\n const list = this._getParentList();\n if (list?.selectedValue === undefined) {\n return null;\n }\n\n const listValues = Array.isArray(list.selectedValue) ? list.selectedValue : [list.selectedValue];\n const isSelected = listValues.some(v => isDeepEqual(v, value));\n\n this.tryToggleSelectionControl(isSelected);\n return isSelected;\n }\n\n /**\n * Attempts to toggle a checkbox radio button, or switch within the list item if it can find one.\n */\n public tryToggleSelectionControl(value?: boolean): void {\n const checkable = this._component.querySelector(LIST_ITEM_CONSTANTS.selectors.CHECKBOX_RADIO_SELECTOR) as HTMLInputElement;\n if (checkable) {\n const force = typeof value === 'boolean';\n const currentState = checkable.checked;\n \n // Check if we are just toggling or forcing to a specific checked state\n checkable.checked = force ? value as boolean : !checkable.checked;\n\n // TODO: This seems weird... Should we be dispatching events on slotted elements when changes are made programmatically?\n if (!force || currentState !== value) {\n checkable.dispatchEvent(new Event('change', { bubbles: true }));\n }\n } else {\n // Special case handling for the Forge switch element since it doesn't have a checked property\n const switchEl = this._component.querySelector(LIST_ITEM_CONSTANTS.selectors.SWITCH_SELECTOR) as ISwitchComponent;\n if (!switchEl) {\n return;\n }\n \n const force = typeof value === 'boolean';\n const currentState = switchEl.on;\n\n // Check if we are just toggling or forcing to a specific checked state\n switchEl.on = force ? value as boolean : !switchEl.on;\n\n // TODO: This seems weird... Should we be dispatching events on slotted elements when changes are made programmatically?\n if (!force || currentState !== value) {\n switchEl.dispatchEvent(new CustomEvent('forge-switch-change', { bubbles: true, detail: switchEl.on }));\n }\n }\n }\n\n public isFocused(): boolean {\n return this._component.matches(':focus');\n }\n\n public setFocus(): void {\n this._rootElement.focus({ preventScroll: true });\n }\n\n public animateStateLayer(): void {\n this._stateLayerElement.playAnimation();\n }\n\n public clickAnchor(): void {\n if (this._rootElement.tagName === 'A') {\n (this._rootElement as HTMLAnchorElement).click();\n }\n }\n\n public clickHost(): void {\n // Calling click() on the prototype ensures we don't end up in an infinite\n // recursion since the host overrides the HTMLElement.click() method\n HTMLElement.prototype.click.call(this._component);\n }\n\n private _createAnchorRootElement(): HTMLAnchorElement {\n const a = document.createElement('a');\n a.classList.add(LIST_ITEM_CONSTANTS.classes.ROOT);\n a.setAttribute('part', 'root');\n if (this._component.href) {\n a.href = this._component.href;\n }\n if (this._component.target) {\n a.target = this._component.target;\n }\n if (this._component.download) {\n a.download = this._component.download;\n }\n if (this._component.rel) {\n a.rel = this._component.rel;\n }\n return a;\n }\n\n private _createDefaultRootElement(): HTMLElement {\n const div = document.createElement('div');\n div.classList.add(LIST_ITEM_CONSTANTS.classes.ROOT);\n div.setAttribute('part', 'root');\n div.tabIndex = this._component.nonInteractive || this._component.disabled ? -1 : 0;\n return div;\n }\n\n private _getParentList(): IListComponent | null {\n return this._component.closest(LIST_CONSTANTS.elementName);\n }\n\n private _inheritParentListProps(list: IListComponent): void {\n if (list.hasAttribute(LIST_CONSTANTS.attributes.NON_INTERACTIVE) || list.hasAttribute(LIST_CONSTANTS.attributes.STATIC)) {\n this._component.nonInteractive = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.DISABLED)) {\n this._component.disabled = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.DENSE)) {\n this._component.dense = true;\n }\n if (list.getAttribute(LIST_CONSTANTS.attributes.PROPAGATE_CLICK) === 'false') {\n this._component.propagateClick = false;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.INDENTED)) {\n this._component.indented = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.TWO_LINE)) {\n this._component.twoLine = true;\n }\n if (list.hasAttribute(LIST_CONSTANTS.attributes.THREE_LINE)) {\n this._component.threeLine = true;\n }\n }\n\n private _setRole(list: IListComponent | null): void {\n const listRole = list?.getAttribute('role');\n const role = ListComponentItemRole[listRole as string] ?? 'listitem';\n this._component.setAttribute('role', role);\n }\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\n\nimport { IListItemAdapter } from './list-item-adapter';\nimport { IListItemSelectEventData, LIST_ITEM_CONSTANTS } from './list-item-constants';\n\nexport interface IListItemFoundation extends ICustomElementFoundation {\n href: string;\n target: string;\n download: string;\n rel: string;\n static: boolean;\n nonInteractive: boolean;\n disabled: boolean;\n selected: boolean;\n active: boolean;\n value: unknown;\n dense: boolean;\n propagateClick: boolean;\n indented: boolean;\n twoLine: boolean;\n threeLine: boolean;\n wrap: boolean;\n setFocus(): void;\n}\n\nexport class ListItemFoundation implements IListItemFoundation {\n private _href: string;\n private _target = '';\n private _download = '';\n private _rel = '';\n private _nonInteractive = false;\n private _disabled = false;\n private _selected = false;\n private _active = false;\n private _value: unknown;\n private _dense = false;\n private _propagateClick = true;\n private _indented = false;\n private _twoLine = false;\n private _threeLine = false;\n private _wrap = false;\n\n private _clickListener: EventListener;\n private _pointerDownListener: EventListener;\n private _keydownListener: EventListener;\n\n constructor(private _adapter: IListItemAdapter) {\n this._clickListener = this._onClick.bind(this);\n this._pointerDownListener = this._onPointerDown.bind(this);\n this._keydownListener = this._onKeydown.bind(this);\n }\n\n public initialize(): void {\n this._adapter.initialize();\n\n if (!this._nonInteractive && !this._disabled) {\n this._adapter.addHostListener('click', this._clickListener);\n this._adapter.addHostListener('keydown', this._keydownListener);\n\n if (!this._propagateClick) {\n this._adapter.addHostListener('pointerdown', this._pointerDownListener);\n }\n }\n }\n\n public disconnect(): void {\n this._adapter.removeHostListener('click', this._clickListener);\n this._adapter.removeHostListener('pointerdown', this._pointerDownListener);\n this._adapter.removeHostListener('keydown', this._keydownListener);\n }\n\n public setFocus(): void {\n this._adapter.setFocus();\n }\n\n public click(): void {\n if (this._href) {\n this._adapter.clickAnchor();\n } else {\n this._adapter.clickHost();\n }\n }\n\n private _onPointerDown(evt: MouseEvent): void {\n if (this._adapter.isFocused()) {\n evt.preventDefault();\n }\n }\n\n private _onKeydown(evt: KeyboardEvent): void {\n if (evt.key === 'Enter' || evt.key === ' ') {\n if (!this._href && evt.key === ' ') {\n evt.preventDefault();\n }\n this._adapter.animateStateLayer();\n this._select(evt.target as HTMLElement);\n }\n }\n\n private _onClick(event: MouseEvent): void {\n this._select(event.target as HTMLElement);\n }\n\n private _select(targetElement: HTMLElement): void {\n const ignoreElement = targetElement?.matches(LIST_ITEM_CONSTANTS.selectors.IGNORE);\n if (this._nonInteractive || this._disabled || ignoreElement) {\n return;\n }\n\n if (!this._adapter.isFocused() && this._propagateClick) {\n this.setFocus();\n }\n\n // If the target was not a checkbox or radio button, attempt to find one and toggle its checked state\n if (!targetElement.matches(LIST_ITEM_CONSTANTS.selectors.CHECKBOX_RADIO_SELECTOR)) {\n this._adapter.tryToggleSelectionControl();\n }\n\n const data: IListItemSelectEventData = {\n value: this._value,\n listItem: this._adapter.hostElement\n };\n this._adapter.emitHostEvent(LIST_ITEM_CONSTANTS.events.SELECT, data);\n }\n\n public get href(): string {\n return this._href;\n }\n public set href(value: string) {\n if (this._href !== value) {\n this._href = value;\n this._adapter.setHref(this._href);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.HREF, !!this._href, this._href);\n }\n }\n\n public get target(): string {\n return this._target;\n }\n public set target(value: string) {\n if (this._target !== value) {\n this._target = value;\n if (this._href) {\n this._adapter.setAnchorTarget(this._target);\n }\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TARGET, !!this._target, this._target);\n }\n }\n\n public get download(): string {\n return this._download;\n }\n public set download(value: string) {\n if (this._download !== value) {\n this._download = value;\n this._adapter.setAnchorDownload(this._download);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DOWNLOAD, !!this._download, this._download);\n }\n }\n\n public get rel(): string {\n return this._rel;\n }\n public set rel(value: string) {\n if (this._rel !== value) {\n this._rel = value;\n this._adapter.setAnchorRel(this._rel);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.REL, !!this._rel, this._rel);\n }\n }\n\n public get static(): boolean {\n return this.nonInteractive;\n }\n public set static(value: boolean) {\n this.nonInteractive = value;\n }\n\n public get nonInteractive(): boolean {\n return this._nonInteractive;\n }\n public set nonInteractive(value: boolean) {\n if (this._nonInteractive !== value) {\n this._nonInteractive = value;\n if (this._nonInteractive) {\n this._adapter.removeHostListener('click', this._clickListener);\n } else {\n this._adapter.addHostListener('click', this._clickListener);\n }\n this._adapter.setNonInteractive(this._nonInteractive);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.STATIC, this._nonInteractive);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.NON_INTERACTIVE, this._nonInteractive);\n }\n }\n\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (this._disabled !== value) {\n this._disabled = value;\n if (this._disabled) {\n this._adapter.removeHostListener('click', this._clickListener);\n } else {\n this._adapter.addHostListener('click', this._clickListener);\n }\n this._adapter.setDisabled(this._disabled);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DISABLED, this._disabled);\n }\n }\n\n public get selected(): boolean {\n return this._selected;\n }\n public set selected(value: boolean) {\n if (this._selected !== value) {\n this._selected = value;\n this._adapter.tryToggleSelectionControl(this._selected);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.SELECTED, this._selected);\n }\n }\n\n public get active(): boolean {\n return this._active;\n }\n public set active(value: boolean) {\n if (this._active !== value) {\n this._active = value;\n this._adapter.setActive(this._active);\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.ACTIVE, this._active);\n }\n }\n\n public get value(): unknown {\n return this._value;\n }\n public set value(value: unknown) {\n this._value = value;\n const isSelected = this._adapter.trySelect(this._value);\n if (isSelected !== null && isSelected !== this._selected) {\n this.selected = isSelected;\n }\n }\n\n public get dense(): boolean {\n return this._dense;\n }\n public set dense(value: boolean) {\n if (this._dense !== value) {\n this._dense = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DENSE, this._dense);\n }\n }\n\n public get propagateClick(): boolean {\n return this._propagateClick;\n }\n public set propagateClick(value: boolean) {\n if (this._propagateClick !== value) {\n this._propagateClick = value;\n\n if (this._propagateClick) {\n this._adapter.removeHostListener('pointerdown', this._pointerDownListener);\n } else {\n this._adapter.addHostListener('pointerdown', this._pointerDownListener);\n }\n\n this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.PROPAGATE_CLICK, this._propagateClick ? 'true' : 'false');\n }\n }\n\n public get indented(): boolean {\n return this._indented;\n }\n public set indented(value: boolean) {\n if (this._indented !== value) {\n this._indented = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.INDENTED, this._indented);\n }\n }\n\n public get twoLine(): boolean {\n return this._twoLine;\n }\n public set twoLine(value: boolean) {\n if (this._twoLine !== value) {\n this._twoLine = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE, this._twoLine);\n }\n }\n\n public get threeLine(): boolean {\n return this._threeLine;\n }\n public set threeLine(value: boolean) {\n if (this._threeLine !== value) {\n this._threeLine = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.THREE_LINE, this._threeLine);\n }\n }\n\n public get wrap(): boolean {\n return this._wrap;\n }\n public set wrap(value: boolean) {\n if (this._wrap !== value) {\n this._wrap = value;\n this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.WRAP, this._wrap);\n }\n }\n}\n", "import { CustomElement, attachShadowTemplate, ICustomElement, FoundationProperty, coerceBoolean } from '@tylertech/forge-core';\nimport { ListItemAdapter } from './list-item-adapter';\nimport { ListItemFoundation } from './list-item-foundation';\nimport { IListItemSelectEventData, LIST_ITEM_CONSTANTS } from './list-item-constants';\nimport { StateLayerComponent } from '../../state-layer';\nimport { FocusIndicatorComponent } from '../../focus-indicator';\n\nconst template = '<template><div class=\\\"forge-list-item\\\" tabindex=\\\"0\\\" part=\\\"root\\\"><slot name=\\\"leading\\\"></slot><slot name=\\\"avatar\\\"></slot><div class=\\\"text-container\\\" part=\\\"text-container\\\"><slot></slot><slot name=\\\"title\\\"></slot><slot name=\\\"primary-text\\\"></slot><slot name=\\\"subtitle\\\"></slot><slot name=\\\"secondary-text\\\"></slot><slot name=\\\"tertiary-text\\\"></slot><slot name=\\\"tertiary-title\\\"></slot></div><slot name=\\\"trailing\\\"></slot><forge-state-layer exportparts=\\\"surface:state-layer\\\"></forge-state-layer><forge-focus-indicator part=\\\"focus-indicator\\\" inward></forge-focus-indicator></div></template>';\nconst styles = ':host{--_list-item-indent:var(--forge-list-item-indent, 56px);--_list-item-dense-indent:var(--forge-list-item-dense-indent, 48px)}:host{display:block;outline:0}:host([hidden]){display:none}.forge-list-item{--_list-item-background-color:var(--forge-list-item-background-color, transparent);--_list-item-shape:var(--forge-list-item-shape, 0);--_list-item-padding:var(--forge-list-item-padding, 8px 16px);--_list-item-margin:var(--forge-list-item-margin, 0);--_list-item-height:var(--forge-list-item-height, 48px);--_list-item-dense-height:var(--forge-list-item-dense-height, 32px);--_list-item-cursor:var(--forge-list-item-cursor, pointer);--_list-item-supporting-text-color:var(--forge-list-item-supporting-text-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.6)));--_list-item-supporting-text-font-size:var(--forge-list-item-supporting-text-font-size, var(--forge-typography-body2-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 1))));--_list-item-supporting-text-font-weight:var(--forge-list-item-supporting-text-font-weight, var(--forge-typography-body2-font-weight, 400));--_list-item-supporting-text-line-height:var(--forge-list-item-supporting-text-line-height, 1.5rem);--_list-item-selected-color:var(--forge-list-item-selected-color, var(--forge-theme-primary, #3f51b5));--_list-item-selected-opacity:var(--forge-list-item-selected-opacity, 0.08);--_list-item-selected-leading-color:var(--forge-list-item-selected-leading-color, var(--_list-item-selected-color));--_list-item-selected-trailing-color:var(--forge-list-item-selected-trailing-color, var(--_list-item-selected-color));--_list-item-selected-supporting-text-color:var(--forge-list-item-selected-supporting-text-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.6)));--_list-item-disabled-opacity:var(--forge-list-item-disabled-opacity, 0.38);--_list-item-disabled-cursor:var(--forge-list-item-disabled-cursor, not-allowed);--_list-item-one-line-height:var(--forge-list-item-one-line-height, var(--_list-item-height));--_list-item-two-line-height:var(--forge-list-item-two-line-height, var(--forge-list-item-height, 72px));--_list-item-three-line-height:var(--forge-list-item-three-line-height, var(--forge-list-item-height, 88px));--_list-item-dense-one-line-height:var(--forge-list-item-dense-one-line-height, var(--_list-item-dense-height));--_list-item-dense-two-line-height:var(--forge-list-item-dense-two-line-height, var(--forge-list-item-dense-height, 56px));--_list-item-dense-three-line-height:var(--forge-list-item-dense-three-line-height, var(--forge-list-item-dense-height, 72px));--_list-item-dense-font-size:var(--forge-list-item-dense-font-size, 0.875rem);--_list-item-dense-leading-margin-end:var(--forge-list-item-dense-leading-margin-end, var(--forge-list-item-leading-margin-end, 24px));--_list-item-dense-trailing-margin-start:var(--forge-list-item-dense-trailing-margin-start, var(--forge-list-item-trailing-margin-start, 24px));--_list-item-leading-margin-start:var(--forge-list-item-leading-margin-start, 0);--_list-item-leading-margin-end:var(--forge-list-item-leading-margin-end, 32px);--_list-item-leading-selected-color:var(--forge-list-item-leading-selected-color, var(--_list-item-selected-color));--_list-item-trailing-margin-start:var(--forge-list-item-trailing-margin-start, 32px);--_list-item-trailing-margin-end:var(--forge-list-item-trailing-margin-end, 0);--_list-item-trailing-selected-color:var(--forge-list-item-trailing-selected-color, var(--_list-item-selected-color));--_list-item-avatar-background-color:var(--forge-list-item-avatar-background-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.6)));--_list-item-avatar-color:var(--forge-list-item-avatar-color, var(--forge-theme-on-primary, #ffffff));--_list-item-avatar-shape:var(--forge-list-item-avatar-shape, var(--forge-shape-round, 50%));--_list-item-avatar-margin-start:var(--forge-list-item-avatar-margin-start, 0);--_list-item-avatar-margin-end:var(--forge-list-item-avatar-margin-end, 16px);--_list-item-avatar-size:var(--forge-list-item-avatar-size, 40px)}.forge-list-item{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;text-decoration:none;background-color:var(--_list-item-background-color);border-radius:var(--_list-item-shape);-webkit-tap-highlight-color:transparent;height:var(--_list-item-height);min-height:var(--_list-item-height);padding:var(--_list-item-padding);margin:var(--_list-item-margin);cursor:var(--_list-item-cursor)}:host([non-interactive]) .forge-list-item{cursor:initial}:host([disabled]) .forge-list-item{cursor:var(--_list-item-disabled-cursor);opacity:var(--_list-item-disabled-opacity)}:host([two-line]) .forge-list-item{height:var(--_list-item-two-line-height);min-height:var(--_list-item-two-line-height)}:host([three-line]) .forge-list-item{height:var(--_list-item-three-line-height);min-height:var(--_list-item-three-line-height)}:host([dense]) .forge-list-item{height:var(--_list-item-dense-one-line-height);min-height:var(--_list-item-dense-one-line-height)}:host([dense]) .text-container{font-size:var(--_list-item-dense-font-size)}:host([dense][indented]){-webkit-margin-start:var(--_list-item-dense-indent);margin-inline-start:var(--_list-item-dense-indent)}:host([dense][two-line]) .forge-list-item{height:var(--_list-item-dense-two-line-height);min-height:var(--_list-item-dense-two-line-height)}:host([dense][three-line]) .forge-list-item{height:var(--_list-item-dense-three-line-height);min-height:var(--_list-item-dense-three-line-height)}:host([selected]) .forge-list-item{color:var(--_list-item-selected-color)}:host([selected]) .forge-list-item::before{content:\\\"\\\";position:absolute;inset:0;border-radius:inherit;opacity:var(--_list-item-selected-opacity);background-color:var(--_list-item-selected-color)}:host([selected]) .forge-list-item ::slotted([slot=leading]),:host([selected]) .forge-list-item ::slotted([slot=trailing]){color:var(--_list-item-selected-color)}:host([selected]) .forge-list-item ::slotted([slot=leading]){color:var(--_list-item-leading-selected-color)}:host([selected]) .forge-list-item ::slotted([slot=trailing]){color:var(--_list-item-trailing-selected-color)}:host([selected]) .text-container{color:var(--_list-item-selected-color)}:host([selected]) forge-state-layer{--forge-state-layer-color:var(--_list-item-selected-color)}:host([indented]){-webkit-margin-start:var(--_list-item-indent);margin-inline-start:var(--_list-item-indent)}a.forge-list-item{color:inherit}.text-container{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body2-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));letter-spacing:var(--forge-typography-body2-letter-spacing, .015625em);text-transform:var(--forge-typography-body2-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body2-text-decoration,inherit);text-decoration:var(--forge-typography-body2-text-decoration,inherit);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:var(--_list-item-supporting-text-font-size);font-weight:var(--_list-item-supporting-text-font-weight);line-height:var(--_list-item-supporting-text-line-height);-webkit-box-flex:1;flex:1}slot[name=secondary-text]::slotted(*),slot[name=subtitle]::slotted(*),slot[name=tertiary-text]::slotted(*),slot[name=tertiary-title]::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body1-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-body1-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, .875)));font-weight:var(--forge-typography-body1-font-weight,400);line-height:var(--forge-typography-body1-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.125)));letter-spacing:var(--forge-typography-body1-letter-spacing, .0357142857em);text-transform:var(--forge-typography-body1-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body1-text-decoration,inherit);text-decoration:var(--forge-typography-body1-text-decoration,inherit);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_list-item-supporting-text-color);display:block}:host([selected]) slot[name=secondary-text]::slotted(*),:host([selected]) slot[name=subtitle]::slotted(*),:host([selected]) slot[name=tertiary-text]::slotted(*),:host([selected]) slot[name=tertiary-title]::slotted(*){color:var(--_list-item-selected-supporting-text-color)}::slotted([slot=avatar]){background-color:var(--_list-item-avatar-background-color);color:var(--_list-item-avatar-color);display:-webkit-inline-box;display:inline-flex;flex-shrink:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;fill:currentColor;-webkit-margin-start:var(--_list-item-avatar-margin-start);margin-inline-start:var(--_list-item-avatar-margin-start);-webkit-margin-end:var(--_list-item-avatar-margin-end);margin-inline-end:var(--_list-item-avatar-margin-end);min-width:var(--_list-item-avatar-size);min-height:var(--_list-item-avatar-size);border-radius:var(--_list-item-avatar-shape)}::slotted([slot=leading]),::slotted([slot=trailing]){color:var(--_list-item-supporting-text-color);display:-webkit-inline-box;display:inline-flex;flex-shrink:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;fill:currentColor}::slotted([slot=leading]){-webkit-margin-start:var(--_list-item-leading-margin-start);margin-inline-start:var(--_list-item-leading-margin-start);-webkit-margin-end:var(--_list-item-leading-margin-end);margin-inline-end:var(--_list-item-leading-margin-end)}:host([selected]) ::slotted([slot=leading]){color:var(--_list-item-leading-selected-color)}:host([dense]) ::slotted([slot=leading]){-webkit-margin-end:var(--_list-item-dense-leading-margin-end);margin-inline-end:var(--_list-item-dense-leading-margin-end)}::slotted([slot=trailing]){-webkit-margin-start:var(--_list-item-trailing-margin-start);margin-inline-start:var(--_list-item-trailing-margin-start);-webkit-margin-end:var(--_list-item-trailing-margin-end);margin-inline-end:var(--_list-item-trailing-margin-end)}:host([selected]) ::slotted([slot=trailing]){color:var(--_list-item-trailing-selected-color)}:host([dense]) ::slotted([slot=trailing]){-webkit-margin-start:var(--_list-item-dense-trailing-margin-start);margin-inline-start:var(--_list-item-dense-trailing-margin-start)}:host([wrap]) .forge-list-item{height:auto}:host([wrap]) .text-container{white-space:normal;overflow:visible;text-overflow:clip}:host([wrap]) slot[name=secondary-text]::slotted(*),:host([wrap]) slot[name=subtitle]::slotted(*),:host([wrap]) slot[name=tertiary-text]::slotted(*),:host([wrap]) slot[name=tertiary-title]::slotted(*){white-space:normal;overflow:visible;text-overflow:clip}forge-focus-indicator{z-index:1;--forge-focus-indicator-shape:var(--forge-shape-medium, 4px)}forge-state-layer{border-radius:inherit}';\n\nexport interface IListItemComponent<T = unknown> extends ICustomElement {\n href: string;\n target: string;\n download: string;\n rel: string;\n /** @deprecated Use nonInteractive instead. */\n static: boolean;\n nonInteractive: boolean;\n disabled: boolean;\n selected: boolean;\n active: boolean;\n value: T;\n dense: boolean;\n propagateClick: boolean;\n indented: boolean;\n twoLine: boolean;\n threeLine: boolean;\n wrap: boolean;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-list-item': IListItemComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-list-item-select': CustomEvent<IListItemSelectEventData>;\n }\n}\n\n/**\n * @tag forge-list-item\n * \n * @summary List items are individual rows of content inside of a list.\n * \n * @property {string} href - The href of the anchor. This forces the list item to render as an anchor element.\n * @property {string} target - The target of the anchor when an `href` is set. Defaults to `'_blank'`.\n * @property {boolean} download - The anchor download attribute.\n * @property {boolean} rel - The anchor rel attribute.\n * @property {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.\n * @property {boolean} nonInteractive - If true, the list item will not be interactive.\n * @property {boolean} static - If true, the list item will not be interactive. Deprecated use `nonInteractive` instead.\n * @property {boolean} disabled - Disables the list item.\n * @property {boolean} selected - Applies the selected state to the list item.\n * @property {boolean} active - Applies the active state to the list item by emulating its focused state.\n * @property {unknown} value - The unique value of the list item.\n * @property {boolean} dense - Applies the dense state to the list item.\n * @property {boolean} propagateClick - If true, the list item will not propagate click events to itself and therefore cannot receive focus.\n * @property {boolean} indented - Applies the indented state by adding margin to the start of the list item.\n * @property {boolean} twoLine - Sets the list item height to support at least two lines of text.\n * @property {boolean} threeLine - Sets the list item height to support at least three lines of text.\n * @property {boolean} wrap - Sets the list item to wrap its text content.\n * \n * @attribute {string} href - The href of the anchor This forces the list item to render as an anchor element.\n * @attribute {string} target - The target of the anchor when an `href` is set. Defaults to `'_blank'`.\n * @attribute {boolean} download - The anchor download attribute.\n * @attribute {boolean} rel - The anchor rel attribute.\n * @attribute {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.\n * @attribute {boolean} non-interactive - If true, the list item will not be interactive.\n * @attribute {boolean} static - If true, the list item will not be interactive. Deprecated use `non-interactive` instead.\n * @attribute {boolean} disabled - Disables the list item.\n * @attribute {boolean} selected - Applies the selected state to the list item.\n * @attribute {boolean} active - Applies the active state to the list item by emulating its focused state.\n * @attribute {unknown} value - The unique value of the list item.\n * @attribute {boolean} dense - Applies the dense state to the list item.\n * @attribute {boolean} propagate-click - If applied, the list item will not propagate click events to itself and therefore cannot receive focus.\n * @attribute {boolean} indented - Applies the indented state by adding margin to the start of the list item.\n * @attribute {boolean} two-line - Sets the list item height to support at least two lines of text.\n * @attribute {boolean} three-line - Sets the list item height to support at least three lines of text.\n * @attribute {boolean} wrap - Sets the list item to wrap its text content.\n * \n * @event {CustomEvent<IListItemSelectEventData>} forge-list-item-select - Fires when the list item is selected.\n * \n * @slot - The primary text.\n * @slot primary-text - The primary text. A named alias for the default slot.\n * @slot secondary-text - The secondary text.\n * @slot tertiary-text - The tertiary text.\n * @slot title - The title element. An alias for the primary-text slot for backwards compatibility.\n * @slot subtitle - The subtitle element. An alias for the secondary-text slot for backwards compatibility.\n * @slot tertiary-title - The tertiary title element. An alias for the tertiary-text slot for backwards compatibility.\n * @slot leading - The leading content.\n * @slot trailing - The trailing element.\n * @slot avatar - The avatar content.\n * \n * @csspart root - The root container element.\n * @csspart text-container - The container for the text content.\n * @csspart focus-indicator - The forwarded focus indicator's internal indicator element.\n * @csspart state-layer - The forwarded state layer's internal surface element.\n * \n * @cssprop --forge-list-item-background-color - The background color.\n * @cssprop --forge-list-item-shape - The shape of the list item.\n * @cssprop --forge-list-item-padding - The padding inside of the container element.\n * @cssprop --forge-list-item-margin - The margin around the host element.\n * @cssprop --forge-list-item-height - The height of the container.\n * @cssprop --forge-list-item-dense-height - The height when in the dense state.\n * @cssprop --forge-list-item-indent - The margin inline state when in the indented state.\n * @cssprop --forge-list-item-supporting-text-color - The text color of the supporting text.\n * @cssprop --forge-list-item-supporting-line-height - The line height of the supporting text.\n * @cssprop --forge-list-item-selected-color - The color when in the selected state.\n * @cssprop --forge-list-item-opacity - The opacity of the background color when in the disabled state.\n * @cssprop --forge-list-item-selected-leading-color - The color of the leading content when in the selected state.\n * @cssprop --forge-list-item-selected-trailing-color - The color of the trailing content when in the selected state.\n * @cssprop --forge-list-item-selected-supporting-text-color - The color of the supporting text when in the selected state.\n * @cssprop --forge-list-item-disabled-opacity - The opacity of the element when in the disabled state.\n * @cssprop --forge-list-item-disabled-cursor - The cursor when in the disabled state.\n * @cssprop --forge-list-item-one-line-height - The line height when in the one/single line state.\n * @cssprop --forge-list-item-two-line-height - The line height when in the two line state.\n * @cssprop --forge-list-item-three-line-height - The line height when in the three line state.\n * @cssprop --forge-list-item-dense-one-line-height - The line height when in the dense one/single line state.\n * @cssprop --forge-list-item-dense-two-line-height - The line height when in the dense two line state.\n * @cssprop --forge-list-item-dense-three-line-height - The line height when in the dense three line state.\n * @cssprop --forge-list-item-dense-font-size - The font size when in the dense state.\n * @cssprop --forge-list-item-dense-indent - The margin inline state when in the dense indented state.\n * @cssprop --forge-list-item-dense-leading-margin-end - The margin end of the leading content when in the dense state.\n * @cssprop --forge-list-item-dense-trailing-margin-start - The margin start of the trailing content when in the dense state.\n * @cssprop --forge-list-item-leading-margin-start - The margin start of the leading content.\n * @cssprop --forge-list-item-leading-margin-end - The margin end of the leading content.\n * @cssprop --forge-list-item-leading-selected-color - The color of the leading content when in the selected state.\n * @cssprop --forge-list-item-trailing-margin-start - The margin start of the trailing content.\n * @cssprop --forge-list-item-trailing-margin-end - The margin end of the trailing content.\n * @cssprop --forge-list-item-trailing-selected-color - The color of the trailing content when in the selected state.\n * @cssprop --forge-list-item-avatar-background-color - The background color of the avatar container.\n * @cssprop --forge-list-item-avatar-color - The foreground color of the avatar container.\n * @cssprop --forge-list-item-avatar-shape - The shape of the avatar container.\n * @cssprop --forge-list-item-avatar-margin-start - The margin start of the avatar container.\n * @cssprop --forge-list-item-avatar-margin-end - The margin end of the avatar container.\n * @cssprop --forge-list-item-avatar-size - The height & width of the avatar container.\n */\n@CustomElement({\n name: LIST_ITEM_CONSTANTS.elementName,\n dependencies: [\n StateLayerComponent,\n FocusIndicatorComponent\n ]\n})\nexport class ListItemComponent extends HTMLElement implements IListItemComponent {\n public static get observedAttributes(): string[] {\n return [\n LIST_ITEM_CONSTANTS.observedAttributes.HREF,\n LIST_ITEM_CONSTANTS.observedAttributes.TARGET,\n LIST_ITEM_CONSTANTS.observedAttributes.DOWNLOAD,\n LIST_ITEM_CONSTANTS.observedAttributes.REL,\n LIST_ITEM_CONSTANTS.observedAttributes.STATIC,\n LIST_ITEM_CONSTANTS.observedAttributes.NON_INTERACTIVE,\n LIST_ITEM_CONSTANTS.observedAttributes.DISABLED,\n LIST_ITEM_CONSTANTS.observedAttributes.SELECTED,\n LIST_ITEM_CONSTANTS.observedAttributes.ACTIVE,\n LIST_ITEM_CONSTANTS.observedAttributes.VALUE,\n LIST_ITEM_CONSTANTS.observedAttributes.DENSE,\n LIST_ITEM_CONSTANTS.observedAttributes.PROPAGATE_CLICK,\n LIST_ITEM_CONSTANTS.observedAttributes.INDENTED,\n LIST_ITEM_CONSTANTS.observedAttributes.TWO_LINE,\n LIST_ITEM_CONSTANTS.observedAttributes.THREE_LINE,\n LIST_ITEM_CONSTANTS.observedAttributes.WRAP\n ];\n }\n\n private _foundation: ListItemFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new ListItemFoundation(new ListItemAdapter(this));\n }\n\n public connectedCallback(): void {\n this._foundation.initialize();\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case LIST_ITEM_CONSTANTS.observedAttributes.HREF:\n this.href = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.TARGET:\n this.target = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.DOWNLOAD:\n this.download = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.REL:\n this.rel = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.NON_INTERACTIVE:\n case LIST_ITEM_CONSTANTS.observedAttributes.STATIC:\n this.nonInteractive = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.SELECTED:\n this.selected = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.ACTIVE:\n this.active = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.VALUE:\n this.value = newValue;\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.DENSE:\n this.dense = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.PROPAGATE_CLICK:\n this.propagateClick = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.INDENTED:\n this.indented = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.TWO_LINE:\n this.twoLine = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.THREE_LINE:\n this.threeLine = coerceBoolean(newValue);\n break;\n case LIST_ITEM_CONSTANTS.observedAttributes.WRAP:\n this.wrap = coerceBoolean(newValue);\n break;\n }\n }\n\n public override focus(): void {\n this._foundation.setFocus();\n }\n\n @FoundationProperty()\n public declare href: string;\n\n @FoundationProperty()\n public declare target: string;\n\n @FoundationProperty()\n public declare download: string;\n\n @FoundationProperty()\n public declare rel: string;\n\n /** @deprecated Use nonInteractive instead. */\n @FoundationProperty()\n public declare static: boolean;\n\n @FoundationProperty()\n public declare nonInteractive: boolean;\n\n @FoundationProperty()\n public declare disabled: boolean;\n\n @FoundationProperty()\n public declare selected: boolean;\n\n @FoundationProperty()\n public declare active: boolean;\n\n @FoundationProperty()\n public declare value: unknown;\n\n @FoundationProperty()\n public declare dense: boolean;\n\n @FoundationProperty()\n public declare propagateClick: boolean;\n\n @FoundationProperty()\n public declare indented: boolean;\n\n @FoundationProperty()\n public declare twoLine: boolean;\n\n @FoundationProperty()\n public declare threeLine: boolean;\n\n @FoundationProperty()\n public declare wrap: boolean;\n\n public override click(): void {\n this._foundation.click();\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\nimport { ListItemComponent } from './list-item';\n\nexport * from './list-item-adapter';\nexport * from './list-item-constants';\nexport * from './list-item-foundation';\nexport * from './list-item';\n\nexport function defineListItemComponent(): void {\n defineCustomElement(ListItemComponent);\n}\n"],
5
+ "mappings": "icAEA,IAAMA,EAAc,GAAGC,QAEjBC,EAAqB,CACzB,KAAM,OACN,OAAQ,SACR,gBAAiB,kBACjB,SAAU,WACV,MAAO,QACP,gBAAiB,kBACjB,eAAgB,iBAChB,SAAU,WACV,SAAU,WACV,WAAY,aACZ,KAAM,MACR,EAEMC,EAAaC,EAAA,GACdF,GAGQG,EAAiB,CAC5B,YAAAL,EACA,WAAAG,CACF,EAEaG,EAAwB,CACnC,KAAM,WACN,QAAS,SACT,KAAM,UACR,EC5BA,IAAMC,EAAc,GAAGC,aAEjBC,EAAqB,CACzB,KAAM,OACN,OAAQ,SACR,SAAU,WACV,IAAK,MACL,OAAQ,SACR,gBAAiB,kBACjB,SAAU,WACV,SAAU,WACV,OAAQ,SACR,MAAO,QACP,MAAO,QACP,gBAAiB,kBACjB,SAAU,WACV,SAAU,WACV,WAAY,aACZ,KAAM,MACR,EAEMC,EAAaC,EAAA,GACdF,GAGCG,EAAU,CACd,KAAM,iBACR,EAEMC,EAAY,CAChB,KAAM,IAAID,EAAQ,OAClB,wBAAyB,kGACzB,gBAAiB,mDACjB,OAAQ,oCACV,EAEME,EAAS,CACb,OAAQ,GAAGP,UACb,EAEaQ,EAAsB,CACjC,YAAAR,EACA,mBAAAE,EACA,WAAAC,EACA,QAAAE,EACA,UAAAC,EACA,OAAAC,CACF,ECrBO,IAAME,EAAN,cAA8BC,CAA4D,CAK/F,YAAYC,EAA+B,CACzC,MA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AGAS,EAAA,CADdC,EAAmB,GAhGTV,EAiGI,sBAGAS,EAAA,CADdC,EAAmB,GAnGTV,EAoGI,wBAGAS,EAAA,CADdC,EAAmB,GAtGTV,EAuGI,mBAIAS,EAAA,CADdC,EAAmB,GA1GTV,EA2GI,sBAGAS,EAAA,CADdC,EAAmB,GA7GTV,EA8GI,8BAGAS,EAAA,CADdC,EAAmB,GAhHTV,EAiHI,wBAGAS,EAAA,CADdC,EAAmB,GAnHTV,EAoHI,wBAGAS,EAAA,CADdC,EAAmB,GAtHTV,EAuHI,sBAGAS,EAAA,CADdC,EAAmB,GAzHTV,EA0HI,qBAGAS,EAAA,CADdC,EAAmB,GA5HTV,EA6HI,qBAGAS,EAAA,CADdC,EAAmB,GA/HTV,EAgII,8BAGAS,EAAA,CADdC,EAAmB,GAlITV,EAmII,wBAGAS,EAAA,CADdC,EAAmB,GArITV,EAsII,uBAGAS,EAAA,CADdC,EAAmB,GAxITV,EAyII,yBAGAS,EAAA,CADdC,EAAmB,GA3ITV,EA4II,oBA5IJA,EAANS,EAAA,CAPNE,EAAc,CACb,KAAMP,EAAoB,YAC1B,aAAc,CACZQ,EACAC,CACF,CACF,CAAC,GACYb,GCzIN,SAASc,IAAgC,CAC9CC,EAAoBC,CAAiB,CACvC",
6
6
  "names": ["elementName", "COMPONENT_NAME_PREFIX", "observedAttributes", "attributes", "__spreadValues", "LIST_CONSTANTS", "ListComponentItemRole", "elementName", "COMPONENT_NAME_PREFIX", "observedAttributes", "attributes", "__spreadValues", "classes", "selectors", "events", "LIST_ITEM_CONSTANTS", "ListItemAdapter", "BaseAdapter", "component", "getShadowElement", "LIST_ITEM_CONSTANTS", "FOCUS_INDICATOR_CONSTANTS", "STATE_LAYER_CONSTANTS", "list", "href", "anchor", "replaceElement", "defaultEl", "target", "download", "rel", "value", "toggleAttribute", "isSelected", "v", "isDeepEqual", "checkable", "force", "currentState", "switchEl", "a", "div", "LIST_CONSTANTS", "_a", "listRole", "role", "ListComponentItemRole", "ListItemFoundation", "_adapter", "evt", "event", "targetElement", "ignoreElement", "LIST_ITEM_CONSTANTS", "data", "value", "isSelected", "template", "styles", "ListItemComponent", "attachShadowTemplate", "ListItemFoundation", "ListItemAdapter", "LIST_ITEM_CONSTANTS", "name", "oldValue", "newValue", "coerceBoolean", "__decorateClass", "FoundationProperty", "CustomElement", "StateLayerComponent", "FocusIndicatorComponent", "defineListItemComponent", "defineCustomElement", "ListItemComponent"]
7
7
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{g as r,h as n,i,j as a,k as s}from"./chunk.RRNSZCVJ.js";import{v as o}from"./chunk.HZUQXCOQ.js";function f(u){class l extends u{get form(){return this[a].form}get labels(){return this[a].labels}get name(){var e;return(e=this.getAttribute("name"))!=null?e:""}set name(e){o(this,!!e,"name",e)}[n](){return this[r]()}formDisabledCallback(e){this.disabled=e}set[s](e){let t=e==="select"?document.createElement("select"):document.createElement("input");t.setAttribute("type",e),t.name="internal",this._inputElement=t}[i](e){if(this._inputElement)return this[a].validity.customError?this[a].validationMessage:(Object.entries(e).forEach(([t,b])=>this._inputElement[t]=b),this._inputElement.validationMessage)}}return l.formAssociated=!0,l}export{f as a};
7
+ /**
8
+ * @license
9
+ * Copyright 2023 Google LLC
10
+ * SPDX-License-Identifier: Apache-2.0
11
+ *
12
+ * Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
13
+ * The original source code can be found at: [GitHub](https://github.com/material-components/material-web/blob/main/labs/behaviors/form-associated.ts)
14
+ */
15
+ //# sourceMappingURL=chunk.7SYU6KRU.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/core/mixins/form/with-form-associated.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n * \n * Adapted and influenced from [Material Web](https://github.com/material-components/material-web).\n * The original source code can be found at: [GitHub](https://github.com/material-components/material-web/blob/main/labs/behaviors/form-associated.ts)\n */\n\nimport { toggleAttribute } from '@tylertech/forge-core';\nimport { MixinBase, getFormState, getFormValue, getValidationMessage, inputType, internals, AbstractConstructor } from '../../../constants';\nimport { FormRestoreReason, FormRestoreState, FormValue, InputType, InputValidationProps } from '../../utils/form-utils';\nimport { IBaseComponent } from '../../base/base-component';\n\n/**\n * A component that can be associated with a form.\n */\nexport interface IWithFormAssociation<TValue = FormValue | null> extends IBaseComponent {\n /**\n * The form element that the component is associated with.\n */\n readonly form: HTMLFormElement | null;\n\n /**\n * The labels associated with the component.\n */\n readonly labels: NodeList;\n\n /**\n * The HTML name to use in form submission.\n */\n name: string;\n\n /*\n * Whether or not the component is disabled.\n */\n disabled: boolean;\n\n /**\n * Whether or not the component is readonly.\n */\n readonly: boolean;\n\n /**\n * The internals of the component.\n */\n readonly [internals]: ElementInternals;\n\n /**\n * Sets the value type accepted by the component. This is used to set the type of the internal\n * input element and generate validation messages.\n */\n [inputType]: InputType;\n\n /**\n * Gets the validation message for the component.\n * \n * @param props Validation-affecting properties set on the component as well as the value of the\n * component.\n */\n [getValidationMessage](props: Partial<InputValidationProps>): string | undefined;\n\n /**\n * Gets the current form value of the component.\n */\n [getFormValue](): FormValue | null;\n\n /**\n * Gets the current form state of the component, defaulting to the component's `[formValue]`.\n * \n * Used when the component's state is different from its value, such as a checkboxes that have\n * both a boolean `checked` state and a string value.\n */\n [getFormState](): FormValue | null;\n\n /**\n * A callback for when the component should be enabled or disabled. This can be called when, for\n * example, the component is within a disabled fieldset.\n * \n * @param disabled Whether or not the component should be disabled.\n */\n formDisabledCallback(disabled: boolean): void;\n\n /**\n * A callback for when the form's value is to be reset.\n */\n formResetCallback(): void;\n\n /**\n * A callback for when a form restores the state of the component. For example, when a page is\n * reloaded or a form is autofilled.\n * \n * @param state The state to restore or null to reset the component's value.\n * @param reason The reason the state was restored.\n */\n formStateRestoreCallback(state: FormRestoreState | null, reason: FormRestoreReason): void;\n\n /**\n * An optional callback for when the associated form changes.\n * \n * @param form The new associated form or null if there is none.\n */\n formAssociatedCallback?(form: HTMLFormElement | null): void;\n}\n\nexport declare abstract class WithFormAssociationContract {\n public static readonly formAssociated: boolean;\n\n public get form(): HTMLFormElement | null;\n\n public get labels(): NodeList;\n\n public get name(): string;\n public set name(value: string);\n\n public abstract get disabled(): boolean;\n public abstract set disabled(value: boolean);\n\n public abstract get readonly(): boolean;\n public abstract set readonly(value: boolean);\n\n public abstract get [internals](): ElementInternals;\n\n public abstract [getFormValue](): FormValue | null;\n\n public [getFormState](): FormValue | null;\n\n public formDisabledCallback(disabled: boolean): void;\n\n public abstract formStateRestoreCallback(state: FormRestoreState | null, reason: FormRestoreReason): void;\n\n public abstract formResetCallback(): void;\n\n public set [inputType](type: InputType);\n\n public [getValidationMessage](props: Partial<InputValidationProps>): string | undefined;\n}\n\n/**\n * Mixes in form functionality into a base component.\n * \n * @param base The base component to mix into.\n * @returns The mixed-in base component.\n */\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function WithFormAssociation<TBase extends MixinBase>(base: TBase) {\n abstract class FormAssociatedComponent extends base implements IWithFormAssociation {\n public static readonly formAssociated = true;\n\n private _inputElement?: HTMLInputElement | HTMLSelectElement;\n\n public get form(): HTMLFormElement | null {\n return this[internals].form;\n }\n\n public get labels(): NodeList {\n return this[internals].labels;\n }\n\n public get name(): string {\n return this.getAttribute('name') ?? '';\n }\n public set name(value: string) {\n toggleAttribute(this, !!value, 'name', value);\n }\n\n public abstract get disabled(): boolean;\n public abstract set disabled(value: boolean);\n\n public abstract get readonly(): boolean;\n public abstract set readonly(value: boolean);\n\n public abstract get [internals](): ElementInternals;\n\n public abstract [getFormValue](): FormValue | null;\n\n public [getFormState](): FormValue | null {\n return this[getFormValue]();\n }\n\n public formDisabledCallback(disabled: boolean): void {\n this.disabled = disabled;\n }\n\n public abstract formStateRestoreCallback(\n state: FormRestoreState | null,\n reason: FormRestoreReason\n ): void;\n\n public abstract formResetCallback(): void;\n\n public set [inputType](type: InputType) {\n // Create a detached input to retrieve localized validation messages from\n const inputElement = type === 'select'\n ? document.createElement('select')\n : document.createElement('input');\n inputElement.setAttribute('type', type);\n inputElement.name = 'internal';\n this._inputElement = inputElement;\n }\n\n public [getValidationMessage](props: Partial<InputValidationProps>): string | undefined {\n // If the input element hasn't been created yet return `undefined`\n if (!this._inputElement) {\n return undefined;\n }\n\n // A custom error message overrides all other messages\n if (this[internals].validity.customError) {\n return this[internals].validationMessage;\n }\n\n // Apply validation-affecting props to the input element to get the correct validation\n // message\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Object.entries(props).forEach(([key, value]) => this._inputElement![key] = value);\n\n return this._inputElement.validationMessage;\n }\n }\n\n return FormAssociatedComponent as AbstractConstructor<WithFormAssociationContract> & TBase;\n}\n"],
5
+ "mappings": "uGAiJO,SAASA,EAA6CC,EAAa,CACxE,MAAeC,UAAgCD,CAAqC,CAKlF,IAAW,MAA+B,CACxC,OAAO,KAAKE,CAAS,EAAE,IACzB,CAEA,IAAW,QAAmB,CAC5B,OAAO,KAAKA,CAAS,EAAE,MACzB,CAEA,IAAW,MAAe,CA/J9B,IAAAC,EAgKM,OAAOA,EAAA,KAAK,aAAa,MAAM,IAAxB,KAAAA,EAA6B,EACtC,CACA,IAAW,KAAKC,EAAe,CAC7BC,EAAgB,KAAM,CAAC,CAACD,EAAO,OAAQA,CAAK,CAC9C,CAYA,CAAQE,CAAY,GAAsB,CACxC,OAAO,KAAKC,CAAY,EAAE,CAC5B,CAEO,qBAAqBC,EAAyB,CACnD,KAAK,SAAWA,CAClB,CASA,IAAYC,CAAS,EAAEC,EAAiB,CAEtC,IAAMC,EAAeD,IAAS,SAC1B,SAAS,cAAc,QAAQ,EAC/B,SAAS,cAAc,OAAO,EAClCC,EAAa,aAAa,OAAQD,CAAI,EACtCC,EAAa,KAAO,WACpB,KAAK,cAAgBA,CACvB,CAEA,CAAQC,CAAoB,EAAEC,EAA0D,CAEtF,GAAK,KAAK,cAKV,OAAI,KAAKX,CAAS,EAAE,SAAS,YACpB,KAAKA,CAAS,EAAE,mBAMzB,OAAO,QAAQW,CAAK,EAAE,QAAQ,CAAC,CAACC,EAAKV,CAAK,IAAM,KAAK,cAAeU,CAAG,EAAIV,CAAK,EAEzE,KAAK,cAAc,kBAC5B,CACF,CAxEE,OADaH,EACU,eAAiB,GA0EnCA,CACT",
6
+ "names": ["WithFormAssociation", "base", "FormAssociatedComponent", "internals", "_a", "value", "toggleAttribute", "getFormState", "getFormValue", "disabled", "inputType", "type", "inputElement", "getValidationMessage", "props", "key"]
7
+ }
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as h,v as i,x as L}from"./chunk.OUACQISE.js";import{a as E}from"./chunk.LS7WRRT2.js";import{a as u}from"./chunk.NVUMRW44.js";import{a as I}from"./chunk.IT66AOX7.js";import{a as C,e as y,f as O,k as z}from"./chunk.JAWV5Y5T.js";import{k as b,l as S,p as w}from"./chunk.J2M2MXP2.js";import{d as c}from"./chunk.M3QDAYD2.js";var p=class r{static observe(t,e,l){var o,a;r._targets.has(t)&&((o=r._observer)===null||o===void 0||o.unobserve(t)),r._targets.set(t,e),r._countTargets(),(a=r._observer)===null||a===void 0||a.observe(t,l)}static unobserve(t){var e;r._targets.delete(t),(e=r._observer)===null||e===void 0||e.unobserve(t),r._countTargets()}static _countTargets(){r._observer?r._targets.size<1&&(r._observer=void 0):r._targets.size&&(r._observer=new ResizeObserver(r._handleResize))}};p._targets=new Map;p._handleResize=r=>{r.forEach(t=>{var e;(e=p._targets.get(t.target))===null||e===void 0||e(t)})};var v=class extends E{constructor(e){super(e);this._root=O(e,i.selectors.ROOT)}registerSlotListener(e){this._root.addEventListener("slotchange",e)}registerDidOpenListener(e){this._root.addEventListener(h.events.DID_OPEN,e)}registerDidCloseListener(e){this._root.addEventListener(h.events.DID_CLOSE,e)}observeResize(e){p.observe(this._root,e)}unobserveResize(){p.unobserve(this._root)}getSlottedPanels(){let e=this._component.querySelectorAll(i.selectors.PANEL);return Array.from(e).filter(a=>a.parentElement===this._component)}refitSlottedPanels(e){let l=e==="horizontal"?this._root.clientWidth:this._root.clientHeight,o=this.getSlottedPanels(),a=o.map(d=>{var f;let n=(f=d.shadowRoot)==null?void 0:f.querySelector(h.selectors.ROOT),m=e==="horizontal"?n==null?void 0:n.clientWidth:n==null?void 0:n.clientHeight;return m!=null?m:0}).reduce((d,n)=>d+n,0);if(a<=l)return;let _=a-l;o.slice().reverse().forEach(d=>{if(_<=0)return;let n=d.getContentSize(),m=d.getCollapsibleSize(),f=Math.min(_,m),k=n-f;d.setContentSize(k),_-=f})}};var g=class{constructor(t){this._adapter=t;this._orientation="horizontal";this._disabled=!1;this._allowClose=!1;this._autoClose=!1;this._autoCloseThreshold=0;this._isInitialized=!1;this._slotListener=e=>this._onSlotChange(e),this._didOpenListener=()=>this._onDidOpen(),this._didCloseListener=()=>this._onDidClose(),this._resizeObserverCallback=w(e=>this._onResize(e),i.numbers.RESIZE_THROTTLE_THRESHOLD)}initialize(){this._adapter.registerSlotListener(this._slotListener),this._adapter.registerDidOpenListener(this._didOpenListener),this._adapter.registerDidCloseListener(this._didCloseListener),this._adapter.observeResize(this._resizeObserverCallback),this._applyOrientation(),this._isInitialized=!0}disconnect(){this._adapter.unobserveResize()}_onSlotChange(t){this._layoutSlottedPanels(),this.update({accessibility:!0,cursor:!0,orientation:this._orientation})}_onDidOpen(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onDidClose(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onResize(t){this.update({accessibility:!0,cursor:!0,size:!0})}_layoutSlottedPanels(){let t=this._adapter.getSlottedPanels();t.length<2||t.some(e=>e.resizable!=="off")||t.slice(1).forEach(e=>e.resizable="start")}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._applyOrientation())}_applyOrientation(){this._adapter.setHostAttribute(i.attributes.ORIENTATION,this._orientation),this.update({orientation:this._orientation}),this._isInitialized&&this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0})}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._applyDisabled())}_applyDisabled(){this._adapter.toggleHostAttribute(i.attributes.DISABLED,this._disabled),this.update({properties:{disabled:this._disabled}})}get allowClose(){return this._allowClose}set allowClose(t){this._allowClose!==t&&(this._allowClose=t,this._applyAllowClose())}_applyAllowClose(){this._adapter.toggleHostAttribute(i.attributes.ALLOW_CLOSE,this._allowClose),this.update({properties:{allowClose:this._allowClose}})}get autoClose(){return this._autoClose}set autoClose(t){this._autoClose!==t&&(this._autoClose=t,this._applyAutoClose())}_applyAutoClose(){this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE,this._autoClose),this.update({properties:{autoClose:this._autoClose}})}get autoCloseThreshold(){return this._autoCloseThreshold}set autoCloseThreshold(t){this._autoCloseThreshold!==t&&(this._autoCloseThreshold=t,this._applyAutoCloseThreshold())}_applyAutoCloseThreshold(){this._adapter.setHostAttribute(i.attributes.AUTO_CLOSE_THRESHOLD,this._autoCloseThreshold.toString()),this.update({properties:{autoCloseThreshold:this._autoCloseThreshold}})}layerSlottedPanels(t){let e=this._adapter.getSlottedPanels(),l=t.resizable==="start"?1:-1,o=t.resizable==="start"?1:3;e.forEach(a=>{(a===t||o===2)&&(o+=l),a.style.setProperty(i.customCssProperties.ANIMATING_LAYER,o.toString())})}unlayerSlottedPanels(){this._adapter.getSlottedPanels().forEach(e=>{e.style.removeProperty(i.customCssProperties.ANIMATING_LAYER)})}update(t){this._adapter.getSlottedPanels().forEach(l=>{l.update(t)})}refitSlottedPanels(){this._adapter.refitSlottedPanels(this._orientation)}};var T='<template><div class="forge-split-view" id="root" part="root"><slot></slot></div></template>',P='@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view{display:-webkit-box;display:flex;width:100%;height:100%}:host{--forge-split-view-handle-width:8px;display:block;height:100%;width:100%;overflow:hidden;contain:paint size}:host([hidden]){display:none}:host([orientation=horizontal]) .forge-split-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}:host([orientation=vertical]) .forge-split-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}',s=class extends z{constructor(){super();y(this,T,P),this._foundation=new g(new v(this))}static get observedAttributes(){return[i.attributes.ORIENTATION,i.attributes.DISABLED,i.attributes.ALLOW_CLOSE,i.attributes.AUTO_CLOSE,i.attributes.AUTO_CLOSE_THRESHOLD]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,l,o){switch(e){case i.attributes.ORIENTATION:this.orientation=o;break;case i.attributes.DISABLED:this.disabled=b(o);break;case i.attributes.ALLOW_CLOSE:this.allowClose=b(o);break;case i.attributes.AUTO_CLOSE:this.autoClose=b(o);break;case i.attributes.AUTO_CLOSE_THRESHOLD:this.autoCloseThreshold=S(o);break}}layerSlottedPanels(e){this._foundation.layerSlottedPanels(e)}unlayerSlottedPanels(){this._foundation.unlayerSlottedPanels()}update(e){this._foundation.update(e)}refit(){this._foundation.refitSlottedPanels()}};c([u()],s.prototype,"orientation",2),c([u()],s.prototype,"disabled",2),c([u()],s.prototype,"allowClose",2),c([u()],s.prototype,"autoClose",2),c([u()],s.prototype,"autoCloseThreshold",2),s=c([I({name:i.elementName,dependencies:[L]})],s);function ce(){C(s)}export{v as a,g as b,s as c,ce as d};
7
- //# sourceMappingURL=chunk.HHHBS6FB.js.map
6
+ import{a as h,v as i,x as L}from"./chunk.BZG47SA5.js";import{a as E}from"./chunk.ZY3ETQ3D.js";import{a as u}from"./chunk.NVUMRW44.js";import{a as I}from"./chunk.RRNSZCVJ.js";import{a as C,e as y,f as O,k as z}from"./chunk.TPXXHX5J.js";import{k as b,l as S,p as w}from"./chunk.J2M2MXP2.js";import{d as c}from"./chunk.M3QDAYD2.js";var p=class r{static observe(t,e,l){var o,a;r._targets.has(t)&&((o=r._observer)===null||o===void 0||o.unobserve(t)),r._targets.set(t,e),r._countTargets(),(a=r._observer)===null||a===void 0||a.observe(t,l)}static unobserve(t){var e;r._targets.delete(t),(e=r._observer)===null||e===void 0||e.unobserve(t),r._countTargets()}static _countTargets(){r._observer?r._targets.size<1&&(r._observer=void 0):r._targets.size&&(r._observer=new ResizeObserver(r._handleResize))}};p._targets=new Map;p._handleResize=r=>{r.forEach(t=>{var e;(e=p._targets.get(t.target))===null||e===void 0||e(t)})};var v=class extends E{constructor(e){super(e);this._root=O(e,i.selectors.ROOT)}registerSlotListener(e){this._root.addEventListener("slotchange",e)}registerDidOpenListener(e){this._root.addEventListener(h.events.DID_OPEN,e)}registerDidCloseListener(e){this._root.addEventListener(h.events.DID_CLOSE,e)}observeResize(e){p.observe(this._root,e)}unobserveResize(){p.unobserve(this._root)}getSlottedPanels(){let e=this._component.querySelectorAll(i.selectors.PANEL);return Array.from(e).filter(a=>a.parentElement===this._component)}refitSlottedPanels(e){let l=e==="horizontal"?this._root.clientWidth:this._root.clientHeight,o=this.getSlottedPanels(),a=o.map(d=>{var f;let n=(f=d.shadowRoot)==null?void 0:f.querySelector(h.selectors.ROOT),m=e==="horizontal"?n==null?void 0:n.clientWidth:n==null?void 0:n.clientHeight;return m!=null?m:0}).reduce((d,n)=>d+n,0);if(a<=l)return;let _=a-l;o.slice().reverse().forEach(d=>{if(_<=0)return;let n=d.getContentSize(),m=d.getCollapsibleSize(),f=Math.min(_,m),k=n-f;d.setContentSize(k),_-=f})}};var g=class{constructor(t){this._adapter=t;this._orientation="horizontal";this._disabled=!1;this._allowClose=!1;this._autoClose=!1;this._autoCloseThreshold=0;this._isInitialized=!1;this._slotListener=e=>this._onSlotChange(e),this._didOpenListener=()=>this._onDidOpen(),this._didCloseListener=()=>this._onDidClose(),this._resizeObserverCallback=w(e=>this._onResize(e),i.numbers.RESIZE_THROTTLE_THRESHOLD)}initialize(){this._adapter.registerSlotListener(this._slotListener),this._adapter.registerDidOpenListener(this._didOpenListener),this._adapter.registerDidCloseListener(this._didCloseListener),this._adapter.observeResize(this._resizeObserverCallback),this._applyOrientation(),this._isInitialized=!0}disconnect(){this._adapter.unobserveResize()}_onSlotChange(t){this._layoutSlottedPanels(),this.update({accessibility:!0,cursor:!0,orientation:this._orientation})}_onDidOpen(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onDidClose(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onResize(t){this.update({accessibility:!0,cursor:!0,size:!0})}_layoutSlottedPanels(){let t=this._adapter.getSlottedPanels();t.length<2||t.some(e=>e.resizable!=="off")||t.slice(1).forEach(e=>e.resizable="start")}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._applyOrientation())}_applyOrientation(){this._adapter.setHostAttribute(i.attributes.ORIENTATION,this._orientation),this.update({orientation:this._orientation}),this._isInitialized&&this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0})}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._applyDisabled())}_applyDisabled(){this._adapter.toggleHostAttribute(i.attributes.DISABLED,this._disabled),this.update({properties:{disabled:this._disabled}})}get allowClose(){return this._allowClose}set allowClose(t){this._allowClose!==t&&(this._allowClose=t,this._applyAllowClose())}_applyAllowClose(){this._adapter.toggleHostAttribute(i.attributes.ALLOW_CLOSE,this._allowClose),this.update({properties:{allowClose:this._allowClose}})}get autoClose(){return this._autoClose}set autoClose(t){this._autoClose!==t&&(this._autoClose=t,this._applyAutoClose())}_applyAutoClose(){this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE,this._autoClose),this.update({properties:{autoClose:this._autoClose}})}get autoCloseThreshold(){return this._autoCloseThreshold}set autoCloseThreshold(t){this._autoCloseThreshold!==t&&(this._autoCloseThreshold=t,this._applyAutoCloseThreshold())}_applyAutoCloseThreshold(){this._adapter.setHostAttribute(i.attributes.AUTO_CLOSE_THRESHOLD,this._autoCloseThreshold.toString()),this.update({properties:{autoCloseThreshold:this._autoCloseThreshold}})}layerSlottedPanels(t){let e=this._adapter.getSlottedPanels(),l=t.resizable==="start"?1:-1,o=t.resizable==="start"?1:3;e.forEach(a=>{(a===t||o===2)&&(o+=l),a.style.setProperty(i.customCssProperties.ANIMATING_LAYER,o.toString())})}unlayerSlottedPanels(){this._adapter.getSlottedPanels().forEach(e=>{e.style.removeProperty(i.customCssProperties.ANIMATING_LAYER)})}update(t){this._adapter.getSlottedPanels().forEach(l=>{l.update(t)})}refitSlottedPanels(){this._adapter.refitSlottedPanels(this._orientation)}};var T='<template><div class="forge-split-view" id="root" part="root"><slot></slot></div></template>',P='@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view{display:-webkit-box;display:flex;width:100%;height:100%}:host{--forge-split-view-handle-width:8px;display:block;height:100%;width:100%;overflow:hidden;contain:paint size}:host([hidden]){display:none}:host([orientation=horizontal]) .forge-split-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}:host([orientation=vertical]) .forge-split-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}',s=class extends z{constructor(){super();y(this,T,P),this._foundation=new g(new v(this))}static get observedAttributes(){return[i.attributes.ORIENTATION,i.attributes.DISABLED,i.attributes.ALLOW_CLOSE,i.attributes.AUTO_CLOSE,i.attributes.AUTO_CLOSE_THRESHOLD]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,l,o){switch(e){case i.attributes.ORIENTATION:this.orientation=o;break;case i.attributes.DISABLED:this.disabled=b(o);break;case i.attributes.ALLOW_CLOSE:this.allowClose=b(o);break;case i.attributes.AUTO_CLOSE:this.autoClose=b(o);break;case i.attributes.AUTO_CLOSE_THRESHOLD:this.autoCloseThreshold=S(o);break}}layerSlottedPanels(e){this._foundation.layerSlottedPanels(e)}unlayerSlottedPanels(){this._foundation.unlayerSlottedPanels()}update(e){this._foundation.update(e)}refit(){this._foundation.refitSlottedPanels()}};c([u()],s.prototype,"orientation",2),c([u()],s.prototype,"disabled",2),c([u()],s.prototype,"allowClose",2),c([u()],s.prototype,"autoClose",2),c([u()],s.prototype,"autoCloseThreshold",2),s=c([I({name:i.elementName,dependencies:[L]})],s);function ce(){C(s)}export{v as a,g as b,s as c,ce as d};
7
+ //# sourceMappingURL=chunk.B53Q676I.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{b as i,c as s,d as l}from"./chunk.57PXXJA6.js";import{a,b as n}from"./chunk.IT66AOX7.js";import{a as o,e as t}from"./chunk.JAWV5Y5T.js";import{d as e}from"./chunk.M3QDAYD2.js";var c=`${n}drawer`,d={elementName:c};var f='<template><div class="forge-drawer" part="root"><slot name="header"></slot><div class="forge-drawer__content" part="content"><slot></slot></div><slot name="footer"></slot></div></template>',b='.forge-drawer{width:256px;width:var(--forge-drawer-width,256px);border-color:#e0e0e0;border-color:var(--forge-theme-border-color,#e0e0e0);background-color:#fff;background-color:var(--mdc-theme-surface,#fff);height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;overflow:hidden;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:250ms;transition-duration:250ms;-webkit-transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-timing-function:cubic-bezier(0.4,0,0.2,1)}.forge-drawer ::slotted([slot=header]){grid-row:1}.forge-drawer ::slotted([slot=footer]){grid-row:3}.forge-drawer__content{overflow-x:auto;-webkit-overflow-scrolling:"touch";display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;grid-row:2}.forge-drawer__content::-webkit-scrollbar{height:var(--forge-scrollbar-height,16px);width:var(--forge-scrollbar-width,16px)}.forge-drawer__content::-webkit-scrollbar-track{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-drawer__content::-webkit-scrollbar-track:hover{background-color:var(--forge-scrollbar-track-container-hover,var(--forge-theme-surface-container-low,#ebebeb))}.forge-drawer__content::-webkit-scrollbar-corner{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-drawer__content::-webkit-scrollbar-thumb{height:var(--forge-scrollbar-thumb-min-height,32px);width:var(--forge-scrollbar-thumb-min-width,32px);border-radius:var(--forge-scrollbar-border-radius,var(--forge-shape-full,9999px));border-width:var(--forge-scrollbar-border-width,3px);border-style:solid;border-color:transparent;background-color:var(--forge-scrollbar-thumb-container,var(--forge-theme-surface-container-medium,#c2c2c2));background-clip:content-box}.forge-drawer__content::-webkit-scrollbar-thumb:hover{background-color:var(--forge-scrollbar-thumb-container-hover,var(--forge-theme-surface-container-high,#9e9e9e))}.forge-drawer--left{border-right-width:1px;border-right-style:solid}.forge-drawer--right{border-left-width:1px;border-left-style:solid}.forge-drawer--right.forge-drawer--closing{-webkit-transform:translateX(100%);transform:translateX(100%);right:0;left:auto;z-index:1;z-index:var(--forge-z-index-surface,1);position:absolute;top:0;right:0;-webkit-transition-duration:.2s;transition-duration:.2s}.forge-drawer--right.forge-drawer--closed{-webkit-transform:translateX(100%);transform:translateX(100%);right:0;left:auto;width:0;border:none}.forge-drawer--closing{-webkit-transform:translateX(-100%);transform:translateX(-100%);left:0;z-index:1;z-index:var(--forge-z-index-surface,1);position:absolute;top:0;right:0;-webkit-transition-duration:.2s;transition-duration:.2s}.forge-drawer--closed{-webkit-transform:translateX(-100%);transform:translateX(-100%);left:0;width:0;border:none}.forge-drawer--no-transition{-webkit-transition:none!important;transition:none!important}:host{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden!important}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none) and (stroke-color:transparent){:host([open]){-webkit-transform:translateZ(0);transform:translateZ(0)}}}',r=class extends l{constructor(){super();t(this,f,b),this._foundation=new s(new i(this))}};r=e([a({name:d.elementName})],r);function z(){o(r)}export{d as a,r as b,z as c};
7
- //# sourceMappingURL=chunk.B46Q3AFP.js.map
6
+ import{b as i,c as s,d as l}from"./chunk.RKG66YKS.js";import{a,b as n}from"./chunk.RRNSZCVJ.js";import{a as o,e as t}from"./chunk.TPXXHX5J.js";import{d as e}from"./chunk.M3QDAYD2.js";var c=`${n}drawer`,d={elementName:c};var f='<template><div class="forge-drawer" part="root"><slot name="header"></slot><div class="forge-drawer__content" part="content"><slot></slot></div><slot name="footer"></slot></div></template>',b='.forge-drawer{width:256px;width:var(--forge-drawer-width,256px);border-color:#e0e0e0;border-color:var(--forge-theme-border-color,#e0e0e0);background-color:#fff;background-color:var(--mdc-theme-surface,#fff);height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;overflow:hidden;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:250ms;transition-duration:250ms;-webkit-transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-timing-function:cubic-bezier(0.4,0,0.2,1)}.forge-drawer ::slotted([slot=header]){grid-row:1}.forge-drawer ::slotted([slot=footer]){grid-row:3}.forge-drawer__content{overflow-x:auto;-webkit-overflow-scrolling:"touch";display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;grid-row:2}.forge-drawer__content::-webkit-scrollbar{height:var(--forge-scrollbar-height,16px);width:var(--forge-scrollbar-width,16px)}.forge-drawer__content::-webkit-scrollbar-track{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-drawer__content::-webkit-scrollbar-track:hover{background-color:var(--forge-scrollbar-track-container-hover,var(--forge-theme-surface-container-low,#ebebeb))}.forge-drawer__content::-webkit-scrollbar-corner{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-drawer__content::-webkit-scrollbar-thumb{height:var(--forge-scrollbar-thumb-min-height,32px);width:var(--forge-scrollbar-thumb-min-width,32px);border-radius:var(--forge-scrollbar-border-radius,var(--forge-shape-full,9999px));border-width:var(--forge-scrollbar-border-width,3px);border-style:solid;border-color:transparent;background-color:var(--forge-scrollbar-thumb-container,var(--forge-theme-surface-container-medium,#c2c2c2));background-clip:content-box}.forge-drawer__content::-webkit-scrollbar-thumb:hover{background-color:var(--forge-scrollbar-thumb-container-hover,var(--forge-theme-surface-container-high,#9e9e9e))}.forge-drawer--left{border-right-width:1px;border-right-style:solid}.forge-drawer--right{border-left-width:1px;border-left-style:solid}.forge-drawer--right.forge-drawer--closing{-webkit-transform:translateX(100%);transform:translateX(100%);right:0;left:auto;z-index:1;z-index:var(--forge-z-index-surface,1);position:absolute;top:0;right:0;-webkit-transition-duration:.2s;transition-duration:.2s}.forge-drawer--right.forge-drawer--closed{-webkit-transform:translateX(100%);transform:translateX(100%);right:0;left:auto;width:0;border:none}.forge-drawer--closing{-webkit-transform:translateX(-100%);transform:translateX(-100%);left:0;z-index:1;z-index:var(--forge-z-index-surface,1);position:absolute;top:0;right:0;-webkit-transition-duration:.2s;transition-duration:.2s}.forge-drawer--closed{-webkit-transform:translateX(-100%);transform:translateX(-100%);left:0;width:0;border:none}.forge-drawer--no-transition{-webkit-transition:none!important;transition:none!important}:host{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden!important}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none) and (stroke-color:transparent){:host([open]){-webkit-transform:translateZ(0);transform:translateZ(0)}}}',r=class extends l{constructor(){super();t(this,f,b),this._foundation=new s(new i(this))}};r=e([a({name:d.elementName})],r);function z(){o(r)}export{d as a,r as b,z as c};
7
+ //# sourceMappingURL=chunk.BKQSLDMK.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- function n(e,o){let r=()=>o.dispatchEvent(new Event("scroll"));return e.addEventListener("scroll",r,!0),()=>e.removeEventListener("scroll",r,!0)}function t(e){return e.key==="ArrowLeft"||e.key==="ArrowRight"||e.key==="ArrowUp"||e.key==="ArrowDown"}export{n as a,t as b};
7
- //# sourceMappingURL=chunk.7XFU2W25.js.map
6
+ function n(e,o){let r=()=>o.dispatchEvent(new Event("scroll"));return e.addEventListener("scroll",r,!0),()=>e.removeEventListener("scroll",r,!0)}function t(e){return e.key==="ArrowLeft"||e.key==="ArrowRight"||e.key==="ArrowUp"||e.key==="ArrowDown"}function i(){return new Promise(e=>setTimeout(e))}export{n as a,t as b,i as c};
7
+ //# sourceMappingURL=chunk.BX4AQRHB.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/core/utils/event-utils.ts"],
4
- "sourcesContent": ["/**\n * Proxies a `scroll` event from an element and dispatches it from another element.\n * Typically used when proxying the event from an element within a shadow root from its host element in the light dom.\n * @param originalEl The element that the `scroll` event originated from.\n * @param targetEl The element to manually dispatch (proxy) the `scroll` event from.\n */\nexport function proxyShadowScrollEvent(shadowEl: Node, proxyEl: Node): () => void {\n const scrollListenerFn = (): boolean => proxyEl.dispatchEvent(new Event('scroll'));\n shadowEl.addEventListener('scroll', scrollListenerFn, true);\n return () => shadowEl.removeEventListener('scroll', scrollListenerFn, true);\n}\n\nexport function eventIncludesArrowKey(evt: KeyboardEvent): boolean {\n return evt.key === 'ArrowLeft' || evt.key === 'ArrowRight' || evt.key === 'ArrowUp' || evt.key === 'ArrowDown';\n}\n"],
5
- "mappings": "AAMO,SAASA,EAAuBC,EAAgBC,EAA2B,CAChF,IAAMC,EAAmB,IAAeD,EAAQ,cAAc,IAAI,MAAM,QAAQ,CAAC,EACjF,OAAAD,EAAS,iBAAiB,SAAUE,EAAkB,EAAI,EACnD,IAAMF,EAAS,oBAAoB,SAAUE,EAAkB,EAAI,CAC5E,CAEO,SAASC,EAAsBC,EAA6B,CACjE,OAAOA,EAAI,MAAQ,aAAeA,EAAI,MAAQ,cAAgBA,EAAI,MAAQ,WAAaA,EAAI,MAAQ,WACrG",
6
- "names": ["proxyShadowScrollEvent", "shadowEl", "proxyEl", "scrollListenerFn", "eventIncludesArrowKey", "evt"]
4
+ "sourcesContent": ["/**\n * Proxies a `scroll` event from an element and dispatches it from another element.\n * Typically used when proxying the event from an element within a shadow root from its host element in the light dom.\n * @param originalEl The element that the `scroll` event originated from.\n * @param targetEl The element to manually dispatch (proxy) the `scroll` event from.\n */\nexport function proxyShadowScrollEvent(shadowEl: Node, proxyEl: Node): () => void {\n const scrollListenerFn = (): boolean => proxyEl.dispatchEvent(new Event('scroll'));\n shadowEl.addEventListener('scroll', scrollListenerFn, true);\n return () => shadowEl.removeEventListener('scroll', scrollListenerFn, true);\n}\n\nexport function eventIncludesArrowKey(evt: KeyboardEvent): boolean {\n return evt.key === 'ArrowLeft' || evt.key === 'ArrowRight' || evt.key === 'ArrowUp' || evt.key === 'ArrowDown';\n}\n\nexport function task(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve));\n}\n"],
5
+ "mappings": "AAMO,SAASA,EAAuBC,EAAgBC,EAA2B,CAChF,IAAMC,EAAmB,IAAeD,EAAQ,cAAc,IAAI,MAAM,QAAQ,CAAC,EACjF,OAAAD,EAAS,iBAAiB,SAAUE,EAAkB,EAAI,EACnD,IAAMF,EAAS,oBAAoB,SAAUE,EAAkB,EAAI,CAC5E,CAEO,SAASC,EAAsBC,EAA6B,CACjE,OAAOA,EAAI,MAAQ,aAAeA,EAAI,MAAQ,cAAgBA,EAAI,MAAQ,WAAaA,EAAI,MAAQ,WACrG,CAEO,SAASC,GAAsB,CACpC,OAAO,IAAI,QAAQC,GAAW,WAAWA,CAAO,CAAC,CACnD",
6
+ "names": ["proxyShadowScrollEvent", "shadowEl", "proxyEl", "scrollListenerFn", "eventIncludesArrowKey", "evt", "task", "resolve"]
7
7
  }