@mieweb/ui 0.10.0-dev.4 → 0.10.0-dev.40

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 (811) hide show
  1. package/README.md +4 -4
  2. package/agent/mieweb-ui.instructions.md +90 -1
  3. package/dist/CsvBlock-CFXSDPBI.js +9 -0
  4. package/dist/{CsvBlock-UWPMTLE2.js.map → CsvBlock-CFXSDPBI.js.map} +1 -1
  5. package/dist/CsvBlock-RGO7JXHJ.cjs +18 -0
  6. package/dist/{CsvBlock-ROJCKJDP.cjs.map → CsvBlock-RGO7JXHJ.cjs.map} +1 -1
  7. package/dist/HtmlPreviewBlock-VBYXCXVT.cjs +18 -0
  8. package/dist/{HtmlPreviewBlock-DWFN6EUB.cjs.map → HtmlPreviewBlock-VBYXCXVT.cjs.map} +1 -1
  9. package/dist/HtmlPreviewBlock-Z2GCK325.js +9 -0
  10. package/dist/{HtmlPreviewBlock-ME5U3XNS.js.map → HtmlPreviewBlock-Z2GCK325.js.map} +1 -1
  11. package/dist/MermaidBlock-I2R2BQOX.cjs +18 -0
  12. package/dist/{MermaidBlock-D2UC5M55.cjs.map → MermaidBlock-I2R2BQOX.cjs.map} +1 -1
  13. package/dist/MermaidBlock-XCAK7IA5.js +9 -0
  14. package/dist/{MermaidBlock-2B6CPD6Y.js.map → MermaidBlock-XCAK7IA5.js.map} +1 -1
  15. package/dist/SurveyBlock-KI5JOWCL.js +9 -0
  16. package/dist/{SurveyBlock-4DO62RBT.js.map → SurveyBlock-KI5JOWCL.js.map} +1 -1
  17. package/dist/SurveyBlock-UKSGISRT.cjs +18 -0
  18. package/dist/{SurveyBlock-4CD4AYMJ.cjs.map → SurveyBlock-UKSGISRT.cjs.map} +1 -1
  19. package/dist/ag-grid.d.cts +142 -1
  20. package/dist/ag-grid.d.ts +142 -1
  21. package/dist/brands/bluehive.cjs +3 -3
  22. package/dist/brands/bluehive.css +3 -0
  23. package/dist/brands/bluehive.js +1 -1
  24. package/dist/brands/index.cjs +14 -14
  25. package/dist/brands/index.js +4 -4
  26. package/dist/{chunk-3M7TAXNR.js → chunk-24AFHH4J.js} +3 -3
  27. package/dist/{chunk-3M7TAXNR.js.map → chunk-24AFHH4J.js.map} +1 -1
  28. package/dist/{chunk-JYZW2PZS.cjs → chunk-254QK722.cjs} +7 -7
  29. package/dist/chunk-254QK722.cjs.map +1 -0
  30. package/dist/{chunk-VPIYTQCV.cjs → chunk-2I4IRQQG.cjs} +12 -5
  31. package/dist/chunk-2I4IRQQG.cjs.map +1 -0
  32. package/dist/chunk-2X54ZLT6.js +874 -0
  33. package/dist/chunk-2X54ZLT6.js.map +1 -0
  34. package/dist/{chunk-5MCBWTIF.cjs → chunk-32ZCJOSR.cjs} +4 -4
  35. package/dist/{chunk-5MCBWTIF.cjs.map → chunk-32ZCJOSR.cjs.map} +1 -1
  36. package/dist/chunk-3YBS4WUQ.js +52 -0
  37. package/dist/chunk-3YBS4WUQ.js.map +1 -0
  38. package/dist/{chunk-WNJRS7Y7.cjs → chunk-3ZWCIPFT.cjs} +4 -2
  39. package/dist/chunk-3ZWCIPFT.cjs.map +1 -0
  40. package/dist/chunk-434L5RYF.js +314 -0
  41. package/dist/chunk-434L5RYF.js.map +1 -0
  42. package/dist/{chunk-TPWKM7JH.js → chunk-43K7OQ3E.js} +3 -3
  43. package/dist/{chunk-TPWKM7JH.js.map → chunk-43K7OQ3E.js.map} +1 -1
  44. package/dist/chunk-47P5QLX4.cjs +42 -0
  45. package/dist/chunk-47P5QLX4.cjs.map +1 -0
  46. package/dist/chunk-4IS3QCOQ.cjs +453 -0
  47. package/dist/chunk-4IS3QCOQ.cjs.map +1 -0
  48. package/dist/chunk-4NCDU5IG.cjs +56 -0
  49. package/dist/chunk-4NCDU5IG.cjs.map +1 -0
  50. package/dist/chunk-4ZB7RSMY.cjs +306 -0
  51. package/dist/chunk-4ZB7RSMY.cjs.map +1 -0
  52. package/dist/chunk-522WJIVI.js +99 -0
  53. package/dist/chunk-522WJIVI.js.map +1 -0
  54. package/dist/chunk-56VTM4OX.js +261 -0
  55. package/dist/chunk-56VTM4OX.js.map +1 -0
  56. package/dist/chunk-5HKZR6UG.js +248 -0
  57. package/dist/chunk-5HKZR6UG.js.map +1 -0
  58. package/dist/chunk-6BNZLN4B.cjs +548 -0
  59. package/dist/chunk-6BNZLN4B.cjs.map +1 -0
  60. package/dist/chunk-6N7NMOSV.js +233 -0
  61. package/dist/chunk-6N7NMOSV.js.map +1 -0
  62. package/dist/chunk-6TTCZY3P.cjs +4 -0
  63. package/dist/chunk-6TTCZY3P.cjs.map +1 -0
  64. package/dist/{chunk-YQDA366U.js → chunk-753ENNB6.js} +2 -2
  65. package/dist/{chunk-YQDA366U.js.map → chunk-753ENNB6.js.map} +1 -1
  66. package/dist/{chunk-N6IY47YA.cjs → chunk-7C5W744U.cjs} +8 -8
  67. package/dist/{chunk-N6IY47YA.cjs.map → chunk-7C5W744U.cjs.map} +1 -1
  68. package/dist/chunk-7E46YDOT.cjs +122 -0
  69. package/dist/chunk-7E46YDOT.cjs.map +1 -0
  70. package/dist/chunk-7HUTR6RX.js +178 -0
  71. package/dist/chunk-7HUTR6RX.js.map +1 -0
  72. package/dist/chunk-7IRTD4JT.cjs +61 -0
  73. package/dist/chunk-7IRTD4JT.cjs.map +1 -0
  74. package/dist/{chunk-KZFBQ7GY.js → chunk-7QW6TU4X.js} +3 -3
  75. package/dist/{chunk-KZFBQ7GY.js.map → chunk-7QW6TU4X.js.map} +1 -1
  76. package/dist/{chunk-MWVW4APN.cjs → chunk-7UTBDFFL.cjs} +4 -4
  77. package/dist/{chunk-MWVW4APN.cjs.map → chunk-7UTBDFFL.cjs.map} +1 -1
  78. package/dist/chunk-7WJ6MBF5.cjs +47 -0
  79. package/dist/chunk-7WJ6MBF5.cjs.map +1 -0
  80. package/dist/{chunk-FJ7YPVKV.js → chunk-7X6R3JIA.js} +3 -3
  81. package/dist/{chunk-FJ7YPVKV.js.map → chunk-7X6R3JIA.js.map} +1 -1
  82. package/dist/chunk-A4W5CSK7.cjs +216 -0
  83. package/dist/chunk-A4W5CSK7.cjs.map +1 -0
  84. package/dist/{chunk-2G75X6TS.cjs → chunk-AHHFFXJR.cjs} +3 -3
  85. package/dist/{chunk-2G75X6TS.cjs.map → chunk-AHHFFXJR.cjs.map} +1 -1
  86. package/dist/chunk-AJPFQF3H.cjs +896 -0
  87. package/dist/chunk-AJPFQF3H.cjs.map +1 -0
  88. package/dist/chunk-AMYFRY7K.js +3 -0
  89. package/dist/chunk-AMYFRY7K.js.map +1 -0
  90. package/dist/{chunk-VNYW4C4J.cjs → chunk-ANMX7YDL.cjs} +4 -84
  91. package/dist/chunk-ANMX7YDL.cjs.map +1 -0
  92. package/dist/chunk-ARIJ5OHW.cjs +139 -0
  93. package/dist/chunk-ARIJ5OHW.cjs.map +1 -0
  94. package/dist/{chunk-DVOQ3JNO.js → chunk-B4CKCNWD.js} +16 -8
  95. package/dist/chunk-B4CKCNWD.js.map +1 -0
  96. package/dist/chunk-BJ6ABRSQ.cjs +256 -0
  97. package/dist/chunk-BJ6ABRSQ.cjs.map +1 -0
  98. package/dist/chunk-BM35CACB.js +148 -0
  99. package/dist/chunk-BM35CACB.js.map +1 -0
  100. package/dist/{chunk-G3JX3UAU.cjs → chunk-BWSZ2BHJ.cjs} +6 -6
  101. package/dist/{chunk-G3JX3UAU.cjs.map → chunk-BWSZ2BHJ.cjs.map} +1 -1
  102. package/dist/chunk-BXRQ6HEP.cjs +4 -0
  103. package/dist/chunk-BXRQ6HEP.cjs.map +1 -0
  104. package/dist/{chunk-SGFYA22I.cjs → chunk-C77FAR3F.cjs} +8 -8
  105. package/dist/{chunk-SGFYA22I.cjs.map → chunk-C77FAR3F.cjs.map} +1 -1
  106. package/dist/chunk-CBBKWRLG.js +213 -0
  107. package/dist/chunk-CBBKWRLG.js.map +1 -0
  108. package/dist/{chunk-UAMXCMST.cjs → chunk-CFI3TQMA.cjs} +3 -3
  109. package/dist/{chunk-UAMXCMST.cjs.map → chunk-CFI3TQMA.cjs.map} +1 -1
  110. package/dist/chunk-CLQW724U.cjs +271 -0
  111. package/dist/chunk-CLQW724U.cjs.map +1 -0
  112. package/dist/chunk-CPDNX3LS.cjs +47 -0
  113. package/dist/chunk-CPDNX3LS.cjs.map +1 -0
  114. package/dist/chunk-CVNPNZMX.js +44 -0
  115. package/dist/chunk-CVNPNZMX.js.map +1 -0
  116. package/dist/{chunk-2YCERQWC.js → chunk-CVXESGXJ.js} +10 -9
  117. package/dist/chunk-CVXESGXJ.js.map +1 -0
  118. package/dist/chunk-DGHS5IVD.js +305 -0
  119. package/dist/chunk-DGHS5IVD.js.map +1 -0
  120. package/dist/chunk-DHGCLPFZ.js +91 -0
  121. package/dist/chunk-DHGCLPFZ.js.map +1 -0
  122. package/dist/{chunk-GD7EBGC4.cjs → chunk-DHU3FFC3.cjs} +49 -19
  123. package/dist/chunk-DHU3FFC3.cjs.map +1 -0
  124. package/dist/chunk-DO2YN46R.cjs +201 -0
  125. package/dist/chunk-DO2YN46R.cjs.map +1 -0
  126. package/dist/chunk-DVDT7TX7.js +151 -0
  127. package/dist/chunk-DVDT7TX7.js.map +1 -0
  128. package/dist/chunk-DXEPYK3I.cjs +92 -0
  129. package/dist/chunk-DXEPYK3I.cjs.map +1 -0
  130. package/dist/{chunk-X4XPNTCZ.cjs → chunk-DZ3JTMKM.cjs} +136 -58
  131. package/dist/chunk-DZ3JTMKM.cjs.map +1 -0
  132. package/dist/chunk-EACNRR3C.cjs +4 -0
  133. package/dist/chunk-EACNRR3C.cjs.map +1 -0
  134. package/dist/{chunk-ZGRCSNPK.js → chunk-EEOGIGIA.js} +4 -4
  135. package/dist/{chunk-ZGRCSNPK.js.map → chunk-EEOGIGIA.js.map} +1 -1
  136. package/dist/chunk-EPCUPHEO.js +193 -0
  137. package/dist/chunk-EPCUPHEO.js.map +1 -0
  138. package/dist/{chunk-7ZXAQTV4.cjs → chunk-ERACGSDY.cjs} +8 -8
  139. package/dist/{chunk-7ZXAQTV4.cjs.map → chunk-ERACGSDY.cjs.map} +1 -1
  140. package/dist/{chunk-OD47TTAW.cjs → chunk-F2FOG4EG.cjs} +9 -9
  141. package/dist/{chunk-OD47TTAW.cjs.map → chunk-F2FOG4EG.cjs.map} +1 -1
  142. package/dist/chunk-F3EWRDIT.js +312 -0
  143. package/dist/chunk-F3EWRDIT.js.map +1 -0
  144. package/dist/{chunk-XCP454Q6.js → chunk-F4N67NAF.js} +12 -3
  145. package/dist/chunk-F4N67NAF.js.map +1 -0
  146. package/dist/{chunk-WGPLUCBD.js → chunk-F6W62K4J.js} +4 -4
  147. package/dist/{chunk-WGPLUCBD.js.map → chunk-F6W62K4J.js.map} +1 -1
  148. package/dist/chunk-FBCDYTWM.js +385 -0
  149. package/dist/chunk-FBCDYTWM.js.map +1 -0
  150. package/dist/{chunk-V7D3YGUV.js → chunk-FGLIP6YR.js} +4 -4
  151. package/dist/{chunk-V7D3YGUV.js.map → chunk-FGLIP6YR.js.map} +1 -1
  152. package/dist/{chunk-VU6UTJRM.js → chunk-FIKO4WR6.js} +3 -3
  153. package/dist/{chunk-VU6UTJRM.js.map → chunk-FIKO4WR6.js.map} +1 -1
  154. package/dist/chunk-FSGJXCBG.cjs +318 -0
  155. package/dist/chunk-FSGJXCBG.cjs.map +1 -0
  156. package/dist/chunk-FSWHZY3T.cjs +328 -0
  157. package/dist/chunk-FSWHZY3T.cjs.map +1 -0
  158. package/dist/chunk-FTEZNCRI.js +29 -0
  159. package/dist/chunk-FTEZNCRI.js.map +1 -0
  160. package/dist/{chunk-YVPC65ZJ.cjs → chunk-GF2BE4FB.cjs} +91 -32
  161. package/dist/chunk-GF2BE4FB.cjs.map +1 -0
  162. package/dist/{chunk-JEIW7BSV.cjs → chunk-GKDHMNUA.cjs} +2 -52
  163. package/dist/chunk-GKDHMNUA.cjs.map +1 -0
  164. package/dist/chunk-GM32IDVL.cjs +356 -0
  165. package/dist/chunk-GM32IDVL.cjs.map +1 -0
  166. package/dist/chunk-GVM6DTR5.js +90 -0
  167. package/dist/chunk-GVM6DTR5.js.map +1 -0
  168. package/dist/{chunk-SQHMGT4W.js → chunk-GW4RFJZ5.js} +7 -7
  169. package/dist/chunk-GW4RFJZ5.js.map +1 -0
  170. package/dist/chunk-GY5SP4ST.js +3 -0
  171. package/dist/chunk-GY5SP4ST.js.map +1 -0
  172. package/dist/chunk-H2Y7HZV5.js +3 -0
  173. package/dist/chunk-H2Y7HZV5.js.map +1 -0
  174. package/dist/chunk-H3P7POFC.cjs +337 -0
  175. package/dist/chunk-H3P7POFC.cjs.map +1 -0
  176. package/dist/{chunk-JID7AZTO.cjs → chunk-H3ROMJYI.cjs} +4 -4
  177. package/dist/{chunk-JID7AZTO.cjs.map → chunk-H3ROMJYI.cjs.map} +1 -1
  178. package/dist/{chunk-462XSCP3.cjs → chunk-HCIXGFWR.cjs} +4 -4
  179. package/dist/{chunk-462XSCP3.cjs.map → chunk-HCIXGFWR.cjs.map} +1 -1
  180. package/dist/{chunk-H4ZXMQQW.js → chunk-HDY7YQFX.js} +3 -3
  181. package/dist/{chunk-H4ZXMQQW.js.map → chunk-HDY7YQFX.js.map} +1 -1
  182. package/dist/chunk-HNFFFFYH.cjs +114 -0
  183. package/dist/chunk-HNFFFFYH.cjs.map +1 -0
  184. package/dist/chunk-HNXLLDPN.js +25 -0
  185. package/dist/chunk-HNXLLDPN.js.map +1 -0
  186. package/dist/{chunk-NV2CWBI2.cjs → chunk-IEY3ZJIT.cjs} +12 -3
  187. package/dist/chunk-IEY3ZJIT.cjs.map +1 -0
  188. package/dist/{chunk-3QEVGSFG.cjs → chunk-IGDO62KR.cjs} +5 -5
  189. package/dist/{chunk-3QEVGSFG.cjs.map → chunk-IGDO62KR.cjs.map} +1 -1
  190. package/dist/chunk-IT775BYG.js +179 -0
  191. package/dist/chunk-IT775BYG.js.map +1 -0
  192. package/dist/{chunk-N5O47VGS.cjs → chunk-IVGI353O.cjs} +2 -2
  193. package/dist/{chunk-N5O47VGS.cjs.map → chunk-IVGI353O.cjs.map} +1 -1
  194. package/dist/chunk-IWRBJHO3.cjs +51 -0
  195. package/dist/chunk-IWRBJHO3.cjs.map +1 -0
  196. package/dist/{chunk-VILW53UZ.js → chunk-JMAZ2GKT.js} +3 -3
  197. package/dist/{chunk-VILW53UZ.js.map → chunk-JMAZ2GKT.js.map} +1 -1
  198. package/dist/{chunk-WWJIW2IH.cjs → chunk-JSXIB6EJ.cjs} +4 -4
  199. package/dist/{chunk-WWJIW2IH.cjs.map → chunk-JSXIB6EJ.cjs.map} +1 -1
  200. package/dist/{chunk-KRU6IGV7.js → chunk-JUJGWUAN.js} +28 -6
  201. package/dist/chunk-JUJGWUAN.js.map +1 -0
  202. package/dist/{chunk-FXO5ARBB.cjs → chunk-KDW6BD4O.cjs} +4 -4
  203. package/dist/{chunk-FXO5ARBB.cjs.map → chunk-KDW6BD4O.cjs.map} +1 -1
  204. package/dist/{chunk-Z5V7SAZ4.js → chunk-KFEN2SRZ.js} +3 -3
  205. package/dist/{chunk-Z5V7SAZ4.js.map → chunk-KFEN2SRZ.js.map} +1 -1
  206. package/dist/{chunk-XEAT7XJG.cjs → chunk-KQ6GLYFZ.cjs} +29 -13
  207. package/dist/chunk-KQ6GLYFZ.cjs.map +1 -0
  208. package/dist/chunk-L6K4PRZK.cjs +4 -0
  209. package/dist/chunk-L6K4PRZK.cjs.map +1 -0
  210. package/dist/{chunk-7ZDPD5ZX.cjs → chunk-LC3JL2HB.cjs} +11 -7
  211. package/dist/chunk-LC3JL2HB.cjs.map +1 -0
  212. package/dist/{chunk-P7UMS4E6.cjs → chunk-LC7PVBXH.cjs} +16 -8
  213. package/dist/chunk-LC7PVBXH.cjs.map +1 -0
  214. package/dist/{chunk-Y5HFM7LO.js → chunk-LDBNUJB7.js} +5 -5
  215. package/dist/{chunk-Y5HFM7LO.js.map → chunk-LDBNUJB7.js.map} +1 -1
  216. package/dist/chunk-LRAAJRE7.cjs +2707 -0
  217. package/dist/chunk-LRAAJRE7.cjs.map +1 -0
  218. package/dist/chunk-LUPRGPKP.js +2540 -0
  219. package/dist/chunk-LUPRGPKP.js.map +1 -0
  220. package/dist/chunk-M3VPGJMV.js +283 -0
  221. package/dist/chunk-M3VPGJMV.js.map +1 -0
  222. package/dist/{chunk-VKELAMAZ.js → chunk-N54FYWG6.js} +27 -11
  223. package/dist/chunk-N54FYWG6.js.map +1 -0
  224. package/dist/chunk-N5JDL4VE.js +3 -0
  225. package/dist/chunk-N5JDL4VE.js.map +1 -0
  226. package/dist/{chunk-2QKBTPUC.cjs → chunk-NAH65KPK.cjs} +8 -8
  227. package/dist/{chunk-2QKBTPUC.cjs.map → chunk-NAH65KPK.cjs.map} +1 -1
  228. package/dist/{chunk-PYJDVWXM.js → chunk-NUB5HRKS.js} +3 -3
  229. package/dist/{chunk-PYJDVWXM.js.map → chunk-NUB5HRKS.js.map} +1 -1
  230. package/dist/{chunk-WNZAYBVB.cjs → chunk-O6BJMVGT.cjs} +48 -48
  231. package/dist/{chunk-WNZAYBVB.cjs.map → chunk-O6BJMVGT.cjs.map} +1 -1
  232. package/dist/{chunk-SVSHA7XV.js → chunk-O6XDA3SI.js} +31 -33
  233. package/dist/chunk-O6XDA3SI.js.map +1 -0
  234. package/dist/chunk-OIF34LEN.cjs +425 -0
  235. package/dist/chunk-OIF34LEN.cjs.map +1 -0
  236. package/dist/chunk-OIMXMPH2.cjs +218 -0
  237. package/dist/chunk-OIMXMPH2.cjs.map +1 -0
  238. package/dist/{chunk-J5CSLNCN.cjs → chunk-OODVC2UD.cjs} +2 -2
  239. package/dist/{chunk-J5CSLNCN.cjs.map → chunk-OODVC2UD.cjs.map} +1 -1
  240. package/dist/{chunk-ACCAXVOG.js → chunk-OSTSZDQC.js} +134 -56
  241. package/dist/chunk-OSTSZDQC.js.map +1 -0
  242. package/dist/{chunk-LL6IWKI3.js → chunk-OW3SQJ7P.js} +3 -3
  243. package/dist/{chunk-LL6IWKI3.js.map → chunk-OW3SQJ7P.js.map} +1 -1
  244. package/dist/chunk-P22YCUVM.cjs +4 -0
  245. package/dist/chunk-P22YCUVM.cjs.map +1 -0
  246. package/dist/{chunk-CEQJGUAS.js → chunk-P4E3K3ND.js} +12 -5
  247. package/dist/chunk-P4E3K3ND.js.map +1 -0
  248. package/dist/{chunk-5GUOOLPR.cjs → chunk-P5CMZZRZ.cjs} +5 -5
  249. package/dist/{chunk-5GUOOLPR.cjs.map → chunk-P5CMZZRZ.cjs.map} +1 -1
  250. package/dist/{chunk-TMMVIUUN.js → chunk-P7D7BYFE.js} +4 -4
  251. package/dist/{chunk-TMMVIUUN.js.map → chunk-P7D7BYFE.js.map} +1 -1
  252. package/dist/{chunk-3T7QGLNB.js → chunk-PJEL5ZZV.js} +4 -2
  253. package/dist/chunk-PJEL5ZZV.js.map +1 -0
  254. package/dist/chunk-PYI2IWNX.cjs +281 -0
  255. package/dist/chunk-PYI2IWNX.cjs.map +1 -0
  256. package/dist/chunk-Q3YVLO52.cjs +174 -0
  257. package/dist/chunk-Q3YVLO52.cjs.map +1 -0
  258. package/dist/{chunk-WNM7IZJ7.js → chunk-QJ2L5RU6.js} +7 -7
  259. package/dist/{chunk-WNM7IZJ7.js.map → chunk-QJ2L5RU6.js.map} +1 -1
  260. package/dist/{chunk-X4LBUPJO.cjs → chunk-QX6AAVDE.cjs} +31 -33
  261. package/dist/chunk-QX6AAVDE.cjs.map +1 -0
  262. package/dist/{chunk-UV2FVNWT.cjs → chunk-RIUQP2QS.cjs} +5 -5
  263. package/dist/{chunk-UV2FVNWT.cjs.map → chunk-RIUQP2QS.cjs.map} +1 -1
  264. package/dist/chunk-RLVYWUXG.js +115 -0
  265. package/dist/chunk-RLVYWUXG.js.map +1 -0
  266. package/dist/{chunk-22CYDCXA.js → chunk-RM2HPQIC.js} +105 -14
  267. package/dist/chunk-RM2HPQIC.js.map +1 -0
  268. package/dist/{chunk-DEDN5HAG.js → chunk-RSJGTWLM.js} +3 -3
  269. package/dist/{chunk-DEDN5HAG.js.map → chunk-RSJGTWLM.js.map} +1 -1
  270. package/dist/{chunk-6EN3IQQI.cjs → chunk-RV45J2ZT.cjs} +8 -8
  271. package/dist/{chunk-6EN3IQQI.cjs.map → chunk-RV45J2ZT.cjs.map} +1 -1
  272. package/dist/chunk-RZSSQ7AT.js +333 -0
  273. package/dist/chunk-RZSSQ7AT.js.map +1 -0
  274. package/dist/{chunk-ENKFJJZX.js → chunk-S2JZL4JC.js} +6 -6
  275. package/dist/{chunk-ENKFJJZX.js.map → chunk-S2JZL4JC.js.map} +1 -1
  276. package/dist/{chunk-ELPW32ZI.cjs → chunk-S4XCPDEO.cjs} +60 -59
  277. package/dist/chunk-S4XCPDEO.cjs.map +1 -0
  278. package/dist/{chunk-OE5CKRUC.js → chunk-SACHTD7B.js} +34 -4
  279. package/dist/chunk-SACHTD7B.js.map +1 -0
  280. package/dist/{chunk-U42F3HLE.cjs → chunk-SAGJHL2Z.cjs} +275 -5
  281. package/dist/chunk-SAGJHL2Z.cjs.map +1 -0
  282. package/dist/{chunk-VROIMIHB.cjs → chunk-SHBCUXFS.cjs} +28 -6
  283. package/dist/chunk-SHBCUXFS.cjs.map +1 -0
  284. package/dist/{chunk-RJ6NTJHC.js → chunk-SRMTRD7F.js} +3 -3
  285. package/dist/{chunk-RJ6NTJHC.js.map → chunk-SRMTRD7F.js.map} +1 -1
  286. package/dist/{chunk-IX6KFB3K.cjs → chunk-SW2E7XKY.cjs} +9 -9
  287. package/dist/{chunk-IX6KFB3K.cjs.map → chunk-SW2E7XKY.cjs.map} +1 -1
  288. package/dist/chunk-SZSRGUVO.js +402 -0
  289. package/dist/chunk-SZSRGUVO.js.map +1 -0
  290. package/dist/{chunk-NJ6MY6V5.js → chunk-T5BBZQ66.js} +3 -3
  291. package/dist/{chunk-NJ6MY6V5.js.map → chunk-T5BBZQ66.js.map} +1 -1
  292. package/dist/{chunk-JI244Y7C.js → chunk-T5NOFXOL.js} +275 -5
  293. package/dist/chunk-T5NOFXOL.js.map +1 -0
  294. package/dist/{chunk-2IZLKPUW.js → chunk-THLIL6PY.js} +3 -3
  295. package/dist/{chunk-2IZLKPUW.js.map → chunk-THLIL6PY.js.map} +1 -1
  296. package/dist/{chunk-HZ4MBUC3.js → chunk-TI3TQQ7F.js} +4 -53
  297. package/dist/chunk-TI3TQQ7F.js.map +1 -0
  298. package/dist/chunk-TVU4KB27.cjs +353 -0
  299. package/dist/chunk-TVU4KB27.cjs.map +1 -0
  300. package/dist/{chunk-5JJ2DAE4.js → chunk-TWQSMUE6.js} +7 -3
  301. package/dist/chunk-TWQSMUE6.js.map +1 -0
  302. package/dist/{chunk-TAXD5ADA.cjs → chunk-UEDTZYGI.cjs} +3 -3
  303. package/dist/{chunk-TAXD5ADA.cjs.map → chunk-UEDTZYGI.cjs.map} +1 -1
  304. package/dist/{chunk-3QGS6CXD.js → chunk-UJDWFDKE.js} +3 -3
  305. package/dist/{chunk-3QGS6CXD.js.map → chunk-UJDWFDKE.js.map} +1 -1
  306. package/dist/chunk-UNFDIBKJ.js +258 -0
  307. package/dist/chunk-UNFDIBKJ.js.map +1 -0
  308. package/dist/{chunk-UQ3VVR6A.cjs → chunk-UPWIJC6I.cjs} +3 -3
  309. package/dist/{chunk-UQ3VVR6A.cjs.map → chunk-UPWIJC6I.cjs.map} +1 -1
  310. package/dist/chunk-UTIPENPW.cjs +286 -0
  311. package/dist/chunk-UTIPENPW.cjs.map +1 -0
  312. package/dist/{chunk-S7WCHDBO.js → chunk-VCI2Y7ST.js} +3 -3
  313. package/dist/{chunk-S7WCHDBO.js.map → chunk-VCI2Y7ST.js.map} +1 -1
  314. package/dist/chunk-VEE46VTX.js +166 -0
  315. package/dist/chunk-VEE46VTX.js.map +1 -0
  316. package/dist/chunk-VFFV7EMT.cjs +188 -0
  317. package/dist/chunk-VFFV7EMT.cjs.map +1 -0
  318. package/dist/chunk-VINZZQBD.cjs +323 -0
  319. package/dist/chunk-VINZZQBD.cjs.map +1 -0
  320. package/dist/chunk-VPTASZ2O.cjs +171 -0
  321. package/dist/chunk-VPTASZ2O.cjs.map +1 -0
  322. package/dist/{chunk-P2CA3XGI.js → chunk-VSRO4PAI.js} +23 -5
  323. package/dist/chunk-VSRO4PAI.js.map +1 -0
  324. package/dist/{chunk-L6MDULYB.js → chunk-VU3ZMJBN.js} +2 -2
  325. package/dist/{chunk-L6MDULYB.js.map → chunk-VU3ZMJBN.js.map} +1 -1
  326. package/dist/{chunk-XI34EGK5.cjs → chunk-VV2U36T6.cjs} +9 -9
  327. package/dist/{chunk-XI34EGK5.cjs.map → chunk-VV2U36T6.cjs.map} +1 -1
  328. package/dist/{chunk-VPWJCJCX.cjs → chunk-VXW7D5LR.cjs} +26 -8
  329. package/dist/chunk-VXW7D5LR.cjs.map +1 -0
  330. package/dist/chunk-W3HXHIDO.cjs +2573 -0
  331. package/dist/chunk-W3HXHIDO.cjs.map +1 -0
  332. package/dist/{chunk-GOALNQZ2.js → chunk-WFBUBT54.js} +4 -83
  333. package/dist/chunk-WFBUBT54.js.map +1 -0
  334. package/dist/chunk-WFL4N5PC.js +283 -0
  335. package/dist/chunk-WFL4N5PC.js.map +1 -0
  336. package/dist/chunk-WQHBMZSC.js +295 -0
  337. package/dist/chunk-WQHBMZSC.js.map +1 -0
  338. package/dist/chunk-X3RSNAMX.js +195 -0
  339. package/dist/chunk-X3RSNAMX.js.map +1 -0
  340. package/dist/chunk-X5JOEZVR.js +525 -0
  341. package/dist/chunk-X5JOEZVR.js.map +1 -0
  342. package/dist/chunk-XBAAHOCP.js +3 -0
  343. package/dist/chunk-XBAAHOCP.js.map +1 -0
  344. package/dist/chunk-XDIMTPZU.cjs +202 -0
  345. package/dist/chunk-XDIMTPZU.cjs.map +1 -0
  346. package/dist/chunk-XDU65GLW.js +21 -0
  347. package/dist/chunk-XDU65GLW.js.map +1 -0
  348. package/dist/chunk-XI74P5F2.cjs +424 -0
  349. package/dist/chunk-XI74P5F2.cjs.map +1 -0
  350. package/dist/chunk-XNPDZANN.cjs +238 -0
  351. package/dist/chunk-XNPDZANN.cjs.map +1 -0
  352. package/dist/{chunk-WIAQQNFU.cjs → chunk-XRVMYT5G.cjs} +106 -13
  353. package/dist/chunk-XRVMYT5G.cjs.map +1 -0
  354. package/dist/chunk-XVW5DPPP.js +429 -0
  355. package/dist/chunk-XVW5DPPP.js.map +1 -0
  356. package/dist/chunk-XXA4NZUC.js +3 -0
  357. package/dist/chunk-XXA4NZUC.js.map +1 -0
  358. package/dist/chunk-Y424YL55.js +59 -0
  359. package/dist/chunk-Y424YL55.js.map +1 -0
  360. package/dist/chunk-Y4QNLW7W.js +300 -0
  361. package/dist/chunk-Y4QNLW7W.js.map +1 -0
  362. package/dist/chunk-Y7ZJZLJY.js +2657 -0
  363. package/dist/chunk-Y7ZJZLJY.js.map +1 -0
  364. package/dist/chunk-YGS2TRMP.js +38 -0
  365. package/dist/chunk-YGS2TRMP.js.map +1 -0
  366. package/dist/chunk-YUMOM3KE.js +167 -0
  367. package/dist/chunk-YUMOM3KE.js.map +1 -0
  368. package/dist/chunk-YW2AKBLS.cjs +23 -0
  369. package/dist/chunk-YW2AKBLS.cjs.map +1 -0
  370. package/dist/chunk-ZNUMOJOI.cjs +4 -0
  371. package/dist/chunk-ZNUMOJOI.cjs.map +1 -0
  372. package/dist/chunk-ZSNFL736.cjs +306 -0
  373. package/dist/chunk-ZSNFL736.cjs.map +1 -0
  374. package/dist/components/Accordion/index.cjs +2 -2
  375. package/dist/components/Accordion/index.d.cts +6 -0
  376. package/dist/components/Accordion/index.d.ts +6 -0
  377. package/dist/components/Accordion/index.js +1 -1
  378. package/dist/components/ActionPlan/index.cjs +34 -0
  379. package/dist/components/ActionPlan/index.cjs.map +1 -0
  380. package/dist/components/ActionPlan/index.d.cts +65 -0
  381. package/dist/components/ActionPlan/index.d.ts +65 -0
  382. package/dist/components/ActionPlan/index.js +21 -0
  383. package/dist/components/ActionPlan/index.js.map +1 -0
  384. package/dist/components/ActivityFeed/index.cjs +31 -0
  385. package/dist/components/ActivityFeed/index.cjs.map +1 -0
  386. package/dist/components/ActivityFeed/index.d.cts +99 -0
  387. package/dist/components/ActivityFeed/index.d.ts +99 -0
  388. package/dist/components/ActivityFeed/index.js +18 -0
  389. package/dist/components/ActivityFeed/index.js.map +1 -0
  390. package/dist/components/Alert/index.d.cts +1 -1
  391. package/dist/components/Alert/index.d.ts +1 -1
  392. package/dist/components/AlertDialog/index.cjs +19 -5
  393. package/dist/components/AlertDialog/index.d.cts +94 -16
  394. package/dist/components/AlertDialog/index.d.ts +94 -16
  395. package/dist/components/AlertDialog/index.js +6 -4
  396. package/dist/components/AssociationList/index.cjs +29 -0
  397. package/dist/components/AssociationList/index.cjs.map +1 -0
  398. package/dist/components/AssociationList/index.d.cts +50 -0
  399. package/dist/components/AssociationList/index.d.ts +50 -0
  400. package/dist/components/AssociationList/index.js +16 -0
  401. package/dist/components/AssociationList/index.js.map +1 -0
  402. package/dist/components/AudioRecorder/index.d.cts +2 -2
  403. package/dist/components/AudioRecorder/index.d.ts +2 -2
  404. package/dist/components/Autocomplete/index.d.cts +8 -2
  405. package/dist/components/Autocomplete/index.d.ts +8 -2
  406. package/dist/components/Avatar/index.cjs +9 -7
  407. package/dist/components/Avatar/index.d.cts +46 -15
  408. package/dist/components/Avatar/index.d.ts +46 -15
  409. package/dist/components/Avatar/index.js +3 -1
  410. package/dist/components/AvatarGroup/index.cjs +20 -0
  411. package/dist/components/AvatarGroup/index.cjs.map +1 -0
  412. package/dist/components/AvatarGroup/index.d.cts +57 -0
  413. package/dist/components/AvatarGroup/index.d.ts +57 -0
  414. package/dist/components/AvatarGroup/index.js +7 -0
  415. package/dist/components/AvatarGroup/index.js.map +1 -0
  416. package/dist/components/Badge/index.cjs +3 -3
  417. package/dist/components/Badge/index.d.cts +16 -2
  418. package/dist/components/Badge/index.d.ts +16 -2
  419. package/dist/components/Badge/index.js +1 -1
  420. package/dist/components/BoardView/index.cjs +24 -0
  421. package/dist/components/BoardView/index.cjs.map +1 -0
  422. package/dist/components/BoardView/index.d.cts +41 -0
  423. package/dist/components/BoardView/index.d.ts +41 -0
  424. package/dist/components/BoardView/index.js +7 -0
  425. package/dist/components/BoardView/index.js.map +1 -0
  426. package/dist/components/Button/index.cjs +5 -3
  427. package/dist/components/Button/index.d.cts +2 -1
  428. package/dist/components/Button/index.d.ts +2 -1
  429. package/dist/components/Button/index.js +3 -1
  430. package/dist/components/CalendarHeatmap/index.cjs +18 -0
  431. package/dist/components/CalendarHeatmap/index.cjs.map +1 -0
  432. package/dist/components/CalendarHeatmap/index.d.cts +47 -0
  433. package/dist/components/CalendarHeatmap/index.d.ts +47 -0
  434. package/dist/components/CalendarHeatmap/index.js +5 -0
  435. package/dist/components/CalendarHeatmap/index.js.map +1 -0
  436. package/dist/components/CalendarView/index.cjs +24 -0
  437. package/dist/components/CalendarView/index.cjs.map +1 -0
  438. package/dist/components/CalendarView/index.d.cts +39 -0
  439. package/dist/components/CalendarView/index.d.ts +39 -0
  440. package/dist/components/CalendarView/index.js +11 -0
  441. package/dist/components/CalendarView/index.js.map +1 -0
  442. package/dist/components/Card/index.d.cts +3 -3
  443. package/dist/components/Card/index.d.ts +3 -3
  444. package/dist/components/ClampedText/index.cjs +3 -2
  445. package/dist/components/ClampedText/index.js +2 -1
  446. package/dist/components/CollabStatus/index.cjs +6 -4
  447. package/dist/components/CollabStatus/index.d.cts +11 -0
  448. package/dist/components/CollabStatus/index.d.ts +11 -0
  449. package/dist/components/CollabStatus/index.js +3 -1
  450. package/dist/components/Collapsible/index.cjs +6 -6
  451. package/dist/components/Collapsible/index.d.cts +6 -0
  452. package/dist/components/Collapsible/index.d.ts +6 -0
  453. package/dist/components/Collapsible/index.js +3 -3
  454. package/dist/components/CompletenessMeter/index.cjs +23 -0
  455. package/dist/components/CompletenessMeter/index.cjs.map +1 -0
  456. package/dist/components/CompletenessMeter/index.d.cts +52 -0
  457. package/dist/components/CompletenessMeter/index.d.ts +52 -0
  458. package/dist/components/CompletenessMeter/index.js +6 -0
  459. package/dist/components/CompletenessMeter/index.js.map +1 -0
  460. package/dist/components/CountryCodeDropdown/index.cjs +5 -5
  461. package/dist/components/CountryCodeDropdown/index.js +2 -2
  462. package/dist/components/CustomizableDashboard/index.cjs +12 -10
  463. package/dist/components/CustomizableDashboard/index.js +5 -3
  464. package/dist/components/DateInput/index.d.cts +36 -4
  465. package/dist/components/DateInput/index.d.ts +36 -4
  466. package/dist/components/Dropdown/index.cjs +11 -10
  467. package/dist/components/Dropdown/index.d.cts +2 -1
  468. package/dist/components/Dropdown/index.d.ts +2 -1
  469. package/dist/components/Dropdown/index.js +4 -3
  470. package/dist/components/EmailEditor/index.cjs +67 -0
  471. package/dist/components/EmailEditor/index.cjs.map +1 -0
  472. package/dist/components/EmailEditor/index.d.cts +347 -0
  473. package/dist/components/EmailEditor/index.d.ts +347 -0
  474. package/dist/components/EmailEditor/index.js +26 -0
  475. package/dist/components/EmailEditor/index.js.map +1 -0
  476. package/dist/components/FieldHistory/index.cjs +34 -0
  477. package/dist/components/FieldHistory/index.cjs.map +1 -0
  478. package/dist/components/FieldHistory/index.d.cts +66 -0
  479. package/dist/components/FieldHistory/index.d.ts +66 -0
  480. package/dist/components/FieldHistory/index.js +21 -0
  481. package/dist/components/FieldHistory/index.js.map +1 -0
  482. package/dist/components/FloatingWindow/index.cjs +6 -4
  483. package/dist/components/FloatingWindow/index.js +4 -2
  484. package/dist/components/GanttView/index.cjs +20 -0
  485. package/dist/components/GanttView/index.cjs.map +1 -0
  486. package/dist/components/GanttView/index.d.cts +36 -0
  487. package/dist/components/GanttView/index.d.ts +36 -0
  488. package/dist/components/GanttView/index.js +7 -0
  489. package/dist/components/GanttView/index.js.map +1 -0
  490. package/dist/components/GlossaryTooltip/index.cjs +3 -3
  491. package/dist/components/GlossaryTooltip/index.js +2 -2
  492. package/dist/components/InlineEdit/index.cjs +20 -0
  493. package/dist/components/InlineEdit/index.cjs.map +1 -0
  494. package/dist/components/InlineEdit/index.d.cts +56 -0
  495. package/dist/components/InlineEdit/index.d.ts +56 -0
  496. package/dist/components/InlineEdit/index.js +7 -0
  497. package/dist/components/InlineEdit/index.js.map +1 -0
  498. package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
  499. package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
  500. package/dist/components/ListView/index.cjs +24 -0
  501. package/dist/components/ListView/index.cjs.map +1 -0
  502. package/dist/components/ListView/index.d.cts +124 -0
  503. package/dist/components/ListView/index.d.ts +124 -0
  504. package/dist/components/ListView/index.js +11 -0
  505. package/dist/components/ListView/index.js.map +1 -0
  506. package/dist/components/LogoUploader/index.cjs +18 -0
  507. package/dist/components/LogoUploader/index.cjs.map +1 -0
  508. package/dist/components/LogoUploader/index.d.cts +49 -0
  509. package/dist/components/LogoUploader/index.d.ts +49 -0
  510. package/dist/components/LogoUploader/index.js +5 -0
  511. package/dist/components/LogoUploader/index.js.map +1 -0
  512. package/dist/components/Markdown/index.cjs +21 -19
  513. package/dist/components/Markdown/index.js +9 -7
  514. package/dist/components/MediaEditor/index.cjs +16 -14
  515. package/dist/components/MediaEditor/index.d.cts +91 -2
  516. package/dist/components/MediaEditor/index.d.ts +91 -2
  517. package/dist/components/MediaEditor/index.js +11 -9
  518. package/dist/components/MediaFeed/index.cjs +29 -0
  519. package/dist/components/MediaFeed/index.cjs.map +1 -0
  520. package/dist/components/MediaFeed/index.d.cts +104 -0
  521. package/dist/components/MediaFeed/index.d.ts +104 -0
  522. package/dist/components/MediaFeed/index.js +20 -0
  523. package/dist/components/MediaFeed/index.js.map +1 -0
  524. package/dist/components/MediaPlayer/index.cjs +8 -6
  525. package/dist/components/MediaPlayer/index.d.cts +19 -1
  526. package/dist/components/MediaPlayer/index.d.ts +19 -1
  527. package/dist/components/MediaPlayer/index.js +5 -3
  528. package/dist/components/MegaMenu/index.cjs +7 -5
  529. package/dist/components/MegaMenu/index.js +4 -2
  530. package/dist/components/Modal/index.cjs +10 -10
  531. package/dist/components/Modal/index.js +2 -2
  532. package/dist/components/Pagination/index.d.cts +1 -1
  533. package/dist/components/Pagination/index.d.ts +1 -1
  534. package/dist/components/PhiMask/index.cjs +18 -0
  535. package/dist/components/PhiMask/index.cjs.map +1 -0
  536. package/dist/components/PhiMask/index.d.cts +45 -0
  537. package/dist/components/PhiMask/index.d.ts +45 -0
  538. package/dist/components/PhiMask/index.js +5 -0
  539. package/dist/components/PhiMask/index.js.map +1 -0
  540. package/dist/components/Progress/index.cjs +6 -6
  541. package/dist/components/Progress/index.d.cts +8 -2
  542. package/dist/components/Progress/index.d.ts +8 -2
  543. package/dist/components/Progress/index.js +1 -1
  544. package/dist/components/PropertyList/index.cjs +25 -0
  545. package/dist/components/PropertyList/index.cjs.map +1 -0
  546. package/dist/components/PropertyList/index.d.cts +87 -0
  547. package/dist/components/PropertyList/index.d.ts +87 -0
  548. package/dist/components/PropertyList/index.js +12 -0
  549. package/dist/components/PropertyList/index.js.map +1 -0
  550. package/dist/components/Q/index.d.cts +2 -2
  551. package/dist/components/Q/index.d.ts +2 -2
  552. package/dist/components/QuickAction/index.d.cts +1 -1
  553. package/dist/components/QuickAction/index.d.ts +1 -1
  554. package/dist/components/RadialExplorer/index.cjs +7 -5
  555. package/dist/components/RadialExplorer/index.js +6 -4
  556. package/dist/components/Rating/index.cjs +28 -0
  557. package/dist/components/Rating/index.cjs.map +1 -0
  558. package/dist/components/Rating/index.d.cts +85 -0
  559. package/dist/components/Rating/index.d.ts +85 -0
  560. package/dist/components/Rating/index.js +7 -0
  561. package/dist/components/Rating/index.js.map +1 -0
  562. package/dist/components/RecordButton/index.d.cts +1 -1
  563. package/dist/components/RecordButton/index.d.ts +1 -1
  564. package/dist/components/RecordHeader/index.cjs +29 -0
  565. package/dist/components/RecordHeader/index.cjs.map +1 -0
  566. package/dist/components/RecordHeader/index.d.cts +96 -0
  567. package/dist/components/RecordHeader/index.d.ts +96 -0
  568. package/dist/components/RecordHeader/index.js +16 -0
  569. package/dist/components/RecordHeader/index.js.map +1 -0
  570. package/dist/components/RecordLayout/index.cjs +21 -0
  571. package/dist/components/RecordLayout/index.cjs.map +1 -0
  572. package/dist/components/RecordLayout/index.d.cts +40 -0
  573. package/dist/components/RecordLayout/index.d.ts +40 -0
  574. package/dist/components/RecordLayout/index.js +8 -0
  575. package/dist/components/RecordLayout/index.js.map +1 -0
  576. package/dist/components/RichTextEditor/index.cjs +11 -8
  577. package/dist/components/RichTextEditor/index.d.cts +12 -2
  578. package/dist/components/RichTextEditor/index.d.ts +12 -2
  579. package/dist/components/RichTextEditor/index.js +8 -5
  580. package/dist/components/ScrollArea/index.d.cts +1 -1
  581. package/dist/components/ScrollArea/index.d.ts +1 -1
  582. package/dist/components/SectionSpyNav/index.cjs +5 -3
  583. package/dist/components/SectionSpyNav/index.js +4 -2
  584. package/dist/components/Select/index.cjs +4 -4
  585. package/dist/components/Select/index.d.cts +2 -2
  586. package/dist/components/Select/index.d.ts +2 -2
  587. package/dist/components/Select/index.js +2 -2
  588. package/dist/components/Skeleton/index.d.cts +1 -1
  589. package/dist/components/Skeleton/index.d.ts +1 -1
  590. package/dist/components/Slider/index.d.cts +2 -2
  591. package/dist/components/Slider/index.d.ts +2 -2
  592. package/dist/components/SliderCalculator/index.cjs +4 -4
  593. package/dist/components/SliderCalculator/index.js +2 -2
  594. package/dist/components/SourceTip/index.cjs +3 -3
  595. package/dist/components/SourceTip/index.js +2 -2
  596. package/dist/components/Spinner/index.d.cts +2 -2
  597. package/dist/components/Spinner/index.d.ts +2 -2
  598. package/dist/components/SuperChat/index.cjs +1300 -713
  599. package/dist/components/SuperChat/index.cjs.map +1 -1
  600. package/dist/components/SuperChat/index.d.cts +126 -8
  601. package/dist/components/SuperChat/index.d.ts +126 -8
  602. package/dist/components/SuperChat/index.js +1404 -817
  603. package/dist/components/SuperChat/index.js.map +1 -1
  604. package/dist/components/SuperChat/plugins/index.cjs +7 -6
  605. package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
  606. package/dist/components/SuperChat/plugins/index.d.cts +2 -3
  607. package/dist/components/SuperChat/plugins/index.d.ts +2 -3
  608. package/dist/components/SuperChat/plugins/index.js +6 -5
  609. package/dist/components/SuperChat/plugins/index.js.map +1 -1
  610. package/dist/components/Tabs/index.cjs +9 -7
  611. package/dist/components/Tabs/index.d.cts +12 -1
  612. package/dist/components/Tabs/index.d.ts +12 -1
  613. package/dist/components/Tabs/index.js +3 -1
  614. package/dist/components/TagEditor/index.cjs +22 -0
  615. package/dist/components/TagEditor/index.cjs.map +1 -0
  616. package/dist/components/TagEditor/index.d.cts +46 -0
  617. package/dist/components/TagEditor/index.d.ts +46 -0
  618. package/dist/components/TagEditor/index.js +9 -0
  619. package/dist/components/TagEditor/index.js.map +1 -0
  620. package/dist/components/Text/index.d.cts +3 -3
  621. package/dist/components/Text/index.d.ts +3 -3
  622. package/dist/components/Textarea/index.d.cts +2 -2
  623. package/dist/components/Textarea/index.d.ts +2 -2
  624. package/dist/components/ThemeProvider/index.cjs +9 -9
  625. package/dist/components/ThemeProvider/index.d.cts +3 -1
  626. package/dist/components/ThemeProvider/index.d.ts +3 -1
  627. package/dist/components/ThemeProvider/index.js +3 -3
  628. package/dist/components/Tooltip/index.cjs +3 -3
  629. package/dist/components/Tooltip/index.js +2 -2
  630. package/dist/components/TranscriptView/index.d.cts +85 -4
  631. package/dist/components/TranscriptView/index.d.ts +85 -4
  632. package/dist/components/UserPicker/index.cjs +24 -0
  633. package/dist/components/UserPicker/index.cjs.map +1 -0
  634. package/dist/components/UserPicker/index.d.cts +60 -0
  635. package/dist/components/UserPicker/index.d.ts +60 -0
  636. package/dist/components/UserPicker/index.js +11 -0
  637. package/dist/components/UserPicker/index.js.map +1 -0
  638. package/dist/components/VideoCard/index.cjs +4 -4
  639. package/dist/components/VideoCard/index.js +2 -2
  640. package/dist/components/ViewSet/index.cjs +25 -0
  641. package/dist/components/ViewSet/index.cjs.map +1 -0
  642. package/dist/components/ViewSet/index.d.cts +201 -0
  643. package/dist/components/ViewSet/index.d.ts +201 -0
  644. package/dist/components/ViewSet/index.js +16 -0
  645. package/dist/components/ViewSet/index.js.map +1 -0
  646. package/dist/components/ViewSwitcher/index.cjs +20 -0
  647. package/dist/components/ViewSwitcher/index.cjs.map +1 -0
  648. package/dist/components/ViewSwitcher/index.d.cts +39 -0
  649. package/dist/components/ViewSwitcher/index.d.ts +39 -0
  650. package/dist/components/ViewSwitcher/index.js +7 -0
  651. package/dist/components/ViewSwitcher/index.js.map +1 -0
  652. package/dist/datavis.cjs +6 -4
  653. package/dist/datavis.cjs.map +1 -1
  654. package/dist/datavis.d.cts +167 -13
  655. package/dist/datavis.d.ts +167 -13
  656. package/dist/datavis.js +4 -2
  657. package/dist/datavis.js.map +1 -1
  658. package/dist/deck.cjs +3360 -0
  659. package/dist/deck.cjs.map +1 -0
  660. package/dist/deck.d.cts +712 -0
  661. package/dist/deck.d.ts +712 -0
  662. package/dist/deck.js +3316 -0
  663. package/dist/deck.js.map +1 -0
  664. package/dist/esheet.cjs +19 -16
  665. package/dist/esheet.cjs.map +1 -1
  666. package/dist/esheet.d.cts +183 -1
  667. package/dist/esheet.d.ts +183 -1
  668. package/dist/esheet.js +16 -13
  669. package/dist/esheet.js.map +1 -1
  670. package/dist/globe.cjs +2 -2
  671. package/dist/globe.js +1 -1
  672. package/dist/hooks/index.cjs +94 -35
  673. package/dist/hooks/index.d.cts +680 -36
  674. package/dist/hooks/index.d.ts +680 -36
  675. package/dist/hooks/index.js +10 -7
  676. package/dist/icons-wBacj6BW.d.cts +142 -0
  677. package/dist/icons-wBacj6BW.d.ts +142 -0
  678. package/dist/index.cjs +2152 -1276
  679. package/dist/index.cjs.map +1 -1
  680. package/dist/index.d.cts +10375 -626
  681. package/dist/index.d.ts +10375 -626
  682. package/dist/index.js +740 -313
  683. package/dist/index.js.map +1 -1
  684. package/dist/kerebron.cjs +58 -19
  685. package/dist/kerebron.cjs.map +1 -1
  686. package/dist/kerebron.css +115 -0
  687. package/dist/kerebron.d.cts +37 -0
  688. package/dist/kerebron.d.ts +37 -0
  689. package/dist/kerebron.js +58 -19
  690. package/dist/kerebron.js.map +1 -1
  691. package/dist/maps.cjs +160 -0
  692. package/dist/maps.cjs.map +1 -0
  693. package/dist/maps.d.cts +42 -0
  694. package/dist/maps.d.ts +42 -0
  695. package/dist/maps.js +138 -0
  696. package/dist/maps.js.map +1 -0
  697. package/dist/motion.cjs +7 -7
  698. package/dist/motion.d.cts +186 -2
  699. package/dist/motion.d.ts +186 -2
  700. package/dist/motion.js +2 -2
  701. package/dist/org-chart.cjs +1302 -0
  702. package/dist/org-chart.cjs.map +1 -0
  703. package/dist/org-chart.d.cts +164 -0
  704. package/dist/org-chart.d.ts +164 -0
  705. package/dist/org-chart.js +1277 -0
  706. package/dist/org-chart.js.map +1 -0
  707. package/dist/q.d.cts +25 -3
  708. package/dist/q.d.ts +25 -3
  709. package/dist/styles/effects.css +133 -0
  710. package/dist/styles/init.css +22 -3
  711. package/dist/styles.css +1 -1
  712. package/dist/tailwind-preset.cjs +4 -4
  713. package/dist/tailwind-preset.js +1 -1
  714. package/dist/templates.cjs +156 -0
  715. package/dist/templates.cjs.map +1 -0
  716. package/dist/templates.d.cts +734 -0
  717. package/dist/templates.d.ts +734 -0
  718. package/dist/templates.js +11 -0
  719. package/dist/templates.js.map +1 -0
  720. package/dist/types-CDeBNZiE.d.cts +92 -0
  721. package/dist/types-CDeBNZiE.d.ts +92 -0
  722. package/dist/types-Cx1FHLq2.d.cts +548 -0
  723. package/dist/types-Cx1FHLq2.d.ts +548 -0
  724. package/dist/types-DsdZvEI1.d.cts +92 -0
  725. package/dist/types-DsdZvEI1.d.ts +92 -0
  726. package/dist/utils/index.cjs +9 -9
  727. package/dist/utils/index.d.cts +13 -2
  728. package/dist/utils/index.d.ts +13 -2
  729. package/dist/utils/index.js +1 -1
  730. package/package.json +82 -13
  731. package/dist/Animated-XmH6k8pZ.d.cts +0 -188
  732. package/dist/Animated-XmH6k8pZ.d.ts +0 -188
  733. package/dist/CsvBlock-ROJCKJDP.cjs +0 -16
  734. package/dist/CsvBlock-UWPMTLE2.js +0 -7
  735. package/dist/HtmlPreviewBlock-DWFN6EUB.cjs +0 -16
  736. package/dist/HtmlPreviewBlock-ME5U3XNS.js +0 -7
  737. package/dist/MedicationEditor-Bp4NLy7y.d.cts +0 -352
  738. package/dist/MedicationEditor-Bp4NLy7y.d.ts +0 -352
  739. package/dist/MermaidBlock-2B6CPD6Y.js +0 -7
  740. package/dist/MermaidBlock-D2UC5M55.cjs +0 -16
  741. package/dist/SurveyBlock-4CD4AYMJ.cjs +0 -16
  742. package/dist/SurveyBlock-4DO62RBT.js +0 -7
  743. package/dist/chunk-22CYDCXA.js.map +0 -1
  744. package/dist/chunk-2YCERQWC.js.map +0 -1
  745. package/dist/chunk-3T7QGLNB.js.map +0 -1
  746. package/dist/chunk-5JJ2DAE4.js.map +0 -1
  747. package/dist/chunk-6HFFWEM3.cjs +0 -22
  748. package/dist/chunk-6HFFWEM3.cjs.map +0 -1
  749. package/dist/chunk-7ZDPD5ZX.cjs.map +0 -1
  750. package/dist/chunk-7ZVTLTJF.js +0 -109
  751. package/dist/chunk-7ZVTLTJF.js.map +0 -1
  752. package/dist/chunk-ACCAXVOG.js.map +0 -1
  753. package/dist/chunk-BMSG4NBH.js +0 -56
  754. package/dist/chunk-BMSG4NBH.js.map +0 -1
  755. package/dist/chunk-CEQJGUAS.js.map +0 -1
  756. package/dist/chunk-DVOQ3JNO.js.map +0 -1
  757. package/dist/chunk-E4IBHYJ7.cjs +0 -80
  758. package/dist/chunk-E4IBHYJ7.cjs.map +0 -1
  759. package/dist/chunk-ELPW32ZI.cjs.map +0 -1
  760. package/dist/chunk-GD7EBGC4.cjs.map +0 -1
  761. package/dist/chunk-GOALNQZ2.js.map +0 -1
  762. package/dist/chunk-HB7C7NB5.js +0 -20
  763. package/dist/chunk-HB7C7NB5.js.map +0 -1
  764. package/dist/chunk-HZ4MBUC3.js.map +0 -1
  765. package/dist/chunk-JEIW7BSV.cjs.map +0 -1
  766. package/dist/chunk-JHULS3EC.js +0 -130
  767. package/dist/chunk-JHULS3EC.js.map +0 -1
  768. package/dist/chunk-JI244Y7C.js.map +0 -1
  769. package/dist/chunk-JYZW2PZS.cjs.map +0 -1
  770. package/dist/chunk-KRU6IGV7.js.map +0 -1
  771. package/dist/chunk-NV2CWBI2.cjs.map +0 -1
  772. package/dist/chunk-OE5CKRUC.js.map +0 -1
  773. package/dist/chunk-P2CA3XGI.js.map +0 -1
  774. package/dist/chunk-P7UMS4E6.cjs.map +0 -1
  775. package/dist/chunk-SQHMGT4W.js.map +0 -1
  776. package/dist/chunk-SVSHA7XV.js.map +0 -1
  777. package/dist/chunk-U42F3HLE.cjs.map +0 -1
  778. package/dist/chunk-VKELAMAZ.js.map +0 -1
  779. package/dist/chunk-VNYW4C4J.cjs.map +0 -1
  780. package/dist/chunk-VOKVG3ER.js +0 -78
  781. package/dist/chunk-VOKVG3ER.js.map +0 -1
  782. package/dist/chunk-VPIYTQCV.cjs.map +0 -1
  783. package/dist/chunk-VPWJCJCX.cjs.map +0 -1
  784. package/dist/chunk-VROIMIHB.cjs.map +0 -1
  785. package/dist/chunk-WIAQQNFU.cjs.map +0 -1
  786. package/dist/chunk-WNAA6CLE.cjs +0 -143
  787. package/dist/chunk-WNAA6CLE.cjs.map +0 -1
  788. package/dist/chunk-WNJRS7Y7.cjs.map +0 -1
  789. package/dist/chunk-X4LBUPJO.cjs.map +0 -1
  790. package/dist/chunk-X4XPNTCZ.cjs.map +0 -1
  791. package/dist/chunk-XCP454Q6.js.map +0 -1
  792. package/dist/chunk-XEAT7XJG.cjs.map +0 -1
  793. package/dist/chunk-YVL3XATO.cjs +0 -79
  794. package/dist/chunk-YVL3XATO.cjs.map +0 -1
  795. package/dist/chunk-YVPC65ZJ.cjs.map +0 -1
  796. package/dist/html-MdxqSzjD.d.cts +0 -13
  797. package/dist/html-MdxqSzjD.d.ts +0 -13
  798. package/dist/orderRows-BUJYgSc7.d.cts +0 -221
  799. package/dist/orderRows-BUJYgSc7.d.ts +0 -221
  800. package/dist/transcript-Cg7uSW-C.d.cts +0 -84
  801. package/dist/transcript-Cg7uSW-C.d.ts +0 -84
  802. package/dist/types-B97JNRNQ.d.cts +0 -251
  803. package/dist/types-CnPEwzlp.d.cts +0 -254
  804. package/dist/types-CnPEwzlp.d.ts +0 -254
  805. package/dist/types-gZXrfLj6.d.ts +0 -251
  806. package/dist/useAnchoredPosition-CKwLSQW8.d.cts +0 -76
  807. package/dist/useAnchoredPosition-CKwLSQW8.d.ts +0 -76
  808. package/dist/useTheme-B9SWu6ui.d.cts +0 -24
  809. package/dist/useTheme-B9SWu6ui.d.ts +0 -24
  810. package/dist/useTranscriptEdits-CGzlemHT.d.cts +0 -182
  811. package/dist/useTranscriptEdits-D32bLs0l.d.ts +0 -182
