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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (578) hide show
  1. package/custom-elements.json +8607 -3358
  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.3KEXRSB5.js +7 -0
  32. package/dist/esm/chunks/{chunk.IW7HALLT.js.map → chunk.3KEXRSB5.js.map} +1 -1
  33. package/dist/esm/chunks/chunk.3TKTJ3BY.js +7 -0
  34. package/dist/esm/chunks/chunk.3TKTJ3BY.js.map +7 -0
  35. package/dist/esm/chunks/{chunk.DOEG3DWJ.js → chunk.42YDA5FH.js} +2 -2
  36. package/dist/esm/chunks/chunk.447QNYAZ.js +7 -0
  37. package/dist/esm/chunks/{chunk.PQQVUUHU.js.map → chunk.447QNYAZ.js.map} +1 -1
  38. package/dist/esm/chunks/chunk.4IMRT2B3.js +7 -0
  39. package/dist/esm/chunks/{chunk.F2EBSV5Z.js.map → chunk.4IMRT2B3.js.map} +1 -1
  40. package/dist/esm/chunks/chunk.4JDJ33IU.js +7 -0
  41. package/dist/esm/chunks/{chunk.LXX3YZYS.js.map → chunk.4JDJ33IU.js.map} +1 -1
  42. package/dist/esm/chunks/chunk.4QCGBFLU.js +7 -0
  43. package/dist/esm/chunks/{chunk.J2KHTGSB.js.map → chunk.4QCGBFLU.js.map} +1 -1
  44. package/dist/esm/chunks/chunk.4XN2WGMP.js +7 -0
  45. package/dist/esm/chunks/{chunk.RDW7Z4W5.js.map → chunk.4XN2WGMP.js.map} +1 -1
  46. package/dist/esm/chunks/{chunk.CTZ3AWDW.js → chunk.5EGEZ4IY.js} +2 -2
  47. package/dist/esm/chunks/chunk.5FCUOZSU.js +7 -0
  48. package/dist/esm/chunks/{chunk.7ABZUBTT.js.map → chunk.5FCUOZSU.js.map} +1 -1
  49. package/dist/esm/chunks/chunk.5KYKGNGY.js +7 -0
  50. package/dist/esm/chunks/{chunk.4B5IOZAT.js.map → chunk.5KYKGNGY.js.map} +1 -1
  51. package/dist/esm/chunks/chunk.5QZPUOGG.js +7 -0
  52. package/dist/esm/chunks/{chunk.6Q3SV2R2.js.map → chunk.5QZPUOGG.js.map} +1 -1
  53. package/dist/esm/chunks/chunk.5ZMM75CJ.js +7 -0
  54. package/dist/esm/chunks/{chunk.MZZJY5NX.js.map → chunk.5ZMM75CJ.js.map} +1 -1
  55. package/dist/esm/chunks/chunk.6FUXTHO6.js +7 -0
  56. package/dist/esm/chunks/{chunk.KLPF4CNX.js.map → chunk.6FUXTHO6.js.map} +1 -1
  57. package/dist/esm/chunks/chunk.6ORVPXNN.js +7 -0
  58. package/dist/esm/chunks/{chunk.4QDN5PM6.js.map → chunk.6ORVPXNN.js.map} +1 -1
  59. package/dist/esm/chunks/chunk.6ZJIHOIG.js +7 -0
  60. package/dist/esm/chunks/chunk.6ZJIHOIG.js.map +7 -0
  61. package/dist/esm/chunks/chunk.7LOMI6J3.js +7 -0
  62. package/dist/esm/chunks/chunk.7PVVZC7P.js +7 -0
  63. package/dist/esm/chunks/chunk.7PVVZC7P.js.map +7 -0
  64. package/dist/esm/chunks/chunk.AEO2X5OZ.js +7 -0
  65. package/dist/esm/chunks/{chunk.7DHDFH5L.js.map → chunk.AEO2X5OZ.js.map} +1 -1
  66. package/dist/esm/chunks/chunk.AIPDMLJD.js +7 -0
  67. package/dist/esm/chunks/{chunk.Z7PBGV4K.js.map → chunk.AIPDMLJD.js.map} +1 -1
  68. package/dist/esm/chunks/chunk.APFDK6YA.js +7 -0
  69. package/dist/esm/chunks/{chunk.2YDKRTKP.js.map → chunk.APFDK6YA.js.map} +1 -1
  70. package/dist/esm/chunks/{chunk.57PXXJA6.js → chunk.AR6YUJUH.js} +2 -2
  71. package/dist/esm/chunks/chunk.AVRBHXDT.js +177 -0
  72. package/dist/esm/chunks/{chunk.TZFUKJ24.js.map → chunk.AVRBHXDT.js.map} +1 -1
  73. package/dist/esm/chunks/chunk.BAQYPAUM.js +7 -0
  74. package/dist/esm/chunks/{chunk.HHHBS6FB.js → chunk.BC7WB5RG.js} +2 -2
  75. package/dist/esm/chunks/chunk.BIVQ4GTK.js +7 -0
  76. package/dist/esm/chunks/{chunk.XDANTL6C.js.map → chunk.BIVQ4GTK.js.map} +2 -2
  77. package/dist/esm/chunks/chunk.BJD6BKGC.js +31 -0
  78. package/dist/esm/chunks/chunk.BJD6BKGC.js.map +7 -0
  79. package/dist/esm/chunks/chunk.BS73Y6IN.js +7 -0
  80. package/dist/esm/chunks/{chunk.QFY23EWU.js.map → chunk.BS73Y6IN.js.map} +1 -1
  81. package/dist/esm/chunks/chunk.BTWJPE4Y.js +7 -0
  82. package/dist/esm/chunks/{chunk.C5IB44HX.js.map → chunk.BTWJPE4Y.js.map} +1 -1
  83. package/dist/esm/chunks/chunk.BWGDZUJV.js +12 -0
  84. package/dist/esm/chunks/chunk.BWGDZUJV.js.map +7 -0
  85. package/dist/esm/chunks/{chunk.7XFU2W25.js → chunk.BX4AQRHB.js} +2 -2
  86. package/dist/esm/chunks/{chunk.7XFU2W25.js.map → chunk.BX4AQRHB.js.map} +3 -3
  87. package/dist/esm/chunks/chunk.CBY7M4X6.js +7 -0
  88. package/dist/esm/chunks/{chunk.LMIKNDBS.js.map → chunk.CBY7M4X6.js.map} +1 -1
  89. package/dist/esm/chunks/chunk.DLBAZD5X.js +7 -0
  90. package/dist/esm/chunks/{chunk.5VHUMZYS.js.map → chunk.DLBAZD5X.js.map} +1 -1
  91. package/dist/esm/chunks/chunk.DTWXICOY.js +7 -0
  92. package/dist/esm/chunks/{chunk.2GJ54C3Q.js.map → chunk.DTWXICOY.js.map} +1 -1
  93. package/dist/esm/chunks/{chunk.VD5ZL5ZN.js → chunk.EMCY55MX.js} +2 -2
  94. package/dist/esm/chunks/chunk.ESQWFHCF.js +7 -0
  95. package/dist/esm/chunks/{chunk.Q5Z6F3PI.js.map → chunk.ESQWFHCF.js.map} +1 -1
  96. package/dist/esm/chunks/{chunk.FYWPZFLJ.js → chunk.EWT2PBEP.js} +2 -2
  97. package/dist/esm/chunks/{chunk.FYWPZFLJ.js.map → chunk.EWT2PBEP.js.map} +2 -2
  98. package/dist/esm/chunks/chunk.FJ5VNWYK.js +7 -0
  99. package/dist/esm/chunks/{chunk.XNCBGWE4.js.map → chunk.FJ5VNWYK.js.map} +1 -1
  100. package/dist/esm/chunks/chunk.FJRCWWE2.js +7 -0
  101. package/dist/esm/chunks/chunk.FJRCWWE2.js.map +7 -0
  102. package/dist/esm/chunks/chunk.FQUZWINF.js +7 -0
  103. package/dist/esm/chunks/{chunk.F6KM5FO6.js.map → chunk.FQUZWINF.js.map} +1 -1
  104. package/dist/esm/chunks/chunk.FSILMO6U.js +7 -0
  105. package/dist/esm/chunks/{chunk.7PP6QHOM.js.map → chunk.FSILMO6U.js.map} +1 -1
  106. package/dist/esm/chunks/chunk.FXGY5IVK.js +7 -0
  107. package/dist/esm/chunks/chunk.FXGY5IVK.js.map +7 -0
  108. package/dist/esm/chunks/chunk.G67LO74A.js +7 -0
  109. package/dist/esm/chunks/chunk.G67LO74A.js.map +7 -0
  110. package/dist/esm/chunks/chunk.GGQL3OZB.js +7 -0
  111. package/dist/esm/chunks/{chunk.BFUGFHEH.js.map → chunk.GGQL3OZB.js.map} +1 -1
  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.I7OY43HW.js +7 -0
  115. package/dist/esm/chunks/{chunk.KFDYMENL.js.map → chunk.I7OY43HW.js.map} +1 -1
  116. package/dist/esm/chunks/{chunk.E3GVKR4E.js → chunk.I7X25KEB.js} +2 -2
  117. package/dist/esm/chunks/chunk.ICIGXLJW.js +7 -0
  118. package/dist/esm/chunks/{chunk.W324TWF2.js.map → chunk.ICIGXLJW.js.map} +1 -1
  119. package/dist/esm/chunks/chunk.IHIKIZIT.js +7 -0
  120. package/dist/esm/chunks/chunk.ILUXZNGY.js +7 -0
  121. package/dist/esm/chunks/{chunk.SNF35Y6C.js.map → chunk.ILUXZNGY.js.map} +1 -1
  122. package/dist/esm/chunks/chunk.JEZR25US.js +7 -0
  123. package/dist/esm/chunks/{chunk.THWSN3X4.js.map → chunk.JEZR25US.js.map} +1 -1
  124. package/dist/esm/chunks/{chunk.2GYZM6ZG.js → chunk.JHELTQKA.js} +2 -2
  125. package/dist/esm/chunks/{chunk.UWZWXNTW.js → chunk.JPI4XCQL.js} +2 -2
  126. package/dist/esm/chunks/chunk.JRSFCVYQ.js +7 -0
  127. package/dist/esm/chunks/{chunk.WQGPIOL6.js.map → chunk.JRSFCVYQ.js.map} +1 -1
  128. package/dist/esm/chunks/chunk.JZ27GPZJ.js +7 -0
  129. package/dist/esm/chunks/{chunk.J3B5CWKT.js.map → chunk.JZ27GPZJ.js.map} +1 -1
  130. package/dist/esm/chunks/chunk.K3TJMIKD.js +7 -0
  131. package/dist/esm/chunks/{chunk.LCNR2RPT.js.map → chunk.K3TJMIKD.js.map} +1 -1
  132. package/dist/esm/chunks/{chunk.26E4L52W.js → chunk.KDJZN6EW.js} +2 -2
  133. package/dist/esm/chunks/chunk.KGHABAFA.js +7 -0
  134. package/dist/esm/chunks/{chunk.GS72TBUD.js.map → chunk.KGHABAFA.js.map} +1 -1
  135. package/dist/esm/chunks/chunk.KR4BNI6X.js +7 -0
  136. package/dist/esm/chunks/{chunk.VDZ7HBKM.js.map → chunk.KR4BNI6X.js.map} +1 -1
  137. package/dist/esm/chunks/chunk.KUNIEX72.js +7 -0
  138. package/dist/esm/chunks/{chunk.H7GW57Q6.js.map → chunk.KUNIEX72.js.map} +1 -1
  139. package/dist/esm/chunks/{chunk.5C24LZNU.js → chunk.KWBYYSH3.js} +2 -2
  140. package/dist/esm/chunks/chunk.L27ANAIL.js +7 -0
  141. package/dist/esm/chunks/{chunk.3ZRQFXQU.js.map → chunk.L27ANAIL.js.map} +1 -1
  142. package/dist/esm/chunks/{chunk.DDXIHZFX.js → chunk.L45HXBDS.js} +2 -2
  143. package/dist/esm/chunks/chunk.L4UXWCVD.js +7 -0
  144. package/dist/esm/chunks/{chunk.5H4G6BWX.js.map → chunk.L4UXWCVD.js.map} +1 -1
  145. package/dist/esm/chunks/chunk.LK6QHLW2.js +7 -0
  146. package/dist/esm/chunks/{chunk.P7LC3YYW.js.map → chunk.LK6QHLW2.js.map} +1 -1
  147. package/dist/esm/chunks/chunk.LYZXJYTW.js +7 -0
  148. package/dist/esm/chunks/{chunk.OED5UCYT.js.map → chunk.LYZXJYTW.js.map} +1 -1
  149. package/dist/esm/chunks/chunk.LZ2YQYJA.js +7 -0
  150. package/dist/esm/chunks/chunk.LZ2YQYJA.js.map +7 -0
  151. package/dist/esm/chunks/chunk.M7RYU4HQ.js +7 -0
  152. package/dist/esm/chunks/chunk.M7RYU4HQ.js.map +7 -0
  153. package/dist/esm/chunks/{chunk.NZKIFXBU.js → chunk.MHH26REX.js} +2 -2
  154. package/dist/esm/chunks/chunk.MROUV35N.js +7 -0
  155. package/dist/esm/chunks/{chunk.U5WMRBSC.js.map → chunk.MROUV35N.js.map} +1 -1
  156. package/dist/esm/chunks/chunk.MTSWCXTY.js +7 -0
  157. package/dist/esm/chunks/chunk.NBLL7VAA.js +7 -0
  158. package/dist/esm/chunks/chunk.NM7FJISF.js +7 -0
  159. package/dist/esm/chunks/chunk.NM7FJISF.js.map +7 -0
  160. package/dist/esm/chunks/chunk.NVR6KN2B.js +7 -0
  161. package/dist/esm/chunks/{chunk.B46Q3AFP.js.map → chunk.NVR6KN2B.js.map} +1 -1
  162. package/dist/esm/chunks/chunk.O6F4U4VY.js +7 -0
  163. package/dist/esm/chunks/{chunk.IEB5KRFQ.js.map → chunk.O6F4U4VY.js.map} +1 -1
  164. package/dist/esm/chunks/chunk.O6MGA3XK.js +7 -0
  165. package/dist/esm/chunks/chunk.ONII3BV3.js +7 -0
  166. package/dist/esm/chunks/{chunk.TLFCQSJN.js.map → chunk.ONII3BV3.js.map} +1 -1
  167. package/dist/esm/chunks/chunk.OTUEB7SD.js +7 -0
  168. package/dist/esm/chunks/{chunk.G2BNY5QQ.js.map → chunk.OTUEB7SD.js.map} +1 -1
  169. package/dist/esm/chunks/{chunk.PADPL4L3.js → chunk.OUIWXKO2.js} +2 -2
  170. package/dist/esm/chunks/chunk.PMSCH6VK.js +7 -0
  171. package/dist/esm/chunks/{chunk.3UO6S3IK.js.map → chunk.PMSCH6VK.js.map} +1 -1
  172. package/dist/esm/chunks/chunk.PRJHBUU2.js +7 -0
  173. package/dist/esm/chunks/chunk.PRJHBUU2.js.map +7 -0
  174. package/dist/esm/chunks/chunk.Q2Q626DG.js +7 -0
  175. package/dist/esm/chunks/{chunk.NG6UZ4OL.js.map → chunk.Q2Q626DG.js.map} +1 -1
  176. package/dist/esm/chunks/chunk.Q4YL47ZL.js +7 -0
  177. package/dist/esm/chunks/{chunk.IVUK3W34.js.map → chunk.Q4YL47ZL.js.map} +1 -1
  178. package/dist/esm/chunks/chunk.Q54DACHS.js +7 -0
  179. package/dist/esm/chunks/{chunk.PSTGTQVK.js.map → chunk.Q54DACHS.js.map} +1 -1
  180. package/dist/esm/chunks/chunk.Q74SG6BV.js +7 -0
  181. package/dist/esm/chunks/{chunk.DTKFE7YB.js.map → chunk.Q74SG6BV.js.map} +1 -1
  182. package/dist/esm/chunks/chunk.QG5EYBS3.js +7 -0
  183. package/dist/esm/chunks/chunk.QG5EYBS3.js.map +7 -0
  184. package/dist/esm/chunks/chunk.QGMWM7IT.js +7 -0
  185. package/dist/esm/chunks/{chunk.CNRFOWHY.js.map → chunk.QGMWM7IT.js.map} +1 -1
  186. package/dist/esm/chunks/chunk.RCPUTZON.js +7 -0
  187. package/dist/esm/chunks/{chunk.FQSL747N.js.map → chunk.RCPUTZON.js.map} +1 -1
  188. package/dist/esm/chunks/chunk.SBKKBQDX.js +7 -0
  189. package/dist/esm/chunks/{chunk.6Y45DLA6.js.map → chunk.SBKKBQDX.js.map} +1 -1
  190. package/dist/esm/chunks/chunk.SVVF632P.js +7 -0
  191. package/dist/esm/chunks/chunk.SVVF632P.js.map +7 -0
  192. package/dist/esm/chunks/chunk.T4J66YX5.js +7 -0
  193. package/dist/esm/chunks/chunk.T4J66YX5.js.map +7 -0
  194. package/dist/esm/chunks/chunk.THNCYT3E.js +7 -0
  195. package/dist/esm/chunks/{chunk.OUACQISE.js.map → chunk.THNCYT3E.js.map} +2 -2
  196. package/dist/esm/chunks/chunk.TPXXHX5J.js +7 -0
  197. package/dist/esm/chunks/{chunk.JAWV5Y5T.js.map → chunk.TPXXHX5J.js.map} +2 -2
  198. package/dist/esm/chunks/chunk.TSUAFZGY.js +7 -0
  199. package/dist/esm/chunks/{chunk.L4Y4RO5O.js.map → chunk.TSUAFZGY.js.map} +1 -1
  200. package/dist/esm/chunks/chunk.U42I3PGF.js +7 -0
  201. package/dist/esm/chunks/chunk.U42I3PGF.js.map +7 -0
  202. package/dist/esm/chunks/{chunk.GHR7T6U2.js → chunk.U7S4DJTU.js} +2 -2
  203. package/dist/esm/chunks/chunk.UOEJCU6R.js +7 -0
  204. package/dist/esm/chunks/{chunk.PK7R6WDF.js.map → chunk.UOEJCU6R.js.map} +1 -1
  205. package/dist/esm/chunks/{chunk.543K5Y4E.js → chunk.URKQICJD.js} +2 -2
  206. package/dist/esm/chunks/chunk.VG452D3L.js +7 -0
  207. package/dist/esm/chunks/{chunk.A72W7RW7.js.map → chunk.VG452D3L.js.map} +1 -1
  208. package/dist/esm/chunks/chunk.VQPSP4HV.js +7 -0
  209. package/dist/esm/chunks/{chunk.LSNAGIIH.js.map → chunk.VQPSP4HV.js.map} +1 -1
  210. package/dist/esm/chunks/chunk.W7BP2DDU.js +7 -0
  211. package/dist/esm/chunks/{chunk.URCJO73M.js.map → chunk.W7BP2DDU.js.map} +1 -1
  212. package/dist/esm/chunks/chunk.WARVAVAW.js +7 -0
  213. package/dist/esm/chunks/{chunk.BMQYEYCT.js.map → chunk.WARVAVAW.js.map} +1 -1
  214. package/dist/esm/chunks/chunk.WEHQUUXJ.js +7 -0
  215. package/dist/esm/chunks/{chunk.GT3VPSXY.js.map → chunk.WEHQUUXJ.js.map} +1 -1
  216. package/dist/esm/chunks/chunk.WJCZJ6XD.js +7 -0
  217. package/dist/esm/chunks/{chunk.GWJ4QCSW.js.map → chunk.WJCZJ6XD.js.map} +1 -1
  218. package/dist/esm/chunks/{chunk.DD35U4AA.js → chunk.WMP2OLMG.js} +2 -2
  219. package/dist/esm/chunks/chunk.X3QZY7V4.js +7 -0
  220. package/dist/esm/chunks/{chunk.7W2UWAZX.js.map → chunk.X3QZY7V4.js.map} +1 -1
  221. package/dist/esm/chunks/chunk.XQLQ73NG.js +7 -0
  222. package/dist/esm/chunks/{chunk.Z2RB75TN.js.map → chunk.XQLQ73NG.js.map} +1 -1
  223. package/dist/esm/chunks/chunk.Y4ZS3A6F.js +7 -0
  224. package/dist/esm/chunks/{chunk.KTYYBWTN.js.map → chunk.Y4ZS3A6F.js.map} +1 -1
  225. package/dist/esm/chunks/chunk.YA5OQD37.js +7 -0
  226. package/dist/esm/chunks/{chunk.JVK64JDZ.js.map → chunk.YA5OQD37.js.map} +1 -1
  227. package/dist/esm/chunks/chunk.YMSX4F3J.js +7 -0
  228. package/dist/esm/chunks/{chunk.RYNQDXFA.js.map → chunk.YMSX4F3J.js.map} +1 -1
  229. package/dist/esm/chunks/{chunk.KVCDAZ6B.js → chunk.YTBNAGLS.js} +2 -2
  230. package/dist/esm/chunks/chunk.Z37CZMMR.js +7 -0
  231. package/dist/esm/chunks/{chunk.RZZBM3AW.js.map → chunk.Z37CZMMR.js.map} +1 -1
  232. package/dist/esm/chunks/chunk.ZIRA4PYV.js +7 -0
  233. package/dist/esm/chunks/chunk.ZIRA4PYV.js.map +7 -0
  234. package/dist/esm/chunks/chunk.ZT7U7WOX.js +7 -0
  235. package/dist/esm/chunks/{chunk.YKZ25J6B.js.map → chunk.ZT7U7WOX.js.map} +1 -1
  236. package/dist/esm/chunks/{chunk.FB6ZLH6P.js → chunk.ZX3CGET2.js} +2 -2
  237. package/dist/esm/circular-progress/index.js +1 -1
  238. package/dist/esm/color-picker/index.js +1 -1
  239. package/dist/esm/core/base/index.js +1 -1
  240. package/dist/esm/core/delegates/index.js +1 -1
  241. package/dist/esm/core/index.js +1 -1
  242. package/dist/esm/core/utils/index.js +1 -1
  243. package/dist/esm/date-picker/index.js +1 -1
  244. package/dist/esm/date-range-picker/index.js +1 -1
  245. package/dist/esm/dialog/index.js +1 -1
  246. package/dist/esm/divider/index.js +1 -1
  247. package/dist/esm/drawer/base/index.js +1 -1
  248. package/dist/esm/drawer/drawer/index.js +1 -1
  249. package/dist/esm/drawer/index.js +1 -1
  250. package/dist/esm/drawer/mini-drawer/index.js +1 -1
  251. package/dist/esm/drawer/modal-drawer/index.js +1 -1
  252. package/dist/esm/expansion-panel/index.js +1 -1
  253. package/dist/esm/file-picker/index.js +1 -1
  254. package/dist/esm/floating-action-button/index.js +1 -1
  255. package/dist/esm/floating-label/index.js +1 -1
  256. package/dist/esm/focus-indicator/index.js +1 -1
  257. package/dist/esm/icon/index.js +1 -1
  258. package/dist/esm/icon-button/index.js +1 -1
  259. package/dist/esm/index.js +1 -1
  260. package/dist/esm/inline-message/index.js +1 -1
  261. package/dist/esm/keyboard-shortcut/index.js +1 -1
  262. package/dist/esm/label/index.js +1 -1
  263. package/dist/esm/label-value/index.js +1 -1
  264. package/dist/esm/linear-progress/index.js +1 -1
  265. package/dist/esm/list/index.js +1 -1
  266. package/dist/esm/list/list/index.js +1 -1
  267. package/dist/esm/list/list-item/index.js +1 -1
  268. package/dist/esm/list-dropdown/index.js +1 -1
  269. package/dist/esm/menu/index.js +1 -1
  270. package/dist/esm/open-icon/index.js +1 -1
  271. package/dist/esm/page-state/index.js +1 -1
  272. package/dist/esm/paginator/index.js +1 -1
  273. package/dist/esm/popup/index.js +1 -1
  274. package/dist/esm/product-icon/index.js +1 -1
  275. package/dist/esm/profile-card/index.js +1 -1
  276. package/dist/esm/quantity-field/index.js +1 -1
  277. package/dist/esm/radio/index.js +1 -1
  278. package/dist/esm/radio/radio/index.js +7 -0
  279. package/dist/esm/radio/radio/index.js.map +7 -0
  280. package/dist/esm/radio/radio-group/index.js +7 -0
  281. package/dist/esm/ripple/index.js +1 -1
  282. package/dist/esm/scaffold/index.js +1 -1
  283. package/dist/esm/select/core/index.js +1 -1
  284. package/dist/esm/select/index.js +1 -1
  285. package/dist/esm/select/option/index.js +1 -1
  286. package/dist/esm/select/option-group/index.js +1 -1
  287. package/dist/esm/select/select/index.js +1 -1
  288. package/dist/esm/select/select-dropdown/index.js +1 -1
  289. package/dist/esm/skeleton/index.js +1 -1
  290. package/dist/esm/slider/index.js +1 -1
  291. package/dist/esm/split-button/index.js +1 -1
  292. package/dist/esm/split-view/index.js +1 -1
  293. package/dist/esm/split-view/split-view/index.js +1 -1
  294. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  295. package/dist/esm/stack/index.js +1 -1
  296. package/dist/esm/state-layer/index.js +1 -1
  297. package/dist/esm/stepper/index.js +1 -1
  298. package/dist/esm/stepper/step/index.js +1 -1
  299. package/dist/esm/stepper/stepper/index.js +1 -1
  300. package/dist/esm/switch/index.js +1 -1
  301. package/dist/esm/table/index.js +1 -1
  302. package/dist/esm/tabs/index.js +1 -1
  303. package/dist/esm/tabs/tab/index.js +1 -1
  304. package/dist/esm/tabs/tab-bar/index.js +1 -1
  305. package/dist/esm/text-field/index.js +1 -1
  306. package/dist/esm/time-picker/index.js +1 -1
  307. package/dist/esm/toast/index.js +1 -1
  308. package/dist/esm/toolbar/index.js +1 -1
  309. package/dist/esm/tooltip/index.js +1 -1
  310. package/dist/esm/view-switcher/index.js +1 -1
  311. package/dist/esm/view-switcher/view/index.js +1 -1
  312. package/esm/app-bar/app-bar/app-bar.js +1 -1
  313. package/esm/app-bar/search/app-bar-search-adapter.d.ts +8 -43
  314. package/esm/app-bar/search/app-bar-search-adapter.js +23 -53
  315. package/esm/app-bar/search/app-bar-search-constants.d.ts +0 -15
  316. package/esm/app-bar/search/app-bar-search-constants.js +3 -20
  317. package/esm/app-bar/search/app-bar-search-foundation.d.ts +3 -37
  318. package/esm/app-bar/search/app-bar-search-foundation.js +27 -88
  319. package/esm/app-bar/search/app-bar-search.d.ts +1 -21
  320. package/esm/app-bar/search/app-bar-search.js +13 -39
  321. package/esm/button/base/base-button-adapter.d.ts +0 -2
  322. package/esm/button/base/base-button-adapter.js +13 -4
  323. package/esm/button/base/base-button-foundation.js +8 -10
  324. package/esm/button/base/base-button.d.ts +7 -5
  325. package/esm/button/base/base-button.js +5 -2
  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 +9 -1
  332. package/esm/constants.d.ts +14 -2
  333. package/esm/constants.js +11 -0
  334. package/esm/core/base/base-adapter.d.ts +4 -0
  335. package/esm/core/base/base-adapter.js +6 -0
  336. package/esm/core/base/base-component.d.ts +4 -0
  337. package/esm/core/base/base-element-internals-component.d.ts +41 -0
  338. package/esm/core/base/base-element-internals-component.js +47 -0
  339. package/esm/core/base/base-focusable-component.d.ts +11 -14
  340. package/esm/core/base/base-focusable-component.js +14 -15
  341. package/esm/core/base/base-form-associated-component.d.ts +122 -0
  342. package/esm/core/base/base-form-associated-component.js +71 -0
  343. package/esm/core/base/base-form-component.d.ts +0 -10
  344. package/esm/core/base/base-form-component.js +0 -6
  345. package/esm/core/base/base-label-aware-component.d.ts +33 -0
  346. package/esm/core/base/base-label-aware-component.js +17 -0
  347. package/esm/core/base/base-nullable-form-component.d.ts +0 -10
  348. package/esm/core/base/base-nullable-form-component.js +0 -6
  349. package/esm/core/base/index.d.ts +4 -0
  350. package/esm/core/base/index.js +4 -0
  351. package/esm/core/utils/a11y-utils.d.ts +156 -0
  352. package/esm/core/utils/a11y-utils.js +223 -0
  353. package/esm/core/utils/event-utils.d.ts +1 -0
  354. package/esm/core/utils/event-utils.js +3 -0
  355. package/esm/core/utils/feature-detection.d.ts +8 -0
  356. package/esm/core/utils/feature-detection.js +12 -0
  357. package/esm/core/utils/form-utils.d.ts +24 -0
  358. package/{dist/esm/chunks/chunk.U6FJJGO3.js → esm/core/utils/form-utils.js} +1 -1
  359. package/esm/core/utils/index.d.ts +1 -0
  360. package/esm/core/utils/index.js +1 -0
  361. package/esm/core/utils/mixin-utils.d.ts +20 -0
  362. package/esm/core/utils/mixin-utils.js +15 -0
  363. package/esm/core/utils/reflect-utils.d.ts +1 -1
  364. package/esm/core/utils/reflect-utils.js +2 -2
  365. package/esm/date-picker/base/base-date-picker.d.ts +1 -1
  366. package/esm/date-picker/base/base-date-picker.js +4 -3
  367. package/esm/index.d.ts +4 -4
  368. package/esm/index.js +29 -28
  369. package/esm/label/label-adapter.d.ts +2 -0
  370. package/esm/label/label-adapter.js +5 -2
  371. package/esm/label/label-aware.js +2 -1
  372. package/esm/label/label-constants.d.ts +6 -2
  373. package/esm/label/label-constants.js +12 -5
  374. package/esm/label/label-foundation.d.ts +16 -0
  375. package/esm/label/label-foundation.js +69 -6
  376. package/esm/label/label.d.ts +8 -0
  377. package/esm/label/label.js +21 -3
  378. package/esm/menu/menu-adapter.d.ts +3 -3
  379. package/esm/menu/menu-constants.d.ts +1 -1
  380. package/esm/menu/menu-foundation.d.ts +1 -0
  381. package/esm/menu/menu-foundation.js +11 -4
  382. package/esm/paginator/paginator-constants.d.ts +9 -0
  383. package/esm/paginator/paginator-foundation.d.ts +5 -2
  384. package/esm/paginator/paginator-foundation.js +29 -8
  385. package/esm/paginator/paginator.d.ts +3 -1
  386. package/esm/paginator/paginator.js +3 -0
  387. package/esm/radio/core/radio-group-manager.d.ts +83 -0
  388. package/esm/radio/core/radio-group-manager.js +201 -0
  389. package/esm/radio/index.d.ts +1 -2
  390. package/esm/radio/index.js +1 -6
  391. package/esm/radio/radio/index.d.ts +10 -0
  392. package/esm/radio/radio/index.js +14 -0
  393. package/esm/radio/radio/radio-adapter.d.ts +41 -0
  394. package/esm/radio/radio/radio-adapter.js +81 -0
  395. package/esm/radio/radio/radio-component-delegate.d.ts +5 -0
  396. package/esm/radio/radio/radio-component-delegate.js +6 -0
  397. package/esm/radio/radio/radio-constants.d.ts +39 -0
  398. package/esm/radio/radio/radio-constants.js +53 -0
  399. package/esm/radio/radio/radio-foundation.d.ts +70 -0
  400. package/esm/radio/radio/radio-foundation.js +199 -0
  401. package/esm/radio/radio/radio.d.ts +110 -0
  402. package/esm/radio/radio/radio.js +202 -0
  403. package/esm/radio/radio-group/index.d.ts +10 -0
  404. package/esm/radio/radio-group/index.js +14 -0
  405. package/esm/radio/radio-group/radio-group-adapter.d.ts +18 -0
  406. package/esm/radio/radio-group/radio-group-adapter.js +28 -0
  407. package/esm/radio/radio-group/radio-group-constants.d.ts +13 -0
  408. package/esm/radio/radio-group/radio-group-constants.js +19 -0
  409. package/esm/radio/radio-group/radio-group-foundation.d.ts +20 -0
  410. package/esm/radio/radio-group/radio-group-foundation.js +32 -0
  411. package/esm/radio/radio-group/radio-group.d.ts +44 -0
  412. package/esm/radio/radio-group/radio-group.js +81 -0
  413. package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
  414. package/package.json +1 -1
  415. package/styles/app-bar/app-bar/_core.scss +4 -0
  416. package/styles/app-bar/app-bar/app-bar.scss +15 -1
  417. package/styles/app-bar/search/_configuration.scss +10 -0
  418. package/styles/app-bar/search/_core.scss +73 -0
  419. package/styles/app-bar/search/_token-utils.scss +30 -0
  420. package/styles/app-bar/search/app-bar-search.scss +51 -4
  421. package/styles/app-bar/search/index.scss +8 -0
  422. package/styles/button/button.scss +9 -0
  423. package/styles/core/styles/tokens/app-bar/search/_tokens.scss +35 -0
  424. package/styles/core/styles/tokens/radio/_tokens.scss +66 -0
  425. package/styles/label/_core.scss +2 -5
  426. package/styles/label/label.scss +1 -5
  427. package/styles/radio/index.scss +6 -0
  428. package/styles/radio/radio/_configuration.scss +10 -0
  429. package/styles/radio/radio/_core.scss +123 -0
  430. package/styles/radio/radio/_token-utils.scss +30 -0
  431. package/styles/radio/radio/index.scss +8 -0
  432. package/styles/radio/radio/radio.scss +102 -0
  433. package/styles/switch/_core.scss +6 -0
  434. package/dist/esm/chunks/chunk.2GJ54C3Q.js +0 -7
  435. package/dist/esm/chunks/chunk.2YDKRTKP.js +0 -7
  436. package/dist/esm/chunks/chunk.3JCHXLPT.js +0 -7
  437. package/dist/esm/chunks/chunk.3JCHXLPT.js.map +0 -7
  438. package/dist/esm/chunks/chunk.3RMBFRGC.js +0 -7
  439. package/dist/esm/chunks/chunk.3RMBFRGC.js.map +0 -7
  440. package/dist/esm/chunks/chunk.3UO6S3IK.js +0 -7
  441. package/dist/esm/chunks/chunk.3ZRQFXQU.js +0 -7
  442. package/dist/esm/chunks/chunk.4B5IOZAT.js +0 -7
  443. package/dist/esm/chunks/chunk.4QDN5PM6.js +0 -7
  444. package/dist/esm/chunks/chunk.5H4G6BWX.js +0 -7
  445. package/dist/esm/chunks/chunk.5VHUMZYS.js +0 -7
  446. package/dist/esm/chunks/chunk.6DXDNQUR.js +0 -15
  447. package/dist/esm/chunks/chunk.6DXDNQUR.js.map +0 -7
  448. package/dist/esm/chunks/chunk.6Q3SV2R2.js +0 -7
  449. package/dist/esm/chunks/chunk.6Y45DLA6.js +0 -7
  450. package/dist/esm/chunks/chunk.7ABZUBTT.js +0 -7
  451. package/dist/esm/chunks/chunk.7BGOH44S.js +0 -7
  452. package/dist/esm/chunks/chunk.7BGOH44S.js.map +0 -7
  453. package/dist/esm/chunks/chunk.7DHDFH5L.js +0 -7
  454. package/dist/esm/chunks/chunk.7PP6QHOM.js +0 -7
  455. package/dist/esm/chunks/chunk.7UXLLUTN.js +0 -7
  456. package/dist/esm/chunks/chunk.7W2UWAZX.js +0 -7
  457. package/dist/esm/chunks/chunk.A72W7RW7.js +0 -7
  458. package/dist/esm/chunks/chunk.AEJGC4YG.js +0 -7
  459. package/dist/esm/chunks/chunk.AEJGC4YG.js.map +0 -7
  460. package/dist/esm/chunks/chunk.B46Q3AFP.js +0 -7
  461. package/dist/esm/chunks/chunk.BFUGFHEH.js +0 -7
  462. package/dist/esm/chunks/chunk.BLW6QESQ.js +0 -12
  463. package/dist/esm/chunks/chunk.BLW6QESQ.js.map +0 -7
  464. package/dist/esm/chunks/chunk.BMQYEYCT.js +0 -7
  465. package/dist/esm/chunks/chunk.C5IB44HX.js +0 -7
  466. package/dist/esm/chunks/chunk.CNRFOWHY.js +0 -7
  467. package/dist/esm/chunks/chunk.DTKFE7YB.js +0 -7
  468. package/dist/esm/chunks/chunk.EBSBAFCX.js +0 -7
  469. package/dist/esm/chunks/chunk.EBSBAFCX.js.map +0 -7
  470. package/dist/esm/chunks/chunk.F2EBSV5Z.js +0 -7
  471. package/dist/esm/chunks/chunk.F6KM5FO6.js +0 -7
  472. package/dist/esm/chunks/chunk.FQSL747N.js +0 -7
  473. package/dist/esm/chunks/chunk.G2BNY5QQ.js +0 -7
  474. package/dist/esm/chunks/chunk.GS72TBUD.js +0 -7
  475. package/dist/esm/chunks/chunk.GT3VPSXY.js +0 -7
  476. package/dist/esm/chunks/chunk.GWJ4QCSW.js +0 -7
  477. package/dist/esm/chunks/chunk.H7GW57Q6.js +0 -7
  478. package/dist/esm/chunks/chunk.I3NHK2S3.js +0 -7
  479. package/dist/esm/chunks/chunk.IEB5KRFQ.js +0 -7
  480. package/dist/esm/chunks/chunk.IT66AOX7.js +0 -7
  481. package/dist/esm/chunks/chunk.IT66AOX7.js.map +0 -7
  482. package/dist/esm/chunks/chunk.IVUK3W34.js +0 -7
  483. package/dist/esm/chunks/chunk.IW7HALLT.js +0 -7
  484. package/dist/esm/chunks/chunk.J2KHTGSB.js +0 -7
  485. package/dist/esm/chunks/chunk.J3B5CWKT.js +0 -7
  486. package/dist/esm/chunks/chunk.JAWV5Y5T.js +0 -7
  487. package/dist/esm/chunks/chunk.JVK64JDZ.js +0 -7
  488. package/dist/esm/chunks/chunk.KFDYMENL.js +0 -7
  489. package/dist/esm/chunks/chunk.KLPF4CNX.js +0 -7
  490. package/dist/esm/chunks/chunk.KTYYBWTN.js +0 -7
  491. package/dist/esm/chunks/chunk.L4Y4RO5O.js +0 -7
  492. package/dist/esm/chunks/chunk.LCNR2RPT.js +0 -7
  493. package/dist/esm/chunks/chunk.LMIKNDBS.js +0 -7
  494. package/dist/esm/chunks/chunk.LOBKFTRM.js +0 -7
  495. package/dist/esm/chunks/chunk.LOBKFTRM.js.map +0 -7
  496. package/dist/esm/chunks/chunk.LS7WRRT2.js +0 -7
  497. package/dist/esm/chunks/chunk.LS7WRRT2.js.map +0 -7
  498. package/dist/esm/chunks/chunk.LSNAGIIH.js +0 -7
  499. package/dist/esm/chunks/chunk.LUIKMPQR.js +0 -7
  500. package/dist/esm/chunks/chunk.LUIKMPQR.js.map +0 -7
  501. package/dist/esm/chunks/chunk.LXX3YZYS.js +0 -7
  502. package/dist/esm/chunks/chunk.MZZJY5NX.js +0 -7
  503. package/dist/esm/chunks/chunk.NG6UZ4OL.js +0 -7
  504. package/dist/esm/chunks/chunk.NYYXUH3X.js +0 -7
  505. package/dist/esm/chunks/chunk.OED5UCYT.js +0 -7
  506. package/dist/esm/chunks/chunk.OUACQISE.js +0 -7
  507. package/dist/esm/chunks/chunk.OYO5O3NF.js +0 -7
  508. package/dist/esm/chunks/chunk.P7LC3YYW.js +0 -7
  509. package/dist/esm/chunks/chunk.PK7R6WDF.js +0 -7
  510. package/dist/esm/chunks/chunk.PQQVUUHU.js +0 -7
  511. package/dist/esm/chunks/chunk.PSTGTQVK.js +0 -7
  512. package/dist/esm/chunks/chunk.Q5Z6F3PI.js +0 -7
  513. package/dist/esm/chunks/chunk.QFY23EWU.js +0 -7
  514. package/dist/esm/chunks/chunk.RCSBJQ4G.js +0 -7
  515. package/dist/esm/chunks/chunk.RCSBJQ4G.js.map +0 -7
  516. package/dist/esm/chunks/chunk.RDW7Z4W5.js +0 -7
  517. package/dist/esm/chunks/chunk.RYNQDXFA.js +0 -7
  518. package/dist/esm/chunks/chunk.RZZBM3AW.js +0 -7
  519. package/dist/esm/chunks/chunk.SNF35Y6C.js +0 -7
  520. package/dist/esm/chunks/chunk.SOLF23NC.js +0 -7
  521. package/dist/esm/chunks/chunk.T34DG7BU.js +0 -7
  522. package/dist/esm/chunks/chunk.TA3MVDUU.js +0 -7
  523. package/dist/esm/chunks/chunk.TA3MVDUU.js.map +0 -7
  524. package/dist/esm/chunks/chunk.THWSN3X4.js +0 -7
  525. package/dist/esm/chunks/chunk.TLFCQSJN.js +0 -7
  526. package/dist/esm/chunks/chunk.TZFUKJ24.js +0 -177
  527. package/dist/esm/chunks/chunk.U5WMRBSC.js +0 -7
  528. package/dist/esm/chunks/chunk.URCJO73M.js +0 -7
  529. package/dist/esm/chunks/chunk.VDZ7HBKM.js +0 -7
  530. package/dist/esm/chunks/chunk.W324TWF2.js +0 -7
  531. package/dist/esm/chunks/chunk.WQGPIOL6.js +0 -7
  532. package/dist/esm/chunks/chunk.XDANTL6C.js +0 -7
  533. package/dist/esm/chunks/chunk.XNCBGWE4.js +0 -7
  534. package/dist/esm/chunks/chunk.YKZ25J6B.js +0 -7
  535. package/dist/esm/chunks/chunk.Z2RB75TN.js +0 -7
  536. package/dist/esm/chunks/chunk.Z7PBGV4K.js +0 -7
  537. package/dist/esm/chunks/chunk.ZSD7MMVB.js +0 -7
  538. package/dist/esm/chunks/chunk.ZSD7MMVB.js.map +0 -7
  539. package/dist/esm/chunks/chunk.ZVJMIBUM.js +0 -7
  540. package/dist/esm/chunks/chunk.ZVJMIBUM.js.map +0 -7
  541. package/esm/radio/radio-adapter.d.ts +0 -71
  542. package/esm/radio/radio-adapter.js +0 -260
  543. package/esm/radio/radio-constants.d.ts +0 -30
  544. package/esm/radio/radio-constants.js +0 -36
  545. package/esm/radio/radio-foundation.d.ts +0 -31
  546. package/esm/radio/radio-foundation.js +0 -80
  547. package/esm/radio/radio.d.ts +0 -33
  548. package/esm/radio/radio.js +0 -75
  549. package/styles/app-bar/search/_mixins.scss +0 -238
  550. package/styles/app-bar/search/_variables.scss +0 -18
  551. package/styles/radio/_mixins.scss +0 -309
  552. package/styles/radio/_radio-theme.scss +0 -314
  553. package/styles/radio/radio.scss +0 -19
  554. /package/dist/esm/chunks/{chunk.DOEG3DWJ.js.map → chunk.42YDA5FH.js.map} +0 -0
  555. /package/dist/esm/chunks/{chunk.CTZ3AWDW.js.map → chunk.5EGEZ4IY.js.map} +0 -0
  556. /package/dist/esm/chunks/{chunk.SOLF23NC.js.map → chunk.7LOMI6J3.js.map} +0 -0
  557. /package/dist/esm/chunks/{chunk.57PXXJA6.js.map → chunk.AR6YUJUH.js.map} +0 -0
  558. /package/dist/esm/chunks/{chunk.I3NHK2S3.js.map → chunk.BAQYPAUM.js.map} +0 -0
  559. /package/dist/esm/chunks/{chunk.HHHBS6FB.js.map → chunk.BC7WB5RG.js.map} +0 -0
  560. /package/dist/esm/chunks/{chunk.VD5ZL5ZN.js.map → chunk.EMCY55MX.js.map} +0 -0
  561. /package/dist/esm/chunks/{chunk.E3GVKR4E.js.map → chunk.I7X25KEB.js.map} +0 -0
  562. /package/dist/esm/chunks/{chunk.OYO5O3NF.js.map → chunk.IHIKIZIT.js.map} +0 -0
  563. /package/dist/esm/chunks/{chunk.2GYZM6ZG.js.map → chunk.JHELTQKA.js.map} +0 -0
  564. /package/dist/esm/chunks/{chunk.UWZWXNTW.js.map → chunk.JPI4XCQL.js.map} +0 -0
  565. /package/dist/esm/chunks/{chunk.26E4L52W.js.map → chunk.KDJZN6EW.js.map} +0 -0
  566. /package/dist/esm/chunks/{chunk.5C24LZNU.js.map → chunk.KWBYYSH3.js.map} +0 -0
  567. /package/dist/esm/chunks/{chunk.DDXIHZFX.js.map → chunk.L45HXBDS.js.map} +0 -0
  568. /package/dist/esm/chunks/{chunk.NZKIFXBU.js.map → chunk.MHH26REX.js.map} +0 -0
  569. /package/dist/esm/chunks/{chunk.NYYXUH3X.js.map → chunk.MTSWCXTY.js.map} +0 -0
  570. /package/dist/esm/chunks/{chunk.7UXLLUTN.js.map → chunk.NBLL7VAA.js.map} +0 -0
  571. /package/dist/esm/chunks/{chunk.T34DG7BU.js.map → chunk.O6MGA3XK.js.map} +0 -0
  572. /package/dist/esm/chunks/{chunk.PADPL4L3.js.map → chunk.OUIWXKO2.js.map} +0 -0
  573. /package/dist/esm/chunks/{chunk.GHR7T6U2.js.map → chunk.U7S4DJTU.js.map} +0 -0
  574. /package/dist/esm/chunks/{chunk.543K5Y4E.js.map → chunk.URKQICJD.js.map} +0 -0
  575. /package/dist/esm/chunks/{chunk.DD35U4AA.js.map → chunk.WMP2OLMG.js.map} +0 -0
  576. /package/dist/esm/chunks/{chunk.KVCDAZ6B.js.map → chunk.YTBNAGLS.js.map} +0 -0
  577. /package/dist/esm/chunks/{chunk.FB6ZLH6P.js.map → chunk.ZX3CGET2.js.map} +0 -0
  578. /package/dist/esm/{chunks/chunk.U6FJJGO3.js.map → radio/radio-group/index.js.map} +0 -0
