@tylertech/forge 3.0.0-next.1 → 3.0.0-next.3

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 (390) hide show
  1. package/custom-elements.json +758 -172
  2. package/dist/esm/accordion/index.js +1 -1
  3. package/dist/esm/app-bar/help-button/index.js +1 -1
  4. package/dist/esm/app-bar/index.js +1 -1
  5. package/dist/esm/app-bar/menu-button/index.js +1 -1
  6. package/dist/esm/app-bar/notification-button/index.js +1 -1
  7. package/dist/esm/app-bar/profile-button/index.js +1 -1
  8. package/dist/esm/app-bar/search/index.js +1 -1
  9. package/dist/esm/autocomplete/index.js +1 -1
  10. package/dist/esm/avatar/index.js +1 -1
  11. package/dist/esm/backdrop/index.js +1 -1
  12. package/dist/esm/badge/index.js +1 -1
  13. package/dist/esm/banner/index.js +1 -1
  14. package/dist/esm/bottom-sheet/index.js +1 -1
  15. package/dist/esm/busy-indicator/index.js +1 -1
  16. package/dist/esm/button/index.js +1 -1
  17. package/dist/esm/button-toggle/button-toggle/index.js +1 -1
  18. package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
  19. package/dist/esm/button-toggle/index.js +1 -1
  20. package/dist/esm/calendar/calendar-dropdown/index.js +1 -1
  21. package/dist/esm/calendar/calendar-menu/index.js +1 -1
  22. package/dist/esm/calendar/core/index.js +1 -1
  23. package/dist/esm/calendar/index.js +1 -1
  24. package/dist/esm/card/index.js +1 -1
  25. package/dist/esm/checkbox/index.js +1 -1
  26. package/dist/esm/chip-field/index.js +1 -1
  27. package/dist/esm/chips/chip/index.js +1 -1
  28. package/dist/esm/chips/chip-set/index.js +1 -1
  29. package/dist/esm/chips/index.js +1 -1
  30. package/dist/esm/chunks/chunk.2R72ZTIK.js +7 -0
  31. package/dist/esm/chunks/{chunk.DT7MZR5Y.js.map → chunk.2R72ZTIK.js.map} +2 -2
  32. package/dist/esm/chunks/{chunk.BJZ7RB5F.js → chunk.3CTKWBV2.js} +1 -1
  33. package/dist/esm/chunks/{chunk.BJZ7RB5F.js.map → chunk.3CTKWBV2.js.map} +1 -1
  34. package/dist/esm/chunks/chunk.3GZF7UI2.js +7 -0
  35. package/dist/esm/chunks/{chunk.O4FB4BV5.js → chunk.3OT44DTM.js} +2 -2
  36. package/dist/esm/chunks/{chunk.O4FB4BV5.js.map → chunk.3OT44DTM.js.map} +1 -1
  37. package/dist/esm/chunks/chunk.3QD73Z4F.js +7 -0
  38. package/dist/esm/chunks/{chunk.6OKJPSUE.js.map → chunk.3QD73Z4F.js.map} +1 -1
  39. package/dist/esm/chunks/{chunk.O73S5LF3.js → chunk.423SNVSH.js} +2 -2
  40. package/dist/esm/chunks/chunk.44IUAOBP.js +7 -0
  41. package/dist/esm/chunks/{chunk.YPZNIYQL.js.map → chunk.44IUAOBP.js.map} +2 -2
  42. package/dist/esm/chunks/{chunk.N4PVZUJX.js → chunk.465MOF4A.js} +2 -2
  43. package/dist/esm/chunks/{chunk.N4PVZUJX.js.map → chunk.465MOF4A.js.map} +1 -1
  44. package/dist/esm/chunks/{chunk.AFLH5HUG.js → chunk.46LZNRRP.js} +2 -2
  45. package/dist/esm/chunks/{chunk.PALRSBSY.js → chunk.4B3BP62N.js} +2 -2
  46. package/dist/esm/chunks/{chunk.PALRSBSY.js.map → chunk.4B3BP62N.js.map} +1 -1
  47. package/dist/esm/chunks/{chunk.RYMPSU4J.js → chunk.4DJEZHRT.js} +2 -2
  48. package/dist/esm/chunks/{chunk.RYMPSU4J.js.map → chunk.4DJEZHRT.js.map} +1 -1
  49. package/dist/esm/chunks/{chunk.BJE6O5ES.js → chunk.4RNNHXMU.js} +2 -2
  50. package/dist/esm/chunks/{chunk.BJE6O5ES.js.map → chunk.4RNNHXMU.js.map} +1 -1
  51. package/dist/esm/chunks/{chunk.I5BAZWUF.js → chunk.4UHXQAOT.js} +2 -2
  52. package/dist/esm/chunks/{chunk.I5BAZWUF.js.map → chunk.4UHXQAOT.js.map} +1 -1
  53. package/dist/esm/chunks/{chunk.FRYLJWYL.js → chunk.4ZWV37ZJ.js} +2 -2
  54. package/dist/esm/chunks/{chunk.FRYLJWYL.js.map → chunk.4ZWV37ZJ.js.map} +1 -1
  55. package/dist/esm/chunks/{chunk.BE7PZANN.js → chunk.55FCNVG5.js} +2 -2
  56. package/dist/esm/chunks/{chunk.BE7PZANN.js.map → chunk.55FCNVG5.js.map} +1 -1
  57. package/dist/esm/chunks/{chunk.5FPFRE4H.js → chunk.56D6S5XJ.js} +2 -2
  58. package/dist/esm/chunks/{chunk.5FPFRE4H.js.map → chunk.56D6S5XJ.js.map} +1 -1
  59. package/dist/esm/chunks/{chunk.UT7QUGAO.js → chunk.5MPUISW3.js} +2 -2
  60. package/dist/esm/chunks/{chunk.NW7NV2A2.js → chunk.5XY7WBMA.js} +2 -2
  61. package/dist/esm/chunks/{chunk.NW7NV2A2.js.map → chunk.5XY7WBMA.js.map} +1 -1
  62. package/dist/esm/chunks/{chunk.Q7LFOS2I.js → chunk.6BBI2QGA.js} +2 -2
  63. package/dist/esm/chunks/{chunk.Q7LFOS2I.js.map → chunk.6BBI2QGA.js.map} +1 -1
  64. package/dist/esm/chunks/chunk.6DWTTNEC.js +7 -0
  65. package/dist/esm/chunks/{chunk.CKYHP5MC.js.map → chunk.6DWTTNEC.js.map} +1 -1
  66. package/dist/esm/chunks/{chunk.IUOBRBDZ.js → chunk.6HMCSEKV.js} +2 -2
  67. package/dist/esm/chunks/{chunk.XZ4WI7VK.js → chunk.6IWW463U.js} +2 -2
  68. package/dist/esm/chunks/{chunk.XZ4WI7VK.js.map → chunk.6IWW463U.js.map} +1 -1
  69. package/dist/esm/chunks/chunk.7IP3XTE3.js +7 -0
  70. package/dist/esm/chunks/{chunk.C7AN6FMW.js.map → chunk.7IP3XTE3.js.map} +1 -1
  71. package/dist/esm/chunks/{chunk.KU5CXXGS.js → chunk.7KEUUHXY.js} +2 -2
  72. package/dist/esm/chunks/{chunk.WP4QOOIS.js → chunk.7VWG4IEN.js} +2 -2
  73. package/dist/esm/chunks/{chunk.ESR2NHOS.js → chunk.A2BJ47Q6.js} +2 -2
  74. package/dist/esm/chunks/{chunk.ESR2NHOS.js.map → chunk.A2BJ47Q6.js.map} +1 -1
  75. package/dist/esm/chunks/{chunk.RE5X26QT.js → chunk.ADXALX5F.js} +124 -24
  76. package/dist/esm/chunks/{chunk.RE5X26QT.js.map → chunk.ADXALX5F.js.map} +1 -1
  77. package/dist/esm/chunks/chunk.BSKIHRND.js +7 -0
  78. package/dist/esm/chunks/{chunk.BTBHIIGI.js.map → chunk.BSKIHRND.js.map} +1 -1
  79. package/dist/esm/chunks/{chunk.MSF55AA3.js → chunk.BSNL353K.js} +2 -2
  80. package/dist/esm/chunks/{chunk.MSF55AA3.js.map → chunk.BSNL353K.js.map} +1 -1
  81. package/dist/esm/chunks/chunk.BTTHTLD3.js +7 -0
  82. package/dist/esm/chunks/{chunk.ROR6JMAE.js.map → chunk.BTTHTLD3.js.map} +1 -1
  83. package/dist/esm/chunks/chunk.C66IQMR6.js +7 -0
  84. package/dist/esm/chunks/{chunk.ZFHPUAYX.js.map → chunk.C66IQMR6.js.map} +2 -2
  85. package/dist/esm/chunks/{chunk.PN26D52V.js → chunk.CFDK4RCW.js} +1 -1
  86. package/dist/esm/chunks/{chunk.PN26D52V.js.map → chunk.CFDK4RCW.js.map} +1 -1
  87. package/dist/esm/chunks/{chunk.SSRQFKNH.js → chunk.CY7UCG25.js} +2 -2
  88. package/dist/esm/chunks/{chunk.SSRQFKNH.js.map → chunk.CY7UCG25.js.map} +1 -1
  89. package/dist/esm/chunks/{chunk.U6WGJELL.js → chunk.DMCBAYQX.js} +1 -1
  90. package/dist/esm/chunks/{chunk.U6WGJELL.js.map → chunk.DMCBAYQX.js.map} +1 -1
  91. package/dist/esm/chunks/{chunk.T76JYRPR.js → chunk.E5H7OQXZ.js} +2 -2
  92. package/dist/esm/chunks/{chunk.T76JYRPR.js.map → chunk.E5H7OQXZ.js.map} +1 -1
  93. package/dist/esm/chunks/{chunk.J2H5RXTX.js → chunk.EASEKF35.js} +2 -2
  94. package/dist/esm/chunks/{chunk.J2H5RXTX.js.map → chunk.EASEKF35.js.map} +1 -1
  95. package/dist/esm/chunks/{chunk.WY7DECJD.js → chunk.ELENDYRJ.js} +2 -2
  96. package/dist/esm/chunks/{chunk.WY7DECJD.js.map → chunk.ELENDYRJ.js.map} +1 -1
  97. package/dist/esm/chunks/{chunk.LDN4HLF7.js → chunk.F6CILMKB.js} +2 -2
  98. package/dist/esm/chunks/{chunk.LDN4HLF7.js.map → chunk.F6CILMKB.js.map} +1 -1
  99. package/dist/esm/chunks/{chunk.3KQL7VAZ.js → chunk.FDZSLGIW.js} +2 -2
  100. package/dist/esm/chunks/{chunk.3KQL7VAZ.js.map → chunk.FDZSLGIW.js.map} +1 -1
  101. package/dist/esm/chunks/chunk.FHW6LV4A.js +7 -0
  102. package/dist/esm/chunks/{chunk.V7WKXEZC.js.map → chunk.FHW6LV4A.js.map} +1 -1
  103. package/dist/esm/chunks/chunk.G3ZS3UHM.js +7 -0
  104. package/dist/esm/chunks/chunk.G3ZS3UHM.js.map +7 -0
  105. package/dist/esm/chunks/{chunk.ARJ3EVVO.js → chunk.G4IN6Y46.js} +2 -2
  106. package/dist/esm/chunks/{chunk.F2B24WLK.js → chunk.GFWFEBAH.js} +2 -2
  107. package/dist/esm/chunks/{chunk.F2B24WLK.js.map → chunk.GFWFEBAH.js.map} +1 -1
  108. package/dist/esm/chunks/chunk.GZ2QNJ5E.js +7 -0
  109. package/dist/esm/chunks/{chunk.YBEBD4CN.js.map → chunk.GZ2QNJ5E.js.map} +1 -1
  110. package/dist/esm/chunks/{chunk.LYOQ2RGP.js → chunk.H4H75YUA.js} +2 -2
  111. package/dist/esm/chunks/{chunk.LYOQ2RGP.js.map → chunk.H4H75YUA.js.map} +1 -1
  112. package/dist/esm/chunks/chunk.H5MJBEK5.js +7 -0
  113. package/dist/esm/chunks/chunk.HHC5NEUF.js +7 -0
  114. package/dist/esm/chunks/{chunk.5WNKQTXX.js.map → chunk.HHC5NEUF.js.map} +1 -1
  115. package/dist/esm/chunks/{chunk.CLM6MNKC.js → chunk.HNSUYOCY.js} +2 -2
  116. package/dist/esm/chunks/{chunk.CLM6MNKC.js.map → chunk.HNSUYOCY.js.map} +1 -1
  117. package/dist/esm/chunks/{chunk.RBAVT3XQ.js → chunk.HVYK2OWE.js} +2 -2
  118. package/dist/esm/chunks/chunk.HZYRCFVC.js +7 -0
  119. package/dist/esm/chunks/{chunk.SAQVWOVK.js.map → chunk.HZYRCFVC.js.map} +2 -2
  120. package/dist/esm/chunks/{chunk.P3IA2WTO.js → chunk.I3MZQIAF.js} +2 -2
  121. package/dist/esm/chunks/{chunk.P3IA2WTO.js.map → chunk.I3MZQIAF.js.map} +1 -1
  122. package/dist/esm/chunks/chunk.I4347LUX.js +7 -0
  123. package/dist/esm/chunks/{chunk.MXTDW27J.js.map → chunk.I4347LUX.js.map} +2 -2
  124. package/dist/esm/chunks/{chunk.HBMNXZES.js → chunk.INRH62VL.js} +2 -2
  125. package/dist/esm/chunks/{chunk.HBMNXZES.js.map → chunk.INRH62VL.js.map} +1 -1
  126. package/dist/esm/chunks/{chunk.HV6SPRC4.js → chunk.IOYABCVW.js} +2 -2
  127. package/dist/esm/chunks/{chunk.HV6SPRC4.js.map → chunk.IOYABCVW.js.map} +1 -1
  128. package/dist/esm/chunks/chunk.JUIFPTRV.js +7 -0
  129. package/dist/esm/chunks/{chunk.G3ZTZ4AN.js.map → chunk.JUIFPTRV.js.map} +1 -1
  130. package/dist/esm/chunks/chunk.KFERUCAD.js +7 -0
  131. package/dist/esm/chunks/{chunk.4NI63FGK.js.map → chunk.KFERUCAD.js.map} +1 -1
  132. package/dist/esm/chunks/{chunk.XHV3GQ7L.js → chunk.L6DKEDFM.js} +2 -2
  133. package/dist/esm/chunks/{chunk.XHV3GQ7L.js.map → chunk.L6DKEDFM.js.map} +1 -1
  134. package/dist/esm/chunks/{chunk.4DAIIJ37.js → chunk.LEVFMI2Q.js} +1 -1
  135. package/dist/esm/chunks/{chunk.4DAIIJ37.js.map → chunk.LEVFMI2Q.js.map} +1 -1
  136. package/dist/esm/chunks/{chunk.KE6GOYAB.js → chunk.LHFZFVHB.js} +2 -2
  137. package/dist/esm/chunks/{chunk.KE6GOYAB.js.map → chunk.LHFZFVHB.js.map} +1 -1
  138. package/dist/esm/chunks/{chunk.TR5YMNJJ.js → chunk.LQQIN7JE.js} +2 -2
  139. package/dist/esm/chunks/{chunk.TR5YMNJJ.js.map → chunk.LQQIN7JE.js.map} +1 -1
  140. package/dist/esm/chunks/{chunk.INCKI5IX.js → chunk.LSFIZAUF.js} +2 -2
  141. package/dist/esm/chunks/{chunk.INCKI5IX.js.map → chunk.LSFIZAUF.js.map} +1 -1
  142. package/dist/esm/chunks/chunk.M3QDAYD2.js +7 -0
  143. package/dist/esm/chunks/chunk.MGLWXAZO.js +18 -0
  144. package/dist/esm/chunks/{chunk.YI4JTY4T.js.map → chunk.MGLWXAZO.js.map} +2 -2
  145. package/dist/esm/chunks/chunk.MLXGGGER.js +129 -0
  146. package/dist/esm/chunks/{chunk.ILRWZHH3.js.map → chunk.MLXGGGER.js.map} +1 -1
  147. package/dist/esm/chunks/chunk.MT3CYR5E.js +7 -0
  148. package/dist/esm/chunks/{chunk.Y5A7RQ5M.js.map → chunk.MT3CYR5E.js.map} +1 -1
  149. package/dist/esm/chunks/chunk.N64ASFPE.js +7 -0
  150. package/dist/esm/chunks/{chunk.RB5BTA5N.js.map → chunk.N64ASFPE.js.map} +1 -1
  151. package/dist/esm/chunks/chunk.NEMJIVPU.js +7 -0
  152. package/dist/esm/chunks/{chunk.4WPFFNLH.js.map → chunk.NEMJIVPU.js.map} +1 -1
  153. package/dist/esm/chunks/chunk.NRXPO3SY.js +7 -0
  154. package/dist/esm/chunks/{chunk.7A6MX6CS.js.map → chunk.NRXPO3SY.js.map} +1 -1
  155. package/dist/esm/chunks/{chunk.UF43SSFY.js → chunk.NTLWWOZJ.js} +2 -2
  156. package/dist/esm/chunks/{chunk.UF43SSFY.js.map → chunk.NTLWWOZJ.js.map} +1 -1
  157. package/dist/esm/chunks/chunk.NVHTEFBA.js +33 -0
  158. package/dist/esm/chunks/{chunk.V4TCOZLK.js.map → chunk.NVHTEFBA.js.map} +1 -1
  159. package/dist/esm/chunks/{chunk.KTGSZEAG.js → chunk.NVUMRW44.js} +1 -1
  160. package/dist/esm/chunks/{chunk.KTGSZEAG.js.map → chunk.NVUMRW44.js.map} +1 -1
  161. package/dist/esm/chunks/chunk.O4KZV4MX.js +7 -0
  162. package/dist/esm/chunks/{chunk.242YUZKU.js.map → chunk.O4KZV4MX.js.map} +1 -1
  163. package/dist/esm/chunks/{chunk.ZUNZKRRK.js → chunk.OAHA3QOH.js} +2 -2
  164. package/dist/esm/chunks/{chunk.2BNDXFI5.js → chunk.PJOH4JKH.js} +2 -2
  165. package/dist/esm/chunks/{chunk.2BNDXFI5.js.map → chunk.PJOH4JKH.js.map} +1 -1
  166. package/dist/esm/chunks/chunk.PKZYVWEG.js +7 -0
  167. package/dist/esm/chunks/chunk.PTQTIY7L.js +57 -0
  168. package/dist/esm/chunks/chunk.PTQTIY7L.js.map +7 -0
  169. package/dist/esm/chunks/{chunk.VAKNDCLP.js → chunk.Q56WQPYG.js} +76 -24
  170. package/dist/esm/chunks/{chunk.VAKNDCLP.js.map → chunk.Q56WQPYG.js.map} +1 -1
  171. package/dist/esm/chunks/chunk.QA3Z44IQ.js +7 -0
  172. package/dist/esm/chunks/{chunk.72AUOVCD.js.map → chunk.QA3Z44IQ.js.map} +1 -1
  173. package/dist/esm/chunks/{chunk.Y4GKBJGI.js → chunk.QH2GB3PD.js} +2 -2
  174. package/dist/esm/chunks/{chunk.Y4GKBJGI.js.map → chunk.QH2GB3PD.js.map} +2 -2
  175. package/dist/esm/chunks/{chunk.G45OZEIS.js → chunk.QUJL4A23.js} +2 -2
  176. package/dist/esm/chunks/{chunk.RG6CDWEX.js → chunk.QWKDOAOE.js} +2 -2
  177. package/dist/esm/chunks/{chunk.RG6CDWEX.js.map → chunk.QWKDOAOE.js.map} +1 -1
  178. package/dist/esm/chunks/chunk.R2E6CGZE.js +129 -0
  179. package/dist/esm/chunks/chunk.R2E6CGZE.js.map +7 -0
  180. package/dist/esm/chunks/chunk.R4B7JSSA.js +7 -0
  181. package/dist/esm/chunks/{chunk.4BEI55KI.js.map → chunk.R4B7JSSA.js.map} +1 -1
  182. package/dist/esm/chunks/chunk.RFLASSCI.js +7 -0
  183. package/dist/esm/chunks/{chunk.47A2CN5U.js.map → chunk.RFLASSCI.js.map} +1 -1
  184. package/dist/esm/chunks/chunk.RWPPN4XB.js +7 -0
  185. package/dist/esm/chunks/{chunk.M2QU3LUR.js.map → chunk.RWPPN4XB.js.map} +2 -2
  186. package/dist/esm/chunks/{chunk.H4Z4DHPA.js → chunk.RXBGYGVH.js} +2 -2
  187. package/dist/esm/chunks/{chunk.7UKA4E5A.js → chunk.S5EJVD5E.js} +2 -2
  188. package/dist/esm/chunks/{chunk.7UKA4E5A.js.map → chunk.S5EJVD5E.js.map} +1 -1
  189. package/dist/esm/chunks/{chunk.77Y3EABF.js → chunk.SCP23NBN.js} +2 -2
  190. package/dist/esm/chunks/{chunk.77Y3EABF.js.map → chunk.SCP23NBN.js.map} +1 -1
  191. package/dist/esm/chunks/{chunk.XQ2EQIDS.js → chunk.SCQVDO5I.js} +2 -2
  192. package/dist/esm/chunks/{chunk.XQ2EQIDS.js.map → chunk.SCQVDO5I.js.map} +1 -1
  193. package/dist/esm/chunks/chunk.T64UW37U.js +7 -0
  194. package/dist/esm/chunks/{chunk.JHBCYICS.js.map → chunk.T64UW37U.js.map} +1 -1
  195. package/dist/esm/chunks/{chunk.MHOS3IHQ.js → chunk.T7KUZYQ3.js} +2 -2
  196. package/dist/esm/chunks/{chunk.MHOS3IHQ.js.map → chunk.T7KUZYQ3.js.map} +1 -1
  197. package/dist/esm/chunks/{chunk.VC2BG2RS.js → chunk.TG4ZRHKV.js} +2 -2
  198. package/dist/esm/chunks/{chunk.VC2BG2RS.js.map → chunk.TG4ZRHKV.js.map} +1 -1
  199. package/dist/esm/chunks/{chunk.G5MGGEFP.js → chunk.TKDMM2ZZ.js} +2 -2
  200. package/dist/esm/chunks/{chunk.HPDBSBQJ.js → chunk.TLRRYVSN.js} +124 -24
  201. package/dist/esm/chunks/{chunk.HPDBSBQJ.js.map → chunk.TLRRYVSN.js.map} +1 -1
  202. package/dist/esm/chunks/chunk.UHTQGET5.js +201 -0
  203. package/dist/esm/chunks/{chunk.4FSAAN6W.js.map → chunk.UHTQGET5.js.map} +1 -1
  204. package/dist/esm/chunks/{chunk.SXTTEIIH.js → chunk.UROMKMFI.js} +2 -2
  205. package/dist/esm/chunks/{chunk.SXTTEIIH.js.map → chunk.UROMKMFI.js.map} +1 -1
  206. package/dist/esm/chunks/{chunk.Y72NANFX.js → chunk.UUUF27IU.js} +2 -2
  207. package/dist/esm/chunks/{chunk.Y72NANFX.js.map → chunk.UUUF27IU.js.map} +1 -1
  208. package/dist/esm/chunks/{chunk.DONAMICM.js → chunk.UV3WIHCM.js} +1 -1
  209. package/dist/esm/chunks/{chunk.DONAMICM.js.map → chunk.UV3WIHCM.js.map} +1 -1
  210. package/dist/esm/chunks/chunk.UVQIUEXO.js +7 -0
  211. package/dist/esm/chunks/{chunk.E6CYXNS2.js.map → chunk.UVQIUEXO.js.map} +2 -2
  212. package/dist/esm/chunks/{chunk.J6WCFQSS.js → chunk.UZENE2NC.js} +2 -2
  213. package/dist/esm/chunks/{chunk.J6WCFQSS.js.map → chunk.UZENE2NC.js.map} +1 -1
  214. package/dist/esm/chunks/chunk.VOGCDMLL.js +12 -0
  215. package/dist/esm/chunks/{chunk.K2C4W3CO.js → chunk.W6MDMZTN.js} +2 -2
  216. package/dist/esm/chunks/{chunk.Y66GSZJB.js → chunk.WDTA5G7R.js} +1 -1
  217. package/dist/esm/chunks/{chunk.Y66GSZJB.js.map → chunk.WDTA5G7R.js.map} +1 -1
  218. package/dist/esm/chunks/{chunk.XUW3GG46.js → chunk.XCNL2LI6.js} +2 -2
  219. package/dist/esm/chunks/{chunk.JEN6YP2Q.js → chunk.XGWGJFWC.js} +2 -2
  220. package/dist/esm/chunks/chunk.XIQFHO5R.js +7 -0
  221. package/dist/esm/chunks/{chunk.FVRSGKJD.js.map → chunk.XIQFHO5R.js.map} +2 -2
  222. package/dist/esm/chunks/chunk.XX5QEV5W.js +7 -0
  223. package/dist/esm/chunks/{chunk.44IJE5UL.js.map → chunk.XX5QEV5W.js.map} +1 -1
  224. package/dist/esm/chunks/chunk.YM6VAIY2.js +7 -0
  225. package/dist/esm/chunks/{chunk.7BOXIJAM.js → chunk.YMG4QDOY.js} +2 -2
  226. package/dist/esm/chunks/{chunk.7BOXIJAM.js.map → chunk.YMG4QDOY.js.map} +1 -1
  227. package/dist/esm/chunks/{chunk.MLV25D2G.js → chunk.YTOYNJMD.js} +2 -2
  228. package/dist/esm/chunks/{chunk.K6AFP52A.js → chunk.YYXEUR4Y.js} +2 -2
  229. package/dist/esm/chunks/{chunk.K6AFP52A.js.map → chunk.YYXEUR4Y.js.map} +1 -1
  230. package/dist/esm/chunks/{chunk.UBD2DPQN.js → chunk.ZB54OC26.js} +2 -2
  231. package/dist/esm/chunks/{chunk.UBD2DPQN.js.map → chunk.ZB54OC26.js.map} +1 -1
  232. package/dist/esm/chunks/{chunk.X5LGVZGO.js → chunk.ZJXVI6A7.js} +2 -2
  233. package/dist/esm/chunks/{chunk.X5LGVZGO.js.map → chunk.ZJXVI6A7.js.map} +1 -1
  234. package/dist/esm/circular-progress/index.js +1 -1
  235. package/dist/esm/color-picker/index.js +1 -1
  236. package/dist/esm/core/base/index.js +1 -1
  237. package/dist/esm/core/delegates/index.js +1 -1
  238. package/dist/esm/core/index.js +1 -1
  239. package/dist/esm/core/mask/index.js +1 -1
  240. package/dist/esm/core/utils/index.js +1 -1
  241. package/dist/esm/date-picker/index.js +1 -1
  242. package/dist/esm/date-range-picker/index.js +1 -1
  243. package/dist/esm/dialog/index.js +1 -1
  244. package/dist/esm/divider/index.js +1 -1
  245. package/dist/esm/drawer/base/index.js +1 -1
  246. package/dist/esm/drawer/drawer/index.js +1 -1
  247. package/dist/esm/drawer/index.js +1 -1
  248. package/dist/esm/drawer/mini-drawer/index.js +1 -1
  249. package/dist/esm/drawer/modal-drawer/index.js +1 -1
  250. package/dist/esm/expansion-panel/index.js +1 -1
  251. package/dist/esm/file-picker/index.js +1 -1
  252. package/dist/esm/floating-action-button/index.js +1 -1
  253. package/dist/esm/floating-label/index.js +1 -1
  254. package/dist/esm/icon/index.js +1 -1
  255. package/dist/esm/icon-button/index.js +1 -1
  256. package/dist/esm/index.js +1 -1
  257. package/dist/esm/inline-message/index.js +1 -1
  258. package/dist/esm/keyboard-shortcut/index.js +1 -1
  259. package/dist/esm/label-value/index.js +1 -1
  260. package/dist/esm/linear-progress/index.js +1 -1
  261. package/dist/esm/list/index.js +1 -1
  262. package/dist/esm/list/list/index.js +1 -1
  263. package/dist/esm/list/list-item/index.js +1 -1
  264. package/dist/esm/list-dropdown/index.js +1 -1
  265. package/dist/esm/menu/index.js +1 -1
  266. package/dist/esm/open-icon/index.js +1 -1
  267. package/dist/esm/page-state/index.js +1 -1
  268. package/dist/esm/paginator/index.js +1 -1
  269. package/dist/esm/popup/index.js +1 -1
  270. package/dist/esm/product-icon/index.js +1 -1
  271. package/dist/esm/profile-card/index.js +1 -1
  272. package/dist/esm/quantity-field/index.js +1 -1
  273. package/dist/esm/radio/index.js +1 -1
  274. package/dist/esm/ripple/index.js +1 -1
  275. package/dist/esm/scaffold/index.js +1 -1
  276. package/dist/esm/select/core/index.js +1 -1
  277. package/dist/esm/select/index.js +1 -1
  278. package/dist/esm/select/option/index.js +1 -1
  279. package/dist/esm/select/option-group/index.js +1 -1
  280. package/dist/esm/select/select/index.js +1 -1
  281. package/dist/esm/select/select-dropdown/index.js +1 -1
  282. package/dist/esm/skeleton/index.js +1 -1
  283. package/dist/esm/slider/index.js +1 -1
  284. package/dist/esm/split-view/index.js +1 -1
  285. package/dist/esm/split-view/split-view/index.js +1 -1
  286. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  287. package/dist/esm/stack/index.js +1 -1
  288. package/dist/esm/stepper/index.js +1 -1
  289. package/dist/esm/stepper/step/index.js +1 -1
  290. package/dist/esm/stepper/stepper/index.js +1 -1
  291. package/dist/esm/switch/index.js +1 -1
  292. package/dist/esm/table/index.js +1 -1
  293. package/dist/esm/tabs/index.js +1 -1
  294. package/dist/esm/tabs/tab/index.js +1 -1
  295. package/dist/esm/tabs/tab-bar/index.js +1 -1
  296. package/dist/esm/text-field/index.js +1 -1
  297. package/dist/esm/theme/index.js +1 -1
  298. package/dist/esm/time-picker/index.js +1 -1
  299. package/dist/esm/toast/index.js +1 -1
  300. package/dist/esm/toolbar/index.js +1 -1
  301. package/dist/esm/tooltip/index.js +1 -1
  302. package/dist/esm/utils/index.js +1 -1
  303. package/dist/esm/view-switcher/index.js +1 -1
  304. package/dist/esm/view-switcher/view/index.js +1 -1
  305. package/esm/circular-progress/circular-progress-adapter.d.ts +6 -13
  306. package/esm/circular-progress/circular-progress-adapter.js +25 -25
  307. package/esm/circular-progress/circular-progress-constants.d.ts +6 -2
  308. package/esm/circular-progress/circular-progress-constants.js +8 -3
  309. package/esm/circular-progress/circular-progress-foundation.d.ts +0 -8
  310. package/esm/circular-progress/circular-progress-foundation.js +9 -27
  311. package/esm/circular-progress/circular-progress.d.ts +24 -5
  312. package/esm/circular-progress/circular-progress.js +28 -16
  313. package/esm/core/base/base-component.d.ts +1 -2
  314. package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
  315. package/package.json +1 -2
  316. package/styles/circular-progress/_mixins.scss +13 -307
  317. package/styles/circular-progress/circular-progress.scss +8 -0
  318. package/styles/core/style-layer/circular-progress/_animations.scss +64 -0
  319. package/styles/core/style-layer/circular-progress/_core.scss +131 -0
  320. package/styles/core/style-layer/circular-progress/_variables.scss +14 -0
  321. package/styles/core/style-layer/circular-progress/index.scss +121 -0
  322. package/styles/core/style-layer/core/_config.scss +6 -0
  323. package/dist/esm/chunks/chunk.242YUZKU.js +0 -7
  324. package/dist/esm/chunks/chunk.2DXG2R3M.js +0 -73
  325. package/dist/esm/chunks/chunk.2DXG2R3M.js.map +0 -7
  326. package/dist/esm/chunks/chunk.44IJE5UL.js +0 -7
  327. package/dist/esm/chunks/chunk.47A2CN5U.js +0 -7
  328. package/dist/esm/chunks/chunk.4BEI55KI.js +0 -7
  329. package/dist/esm/chunks/chunk.4FSAAN6W.js +0 -29
  330. package/dist/esm/chunks/chunk.4NI63FGK.js +0 -7
  331. package/dist/esm/chunks/chunk.4WPFFNLH.js +0 -7
  332. package/dist/esm/chunks/chunk.5WNKQTXX.js +0 -7
  333. package/dist/esm/chunks/chunk.6OKJPSUE.js +0 -7
  334. package/dist/esm/chunks/chunk.72AUOVCD.js +0 -7
  335. package/dist/esm/chunks/chunk.7A6MX6CS.js +0 -7
  336. package/dist/esm/chunks/chunk.ABLKZXJ3.js +0 -12
  337. package/dist/esm/chunks/chunk.BTBHIIGI.js +0 -7
  338. package/dist/esm/chunks/chunk.C7AN6FMW.js +0 -7
  339. package/dist/esm/chunks/chunk.CKYHP5MC.js +0 -7
  340. package/dist/esm/chunks/chunk.DT7MZR5Y.js +0 -7
  341. package/dist/esm/chunks/chunk.DYNEJBYK.js +0 -7
  342. package/dist/esm/chunks/chunk.E6CYXNS2.js +0 -7
  343. package/dist/esm/chunks/chunk.EGRUD7S7.js +0 -7
  344. package/dist/esm/chunks/chunk.F3MP6AXF.js +0 -29
  345. package/dist/esm/chunks/chunk.F3MP6AXF.js.map +0 -7
  346. package/dist/esm/chunks/chunk.FVRSGKJD.js +0 -7
  347. package/dist/esm/chunks/chunk.G3ZTZ4AN.js +0 -7
  348. package/dist/esm/chunks/chunk.IGTXLDZS.js +0 -7
  349. package/dist/esm/chunks/chunk.ILRWZHH3.js +0 -29
  350. package/dist/esm/chunks/chunk.JHBCYICS.js +0 -7
  351. package/dist/esm/chunks/chunk.JHY2CKEH.js +0 -7
  352. package/dist/esm/chunks/chunk.M2QU3LUR.js +0 -7
  353. package/dist/esm/chunks/chunk.MCIQXNKY.js +0 -7
  354. package/dist/esm/chunks/chunk.MXTDW27J.js +0 -7
  355. package/dist/esm/chunks/chunk.RB5BTA5N.js +0 -7
  356. package/dist/esm/chunks/chunk.ROR6JMAE.js +0 -7
  357. package/dist/esm/chunks/chunk.SAQVWOVK.js +0 -7
  358. package/dist/esm/chunks/chunk.TWZXQQQO.js +0 -29
  359. package/dist/esm/chunks/chunk.TWZXQQQO.js.map +0 -7
  360. package/dist/esm/chunks/chunk.V4TCOZLK.js +0 -29
  361. package/dist/esm/chunks/chunk.V7WKXEZC.js +0 -7
  362. package/dist/esm/chunks/chunk.Y5A7RQ5M.js +0 -7
  363. package/dist/esm/chunks/chunk.YBEBD4CN.js +0 -7
  364. package/dist/esm/chunks/chunk.YI4JTY4T.js +0 -14
  365. package/dist/esm/chunks/chunk.YPZNIYQL.js +0 -7
  366. package/dist/esm/chunks/chunk.ZFHPUAYX.js +0 -7
  367. package/styles/circular-progress/_keyframes.scss +0 -185
  368. package/styles/circular-progress/_variables.scss +0 -50
  369. /package/dist/esm/chunks/{chunk.IGTXLDZS.js.map → chunk.3GZF7UI2.js.map} +0 -0
  370. /package/dist/esm/chunks/{chunk.O73S5LF3.js.map → chunk.423SNVSH.js.map} +0 -0
  371. /package/dist/esm/chunks/{chunk.AFLH5HUG.js.map → chunk.46LZNRRP.js.map} +0 -0
  372. /package/dist/esm/chunks/{chunk.UT7QUGAO.js.map → chunk.5MPUISW3.js.map} +0 -0
  373. /package/dist/esm/chunks/{chunk.IUOBRBDZ.js.map → chunk.6HMCSEKV.js.map} +0 -0
  374. /package/dist/esm/chunks/{chunk.KU5CXXGS.js.map → chunk.7KEUUHXY.js.map} +0 -0
  375. /package/dist/esm/chunks/{chunk.WP4QOOIS.js.map → chunk.7VWG4IEN.js.map} +0 -0
  376. /package/dist/esm/chunks/{chunk.ARJ3EVVO.js.map → chunk.G4IN6Y46.js.map} +0 -0
  377. /package/dist/esm/chunks/{chunk.JHY2CKEH.js.map → chunk.H5MJBEK5.js.map} +0 -0
  378. /package/dist/esm/chunks/{chunk.RBAVT3XQ.js.map → chunk.HVYK2OWE.js.map} +0 -0
  379. /package/dist/esm/chunks/{chunk.MCIQXNKY.js.map → chunk.M3QDAYD2.js.map} +0 -0
  380. /package/dist/esm/chunks/{chunk.ZUNZKRRK.js.map → chunk.OAHA3QOH.js.map} +0 -0
  381. /package/dist/esm/chunks/{chunk.EGRUD7S7.js.map → chunk.PKZYVWEG.js.map} +0 -0
  382. /package/dist/esm/chunks/{chunk.G45OZEIS.js.map → chunk.QUJL4A23.js.map} +0 -0
  383. /package/dist/esm/chunks/{chunk.H4Z4DHPA.js.map → chunk.RXBGYGVH.js.map} +0 -0
  384. /package/dist/esm/chunks/{chunk.G5MGGEFP.js.map → chunk.TKDMM2ZZ.js.map} +0 -0
  385. /package/dist/esm/chunks/{chunk.ABLKZXJ3.js.map → chunk.VOGCDMLL.js.map} +0 -0
  386. /package/dist/esm/chunks/{chunk.K2C4W3CO.js.map → chunk.W6MDMZTN.js.map} +0 -0
  387. /package/dist/esm/chunks/{chunk.XUW3GG46.js.map → chunk.XCNL2LI6.js.map} +0 -0
  388. /package/dist/esm/chunks/{chunk.JEN6YP2Q.js.map → chunk.XGWGJFWC.js.map} +0 -0
  389. /package/dist/esm/chunks/{chunk.DYNEJBYK.js.map → chunk.YM6VAIY2.js.map} +0 -0
  390. /package/dist/esm/chunks/{chunk.MLV25D2G.js.map → chunk.YTOYNJMD.js.map} +0 -0
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/busy-indicator/busy-indicator-constants.ts", "../../src/busy-indicator/busy-indicator-adapter.ts", "../../src/busy-indicator/busy-indicator-foundation.ts", "../../src/busy-indicator/busy-indicator.ts", "../../src/busy-indicator/index.ts"],
4
4
  "sourcesContent": ["import { BACKDROP_CONSTANTS } from '../backdrop';\nimport { COMPONENT_NAME_PREFIX } from '../constants';\nimport { LINEAR_PROGRESS_CONSTANTS } from '../linear-progress';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}busy-indicator`;\n\nconst classes = {\n SURFACE_INVISIBLE: 'forge-busy-indicator__surface--invisible',\n SURFACE_FIXED: 'forge-busy-indicator__surface--fixed'\n};\n\nconst selectors = {\n SURFACE: '.forge-busy-indicator__surface',\n SURFACE_INVISIBLE: `.${classes.SURFACE_INVISIBLE}`,\n TITLE: '.forge-busy-indicator__title',\n MESSAGE: '.forge-busy-indicator__message',\n CANCEL: '.forge-busy-indicator__cancel-button',\n SPINNER: '.forge-busy-indicator__spinner',\n PROGRESS_BAR_CONTAINER: '.forge-busy-indicator__progress-container',\n PROGRESS_BAR: `.forge-busy-indicator__progress-container ${LINEAR_PROGRESS_CONSTANTS.elementName}`,\n BACKDROP: BACKDROP_CONSTANTS.elementName\n};\n\nconst events = {\n CANCEL: `${elementName}-cancel`\n};\n\nconst strings = {\n CANCELLING: 'Cancelling...'\n};\n\nconst attributes = {\n TITLE_TEXT: 'title-text',\n MESSAGE: 'message',\n CANCEL: 'cancel',\n SPINNER: 'spinner',\n PROGRESS_BAR: 'progress-bar',\n PROGRESS_BAR_DETERMINATE: 'progress-bar-determinate',\n PROGRESS: 'progress',\n BUFFER: 'buffer',\n WIDTH: 'width',\n DIRECTION: 'direction',\n MINIMUM_VISIBLE_LIFETIME: 'minimum-visible-lifetime',\n MANAGE_FOCUS: 'manage-focus',\n PARENT_OPEN: 'forge-busy-indicator-open',\n FIXED: 'fixed'\n};\n\nconst numbers = {\n TRANSITION_LENGTH: 120\n};\n\nexport const BUSY_INDICATOR_CONSTANTS = {\n elementName,\n selectors,\n events,\n strings,\n attributes,\n numbers,\n classes\n};\n\nexport type BusyIndicatorLayoutDirection = 'row' | 'column' | undefined;\n", "import { addClass, getShadowElement, removeElement, replaceElement, getActiveElement, toggleAttribute, toggleClass } from '@tylertech/forge-core';\nimport { BackdropAppearance, BACKDROP_CONSTANTS, IBackdropComponent } from '../backdrop';\nimport { BaseAdapter, IBaseAdapter } from '../core/base/base-adapter';\nimport { ILinearProgressComponent } from '../linear-progress';\nimport { IBusyIndicatorComponent } from './busy-indicator';\nimport { BUSY_INDICATOR_CONSTANTS } from './busy-indicator-constants';\n\nexport interface IBusyIndicatorAdapter extends IBaseAdapter {\n setContainerInvisible(): void;\n setSurfaceOpacity: (opacity: number) => void;\n setFixed(value: boolean): void;\n setTitle: (title: string) => void;\n setMessage: (message: string) => void;\n setTitleVisibility: (visible: boolean) => void;\n setMessageVisibility: (visible: boolean) => void;\n setCancelButtonVisibility: (visible: boolean) => void;\n setSpinnerVisibility: (visible: boolean) => void;\n setProgressBarVisibility: (visible: boolean) => void;\n setProgressBarDeterminate: (determinate: boolean) => void;\n setProgressBarProgress: (value: number) => void;\n setProgressBarBuffer: (value: number) => void;\n addCancelButtonEventListener: (type: string, listener: () => void) => void;\n removeCancelButtonEventListener: (type: string, listener: () => void) => void;\n setCancelButtonAttribute: (name: string, value: string) => void;\n setCancelButtonText: (text: string) => void;\n setSurfaceWidth: (value: string) => void;\n captureFocus: () => void;\n remove: () => void;\n hideBackdrop: () => void;\n setBackdropAppearance(appearance: BackdropAppearance): void;\n setParentAttribute(name: string, value: string): void;\n removeParentAttribute(name: string): void;\n getFocusedElement(): HTMLElement;\n hasFocus(): boolean;\n}\n\n/**\n * Provides facilities for interacting with the internal DOM of `BusyIndicatorComponent`.\n */\nexport class BusyIndicatorAdapter extends BaseAdapter<IBusyIndicatorComponent> implements IBusyIndicatorAdapter {\n private _surfaceElement: HTMLElement;\n private _titleElement: HTMLElement;\n private _titlePlaceholderElement: Comment;\n private _messageElement: HTMLElement;\n private _messagePlaceholderElement: Comment;\n private _cancelButtonElement: HTMLElement;\n private _cancelButtonPlaceholderElement: Comment;\n private _spinnerElement: HTMLElement;\n private _spinnerPlaceholderElement: Comment;\n private _progressBarContainerElement: HTMLElement;\n private _progressBarContainerPlaceholderElement: Comment;\n private _progressBarElement: ILinearProgressComponent;\n private _backdropElement: IBackdropComponent;\n private _parentElement: HTMLElement | null = null;\n\n constructor(component: IBusyIndicatorComponent) {\n super(component);\n this._surfaceElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.SURFACE);\n this._titleElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.TITLE);\n this._messageElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.MESSAGE);\n this._cancelButtonElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.CANCEL);\n this._spinnerElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.SPINNER);\n this._progressBarContainerElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.PROGRESS_BAR_CONTAINER);\n this._progressBarElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.PROGRESS_BAR) as ILinearProgressComponent;\n this._backdropElement = getShadowElement(component, BUSY_INDICATOR_CONSTANTS.selectors.BACKDROP) as IBackdropComponent;\n }\n\n /**\n * Sets the opacity of the content element.\n * @param opacity The opacity value.\n */\n public setSurfaceOpacity(opacity: number): void {\n this._surfaceElement.style.opacity = opacity.toString();\n }\n\n public setFixed(value: boolean): void {\n toggleAttribute(this._backdropElement, value, BACKDROP_CONSTANTS.attributes.FIXED);\n toggleClass(this._surfaceElement, value, BUSY_INDICATOR_CONSTANTS.classes.SURFACE_FIXED);\n }\n\n /**\n * Sets the content of the title element.\n * @param title The title text.\n */\n public setTitle(title: string): void {\n this._titleElement.innerText = title;\n }\n\n /**\n * Sets the content of the message element.\n * @param message The message text.\n */\n public setMessage(message: string): void {\n this._messageElement.innerText = message;\n }\n\n /**\n * Sets the visibility of the title element by adding or removing it from the DOM.\n * @param visible Whether the title is visible or not.\n */\n public setTitleVisibility(visible: boolean): void {\n this._titlePlaceholderElement = this._toggleElement(visible, BUSY_INDICATOR_CONSTANTS.selectors.TITLE, this._titleElement, this._titlePlaceholderElement);\n }\n\n /**\n * Adds or removes the cancel button from the DOM.\n * @param visible The visibility value.\n */\n public setCancelButtonVisibility(visible: boolean): void {\n this._cancelButtonPlaceholderElement = this._toggleElement(visible, BUSY_INDICATOR_CONSTANTS.selectors.CANCEL, this._cancelButtonElement, this._cancelButtonPlaceholderElement);\n }\n\n /**\n * Adds or removes the message element from the DOM.\n * @param visible The visibility value.\n */\n public setMessageVisibility(visible: boolean): void {\n this._messagePlaceholderElement = this._toggleElement(visible, BUSY_INDICATOR_CONSTANTS.selectors.MESSAGE, this._messageElement, this._messagePlaceholderElement);\n }\n\n /**\n * Adds or removes the spinner element from the DOM.\n * @param visible The visibility value.\n */\n public setSpinnerVisibility(visible: boolean): void {\n this._spinnerPlaceholderElement = this._toggleElement(visible, BUSY_INDICATOR_CONSTANTS.selectors.SPINNER, this._spinnerElement, this._spinnerPlaceholderElement);\n }\n\n /**\n * Adds or removes the progress bar element from the DOM.\n * @param visible The visibility value.\n */\n public setProgressBarVisibility(visible: boolean): void {\n this._progressBarContainerPlaceholderElement = this._toggleElement(\n visible,\n BUSY_INDICATOR_CONSTANTS.selectors.PROGRESS_BAR_CONTAINER,\n this._progressBarContainerElement,\n this._progressBarContainerPlaceholderElement\n );\n }\n\n /**\n * Sets the determinate state of the progress bar component.\n * @param {boolean} determinate The determinate value.\n */\n public setProgressBarDeterminate(determinate: boolean): void {\n this._progressBarElement.determinate = determinate;\n }\n\n /**\n * Sets the progress percent for the progress bar component.\n * @param value The progress percent.\n */\n public setProgressBarProgress(value: number): void {\n this._progressBarElement.progress = value;\n }\n\n /**\n * Sets the progress bar component buffer percent.\n * @param value The buffer percent.\n */\n public setProgressBarBuffer(value: number): void {\n this._progressBarElement.buffer = value;\n }\n\n /**\n * Adds an event listener to the cancel button.\n * @param type The event type.\n * @param listener The event listener.\n */\n public addCancelButtonEventListener(type: string, listener: () => void): void {\n this._cancelButtonElement.addEventListener(type, listener);\n }\n\n /**\n * Removes an event listener from the cancel button.\n * @param type The event type.\n * @param listener The event listener.\n */\n public removeCancelButtonEventListener(type: string, listener: () => void): void {\n this._cancelButtonElement.removeEventListener(type, listener);\n }\n\n /**\n * Sets an attribute on the cancel button.\n * @param name The attribute name.\n * @param value The attribute value.\n */\n public setCancelButtonAttribute(name: string, value: string): void {\n this._cancelButtonElement.setAttribute(name, value);\n }\n\n /**\n * Sets the text displayed in the cancel button element.\n * @param text The text value.\n */\n public setCancelButtonText(text: string): void {\n this._cancelButtonElement.innerText = text;\n }\n\n /**\n * Sets the width of the surface element.\n * @param value The CSS width.\n */\n public setSurfaceWidth(value: string): void {\n this._surfaceElement.style.width = value.toString();\n }\n\n /**\n * Sets focus to the busy indicator component element.\n */\n public captureFocus(): void {\n this._surfaceElement.focus();\n }\n\n /**\n * Removes the busy indicator component from its parent.\n */\n public remove(): void {\n removeElement(this._component);\n }\n\n /**\n * Hides the backdrop by fading it out.\n */\n public hideBackdrop(): void {\n this._backdropElement.fadeOut();\n }\n\n private _toggleElement(isVisible: boolean, selector: string, element: Node, placeholder: Comment): Comment {\n const exists = !!getShadowElement(this._component, selector);\n\n if (!placeholder) {\n placeholder = document.createComment(`(${BUSY_INDICATOR_CONSTANTS.elementName}) ${selector}`);\n }\n\n if (isVisible && !exists) {\n replaceElement(element, placeholder);\n } else if (!isVisible && exists) {\n replaceElement(placeholder, element);\n }\n\n return placeholder;\n }\n\n public setContainerInvisible(): void {\n addClass(BUSY_INDICATOR_CONSTANTS.classes.SURFACE_INVISIBLE, this._surfaceElement);\n }\n\n public setBackdropAppearance(appearance: BackdropAppearance): void {\n this._backdropElement.setAttribute(BACKDROP_CONSTANTS.attributes.APPEARANCE, String(appearance));\n }\n\n public setParentAttribute(name: string, value: string): void {\n this._parentElement = this._component.parentElement;\n if (this._parentElement) {\n this._parentElement.setAttribute(name, value);\n }\n }\n\n public removeParentAttribute(name: string): void {\n if (this._parentElement) {\n this._parentElement.removeAttribute(name);\n this._parentElement = null;\n }\n }\n\n public getFocusedElement(): HTMLElement {\n return getActiveElement() as HTMLElement;\n }\n\n public hasFocus(): boolean {\n const activeElement = this.getFocusedElement();\n return this._component === activeElement || this._surfaceElement === activeElement || this._surfaceElement.contains(activeElement);\n }\n}\n", "import { ICustomElementFoundation, isDefined } from '@tylertech/forge-core';\nimport { IBusyIndicatorAdapter } from './busy-indicator-adapter';\nimport { BusyIndicatorLayoutDirection, BUSY_INDICATOR_CONSTANTS } from './busy-indicator-constants';\n\nexport interface IBusyIndicatorFoundation extends ICustomElementFoundation {\n titleText: string;\n message: string;\n cancel: boolean;\n spinner: boolean;\n progressBar: boolean;\n progressBarDeterminate: boolean;\n progress: number;\n buffer: number;\n width: number | 'auto';\n direction: BusyIndicatorLayoutDirection;\n manageFocus: boolean;\n fixed: boolean;\n hide(force?: boolean): void;\n}\n\n/**\n * Provides facilities and helper methods for creating a busy indicator component.\n */\nexport class BusyIndicatorFoundation implements IBusyIndicatorFoundation {\n private _titleText: string;\n private _message: string;\n private _canCancel = false;\n private _showSpinner = true;\n private _showProgressBar = false;\n private _progressBarDeterminate = false;\n private _progress = 0;\n private _buffer = 0;\n private _cancelListenerAttached = false;\n private _width: number | 'auto';\n private _previouslyFocusedElement?: HTMLElement;\n private _direction: BusyIndicatorLayoutDirection = 'row';\n private _manageFocus = true;\n private _fixed = true;\n\n constructor(private _adapter: IBusyIndicatorAdapter) {}\n\n public destroy(): void {\n this._adapter.removeCancelButtonEventListener('click', this._onCancelClick);\n }\n\n public show(): void {\n this._applyDirection();\n this._adapter.setParentAttribute(BUSY_INDICATOR_CONSTANTS.attributes.PARENT_OPEN, 'true');\n this._adapter.setHostAttribute('tabindex', '0');\n this._adapter.setSurfaceOpacity(0);\n this._adapter.setFixed(this._fixed);\n\n if (!this._titleText) {\n this._adapter.setTitleVisibility(false);\n }\n\n if (this._message) {\n this._adapter.setMessage(this._message);\n }\n\n this._adapter.setMessageVisibility(!!this._message);\n\n if (!this._canCancel) {\n this._adapter.setCancelButtonVisibility(false);\n } else {\n this._attachCancelClickListener();\n }\n\n if (!this._showSpinner) {\n this._adapter.setSpinnerVisibility(false);\n }\n\n if (!this._showProgressBar) {\n this._adapter.setProgressBarVisibility(false);\n } else {\n this._adapter.setProgressBarDeterminate(this._progressBarDeterminate);\n this._adapter.setProgressBarProgress(this._progress);\n this._adapter.setProgressBarBuffer(this._buffer);\n }\n\n if (this._width) {\n this._adapter.setSurfaceWidth(typeof this._width === 'number' ? `${this._width}px` : this._width);\n }\n\n if ((!this._message || this._message.length === 0) && this._showSpinner && (!this.titleText || this._titleText.length === 0) && !this._canCancel) {\n this._adapter.setContainerInvisible();\n this._adapter.setBackdropAppearance('light');\n }\n\n this.fadeIn();\n }\n\n /**\n * Removes the element from the DOM.\n * @param {boolean} [force=false] Whether to force removal of the busy indicator or not.\n */\n public hide(force = false): void {\n if (force) {\n if (this._manageFocus) {\n this._releaseFocus();\n }\n this._adapter.remove();\n this._adapter.removeParentAttribute(BUSY_INDICATOR_CONSTANTS.attributes.PARENT_OPEN);\n } else {\n this.fadeOut();\n this._adapter.hideBackdrop();\n setTimeout(() => {\n if (this._manageFocus) {\n this._releaseFocus();\n }\n this._adapter.remove();\n this._adapter.removeParentAttribute(BUSY_INDICATOR_CONSTANTS.attributes.PARENT_OPEN);\n }, BUSY_INDICATOR_CONSTANTS.numbers.TRANSITION_LENGTH);\n }\n }\n\n /** Sets the elements opacity to 0 which triggers the CSS transition to fade out. */\n public fadeOut(): void {\n this._adapter.setSurfaceOpacity(0);\n }\n\n /** Sets the elements opacity to 1 which triggers the CSS transition to fade in after the current delay value. */\n public fadeIn(): void {\n this._adapter.setSurfaceOpacity(1);\n if (this._manageFocus) {\n this._captureFocus();\n }\n }\n\n /** Attaches the click listener to the cancel button. */\n private _attachCancelClickListener(): void {\n if (!this._cancelListenerAttached) {\n this._adapter.addCancelButtonEventListener('click', this._onCancelClick.bind(this));\n this._cancelListenerAttached = true;\n }\n }\n\n /** Handles clicks on the cancel button. */\n private _onCancelClick(): void {\n this._adapter.setCancelButtonAttribute('disabled', 'disabled');\n this._adapter.setCancelButtonText(BUSY_INDICATOR_CONSTANTS.strings.CANCELLING);\n this._adapter.removeCancelButtonEventListener('click', this._onCancelClick);\n this._adapter.emitHostEvent(BUSY_INDICATOR_CONSTANTS.events.CANCEL);\n }\n\n /** Cache currently focused element, set focus to the busy indicator. */\n private _captureFocus(): void {\n this._previouslyFocusedElement = this._adapter.getFocusedElement();\n this._adapter.captureFocus();\n }\n\n /** Gives focus back to the element that had it when the busy indicator was displayed. */\n private _releaseFocus(): void {\n if (this._previouslyFocusedElement && this._adapter.hasFocus()) {\n this._previouslyFocusedElement.focus();\n }\n }\n\n /** The title to be displayed. */\n public set titleText(value: string) {\n if (this._titleText !== value) {\n this._titleText = value;\n this._adapter.setTitle(this._titleText);\n this._adapter.setTitleVisibility(!!this._titleText);\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.TITLE_TEXT, this._titleText);\n }\n }\n public get titleText(): string {\n return this._titleText;\n }\n\n /** The message to be displayed. */\n public set message(value: string) {\n if (this._message !== value) {\n this._message = value;\n this._adapter.setMessage(this._message);\n this._adapter.setMessageVisibility(!!this._message);\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.MESSAGE, this._message);\n }\n }\n public get message(): string {\n return this._message;\n }\n\n /** Controls whether the cancel button is visible or not. */\n public set cancel(canCancel: boolean) {\n if (this._canCancel !== canCancel) {\n this._canCancel = canCancel;\n this._adapter.setCancelButtonVisibility(!!this._canCancel);\n\n if (this._canCancel) {\n this._attachCancelClickListener();\n } else {\n this._adapter.removeCancelButtonEventListener('click', this._onCancelClick);\n }\n\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.CANCEL, this._canCancel.toString());\n }\n }\n public get cancel(): boolean {\n return this._canCancel;\n }\n\n /** Controls whether the progress spinner is visible or not. */\n public set spinner(showSpinner: boolean) {\n if (this._showSpinner !== showSpinner) {\n this._showSpinner = showSpinner;\n this._adapter.setSpinnerVisibility(!!this._showSpinner);\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.SPINNER, '' + this._showSpinner);\n }\n }\n public get spinner(): boolean {\n return this._showSpinner;\n }\n\n /** Controls whether the progres bar is visible or not. */\n public set progressBar(showProgressBar: boolean) {\n if (this._showProgressBar !== showProgressBar) {\n this._showProgressBar = showProgressBar;\n this._adapter.setProgressBarVisibility(!!this._showProgressBar);\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.PROGRESS_BAR, this._showProgressBar.toString());\n }\n }\n public get progressBar(): boolean {\n return this._showProgressBar;\n }\n\n /** Sets the progress bar mode. */\n public set progressBarDeterminate(determinate: boolean) {\n if (this._progressBarDeterminate !== determinate) {\n this._progressBarDeterminate = determinate;\n this._adapter.setProgressBarDeterminate(determinate);\n }\n }\n public get progressBarDeterminate(): boolean {\n return this._progressBarDeterminate;\n }\n\n /** The progress amount of the progress bar. */\n public set progress(value: number) {\n if (this._progress !== value && this._progressBarDeterminate) {\n this._progress = value;\n this._adapter.setProgressBarProgress(value);\n }\n }\n public get progress(): number {\n return this._progress;\n }\n\n /** The buffer amount of the progress bar. */\n public set buffer(value: number) {\n if (this._buffer !== value && this._progressBarDeterminate) {\n this._buffer = value;\n this._adapter.setProgressBarBuffer(value);\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.BUFFER, isDefined(this._buffer) ? this._buffer.toString() : '0');\n }\n }\n public get buffer(): number {\n return this._buffer;\n }\n\n public get direction(): BusyIndicatorLayoutDirection {\n return this._direction;\n }\n public set direction(value: BusyIndicatorLayoutDirection) {\n if (value !== this._direction) {\n this._direction = value;\n this._applyDirection();\n }\n }\n\n private _applyDirection(): void {\n if (this._direction) {\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.DIRECTION, String(this._direction));\n }\n }\n\n /** Sets the width of the busy indicator element. */\n public set width(value: number | 'auto') {\n if (this._width !== value) {\n if (typeof value === 'number' && value < 0) {\n value = 'auto';\n }\n this._width = value;\n this._adapter.setSurfaceWidth(typeof this._width === 'number' ? `${this._width}px` : this._width);\n this._adapter.setHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.WIDTH, this._width.toString());\n }\n }\n public get width(): number | 'auto' {\n return this._width;\n }\n\n public get manageFocus(): boolean {\n return this._manageFocus;\n }\n public set manageFocus(value: boolean) {\n if (this._manageFocus !== value) {\n this._manageFocus = value;\n this._adapter.toggleHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.MANAGE_FOCUS, this._manageFocus);\n }\n }\n\n public get fixed(): boolean {\n return this._fixed;\n }\n public set fixed(value: boolean) {\n if (this._fixed !== value) {\n this._fixed = value;\n this._adapter.setFixed(this._fixed);\n this._adapter.toggleHostAttribute(BUSY_INDICATOR_CONSTANTS.attributes.FIXED, this._fixed);\n }\n }\n}\n", "import { attachShadowTemplate, coerceNumber, CustomElement, coerceBoolean, FoundationProperty } from '@tylertech/forge-core';\nimport { BackdropComponent } from '../backdrop';\nimport { ButtonComponent } from '../button';\nimport { CircularProgressComponent } from '../circular-progress';\nimport { BaseComponent, IBaseComponent } from '../core/base/base-component';\nimport { LinearProgressComponent } from '../linear-progress';\nimport { BusyIndicatorAdapter } from './busy-indicator-adapter';\nimport { BUSY_INDICATOR_CONSTANTS, BusyIndicatorLayoutDirection } from './busy-indicator-constants';\nimport { BusyIndicatorFoundation } from './busy-indicator-foundation';\n\nconst template = '<template><forge-backdrop part=\\\"backdrop\\\" fixed></forge-backdrop><div class=\\\"forge-busy-indicator__surface\\\" role=\\\"alert\\\" aria-labelledby=\\\"title\\\" aria-describedby=\\\"message\\\" part=\\\"surface\\\" tabindex=\\\"0\\\"><h1 id=\\\"title\\\" class=\\\"forge-busy-indicator__title\\\" part=\\\"title\\\">Loading</h1><div class=\\\"forge-busy-indicator__message-container\\\" part=\\\"message-container\\\"><forge-circular-progress class=\\\"forge-busy-indicator__spinner\\\" part=\\\"spinner\\\" aria-hidden=\\\"true\\\"></forge-circular-progress><p id=\\\"message\\\" class=\\\"forge-busy-indicator__message\\\" part=\\\"message\\\"></p><forge-button class=\\\"forge-busy-indicator__forge-cancel-button\\\" part=\\\"cancel-button\\\"><button type=\\\"button\\\" class=\\\"forge-busy-indicator__cancel-button\\\" part=\\\"cancel-button-element\\\">Cancel</button></forge-button></div><div class=\\\"forge-busy-indicator__progress-container\\\" part=\\\"progress-bar-container\\\"><forge-linear-progress part=\\\"progress-bar\\\" aria-hidden=\\\"true\\\"></forge-linear-progress></div></div></template>';\nconst styles = '.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);-webkit-transition:opacity 280ms cubic-bezier(.4, 0, .2, 1);transition:opacity 280ms cubic-bezier(.4, 0, .2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color,#fff)}.forge-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-button-font-size, .875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform,uppercase);position:relative;display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:64px;border:none;outline:0;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle}.forge-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.forge-button::-moz-focus-inner{padding:0;border:0}.forge-button:active{outline:0}.forge-button:hover{cursor:pointer}.forge-button:disabled{cursor:default;pointer-events:none}.forge-button .forge-button__icon{margin-left:0;margin-right:8px;display:inline-block;font-size:1.125rem;height:1.125rem;vertical-align:top;width:1.125rem}.forge-button .forge-button__icon[dir=rtl],[dir=rtl] .forge-button .forge-button__icon{margin-left:8px;margin-right:0}.forge-button__label~.forge-button__icon{margin-left:8px;margin-right:0}.forge-button__label~.forge-button__icon[dir=rtl],[dir=rtl] .forge-button__label~.forge-button__icon{margin-left:0;margin-right:8px}svg.forge-button__icon{fill:currentColor}.forge-button--outlined .forge-button__icon,.forge-button--raised .forge-button__icon,.forge-button--unelevated .forge-button__icon{margin-left:-4px;margin-right:8px}.forge-button--outlined .forge-button__icon[dir=rtl],.forge-button--raised .forge-button__icon[dir=rtl],.forge-button--unelevated .forge-button__icon[dir=rtl],[dir=rtl] .forge-button--outlined .forge-button__icon,[dir=rtl] .forge-button--raised .forge-button__icon,[dir=rtl] .forge-button--unelevated .forge-button__icon{margin-left:8px;margin-right:-4px}.forge-button--outlined .forge-button__label~.forge-button__icon,.forge-button--raised .forge-button__label~.forge-button__icon,.forge-button--unelevated .forge-button__label~.forge-button__icon{margin-left:8px;margin-right:-4px}.forge-button--outlined .forge-button__label~.forge-button__icon[dir=rtl],.forge-button--raised .forge-button__label~.forge-button__icon[dir=rtl],.forge-button--unelevated .forge-button__label~.forge-button__icon[dir=rtl],[dir=rtl] .forge-button--outlined .forge-button__label~.forge-button__icon,[dir=rtl] .forge-button--raised .forge-button__label~.forge-button__icon,[dir=rtl] .forge-button--unelevated .forge-button__label~.forge-button__icon{margin-left:-4px;margin-right:8px}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.forge-button{--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}.forge-button .forge-button__ripple::after,.forge-button .forge-button__ripple::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.forge-button .forge-button__ripple::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-button .forge-button__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-button.mdc-ripple-upgraded .forge-button__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-button.mdc-ripple-upgraded .forge-button__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-button.mdc-ripple-upgraded--unbounded .forge-button__ripple::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-button.mdc-ripple-upgraded--foreground-activation .forge-button__ripple::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-button.mdc-ripple-upgraded--foreground-deactivation .forge-button__ripple::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-button .forge-button__ripple::after,.forge-button .forge-button__ripple::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.forge-button.mdc-ripple-upgraded .forge-button__ripple::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-button .forge-button__ripple{position:absolute;-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;overflow:hidden}.forge-button:not(.forge-button--outlined) .forge-button__ripple{top:0;left:0}.forge-button--raised{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:-webkit-box-shadow 280ms cubic-bezier(.4, 0, .2, 1);transition:-webkit-box-shadow 280ms cubic-bezier(.4, 0, .2, 1);transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1);transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),-webkit-box-shadow 280ms cubic-bezier(.4, 0, .2, 1)}.forge-button--raised:focus,.forge-button--raised:hover{-webkit-box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.forge-button--raised:active{-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.forge-button--raised:disabled{-webkit-box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.forge-button--outlined{border-style:solid}.forge-button{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small,4px);padding:0 8px 0 8px}.forge-button:not(:disabled){background-color:transparent}.forge-button:disabled{background-color:transparent}.forge-button:not(:disabled){color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}.forge-button:disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38))}.forge-button .forge-button__ripple::after,.forge-button .forge-button__ripple::before{background-color:#3f51b5;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#3f51b5))}.forge-button.mdc-ripple-surface--hover .forge-button__ripple::before,.forge-button:hover .forge-button__ripple::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-button.mdc-ripple-upgraded--background-focused .forge-button__ripple::before,.forge-button:not(.mdc-ripple-upgraded):focus .forge-button__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-button:not(.mdc-ripple-upgraded) .forge-button__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-button:not(.mdc-ripple-upgraded):active .forge-button__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-button .forge-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.forge-button--unelevated{padding:0 16px 0 16px;height:36px;border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.forge-button--unelevated:not(:disabled){background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5)}.forge-button--unelevated:disabled{background-color:rgba(0,0,0,.12);background-color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.12))}.forge-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-button--unelevated:disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38))}.forge-button--unelevated .forge-button__ripple::after,.forge-button--unelevated .forge-button__ripple::before{background-color:#fff;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-primary,#fff))}.forge-button--unelevated.mdc-ripple-surface--hover .forge-button__ripple::before,.forge-button--unelevated:hover .forge-button__ripple::before{opacity:.08;opacity:var(--mdc-ripple-hover-opacity, .08)}.forge-button--unelevated.mdc-ripple-upgraded--background-focused .forge-button__ripple::before,.forge-button--unelevated:not(.mdc-ripple-upgraded):focus .forge-button__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-focus-opacity, .24)}.forge-button--unelevated:not(.mdc-ripple-upgraded) .forge-button__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-button--unelevated:not(.mdc-ripple-upgraded):active .forge-button__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-press-opacity, .24)}.forge-button--unelevated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.forge-button--unelevated .forge-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.forge-button--raised{padding:0 16px 0 16px;height:36px;border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.forge-button--raised:not(:disabled){background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5)}.forge-button--raised:disabled{background-color:rgba(0,0,0,.12);background-color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.12))}.forge-button--raised:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-button--raised:disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38))}.forge-button--raised .forge-button__ripple::after,.forge-button--raised .forge-button__ripple::before{background-color:#fff;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-primary,#fff))}.forge-button--raised.mdc-ripple-surface--hover .forge-button__ripple::before,.forge-button--raised:hover .forge-button__ripple::before{opacity:.08;opacity:var(--mdc-ripple-hover-opacity, .08)}.forge-button--raised.mdc-ripple-upgraded--background-focused .forge-button__ripple::before,.forge-button--raised:not(.mdc-ripple-upgraded):focus .forge-button__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-focus-opacity, .24)}.forge-button--raised:not(.mdc-ripple-upgraded) .forge-button__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-button--raised:not(.mdc-ripple-upgraded):active .forge-button__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-press-opacity, .24)}.forge-button--raised.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.forge-button--raised .forge-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.forge-button--outlined{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small,4px);padding:0 15px 0 15px;border-width:1px}.forge-button--outlined:not(:disabled){background-color:transparent}.forge-button--outlined:disabled{background-color:transparent}.forge-button--outlined:not(:disabled){color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}.forge-button--outlined:disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38))}.forge-button--outlined .forge-button__ripple::after,.forge-button--outlined .forge-button__ripple::before{background-color:#3f51b5;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#3f51b5))}.forge-button--outlined.mdc-ripple-surface--hover .forge-button__ripple::before,.forge-button--outlined:hover .forge-button__ripple::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-button--outlined.mdc-ripple-upgraded--background-focused .forge-button__ripple::before,.forge-button--outlined:not(.mdc-ripple-upgraded):focus .forge-button__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-button--outlined:not(.mdc-ripple-upgraded) .forge-button__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-button--outlined:not(.mdc-ripple-upgraded):active .forge-button__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-button--outlined.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-button--outlined .forge-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.forge-button--outlined:not(:disabled){border-color:#3f51b5;border-color:var(--mdc-theme-primary,#3f51b5)}.forge-button--outlined:disabled{border-color:rgba(0,0,0,.12);border-color:var(--mdc-theme-text-disabled-on-background,rgba(0,0,0,.12))}.forge-button--outlined .forge-button__ripple{top:-1px;left:-1px;border:1px solid transparent}.forge-button--dense{height:24px;margin-top:0;margin-bottom:0;height:1.5rem}forge-button{display:inline-block}forge-button[hidden]{display:none}forge-button[disabled]{cursor:not-allowed}a.forge-hyperlink{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5);text-decoration:none}a.forge-hyperlink:visited{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}a.forge-hyperlink[disabled]{pointer-events:none;cursor:default}a.forge-hyperlink:focus,a.forge-hyperlink:hover:not([disabled]){text-decoration:underline}button.forge-hyperlink{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5);cursor:pointer;border:none;background-color:transparent;font-size:inherit;padding:0;outline:0;text-align:left}button.forge-hyperlink[disabled]{pointer-events:none;cursor:default}button.forge-hyperlink:hover:not([disabled]){text-decoration:underline}:host{outline:0;contain:content}:host([hidden]){display:none}:host([direction=row]) .forge-busy-indicator__surface{-webkit-box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface,#fff);border-radius:4px;border-radius:var(--mdc-shape-medium,4px);z-index:8;z-index:var(--forge-z-index-dialog,8);position:absolute;padding:48px;-webkit-box-sizing:border-box;box-sizing:border-box;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);-webkit-transition:opacity 120ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 120ms 0s cubic-bezier(0, 0, .2, 1);outline:0;opacity:0;min-width:280px;max-width:865px}:host([direction=row]) .forge-busy-indicator__surface .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-medium,4px)}:host([direction=row]) .forge-busy-indicator__surface--fixed{position:fixed}:host([direction=row]) .forge-busy-indicator__surface--invisible{background:0 0;-webkit-box-shadow:none;box-shadow:none;min-width:auto}:host([direction=row]) .forge-busy-indicator__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size, 1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height, 2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight,400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline5-text-decoration,inherit);text-decoration:var(--mdc-typography-headline5-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform,inherit);margin-top:-24px;margin-left:-24px}:host([direction=row]) .forge-busy-indicator__message-container{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}:host([direction=row]) .forge-busy-indicator__message{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight,400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform,inherit);color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));-webkit-box-flex:1;flex:1 auto;margin-block:0}:host([direction=row]) .forge-busy-indicator__message:nth-child(2){margin-left:16px}:host([direction=row]) .forge-busy-indicator__cancel-button{margin-left:16px}:host([direction=row]) .forge-busy-indicator__progress-container{min-width:244px;margin-top:24px}:host([direction=column]) .forge-busy-indicator__surface{-webkit-box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface,#fff);border-radius:4px;border-radius:var(--mdc-shape-medium,4px);z-index:8;z-index:var(--forge-z-index-dialog,8);position:absolute;padding:48px;-webkit-box-sizing:border-box;box-sizing:border-box;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);-webkit-transition:opacity 120ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 120ms 0s cubic-bezier(0, 0, .2, 1);outline:0;opacity:0;min-width:256px;max-width:356px}:host([direction=column]) .forge-busy-indicator__surface .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-medium,4px)}:host([direction=column]) .forge-busy-indicator__surface--invisible{background:0 0;-webkit-box-shadow:none;box-shadow:none;min-width:auto}:host([direction=column]) .forge-busy-indicator__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size, 1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height, 2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight,400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline5-text-decoration,inherit);text-decoration:var(--mdc-typography-headline5-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform,inherit);margin-top:-24px;margin-left:-24px}:host([direction=column]) .forge-busy-indicator__message-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;display:-webkit-box;display:flex;place-items:center}:host([direction=column]) .forge-busy-indicator__message{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight,400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform,inherit);color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));-webkit-box-flex:1;flex:1 auto;text-align:center;margin:0}:host([direction=column]) .forge-busy-indicator__forge-cancel-button{margin-top:16px;margin-bottom:-36px;margin-right:0;margin-left:0}:host([direction=column]) .forge-busy-indicator__progress-container{min-width:244px;margin-top:24px}:host([direction=column]) .forge-busy-indicator__spinner{margin-bottom:32px}';\n\nexport interface IBusyIndicatorComponent extends IBaseComponent {\n titleText: string;\n message: string;\n cancel: boolean;\n spinner: boolean;\n progressBar: boolean;\n progressBarDeterminate: boolean;\n progress: number;\n buffer: number;\n width: number | 'auto';\n direction: BusyIndicatorLayoutDirection;\n manageFocus: boolean;\n fixed: boolean;\n hide(force?: boolean): void;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-busy-indicator': IBusyIndicatorComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-busy-indicator-cancel': CustomEvent<void>;\n }\n}\n\n/**\n * A web component that renders a busy indicator covering its parent container.\n * \n * @tag forge-busy-indicator\n */\n@CustomElement({\n name: BUSY_INDICATOR_CONSTANTS.elementName,\n dependencies: [BackdropComponent, CircularProgressComponent, LinearProgressComponent, ButtonComponent]\n})\nexport class BusyIndicatorComponent extends BaseComponent implements IBusyIndicatorComponent {\n public static get observedAttributes(): string[] {\n return [\n BUSY_INDICATOR_CONSTANTS.attributes.TITLE_TEXT,\n BUSY_INDICATOR_CONSTANTS.attributes.MESSAGE,\n BUSY_INDICATOR_CONSTANTS.attributes.CANCEL,\n BUSY_INDICATOR_CONSTANTS.attributes.MINIMUM_VISIBLE_LIFETIME,\n BUSY_INDICATOR_CONSTANTS.attributes.DIRECTION,\n BUSY_INDICATOR_CONSTANTS.attributes.MANAGE_FOCUS,\n BUSY_INDICATOR_CONSTANTS.attributes.FIXED\n ];\n }\n\n private _foundation: BusyIndicatorFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new BusyIndicatorFoundation(new BusyIndicatorAdapter(this));\n }\n\n public initializedCallback(): void {\n this._foundation.show();\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 BUSY_INDICATOR_CONSTANTS.attributes.TITLE_TEXT:\n this.titleText = newValue;\n break;\n case BUSY_INDICATOR_CONSTANTS.attributes.MESSAGE:\n this.message = newValue;\n break;\n case BUSY_INDICATOR_CONSTANTS.attributes.CANCEL:\n this.cancel = newValue === 'true';\n break;\n case BUSY_INDICATOR_CONSTANTS.attributes.MANAGE_FOCUS:\n this.manageFocus = coerceBoolean(newValue);\n break;\n case BUSY_INDICATOR_CONSTANTS.attributes.FIXED:\n this.fixed = coerceBoolean(newValue);\n break;\n }\n }\n\n /** The title to be displayed. */\n @FoundationProperty()\n public declare titleText: string;\n\n /** The message to be displayed. */\n @FoundationProperty()\n public declare message: string;\n\n /** Controls whether the cancel button is visible or not. */\n @FoundationProperty()\n public declare cancel: boolean;\n\n /** Controls whether the progress spinner is visible or not. */\n @FoundationProperty()\n public declare spinner: boolean;\n\n /** Controls whether the progres bar is visible or not. */\n @FoundationProperty()\n public declare progressBar: boolean;\n\n /** Sets the progress bar determinate state. */\n @FoundationProperty()\n public declare progressBarDeterminate: boolean;\n\n /** The progress amount of the progress bar. */\n @FoundationProperty()\n public declare progress: number;\n\n /** The buffer amount of the progress bar. */\n @FoundationProperty()\n public declare buffer: number;\n\n /** Sets the width of the busy indicator element. */\n @FoundationProperty()\n public declare width: number | 'auto';\n\n /** The layout direction for alternative designs. */\n @FoundationProperty()\n public declare direction: BusyIndicatorLayoutDirection;\n\n /** Controls whether the component will manage capturing and relasing focus when opened/closed. */\n @FoundationProperty()\n public declare manageFocus: boolean;\n\n /**\n * Controls the `position` of the backdrop and surface element between `fixed` and `absolute` positioning. Default is `true`.\n * \n * Note: use this property when you want to render the busy indicator within a specific element where it doesn't fill the\n * full viewport heigth/width to only cover the parent element bounds.\n */\n @FoundationProperty()\n public declare fixed: boolean;\n\n /**\n * Removes the element from the DOM.\n * @param {boolean} [force=false] Whether to force removal of the busy indicator or not.\n */\n public hide(force = true): void {\n this._foundation.hide(force);\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { BusyIndicatorComponent } from './busy-indicator';\n\nexport * from './busy-indicator-adapter';\nexport * from './busy-indicator-constants';\nexport * from './busy-indicator-foundation';\nexport * from './busy-indicator';\n\nexport function defineBusyIndicatorComponent(): void {\n defineCustomElement(BusyIndicatorComponent);\n}\n"],