package/dist/maps.js ADDED
@@ -0,0 +1,138 @@
1
+ import { cn } from './chunk-TQONQSJO.js';
2
+ import './chunk-PX6F3LHL.js';
3
+ import * as React from 'react';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var OSM = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
7
+ var OSM_ATTRIBUTION = "© OpenStreetMap contributors";
8
+ var PointMap = React.forwardRef(
9
+ ({
10
+ points,
11
+ label,
12
+ center = [39.8, -98.6],
13
+ zoom = 3,
14
+ minZoom = 2,
15
+ maxZoom = 10,
16
+ height = 320,
17
+ tileUrl = OSM,
18
+ attribution = OSM_ATTRIBUTION,
19
+ outlineUrl,
20
+ sizeBy = "value",
21
+ showValues,
22
+ hideList,
23
+ className,
24
+ ...rest
25
+ }, ref) => {
26
+ const mapEl = React.useRef(null);
27
+ const [failed, setFailed] = React.useState(false);
28
+ const max = Math.max(1, ...points.map((p) => p.value ?? 0));
29
+ React.useEffect(() => {
30
+ const el = mapEl.current;
31
+ if (!el) return;
32
+ let map;
33
+ let cancelled = false;
34
+ import('leaflet').then(async (mod) => {
35
+ const leaflet = mod.default ?? mod;
36
+ if (cancelled) return;
37
+ const styles = getComputedStyle(el);
38
+ const colour = styles.getPropertyValue("--mieweb-primary-500").trim() || "#27aae1";
39
+ const line = styles.getPropertyValue("--mieweb-border").trim() || "#94a3b8";
40
+ map = leaflet.map(el, {
41
+ center,
42
+ zoom,
43
+ minZoom,
44
+ maxZoom,
45
+ scrollWheelZoom: false
46
+ });
47
+ leaflet.tileLayer(tileUrl, { attribution }).addTo(map);
48
+ if (outlineUrl) {
49
+ const data = await fetch(outlineUrl).then((r) => r.ok ? r.json() : null).catch(() => null);
50
+ if (data && !cancelled && map)
51
+ leaflet.geoJSON(data, {
52
+ style: { color: line, weight: 0.6, fillOpacity: 0 }
53
+ }).addTo(map);
54
+ }
55
+ if (cancelled || !map) return;
56
+ for (const p of points) {
57
+ const radius = sizeBy === "value" && p.value != null ? 6 + p.value / max * 22 : 6;
58
+ const marker = leaflet.circleMarker([p.lat, p.lng], {
59
+ radius,
60
+ color: colour,
61
+ weight: 2,
62
+ fillColor: colour,
63
+ fillOpacity: 0.35
64
+ }).addTo(map);
65
+ const text = [
66
+ p.label,
67
+ p.value != null ? String(p.value) : "",
68
+ p.detail ?? ""
69
+ ].filter(Boolean).join(" \xB7 ");
70
+ if (showValues && p.value != null)
71
+ marker.bindTooltip(String(p.value), {
72
+ permanent: true,
73
+ direction: "center",
74
+ className: "mie-map-value"
75
+ });
76
+ else marker.bindTooltip(text);
77
+ }
78
+ }).catch(() => setFailed(true));
79
+ return () => {
80
+ cancelled = true;
81
+ map?.remove();
82
+ };
83
+ }, [points, tileUrl, attribution, outlineUrl, sizeBy, showValues]);
84
+ return /* @__PURE__ */ jsxs(
85
+ "div",
86
+ {
87
+ ref,
88
+ "data-slot": "point-map",
89
+ className: cn("w-full", className),
90
+ ...rest,
91
+ children: [
92
+ /* @__PURE__ */ jsx(
93
+ "div",
94
+ {
95
+ ref: mapEl,
96
+ role: "group",
97
+ "aria-roledescription": "map",
98
+ "aria-label": label,
99
+ className: "bg-muted isolate w-full overflow-hidden rounded-xl",
100
+ style: { height },
101
+ children: failed && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground flex h-full items-center justify-center p-4 text-center text-sm", children: label })
102
+ }
103
+ ),
104
+ !hideList && /* @__PURE__ */ jsx("ul", { className: "mt-3 flex flex-wrap justify-center gap-x-4 gap-y-1 text-xs", children: points.map((p) => /* @__PURE__ */ jsxs(
105
+ "li",
106
+ {
107
+ className: "flex items-center gap-1.5",
108
+ children: [
109
+ /* @__PURE__ */ jsx(
110
+ "span",
111
+ {
112
+ "aria-hidden": "true",
113
+ className: "bg-primary-500 size-2 rounded-full",
114
+ style: {
115
+ opacity: sizeBy === "value" && p.value != null ? 0.4 + p.value / max * 0.6 : 1
116
+ }
117
+ }
118
+ ),
119
+ p.label,
120
+ p.value != null && `: ${p.value}`,
121
+ p.detail && /* @__PURE__ */ jsxs("span", { className: "opacity-70", children: [
122
+ " \xB7 ",
123
+ p.detail
124
+ ] })
125
+ ]
126
+ },
127
+ `${p.label}-${p.lat}-${p.lng}`
128
+ )) })
129
+ ]
130
+ }
131
+ );
132
+ }
133
+ );
134
+ PointMap.displayName = "PointMap";
135
+
136
+ export { PointMap };
137
+ //# sourceMappingURL=maps.js.map
138
+ //# sourceMappingURL=maps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/PointMap/PointMap.tsx"],"names":[],"mappings":"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","file":"maps.js","sourcesContent":["import * as React from 'react';\nimport type * as L from 'leaflet';\nimport { cn } from '../../utils/cn';\n\nexport interface MapPoint {\n lat: number;\n lng: number;\n label: string;\n /** Sizes the marker when `sizeBy=\"value\"`, and is shown on it. */\n value?: number;\n /** Extra line in the marker's tooltip and the list, e.g. `Austin, TX \\u00b7 Mar 2026`. */\n detail?: string;\n}\n\nexport interface PointMapProps extends React.HTMLAttributes<HTMLDivElement> {\n points: MapPoint[];\n /** Accessible name of the map; the points are also listed as text beneath it. */\n label: string;\n center?: [number, number];\n zoom?: number;\n minZoom?: number;\n maxZoom?: number;\n /** Map height in px. */\n height?: number;\n /** Raster tile template. Defaults to OpenStreetMap; use a tile service you are licensed for. */\n tileUrl?: string;\n /** Tile attribution, as the tile provider requires. */\n attribution?: string;\n /** GeoJSON URL for region outlines drawn over the tiles, e.g. US states. */\n outlineUrl?: string;\n /** `value` scales markers by `value`; `none` draws equal dots. */\n sizeBy?: 'value' | 'none';\n /** Show each point's value on its marker. */\n showValues?: boolean;\n /** Hide the text list of points under the map. */\n hideList?: boolean;\n}\n\nconst OSM = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';\nconst OSM_ATTRIBUTION = '&copy; OpenStreetMap contributors';\n\n/**\n * Points on a Leaflet map, sized by value, with a text list of the same points\n * for screen readers and print. Needs the optional `leaflet` peer and its CSS\n * (`import 'leaflet/dist/leaflet.css'`). Client-only.\n */\nexport const PointMap = React.forwardRef<HTMLDivElement, PointMapProps>(\n (\n {\n points,\n label,\n center = [39.8, -98.6],\n zoom = 3,\n minZoom = 2,\n maxZoom = 10,\n height = 320,\n tileUrl = OSM,\n attribution = OSM_ATTRIBUTION,\n outlineUrl,\n sizeBy = 'value',\n showValues,\n hideList,\n className,\n ...rest\n },\n ref\n ) => {\n const mapEl = React.useRef<HTMLDivElement>(null);\n const [failed, setFailed] = React.useState(false);\n const max = Math.max(1, ...points.map((p) => p.value ?? 0));\n\n React.useEffect(() => {\n const el = mapEl.current;\n if (!el) return;\n let map: L.Map | undefined;\n let cancelled = false;\n import('leaflet')\n .then(async (mod) => {\n const leaflet =\n (mod as unknown as { default?: typeof L }).default ??\n (mod as typeof L);\n if (cancelled) return;\n const styles = getComputedStyle(el);\n const colour =\n styles.getPropertyValue('--mieweb-primary-500').trim() || '#27aae1';\n const line =\n styles.getPropertyValue('--mieweb-border').trim() || '#94a3b8';\n map = leaflet.map(el, {\n center,\n zoom,\n minZoom,\n maxZoom,\n scrollWheelZoom: false,\n });\n leaflet.tileLayer(tileUrl, { attribution }).addTo(map);\n if (outlineUrl) {\n const data = await fetch(outlineUrl)\n .then((r) => (r.ok ? r.json() : null))\n .catch(() => null);\n if (data && !cancelled && map)\n leaflet\n .geoJSON(data, {\n style: { color: line, weight: 0.6, fillOpacity: 0 },\n })\n .addTo(map);\n }\n if (cancelled || !map) return;\n for (const p of points) {\n const radius =\n sizeBy === 'value' && p.value != null\n ? 6 + (p.value / max) * 22\n : 6;\n const marker = leaflet\n .circleMarker([p.lat, p.lng], {\n radius,\n color: colour,\n weight: 2,\n fillColor: colour,\n fillOpacity: 0.35,\n })\n .addTo(map);\n const text = [\n p.label,\n p.value != null ? String(p.value) : '',\n p.detail ?? '',\n ]\n .filter(Boolean)\n .join(' \\u00b7 ');\n if (showValues && p.value != null)\n marker.bindTooltip(String(p.value), {\n permanent: true,\n direction: 'center',\n className: 'mie-map-value',\n });\n else marker.bindTooltip(text);\n }\n })\n .catch(() => setFailed(true));\n return () => {\n cancelled = true;\n map?.remove();\n };\n // Rebuild when the data changes; the view props only seed the map.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [points, tileUrl, attribution, outlineUrl, sizeBy, showValues]);\n\n return (\n <div\n ref={ref}\n data-slot=\"point-map\"\n className={cn('w-full', className)}\n {...rest}\n >\n <div\n ref={mapEl}\n role=\"group\"\n aria-roledescription=\"map\"\n aria-label={label}\n className=\"bg-muted isolate w-full overflow-hidden rounded-xl\"\n style={{ height }}\n >\n {failed && (\n <p className=\"text-muted-foreground flex h-full items-center justify-center p-4 text-center text-sm\">\n {label}\n </p>\n )}\n </div>\n {!hideList && (\n <ul className=\"mt-3 flex flex-wrap justify-center gap-x-4 gap-y-1 text-xs\">\n {points.map((p) => (\n <li\n key={`${p.label}-${p.lat}-${p.lng}`}\n className=\"flex items-center gap-1.5\"\n >\n <span\n aria-hidden=\"true\"\n className=\"bg-primary-500 size-2 rounded-full\"\n style={{\n opacity:\n sizeBy === 'value' && p.value != null\n ? 0.4 + (p.value / max) * 0.6\n : 1,\n }}\n />\n {p.label}\n {p.value != null && `: ${p.value}`}\n {p.detail && <span className=\"opacity-70\"> · {p.detail}</span>}\n </li>\n ))}\n </ul>\n )}\n </div>\n );\n }\n);\nPointMap.displayName = 'PointMap';\n"]}
package/dist/motion.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNV2CWBI2_cjs = require('./chunk-NV2CWBI2.cjs');
3
+ var chunkIEY3ZJIT_cjs = require('./chunk-IEY3ZJIT.cjs');
4
4
  require('./chunk-S5RVSXDV.cjs');