@@ -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.THNCYT3E.js";import{a as E}from"./chunk.3TKTJ3BY.js";import{a as u}from"./chunk.NVUMRW44.js";import{a as I}from"./chunk.T4J66YX5.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.BC7WB5RG.js.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{b as u}from"./chunk.VG452D3L.js";import{a as x}from"./chunk.RCPUTZON.js";import{k as d}from"./chunk.CZOABXEQ.js";import{a as E}from"./chunk.3TKTJ3BY.js";import{a as p}from"./chunk.NVUMRW44.js";import{a as _}from"./chunk.T4J66YX5.js";import{a as v}from"./chunk.6ZJIHOIG.js";import{a as b,e as f,f as s,k as T}from"./chunk.TPXXHX5J.js";import{a as c,d as o}from"./chunk.M3QDAYD2.js";var A=`${v}app-bar`,y={TITLE_TEXT:"title-text",ELEVATION:"elevation",THEME:"theme",HREF:"href",TARGET:"target"},C=c({},y),w={NO_CENTER:"no-center",LOGO_TITLE_CONTAINER:"logo-title-container"},N={ROOT:".forge-app-bar",TITLE:".title",LOGO_TITLE_CONTAINER:".logo-title-container",CENTER_SLOT:"slot[name=center]",CENTER_SECTION:"#center-section"},e={elementName:A,selectors:N,attributes:C,classes:w};var l=class extends E{constructor(r){super(r);this._rootElement=s(r,e.selectors.ROOT),this._titleElement=s(r,e.selectors.TITLE),this._logoTitleContainerElement=s(r,e.selectors.LOGO_TITLE_CONTAINER),this._centerSectionElement=s(r,e.selectors.CENTER_SECTION),this._centerSlotElement=s(r,e.selectors.CENTER_SLOT)}initialize(){this._component.hasAttribute("role")||this._component.setAttribute("role","banner")}setTitleText(r){this._titleElement.textContent=r}setHref(r){var a,m;let n=this._logoTitleContainerElement.tagName==="A";r?(n||this._createAnchorElement(),this._logoTitleContainerElement.href=r):n&&(this._logoTitleContainerElement=d(this._logoTitleContainerElement,document.createElement("div")),this._logoTitleContainerElement.classList.add(e.classes.LOGO_TITLE_CONTAINER),(a=this._logoTitleContainerElement.querySelector(x.elementName))==null||a.remove(),(m=this._logoTitleContainerElement.querySelector(u.elementName))==null||m.remove())}setTarget(r){this._logoTitleContainerElement.tagName==="A"&&(this._logoTitleContainerElement.target=r)}addCenterSlotListener(r){this._centerSlotElement.addEventListener("slotchange",r)}setCenterSlotVisibility(){this._centerSlotElement.assignedNodes().length?(this._centerSectionElement.style.removeProperty("display"),this._rootElement.classList.remove(e.classes.NO_CENTER)):(this._centerSectionElement.style.display="none",this._rootElement.classList.add(e.classes.NO_CENTER))}_createAnchorElement(){this._logoTitleContainerElement=d(this._logoTitleContainerElement,document.createElement("a")),this._logoTitleContainerElement.classList.add(e.classes.LOGO_TITLE_CONTAINER);let r=document.createElement("forge-state-layer"),n=document.createElement("forge-focus-indicator");n.inward=!0,this._logoTitleContainerElement.append(r,n)}};var g=class{constructor(t){this._adapter=t;this._titleText="";this._elevation="raised";this._href="";this._target="";this._centerSlotListener=t=>this._adapter.setCenterSlotVisibility()}initialize(){this._adapter.initialize(),this._adapter.addCenterSlotListener(this._centerSlotListener),this._adapter.setCenterSlotVisibility()}get titleText(){return this._titleText}set titleText(t){this._titleText!==t&&(this._titleText=t!=null?t:"",this._adapter.setTitleText(this._titleText),this._adapter.setHostAttribute(e.attributes.TITLE_TEXT,t))}get elevation(){return this._elevation}set elevation(t){this._elevation!==t&&(this._elevation=t,this._adapter.setHostAttribute(e.attributes.ELEVATION,t))}get theme(){return this._theme}set theme(t){this._theme!==t&&(this._theme=t!=null?t:"",this._adapter.toggleHostAttribute(e.attributes.THEME,!!this._theme,this._theme))}get href(){var t;return(t=this._href)!=null?t:""}set href(t){this._href!==t&&(this._href=t!=null&&t.trim().length?t.trim():"",this._adapter.setHref(this._href),this._adapter.toggleHostAttribute(e.attributes.HREF,!!this._href,this._href))}get target(){var t;return(t=this._target)!=null?t:""}set target(t){this._target!==t&&(this._target=t!=null&&t.trim().length?t.trim():"",this._adapter.setTarget(this._target),this._adapter.toggleHostAttribute(e.attributes.TARGET,!!this._target,this._target))}};var L='<template><div class="forge-app-bar" part="root"><div class="row"><div class="section"><slot name="start"></slot><div class="logo-title-container"><slot name="logo"></slot><slot name="title"><h1 class="title" part="title"></h1></slot></div></div><div id="center-section" class="section"><slot name="center"></slot></div><div class="section"><slot name="end"></slot></div></div><div><slot name="bottom"></slot></div></div></template>',I=':host{--_app-bar-background:var(--forge-app-bar-background, var(--forge-theme-brand, #283593));--_app-bar-foreground:var(--forge-app-bar-foreground, var(--forge-theme-on-brand, #ffffff))}:host{display:block}:host([hidden]){display:none}:host(:not(theme)){--forge-theme-primary:var(--_app-bar-foreground);--forge-theme-on-primary:rgba(0, 0, 0, 0.87);--forge-theme-text-high:rgba(255, 255, 255, 0.87);--forge-theme-text-medium:rgba(255, 255, 255, 0.54);--forge-theme-text-low:rgba(255, 255, 255, 0.38)}.forge-app-bar{--_app-bar-z-index:var(--forge-app-bar-z-index, var(--forge-z-index-header, 4));--_app-bar-elevation:var(--forge-app-bar-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12));--_app-bar-height:var(--forge-app-bar-height, 56px);--_app-bar-row-padding:var(--forge-app-bar-row-padding, var(--forge-spacing-xxsmall, 4px));--_app-bar-logo-gap:var(--forge-app-bar-logo-gap, var(--forge-spacing-medium, 16px));--_app-bar-logo-font-size:var(--forge-app-bar-logo-font-size, calc(var(--forge-typography-font-size, 1rem) * 2.5));--_app-bar-title-padding:var(--forge-app-bar-title-padding, var(--forge-spacing-xsmall, 8px));--_app-bar-transition-duration:var(--forge-app-bar-transition-duration, var(--forge-animation-duration-short4, 200ms));--_app-bar-transition-timing:var(--forge-app-bar-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-app-bar{background:var(--_app-bar-background);color:var(--_app-bar-foreground);position:relative;z-index:var(--_app-bar-z-index);display:grid;grid-template-rows:1fr auto;-webkit-transition-property:background-color,-webkit-box-shadow;transition-property:background-color,-webkit-box-shadow;transition-property:box-shadow,background-color;transition-property:box-shadow,background-color,-webkit-box-shadow;-webkit-transition-duration:var(--_app-bar-transition-duration);transition-duration:var(--_app-bar-transition-duration);-webkit-transition-timing-function:var(--_app-bar-transition-timing);transition-timing-function:var(--_app-bar-transition-timing);-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.forge-app-bar .row{display:grid;-webkit-box-align:center;align-items:center;grid-template-columns:1fr 1fr 1fr;height:var(--_app-bar-height);padding-inline:var(--_app-bar-row-padding)}.forge-app-bar.no-center .row{grid-template-columns:1fr auto}.forge-app-bar .section{display:-webkit-inline-box;display:inline-flex;-webkit-box-flex:1;flex:1 1 auto;-webkit-box-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:0;height:100%}.forge-app-bar .section:not(:last-child):not(:first-child){-webkit-box-pack:center;justify-content:center}.forge-app-bar .section:last-child{justify-self:end}.forge-app-bar h1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-heading4-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));font-size:var(--forge-typography-heading4-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-heading4-font-size-scale, 1.25)));font-weight:var(--forge-typography-heading4-font-weight,500);line-height:var(--forge-typography-heading4-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-heading4-line-height-scale, 1.5)));letter-spacing:var(--forge-typography-heading4-letter-spacing, .005em);text-transform:var(--forge-typography-heading4-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-heading4-text-decoration,inherit);text-decoration:var(--forge-typography-heading4-text-decoration,inherit);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forge-app-bar a{outline:0;text-decoration:none;color:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.forge-app-bar a forge-state-layer{--forge-state-layer-color:var(--_app-bar-foreground)}.forge-app-bar a forge-focus-indicator{--forge-focus-indicator-color:var(--_app-bar-foreground);--forge-focus-indicator-shape:4px;--forge-focus-indicator-offset-block:4px}.forge-app-bar .logo-title-container{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;gap:var(--_app-bar-logo-gap);min-width:0;padding-inline:var(--_app-bar-title-padding)}:host(:is(:not([elevation]),[elevation=raised])) .forge-app-bar{-webkit-box-shadow:var(--_app-bar-elevation);box-shadow:var(--_app-bar-elevation)}::slotted(forge-tab-bar){--forge-tab-bar-divider-thickness:0}::slotted([slot=logo]){font-size:var(--_app-bar-logo-font-size);height:1em;width:1em}::slotted(forge-app-bar-search[slot=center]){width:100%}:host([theme=white]){--forge-theme-primary:black;--forge-theme-on-primary:rgba(255, 255, 255, 0.87);--forge-theme-text-medium:rgba(0, 0, 0, 0.54)}:host([theme=white]) .forge-app-bar{--_app-bar-background:var(--forge-app-bar-background, white);--_app-bar-foreground:var(--forge-app-bar-foreground, black)}',i=class extends T{constructor(){super();f(this,L,I),this._foundation=new g(new l(this))}static get observedAttributes(){return[e.attributes.TITLE_TEXT,e.attributes.ELEVATION,e.attributes.THEME,e.attributes.HREF,e.attributes.TARGET]}connectedCallback(){this._foundation.initialize()}attributeChangedCallback(r,n,a){switch(r){case e.attributes.TITLE_TEXT:this.titleText=a;break;case e.attributes.ELEVATION:this.elevation=a;break;case e.attributes.THEME:this.theme=a;break;case e.attributes.HREF:this.href=a;break;case e.attributes.TARGET:this.target=a;break}}};o([p()],i.prototype,"titleText",2),o([p()],i.prototype,"elevation",2),o([p()],i.prototype,"theme",2),o([p()],i.prototype,"href",2),o([p()],i.prototype,"target",2),i=o([_({name:e.elementName})],i);function it(){b(i)}export{A as a,e as b,l as c,g as d,i as e,it as f};
7
+ //# sourceMappingURL=chunk.BIVQ4GTK.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/app-bar/app-bar/app-bar-constants.ts", "../../src/app-bar/app-bar/app-bar-adapter.ts", "../../src/app-bar/app-bar/app-bar-foundation.ts", "../../src/app-bar/app-bar/app-bar.ts", "../../src/app-bar/app-bar/index.ts"],
4
- "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nexport const elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}app-bar`;\n\nconst observedAttributes = {\n TITLE_TEXT: 'title-text',\n ELEVATION: 'elevation',\n THEME: 'theme',\n HREF: 'href',\n TARGET: 'target'\n};\n\nconst attributes = {\n ...observedAttributes\n};\n\nconst classes = {\n NO_CENTER: 'no-center',\n LOGO_TITLE_CONTAINER: 'logo-title-container'\n};\n\nconst selectors = {\n ROOT: '.forge-app-bar',\n TITLE: '.title',\n LOGO_TITLE_CONTAINER: '.logo-title-container',\n CENTER_SLOT: 'slot[name=center]',\n CENTER_SECTION: '#center-section'\n};\n\nexport const APP_BAR_CONSTANTS = {\n elementName,\n selectors,\n attributes,\n classes\n};\n\nexport type AppBarElevation = 'none' | 'raised';\nexport type AppBarTheme = 'white' | '';\n", "import { getShadowElement } from '@tylertech/forge-core';\nimport { replaceElement } from '../../core/utils/utils';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { IAppBarComponent } from './app-bar';\nimport { APP_BAR_CONSTANTS } from './app-bar-constants';\nimport { STATE_LAYER_CONSTANTS } from '../../state-layer';\nimport { FOCUS_INDICATOR_CONSTANTS } from '../../focus-indicator';\n\nexport interface IAppBarAdapter extends IBaseAdapter {\n initialize(): void;\n setTitleText(value: string): void;\n setHref(value: string): void;\n setTarget(value: string): void;\n addCenterSlotListener(listener: (evt: Event) => void): void;\n setCenterSlotVisibility(): void;\n}\n\nexport class AppBarAdapter extends BaseAdapter<IAppBarComponent> implements IAppBarAdapter {\n private _rootElement: HTMLElement;\n private _titleElement: HTMLElement;\n private _logoTitleContainerElement: HTMLElement | HTMLAnchorElement;\n private _centerSectionElement: HTMLElement;\n private _centerSlotElement: HTMLSlotElement;\n\n constructor(component: IAppBarComponent) {\n super(component);\n this._rootElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.ROOT);\n this._titleElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.TITLE);\n this._logoTitleContainerElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.LOGO_TITLE_CONTAINER);\n this._centerSectionElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.CENTER_SECTION);\n this._centerSlotElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.CENTER_SLOT) as HTMLSlotElement;\n }\n\n public initialize(): void {\n if (!this._component.hasAttribute('role')) {\n this._component.setAttribute('role', 'banner');\n }\n }\n\n public setTitleText(value: string): void {\n this._titleElement.textContent = value;\n }\n\n public setHref(value: string): void {\n const isAnchor = this._logoTitleContainerElement.tagName === 'A';\n if (value) {\n if (!isAnchor) {\n this._createAnchorElement();\n }\n (this._logoTitleContainerElement as HTMLAnchorElement).href = value;\n } else if (isAnchor) {\n this._logoTitleContainerElement = replaceElement(this._logoTitleContainerElement, document.createElement('div'));\n this._logoTitleContainerElement.classList.add(APP_BAR_CONSTANTS.classes.LOGO_TITLE_CONTAINER);\n\n this._logoTitleContainerElement.querySelector(STATE_LAYER_CONSTANTS.elementName)?.remove();\n this._logoTitleContainerElement.querySelector(FOCUS_INDICATOR_CONSTANTS.elementName)?.remove();\n }\n }\n\n public setTarget(value: string): void {\n if (this._logoTitleContainerElement.tagName === 'A') {\n (this._logoTitleContainerElement as HTMLAnchorElement).target = value;\n }\n }\n\n public addCenterSlotListener(listener: (evt: Event) => void): void {\n this._centerSlotElement.addEventListener('slotchange', listener);\n }\n \n public setCenterSlotVisibility(): void {\n if (this._centerSlotElement.assignedNodes().length) {\n this._centerSectionElement.style.removeProperty('display');\n this._rootElement.classList.remove(APP_BAR_CONSTANTS.classes.NO_CENTER);\n } else {\n this._centerSectionElement.style.display = 'none';\n this._rootElement.classList.add(APP_BAR_CONSTANTS.classes.NO_CENTER);\n }\n }\n\n private _createAnchorElement(): void {\n this._logoTitleContainerElement = replaceElement(this._logoTitleContainerElement, document.createElement('a'));\n this._logoTitleContainerElement.classList.add(APP_BAR_CONSTANTS.classes.LOGO_TITLE_CONTAINER);\n\n const stateLayer = document.createElement('forge-state-layer');\n const focusIndicator = document.createElement('forge-focus-indicator');\n focusIndicator.inward = true;\n\n this._logoTitleContainerElement.append(stateLayer, focusIndicator);\n }\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\nimport { IAppBarAdapter } from './app-bar-adapter';\nimport { AppBarElevation, AppBarTheme, APP_BAR_CONSTANTS } from './app-bar-constants';\n\nexport interface IAppBarFoundation extends ICustomElementFoundation {\n titleText: string;\n elevation: AppBarElevation;\n theme: string;\n href: string;\n target: string;\n}\n\nexport class AppBarFoundation implements IAppBarFoundation {\n private _titleText = '';\n private _elevation: AppBarElevation = 'raised';\n private _theme: AppBarTheme;\n private _href = '';\n private _target = '';\n\n private _centerSlotListener = (_evt: Event): void => this._adapter.setCenterSlotVisibility();\n\n constructor(private _adapter: IAppBarAdapter) {}\n\n public initialize(): void {\n this._adapter.initialize();\n this._adapter.addCenterSlotListener(this._centerSlotListener);\n this._adapter.setCenterSlotVisibility();\n }\n\n public get titleText(): string {\n return this._titleText;\n }\n public set titleText(value: string) {\n if (this._titleText !== value) {\n this._titleText = value ?? '';\n this._adapter.setTitleText(this._titleText);\n this._adapter.setHostAttribute(APP_BAR_CONSTANTS.attributes.TITLE_TEXT, value);\n }\n }\n\n public get elevation(): AppBarElevation {\n return this._elevation;\n }\n public set elevation(value: AppBarElevation) {\n if (this._elevation !== value) {\n this._elevation = value;\n this._adapter.setHostAttribute(APP_BAR_CONSTANTS.attributes.ELEVATION, value);\n }\n }\n\n public get theme(): AppBarTheme {\n return this._theme;\n }\n public set theme(value: AppBarTheme) {\n if (this._theme !== value) {\n this._theme = value ?? '';\n this._adapter.toggleHostAttribute(APP_BAR_CONSTANTS.attributes.THEME, !!this._theme, this._theme);\n }\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?.trim().length ? value.trim() : '';\n this._adapter.setHref(this._href);\n this._adapter.toggleHostAttribute(APP_BAR_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?.trim().length ? value.trim() : '';\n this._adapter.setTarget(this._target);\n this._adapter.toggleHostAttribute(APP_BAR_CONSTANTS.attributes.TARGET, !!this._target, this._target);\n }\n }\n}\n", "import { CustomElement, attachShadowTemplate, FoundationProperty } from '@tylertech/forge-core';\nimport { AppBarAdapter } from './app-bar-adapter';\nimport { AppBarFoundation } from './app-bar-foundation';\nimport { AppBarElevation, AppBarTheme, APP_BAR_CONSTANTS } from './app-bar-constants';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\n\nconst template = '<template><div class=\\\"forge-app-bar\\\" part=\\\"root\\\"><div class=\\\"row\\\"><div class=\\\"section\\\"><slot name=\\\"start\\\"></slot><div class=\\\"logo-title-container\\\"><slot name=\\\"logo\\\"></slot><slot name=\\\"title\\\"><h1 class=\\\"title\\\" part=\\\"title\\\"></h1></slot></div></div><div id=\\\"center-section\\\" class=\\\"section\\\"><slot name=\\\"center\\\"></slot></div><div class=\\\"section\\\"><slot name=\\\"end\\\"></slot></div></div><div><slot name=\\\"bottom\\\"></slot></div></div></template>';\nconst styles = ':host{--_app-bar-background:var(--forge-app-bar-background, var(--forge-theme-brand, #283593));--_app-bar-foreground:var(--forge-app-bar-foreground, var(--forge-theme-on-brand, #ffffff))}:host{display:block}:host([hidden]){display:none}:host(:not(theme)){--forge-theme-primary:var(--_app-bar-foreground);--forge-theme-on-primary:rgba(0, 0, 0, 0.87);--forge-theme-text-medium:rgba(255, 255, 255, 0.54)}.forge-app-bar{--_app-bar-z-index:var(--forge-app-bar-z-index, var(--forge-z-index-header, 4));--_app-bar-elevation:var(--forge-app-bar-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12));--_app-bar-height:var(--forge-app-bar-height, 56px);--_app-bar-row-padding:var(--forge-app-bar-row-padding, var(--forge-spacing-xxsmall, 4px));--_app-bar-logo-gap:var(--forge-app-bar-logo-gap, var(--forge-spacing-medium, 16px));--_app-bar-logo-font-size:var(--forge-app-bar-logo-font-size, calc(var(--forge-typography-font-size, 1rem) * 2.5));--_app-bar-title-padding:var(--forge-app-bar-title-padding, var(--forge-spacing-xsmall, 8px));--_app-bar-transition-duration:var(--forge-app-bar-transition-duration, var(--forge-animation-duration-short4, 200ms));--_app-bar-transition-timing:var(--forge-app-bar-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-app-bar{background:var(--_app-bar-background);color:var(--_app-bar-foreground);position:relative;z-index:var(--_app-bar-z-index);display:grid;grid-template-rows:1fr auto;-webkit-transition-property:background-color,-webkit-box-shadow;transition-property:background-color,-webkit-box-shadow;transition-property:box-shadow,background-color;transition-property:box-shadow,background-color,-webkit-box-shadow;-webkit-transition-duration:var(--_app-bar-transition-duration);transition-duration:var(--_app-bar-transition-duration);-webkit-transition-timing-function:var(--_app-bar-transition-timing);transition-timing-function:var(--_app-bar-transition-timing);-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.forge-app-bar .row{display:grid;-webkit-box-align:center;align-items:center;grid-template-columns:1fr 1fr 1fr;height:var(--_app-bar-height);padding-inline:var(--_app-bar-row-padding)}.forge-app-bar.no-center .row{grid-template-columns:1fr auto}.forge-app-bar .section{display:-webkit-inline-box;display:inline-flex;-webkit-box-flex:1;flex:1 1 auto;-webkit-box-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:0;height:100%}.forge-app-bar .section:last-child{justify-self:end}.forge-app-bar h1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-heading4-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-heading4-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-heading4-font-size-scale, 1.25)));font-weight:var(--forge-typography-heading4-font-weight,500);line-height:var(--forge-typography-heading4-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-heading4-line-height-scale, 1.5)));letter-spacing:var(--forge-typography-heading4-letter-spacing, .005em);text-transform:var(--forge-typography-heading4-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-heading4-text-decoration,inherit);text-decoration:var(--forge-typography-heading4-text-decoration,inherit);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forge-app-bar a{outline:0;text-decoration:none;color:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.forge-app-bar a forge-state-layer{--forge-state-layer-color:var(--_app-bar-foreground)}.forge-app-bar a forge-focus-indicator{--forge-focus-indicator-color:var(--_app-bar-foreground);--forge-focus-indicator-shape:4px;--forge-focus-indicator-offset-block:4px}.forge-app-bar .logo-title-container{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;gap:var(--_app-bar-logo-gap);min-width:0;padding-inline:var(--_app-bar-title-padding)}:host(:is(:not([elevation]),[elevation=raised])) .forge-app-bar{-webkit-box-shadow:var(--_app-bar-elevation);box-shadow:var(--_app-bar-elevation)}::slotted(forge-tab-bar){--forge-tab-bar-divider-thickness:0}::slotted([slot=logo]){font-size:var(--_app-bar-logo-font-size);height:1em;width:1em}:host([theme=white]){--forge-theme-primary:black;--forge-theme-on-primary:rgba(255, 255, 255, 0.87);--forge-theme-text-medium:rgba(0, 0, 0, 0.54)}:host([theme=white]) .forge-app-bar{--_app-bar-background:var(--forge-app-bar-background, white);--_app-bar-foreground:var(--forge-app-bar-foreground, black)}';\n\nexport interface IAppBarComponent extends IBaseComponent {\n titleText: string;\n elevation: AppBarElevation;\n theme: AppBarTheme;\n href: string;\n target: string;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-app-bar': IAppBarComponent;\n }\n}\n\n/**\n * @tag forge-app-bar\n * \n * @description App bars are a collection of components placed as a horizontal bar at the top of the screen. They typically contain a logo, title, and optional application-wide actions.\n * \n * @property {string} titleText - The text to display in the title.\n * @property {AppBarElevation} elevation - The elevation of the app bar.\n * @property {AppBarTheme} theme - The theme of the app bar.\n * @property {string} href - The href that will be used to make the logo and title area a clickable link.\n * \n * @attribute {string} title-text - The text to display in the title.\n * @attribute {string} elevation - The elevation of the app bar.\n * @attribute {string} theme - The theme of the app bar.\n * @attribute {string} href - The href that will be used to make the logo and title area a clickable link\n * \n * @cssproperty --forge-app-bar-background - The background color of the app bar.\n * @cssproperty --forge-app-bar-foreground - The text color of the app bar.\n * @cssproperty --forge-app-bar-z-index - The `z-index` of the app bar.\n * @cssproperty --forge-app-bar-elevation - The elevation of the app bar.\n * @cssproperty --forge-app-bar-height - The height of the app bar.\n * @cssproperty --forge-app-bar-row-padding - The inline padding of the app bar.\n * @cssproperty --forge-app-bar-logo-gap - The space between the logo and title.\n * @cssproperty --forge-app-bar-title-padding - The padding around the title element.\n * @cssproperty --forge-app-bar-transition-duration - The transition duration for animations.\n * @cssproperty --forge-app-bar-transition-timing - The transition timing function for animations.\n * \n * @csspart root - The root container element.\n * @csspart title - The title element.\n * \n * @slot logo - Reserved for the brand logo.\n * @slot title - Reserved for the application title. This will overwrite the `titleText` property/attribute.\n * @slot start - Places content at the beginning of the app bar.\n * @slot center - Places content in the center of the app bar.\n * @slot end - Places content at the end of the app bar.\n */\n@CustomElement({\n name: APP_BAR_CONSTANTS.elementName\n})\nexport class AppBarComponent extends BaseComponent implements IAppBarComponent {\n public static get observedAttributes(): string[] {\n return [\n APP_BAR_CONSTANTS.attributes.TITLE_TEXT,\n APP_BAR_CONSTANTS.attributes.ELEVATION,\n APP_BAR_CONSTANTS.attributes.THEME,\n APP_BAR_CONSTANTS.attributes.HREF,\n APP_BAR_CONSTANTS.attributes.TARGET\n ];\n }\n\n private _foundation: AppBarFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new AppBarFoundation(new AppBarAdapter(this));\n }\n\n public connectedCallback(): void {\n this._foundation.initialize();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case APP_BAR_CONSTANTS.attributes.TITLE_TEXT:\n this.titleText = newValue;\n break;\n case APP_BAR_CONSTANTS.attributes.ELEVATION:\n this.elevation = newValue as AppBarElevation;\n break;\n case APP_BAR_CONSTANTS.attributes.THEME:\n this.theme = newValue as AppBarTheme;\n break;\n case APP_BAR_CONSTANTS.attributes.HREF:\n this.href = newValue;\n break;\n case APP_BAR_CONSTANTS.attributes.TARGET:\n this.target = newValue;\n break;\n }\n }\n\n @FoundationProperty()\n public declare titleText: string;\n\n @FoundationProperty()\n public declare elevation: AppBarElevation;\n\n @FoundationProperty()\n public declare theme: AppBarTheme;\n\n @FoundationProperty()\n public declare href: string;\n\n @FoundationProperty()\n public declare target: string;\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\nimport { AppBarComponent } from './app-bar';\n\nexport * from './app-bar-adapter';\nexport * from './app-bar-constants';\nexport * from './app-bar-foundation';\nexport * from './app-bar';\n\nexport function defineAppBarComponent(): void {\n defineCustomElement(AppBarComponent);\n}\n"],
5
- "mappings": "mWAEO,IAAMA,EAA2C,GAAGC,WAErDC,EAAqB,CACzB,WAAY,aACZ,UAAW,YACX,MAAO,QACP,KAAM,OACN,OAAQ,QACV,EAEMC,EAAaC,EAAA,GACdF,GAGCG,EAAU,CACd,UAAW,YACX,qBAAsB,sBACxB,EAEMC,EAAY,CAChB,KAAM,iBACN,MAAO,SACP,qBAAsB,wBACtB,YAAa,oBACb,eAAgB,iBAClB,EAEaC,EAAoB,CAC/B,YAAAP,EACA,UAAAM,EACA,WAAAH,EACA,QAAAE,CACF,ECjBO,IAAMG,EAAN,cAA4BC,CAAwD,CAOzF,YAAYC,EAA6B,CACvC,MAAMA,CAAS,EACf,KAAK,aAAeC,EAAiBD,EAAWE,EAAkB,UAAU,IAAI,EAChF,KAAK,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MACF,KAAKH,EAAkB,WAAW,OAChC,KAAK,OAASG,EACd,KACJ,CACF,CAgBF,EAbiBC,EAAA,CADdC,EAAmB,GA3CTV,EA4CI,yBAGAS,EAAA,CADdC,EAAmB,GA9CTV,EA+CI,yBAGAS,EAAA,CADdC,EAAmB,GAjDTV,EAkDI,qBAGAS,EAAA,CADdC,EAAmB,GApDTV,EAqDI,oBAGAS,EAAA,CADdC,EAAmB,GAvDTV,EAwDI,sBAxDJA,EAANS,EAAA,CAHNE,EAAc,CACb,KAAMN,EAAkB,WAC1B,CAAC,GACYL,GCrDN,SAASY,IAA8B,CAC5CC,EAAoBC,CAAe,CACrC",
4
+ "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nexport const elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}app-bar`;\n\nconst observedAttributes = {\n TITLE_TEXT: 'title-text',\n ELEVATION: 'elevation',\n THEME: 'theme',\n HREF: 'href',\n TARGET: 'target'\n};\n\nconst attributes = {\n ...observedAttributes\n};\n\nconst classes = {\n NO_CENTER: 'no-center',\n LOGO_TITLE_CONTAINER: 'logo-title-container'\n};\n\nconst selectors = {\n ROOT: '.forge-app-bar',\n TITLE: '.title',\n LOGO_TITLE_CONTAINER: '.logo-title-container',\n CENTER_SLOT: 'slot[name=center]',\n CENTER_SECTION: '#center-section'\n};\n\nexport const APP_BAR_CONSTANTS = {\n elementName,\n selectors,\n attributes,\n classes\n};\n\nexport type AppBarElevation = 'none' | 'raised';\nexport type AppBarTheme = 'white' | '';\n", "import { getShadowElement } from '@tylertech/forge-core';\nimport { replaceElement } from '../../core/utils/utils';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { IAppBarComponent } from './app-bar';\nimport { APP_BAR_CONSTANTS } from './app-bar-constants';\nimport { STATE_LAYER_CONSTANTS } from '../../state-layer';\nimport { FOCUS_INDICATOR_CONSTANTS } from '../../focus-indicator';\n\nexport interface IAppBarAdapter extends IBaseAdapter {\n initialize(): void;\n setTitleText(value: string): void;\n setHref(value: string): void;\n setTarget(value: string): void;\n addCenterSlotListener(listener: (evt: Event) => void): void;\n setCenterSlotVisibility(): void;\n}\n\nexport class AppBarAdapter extends BaseAdapter<IAppBarComponent> implements IAppBarAdapter {\n private _rootElement: HTMLElement;\n private _titleElement: HTMLElement;\n private _logoTitleContainerElement: HTMLElement | HTMLAnchorElement;\n private _centerSectionElement: HTMLElement;\n private _centerSlotElement: HTMLSlotElement;\n\n constructor(component: IAppBarComponent) {\n super(component);\n this._rootElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.ROOT);\n this._titleElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.TITLE);\n this._logoTitleContainerElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.LOGO_TITLE_CONTAINER);\n this._centerSectionElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.CENTER_SECTION);\n this._centerSlotElement = getShadowElement(component, APP_BAR_CONSTANTS.selectors.CENTER_SLOT) as HTMLSlotElement;\n }\n\n public initialize(): void {\n if (!this._component.hasAttribute('role')) {\n this._component.setAttribute('role', 'banner');\n }\n }\n\n public setTitleText(value: string): void {\n this._titleElement.textContent = value;\n }\n\n public setHref(value: string): void {\n const isAnchor = this._logoTitleContainerElement.tagName === 'A';\n if (value) {\n if (!isAnchor) {\n this._createAnchorElement();\n }\n (this._logoTitleContainerElement as HTMLAnchorElement).href = value;\n } else if (isAnchor) {\n this._logoTitleContainerElement = replaceElement(this._logoTitleContainerElement, document.createElement('div'));\n this._logoTitleContainerElement.classList.add(APP_BAR_CONSTANTS.classes.LOGO_TITLE_CONTAINER);\n\n this._logoTitleContainerElement.querySelector(STATE_LAYER_CONSTANTS.elementName)?.remove();\n this._logoTitleContainerElement.querySelector(FOCUS_INDICATOR_CONSTANTS.elementName)?.remove();\n }\n }\n\n public setTarget(value: string): void {\n if (this._logoTitleContainerElement.tagName === 'A') {\n (this._logoTitleContainerElement as HTMLAnchorElement).target = value;\n }\n }\n\n public addCenterSlotListener(listener: (evt: Event) => void): void {\n this._centerSlotElement.addEventListener('slotchange', listener);\n }\n \n public setCenterSlotVisibility(): void {\n if (this._centerSlotElement.assignedNodes().length) {\n this._centerSectionElement.style.removeProperty('display');\n this._rootElement.classList.remove(APP_BAR_CONSTANTS.classes.NO_CENTER);\n } else {\n this._centerSectionElement.style.display = 'none';\n this._rootElement.classList.add(APP_BAR_CONSTANTS.classes.NO_CENTER);\n }\n }\n\n private _createAnchorElement(): void {\n this._logoTitleContainerElement = replaceElement(this._logoTitleContainerElement, document.createElement('a'));\n this._logoTitleContainerElement.classList.add(APP_BAR_CONSTANTS.classes.LOGO_TITLE_CONTAINER);\n\n const stateLayer = document.createElement('forge-state-layer');\n const focusIndicator = document.createElement('forge-focus-indicator');\n focusIndicator.inward = true;\n\n this._logoTitleContainerElement.append(stateLayer, focusIndicator);\n }\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\nimport { IAppBarAdapter } from './app-bar-adapter';\nimport { AppBarElevation, AppBarTheme, APP_BAR_CONSTANTS } from './app-bar-constants';\n\nexport interface IAppBarFoundation extends ICustomElementFoundation {\n titleText: string;\n elevation: AppBarElevation;\n theme: string;\n href: string;\n target: string;\n}\n\nexport class AppBarFoundation implements IAppBarFoundation {\n private _titleText = '';\n private _elevation: AppBarElevation = 'raised';\n private _theme: AppBarTheme;\n private _href = '';\n private _target = '';\n\n private _centerSlotListener = (_evt: Event): void => this._adapter.setCenterSlotVisibility();\n\n constructor(private _adapter: IAppBarAdapter) {}\n\n public initialize(): void {\n this._adapter.initialize();\n this._adapter.addCenterSlotListener(this._centerSlotListener);\n this._adapter.setCenterSlotVisibility();\n }\n\n public get titleText(): string {\n return this._titleText;\n }\n public set titleText(value: string) {\n if (this._titleText !== value) {\n this._titleText = value ?? '';\n this._adapter.setTitleText(this._titleText);\n this._adapter.setHostAttribute(APP_BAR_CONSTANTS.attributes.TITLE_TEXT, value);\n }\n }\n\n public get elevation(): AppBarElevation {\n return this._elevation;\n }\n public set elevation(value: AppBarElevation) {\n if (this._elevation !== value) {\n this._elevation = value;\n this._adapter.setHostAttribute(APP_BAR_CONSTANTS.attributes.ELEVATION, value);\n }\n }\n\n public get theme(): AppBarTheme {\n return this._theme;\n }\n public set theme(value: AppBarTheme) {\n if (this._theme !== value) {\n this._theme = value ?? '';\n this._adapter.toggleHostAttribute(APP_BAR_CONSTANTS.attributes.THEME, !!this._theme, this._theme);\n }\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?.trim().length ? value.trim() : '';\n this._adapter.setHref(this._href);\n this._adapter.toggleHostAttribute(APP_BAR_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?.trim().length ? value.trim() : '';\n this._adapter.setTarget(this._target);\n this._adapter.toggleHostAttribute(APP_BAR_CONSTANTS.attributes.TARGET, !!this._target, this._target);\n }\n }\n}\n", "import { CustomElement, attachShadowTemplate, FoundationProperty } from '@tylertech/forge-core';\nimport { AppBarAdapter } from './app-bar-adapter';\nimport { AppBarFoundation } from './app-bar-foundation';\nimport { AppBarElevation, AppBarTheme, APP_BAR_CONSTANTS } from './app-bar-constants';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\n\nconst template = '<template><div class=\\\"forge-app-bar\\\" part=\\\"root\\\"><div class=\\\"row\\\"><div class=\\\"section\\\"><slot name=\\\"start\\\"></slot><div class=\\\"logo-title-container\\\"><slot name=\\\"logo\\\"></slot><slot name=\\\"title\\\"><h1 class=\\\"title\\\" part=\\\"title\\\"></h1></slot></div></div><div id=\\\"center-section\\\" class=\\\"section\\\"><slot name=\\\"center\\\"></slot></div><div class=\\\"section\\\"><slot name=\\\"end\\\"></slot></div></div><div><slot name=\\\"bottom\\\"></slot></div></div></template>';\nconst styles = ':host{--_app-bar-background:var(--forge-app-bar-background, var(--forge-theme-brand, #283593));--_app-bar-foreground:var(--forge-app-bar-foreground, var(--forge-theme-on-brand, #ffffff))}:host{display:block}:host([hidden]){display:none}:host(:not(theme)){--forge-theme-primary:var(--_app-bar-foreground);--forge-theme-on-primary:rgba(0, 0, 0, 0.87);--forge-theme-text-high:rgba(255, 255, 255, 0.87);--forge-theme-text-medium:rgba(255, 255, 255, 0.54);--forge-theme-text-low:rgba(255, 255, 255, 0.38)}.forge-app-bar{--_app-bar-z-index:var(--forge-app-bar-z-index, var(--forge-z-index-header, 4));--_app-bar-elevation:var(--forge-app-bar-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12));--_app-bar-height:var(--forge-app-bar-height, 56px);--_app-bar-row-padding:var(--forge-app-bar-row-padding, var(--forge-spacing-xxsmall, 4px));--_app-bar-logo-gap:var(--forge-app-bar-logo-gap, var(--forge-spacing-medium, 16px));--_app-bar-logo-font-size:var(--forge-app-bar-logo-font-size, calc(var(--forge-typography-font-size, 1rem) * 2.5));--_app-bar-title-padding:var(--forge-app-bar-title-padding, var(--forge-spacing-xsmall, 8px));--_app-bar-transition-duration:var(--forge-app-bar-transition-duration, var(--forge-animation-duration-short4, 200ms));--_app-bar-transition-timing:var(--forge-app-bar-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-app-bar{background:var(--_app-bar-background);color:var(--_app-bar-foreground);position:relative;z-index:var(--_app-bar-z-index);display:grid;grid-template-rows:1fr auto;-webkit-transition-property:background-color,-webkit-box-shadow;transition-property:background-color,-webkit-box-shadow;transition-property:box-shadow,background-color;transition-property:box-shadow,background-color,-webkit-box-shadow;-webkit-transition-duration:var(--_app-bar-transition-duration);transition-duration:var(--_app-bar-transition-duration);-webkit-transition-timing-function:var(--_app-bar-transition-timing);transition-timing-function:var(--_app-bar-transition-timing);-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.forge-app-bar .row{display:grid;-webkit-box-align:center;align-items:center;grid-template-columns:1fr 1fr 1fr;height:var(--_app-bar-height);padding-inline:var(--_app-bar-row-padding)}.forge-app-bar.no-center .row{grid-template-columns:1fr auto}.forge-app-bar .section{display:-webkit-inline-box;display:inline-flex;-webkit-box-flex:1;flex:1 1 auto;-webkit-box-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:0;height:100%}.forge-app-bar .section:not(:last-child):not(:first-child){-webkit-box-pack:center;justify-content:center}.forge-app-bar .section:last-child{justify-self:end}.forge-app-bar h1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-heading4-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-heading4-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-heading4-font-size-scale, 1.25)));font-weight:var(--forge-typography-heading4-font-weight,500);line-height:var(--forge-typography-heading4-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-heading4-line-height-scale, 1.5)));letter-spacing:var(--forge-typography-heading4-letter-spacing, .005em);text-transform:var(--forge-typography-heading4-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-heading4-text-decoration,inherit);text-decoration:var(--forge-typography-heading4-text-decoration,inherit);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forge-app-bar a{outline:0;text-decoration:none;color:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.forge-app-bar a forge-state-layer{--forge-state-layer-color:var(--_app-bar-foreground)}.forge-app-bar a forge-focus-indicator{--forge-focus-indicator-color:var(--_app-bar-foreground);--forge-focus-indicator-shape:4px;--forge-focus-indicator-offset-block:4px}.forge-app-bar .logo-title-container{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;gap:var(--_app-bar-logo-gap);min-width:0;padding-inline:var(--_app-bar-title-padding)}:host(:is(:not([elevation]),[elevation=raised])) .forge-app-bar{-webkit-box-shadow:var(--_app-bar-elevation);box-shadow:var(--_app-bar-elevation)}::slotted(forge-tab-bar){--forge-tab-bar-divider-thickness:0}::slotted([slot=logo]){font-size:var(--_app-bar-logo-font-size);height:1em;width:1em}::slotted(forge-app-bar-search[slot=center]){width:100%}:host([theme=white]){--forge-theme-primary:black;--forge-theme-on-primary:rgba(255, 255, 255, 0.87);--forge-theme-text-medium:rgba(0, 0, 0, 0.54)}:host([theme=white]) .forge-app-bar{--_app-bar-background:var(--forge-app-bar-background, white);--_app-bar-foreground:var(--forge-app-bar-foreground, black)}';\n\nexport interface IAppBarComponent extends IBaseComponent {\n titleText: string;\n elevation: AppBarElevation;\n theme: AppBarTheme;\n href: string;\n target: string;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-app-bar': IAppBarComponent;\n }\n}\n\n/**\n * @tag forge-app-bar\n * \n * @description App bars are a collection of components placed as a horizontal bar at the top of the screen. They typically contain a logo, title, and optional application-wide actions.\n * \n * @property {string} titleText - The text to display in the title.\n * @property {AppBarElevation} elevation - The elevation of the app bar.\n * @property {AppBarTheme} theme - The theme of the app bar.\n * @property {string} href - The href that will be used to make the logo and title area a clickable link.\n * \n * @attribute {string} title-text - The text to display in the title.\n * @attribute {string} elevation - The elevation of the app bar.\n * @attribute {string} theme - The theme of the app bar.\n * @attribute {string} href - The href that will be used to make the logo and title area a clickable link\n * \n * @cssproperty --forge-app-bar-background - The background color of the app bar.\n * @cssproperty --forge-app-bar-foreground - The text color of the app bar.\n * @cssproperty --forge-app-bar-z-index - The `z-index` of the app bar.\n * @cssproperty --forge-app-bar-elevation - The elevation of the app bar.\n * @cssproperty --forge-app-bar-height - The height of the app bar.\n * @cssproperty --forge-app-bar-row-padding - The inline padding of the app bar.\n * @cssproperty --forge-app-bar-logo-gap - The space between the logo and title.\n * @cssproperty --forge-app-bar-title-padding - The padding around the title element.\n * @cssproperty --forge-app-bar-transition-duration - The transition duration for animations.\n * @cssproperty --forge-app-bar-transition-timing - The transition timing function for animations.\n * \n * @csspart root - The root container element.\n * @csspart title - The title element.\n * \n * @slot logo - Reserved for the brand logo.\n * @slot title - Reserved for the application title. This will overwrite the `titleText` property/attribute.\n * @slot start - Places content at the beginning of the app bar.\n * @slot center - Places content in the center of the app bar.\n * @slot end - Places content at the end of the app bar.\n */\n@CustomElement({\n name: APP_BAR_CONSTANTS.elementName\n})\nexport class AppBarComponent extends BaseComponent implements IAppBarComponent {\n public static get observedAttributes(): string[] {\n return [\n APP_BAR_CONSTANTS.attributes.TITLE_TEXT,\n APP_BAR_CONSTANTS.attributes.ELEVATION,\n APP_BAR_CONSTANTS.attributes.THEME,\n APP_BAR_CONSTANTS.attributes.HREF,\n APP_BAR_CONSTANTS.attributes.TARGET\n ];\n }\n\n private _foundation: AppBarFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new AppBarFoundation(new AppBarAdapter(this));\n }\n\n public connectedCallback(): void {\n this._foundation.initialize();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case APP_BAR_CONSTANTS.attributes.TITLE_TEXT:\n this.titleText = newValue;\n break;\n case APP_BAR_CONSTANTS.attributes.ELEVATION:\n this.elevation = newValue as AppBarElevation;\n break;\n case APP_BAR_CONSTANTS.attributes.THEME:\n this.theme = newValue as AppBarTheme;\n break;\n case APP_BAR_CONSTANTS.attributes.HREF:\n this.href = newValue;\n break;\n case APP_BAR_CONSTANTS.attributes.TARGET:\n this.target = newValue;\n break;\n }\n }\n\n @FoundationProperty()\n public declare titleText: string;\n\n @FoundationProperty()\n public declare elevation: AppBarElevation;\n\n @FoundationProperty()\n public declare theme: AppBarTheme;\n\n @FoundationProperty()\n public declare href: string;\n\n @FoundationProperty()\n public declare target: string;\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\nimport { AppBarComponent } from './app-bar';\n\nexport * from './app-bar-adapter';\nexport * from './app-bar-constants';\nexport * from './app-bar-foundation';\nexport * from './app-bar';\n\nexport function defineAppBarCompon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C3C,KAAK,YAAc,IAAII,EAAiB,IAAIC,EAAc,IAAI,CAAC,CACjE,CAhBA,WAAkB,oBAA+B,CAC/C,MAAO,CACLC,EAAkB,WAAW,WAC7BA,EAAkB,WAAW,UAC7BA,EAAkB,WAAW,MAC7BA,EAAkB,WAAW,KAC7BA,EAAkB,WAAW,MAC/B,CACF,CAUO,mBAA0B,CAC/B,KAAK,YAAY,WAAW,CAC9B,CAEO,yBAAyBC,EAAcC,EAAkBC,EAAwB,CACtF,OAAQF,EAAM,CACZ,KAAKD,EAAkB,WAAW,WAChC,KAAK,UAAYG,EACjB,MACF,KAAKH,EAAkB,WAAW,UAChC,KAAK,UAAYG,EACjB,MACF,KAAKH,EAAkB,WAAW,MAChC,KAAK,MAAQG,EACb,MACF,KAAKH,EAAkB,WAAW,KAChC,KAAK,KAAOG,EACZ,MACF,KAAKH,EAAkB,WAAW,OAChC,KAAK,OAASG,EACd,KACJ,CACF,CAgBF,EAbiBC,EAAA,CADdC,EAAmB,GA3CTV,EA4CI,yBAGAS,EAAA,CADdC,EAAmB,GA9CTV,EA+CI,yBAGAS,EAAA,CADdC,EAAmB,GAjDTV,EAkDI,qBAGAS,EAAA,CADdC,EAAmB,GApDTV,EAqDI,oBAGAS,EAAA,CADdC,EAAmB,GAvDTV,EAwDI,sBAxDJA,EAANS,EAAA,CAHNE,EAAc,CACb,KAAMN,EAAkB,WAC1B,CAAC,GACYL,GCrDN,SAASY,IAA8B,CAC5CC,EAAoBC,CAAe,CACrC",
6
6
  "names": ["elementName", "COMPONENT_NAME_PREFIX", "observedAttributes", "attributes", "__spreadValues", "classes", "selectors", "APP_BAR_CONSTANTS", "AppBarAdapter", "BaseAdapter", "component", "getShadowElement", "APP_BAR_CONSTANTS", "value", "_a", "_b", "isAnchor", "replaceElement", "STATE_LAYER_CONSTANTS", "FOCUS_INDICATOR_CONSTANTS", "listener", "stateLayer", "focusIndicator", "AppBarFoundation", "_adapter", "_evt", "value", "APP_BAR_CONSTANTS", "_a", "template", "styles", "AppBarComponent", "BaseComponent", "attachShadowTemplate", "AppBarFoundation", "AppBarAdapter", "APP_BAR_CONSTANTS", "name", "oldValue", "newValue", "__decorateClass", "FoundationProperty", "CustomElement", "defineAppBarComponent", "defineCustomElement", "AppBarComponent"]