5
- "mappings": "ugBAIA,IAAMA,EAA2C,GAAGC,kBAE9CC,EAAU,CACd,kBAAmB,2CACnB,cAAe,sCACjB,EAEMC,EAAY,CAChB,QAAS,iCACT,kBAAmB,IAAID,EAAQ,oBAC/B,MAAO,+BACP,QAAS,iCACT,OAAQ,uCACR,QAAS,iCACT,uBAAwB,4CACxB,aAAc,6CAA6CE,EAA0B,cACrF,SAAUC,EAAmB,WA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EAmDI,yBAIAW,EAAA,CADdC,EAAmB,GAtDTZ,EAuDI,uBAIAW,EAAA,CADdC,EAAmB,GA1DTZ,EA2DI,sBAIAW,EAAA,CADdC,EAAmB,GA9DTZ,EA+DI,uBAIAW,EAAA,CADdC,EAAmB,GAlETZ,EAmEI,2BAIAW,EAAA,CADdC,EAAmB,GAtETZ,EAuEI,sCAIAW,EAAA,CADdC,EAAmB,GA1ETZ,EA2EI,wBAIAW,EAAA,CADdC,EAAmB,GA9ETZ,EA+EI,sBAIAW,EAAA,CADdC,EAAmB,GAlFTZ,EAmFI,qBAIAW,EAAA,CADdC,EAAmB,GAtFTZ,EAuFI,yBAIAW,EAAA,CADdC,EAAmB,GA1FTZ,EA2FI,2BASAW,EAAA,CADdC,EAAmB,GAnGTZ,EAoGI,qBApGJA,EAANW,EAAA,CAJNE,EAAc,CACb,KAAMR,EAAyB,YAC/B,aAAc,CAACS,EAAmBC,EAA2BC,EAAyBC,CAAe,CACvG,CAAC,GACYjB,GCvCN,SAASkB,IAAqC,CACnDC,EAAoBC,CAAsB,CAC5C",
6
6
  "names": ["elementName", "COMPONENT_NAME_PREFIX", "classes", "selectors", "LINEAR_PROGRESS_CONSTANTS", "BACKDROP_CONSTANTS", "events", "strings", "attributes", "numbers", "BUSY_INDICATOR_CONSTANTS", "BusyIndicatorAdapter", "BaseAdapter", "component", "getShadowElement", "BUSY_INDICATOR_CONSTANTS", "opacity", "value", "toggleAttribute", "BACKDROP_CONSTANTS", "toggleClass", "title", "message", "visible", "determinate", "type", "listener", "name", "text", "removeElement", "isVisible", "selector", "element", "placeholder", "exists", "replaceElement", "addClass", "appearance", "getActiveElement", "activeElement", "BusyIndicatorFoundation", "_adapter", "BUSY_INDICATOR_CONSTANTS", "force", "value", "canCancel", "showSpinner", "showProgressBar", "determinate", "isDefined", "template", "styles", "BusyIndicatorComponent", "BaseComponent", "attachShadowTemplate", "BusyIndicatorFoundation", "BusyIndicatorAdapter", "BUSY_INDICATOR_CONSTANTS", "name", "oldValue", "newValue", "coerceBoolean", "force", "__decorateClass", "FoundationProperty", "CustomElement", "BackdropComponent", "CircularProgressComponent", "LinearProgressComponent", "ButtonComponent", "defineBusyIndicatorComponent", "defineCustomElement", "BusyIndicatorComponent"]