5
5
  require('./chunk-EUAMEVVI.cjs');
6
6
  var React = require('react');
@@ -46,7 +46,7 @@ function MotionProvider({
46
46
  Nav: react.m.nav,
47
47
  Span: react.m.span,
48
48
  Presence,
49
- ...chunkNV2CWBI2_cjs.createPresetPropBuilders()
49
+ ...chunkIEY3ZJIT_cjs.createPresetPropBuilders()
50
50
  }),
51
51
  [disabled]
52
52
  );
@@ -62,26 +62,26 @@ function MotionProvider({
62
62
  // A disabled provider still supplies the runtime (with `enabled: false`)
63
63
  // rather than `null`, so consumers can distinguish "disabled" from "never
64
64
  // opted in" — see the `enabled` contract in `runtime.ts`.
65
- /* @__PURE__ */ jsxRuntime.jsx(react.LazyMotion, { features: react.domAnimation, children: /* @__PURE__ */ jsxRuntime.jsx(react.MotionConfig, { reducedMotion, children: /* @__PURE__ */ jsxRuntime.jsx(chunkNV2CWBI2_cjs.MotionRuntimeContext.Provider, { value: runtime, children }) }) })
65
+ /* @__PURE__ */ jsxRuntime.jsx(react.LazyMotion, { features: react.domAnimation, children: /* @__PURE__ */ jsxRuntime.jsx(react.MotionConfig, { reducedMotion, children: /* @__PURE__ */ jsxRuntime.jsx(chunkIEY3ZJIT_cjs.MotionRuntimeContext.Provider, { value: runtime, children }) }) })
66
66
  );
67
67
  }