7
7
  }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{b as p}from"./chunk.SVVF632P.js";import{e as R,f as C,g as v,h as o,i as y,j as d,k as T}from"./chunk.6ZJIHOIG.js";import{v as b}from"./chunk.HZUQXCOQ.js";var F={"aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-current":"ariaCurrent","aria-disabled":"ariaDisabled","aria-expanded":"ariaExpanded","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText",role:"role"};function f(e){return e.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}function S(e){return F[e]}function M(e,r,i,s){if(p()){Object.entries(i).forEach(([t,a])=>{r[t]=a});return}Object.entries(i).forEach(([t,a])=>{let n=f(t);(s!=null&&s.overwrite||!e.hasAttribute(n))&&b(e,a!=null,f(t),a==null?void 0:a.toString()),a!=null?P(e,t,a):k(e,t)})}function P(e,r,i){e[x(r)]=i}function k(e,r){delete e[x(r)]}function V(e,r){let i=e[x(r)];return i||null}function E(e,r){let i=V(e,r);i!==null&&b(e,!0,f(r),i.toString())}function x(e){return`_forge_${e}Default`}function q(e,r){class i extends e{constructor(...a){super(...a);this[o]=this.attachInternals()}attributeChangedCallback(a,n,l){var u;if((u=super.attributeChangedCallback)==null||u.call(this,a,n,l),!(!r||p())&&r.includes(a)&&!l){let c=S(a);this._restoreDefaultAria(c)}}[(o,T)](a,n){M(this,this[o],a,n)}_restoreDefaultAria(a){E(this,a)}}return i}var g=Symbol("privateIsFocusable"),m=Symbol("externalTabIndex"),A=Symbol("isUpdatingTabIndex"),I=Symbol("updateTabIndex");function J(e){var i,s,t;class r extends e{constructor(){super(...arguments);this[i]=!1;this[s]=null;this[t]=!1}get[d](){return this[g]}set[d](l){this[d]!==l&&(this[g]=l,this[I]())}connectedCallback(){var l;(l=super.connectedCallback)==null||l.call(this),this[d]=!0}attributeChangedCallback(l,u,c){var h;if((h=super.attributeChangedCallback)==null||h.call(this,l,u,c),!(l!=="tabindex"||this[A])){if(!this.hasAttribute("tabindex")){this[m]=null,this[I]();return}this[m]=this.tabIndex}}[(i=g,s=m,t=A,I)](){var c;let l=this[d]?0:-1,u=(c=this[m])!=null?c:l;this[A]=!0,this.tabIndex=u,this[A]=!1}}return r}function ae(e){class r extends e{get form(){return this[o].form}get labels(){return this[o].labels}get name(){var t;return(t=this.getAttribute("name"))!=null?t:""}set name(t){b(this,!!t,"name",t)}[C](){return this[R]()}formDisabledCallback(t){this.disabled=t}set[y](t){let a=t==="select"?document.createElement("select"):document.createElement("input");a.setAttribute("type",t),a.name="internal",this._inputElement=a}[v](t){if(this._inputElement)return this[o].validity.customError?this[o].validationMessage:(Object.entries(t).forEach(([a,n])=>this._inputElement[a]=n),this._inputElement.validationMessage)}}return r.formAssociated=!0,r}function re(e){class r extends e{}return r}export{q as a,J as b,ae as c,re as d};
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/internal/aria/aria.ts)
14
+ */
15
+ /**
16
+ * @license
17
+ * Copyright 2023 Google LLC
18
+ * SPDX-License-Identifier: Apache-2.0
19
+ *
20
+ * Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
21
+ * The original source code can be found at: [GitHub](https://github.com/material-components/material-web/blob/main/labs/behaviors/focusable.ts)
22
+ */
23
+ /**
24
+ * @license
25
+ * Copyright 2023 Google LLC
26
+ * SPDX-License-Identifier: Apache-2.0
27
+ *
28
+ * Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
29
+ * The original source code can be found at: [GitHub](https://github.com/material-components/material-web/blob/main/labs/behaviors/form-associated.ts)
30
+ */
31
+ //# sourceMappingURL=chunk.BJD6BKGC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/core/utils/a11y-utils.ts", "../../src/core/base/base-element-internals-component.ts", "../../src/core/base/base-focusable-component.ts", "../../src/core/base/base-form-associated-component.ts", "../../src/core/base/base-label-aware-component.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/internal/aria/aria.ts)\n */\n\nimport { toggleAttribute } from '@tylertech/forge-core';\nimport { supportsElementInternalsAria } from './feature-detection';\n\n/**\n * Reflective ARIA property name types.\n */\nexport type ARIAProperty = Exclude<keyof ARIAMixin, 'role'>;\n\n/**\n * Reflective ARIA attributes.\n */\nexport type ARIAAttribute = `${ARIAPropertyToAttribute<ARIAProperty>}` | 'role';\n\n/**\n * Reflective ARIA properties.\n */\nexport const ARIA_PROPERTIES: ARIAProperty[] = [\n 'ariaAtomic',\n 'ariaAutoComplete',\n 'ariaBusy',\n 'ariaChecked',\n 'ariaColCount',\n 'ariaColIndex',\n 'ariaColSpan',\n 'ariaCurrent',\n 'ariaDisabled',\n 'ariaExpanded',\n 'ariaHasPopup',\n 'ariaHidden',\n 'ariaInvalid',\n 'ariaKeyShortcuts',\n 'ariaLabel',\n 'ariaLevel',\n 'ariaLive',\n 'ariaModal',\n 'ariaMultiLine',\n 'ariaMultiSelectable',\n 'ariaOrientation',\n 'ariaPlaceholder',\n 'ariaPosInSet',\n 'ariaPressed',\n 'ariaReadOnly',\n 'ariaRequired',\n 'ariaRoleDescription',\n 'ariaRowCount',\n 'ariaRowIndex',\n 'ariaRowSpan',\n 'ariaSelected',\n 'ariaSetSize',\n 'ariaSort',\n 'ariaValueMax',\n 'ariaValueMin',\n 'ariaValueNow',\n 'ariaValueText'\n];\n\n/**\n * An object mapping all ARIA attributes to their corresponding properties.\n * \n * This is required because the proeprty name cannot be reliably inferred from the attribute name.\n */\nconst ARIA_ATTRIBUTES_TO_PROPERTIES: Record<ARIAAttribute, ARIAProperty | 'role'> = {\n 'aria-atomic': 'ariaAtomic',\n 'aria-autocomplete': 'ariaAutoComplete',\n 'aria-busy': 'ariaBusy',\n 'aria-checked': 'ariaChecked',\n 'aria-colcount': 'ariaColCount',\n 'aria-colindex': 'ariaColIndex',\n 'aria-colindextext': 'ariaColIndexText',\n 'aria-colspan': 'ariaColSpan',\n 'aria-current': 'ariaCurrent',\n 'aria-disabled': 'ariaDisabled',\n 'aria-expanded': 'ariaExpanded',\n 'aria-haspopup': 'ariaHasPopup',\n 'aria-hidden': 'ariaHidden',\n 'aria-invalid': 'ariaInvalid',\n 'aria-keyshortcuts': 'ariaKeyShortcuts',\n 'aria-label': 'ariaLabel',\n 'aria-level': 'ariaLevel',\n 'aria-live': 'ariaLive',\n 'aria-modal': 'ariaModal',\n 'aria-multiline': 'ariaMultiLine',\n 'aria-multiselectable': 'ariaMultiSelectable',\n 'aria-orientation': 'ariaOrientation',\n 'aria-placeholder': 'ariaPlaceholder',\n 'aria-posinset': 'ariaPosInSet',\n 'aria-pressed': 'ariaPressed',\n 'aria-readonly': 'ariaReadOnly',\n 'aria-required': 'ariaRequired',\n 'aria-roledescription': 'ariaRoleDescription',\n 'aria-rowcount': 'ariaRowCount',\n 'aria-rowindex': 'ariaRowIndex',\n 'aria-rowindextext': 'ariaRowIndexText',\n 'aria-rowspan': 'ariaRowSpan',\n 'aria-selected': 'ariaSelected',\n 'aria-setsize': 'ariaSetSize',\n 'aria-sort': 'ariaSort',\n 'aria-valuemax': 'ariaValueMax',\n 'aria-valuemin': 'ariaValueMin',\n 'aria-valuenow': 'ariaValueNow',\n 'aria-valuetext': 'ariaValueText',\n 'role': 'role'\n};\n\n/**\n * ARIA role values.\n */\nexport type ARIARole =\n 'alert'|'alertdialog'|'button'|'checkbox'|'dialog'|'gridcell'|'link'|'log'|\n 'marquee'|'menuitem'|'menuitemcheckbox'|'menuitemradio'|'option'|\n 'progressbar'|'radio'|'scrollbar'|'searchbox'|'slider'|'spinbutton'|\n 'status'|'switch'|'tab'|'tabpanel'|'textbox'|'timer'|'tooltip'|'treeitem'|\n 'combobox'|'grid'|'listbox'|'menu'|'menubar'|'radiogroup'|'tablist'|'tree'|\n 'treegrid'|'application'|'article'|'cell'|'columnheader'|'definition'|\n 'directory'|'document'|'feed'|'figure'|'group'|'heading'|'img'|'list'|\n 'listitem'|'math'|'none'|'note'|'presentation'|'region'|'row'|'rowgroup'|\n 'rowheader'|'separator'|'table'|'term'|'text'|'toolbar'|'banner'|\n 'complementary'|'contentinfo'|'form'|'main'|'navigation'|'region'|'search'|\n 'doc-abstract'|'doc-acknowledgments'|'doc-afterword'|'doc-appendix'|\n 'doc-backlink'|'doc-biblioentry'|'doc-bibliography'|'doc-biblioref'|\n 'doc-chapter'|'doc-colophon'|'doc-conclusion'|'doc-cover'|'doc-credit'|\n 'doc-credits'|'doc-dedication'|'doc-endnote'|'doc-endnotes'|'doc-epigraph'|\n 'doc-epilogue'|'doc-errata'|'doc-example'|'doc-footnote'|'doc-foreword'|\n 'doc-glossary'|'doc-glossref'|'doc-index'|'doc-introduction'|'doc-noteref'|\n 'doc-notice'|'doc-pagebreak'|'doc-pagelist'|'doc-part'|'doc-preface'|\n 'doc-prologue'|'doc-pullquote'|'doc-qna'|'doc-subtitle'|'doc-tip'|'doc-toc';\n\n/**\n * Strictly typed ARIA properties.\n */\nexport interface ARIAMixinStrict extends ARIAMixin {\n ariaAtomic: 'true'|'false'|null;\n ariaAutoComplete: 'none'|'inline'|'list'|'both'|null;\n ariaBusy: 'true'|'false'|null;\n ariaChecked: 'true'|'false'|null;\n ariaColCount: `${number}`|null;\n ariaColIndex: `${number}`|null;\n ariaColSpan: `${number}`|null;\n ariaCurrent: 'page'|'step'|'location'|'date'|'time'|'true'|'false'|null;\n ariaDisabled: 'true'|'false'|null;\n ariaExpanded: 'true'|'false'|null;\n ariaHasPopup: 'false'|'true'|'menu'|'listbox'|'tree'|'grid'|'dialog'|null;\n ariaHidden: 'true'|'false'|null;\n ariaInvalid: 'true'|'false'|null;\n ariaKeyShortcuts: string|null;\n ariaLabel: string|null;\n ariaLevel: `${number}`|null;\n ariaLive: 'assertive'|'off'|'polite'|null;\n ariaModal: 'true'|'false'|null;\n ariaMultiLine: 'true'|'false'|null;\n ariaMultiSelectable: 'true'|'false'|null;\n ariaOrientation: 'horizontal'|'vertical'|'undefined'|null;\n ariaPlaceholder: string|null;\n ariaPosInSet: `${number}`|null;\n ariaPressed: 'true'|'false'|null;\n ariaReadOnly: 'true'|'false'|null;\n ariaRequired: 'true'|'false'|null;\n ariaRoleDescription: string|null;\n ariaRowCount: `${number}`|null;\n ariaRowIndex: `${number}`|null;\n ariaRowSpan: `${number}`|null;\n ariaSelected: 'true'|'false'|null;\n ariaSetSize: `${number}`|null;\n ariaSort: 'ascending'|'descending'|'none'|'other'|null;\n ariaValueMax: `${number}`|null;\n ariaValueMin: `${number}`|null;\n ariaValueNow: `${number}`|null;\n ariaValueText: string|null;\n role: ARIARole|null;\n}\n\n/**\n * The ARIA attribute corresponding to a given ARIA property.\n */\nexport type ARIAPropertyToAttribute<K extends string> = K extends `aria${infer Suffix}Element${infer OptS}`\n ? `aria-${Lowercase < Suffix >}`\n : K extends `aria${infer Suffix}` ? `aria-${Lowercase < Suffix >}` : K;\n\n/**\n * Gets the ARIA attribute corresponding to a given ARIA property.\n * \n * @param property An ARIA mixin property.\n * @returns An ARIA attribute name.\n */\nexport function ariaPropertyToAttribute<K extends ARIAProperty|'role'>(property: K): string {\n return property\n .replace('aria', 'aria-')\n // IDREF attributes also include an \"Element\" or \"Elements\" suffix\n .replace(/Elements?/g, '')\n .toLowerCase() as ARIAPropertyToAttribute<K>;\n}\n\n/**\n * Gets the ARIA property corresponding to a given ARIA attribute.\n * \n * @param attribute An ARIA attribute name.\n * @returns An ARIA mixin property.\n */\nexport function ariaAttributeToProperty<K extends ARIAAttribute|'role'>(attribute: K): ARIAProperty {\n return ARIA_ATTRIBUTES_TO_PROPERTIES[attribute] as ARIAProperty;\n}\n\n// TODO: deprecate and remove `setupDefaultAria` and related functions when ARIA in\n// ElementInternals is widely supported in all major browsers.\n\nexport interface DefaultAriaOptions {\n overwrite?: boolean;\n}\n\n/**\n * Applies default ARIA to an element through ElementInternals if supported. Otherwise, ARIA\n * attributes are set directly on the element and stored in additional `data-default-*` attributes\n * for restoration in case attributes are overwritten during the element's lifecycle.\n * \n * This fallback is needed for browsers that don't support ARIA in ElementInternals, such as most\n * recent versions of Firefox.\n * \n * Because new attributes may be sprouted on the element, it is necessary to call this after the\n * element has been connected to the DOM.\n * \n * @param element - The element to set up ARIA attributes for.\n * @param internals - The ElementInternals object to use for setting ARIA attributes if supported.\n * @param properties - An object containing ARIA properties and their values to set as defaults.\n * @param options - A `DefaultAriaOptions` object.\n * \n * @example\n * class ButtonComponent extends BaseComponent {\n * public readonly internals: ElementInternals;\n * \n * constructor() {\n * super();\n * this.internals = this.attachInternals();\n * }\n * \n * public connectedCallback(): void {\n * setDefaultAria(this, this.internals, {\n * role: 'button'\n * });\n * }\n * }\n */\nexport function setDefaultAria(\n element: HTMLElement,\n internals: ElementInternals,\n properties: Partial<ARIAMixinStrict>,\n options?: DefaultAriaOptions\n): void {\n if (supportsElementInternalsAria()) {\n Object.entries(properties).forEach(([key, value]) => {\n internals[key as ARIAProperty] = value;\n });\n return;\n }\n\n Object.entries(properties).forEach(([key, value]) => {\n const ariaAttribute = ariaPropertyToAttribute(key as ARIAProperty);\n\n if (options?.overwrite || !element.hasAttribute(ariaAttribute)) {\n toggleAttribute(element, value != null, ariaPropertyToAttribute(key as ARIAProperty), value?.toString());\n }\n if (value != null) {\n storeDefaultAria(element, key as ARIAProperty, value);\n } else {\n removeDefaultAria(element, key as ARIAProperty);\n }\n });\n}\n\n/**\n * Sets a `*Default` property on an element to backup the default value of an ARIA attribute.\n * \n * @param element The element to store the default ARIA value on.\n * @param property The ARIA mixin property.\n * @param value The default value to store.\n */\nexport function storeDefaultAria<T extends keyof ARIAMixinStrict>(element: HTMLElement, property: T, value: ARIAMixinStrict[T]): void {\n element[getDefaultAriaPropertyName(property)] = value;\n}\n\n/**\n * Removes a `*Default` property from an element.\n * \n * @param element The element to remove the default ARIA value from.\n * @param property The ARIA mixin property.\n */\nexport function removeDefaultAria<T extends keyof ARIAMixinStrict>(element: HTMLElement, property: T): void {\n delete element[getDefaultAriaPropertyName(property)];\n}\n\n/**\n * Gets a default ARIA value from an element's `*Default` property.\n * \n * @param element The element to retrieve the default ARIA value from.\n * @param property An ARIA mixin property.\n * @returns The value of the default ARIA attribute, or null if it does not exist.\n */\nexport function retrieveDefaultAria<T extends keyof ARIAMixinStrict>(element: HTMLElement, property: T): ARIAMixinStrict[T] | null {\n const value = element[getDefaultAriaPropertyName(property)];\n return !!value ? value as ARIAMixinStrict[T] : null;\n}\n\n/**\n * Restores the given ARIA attribute of an element to its default value if it exists.\n * \n * @param element The element to restore the ARIA attribute on.\n * @param property The ARIA mixin property.\n */\nexport function restoreDefaultAria<T extends keyof ARIAMixinStrict>(element: HTMLElement, property: T): void {\n const defaultValue = retrieveDefaultAria(element, property);\n if (defaultValue !== null) {\n toggleAttribute(element, true, ariaPropertyToAttribute(property), defaultValue.toString());\n }\n}\n\nfunction getDefaultAriaPropertyName<T extends keyof ARIAMixinStrict>(property: T): string {\n return `_forge_${property}Default`;\n}\n", "import { internals, MixinBase, setDefaultAria, AbstractConstructor } from '../../constants';\nimport {\n ARIAAttribute,\n ariaAttributeToProperty,\n ARIAMixinStrict,\n DefaultAriaOptions,\n restoreDefaultAria as restoreDefaultAriaUtil,\n setDefaultAria as setDefaultAriaUtil\n} from '../utils/a11y-utils';\nimport { supportsElementInternalsAria } from '../utils/feature-detection';\nimport { IBaseComponent } from './base-component';\n\n/**\n * A component with attached Element Internals.\n */\nexport interface IWithElementInternals extends IBaseComponent {\n /**\n * The Element Internals of the component.\n */\n readonly [internals]: ElementInternals;\n\n /**\n * Sets the default ARIA of the component using Element Internals if supported or sprouting\n * ARIA attributes if not.\n * \n * @param properties The ARIA properties and values to set.\n * @param options Whether or not to overwrite existing ARIA attributes. This only takes effect\n * if Element Internals are not supported and a new attribute will be sprouted.\n */\n [setDefaultAria](properties: Partial<ARIAMixinStrict>, options?: DefaultAriaOptions): void;\n}\n\nexport declare abstract class WithElementInternalsContract {\n public readonly [internals]: ElementInternals;\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void;\n public [setDefaultAria](properties: Partial<ARIAMixinStrict>, options?: DefaultAriaOptions): void;\n}\n\n/**\n * Mixes in Element Internals functionality into a base component.\n * \n * @param base The base component to mix into.\n * @param observedAria An array of ARIA attributes to observe for changes. If an observed attribute\n * is removed, the default ARIA will be restored. This is only used if Element Internals is not\n * supported.\n * @returns The mixed-in base component.\n */\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function WithElementInternals<TBase extends MixinBase>(base: TBase, observedAria?: ARIAAttribute[]) {\n abstract class ElementInternalsComponent extends base implements IWithElementInternals {\n public readonly [internals]: ElementInternals;\n\n constructor(...args: any[]) {\n super(...args);\n this[internals] = this.attachInternals();\n }\n\n public override attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n super.attributeChangedCallback?.(name, oldValue, newValue);\n\n // If Element Internals is supported our default ARIA is never set as an attribute, so\n // there's nothing to do here.\n if (!observedAria || supportsElementInternalsAria()) {\n return;\n }\n\n // If the observed attribute is removed, restore the default ARIA.\n if (observedAria.includes(name as ARIAAttribute) && !newValue) {\n const ariaPropertyName = ariaAttributeToProperty(name as ARIAAttribute);\n this._restoreDefaultAria(ariaPropertyName);\n }\n }\n\n public [setDefaultAria](properties: Partial<ARIAMixinStrict>, options?: DefaultAriaOptions): void {\n setDefaultAriaUtil(this, this[internals], properties, options);\n }\n\n private _restoreDefaultAria(name: keyof ARIAMixinStrict): void {\n restoreDefaultAriaUtil(this, name);\n }\n }\n\n return ElementInternalsComponent as AbstractConstructor<WithElementInternalsContract> & TBase;\n}\n", "/**\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/focusable.ts)\n */\n\nimport { AbstractConstructor, isFocusable, MixinBase } from '../../constants';\nimport { IBaseComponent } from './base-component';\n\n/**\n * An element that can enable and disable `tabindex` focusability.\n */\nexport interface IWithFocusable extends IBaseComponent {\n /**\n * Whether or not the element can be focused. Defaults to true. Set to false\n * to disable focusing (unless a user has set a `tabindex`).\n */\n [isFocusable]: boolean;\n}\n\nconst _privateIsFocusable = Symbol('privateIsFocusable');\nconst _externalTabIndex = Symbol('externalTabIndex');\nconst _isUpdatingTabIndex = Symbol('isUpdatingTabIndex');\nconst _updateTabIndex = Symbol('updateTabIndex');\n\nexport declare abstract class WithFocusableContract {\n public get [isFocusable](): boolean;\n public set [isFocusable](value: boolean);\n\n public connectedCallback(): void;\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void;\n}\n\n/**\n * Provides focusable functionality for an element.\n *\n * Elements can enable and disable their focusability with the `isFocusable`\n * symbol property. **Use this instead of changing `tabIndex` directly.**\n *\n * This will preserve externally-set tabindices. If an element sets `tabindex=\"-1\"`,\n * but a user sets `tabindex=\"0\"`, it will still be focusable.\n *\n * To remove user overrides and restore focus control to the element, remove the `tabindex` attribute.\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 WithFocusable<TBase extends MixinBase>(base: TBase) {\n abstract class FocusableComponent extends base implements IWithFocusable {\n public get [isFocusable](): boolean {\n return this[_privateIsFocusable];\n }\n \n /**\n * Whether or not the element can be focused.\n * \n * Set this from inheriting components **instead** of directly manipulating `tabIndex`.\n */\n public set [isFocusable](value: boolean) {\n if (this[isFocusable] === value) {\n return;\n }\n this[_privateIsFocusable] = value;\n this[_updateTabIndex]();\n }\n \n private [_privateIsFocusable] = false;\n private [_externalTabIndex]: number | null = null; // Allows for external tabIndex to be stored when internal tabIndex is set to -1\n private [_isUpdatingTabIndex] = false; // Allows for internal tabIndex to be set without triggering attributeChangedCallback\n\n public override connectedCallback(): void {\n super.connectedCallback?.();\n \n // This must be set in the connectedCallback to avoid sprouting a tabindex attribute on the host from the ctor\n this[isFocusable] = true;\n }\n \n public override attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n super.attributeChangedCallback?.(name, oldValue, newValue);\n\n if (name !== 'tabindex' || this[_isUpdatingTabIndex]) {\n return;\n }\n \n if (!this.hasAttribute('tabindex')) {\n // User removed the attribute, can now use internal tabIndex\n this[_externalTabIndex] = null;\n this[_updateTabIndex]();\n return;\n }\n \n this[_externalTabIndex] = this.tabIndex;\n }\n\n private [_updateTabIndex](): void {\n const internalTabIndex = this[isFocusable] ? 0 : -1;\n const computedTabIndex = this[_externalTabIndex] ?? internalTabIndex;\n // const computedTabIndex = internalTabIndex === 0 ? this[_externalTabIndex] ?? internalTabIndex : internalTabIndex;\n \n this[_isUpdatingTabIndex] = true;\n this.tabIndex = computedTabIndex;\n this[_isUpdatingTabIndex] = false;\n }\n }\n return FocusableComponent as AbstractConstructor<WithFocusableContract> & TBase;\n}\n", "/**\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-component';\n\n/**\n * A component that can be associated with a form.\n */\nexport interface IWithFormAssociation 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 value to use in form submission.\n */\n value: FormValue | null;\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(\n state: FormRestoreState | null,\n reason: FormRestoreReason,\n ): 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 value(): FormValue | null;\n public abstract set value(value: FormValue | null);\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(\n state: FormRestoreState | null,\n reason: FormRestoreReason\n ): 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 value(): FormValue | null;\n public abstract set value(value: FormValue | null);\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", "import { AbstractConstructor, MixinBase } from '../../constants';\nimport { IBaseComponent } from './base-component';\n\n/**\n * An element that can be associated with a Forge label component.\n */\nexport interface IWithLabelAwareness extends IBaseComponent {\n /**\n * A callback for when the associated label's text content changes.\n * \n * @param value The new text content of the label, or null if the label was removed or has no\n * text content.\n */\n labelChangedCallback(value: string | null): void;\n\n /**\n * A callback for when the associated label is clicked.\n */\n labelClickedCallback?(): void;\n}\n\nexport declare abstract class WithLabelAwarenessContract {\n public abstract labelChangedCallback(value: string | null): void;\n}\n\n/**\n * Mixes in Forge label awareness 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 WithLabelAwareness<TBase extends MixinBase>(base: TBase) {\n abstract class LabelAwareComponent extends base implements WithLabelAwarenessContract {\n public abstract labelChangedCallback(value: string | null): void;\n }\n\n return LabelAwareComponent as AbstractConstructor<WithLabelAwarenessContract> & TBase;\n}\n"],
5
+ "mappings": "kKAsEA,IAAMA,EAA8E,CAClF,cAAe,aACf,oBAAqB,mBACrB,YAAa,WACb,eAAgB,cAChB,gBAAiB,eACjB,gBAAiB,eACjB,oBAAqB,mBACrB,eAAgB,cAChB,eAAgB,cAChB,gBAAiB,eACjB,gBAAiB,eACjB,gBAAiB,eACjB,cAAe,aACf,eAAgB,cAChB,oBAAqB,mBACrB,aAAc,YACd,aAAc,YACd,YAAa,WACb,aAAc,YACd,iBAAkB,gBAClB,uBAAwB,sBACxB,mBAAoB,kBACpB,mBAAoB,kBACpB,gBAAiB,eACjB,eAAgB,cAChB,gBAAiB,eACjB,gBAAiB,eACjB,uBAAwB,sBACxB,gBAAiB,eACjB,gBAAiB,eACjB,oBAAqB,mBACrB,eAAgB,cAChB,gBAAiB,eACjB,eAAgB,cAChB,YAAa,WACb,gBAAiB,eACjB,gBAAiB,eACjB,gBAAiB,eACjB,iBAAkB,gBAClB,KAAQ,MACV,EAkFO,SAASC,EAAuDC,EAAqB,CAC1F,OAAOA,EACJ,QAAQ,OAAQ,OAAO,EAEvB,QAAQ,aAAc,EAAE,EACxB,YAAY,CACjB,CAQO,SAASC,EAAwDC,EAA4B,CAClG,OAAOJ,EAA8BI,CAAS,CAChD,CAyCO,SAASC,EACdC,EACA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,CAAG,EAAIV,CAAK,EAEzE,KAAK,cAAc,kBAC5B,CACF,CA3EE,OADaH,EACU,eAAiB,GA6EnCA,CACT,CC/MO,SAASc,GAA4CC,EAAa,CACvE,MAAeC,UAA4BD,CAA2C,CAEtF,CAEA,OAAOC,CACT",
6
+ "names": ["ARIA_ATTRIBUTES_TO_PROPERTIES", "ariaPropertyToAttribute", "property", "ariaAttributeToProperty", "attribute", "setDefaultAria", "element", "internals", "properties", "options", "supportsElementInternalsAria", "key", "value", "ariaAttribute", "toggleAttribute", "storeDefaultAria", "removeDefaultAria", "getDefaultAriaPropertyName", "retrieveDefaultAria", "restoreDefaultAria", "defaultValue", "WithElementInternals", "base", "observedAria", "ElementInternalsComponent", "args", "internals", "name", "oldValue", "newValue", "_a", "supportsElementInternalsAria", "ariaPropertyName", "ariaAttributeToProperty", "setDefaultAria", "properties", "options", "restoreDefaultAria", "_privateIsFocusable", "_externalTabIndex", "_isUpdatingTabIndex", "_updateTabIndex", "WithFocusable", "base", "_a", "_b", "_c", "FocusableComponent", "isFocusable", "value", "name", "oldValue", "newValue", "internalTabIndex", "computedTabIndex", "WithFormAssociation", "base", "FormAssociatedComponent", "internals", "_a", "value", "toggleAttribute", "getFormState", "getFormValue", "disabled", "inputType", "type", "inputElement", "getValidationMessage", "props", "key", "WithLabelAwareness", "base", "LabelAwareComponent"]
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{d as x,e as D}from"./chunk.FJRCWWE2.js";import{a as y}from"./chunk.OUIWXKO2.js";import{a as E}from"./chunk.3TKTJ3BY.js";import{a as l}from"./chunk.NVUMRW44.js";import{a as b}from"./chunk.T4J66YX5.js";import{a as L}from"./chunk.6ZJIHOIG.js";import{a as v,e as f,f as c,k as _}from"./chunk.TPXXHX5J.js";import{k as p,l as u}from"./chunk.J2M2MXP2.js";import{d as s}from"./chunk.M3QDAYD2.js";var C=`${L}file-picker`,I={ACCEPT:"accept",MAX_SIZE:"max-size",CAPTURE:"capture",MULTIPLE:"multiple",DISABLED:"disabled",COMPACT:"compact",BORDERLESS:"borderless"},T={HIGHLIGHT:"highlight",DISABLED:"disabled",COMPACT:"compact",BORDERLESS:"borderless"},S={CONTAINER:"container",BUTTON:"button",INPUT:"input"},A={CONTAINER:"#container",BUTTON:"#button",INPUT:"#input",BUTTON_SLOT:"#button-slot"},P={FILES_CHANGED:`${C}-change`},i={elementName:C,attributes:I,classes:T,ids:S,selectors:A,events:P};var d=class extends E{constructor(e){super(e);this._container=c(e,i.selectors.CONTAINER),this._buttonSlot=c(e,i.selectors.BUTTON_SLOT),this._input=c(e,i.selectors.INPUT),this._inputEventListener=()=>{this._input.value="",this._input.click()},this._container.addEventListener("click",this._inputEventListener)}registerButtonSlotListener(e){this._buttonSlot.addEventListener("slotchange",e)}registerInputChangeListener(e){this._input.addEventListener("change",e)}registerDragEnterListener(e){this._container.addEventListener("dragenter",e)}registerDragLeaveListener(e){this._container.addEventListener("dragleave",e)}registerDragOverListener(e){this._container.addEventListener("dragover",e)}registerDropListener(e){this._container.addEventListener("drop",e)}removeDragEnterListener(e){this._container.removeEventListener("dragenter",e)}removeDragLeaveListener(e){this._container.removeEventListener("dragleave",e)}removeDragOverListener(e){this._container.removeEventListener("dragover",e)}removeDropListener(e){this._container.removeEventListener("drop",e)}initializeButton(){let e=this._component.querySelector("button");this._button=e||void 0}setHighlightState(e){this._container.classList.contains(i.classes.HIGHLIGHT)!==e&&this._container.classList.toggle(i.classes.HIGHLIGHT)}setAccept(e){e?this._input.setAttribute("accept",e):this._input.removeAttribute("accept")}setCapture(e){e?this._input.setAttribute("capture",e):this._input.removeAttribute("capture")}setMultiple(e){e?this._input.setAttribute("multiple",""):this._input.removeAttribute("multiple")}setDisabled(e){var n,o;e?(this._container.removeEventListener("click",this._inputEventListener),(n=this._button)==null||n.setAttribute("disabled",""),this._container.setAttribute("disabled","")):(this._container.addEventListener("click",this._inputEventListener),(o=this._button)==null||o.removeAttribute("disabled"),this._container.removeAttribute("disabled"))}setCompact(e){this._container.classList.contains(i.classes.COMPACT)!==e&&this._container.classList.toggle(i.classes.COMPACT)}setBorderless(e){this._container.classList.contains(i.classes.BORDERLESS)!==e&&this._container.classList.toggle(i.classes.BORDERLESS)}};var g=class{constructor(t){this._adapter=t;this._isInitialized=!1;this._accept=null;this._maxSize=null;this._capture=null;this._multiple=!1;this._disabled=!1;this._compact=!1;this._borderless=!1;this._buttonSlotListener=e=>this._onButtonSlotChanged(e),this._inputChangeListener=e=>this._onInputChange(e),this._dragEnterListener=e=>this._onDragEnter(e),this._dragLeaveListener=e=>this._onDragLeave(e),this._dragOverListener=e=>this._onDragOver(e),this._dropListener=e=>this._onDrop(e),this._adapter.registerButtonSlotListener(this._buttonSlotListener),this._adapter.registerInputChangeListener(this._inputChangeListener),this._compact||this._registerDragListeners()}initialize(){this._adapter.initializeButton(),this._adapter.setDisabled(this._disabled),this._isInitialized=!0}destroy(){this._isInitialized=!1}_onButtonSlotChanged(t){this._adapter.initializeButton()}_onInputChange(t){let e=t.target.files;e&&this._handleFiles(e)}_onDragEnter(t){this._handleDragEvent(t,!0)}_onDragLeave(t){this._handleDragEvent(t,!1)}_onDragOver(t){this._handleDragEvent(t,!0)}_onDrop(t){if(this._handleDragEvent(t,!1),!this._disabled){let e=t.dataTransfer;if(e){let n=e.files;this._handleFiles(n)}}}_registerDragListeners(){this._adapter.registerDragEnterListener(this._dragEnterListener),this._adapter.registerDragLeaveListener(this._dragLeaveListener),this._adapter.registerDragOverListener(this._dragOverListener),this._adapter.registerDropListener(this._dropListener)}_removeDragListeners(){this._adapter.removeDragEnterListener(this._dragEnterListener),this._adapter.removeDragLeaveListener(this._dragLeaveListener),this._adapter.removeDragOverListener(this._dragOverListener),this._adapter.removeDropListener(this._dropListener)}_handleFiles(t){let e={};if(t){let n=this._sortFiles(t),o=n.legalFiles||null;!this._multiple&&o&&o.length>1&&(o=o.splice(1)),e=n}this._adapter.emitHostEvent(i.events.FILES_CHANGED,e)}_sortFiles(t){let e=[],n=[];if(!this._accept&&!this.maxSize)return e=Array.from(t),{legalFiles:e,illegalFiles:n};let o=this._accept?this._accept.split(",").map(r=>r.trim().toLowerCase()):[""];for(let r=0;r<t.length;r++)!o.some(m=>t[r].type.toLowerCase().match(m)||t[r].name.toLowerCase().match("\\"+m))||this._maxSize&&t[r].size>this._maxSize?n.push(t[r]):e.push(t[r]);return{legalFiles:e,illegalFiles:n}}_handleDragEvent(t,e){this._disabled||(t.preventDefault(),t.stopPropagation(),this._adapter.setHighlightState(e))}get accept(){return this._accept}set accept(t){this._accept!==t&&(this._accept=t,this._adapter.setAccept(t),this._adapter.toggleHostAttribute(i.attributes.ACCEPT,!!t,String(t)))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize!==t&&(this._maxSize=t,this._adapter.toggleHostAttribute(i.attributes.MAX_SIZE,!!t,String(t)))}get capture(){return this._capture}set capture(t){this._capture!==t&&(this._capture=t,this._adapter.setCapture(t),this._adapter.toggleHostAttribute(i.attributes.CAPTURE,!!t,String(t)))}get multiple(){return this._multiple}set multiple(t){this._multiple!==t&&(this._multiple=t,this._adapter.setMultiple(t),this._adapter.toggleHostAttribute(i.attributes.MULTIPLE,t))}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._isInitialized&&this._adapter.setDisabled(t),this._adapter.toggleHostAttribute(i.attributes.DISABLED,t))}get compact(){return this._compact}set compact(t){this._compact!==t&&(this._compact=t,this._adapter.setCompact(t),t?this._removeDragListeners():this._registerDragListeners(),this._adapter.toggleHostAttribute(i.attributes.COMPACT,t))}get borderless(){return this._borderless}set borderless(t){this._borderless!==t&&(this._borderless=t,this._adapter.setBorderless(t),this._adapter.toggleHostAttribute(i.attributes.BORDERLESS,t))}};var F='<template><form class="forge-file-picker" id="container" part="form"><div class="forge-file-picker__primary" id="primary" part="primary"><slot name="primary"></slot></div><slot id="button-slot"></slot><div class="forge-file-picker__secondary" id="secondary" part="secondary"><slot name="secondary"></slot></div><input type="file" class="forge-file-picker__input" id="input" part="input"></form><div class="forge-file-picker__helper-text" part="helper-text-container"><slot name="helper-text"></slot></div></template>',O=".forge-file-picker{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;background-color:rgba(189,189,189,.12);border:1px dashed #e0e0e0;display:grid;-webkit-box-pack:center;justify-content:center;align-content:center;gap:16px;padding:16px;text-align:center;cursor:pointer}.forge-file-picker__primary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight,400);letter-spacing:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__secondary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;font-size:var(--forge-typography-subtitle2-secondary-font-size, .875rem);line-height:1.375rem;line-height:var(--forge-typography-subtitle2-secondary-line-height, 1.375rem);font-weight:400;font-weight:var(--forge-typography-subtitle2-secondary-font-weight,400);letter-spacing:.0087500001em;letter-spacing:var(--forge-typography-subtitle2-secondary-letter-spacing, .0087500001em);text-decoration:inherit;-webkit-text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-transform:inherit;text-transform:var(--forge-typography-subtitle2-secondary-text-transform,inherit);color:var(--mdc-theme-text-secondary-on-background);color:var(--forge-typography-subtitle2-secondary-color,var(--mdc-theme-text-secondary-on-background));color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__input{display:none}.forge-file-picker__helper-text ::slotted([slot=helper-text]){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);display:block;min-height:1.5rem;line-height:normal;padding-top:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));margin-left:12px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);text-align:start}.forge-file-picker[disabled]{background-color:#fff;background-color:var(--mdc-theme-background,#fff);border-color:#e0e0e0;border-color:var(--forge-theme-border-color,#e0e0e0);opacity:.38;cursor:unset}.forge-file-picker.compact{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:transparent;border:none;padding:0}.forge-file-picker.compact .forge-file-picker__primary,.forge-file-picker.compact .forge-file-picker__secondary{display:none}.forge-file-picker.compact .forge-file-picker__button{width:auto;width:var(--forge-file-picker-width,auto);background-color:transparent}.forge-file-picker:not(.compact).highlight{border-color:#6200ee;border-color:var(--mdc-theme-primary,#6200ee);background-color:rgba(98,0,238,.12);border-width:1px;border-style:solid}.forge-file-picker.borderless{--forge-file-picker-width:100%;border:none}.forge-file-picker.borderless:not(.compact).highlight{border:none}.forge-file-picker.borderless+.forge-file-picker__helper-text{display:none}:host{width:auto;width:var(--forge-file-picker-width,auto);height:auto;height:var(--forge-file-picker-height,auto);display:inline-block}:host([hidden]){display:none}",a=class extends _{constructor(){super();f(this,F,O),this._foundation=new g(new d(this))}static get observedAttributes(){return[i.attributes.ACCEPT,i.attributes.MAX_SIZE,i.attributes.CAPTURE,i.attributes.MULTIPLE,i.attributes.DISABLED,i.attributes.COMPACT,i.attributes.BORDERLESS]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.destroy()}attributeChangedCallback(e,n,o){switch(e){case i.attributes.ACCEPT:this.accept=o;break;case i.attributes.MAX_SIZE:this.maxSize=u(o);break;case i.attributes.CAPTURE:this.capture=o;break;case i.attributes.MULTIPLE:this.multiple=p(o);break;case i.attributes.DISABLED:this.disabled=p(o);break;case i.attributes.COMPACT:this.compact=p(o);break;case i.attributes.BORDERLESS:this.borderless=p(o);break}}};s([l()],a.prototype,"accept",2),s([l()],a.prototype,"maxSize",2),s([l()],a.prototype,"capture",2),s([l()],a.prototype,"multiple",2),s([l()],a.prototype,"disabled",2),s([l()],a.prototype,"compact",2),s([l()],a.prototype,"borderless",2),a=s([b({name:i.elementName,dependencies:[x]})],a);var k=class extends y{constructor(t){super(t)}_build(){return document.createElement(i.elementName)}_configure(){var t,e,n,o;if((t=this._config.options)!=null&&t.primaryText){let r=document.createElement("span");r.slot="primary",r.textContent=this._config.options.primaryText,this._element.appendChild(r)}if((e=this._config.options)!=null&&e.secondaryText){let r=document.createElement("span");r.slot="secondary",r.textContent=this._config.options.secondaryText,this._element.appendChild(r)}if((n=this._config.options)!=null&&n.buttonText&&new D({options:{parent:this._element,text:this._config.options.buttonText},props:{variant:"outlined"}}),(o=this._config.options)!=null&&o.helperText){let r=document.createElement("span");r.slot="helper-text",r.textContent=this._config.options.helperText,this._element.appendChild(r)}}onChange(t){this._element.addEventListener(i.events.FILES_CHANGED,e=>t(e.detail))}};function ce(){v(a)}export{i as a,d as b,g as c,a as d,k as e,ce as f};
7
+ //# sourceMappingURL=chunk.BS73Y6IN.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/file-picker/file-picker-constants.ts", "../../src/file-picker/file-picker-adapter.ts", "../../src/file-picker/file-picker-foundation.ts", "../../src/file-picker/file-picker.ts", "../../src/file-picker/file-picker-component-delegate.ts", "../../src/file-picker/index.ts"],
4
4
  "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}file-picker`;\n\nconst attributes = {\n ACCEPT: 'accept',\n MAX_SIZE: 'max-size',\n CAPTURE: 'capture',\n MULTIPLE: 'multiple',\n DISABLED: 'disabled',\n COMPACT: 'compact',\n BORDERLESS: 'borderless'\n};\n\nconst classes = {\n HIGHLIGHT: 'highlight',\n DISABLED: 'disabled',\n COMPACT: 'compact',\n BORDERLESS: 'borderless'\n};\n\nconst ids = {\n CONTAINER: 'container',\n BUTTON: 'button',\n INPUT: 'input'\n};\n\nconst selectors = {\n CONTAINER: '#container',\n BUTTON: '#button',\n INPUT: '#input',\n BUTTON_SLOT: '#button-slot'\n};\n\nconst events = {\n FILES_CHANGED: `${elementName}-change`\n};\n\nexport const FILE_PICKER_CONSTANTS = {\n elementName,\n attributes,\n classes,\n ids,\n selectors,\n events\n};\n\nexport interface IFilePickerChangeEventData {\n legalFiles?: File[];\n illegalFiles?: File[];\n}\n", "import { getShadowElement, emitEvent } from '@tylertech/forge-core';\n\nimport { IFilePickerComponent } from './file-picker';\nimport { FILE_PICKER_CONSTANTS } from './file-picker-constants';\nimport { BaseAdapter, IBaseAdapter } from '../core';\n\nexport interface IFilePickerAdapter extends IBaseAdapter {\n registerButtonSlotListener(listener: (evt: Event) => void): void;\n registerInputChangeListener(listener: (evt: Event) => void): void;\n registerDragEnterListener(listener: (evt: DragEvent) => void): void;\n registerDragLeaveListener(listener: (evt: DragEvent) => void): void;\n registerDragOverListener(listener: (evt: DragEvent) => void): void;\n registerDropListener(listener: (evt: DragEvent) => void): void;\n removeDragEnterListener(listener: (evt: DragEvent) => void): void;\n removeDragLeaveListener(listener: (evt: DragEvent) => void): void;\n removeDragOverListener(listener: (evt: DragEvent) => void): void;\n removeDropListener(listener: (evt: DragEvent) => void): void;\n initializeButton(): void;\n setHighlightState(value: boolean): void;\n setAccept(value: string | null | undefined): void;\n setCapture(value: string | null | undefined): void;\n setMultiple(value: boolean): void;\n setDisabled(value: boolean): void;\n setCompact(value: boolean): void;\n setBorderless(value: boolean): void;\n}\n\nexport class FilePickerAdapter extends BaseAdapter<IFilePickerComponent> implements IFilePickerAdapter {\n private _container: HTMLElement;\n private _buttonSlot: HTMLSlotElement;\n private _button: HTMLButtonElement | undefined;\n private _input: HTMLInputElement;\n private _inputEventListener: () => void;\n\n constructor(component: IFilePickerComponent) {\n super(component);\n\n this._container = getShadowElement(component, FILE_PICKER_CONSTANTS.selectors.CONTAINER);\n this._buttonSlot = getShadowElement(component, FILE_PICKER_CONSTANTS.selectors.BUTTON_SLOT) as HTMLSlotElement;\n this._input = getShadowElement(component, FILE_PICKER_CONSTANTS.selectors.INPUT) as HTMLInputElement;\n\n this._inputEventListener = () => {\n this._input.value = '';\n this._input.click();\n };\n\n this._container.addEventListener('click', this._inputEventListener);\n }\n\n public registerButtonSlotListener(listener: (evt: Event) => void): void {\n this._buttonSlot.addEventListener('slotchange', listener);\n }\n\n public registerInputChangeListener(listener: (evt: Event) => void): void {\n this._input.addEventListener('change', listener);\n }\n\n public registerDragEnterListener(listener: (evt: DragEvent) => void): void {\n this._container.addEventListener('dragenter', listener);\n }\n\n public registerDragLeaveListener(listener: (evt: DragEvent) => void): void {\n this._container.addEventListener('dragleave', listener);\n }\n\n public registerDragOverListener(listener: (evt: DragEvent) => void): void {\n this._container.addEventListener('dragover', listener);\n }\n\n public registerDropListener(listener: (evt: DragEvent) => void): void {\n this._container.addEventListener('drop', listener);\n }\n\n public removeDragEnterListener(listener: (evt: DragEvent) => void): void {\n this._container.removeEventListener('dragenter', listener);\n }\n\n public removeDragLeaveListener(listener: (evt: DragEvent) => void): void {\n this._container.removeEventListener('dragleave', listener);\n }\n\n public removeDragOverListener(listener: (evt: DragEvent) => void): void {\n this._container.removeEventListener('dragover', listener);\n }\n\n public removeDropListener(listener: (evt: DragEvent) => void): void {\n this._container.removeEventListener('drop', listener);\n }\n\n public initializeButton(): void {\n const button = this._component.querySelector('button') as HTMLButtonElement;\n this._button = button || undefined;\n }\n\n /**\n * Sets the highlight state of the file picker.\n * @param value True if the highlight should be applied and false if not.\n */\n public setHighlightState(value: boolean): void {\n if (this._container.classList.contains(FILE_PICKER_CONSTANTS.classes.HIGHLIGHT) !== value) {\n this._container.classList.toggle(FILE_PICKER_CONSTANTS.classes.HIGHLIGHT);\n }\n }\n\n /**\n * Sets the accept attribute of the input.\n * @param value The accept string.\n */\n public setAccept(value: string | null | undefined): void {\n if (value) {\n this._input.setAttribute('accept', value);\n } else {\n this._input.removeAttribute('accept');\n }\n }\n\n /**\n * Sets the capture attribute of the input.\n * @param value The capture string.\n */\n public setCapture(value: string | null | undefined): void {\n if (value) {\n this._input.setAttribute('capture', value);\n } else {\n this._input.removeAttribute('capture');\n }\n }\n\n /**\n * Sets the multiple attribute of the input.\n * @param value The multiple state.\n */\n public setMultiple(value: boolean): void {\n if (value) {\n this._input.setAttribute('multiple', '');\n } else {\n this._input.removeAttribute('multiple');\n }\n }\n\n /**\n * Sets the disabled state of the file picker.\n * @param value The disabled state.\n */\n public setDisabled(value: boolean): void {\n if (value) {\n this._container.removeEventListener('click', this._inputEventListener);\n this._button?.setAttribute('disabled', '');\n this._container.setAttribute('disabled', '');\n } else {\n this._container.addEventListener('click', this._inputEventListener);\n this._button?.removeAttribute('disabled');\n this._container.removeAttribute('disabled');\n }\n }\n\n /**\n * Sets the compact state of the file picker.\n * @param value The compact state.\n */\n public setCompact(value: boolean): void {\n if (this._container.classList.contains(FILE_PICKER_CONSTANTS.classes.COMPACT) !== value) {\n this._container.classList.toggle(FILE_PICKER_CONSTANTS.classes.COMPACT);\n }\n }\n\n /**\n * Sets the borderless state of the file picker.\n * @param value The borderless state.\n */\n public setBorderless(value: boolean): void {\n if (this._container.classList.contains(FILE_PICKER_CONSTANTS.classes.BORDERLESS) !== value) {\n this._container.classList.toggle(FILE_PICKER_CONSTANTS.classes.BORDERLESS);\n }\n }\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\n\nimport { IFilePickerAdapter } from './file-picker-adapter';\nimport { FILE_PICKER_CONSTANTS, IFilePickerChangeEventData } from './file-picker-constants';\n\nexport interface IFilePickerFoundation extends ICustomElementFoundation {\n accept: string | null | undefined;\n maxSize: number | null | undefined;\n capture: string | null | undefined;\n multiple: boolean;\n disabled: boolean;\n compact: boolean;\n borderless: boolean;\n}\n\nexport class FilePickerFoundation implements IFilePickerFoundation {\n private _isInitialized = false;\n private _accept: string | null | undefined = null;\n private _maxSize: number | null | undefined = null;\n private _capture: string | null | undefined = null;\n private _multiple = false;\n private _disabled = false;\n private _compact = false;\n private _borderless = false;\n private _buttonSlotListener: (evt: Event) => void;\n private _inputChangeListener: (evt: Event) => void;\n private _dragEnterListener: (evt: DragEvent) => void;\n private _dragLeaveListener: (evt: DragEvent) => void;\n private _dragOverListener: (evt: DragEvent) => void;\n private _dropListener: (evt: DragEvent) => void;\n\n constructor(private _adapter: IFilePickerAdapter) {\n this._buttonSlotListener = evt => this._onButtonSlotChanged(evt);\n this._inputChangeListener = evt => this._onInputChange(evt);\n this._dragEnterListener = evt => this._onDragEnter(evt);\n this._dragLeaveListener = evt => this._onDragLeave(evt);\n this._dragOverListener = evt => this._onDragOver(evt);\n this._dropListener = evt => this._onDrop(evt);\n\n this._adapter.registerButtonSlotListener(this._buttonSlotListener);\n this._adapter.registerInputChangeListener(this._inputChangeListener);\n if (!this._compact) {\n this._registerDragListeners();\n }\n }\n\n public initialize(): void {\n this._adapter.initializeButton();\n this._adapter.setDisabled(this._disabled);\n this._isInitialized = true;\n }\n\n public destroy(): void {\n this._isInitialized = false;\n }\n\n private _onButtonSlotChanged(evt: Event): void {\n this._adapter.initializeButton();\n }\n\n private _onInputChange(evt: Event): void {\n const files = (evt.target as HTMLInputElement).files;\n if (files) {\n this._handleFiles(files);\n }\n }\n\n private _onDragEnter(evt: DragEvent): void {\n this._handleDragEvent(evt, true);\n }\n\n private _onDragLeave(evt: DragEvent): void {\n this._handleDragEvent(evt, false);\n }\n\n private _onDragOver(evt: DragEvent): void {\n this._handleDragEvent(evt, true);\n }\n\n private _onDrop(evt: DragEvent): void {\n this._handleDragEvent(evt, false);\n\n if (!this._disabled) {\n const dataTransfer = evt.dataTransfer;\n if (dataTransfer) {\n const files = dataTransfer.files;\n this._handleFiles(files);\n }\n }\n }\n\n private _registerDragListeners(): void {\n this._adapter.registerDragEnterListener(this._dragEnterListener);\n this._adapter.registerDragLeaveListener(this._dragLeaveListener);\n this._adapter.registerDragOverListener(this._dragOverListener);\n this._adapter.registerDropListener(this._dropListener);\n }\n\n private _removeDragListeners(): void {\n this._adapter.removeDragEnterListener(this._dragEnterListener);\n this._adapter.removeDragLeaveListener(this._dragLeaveListener);\n this._adapter.removeDragOverListener(this._dragOverListener);\n this._adapter.removeDropListener(this._dropListener);\n }\n\n private _handleFiles(fileList: FileList): void {\n let data: IFilePickerChangeEventData = {};\n if (fileList) {\n const sortedFiles = this._sortFiles(fileList);\n let files = sortedFiles.legalFiles || null;\n\n // Ensure that we can only drop 1 file if not in multiple mode\n if (!this._multiple && files && files.length > 1) {\n files = files.splice(1);\n }\n\n data = sortedFiles;\n }\n this._adapter.emitHostEvent(FILE_PICKER_CONSTANTS.events.FILES_CHANGED, data);\n }\n\n private _sortFiles(files: FileList): IFilePickerChangeEventData {\n let legalFiles: File[] = [];\n const illegalFiles: File[] = [];\n\n if (!this._accept && !this.maxSize) {\n legalFiles = Array.from(files);\n return { legalFiles, illegalFiles };\n }\n\n const formats = this._accept ? this._accept.split(',').map(f => f.trim().toLowerCase()) : [''];\n\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < files.length; i++) {\n if (!formats.some(f => {\n return files[i].type.toLowerCase().match(f) || files[i].name.toLowerCase().match('\\\\' + f);\n }) || (this._maxSize && files[i].size > this._maxSize)) {\n illegalFiles.push(files[i]);\n } else {\n legalFiles.push(files[i]);\n }\n }\n\n return { legalFiles, illegalFiles };\n }\n\n private _handleDragEvent(evt: DragEvent, isOverTarget: boolean): void {\n if (!this._disabled) {\n evt.preventDefault();\n evt.stopPropagation();\n this._adapter.setHighlightState(isOverTarget);\n }\n }\n\n /** Get and set the allowed file types */\n public get accept(): string | null | undefined {\n return this._accept;\n }\n public set accept(value: string | null | undefined) {\n if (this._accept !== value) {\n this._accept = value;\n this._adapter.setAccept(value);\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.ACCEPT, !!value, String(value));\n }\n }\n\n /** Get and set the maximum allowed file size */\n public get maxSize(): number | null | undefined {\n return this._maxSize;\n }\n public set maxSize(value: number | null | undefined) {\n if (this._maxSize !== value) {\n this._maxSize = value;\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.MAX_SIZE, !!value, String(value));\n }\n }\n\n /** Get and set the camera to use when capturing video or images */\n public get capture(): string | null | undefined {\n return this._capture;\n }\n public set capture(value: string | null | undefined) {\n if (this._capture !== value) {\n this._capture = value;\n this._adapter.setCapture(value);\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.CAPTURE, !!value, String(value));\n }\n }\n\n /** Get and set whether multiple files are allowed */\n public get multiple(): boolean {\n return this._multiple;\n }\n public set multiple(value: boolean) {\n if (this._multiple !== value) {\n this._multiple = value;\n this._adapter.setMultiple(value);\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.MULTIPLE, value);\n }\n }\n\n /** Get and set whether the file picker is disabled */\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._isInitialized) {\n this._adapter.setDisabled(value);\n }\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.DISABLED, value);\n }\n }\n\n /** Get and set whether the file picker is compact */\n public get compact(): boolean {\n return this._compact;\n }\n public set compact(value: boolean) {\n if (this._compact !== value) {\n this._compact = value;\n this._adapter.setCompact(value);\n if (value) {\n this._removeDragListeners();\n } else {\n this._registerDragListeners();\n }\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.COMPACT, value);\n }\n }\n\n /** Get and set whether the file picker is borderless */\n public get borderless(): boolean {\n return this._borderless;\n }\n public set borderless(value: boolean) {\n if (this._borderless !== value) {\n this._borderless = value;\n this._adapter.setBorderless(value);\n this._adapter.toggleHostAttribute(FILE_PICKER_CONSTANTS.attributes.BORDERLESS, value);\n }\n }\n}\n", "import { attachShadowTemplate, coerceBoolean, coerceNumber, CustomElement, FoundationProperty } from '@tylertech/forge-core';\nimport { ButtonComponent } from '../button';\nimport { BaseComponent, IBaseComponent } from '../core/base/base-component';\nimport { FilePickerAdapter } from './file-picker-adapter';\nimport { FILE_PICKER_CONSTANTS, IFilePickerChangeEventData } from './file-picker-constants';\nimport { FilePickerFoundation } from './file-picker-foundation';\n\nconst template = '<template><form class=\\\"forge-file-picker\\\" id=\\\"container\\\" part=\\\"form\\\"><div class=\\\"forge-file-picker__primary\\\" id=\\\"primary\\\" part=\\\"primary\\\"><slot name=\\\"primary\\\"></slot></div><slot id=\\\"button-slot\\\"></slot><div class=\\\"forge-file-picker__secondary\\\" id=\\\"secondary\\\" part=\\\"secondary\\\"><slot name=\\\"secondary\\\"></slot></div><input type=\\\"file\\\" class=\\\"forge-file-picker__input\\\" id=\\\"input\\\" part=\\\"input\\\"></form><div class=\\\"forge-file-picker__helper-text\\\" part=\\\"helper-text-container\\\"><slot name=\\\"helper-text\\\"></slot></div></template>';\nconst styles = '.forge-file-picker{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;background-color:rgba(189,189,189,.12);border:1px dashed #e0e0e0;display:grid;-webkit-box-pack:center;justify-content:center;align-content:center;gap:16px;padding:16px;text-align:center;cursor:pointer}.forge-file-picker__primary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight,400);letter-spacing:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__secondary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;font-size:var(--forge-typography-subtitle2-secondary-font-size, .875rem);line-height:1.375rem;line-height:var(--forge-typography-subtitle2-secondary-line-height, 1.375rem);font-weight:400;font-weight:var(--forge-typography-subtitle2-secondary-font-weight,400);letter-spacing:.0087500001em;letter-spacing:var(--forge-typography-subtitle2-secondary-letter-spacing, .0087500001em);text-decoration:inherit;-webkit-text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-transform:inherit;text-transform:var(--forge-typography-subtitle2-secondary-text-transform,inherit);color:var(--mdc-theme-text-secondary-on-background);color:var(--forge-typography-subtitle2-secondary-color,var(--mdc-theme-text-secondary-on-background));color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__input{display:none}.forge-file-picker__helper-text ::slotted([slot=helper-text]){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);display:block;min-height:1.5rem;line-height:normal;padding-top:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));margin-left:12px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);text-align:start}.forge-file-picker[disabled]{background-color:#fff;background-color:var(--mdc-theme-background,#fff);border-color:#e0e0e0;border-color:var(--forge-theme-border-color,#e0e0e0);opacity:.38;cursor:unset}.forge-file-picker.compact{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:transparent;border:none;padding:0}.forge-file-picker.compact .forge-file-picker__primary,.forge-file-picker.compact .forge-file-picker__secondary{display:none}.forge-file-picker.compact .forge-file-picker__button{width:auto;width:var(--forge-file-picker-width,auto);background-color:transparent}.forge-file-picker:not(.compact).highlight{border-color:#6200ee;border-color:var(--mdc-theme-primary,#6200ee);background-color:rgba(98,0,238,.12);border-width:1px;border-style:solid}.forge-file-picker.borderless{--forge-file-picker-width:100%;border:none}.forge-file-picker.borderless:not(.compact).highlight{border:none}.forge-file-picker.borderless+.forge-file-picker__helper-text{display:none}:host{width:auto;width:var(--forge-file-picker-width,auto);height:auto;height:var(--forge-file-picker-height,auto);display:inline-block}:host([hidden]){display:none}';\n\nexport interface IFilePickerComponent extends IBaseComponent {\n accept: string | null | undefined;\n maxSize: number | null | undefined;\n capture: string | null | undefined;\n multiple: boolean;\n disabled: boolean;\n compact: boolean;\n borderless: boolean;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-file-picker': IFilePickerComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-file-picker-change': CustomEvent<IFilePickerChangeEventData>;\n }\n}\n\n/**\n * The web component class behind the `<forge-file-picker>` custom element.\n * \n * @tag forge-file-picker\n */\n@CustomElement({\n name: FILE_PICKER_CONSTANTS.elementName,\n dependencies: [ButtonComponent]\n})\nexport class FilePickerComponent extends BaseComponent implements IFilePickerComponent {\n public static get observedAttributes(): string[] {\n return [\n FILE_PICKER_CONSTANTS.attributes.ACCEPT,\n FILE_PICKER_CONSTANTS.attributes.MAX_SIZE,\n FILE_PICKER_CONSTANTS.attributes.CAPTURE,\n FILE_PICKER_CONSTANTS.attributes.MULTIPLE,\n FILE_PICKER_CONSTANTS.attributes.DISABLED,\n FILE_PICKER_CONSTANTS.attributes.COMPACT,\n FILE_PICKER_CONSTANTS.attributes.BORDERLESS\n ];\n }\n\n private _foundation: FilePickerFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new FilePickerFoundation(new FilePickerAdapter(this));\n }\n\n public connectedCallback(): void {\n this._foundation.initialize();\n }\n\n public disconnectedCallback(): void {\n this._foundation.destroy();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case FILE_PICKER_CONSTANTS.attributes.ACCEPT:\n this.accept = newValue;\n break;\n case FILE_PICKER_CONSTANTS.attributes.MAX_SIZE:\n this.maxSize = coerceNumber(newValue);\n break;\n case FILE_PICKER_CONSTANTS.attributes.CAPTURE:\n this.capture = newValue;\n break;\n case FILE_PICKER_CONSTANTS.attributes.MULTIPLE:\n this.multiple = coerceBoolean(newValue);\n break;\n case FILE_PICKER_CONSTANTS.attributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case FILE_PICKER_CONSTANTS.attributes.COMPACT:\n this.compact = coerceBoolean(newValue);\n break;\n case FILE_PICKER_CONSTANTS.attributes.BORDERLESS:\n this.borderless = coerceBoolean(newValue);\n break;\n }\n }\n\n /** Gets and sets the allowed file types */\n @FoundationProperty()\n public declare accept: string | null | undefined;\n\n /** Gets and sets the maximum allowed file size */\n @FoundationProperty()\n public declare maxSize: number | null | undefined;\n\n /** Gets and sets the camera to use when capturing video or images */\n @FoundationProperty()\n public declare capture: string | null | undefined;\n\n /** Gets and sets whether multiple files are allowed */\n @FoundationProperty()\n public declare multiple: boolean;\n\n /** Gets and sets whether the file picker is disabled */\n @FoundationProperty()\n public declare disabled: boolean;\n\n /** Gets and sets whether the file picker is compact */\n @FoundationProperty()\n public declare compact: boolean;\n\n /** Gets and sets whether the file picker is borderless */\n @FoundationProperty()\n public declare borderless: boolean;\n}\n", "import { ButtonComponentDelegate } from '../button/button-component-delegate';\nimport { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';\nimport { IFilePickerComponent } from './file-picker';\nimport { FILE_PICKER_CONSTANTS, IFilePickerChangeEventData } from './file-picker-constants';\n\nexport type FilePickerComponentDelegateProps = Partial<IFilePickerComponent>;\nexport interface IFilePickerComponentDelegateOptions extends IBaseComponentDelegateOptions {\n primaryText?: string;\n secondaryText?: string;\n helperText?: string;\n buttonText?: string;\n}\nexport interface IFilePickerComponentDelegateConfig extends IBaseComponentDelegateConfig<IFilePickerComponent, IFilePickerComponentDelegateOptions> {}\n\nexport class FilePickerComponentDelegate extends BaseComponentDelegate<IFilePickerComponent, IFilePickerComponentDelegateOptions> {\n constructor(config?: IFilePickerComponentDelegateConfig) {\n super(config);\n }\n\n protected _build(): IFilePickerComponent {\n return document.createElement(FILE_PICKER_CONSTANTS.elementName);\n }\n\n protected _configure(): void {\n if (this._config.options?.primaryText) {\n const primarySpan = document.createElement('span');\n primarySpan.slot = 'primary';\n primarySpan.textContent = this._config.options.primaryText;\n this._element.appendChild(primarySpan);\n }\n\n if (this._config.options?.secondaryText) {\n const secondarySpan = document.createElement('span');\n secondarySpan.slot = 'secondary';\n secondarySpan.textContent = this._config.options.secondaryText;\n this._element.appendChild(secondarySpan);\n }\n\n if (this._config.options?.buttonText) {\n new ButtonComponentDelegate({\n options: {\n parent: this._element,\n text: this._config.options.buttonText\n },\n props: { variant: 'outlined' }\n });\n }\n\n if (this._config.options?.helperText) {\n const helperTextSpan = document.createElement('span');\n helperTextSpan.slot = 'helper-text';\n helperTextSpan.textContent = this._config.options.helperText;\n this._element.appendChild(helperTextSpan);\n }\n }\n\n public onChange(cb: (evt: IFilePickerChangeEventData) => void): void {\n this._element.addEventListener(FILE_PICKER_CONSTANTS.events.FILES_CHANGED, (evt: CustomEvent<IFilePickerChangeEventData>) => cb(evt.detail));\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { FilePickerComponent } from './file-picker';\n\nexport * from './file-picker-adapter';\nexport * from './file-picker-constants';\nexport * from './file-picker-foundation';\nexport * from './file-picker';\nexport * from './file-picker-component-delegate';\n\nexport function defineFilePickerComponent(): void {\n defineCustomElement(FilePickerComponent);\n}\n"],