7
7
  }
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as E}from"./chunk.7XFU2W25.js";import{a as v}from"./chunk.G5MGGEFP.js";import{a as o}from"./chunk.KTGSZEAG.js";import{g as m,l as h}from"./chunk.Y4GKBJGI.js";import{f as l,g as _}from"./chunk.PN26D52V.js";import{b as p,k as c}from"./chunk.J2M2MXP2.js";import{f as s}from"./chunk.MCIQXNKY.js";var f={OPEN:"open",DIRECTION:"direction"},D={DRAWER:"forge-drawer",LEFT:"forge-drawer--left",RIGHT:"forge-drawer--right",CLOSING:"forge-drawer--closing",CLOSED:"forge-drawer--closed",NO_TRANSITION:"forge-drawer--no-transition"},w={DRAWER:`.${D.DRAWER}`},b={AFTER_OPEN:"forge-drawer-after-open",AFTER_CLOSE:"forge-drawer-after-close"},e={attributes:f,classes:D,selectors:w,events:b};var u=class extends v{constructor(t){super(t);this._component=t;this._drawerElement=m(this._component,e.selectors.DRAWER)}proxyScrollEvent(){this.tryUnproxyScrollEvent(),this._unproxyScrollEventCb=E(this._component.shadowRoot,this._component)}tryUnproxyScrollEvent(){this._unproxyScrollEventCb&&this._unproxyScrollEventCb()}setDirection(t){switch(t){case"left":this._drawerElement.classList.remove(e.classes.RIGHT),this._drawerElement.classList.add(e.classes.LEFT);break;case"right":this._drawerElement.classList.remove(e.classes.LEFT),this._drawerElement.classList.add(e.classes.RIGHT);break}}removeDrawerClass(t){_(t,this._drawerElement)}setDrawerClass(t){l(t,this._drawerElement)}listenTransitionComplete(t){this._activeTransitionListener&&this._drawerElement.removeEventListener("transitionend",this._activeTransitionListener),this._activeTransitionListener=a=>{a.propertyName==="transform"&&(this._activeTransitionListener&&(this._drawerElement.removeEventListener("transitionend",this._activeTransitionListener),this._activeTransitionListener=void 0),t())},this._drawerElement.addEventListener("transitionend",this._activeTransitionListener)}};var C=class{constructor(r){this._adapter=r;this._open=!0;this._direction="left";this._hasInitialized=!1;this._openAnimationListener=()=>this._onOpenComplete(),this._closeAnimationListener=()=>this._onCloseComplete()}connect(){this._open?this._setOpened():this._setClosed(),this._applyDirection(),this._adapter.proxyScrollEvent(),this._hasInitialized=!0}disconnect(){this._adapter.tryUnproxyScrollEvent(),this._hasInitialized=!1}_applyDirection(){this._adapter.setDirection(this._direction),this._adapter.setHostAttribute(e.attributes.DIRECTION,p(this._direction)?this._direction.toString():"")}_onOpenComplete(){!this._open||(this._setOpened(),this._adapter.emitHostEvent(e.events.AFTER_OPEN))}_onCloseComplete(){this._open||(this._setClosed(),this._adapter.emitHostEvent(e.events.AFTER_CLOSE))}_setOpened(){this._adapter.removeDrawerClass([e.classes.CLOSED,e.classes.CLOSING]),this._adapter.setHostAttribute(e.attributes.OPEN)}_setClosed(){this._adapter.removeDrawerClass([e.classes.CLOSING,e.classes.NO_TRANSITION]),this._adapter.setDrawerClass(e.classes.CLOSED),this._adapter.removeHostAttribute(e.attributes.OPEN)}_applyOpen(){this._open?(this._triggerDrawerOpen(),this._adapter.setHostAttribute(e.attributes.OPEN)):(this._triggerDrawerClose(),this._adapter.removeHostAttribute(e.attributes.OPEN))}_triggerDrawerOpen(){this._adapter.listenTransitionComplete(this._openAnimationListener),this._adapter.removeDrawerClass([e.classes.CLOSED,e.classes.CLOSING])}_triggerDrawerClose(){this._adapter.listenTransitionComplete(this._closeAnimationListener),this._adapter.setDrawerClass(e.classes.CLOSING)}get open(){return this._open}set open(r){this._open!==r&&(this._open=r,this._hasInitialized&&this._applyOpen())}get direction(){return this._direction}set direction(r){this._direction!==r&&(this._direction=r,this._hasInitialized&&this._applyDirection())}};var i=class extends h{constructor(){super()}static get observedAttributes(){return[e.attributes.OPEN,e.attributes.DIRECTION]}connectedCallback(){this._foundation.connect()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(t,a,d){switch(t){case e.attributes.OPEN:this.open=c(d);break;case e.attributes.DIRECTION:this.direction=d;break}}};s([o()],i.prototype,"open",2),s([o()],i.prototype,"direction",2);export{e as a,u as b,C as c,i as d};
7
- //# sourceMappingURL=chunk.UBD2DPQN.js.map
6
+ import{a as E}from"./chunk.7XFU2W25.js";import{a as o}from"./chunk.NVUMRW44.js";import{a as v}from"./chunk.TKDMM2ZZ.js";import{g as m,l as h}from"./chunk.QH2GB3PD.js";import{f as l,g as _}from"./chunk.CFDK4RCW.js";import{b as p,k as c}from"./chunk.J2M2MXP2.js";import{d as s}from"./chunk.M3QDAYD2.js";var f={OPEN:"open",DIRECTION:"direction"},D={DRAWER:"forge-drawer",LEFT:"forge-drawer--left",RIGHT:"forge-drawer--right",CLOSING:"forge-drawer--closing",CLOSED:"forge-drawer--closed",NO_TRANSITION:"forge-drawer--no-transition"},w={DRAWER:`.${D.DRAWER}`},b={AFTER_OPEN:"forge-drawer-after-open",AFTER_CLOSE:"forge-drawer-after-close"},e={attributes:f,classes:D,selectors:w,events:b};var u=class extends v{constructor(t){super(t);this._component=t;this._drawerElement=m(this._component,e.selectors.DRAWER)}proxyScrollEvent(){this.tryUnproxyScrollEvent(),this._unproxyScrollEventCb=E(this._component.shadowRoot,this._component)}tryUnproxyScrollEvent(){this._unproxyScrollEventCb&&this._unproxyScrollEventCb()}setDirection(t){switch(t){case"left":this._drawerElement.classList.remove(e.classes.RIGHT),this._drawerElement.classList.add(e.classes.LEFT);break;case"right":this._drawerElement.classList.remove(e.classes.LEFT),this._drawerElement.classList.add(e.classes.RIGHT);break}}removeDrawerClass(t){_(t,this._drawerElement)}setDrawerClass(t){l(t,this._drawerElement)}listenTransitionComplete(t){this._activeTransitionListener&&this._drawerElement.removeEventListener("transitionend",this._activeTransitionListener),this._activeTransitionListener=a=>{a.propertyName==="transform"&&(this._activeTransitionListener&&(this._drawerElement.removeEventListener("transitionend",this._activeTransitionListener),this._activeTransitionListener=void 0),t())},this._drawerElement.addEventListener("transitionend",this._activeTransitionListener)}};var C=class{constructor(r){this._adapter=r;this._open=!0;this._direction="left";this._hasInitialized=!1;this._openAnimationListener=()=>this._onOpenComplete(),this._closeAnimationListener=()=>this._onCloseComplete()}connect(){this._open?this._setOpened():this._setClosed(),this._applyDirection(),this._adapter.proxyScrollEvent(),this._hasInitialized=!0}disconnect(){this._adapter.tryUnproxyScrollEvent(),this._hasInitialized=!1}_applyDirection(){this._adapter.setDirection(this._direction),this._adapter.setHostAttribute(e.attributes.DIRECTION,p(this._direction)?this._direction.toString():"")}_onOpenComplete(){this._open&&(this._setOpened(),this._adapter.emitHostEvent(e.events.AFTER_OPEN))}_onCloseComplete(){this._open||(this._setClosed(),this._adapter.emitHostEvent(e.events.AFTER_CLOSE))}_setOpened(){this._adapter.removeDrawerClass([e.classes.CLOSED,e.classes.CLOSING]),this._adapter.setHostAttribute(e.attributes.OPEN)}_setClosed(){this._adapter.removeDrawerClass([e.classes.CLOSING,e.classes.NO_TRANSITION]),this._adapter.setDrawerClass(e.classes.CLOSED),this._adapter.removeHostAttribute(e.attributes.OPEN)}_applyOpen(){this._open?(this._triggerDrawerOpen(),this._adapter.setHostAttribute(e.attributes.OPEN)):(this._triggerDrawerClose(),this._adapter.removeHostAttribute(e.attributes.OPEN))}_triggerDrawerOpen(){this._adapter.listenTransitionComplete(this._openAnimationListener),this._adapter.removeDrawerClass([e.classes.CLOSED,e.classes.CLOSING])}_triggerDrawerClose(){this._adapter.listenTransitionComplete(this._closeAnimationListener),this._adapter.setDrawerClass(e.classes.CLOSING)}get open(){return this._open}set open(r){this._open!==r&&(this._open=r,this._hasInitialized&&this._applyOpen())}get direction(){return this._direction}set direction(r){this._direction!==r&&(this._direction=r,this._hasInitialized&&this._applyDirection())}};var i=class extends h{constructor(){super()}static get observedAttributes(){return[e.attributes.OPEN,e.attributes.DIRECTION]}connectedCallback(){this._foundation.connect()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(t,a,d){switch(t){case e.attributes.OPEN:this.open=c(d);break;case e.attributes.DIRECTION:this.direction=d;break}}};s([o()],i.prototype,"open",2),s([o()],i.prototype,"direction",2);export{e as a,u as b,C as c,i as d};
7
+ //# sourceMappingURL=chunk.ZB54OC26.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/drawer/base/base-drawer-constants.ts", "../../src/drawer/base/base-drawer-adapter.ts", "../../src/drawer/base/base-drawer-foundation.ts", "../../src/drawer/base/base-drawer.ts"],
4
4
  "sourcesContent": ["const attributes = {\n OPEN: 'open',\n DIRECTION: 'direction'\n};\n\nconst classes = {\n DRAWER: 'forge-drawer',\n LEFT: 'forge-drawer--left',\n RIGHT: 'forge-drawer--right',\n CLOSING: 'forge-drawer--closing',\n CLOSED: 'forge-drawer--closed',\n NO_TRANSITION: 'forge-drawer--no-transition'\n};\n\nconst selectors = {\n DRAWER: `.${classes.DRAWER}`\n};\n\nconst events = {\n AFTER_OPEN: `forge-drawer-after-open`,\n AFTER_CLOSE: `forge-drawer-after-close`\n};\n\nexport const BASE_DRAWER_CONSTANTS = {\n attributes,\n classes,\n selectors,\n events\n};\n\nexport type DrawerDirection = 'left' | 'right';\n", "import { addClass, getShadowElement, removeClass } from '@tylertech/forge-core';\nimport { proxyShadowScrollEvent } from '../../core/utils/event-utils';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { IBaseDrawerComponent } from './base-drawer';\nimport { DrawerDirection, BASE_DRAWER_CONSTANTS } from './base-drawer-constants';\n\nexport interface IBaseDrawerAdapter extends IBaseAdapter {\n proxyScrollEvent(): void;\n tryUnproxyScrollEvent(): void;\n setDirection(direction: DrawerDirection): void;\n removeDrawerClass(className: string | string[]): void;\n setDrawerClass(className: string | string[]): void;\n listenTransitionComplete(listener: () => void): void;\n}\n\nexport class BaseDrawerAdapter extends BaseAdapter<IBaseDrawerComponent> implements IBaseDrawerAdapter {\n protected _drawerElement: HTMLElement;\n private _activeTransitionListener: ((evt: TransitionEvent) => void) | undefined;\n private _unproxyScrollEventCb: (() => void) | undefined;\n\n constructor(protected _component: IBaseDrawerComponent) {\n super(_component);\n this._drawerElement = getShadowElement(this._component, BASE_DRAWER_CONSTANTS.selectors.DRAWER);\n }\n\n public proxyScrollEvent(): void {\n // We proxy the scroll event because our internal scroll container does not dispatch this event outside of the shadow root to any listeners.\n // This is a problem because if we have any components that need to react to the scroll event, such as our popup elements, they will not be\n // notified. This will ensure we always proxy this event out from the host. \n this.tryUnproxyScrollEvent();\n this._unproxyScrollEventCb = proxyShadowScrollEvent(this._component.shadowRoot as ShadowRoot, this._component);\n }\n\n public tryUnproxyScrollEvent(): void {\n if (this._unproxyScrollEventCb) {\n this._unproxyScrollEventCb();\n }\n }\n\n public setDirection(direction: DrawerDirection): void {\n switch (direction) {\n case 'left':\n this._drawerElement.classList.remove(BASE_DRAWER_CONSTANTS.classes.RIGHT);\n this._drawerElement.classList.add(BASE_DRAWER_CONSTANTS.classes.LEFT);\n break;\n case 'right':\n this._drawerElement.classList.remove(BASE_DRAWER_CONSTANTS.classes.LEFT);\n this._drawerElement.classList.add(BASE_DRAWER_CONSTANTS.classes.RIGHT);\n break;\n }\n }\n\n public removeDrawerClass(className: string | string[]): void {\n removeClass(className, this._drawerElement);\n }\n\n public setDrawerClass(className: string | string[]): void {\n addClass(className, this._drawerElement);\n }\n\n public listenTransitionComplete(listener: () => void): void {\n if (this._activeTransitionListener) {\n this._drawerElement.removeEventListener('transitionend', this._activeTransitionListener);\n }\n this._activeTransitionListener = (evt: TransitionEvent) => {\n if (evt.propertyName === 'transform') {\n if (this._activeTransitionListener) {\n this._drawerElement.removeEventListener('transitionend', this._activeTransitionListener);\n this._activeTransitionListener = undefined;\n }\n listener();\n }\n };\n this._drawerElement.addEventListener('transitionend', this._activeTransitionListener);\n }\n}\n", "import { ICustomElementFoundation, isDefined } from '@tylertech/forge-core';\nimport { IBaseDrawerAdapter } from './base-drawer-adapter';\nimport { DrawerDirection, BASE_DRAWER_CONSTANTS } from './base-drawer-constants';\n\nexport interface IBaseDrawerFoundation extends ICustomElementFoundation {\n direction: DrawerDirection;\n}\n\nexport class BaseDrawerFoundation implements IBaseDrawerFoundation {\n protected _open = true;\n protected _direction: DrawerDirection = 'left';\n private _hasInitialized = false;\n private _openAnimationListener: () => void;\n private _closeAnimationListener: () => void;\n\n constructor(protected _adapter: IBaseDrawerAdapter) {\n this._openAnimationListener = () => this._onOpenComplete();\n this._closeAnimationListener = () => this._onCloseComplete();\n }\n\n public connect(): void {\n if (this._open) {\n this._setOpened();\n } else {\n this._setClosed();\n }\n\n this._applyDirection();\n this._adapter.proxyScrollEvent();\n this._hasInitialized = true;\n }\n\n public disconnect(): void {\n this._adapter.tryUnproxyScrollEvent();\n this._hasInitialized = false;\n }\n\n private _applyDirection(): void {\n this._adapter.setDirection(this._direction);\n this._adapter.setHostAttribute(BASE_DRAWER_CONSTANTS.attributes.DIRECTION, isDefined(this._direction) ? this._direction.toString() : '');\n }\n\n private _onOpenComplete(): void {\n if (!this._open) {\n return;\n }\n this._setOpened();\n this._adapter.emitHostEvent(BASE_DRAWER_CONSTANTS.events.AFTER_OPEN);\n }\n \n private _onCloseComplete(): void {\n if (this._open) {\n return;\n }\n this._setClosed();\n this._adapter.emitHostEvent(BASE_DRAWER_CONSTANTS.events.AFTER_CLOSE);\n }\n\n private _setOpened(): void {\n this._adapter.removeDrawerClass([BASE_DRAWER_CONSTANTS.classes.CLOSED, BASE_DRAWER_CONSTANTS.classes.CLOSING]);\n this._adapter.setHostAttribute(BASE_DRAWER_CONSTANTS.attributes.OPEN);\n }\n\n private _setClosed(): void {\n this._adapter.removeDrawerClass([BASE_DRAWER_CONSTANTS.classes.CLOSING, BASE_DRAWER_CONSTANTS.classes.NO_TRANSITION]);\n this._adapter.setDrawerClass(BASE_DRAWER_CONSTANTS.classes.CLOSED);\n this._adapter.removeHostAttribute(BASE_DRAWER_CONSTANTS.attributes.OPEN);\n }\n\n protected _applyOpen(): void {\n if (this._open) {\n this._triggerDrawerOpen();\n this._adapter.setHostAttribute(BASE_DRAWER_CONSTANTS.attributes.OPEN);\n } else {\n this._triggerDrawerClose();\n this._adapter.removeHostAttribute(BASE_DRAWER_CONSTANTS.attributes.OPEN);\n }\n }\n\n protected _triggerDrawerOpen(): void {\n this._adapter.listenTransitionComplete(this._openAnimationListener);\n this._adapter.removeDrawerClass([BASE_DRAWER_CONSTANTS.classes.CLOSED, BASE_DRAWER_CONSTANTS.classes.CLOSING]);\n }\n\n protected _triggerDrawerClose(): void {\n this._adapter.listenTransitionComplete(this._closeAnimationListener);\n this._adapter.setDrawerClass(BASE_DRAWER_CONSTANTS.classes.CLOSING);\n }\n\n public get open(): boolean {\n return this._open;\n }\n public set open(value: boolean) {\n if (this._open !== value) {\n this._open = value;\n if (this._hasInitialized) {\n this._applyOpen();\n }\n }\n }\n\n public get direction(): DrawerDirection {\n return this._direction;\n }\n public set direction(value: DrawerDirection) {\n if (this._direction !== value) {\n this._direction = value;\n if (this._hasInitialized) {\n this._applyDirection();\n }\n }\n }\n}\n", "import { coerceBoolean, FoundationProperty } from '@tylertech/forge-core';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\nimport { BASE_DRAWER_CONSTANTS, DrawerDirection } from './base-drawer-constants';\nimport { BaseDrawerFoundation } from './base-drawer-foundation';\n\nexport interface IBaseDrawerComponent extends IBaseComponent {\n open: boolean;\n direction: DrawerDirection;\n}\n\ndeclare global {\n interface HTMLElementEventMap {\n 'forge-drawer-after-open': CustomEvent<void>;\n 'forge-drawer-after-close': CustomEvent<void>;\n }\n}\n\nexport abstract class BaseDrawerComponent<T extends BaseDrawerFoundation> extends BaseComponent implements IBaseDrawerComponent {\n public static get observedAttributes(): string[] {\n return [\n BASE_DRAWER_CONSTANTS.attributes.OPEN,\n BASE_DRAWER_CONSTANTS.attributes.DIRECTION\n ];\n }\n\n protected abstract _foundation: T;\n\n constructor() {\n super();\n }\n\n public connectedCallback(): void {\n this._foundation.connect();\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 BASE_DRAWER_CONSTANTS.attributes.OPEN:\n this.open = coerceBoolean(newValue);\n break;\n case BASE_DRAWER_CONSTANTS.attributes.DIRECTION:\n this.direction = newValue as DrawerDirection;\n break;\n }\n }\n\n /** Toggles whether a `dismissible` or `modal` drawer is open or not. Has no effect on `permanent` drawers. */\n @FoundationProperty()\n public declare open: boolean;\n\n /** Controls the laytout direction of the drawer for positioning on the left vs. right side of the screen. */\n @FoundationProperty()\n public declare direction: DrawerDirection;\n}\n"],
5
- "mappings": "6SAAA,IAAMA,EAAa,CACjB,KAAM,OACN,UAAW,WACb,EAEMC,EAAU,CACd,OAAQ,eACR,KAAM,qBACN,MAAO,sBACP,QAAS,wBACT,OAAQ,uBACR,cAAe,6BACjB,EAEMC,EAAY,CAChB,OAAQ,IAAID,EAAQ,QACtB,EAEME,EAAS,CACb,WAAY,0BACZ,YAAa,0BACf,EAEaC,EAAwB,CACnC,WAAAJ,EACA,QAAAC,EACA,UAAAC,EACA,OAAAC,CACF,ECbO,IAAME,EAAN,cAAgCC,CAAgE,CAKrG,YAAsBC,EAAkC,CACtD,MAAMA,CAAU,EADI,gBAAAA,EAEpB,KAAK,eAAiBC,EAAiB,KAAK,WAAYC,EAAsB,UAAU,MAAM,CAChG,CAEO,kBAAyB,CAI9B,KAAK,sBAAsB,EAC3B,KAAK,sBAAwBC,EAAuB,KAAK,WAAW,WAA0B,KAAK,UAAU,CAC/G,CAEO,uBAA8B,CAC/B,KAAK,uBACP,KAAK,sBAAsB,CAE/B,CAEO,aAAaC,EAAkC,CACpD,OAAQA,OACD,OACH,KAAK,eAAe,UAAU,OAAOF,EAAsB,QAAQ,KAAK,EACxE,KAAK,eAAe,UAAU,IAAIA,EAAsB,QAAQ,IAAI,EACpE,UACG,QACH,KAAK,eAAe,UAAU,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A0B,CAC/B,KAAK,YAAY,QAAQ,CAC3B,CAEO,sBAA6B,CAClC,KAAK,YAAY,WAAW,CAC9B,CAEO,yBAAyBC,EAAcC,EAAkBC,EAAwB,CACtF,OAAQF,EAAM,CACZ,KAAKD,EAAsB,WAAW,KACpC,KAAK,KAAOI,EAAcD,CAAQ,EAClC,MACF,KAAKH,EAAsB,WAAW,UACpC,KAAK,UAAYG,EACjB,KACJ,CACF,CASF,EALiBE,EAAA,CADdC,EAAmB,GAlCAR,EAmCL,oBAIAO,EAAA,CADdC,EAAmB,GAtCAR,EAuCL",
6
6
  "names": ["attributes", "classes", "selectors", "events", "BASE_DRAWER_CONSTANTS", "BaseDrawerAdapter", "BaseAdapter", "_component", "getShadowElement", "BASE_DRAWER_CONSTANTS", "proxyShadowScrollEvent", "direction", "className", "removeClass", "addClass", "listener", "evt", "BaseDrawerFoundation", "_adapter", "BASE_DRAWER_CONSTANTS", "isDefined", "value", "BaseDrawerComponent", "BaseComponent", "BASE_DRAWER_CONSTANTS", "name", "oldValue", "newValue", "coerceBoolean", "__decorateClass", "FoundationProperty"]
7
7
  }
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as b}from"./chunk.DT7MZR5Y.js";import{a as I}from"./chunk.MLV25D2G.js";import{a as E}from"./chunk.7A6MX6CS.js";import{a as g}from"./chunk.YI4JTY4T.js";import{a as y}from"./chunk.FVRSGKJD.js";import{c as f,d as k}from"./chunk.U6WGJELL.js";import{a as C}from"./chunk.G5MGGEFP.js";import{a as l}from"./chunk.KTGSZEAG.js";import{g as v,l as m}from"./chunk.Y4GKBJGI.js";import{m as D}from"./chunk.PN26D52V.js";import{a as h,g as u,k as d,m as _}from"./chunk.J2M2MXP2.js";import{f as r}from"./chunk.MCIQXNKY.js";var P={MIN:"min",MAX:"max",OPEN:"open",DISABLED:"disabled",POPUP_CLASSES:"popup-classes",MASKED:"masked",MASK_FORMAT:"mask-format",SHOW_MASK_FORMAT:"show-mask-format",VALUE_MODE:"value-mode",ALLOW_INVALID_DATE:"allow-invalid-date",SHOW_TODAY:"show-today",SHOW_CLEAR:"show-clear",DISABLED_DAYS_OF_WEEK:"disabled-days-of-week",YEAR_RANGE:"year-range"},S={TOGGLE:"forge-date-picker-toggle"},O={INPUT:"input",TOGGLE:"[forge-date-picker-toggle],[data-forge-date-picker-toggle]"},s={observedAttributes:P,attributes:S,selectors:O};var n=class extends m{constructor(){super()}async connectedCallback(){this.querySelector(s.selectors.INPUT)?this._foundation.initialize():(await D(this,s.selectors.INPUT),this._foundation.initialize())}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(t,a,i){switch(t){case s.observedAttributes.MIN:this.min=i;break;case s.observedAttributes.MAX:this.max=i;break;case s.observedAttributes.OPEN:this.open=d(i);break;case s.observedAttributes.POPUP_CLASSES:this.popupClasses=i;break;case s.observedAttributes.DISABLED:this.disabled=d(i);break;case s.observedAttributes.MASKED:this.masked=d(i);break;case s.observedAttributes.SHOW_MASK_FORMAT:this.showMaskFormat=d(i);break;case s.observedAttributes.MASK_FORMAT:this.maskFormat=i;break;case s.observedAttributes.VALUE_MODE:this.valueMode=i;break;case s.observedAttributes.ALLOW_INVALID_DATE:this.allowInvalidDate=d(i);break;case s.observedAttributes.SHOW_TODAY:this.showToday=d(i);break;case s.observedAttributes.SHOW_CLEAR:this.showClear=d(i);break;case s.observedAttributes.DISABLED_DAYS_OF_WEEK:this.disabledDaysOfWeek=_(i);break;case s.observedAttributes.YEAR_RANGE:this.yearRange=i;break}}};r([l()],n.prototype,"value",2),r([l()],n.prototype,"min",2),r([l()],n.prototype,"max",2),r([l()],n.prototype,"disabledDates",2),r([l()],n.prototype,"open",2),r([l()],n.prototype,"popupClasses",2),r([l()],n.prototype,"disabled",2),r([l()],n.prototype,"masked",2),r([l()],n.prototype,"maskFormat",2),r([l()],n.prototype,"showMaskFormat",2),r([l()],n.prototype,"valueMode",2),r([l()],n.prototype,"notifyInputValueChanges",2),r([l()],n.prototype,"allowInvalidDate",2),r([l()],n.prototype,"showToday",2),r([l()],n.prototype,"showClear",2),r([l()],n.prototype,"parseCallback",2),r([l()],n.prototype,"formatCallback",2),r([l()],n.prototype,"prepareMaskCallback",2),r([l()],n.prototype,"disabledDaysOfWeek",2),r([l()],n.prototype,"disableDayCallback",2),r([l()],n.prototype,"yearRange",2);function w(p){let e=document.createElement("forge-icon-button");e.slot="trailing",e.dense=!0,e.densityLevel=3,e.style.marginRight="4px";let t=document.createElement("button");t.type="button",t.tabIndex=-1,t.setAttribute("aria-label","Toggle calendar"),e.appendChild(t);let a=document.createElement("forge-icon");return a.name=p,t.appendChild(a),e}var M=class extends C{constructor(t){super(t);this._valueChangeListeners=[];this._identifier=h()}initialize(){this._initializeInput()}destroy(){var t;(t=this._calendarDropdown)==null||t.destroy(),this.destroyValueChangeListener()}destroyValueChangeListener(){this._valueChangeListeners.forEach(t=>t())}addToggleListener(t,a){var i;(i=this._toggleElement)==null||i.addEventListener(t,a)}removeToggleListener(t,a){var i;(i=this._toggleElement)==null||i.removeEventListener(t,a)}attachCalendar(t,a){var i,o,c;if(this._calendarDropdown&&((i=this._calendarDropdown)==null||i.destroy()),this._initializeCalendarDropdown(),!this._calendarDropdown)throw new Error("CalendarDropdown was not initialized.");a&&Object.assign(this._calendarDropdown,a),this._calendarDropdown.open(t),(o=this._calendarDropdown.dropdownElement)==null||o.style.setProperty("--forge-calendar-width","320px"),(c=this._calendarDropdown.calendar)==null||c.style.setProperty("margin","8px")}detachCalendar(){this._calendarDropdown&&this._calendarDropdown.isOpen&&this._calendarDropdown.close()}goToCalendarDate(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.goToDate(t,!0)}addDateSelectListener(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.addEventListener(b.events.DATE_SELECT,t)}removeDateSelectListener(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.removeEventListener(b.events.DATE_SELECT,t)}setCalendarValue(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.value=t)}setCalendarMinDate(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.min=t)}setCalendarMaxDate(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.max=t)}setCalendarDisabledDates(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.disabledDates=t)}setCalendarDisabledDaysOfWeek(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.disabledDaysOfWeek=t)}setCalendarDisableDayCallback(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.disabledDateBuilder=t)}setCalendarActiveDate(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.setActiveDate(t)}getCalendarActiveDate(){var t,a;return(a=(t=this._calendarDropdown)==null?void 0:t.calendar)==null?void 0:a.activeDate}setCalendarYearRange(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)!=null&&i.yearRange&&(this._calendarDropdown.calendar.yearRange=t)}propagateCalendarKey(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.handleKey(t)}tryCreateToggle(){let t=this._component.querySelector("forge-text-field"),a=this._component.querySelector(s.selectors.TOGGLE);if(t){let i=t.querySelector(`${E.elementName}[slot=trailing]`);if(i||a){this._toggleElement=i||a;return}let o=this._createToggleElement();t.appendChild(o),this._toggleElement=o}else a&&(this._toggleElement=a)}_createToggleElement(){return w("insert_invitation")}_getDefaultTargetElement(){let t=this._component.querySelector("forge-text-field");if(t&&t.shadowRoot){let a=v(t,I.selectors.ROOT);if(a)return a}return this._component.querySelector("input")||this._component}};var A=class{constructor(e){this._adapter=e;this._value=null;this._min=null;this._max=null;this._disabledDates=null;this._open=!1;this._disabled=!1;this._masked=!0;this._maskFormat=y;this._showMaskFormat=!1;this._valueMode="object";this._notifyInputValueChanges=!0;this._allowInvalidDate=!1;this._showToday=!1;this._showClear=!1;this._yearRange="-50:+50";this._isInitialized=!1;this._inputListener=t=>this._onInput(t),this._inputKeydownListener=t=>this._onInputKeydown(t),this._inputFocusListener=t=>this._onInputFocus(t),this._inputBlurListener=t=>this._onInputBlur(t),this._inputValueChangedListener=t=>this._onInputValueChanged(t),this._dropdownCloseListener=()=>this._onDropdownClose(),this._toggleMousedownListener=t=>this._onToggleMousedown(t),this._dateSelectListener=t=>this._onDateSelected(t.detail),this._activeChangeListener=t=>this._onActiveDescendantChanged(t),this._todayListener=()=>this._onToday(),this._clearListener=()=>this._onClear()}initialize(){var e;if(this._adapter.initialize(),this._adapter.initializeAccessibility(),!this._adapter.hasInputElement())throw new Error("Unable to locate child <input> element.");(e=this._initializeState)==null||e.call(this),this._adapter.tryCreateToggle(),this._masked||this._setInputChangeListeners(),this._initializeListeners(),this._setFormattedInputValue(!0),this._applyDisabled(),this._applyMask(),this._initializeValueChangedListeners(),this._isInitialized=!0}disconnect(){this._isInitialized=!1,this._destroyListeners(),this._masked&&this._adapter.destroyMask(),this._closeCalendar(),this._adapter.destroy()}_initializeListeners(){this._adapter.addToggleListener("mousedown",this._toggleMousedownListener),this._adapter.addInputListener("keydown",this._inputKeydownListener,!0),this._adapter.addInputListener("focus",this._inputFocusListener),this._adapter.addInputListener("blur",this._inputBlurListener)}_initializeValueChangedListeners(){this._adapter.setInputValueChangedListener(this,this._inputValueChangedListener)}_setInputChangeListeners(){this._adapter.addInputListener("input",this._inputListener)}_removeInputChangeListeners(){this._adapter.removeInputListener("input",this._inputListener)}_destroyListeners(){this._adapter.removeToggleListener("mousedown",this._toggleMousedownListener),this._adapter.removeInputListener("keydown",this._inputKeydownListener,!0),this._adapter.removeInputListener("focus",this._inputFocusListener),this._adapter.removeInputListener("blur",this._inputBlurListener),this._removeInputChangeListeners()}_onInput(e){this._handleInput(this._adapter.getInputValue())}_onInputFocus(e){this._adapter.selectInputText()}_onInputBlur(e){this._formatInputValue(),this._open&&!this._adapter.isInputFocused()&&this._closeCalendar(!0)}_openCalendar(e=!1){this._formatInputValue();let t={mode:this._mode,value:this._getCurrentValue(),min:this._min,max:this._max,disabledDates:this._disabledDates,yearRange:this._yearRange,todayButton:this._showToday,clearButton:this._showClear,todayCallback:this._todayListener,clearCallback:this._clearListener,disabledDateBuilder:this._disableDayCallback,disabledDaysOfWeek:this._disabledDaysOfWeek,preventFocus:!0,menuAnimation:"fade",fixedHeight:!0,selectionFollowsMonth:!0},a={popupClasses:this._popupClasses,closeCallback:this._dropdownCloseListener,activeChangeCallback:this._activeChangeListener};this._adapter.attachCalendar(t,a),this._adapter.addDateSelectListener(this._dateSelectListener),this._open=!0,this._adapter.setHostAttribute(s.observedAttributes.OPEN),e&&this._emitOpenEvent()}_closeCalendar(e=!1){this._open=!1,this._adapter.removeHostAttribute(s.observedAttributes.OPEN),this._adapter.removeDateSelectListener(this._dateSelectListener),this._adapter.detachCalendar(),e&&this._emitCloseEvent()}_onInputKeydown(e){if(e.shiftKey)switch(e.key){case"Delete":case"Backspace":e.preventDefault(),this._onClear(),this._open&&this._closeCalendar(!0);return;case"ArrowLeft":case"ArrowRight":case"m":case"M":case"y":case"Y":case"d":case"D":if(this._open){e.preventDefault(),this._adapter.propagateCalendarKey(e);return}break}switch(e.key){case"Escape":this._open&&(e.preventDefault(),e.stopPropagation(),this._closeCalendar(!0));break;case"ArrowDown":e.preventDefault(),this._open?this._adapter.propagateCalendarKey(e):(this._adapter.selectInputText(),this._openCalendar(!0));break;case"ArrowUp":this._open&&(e.preventDefault(),this._adapter.propagateCalendarKey(e));break;case"ArrowLeft":case"ArrowRight":case"Enter":case"Home":case"End":if(this._open){e.key==="Enter"&&e.stopPropagation(),e.preventDefault();let t=["ArrowLeft","ArrowRight"].includes(e.key);this._masked&&t&&e.stopImmediatePropagation(),this._adapter.propagateCalendarKey(e)}break;case"n":case"t":e.preventDefault(),this._onToday(),this._open&&this._closeCalendar(!0);break;case"PageUp":case"PageDown":this._open&&(e.preventDefault(),this._adapter.propagateCalendarKey(e));break;case"Tab":if(this._open){let t=this._adapter.getCalendarActiveDate();t&&this._onDateSelected({date:t,selected:!0,type:"date"})}break}}_getSanitizedDateString(e){return e.replace(/_|[a-z]|[A-Z]/g,"").replace(/\/$|\/\/$/,"")}_onToggleMousedown(e){this._disabled||(e.stopPropagation(),!this._adapter.isInputDisabled()&&(e.preventDefault(),this._open?this._closeCalendar(!0):(g.isMobile?this._adapter.tryBlurInput():this._adapter.tryFocusInput(),this._openCalendar(!0))))}_onDropdownClose(){this._closeCalendar(!0)}_onActiveDescendantChanged(e){this._adapter.setActiveDescendant(e)}_formatInputValue(){let e=this._adapter.getInputValue();if(e){let t=this._parseDateString(e);if(u(t)&&this._isDateValueAcceptable(t)){let a=this._formatDate(t);a&&a!==e&&this._adapter.setInputValue(a,this._notifyInputValueChanges)}else this._allowInvalidDate||this._adapter.setInputValue("",this._notifyInputValueChanges)}}_formatDate(e){return u(e)?typeof this._formatCallback=="function"?this._formatCallback(e):k(e):""}_parseDateString(e){if(e=e.replace(/_|\s/g,""),!e||!e.length)return null;let t=typeof this._parseCallback=="function"?this._parseCallback(e):f(e);return u(t)?t:null}_coerceDateValue(e){return typeof e=="string"?this._parseDateString(e):e}_getTypedValue(e){switch(this._valueMode){case"object":return e;case"string":return this._formatDate(e);case"iso-string":return e&&e.setHours(0,0,0,0),e?e.toISOString():null;default:return e}}_isDateValueAcceptable(e){if(!e)return!0;let t=()=>this._min&&!this._allowInvalidDate?this._min.getTime()<=e.getTime():!0,a=()=>this._max&&!this._allowInvalidDate?this._max.getTime()>=e.getTime():!0,i=()=>Array.isArray(this._disabledDates)?this._disabledDates:this._disabledDates?[this._disabledDates]:[],o=()=>!i().some(L=>L.getTime()===e.getTime()),c=()=>!(this._disabledDaysOfWeek&&this._disabledDaysOfWeek.includes(e.getDay())),T=()=>typeof this._disableDayCallback!="function"||!this._disableDayCallback(e);return t()&&a()&&o()&&c()&&T()}_initializeMask(){let e={showMaskFormat:this._showMaskFormat,pattern:this._maskFormat,onChange:t=>this._handleInput(t)};this._prepareMaskCallback&&(e.prepareCallback=(t,a,i,o)=>this._prepareMaskCallback.call(null,t,a,i,o)),this._adapter.initializeMask(e)}_applyMask(){this._masked?this._initializeMask():(this._adapter.destroyMask(),this._formatInputValue())}_applyMin(){this._isInitialized&&this._adapter.setCalendarMinDate(this._min)}_applyMax(){this._isInitialized&&this._adapter.setCalendarMaxDate(this._max)}_applyDisableDayCallback(){this._adapter.setCalendarDisableDayCallback(this._disableDayCallback)}_applyDisabled(){this._adapter.setDisabled(this._disabled)}get valueMode(){return this._valueMode}set valueMode(e){if(this._valueMode!==e){if(!["object","string","iso-string"].includes(e))return;this._valueMode=e,this._emitChangeEvent(this._value),this._adapter.setHostAttribute(s.observedAttributes.VALUE_MODE,this._valueMode)}}get min(){return this._min?new Date(this._min.getTime()):null}set min(e){if(this._min!==e){let t=this._coerceDateValue(e);this._min=t?new Date(t.getTime()):null,this._applyMin(),this._isInitialized&&this._open&&this._adapter.setCalendarMinDate(this._min)}}get max(){return this._max?new Date(this._max.getTime()):null}set max(e){this._max!==e&&(this._max=this._coerceDateValue(e),this._applyMax(),this._isInitialized&&this._open&&this._adapter.setCalendarMaxDate(this._max))}get open(){return this._open}set open(e){this._open!==e&&this._isInitialized&&(this._open=e,this._open?this._openCalendar():this._closeCalendar())}get disabled(){return this._disabled}set disabled(e){this._disabled!==e&&(this._disabled=e,this._isInitialized&&this._applyDisabled())}get disabledDates(){return this._disabledDates?Array.isArray(this._disabledDates)?this._disabledDates.map(e=>new Date(e.getTime())):new Date(this._disabledDates.getTime()):null}set disabledDates(e){e?Array.isArray(e)?this._disabledDates=e.map(t=>new Date(t.getTime())):this._disabledDates=new Date(e.getTime()):this._disabledDates=null,this._isInitialized&&this._open&&this._adapter.setCalendarDisabledDates(this._disabledDates),this._applyDisabledDates()}get popupClasses(){return Array.isArray(this._popupClasses)?[...this._popupClasses]:this._popupClasses}set popupClasses(e){Array.isArray(e)?this._popupClasses=[...e]:this._popupClasses=e}get masked(){return this._masked}set masked(e){this._masked!==e&&(this._masked=e,this._isInitialized&&(this._masked?(this._removeInputChangeListeners(),this._applyMask()):(this._adapter.destroyMask(),this._setInputChangeListeners(),this._formatInputValue())))}get maskFormat(){return this._maskFormat}set maskFormat(e){this._maskFormat!==e&&(this._maskFormat=e,this._isInitialized&&this._applyMask())}get showMaskFormat(){return this._showMaskFormat}set showMaskFormat(e){this._showMaskFormat!==e&&(this._showMaskFormat=e,this._isInitialized&&this._applyMask())}get notifyInputValueChanges(){return this._notifyInputValueChanges}set notifyInputValueChanges(e){this._notifyInputValueChanges=e}get allowInvalidDate(){return this._allowInvalidDate}set allowInvalidDate(e){this._allowInvalidDate!==e&&(this._allowInvalidDate=e,this._adapter.toggleHostAttribute(s.observedAttributes.ALLOW_INVALID_DATE,this._allowInvalidDate))}get disabledDaysOfWeek(){return this._disabledDaysOfWeek}set disabledDaysOfWeek(e){this._disabledDaysOfWeek!==e&&(this._disabledDaysOfWeek=e,this._isInitialized&&this._open&&this._adapter.setCalendarDisabledDaysOfWeek(this._disabledDaysOfWeek),this._applyDisabledDaysOfWeek())}get disableDayCallback(){return this._disableDayCallback}set disableDayCallback(e){e!==this._disableDayCallback&&(this._disableDayCallback=e,this._applyDisableDayCallback())}get parseCallback(){return this._parseCallback}set parseCallback(e){this._parseCallback=e,this._isInitialized&&this._applyMask()}get formatCallback(){return this._formatCallback}set formatCallback(e){this._formatCallback=e,this._isInitialized&&this._applyMask()}get prepareMaskCallback(){return this._prepareMaskCallback}set prepareMaskCallback(e){this._prepareMaskCallback=e,this._isInitialized&&this._applyMask()}get showToday(){return this._showToday}set showToday(e){this._showToday=e}get showClear(){return this._showClear}set showClear(e){this._showClear=e}get yearRange(){return this._yearRange}set yearRange(e){this._yearRange!==e&&(this._yearRange=e,this._isInitialized&&this._open&&this._adapter.setCalendarYearRange(this._yearRange))}};export{s as a,n as b,w as c,M as d,A as e};
7
- //# sourceMappingURL=chunk.X5LGVZGO.js.map
6
+ import{a as b}from"./chunk.2R72ZTIK.js";import{a as I}from"./chunk.YTOYNJMD.js";import{a as g}from"./chunk.MGLWXAZO.js";import{a as E}from"./chunk.NRXPO3SY.js";import{a as y}from"./chunk.XIQFHO5R.js";import{c as f,d as k}from"./chunk.DMCBAYQX.js";import{a as l}from"./chunk.NVUMRW44.js";import{a as C}from"./chunk.TKDMM2ZZ.js";import{g as v,l as m}from"./chunk.QH2GB3PD.js";import{m as D}from"./chunk.CFDK4RCW.js";import{a as h,g as u,k as d,m as _}from"./chunk.J2M2MXP2.js";import{d as r}from"./chunk.M3QDAYD2.js";var P={MIN:"min",MAX:"max",OPEN:"open",DISABLED:"disabled",POPUP_CLASSES:"popup-classes",MASKED:"masked",MASK_FORMAT:"mask-format",SHOW_MASK_FORMAT:"show-mask-format",VALUE_MODE:"value-mode",ALLOW_INVALID_DATE:"allow-invalid-date",SHOW_TODAY:"show-today",SHOW_CLEAR:"show-clear",DISABLED_DAYS_OF_WEEK:"disabled-days-of-week",YEAR_RANGE:"year-range"},S={TOGGLE:"forge-date-picker-toggle"},O={INPUT:"input",TOGGLE:"[forge-date-picker-toggle],[data-forge-date-picker-toggle]"},s={observedAttributes:P,attributes:S,selectors:O};var n=class extends m{constructor(){super()}async connectedCallback(){this.querySelector(s.selectors.INPUT)?this._foundation.initialize():(await D(this,s.selectors.INPUT),this._foundation.initialize())}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(t,a,i){switch(t){case s.observedAttributes.MIN:this.min=i;break;case s.observedAttributes.MAX:this.max=i;break;case s.observedAttributes.OPEN:this.open=d(i);break;case s.observedAttributes.POPUP_CLASSES:this.popupClasses=i;break;case s.observedAttributes.DISABLED:this.disabled=d(i);break;case s.observedAttributes.MASKED:this.masked=d(i);break;case s.observedAttributes.SHOW_MASK_FORMAT:this.showMaskFormat=d(i);break;case s.observedAttributes.MASK_FORMAT:this.maskFormat=i;break;case s.observedAttributes.VALUE_MODE:this.valueMode=i;break;case s.observedAttributes.ALLOW_INVALID_DATE:this.allowInvalidDate=d(i);break;case s.observedAttributes.SHOW_TODAY:this.showToday=d(i);break;case s.observedAttributes.SHOW_CLEAR:this.showClear=d(i);break;case s.observedAttributes.DISABLED_DAYS_OF_WEEK:this.disabledDaysOfWeek=_(i);break;case s.observedAttributes.YEAR_RANGE:this.yearRange=i;break}}};r([l()],n.prototype,"value",2),r([l()],n.prototype,"min",2),r([l()],n.prototype,"max",2),r([l()],n.prototype,"disabledDates",2),r([l()],n.prototype,"open",2),r([l()],n.prototype,"popupClasses",2),r([l()],n.prototype,"disabled",2),r([l()],n.prototype,"masked",2),r([l()],n.prototype,"maskFormat",2),r([l()],n.prototype,"showMaskFormat",2),r([l()],n.prototype,"valueMode",2),r([l()],n.prototype,"notifyInputValueChanges",2),r([l()],n.prototype,"allowInvalidDate",2),r([l()],n.prototype,"showToday",2),r([l()],n.prototype,"showClear",2),r([l()],n.prototype,"parseCallback",2),r([l()],n.prototype,"formatCallback",2),r([l()],n.prototype,"prepareMaskCallback",2),r([l()],n.prototype,"disabledDaysOfWeek",2),r([l()],n.prototype,"disableDayCallback",2),r([l()],n.prototype,"yearRange",2);function w(p){let e=document.createElement("forge-icon-button");e.slot="trailing",e.dense=!0,e.densityLevel=3,e.style.marginRight="4px";let t=document.createElement("button");t.type="button",t.tabIndex=-1,t.setAttribute("aria-label","Toggle calendar"),e.appendChild(t);let a=document.createElement("forge-icon");return a.name=p,t.appendChild(a),e}var M=class extends C{constructor(t){super(t);this._valueChangeListeners=[];this._identifier=h()}initialize(){this._initializeInput()}destroy(){var t;(t=this._calendarDropdown)==null||t.destroy(),this.destroyValueChangeListener()}destroyValueChangeListener(){this._valueChangeListeners.forEach(t=>t())}addToggleListener(t,a){var i;(i=this._toggleElement)==null||i.addEventListener(t,a)}removeToggleListener(t,a){var i;(i=this._toggleElement)==null||i.removeEventListener(t,a)}attachCalendar(t,a){var i,o,c;if(this._calendarDropdown&&((i=this._calendarDropdown)==null||i.destroy()),this._initializeCalendarDropdown(),!this._calendarDropdown)throw new Error("CalendarDropdown was not initialized.");a&&Object.assign(this._calendarDropdown,a),this._calendarDropdown.open(t),(o=this._calendarDropdown.dropdownElement)==null||o.style.setProperty("--forge-calendar-width","320px"),(c=this._calendarDropdown.calendar)==null||c.style.setProperty("margin","8px")}detachCalendar(){this._calendarDropdown&&this._calendarDropdown.isOpen&&this._calendarDropdown.close()}goToCalendarDate(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.goToDate(t,!0)}addDateSelectListener(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.addEventListener(b.events.DATE_SELECT,t)}removeDateSelectListener(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.removeEventListener(b.events.DATE_SELECT,t)}setCalendarValue(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.value=t)}setCalendarMinDate(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.min=t)}setCalendarMaxDate(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.max=t)}setCalendarDisabledDates(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.disabledDates=t)}setCalendarDisabledDaysOfWeek(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.disabledDaysOfWeek=t)}setCalendarDisableDayCallback(t){var a;(a=this._calendarDropdown)!=null&&a.calendar&&(this._calendarDropdown.calendar.disabledDateBuilder=t)}setCalendarActiveDate(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.setActiveDate(t)}getCalendarActiveDate(){var t,a;return(a=(t=this._calendarDropdown)==null?void 0:t.calendar)==null?void 0:a.activeDate}setCalendarYearRange(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)!=null&&i.yearRange&&(this._calendarDropdown.calendar.yearRange=t)}propagateCalendarKey(t){var a,i;(i=(a=this._calendarDropdown)==null?void 0:a.calendar)==null||i.handleKey(t)}tryCreateToggle(){let t=this._component.querySelector("forge-text-field"),a=this._component.querySelector(s.selectors.TOGGLE);if(t){let i=t.querySelector(`${E.elementName}[slot=trailing]`);if(i||a){this._toggleElement=i||a;return}let o=this._createToggleElement();t.appendChild(o),this._toggleElement=o}else a&&(this._toggleElement=a)}_createToggleElement(){return w("insert_invitation")}_getDefaultTargetElement(){let t=this._component.querySelector("forge-text-field");if(t&&t.shadowRoot){let a=v(t,I.selectors.ROOT);if(a)return a}return this._component.querySelector("input")||this._component}};var A=class{constructor(e){this._adapter=e;this._value=null;this._min=null;this._max=null;this._disabledDates=null;this._open=!1;this._disabled=!1;this._masked=!0;this._maskFormat=y;this._showMaskFormat=!1;this._valueMode="object";this._notifyInputValueChanges=!0;this._allowInvalidDate=!1;this._showToday=!1;this._showClear=!1;this._yearRange="-50:+50";this._isInitialized=!1;this._inputListener=t=>this._onInput(t),this._inputKeydownListener=t=>this._onInputKeydown(t),this._inputFocusListener=t=>this._onInputFocus(t),this._inputBlurListener=t=>this._onInputBlur(t),this._inputValueChangedListener=t=>this._onInputValueChanged(t),this._dropdownCloseListener=()=>this._onDropdownClose(),this._toggleMousedownListener=t=>this._onToggleMousedown(t),this._dateSelectListener=t=>this._onDateSelected(t.detail),this._activeChangeListener=t=>this._onActiveDescendantChanged(t),this._todayListener=()=>this._onToday(),this._clearListener=()=>this._onClear()}initialize(){var e;if(this._adapter.initialize(),this._adapter.initializeAccessibility(),!this._adapter.hasInputElement())throw new Error("Unable to locate child <input> element.");(e=this._initializeState)==null||e.call(this),this._adapter.tryCreateToggle(),this._masked||this._setInputChangeListeners(),this._initializeListeners(),this._setFormattedInputValue(!0),this._applyDisabled(),this._applyMask(),this._initializeValueChangedListeners(),this._isInitialized=!0}disconnect(){this._isInitialized=!1,this._destroyListeners(),this._masked&&this._adapter.destroyMask(),this._closeCalendar(),this._adapter.destroy()}_initializeListeners(){this._adapter.addToggleListener("mousedown",this._toggleMousedownListener),this._adapter.addInputListener("keydown",this._inputKeydownListener,!0),this._adapter.addInputListener("focus",this._inputFocusListener),this._adapter.addInputListener("blur",this._inputBlurListener)}_initializeValueChangedListeners(){this._adapter.setInputValueChangedListener(this,this._inputValueChangedListener)}_setInputChangeListeners(){this._adapter.addInputListener("input",this._inputListener)}_removeInputChangeListeners(){this._adapter.removeInputListener("input",this._inputListener)}_destroyListeners(){this._adapter.removeToggleListener("mousedown",this._toggleMousedownListener),this._adapter.removeInputListener("keydown",this._inputKeydownListener,!0),this._adapter.removeInputListener("focus",this._inputFocusListener),this._adapter.removeInputListener("blur",this._inputBlurListener),this._removeInputChangeListeners()}_onInput(e){this._handleInput(this._adapter.getInputValue())}_onInputFocus(e){this._adapter.selectInputText()}_onInputBlur(e){this._formatInputValue(),this._open&&!this._adapter.isInputFocused()&&this._closeCalendar(!0)}_openCalendar(e=!1){this._formatInputValue();let t={mode:this._mode,value:this._getCurrentValue(),min:this._min,max:this._max,disabledDates:this._disabledDates,yearRange:this._yearRange,todayButton:this._showToday,clearButton:this._showClear,todayCallback:this._todayListener,clearCallback:this._clearListener,disabledDateBuilder:this._disableDayCallback,disabledDaysOfWeek:this._disabledDaysOfWeek,preventFocus:!0,menuAnimation:"fade",fixedHeight:!0,selectionFollowsMonth:!0},a={popupClasses:this._popupClasses,closeCallback:this._dropdownCloseListener,activeChangeCallback:this._activeChangeListener};this._adapter.attachCalendar(t,a),this._adapter.addDateSelectListener(this._dateSelectListener),this._open=!0,this._adapter.setHostAttribute(s.observedAttributes.OPEN),e&&this._emitOpenEvent()}_closeCalendar(e=!1){this._open=!1,this._adapter.removeHostAttribute(s.observedAttributes.OPEN),this._adapter.removeDateSelectListener(this._dateSelectListener),this._adapter.detachCalendar(),e&&this._emitCloseEvent()}_onInputKeydown(e){if(e.shiftKey)switch(e.key){case"Delete":case"Backspace":e.preventDefault(),this._onClear(),this._open&&this._closeCalendar(!0);return;case"ArrowLeft":case"ArrowRight":case"m":case"M":case"y":case"Y":case"d":case"D":if(this._open){e.preventDefault(),this._adapter.propagateCalendarKey(e);return}break}switch(e.key){case"Escape":this._open&&(e.preventDefault(),e.stopPropagation(),this._closeCalendar(!0));break;case"ArrowDown":e.preventDefault(),this._open?this._adapter.propagateCalendarKey(e):(this._adapter.selectInputText(),this._openCalendar(!0));break;case"ArrowUp":this._open&&(e.preventDefault(),this._adapter.propagateCalendarKey(e));break;case"ArrowLeft":case"ArrowRight":case"Enter":case"Home":case"End":if(this._open){e.key==="Enter"&&e.stopPropagation(),e.preventDefault();let t=["ArrowLeft","ArrowRight"].includes(e.key);this._masked&&t&&e.stopImmediatePropagation(),this._adapter.propagateCalendarKey(e)}break;case"n":case"t":e.preventDefault(),this._onToday(),this._open&&this._closeCalendar(!0);break;case"PageUp":case"PageDown":this._open&&(e.preventDefault(),this._adapter.propagateCalendarKey(e));break;case"Tab":if(this._open){let t=this._adapter.getCalendarActiveDate();t&&this._onDateSelected({date:t,selected:!0,type:"date"})}break}}_getSanitizedDateString(e){return e.replace(/_|[a-z]|[A-Z]/g,"").replace(/\/$|\/\/$/,"")}_onToggleMousedown(e){this._disabled||(e.stopPropagation(),!this._adapter.isInputDisabled()&&(e.preventDefault(),this._open?this._closeCalendar(!0):(g.isMobile?this._adapter.tryBlurInput():this._adapter.tryFocusInput(),this._openCalendar(!0))))}_onDropdownClose(){this._closeCalendar(!0)}_onActiveDescendantChanged(e){this._adapter.setActiveDescendant(e)}_formatInputValue(){let e=this._adapter.getInputValue();if(e){let t=this._parseDateString(e);if(u(t)&&this._isDateValueAcceptable(t)){let a=this._formatDate(t);a&&a!==e&&this._adapter.setInputValue(a,this._notifyInputValueChanges)}else this._allowInvalidDate||this._adapter.setInputValue("",this._notifyInputValueChanges)}}_formatDate(e){return u(e)?typeof this._formatCallback=="function"?this._formatCallback(e):k(e):""}_parseDateString(e){if(e=e.replace(/_|\s/g,""),!e||!e.length)return null;let t=typeof this._parseCallback=="function"?this._parseCallback(e):f(e);return u(t)?t:null}_coerceDateValue(e){return typeof e=="string"?this._parseDateString(e):e}_getTypedValue(e){switch(this._valueMode){case"object":return e;case"string":return this._formatDate(e);case"iso-string":return e&&e.setHours(0,0,0,0),e?e.toISOString():null;default:return e}}_isDateValueAcceptable(e){if(!e)return!0;let t=()=>this._min&&!this._allowInvalidDate?this._min.getTime()<=e.getTime():!0,a=()=>this._max&&!this._allowInvalidDate?this._max.getTime()>=e.getTime():!0,i=()=>Array.isArray(this._disabledDates)?this._disabledDates:this._disabledDates?[this._disabledDates]:[],o=()=>!i().some(L=>L.getTime()===e.getTime()),c=()=>!(this._disabledDaysOfWeek&&this._disabledDaysOfWeek.includes(e.getDay())),T=()=>typeof this._disableDayCallback!="function"||!this._disableDayCallback(e);return t()&&a()&&o()&&c()&&T()}_initializeMask(){let e={showMaskFormat:this._showMaskFormat,pattern:this._maskFormat,onChange:t=>this._handleInput(t)};this._prepareMaskCallback&&(e.prepareCallback=(t,a,i,o)=>this._prepareMaskCallback.call(null,t,a,i,o)),this._adapter.initializeMask(e)}_applyMask(){this._masked?this._initializeMask():(this._adapter.destroyMask(),this._formatInputValue())}_applyMin(){this._isInitialized&&this._adapter.setCalendarMinDate(this._min)}_applyMax(){this._isInitialized&&this._adapter.setCalendarMaxDate(this._max)}_applyDisableDayCallback(){this._adapter.setCalendarDisableDayCallback(this._disableDayCallback)}_applyDisabled(){this._adapter.setDisabled(this._disabled)}get valueMode(){return this._valueMode}set valueMode(e){if(this._valueMode!==e){if(!["object","string","iso-string"].includes(e))return;this._valueMode=e,this._emitChangeEvent(this._value),this._adapter.setHostAttribute(s.observedAttributes.VALUE_MODE,this._valueMode)}}get min(){return this._min?new Date(this._min.getTime()):null}set min(e){if(this._min!==e){let t=this._coerceDateValue(e);this._min=t?new Date(t.getTime()):null,this._applyMin(),this._isInitialized&&this._open&&this._adapter.setCalendarMinDate(this._min)}}get max(){return this._max?new Date(this._max.getTime()):null}set max(e){this._max!==e&&(this._max=this._coerceDateValue(e),this._applyMax(),this._isInitialized&&this._open&&this._adapter.setCalendarMaxDate(this._max))}get open(){return this._open}set open(e){this._open!==e&&this._isInitialized&&(this._open=e,this._open?this._openCalendar():this._closeCalendar())}get disabled(){return this._disabled}set disabled(e){this._disabled!==e&&(this._disabled=e,this._isInitialized&&this._applyDisabled())}get disabledDates(){return this._disabledDates?Array.isArray(this._disabledDates)?this._disabledDates.map(e=>new Date(e.getTime())):new Date(this._disabledDates.getTime()):null}set disabledDates(e){e?Array.isArray(e)?this._disabledDates=e.map(t=>new Date(t.getTime())):this._disabledDates=new Date(e.getTime()):this._disabledDates=null,this._isInitialized&&this._open&&this._adapter.setCalendarDisabledDates(this._disabledDates),this._applyDisabledDates()}get popupClasses(){return Array.isArray(this._popupClasses)?[...this._popupClasses]:this._popupClasses}set popupClasses(e){Array.isArray(e)?this._popupClasses=[...e]:this._popupClasses=e}get masked(){return this._masked}set masked(e){this._masked!==e&&(this._masked=e,this._isInitialized&&(this._masked?(this._removeInputChangeListeners(),this._applyMask()):(this._adapter.destroyMask(),this._setInputChangeListeners(),this._formatInputValue())))}get maskFormat(){return this._maskFormat}set maskFormat(e){this._maskFormat!==e&&(this._maskFormat=e,this._isInitialized&&this._applyMask())}get showMaskFormat(){return this._showMaskFormat}set showMaskFormat(e){this._showMaskFormat!==e&&(this._showMaskFormat=e,this._isInitialized&&this._applyMask())}get notifyInputValueChanges(){return this._notifyInputValueChanges}set notifyInputValueChanges(e){this._notifyInputValueChanges=e}get allowInvalidDate(){return this._allowInvalidDate}set allowInvalidDate(e){this._allowInvalidDate!==e&&(this._allowInvalidDate=e,this._adapter.toggleHostAttribute(s.observedAttributes.ALLOW_INVALID_DATE,this._allowInvalidDate))}get disabledDaysOfWeek(){return this._disabledDaysOfWeek}set disabledDaysOfWeek(e){this._disabledDaysOfWeek!==e&&(this._disabledDaysOfWeek=e,this._isInitialized&&this._open&&this._adapter.setCalendarDisabledDaysOfWeek(this._disabledDaysOfWeek),this._applyDisabledDaysOfWeek())}get disableDayCallback(){return this._disableDayCallback}set disableDayCallback(e){e!==this._disableDayCallback&&(this._disableDayCallback=e,this._applyDisableDayCallback())}get parseCallback(){return this._parseCallback}set parseCallback(e){this._parseCallback=e,this._isInitialized&&this._applyMask()}get formatCallback(){return this._formatCallback}set formatCallback(e){this._formatCallback=e,this._isInitialized&&this._applyMask()}get prepareMaskCallback(){return this._prepareMaskCallback}set prepareMaskCallback(e){this._prepareMaskCallback=e,this._isInitialized&&this._applyMask()}get showToday(){return this._showToday}set showToday(e){this._showToday=e}get showClear(){return this._showClear}set showClear(e){this._showClear=e}get yearRange(){return this._yearRange}set yearRange(e){this._yearRange!==e&&(this._yearRange=e,this._isInitialized&&this._open&&this._adapter.setCalendarYearRange(this._yearRange))}};export{s as a,n as b,w as c,M as d,A as e};
7
+ //# sourceMappingURL=chunk.ZJXVI6A7.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/date-picker/base/base-date-picker-constants.ts", "../../src/date-picker/base/base-date-picker.ts", "../../src/date-picker/base/base-date-picker-utils.ts", "../../src/date-picker/base/base-date-picker-adapter.ts", "../../src/date-picker/base/base-date-picker-foundation.ts"],
4
4
  "sourcesContent": ["import IMask, { Masked, InputMask } from 'imask';\nimport { DayOfWeek, ICalendarDateSelectEventData } from '../../calendar';\n\nexport declare type DatePickerParseCallback = (value: string) => Date | null;\nexport declare type DatePickerFormatCallback = (value: Date | null) => string;\nexport declare type DatePickerPrepareMaskCallback = (value: string, masked: Masked<string>, flags: IMask.AppendFlags, maskInstance: InputMask<IMask.MaskedPatternOptions>) => string;\nexport declare type DatePickerValueMode = 'object' | 'string' | 'iso-string';\n\nexport interface IDatePickerCalendarDropdownConfig<T> {\n value?: T | null;\n min?: Date | null;\n max?: Date | null;\n disabledDates?: Date | Date[] | null;\n popupClasses: string | string[];\n closeCallback: () => void;\n selectCallback: (value: ICalendarDateSelectEventData) => void;\n activeChangeCallback: (id: string) => void;\n disableDayCallback: (date: Date) => boolean;\n showToday: boolean;\n showClear: boolean;\n todayCallback: () => void;\n clearCallback: () => void;\n disabledDaysOfWeek?: DayOfWeek[] | null;\n}\n\n\nconst observedAttributes = {\n MIN: 'min',\n MAX: 'max',\n OPEN: 'open',\n DISABLED: 'disabled',\n POPUP_CLASSES: 'popup-classes',\n MASKED: 'masked',\n MASK_FORMAT: 'mask-format',\n SHOW_MASK_FORMAT: 'show-mask-format',\n VALUE_MODE: 'value-mode',\n ALLOW_INVALID_DATE: 'allow-invalid-date',\n SHOW_TODAY: 'show-today',\n SHOW_CLEAR: 'show-clear',\n DISABLED_DAYS_OF_WEEK: 'disabled-days-of-week',\n YEAR_RANGE: 'year-range'\n};\n\nconst attributes = {\n TOGGLE: 'forge-date-picker-toggle'\n};\n\nconst selectors = {\n INPUT: 'input',\n TOGGLE: '[forge-date-picker-toggle],[data-forge-date-picker-toggle]'\n};\n\nexport const BASE_DATE_PICKER_CONSTANTS = {\n observedAttributes,\n attributes,\n selectors\n};\n", "import { coerceBoolean, ensureChild, FoundationProperty, coerceNumberArray } from '@tylertech/forge-core';\nimport { DayOfWeek } from '../../calendar/calendar-constants';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\nimport { BASE_DATE_PICKER_CONSTANTS, DatePickerFormatCallback, DatePickerParseCallback, DatePickerPrepareMaskCallback, DatePickerValueMode } from './base-date-picker-constants';\nimport { BaseDatePickerFoundation } from './base-date-picker-foundation';\nimport { IBaseDatePickerAdapter } from './base-date-picker-adapter';\n\nexport interface IBaseDatePickerComponent<TValue> extends IBaseComponent {\n value: TValue | null | undefined;\n min: Date | string | null | undefined;\n max: Date | string | null | undefined;\n disabledDates: Date | Date[] | null | undefined;\n open: boolean;\n parseCallback: DatePickerParseCallback;\n formatCallback: DatePickerFormatCallback;\n prepareMaskCallback: DatePickerPrepareMaskCallback;\n disableDayCallback: (date: Date) => boolean;\n popupClasses: string | string[];\n disabled: boolean;\n masked: boolean;\n maskFormat: string;\n showMaskFormat: boolean;\n valueMode: DatePickerValueMode;\n notifyInputValueChanges: boolean;\n allowInvalidDate: boolean;\n showToday: boolean;\n showClear: boolean;\n disabledDaysOfWeek: DayOfWeek[];\n yearRange: string;\n}\n\nexport abstract class BaseDatePickerComponent<TPublicValue, TPrivateValue, TFoundation extends BaseDatePickerFoundation<IBaseDatePickerAdapter, TPublicValue, TPrivateValue>> extends BaseComponent implements IBaseDatePickerComponent<TPublicValue> {\n protected _foundation: TFoundation;\n\n constructor() {\n super();\n }\n\n public async connectedCallback(): Promise<void> {\n if (this.querySelector(BASE_DATE_PICKER_CONSTANTS.selectors.INPUT)) {\n this._foundation.initialize();\n } else {\n await ensureChild(this, BASE_DATE_PICKER_CONSTANTS.selectors.INPUT);\n this._foundation.initialize();\n }\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 BASE_DATE_PICKER_CONSTANTS.observedAttributes.MIN:\n this.min = newValue;\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.MAX:\n this.max = newValue;\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.OPEN:\n this.open = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.POPUP_CLASSES:\n this.popupClasses = newValue;\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.MASKED:\n this.masked = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.SHOW_MASK_FORMAT:\n this.showMaskFormat = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.MASK_FORMAT:\n this.maskFormat = newValue;\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.VALUE_MODE:\n this.valueMode = newValue as DatePickerValueMode;\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.ALLOW_INVALID_DATE:\n this.allowInvalidDate = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.SHOW_TODAY:\n this.showToday = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.SHOW_CLEAR:\n this.showClear = coerceBoolean(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.DISABLED_DAYS_OF_WEEK:\n this.disabledDaysOfWeek = coerceNumberArray(newValue);\n break;\n case BASE_DATE_PICKER_CONSTANTS.observedAttributes.YEAR_RANGE:\n this.yearRange = newValue;\n break;\n }\n }\n\n /** Gets/sets the value of the component. */\n @FoundationProperty()\n public declare value: TPublicValue | null | undefined;\n\n /** Gets/sets the minimum date the calendar will allow. */\n @FoundationProperty()\n public declare min: Date | string | null | undefined;\n\n /** Gets/sets the maximum date the calendar will allow. */\n @FoundationProperty()\n public declare max: Date | string | null | undefined;\n\n /** Gets/sets the dates that are restricted from being selected. */\n @FoundationProperty()\n public declare disabledDates: Date | Date[] | null | undefined;\n\n /** Gets/sets whether the calendar dropdown is open. */\n @FoundationProperty()\n public declare open: boolean;\n\n /** Gets/sets the CSS classes that are applied to the popup element. */\n @FoundationProperty()\n public declare popupClasses: string | string[];\n\n /** Gets/sets whether the date picker is disabled or not. */\n @FoundationProperty()\n public declare disabled: boolean;\n\n /** Gets/sets whether the input mask is applied or not. */\n @FoundationProperty()\n public declare masked: boolean;\n\n /** Gets/sets the mask format that displayed in the input. Default is `MM/DD/YYYY` */\n @FoundationProperty()\n public declare maskFormat: string;\n\n /** Gets/sets whether the mask format is displayed in the input or not. Only applies if `masked` is `true`. */\n @FoundationProperty()\n public declare showMaskFormat: boolean;\n\n /** Gets/sets the type for the `value` property and `forge-date-picker-change` event. */\n @FoundationProperty()\n public declare valueMode: DatePickerValueMode;\n\n /** Gets/sets whether the native input will be notified of value changes via the `input` and `change` events. */\n @FoundationProperty()\n public declare notifyInputValueChanges: boolean;\n\n /** Gets/sets whether to allow an invalid date to be input. When true, the date picker will not clear out the value of the input if the date was invalid (i.e. could not be parsed). */\n @FoundationProperty()\n public declare allowInvalidDate: boolean;\n\n /** Gets/sets whether the today button is visible in the popup. */\n @FoundationProperty()\n public declare showToday: boolean;\n\n /** Gets/sets whether the clear button is visible in the popup. */\n @FoundationProperty()\n public declare showClear: boolean;\n\n /** Sets the callback to use for parsing a date value string to a `Date` object. */\n @FoundationProperty()\n public declare parseCallback: DatePickerParseCallback;\n\n /** Sets the callback to use for formatting `Date` value to a custom string format. */\n @FoundationProperty()\n public declare formatCallback: DatePickerFormatCallback;\n\n /** Sets the callback to use when altering default mask entry. */\n @FoundationProperty()\n public declare prepareMaskCallback: DatePickerPrepareMaskCallback;\n\n /** Sets the days of the week to disable from selection. */\n @FoundationProperty()\n public declare disabledDaysOfWeek: DayOfWeek[];\n\n /** Sets the callback to use for testing whether a specific date should be disabled or not. */\n @FoundationProperty()\n public declare disableDayCallback: (date: Date) => boolean;\n\n /** Sets the year range. */\n @FoundationProperty()\n public declare yearRange: string;\n}\n", "export function createToggleElement(iconName: string): HTMLElement {\n const iconButtonElement = document.createElement('forge-icon-button');\n iconButtonElement.slot = 'trailing';\n iconButtonElement.dense = true;\n iconButtonElement.densityLevel = 3;\n iconButtonElement.style.marginRight = '4px';\n\n const buttonElement = document.createElement('button');\n buttonElement.type = 'button';\n buttonElement.tabIndex = -1;\n buttonElement.setAttribute('aria-label', 'Toggle calendar');\n iconButtonElement.appendChild(buttonElement);\n\n const iconElement = document.createElement('forge-icon');\n iconElement.name = iconName;\n buttonElement.appendChild(iconElement);\n\n return iconButtonElement;\n}\n", "import { getShadowElement, randomChars } from '@tylertech/forge-core';\nimport { CALENDAR_CONSTANTS, DateRange, DayOfWeek, ICalendarComponent, ICalendarDateSelectEventData } from '../../calendar';\nimport { ICalendarDropdown, ICalendarDropdownPopupConfig } from '../../calendar/calendar-dropdown';\nimport { BaseAdapter, IBaseAdapter, IDateInputMaskOptions } from '../../core';\nimport { BaseComponent } from '../../core/base/base-component';\nimport { ICON_BUTTON_CONSTANTS, IIconButtonComponent } from '../../icon-button';\nimport { BASE_DATE_PICKER_CONSTANTS } from './base-date-picker-constants';\nimport { createToggleElement } from './base-date-picker-utils';\nimport { TEXT_FIELD_CONSTANTS } from '../../text-field';\n\nexport interface IBaseDatePickerAdapter extends IBaseAdapter {\n initialize(): void;\n initializeAccessibility(): void;\n destroy(): void;\n setActiveDescendant(id: string): void;\n\n // Mask\n initializeMask(options: IDateInputMaskOptions): void;\n destroyMask(): void;\n\n // Toggle\n tryCreateToggle(): void;\n addToggleListener(type: string, listener: (event: Event) => void): void;\n removeToggleListener(type: string, listener: (event: Event) => void): void;\n \n // Input\n addInputListener(type: string, listener: (event: Event) => void, capture?: boolean): void;\n removeInputListener(type: string, listener: (event: Event) => void, capture?: boolean): void;\n setInputValueChangedListener(context: any, listener: (value: any) => void): void;\n hasInputElement(): boolean;\n tryFocusInput(): void;\n tryBlurInput(): void;\n isInputDisabled(): boolean;\n isInputFocused(): boolean;\n setDisabled(value: boolean): void;\n getInputValue(): string;\n setInputValue(value: string, emitEvents: boolean): void;\n selectInputText(): void;\n emitInputEvent(type: string, data?: any): void;\n \n // Calendar\n attachCalendar(calendarConfig: Partial<ICalendarComponent>, dropdownConfig?: ICalendarDropdownPopupConfig): void;\n detachCalendar(): void;\n goToCalendarDate(date: Date): void;\n addDateSelectListener(listener: (event: CustomEvent<ICalendarDateSelectEventData>) => void): void;\n removeDateSelectListener(listener: (event: CustomEvent<ICalendarDateSelectEventData>) => void): void;\n setCalendarValue(value: Date | DateRange | null | undefined): void;\n setCalendarMinDate(value: Date | null | undefined): void;\n setCalendarMaxDate(value: Date | null | undefined): void;\n setCalendarDisabledDates(value: Date | Date[] | null | undefined): void;\n setCalendarDisabledDaysOfWeek(value: DayOfWeek[]): void;\n setCalendarDisableDayCallback(disableDayCallback: (date: Date) => boolean): void;\n setCalendarActiveDate(date: Date): void;\n getCalendarActiveDate(): Date | undefined;\n setCalendarYearRange(value: string): void;\n propagateCalendarKey(evt: KeyboardEvent): void;\n}\nexport abstract class BaseDatePickerAdapter<T extends BaseComponent> extends BaseAdapter<T> implements IBaseDatePickerAdapter {\n protected _identifier: string;\n protected _calendarDropdown?: ICalendarDropdown;\n protected _toggleElement?: HTMLElement;\n protected _valueChangeListeners: Array<() => void> = [];\n\n constructor(component: T) {\n super(component);\n this._identifier = randomChars();\n }\n\n // Initialization\n public abstract initializeAccessibility(): void;\n protected abstract _initializeInput(): void;\n protected abstract _initializeCalendarDropdown(): void;\n \n // Mask\n public abstract initializeMask(options: IDateInputMaskOptions): void;\n public abstract destroyMask(): void;\n\n // Calendar\n public abstract setActiveDescendant(id: string): void;\n \n // Input\n public abstract hasInputElement(): boolean;\n public abstract hasInputElement(): boolean;\n public abstract tryFocusInput(): void;\n public abstract tryBlurInput(): void;\n public abstract isInputDisabled(): boolean;\n public abstract isInputFocused(): boolean;\n public abstract setDisabled(value: boolean): void;\n public abstract addInputListener(type: string, listener: (event: Event) => void, capture?: boolean): void;\n public abstract removeInputListener(type: string, listener: (event: Event) => void, capture?: boolean): void;\n public abstract setInputValueChangedListener(context: any, listener: (value: any) => void): void;\n public abstract getInputValue(): string;\n public abstract setInputValue(value: string, emitEvents: boolean): void;\n public abstract selectInputText(): void;\n public abstract emitInputEvent(type: string, data?: any): void;\n\n public initialize(): void {\n this._initializeInput();\n }\n\n public destroy(): void {\n this._calendarDropdown?.destroy();\n this.destroyValueChangeListener();\n }\n\n public destroyValueChangeListener(): void {\n this._valueChangeListeners.forEach(cb => cb());\n }\n\n public addToggleListener(type: string, listener: (event: Event) => void): void {\n this._toggleElement?.addEventListener(type, listener);\n }\n\n public removeToggleListener(type: string, listener: (event: Event) => void): void {\n this._toggleElement?.removeEventListener(type, listener);\n }\n\n public attachCalendar(calendarConfig: Partial<ICalendarComponent>, dropdownConfig?: ICalendarDropdownPopupConfig): void {\n if (this._calendarDropdown) {\n this._calendarDropdown?.destroy();\n }\n\n this._initializeCalendarDropdown();\n\n if (!this._calendarDropdown) {\n throw new Error('CalendarDropdown was not initialized.');\n }\n\n if (dropdownConfig) {\n Object.assign(this._calendarDropdown, dropdownConfig);\n }\n\n this._calendarDropdown.open(calendarConfig);\n this._calendarDropdown.dropdownElement?.style.setProperty('--forge-calendar-width', '320px');\n this._calendarDropdown.calendar?.style.setProperty('margin', '8px');\n }\n\n public detachCalendar(): void {\n if (this._calendarDropdown && this._calendarDropdown.isOpen) {\n this._calendarDropdown.close();\n }\n }\n\n public goToCalendarDate(date: Date): void {\n this._calendarDropdown?.calendar?.goToDate(date, true);\n }\n\n public addDateSelectListener(listener: (event: CustomEvent<ICalendarDateSelectEventData>) => void): void {\n this._calendarDropdown?.calendar?.addEventListener(CALENDAR_CONSTANTS.events.DATE_SELECT, listener);\n }\n\n public removeDateSelectListener(listener: (event: CustomEvent<ICalendarDateSelectEventData>) => void): void {\n this._calendarDropdown?.calendar?.removeEventListener(CALENDAR_CONSTANTS.events.DATE_SELECT, listener);\n }\n\n public setCalendarValue(value: Date | DateRange | null | undefined): void {\n if (this._calendarDropdown?.calendar) {\n this._calendarDropdown.calendar.value = value;\n }\n }\n\n public setCalendarMinDate(value: Date | null | undefined): void {\n if (this._calendarDropdown?.calendar) {\n this._calendarDropdown.calendar.min = value;\n }\n }\n\n public setCalendarMaxDate(value: Date | null | undefined): void {\n if (this._calendarDropdown?.calendar) {\n this._calendarDropdown.calendar.max = value;\n }\n }\n\n public setCalendarDisabledDates(value: Date | Date[] | null | undefined): void {\n if (this._calendarDropdown?.calendar) {\n this._calendarDropdown.calendar.disabledDates = value;\n }\n }\n\n public setCalendarDisabledDaysOfWeek(value: DayOfWeek[]): void {\n if (this._calendarDropdown?.calendar) {\n this._calendarDropdown.calendar.disabledDaysOfWeek = value;\n }\n }\n\n public setCalendarDisableDayCallback(disableDayCallback: (date: Date) => boolean): void {\n if (this._calendarDropdown?.calendar) {\n this._calendarDropdown.calendar.disabledDateBuilder = disableDayCallback;\n }\n }\n\n public setCalendarActiveDate(date: Date): void {\n this._calendarDropdown?.calendar?.setActiveDate(date);\n }\n\n public getCalendarActiveDate(): Date | undefined {\n return this._calendarDropdown?.calendar?.activeDate;\n }\n\n public setCalendarYearRange(value: string): void {\n if (this._calendarDropdown?.calendar?.yearRange) {\n this._calendarDropdown.calendar.yearRange = value;\n }\n }\n\n public propagateCalendarKey(evt: KeyboardEvent): void {\n this._calendarDropdown?.calendar?.handleKey(evt);\n }\n\n public tryCreateToggle(): void {\n const textField = this._component.querySelector('forge-text-field');\n const toggleElement = this._component.querySelector(BASE_DATE_PICKER_CONSTANTS.selectors.TOGGLE);\n if (textField) {\n const existingIconButton = textField.querySelector(`${ICON_BUTTON_CONSTANTS.elementName}[slot=trailing]`);\n if (existingIconButton || toggleElement) {\n this._toggleElement = (existingIconButton || toggleElement) as IIconButtonComponent;\n return;\n }\n\n const iconButtonElement = this._createToggleElement();\n textField.appendChild(iconButtonElement);\n this._toggleElement = iconButtonElement;\n } else if (toggleElement) {\n this._toggleElement = toggleElement as HTMLElement;\n }\n }\n\n protected _createToggleElement(): HTMLElement {\n return createToggleElement('insert_invitation');\n }\n\n protected _getDefaultTargetElement(): HTMLElement {\n // This component is often used with the Forge text-field, if so, let's target our popup around\n // one if its internal elements for best alignment\n const textField = this._component.querySelector('forge-text-field');\n if (textField && textField.shadowRoot) {\n const textFieldRoot = getShadowElement(textField, TEXT_FIELD_CONSTANTS.selectors.ROOT) as HTMLElement;\n if (textFieldRoot) {\n return textFieldRoot;\n }\n }\n\n return this._component.querySelector('input') || this._component;\n }\n}\n", "import { ICustomElementFoundation, isValidDate, Platform } from '@tylertech/forge-core';\nimport { ICalendarComponent, ICalendarDropdownPopupConfig } from '../../calendar';\nimport { CalendarMode, DayOfWeek, ICalendarDateSelectEventData } from '../../calendar/calendar-constants';\nimport { DateRange } from '../../calendar/core/date-range';\nimport { formatDate, parseDateString } from '../../core/utils/date-utils';\nimport { DEFAULT_DATE_MASK, IDateInputMaskOptions } from '../../core/mask/date-input-mask';\nimport { IBaseDatePickerAdapter } from './base-date-picker-adapter';\nimport { BASE_DATE_PICKER_CONSTANTS, DatePickerFormatCallback, DatePickerParseCallback, DatePickerPrepareMaskCallback, DatePickerValueMode } from './base-date-picker-constants';\n\nexport interface IBaseDatePickerFoundation<TValue> extends ICustomElementFoundation {\n value: TValue | null | undefined;\n min: Date | string | null | undefined;\n max: Date | string | null | undefined;\n disabledDates: Date | Date[] | null | undefined;\n open: boolean;\n parseCallback: DatePickerParseCallback;\n formatCallback: DatePickerFormatCallback;\n prepareMaskCallback: DatePickerPrepareMaskCallback;\n popupClasses: string | string[];\n disabled: boolean;\n masked: boolean;\n maskFormat: string;\n showMaskFormat: boolean;\n valueMode: DatePickerValueMode;\n notifyInputValueChanges: boolean;\n allowInvalidDate: boolean;\n showToday: boolean;\n showClear: boolean;\n yearRange: string;\n}\n\nexport abstract class BaseDatePickerFoundation<TAdapter extends IBaseDatePickerAdapter, TPublicValue, TPrivateValue = TPublicValue> implements IBaseDatePickerFoundation<TPublicValue> {\n // State\n protected abstract _mode: CalendarMode;\n protected _value?: TPrivateValue | null = null;\n protected _min?: Date | null = null;\n protected _max?: Date | null = null;\n protected _disabledDates?: Date | Date[] | null = null;\n protected _open = false;\n protected _parseCallback: DatePickerParseCallback;\n protected _formatCallback: DatePickerFormatCallback;\n protected _prepareMaskCallback: DatePickerPrepareMaskCallback;\n protected _disableDayCallback: (date: Date) => boolean;\n protected _popupClasses: string | string[];\n protected _disabled = false;\n protected _masked = true;\n protected _maskFormat = DEFAULT_DATE_MASK;\n protected _showMaskFormat = false;\n protected _valueMode: DatePickerValueMode = 'object';\n protected _notifyInputValueChanges = true;\n protected _allowInvalidDate = false;\n protected _showToday = false;\n protected _showClear = false;\n protected _disabledDaysOfWeek: DayOfWeek[];\n protected _yearRange = '-50:+50';\n protected _isInitialized = false;\n\n // Listeners\n private _inputListener: (evt: Event) => void;\n private _inputKeydownListener: (evt: KeyboardEvent) => void;\n private _inputFocusListener: (evt: Event) => void;\n private _inputBlurListener: (evt: Event) => void;\n private _inputValueChangedListener: (value: string) => void;\n private _toggleMousedownListener: (evt: MouseEvent) => void;\n private _dropdownCloseListener: () => void;\n private _activeChangeListener: (id: string) => void;\n private _todayListener: () => void;\n private _clearListener: () => void;\n private _dateSelectListener: (evt: CustomEvent<ICalendarDateSelectEventData>) => void;\n \n constructor(protected _adapter: TAdapter) {\n this._inputListener = evt => this._onInput(evt);\n this._inputKeydownListener = evt => this._onInputKeydown(evt);\n this._inputFocusListener = evt => this._onInputFocus(evt);\n this._inputBlurListener = evt => this._onInputBlur(evt);\n this._inputValueChangedListener = value => this._onInputValueChanged(value);\n this._dropdownCloseListener = () => this._onDropdownClose();\n this._toggleMousedownListener = evt => this._onToggleMousedown(evt);\n this._dateSelectListener = evt => this._onDateSelected(evt.detail);\n this._activeChangeListener = id => this._onActiveDescendantChanged(id);\n this._todayListener = () => this._onToday();\n this._clearListener = () => this._onClear();\n }\n\n protected _initializeState?(): void;\n public abstract value: TPublicValue | null | undefined;\n protected abstract _emitChangeEvent(value: TPrivateValue | null | undefined, force?: boolean): boolean;\n protected abstract _emitOpenEvent(): void;\n protected abstract _emitCloseEvent(): void;\n protected abstract _onToday(): void;\n protected abstract _onClear(): void;\n protected abstract _getCurrentValue(): TPrivateValue | null | undefined;\n protected abstract _setFormattedInputValue(suppressValueChanges?: boolean): void;\n protected abstract _onInputValueChanged(value: string): void;\n protected abstract _handleInput(value: string): void;\n protected abstract _setValue(value: Date | null): void;\n protected abstract _onDateSelected(event: ICalendarDateSelectEventData): void;\n protected abstract _applyDisabledDates(): void;\n protected abstract _applyDisabledDaysOfWeek(): void;\n\n public initialize(): void {\n this._adapter.initialize();\n this._adapter.initializeAccessibility();\n\n if (!this._adapter.hasInputElement()) {\n throw new Error('Unable to locate child <input> element.');\n }\n\n this._initializeState?.();\n this._adapter.tryCreateToggle();\n\n if (!this._masked) {\n this._setInputChangeListeners();\n }\n\n this._initializeListeners();\n this._setFormattedInputValue(true);\n this._applyDisabled();\n this._applyMask();\n this._initializeValueChangedListeners();\n this._isInitialized = true;\n }\n\n public disconnect(): void {\n this._isInitialized = false;\n this._destroyListeners();\n\n if (this._masked) {\n this._adapter.destroyMask();\n }\n\n this._closeCalendar();\n this._adapter.destroy();\n }\n\n protected _initializeListeners(): void {\n this._adapter.addToggleListener('mousedown', this._toggleMousedownListener);\n this._adapter.addInputListener('keydown', this._inputKeydownListener, true);\n this._adapter.addInputListener('focus', this._inputFocusListener);\n this._adapter.addInputListener('blur', this._inputBlurListener);\n }\n\n protected _initializeValueChangedListeners(): void {\n this._adapter.setInputValueChangedListener(this, this._inputValueChangedListener);\n }\n\n protected _setInputChangeListeners(): void {\n this._adapter.addInputListener('input', this._inputListener);\n }\n\n protected _removeInputChangeListeners(): void {\n this._adapter.removeInputListener('input', this._inputListener);\n }\n\n protected _destroyListeners(): void {\n this._adapter.removeToggleListener('mousedown', this._toggleMousedownListener);\n this._adapter.removeInputListener('keydown', this._inputKeydownListener, true);\n this._adapter.removeInputListener('focus', this._inputFocusListener);\n this._adapter.removeInputListener('blur', this._inputBlurListener);\n this._removeInputChangeListeners();\n }\n\n protected _onInput(evt: Event): void {\n this._handleInput(this._adapter.getInputValue());\n }\n\n protected _onInputFocus(evt: Event): void {\n this._adapter.selectInputText();\n }\n\n protected _onInputBlur(evt: Event): void {\n this._formatInputValue();\n if (this._open && !this._adapter.isInputFocused()) {\n this._closeCalendar(true);\n }\n }\n\n protected _openCalendar(emitOpenEvent = false): void {\n this._formatInputValue();\n\n const calendarConfig: Partial<ICalendarComponent> = {\n mode: this._mode,\n value: this._getCurrentValue() as Date | Date[] | DateRange | null | undefined,\n min: this._min,\n max: this._max,\n disabledDates: this._disabledDates,\n yearRange: this._yearRange,\n todayButton: this._showToday,\n clearButton: this._showClear,\n todayCallback: this._todayListener,\n clearCallback: this._clearListener,\n disabledDateBuilder: this._disableDayCallback,\n disabledDaysOfWeek: this._disabledDaysOfWeek,\n preventFocus: true,\n menuAnimation: 'fade',\n fixedHeight: true,\n selectionFollowsMonth: true\n };\n const dropdownConfig: ICalendarDropdownPopupConfig = {\n popupClasses: this._popupClasses,\n closeCallback: this._dropdownCloseListener,\n activeChangeCallback: this._activeChangeListener\n };\n\n this._adapter.attachCalendar(calendarConfig, dropdownConfig);\n this._adapter.addDateSelectListener(this._dateSelectListener);\n this._open = true;\n this._adapter.setHostAttribute(BASE_DATE_PICKER_CONSTANTS.observedAttributes.OPEN);\n\n if (emitOpenEvent) {\n this._emitOpenEvent();\n }\n }\n\n protected _closeCalendar(emitCloseEvent = false): void {\n this._open = false;\n this._adapter.removeHostAttribute(BASE_DATE_PICKER_CONSTANTS.observedAttributes.OPEN);\n this._adapter.removeDateSelectListener(this._dateSelectListener);\n this._adapter.detachCalendar();\n if (emitCloseEvent) {\n this._emitCloseEvent();\n }\n }\n\n protected _onInputKeydown(evt: KeyboardEvent): void {\n // Handle keyboard shortcuts that make use of the shift key first\n if (evt.shiftKey) {\n switch (evt.key) {\n case 'Delete':\n case 'Backspace':\n evt.preventDefault();\n this._onClear();\n if (this._open) {\n this._closeCalendar(true);\n }\n return;\n case 'ArrowLeft':\n case 'ArrowRight':\n case 'm':\n case 'M':\n case 'y':\n case 'Y':\n case 'd':\n case 'D':\n if (this._open) {\n evt.preventDefault();\n this._adapter.propagateCalendarKey(evt);\n return;\n }\n break;\n }\n }\n\n switch (evt.key) {\n case 'Escape':\n if (this._open) {\n evt.preventDefault();\n evt.stopPropagation();\n this._closeCalendar(true);\n }\n break;\n case 'ArrowDown':\n evt.preventDefault();\n if (!this._open) {\n this._adapter.selectInputText();\n this._openCalendar(true);\n } else {\n this._adapter.propagateCalendarKey(evt);\n }\n break;\n case 'ArrowUp':\n if (this._open) {\n evt.preventDefault();\n this._adapter.propagateCalendarKey(evt);\n }\n break;\n case 'ArrowLeft':\n case 'ArrowRight':\n case 'Enter':\n case 'Home':\n case 'End':\n if (this._open) {\n if (evt.key === 'Enter') {\n evt.stopPropagation();\n }\n evt.preventDefault();\n // If we have an input mask applied, we want to make sure it doesn't receive the key events for left and right keys\n const isLeftRight = ['ArrowLeft', 'ArrowRight'].includes(evt.key);\n if (this._masked && isLeftRight) {\n evt.stopImmediatePropagation();\n }\n this._adapter.propagateCalendarKey(evt);\n }\n break;\n case 'n':\n case 't':\n evt.preventDefault();\n this._onToday();\n if (this._open) {\n this._closeCalendar(true);\n }\n break;\n case 'PageUp':\n case 'PageDown':\n if (this._open) {\n evt.preventDefault();\n this._adapter.propagateCalendarKey(evt);\n }\n break;\n case 'Tab':\n if (this._open) {\n const activeDate = this._adapter.getCalendarActiveDate();\n if (activeDate) {\n this._onDateSelected({\n date: activeDate,\n selected: true,\n type: 'date'\n });\n }\n }\n break;\n }\n }\n\n protected _getSanitizedDateString(value: string): string {\n return value.replace(/_|[a-z]|[A-Z]/g, '').replace(/\\/$|\\/\\/$/, '');\n }\n\n private _onToggleMousedown(evt: Event): void {\n if (this._disabled) {\n return;\n }\n\n evt.stopPropagation();\n\n if (this._adapter.isInputDisabled()) {\n return;\n }\n\n evt.preventDefault();\n\n if (this._open) {\n this._closeCalendar(true);\n } else {\n if (!Platform.isMobile) {\n this._adapter.tryFocusInput();\n } else {\n this._adapter.tryBlurInput();\n }\n\n this._openCalendar(true);\n }\n }\n\n private _onDropdownClose(): void {\n this._closeCalendar(true);\n }\n\n private _onActiveDescendantChanged(id: string): void {\n this._adapter.setActiveDescendant(id);\n }\n\n protected _formatInputValue(): void {\n const inputValue = this._adapter.getInputValue();\n if (inputValue) {\n const parsedDate = this._parseDateString(inputValue);\n if (isValidDate(parsedDate) && this._isDateValueAcceptable(parsedDate)) {\n const formattedDate = this._formatDate(parsedDate);\n if (formattedDate && formattedDate !== inputValue) {\n this._adapter.setInputValue(formattedDate, this._notifyInputValueChanges);\n }\n } else {\n if (!this._allowInvalidDate) {\n this._adapter.setInputValue('', this._notifyInputValueChanges);\n }\n }\n }\n }\n\n protected _formatDate(date: Date | null | undefined): string {\n if (!isValidDate(date)) {\n return '';\n }\n return typeof this._formatCallback === 'function' ? this._formatCallback(date) : formatDate(date);\n }\n\n protected _parseDateString(value: string): Date | null {\n value = value.replace(/_|\\s/g, '');\n if (!value || !value.length) {\n return null;\n }\n const parsedDate = typeof this._parseCallback === 'function' ? this._parseCallback(value) : parseDateString(value);\n return isValidDate(parsedDate) ? parsedDate : null;\n }\n\n protected _coerceDateValue(value?: Date | string | null): Date | null | undefined {\n if (typeof value === 'string') {\n return this._parseDateString(value);\n }\n return value;\n }\n\n protected _getTypedValue(value: Date | null | undefined): Date | string | null | undefined {\n switch (this._valueMode) {\n case 'object':\n return value;\n case 'string':\n return this._formatDate(value);\n case 'iso-string':\n if (value) {\n // Remove the time portion of the date\n value.setHours(0, 0, 0, 0);\n }\n return value ? value.toISOString() : null;\n default:\n return value;\n }\n }\n\n protected _isDateValueAcceptable(value?: Date | null): boolean {\n if (!value) {\n return true;\n }\n\n const passesMinDate = (): boolean => this._min && !this._allowInvalidDate ? this._min.getTime() <= value.getTime() : true;\n const passesMaxDate = (): boolean => this._max && !this._allowInvalidDate ? this._max.getTime() >= value.getTime() : true;\n const disabledDates = (): Date[] => Array.isArray(this._disabledDates) ? this._disabledDates : this._disabledDates ? [this._disabledDates] : [];\n const isNotDisabled = (): boolean => !disabledDates().some(bd => bd.getTime() === value.getTime());\n const dayNotDisabled = (): boolean => !(this._disabledDaysOfWeek && this._disabledDaysOfWeek.includes(value.getDay()));\n const dateNotDisabledThroughCallback = (): boolean => typeof this._disableDayCallback !== 'function' || !this._disableDayCallback(value);\n\n return passesMinDate() && passesMaxDate() && isNotDisabled() && dayNotDisabled() && dateNotDisabledThroughCallback();\n }\n\n protected _initializeMask(): void {\n const options: IDateInputMaskOptions = {\n showMaskFormat: this._showMaskFormat,\n pattern: this._maskFormat,\n onChange: (value: string) => this._handleInput(value)\n };\n\n if (this._prepareMaskCallback) {\n options.prepareCallback = (value, masked, flags, maskInstance) => {\n return this._prepareMaskCallback.call(null, value, masked, flags, maskInstance);\n };\n }\n\n this._adapter.initializeMask(options);\n }\n\n private _applyMask(): void {\n if (this._masked) {\n this._initializeMask();\n } else {\n this._adapter.destroyMask();\n this._formatInputValue();\n }\n }\n\n protected _applyMin(): void {\n if (this._isInitialized) {\n this._adapter.setCalendarMinDate(this._min);\n }\n }\n protected _applyMax(): void {\n if (this._isInitialized) {\n this._adapter.setCalendarMaxDate(this._max);\n }\n }\n\n private _applyDisableDayCallback(): void {\n this._adapter.setCalendarDisableDayCallback(this._disableDayCallback);\n }\n\n private _applyDisabled(): void {\n this._adapter.setDisabled(this._disabled);\n }\n\n public get valueMode(): DatePickerValueMode {\n return this._valueMode;\n }\n public set valueMode(value: DatePickerValueMode) {\n if (this._valueMode !== value) {\n const isValidMode = ['object', 'string', 'iso-string'].includes(value);\n if (!isValidMode) {\n return;\n }\n this._valueMode = value;\n this._emitChangeEvent(this._value);\n this._adapter.setHostAttribute(BASE_DATE_PICKER_CONSTANTS.observedAttributes.VALUE_MODE, this._valueMode);\n }\n }\n\n public get min(): Date | string | null | undefined {\n return this._min ? new Date(this._min.getTime()) : null;\n }\n public set min(value: Date | string | null | undefined) {\n if (this._min !== value) {\n const date = this._coerceDateValue(value);\n this._min = !!date ? new Date(date.getTime()) : null;\n this._applyMin();\n\n if (this._isInitialized && this._open) {\n this._adapter.setCalendarMinDate(this._min);\n }\n }\n }\n\n public get max(): Date | string | null | undefined {\n return this._max ? new Date(this._max.getTime()) : null;\n }\n public set max(value: Date | string | null | undefined) {\n if (this._max !== value) {\n this._max = this._coerceDateValue(value);\n this._applyMax();\n\n if (this._isInitialized && this._open) {\n this._adapter.setCalendarMaxDate(this._max);\n }\n }\n }\n\n public get open(): boolean {\n return this._open;\n }\n public set open(value: boolean) {\n if (this._open !== value) {\n if (this._isInitialized) {\n this._open = value;\n if (this._open) {\n this._openCalendar();\n } else {\n this._closeCalendar();\n }\n }\n }\n }\n\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (this._disabled !== value) {\n this._disabled = value;\n if (this._isInitialized) {\n this._applyDisabled();\n }\n }\n }\n\n public get disabledDates(): Date | Date[] | null | undefined {\n if (!this._disabledDates) {\n return null;\n }\n\n if (Array.isArray(this._disabledDates)) {\n return this._disabledDates.map(d => new Date(d.getTime()));\n }\n\n return new Date(this._disabledDates.getTime());\n }\n\n public set disabledDates(value: Date | Date[] | null | undefined) {\n if (!value) {\n this._disabledDates = null;\n } else if (Array.isArray(value)) {\n this._disabledDates = value.map(d => new Date(d.getTime()));\n } else {\n this._disabledDates = new Date(value.getTime());\n }\n\n if (this._isInitialized && this._open) {\n this._adapter.setCalendarDisabledDates(this._disabledDates);\n }\n\n this._applyDisabledDates();\n }\n\n public get popupClasses(): string | string[] {\n if (Array.isArray(this._popupClasses)) {\n return [...this._popupClasses];\n }\n\n return this._popupClasses;\n }\n public set popupClasses(value: string | string[]) {\n if (Array.isArray(value)) {\n this._popupClasses = [...value];\n } else {\n this._popupClasses = value;\n }\n }\n\n public get masked(): boolean {\n return this._masked;\n }\n public set masked(value: boolean) {\n if (this._masked !== value) {\n this._masked = value;\n if (this._isInitialized) {\n if (this._masked) {\n this._removeInputChangeListeners();\n this._applyMask();\n } else {\n this._adapter.destroyMask();\n this._setInputChangeListeners();\n this._formatInputValue();\n }\n }\n }\n }\n\n public get maskFormat(): string {\n return this._maskFormat;\n }\n public set maskFormat(value: string) {\n if (this._maskFormat !== value) {\n this._maskFormat = value;\n if (this._isInitialized) {\n this._applyMask();\n }\n }\n }\n\n public get showMaskFormat(): boolean {\n return this._showMaskFormat;\n }\n public set showMaskFormat(value: boolean) {\n if (this._showMaskFormat !== value) {\n this._showMaskFormat = value;\n if (this._isInitialized) {\n this._applyMask();\n }\n }\n }\n\n public get notifyInputValueChanges(): boolean {\n return this._notifyInputValueChanges;\n }\n public set notifyInputValueChanges(value: boolean) {\n this._notifyInputValueChanges = value;\n }\n\n public get allowInvalidDate(): boolean {\n return this._allowInvalidDate;\n }\n public set allowInvalidDate(value: boolean) {\n if (this._allowInvalidDate !== value) {\n this._allowInvalidDate = value;\n this._adapter.toggleHostAttribute(BASE_DATE_PICKER_CONSTANTS.observedAttributes.ALLOW_INVALID_DATE, this._allowInvalidDate);\n }\n }\n\n public get disabledDaysOfWeek(): DayOfWeek[] {\n return this._disabledDaysOfWeek;\n }\n public set disabledDaysOfWeek(value: DayOfWeek[]) {\n if (this._disabledDaysOfWeek !== value) {\n this._disabledDaysOfWeek = value;\n\n if (this._isInitialized && this._open) {\n this._adapter.setCalendarDisabledDaysOfWeek(this._disabledDaysOfWeek);\n }\n\n this._applyDisabledDaysOfWeek();\n }\n }\n\n public get disableDayCallback(): (date: Date) => boolean {\n return this._disableDayCallback;\n }\n public set disableDayCallback(value: (date: Date) => boolean) {\n if (value !== this._disableDayCallback) {\n this._disableDayCallback = value;\n this._applyDisableDayCallback();\n }\n }\n\n public get parseCallback(): DatePickerParseCallback {\n return this._parseCallback;\n }\n public set parseCallback(cb: DatePickerParseCallback) {\n this._parseCallback = cb;\n if (this._isInitialized) {\n this._applyMask();\n }\n }\n\n public get formatCallback(): DatePickerFormatCallback {\n return this._formatCallback;\n }\n public set formatCallback(cb: DatePickerFormatCallback) {\n this._formatCallback = cb;\n if (this._isInitialized) {\n this._applyMask();\n }\n }\n\n public get prepareMaskCallback(): DatePickerPrepareMaskCallback {\n return this._prepareMaskCallback;\n }\n public set prepareMaskCallback(cb: DatePickerPrepareMaskCallback) {\n this._prepareMaskCallback = cb;\n if (this._isInitialized) {\n this._applyMask();\n }\n }\n\n public get showToday(): boolean {\n return this._showToday;\n }\n public set showToday(value: boolean) {\n this._showToday = value;\n }\n\n public get showClear(): boolean {\n return this._showClear;\n }\n public set showClear(value: boolean) {\n this._showClear = value;\n }\n\n public get yearRange(): string {\n return this._yearRange;\n }\n public set yearRange(value: string) {\n if (this._yearRange !== value) {\n this._yearRange = value;\n\n if (this._isInitialized && this._open) {\n this._adapter.setCalendarYearRange(this._yearRange);\n }\n }\n }\n}\n"],
