@tylertech/forge 3.0.0-next.21 → 3.0.0-next.22

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 (906) hide show
  1. package/custom-elements.json +33600 -39264
  2. package/dist/dialog/forge-dialog-utils.css +1 -1
  3. package/dist/esm/accordion/index.js +1 -1
  4. package/dist/esm/app-bar/app-bar/index.js +1 -1
  5. package/dist/esm/app-bar/help-button/index.js +1 -1
  6. package/dist/esm/app-bar/index.js +1 -1
  7. package/dist/esm/app-bar/menu-button/index.js +1 -1
  8. package/dist/esm/app-bar/notification-button/index.js +1 -1
  9. package/dist/esm/app-bar/profile-button/index.js +1 -1
  10. package/dist/esm/app-bar/search/index.js +1 -1
  11. package/dist/esm/autocomplete/index.js +1 -1
  12. package/dist/esm/avatar/index.js +1 -1
  13. package/dist/esm/backdrop/index.js +1 -1
  14. package/dist/esm/badge/index.js +1 -1
  15. package/dist/esm/banner/index.js +1 -1
  16. package/dist/esm/bottom-sheet/index.js +1 -1
  17. package/dist/esm/busy-indicator/index.js +1 -1
  18. package/dist/esm/button/index.js +1 -1
  19. package/dist/esm/button-area/index.js +1 -1
  20. package/dist/esm/button-toggle/button-toggle/index.js +1 -1
  21. package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
  22. package/dist/esm/button-toggle/index.js +1 -1
  23. package/dist/esm/calendar/calendar-dropdown/index.js +1 -1
  24. package/dist/esm/calendar/calendar-menu/index.js +1 -1
  25. package/dist/esm/calendar/index.js +1 -1
  26. package/dist/esm/card/index.js +1 -1
  27. package/dist/esm/checkbox/index.js +1 -1
  28. package/dist/esm/chip-field/index.js +1 -1
  29. package/dist/esm/chips/chip/index.js +1 -1
  30. package/dist/esm/chips/chip-set/index.js +1 -1
  31. package/dist/esm/chips/index.js +1 -1
  32. package/dist/esm/chunks/{chunk.YS5JZHJ6.js → chunk.24SQJBSQ.js} +2 -2
  33. package/dist/esm/chunks/{chunk.PDDBNHVU.js → chunk.2GUWHBUU.js} +2 -2
  34. package/dist/esm/chunks/{chunk.PDDBNHVU.js.map → chunk.2GUWHBUU.js.map} +2 -2
  35. package/dist/esm/chunks/chunk.37B332ZK.js +7 -0
  36. package/dist/esm/chunks/{chunk.SOKORSUV.js.map → chunk.37B332ZK.js.map} +3 -3
  37. package/dist/esm/chunks/chunk.3IUQ4C47.js +7 -0
  38. package/dist/esm/chunks/chunk.3IUQ4C47.js.map +7 -0
  39. package/dist/esm/chunks/{chunk.IZRURH7C.js → chunk.3KAKJGUS.js} +2 -2
  40. package/dist/esm/chunks/chunk.3PMONORO.js +7 -0
  41. package/dist/esm/chunks/chunk.3PMONORO.js.map +7 -0
  42. package/dist/esm/chunks/chunk.473WRJ5G.js +7 -0
  43. package/dist/esm/chunks/chunk.5A665C5E.js +7 -0
  44. package/dist/esm/chunks/chunk.5A665C5E.js.map +7 -0
  45. package/dist/esm/chunks/chunk.5ADUSMC7.js +7 -0
  46. package/dist/esm/chunks/chunk.5ADUSMC7.js.map +7 -0
  47. package/dist/esm/chunks/{chunk.USQEIRST.js → chunk.5MB6CTBA.js} +2 -2
  48. package/dist/esm/chunks/chunk.5SUJNEC7.js +7 -0
  49. package/dist/esm/chunks/chunk.5SUJNEC7.js.map +7 -0
  50. package/dist/esm/chunks/{chunk.47U6GVGZ.js → chunk.5UOX22ML.js} +2 -2
  51. package/dist/esm/chunks/chunk.6E5WHIPF.js +7 -0
  52. package/dist/esm/chunks/chunk.6E5WHIPF.js.map +7 -0
  53. package/dist/esm/chunks/{chunk.4NABD6XG.js → chunk.6VS3LYAF.js} +2 -2
  54. package/dist/esm/chunks/chunk.72BKSMAZ.js +7 -0
  55. package/dist/esm/chunks/{chunk.3TIBP6QT.js.map → chunk.72BKSMAZ.js.map} +3 -3
  56. package/dist/esm/chunks/chunk.77C7S7ZS.js +7 -0
  57. package/dist/esm/chunks/chunk.77C7S7ZS.js.map +7 -0
  58. package/dist/esm/chunks/chunk.7AAICE77.js +7 -0
  59. package/dist/esm/chunks/chunk.7AAICE77.js.map +7 -0
  60. package/dist/esm/chunks/chunk.7IPAW4D2.js +7 -0
  61. package/dist/esm/chunks/{chunk.MCR34SZQ.js.map → chunk.7IPAW4D2.js.map} +1 -1
  62. package/dist/esm/chunks/chunk.7Y3BUR7Q.js +7 -0
  63. package/dist/esm/chunks/{chunk.3U222LE4.js.map → chunk.7Y3BUR7Q.js.map} +1 -1
  64. package/dist/esm/chunks/chunk.A2NB7CIK.js +7 -0
  65. package/dist/esm/chunks/chunk.A2NB7CIK.js.map +7 -0
  66. package/dist/esm/chunks/{chunk.AOSBUJWW.js → chunk.A7BCLPP4.js} +2 -2
  67. package/dist/esm/chunks/chunk.AFWWND2C.js +7 -0
  68. package/dist/esm/chunks/chunk.AFWWND2C.js.map +7 -0
  69. package/dist/esm/chunks/{chunk.7UBIT4NP.js → chunk.AG6IRMLZ.js} +2 -2
  70. package/dist/esm/chunks/{chunk.A4UH52SA.js → chunk.AGLI4WR4.js} +2 -2
  71. package/dist/esm/chunks/{chunk.WTUXAH7Z.js → chunk.AOVXNX7P.js} +2 -2
  72. package/dist/esm/chunks/{chunk.AN2E2SSN.js → chunk.ASLHRT3N.js} +2 -2
  73. package/dist/esm/chunks/chunk.BEFAXPXJ.js +15 -0
  74. package/dist/esm/chunks/{chunk.EO3HELQ2.js.map → chunk.BEFAXPXJ.js.map} +1 -1
  75. package/dist/esm/chunks/{chunk.CBLUXYH2.js → chunk.BHE6Z5Y2.js} +2 -2
  76. package/dist/esm/chunks/{chunk.2WRAXA3H.js → chunk.BQ52JYLA.js} +2 -2
  77. package/dist/esm/chunks/chunk.BQZKOIAW.js +7 -0
  78. package/dist/esm/chunks/chunk.BQZKOIAW.js.map +7 -0
  79. package/dist/esm/chunks/chunk.BV7EAQST.js +7 -0
  80. package/dist/esm/chunks/chunk.BV7EAQST.js.map +7 -0
  81. package/dist/esm/chunks/{chunk.ROMRJIFR.js → chunk.CE35CVDV.js} +2 -2
  82. package/dist/esm/chunks/{chunk.ZPXMKY72.js → chunk.CEGBMUSR.js} +2 -2
  83. package/dist/esm/chunks/{chunk.GBGGUYTE.js → chunk.CFAI4K3E.js} +2 -2
  84. package/dist/esm/chunks/{chunk.ZIGVO6FN.js → chunk.CGFSMACZ.js} +2 -2
  85. package/dist/esm/chunks/chunk.DJSHVUEM.js +18 -0
  86. package/dist/esm/chunks/{chunk.MGLWXAZO.js.map → chunk.DJSHVUEM.js.map} +4 -4
  87. package/dist/esm/chunks/chunk.DKERDHXH.js +7 -0
  88. package/dist/esm/chunks/{chunk.JVWJHSPM.js.map → chunk.DKERDHXH.js.map} +1 -1
  89. package/dist/esm/chunks/chunk.DZJ6HBAG.js +7 -0
  90. package/dist/esm/chunks/chunk.DZJ6HBAG.js.map +7 -0
  91. package/dist/esm/chunks/{chunk.2537XOFQ.js → chunk.E2BE52ME.js} +2 -2
  92. package/dist/esm/chunks/chunk.EHVCEEV2.js +7 -0
  93. package/dist/esm/chunks/chunk.EHVCEEV2.js.map +7 -0
  94. package/dist/esm/chunks/{chunk.UEYPCCFG.js → chunk.ENUKGA2U.js} +2 -2
  95. package/dist/esm/chunks/chunk.EO3GP6DP.js +7 -0
  96. package/dist/esm/chunks/chunk.EO3GP6DP.js.map +7 -0
  97. package/dist/esm/chunks/{chunk.XYBVD3IE.js → chunk.EUJBIOGT.js} +2 -2
  98. package/dist/esm/chunks/{chunk.XYBVD3IE.js.map → chunk.EUJBIOGT.js.map} +2 -2
  99. package/dist/esm/chunks/chunk.FLBYVCQ6.js +7 -0
  100. package/dist/esm/chunks/chunk.FLBYVCQ6.js.map +7 -0
  101. package/dist/esm/chunks/chunk.FLF5RTYO.js +7 -0
  102. package/dist/esm/chunks/chunk.FLF5RTYO.js.map +7 -0
  103. package/dist/esm/chunks/chunk.GBAVJILM.js +7 -0
  104. package/dist/esm/chunks/chunk.GBAVJILM.js.map +7 -0
  105. package/dist/esm/chunks/chunk.GG7IQL46.js +7 -0
  106. package/dist/esm/chunks/{chunk.HBAC6E7O.js.map → chunk.GG7IQL46.js.map} +1 -1
  107. package/dist/esm/chunks/chunk.GIENHEMN.js +7 -0
  108. package/dist/esm/chunks/chunk.GIENHEMN.js.map +7 -0
  109. package/dist/esm/chunks/{chunk.FOSKVNVV.js → chunk.H4VQXV2H.js} +2 -2
  110. package/dist/esm/chunks/{chunk.FOSKVNVV.js.map → chunk.H4VQXV2H.js.map} +2 -2
  111. package/dist/esm/chunks/{chunk.GA6AO6FJ.js → chunk.H5RW3A4M.js} +2 -2
  112. package/dist/esm/chunks/chunk.HG4IDRAC.js +7 -0
  113. package/dist/esm/chunks/chunk.HG4IDRAC.js.map +7 -0
  114. package/dist/esm/chunks/{chunk.CSOKFDFQ.js → chunk.HSADKCGS.js} +2 -2
  115. package/dist/esm/chunks/chunk.I7YON2TC.js +7 -0
  116. package/dist/esm/chunks/chunk.I7YON2TC.js.map +7 -0
  117. package/dist/esm/chunks/chunk.IEABOPNB.js +7 -0
  118. package/dist/esm/chunks/{chunk.22C7GQLX.js → chunk.IL4S57WO.js} +2 -2
  119. package/dist/esm/chunks/{chunk.HMJODLAS.js → chunk.IQYOLMPG.js} +2 -2
  120. package/dist/esm/chunks/chunk.ISLJNJEE.js +7 -0
  121. package/dist/esm/chunks/chunk.ISLJNJEE.js.map +7 -0
  122. package/dist/esm/chunks/{chunk.QG5EYBS3.js → chunk.J2Y5KPON.js} +2 -2
  123. package/dist/esm/chunks/{chunk.QG5EYBS3.js.map → chunk.J2Y5KPON.js.map} +2 -2
  124. package/dist/esm/chunks/{chunk.7IJUN75W.js → chunk.JE5LSPXG.js} +2 -2
  125. package/dist/esm/chunks/{chunk.7IJUN75W.js.map → chunk.JE5LSPXG.js.map} +3 -3
  126. package/dist/esm/chunks/{chunk.GTKYO6VB.js → chunk.JGURMVW7.js} +2 -2
  127. package/dist/esm/chunks/{chunk.YXHMD73U.js → chunk.K6GJNDTY.js} +2 -2
  128. package/dist/esm/chunks/{chunk.QUWEAFGI.js → chunk.KEOLH7G3.js} +2 -2
  129. package/dist/esm/chunks/chunk.KLU54MDQ.js +7 -0
  130. package/dist/esm/chunks/chunk.KLU54MDQ.js.map +7 -0
  131. package/dist/esm/chunks/chunk.KO6ODCZC.js +7 -0
  132. package/dist/esm/chunks/chunk.KO6ODCZC.js.map +7 -0
  133. package/dist/esm/chunks/chunk.KTPEFU7V.js +7 -0
  134. package/dist/esm/chunks/{chunk.5UGN5FYV.js.map → chunk.KTPEFU7V.js.map} +2 -2
  135. package/dist/esm/chunks/chunk.L4QSPQDE.js +7 -0
  136. package/dist/esm/chunks/{chunk.DCCFF327.js.map → chunk.L4QSPQDE.js.map} +2 -2
  137. package/dist/esm/chunks/chunk.LGSCBWNR.js +7 -0
  138. package/dist/esm/chunks/chunk.LGSCBWNR.js.map +7 -0
  139. package/dist/esm/chunks/{chunk.BIQTNLIF.js → chunk.LNTTU2GL.js} +2 -2
  140. package/dist/esm/chunks/chunk.LSMHIVX2.js +7 -0
  141. package/dist/esm/chunks/{chunk.V7ILFIOR.js.map → chunk.LSMHIVX2.js.map} +1 -1
  142. package/dist/esm/chunks/{chunk.2AM2BKEO.js → chunk.MFQRXVKO.js} +2 -2
  143. package/dist/esm/chunks/{chunk.JLSFTWPE.js → chunk.MTIPIEXA.js} +2 -2
  144. package/dist/esm/chunks/chunk.MX4JX4GT.js +7 -0
  145. package/dist/esm/chunks/{chunk.UOD3A7M4.js.map → chunk.MX4JX4GT.js.map} +1 -1
  146. package/dist/esm/chunks/chunk.NEQX2QVX.js +7 -0
  147. package/dist/esm/chunks/chunk.NEQX2QVX.js.map +7 -0
  148. package/dist/esm/chunks/chunk.NWVQ5HK2.js +7 -0
  149. package/dist/esm/chunks/{chunk.BETICEYY.js.map → chunk.NWVQ5HK2.js.map} +2 -2
  150. package/dist/esm/chunks/chunk.O5WAQQNR.js +7 -0
  151. package/dist/esm/chunks/{chunk.ZYKP23JP.js.map → chunk.O5WAQQNR.js.map} +2 -2
  152. package/dist/esm/chunks/{chunk.JSTCCUKZ.js → chunk.OEI35LFU.js} +2 -2
  153. package/dist/esm/chunks/{chunk.6GSVB5NB.js → chunk.OLFOVKQG.js} +2 -2
  154. package/dist/esm/chunks/chunk.OLFOVKQG.js.map +7 -0
  155. package/dist/esm/chunks/{chunk.IWVAI6XM.js → chunk.OOAJHLW4.js} +2 -2
  156. package/dist/esm/chunks/chunk.OOAJHLW4.js.map +7 -0
  157. package/dist/esm/chunks/chunk.OVXEOEJF.js +7 -0
  158. package/dist/esm/chunks/chunk.OVXEOEJF.js.map +7 -0
  159. package/dist/esm/chunks/chunk.PC6TW5XE.js +7 -0
  160. package/dist/esm/chunks/chunk.PC6TW5XE.js.map +7 -0
  161. package/dist/esm/chunks/chunk.PFIIBXTS.js +7 -0
  162. package/dist/esm/chunks/chunk.PFIIBXTS.js.map +7 -0
  163. package/dist/esm/chunks/chunk.Q7TBWGKN.js +12 -0
  164. package/dist/esm/chunks/chunk.Q7TBWGKN.js.map +7 -0
  165. package/dist/esm/chunks/chunk.QCPV5DEG.js +7 -0
  166. package/dist/esm/chunks/{chunk.R3AWIPPK.js → chunk.QIZBZGYT.js} +2 -2
  167. package/dist/esm/chunks/{chunk.2XPAYTK4.js → chunk.QKTK5XUE.js} +2 -2
  168. package/dist/esm/chunks/chunk.QLGJS37N.js +7 -0
  169. package/dist/esm/chunks/chunk.QLGJS37N.js.map +7 -0
  170. package/dist/esm/chunks/{chunk.R66CYS27.js → chunk.QTY25OTN.js} +2 -2
  171. package/dist/esm/chunks/chunk.QUXMLWBJ.js +7 -0
  172. package/dist/esm/chunks/{chunk.BEUQVZKZ.js.map → chunk.QUXMLWBJ.js.map} +1 -1
  173. package/dist/esm/chunks/{chunk.BSV27GU7.js → chunk.QVATEY5S.js} +2 -2
  174. package/dist/esm/chunks/chunk.RFT3BAJ2.js +7 -0
  175. package/dist/esm/chunks/chunk.RFT3BAJ2.js.map +7 -0
  176. package/dist/esm/chunks/{chunk.SHBDQPPH.js → chunk.RONMNRSH.js} +2 -2
  177. package/dist/esm/chunks/{chunk.FRTSXX33.js → chunk.RSYEG2RW.js} +2 -2
  178. package/dist/esm/chunks/{chunk.A6BIUNPW.js → chunk.RXBLU4OJ.js} +2 -2
  179. package/dist/esm/chunks/{chunk.FBDRM4YN.js → chunk.S7KEO2CH.js} +2 -2
  180. package/dist/esm/chunks/{chunk.XU3YSZPA.js → chunk.SQ3AZAHF.js} +2 -2
  181. package/dist/esm/chunks/{chunk.35MHQH7Z.js → chunk.SROEDYPL.js} +2 -2
  182. package/dist/esm/chunks/chunk.T7NWP7DB.js +7 -0
  183. package/dist/esm/chunks/chunk.T7NWP7DB.js.map +7 -0
  184. package/dist/esm/chunks/{chunk.PXRGQHWR.js → chunk.TQWZDM6T.js} +2 -2
  185. package/dist/esm/chunks/chunk.U6J4VHU6.js +7 -0
  186. package/dist/esm/chunks/{chunk.STSAE2XP.js.map → chunk.U6J4VHU6.js.map} +1 -1
  187. package/dist/esm/chunks/{chunk.6JVMCBCR.js → chunk.UKBE2FMZ.js} +2 -2
  188. package/dist/esm/chunks/{chunk.MDDX4MJU.js → chunk.UPSXYWPD.js} +2 -2
  189. package/dist/esm/chunks/{chunk.MDDX4MJU.js.map → chunk.UPSXYWPD.js.map} +2 -2
  190. package/dist/esm/chunks/chunk.USTVZ6MZ.js +7 -0
  191. package/dist/esm/chunks/chunk.USTVZ6MZ.js.map +7 -0
  192. package/dist/esm/chunks/chunk.VGIRVTBJ.js +7 -0
  193. package/dist/esm/chunks/chunk.VGIRVTBJ.js.map +7 -0
  194. package/dist/esm/chunks/chunk.VRSPT7WX.js +7 -0
  195. package/dist/esm/chunks/{chunk.UQQQSJVM.js.map → chunk.VRSPT7WX.js.map} +3 -3
  196. package/dist/esm/chunks/chunk.W4HANHUO.js +7 -0
  197. package/dist/esm/chunks/chunk.W6FT6MKN.js +7 -0
  198. package/dist/esm/chunks/chunk.W6FT6MKN.js.map +7 -0
  199. package/dist/esm/chunks/{chunk.2W276VOR.js → chunk.WMJSYYXQ.js} +2 -2
  200. package/dist/esm/chunks/chunk.WXVVOFNK.js +7 -0
  201. package/dist/esm/chunks/chunk.WXVVOFNK.js.map +7 -0
  202. package/dist/esm/chunks/{chunk.OSBNFFCI.js → chunk.XATVDHDW.js} +2 -2
  203. package/dist/esm/chunks/chunk.XATVDHDW.js.map +7 -0
  204. package/dist/esm/chunks/{chunk.4AEQ7KVU.js → chunk.XTJGWT5F.js} +2 -2
  205. package/dist/esm/chunks/chunk.YNCTSMT6.js +7 -0
  206. package/dist/esm/chunks/chunk.YNCTSMT6.js.map +7 -0
  207. package/dist/esm/chunks/{chunk.YNXWVL4B.js → chunk.YPNSK2CK.js} +2 -2
  208. package/dist/esm/chunks/chunk.YRAEFQJW.js +7 -0
  209. package/dist/esm/chunks/{chunk.XAZ6EDIZ.js.map → chunk.YRAEFQJW.js.map} +3 -3
  210. package/dist/esm/chunks/chunk.YWJVZVZX.js +7 -0
  211. package/dist/esm/chunks/{chunk.6XLTVIUD.js → chunk.ZA7JY3AY.js} +2 -2
  212. package/dist/esm/chunks/chunk.ZG6YF2HI.js +7 -0
  213. package/dist/esm/chunks/{chunk.R6VPRRTT.js.map → chunk.ZG6YF2HI.js.map} +1 -1
  214. package/dist/esm/circular-progress/index.js +1 -1
  215. package/dist/esm/color-picker/index.js +1 -1
  216. package/dist/esm/core/base/index.js +1 -1
  217. package/dist/esm/core/delegates/index.js +1 -1
  218. package/dist/esm/core/index.js +1 -1
  219. package/dist/esm/core/utils/index.js +1 -1
  220. package/dist/esm/date-picker/index.js +1 -1
  221. package/dist/esm/date-range-picker/index.js +1 -1
  222. package/dist/esm/deprecated/button/index.js +1 -1
  223. package/dist/esm/deprecated/index.js +1 -1
  224. package/dist/esm/dialog/index.js +1 -1
  225. package/dist/esm/divider/index.js +1 -1
  226. package/dist/esm/drawer/base/index.js +1 -1
  227. package/dist/esm/drawer/drawer/index.js +1 -1
  228. package/dist/esm/drawer/index.js +1 -1
  229. package/dist/esm/drawer/mini-drawer/index.js +1 -1
  230. package/dist/esm/drawer/modal-drawer/index.js +1 -1
  231. package/dist/esm/expansion-panel/index.js +1 -1
  232. package/dist/esm/{field-next → field}/base/index.js +1 -1
  233. package/dist/esm/field/index.js +7 -0
  234. package/dist/esm/file-picker/index.js +1 -1
  235. package/dist/esm/floating-action-button/index.js +1 -1
  236. package/dist/esm/focus-indicator/index.js +1 -1
  237. package/dist/esm/icon/index.js +1 -1
  238. package/dist/esm/icon-button/index.js +1 -1
  239. package/dist/esm/index.js +1 -1
  240. package/dist/esm/inline-message/index.js +1 -1
  241. package/dist/esm/keyboard-shortcut/index.js +1 -1
  242. package/dist/esm/label/index.js +1 -1
  243. package/dist/esm/label-value/index.js +1 -1
  244. package/dist/esm/linear-progress/index.js +1 -1
  245. package/dist/esm/list/index.js +1 -1
  246. package/dist/esm/list/list/index.js +1 -1
  247. package/dist/esm/list/list-item/index.js +1 -1
  248. package/dist/esm/list-dropdown/index.js +1 -1
  249. package/dist/esm/menu/index.js +1 -1
  250. package/dist/esm/open-icon/index.js +1 -1
  251. package/dist/esm/overlay/index.js +1 -1
  252. package/dist/esm/page-state/index.js +1 -1
  253. package/dist/esm/paginator/index.js +1 -1
  254. package/dist/esm/popover/index.js +1 -1
  255. package/dist/esm/profile-card/index.js +1 -1
  256. package/dist/esm/quantity-field/index.js +1 -1
  257. package/dist/esm/radio/index.js +1 -1
  258. package/dist/esm/radio/radio/index.js +1 -1
  259. package/dist/esm/radio/radio-group/index.js +1 -1
  260. package/dist/esm/scaffold/index.js +1 -1
  261. package/dist/esm/select/core/index.js +1 -1
  262. package/dist/esm/select/index.js +1 -1
  263. package/dist/esm/select/option/index.js +1 -1
  264. package/dist/esm/select/option-group/index.js +1 -1
  265. package/dist/esm/select/select/index.js +1 -1
  266. package/dist/esm/select/select-dropdown/index.js +1 -1
  267. package/dist/esm/skeleton/index.js +1 -1
  268. package/dist/esm/slider/index.js +1 -1
  269. package/dist/esm/split-button/index.js +1 -1
  270. package/dist/esm/split-view/index.js +1 -1
  271. package/dist/esm/split-view/split-view/index.js +1 -1
  272. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  273. package/dist/esm/stack/index.js +1 -1
  274. package/dist/esm/state-layer/index.js +1 -1
  275. package/dist/esm/stepper/index.js +1 -1
  276. package/dist/esm/stepper/step/index.js +1 -1
  277. package/dist/esm/stepper/stepper/index.js +1 -1
  278. package/dist/esm/switch/index.js +1 -1
  279. package/dist/esm/table/index.js +1 -1
  280. package/dist/esm/tabs/index.js +1 -1
  281. package/dist/esm/tabs/tab/index.js +1 -1
  282. package/dist/esm/tabs/tab-bar/index.js +1 -1
  283. package/dist/esm/text-field/index.js +1 -1
  284. package/dist/esm/time-picker/index.js +1 -1
  285. package/dist/esm/toast/index.js +1 -1
  286. package/dist/esm/toolbar/index.js +1 -1
  287. package/dist/esm/tooltip/index.js +1 -1
  288. package/dist/esm/view-switcher/index.js +1 -1
  289. package/dist/esm/view-switcher/view/index.js +1 -1
  290. package/dist/forge-core.css +1 -1
  291. package/dist/forge-dark.css +1 -1
  292. package/dist/forge.css +1 -1
  293. package/esm/app-bar/profile-button/app-bar-profile-button-adapter.d.ts +6 -6
  294. package/esm/app-bar/profile-button/app-bar-profile-button-adapter.js +18 -10
  295. package/esm/app-bar/profile-button/app-bar-profile-button-foundation.d.ts +3 -3
  296. package/esm/app-bar/profile-button/app-bar-profile-button-foundation.js +13 -17
  297. package/esm/app-bar/profile-button/app-bar-profile-button.d.ts +4 -4
  298. package/esm/app-bar/profile-button/app-bar-profile-button.js +3 -3
  299. package/esm/autocomplete/autocomplete-adapter.d.ts +6 -2
  300. package/esm/autocomplete/autocomplete-adapter.js +27 -23
  301. package/esm/autocomplete/autocomplete-constants.d.ts +2 -2
  302. package/esm/autocomplete/autocomplete-constants.js +1 -2
  303. package/esm/autocomplete/autocomplete-foundation.js +3 -5
  304. package/esm/autocomplete/autocomplete.js +2 -2
  305. package/esm/backdrop/backdrop-constants.d.ts +10 -13
  306. package/esm/backdrop/backdrop-constants.js +12 -17
  307. package/esm/backdrop/backdrop.d.ts +17 -29
  308. package/esm/backdrop/backdrop.js +79 -50
  309. package/esm/backdrop/index.d.ts +0 -2
  310. package/esm/backdrop/index.js +0 -2
  311. package/esm/bottom-sheet/bottom-sheet-adapter.d.ts +2 -2
  312. package/esm/bottom-sheet/bottom-sheet-adapter.js +12 -5
  313. package/esm/bottom-sheet/bottom-sheet-foundation.js +1 -1
  314. package/esm/bottom-sheet/bottom-sheet.js +2 -2
  315. package/esm/busy-indicator/busy-indicator-adapter.d.ts +2 -6
  316. package/esm/busy-indicator/busy-indicator-adapter.js +8 -6
  317. package/esm/busy-indicator/busy-indicator-foundation.js +1 -1
  318. package/esm/button/base/base-button-foundation.js +2 -1
  319. package/esm/calendar/calendar-constants.d.ts +1 -1
  320. package/esm/calendar/calendar-constants.js +1 -1
  321. package/esm/calendar/calendar-dropdown/calendar-dropdown.d.ts +6 -4
  322. package/esm/calendar/calendar-dropdown/calendar-dropdown.js +21 -25
  323. package/esm/calendar/calendar-menu/calendar-menu-constants.d.ts +1 -1
  324. package/esm/calendar/calendar-menu/calendar-menu-constants.js +1 -1
  325. package/esm/calendar/calendar-menu/calendar-menu.js +3 -3
  326. package/esm/calendar/calendar.js +3 -3
  327. package/esm/card/card-constants.d.ts +2 -5
  328. package/esm/card/card-constants.js +4 -10
  329. package/esm/card/card.d.ts +10 -5
  330. package/esm/card/card.js +14 -16
  331. package/esm/checkbox/checkbox-adapter.d.ts +0 -34
  332. package/esm/checkbox/checkbox-adapter.js +10 -105
  333. package/esm/checkbox/checkbox-constants.d.ts +13 -4
  334. package/esm/checkbox/checkbox-constants.js +8 -11
  335. package/esm/checkbox/checkbox-foundation.d.ts +5 -11
  336. package/esm/checkbox/checkbox-foundation.js +24 -35
  337. package/esm/checkbox/checkbox.d.ts +24 -24
  338. package/esm/checkbox/checkbox.js +65 -83
  339. package/esm/chip-field/chip-field-adapter.d.ts +48 -22
  340. package/esm/chip-field/chip-field-adapter.js +130 -30
  341. package/esm/chip-field/chip-field-component-delegate.js +1 -1
  342. package/esm/chip-field/chip-field-constants.d.ts +18 -16
  343. package/esm/chip-field/chip-field-constants.js +19 -20
  344. package/esm/chip-field/chip-field-foundation.d.ts +26 -16
  345. package/esm/chip-field/chip-field-foundation.js +128 -74
  346. package/esm/chip-field/chip-field.d.ts +9 -6
  347. package/esm/chip-field/chip-field.js +24 -11
  348. package/esm/chips/chip/chip.js +1 -1
  349. package/esm/constants.d.ts +2 -0
  350. package/esm/constants.js +2 -0
  351. package/esm/core/base/base-adapter.d.ts +1 -0
  352. package/esm/core/controllers/move-controller.d.ts +32 -0
  353. package/esm/core/controllers/move-controller.js +40 -0
  354. package/esm/core/mixins/interactions/moveable/with-moveable.d.ts +30 -0
  355. package/esm/core/mixins/interactions/moveable/with-moveable.js +131 -0
  356. package/esm/core/utils/dismissible-stack.d.ts +6 -0
  357. package/esm/core/utils/dismissible-stack.js +9 -0
  358. package/esm/core/utils/feature-detection.d.ts +5 -0
  359. package/esm/core/utils/feature-detection.js +7 -0
  360. package/esm/core/utils/index.d.ts +2 -0
  361. package/esm/core/utils/index.js +2 -0
  362. package/esm/core/utils/svg-utils.d.ts +1 -1
  363. package/esm/core/utils/svg-utils.js +2 -2
  364. package/esm/date-picker/date-picker.d.ts +0 -2
  365. package/esm/date-picker/date-picker.js +2 -4
  366. package/esm/date-range-picker/date-range-picker-adapter.js +1 -1
  367. package/esm/date-range-picker/date-range-picker-component-delegate.d.ts +1 -1
  368. package/esm/date-range-picker/date-range-picker.js +2 -2
  369. package/esm/dialog/dialog-adapter.d.ts +44 -62
  370. package/esm/dialog/dialog-adapter.js +107 -135
  371. package/esm/dialog/dialog-constants.d.ts +51 -28
  372. package/esm/dialog/dialog-constants.js +36 -33
  373. package/esm/dialog/dialog-foundation.d.ts +59 -75
  374. package/esm/dialog/dialog-foundation.js +218 -360
  375. package/esm/dialog/dialog.d.ts +127 -46
  376. package/esm/dialog/dialog.js +161 -60
  377. package/esm/drawer/modal-drawer/modal-drawer-adapter.js +1 -1
  378. package/esm/drawer/modal-drawer/modal-drawer-foundation.js +5 -6
  379. package/esm/{field-next → field}/base/base-field-foundation.js +14 -0
  380. package/esm/{field-next/field-foundation.d.ts → field/base/with-base-field.d.ts} +24 -39
  381. package/esm/field/base/with-base-field.js +210 -0
  382. package/esm/field/field-adapter.d.ts +49 -92
  383. package/esm/field/field-adapter.js +114 -154
  384. package/esm/field/field-constants.d.ts +82 -30
  385. package/esm/field/field-constants.js +51 -29
  386. package/esm/field/field-foundation.d.ts +78 -48
  387. package/esm/field/field-foundation.js +171 -273
  388. package/esm/field/field.d.ts +202 -24
  389. package/esm/field/field.js +267 -37
  390. package/esm/focus-indicator/focus-indicator-constants.d.ts +5 -0
  391. package/esm/focus-indicator/focus-indicator-constants.js +7 -2
  392. package/esm/focus-indicator/focus-indicator-foundation.d.ts +5 -0
  393. package/esm/focus-indicator/focus-indicator-foundation.js +21 -3
  394. package/esm/focus-indicator/focus-indicator.d.ts +5 -0
  395. package/esm/focus-indicator/focus-indicator.js +9 -7
  396. package/esm/icon/icon-adapter.d.ts +4 -2
  397. package/esm/icon/icon-adapter.js +13 -9
  398. package/esm/icon/icon-constants.d.ts +14 -2
  399. package/esm/icon/icon-constants.js +3 -1
  400. package/esm/icon/icon-foundation.d.ts +6 -2
  401. package/esm/icon/icon-foundation.js +50 -18
  402. package/esm/icon/icon-registry.d.ts +8 -2
  403. package/esm/icon/icon-registry.js +15 -2
  404. package/esm/icon/icon-utils.d.ts +6 -3
  405. package/esm/icon/icon-utils.js +6 -7
  406. package/esm/icon/icon.d.ts +35 -4
  407. package/esm/icon/icon.js +44 -18
  408. package/esm/icon/index.js +0 -6
  409. package/esm/icon-button/icon-button-component-delegate.d.ts +2 -2
  410. package/esm/index.d.ts +1 -4
  411. package/esm/index.js +2 -9
  412. package/esm/label-value/index.d.ts +0 -2
  413. package/esm/label-value/index.js +0 -2
  414. package/esm/label-value/label-value-constants.d.ts +7 -12
  415. package/esm/label-value/label-value-constants.js +7 -17
  416. package/esm/label-value/label-value.d.ts +44 -16
  417. package/esm/label-value/label-value.js +78 -36
  418. package/esm/list/list/list.d.ts +2 -3
  419. package/esm/list/list/list.js +4 -5
  420. package/esm/list/list-item/list-item.d.ts +1 -0
  421. package/esm/list/list-item/list-item.js +2 -1
  422. package/esm/list-dropdown/list-dropdown-adapter.d.ts +3 -1
  423. package/esm/list-dropdown/list-dropdown-adapter.js +24 -9
  424. package/esm/list-dropdown/list-dropdown-constants.d.ts +6 -5
  425. package/esm/list-dropdown/list-dropdown-foundation.d.ts +2 -2
  426. package/esm/list-dropdown/list-dropdown-foundation.js +3 -5
  427. package/esm/list-dropdown/list-dropdown-utils.d.ts +3 -3
  428. package/esm/list-dropdown/list-dropdown-utils.js +11 -19
  429. package/esm/list-dropdown/list-dropdown.d.ts +2 -2
  430. package/esm/list-dropdown/list-dropdown.js +1 -1
  431. package/esm/menu/menu-adapter.d.ts +4 -2
  432. package/esm/menu/menu-adapter.js +8 -2
  433. package/esm/menu/menu-foundation.d.ts +11 -10
  434. package/esm/menu/menu-foundation.js +9 -6
  435. package/esm/menu/menu.d.ts +8 -7
  436. package/esm/menu/menu.js +2 -2
  437. package/esm/overlay/overlay-adapter.d.ts +0 -1
  438. package/esm/overlay/overlay-adapter.js +1 -2
  439. package/esm/paginator/paginator.js +1 -1
  440. package/esm/popover/popover-adapter.d.ts +9 -0
  441. package/esm/popover/popover-adapter.js +41 -3
  442. package/esm/popover/popover-constants.d.ts +17 -0
  443. package/esm/popover/popover-constants.js +11 -6
  444. package/esm/popover/popover-foundation.d.ts +7 -1
  445. package/esm/popover/popover-foundation.js +35 -7
  446. package/esm/popover/popover.d.ts +15 -1
  447. package/esm/popover/popover.js +28 -15
  448. package/esm/radio/core/radio-group-manager.d.ts +18 -1
  449. package/esm/radio/core/radio-group-manager.js +27 -6
  450. package/esm/radio/radio/radio-adapter.js +4 -2
  451. package/esm/radio/radio/radio-component-delegate.d.ts +38 -0
  452. package/esm/radio/radio/radio-component-delegate.js +88 -1
  453. package/esm/radio/radio/radio-constants.d.ts +11 -0
  454. package/esm/radio/radio/radio-constants.js +3 -1
  455. package/esm/radio/radio/radio-foundation.js +3 -2
  456. package/esm/radio/radio/radio.d.ts +8 -3
  457. package/esm/radio/radio/radio.js +17 -18
  458. package/esm/radio/radio-group/radio-group-constants.d.ts +3 -0
  459. package/esm/radio/radio-group/radio-group-constants.js +3 -1
  460. package/esm/radio/radio-group/radio-group.js +5 -5
  461. package/esm/scaffold/scaffold-constants.d.ts +6 -0
  462. package/esm/scaffold/scaffold-constants.js +7 -1
  463. package/esm/scaffold/scaffold.d.ts +30 -2
  464. package/esm/scaffold/scaffold.js +43 -4
  465. package/esm/select/core/base-select-adapter.d.ts +5 -3
  466. package/esm/select/core/base-select-adapter.js +10 -9
  467. package/esm/select/core/base-select-constants.d.ts +11 -0
  468. package/esm/select/core/base-select-constants.js +1 -0
  469. package/esm/select/core/base-select-foundation.js +3 -3
  470. package/esm/select/core/base-select.d.ts +3 -3
  471. package/esm/select/select/select-adapter.d.ts +14 -60
  472. package/esm/select/select/select-adapter.js +52 -111
  473. package/esm/select/select/select-constants.d.ts +16 -14
  474. package/esm/select/select/select-constants.js +8 -16
  475. package/esm/select/select/select-foundation.d.ts +12 -58
  476. package/esm/select/select/select-foundation.js +45 -240
  477. package/esm/select/select/select.d.ts +17 -27
  478. package/esm/select/select/select.js +54 -62
  479. package/esm/select/select-dropdown/select-dropdown-adapter.d.ts +2 -2
  480. package/esm/select/select-dropdown/select-dropdown-adapter.js +1 -1
  481. package/esm/select/select-dropdown/select-dropdown.d.ts +0 -2
  482. package/esm/select/select-dropdown/select-dropdown.js +2 -4
  483. package/esm/slider/slider.d.ts +2 -2
  484. package/esm/slider/slider.js +2 -2
  485. package/esm/split-view/split-view/split-view.js +1 -1
  486. package/esm/split-view/split-view-panel/split-view-panel-adapter.d.ts +5 -10
  487. package/esm/split-view/split-view-panel/split-view-panel-adapter.js +7 -15
  488. package/esm/split-view/split-view-panel/split-view-panel-constants.d.ts +3 -3
  489. package/esm/split-view/split-view-panel/split-view-panel-constants.js +3 -3
  490. package/esm/split-view/split-view-panel/split-view-panel-foundation.js +0 -1
  491. package/esm/split-view/split-view-panel/split-view-panel-utils.js +2 -2
  492. package/esm/split-view/split-view-panel/split-view-panel.d.ts +0 -2
  493. package/esm/split-view/split-view-panel/split-view-panel.js +6 -6
  494. package/esm/stepper/step/step-adapter.d.ts +2 -9
  495. package/esm/stepper/step/step-adapter.js +3 -18
  496. package/esm/stepper/step/step-constants.js +21 -21
  497. package/esm/stepper/step/step-foundation.js +0 -2
  498. package/esm/stepper/step/step.d.ts +53 -0
  499. package/esm/stepper/step/step.js +60 -3
  500. package/esm/stepper/stepper/stepper-constants.js +9 -9
  501. package/esm/stepper/stepper/stepper.js +1 -1
  502. package/esm/switch/switch-adapter.d.ts +0 -32
  503. package/esm/switch/switch-adapter.js +15 -107
  504. package/esm/switch/switch-component-delegate.js +1 -1
  505. package/esm/switch/switch-constants.d.ts +24 -14
  506. package/esm/switch/switch-constants.js +11 -14
  507. package/esm/switch/switch-foundation.d.ts +5 -11
  508. package/esm/switch/switch-foundation.js +25 -31
  509. package/esm/switch/switch.d.ts +19 -19
  510. package/esm/switch/switch.js +59 -81
  511. package/esm/text-field/text-field-adapter.d.ts +2 -2
  512. package/esm/text-field/text-field-adapter.js +5 -2
  513. package/esm/text-field/text-field-foundation.d.ts +2 -2
  514. package/esm/text-field/text-field-foundation.js +2 -2
  515. package/esm/text-field/text-field.d.ts +1 -1
  516. package/esm/text-field/text-field.js +2 -2
  517. package/esm/time-picker/time-picker-adapter.d.ts +6 -2
  518. package/esm/time-picker/time-picker-adapter.js +7 -3
  519. package/esm/time-picker/time-picker-foundation.js +10 -10
  520. package/esm/time-picker/time-picker.js +2 -2
  521. package/esm/toast/toast-adapter.d.ts +18 -69
  522. package/esm/toast/toast-adapter.js +24 -121
  523. package/esm/toast/toast-constants.d.ts +25 -36
  524. package/esm/toast/toast-constants.js +20 -40
  525. package/esm/toast/toast-foundation.d.ts +22 -37
  526. package/esm/toast/toast-foundation.js +92 -92
  527. package/esm/toast/toast.d.ts +83 -24
  528. package/esm/toast/toast.js +126 -29
  529. package/esm/tooltip/tooltip-adapter.d.ts +1 -0
  530. package/esm/tooltip/tooltip-foundation.js +3 -0
  531. package/esm/tooltip/tooltip.d.ts +3 -1
  532. package/esm/tooltip/tooltip.js +4 -0
  533. package/package.json +1 -6
  534. package/styles/backdrop/_animations.scss +24 -0
  535. package/styles/backdrop/_core.scss +41 -0
  536. package/styles/backdrop/_token-utils.scss +30 -0
  537. package/styles/backdrop/backdrop.scss +38 -11
  538. package/{esm/radio/radio-group/radio-group-component-delegate.js → styles/backdrop/index.scss} +1 -0
  539. package/styles/bottom-sheet/_mixins.scss +3 -8
  540. package/styles/bottom-sheet/bottom-sheet.scss +0 -4
  541. package/styles/calendar/calendar-menu/calendar-menu.scss +1 -1
  542. package/styles/calendar/calendar.scss +1 -1
  543. package/styles/card/_core.scss +35 -0
  544. package/styles/card/_token-utils.scss +30 -0
  545. package/styles/card/card.scss +37 -3
  546. package/{esm/radio/radio-group/radio-group-component-delegate.d.ts → styles/card/index.scss} +1 -0
  547. package/styles/checkbox/_core.scss +9 -20
  548. package/styles/checkbox/checkbox.scss +2 -8
  549. package/styles/chip-field/_core.scss +21 -17
  550. package/styles/chip-field/_token-utils.scss +30 -0
  551. package/styles/chip-field/chip-field.scss +68 -3
  552. package/{dist/popup/forge-popup.css → styles/chip-field/index.scss} +1 -1
  553. package/styles/chips/chip/_core.scss +1 -1
  554. package/styles/core/styles/tokens/backdrop/_tokens.scss +29 -0
  555. package/styles/core/styles/tokens/card/_tokens.scss +33 -0
  556. package/styles/core/styles/tokens/checkbox/_tokens.scss +4 -3
  557. package/styles/core/styles/tokens/chip-field/_tokens.scss +16 -0
  558. package/styles/core/styles/tokens/dialog/_tokens.scss +82 -0
  559. package/styles/core/styles/tokens/field/_tokens.scss +3 -1
  560. package/styles/core/styles/tokens/icon/_tokens.scss +20 -0
  561. package/styles/core/styles/tokens/label-value/_tokens.scss +34 -0
  562. package/styles/core/styles/tokens/list/list/_tokens.scss +2 -3
  563. package/styles/core/styles/tokens/list/list-item/_tokens.scss +7 -4
  564. package/styles/core/styles/tokens/popover/_tokens.scss +29 -7
  565. package/styles/core/styles/tokens/scaffold/_tokens.scss +18 -0
  566. package/styles/core/styles/tokens/select/_tokens.scss +18 -0
  567. package/styles/core/styles/tokens/stepper/step/_tokens.scss +62 -0
  568. package/styles/core/styles/tokens/toast/_tokens.scss +39 -0
  569. package/styles/dialog/_animations.scss +82 -0
  570. package/styles/dialog/_core.scss +310 -0
  571. package/styles/dialog/_token-utils.scss +30 -0
  572. package/styles/dialog/dialog.scss +356 -6
  573. package/styles/dialog/forge-dialog-utils.scss +23 -6
  574. package/styles/dialog/index.scss +7 -0
  575. package/styles/{field-next → field}/_core.layout.scss +6 -4
  576. package/styles/field/_core.scss +200 -50
  577. package/styles/{field-next → field}/_core.shape.scss +5 -0
  578. package/styles/{field-next → field}/_core.variant.scss +1 -0
  579. package/styles/{field-next → field}/field.scss +39 -12
  580. package/styles/forge-core.scss +2 -6
  581. package/styles/forge.scss +0 -4
  582. package/styles/icon/_core.scss +27 -0
  583. package/styles/icon/_token-utils.scss +30 -0
  584. package/styles/icon/icon.scss +27 -12
  585. package/styles/icon/index.scss +6 -0
  586. package/styles/label-value/_core.scss +85 -0
  587. package/styles/label-value/_token-utils.scss +30 -0
  588. package/styles/label-value/index.scss +6 -0
  589. package/styles/label-value/label-value.scss +71 -3
  590. package/styles/list/list/_core.scss +6 -2
  591. package/styles/list/list/list.scss +4 -0
  592. package/styles/list/list-item/_core.scss +3 -0
  593. package/styles/popover/_animations.scss +30 -0
  594. package/styles/popover/_core.scss +43 -6
  595. package/styles/popover/popover.scss +227 -170
  596. package/styles/scaffold/_core.scss +98 -0
  597. package/styles/scaffold/_token-utils.scss +30 -0
  598. package/styles/scaffold/index.scss +6 -0
  599. package/styles/scaffold/scaffold.scss +85 -5
  600. package/{dist/esm/chunks/chunk.WF2MFLG4.js → styles/select/index.scss} +1 -1
  601. package/styles/select/select/_core.scss +31 -15
  602. package/styles/select/select/_token-utils.scss +31 -0
  603. package/styles/select/select/select.scss +50 -8
  604. package/styles/split-view/split-view/split-view.scss +0 -1
  605. package/styles/split-view/split-view-panel/_mixins.scss +1 -0
  606. package/styles/split-view/split-view-panel/split-view-panel.scss +7 -1
  607. package/styles/stepper/step/_core.scss +391 -0
  608. package/styles/stepper/step/_token-utils.scss +31 -0
  609. package/styles/stepper/step/step.scss +261 -81
  610. package/styles/stepper/stepper/_core.scss +49 -0
  611. package/styles/stepper/stepper/stepper.scss +38 -4
  612. package/styles/switch/_core.scss +3 -2
  613. package/styles/theme/_theme-dark.scss +8 -8
  614. package/styles/toast/_animations.scss +42 -0
  615. package/styles/toast/_core.scss +73 -0
  616. package/styles/toast/_token-utils.scss +30 -0
  617. package/styles/toast/index.scss +6 -0
  618. package/styles/toast/toast.scss +173 -6
  619. package/styles/utils/_mixins-core.scss +5 -9
  620. package/dist/dialog/forge-dialog.css +0 -6
  621. package/dist/esm/chunks/chunk.24MZM3AY.js +0 -7
  622. package/dist/esm/chunks/chunk.24MZM3AY.js.map +0 -7
  623. package/dist/esm/chunks/chunk.3L77JY5H.js +0 -7
  624. package/dist/esm/chunks/chunk.3TIBP6QT.js +0 -7
  625. package/dist/esm/chunks/chunk.3U222LE4.js +0 -7
  626. package/dist/esm/chunks/chunk.45PPQY45.js +0 -177
  627. package/dist/esm/chunks/chunk.45PPQY45.js.map +0 -7
  628. package/dist/esm/chunks/chunk.4UU6PWR2.js +0 -7
  629. package/dist/esm/chunks/chunk.4UU6PWR2.js.map +0 -7
  630. package/dist/esm/chunks/chunk.5A34DJLZ.js +0 -7
  631. package/dist/esm/chunks/chunk.5A34DJLZ.js.map +0 -7
  632. package/dist/esm/chunks/chunk.5UGN5FYV.js +0 -7
  633. package/dist/esm/chunks/chunk.5UZ2DEW3.js +0 -7
  634. package/dist/esm/chunks/chunk.5UZ2DEW3.js.map +0 -7
  635. package/dist/esm/chunks/chunk.656X22EF.js +0 -7
  636. package/dist/esm/chunks/chunk.656X22EF.js.map +0 -7
  637. package/dist/esm/chunks/chunk.66YURKP2.js +0 -7
  638. package/dist/esm/chunks/chunk.66YURKP2.js.map +0 -7
  639. package/dist/esm/chunks/chunk.6GSVB5NB.js.map +0 -7
  640. package/dist/esm/chunks/chunk.AFJ7QEVI.js +0 -7
  641. package/dist/esm/chunks/chunk.AFJ7QEVI.js.map +0 -7
  642. package/dist/esm/chunks/chunk.BETICEYY.js +0 -7
  643. package/dist/esm/chunks/chunk.BEUQVZKZ.js +0 -7
  644. package/dist/esm/chunks/chunk.BMQAVBWZ.js +0 -7
  645. package/dist/esm/chunks/chunk.BMQAVBWZ.js.map +0 -7
  646. package/dist/esm/chunks/chunk.CIUPY66Y.js +0 -7
  647. package/dist/esm/chunks/chunk.CIUPY66Y.js.map +0 -7
  648. package/dist/esm/chunks/chunk.CSCZRSDT.js +0 -7
  649. package/dist/esm/chunks/chunk.CSCZRSDT.js.map +0 -7
  650. package/dist/esm/chunks/chunk.CWBDPBYO.js +0 -7
  651. package/dist/esm/chunks/chunk.CWBDPBYO.js.map +0 -7
  652. package/dist/esm/chunks/chunk.D7RH43XD.js +0 -7
  653. package/dist/esm/chunks/chunk.D7RH43XD.js.map +0 -7
  654. package/dist/esm/chunks/chunk.DCCFF327.js +0 -7
  655. package/dist/esm/chunks/chunk.EO3HELQ2.js +0 -15
  656. package/dist/esm/chunks/chunk.FB4MXEIW.js +0 -7
  657. package/dist/esm/chunks/chunk.FB4MXEIW.js.map +0 -7
  658. package/dist/esm/chunks/chunk.G2HRYIIZ.js +0 -7
  659. package/dist/esm/chunks/chunk.G2HRYIIZ.js.map +0 -7
  660. package/dist/esm/chunks/chunk.G3GTO5ZC.js +0 -7
  661. package/dist/esm/chunks/chunk.G3GTO5ZC.js.map +0 -7
  662. package/dist/esm/chunks/chunk.GL2H6QOP.js +0 -7
  663. package/dist/esm/chunks/chunk.GL2H6QOP.js.map +0 -7
  664. package/dist/esm/chunks/chunk.HBAC6E7O.js +0 -7
  665. package/dist/esm/chunks/chunk.HYTFCFP6.js +0 -7
  666. package/dist/esm/chunks/chunk.HYTFCFP6.js.map +0 -7
  667. package/dist/esm/chunks/chunk.IM36A2ZI.js +0 -7
  668. package/dist/esm/chunks/chunk.IM36A2ZI.js.map +0 -7
  669. package/dist/esm/chunks/chunk.IWVAI6XM.js.map +0 -7
  670. package/dist/esm/chunks/chunk.JCEKCW4B.js +0 -7
  671. package/dist/esm/chunks/chunk.JCEKCW4B.js.map +0 -7
  672. package/dist/esm/chunks/chunk.JVWJHSPM.js +0 -7
  673. package/dist/esm/chunks/chunk.KDUH2DUE.js +0 -7
  674. package/dist/esm/chunks/chunk.KRKKMTXR.js +0 -7
  675. package/dist/esm/chunks/chunk.KRKKMTXR.js.map +0 -7
  676. package/dist/esm/chunks/chunk.LKA5HQQY.js +0 -7
  677. package/dist/esm/chunks/chunk.LKA5HQQY.js.map +0 -7
  678. package/dist/esm/chunks/chunk.MC3UAHWS.js +0 -7
  679. package/dist/esm/chunks/chunk.MC3UAHWS.js.map +0 -7
  680. package/dist/esm/chunks/chunk.MCR34SZQ.js +0 -7
  681. package/dist/esm/chunks/chunk.MGLWXAZO.js +0 -18
  682. package/dist/esm/chunks/chunk.MPUP6QAP.js +0 -7
  683. package/dist/esm/chunks/chunk.MZRAL4MY.js +0 -7
  684. package/dist/esm/chunks/chunk.MZRAL4MY.js.map +0 -7
  685. package/dist/esm/chunks/chunk.N632SJ7X.js +0 -7
  686. package/dist/esm/chunks/chunk.N632SJ7X.js.map +0 -7
  687. package/dist/esm/chunks/chunk.NHOGZDLN.js +0 -7
  688. package/dist/esm/chunks/chunk.NHOGZDLN.js.map +0 -7
  689. package/dist/esm/chunks/chunk.NIUX6DVF.js +0 -12
  690. package/dist/esm/chunks/chunk.NIUX6DVF.js.map +0 -7
  691. package/dist/esm/chunks/chunk.OSBNFFCI.js.map +0 -7
  692. package/dist/esm/chunks/chunk.OY3TG55O.js +0 -7
  693. package/dist/esm/chunks/chunk.OY3TG55O.js.map +0 -7
  694. package/dist/esm/chunks/chunk.QCRO5NSG.js +0 -7
  695. package/dist/esm/chunks/chunk.QCRO5NSG.js.map +0 -7
  696. package/dist/esm/chunks/chunk.QKYCMDLB.js +0 -7
  697. package/dist/esm/chunks/chunk.R6VPRRTT.js +0 -7
  698. package/dist/esm/chunks/chunk.RFCIELJM.js +0 -7
  699. package/dist/esm/chunks/chunk.RFCIELJM.js.map +0 -7
  700. package/dist/esm/chunks/chunk.RJC42RNR.js +0 -7
  701. package/dist/esm/chunks/chunk.RJC42RNR.js.map +0 -7
  702. package/dist/esm/chunks/chunk.SKBOB2BD.js +0 -7
  703. package/dist/esm/chunks/chunk.SKBOB2BD.js.map +0 -7
  704. package/dist/esm/chunks/chunk.SOKORSUV.js +0 -7
  705. package/dist/esm/chunks/chunk.STSAE2XP.js +0 -7
  706. package/dist/esm/chunks/chunk.SWKKDBO6.js +0 -7
  707. package/dist/esm/chunks/chunk.SWKKDBO6.js.map +0 -7
  708. package/dist/esm/chunks/chunk.SYKZ74SL.js +0 -7
  709. package/dist/esm/chunks/chunk.SYKZ74SL.js.map +0 -7
  710. package/dist/esm/chunks/chunk.UKVC23E5.js +0 -7
  711. package/dist/esm/chunks/chunk.UKVC23E5.js.map +0 -7
  712. package/dist/esm/chunks/chunk.UOD3A7M4.js +0 -7
  713. package/dist/esm/chunks/chunk.UQQQSJVM.js +0 -7
  714. package/dist/esm/chunks/chunk.V3X77TCO.js +0 -7
  715. package/dist/esm/chunks/chunk.V3X77TCO.js.map +0 -7
  716. package/dist/esm/chunks/chunk.V7ILFIOR.js +0 -7
  717. package/dist/esm/chunks/chunk.VBJ4WUVH.js +0 -7
  718. package/dist/esm/chunks/chunk.VBJ4WUVH.js.map +0 -7
  719. package/dist/esm/chunks/chunk.VZ2XONDI.js +0 -7
  720. package/dist/esm/chunks/chunk.VZ2XONDI.js.map +0 -7
  721. package/dist/esm/chunks/chunk.WAMFFIMP.js +0 -7
  722. package/dist/esm/chunks/chunk.WAMFFIMP.js.map +0 -7
  723. package/dist/esm/chunks/chunk.WBCQTZPS.js +0 -7
  724. package/dist/esm/chunks/chunk.WBCQTZPS.js.map +0 -7
  725. package/dist/esm/chunks/chunk.WBI34ZVP.js +0 -7
  726. package/dist/esm/chunks/chunk.WF2MFLG4.js.map +0 -7
  727. package/dist/esm/chunks/chunk.WPVGFQNY.js +0 -7
  728. package/dist/esm/chunks/chunk.WPVGFQNY.js.map +0 -7
  729. package/dist/esm/chunks/chunk.XAZ6EDIZ.js +0 -7
  730. package/dist/esm/chunks/chunk.XCI7O2KJ.js +0 -7
  731. package/dist/esm/chunks/chunk.XCI7O2KJ.js.map +0 -7
  732. package/dist/esm/chunks/chunk.XNJROSDZ.js +0 -7
  733. package/dist/esm/chunks/chunk.XNJROSDZ.js.map +0 -7
  734. package/dist/esm/chunks/chunk.Z6GRWPPN.js +0 -7
  735. package/dist/esm/chunks/chunk.Z6GRWPPN.js.map +0 -7
  736. package/dist/esm/chunks/chunk.ZLNI2M3F.js +0 -7
  737. package/dist/esm/chunks/chunk.ZLNI2M3F.js.map +0 -7
  738. package/dist/esm/chunks/chunk.ZSZFWZAI.js +0 -7
  739. package/dist/esm/chunks/chunk.ZSZFWZAI.js.map +0 -7
  740. package/dist/esm/chunks/chunk.ZYKP23JP.js +0 -7
  741. package/dist/esm/field-next/index.js +0 -7
  742. package/dist/esm/floating-label/index.js +0 -7
  743. package/dist/esm/floating-label/index.js.map +0 -7
  744. package/dist/esm/popup/index.js +0 -7
  745. package/dist/esm/popup/index.js.map +0 -7
  746. package/dist/esm/ripple/index.js +0 -7
  747. package/dist/esm/ripple/index.js.map +0 -7
  748. package/dist/floating-label/forge-floating-label.css +0 -6
  749. package/dist/form-field/forge-form-field.css +0 -6
  750. package/dist/ripple/forge-ripple.css +0 -6
  751. package/dist/scaffold/forge-scaffold.css +0 -6
  752. package/esm/backdrop/backdrop-adapter.d.ts +0 -36
  753. package/esm/backdrop/backdrop-adapter.js +0 -40
  754. package/esm/backdrop/backdrop-foundation.d.ts +0 -38
  755. package/esm/backdrop/backdrop-foundation.js +0 -82
  756. package/esm/field-next/field-adapter.d.ts +0 -56
  757. package/esm/field-next/field-adapter.js +0 -132
  758. package/esm/field-next/field-constants.d.ts +0 -95
  759. package/esm/field-next/field-constants.js +0 -64
  760. package/esm/field-next/field-foundation.js +0 -221
  761. package/esm/field-next/field.d.ts +0 -205
  762. package/esm/field-next/field.js +0 -287
  763. package/esm/floating-label/floating-label-adapter.d.ts +0 -23
  764. package/esm/floating-label/floating-label-adapter.js +0 -32
  765. package/esm/floating-label/floating-label-constants.d.ts +0 -13
  766. package/esm/floating-label/floating-label-constants.js +0 -14
  767. package/esm/floating-label/floating-label-foundation.d.ts +0 -20
  768. package/esm/floating-label/floating-label-foundation.js +0 -74
  769. package/esm/floating-label/floating-label.d.ts +0 -31
  770. package/esm/floating-label/floating-label.js +0 -34
  771. package/esm/floating-label/index.d.ts +0 -9
  772. package/esm/floating-label/index.js +0 -9
  773. package/esm/label-value/label-value-adapter.d.ts +0 -24
  774. package/esm/label-value/label-value-adapter.js +0 -47
  775. package/esm/label-value/label-value-foundation.d.ts +0 -33
  776. package/esm/label-value/label-value-foundation.js +0 -80
  777. package/esm/popup/index.d.ts +0 -10
  778. package/esm/popup/index.js +0 -14
  779. package/esm/popup/popup-adapter.d.ts +0 -45
  780. package/esm/popup/popup-adapter.js +0 -152
  781. package/esm/popup/popup-constants.d.ts +0 -55
  782. package/esm/popup/popup-constants.js +0 -53
  783. package/esm/popup/popup-foundation.d.ts +0 -72
  784. package/esm/popup/popup-foundation.js +0 -258
  785. package/esm/popup/popup.d.ts +0 -59
  786. package/esm/popup/popup.js +0 -102
  787. package/esm/ripple/forge-ripple.d.ts +0 -17
  788. package/esm/ripple/forge-ripple.js +0 -22
  789. package/esm/ripple/index.d.ts +0 -11
  790. package/esm/ripple/index.js +0 -15
  791. package/esm/ripple/ripple-adapter.d.ts +0 -23
  792. package/esm/ripple/ripple-adapter.js +0 -47
  793. package/esm/ripple/ripple-constants.d.ts +0 -15
  794. package/esm/ripple/ripple-constants.js +0 -19
  795. package/esm/ripple/ripple-foundation.d.ts +0 -30
  796. package/esm/ripple/ripple-foundation.js +0 -48
  797. package/esm/ripple/ripple.d.ts +0 -36
  798. package/esm/ripple/ripple.js +0 -65
  799. package/styles/backdrop/_mixins.scss +0 -31
  800. package/styles/backdrop/_variables.scss +0 -12
  801. package/styles/card/_mixins.scss +0 -47
  802. package/styles/card/_variables.scss +0 -9
  803. package/styles/chip-field/_base.scss +0 -299
  804. package/styles/chip-field/_mixins.scss +0 -26
  805. package/styles/chip-field/_selector.scss +0 -228
  806. package/styles/chip-field/_variables.scss +0 -76
  807. package/styles/dialog/_mixins.scss +0 -199
  808. package/styles/dialog/_variables.scss +0 -22
  809. package/styles/dialog/forge-dialog.scss +0 -8
  810. package/styles/field/_base.scss +0 -636
  811. package/styles/field/_selector.scss +0 -560
  812. package/styles/field/_utils.scss +0 -48
  813. package/styles/field/_variables.scss +0 -123
  814. package/styles/field-next/_core.scss +0 -213
  815. package/styles/floating-label/_mixins.scss +0 -291
  816. package/styles/floating-label/_variables.scss +0 -15
  817. package/styles/floating-label/forge-floating-label.scss +0 -8
  818. package/styles/form-field/_mixins.scss +0 -71
  819. package/styles/form-field/forge-form-field.scss +0 -8
  820. package/styles/icon/_mixins.scss +0 -37
  821. package/styles/icon/_variables.scss +0 -10
  822. package/styles/label-value/_mixins.scss +0 -205
  823. package/styles/label-value/_variables.scss +0 -12
  824. package/styles/popup/_mixins.scss +0 -86
  825. package/styles/popup/_variables.scss +0 -7
  826. package/styles/popup/forge-popup.scss +0 -8
  827. package/styles/popup/popup.scss +0 -20
  828. package/styles/ripple/forge-ripple.scss +0 -17
  829. package/styles/scaffold/_mixins.scss +0 -194
  830. package/styles/scaffold/forge-scaffold.scss +0 -43
  831. package/styles/select/select/_base.scss +0 -84
  832. package/styles/select/select/_mixins.scss +0 -25
  833. package/styles/select/select/_selector.scss +0 -90
  834. package/styles/select/select/_variables.scss +0 -16
  835. package/styles/stepper/step/_mixins.scss +0 -416
  836. package/styles/stepper/step/_variables.scss +0 -21
  837. package/styles/stepper/stepper/_mixins.scss +0 -113
  838. package/styles/toast/_mixins.scss +0 -242
  839. package/styles/toast/_variables.scss +0 -52
  840. /package/dist/esm/chunks/{chunk.YS5JZHJ6.js.map → chunk.24SQJBSQ.js.map} +0 -0
  841. /package/dist/esm/chunks/{chunk.IZRURH7C.js.map → chunk.3KAKJGUS.js.map} +0 -0
  842. /package/dist/esm/chunks/{chunk.KDUH2DUE.js.map → chunk.473WRJ5G.js.map} +0 -0
  843. /package/dist/esm/chunks/{chunk.USQEIRST.js.map → chunk.5MB6CTBA.js.map} +0 -0
  844. /package/dist/esm/chunks/{chunk.47U6GVGZ.js.map → chunk.5UOX22ML.js.map} +0 -0
  845. /package/dist/esm/chunks/{chunk.4NABD6XG.js.map → chunk.6VS3LYAF.js.map} +0 -0
  846. /package/dist/esm/chunks/{chunk.AOSBUJWW.js.map → chunk.A7BCLPP4.js.map} +0 -0
  847. /package/dist/esm/chunks/{chunk.7UBIT4NP.js.map → chunk.AG6IRMLZ.js.map} +0 -0
  848. /package/dist/esm/chunks/{chunk.A4UH52SA.js.map → chunk.AGLI4WR4.js.map} +0 -0
  849. /package/dist/esm/chunks/{chunk.WTUXAH7Z.js.map → chunk.AOVXNX7P.js.map} +0 -0
  850. /package/dist/esm/chunks/{chunk.AN2E2SSN.js.map → chunk.ASLHRT3N.js.map} +0 -0
  851. /package/dist/esm/chunks/{chunk.CBLUXYH2.js.map → chunk.BHE6Z5Y2.js.map} +0 -0
  852. /package/dist/esm/chunks/{chunk.2WRAXA3H.js.map → chunk.BQ52JYLA.js.map} +0 -0
  853. /package/dist/esm/chunks/{chunk.ROMRJIFR.js.map → chunk.CE35CVDV.js.map} +0 -0
  854. /package/dist/esm/chunks/{chunk.ZPXMKY72.js.map → chunk.CEGBMUSR.js.map} +0 -0
  855. /package/dist/esm/chunks/{chunk.GBGGUYTE.js.map → chunk.CFAI4K3E.js.map} +0 -0
  856. /package/dist/esm/chunks/{chunk.ZIGVO6FN.js.map → chunk.CGFSMACZ.js.map} +0 -0
  857. /package/dist/esm/chunks/{chunk.2537XOFQ.js.map → chunk.E2BE52ME.js.map} +0 -0
  858. /package/dist/esm/chunks/{chunk.UEYPCCFG.js.map → chunk.ENUKGA2U.js.map} +0 -0
  859. /package/dist/esm/chunks/{chunk.GA6AO6FJ.js.map → chunk.H5RW3A4M.js.map} +0 -0
  860. /package/dist/esm/chunks/{chunk.CSOKFDFQ.js.map → chunk.HSADKCGS.js.map} +0 -0
  861. /package/dist/esm/chunks/{chunk.WBI34ZVP.js.map → chunk.IEABOPNB.js.map} +0 -0
  862. /package/dist/esm/chunks/{chunk.22C7GQLX.js.map → chunk.IL4S57WO.js.map} +0 -0
  863. /package/dist/esm/chunks/{chunk.HMJODLAS.js.map → chunk.IQYOLMPG.js.map} +0 -0
  864. /package/dist/esm/chunks/{chunk.GTKYO6VB.js.map → chunk.JGURMVW7.js.map} +0 -0
  865. /package/dist/esm/chunks/{chunk.YXHMD73U.js.map → chunk.K6GJNDTY.js.map} +0 -0
  866. /package/dist/esm/chunks/{chunk.QUWEAFGI.js.map → chunk.KEOLH7G3.js.map} +0 -0
  867. /package/dist/esm/chunks/{chunk.BIQTNLIF.js.map → chunk.LNTTU2GL.js.map} +0 -0
  868. /package/dist/esm/chunks/{chunk.2AM2BKEO.js.map → chunk.MFQRXVKO.js.map} +0 -0
  869. /package/dist/esm/chunks/{chunk.JLSFTWPE.js.map → chunk.MTIPIEXA.js.map} +0 -0
  870. /package/dist/esm/chunks/{chunk.JSTCCUKZ.js.map → chunk.OEI35LFU.js.map} +0 -0
  871. /package/dist/esm/chunks/{chunk.QKYCMDLB.js.map → chunk.QCPV5DEG.js.map} +0 -0
  872. /package/dist/esm/chunks/{chunk.R3AWIPPK.js.map → chunk.QIZBZGYT.js.map} +0 -0
  873. /package/dist/esm/chunks/{chunk.2XPAYTK4.js.map → chunk.QKTK5XUE.js.map} +0 -0
  874. /package/dist/esm/chunks/{chunk.R66CYS27.js.map → chunk.QTY25OTN.js.map} +0 -0
  875. /package/dist/esm/chunks/{chunk.BSV27GU7.js.map → chunk.QVATEY5S.js.map} +0 -0
  876. /package/dist/esm/chunks/{chunk.SHBDQPPH.js.map → chunk.RONMNRSH.js.map} +0 -0
  877. /package/dist/esm/chunks/{chunk.FRTSXX33.js.map → chunk.RSYEG2RW.js.map} +0 -0
  878. /package/dist/esm/chunks/{chunk.A6BIUNPW.js.map → chunk.RXBLU4OJ.js.map} +0 -0
  879. /package/dist/esm/chunks/{chunk.FBDRM4YN.js.map → chunk.S7KEO2CH.js.map} +0 -0
  880. /package/dist/esm/chunks/{chunk.XU3YSZPA.js.map → chunk.SQ3AZAHF.js.map} +0 -0
  881. /package/dist/esm/chunks/{chunk.35MHQH7Z.js.map → chunk.SROEDYPL.js.map} +0 -0
  882. /package/dist/esm/chunks/{chunk.PXRGQHWR.js.map → chunk.TQWZDM6T.js.map} +0 -0
  883. /package/dist/esm/chunks/{chunk.6JVMCBCR.js.map → chunk.UKBE2FMZ.js.map} +0 -0
  884. /package/dist/esm/chunks/{chunk.3L77JY5H.js.map → chunk.W4HANHUO.js.map} +0 -0
  885. /package/dist/esm/chunks/{chunk.2W276VOR.js.map → chunk.WMJSYYXQ.js.map} +0 -0
  886. /package/dist/esm/chunks/{chunk.4AEQ7KVU.js.map → chunk.XTJGWT5F.js.map} +0 -0
  887. /package/dist/esm/chunks/{chunk.YNXWVL4B.js.map → chunk.YPNSK2CK.js.map} +0 -0
  888. /package/dist/esm/chunks/{chunk.MPUP6QAP.js.map → chunk.YWJVZVZX.js.map} +0 -0
  889. /package/dist/esm/chunks/{chunk.6XLTVIUD.js.map → chunk.ZA7JY3AY.js.map} +0 -0
  890. /package/dist/esm/{field-next → field}/base/index.js.map +0 -0
  891. /package/dist/esm/{field-next → field}/index.js.map +0 -0
  892. /package/esm/{field-next → field}/base/base-field-adapter.d.ts +0 -0
  893. /package/esm/{field-next → field}/base/base-field-adapter.js +0 -0
  894. /package/esm/{field-next → field}/base/base-field-constants.d.ts +0 -0
  895. /package/esm/{field-next → field}/base/base-field-constants.js +0 -0
  896. /package/esm/{field-next → field}/base/base-field-foundation.d.ts +0 -0
  897. /package/esm/{field-next → field}/base/base-field.d.ts +0 -0
  898. /package/esm/{field-next → field}/base/base-field.js +0 -0
  899. /package/esm/{field-next → field}/base/index.d.ts +0 -0
  900. /package/esm/{field-next → field}/base/index.js +0 -0
  901. /package/esm/{field-next → field}/index.d.ts +0 -0
  902. /package/esm/{field-next → field}/index.js +0 -0
  903. /package/styles/{field-next → field}/_core.slotted.scss +0 -0
  904. /package/styles/{field-next → field}/_core.state.scss +0 -0
  905. /package/styles/{field-next → field}/_token-utils.scss +0 -0
  906. /package/styles/{field-next → field}/index.scss +0 -0
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{b as e}from"./chunk.UQQQSJVM.js";import{a as t}from"./chunk.M3QDAYD2.js";var T=`${e}tooltip`,o={ID:"id",OPEN:"open",TYPE:"type",ANCHOR:"anchor",TARGET:"target",PLACEMENT:"placement",POSITION:"position",DELAY:"delay",OFFSET:"offset",FLIP:"flip",BOUNDARY:"boundary",FALLBACK_PLACEMENTS:"fallback-placements",TRIGGER_TYPE:"trigger-type"},p=t({},o),r={LONGPRESS_VISIBILITY_DURATION:3e3},s={DELAY:500,OFFSET:4,FLIP:"auto",TYPE:"presentation",PLACEMENT:"right",TRIGGER_TYPES:["hover"]},a={CONTENT:".forge-tooltip",ARROW:".arrow"},n={elementName:T,observedAttributes:o,attributes:p,numbers:r,defaults:s,selectors:a};export{n as a};
7
- //# sourceMappingURL=chunk.GA6AO6FJ.js.map
6
+ import{b as e}from"./chunk.VRSPT7WX.js";import{a as t}from"./chunk.M3QDAYD2.js";var T=`${e}tooltip`,o={ID:"id",OPEN:"open",TYPE:"type",ANCHOR:"anchor",TARGET:"target",PLACEMENT:"placement",POSITION:"position",DELAY:"delay",OFFSET:"offset",FLIP:"flip",BOUNDARY:"boundary",FALLBACK_PLACEMENTS:"fallback-placements",TRIGGER_TYPE:"trigger-type"},p=t({},o),r={LONGPRESS_VISIBILITY_DURATION:3e3},s={DELAY:500,OFFSET:4,FLIP:"auto",TYPE:"presentation",PLACEMENT:"right",TRIGGER_TYPES:["hover"]},a={CONTENT:".forge-tooltip",ARROW:".arrow"},n={elementName:T,observedAttributes:o,attributes:p,numbers:r,defaults:s,selectors:a};export{n as a};
7
+ //# sourceMappingURL=chunk.H5RW3A4M.js.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{a as T}from"./chunk.LEVFMI2Q.js";import{a as h}from"./chunk.NVUMRW44.js";import{a as S}from"./chunk.OLFOVKQG.js";import{a as x,b as M}from"./chunk.VRSPT7WX.js";import{a as L,e as O,f as A}from"./chunk.LNTTU2GL.js";import{a as C,c as k,g as m,u as w}from"./chunk.L4QSPQDE.js";import{b as y,k as E}from"./chunk.J2M2MXP2.js";import{d as u}from"./chunk.M3QDAYD2.js";var v=`${M}calendar-menu`,U={ANIMATION_TYPE:"animation-type",DATA_ANIMATION:"data-animation",DATA_VALUE:"data-value",POPOVER_CONTEXT:"forge-popover-context",PREVENT_FOCUS:"prevent-focus"},c={BACKDROP:"forge-calendar-menu__backdrop",CLOSING:"forge-calendar-menu--closing",GRID:"forge-calendar-menu__grid",GRID_ITEM:"forge-calendar-menu__item--grid",GRID_FOUR_COL:"forge-calendar-menu__grid--four-col",GRID_THREE_COL:"forge-calendar-menu__grid--three-col",ITEM:"forge-calendar-menu__item",ITEM_FOCUSED:"forge-calendar-menu__item--focused",ITEM_SELECTED:"forge-calendar-menu__item--selected",LIST:"forge-calendar-menu__list",LIST_ITEM:"forge-calendar-menu__item--list",LIST_WRAPPER:"forge-calendar-menu__list__wrapper",MDC_RIPPLE_UPGRADED_FOCUSED:"mdc-ripple-upgraded--background-focused",OPEN:"forge-calendar-menu--open",REPLACING_VIEW:"forge-calendar-menu--replacing-view",SLIDE_LEFT:"forge-calendar-menu--slide-left",SLIDE_RIGHT:"forge-calendar-menu--slide-right",VIEW:"forge-calendar-menu__view"},I={SCROLL_SPY_BOTTOM:"scroll-spy-bottom",SCROLL_SPY_TOP:"scroll-spy-top"},G={ITEM:"menu-item",ITEM_BUTTON:"menu-item-button",ITEM_CONTENT:"menu-item-content",MENU:"menu"},H={CONTAINER:".forge-calendar-menu",FOCUSED:`.${c.ITEM_FOCUSED}`,GRID:`.${c.GRID}`,ITEM:`.${c.ITEM}`,LIST:`.${c.LIST}`,LIST_WRAPPER:`.${c.LIST_WRAPPER}`,SCROLL_SPY_BOTTOM:`#${I.SCROLL_SPY_BOTTOM}`,SCROLL_SPY_TOP:`#${I.SCROLL_SPY_TOP}`,SELECTED:`.${c.ITEM_SELECTED}`,VIEW:`.${c.VIEW}`},X={FOCUS_CHANGE:`${v}-focus-change`,SELECT:`${v}-select`},z={FOUR_COL:4,LARGE_ITEM_SET:13,LIST_SLICE_SIZE:20,THREE_COL:3},i={elementName:v,attributes:U,classes:c,ids:I,parts:G,selectors:H,events:X,numbers:z};function f(o){let t=document.createElement("div");t.setAttribute("part",i.parts.MENU),t.classList.add(i.classes.VIEW,i.classes.GRID);let e;return o.length>12?(t.classList.add(i.classes.GRID_FOUR_COL),e=F(o)):(t.classList.add(i.classes.GRID_THREE_COL),e=F(o)),e.forEach(r=>t.appendChild(r)),t}function F(o){return o.map(t=>{let e=document.createElement("div");return e.classList.add(i.classes.ITEM,i.classes.GRID_ITEM),e.innerText=t.label,e.setAttribute("role","button"),e.setAttribute("part",i.parts.ITEM),e.setAttribute("tabindex","-1"),e.setAttribute(i.attributes.DATA_VALUE,t.value.toString()),t.selected&&(e.classList.add(i.classes.ITEM_SELECTED),e.setAttribute("aria-current","true")),t.disabled&&e.setAttribute("disabled","true"),e})}function P(o){let t=document.createElement("div"),e=document.createElement("div");return t.classList.add(i.classes.VIEW,i.classes.LIST_WRAPPER),e.classList.add(i.classes.LIST),e.setAttribute("role","list"),e.appendChild(R(i.ids.SCROLL_SPY_TOP)),_(o).forEach(r=>e.appendChild(r)),e.appendChild(R(i.ids.SCROLL_SPY_BOTTOM)),t.appendChild(e),t}function _(o){return o.map(t=>{let e=document.createElement("div");return e.innerText=t.label,e.classList.add(i.classes.ITEM,i.classes.LIST_ITEM),e.setAttribute("part",i.parts.ITEM),e.setAttribute("tabindex","-1"),e.setAttribute("role","listitem"),e.setAttribute(i.attributes.DATA_VALUE,t.value.toString()),t.selected&&(e.classList.toggle(i.classes.ITEM_SELECTED,!0),e.setAttribute("aria-current","true")),t.disabled&&e.setAttribute("disabled","true"),e})}function R(o){let t=document.createElement("div");return t.id=o,t.setAttribute("aria-hidden","true"),t}function p(o){for(;o.childNodes.length>1;)o.firstChild&&o.removeChild(o.firstChild)}var g=class extends S{constructor(e){super(e);this.component=e;this._container=A(e,i.selectors.CONTAINER)}registerClickListener(e){this._container.addEventListener("click",e)}unregisterClickListener(e){this._container.removeEventListener("click",e)}registerIntersectionObserver(e){let r=this._container.querySelector(i.selectors.LIST_WRAPPER);if(!r)return;let n={root:r};this._intersectionObserver=new IntersectionObserver(e,n);let a=this._container.querySelector(i.selectors.SCROLL_SPY_BOTTOM),s=this._container.querySelector(i.selectors.SCROLL_SPY_TOP);a&&this._intersectionObserver.observe(a),s&&this._intersectionObserver.observe(s)}unregisterIntersectionObserver(){this._intersectionObserver&&(this._intersectionObserver.disconnect(),this._intersectionObserver=void 0)}setAnimationType(e){this._container.setAttribute(i.attributes.DATA_ANIMATION,e)}setClosed(){this._container.classList.remove(i.classes.OPEN),this._container.classList.add(i.classes.CLOSING),m(this._container,i.classes.CLOSING,!0).then(()=>{k(this._container),this.toggleHostAttribute("hidden",!0)})}setOpenAsGrid(e,r,n,a,s){let d=f(e);s&&m(this._container,i.classes.REPLACING_VIEW,!0).then(()=>{p(this._container),this.setFocusAtIndex(r,n,a)}),this._container.appendChild(d),this.toggleHostAttribute("hidden",!1),this._container.classList.add(i.classes.OPEN),s||this.setFocusAtIndex(r,n,a)}setOpenAsList(e,r,n,a,s){let d=P(e);s&&m(this._container,i.classes.REPLACING_VIEW,!0).then(()=>{p(this._container),this.setFocusAtIndex(r,n,a)}),this._container.appendChild(d),this.toggleHostAttribute("hidden",!1),this._container.classList.add(i.classes.OPEN),this._scrollItemIntoView("selected"),s||this.setFocusAtIndex(r,n,a)}appendListItemsToStart(e){let r=this._container.querySelector(i.selectors.LIST_WRAPPER),n=this._container.querySelector(i.selectors.LIST),a=n==null?void 0:n.querySelector(i.selectors.ITEM);if(r&&n&&a){let s=r.scrollTop,d=r.scrollHeight-r.clientHeight;_(e).forEach(D=>{n.insertBefore(D,a)});let N=r.scrollHeight-r.clientHeight;r.scrollTop=s+(N-d)}}appendListItemsToEnd(e){let r=this._container.querySelector(i.selectors.LIST),n=this._container.querySelector(i.selectors.SCROLL_SPY_BOTTOM);r&&n&&_(e).forEach(a=>{r.insertBefore(a,n)})}animateInFromLeft(e,r){m(this._container,i.classes.SLIDE_RIGHT,!0).then(()=>{p(this._container),r&&r()});let n=f(e);this._container.appendChild(n)}animateInFromRight(e,r){m(this._container,i.classes.SLIDE_LEFT,!0).then(()=>{p(this._container),r&&r()});let n=f(e);this._container.appendChild(n)}setFocusAtIndex(e,r,n){var d;let a=this._container.querySelector(i.selectors.FOCUSED);a==null||a.classList.remove(i.classes.ITEM_FOCUSED,i.classes.MDC_RIPPLE_UPGRADED_FOCUSED),a==null||a.setAttribute("tabindex","-1");let s=(d=this._container.querySelectorAll(i.selectors.ITEM))==null?void 0:d[e];s&&(s.classList.add(i.classes.ITEM_FOCUSED),s.setAttribute("tabindex",n?"-1":"0"),r&&!n?s.focus():n&&s.classList.add(i.classes.MDC_RIPPLE_UPGRADED_FOCUSED),this._scrollItemIntoView("focused"))}_scrollItemIntoView(e){let r=this._container.querySelector(i.selectors.LIST),n=r==null?void 0:r.querySelector(e==="selected"?i.selectors.SELECTED:i.selectors.FOCUSED);r&&n&&w(r.parentElement,n,e==="selected"?"auto":"smooth",e==="selected"?"center":"nearest")}};var b=class{constructor(t){this._adapter=t;this._animationType="scale";this._columnCount=3;this._focusedIndex=0;this._list=!1;this._open=!1;this._options=[];this._preventFocus=!1;this._sliceEnd=-1;this._sliceStart=-1;this._clickListener=e=>this._onClick(e),this._intersectionObserverCallback=e=>this._onIntersection(e)}initialize(){this._applyAnimationType(),this._applyPreventFocus(),this._adapter.setHostAttribute("exportparts",Object.values(i.parts).join(", ")),this._adapter.toggleHostAttribute("hidden",!0),this._adapter.registerClickListener(this._clickListener)}disconnect(){this._adapter.unregisterClickListener(this._clickListener),this._adapter.unregisterIntersectionObserver()}openAsGrid(t,e){this._list=!1,this._options=t,this._focusedIndex=0,this._setColumnCount(),this._adapter.setOpenAsGrid(t,this._focusedIndex,e,this._preventFocus,this._open),this._setGridListeners(),this._open=!0,this._emitFocusChangeEvent()}openAsList(t,e){this._list=!0,this._options=t;let r=this._getOptionSliceIncludingSelected();this._focusedIndex=Math.max(t.findIndex(n=>n.selected),this._sliceStart),this._adapter.setOpenAsList(r,this._focusedIndex-this._sliceStart,e,this._preventFocus,this._open),this._setListListeners(),this._open=!0,this._emitFocusChangeEvent()}close(){this._open=!1,this._options=[],this._adapter.setClosed()}animateIn(t,e,r){let n=()=>{this._setFocusFromStoredIndex(r)};e==="left"?this._adapter.animateInFromLeft(t,n):this._adapter.animateInFromRight(t,n),this._options=t,this._setColumnCount()}selectFocusedItem(){var t;this._adapter.emitHostEvent(i.events.SELECT,(t=this._options[this._focusedIndex])==null?void 0:t.value)}moveFocusBackward(){if(this._list)return!0;let t=this._focusedIndex-1,e=t>=0&&t%this._columnCount!==this._columnCount-1;return this._focusedIndexAfterAnimation=e?void 0:t+this._columnCount,this._tryMoveFocus(t,e)}moveFocusDown(){if(this._list){let t=Math.min(this._focusedIndex+=1,this._options.length-1);this._tryMoveFocus(t,!0)}else{let t=this._focusedIndex+this._columnCount,e=t<this._options.length;this._focusedIndexAfterAnimation=e?void 0:t%this._columnCount,this._tryMoveFocus(t,e)}}moveFocusForward(){if(this._list)return!0;let t=this._focusedIndex+1,e=t<this._options.length&&t%this._columnCount!==0;return this._focusedIndexAfterAnimation=e?void 0:t-this._columnCount,this._tryMoveFocus(t,e)}moveFocusUp(){if(this._list){let t=Math.max(this._focusedIndex-=1,0);this._tryMoveFocus(t,!0)}else{let t=this._focusedIndex-this._columnCount,e=t>=0;this._focusedIndexAfterAnimation=e?void 0:this._options.length+t,this._tryMoveFocus(t,e)}}_tryMoveFocus(t,e){var r;return e&&!((r=this._options[t])!=null&&r.disabled)&&(this._focusedIndex=t,this._adapter.setFocusAtIndex(this._list?this._focusedIndex-this._sliceStart:this._focusedIndex,!0,this._preventFocus),this._emitFocusChangeEvent()),e}_setFocusFromStoredIndex(t){var e,r;this._focusedIndexAfterAnimation!==void 0&&(this._options[this._focusedIndexAfterAnimation]&&!((e=this._options[this._focusedIndexAfterAnimation])!=null&&e.disabled)?this._focusedIndex=this._focusedIndexAfterAnimation:(r=this._options[0])!=null&&r.disabled?this._focusedIndex=this._options.findIndex(n=>!n.disabled):this._focusedIndex=this._options.length-this._options.slice().reverse().findIndex(n=>!n.disabled)-1,this._focusedIndexAfterAnimation=void 0,this._adapter.setFocusAtIndex(this._focusedIndex,t,this._preventFocus),this._emitFocusChangeEvent())}_onClick(t){let e=T(t).find(n=>n.classList&&n.classList.contains(i.classes.ITEM)),r=e==null?void 0:e.getAttribute(i.attributes.DATA_VALUE);y(r)&&this._adapter.emitHostEvent(i.events.SELECT,+r)}_onIntersection(t){this._sliceStart>0&&t.some(e=>e.target.id===i.ids.SCROLL_SPY_TOP&&e.isIntersecting)&&this._adapter.appendListItemsToStart(this._getPreviousOptionsSlice()),this._sliceEnd<this._options.length&&t.some(e=>e.target.id===i.ids.SCROLL_SPY_BOTTOM&&e.isIntersecting)&&this._adapter.appendListItemsToEnd(this._getNextOptionsSlice())}_setColumnCount(){this._columnCount=this._options.length>=i.numbers.LARGE_ITEM_SET?i.numbers.FOUR_COL:i.numbers.THREE_COL}_emitFocusChangeEvent(){var t;this._adapter.emitHostEvent(i.events.FOCUS_CHANGE,(t=this._options[this._focusedIndex])==null?void 0:t.value)}_setGridListeners(){this._adapter.unregisterIntersectionObserver()}_setListListeners(){this._adapter.unregisterIntersectionObserver(),this._adapter.registerIntersectionObserver(this._intersectionObserverCallback)}_getOptionSliceIncludingSelected(){if(this._options.length<=i.numbers.LIST_SLICE_SIZE)return this._sliceStart=0,this._sliceEnd=this._options.length,this._options.slice();let t=Math.max(this._options.findIndex(n=>n.selected),0),e=Math.max(Math.floor(t-i.numbers.LIST_SLICE_SIZE/2),0),r=e+i.numbers.LIST_SLICE_SIZE;return r>this._options.length&&(e=this._options.length-1-i.numbers.LIST_SLICE_SIZE,r=this._options.length),this._sliceStart=e,this._sliceEnd=r,this._options.slice(this._sliceStart,this._sliceEnd)}_getNextOptionsSlice(){let t=Math.min(this._sliceEnd+i.numbers.LIST_SLICE_SIZE,this._options.length),e=this._options.slice(this._sliceEnd,t);return this._sliceEnd=t,e}_getPreviousOptionsSlice(){let t=Math.max(this._sliceStart-i.numbers.LIST_SLICE_SIZE,0),e=this._options.slice(t,this._sliceStart);return this._sliceStart=t,e}_applyAnimationType(){this._adapter.setHostAttribute(i.attributes.ANIMATION_TYPE,this._animationType),this._adapter.setAnimationType(this._animationType)}_applyPreventFocus(){this._adapter.toggleHostAttribute(i.attributes.PREVENT_FOCUS,this._preventFocus),this._adapter.setFocusAtIndex(this._focusedIndex,!1,this._preventFocus)}get animationType(){return this._animationType}set animationType(t){this._animationType!==t&&(this._animationType=t,this._applyAnimationType())}get preventFocus(){return this._preventFocus}set preventFocus(t){this._preventFocus!==t&&(this._preventFocus=t,this._applyPreventFocus())}};var V='<template><div class="forge-calendar-menu" part="root"></div></template>',B='.forge-calendar-menu{background-color:#fff;background-color:var(--mdc-theme-surface,#fff);position:relative;height:100%;width:100%;overflow:hidden}.forge-calendar-menu__view{position:absolute;top:0;left:0;height:100%;width:100%;background-color:inherit}.forge-calendar-menu__grid{max-height:320px;max-height:var(--forge-calendar-menu-max-height,320px);display:grid;gap:16px;justify-items:center;-webkit-box-align:center;align-items:center;padding:8px;-webkit-box-sizing:border-box;box-sizing:border-box}.forge-calendar-menu__grid--three-col{grid-template-columns:repeat(3,1fr)}.forge-calendar-menu__grid--four-col{grid-template-columns:repeat(4,1fr)}.forge-calendar-menu__list{position:relative;background-color:inherit}.forge-calendar-menu__list__wrapper{position:relative;height:100%;overflow:auto}.forge-calendar-menu__list__wrapper::-webkit-scrollbar{height:var(--forge-scrollbar-height,16px);width:var(--forge-scrollbar-width,16px)}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-track{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-track:hover{background-color:var(--forge-scrollbar-track-container-hover,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-corner{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-thumb{height:var(--forge-scrollbar-thumb-min-height,32px);width:var(--forge-scrollbar-thumb-min-width,32px);border-radius:var(--forge-scrollbar-border-radius,var(--forge-shape-full,9999px));border-width:var(--forge-scrollbar-border-width,3px);border-style:solid;border-color:transparent;background-color:var(--forge-scrollbar-thumb-container,var(--forge-theme-surface-container-medium,#c2c2c2));background-clip:content-box}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-thumb:hover{background-color:var(--forge-scrollbar-thumb-container-hover,var(--forge-theme-surface-container-high,#9e9e9e))}.forge-calendar-menu__item--grid{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;position:relative;width:100%;height:100%;border-radius:4px;overflow:hidden;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.forge-calendar-menu__item--grid:not([disabled]){--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;border:1px solid #e0e0e0;cursor:pointer}.forge-calendar-menu__item--grid:not([disabled])::after,.forge-calendar-menu__item--grid:not([disabled])::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.forge-calendar-menu__item--grid:not([disabled])::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)}.forge-calendar-menu__item--grid:not([disabled])::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-calendar-menu__item--grid:not([disabled]).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}.forge-calendar-menu__item--grid:not([disabled]).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))}.forge-calendar-menu__item--grid:not([disabled])::after,.forge-calendar-menu__item--grid:not([disabled])::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-calendar-menu__item--grid:not([disabled])::after,.forge-calendar-menu__item--grid:not([disabled])::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-surface--hover::before,.forge-calendar-menu__item--grid:not([disabled]):hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--grid:not([disabled]):not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-calendar-menu__item--grid:not([disabled]):not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--grid:not([disabled]):not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-calendar-menu__item--grid[disabled]{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.38))}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected{color:#fff;color:var(--mdc-theme-on-primary,#fff);background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee)}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected:hover{opacity:.87}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected.mdc-ripple-upgraded--background-focused,.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected:focus{opacity:.54}.forge-calendar-menu__item--list{--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;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;margin:0 4px;width:calc(100% - 8px);height:48px;border-radius:4px;overflow:hidden;text-align:center;cursor:pointer}.forge-calendar-menu__item--list::after,.forge-calendar-menu__item--list::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.forge-calendar-menu__item--list::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)}.forge-calendar-menu__item--list::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-calendar-menu__item--list.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-calendar-menu__item--list.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-calendar-menu__item--list.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-calendar-menu__item--list.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}.forge-calendar-menu__item--list.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))}.forge-calendar-menu__item--list::after,.forge-calendar-menu__item--list::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.forge-calendar-menu__item--list.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-calendar-menu__item--list::after,.forge-calendar-menu__item--list::before{background-color:#000;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-surface,#000))}.forge-calendar-menu__item--list.mdc-ripple-surface--hover::before,.forge-calendar-menu__item--list:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-calendar-menu__item--list.mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--list:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-calendar-menu__item--list:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--list:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-calendar-menu__item--list.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-calendar-menu__item--list--activated::before{opacity:.12;opacity:var(--mdc-ripple-activated-opacity, .12)}.forge-calendar-menu__item--list--activated::after,.forge-calendar-menu__item--list--activated::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.forge-calendar-menu__item--list--activated.mdc-ripple-surface--hover::before,.forge-calendar-menu__item--list--activated:hover::before{opacity:.16;opacity:var(--mdc-ripple-hover-opacity, .16)}.forge-calendar-menu__item--list--activated.mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--list--activated:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-focus-opacity, .24)}.forge-calendar-menu__item--list--activated:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--list--activated:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-press-opacity, .24)}.forge-calendar-menu__item--list--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.forge-calendar-menu__item--list--selected::before{opacity:.08;opacity:var(--mdc-ripple-selected-opacity, .08)}.forge-calendar-menu__item--list--selected::after,.forge-calendar-menu__item--list--selected::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.forge-calendar-menu__item--list--selected.mdc-ripple-surface--hover::before,.forge-calendar-menu__item--list--selected:hover::before{opacity:.12;opacity:var(--mdc-ripple-hover-opacity, .12)}.forge-calendar-menu__item--list--selected.mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--list--selected:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-focus-opacity, .2)}.forge-calendar-menu__item--list--selected:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--list--selected:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-press-opacity, .2)}.forge-calendar-menu__item--list--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.forge-calendar-menu__item--list--selected:focus:hover.mdc-ripple-upgraded--background-focused:not(.mdc-ripple-upgraded--foreground-activation)::before{opacity:.28}.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before{opacity:.12}.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation):hover::before,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation):hover::before{opacity:.16}.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::after,.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::after,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before{background-color:#000;background-color:var(--mdc-theme-on-surface,#000)}.forge-calendar-menu__item--list--active:focus.forge-list-item--selected.forge-list-item--activated:not(.mdc-ripple-upgraded--foreground-activation)::before{opacity:.24}.forge-calendar-menu__item--list--active:focus.forge-list-item--selected.forge-list-item--activated:not(.mdc-ripple-upgraded--foreground-activation):hover::before{opacity:.28}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected{background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee);color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected:hover{opacity:.87}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected.mdc-ripple-upgraded--background-focused,.forge-calendar-menu__item--list.forge-calendar-menu__item--selected:focus{opacity:.54}.forge-calendar-menu__item .mdc-ripple-upgraded--background-focused,.forge-calendar-menu__item--focused,.forge-calendar-menu__item:focus{outline:0}.forge-calendar-menu--open{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:scale-open;animation-name:scale-open;-webkit-transform-origin:top center;transform-origin:top center}.forge-calendar-menu--open[data-animation=fade]{-webkit-animation-name:fade-in;animation-name:fade-in}.forge-calendar-menu--open[data-animation=none]{-webkit-animation-duration:1ms;animation-duration:1ms}@media (prefers-reduced-motion){.forge-calendar-menu--open{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--closing{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:scale-closed;animation-name:scale-closed;-webkit-transform-origin:top center;transform-origin:top center}.forge-calendar-menu--closing[data-animation=fade]{-webkit-animation-name:fade-out;animation-name:fade-out}.forge-calendar-menu--closing[data-animation=none]{-webkit-animation-duration:1ms;animation-duration:1ms}@media (prefers-reduced-motion){.forge-calendar-menu--closing{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-right .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-out-to-right;animation-name:slide-out-to-right}@media (prefers-reduced-motion){.forge-calendar-menu--slide-right .forge-calendar-menu__view:first-child{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-right .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-in-from-left;animation-name:slide-in-from-left}@media (prefers-reduced-motion){.forge-calendar-menu--slide-right .forge-calendar-menu__view:last-child{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--slide-left .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-out-to-left;animation-name:slide-out-to-left}@media (prefers-reduced-motion){.forge-calendar-menu--slide-left .forge-calendar-menu__view:first-child{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-left .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-in-from-right;animation-name:slide-in-from-right}@media (prefers-reduced-motion){.forge-calendar-menu--slide-left .forge-calendar-menu__view:last-child{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--replacing-view .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:fade-out;animation-name:fade-out}.forge-calendar-menu--replacing-view .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:fade-in;animation-name:fade-in}#scroll-spy-bottom{position:absolute;bottom:0;height:48px;pointer-events:none}#scroll-spy-top{position:absolute;top:0;height:48px;pointer-events:none}@-webkit-keyframes scale-open{from{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes scale-open{from{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes scale-closed{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}}@keyframes scale-closed{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}}@-webkit-keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes slide-in-from-left{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-from-left{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-in-from-right{from{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-from-right{from{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-out-to-left{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slide-out-to-left{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@-webkit-keyframes slide-out-to-right{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slide-out-to-right{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}:host{display:block;position:absolute;top:0;left:0;height:100%;width:100%}:host([hidden]){display:none}:host([forge-popover-context=true]) .forge-calendar-menu{background-color:#fff;background-color:var(--forge-theme-elevated-surface,#fff)}',l=class extends HTMLElement{constructor(){super();O(this,V,B),this._foundation=new b(new g(this))}static get observedAttributes(){return[i.attributes.ANIMATION_TYPE,i.attributes.PREVENT_FOCUS]}connectedCallback(){!this.hasAttribute(i.attributes.POPOVER_CONTEXT)&&C(this).some(e=>e.tagName.toLowerCase()==="forge-popover")&&this.setAttribute(i.attributes.POPOVER_CONTEXT,"true"),this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,r,n){switch(e){case i.attributes.ANIMATION_TYPE:this.animationType=n;break;case i.attributes.PREVENT_FOCUS:this.preventFocus=E(n);break}}animateIn(e,r,n=!1){this._foundation.animateIn(e,r,n)}close(){this._foundation.close()}moveFocusDown(){this._foundation.moveFocusDown()}moveFocusBackward(){return this._foundation.moveFocusBackward()}moveFocusForward(){return this._foundation.moveFocusForward()}moveFocusUp(){this._foundation.moveFocusUp()}openAsGrid(e,r=!1){this._foundation.openAsGrid(e,r)}openAsList(e,r=!1){this._foundation.openAsList(e,r)}selectFocusedItem(){this._foundation.selectFocusedItem()}};u([h()],l.prototype,"animationType",2),u([h()],l.prototype,"preventFocus",2),l=u([x({name:i.elementName})],l);function Ee(){L(l)}export{i as a,f as b,F as c,P as d,_ as e,R as f,p as g,g as h,b as i,l as j,Ee as k};
7
+ //# sourceMappingURL=chunk.HG4IDRAC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/calendar/calendar-menu/calendar-menu-constants.ts", "../../src/calendar/calendar-menu/calendar-menu-utils.ts", "../../src/calendar/calendar-menu/calendar-menu-adapter.ts", "../../src/calendar/calendar-menu/calendar-menu-foundation.ts", "../../src/calendar/calendar-menu/calendar-menu.ts", "../../src/calendar/calendar-menu/index.ts"],
4
+ "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\nimport { IOption } from '../../select';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}calendar-menu`;\n\nconst attributes = {\n ANIMATION_TYPE: 'animation-type',\n DATA_ANIMATION: 'data-animation',\n DATA_VALUE: 'data-value',\n POPOVER_CONTEXT: 'forge-popover-context',\n PREVENT_FOCUS: 'prevent-focus'\n};\n\nconst classes = {\n BACKDROP: 'forge-calendar-menu__backdrop',\n CLOSING: 'forge-calendar-menu--closing',\n GRID: 'forge-calendar-menu__grid',\n GRID_ITEM: 'forge-calendar-menu__item--grid',\n GRID_FOUR_COL: 'forge-calendar-menu__grid--four-col',\n GRID_THREE_COL: 'forge-calendar-menu__grid--three-col',\n ITEM: 'forge-calendar-menu__item',\n ITEM_FOCUSED: 'forge-calendar-menu__item--focused',\n ITEM_SELECTED: 'forge-calendar-menu__item--selected',\n LIST: 'forge-calendar-menu__list',\n LIST_ITEM: 'forge-calendar-menu__item--list',\n LIST_WRAPPER: 'forge-calendar-menu__list__wrapper',\n MDC_RIPPLE_UPGRADED_FOCUSED: 'mdc-ripple-upgraded--background-focused',\n OPEN: 'forge-calendar-menu--open',\n REPLACING_VIEW: 'forge-calendar-menu--replacing-view',\n SLIDE_LEFT: 'forge-calendar-menu--slide-left',\n SLIDE_RIGHT: 'forge-calendar-menu--slide-right',\n VIEW: 'forge-calendar-menu__view'\n};\n\nconst ids = {\n SCROLL_SPY_BOTTOM: 'scroll-spy-bottom',\n SCROLL_SPY_TOP: 'scroll-spy-top'\n};\n\nconst parts = {\n ITEM: 'menu-item',\n ITEM_BUTTON: 'menu-item-button',\n ITEM_CONTENT: 'menu-item-content',\n MENU: 'menu'\n};\n\nconst selectors = {\n CONTAINER: '.forge-calendar-menu',\n FOCUSED: `.${classes.ITEM_FOCUSED}`,\n GRID: `.${classes.GRID}`,\n ITEM: `.${classes.ITEM}`,\n LIST: `.${classes.LIST}`,\n LIST_WRAPPER: `.${classes.LIST_WRAPPER}`,\n SCROLL_SPY_BOTTOM: `#${ids.SCROLL_SPY_BOTTOM}`,\n SCROLL_SPY_TOP: `#${ids.SCROLL_SPY_TOP}`,\n SELECTED: `.${classes.ITEM_SELECTED}`,\n VIEW: `.${classes.VIEW}`\n};\n\nconst events = {\n FOCUS_CHANGE: `${elementName}-focus-change`,\n SELECT: `${elementName}-select`\n};\n\nconst numbers = {\n FOUR_COL: 4,\n LARGE_ITEM_SET: 13,\n LIST_SLICE_SIZE: 20,\n THREE_COL: 3\n};\n\nexport const CALENDAR_MENU_CONSTANTS = {\n elementName,\n attributes,\n classes,\n ids,\n parts,\n selectors,\n events,\n numbers\n};\n\nexport interface ICalendarMenuOption extends Omit<IOption, 'value'> {\n selected?: boolean;\n value: number;\n}\n\nexport type CalendarDirection = 'left' | 'right';\nexport type CalendarMenuAnimationType = 'scale' | 'fade' | 'none';\n", "import { CALENDAR_MENU_CONSTANTS, ICalendarMenuOption } from './calendar-menu-constants';\n\nexport function getGrid(options: ICalendarMenuOption[]): HTMLElement {\n const grid = document.createElement('div');\n grid.setAttribute('part', CALENDAR_MENU_CONSTANTS.parts.MENU);\n grid.classList.add(CALENDAR_MENU_CONSTANTS.classes.VIEW, CALENDAR_MENU_CONSTANTS.classes.GRID);\n let gridItems: HTMLElement[];\n if (options.length > 12) {\n grid.classList.add(CALENDAR_MENU_CONSTANTS.classes.GRID_FOUR_COL);\n gridItems = getGridItems(options);\n } else {\n grid.classList.add(CALENDAR_MENU_CONSTANTS.classes.GRID_THREE_COL);\n gridItems = getGridItems(options);\n }\n gridItems.forEach(g => grid.appendChild(g));\n return grid;\n}\n\nexport function getGridItems(options: ICalendarMenuOption[]): HTMLElement[] {\n return options.map(o => {\n const element = document.createElement('div');\n element.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM, CALENDAR_MENU_CONSTANTS.classes.GRID_ITEM);\n element.innerText = o.label;\n element.setAttribute('role', 'button');\n element.setAttribute('part', CALENDAR_MENU_CONSTANTS.parts.ITEM);\n element.setAttribute('tabindex', '-1');\n element.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_VALUE, o.value.toString());\n if (o.selected) {\n element.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM_SELECTED);\n element.setAttribute('aria-current', 'true');\n }\n if (o.disabled) {\n element.setAttribute('disabled', 'true');\n }\n return element;\n });\n}\n\nexport function getList(options: ICalendarMenuOption[]): HTMLElement {\n const wrapper = document.createElement('div');\n const list = document.createElement('div');\n wrapper.classList.add(CALENDAR_MENU_CONSTANTS.classes.VIEW, CALENDAR_MENU_CONSTANTS.classes.LIST_WRAPPER);\n list.classList.add(CALENDAR_MENU_CONSTANTS.classes.LIST);\n list.setAttribute('role', 'list');\n list.appendChild(getScrollSpy(CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_TOP));\n getListItems(options).forEach(l => list.appendChild(l));\n list.appendChild(getScrollSpy(CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_BOTTOM));\n wrapper.appendChild(list);\n return wrapper;\n}\n\nexport function getListItems(options: ICalendarMenuOption[]): HTMLElement[] {\n return options.map(o => {\n const element = document.createElement('div');\n element.innerText = o.label;\n element.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM, CALENDAR_MENU_CONSTANTS.classes.LIST_ITEM);\n element.setAttribute('part', CALENDAR_MENU_CONSTANTS.parts.ITEM);\n element.setAttribute('tabindex', '-1');\n element.setAttribute('role', 'listitem');\n element.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_VALUE, o.value.toString());\n if (o.selected) {\n element.classList.toggle(CALENDAR_MENU_CONSTANTS.classes.ITEM_SELECTED, true);\n element.setAttribute('aria-current', 'true');\n }\n if (o.disabled) {\n element.setAttribute('disabled', 'true');\n }\n return element;\n });\n}\n\nexport function getScrollSpy(id: string): HTMLElement {\n const element = document.createElement('div');\n element.id = id;\n element.setAttribute('aria-hidden', 'true');\n return element;\n}\n\nexport function removeAllExceptLastChild(el: HTMLElement): void {\n while (el.childNodes.length > 1) {\n if (el.firstChild) {\n el.removeChild(el.firstChild);\n }\n }\n}\n", "import { getShadowElement, playKeyframeAnimation, removeAllChildren, tryScrollIntoView } from '@tylertech/forge-core';\n\nimport { BaseAdapter, IBaseAdapter } from '../../core';\nimport { CalendarMenuAnimationType, CALENDAR_MENU_CONSTANTS, ICalendarMenuOption } from './calendar-menu-constants';\nimport { ICalendarMenuComponent } from './calendar-menu';\nimport { getGrid, getList, getListItems, removeAllExceptLastChild } from './calendar-menu-utils';\n\nexport interface ICalendarMenuAdapter extends IBaseAdapter {\n appendListItemsToEnd(options: ICalendarMenuOption[]): void;\n appendListItemsToStart(options: ICalendarMenuOption[]): void;\n animateInFromLeft(options: ICalendarMenuOption[], callback?: () => void): void;\n animateInFromRight(options: ICalendarMenuOption[], callback?: () => void): void;\n registerClickListener(listener: (evt: Event) => void): void;\n registerIntersectionObserver(callback: IntersectionObserverCallback): void;\n setAnimationType(value: CalendarMenuAnimationType): void;\n setClosed(): void;\n setFocusAtIndex(index: number, setFocus: boolean, preventFocus: boolean): void;\n setOpenAsGrid(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void;\n setOpenAsList(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void;\n unregisterClickListener(listener: (evt: Event) => void): void;\n unregisterIntersectionObserver(): void;\n}\n\nexport class CalendarMenuAdapter extends BaseAdapter<ICalendarMenuComponent> implements ICalendarMenuAdapter {\n private _container: HTMLElement;\n private _intersectionObserver: IntersectionObserver | undefined;\n\n constructor(private component: ICalendarMenuComponent) {\n super(component);\n this._container = getShadowElement(component, CALENDAR_MENU_CONSTANTS.selectors.CONTAINER);\n }\n\n public registerClickListener(listener: (evt: Event) => void): void {\n this._container.addEventListener('click', listener);\n }\n\n public unregisterClickListener(listener: (evt: Event) => void): void {\n this._container.removeEventListener('click', listener);\n }\n\n public registerIntersectionObserver(callback: IntersectionObserverCallback): void {\n const root = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST_WRAPPER);\n if (!root) {\n return;\n }\n const options = {\n root\n };\n this._intersectionObserver = new IntersectionObserver(callback, options);\n\n const scrollSpyBottom = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.SCROLL_SPY_BOTTOM);\n const scrollSpyTop = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.SCROLL_SPY_TOP);\n if (scrollSpyBottom) {\n this._intersectionObserver.observe(scrollSpyBottom);\n }\n if (scrollSpyTop) {\n this._intersectionObserver.observe(scrollSpyTop);\n }\n }\n\n public unregisterIntersectionObserver(): void {\n if (this._intersectionObserver) {\n this._intersectionObserver.disconnect();\n this._intersectionObserver = undefined;\n }\n }\n\n public setAnimationType(value: CalendarMenuAnimationType): void {\n this._container.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_ANIMATION, value);\n }\n\n public setClosed(): void {\n this._container.classList.remove(CALENDAR_MENU_CONSTANTS.classes.OPEN);\n this._container.classList.add(CALENDAR_MENU_CONSTANTS.classes.CLOSING);\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.CLOSING, true).then(() => {\n removeAllChildren(this._container);\n this.toggleHostAttribute('hidden', true);\n });\n }\n\n public setOpenAsGrid(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void {\n const element = getGrid(options);\n if (replace) {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.REPLACING_VIEW, true).then(() => {\n removeAllExceptLastChild(this._container);\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n });\n }\n this._container.appendChild(element);\n this.toggleHostAttribute('hidden', false);\n this._container.classList.add(CALENDAR_MENU_CONSTANTS.classes.OPEN);\n if (!replace) {\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n }\n }\n\n public setOpenAsList(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void {\n const element = getList(options);\n if (replace) {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.REPLACING_VIEW, true).then(() => {\n removeAllExceptLastChild(this._container);\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n });\n }\n this._container.appendChild(element);\n this.toggleHostAttribute('hidden', false);\n this._container.classList.add(CALENDAR_MENU_CONSTANTS.classes.OPEN);\n this._scrollItemIntoView('selected');\n if (!replace) {\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n }\n }\n\n public appendListItemsToStart(options: ICalendarMenuOption[]): void {\n const wrapper = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST_WRAPPER);\n const list = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST);\n const firstItem = list?.querySelector(CALENDAR_MENU_CONSTANTS.selectors.ITEM);\n if (wrapper && list && firstItem) {\n const oldScrollTop = wrapper.scrollTop;\n const oldScroll = wrapper.scrollHeight - wrapper.clientHeight;\n\n getListItems(options).forEach(l => {\n list.insertBefore(l, firstItem);\n });\n\n const newScroll = wrapper.scrollHeight - wrapper.clientHeight;\n wrapper.scrollTop = oldScrollTop + (newScroll - oldScroll);\n }\n }\n\n public appendListItemsToEnd(options: ICalendarMenuOption[]): void {\n const list = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST);\n const scrollSpyBottom = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.SCROLL_SPY_BOTTOM);\n if (list && scrollSpyBottom) {\n getListItems(options).forEach(l => {\n list.insertBefore(l, scrollSpyBottom);\n });\n }\n }\n\n public animateInFromLeft(options: ICalendarMenuOption[], callback?: () => void): void {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.SLIDE_RIGHT, true).then(() => {\n removeAllExceptLastChild(this._container);\n if (callback) {\n callback();\n }\n });\n const element = getGrid(options);\n this._container.appendChild(element);\n }\n\n public animateInFromRight(options: ICalendarMenuOption[], callback?: () => void): void {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.SLIDE_LEFT, true).then(() => {\n removeAllExceptLastChild(this._container);\n if (callback) {\n callback();\n }\n });\n const element = getGrid(options);\n this._container.appendChild(element);\n }\n\n public setFocusAtIndex(index: number, setFocus: boolean, preventFocus: boolean): void {\n const previouslyFocusedElement = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.FOCUSED);\n previouslyFocusedElement?.classList.remove(CALENDAR_MENU_CONSTANTS.classes.ITEM_FOCUSED, CALENDAR_MENU_CONSTANTS.classes.MDC_RIPPLE_UPGRADED_FOCUSED);\n previouslyFocusedElement?.setAttribute('tabindex', '-1');\n const item = this._container.querySelectorAll(CALENDAR_MENU_CONSTANTS.selectors.ITEM)?.[index];\n if (item) {\n item.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM_FOCUSED);\n item.setAttribute('tabindex', preventFocus ? '-1' : '0' );\n if (setFocus && !preventFocus) {\n (item as HTMLElement).focus();\n } else if (preventFocus) {\n item.classList.add(CALENDAR_MENU_CONSTANTS.classes.MDC_RIPPLE_UPGRADED_FOCUSED);\n }\n this._scrollItemIntoView('focused');\n }\n }\n\n private _scrollItemIntoView(type: 'selected' | 'focused'): void {\n const list = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST);\n const item = list?.querySelector(type === 'selected' ? CALENDAR_MENU_CONSTANTS.selectors.SELECTED : CALENDAR_MENU_CONSTANTS.selectors.FOCUSED);\n if (list && item) {\n tryScrollIntoView(list.parentElement as HTMLElement, item as HTMLElement, type === 'selected' ? 'auto' : 'smooth', type === 'selected' ? 'center' : 'nearest');\n }\n }\n\n\n}\n", "import { getEventPath, ICustomElementFoundation, isDefined } from '@tylertech/forge-core';\n\nimport { CalendarDirection, CalendarMenuAnimationType, CALENDAR_MENU_CONSTANTS } from './calendar-menu-constants';\nimport { ICalendarMenuAdapter } from './calendar-menu-adapter';\nimport { ICalendarMenuOption } from './calendar-menu-constants';\n\nexport interface ICalendarMenuFoundation extends ICustomElementFoundation {\n animationType: CalendarMenuAnimationType;\n preventFocus: boolean;\n animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus: boolean): void;\n close(): void;\n moveFocusBackward(): boolean;\n moveFocusDown(): void;\n moveFocusForward(): boolean;\n moveFocusUp(): void;\n openAsGrid(options: ICalendarMenuOption[], setFocus: boolean): void;\n openAsList(options: ICalendarMenuOption[], setFocus: boolean): void;\n selectFocusedItem(): void;\n}\n\nexport class CalendarMenuFoundation implements ICalendarMenuFoundation {\n private _animationType: CalendarMenuAnimationType = 'scale';\n private _columnCount = 3;\n private _focusedIndex = 0;\n private _focusedIndexAfterAnimation: number | undefined;\n private _list = false; // This will be used to manage focus in a list view\n private _open = false;\n private _options: ICalendarMenuOption[] = [];\n private _preventFocus = false;\n private _sliceEnd = -1;\n private _sliceStart = -1;\n private _clickListener: (evt: Event) => void;\n private _intersectionObserverCallback: IntersectionObserverCallback;\n\n constructor(private _adapter: ICalendarMenuAdapter) {\n this._clickListener = evt => this._onClick(evt);\n this._intersectionObserverCallback = (entries: IntersectionObserverEntry[]) => this._onIntersection(entries);\n }\n\n public initialize(): void {\n this._applyAnimationType();\n this._applyPreventFocus();\n this._adapter.setHostAttribute('exportparts', Object.values(CALENDAR_MENU_CONSTANTS.parts).join(', '));\n this._adapter.toggleHostAttribute('hidden', true);\n this._adapter.registerClickListener(this._clickListener);\n }\n\n public disconnect(): void {\n this._adapter.unregisterClickListener(this._clickListener);\n this._adapter.unregisterIntersectionObserver();\n }\n\n public openAsGrid(options: ICalendarMenuOption[], setFocus: boolean): void {\n this._list = false;\n this._options = options;\n this._focusedIndex = 0;\n this._setColumnCount();\n this._adapter.setOpenAsGrid(options, this._focusedIndex, setFocus, this._preventFocus, this._open);\n this._setGridListeners();\n this._open = true;\n this._emitFocusChangeEvent();\n }\n\n public openAsList(options: ICalendarMenuOption[], setFocus: boolean): void {\n this._list = true;\n this._options = options;\n const currentSlice = this._getOptionSliceIncludingSelected();\n this._focusedIndex = Math.max(options.findIndex(o => o.selected), this._sliceStart);\n this._adapter.setOpenAsList(currentSlice, this._focusedIndex - this._sliceStart, setFocus, this._preventFocus, this._open);\n this._setListListeners();\n this._open = true;\n this._emitFocusChangeEvent();\n }\n\n public close(): void {\n this._open = false;\n this._options = [];\n this._adapter.setClosed();\n }\n\n public animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus: boolean): void {\n const callback: () => void = () => {\n this._setFocusFromStoredIndex(setFocus);\n };\n if (direction === 'left') {\n this._adapter.animateInFromLeft(options, callback);\n } else {\n this._adapter.animateInFromRight(options, callback);\n }\n this._options = options;\n this._setColumnCount();\n }\n\n public selectFocusedItem(): void {\n this._adapter.emitHostEvent(CALENDAR_MENU_CONSTANTS.events.SELECT, this._options[this._focusedIndex]?.value);\n }\n\n public moveFocusBackward(): boolean {\n if (this._list) {\n return true;\n }\n const index = this._focusedIndex - 1;\n const indexIsInView = index >= 0 && index % this._columnCount !== this._columnCount - 1;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : index + this._columnCount;\n return this._tryMoveFocus(index, indexIsInView);\n }\n\n public moveFocusDown(): void {\n if (this._list) {\n const index = Math.min(this._focusedIndex += 1, this._options.length - 1);\n this._tryMoveFocus(index, true);\n } else {\n const index = this._focusedIndex + this._columnCount;\n const indexIsInView = index < this._options.length;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : index % this._columnCount;\n this._tryMoveFocus(index, indexIsInView);\n }\n }\n\n public moveFocusForward(): boolean {\n if (this._list) {\n return true;\n }\n const index = this._focusedIndex + 1;\n const indexIsInView = index < this._options.length && index % this._columnCount !== 0;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : index - this._columnCount;\n return this._tryMoveFocus(index, indexIsInView);\n }\n\n public moveFocusUp(): void {\n if (this._list) {\n const index = Math.max(this._focusedIndex -= 1, 0);\n this._tryMoveFocus(index, true);\n } else {\n const index = this._focusedIndex - this._columnCount;\n const indexIsInView = index >= 0;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : this._options.length + index;\n this._tryMoveFocus(index, indexIsInView);\n }\n }\n\n private _tryMoveFocus(index: number, indexIsInView: boolean): boolean {\n if (indexIsInView && !this._options[index]?.disabled) {\n this._focusedIndex = index;\n this._adapter.setFocusAtIndex(this._list ? this._focusedIndex - this._sliceStart : this._focusedIndex, true, this._preventFocus);\n this._emitFocusChangeEvent();\n }\n return indexIsInView;\n }\n\n private _setFocusFromStoredIndex(setFocus: boolean): void {\n if (this._focusedIndexAfterAnimation === undefined) {\n return;\n }\n if (this._options[this._focusedIndexAfterAnimation] && !this._options[this._focusedIndexAfterAnimation]?.disabled) {\n this._focusedIndex = this._focusedIndexAfterAnimation;\n } else if (this._options[0]?.disabled) {\n this._focusedIndex = this._options.findIndex(o => !o.disabled);\n } else {\n this._focusedIndex = this._options.length - this._options.slice().reverse().findIndex(o => !o.disabled) - 1;\n }\n this._focusedIndexAfterAnimation = undefined;\n this._adapter.setFocusAtIndex(this._focusedIndex, setFocus, this._preventFocus);\n this._emitFocusChangeEvent();\n }\n\n private _onClick(evt: Event): void {\n const element = getEventPath(evt).find(p => p.classList && p.classList.contains(CALENDAR_MENU_CONSTANTS.classes.ITEM));\n const value = element?.getAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_VALUE);\n if (isDefined(value)) {\n this._adapter.emitHostEvent(CALENDAR_MENU_CONSTANTS.events.SELECT, +(value as string));\n }\n }\n\n private _onIntersection(entries: IntersectionObserverEntry[]): void {\n if (this._sliceStart > 0 && entries.some(e => e.target.id === CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_TOP && e.isIntersecting)) {\n this._adapter.appendListItemsToStart(this._getPreviousOptionsSlice());\n }\n if (this._sliceEnd < this._options.length && entries.some(e => e.target.id === CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_BOTTOM && e.isIntersecting)) {\n this._adapter.appendListItemsToEnd(this._getNextOptionsSlice());\n }\n }\n\n private _setColumnCount(): void {\n this._columnCount = this._options.length >= CALENDAR_MENU_CONSTANTS.numbers.LARGE_ITEM_SET ? CALENDAR_MENU_CONSTANTS.numbers.FOUR_COL : CALENDAR_MENU_CONSTANTS.numbers.THREE_COL;\n }\n\n private _emitFocusChangeEvent(): void {\n this._adapter.emitHostEvent(CALENDAR_MENU_CONSTANTS.events.FOCUS_CHANGE, this._options[this._focusedIndex]?.value);\n }\n\n private _setGridListeners(): void {\n this._adapter.unregisterIntersectionObserver();\n }\n\n private _setListListeners(): void {\n this._adapter.unregisterIntersectionObserver();\n this._adapter.registerIntersectionObserver(this._intersectionObserverCallback);\n }\n\n private _getOptionSliceIncludingSelected(): ICalendarMenuOption[] {\n if (this._options.length <= CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE) {\n this._sliceStart = 0;\n this._sliceEnd = this._options.length;\n return this._options.slice();\n }\n\n const selectedIndex = Math.max(this._options.findIndex(o => o.selected), 0);\n let start = Math.max(Math.floor(selectedIndex - CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE / 2), 0);\n let end = start + CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE;\n if (end > this._options.length) {\n start = this._options.length - 1 - CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE;\n end = this._options.length;\n }\n this._sliceStart = start;\n this._sliceEnd = end;\n return this._options.slice(this._sliceStart, this._sliceEnd);\n }\n\n private _getNextOptionsSlice(): ICalendarMenuOption[] {\n const newEnd = Math.min(this._sliceEnd + CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE, this._options.length);\n const slice = this._options.slice(this._sliceEnd, newEnd);\n this._sliceEnd = newEnd;\n return slice;\n }\n\n private _getPreviousOptionsSlice(): ICalendarMenuOption[] {\n const newStart = Math.max(this._sliceStart - CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE, 0);\n const slice = this._options.slice(newStart, this._sliceStart);\n this._sliceStart = newStart;\n return slice;\n }\n\n private _applyAnimationType(): void {\n this._adapter.setHostAttribute(CALENDAR_MENU_CONSTANTS.attributes.ANIMATION_TYPE, this._animationType);\n this._adapter.setAnimationType(this._animationType);\n }\n\n private _applyPreventFocus(): void {\n this._adapter.toggleHostAttribute(CALENDAR_MENU_CONSTANTS.attributes.PREVENT_FOCUS, this._preventFocus);\n this._adapter.setFocusAtIndex(this._focusedIndex, false, this._preventFocus);\n }\n\n public get animationType(): CalendarMenuAnimationType {\n return this._animationType;\n }\n public set animationType(value: CalendarMenuAnimationType) {\n if (this._animationType !== value) {\n this._animationType = value;\n this._applyAnimationType();\n }\n }\n\n public get preventFocus(): boolean {\n return this._preventFocus;\n }\n public set preventFocus(value: boolean) {\n if (this._preventFocus !== value) {\n this._preventFocus = value;\n this._applyPreventFocus();\n }\n }\n}\n", "import { CustomElement, attachShadowTemplate, ICustomElement, FoundationProperty, coerceBoolean, elementParents } from '@tylertech/forge-core';\n\nimport { CalendarMenuAdapter } from './calendar-menu-adapter';\nimport { CalendarDirection, CalendarMenuAnimationType, CALENDAR_MENU_CONSTANTS, ICalendarMenuOption } from './calendar-menu-constants';\nimport { CalendarMenuFoundation } from './calendar-menu-foundation';\n\nconst template = '<template><div class=\\\"forge-calendar-menu\\\" part=\\\"root\\\"></div></template>';\nconst styles = '.forge-calendar-menu{background-color:#fff;background-color:var(--mdc-theme-surface,#fff);position:relative;height:100%;width:100%;overflow:hidden}.forge-calendar-menu__view{position:absolute;top:0;left:0;height:100%;width:100%;background-color:inherit}.forge-calendar-menu__grid{max-height:320px;max-height:var(--forge-calendar-menu-max-height,320px);display:grid;gap:16px;justify-items:center;-webkit-box-align:center;align-items:center;padding:8px;-webkit-box-sizing:border-box;box-sizing:border-box}.forge-calendar-menu__grid--three-col{grid-template-columns:repeat(3,1fr)}.forge-calendar-menu__grid--four-col{grid-template-columns:repeat(4,1fr)}.forge-calendar-menu__list{position:relative;background-color:inherit}.forge-calendar-menu__list__wrapper{position:relative;height:100%;overflow:auto}.forge-calendar-menu__list__wrapper::-webkit-scrollbar{height:var(--forge-scrollbar-height,16px);width:var(--forge-scrollbar-width,16px)}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-track{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-track:hover{background-color:var(--forge-scrollbar-track-container-hover,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-corner{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-thumb{height:var(--forge-scrollbar-thumb-min-height,32px);width:var(--forge-scrollbar-thumb-min-width,32px);border-radius:var(--forge-scrollbar-border-radius,var(--forge-shape-full,9999px));border-width:var(--forge-scrollbar-border-width,3px);border-style:solid;border-color:transparent;background-color:var(--forge-scrollbar-thumb-container,var(--forge-theme-surface-container-medium,#c2c2c2));background-clip:content-box}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-thumb:hover{background-color:var(--forge-scrollbar-thumb-container-hover,var(--forge-theme-surface-container-high,#9e9e9e))}.forge-calendar-menu__item--grid{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;position:relative;width:100%;height:100%;border-radius:4px;overflow:hidden;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.forge-calendar-menu__item--grid:not([disabled]){--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;border:1px solid #e0e0e0;cursor:pointer}.forge-calendar-menu__item--grid:not([disabled])::after,.forge-calendar-menu__item--grid:not([disabled])::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.forge-calendar-menu__item--grid:not([disabled])::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)}.forge-calendar-menu__item--grid:not([disabled])::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-calendar-menu__item--grid:not([disabled]).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}.forge-calendar-menu__item--grid:not([disabled]).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))}.forge-calendar-menu__item--grid:not([disabled])::after,.forge-calendar-menu__item--grid:not([disabled])::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-calendar-menu__item--grid:not([disabled])::after,.forge-calendar-menu__item--grid:not([disabled])::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-surface--hover::before,.forge-calendar-menu__item--grid:not([disabled]):hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--grid:not([disabled]):not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-calendar-menu__item--grid:not([disabled]):not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--grid:not([disabled]):not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-calendar-menu__item--grid:not([disabled]).mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-calendar-menu__item--grid[disabled]{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.38))}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected{color:#fff;color:var(--mdc-theme-on-primary,#fff);background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee)}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected:hover{opacity:.87}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected.mdc-ripple-upgraded--background-focused,.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected:focus{opacity:.54}.forge-calendar-menu__item--list{--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;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;margin:0 4px;width:calc(100% - 8px);height:48px;border-radius:4px;overflow:hidden;text-align:center;cursor:pointer}.forge-calendar-menu__item--list::after,.forge-calendar-menu__item--list::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.forge-calendar-menu__item--list::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)}.forge-calendar-menu__item--list::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-calendar-menu__item--list.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-calendar-menu__item--list.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-calendar-menu__item--list.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-calendar-menu__item--list.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}.forge-calendar-menu__item--list.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))}.forge-calendar-menu__item--list::after,.forge-calendar-menu__item--list::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.forge-calendar-menu__item--list.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-calendar-menu__item--list::after,.forge-calendar-menu__item--list::before{background-color:#000;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-surface,#000))}.forge-calendar-menu__item--list.mdc-ripple-surface--hover::before,.forge-calendar-menu__item--list:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-calendar-menu__item--list.mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--list:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-calendar-menu__item--list:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--list:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-calendar-menu__item--list.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-calendar-menu__item--list--activated::before{opacity:.12;opacity:var(--mdc-ripple-activated-opacity, .12)}.forge-calendar-menu__item--list--activated::after,.forge-calendar-menu__item--list--activated::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.forge-calendar-menu__item--list--activated.mdc-ripple-surface--hover::before,.forge-calendar-menu__item--list--activated:hover::before{opacity:.16;opacity:var(--mdc-ripple-hover-opacity, .16)}.forge-calendar-menu__item--list--activated.mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--list--activated:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-focus-opacity, .24)}.forge-calendar-menu__item--list--activated:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--list--activated:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-press-opacity, .24)}.forge-calendar-menu__item--list--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.forge-calendar-menu__item--list--selected::before{opacity:.08;opacity:var(--mdc-ripple-selected-opacity, .08)}.forge-calendar-menu__item--list--selected::after,.forge-calendar-menu__item--list--selected::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.forge-calendar-menu__item--list--selected.mdc-ripple-surface--hover::before,.forge-calendar-menu__item--list--selected:hover::before{opacity:.12;opacity:var(--mdc-ripple-hover-opacity, .12)}.forge-calendar-menu__item--list--selected.mdc-ripple-upgraded--background-focused::before,.forge-calendar-menu__item--list--selected:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-focus-opacity, .2)}.forge-calendar-menu__item--list--selected:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-calendar-menu__item--list--selected:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-press-opacity, .2)}.forge-calendar-menu__item--list--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.forge-calendar-menu__item--list--selected:focus:hover.mdc-ripple-upgraded--background-focused:not(.mdc-ripple-upgraded--foreground-activation)::before{opacity:.28}.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before{opacity:.12}.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation):hover::before,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation):hover::before{opacity:.16}.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::after,.forge-calendar-menu__item--list--active:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::after,.forge-calendar-menu__item--list:focus:not(.forge-list-item--selected):not(.forge-list-item--activated):not(.mdc-ripple-upgraded--foreground-activation)::before{background-color:#000;background-color:var(--mdc-theme-on-surface,#000)}.forge-calendar-menu__item--list--active:focus.forge-list-item--selected.forge-list-item--activated:not(.mdc-ripple-upgraded--foreground-activation)::before{opacity:.24}.forge-calendar-menu__item--list--active:focus.forge-list-item--selected.forge-list-item--activated:not(.mdc-ripple-upgraded--foreground-activation):hover::before{opacity:.28}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected{background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee);color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected:hover{opacity:.87}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected.mdc-ripple-upgraded--background-focused,.forge-calendar-menu__item--list.forge-calendar-menu__item--selected:focus{opacity:.54}.forge-calendar-menu__item .mdc-ripple-upgraded--background-focused,.forge-calendar-menu__item--focused,.forge-calendar-menu__item:focus{outline:0}.forge-calendar-menu--open{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:scale-open;animation-name:scale-open;-webkit-transform-origin:top center;transform-origin:top center}.forge-calendar-menu--open[data-animation=fade]{-webkit-animation-name:fade-in;animation-name:fade-in}.forge-calendar-menu--open[data-animation=none]{-webkit-animation-duration:1ms;animation-duration:1ms}@media (prefers-reduced-motion){.forge-calendar-menu--open{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--closing{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:scale-closed;animation-name:scale-closed;-webkit-transform-origin:top center;transform-origin:top center}.forge-calendar-menu--closing[data-animation=fade]{-webkit-animation-name:fade-out;animation-name:fade-out}.forge-calendar-menu--closing[data-animation=none]{-webkit-animation-duration:1ms;animation-duration:1ms}@media (prefers-reduced-motion){.forge-calendar-menu--closing{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-right .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-out-to-right;animation-name:slide-out-to-right}@media (prefers-reduced-motion){.forge-calendar-menu--slide-right .forge-calendar-menu__view:first-child{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-right .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-in-from-left;animation-name:slide-in-from-left}@media (prefers-reduced-motion){.forge-calendar-menu--slide-right .forge-calendar-menu__view:last-child{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--slide-left .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-out-to-left;animation-name:slide-out-to-left}@media (prefers-reduced-motion){.forge-calendar-menu--slide-left .forge-calendar-menu__view:first-child{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-left .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-in-from-right;animation-name:slide-in-from-right}@media (prefers-reduced-motion){.forge-calendar-menu--slide-left .forge-calendar-menu__view:last-child{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--replacing-view .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:fade-out;animation-name:fade-out}.forge-calendar-menu--replacing-view .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:fade-in;animation-name:fade-in}#scroll-spy-bottom{position:absolute;bottom:0;height:48px;pointer-events:none}#scroll-spy-top{position:absolute;top:0;height:48px;pointer-events:none}@-webkit-keyframes scale-open{from{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes scale-open{from{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes scale-closed{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}}@keyframes scale-closed{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}}@-webkit-keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes slide-in-from-left{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-from-left{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-in-from-right{from{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-from-right{from{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-out-to-left{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slide-out-to-left{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@-webkit-keyframes slide-out-to-right{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slide-out-to-right{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}:host{display:block;position:absolute;top:0;left:0;height:100%;width:100%}:host([hidden]){display:none}:host([forge-popover-context=true]) .forge-calendar-menu{background-color:#fff;background-color:var(--forge-theme-elevated-surface,#fff)}';\n\nexport interface ICalendarMenuComponent extends ICustomElement {\n animationType: CalendarMenuAnimationType;\n preventFocus: boolean;\n animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus?: boolean): void;\n close(): void;\n moveFocusBackward(): boolean;\n moveFocusDown(): void;\n moveFocusForward(): boolean;\n moveFocusUp(): void;\n openAsGrid(options: ICalendarMenuOption[], setFocus?: boolean): void;\n openAsList(options: ICalendarMenuOption[], setFocus?: boolean): void;\n selectFocusedItem(): void;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-calendar-menu': ICalendarMenuComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-calendar-menu-focus-change': CustomEvent<number>;\n 'forge-calendar-menu-select': CustomEvent<number>;\n }\n}\n\n/**\n * The web component class behind the `<forge-calendar-menu>` custom element.\n * \n * @internal\n * @tag forge-calendar-menu\n */\n@CustomElement({\n name: CALENDAR_MENU_CONSTANTS.elementName\n})\nexport class CalendarMenuComponent extends HTMLElement implements ICalendarMenuComponent {\n public static get observedAttributes(): string[] {\n return [\n CALENDAR_MENU_CONSTANTS.attributes.ANIMATION_TYPE,\n CALENDAR_MENU_CONSTANTS.attributes.PREVENT_FOCUS\n ];\n }\n\n private _foundation: CalendarMenuFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new CalendarMenuFoundation(new CalendarMenuAdapter(this));\n }\n\n public connectedCallback(): void {\n // To simulate the :host-context() selector for Firefox until they implement it, we need to determine if the\n // calendar is within a popup for auto-styling the calendar when included within a popup. Check to see if\n // any of the parents of this element are a popup.\n if (!this.hasAttribute(CALENDAR_MENU_CONSTANTS.attributes.POPOVER_CONTEXT) && elementParents(this).some(el => el.tagName.toLowerCase() === 'forge-popover')) {\n this.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.POPOVER_CONTEXT, 'true');\n }\n\n this._foundation.initialize();\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case CALENDAR_MENU_CONSTANTS.attributes.ANIMATION_TYPE:\n this.animationType = newValue as CalendarMenuAnimationType;\n break;\n case CALENDAR_MENU_CONSTANTS.attributes.PREVENT_FOCUS:\n this.preventFocus = coerceBoolean(newValue);\n break;\n }\n }\n\n @FoundationProperty()\n public declare animationType: CalendarMenuAnimationType;\n\n @FoundationProperty()\n public declare preventFocus: boolean;\n\n public animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus = false): void {\n this._foundation.animateIn(options, direction, setFocus);\n }\n\n public close(): void {\n this._foundation.close();\n }\n\n public moveFocusDown(): void {\n this._foundation.moveFocusDown();\n }\n\n public moveFocusBackward(): boolean {\n return this._foundation.moveFocusBackward();\n }\n\n public moveFocusForward(): boolean {\n return this._foundation.moveFocusForward();\n }\n\n public moveFocusUp(): void {\n this._foundation.moveFocusUp();\n }\n\n public openAsGrid(options: ICalendarMenuOption[], setFocus = false): void {\n this._foundation.openAsGrid(options, setFocus);\n }\n\n public openAsList(options: ICalendarMenuOption[], setFocus = false): void {\n this._foundation.openAsList(options, setFocus);\n }\n\n public selectFocusedItem(): void {\n this._foundation.selectFocusedItem();\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { CalendarMenuComponent } from './calendar-menu';\n\nexport * from './calendar-menu-adapter';\nexport * from './calendar-menu-constants';\nexport * from './calendar-menu-foundation';\nexport * from './calendar-menu-utils';\nexport * from './calendar-menu';\n\nexport function defineCalendarMenuComponent(): void {\n defineCustomElement(CalendarMenuComponent);\n}\n"],
5
+ "mappings": "iXAGA,IAAMA,EAA2C,GAAGC,iBAE9CC,EAAa,CACjB,eAAgB,iBAChB,eAAgB,iBAChB,WAAY,aACZ,gBAAiB,wBACjB,cAAe,eACjB,EAEMC,EAAU,CACd,SA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Grid", "options", "grid", "CALENDAR_MENU_CONSTANTS", "gridItems", "getGridItems", "g", "o", "element", "getList", "wrapper", "list", "getScrollSpy", "getListItems", "l", "id", "removeAllExceptLastChild", "el", "CalendarMenuAdapter", "BaseAdapter", "component", "getShadowElement", "CALENDAR_MENU_CONSTANTS", "listener", "callback", "root", "options", "scrollSpyBottom", "scrollSpyTop", "value", "playKeyframeAnimation", "removeAllChildren", "focusedIndex", "setFocus", "preventFocus", "replace", "element", "getGrid", "removeAllExceptLastChild", "getList", "wrapper", "list", "firstItem", "oldScrollTop", "oldScroll", "getListItems", "l", "newScroll", "index", "_a", "previouslyFocusedElement", "item", "type", "tryScrollIntoView", "CalendarMenuFoundation", "_adapter", "evt", "entries", "CALENDAR_MENU_CONSTANTS", "options", "setFocus", "currentSlice", "o", "direction", "callback", "_a", "index", "indexIsInView", "_b", "element", "getEventPath", "p", "value", "isDefined", "selectedIndex", "start", "end", "newEnd", "slice", "newStart", "template", "styles", "CalendarMenuComponent", "attachShadowTemplate", "CalendarMenuFoundation", "CalendarMenuAdapter", "CALENDAR_MENU_CONSTANTS", "elementParents", "el", "name", "oldValue", "newValue", "coerceBoolean", "options", "direction", "setFocus", "__decorateClass", "FoundationProperty", "CustomElement", "defineCalendarMenuComponent", "defineCustomElement", "CalendarMenuComponent"]
7
+ }
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{d as s,i as o}from"./chunk.DCCFF327.js";var r=class{constructor(e={}){this._config=e;this._initialize()}get element(){return this._element}destroy(){this.disconnect()}disconnect(){this._element.isConnected&&o(this._element)}_initialize(){var e,i,n,t;if(this._element=this._build(),!this._element)throw new Error(`Invalid component instance: ${this._element}`);this._applyProps(),this._applyStyle(),this._applyAttrs(),(i=(e=this._config.options)==null?void 0:e.parent)==null||i.append(this._element),(n=this._config.options)!=null&&n.children&&this._applyChildren(),(t=this._configure)==null||t.call(this)}_applyProps(){this._config.props&&Object.assign(this._element,this._config.props)}_applyStyle(){var e,i;if((e=this._config.options)!=null&&e.style){let n=Object.keys(this._config.options.style);for(let t of n)(i=this._element)==null||i.style.setProperty(t,this._config.options.style[t])}}_applyAttrs(){var e,i;if((e=this._config.options)!=null&&e.attributes)if(this._config.options.attributes instanceof Map)for(let[n,t]of Array.from(this._config.options.attributes))this._element.setAttribute(n,t);else{let n=Object.keys(this._config.options.attributes);for(let t of n)(i=this._element)==null||i.setAttribute(t,this._config.options.attributes[t])}}_applyChildren(){var e;this._element.hasChildNodes()&&s(this._element),(e=this._config.options)!=null&&e.children&&(typeof this._config.options.children=="string"?this._element.innerHTML=this._config.options.children:this._element.appendChild(this._config.options.children))}};export{r as a};
7
- //# sourceMappingURL=chunk.CSOKFDFQ.js.map
6
+ import{c as s,h as o}from"./chunk.L4QSPQDE.js";var r=class{constructor(e={}){this._config=e;this._initialize()}get element(){return this._element}destroy(){this.disconnect()}disconnect(){this._element.isConnected&&o(this._element)}_initialize(){var e,i,n,t;if(this._element=this._build(),!this._element)throw new Error(`Invalid component instance: ${this._element}`);this._applyProps(),this._applyStyle(),this._applyAttrs(),(i=(e=this._config.options)==null?void 0:e.parent)==null||i.append(this._element),(n=this._config.options)!=null&&n.children&&this._applyChildren(),(t=this._configure)==null||t.call(this)}_applyProps(){this._config.props&&Object.assign(this._element,this._config.props)}_applyStyle(){var e,i;if((e=this._config.options)!=null&&e.style){let n=Object.keys(this._config.options.style);for(let t of n)(i=this._element)==null||i.style.setProperty(t,this._config.options.style[t])}}_applyAttrs(){var e,i;if((e=this._config.options)!=null&&e.attributes)if(this._config.options.attributes instanceof Map)for(let[n,t]of Array.from(this._config.options.attributes))this._element.setAttribute(n,t);else{let n=Object.keys(this._config.options.attributes);for(let t of n)(i=this._element)==null||i.setAttribute(t,this._config.options.attributes[t])}}_applyChildren(){var e;this._element.hasChildNodes()&&s(this._element),(e=this._config.options)!=null&&e.children&&(typeof this._config.options.children=="string"?this._element.innerHTML=this._config.options.children:this._element.appendChild(this._config.options.children))}};export{r as a};
7
+ //# sourceMappingURL=chunk.HSADKCGS.js.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{a as p,d as w}from"./chunk.7Y3BUR7Q.js";import{a as u,d as k}from"./chunk.QVATEY5S.js";import{c as S}from"./chunk.USTVZ6MZ.js";import{c as R}from"./chunk.GBAVJILM.js";import{a as x,d as U}from"./chunk.GIENHEMN.js";import{a as P}from"./chunk.37B332ZK.js";import{m as N}from"./chunk.J2Y5KPON.js";import{a as s}from"./chunk.NVUMRW44.js";import{a as O}from"./chunk.OLFOVKQG.js";import{a as I,b as L}from"./chunk.VRSPT7WX.js";import{a as B,d as A,g as h,k as C}from"./chunk.LNTTU2GL.js";import{b as g,c as m,r as E}from"./chunk.L4QSPQDE.js";import{h as T,k as l,l as b}from"./chunk.J2M2MXP2.js";import{d as n}from"./chunk.M3QDAYD2.js";var M=`${L}app-bar-profile-button`,D={FULL_NAME:"full-name",EMAIL:"email",AVATAR_IMAGE_URL:"avatar-image-url",AVATAR_LETTER_COUNT:"avatar-letter-count",AVATAR_TEXT:"avatar-text",AVATAR_ICON:"avatar-icon",SIGN_OUT_BUTTON:"sign-out-button",PROFILE_BUTTON:"profile-button",SIGN_OUT_BUTTON_TEXT:"sign-out-button-text",PROFILE_BUTTON_TEXT:"profile-button-text",OPEN:"open"},y=["aria-label","aria-labelledby"],i={elementName:M,attributes:D,forwardedAttributes:y};var _=class extends O{constructor(e){super(e)}get popupElement(){return this._popupElement}initialize(){this._avatarElement=h(this._component,u.elementName),this._iconButtonElement=h(this._component,x.elementName);let e=this._iconButtonElement.getAttribute("aria-labelledby");this._forwardObserver=N(this._component,i.forwardedAttributes,(a,r)=>{a==="aria-labelledby"&&!r&&(r=e),E(this._iconButtonElement,!!r,a,r!=null?r:void 0)})}destroy(){var e;(e=this._forwardObserver)==null||e.disconnect(),this._forwardObserver=void 0,this._popupElement&&(this._popupElement.remove(),this._popupElement=void 0,this._profileCardElement=void 0)}setClickListener(e){this._component.addEventListener("click",e)}removeClickListener(e){this._component.removeEventListener("click",e)}openPopup(e,a,r,F,f){var v;return(v=this._popupElement)!=null&&v.isConnected&&this._popupElement.remove(),this._profileCardElement=document.createElement(p.elementName),this._profileCardElement.fullName=e.fullName,this._profileCardElement.email=e.email,this._profileCardElement.signOut=e.signOut,this._profileCardElement.profile=e.profile,this._profileCardElement.signOutText=e.signOutButtonText,this._profileCardElement.profileText=e.profileButtonText,this._profileCardElement.avatarText=e.avatarText,this._profileCardElement.avatarIcon=e.avatarIcon,this._profileCardElement.avatarImageUrl=e.avatarImageUrl,this._profileCardElement.avatarLetterCount=e.avatarLetterCount,this._profileCardElement.addEventListener(p.events.PROFILE,()=>r()),this._profileCardElement.addEventListener(p.events.SIGN_OUT,()=>F()),f&&this._profileCardElement.appendChild(f),this._popupElement=document.createElement("forge-popover"),this._popupElement.anchorElement=this._iconButtonElement,this._popupElement.placement="bottom-end",this._popupElement.arrow=!0,this._popupElement.persistent=!0,this._popupElement.appendChild(this._profileCardElement),this._component.ownerDocument.body.appendChild(this._popupElement),this._popupElement.open=!0,this._profileCardElement.tabIndex=-1,this._profileCardElement.focus(),g(this._popupElement,()=>{if(!this._popupElement){a();return}!this._popupElement.matches(":focus-within")&&!this._component.matches(":focus-within")&&a()},!0)}async closePopup(){this._popupElement&&(await this._popupElement.hideAsync(),this._popupElement.remove(),this._popupElement=void 0,this._profileCardElement=void 0)}focusButtonElement(){this._iconButtonElement.focus()}setAvatarText(e){this._avatarElement.text=e,m(this._avatarElement)}setAvatarIcon(e){if(e){let a=new P({props:{name:e}});this._avatarElement.replaceChildren(a.element)}else m(this._avatarElement)}setAvatarLetterCount(e){this._avatarElement.letterCount=e}setAvatarImageUrl(e){this._avatarElement.imageUrl=e}setSignOutButtonText(e){var a;this._profileCardElement&&(this._profileCardElement.signOutText=e,(a=this._popupElement)==null||a.position())}setProfileButtonText(e){var a;this._profileCardElement&&(this._profileCardElement.profileText=e,(a=this._popupElement)==null||a.position())}};var d=class{constructor(t){this._adapter=t;this._avatarLetterCount=u.numbers.DEFAULT_LETTER_COUNT;this._showSignOutButton=p.defaults.SHOW_SIGN_OUT_BUTTON;this._showProfileButton=p.defaults.SHOW_PROFILE_BUTTON;this._signOutButtonText=p.defaults.SIGN_OUT_BUTTON_TEXT;this._profileButtonText=p.defaults.PROFILE_BUTTON_TEXT;this._open=!1;this._isInitialized=!1;this._clickListener=this._onClick.bind(this);this._dismissListener=this._onDismiss.bind(this);this._keydownListener=this._onKeydown.bind(this);this._profileButtonListener=this._onProfileButtonClick.bind(this);this._signOutButtonListener=this._onSignOutButtonClick.bind(this)}initialize(){this._adapter.initialize(),this._adapter.setClickListener(this._clickListener),this._adapter.setAvatarImageUrl(this._avatarImageUrl),this._adapter.setAvatarLetterCount(this._avatarLetterCount),this._adapter.setAvatarText(this._avatarText),this._adapter.setAvatarIcon(this._avatarIcon),this._isInitialized=!0}destroy(){this._adapter.removeDocumentListener("keydown",this._keydownListener),this._adapter.removeClickListener(this._clickListener),this._adapter.destroy(),this._isInitialized=!1}_onClick(t){this._open?this._closeDropdown():this._openDropdown()}_onKeydown(t){t.key==="Escape"&&(this._closeDropdown(),this._adapter.focusButtonElement())}_onDismiss(){this._closeDropdown()}_onProfileButtonClick(){this._adapter.dispatchHostEvent(new CustomEvent(p.events.PROFILE,{bubbles:!0,composed:!0})),this._closeDropdown()}_onSignOutButtonClick(){this._adapter.dispatchHostEvent(new CustomEvent(p.events.SIGN_OUT,{bubbles:!0,composed:!0})),this._closeDropdown()}_openDropdown(){if(this._open)return;let t={fullName:this._fullName,email:this._email,signOut:this._showSignOutButton,profile:this._showProfileButton,signOutButtonText:this._signOutButtonText,profileButtonText:this._profileButtonText,avatarText:this._avatarText,avatarIcon:this._avatarIcon,avatarImageUrl:this._avatarImageUrl,avatarLetterCount:this._avatarLetterCount},e=this._profileCardBuilder?this._profileCardBuilder():void 0;this._cancelDismissListener=this._adapter.openPopup(t,this._dismissListener,this._profileButtonListener,this._signOutButtonListener,e),this._adapter.addDocumentListener("keydown",this._keydownListener),this._open=!0,this._adapter.toggleHostAttribute(i.attributes.OPEN,this._open)}_closeDropdown(){this._open&&(this._cancelDismissListener&&T(this._cancelDismissListener)&&(this._cancelDismissListener(),this._cancelDismissListener=void 0),this._open=!1,this._adapter.closePopup(),this._adapter.toggleHostAttribute(i.attributes.OPEN,this._open))}get fullName(){return this._fullName}set fullName(t){this._fullName!==t&&(this._fullName=t,this.avatarText=this._fullName,this._adapter.setHostAttribute(i.attributes.FULL_NAME,this._fullName))}get email(){return this._email}set email(t){this._email!==t&&(this._email=t,this._adapter.setHostAttribute(i.attributes.EMAIL,this._email))}get avatarImageUrl(){return this._avatarImageUrl}set avatarImageUrl(t){this._avatarImageUrl!==t&&(this._avatarImageUrl=t,this._isInitialized&&(this._adapter.setAvatarImageUrl(this._avatarImageUrl),this._adapter.setHostAttribute(i.attributes.AVATAR_IMAGE_URL,this._avatarImageUrl)))}get avatarLetterCount(){return this._avatarLetterCount}set avatarLetterCount(t){this._avatarLetterCount!==t&&(this._avatarLetterCount=t,this._isInitialized&&(this._adapter.setAvatarLetterCount(this._avatarLetterCount),this._adapter.setHostAttribute(i.attributes.AVATAR_LETTER_COUNT,String(this._avatarLetterCount))))}get avatarText(){return this._avatarText}set avatarText(t){this._avatarText!==t&&(this._avatarText=t,this._isInitialized&&(this._adapter.setAvatarText(this._avatarText),this._adapter.toggleHostAttribute(i.attributes.AVATAR_TEXT,!!this._avatarText,this._avatarText)))}get avatarIcon(){return this._avatarIcon}set avatarIcon(t){this._avatarIcon!==t&&(this._avatarIcon=t,this._isInitialized&&(this._adapter.setAvatarIcon(this._avatarIcon),this._adapter.toggleHostAttribute(i.attributes.AVATAR_ICON,!!this._avatarIcon,this._avatarIcon)))}get signOutButton(){return this._showSignOutButton}set signOutButton(t){t=!!t,this._showSignOutButton!==t&&(this._showSignOutButton=t,this._adapter.toggleHostAttribute(i.attributes.SIGN_OUT_BUTTON,this._showSignOutButton))}get profileButton(){return this._showProfileButton}set profileButton(t){t=!!t,this._showProfileButton!==t&&(this._showProfileButton=t,this._adapter.toggleHostAttribute(i.attributes.PROFILE_BUTTON,this._showProfileButton))}get signOutButtonText(){return this._signOutButtonText}set signOutButtonText(t){this._signOutButtonText!==t&&(this._signOutButtonText=t,this._adapter.setSignOutButtonText(t))}get profileButtonText(){return this._profileButtonText}set profileButtonText(t){this._profileButtonText!==t&&(this._profileButtonText=t,this._adapter.setProfileButtonText(t))}get open(){return this._open}set open(t){t=!!t,this._open!==t&&(t?this._openDropdown():this._closeDropdown())}get popupElement(){return this._adapter.popupElement}get profileCardBuilder(){return this._profileCardBuilder}set profileCardBuilder(t){this._profileCardBuilder=t}};var H='<template><forge-icon-button><forge-avatar aria-hidden="true"></forge-avatar></forge-icon-button><forge-tooltip type="label" placement="bottom">View profile</forge-tooltip></template>',o=class extends C{constructor(){super();this._foundation=new d(new _(this))}static get observedAttributes(){return[i.attributes.FULL_NAME,i.attributes.EMAIL,i.attributes.AVATAR_IMAGE_URL,i.attributes.AVATAR_LETTER_COUNT,i.attributes.AVATAR_TEXT,i.attributes.AVATAR_ICON,i.attributes.SIGN_OUT_BUTTON,i.attributes.PROFILE_BUTTON,i.attributes.SIGN_OUT_BUTTON_TEXT,i.attributes.PROFILE_BUTTON_TEXT,i.attributes.OPEN]}initializedCallback(){A(this,H)}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.destroy()}attributeChangedCallback(e,a,r){switch(e){case i.attributes.FULL_NAME:this.fullName=r;break;case i.attributes.EMAIL:this.email=r;break;case i.attributes.AVATAR_IMAGE_URL:this.avatarImageUrl=r;break;case i.attributes.AVATAR_LETTER_COUNT:this.avatarLetterCount=b(r);break;case i.attributes.AVATAR_TEXT:this.avatarText=r;break;case i.attributes.AVATAR_ICON:this.avatarIcon=r;break;case i.attributes.SIGN_OUT_BUTTON:this.signOutButton=l(r);break;case i.attributes.PROFILE_BUTTON:this.profileButton=l(r);break;case i.attributes.SIGN_OUT_BUTTON_TEXT:this.signOutButtonText=r;break;case i.attributes.PROFILE_BUTTON_TEXT:this.profileButtonText=r;break;case i.attributes.OPEN:this.open=l(r);break}}get popupElement(){return this._foundation.popupElement}};n([s()],o.prototype,"fullName",2),n([s()],o.prototype,"email",2),n([s()],o.prototype,"avatarImageUrl",2),n([s()],o.prototype,"avatarLetterCount",2),n([s()],o.prototype,"avatarText",2),n([s()],o.prototype,"avatarIcon",2),n([s()],o.prototype,"signOutButton",2),n([s()],o.prototype,"profileButton",2),n([s()],o.prototype,"signOutButtonText",2),n([s()],o.prototype,"profileButtonText",2),n([s()],o.prototype,"open",2),n([s()],o.prototype,"profileCardBuilder",2),o=n([I({name:i.elementName,dependencies:[S,w,U,k,R]})],o);function Nt(){B(o)}export{i as a,_ as b,d as c,o as d,Nt as e};
7
+ //# sourceMappingURL=chunk.I7YON2TC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/app-bar/profile-button/app-bar-profile-button-constants.ts", "../../src/app-bar/profile-button/app-bar-profile-button-adapter.ts", "../../src/app-bar/profile-button/app-bar-profile-button-foundation.ts", "../../src/app-bar/profile-button/app-bar-profile-button.ts", "../../src/app-bar/profile-button/index.ts"],
4
+ "sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}app-bar-profile-button`;\n\nconst attributes = {\n FULL_NAME: 'full-name',\n EMAIL: 'email',\n AVATAR_IMAGE_URL: 'avatar-image-url',\n AVATAR_LETTER_COUNT: 'avatar-letter-count',\n AVATAR_TEXT: 'avatar-text',\n AVATAR_ICON: 'avatar-icon',\n SIGN_OUT_BUTTON: 'sign-out-button',\n PROFILE_BUTTON: 'profile-button',\n SIGN_OUT_BUTTON_TEXT: 'sign-out-button-text',\n PROFILE_BUTTON_TEXT: 'profile-button-text',\n OPEN: 'open'\n};\n\nconst forwardedAttributes = ['aria-label', 'aria-labelledby'];\n\nexport const APP_BAR_PROFILE_BUTTON_CONSTANTS = {\n elementName,\n attributes,\n forwardedAttributes\n};\n\nexport interface IAppBarProfileCardConfig {\n fullName: string;\n email: string;\n signOut: boolean;\n profile: boolean;\n signOutButtonText: string;\n profileButtonText: string;\n avatarText: string;\n avatarIcon: string;\n avatarImageUrl: string;\n avatarLetterCount: number;\n}\n\nexport type AppBarProfileButtonProfileCardBuilder = () => HTMLElement;\n", "import { getLightElement, notChildEventListener, removeAllChildren, toggleAttribute } from '@tylertech/forge-core';\nimport { IconComponentDelegate } from '../../icon';\nimport { AVATAR_CONSTANTS, IAvatarComponent } from '../../avatar';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { IProfileCardComponent, PROFILE_CARD_CONSTANTS } from '../../profile-card';\nimport { IAppBarProfileButtonComponent } from './app-bar-profile-button';\nimport { APP_BAR_PROFILE_BUTTON_CONSTANTS, IAppBarProfileCardConfig } from './app-bar-profile-button-constants';\nimport { ICON_BUTTON_CONSTANTS, IIconButtonComponent } from '../../icon-button';\nimport { forwardAttributes } from '../../core/utils/reflect-utils';\nimport { IPopoverComponent } from '../../popover';\n\nexport interface IAppBarProfileButtonAdapter extends IBaseAdapter {\n popupElement: IPopoverComponent | undefined;\n initialize(): void;\n destroy(): void;\n setClickListener(listener: (evt: MouseEvent) => void): void;\n removeClickListener(listener: (evt: MouseEvent) => void): void;\n openPopup(profileCardConfig: IAppBarProfileCardConfig, dismissListener: () => void, profileListener: () => void, signOutListener: () => void, profileCardContent?: HTMLElement): () => void;\n closePopup(): void;\n focusButtonElement(): void;\n setAvatarText(value: string): void;\n setAvatarIcon(value: string): void;\n setAvatarLetterCount(value: number): void;\n setAvatarImageUrl(value: string): void;\n setSignOutButtonText(value: string): void;\n setProfileButtonText(value: string): void;\n}\n\nexport class AppBarProfileButtonAdapter extends BaseAdapter<IAppBarProfileButtonComponent> implements IAppBarProfileButtonAdapter {\n private _avatarElement: IAvatarComponent;\n private _iconButtonElement: IIconButtonComponent;\n private _popupElement?: IPopoverComponent;\n private _profileCardElement?: IProfileCardComponent;\n private _forwardObserver?: MutationObserver;\n\n constructor(component: IAppBarProfileButtonComponent) {\n super(component);\n }\n\n public get popupElement(): IPopoverComponent | undefined {\n return this._popupElement;\n }\n\n public initialize(): void {\n this._avatarElement = getLightElement(this._component, AVATAR_CONSTANTS.elementName) as IAvatarComponent;\n this._iconButtonElement = getLightElement(this._component, ICON_BUTTON_CONSTANTS.elementName) as IIconButtonComponent;\n\n const originalAriaLabelledBy = this._iconButtonElement.getAttribute('aria-labelledby'); // Set by tooltip\n\n this._forwardObserver = forwardAttributes(this._component, APP_BAR_PROFILE_BUTTON_CONSTANTS.forwardedAttributes, (name, value) => {\n if (name === 'aria-labelledby' && !value) {\n value = originalAriaLabelledBy;\n }\n toggleAttribute(this._iconButtonElement, !!value, name, value ?? undefined);\n });\n }\n\n public destroy(): void {\n this._forwardObserver?.disconnect();\n this._forwardObserver = undefined;\n\n if (this._popupElement) {\n this._popupElement.remove();\n this._popupElement = undefined;\n this._profileCardElement = undefined;\n }\n }\n\n public setClickListener(listener: (evt: MouseEvent) => void): void {\n this._component.addEventListener('click', listener);\n }\n\n public removeClickListener(listener: (evt: MouseEvent) => void): void {\n this._component.removeEventListener('click', listener);\n }\n\n public openPopup(profileCardConfig: IAppBarProfileCardConfig, dismissListener: () => void, profileListener: () => void, signOutListener: () => void, profileCardContent?: HTMLElement): () => void {\n if (this._popupElement?.isConnected) {\n this._popupElement.remove();\n }\n\n this._profileCardElement = document.createElement(PROFILE_CARD_CONSTANTS.elementName);\n this._profileCardElement.fullName = profileCardConfig.fullName;\n this._profileCardElement.email = profileCardConfig.email;\n this._profileCardElement.signOut = profileCardConfig.signOut;\n this._profileCardElement.profile = profileCardConfig.profile;\n this._profileCardElement.signOutText = profileCardConfig.signOutButtonText;\n this._profileCardElement.profileText = profileCardConfig.profileButtonText;\n this._profileCardElement.avatarText = profileCardConfig.avatarText;\n this._profileCardElement.avatarIcon = profileCardConfig.avatarIcon;\n this._profileCardElement.avatarImageUrl = profileCardConfig.avatarImageUrl;\n this._profileCardElement.avatarLetterCount = profileCardConfig.avatarLetterCount;\n this._profileCardElement.addEventListener(PROFILE_CARD_CONSTANTS.events.PROFILE, () => profileListener());\n this._profileCardElement.addEventListener(PROFILE_CARD_CONSTANTS.events.SIGN_OUT, () => signOutListener());\n\n if (profileCardContent) {\n this._profileCardElement.appendChild(profileCardContent);\n }\n\n this._popupElement = document.createElement('forge-popover');\n this._popupElement.anchorElement = this._iconButtonElement;\n this._popupElement.placement = 'bottom-end';\n this._popupElement.arrow = true;\n this._popupElement.persistent = true;\n this._popupElement.appendChild(this._profileCardElement);\n this._component.ownerDocument.body.appendChild(this._popupElement);\n this._popupElement.open = true;\n this._profileCardElement.tabIndex = -1;\n this._profileCardElement.focus();\n\n return notChildEventListener(this._popupElement, () => {\n if (!this._popupElement) {\n dismissListener();\n return;\n }\n if (!this._popupElement.matches(':focus-within') && !this._component.matches(':focus-within') ) {\n dismissListener();\n }\n }, true);\n }\n\n public async closePopup(): Promise<void> {\n if (this._popupElement) {\n await this._popupElement.hideAsync();\n this._popupElement.remove();\n this._popupElement = undefined;\n this._profileCardElement = undefined;\n }\n }\n\n public focusButtonElement(): void {\n this._iconButtonElement.focus();\n }\n\n public setAvatarText(value: string): void {\n this._avatarElement.text = value;\n removeAllChildren(this._avatarElement);\n }\n\n public setAvatarIcon(value: string): void {\n if (value) {\n const iconDelegate = new IconComponentDelegate({ props: { name: value }});\n this._avatarElement.replaceChildren(iconDelegate.element);\n } else {\n removeAllChildren(this._avatarElement);\n }\n }\n\n public setAvatarLetterCount(value: number): void {\n this._avatarElement.letterCount = value;\n }\n\n public setAvatarImageUrl(value: string): void {\n this._avatarElement.imageUrl = value;\n }\n\n public setSignOutButtonText(value: string): void {\n if (this._profileCardElement) {\n this._profileCardElement.signOutText = value;\n this._popupElement?.position();\n }\n }\n\n public setProfileButtonText(value: string): void {\n if (this._profileCardElement) {\n this._profileCardElement.profileText = value;\n this._popupElement?.position();\n }\n }\n}\n", "import { ICustomElementFoundation, isFunction } from '@tylertech/forge-core';\nimport { AVATAR_CONSTANTS } from '../../avatar';\nimport { PROFILE_CARD_CONSTANTS } from '../../profile-card';\nimport { IAppBarProfileButtonAdapter } from './app-bar-profile-button-adapter';\nimport { IAppBarProfileCardConfig, AppBarProfileButtonProfileCardBuilder, APP_BAR_PROFILE_BUTTON_CONSTANTS } from './app-bar-profile-button-constants';\nimport { IPopoverComponent } from '../../popover/popover';\n\nexport interface IAppBarProfileButtonFoundation extends ICustomElementFoundation {\n fullName: string;\n email: string;\n avatarImageUrl: string;\n avatarLetterCount: number;\n avatarText: string;\n avatarIcon: string;\n signOutButton: boolean;\n profileButton: boolean;\n signOutButtonText: string;\n profileButtonText: string;\n open: boolean;\n popupElement: IPopoverComponent | undefined;\n profileCardBuilder: AppBarProfileButtonProfileCardBuilder;\n}\n\nexport class AppBarProfileButtonFoundation implements IAppBarProfileButtonFoundation {\n private _fullName: string;\n private _email: string;\n private _avatarImageUrl: string;\n private _avatarLetterCount = AVATAR_CONSTANTS.numbers.DEFAULT_LETTER_COUNT;\n private _avatarText: string;\n private _avatarIcon: string;\n private _showSignOutButton = PROFILE_CARD_CONSTANTS.defaults.SHOW_SIGN_OUT_BUTTON;\n private _showProfileButton = PROFILE_CARD_CONSTANTS.defaults.SHOW_PROFILE_BUTTON;\n private _signOutButtonText = PROFILE_CARD_CONSTANTS.defaults.SIGN_OUT_BUTTON_TEXT;\n private _profileButtonText = PROFILE_CARD_CONSTANTS.defaults.PROFILE_BUTTON_TEXT;\n private _profileCardBuilder: AppBarProfileButtonProfileCardBuilder;\n private _open = false;\n private _isInitialized = false;\n\n private _clickListener: EventListener = this._onClick.bind(this);\n private _dismissListener: () => void = this._onDismiss.bind(this);\n private _cancelDismissListener: (() => void) | undefined;\n private _keydownListener: EventListener = this._onKeydown.bind(this);\n private _profileButtonListener: () => void = this._onProfileButtonClick.bind(this);\n private _signOutButtonListener: () => void = this._onSignOutButtonClick.bind(this);\n\n constructor(private _adapter: IAppBarProfileButtonAdapter) {}\n\n public initialize(): void {\n this._adapter.initialize();\n this._adapter.setClickListener(this._clickListener);\n this._adapter.setAvatarImageUrl(this._avatarImageUrl);\n this._adapter.setAvatarLetterCount(this._avatarLetterCount);\n this._adapter.setAvatarText(this._avatarText);\n this._adapter.setAvatarIcon(this._avatarIcon);\n this._isInitialized = true;\n }\n\n public destroy(): void {\n this._adapter.removeDocumentListener('keydown', this._keydownListener);\n this._adapter.removeClickListener(this._clickListener);\n this._adapter.destroy();\n this._isInitialized = false;\n }\n\n private _onClick(_evt: MouseEvent): void {\n if (!this._open) {\n this._openDropdown();\n } else {\n this._closeDropdown();\n }\n }\n\n private _onKeydown(evt: KeyboardEvent): void {\n if (evt.key === 'Escape') {\n this._closeDropdown();\n this._adapter.focusButtonElement();\n }\n }\n\n private _onDismiss(): void {\n this._closeDropdown();\n }\n\n private _onProfileButtonClick(): void {\n this._adapter.dispatchHostEvent(new CustomEvent(PROFILE_CARD_CONSTANTS.events.PROFILE, { bubbles: true, composed: true }));\n this._closeDropdown();\n }\n\n private _onSignOutButtonClick(): void {\n this._adapter.dispatchHostEvent(new CustomEvent(PROFILE_CARD_CONSTANTS.events.SIGN_OUT, { bubbles: true, composed: true }));\n this._closeDropdown();\n }\n\n private _openDropdown(): void {\n /* c8 ignore next 3 */\n if (this._open) {\n return;\n }\n\n const profileCardConfig: IAppBarProfileCardConfig = {\n fullName: this._fullName,\n email: this._email,\n signOut: this._showSignOutButton,\n profile: this._showProfileButton,\n signOutButtonText: this._signOutButtonText,\n profileButtonText: this._profileButtonText,\n avatarText: this._avatarText,\n avatarIcon: this._avatarIcon,\n avatarImageUrl: this._avatarImageUrl,\n avatarLetterCount: this._avatarLetterCount\n };\n const profileCardContent = this._profileCardBuilder ? this._profileCardBuilder() : undefined;\n this._cancelDismissListener = this._adapter.openPopup(profileCardConfig, this._dismissListener, this._profileButtonListener, this._signOutButtonListener, profileCardContent);\n this._adapter.addDocumentListener('keydown', this._keydownListener);\n this._open = true;\n this._adapter.toggleHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.OPEN, this._open);\n }\n\n private _closeDropdown(): void {\n /* c8 ignore next 3 */\n if (!this._open) {\n return;\n }\n if (this._cancelDismissListener && isFunction(this._cancelDismissListener)) {\n this._cancelDismissListener();\n this._cancelDismissListener = undefined;\n }\n this._open = false;\n this._adapter.closePopup();\n this._adapter.toggleHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.OPEN, this._open);\n }\n\n public get fullName(): string {\n return this._fullName;\n }\n public set fullName(value: string) {\n if (this._fullName !== value) {\n this._fullName = value;\n this.avatarText = this._fullName;\n this._adapter.setHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.FULL_NAME, this._fullName);\n }\n }\n\n public get email(): string {\n return this._email;\n }\n public set email(value: string) {\n if (this._email !== value) {\n this._email = value;\n this._adapter.setHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.EMAIL, this._email);\n }\n }\n\n public get avatarImageUrl(): string {\n return this._avatarImageUrl;\n }\n public set avatarImageUrl(value: string) {\n if (this._avatarImageUrl !== value) {\n this._avatarImageUrl = value;\n if (this._isInitialized) {\n this._adapter.setAvatarImageUrl(this._avatarImageUrl);\n this._adapter.setHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_IMAGE_URL, this._avatarImageUrl);\n }\n }\n }\n\n public get avatarLetterCount(): number {\n return this._avatarLetterCount;\n }\n public set avatarLetterCount(value: number) {\n if (this._avatarLetterCount !== value) {\n this._avatarLetterCount = value;\n if (this._isInitialized) {\n this._adapter.setAvatarLetterCount(this._avatarLetterCount);\n this._adapter.setHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_LETTER_COUNT, String(this._avatarLetterCount));\n }\n }\n }\n\n public get avatarText(): string {\n return this._avatarText;\n }\n public set avatarText(value: string) {\n if (this._avatarText !== value) {\n this._avatarText = value;\n if (this._isInitialized) {\n this._adapter.setAvatarText(this._avatarText);\n this._adapter.toggleHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_TEXT, !!this._avatarText, this._avatarText);\n }\n }\n }\n\n public get avatarIcon(): string {\n return this._avatarIcon;\n }\n public set avatarIcon(value: string) {\n if (this._avatarIcon !== value) {\n this._avatarIcon = value;\n if (this._isInitialized) {\n this._adapter.setAvatarIcon(this._avatarIcon);\n this._adapter.toggleHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_ICON, !!this._avatarIcon, this._avatarIcon);\n }\n }\n }\n\n public get signOutButton(): boolean {\n return this._showSignOutButton;\n }\n public set signOutButton(value: boolean) {\n value = Boolean(value);\n if (this._showSignOutButton !== value) {\n this._showSignOutButton = value;\n this._adapter.toggleHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.SIGN_OUT_BUTTON, this._showSignOutButton);\n }\n }\n\n public get profileButton(): boolean {\n return this._showProfileButton;\n }\n public set profileButton(value: boolean) {\n value = Boolean(value);\n if (this._showProfileButton !== value) {\n this._showProfileButton = value;\n this._adapter.toggleHostAttribute(APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.PROFILE_BUTTON, this._showProfileButton);\n }\n }\n\n public get signOutButtonText(): string {\n return this._signOutButtonText;\n }\n public set signOutButtonText(value: string) {\n if (this._signOutButtonText !== value) {\n this._signOutButtonText = value;\n this._adapter.setSignOutButtonText(value);\n }\n }\n\n public get profileButtonText(): string {\n return this._profileButtonText;\n }\n public set profileButtonText(value: string) {\n if (this._profileButtonText !== value) {\n this._profileButtonText = value;\n this._adapter.setProfileButtonText(value);\n }\n }\n\n public get open(): boolean {\n return this._open;\n }\n public set open(value: boolean) {\n value = Boolean(value);\n if (this._open !== value) {\n if (value) {\n this._openDropdown();\n } else {\n this._closeDropdown();\n }\n }\n }\n\n public get popupElement(): IPopoverComponent | undefined {\n return this._adapter.popupElement;\n }\n\n public get profileCardBuilder(): AppBarProfileButtonProfileCardBuilder {\n return this._profileCardBuilder;\n }\n public set profileCardBuilder(fn: AppBarProfileButtonProfileCardBuilder) {\n this._profileCardBuilder = fn;\n }\n}\n", "import { CustomElement, attachLightTemplate, coerceNumber, coerceBoolean, FoundationProperty } from '@tylertech/forge-core';\nimport { AppBarProfileButtonAdapter } from './app-bar-profile-button-adapter';\nimport { AppBarProfileButtonFoundation } from './app-bar-profile-button-foundation';\nimport { APP_BAR_PROFILE_BUTTON_CONSTANTS, AppBarProfileButtonProfileCardBuilder } from './app-bar-profile-button-constants';\nimport { ProfileCardComponent } from '../../profile-card';\nimport { IconButtonComponent } from '../../icon-button';\nimport { AvatarComponent } from '../../avatar';\nimport { TooltipComponent } from '../../tooltip';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\nimport { IPopoverComponent, PopoverComponent } from '../../popover/popover';\n\nconst template = '<template><forge-icon-button><forge-avatar aria-hidden=\\\"true\\\"></forge-avatar></forge-icon-button><forge-tooltip type=\\\"label\\\" placement=\\\"bottom\\\">View profile</forge-tooltip></template>';\n\nexport interface IAppBarProfileButtonComponent extends IBaseComponent {\n avatarImageUrl: string;\n avatarLetterCount: number;\n avatarText: string;\n avatarIcon: string;\n fullName: string;\n email: string;\n signOutButton: boolean;\n profileButton: boolean;\n signOutButtonText: string;\n profileButtonText: string;\n open: boolean;\n popupElement: IPopoverComponent | undefined;\n profileCardBuilder: (fn: AppBarProfileButtonProfileCardBuilder) => void;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-app-bar-profile-button': IAppBarProfileButtonComponent;\n }\n}\n\n/**\n * @tag forge-app-bar-profile-button\n * \n * @property {string} avatarImageUrl - The url of the avatar image to display.\n * @property {number} avatarLetterCount - The number of letters to display in the avatar.\n * @property {string} avatarText - The text to display in the avatar.\n * @property {string} avatarIcon - The name of an alternative icon to display in the avatar.\n * @property {string} fullName - The full name.\n * @property {string} email - The email address.\n * @property {boolean} signOutButton - Whether to display the sign out button or not. Defaults to `true`.\n * @property {boolean} profileButton - Whether to display the profile button or not.\n * @property {string} signOutButtonText - The text to display in the sign out button.\n * @property {string} profileButtonText - The text to display in the profile button.\n * @property {boolean} open - Whether the profile card is open or not.\n * @property {IPopoverComponent | undefined} popupElement - The popup element when open.\n * @property {AppBarProfileButtonProfileCardBuilder} profileCardBuilder - Sets the profile card builder callback that will be used to add extra content to the profile card.\n * \n * @attribute {string} [avatar-image-url] - The url of the avatar image to display.\n * @attribute {number} [avatar-letter-count] - The number of letters to display in the avatar.\n * @attribute {string} [avatar-text] - The text to display in the avatar.\n * @attribute {string} [avatar-icon] - The name of an alternative icon to display in the avatar.\n * @attribute {string} [full-name] - The full name.\n * @attribute {string} [email] - The email address.\n * @attribute {boolean} [sign-out-button] - Whether to display the sign out button or not. Defaults to `true`.\n * @attribute {boolean} [profile-button] - Whether to display the profile button or not.\n * @attribute {string} [sign-out-button-text] - The text to display in the sign out button.\n * @attribute {string} [profile-button-text] - The text to display in the profile button.\n * @attribute {boolean} [open] - Whether the profile card is open or not.\n * @attribute {string} [aria-label] - The aria-label to apply to the button.\n * @attribute {string} [aria-labelledby] - The id of an element to use as the aria-labelledby attribute.\n */\n@CustomElement({\n name: APP_BAR_PROFILE_BUTTON_CONSTANTS.elementName,\n dependencies: [\n PopoverComponent,\n ProfileCardComponent,\n IconButtonComponent,\n AvatarComponent,\n TooltipComponent\n ]\n})\nexport class AppBarProfileButtonComponent extends BaseComponent implements IAppBarProfileButtonComponent {\n public static get observedAttributes(): string[] {\n return [\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.FULL_NAME,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.EMAIL,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_IMAGE_URL,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_LETTER_COUNT,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_TEXT,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_ICON,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.SIGN_OUT_BUTTON,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.PROFILE_BUTTON,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.SIGN_OUT_BUTTON_TEXT,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.PROFILE_BUTTON_TEXT,\n APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.OPEN\n ];\n }\n\n private _foundation: AppBarProfileButtonFoundation;\n\n constructor() {\n super();\n this._foundation = new AppBarProfileButtonFoundation(new AppBarProfileButtonAdapter(this));\n }\n\n public initializedCallback(): void {\n attachLightTemplate(this, template);\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 APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.FULL_NAME:\n this.fullName = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.EMAIL:\n this.email = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_IMAGE_URL:\n this.avatarImageUrl = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_LETTER_COUNT:\n this.avatarLetterCount = coerceNumber(newValue);\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_TEXT:\n this.avatarText = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.AVATAR_ICON:\n this.avatarIcon = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.SIGN_OUT_BUTTON:\n this.signOutButton = coerceBoolean(newValue);\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.PROFILE_BUTTON:\n this.profileButton = coerceBoolean(newValue);\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.SIGN_OUT_BUTTON_TEXT:\n this.signOutButtonText = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.PROFILE_BUTTON_TEXT:\n this.profileButtonText = newValue;\n break;\n case APP_BAR_PROFILE_BUTTON_CONSTANTS.attributes.OPEN:\n this.open = coerceBoolean(newValue);\n break;\n }\n }\n\n @FoundationProperty()\n public declare fullName: string;\n\n @FoundationProperty()\n public declare email: string;\n\n @FoundationProperty()\n public declare avatarImageUrl: string;\n\n @FoundationProperty()\n public declare avatarLetterCount: number;\n\n @FoundationProperty()\n public declare avatarText: string;\n\n @FoundationProperty()\n public declare avatarIcon: string;\n\n @FoundationProperty()\n public declare signOutButton: boolean;\n\n @FoundationProperty()\n public declare profileButton: boolean;\n\n @FoundationProperty()\n public declare signOutButtonText: string;\n\n @FoundationProperty()\n public declare profileButtonText: string;\n\n @FoundationProperty()\n public declare open: boolean;\n\n public get popupElement(): IPopoverComponent | undefined {\n return this._foundation.popupElement;\n }\n\n /** Sets the profile card builder callback that will be used to add extra content to the profile card. */\n @FoundationProperty()\n public declare profileCardBuilder: AppBarProfileButtonProfileCardBuilder;\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { AppBarProfileButtonComponent } from './app-bar-profile-button';\n\nexport * from './app-bar-profile-button-adapter';\nexport * from './app-bar-profile-button-constants';\nexport * from './app-bar-profile-button-foundation';\nexport * from './app-bar-profile-button';\n\nexport function defineAppBarProfileButtonComponent(): void {\n defineCustomElement(AppBarProfileButtonComponent);\n}\n"],
5
+ "mappings": "6nBAEA,IAAMA,EAA2C,GAAGC,0BAE9CC,EAAa,CACjB,UAAW,YACX,MAAO,QACP,iBAAkB,mBAClB,oBAAqB,sBACrB,YAAa,cACb,YAAa,cACb,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,WAAW,gBAC/C,KAAK,cAAgBM,EAAcF,CAAQ,EAC3C,MACF,KAAKJ,EAAiC,WAAW,eAC/C,KAAK,cAAgBM,EAAcF,CAAQ,EAC3C,MACF,KAAKJ,EAAiC,WAAW,qBAC/C,KAAK,kBAAoBI,EACzB,MACF,KAAKJ,EAAiC,WAAW,oBAC/C,KAAK,kBAAoBI,EACzB,MACF,KAAKJ,EAAiC,WAAW,KAC/C,KAAK,KAAOM,EAAcF,CAAQ,EAClC,KACJ,CACF,CAmCA,IAAW,cAA8C,CACvD,OAAO,KAAK,YAAY,YAC1B,CAKF,EAvCiBG,EAAA,CADdC,EAAmB,GA1ETZ,EA2EI,wBAGAW,EAAA,CADdC,EAAmB,GA7ETZ,EA8EI,qBAGAW,EAAA,CADdC,EAAmB,GAhFTZ,EAiFI,8BAGAW,EAAA,CADdC,EAAmB,GAnFTZ,EAoFI,iCAGAW,EAAA,CADdC,EAAmB,GAtFTZ,EAuFI,0BAGAW,EAAA,CADdC,EAAmB,GAzFTZ,EA0FI,0BAGAW,EAAA,CADdC,EAAmB,GA5FTZ,EA6FI,6BAGAW,EAAA,CADdC,EAAmB,GA/FTZ,EAgGI,6BAGAW,EAAA,CADdC,EAAmB,GAlGTZ,EAmGI,iCAGAW,EAAA,CADdC,EAAmB,GArGTZ,EAsGI,iCAGAW,EAAA,CADdC,EAAmB,GAxGTZ,EAyGI,oBAQAW,EAAA,CADdC,EAAmB,GAhHTZ,EAiHI,kCAjHJA,EAANW,EAAA,CAVNE,EAAc,CACb,KAAMT,EAAiC,YACvC,aAAc,CACZU,EACAC,EACAC,EACAC,EACAC,CACF,CACF,CAAC,GACYlB,GCnEN,SAASmB,IAA2C,CACzDC,EAAoBC,CAA4B,CAClD",
6
+ "names": ["elementName", "COMPONENT_NAME_PREFIX", "attributes", "forwardedAttributes", "APP_BAR_PROFILE_BUTTON_CONSTANTS", "AppBarProfileButtonAdapter", "BaseAdapter", "component", "getLightElement", "AVATAR_CONSTANTS", "ICON_BUTTON_CONSTANTS", "originalAriaLabelledBy", "forwardAttributes", "APP_BAR_PROFILE_BUTTON_CONSTANTS", "name", "value", "toggleAttribute", "_a", "listener", "profileCardConfig", "dismissListener", "profileListener", "signOutListener", "profileCardContent", "PROFILE_CARD_CONSTANTS", "notChildEventListener", "removeAllChildren", "iconDelegate", "IconComponentDelegate", "AppBarProfileButtonFoundation", "_adapter", "AVATAR_CONSTANTS", "PROFILE_CARD_CONSTANTS", "_evt", "evt", "profileCardConfig", "profileCardContent", "APP_BAR_PROFILE_BUTTON_CONSTANTS", "isFunction", "value", "fn", "template", "AppBarProfileButtonComponent", "BaseComponent", "AppBarProfileButtonFoundation", "AppBarProfileButtonAdapter", "APP_BAR_PROFILE_BUTTON_CONSTANTS", "attachLightTemplate", "name", "oldValue", "newValue", "coerceNumber", "coerceBoolean", "__decorateClass", "FoundationProperty", "CustomElement", "PopoverComponent", "ProfileCardComponent", "IconButtonComponent", "AvatarComponent", "TooltipComponent", "defineAppBarProfileButtonComponent", "defineCustomElement", "AppBarProfileButtonComponent"]
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import{p as e}from"./chunk.ASLHRT3N.js";import{a as o}from"./chunk.LNTTU2GL.js";function m(){o(e)}export{m as a};
7
+ //# sourceMappingURL=chunk.IEABOPNB.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as _}from"./chunk.6GSVB5NB.js";import{a as d}from"./chunk.NVUMRW44.js";import{a as m,b as f}from"./chunk.UQQQSJVM.js";import{a as h,k as g}from"./chunk.BIQTNLIF.js";import{q as p}from"./chunk.DCCFF327.js";import{k as c}from"./chunk.J2M2MXP2.js";import{d as s}from"./chunk.M3QDAYD2.js";var k=`${f}keyboard-shortcut`,A={KEY:"key",TARGET:"target",GLOBAL:"global",ALLOW_WHILE_TYPING:"allow-while-typing",USE_CODE:"use-code",PREVENT_DEFAULT:"prevent-default",CAPTURE:"capture",DISABLED:"disabled"},K={TOOLTIP:"forge-tooltip"},L={ACTIVATE:"forge-keyboard-shortcut-activate"},t={elementName:k,attributes:A,selectors:K,events:L},E=["date","datetime","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var u=class extends _{constructor(n){super(n);this.component=n}hasTargetElement(){return!!this._targetElement}destroy(){this._targetElement=null}addTargetEventListener(n,o,i){var l;(l=this._targetElement)==null||l.addEventListener(n,o,{capture:i})}removeTargetEventListener(n,o,i){var l;(l=this._targetElement)==null||l.removeEventListener(n,o,{capture:i})}setHostStyles(){this.component.style.display="none"}setTargetElement(n,o){if(o){let i=this._component.ownerDocument||document;this._targetElement=i.documentElement;return}if(n){if(this._component.parentElement){if(p(this._component.parentElement,n)){this._targetElement=this._component.parentElement;return}this._targetElement=this._component.parentElement.querySelector(n);return}}else{let i=this._component.previousElementSibling;for(;i;){if(!p(i,t.selectors.TOOLTIP)){this._targetElement=i;return}i=i.previousElementSibling}this._targetElement=this._component.parentElement;return}}};function y(a){return a instanceof HTMLInputElement?E.includes(a.type):!1}function T(a,e=!1){return!a||!a.length?[]:a.split(" ").map(o=>o.trim()).map(o=>{let i=o.split("+"),l=e?i.pop()||"":S((i.pop()||"").toLowerCase()),C=i.sort().join("").toLowerCase();return{key:l,modifier:C}})}function v(a,e,n=!1){let o=n?a.code:a.key.toLowerCase(),i=I(a);return e.some(l=>o===l.key&&i===l.modifier)}function I(a){let e="";return a.altKey&&(e+="alt"),a.ctrlKey&&(e+="control"),a.metaKey&&(e+="meta"),a.shiftKey&&(e+="shift"),e}function S(a){switch(a){case"plus":return"+";case"space":return" ";default:return a}}var b=class{constructor(e){this._adapter=e;this._global=!1;this._allowWhileTyping=!1;this._preventDefault=!0;this._capture=!1;this._useCode=!1;this._disabled=!1;this._keyDownListener=n=>this._onKeyDown(n)}initialize(){this._initializeTargetElement(),this._adapter.setHostStyles()}disconnect(){this._disconnectTargetElement(),this._adapter.destroy()}_initializeTargetElement(){if(this._disconnectTargetElement(),this._adapter.setTargetElement(this._target,this._global),!this._adapter.hasTargetElement())throw new Error("Unable to locate the target element.");this._disabled||this._connectTargetElement()}_connectTargetElement(){this._adapter.hasTargetElement&&this._adapter.addTargetEventListener("keydown",this._keyDownListener,this._capture)}_disconnectTargetElement(){this._adapter.hasTargetElement&&this._adapter.removeTargetEventListener("keydown",this._keyDownListener,this._capture)}_onKeyDown(e){var n;!this._allowWhileTyping&&y(e.target)||v(e,this._keyCombinations,this._useCode)&&(this._preventDefault&&e.preventDefault(),this._adapter.emitHostEvent(t.events.ACTIVATE,e),(n=this._activateCallback)==null||n.call(null,e))}_setKeyCombinations(){this._keyCombinations=T(this._key,this._useCode)}get key(){return this._key}set key(e){this._key!==e&&(this._key=e,this._adapter.toggleHostAttribute(t.attributes.KEY,!!this.key,this._key||""),this._setKeyCombinations())}get target(){return this._target}set target(e){this._target!==e&&(this._target=e,this._adapter.setHostAttribute(t.attributes.TARGET,this._target),this._adapter.isConnected&&this._initializeTargetElement())}get global(){return this._global}set global(e){this._global!==e&&(this._global=e,this._adapter.toggleHostAttribute(t.attributes.GLOBAL,this._global),this._adapter.isConnected&&this._initializeTargetElement())}get allowWhileTyping(){return this._allowWhileTyping}set allowWhileTyping(e){this._allowWhileTyping!==e&&(this._allowWhileTyping=e,this._adapter.toggleHostAttribute(t.attributes.ALLOW_WHILE_TYPING,this._allowWhileTyping))}get preventDefault(){return this._preventDefault}set preventDefault(e){this._preventDefault!==e&&(this._preventDefault=e,this._adapter.toggleHostAttribute(t.attributes.PREVENT_DEFAULT,this._preventDefault))}get capture(){return this._capture}set capture(e){this._capture!==e&&(this._disconnectTargetElement(),this._capture=e,this._adapter.toggleHostAttribute(t.attributes.CAPTURE,this.capture),this._connectTargetElement())}get useCode(){return this._useCode}set useCode(e){this._useCode!==e&&(this._useCode=e,this._adapter.toggleHostAttribute(t.attributes.USE_CODE,this._useCode),this._setKeyCombinations())}get disabled(){return this._disabled}set disabled(e){this._disabled!==e&&(this._disabled=e,this._adapter.toggleHostAttribute(t.attributes.DISABLED,this._disabled),this._disabled?this._disconnectTargetElement():this._connectTargetElement())}get activateCallback(){return this._activateCallback}set activateCallback(e){this._activateCallback=e}};var r=class extends g{constructor(){super();this._foundation=new b(new u(this))}static get observedAttributes(){return[t.attributes.KEY,t.attributes.TARGET,t.attributes.GLOBAL,t.attributes.ALLOW_WHILE_TYPING,t.attributes.PREVENT_DEFAULT,t.attributes.CAPTURE,t.attributes.USE_CODE,t.attributes.DISABLED]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(n,o,i){switch(n){case t.attributes.KEY:this.key=i;break;case t.attributes.TARGET:this.target=i;break;case t.attributes.GLOBAL:this.global=c(i);break;case t.attributes.ALLOW_WHILE_TYPING:this.allowWhileTyping=c(i);break;case t.attributes.PREVENT_DEFAULT:this.preventDefault=c(i);break;case t.attributes.CAPTURE:this.capture=c(i);break;case t.attributes.USE_CODE:this.useCode=c(i);break;case t.attributes.DISABLED:this.disabled=c(i);break}}get keyBinding(){return this.key}set keyBinding(n){this.key=n}};s([d()],r.prototype,"key",2),s([d()],r.prototype,"target",2),s([d()],r.prototype,"global",2),s([d()],r.prototype,"allowWhileTyping",2),s([d()],r.prototype,"preventDefault",2),s([d()],r.prototype,"capture",2),s([d()],r.prototype,"useCode",2),s([d()],r.prototype,"disabled",2),s([d()],r.prototype,"activateCallback",2),r=s([m({name:t.elementName})],r);function ie(){h(r)}export{t as a,E as b,u as c,y as d,T as e,v as f,I as g,S as h,b as i,r as j,ie as k};
7
- //# sourceMappingURL=chunk.22C7GQLX.js.map
6
+ import{a as d}from"./chunk.NVUMRW44.js";import{a as _}from"./chunk.OLFOVKQG.js";import{a as m,b as f}from"./chunk.VRSPT7WX.js";import{a as h,k as g}from"./chunk.LNTTU2GL.js";import{n as p}from"./chunk.L4QSPQDE.js";import{k as c}from"./chunk.J2M2MXP2.js";import{d as s}from"./chunk.M3QDAYD2.js";var k=`${f}keyboard-shortcut`,A={KEY:"key",TARGET:"target",GLOBAL:"global",ALLOW_WHILE_TYPING:"allow-while-typing",USE_CODE:"use-code",PREVENT_DEFAULT:"prevent-default",CAPTURE:"capture",DISABLED:"disabled"},K={TOOLTIP:"forge-tooltip"},L={ACTIVATE:"forge-keyboard-shortcut-activate"},t={elementName:k,attributes:A,selectors:K,events:L},E=["date","datetime","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var u=class extends _{constructor(n){super(n);this.component=n}hasTargetElement(){return!!this._targetElement}destroy(){this._targetElement=null}addTargetEventListener(n,o,i){var l;(l=this._targetElement)==null||l.addEventListener(n,o,{capture:i})}removeTargetEventListener(n,o,i){var l;(l=this._targetElement)==null||l.removeEventListener(n,o,{capture:i})}setHostStyles(){this.component.style.display="none"}setTargetElement(n,o){if(o){let i=this._component.ownerDocument||document;this._targetElement=i.documentElement;return}if(n){if(this._component.parentElement){if(p(this._component.parentElement,n)){this._targetElement=this._component.parentElement;return}this._targetElement=this._component.parentElement.querySelector(n);return}}else{let i=this._component.previousElementSibling;for(;i;){if(!p(i,t.selectors.TOOLTIP)){this._targetElement=i;return}i=i.previousElementSibling}this._targetElement=this._component.parentElement;return}}};function y(a){return a instanceof HTMLInputElement?E.includes(a.type):!1}function T(a,e=!1){return!a||!a.length?[]:a.split(" ").map(o=>o.trim()).map(o=>{let i=o.split("+"),l=e?i.pop()||"":S((i.pop()||"").toLowerCase()),C=i.sort().join("").toLowerCase();return{key:l,modifier:C}})}function v(a,e,n=!1){let o=n?a.code:a.key.toLowerCase(),i=I(a);return e.some(l=>o===l.key&&i===l.modifier)}function I(a){let e="";return a.altKey&&(e+="alt"),a.ctrlKey&&(e+="control"),a.metaKey&&(e+="meta"),a.shiftKey&&(e+="shift"),e}function S(a){switch(a){case"plus":return"+";case"space":return" ";default:return a}}var b=class{constructor(e){this._adapter=e;this._global=!1;this._allowWhileTyping=!1;this._preventDefault=!0;this._capture=!1;this._useCode=!1;this._disabled=!1;this._keyDownListener=n=>this._onKeyDown(n)}initialize(){this._initializeTargetElement(),this._adapter.setHostStyles()}disconnect(){this._disconnectTargetElement(),this._adapter.destroy()}_initializeTargetElement(){if(this._disconnectTargetElement(),this._adapter.setTargetElement(this._target,this._global),!this._adapter.hasTargetElement())throw new Error("Unable to locate the target element.");this._disabled||this._connectTargetElement()}_connectTargetElement(){this._adapter.hasTargetElement&&this._adapter.addTargetEventListener("keydown",this._keyDownListener,this._capture)}_disconnectTargetElement(){this._adapter.hasTargetElement&&this._adapter.removeTargetEventListener("keydown",this._keyDownListener,this._capture)}_onKeyDown(e){var n;!this._allowWhileTyping&&y(e.target)||v(e,this._keyCombinations,this._useCode)&&(this._preventDefault&&e.preventDefault(),this._adapter.emitHostEvent(t.events.ACTIVATE,e),(n=this._activateCallback)==null||n.call(null,e))}_setKeyCombinations(){this._keyCombinations=T(this._key,this._useCode)}get key(){return this._key}set key(e){this._key!==e&&(this._key=e,this._adapter.toggleHostAttribute(t.attributes.KEY,!!this.key,this._key||""),this._setKeyCombinations())}get target(){return this._target}set target(e){this._target!==e&&(this._target=e,this._adapter.setHostAttribute(t.attributes.TARGET,this._target),this._adapter.isConnected&&this._initializeTargetElement())}get global(){return this._global}set global(e){this._global!==e&&(this._global=e,this._adapter.toggleHostAttribute(t.attributes.GLOBAL,this._global),this._adapter.isConnected&&this._initializeTargetElement())}get allowWhileTyping(){return this._allowWhileTyping}set allowWhileTyping(e){this._allowWhileTyping!==e&&(this._allowWhileTyping=e,this._adapter.toggleHostAttribute(t.attributes.ALLOW_WHILE_TYPING,this._allowWhileTyping))}get preventDefault(){return this._preventDefault}set preventDefault(e){this._preventDefault!==e&&(this._preventDefault=e,this._adapter.toggleHostAttribute(t.attributes.PREVENT_DEFAULT,this._preventDefault))}get capture(){return this._capture}set capture(e){this._capture!==e&&(this._disconnectTargetElement(),this._capture=e,this._adapter.toggleHostAttribute(t.attributes.CAPTURE,this.capture),this._connectTargetElement())}get useCode(){return this._useCode}set useCode(e){this._useCode!==e&&(this._useCode=e,this._adapter.toggleHostAttribute(t.attributes.USE_CODE,this._useCode),this._setKeyCombinations())}get disabled(){return this._disabled}set disabled(e){this._disabled!==e&&(this._disabled=e,this._adapter.toggleHostAttribute(t.attributes.DISABLED,this._disabled),this._disabled?this._disconnectTargetElement():this._connectTargetElement())}get activateCallback(){return this._activateCallback}set activateCallback(e){this._activateCallback=e}};var r=class extends g{constructor(){super();this._foundation=new b(new u(this))}static get observedAttributes(){return[t.attributes.KEY,t.attributes.TARGET,t.attributes.GLOBAL,t.attributes.ALLOW_WHILE_TYPING,t.attributes.PREVENT_DEFAULT,t.attributes.CAPTURE,t.attributes.USE_CODE,t.attributes.DISABLED]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(n,o,i){switch(n){case t.attributes.KEY:this.key=i;break;case t.attributes.TARGET:this.target=i;break;case t.attributes.GLOBAL:this.global=c(i);break;case t.attributes.ALLOW_WHILE_TYPING:this.allowWhileTyping=c(i);break;case t.attributes.PREVENT_DEFAULT:this.preventDefault=c(i);break;case t.attributes.CAPTURE:this.capture=c(i);break;case t.attributes.USE_CODE:this.useCode=c(i);break;case t.attributes.DISABLED:this.disabled=c(i);break}}get keyBinding(){return this.key}set keyBinding(n){this.key=n}};s([d()],r.prototype,"key",2),s([d()],r.prototype,"target",2),s([d()],r.prototype,"global",2),s([d()],r.prototype,"allowWhileTyping",2),s([d()],r.prototype,"preventDefault",2),s([d()],r.prototype,"capture",2),s([d()],r.prototype,"useCode",2),s([d()],r.prototype,"disabled",2),s([d()],r.prototype,"activateCallback",2),r=s([m({name:t.elementName})],r);function ie(){h(r)}export{t as a,E as b,u as c,y as d,T as e,v as f,I as g,S as h,b as i,r as j,ie as k};
7
+ //# sourceMappingURL=chunk.IL4S57WO.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as m}from"./chunk.FRTSXX33.js";import{a as f}from"./chunk.6GSVB5NB.js";import{a as r}from"./chunk.NVUMRW44.js";import{a as b,b as N}from"./chunk.UQQQSJVM.js";import{a as v,e as u,f as d,k as T}from"./chunk.BIQTNLIF.js";import{k as g}from"./chunk.J2M2MXP2.js";import{a as h,b as _,d as a}from"./chunk.M3QDAYD2.js";var c=`${N}expansion-panel`,y={OPEN:"open",ORIENTATION:"orientation",ANIMATION_TYPE:"animation-type"},x=_(h({},y),{OPENING:"opening"}),A={HIDDEN:"hidden"},O={HEADER:".header",CONTENT:".content",IGNORE:":is([data-forge-ignore],[forge-ignore])",OPEN_ICON:`:is([slot=header] ${m.elementName}, ${m.elementName}[slot^=header])`},P={TOGGLE:`${c}-toggle`,ANIMATION_COMPLETE:`${c}-animation-complete`},e={elementName:c,observedAttributes:y,attributes:x,classes:A,selectors:O,events:P};var s=class extends f{constructor(n){super(n);this._transitionStartListener=this._onTransitionStart.bind(this);this._transitionEndListener=this._onTransitionEnd.bind(this);this._headerElement=d(this._component,e.selectors.HEADER),this._contentElement=d(this._component,e.selectors.CONTENT)}setAnimationCompleteListener(n){this._transitionCompleteListener=n,this._contentElement.addEventListener("transitionstart",this._transitionStartListener),this._contentElement.addEventListener("transitionend",this._transitionEndListener)}addHeaderListener(n,o){this._headerElement.addEventListener(n,o)}tryToggleOpenIcon(n){let o=this._component.querySelector(e.selectors.OPEN_ICON);o&&(o.open=n)}setContentVisibility(n){this._contentElement.classList.toggle(e.classes.HIDDEN,!n)}_onTransitionStart(n){n.propertyName.startsWith("grid-template")&&this.toggleHostAttribute(e.attributes.OPENING,!0)}_onTransitionEnd(n){n.propertyName.startsWith("grid-template")&&(this.toggleHostAttribute(e.attributes.OPENING,!1),this._transitionCompleteListener())}};var p=class{constructor(t){this._adapter=t;this._open=!1;this._orientation="vertical";this._animationType="default";this._clickListener=this._onClick.bind(this);this._keydownListener=this._onKeydown.bind(this);this._animationCompleteListener=this._onAnimationComplete.bind(this)}initialize(){this._adapter.addHeaderListener("click",this._clickListener),this._adapter.addHeaderListener("keydown",this._keydownListener),this._adapter.setAnimationCompleteListener(this._animationCompleteListener)}_onClick(t){t.composedPath().find(o=>o.nodeType===Node.ELEMENT_NODE&&o.matches(e.selectors.IGNORE))||(t.stopPropagation(),this._toggle(),this._dispatchToggleEvent())}_onKeydown(t){(t.key===" "||t.key==="Enter")&&(t.stopPropagation(),t.preventDefault(),this._toggle(),this._dispatchToggleEvent())}_onAnimationComplete(){this._open||this._adapter.setContentVisibility(!1),this._adapter.dispatchHostEvent(new CustomEvent(e.events.ANIMATION_COMPLETE,{detail:this._open}))}_togglePanel(){this._adapter.toggleHostAttribute(e.attributes.OPEN,this._open),this._adapter.tryToggleOpenIcon(this._open),this._open&&this._adapter.setContentVisibility(!0)}_dispatchToggleEvent(){let t=new CustomEvent(e.events.TOGGLE,{detail:this._open,bubbles:!0,composed:!0});this._adapter.dispatchHostEvent(t)}_toggle(){this.open=!this.open}get open(){return this._open}set open(t){t=!!t,this._open!==t&&(this._open=t,this._togglePanel())}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._adapter.setHostAttribute(e.attributes.ORIENTATION,this._orientation))}get animationType(){return this._animationType}set animationType(t){this._animationType!==t&&(this._animationType=t,this._adapter.setHostAttribute(e.attributes.ANIMATION_TYPE,this._animationType))}};var I='<template><div class="forge-expansion-panel" part="root"><div class="header" part="header"><slot name="header"></slot></div><div class="content hidden" part="content"><div class="inner"><slot></slot></div></div></div></template>',C=":host{display:block}:host([hidden]){display:none}.forge-expansion-panel{--_expansion-panel-animation-duration:var(--forge-expansion-panel-animation-duration, var(--forge-animation-duration-medium4, 400ms));--_expansion-panel-animation-easing:var(--forge-expansion-panel-animation-easing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.header{outline:0;-webkit-tap-highlight-color:transparent;cursor:pointer}.content{display:grid;grid-template-rows:0fr;-webkit-transition-property:opacity,grid-template-rows;transition-property:opacity,grid-template-rows;transition-property:opacity,grid-template-rows,-ms-grid-rows;-webkit-transition-duration:var(--_expansion-panel-animation-duration);transition-duration:var(--_expansion-panel-animation-duration);-webkit-transition-timing-function:var(--_expansion-panel-animation-easing);transition-timing-function:var(--_expansion-panel-animation-easing);min-height:0;overflow:hidden;opacity:0}.content .inner{display:grid;grid-template-rows:1fr;overflow:hidden}.hidden{visibility:hidden}@media (prefers-reduced-motion:reduce){.content{-webkit-transition:none;transition:none}}:host([open]) .content{opacity:1}:host([open]:is(:not([orientation]),[orientation=vertical])) .content{grid-template-rows:1fr}:host([open][orientation=horizontal]) .content{grid-template-columns:1fr}:host([orientation=horizontal]) .forge-expansion-panel{display:grid;grid-template-columns:auto 1fr}:host([orientation=horizontal]) .content{-webkit-transition-property:opacity,grid-template-columns;transition-property:opacity,grid-template-columns;transition-property:opacity,grid-template-columns,-ms-grid-columns;grid-template-rows:none;grid-template-columns:0fr}:host([animation-type=none]) .content{-webkit-transition:none;transition:none}",i=class extends T{constructor(){super();u(this,I,C),this._foundation=new p(new s(this))}static get observedAttributes(){return Object.values(e.observedAttributes)}connectedCallback(){this._foundation.initialize()}attributeChangedCallback(n,o,l){switch(n){case e.observedAttributes.OPEN:this.open=g(l);break;case e.observedAttributes.ORIENTATION:this.orientation=l;break;case e.observedAttributes.ANIMATION_TYPE:this.animationType=l;break}}toggle(){this.open=!this.open}};a([r()],i.prototype,"open",2),a([r()],i.prototype,"orientation",2),a([r()],i.prototype,"animationType",2),i=a([b({name:e.elementName})],i);function et(){v(i)}export{e as a,s as b,p as c,i as d,et as e};
7
- //# sourceMappingURL=chunk.HMJODLAS.js.map
6
+ import{a as m}from"./chunk.RSYEG2RW.js";import{a as r}from"./chunk.NVUMRW44.js";import{a as f}from"./chunk.OLFOVKQG.js";import{a as b,b as N}from"./chunk.VRSPT7WX.js";import{a as v,e as u,f as d,k as T}from"./chunk.LNTTU2GL.js";import{k as g}from"./chunk.J2M2MXP2.js";import{a as h,b as _,d as a}from"./chunk.M3QDAYD2.js";var c=`${N}expansion-panel`,y={OPEN:"open",ORIENTATION:"orientation",ANIMATION_TYPE:"animation-type"},x=_(h({},y),{OPENING:"opening"}),A={HIDDEN:"hidden"},O={HEADER:".header",CONTENT:".content",IGNORE:":is([data-forge-ignore],[forge-ignore])",OPEN_ICON:`:is([slot=header] ${m.elementName}, ${m.elementName}[slot^=header])`},P={TOGGLE:`${c}-toggle`,ANIMATION_COMPLETE:`${c}-animation-complete`},e={elementName:c,observedAttributes:y,attributes:x,classes:A,selectors:O,events:P};var s=class extends f{constructor(n){super(n);this._transitionStartListener=this._onTransitionStart.bind(this);this._transitionEndListener=this._onTransitionEnd.bind(this);this._headerElement=d(this._component,e.selectors.HEADER),this._contentElement=d(this._component,e.selectors.CONTENT)}setAnimationCompleteListener(n){this._transitionCompleteListener=n,this._contentElement.addEventListener("transitionstart",this._transitionStartListener),this._contentElement.addEventListener("transitionend",this._transitionEndListener)}addHeaderListener(n,o){this._headerElement.addEventListener(n,o)}tryToggleOpenIcon(n){let o=this._component.querySelector(e.selectors.OPEN_ICON);o&&(o.open=n)}setContentVisibility(n){this._contentElement.classList.toggle(e.classes.HIDDEN,!n)}_onTransitionStart(n){n.propertyName.startsWith("grid-template")&&this.toggleHostAttribute(e.attributes.OPENING,!0)}_onTransitionEnd(n){n.propertyName.startsWith("grid-template")&&(this.toggleHostAttribute(e.attributes.OPENING,!1),this._transitionCompleteListener())}};var p=class{constructor(t){this._adapter=t;this._open=!1;this._orientation="vertical";this._animationType="default";this._clickListener=this._onClick.bind(this);this._keydownListener=this._onKeydown.bind(this);this._animationCompleteListener=this._onAnimationComplete.bind(this)}initialize(){this._adapter.addHeaderListener("click",this._clickListener),this._adapter.addHeaderListener("keydown",this._keydownListener),this._adapter.setAnimationCompleteListener(this._animationCompleteListener)}_onClick(t){t.composedPath().find(o=>o.nodeType===Node.ELEMENT_NODE&&o.matches(e.selectors.IGNORE))||(t.stopPropagation(),this._toggle(),this._dispatchToggleEvent())}_onKeydown(t){(t.key===" "||t.key==="Enter")&&(t.stopPropagation(),t.preventDefault(),this._toggle(),this._dispatchToggleEvent())}_onAnimationComplete(){this._open||this._adapter.setContentVisibility(!1),this._adapter.dispatchHostEvent(new CustomEvent(e.events.ANIMATION_COMPLETE,{detail:this._open}))}_togglePanel(){this._adapter.toggleHostAttribute(e.attributes.OPEN,this._open),this._adapter.tryToggleOpenIcon(this._open),this._open&&this._adapter.setContentVisibility(!0)}_dispatchToggleEvent(){let t=new CustomEvent(e.events.TOGGLE,{detail:this._open,bubbles:!0,composed:!0});this._adapter.dispatchHostEvent(t)}_toggle(){this.open=!this.open}get open(){return this._open}set open(t){t=!!t,this._open!==t&&(this._open=t,this._togglePanel())}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._adapter.setHostAttribute(e.attributes.ORIENTATION,this._orientation))}get animationType(){return this._animationType}set animationType(t){this._animationType!==t&&(this._animationType=t,this._adapter.setHostAttribute(e.attributes.ANIMATION_TYPE,this._animationType))}};var I='<template><div class="forge-expansion-panel" part="root"><div class="header" part="header"><slot name="header"></slot></div><div class="content hidden" part="content"><div class="inner"><slot></slot></div></div></div></template>',C=":host{display:block}:host([hidden]){display:none}.forge-expansion-panel{--_expansion-panel-animation-duration:var(--forge-expansion-panel-animation-duration, var(--forge-animation-duration-medium4, 400ms));--_expansion-panel-animation-easing:var(--forge-expansion-panel-animation-easing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.header{outline:0;-webkit-tap-highlight-color:transparent;cursor:pointer}.content{display:grid;grid-template-rows:0fr;-webkit-transition-property:opacity,grid-template-rows;transition-property:opacity,grid-template-rows;transition-property:opacity,grid-template-rows,-ms-grid-rows;-webkit-transition-duration:var(--_expansion-panel-animation-duration);transition-duration:var(--_expansion-panel-animation-duration);-webkit-transition-timing-function:var(--_expansion-panel-animation-easing);transition-timing-function:var(--_expansion-panel-animation-easing);min-height:0;overflow:hidden;opacity:0}.content .inner{display:grid;grid-template-rows:1fr;overflow:hidden}.hidden{visibility:hidden}@media (prefers-reduced-motion:reduce){.content{-webkit-transition:none;transition:none}}:host([open]) .content{opacity:1}:host([open]:is(:not([orientation]),[orientation=vertical])) .content{grid-template-rows:1fr}:host([open][orientation=horizontal]) .content{grid-template-columns:1fr}:host([orientation=horizontal]) .forge-expansion-panel{display:grid;grid-template-columns:auto 1fr}:host([orientation=horizontal]) .content{-webkit-transition-property:opacity,grid-template-columns;transition-property:opacity,grid-template-columns;transition-property:opacity,grid-template-columns,-ms-grid-columns;grid-template-rows:none;grid-template-columns:0fr}:host([animation-type=none]) .content{-webkit-transition:none;transition:none}",i=class extends T{constructor(){super();u(this,I,C),this._foundation=new p(new s(this))}static get observedAttributes(){return Object.values(e.observedAttributes)}connectedCallback(){this._foundation.initialize()}attributeChangedCallback(n,o,l){switch(n){case e.observedAttributes.OPEN:this.open=g(l);break;case e.observedAttributes.ORIENTATION:this.orientation=l;break;case e.observedAttributes.ANIMATION_TYPE:this.animationType=l;break}}toggle(){this.open=!this.open}};a([r()],i.prototype,"open",2),a([r()],i.prototype,"orientation",2),a([r()],i.prototype,"animationType",2),i=a([b({name:e.elementName})],i);function et(){v(i)}export{e as a,s as b,p as c,i as d,et as e};
7
+ //# sourceMappingURL=chunk.IQYOLMPG.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 $}from"./chunk.LIKJD4SK.js";import{n as B}from"./chunk.RLQB7224.js";import{d as Y,l as W}from"./chunk.T7NWP7DB.js";import{d as Z}from"./chunk.FLF5RTYO.js";import{p as X}from"./chunk.ASLHRT3N.js";import{b as O}from"./chunk.BX4AQRHB.js";import{c as U,e as C,f as h}from"./chunk.SB2LOK2R.js";import{a as d}from"./chunk.NVUMRW44.js";import{a as K}from"./chunk.OLFOVKQG.js";import{a as H,b as z}from"./chunk.VRSPT7WX.js";import{a as N,e as D,f,k as M}from"./chunk.LNTTU2GL.js";import{g as x,r as g}from"./chunk.L4QSPQDE.js";import{b as p,k as S,l as R}from"./chunk.J2M2MXP2.js";import{a as _,b as c,d as l}from"./chunk.M3QDAYD2.js";var b=`${z}split-view-panel`,se={RESIZABLE:"resizable",SIZE:"size",MIN:"min",MAX:"max",OPEN:"open",ACCESSIBLE_LABEL:"accessible-label",DISABLED:"disabled",ALLOW_CLOSE:"allow-close",AUTO_CLOSE:"auto-close",AUTO_CLOSE_THRESHOLD:"auto-close-threshold",ORIENTATION:"orientation"},le={ROOT:"forge-split-view-panel",GRABBED:"forge-split-view-panel--grabbed",HANDLE:"forge-split-view-panel__handle",ICON:"forge-split-view-panel__icon",CONTENT:"forge-split-view-panel__content",CLOSED:"forge-split-view-panel--closed",CLOSING:"forge-split-view-panel--closing",OPENING:"forge-split-view-panel--opening",DISABLED:"forge-split-view-panel--disabled",OVERLAY:"forge-split-view-panel-overlay"},v={ROOT:"root",HANDLE:"handle",ICON:"icon",STATE_LAYER:"state-layer",CONTENT:"content"},pe={ROOT:`#${v.ROOT}`,HANDLE:`#${v.HANDLE}`,ICON:`#${v.ICON}`,STATE_LAYER:`#${v.STATE_LAYER}`,CONTENT:`#${v.CONTENT}`},de={WILL_RESIZE:`${b}-will-resize`,RESIZE_START:`${b}-resize-start`,RESIZE_END:`${b}-resize-end`,RESIZE:`${b}-resize`,DID_OPEN:`${b}-did-open`,DID_CLOSE:`${b}-did-close`,WILL_OPEN:`${b}-will-open`,WILL_CLOSE:`${b}-will-close`},ue={STATE_LAYER_ACTIVATION_WAIT:200},be={SIZE:"--forge-split-view-panel-size",CURSOR:"--forge-split-view-panel-cursor"},i={elementName:b,attributes:se,classes:le,ids:v,selectors:pe,events:de,numbers:ue,customCssProperties:be},he=(r=>(r[r.Under=1]="Under",r[r.Active=2]="Active",r[r.Above=3]="Above",r))(he||{});function F(){return{orientation:"horizontal",resizable:"off",arrowKeyHeld:!1,keyboardDelta:0,isAtMin:!1,isAtMax:!1,min:0}}function G(n,t){let e=n.getContentSize(t.orientation);return c(_({},t),{currentSize:e,startSize:e,availableSpace:n.getAvailableSpace(t.orientation,t.resizable),siblingSize:n.getSiblingContentSize(),isAtMin:!1,isAtMax:!1})}function j(n){return c(_({},n),{arrowKeyHeld:!1,keyboardDelta:0,isAtMin:!1,isAtMax:!1})}function q(n,t,e){if(e.startPoint===void 0||e.startSize===void 0)return!1;let r=e.currentSize,o=e.orientation==="horizontal"?t.clientX:t.clientY,a=e.startPoint-o;e.resizable==="start"&&(a*=-1);let u=e.startSize-a;e.currentSize=E(u,e),n.setContentSize(e.currentSize),y(n,e,"pointer"),n.setValuenow(P(e.currentSize,e));let w=u-e.currentSize+a;return te(n,w,e),r!==e.currentSize}function J(n,t,e){if(e.startSize===void 0)return!1;let r=e.currentSize;e.keyboardDelta+=t;let o=e.startSize+e.keyboardDelta;e.currentSize=E(o,e),n.setContentSize(e.currentSize),y(n,e,"keyboard"),n.setValuenow(P(e.currentSize,e));let a=o-e.currentSize+e.keyboardDelta*-1;return te(n,a,e),r!==e.currentSize}function Q(n,t){return n.setContentSize(t.min),t.min}function ee(n,t){let e=n.getAvailableSpace(t.orientation,t.resizable),r=h(t.max,e);return n.setContentSize(r),r}function te(n,t,e){if(e.siblingSize!==void 0){let r=e.siblingSize+t;n.setSiblingContentSize(r)}}function E(n,t){return n=Math.max(n,t.min),n=h(n,t.max,t.availableSpace),n}function y(n,t,e){if(t.currentSize===void 0)return!1;if(t.currentSize<=t.min)return t.isAtMin||(n.animateStateLayer(e==="pointer"),e==="pointer"&&n.setBodyCursor(t.orientation,{resizable:t.resizable,boundary:"min"}),t.isAtMin=!0),!0;t.isAtMin&&(t.isAtMin=!1);let r=h(t.max,t.availableSpace);return t.currentSize>=r?(t.isAtMax||(n.animateStateLayer(e==="pointer"),e==="pointer"&&n.setBodyCursor(t.orientation,{resizable:t.resizable,boundary:"max"}),t.isAtMax=!0),!0):(t.isAtMax&&(t.isAtMax=!1),e==="pointer"&&n.setBodyCursor(t.orientation),!1)}function ie(n,t,e){if(t<=e.min)return n.setHandleCursor(e.orientation,{resizable:e.resizable,boundary:"min"}),!0;let r=h(e.max,e.availableSpace);return t>=r?(n.setHandleCursor(e.orientation,{resizable:e.resizable,boundary:"max"}),!0):(n.setHandleCursor(e.orientation),!1)}function P(n,t){if(!t.availableSpace&&!t.max)return 100;let e=h(t.max,t.availableSpace);return C(n,t.min,e)}function k(n,t){if(n==="horizontal")switch(t==null?void 0:t.boundary){case"min":return t.resizable==="end"?"e-resize":"w-resize";case"max":return t.resizable==="end"?"w-resize":"e-resize";default:return"col-resize"}else switch(t==null?void 0:t.boundary){case"min":return t.resizable==="end"?"s-resize":"n-resize";case"max":return t.resizable==="end"?"n-resize":"s-resize";default:return"row-resize"}}function ne(n){return n==="horizontal"?"drag_vertical_variant":"drag_handle"}function I(n){let t=n.resizable;if(t==="off")return;let e=n;do e=t==="end"?e.nextElementSibling:e.previousElementSibling;while(e instanceof s&&!e.open);if(e instanceof s)return e}function me(n){var a,u;if(!isNaN(+n))return{amount:+n,unit:"px"};let t=/(^\d*\.?\d*)\s*(px|%$)?/i,e=n.match(t),r=e!=null&&e[1]?+e[1]:-1,o=(u=(a=e==null?void 0:e[2])==null?void 0:a.toLowerCase())!=null?u:"";return{amount:r,unit:o}}function m(n,t){let e=me(n);return e.unit==="%"?U(e.amount,t):e.amount}function re(){let n=document.createElement("div");return n.classList.add(i.classes.OVERLAY),n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.width="100vw",n.style.height="100vh",n.style.zIndex="9999",n}var L=class{constructor(t){this._adapter=t;this._size=200;this._min=0;this._accessibleLabel="Split view panel";this._open=!0;this._state=F();this._isInitialized=!1;this._parentProperties={};this._pointerdownListener=e=>this._onPointerdown(e),this._pointerupListener=e=>this._onPointerup(e),this._pointermoveListener=e=>this._onPointermove(e),this._keydownListener=e=>this._onKeydown(e),this._keyupListener=e=>this._onKeyup(e)}get _orientation(){return this._state.orientation}set _orientation(t){this._state.orientation=t}get _resizable(){return this._state.resizable}set _resizable(t){this._state.resizable=t}get _pixelMin(){return this._state.min}set _pixelMin(t){this._state.min=t}get _pixelMax(){return this._state.max}set _pixelMax(t){this._state.max=t}get _appliedDisabled(){var t,e;return(e=(t=this._disabled)!=null?t:this._parentProperties.disabled)!=null?e:!1}get _appliedAllowClose(){var t,e;return(e=(t=this._allowClose)!=null?t:this._parentProperties.allowClose)!=null?e:!1}get _appliedAutoClose(){var t,e;return(e=(t=this._autoClose)!=null?t:this._parentProperties.autoClose)!=null?e:!1}get _appliedAutoCloseThreshold(){var t,e;return(e=(t=this._autoCloseThreshold)!=null?t:this._parentProperties.autoCloseThreshold)!=null?e:0}initialize(){this._adapter.initialize(),this._adapter.setPointerdownListener(this._pointerdownListener),this._adapter.setKeydownListener(this._keydownListener),this._getParentProperties(),this._applyResizable(),this._applyMin(),this._applyMax(),this._applySize(),this._applyAccessibleLabel(),this._applyOpen(),this._applyDisabled(),this._applyAllowClose(),this._applyAutoClose(),this._applyAutoCloseThreshold(),this._isInitialized=!0}disconnect(){this._adapter.tryRemoveOverlay(),this._adapter.removePointerupListener(this._pointerupListener),this._adapter.removePointermoveListener(this._pointermoveListener)}_onPointerdown(t){this._appliedDisabled||!this._allowResize("pointer")||(t.preventDefault(),this._adapter.setPointermoveListener(this._pointermoveListener),this._adapter.setPointerupListener(this._pointerupListener),this._handlePointerdown(t))}_onPointerup(t){t.preventDefault(),this._adapter.removePointermoveListener(this._pointermoveListener),this._adapter.removePointerupListener(this._pointerupListener),this._handlePointerup()}_onPointermove(t){if(!this._appliedDisabled){if(t.preventDefault(),t.buttons===0){this._adapter.removePointermoveListener(this._pointermoveListener),this._adapter.removePointerupListener(this._pointerupListener),this._handlePointerup();return}this._handlePointermove(t)}}_onKeydown(t){this._appliedDisabled||(t.key==="Enter"?this._handleEnterKey(t):t.key==="Home"&&this._allowResize("keyboard")?this._handleHomeKey(t):t.key==="End"&&this._allowResize("keyboard")?this._handleEndKey(t):O(t)&&this._allowResize("keyboard")&&(this._adapter.setKeyupListener(this._keyupListener),this._handleArrowKey(t)))}_onKeyup(t){O(t)&&(this._adapter.removeKeyupListener(this._keyupListener),this._handleArrowKeyUp())}_handleEnterKey(t){this._appliedAllowClose&&(t.preventDefault(),this._tryOpenOrClose(!this._open,!1,!0))}_handleHomeKey(t){t.preventDefault();let e=Q(this._adapter,this._state);this._adapter.emitHostEvent(i.events.RESIZE,e),this._tryAutoClose()}_handleEndKey(t){t.preventDefault();let e=ee(this._adapter,this._state);this._adapter.emitHostEvent(i.events.RESIZE,e)}_handleArrowKey(t){let e=0;if(this._orientation==="horizontal")switch(t.key){case"ArrowLeft":e=-1;break;case"ArrowRight":e=1;break;default:return}else switch(t.key){case"ArrowUp":e=-1;break;case"ArrowDown":e=1;break;default:return}t.preventDefault(),this._resizable==="start"&&(e*=-1),t.shiftKey&&(e*=10),this._tryHandleArrowKeyDown(),this._handleArrowKeyHeld(e)}_tryHandleArrowKeyDown(){this._state.arrowKeyHeld||this._startResize(),this._state.arrowKeyHeld=!0}_handleArrowKeyUp(){this._endResize()}_handleArrowKeyHeld(t){J(this._adapter,t,this._state)&&this._adapter.emitHostEvent(i.events.RESIZE,this._state.currentSize)}_handlePointerdown(t){this._adapter.setGrabbed(!0),this._adapter.focusHandle(),this._startResize(),this._state.startPoint=this._orientation==="horizontal"?t.clientX:t.clientY,y(this._adapter,this._state,"pointer")}_handlePointerup(){this._adapter.setGrabbed(!1),this._endResize()}_handlePointermove(t){q(this._adapter,t,this._state)&&this._adapter.emitHostEvent(i.events.RESIZE,this._state.currentSize)}_allowResize(t){return this._adapter.emitHostEvent(i.events.WILL_RESIZE,{inputDeviceType:t},!0,!0)}_startResize(){this._state=G(this._adapter,this._state),this._adapter.emitHostEvent(i.events.RESIZE_START,this._state.startSize)}_endResize(){this._adapter.emitHostEvent(i.events.RESIZE_END,this._state.currentSize),this._adapter.updateParent({accessibility:this._state.startSize!==this._state.currentSize,cursor:!0}),this._state=j(this._state),this._tryAutoClose()}_tryOpenOrClose(t=!0,e=!1,r=!1){let o=t?i.events.WILL_OPEN:i.events.WILL_CLOSE,a={auto:e,userInitiated:r};this._adapter.emitHostEvent(o,a,!0,!0)&&(this._open=t,this._applyOpen(a))}_tryAutoClose(){let t=this._adapter.getContentSize(this._orientation);this._appliedAutoClose&&t<=this._appliedAutoCloseThreshold&&this._tryOpenOrClose(!1,!0,!1)}_getParentProperties(){let t=this._adapter.getParentProperty("disabled");this._parentProperties.disabled=t,this._applyParentDisabled();let e=this._adapter.getParentProperty("allowClose");this._parentProperties.allowClose=e;let r=this._adapter.getParentProperty("autoClose");this._parentProperties.autoClose=r,this._applyParentAutoClose();let o=this._adapter.getParentProperty("autoCloseThreshold");this._parentProperties.autoCloseThreshold=o,this._applyParentAutoCloseThreshold()}_applyOrientation(){this._adapter.setOrientation(this._orientation)}get resizable(){return this._resizable}set resizable(t){this._resizable!==t&&(this._resizable=t,this._applyResizable())}_applyResizable(){this._adapter.setHostAttribute(i.attributes.RESIZABLE,this._resizable),this._adapter.setResizable(this._resizable)}get size(){return this._size}set size(t){this._size.toString()!==t.toString()&&(this._size=t,this._applySize())}_applySize(){let t=this._adapter.getParentSize(this._orientation),e=m(this._size,t);this._adapter.setHostAttribute(i.attributes.SIZE,this._size.toString()),this._adapter.setContentSize(e),window.requestAnimationFrame(()=>{let r=this._adapter.getAvailableSpace(this._orientation,this._resizable),o=h(this._pixelMax,r),a=C(e,this._pixelMin,o);this._adapter.setValuenow(a),this._adapter.updateParent({cursor:!0})})}get min(){return this._min}set min(t){this._min.toString()!==t.toString()&&(this._min=t,this._applyMin())}_applyMin(){this._adapter.setHostAttribute(i.attributes.MIN,this._min.toString());let t=this._adapter.getParentSize(this._orientation);if(this._pixelMin=m(this._min,t),this._resizable==="off")return;let e=this._adapter.getContentSize(this._orientation);e<this._pixelMin&&this.setContentSize(e)}get max(){return this._max}set max(t){var e;((e=this._max)==null?void 0:e.toString())!==(t==null?void 0:t.toString())&&(this._max=t,this._applyMax())}_applyMax(){var r;if(this._adapter.toggleHostAttribute(i.attributes.MAX,this._max!==void 0,(r=this._max)==null?void 0:r.toString()),this._max===void 0){this._pixelMax=void 0;return}let t=this._adapter.getParentSize(this._orientation);if(this._pixelMax=m(this._max,t),this._resizable==="off")return;let e=this._adapter.getContentSize(this._orientation);e>this._pixelMax&&this.setContentSize(e)}get accessibleLabel(){return this._accessibleLabel}set accessibleLabel(t){this._accessibleLabel!==t&&(this._accessibleLabel=t,this._applyAccessibleLabel())}_applyAccessibleLabel(){this._adapter.setHostAttribute(i.attributes.ACCESSIBLE_LABEL,this._accessibleLabel),this._adapter.setAccessibleLabel(this._accessibleLabel)}get open(){return this._open}set open(t){if(this._open!==t){if(this._isInitialized){this._tryOpenOrClose(t,!1,!1);return}this._open=t;let e=this._isInitialized?{auto:!1,userInitiated:!1}:void 0;this._applyOpen(e)}}_applyOpen(t){this._adapter.setHostAttribute(i.attributes.OPEN,this._open.toString()),this._adapter.setOpen(this._open,this._isInitialized,t)}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._applyDisabled())}_applyDisabled(){var t;this._adapter.toggleHostAttribute(i.attributes.DISABLED,(t=this._disabled)!=null?t:!1),this._adapter.setDisabled(this._appliedDisabled)}_applyParentDisabled(){this._isInitialized&&!p(this._disabled)&&this._adapter.setDisabled(this._appliedDisabled)}get allowClose(){return this._allowClose}set allowClose(t){this._allowClose!==t&&(this._allowClose=t,this._applyAllowClose())}_applyAllowClose(){var t;this._adapter.toggleHostAttribute(i.attributes.ALLOW_CLOSE,(t=this._allowClose)!=null?t:!1)}get autoClose(){return this._autoClose}set autoClose(t){this._autoClose!==t&&(this._autoClose=t,this._applyAutoClose())}_applyAutoClose(){var t;this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE,(t=this._autoClose)!=null?t:!1),this._isInitialized&&this._tryAutoClose()}_applyParentAutoClose(){this._isInitialized&&!p(this._autoClose)&&this._tryAutoClose()}get autoCloseThreshold(){return this._autoCloseThreshold}set autoCloseThreshold(t){this._autoCloseThreshold!==t&&(this._autoCloseThreshold=t,this._applyAutoCloseThreshold())}_applyAutoCloseThreshold(){var t;this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE_THRESHOLD,p(this._autoCloseThreshold),(t=this.autoCloseThreshold)==null?void 0:t.toString()),this._isInitialized&&this._tryAutoClose()}_applyParentAutoCloseThreshold(){this._isInitialized&&!p(this._autoCloseThreshold)&&this._tryAutoClose()}getContentSize(){return this._adapter.getContentSize(this._orientation)}getCollapsibleSize(){let t=this._adapter.getParentSize(this._orientation),e=m(this._min,t);return this._adapter.getContentSize(this._orientation)-e}setContentSize(t){if(this._resizable==="off")return;let e=E(t,this._state);this._adapter.setContentSize(e),this._isInitialized&&this._adapter.emitHostEvent(i.events.RESIZE,e)}update(t){if(t.orientation&&(this._orientation=t.orientation,this._applyOrientation()),t.properties&&(p(t.properties.disabled)&&this._parentProperties.disabled!==t.properties.disabled&&(this._parentProperties.disabled=t.properties.disabled,this._applyDisabled()),p(t.properties.allowClose)&&(this._parentProperties.allowClose=t.properties.allowClose),p(t.properties.autoClose)&&this._parentProperties.autoClose!==t.properties.autoClose&&(this._parentProperties.autoClose=t.properties.autoClose,p(this._autoClose)||this._applyAutoClose()),p(t.properties.autoCloseThreshold)&&this._parentProperties.autoCloseThreshold!==t.properties.autoCloseThreshold&&(this._parentProperties.autoCloseThreshold=t.properties.autoCloseThreshold,p(this._autoCloseThreshold)||this._applyAutoCloseThreshold())),t.size&&this.open){let o=this._adapter.getParentSize(this._orientation);this._pixelMin=m(this._min,o),this._pixelMax=p(this._max)?m(this._max,o):void 0,this.setContentSize(this._adapter.getContentSize(this._orientation))}if(this._resizable==="off")return;let e=this._adapter.getContentSize(this._orientation),r=this._adapter.getAvailableSpace(this._orientation,this._resizable);if(t.accessibility&&this.open){let o=P(e,c(_({},this._state),{availableSpace:r}));this._adapter.setValuenow(o)}t.cursor&&ie(this._adapter,e,c(_({},this._state),{availableSpace:r}))}};var _e=`${z}split-view`,ce={ORIENTATION:"orientation",DISABLED:"disabled",ALLOW_CLOSE:"allow-close",AUTO_CLOSE:"auto-close",AUTO_CLOSE_THRESHOLD:"auto-close-threshold"},fe={ROOT:"forge-split-view"},oe={ROOT:"root"},ve={ROOT:`#${oe.ROOT}`,PANEL:i.elementName},Se={RESIZE_THROTTLE_THRESHOLD:200},we={ANIMATING_LAYER:"--forge-split-view-animating-layer"},ae={elementName:_e,attributes:ce,classes:fe,ids:oe,selectors:ve,numbers:Se,customCssProperties:we};var A=class extends K{constructor(e){super(e);this._root=f(e,i.selectors.ROOT),this._handle=f(e,i.selectors.HANDLE),this._icon=f(e,i.selectors.ICON),this._stateLayer=f(e,i.selectors.STATE_LAYER),this._content=f(e,i.selectors.CONTENT)}initialize(){let e=this._component.parentElement;(e==null?void 0:e.tagName.toLowerCase())===ae.elementName&&(this._parent=e)}tryRemoveOverlay(){var e;(e=this._overlay)==null||e.remove(),this._overlay=void 0}setPointerdownListener(e){this._handle.addEventListener("pointerdown",e)}setPointerupListener(e){document.addEventListener("pointerup",e)}removePointerupListener(e){document.removeEventListener("pointerup",e)}setPointermoveListener(e){document.addEventListener("pointermove",e)}removePointermoveListener(e){document.removeEventListener("pointermove",e)}setKeydownListener(e){this._handle.addEventListener("keydown",e)}setKeyupListener(e){this._handle.addEventListener("keyup",e)}removeKeyupListener(e){this._handle.removeEventListener("keyup",e)}getParentProperty(e){var r;return(r=this._parent)==null?void 0:r[e]}setAccessibleLabel(e){this._handle.setAttribute("aria-label",e)}setDisabled(e){this._root.classList.toggle(i.classes.DISABLED,e),this._handle&&(this._handle.setAttribute("tabindex",e?"-1":"0"),g(this._handle,e,"aria-disabled","true"))}setResizable(e){this._root.setAttribute(i.attributes.RESIZABLE,e.toString()),g(this._handle,e!=="off","aria-valuemin","0"),g(this._handle,e!=="off","aria-valuemax","100"),e!=="off"&&(this._handle.remove(),e==="end"?this._root.append(this._handle):this._root.prepend(this._handle))}setOrientation(e){this._root.setAttribute(i.attributes.ORIENTATION,e),this._handle.setAttribute("aria-orientation",e==="horizontal"?"vertical":"horizontal"),this._icon.setAttribute("name",ne(e))}setOpen(e,r=!0,o){var u,w;let a=()=>{var T,V;e||this._root.classList.add(i.classes.CLOSED),o&&this.emitHostEvent(e?i.events.DID_OPEN:i.events.DID_CLOSE,o),(T=this._parent)==null||T.unlayerSlottedPanels(),(V=this._parent)==null||V.update({accessibility:!0,cursor:!0})};if(e&&this._root.classList.contains(i.classes.CLOSED)){if(this._root.classList.remove(i.classes.CLOSED),!r){a();return}(u=this._parent)==null||u.layerSlottedPanels(this._component),x(this._root,i.classes.OPENING,!0).then(()=>{a()})}else if(!e&&!this._root.classList.contains(i.classes.CLOSED)){if(!r){a();return}(w=this._parent)==null||w.layerSlottedPanels(this._component),x(this._root,i.classes.CLOSING,!0).then(()=>{a()})}}setGrabbed(e){var r;this._root.classList.toggle(i.classes.GRABBED,e),this._handle.setAttribute("aria-grabbed",e.toString()),e?(this._overlay||(this._overlay=re()),document.body.append(this._overlay)):(r=this._overlay)==null||r.remove()}setHandleCursor(e,r){e?this._root.style.setProperty(i.customCssProperties.CURSOR,k(e,r)):this._root.style.removeProperty(i.customCssProperties.CURSOR)}setBodyCursor(e,r){var o;(o=this._overlay)==null||o.style.setProperty("cursor",k(e,r))}getContentSize(e){return e==="horizontal"?this._content.clientWidth:this._content.clientHeight}setContentSize(e){this._component.style.setProperty(i.customCssProperties.SIZE,`${e}px`)}setValuenow(e){this._handle.setAttribute("aria-valuenow",e.toFixed(2))}focusHandle(){this._handle.focus()}getAvailableSpace(e,r){if(r==="off")return-1;let o=I(this._component);return o?o.getCollapsibleSize()+this.getContentSize(e):this.getParentSize(e)}getSiblingContentSize(){var r;let e=I(this._component);return(r=e==null?void 0:e.getContentSize())!=null?r:0}setSiblingContentSize(e){let r=I(this._component);r==null||r.setContentSize(e)}animateStateLayer(e){e?window.setTimeout(()=>{this._stateLayer.playAnimation()},i.numbers.STATE_LAYER_ACTIVATION_WAIT):this._stateLayer.playAnimation()}getParentSize(e){var o,a;let r=e==="horizontal"?(o=this._parent)==null?void 0:o.clientWidth:(a=this._parent)==null?void 0:a.clientHeight;return r!=null?r:0}updateParent(e){var r;(r=this._parent)==null||r.update(e)}};var ge='<template><div class="forge-split-view-panel" id="root" part="root"><div class="forge-split-view-panel__handle" id="handle" part="handle" role="separator" aria-controls="content" aria-grabbed="false" tabindex="0"><forge-icon class="forge-split-view-panel__icon" id="icon" part="icon"></forge-icon><forge-state-layer target="handle" id="state-layer" exportparts="surface:state-layer"></forge-state-layer><forge-focus-indicator inward target="handle" part="focus-indicator"></forge-focus-indicator></div><div class="forge-split-view-panel__content" id="content" part="content" role="group"><slot></slot></div></div></template>',ze=".forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);position:relative;display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:up9pg91;animation-name:up9pg91;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes up9pg91{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes up9pg91{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:up9pga1;animation-name:up9pga1;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes up9pga1{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes up9pga1{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:up9pga8;animation-name:up9pga8;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes up9pga8{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes up9pga8{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:up9pgat;animation-name:up9pgat;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes up9pgat{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes up9pgat{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:up9pgbj;animation-name:up9pgbj;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes up9pgbj{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes up9pgbj{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:up9pgca;animation-name:up9pgca;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes up9pgca{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes up9pgca{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:up9pgcg;animation-name:up9pgcg;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes up9pgcg{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes up9pgcg{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:up9pgco;animation-name:up9pgco;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes up9pgco{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes up9pgco{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}forge-focus-indicator{--forge-focus-indicator-active-width:2px}",s=class extends M{constructor(){super();Y.define([$,B]),D(this,ge,ze),this._foundation=new L(new A(this))}static get observedAttributes(){return[i.attributes.RESIZABLE,i.attributes.SIZE,i.attributes.MIN,i.attributes.MAX,i.attributes.ACCESSIBLE_LABEL,i.attributes.OPEN,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,r,o){switch(e){case i.attributes.RESIZABLE:this.resizable=o;break;case i.attributes.SIZE:this.size=o;break;case i.attributes.MIN:this.min=o;break;case i.attributes.MAX:o?this.max=o:this.max=void 0;break;case i.attributes.ACCESSIBLE_LABEL:this.accessibleLabel=o;break;case i.attributes.OPEN:this.open=S(o);break;case i.attributes.DISABLED:this.hasAttribute(e)?this.disabled=S(o):this.disabled=void 0;break;case i.attributes.ALLOW_CLOSE:this.hasAttribute(e)?this.allowClose=S(o):this.allowClose=void 0;break;case i.attributes.AUTO_CLOSE:this.hasAttribute(e)?this.autoClose=S(o):this.autoClose=void 0;break;case i.attributes.AUTO_CLOSE_THRESHOLD:o?this.autoCloseThreshold=R(o):this.autoCloseThreshold=void 0;break}}getContentSize(){return this._foundation.getContentSize()}getCollapsibleSize(){return this._foundation.getCollapsibleSize()}setContentSize(e){this._foundation.setContentSize(e)}update(e){this._foundation.update(e)}};l([d()],s.prototype,"resizable",2),l([d()],s.prototype,"size",2),l([d()],s.prototype,"min",2),l([d()],s.prototype,"max",2),l([d()],s.prototype,"accessibleLabel",2),l([d()],s.prototype,"open",2),l([d()],s.prototype,"disabled",2),l([d()],s.prototype,"allowClose",2),l([d()],s.prototype,"autoClose",2),l([d()],s.prototype,"autoCloseThreshold",2),s=l([H({name:i.elementName,dependencies:[W,X,Z]})],s);function yt(){N(s)}export{i as a,he as b,F as c,G as d,j as e,q as f,J as g,Q as h,ee as i,te as j,E as k,y as l,ie as m,P as n,k as o,ne as p,I as q,me as r,m as s,re as t,L as u,ae as v,A as w,s as x,yt as y};
7
+ //# sourceMappingURL=chunk.ISLJNJEE.js.map