5
- "mappings": "0WAEA,IAAMA,EAA2C,GAAGC,eAE9CC,EAAa,CACjB,OAAQ,SACR,SAAU,WACV,QAAS,UACT,SAAU,WACV,SAAU,WACV,QAAS,UACT,WAAY,YACd,EAEMC,EAAU,CACd,UAAW,YACX,SAAU,WACV,QAAS,UACT,WAAY,YACd,EAEMC,EAAM,CACV,UAAW,YACX,OAAQ,SACR,MAAO,OACT,EAEMC,EAAY,CAChB,UAAW,aACX,OAAQ,UACR,MAAO,SACP,YAAa,cACf,EAEMC,EAAS,CACb,cAAe,GAAGN,UACpB,EAEaO,EAAwB,CACnC,YAAAP,EACA,WAAAE,EACA,QAAAC,EACA,IAAAC,EACA,UAAAC,EACA,OAAAC,CACF,EClBO,IAAME,EAAN,cAAgCC,CAAgE,CAOrG,YAAYC,EAAiC,CAC3C,MAAMA,CAAS,EAEf,KAAK,WAAaC,EAAiBD,EAAWE,EAAsB,UAAU,SAAS,EACvF,KAAK,YAAcD,EAAiBD,EAAWE,EAAsB,UAAU,WAAW,EAC1F,KAAK,OAASD,EAAiBD,EAAWE,EAAsB,UAAU,KAAK,EAE/E,KAAK,oBAAsB,IAAM,CAC/B,KAAK,OAAO,MAAQ,GACpB,KAAK,OAAO,MAAM,CACpB,EAEA,KAAK,WAAW,iBAAiB,QAA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AIH,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,YAAa,CACrC,IAAMI,EAAc,SAAS,cAAc,MAAM,EACjDA,EAAY,KAAO,UACnBA,EAAY,YAAc,KAAK,QAAQ,QAAQ,YAC/C,KAAK,SAAS,YAAYA,CAAW,EAGvC,IAAIH,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,cAAe,CACvC,IAAMI,EAAgB,SAAS,cAAc,MAAM,EACnDA,EAAc,KAAO,YACrBA,EAAc,YAAc,KAAK,QAAQ,QAAQ,cACjD,KAAK,SAAS,YAAYA,CAAa,EAazC,IAVIH,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,YACxB,IAAII,EAAwB,CAC1B,QAAS,CACP,OAAQ,KAAK,SACb,KAAM,KAAK,QAAQ,QAAQ,UAC7B,EACA,MAAO,CAAE,QAAS,UAAW,CAC/B,CAAC,GAGCH,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,WAAY,CACpC,IAAMI,EAAiB,SAAS,cAAc,MAAM,EACpDA,EAAe,KAAO,cACtBA,EAAe,YAAc,KAAK,QAAQ,QAAQ,WAClD,KAAK,SAAS,YAAYA,CAAc,EAE5C,CAEO,SAASC,EAAqD,CACnE,KAAK,SAAS,iBAAiBT,EAAsB,OAAO,cAAgBU,GAAiDD,EAAGC,EAAI,MAAM,CAAC,CAC7I,CACF,ECjDO,SAASC,IAAkC,CAChDC,EAAoBC,CAAmB,CACzC",
6
6
  "names": ["elementName", "COMPONENT_NAME_PREFIX", "attributes", "classes", "ids", "selectors", "events", "FILE_PICKER_CONSTANTS", "FilePickerAdapter", "BaseAdapter", "component", "getShadowElement", "FILE_PICKER_CONSTANTS", "listener", "button", "value", "_a", "_b", "FilePickerFoundation", "_adapter", "evt", "files", "dataTransfer", "fileList", "data", "sortedFiles", "FILE_PICKER_CONSTANTS", "legalFiles", "illegalFiles", "formats", "f", "i", "isOverTarget", "value", "template", "styles", "FilePickerComponent", "BaseComponent", "attachShadowTemplate", "FilePickerFoundation", "FilePickerAdapter", "FILE_PICKER_CONSTANTS", "name", "oldValue", "newValue", "coerceNumber", "coerceBoolean", "__decorateClass", "FoundationProperty", "CustomElement", "ButtonComponent", "FilePickerComponentDelegate", "BaseComponentDelegate", "config", "FILE_PICKER_CONSTANTS", "_a", "_b", "_c", "_d", "primarySpan", "secondarySpan", "ButtonComponentDelegate", "helperTextSpan", "cb", "evt", "defineFilePickerComponent", "defineCustomElement", "FilePickerComponent"]