5
- "mappings": "mgBA0BA,IAAMA,EAAqB,CACzB,IAAK,MACL,IAAK,MACL,KAAM,OACN,SAAU,WACV,cAAe,gBACf,OAAQ,SACR,YAAa,cACb,iBAAkB,mBAClB,WAAY,aACZ,mBAAoB,qBACpB,WAAY,aACZ,WAAY,aACZ,sBAAuB,wBACvB,WAAY,YACd,EAEMC,EAAa,CACjB,OAAQ,0BACV,EAEMC,EAAY,CAChB,MAAO,QACP,OAAQ,4DACV,EAEaC,EAA6B,CACxC,mBAAAH,EACA,WAAAC,EACA,UAAAC,CACF,ECzBO,IAAeE,EAAf,cAA+KC,CAAgE,CAGpP,aAAc,CACZ,MAAM,CACR,CAEA,MAAa,mBAAmC,CAC1C,KAAK,cAAcC,EAA2B,UAAU,KAAK,EAC/D,KAAK,YAAY,WAAW,GAE5B,MAAMC,EAAY,KAAMD,EAA2B,UAAU,KAAK,EAClE,KAAK,YAAY,WAAW,EAEhC,CAEO,sBAA6B,CAClC,KAAK,YAAY,WAAW,CAC9B,CAEO,yBAAyBE,EAAcC,EAAkBC,EAAwB,CACtF,OAAQF,QACDF,EAA2B,mBAAmB,IACjD,KAAK,IAAMI,EACX,WACGJ,EAA2B,mBAAmB,IACjD,KAAK,IAAMI,EACX,WACGJ,EAA2B,mBAAmB,KACjD,KAAK,KAAOK,EAAcD,CAAQ,EAClC,WACGJ,EAA2B,mBAAmB,cACjD,KAAK,aAAeI,EACpB,WACGJ,EAA2B,mBAAmB,SACjD,KAAK,SAAWK,EAAcD,CAAQ,EACtC,WACGJ,EAA2B,mBAAmB,OACjD,KAAK,OAASK,EAAcD,CAAQ,EACpC,WACGJ,EAA2B,mBAAmB,iBACjD,KAAK,eAAiBK,EAAcD,CAAQ,EAC5C,WACGJ,EAA2B,mBAAmB,YACjD,KAAK,WAAaI,EAClB,WACGJ,EAA2B,mBAAmB,WACjD,KAAK,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A,EAAmC,CAChE,KAAK,qBAAuBA,EACxB,KAAK,gBACP,KAAK,WAAW,CAEpB,CAEA,IAAW,WAAqB,CAC9B,OAAO,KAAK,UACd,CACA,IAAW,UAAU9B,EAAgB,CACnC,KAAK,WAAaA,CACpB,CAEA,IAAW,WAAqB,CAC9B,OAAO,KAAK,UACd,CACA,IAAW,UAAUA,EAAgB,CACnC,KAAK,WAAaA,CACpB,CAEA,IAAW,WAAoB,CAC7B,OAAO,KAAK,UACd,CACA,IAAW,UAAUA,EAAe,CAC9B,KAAK,aAAeA,IACtB,KAAK,WAAaA,EAEd,KAAK,gBAAkB,KAAK,OAC9B,KAAK,SAAS,qBAAqB,KAAK,UAAU,EAGxD,CACF",
6
6
  "names": ["observedAttributes", "attributes", "selectors", "BASE_DATE_PICKER_CONSTANTS", "BaseDatePickerComponent", "BaseComponent", "BASE_DATE_PICKER_CONSTANTS", "ensureChild", "name", "oldValue", "newValue", "coerceBoolean", "coerceNumberArray", "__decorateClass", "FoundationProperty", "createToggleElement", "iconName", "iconButtonElement", "buttonElement", "iconElement", "BaseDatePickerAdapter", "BaseAdapter", "component", "randomChars", "_a", "cb", "type", "listener", "calendarConfig", "dropdownConfig", "_b", "_c", "date", "CALENDAR_CONSTANTS", "value", "disableDayCallback", "evt", "textField", "toggleElement", "BASE_DATE_PICKER_CONSTANTS", "existingIconButton", "ICON_BUTTON_CONSTANTS", "iconButtonElement", "createToggleElement", "textFieldRoot", "getShadowElement", "TEXT_FIELD_CONSTANTS", "BaseDatePickerFoundation", "_adapter", "DEFAULT_DATE_MASK", "evt", "value", "id", "_a", "emitOpenEvent", "calendarConfig", "dropdownConfig", "BASE_DATE_PICKER_CONSTANTS", "emitCloseEvent", "isLeftRight", "activeDate", "Platform", "inputValue", "parsedDate", "isValidDate", "formattedDate", "date", "formatDate", "parseDateString", "passesMinDate", "passesMaxDate", "disabledDates", "isNotDisabled", "bd", "dayNotDisabled", "dateNotDisabledThroughCallback", "options", "masked", "flags", "maskInstance", "d", "cb"]