68
68
  MotionProvider.displayName = "MotionProvider";
69
69
 
70
70
  Object.defineProperty(exports, "Animated", {
71
71
  enumerable: true,
72
- get: function () { return chunkNV2CWBI2_cjs.Animated; }
72
+ get: function () { return chunkIEY3ZJIT_cjs.Animated; }
73
73
  });
74
74
  Object.defineProperty(exports, "AnimatedPresence", {
75
75
  enumerable: true,
76
- get: function () { return chunkNV2CWBI2_cjs.AnimatedPresence; }
76
+ get: function () { return chunkIEY3ZJIT_cjs.AnimatedPresence; }
77
77
  });
78
78
  Object.defineProperty(exports, "motionPresets", {
79
79
  enumerable: true,
80
- get: function () { return chunkNV2CWBI2_cjs.motionPresets; }
80
+ get: function () { return chunkIEY3ZJIT_cjs.motionPresets; }
81
81
  });
82
82
  Object.defineProperty(exports, "useMotionRuntime", {
83
83
  enumerable: true,
84
- get: function () { return chunkNV2CWBI2_cjs.useMotionRuntime; }
84
+ get: function () { return chunkIEY3ZJIT_cjs.useMotionRuntime; }
85
85
  });
86
86
  exports.MotionProvider = MotionProvider;