7
7
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{a as u,b as x,c as v}from"./chunk.5EGEZ4IY.js";import{a as r}from"./chunk.KDJZN6EW.js";import{a as h}from"./chunk.ZSZFWZAI.js";import{e as b}from"./chunk.UV3WIHCM.js";import{a as m}from"./chunk.T4J66YX5.js";import{a as c,e as p}from"./chunk.TPXXHX5J.js";import{A as g,f,t as s}from"./chunk.HZUQXCOQ.js";import{d as a}from"./chunk.M3QDAYD2.js";var l=class extends u{constructor(e){super(e);this._inputElements=[];this._inputMutationObserverInstances=[]}initialize(){super.initialize(r.selectors.ROOT),this._inputElements=Array.from(this._component.querySelectorAll("input:not([type=checkbox]):not([type=radio]), textarea")),this._inputElements.length>1&&this._handleMultiInputs()}destroy(){super.destroy(),this._inputMutationObserverInstances&&this._inputMutationObserverInstances.forEach(e=>e.disconnect())}detectTextarea(){this._applyToInputs(e=>{e instanceof HTMLTextAreaElement?this._rootElement.classList.add(r.classes.TEXTAREA):this._rootElement.classList.remove(r.classes.TEXTAREA)})}ensureLabelOrder(){if(this._labelElement){let e=Array.from(this._component.children);e.length>1&&e.indexOf(this._labelElement)<e.indexOf(this._inputElements[0])&&this._component.appendChild(this._labelElement)}}addInputListener(e,t){this._applyToInputs(o=>o.addEventListener(e,t))}removeInputListener(e,t){this._inputElements&&this._inputElements.length>0&&this._applyToInputs(o=>o.removeEventListener(e,t))}setValueChangedListener(e,t){this.destroyValueChangeListener(),this._applyToInputs(o=>{let w=b(e,o,"value",t);this._valueChangeListeners.push(w)})}inputHasValue(){return this._inputsSome(e=>e.value?e.value.trim().length>0:!1)}hasPlaceholder(){return this._inputsSome(e=>e.placeholder?e.placeholder.trim().length>0:!1)}inputHasFocus(e){let t=s(this._component.ownerDocument);return this._inputsSome(o=>o===e||o===t)}setInputClass(e){this._applyToInputs(t=>t.classList.add(e))}removeInputClass(e){this._applyToInputs(t=>t.classList.remove(e))}setInputAttributeObserver(e){this._applyToInputs(t=>{let o=g(t,e,h.observedInputAttributes);this._inputMutationObserverInstances.push(o)})}isDisabled(){return this._inputsSome(e=>e.hasAttribute("disabled"))}isReadonly(){return this._inputsSome(e=>e.hasAttribute("readonly"))}_inputsSome(e){return this._inputElements.some(e)}_applyToInputs(e){this._inputElements.forEach(e)}_handleMultiInputs(){f(r.classes.MULTI_INPUT,this._rootElement),this._applyToInputs((e,t)=>{e.setAttribute(`${r.attributes.MULTI_INPUT}-${t}`,""),t%2!==1&&Promise.resolve().then(()=>e.insertAdjacentElement("afterend",this._createSeperatorElement()))})}_createSeperatorElement(){let e=document.createElement("span");return e.setAttribute(r.attributes.MULTI_INPUT_SEPARATOR,""),e.textContent="-",e}};var d=class extends x{constructor(e){super(e);this._adapter=e}initialize(){super.initialize(),this._adapter.detectTextarea()}};var k='<template><div class="forge-text-field__wrapper" part="root"><div class="forge-text-field forge-field" part="container"><div class="forge-text-field__leading-container" part="leading-container"><slot name="leading"></slot></div><div class="forge-field__label-input-container" part="label-input-container"><slot></slot><slot name="label"></slot></div><slot name="trailing"></slot><div class="forge-field__addon-end-container" part="addon-end-container"><slot name="addon-end"></slot></div></div><slot name="helper-text"></slot></div></template>',z='.forge-field::before{content:"";display:-webkit-box;display:flex;position:absolute;top:0;right:0;left:0;z-index:-1;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;max-width:100%;height:100%;pointer-events:none;border-style:solid;border-style:var(--forge-text-field-border-style,solid);border-width:1px;-webkit-transition:border-color .2s 0s cubic-bezier(0, 0, .2, 1);transition:border-color .2s 0s cubic-bezier(0, 0, .2, 1);background-color:transparent;background-color:var(--forge-text-field-theme-background,transparent);text-align:left}.forge-field[dir=rtl]::before,[dir=rtl] .forge-field::before{text-align:right}.forge-field:not(.forge-field--disabled):not(.forge-field--invalid):not(.forge-field--focused)::before{border-color:rgba(0,0,0,.38);border-color:var(--mdc-theme-text-icon-on-background,rgba(0,0,0,.38))}.forge-field:not(.forge-field--disabled):not(.forge-field--invalid):not(.forge-field--focused):hover::before{border-color:rgba(0,0,0,.87);border-color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}.forge-field--focused:not(.forge-field--invalid):not(.forge-field--disabled)::before{border-color:#6200ee;border-color:var(--mdc-theme-primary,#6200ee)}.forge-field--invalid:not(.forge-field--disabled)::before{border-color:#b00020;border-color:var(--mdc-theme-error,#b00020)}.forge-field--invalid:not(.forge-field--disabled):not(.forge-field--focused):hover::before{border-color:#db8a98;border-color:var(--forge-theme-error-hover,#db8a98)}.forge-field--disabled::before{border-color:rgba(0,0,0,.38);border-color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.38))}.forge-field:not(.forge-field--shape-rounded){border-radius:4px}.forge-field:not(.forge-field--shape-rounded)::before{border-radius:4px}.forge-field--shape-rounded{border-radius:28px}.forge-field--shape-rounded::before{border-radius:28px}.forge-field--disabled::before{background-color:#f5f5f5;background-color:var(--forge-theme-form-field-disabled-on-background,#f5f5f5)}.forge-field--focused::before{border-color:#6200ee;border-color:var(--mdc-theme-primary,#6200ee);border-width:2px}.forge-field__label-input-container{position:relative;-webkit-box-flex:1;flex:1 1 0.0001px;height:100%;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;min-width:0}.forge-field ::slotted(label){color:rgba(0,0,0,.65);color:var(--forge-theme-form-field-label-on-background,rgba(0,0,0,.65));pointer-events:none;right:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight,400);letter-spacing:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform,inherit);font-size:var(--mdc-typography-subtitle1-font-size, 1rem);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.1rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;-webkit-transition:color 150ms cubic-bezier(.4, 0, .2, 1),-webkit-transform 150ms cubic-bezier(.4, 0, .2, 1);transition:color 150ms cubic-bezier(.4, 0, .2, 1),-webkit-transform 150ms cubic-bezier(.4, 0, .2, 1);transition:transform 150ms cubic-bezier(.4, 0, .2, 1),color 150ms cubic-bezier(.4, 0, .2, 1);transition:transform 150ms cubic-bezier(.4, 0, .2, 1),color 150ms cubic-bezier(.4, 0, .2, 1),-webkit-transform 150ms cubic-bezier(.4, 0, .2, 1)}.forge-field ::slotted(label[dir=rtl]),[dir=rtl] .forge-field ::slotted(label){right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.forge-field--dense:not(.forge-field--roomy) ::slotted(label){display:none}.forge-field--required ::slotted(label)::after{content:none}.forge-field--required ::slotted(label)::before{color:#b00020;color:var(--mdc-theme-error,#b00020);content:"*";margin-right:4px}.forge-field:not(.forge-field--dense):not(.forge-field--roomy) ::slotted(label){font-size:1rem}.forge-field--roomy:not(.forge-field--dense) ::slotted(label){font-size:1rem}.forge-field--disabled ::slotted(label){color:rgba(0,0,0,.38);color:var(--forge-theme-label-disabled-on-background,rgba(0,0,0,.38))}.forge-field--invalid:not(.forge-field--disabled) ::slotted(label){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-field--focused:not(.forge-field--invalid):not(.forge-field--disabled) ::slotted(label){color:#6200ee;color:var(--mdc-theme-primary,#6200ee)}.forge-field:not(.forge-field--dense):not(.forge-field--roomy) ::slotted(label){top:1rem}.forge-field--roomy:not(.forge-field--dense) ::slotted(label){top:1.285rem}.forge-field:not(.forge-field--shape-rounded):not(.forge-field--leading) ::slotted(label){left:12px!important}.forge-field--shape-rounded:not(.forge-field--leading) ::slotted(label){left:32px!important}.forge-field:not(.forge-field--trailing):not(.forge-field--addon-end):not(.forge-field--shape-rounded) ::slotted(label){padding-right:12px}.forge-field:not(.forge-field--trailing):not(.forge-field--addon-end).forge-field--shape-rounded ::slotted(label){padding-right:32px}.forge-field ::slotted(label.forge-floating-label--float-above){color:rgba(0,0,0,.65);color:var(--forge-theme-form-field-label-on-background,rgba(0,0,0,.65))}.forge-field--disabled ::slotted(label.forge-floating-label--float-above){color:rgba(0,0,0,.6);color:var(--forge-theme-form-field-text-disabled-on-background,rgba(0,0,0,.6))}.forge-field--invalid:not(.forge-field--disabled) ::slotted(label.forge-floating-label--float-above){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-field--focused:not(.forge-field--invalid):not(.forge-field--disabled) ::slotted(label.forge-floating-label--float-above){color:#6200ee;color:var(--mdc-theme-primary,#6200ee)}.forge-field:not(.forge-field--dense):not(.forge-field--roomy) ::slotted(label.forge-floating-label--float-above){-webkit-transform:translateY(-.54rem) scale(.8125);transform:translateY(-.54rem) scale(.8125);cursor:auto}.forge-field--roomy:not(.forge-field--dense) ::slotted(label.forge-floating-label--float-above){-webkit-transform:translateY(-.72rem) scale(.8125);transform:translateY(-.72rem) scale(.8125);cursor:auto}.forge-field:not(.forge-field--dense):not(.forge-field--roomy) ::slotted(label.forge-floating-label--float-above.forge-floating-label--float-above-end-keyframe){-webkit-transition:none;transition:none;font-size:.8125rem;-webkit-transform:translateY(-.62rem) scale(1);transform:translateY(-.62rem) scale(1);cursor:auto}.forge-field--roomy:not(.forge-field--dense) ::slotted(label.forge-floating-label--float-above.forge-floating-label--float-above-end-keyframe){-webkit-transition:none;transition:none;font-size:.8125rem;-webkit-transform:translateY(-.8rem) scale(1);transform:translateY(-.8rem) scale(1);cursor:auto}.forge-field:not(.forge-field--dense):not(.forge-field--roomy) ::slotted(label.forge-floating-label--unfloat-above-start-keyframe){-webkit-transition:none;transition:none;font-size:1rem;-webkit-transform:translateY(-.62rem) scale(.8125);transform:translateY(-.62rem) scale(.8125);cursor:auto}.forge-field--roomy:not(.forge-field--dense) ::slotted(label.forge-floating-label--unfloat-above-start-keyframe){-webkit-transition:none;transition:none;font-size:1rem;-webkit-transform:translateY(-.8rem) scale(.8125);transform:translateY(-.8rem) scale(.8125);cursor:auto}.forge-field ::slotted(input){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-weight:400;font-weight:var(--mdc-typography-body1-font-weight,400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform,inherit);align-self:flex-end;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;-webkit-transition:opacity 150ms 0s cubic-bezier(.4, 0, .2, 1);transition:opacity 150ms 0s cubic-bezier(.4, 0, .2, 1);border:none;background:0 0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;line-height:normal;min-width:0}.forge-field ::slotted(input)::-webkit-input-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-field ::slotted(input)::-moz-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-field ::slotted(input):-ms-input-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-field ::slotted(input)::-ms-input-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-field ::slotted(input)::placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-field ::slotted(input):invalid{-webkit-box-shadow:none;box-shadow:none}.forge-field ::slotted(input):-webkit-autofill{z-index:auto!important}.forge-field:not(.forge-field--disabled) ::slotted(input){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}.forge-field--disabled ::slotted(input){color:rgba(0,0,0,.6);color:var(--forge-theme-form-field-text-disabled-on-background,rgba(0,0,0,.6));cursor:not-allowed}.forge-field:not(.forge-field--dense):not(.forge-field--roomy) ::slotted(input){font-size:1rem;font-size:var(--forge-field-font-size, 1rem)}.forge-field--roomy:not(.forge-field--dense) ::slotted(input){font-size:1rem;font-size:var(--forge-field-font-size, 1rem)}.forge-field--dense:not(.forge-field--roomy) ::slotted(input){font-size:.875rem;font-size:var(--forge-field-font-size, .875rem)}.forge-field ::slotted(input){padding:0 12px}.forge-field--label ::slotted(input){padding-top:24px}.forge-field--roomy.forge-field--label ::slotted(input){padding-top:29px}.forge-field--shape-rounded:not(.forge-field--leading) ::slotted(input){padding-left:32px}.forge-field--leading ::slotted(input){padding-left:0}.forge-field--label ::slotted(input){padding-bottom:3px}.forge-field--roomy.forge-field--label ::slotted(input){padding-bottom:8px}.forge-field--shape-rounded:not(.forge-field--trailing):not(.forge-field--addon-end) ::slotted(input){padding-right:32px}.forge-field--addon-end ::slotted(input),.forge-field--trailing ::slotted(input){padding-right:0}.forge-field~::slotted([slot=helper-text]){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);display:block;min-height:1.5rem;line-height:normal;padding-top:4px;-webkit-box-sizing:border-box;box-sizing:border-box}.forge-field:not(.forge-field--dense):not(.forge-field--roomy)~::slotted([slot=helper-text]){font-size:.75rem}.forge-field--roomy:not(.forge-field--dense)~::slotted([slot=helper-text]){font-size:.875rem}.forge-field--dense:not(.forge-field--roomy)~::slotted([slot=helper-text]){font-size:.75rem}.forge-field~::slotted([slot=helper-text]){color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54))}.forge-field--invalid:not(.forge-field--disabled)~::slotted([slot=helper-text]){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-field:not(.forge-field--shape-rounded)~::slotted([slot=helper-text]){margin-left:12px}.forge-field--shape-rounded~::slotted([slot=helper-text]){margin-left:32px}.forge-field ::slotted([slot=leading]){display:-webkit-box;display:flex;align-self:center}.forge-field:not(.forge-field--disabled):not(.forge-field--invalid) ::slotted([slot=leading]){color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54))}.forge-field--invalid:not(.forge-field--disabled) ::slotted([slot=leading]){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-field--disabled ::slotted([slot=leading]){color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38));cursor:not-allowed;pointer-events:none}.forge-field ::slotted([slot=leading]){margin:0 4px}.forge-field ::slotted([slot=leading]:not(forge-icon-button)){padding:6px}.forge-field ::slotted([slot=trailing]){align-self:center}.forge-field:not(.forge-field--disabled):not(.forge-field--invalid) ::slotted([slot=trailing]){color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54))}.forge-field--invalid:not(.forge-field--disabled) ::slotted([slot=trailing]){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-field--disabled ::slotted([slot=trailing]){color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38));cursor:not-allowed;pointer-events:none}.forge-field ::slotted([slot=trailing]){margin:0 4px}.forge-field ::slotted([slot=trailing]:not(forge-icon-button)){padding:6px}.forge-field__addon-end-container{display:none}.forge-field--addon-end .forge-field__addon-end-container{height:100%;width:auto;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;padding:0 4px;border-left-width:1px;border-left-style:solid;-webkit-transition:border-left-color .2s 0s cubic-bezier(0, 0, .2, 1);transition:border-left-color .2s 0s cubic-bezier(0, 0, .2, 1)}.forge-field:not(.forge-field--disabled):not(.forge-field--focused):not(.forge-field--invalid) .forge-field__addon-end-container{border-left-color:rgba(0,0,0,.54);border-left-color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54))}.forge-field:not(.forge-field--disabled):not(.forge-field--focused):not(.forge-field--invalid) .forge-field__addon-end-container:hover{border-left-color:rgba(0,0,0,.87);border-left-color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}.forge-field.forge-field--focused:not(.forge-field--invalid):not(.forge-field--disabled) .forge-field__addon-end-container{border-left-color:#6200ee;border-left-color:var(--mdc-theme-primary,#6200ee)}.forge-field.forge-field--invalid:not(.forge-field--disabled) .forge-field__addon-end-container{border-left-color:#b00020;border-left-color:var(--mdc-theme-error,#b00020)}.forge-field.forge-field--invalid:not(.forge-field--focused):not(.forge-field--disabled) .forge-field__addon-end-container:hover{border-left-color:#db8a98;border-left-color:var(--forge-theme-error-hover,#db8a98)}.forge-field.forge-field--disabled .forge-field__addon-end-container{border-left-color:rgba(0,0,0,.38);border-left-color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.38))}.forge-field:not(.forge-field--disabled):not(.forge-field--invalid) ::slotted([slot=addon-end]){color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54))}.forge-field--invalid:not(.forge-field--disabled) ::slotted([slot=addon-end]){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-field--disabled ::slotted([slot=addon-end]){color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38));cursor:not-allowed;pointer-events:none}.forge-text-field{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;position:relative;z-index:1;z-index:var(--forge-z-index-surface,1);margin-top:0;margin-top:var(--forge-text-field-margin-top,0)}.forge-text-field.forge-field--disabled{background-color:#f5f5f5;background-color:var(--forge-theme-form-field-disabled-on-background,#f5f5f5);cursor:not-allowed}.forge-text-field:not(.forge-text-field--textarea):not(.forge-field--dense):not(.forge-field--roomy){height:3rem;height:var(--forge-text-field-height,3rem)}.forge-text-field:not(.forge-text-field--textarea).forge-field--roomy:not(.forge-field--dense){height:3.5rem;height:var(--forge-text-field-height,3.5rem)}.forge-text-field:not(.forge-text-field--textarea).forge-field--dense:not(.forge-field--roomy){height:1.5rem;height:var(--forge-text-field-height,1.5rem)}.forge-text-field__leading-container{display:-webkit-box;display:flex;align-self:center}.forge-text-field--multi-input ::slotted(input:first-of-type){padding-right:0;max-width:110px;min-width:110px;width:110px}.forge-text-field--multi-input ::slotted(input:last-of-type)::-webkit-input-placeholder{padding-left:6px}.forge-text-field--multi-input ::slotted(input:last-of-type)::-moz-placeholder{padding-left:6px}.forge-text-field--multi-input ::slotted(input:last-of-type):-ms-input-placeholder{padding-left:6px}.forge-text-field--multi-input ::slotted(input:last-of-type)::-ms-input-placeholder{padding-left:6px}.forge-text-field--multi-input ::slotted(input:last-of-type)::placeholder{padding-left:6px}.forge-text-field--multi-input ::slotted([data-forge-multi-input-separator]){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));border:transparent}.forge-text-field--multi-input.forge-field--label ::slotted([data-forge-multi-input-separator]){margin:20px 0 0 4px}.forge-text-field--multi-input:not(.forge-field--label) ::slotted([data-forge-multi-input-separator]){margin:0 0 0 4px}.forge-text-field.forge-text-field--textarea{height:auto;padding-right:2px;min-height:3rem;min-height:var(--forge-text-field-height,3rem)}.forge-text-field.forge-text-field--textarea ::slotted(textarea){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight,400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform,inherit);align-self:flex-end;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;-webkit-transition:opacity 150ms 0s cubic-bezier(.4, 0, .2, 1);transition:opacity 150ms 0s cubic-bezier(.4, 0, .2, 1);border:none;background:0 0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;line-height:normal;min-width:0;font-size:1rem;margin:28px 0 0;padding:0 12px 8px;overflow:auto;resize:vertical}.forge-text-field.forge-text-field--textarea ::slotted(textarea)::-webkit-input-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-text-field.forge-text-field--textarea ::slotted(textarea)::-moz-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-text-field.forge-text-field--textarea ::slotted(textarea):-ms-input-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-text-field.forge-text-field--textarea ::slotted(textarea)::-ms-input-placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-text-field.forge-text-field--textarea ::slotted(textarea)::placeholder{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));font-size:.875rem}.forge-text-field.forge-text-field--textarea ::slotted(textarea):invalid{-webkit-box-shadow:none;box-shadow:none}.forge-text-field.forge-text-field--textarea ::slotted(textarea):-webkit-autofill{z-index:auto!important}.forge-text-field.forge-text-field--textarea:not(.forge-field--disabled) ::slotted(textarea){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}.forge-text-field.forge-text-field--textarea.forge-field--disabled ::slotted(textarea){color:rgba(0,0,0,.6);color:var(--forge-theme-form-field-text-disabled-on-background,rgba(0,0,0,.6));cursor:not-allowed}:host{display:block;contain:layout}:host([hidden]){display:none}',i=class extends v{constructor(){super(),p(this,k,z),this._foundation=new d(new l(this))}};i=a([m({name:r.elementName})],i);function q(){c(i)}export{l as a,d as b,i as c,q as d};
7
+ //# sourceMappingURL=chunk.BTWJPE4Y.js.map