7
7
  }
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a,b,c,d,e}from"../chunks/chunk.TWZXQQQO.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as CIRCULAR_PROGRESS_CONSTANTS,b as CircularProgressAdapter,d as CircularProgressComponent,c as CircularProgressFoundation,e as defineCircularProgressComponent};
6
+ import{a,b,c,d,e}from"../chunks/chunk.G3ZS3UHM.js";import"../chunks/chunk.NVUMRW44.js";import"../chunks/chunk.TKDMM2ZZ.js";import"../chunks/chunk.55FCNVG5.js";import"../chunks/chunk.QH2GB3PD.js";import"../chunks/chunk.CFDK4RCW.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{a as CIRCULAR_PROGRESS_CONSTANTS,b as CircularProgressAdapter,d as CircularProgressComponent,c as CircularProgressFoundation,e as defineCircularProgressComponent};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a,b,c,d,e,f,g}from"../chunks/chunk.2BNDXFI5.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.4WPFFNLH.js";import"../chunks/chunk.G45OZEIS.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as COLOR_PICKER_CONSTANTS,d as ColorPickerAdapter,f as ColorPickerComponent,e as ColorPickerFoundation,c as ColorPickerValueType,b as DEFAULT_COLOR,g as defineColorPickerComponent};
6
+ import{a,b,c,d,e,f,g}from"../chunks/chunk.PJOH4JKH.js";import"../chunks/chunk.NEMJIVPU.js";import"../chunks/chunk.QUJL4A23.js";import"../chunks/chunk.FDZSLGIW.js";import"../chunks/chunk.MGLWXAZO.js";import"../chunks/chunk.NRXPO3SY.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.T64UW37U.js";import"../chunks/chunk.ELENDYRJ.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.XIQFHO5R.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.DMCBAYQX.js";import"../chunks/chunk.WDTA5G7R.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.R2E6CGZE.js";import"../chunks/chunk.PTQTIY7L.js";import"../chunks/chunk.G4IN6Y46.js";import"../chunks/chunk.RFLASSCI.js";import"../chunks/chunk.NVUMRW44.js";import"../chunks/chunk.TKDMM2ZZ.js";import"../chunks/chunk.55FCNVG5.js";import"../chunks/chunk.QH2GB3PD.js";import"../chunks/chunk.CFDK4RCW.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{a as COLOR_PICKER_CONSTANTS,d as ColorPickerAdapter,f as ColorPickerComponent,e as ColorPickerFoundation,c as ColorPickerValueType,b as DEFAULT_COLOR,g as defineColorPickerComponent};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import"../../chunks/chunk.U6FJJGO3.js";import{a as b}from"../../chunks/chunk.G5MGGEFP.js";import{l as a}from"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{b as BaseAdapter,a as BaseComponent};
6
+ import"../../chunks/chunk.U6FJJGO3.js";import{a as b}from"../../chunks/chunk.TKDMM2ZZ.js";import{l as a}from"../../chunks/chunk.QH2GB3PD.js";import"../../chunks/chunk.CFDK4RCW.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.M3QDAYD2.js";export{b as BaseAdapter,a as BaseComponent};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import"../../chunks/chunk.SKLCDWYQ.js";import{a as b}from"../../chunks/chunk.ARJ3EVVO.js";import{a}from"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as BaseComponentDelegate,b as FormFieldComponentDelegate};
6
+ import"../../chunks/chunk.SKLCDWYQ.js";import{a as b}from"../../chunks/chunk.G4IN6Y46.js";import{a}from"../../chunks/chunk.RFLASSCI.js";import"../../chunks/chunk.CFDK4RCW.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.M3QDAYD2.js";export{a as BaseComponentDelegate,b as FormFieldComponentDelegate};
7
7
  //# sourceMappingURL=index.js.map