87
87
  //# sourceMappingURL=motion.cjs.map
package/dist/motion.d.cts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- export { A as Animated, a as AnimatedPresence, b as AnimatedProps, M as MotionEdge, c as MotionPreset, d as MotionRuntime, m as motionPresets, u as useMotionRuntime } from './Animated-XmH6k8pZ.cjs';
3
2
 
4
3
  /**
5
4
  * `<MotionProvider>` — the opt-in switch.
@@ -49,4 +48,189 @@ declare namespace MotionProvider {
49
48
  var displayName: string;
50
49
  }
51
50
 
52
- export { MotionProvider, type MotionProviderProps };
51
+ /**
52
+ * Motion presets — the shared vocabulary of animations.
53
+ *
54
+ * This module is intentionally **free of any `motion` import**. It ships in the
55
+ * main `@mieweb/ui` entry so components can describe *what* they animate
56
+ * without pulling in a runtime to actually do it. The `@mieweb/ui/motion` entry
57
+ * is what turns these descriptions into real animations.
58
+ *
59
+ * Every preset is expressed as an open/closed variant pair so the same
60
+ * definition serves both usages:
61
+ *
62
+ * - **toggle** — the element stays mounted and animates between `open` and
63
+ * `closed` (a drawer sliding in and out).
64
+ * - **presence** — the element mounts and unmounts, entering on `open` and
65
+ * exiting back to `closed` (a modal).
66
+ */
67
+ /** Named animation recipes shared by components. */
68
+ type MotionPreset = 'drawerStart' | 'overlay' | 'modalContent' | 'sidebarLabel' | 'menu' | 'collapse' | 'toast' | 'fade' | 'pop';
69
+ /**
70
+ * A physical edge, already resolved from any logical (`start`/`end`) position
71
+ * and from writing direction.
72
+ *
73
+ * Presets that move an element along an axis take one of these as `custom`.
74
+ * Resolution is the component's job, not the preset's: only the component knows
75
+ * whether its `end` means right or left, and — for anything anchored — which
76
+ * side it actually landed on after flipping away from a viewport edge.
77
+ */
78
+ type MotionEdge = 'top' | 'bottom' | 'left' | 'right';
79
+ /**
80
+ * A variant value. Either a plain target object or a function of the element's
81
+ * `custom` value — the latter lets a single preset adapt to context, e.g. a
82
+ * drawer flipping its off-canvas direction in RTL.
83
+ */
84
+ type MotionVariant = Record<string, unknown> | ((custom: unknown) => Record<string, unknown>);
85
+ interface MotionPresetDefinition {
86
+ variants: {
87
+ open: MotionVariant;
88
+ closed: MotionVariant;
89
+ };
90
+ transition: Record<string, unknown>;
91
+ }
92
+ /**
93
+ * `custom` contract per preset:
94
+ *
95
+ * - `drawerStart` — `boolean`, whether the document direction is RTL.
96
+ * - `menu`, `toast` — a {@link MotionEdge}, already resolved from logical
97
+ * position and writing direction by the component.
98
+ * - `overlay`, `modalContent`, `sidebarLabel`, `collapse`, `fade`, `pop` —
99
+ * unused.
100
+ */
101
+ declare const motionPresets: Record<MotionPreset, MotionPresetDefinition>;
102
+
103
+ /**
104
+ * Motion runtime — the seam between components and an optional animation library.
105
+ *
106
+ * Components in the main entry never import `motion`. They ask this module for
107
+ * a runtime; if an app has opted in by rendering `<MotionProvider>` from
108
+ * `@mieweb/ui/motion`, they get one and animate. If not, `useMotionRuntime()`
109
+ * returns `null` and they fall back to their existing CSS transitions. That is
110
+ * what keeps `motion` out of the bundle of every app that hasn't asked for it —
111
+ * the opt-in is resolved in the *module graph*, not by a prop.
112
+ *
113
+ * Like `presets`, this module must stay free of any `motion` import.
114
+ */
115
+
116
+ interface MotionPresenceProps {
117
+ children?: React.ReactNode;
118
+ /** Suppress the initial mount animation. */
119
+ initial?: boolean;
120
+ /**
121
+ * Fires once every exiting child has finished and been removed.
122
+ *
123
+ * Needed by anything that guards the DOM while it is open — a focus trap, a
124
+ * scroll lock — because those guards must outlive `open` for as long as the
125
+ * subtree is still on screen. Never fires when no runtime is active, since
126
+ * there is no exit to wait for.
127
+ */
128
+ onExitComplete?: () => void;
129
+ }
130
+ /**
131
+ * The capabilities a motion library must supply. Deliberately small: element
132
+ * factories, a presence wrapper, and prop builders. Components depend on this
133
+ * interface, never on a concrete library, so swapping or dropping the library
134
+ * stays a one-file change.
135
+ */
136
+ interface MotionRuntime {
137
+ /**
138
+ * Whether animations should actually run.
139
+ *
140
+ * A disabled provider still supplies a runtime rather than `null` so that
141
+ * consumers can tell "disabled" apart from "never opted in": `Modal` uses it
142
+ * to decide whether an exit animation will ever report completion, and
143
+ * `AnimatedPresence` keeps its wrapper element stable across the flip.
144
+ * `Animated` itself renders the plain fallback tag whenever this is false —
145
+ * withholding animation props from a mounted motion component corrupts
146
+ * `toggle`-mode elements, so the swap (and the remount it implies) is the
147
+ * correct behaviour. See the render branches in `Animated`.
148
+ */
149
+ enabled: boolean;
150
+ /** Animated `div`. */
151
+ Div: React.ElementType;
152
+ /** Animated `nav`. */
153
+ Nav: React.ElementType;
154
+ /** Animated `span`, for inline content that must not become a block. */
155
+ Span: React.ElementType;
156
+ /** Enables exit animations for conditionally rendered children. */
157
+ Presence: React.ComponentType<MotionPresenceProps>;
158
+ /**
159
+ * Props for an element that stays mounted and animates between states.
160
+ * Skips the initial animation so a closed drawer doesn't slide out on load.
161
+ */
162
+ toggle: (preset: MotionPreset, open: boolean, custom?: unknown) => Record<string, unknown>;
163
+ /** Props for an element that mounts and unmounts inside `Presence`. */
164
+ presence: (preset: MotionPreset, custom?: unknown) => Record<string, unknown>;
165
+ }
166
+ /**
167
+ * The active motion runtime, or `null` when the app has not opted in.
168
+ *
169
+ * Components must treat `null` as the normal case and keep a CSS path that
170
+ * looks good on its own — motion is an enhancement, never a requirement.
171
+ */
172
+ declare function useMotionRuntime(): MotionRuntime | null;
173
+
174
+ /**
175
+ * `Animated` / `AnimatedPresence` — the ergonomic layer components use.
176
+ *
177
+ * These exist so an individual component never has to branch on whether motion
178
+ * is available. It declares the preset it wants and the CSS classes that stand
179
+ * in when motion is absent; this module picks the element to render.
180
+ *
181
+ * Adding motion to a further component should be a matter of swapping its
182
+ * root `<div>` for an `<Animated>` and naming a preset — no new imports, no
183
+ * new dependency, and no behavior change for apps that have not opted in.
184
+ */
185
+
186
+ interface AnimatedProps extends React.HTMLAttributes<HTMLElement> {
187
+ /** Intrinsic element to render. */
188
+ as?: 'div' | 'nav' | 'span';
189
+ /** Which shared animation recipe to use. */
190
+ preset: MotionPreset;
191
+ /**
192
+ * - `toggle` — element stays mounted and animates between open and closed.
193
+ * - `presence` — element mounts and unmounts; wrap it in `<AnimatedPresence>`
194
+ * so the exit animation gets a chance to run.
195
+ */
196
+ mode: 'toggle' | 'presence';
197
+ /** Current state. Only read in `toggle` mode. */
198
+ open?: boolean;
199
+ /** Per-preset context value — see the `custom` contract in `presets.ts`. */
200
+ custom?: unknown;
201
+ /**
202
+ * Classes applied whenever this element is **not** animating — no provider,
203
+ * a disabled provider, or `enabled={false}`. This is where a component's
204
+ * existing CSS transition lives, so the two paths never both try to drive
205
+ * the same property.
206
+ */
207
+ fallbackClassName?: string;
208
+ /**
209
+ * Set `false` to stop this element animating even when a runtime is active.
210
+ *
211
+ * For states where an animated element would be wrong rather than merely
212
+ * unnecessary. Motion writes a `transform` to hold an element at its resting
213
+ * position, and a transformed ancestor becomes the containing block for any
214
+ * `position: fixed` descendant — so an element that is only sometimes
215
+ * animated should opt out the rest of the time.
216
+ *
217
+ * Flipping this (or the provider's `disabled`) swaps the element back to a
218
+ * plain tag, which **remounts** it — deliberately. See the note on the
219
+ * render branches below.
220
+ */
221
+ enabled?: boolean;
222
+ }
223
+ declare const Animated: React.ForwardRefExoticComponent<AnimatedProps & React.RefAttributes<HTMLElement>>;
224
+ /**
225
+ * Keeps unmounting children on screen long enough to animate out.
226
+ *
227
+ * Without a runtime this is a pass-through, so children disappear immediately —
228
+ * which is exactly what they do today. Children rendered conditionally inside
229
+ * it need a stable `key`.
230
+ */
231
+ declare function AnimatedPresence({ children, initial, onExitComplete, }: MotionPresenceProps): React.JSX.Element;
232
+ declare namespace AnimatedPresence {
233
+ var displayName: string;
234
+ }
235
+
236
+ export { Animated, AnimatedPresence, type AnimatedProps, type MotionEdge, type MotionPreset, MotionProvider, type MotionProviderProps, type MotionRuntime, motionPresets, useMotionRuntime };
package/dist/motion.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- export { A as Animated, a as AnimatedPresence, b as AnimatedProps, M as MotionEdge, c as MotionPreset, d as MotionRuntime, m as motionPresets, u as useMotionRuntime } from './Animated-XmH6k8pZ.js';
3
2
 
4
3
  /**
5
4
  * `<MotionProvider>` — the opt-in switch.
@@ -49,4 +48,189 @@ declare namespace MotionProvider {
49
48
  var displayName: string;
50
49
  }
51
50
 
52
- export { MotionProvider, type MotionProviderProps };
51
+ /**
52
+ * Motion presets — the shared vocabulary of animations.
53
+ *
54
+ * This module is intentionally **free of any `motion` import**. It ships in the
55
+ * main `@mieweb/ui` entry so components can describe *what* they animate
56
+ * without pulling in a runtime to actually do it. The `@mieweb/ui/motion` entry
57
+ * is what turns these descriptions into real animations.
58
+ *
59
+ * Every preset is expressed as an open/closed variant pair so the same
60
+ * definition serves both usages:
61
+ *
62
+ * - **toggle** — the element stays mounted and animates between `open` and
63
+ * `closed` (a drawer sliding in and out).
64
+ * - **presence** — the element mounts and unmounts, entering on `open` and
65
+ * exiting back to `closed` (a modal).
66
+ */
67
+ /** Named animation recipes shared by components. */
68
+ type MotionPreset = 'drawerStart' | 'overlay' | 'modalContent' | 'sidebarLabel' | 'menu' | 'collapse' | 'toast' | 'fade' | 'pop';
69
+ /**
70
+ * A physical edge, already resolved from any logical (`start`/`end`) position
71
+ * and from writing direction.
72
+ *
73
+ * Presets that move an element along an axis take one of these as `custom`.
74
+ * Resolution is the component's job, not the preset's: only the component knows
75
+ * whether its `end` means right or left, and — for anything anchored — which
76
+ * side it actually landed on after flipping away from a viewport edge.
77
+ */
78
+ type MotionEdge = 'top' | 'bottom' | 'left' | 'right';
79
+ /**
80
+ * A variant value. Either a plain target object or a function of the element's
81
+ * `custom` value — the latter lets a single preset adapt to context, e.g. a
82
+ * drawer flipping its off-canvas direction in RTL.
83
+ */
84
+ type MotionVariant = Record<string, unknown> | ((custom: unknown) => Record<string, unknown>);
85
+ interface MotionPresetDefinition {
86
+ variants: {
87
+ open: MotionVariant;
88
+ closed: MotionVariant;
89
+ };
90
+ transition: Record<string, unknown>;
91
+ }
92
+ /**
93
+ * `custom` contract per preset:
94
+ *
95
+ * - `drawerStart` — `boolean`, whether the document direction is RTL.
96
+ * - `menu`, `toast` — a {@link MotionEdge}, already resolved from logical
97
+ * position and writing direction by the component.
98
+ * - `overlay`, `modalContent`, `sidebarLabel`, `collapse`, `fade`, `pop` —
99
+ * unused.
100
+ */
101
+ declare const motionPresets: Record<MotionPreset, MotionPresetDefinition>;
102
+
103
+ /**
104
+ * Motion runtime — the seam between components and an optional animation library.
105
+ *
106
+ * Components in the main entry never import `motion`. They ask this module for
107
+ * a runtime; if an app has opted in by rendering `<MotionProvider>` from
108
+ * `@mieweb/ui/motion`, they get one and animate. If not, `useMotionRuntime()`
109
+ * returns `null` and they fall back to their existing CSS transitions. That is
110
+ * what keeps `motion` out of the bundle of every app that hasn't asked for it —
111
+ * the opt-in is resolved in the *module graph*, not by a prop.
112
+ *
113
+ * Like `presets`, this module must stay free of any `motion` import.
114
+ */
115
+
116
+ interface MotionPresenceProps {
117
+ children?: React.ReactNode;
118
+ /** Suppress the initial mount animation. */
119
+ initial?: boolean;
120
+ /**
121
+ * Fires once every exiting child has finished and been removed.
122
+ *
123
+ * Needed by anything that guards the DOM while it is open — a focus trap, a
124
+ * scroll lock — because those guards must outlive `open` for as long as the
125
+ * subtree is still on screen. Never fires when no runtime is active, since
126
+ * there is no exit to wait for.
127
+ */
128
+ onExitComplete?: () => void;
129
+ }
130
+ /**
131
+ * The capabilities a motion library must supply. Deliberately small: element
132
+ * factories, a presence wrapper, and prop builders. Components depend on this
133
+ * interface, never on a concrete library, so swapping or dropping the library
134
+ * stays a one-file change.
135
+ */
136
+ interface MotionRuntime {
137
+ /**
138
+ * Whether animations should actually run.
139
+ *
140
+ * A disabled provider still supplies a runtime rather than `null` so that
141
+ * consumers can tell "disabled" apart from "never opted in": `Modal` uses it
142
+ * to decide whether an exit animation will ever report completion, and
143
+ * `AnimatedPresence` keeps its wrapper element stable across the flip.
144
+ * `Animated` itself renders the plain fallback tag whenever this is false —
145
+ * withholding animation props from a mounted motion component corrupts
146
+ * `toggle`-mode elements, so the swap (and the remount it implies) is the
147
+ * correct behaviour. See the render branches in `Animated`.
148
+ */
149
+ enabled: boolean;
150
+ /** Animated `div`. */
151
+ Div: React.ElementType;
152
+ /** Animated `nav`. */
153
+ Nav: React.ElementType;
154
+ /** Animated `span`, for inline content that must not become a block. */
155
+ Span: React.ElementType;
156
+ /** Enables exit animations for conditionally rendered children. */
157
+ Presence: React.ComponentType<MotionPresenceProps>;
158
+ /**
159
+ * Props for an element that stays mounted and animates between states.
160
+ * Skips the initial animation so a closed drawer doesn't slide out on load.
161
+ */
162
+ toggle: (preset: MotionPreset, open: boolean, custom?: unknown) => Record<string, unknown>;
163
+ /** Props for an element that mounts and unmounts inside `Presence`. */
164
+ presence: (preset: MotionPreset, custom?: unknown) => Record<string, unknown>;
165
+ }
166
+ /**
167
+ * The active motion runtime, or `null` when the app has not opted in.
168
+ *
169
+ * Components must treat `null` as the normal case and keep a CSS path that
170
+ * looks good on its own — motion is an enhancement, never a requirement.
171
+ */
172
+ declare function useMotionRuntime(): MotionRuntime | null;
173
+
174
+ /**
175
+ * `Animated` / `AnimatedPresence` — the ergonomic layer components use.
176
+ *
177
+ * These exist so an individual component never has to branch on whether motion
178
+ * is available. It declares the preset it wants and the CSS classes that stand
179
+ * in when motion is absent; this module picks the element to render.
180
+ *
181
+ * Adding motion to a further component should be a matter of swapping its
182
+ * root `<div>` for an `<Animated>` and naming a preset — no new imports, no
183
+ * new dependency, and no behavior change for apps that have not opted in.
184
+ */
185
+
186
+ interface AnimatedProps extends React.HTMLAttributes<HTMLElement> {
187
+ /** Intrinsic element to render. */
188
+ as?: 'div' | 'nav' | 'span';
189
+ /** Which shared animation recipe to use. */
190
+ preset: MotionPreset;
191
+ /**
192
+ * - `toggle` — element stays mounted and animates between open and closed.
193
+ * - `presence` — element mounts and unmounts; wrap it in `<AnimatedPresence>`
194
+ * so the exit animation gets a chance to run.
195
+ */
196
+ mode: 'toggle' | 'presence';
197
+ /** Current state. Only read in `toggle` mode. */
198
+ open?: boolean;
199
+ /** Per-preset context value — see the `custom` contract in `presets.ts`. */
200
+ custom?: unknown;
201
+ /**
202
+ * Classes applied whenever this element is **not** animating — no provider,
203
+ * a disabled provider, or `enabled={false}`. This is where a component's
204
+ * existing CSS transition lives, so the two paths never both try to drive
205
+ * the same property.
206
+ */
207
+ fallbackClassName?: string;
208
+ /**
209
+ * Set `false` to stop this element animating even when a runtime is active.
210
+ *
211
+ * For states where an animated element would be wrong rather than merely
212
+ * unnecessary. Motion writes a `transform` to hold an element at its resting
213
+ * position, and a transformed ancestor becomes the containing block for any
214
+ * `position: fixed` descendant — so an element that is only sometimes
215
+ * animated should opt out the rest of the time.
216
+ *
217
+ * Flipping this (or the provider's `disabled`) swaps the element back to a
218
+ * plain tag, which **remounts** it — deliberately. See the note on the
219
+ * render branches below.
220
+ */
221
+ enabled?: boolean;
222
+ }
223
+ declare const Animated: React.ForwardRefExoticComponent<AnimatedProps & React.RefAttributes<HTMLElement>>;
224
+ /**
225
+ * Keeps unmounting children on screen long enough to animate out.
226
+ *
227
+ * Without a runtime this is a pass-through, so children disappear immediately —
228
+ * which is exactly what they do today. Children rendered conditionally inside
229
+ * it need a stable `key`.
230
+ */
231
+ declare function AnimatedPresence({ children, initial, onExitComplete, }: MotionPresenceProps): React.JSX.Element;
232
+ declare namespace AnimatedPresence {
233
+ var displayName: string;
234
+ }
235
+
236
+ export { Animated, AnimatedPresence, type AnimatedProps, type MotionEdge, type MotionPreset, MotionProvider, type MotionProviderProps, type MotionRuntime, motionPresets, useMotionRuntime };
package/dist/motion.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createPresetPropBuilders, MotionRuntimeContext } from './chunk-XCP454Q6.js';
2
- export { Animated, AnimatedPresence, motionPresets, useMotionRuntime } from './chunk-XCP454Q6.js';
1
+ import { createPresetPropBuilders, MotionRuntimeContext } from './chunk-F4N67NAF.js';
2
+ export { Animated, AnimatedPresence, motionPresets, useMotionRuntime } from './chunk-F4N67NAF.js';
3
3
  import './chunk-TQONQSJO.js';
4
4
  import './chunk-PX6F3LHL.js';
5
5
  import * as React from 'react';