@xyo-network/react-embed 2.81.9 → 2.82.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (804) hide show
  1. package/dist/browser/components/EmbedPlugin.d.cts +2 -1
  2. package/dist/browser/components/EmbedPlugin.d.cts.map +1 -1
  3. package/dist/browser/components/EmbedPlugin.d.mts +2 -1
  4. package/dist/browser/components/EmbedPlugin.d.mts.map +1 -1
  5. package/dist/browser/components/EmbedPlugin.d.ts +2 -1
  6. package/dist/browser/components/EmbedPlugin.d.ts.map +1 -1
  7. package/dist/browser/components/EmbedResolver.d.cts +1 -0
  8. package/dist/browser/components/EmbedResolver.d.cts.map +1 -1
  9. package/dist/browser/components/EmbedResolver.d.mts +1 -0
  10. package/dist/browser/components/EmbedResolver.d.mts.map +1 -1
  11. package/dist/browser/components/EmbedResolver.d.ts +1 -0
  12. package/dist/browser/components/EmbedResolver.d.ts.map +1 -1
  13. package/dist/browser/components/controls/EmbedFormControl.d.cts +1 -0
  14. package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -1
  15. package/dist/browser/components/controls/EmbedFormControl.d.mts +1 -0
  16. package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -1
  17. package/dist/browser/components/controls/EmbedFormControl.d.ts +1 -0
  18. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -1
  19. package/dist/browser/components/controls/ListModeSelect.d.cts +1 -0
  20. package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -1
  21. package/dist/browser/components/controls/ListModeSelect.d.mts +1 -0
  22. package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -1
  23. package/dist/browser/components/controls/ListModeSelect.d.ts +1 -0
  24. package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -1
  25. package/dist/browser/components/controls/RenderSelect.d.cts +1 -0
  26. package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -1
  27. package/dist/browser/components/controls/RenderSelect.d.mts +1 -0
  28. package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -1
  29. package/dist/browser/components/controls/RenderSelect.d.ts +1 -0
  30. package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -1
  31. package/dist/browser/components/controls/index.d.cts +3 -3
  32. package/dist/browser/components/controls/index.d.cts.map +1 -1
  33. package/dist/browser/components/controls/index.d.mts +3 -3
  34. package/dist/browser/components/controls/index.d.mts.map +1 -1
  35. package/dist/browser/components/controls/index.d.ts +3 -3
  36. package/dist/browser/components/controls/index.d.ts.map +1 -1
  37. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +1 -0
  38. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  39. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +1 -0
  40. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  41. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +1 -0
  42. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  43. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +4 -3
  44. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  45. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +4 -3
  46. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  47. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +4 -3
  48. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  49. package/dist/browser/components/embed-card/card/BusyCard.d.cts +1 -0
  50. package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -1
  51. package/dist/browser/components/embed-card/card/BusyCard.d.mts +1 -0
  52. package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -1
  53. package/dist/browser/components/embed-card/card/BusyCard.d.ts +1 -0
  54. package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -1
  55. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
  56. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  57. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
  58. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  59. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
  60. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  61. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
  62. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  63. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
  64. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  65. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
  66. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  67. package/dist/browser/components/embed-card/card/index.d.cts +3 -3
  68. package/dist/browser/components/embed-card/card/index.d.cts.map +1 -1
  69. package/dist/browser/components/embed-card/card/index.d.mts +3 -3
  70. package/dist/browser/components/embed-card/card/index.d.mts.map +1 -1
  71. package/dist/browser/components/embed-card/card/index.d.ts +3 -3
  72. package/dist/browser/components/embed-card/card/index.d.ts.map +1 -1
  73. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
  74. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  75. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
  76. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  77. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
  78. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  79. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
  80. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  81. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
  82. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  83. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
  84. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  85. package/dist/browser/components/embed-card/error-handling/index.d.cts +2 -2
  86. package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -1
  87. package/dist/browser/components/embed-card/error-handling/index.d.mts +2 -2
  88. package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -1
  89. package/dist/browser/components/embed-card/error-handling/index.d.ts +2 -2
  90. package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -1
  91. package/dist/browser/components/embed-card/index.d.cts +2 -2
  92. package/dist/browser/components/embed-card/index.d.cts.map +1 -1
  93. package/dist/browser/components/embed-card/index.d.mts +2 -2
  94. package/dist/browser/components/embed-card/index.d.mts.map +1 -1
  95. package/dist/browser/components/embed-card/index.d.ts +2 -2
  96. package/dist/browser/components/embed-card/index.d.ts.map +1 -1
  97. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +1 -0
  98. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  99. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +1 -0
  100. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  101. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +1 -0
  102. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  103. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
  104. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  105. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
  106. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  107. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
  108. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  109. package/dist/browser/components/embed-card/menu/index.d.cts +1 -1
  110. package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -1
  111. package/dist/browser/components/embed-card/menu/index.d.mts +1 -1
  112. package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -1
  113. package/dist/browser/components/embed-card/menu/index.d.ts +1 -1
  114. package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -1
  115. package/dist/browser/components/index.d.cts +2 -2
  116. package/dist/browser/components/index.d.cts.map +1 -1
  117. package/dist/browser/components/index.d.mts +2 -2
  118. package/dist/browser/components/index.d.mts.map +1 -1
  119. package/dist/browser/components/index.d.ts +2 -2
  120. package/dist/browser/components/index.d.ts.map +1 -1
  121. package/dist/browser/components/stories/storyShared.d.cts +1 -1
  122. package/dist/browser/components/stories/storyShared.d.cts.map +1 -1
  123. package/dist/browser/components/stories/storyShared.d.mts +1 -1
  124. package/dist/browser/components/stories/storyShared.d.mts.map +1 -1
  125. package/dist/browser/components/stories/storyShared.d.ts +1 -1
  126. package/dist/browser/components/stories/storyShared.d.ts.map +1 -1
  127. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +1 -0
  128. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  129. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +1 -0
  130. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  131. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +1 -0
  132. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  133. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +1 -0
  134. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  135. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +1 -0
  136. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  137. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +1 -0
  138. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  139. package/dist/browser/components/validation-alerts/index.d.cts +2 -2
  140. package/dist/browser/components/validation-alerts/index.d.cts.map +1 -1
  141. package/dist/browser/components/validation-alerts/index.d.mts +2 -2
  142. package/dist/browser/components/validation-alerts/index.d.mts.map +1 -1
  143. package/dist/browser/components/validation-alerts/index.d.ts +2 -2
  144. package/dist/browser/components/validation-alerts/index.d.ts.map +1 -1
  145. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +1 -1
  146. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  147. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +1 -1
  148. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  149. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +1 -1
  150. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  151. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +2 -1
  152. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  153. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +2 -1
  154. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  155. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +2 -1
  156. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  157. package/dist/browser/contexts/EmbedPluginContext/index.d.cts +4 -4
  158. package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  159. package/dist/browser/contexts/EmbedPluginContext/index.d.mts +4 -4
  160. package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  161. package/dist/browser/contexts/EmbedPluginContext/index.d.ts +4 -4
  162. package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  163. package/dist/browser/contexts/EmbedPluginContext/use.d.cts +1 -1
  164. package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  165. package/dist/browser/contexts/EmbedPluginContext/use.d.mts +1 -1
  166. package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  167. package/dist/browser/contexts/EmbedPluginContext/use.d.ts +1 -1
  168. package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  169. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +1 -1
  170. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  171. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +1 -1
  172. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  173. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +1 -1
  174. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  175. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
  176. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  177. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
  178. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  179. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
  180. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  181. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +3 -3
  182. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  183. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +3 -3
  184. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  185. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +3 -3
  186. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  187. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +1 -1
  188. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  189. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +1 -1
  190. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  191. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +1 -1
  192. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  193. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +1 -1
  194. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +1 -1
  195. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +1 -1
  196. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
  197. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  198. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
  199. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  200. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
  201. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  202. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +4 -4
  203. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  204. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +4 -4
  205. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  206. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +4 -4
  207. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  208. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +1 -1
  209. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  210. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +1 -1
  211. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  212. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +1 -1
  213. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  214. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +1 -1
  215. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +1 -1
  216. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +1 -1
  217. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
  218. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  219. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
  220. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  221. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
  222. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  223. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +3 -3
  224. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  225. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +3 -3
  226. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  227. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +3 -3
  228. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  229. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +1 -1
  230. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  231. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +1 -1
  232. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  233. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +1 -1
  234. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  235. package/dist/browser/contexts/index.d.cts +4 -4
  236. package/dist/browser/contexts/index.d.mts +4 -4
  237. package/dist/browser/contexts/index.d.ts +4 -4
  238. package/dist/browser/index.cjs +403 -317
  239. package/dist/browser/index.cjs.map +1 -1
  240. package/dist/browser/index.d.cts +3 -3
  241. package/dist/browser/index.d.mts +3 -3
  242. package/dist/browser/index.d.ts +3 -3
  243. package/dist/browser/index.mjs +573 -0
  244. package/dist/browser/index.mjs.map +1 -0
  245. package/dist/browser/types/EmbedPluginProps.d.cts +1 -1
  246. package/dist/browser/types/EmbedPluginProps.d.mts +1 -1
  247. package/dist/browser/types/EmbedPluginProps.d.ts +1 -1
  248. package/dist/browser/types/index.d.cts +1 -1
  249. package/dist/browser/types/index.d.mts +1 -1
  250. package/dist/browser/types/index.d.ts +1 -1
  251. package/dist/neutral/components/EmbedPlugin.d.cts +2 -1
  252. package/dist/neutral/components/EmbedPlugin.d.cts.map +1 -1
  253. package/dist/neutral/components/EmbedPlugin.d.mts +2 -1
  254. package/dist/neutral/components/EmbedPlugin.d.mts.map +1 -1
  255. package/dist/neutral/components/EmbedPlugin.d.ts +2 -1
  256. package/dist/neutral/components/EmbedPlugin.d.ts.map +1 -1
  257. package/dist/neutral/components/EmbedResolver.d.cts +1 -0
  258. package/dist/neutral/components/EmbedResolver.d.cts.map +1 -1
  259. package/dist/neutral/components/EmbedResolver.d.mts +1 -0
  260. package/dist/neutral/components/EmbedResolver.d.mts.map +1 -1
  261. package/dist/neutral/components/EmbedResolver.d.ts +1 -0
  262. package/dist/neutral/components/EmbedResolver.d.ts.map +1 -1
  263. package/dist/neutral/components/controls/EmbedFormControl.d.cts +1 -0
  264. package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +1 -1
  265. package/dist/neutral/components/controls/EmbedFormControl.d.mts +1 -0
  266. package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +1 -1
  267. package/dist/neutral/components/controls/EmbedFormControl.d.ts +1 -0
  268. package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +1 -1
  269. package/dist/neutral/components/controls/ListModeSelect.d.cts +1 -0
  270. package/dist/neutral/components/controls/ListModeSelect.d.cts.map +1 -1
  271. package/dist/neutral/components/controls/ListModeSelect.d.mts +1 -0
  272. package/dist/neutral/components/controls/ListModeSelect.d.mts.map +1 -1
  273. package/dist/neutral/components/controls/ListModeSelect.d.ts +1 -0
  274. package/dist/neutral/components/controls/ListModeSelect.d.ts.map +1 -1
  275. package/dist/neutral/components/controls/RenderSelect.d.cts +1 -0
  276. package/dist/neutral/components/controls/RenderSelect.d.cts.map +1 -1
  277. package/dist/neutral/components/controls/RenderSelect.d.mts +1 -0
  278. package/dist/neutral/components/controls/RenderSelect.d.mts.map +1 -1
  279. package/dist/neutral/components/controls/RenderSelect.d.ts +1 -0
  280. package/dist/neutral/components/controls/RenderSelect.d.ts.map +1 -1
  281. package/dist/neutral/components/controls/index.d.cts +3 -3
  282. package/dist/neutral/components/controls/index.d.cts.map +1 -1
  283. package/dist/neutral/components/controls/index.d.mts +3 -3
  284. package/dist/neutral/components/controls/index.d.mts.map +1 -1
  285. package/dist/neutral/components/controls/index.d.ts +3 -3
  286. package/dist/neutral/components/controls/index.d.ts.map +1 -1
  287. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +1 -0
  288. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  289. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +1 -0
  290. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  291. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +1 -0
  292. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  293. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +4 -3
  294. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  295. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +4 -3
  296. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  297. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +4 -3
  298. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  299. package/dist/neutral/components/embed-card/card/BusyCard.d.cts +1 -0
  300. package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +1 -1
  301. package/dist/neutral/components/embed-card/card/BusyCard.d.mts +1 -0
  302. package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +1 -1
  303. package/dist/neutral/components/embed-card/card/BusyCard.d.ts +1 -0
  304. package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +1 -1
  305. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
  306. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  307. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
  308. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  309. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
  310. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  311. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
  312. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  313. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
  314. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  315. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
  316. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  317. package/dist/neutral/components/embed-card/card/index.d.cts +3 -3
  318. package/dist/neutral/components/embed-card/card/index.d.cts.map +1 -1
  319. package/dist/neutral/components/embed-card/card/index.d.mts +3 -3
  320. package/dist/neutral/components/embed-card/card/index.d.mts.map +1 -1
  321. package/dist/neutral/components/embed-card/card/index.d.ts +3 -3
  322. package/dist/neutral/components/embed-card/card/index.d.ts.map +1 -1
  323. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
  324. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  325. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
  326. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  327. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
  328. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  329. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
  330. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  331. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
  332. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  333. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
  334. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  335. package/dist/neutral/components/embed-card/error-handling/index.d.cts +2 -2
  336. package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +1 -1
  337. package/dist/neutral/components/embed-card/error-handling/index.d.mts +2 -2
  338. package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +1 -1
  339. package/dist/neutral/components/embed-card/error-handling/index.d.ts +2 -2
  340. package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +1 -1
  341. package/dist/neutral/components/embed-card/index.d.cts +2 -2
  342. package/dist/neutral/components/embed-card/index.d.cts.map +1 -1
  343. package/dist/neutral/components/embed-card/index.d.mts +2 -2
  344. package/dist/neutral/components/embed-card/index.d.mts.map +1 -1
  345. package/dist/neutral/components/embed-card/index.d.ts +2 -2
  346. package/dist/neutral/components/embed-card/index.d.ts.map +1 -1
  347. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +1 -0
  348. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  349. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +1 -0
  350. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  351. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +1 -0
  352. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  353. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
  354. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  355. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
  356. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  357. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
  358. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  359. package/dist/neutral/components/embed-card/menu/index.d.cts +1 -1
  360. package/dist/neutral/components/embed-card/menu/index.d.cts.map +1 -1
  361. package/dist/neutral/components/embed-card/menu/index.d.mts +1 -1
  362. package/dist/neutral/components/embed-card/menu/index.d.mts.map +1 -1
  363. package/dist/neutral/components/embed-card/menu/index.d.ts +1 -1
  364. package/dist/neutral/components/embed-card/menu/index.d.ts.map +1 -1
  365. package/dist/neutral/components/index.d.cts +2 -2
  366. package/dist/neutral/components/index.d.cts.map +1 -1
  367. package/dist/neutral/components/index.d.mts +2 -2
  368. package/dist/neutral/components/index.d.mts.map +1 -1
  369. package/dist/neutral/components/index.d.ts +2 -2
  370. package/dist/neutral/components/index.d.ts.map +1 -1
  371. package/dist/neutral/components/stories/storyShared.d.cts +1 -1
  372. package/dist/neutral/components/stories/storyShared.d.cts.map +1 -1
  373. package/dist/neutral/components/stories/storyShared.d.mts +1 -1
  374. package/dist/neutral/components/stories/storyShared.d.mts.map +1 -1
  375. package/dist/neutral/components/stories/storyShared.d.ts +1 -1
  376. package/dist/neutral/components/stories/storyShared.d.ts.map +1 -1
  377. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +1 -0
  378. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  379. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +1 -0
  380. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  381. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +1 -0
  382. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  383. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +1 -0
  384. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  385. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +1 -0
  386. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  387. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +1 -0
  388. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  389. package/dist/neutral/components/validation-alerts/index.d.cts +2 -2
  390. package/dist/neutral/components/validation-alerts/index.d.cts.map +1 -1
  391. package/dist/neutral/components/validation-alerts/index.d.mts +2 -2
  392. package/dist/neutral/components/validation-alerts/index.d.mts.map +1 -1
  393. package/dist/neutral/components/validation-alerts/index.d.ts +2 -2
  394. package/dist/neutral/components/validation-alerts/index.d.ts.map +1 -1
  395. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +1 -1
  396. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  397. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +1 -1
  398. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  399. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +1 -1
  400. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  401. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +2 -1
  402. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  403. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +2 -1
  404. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  405. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +2 -1
  406. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  407. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +4 -4
  408. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  409. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +4 -4
  410. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  411. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +4 -4
  412. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  413. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +1 -1
  414. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  415. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +1 -1
  416. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  417. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +1 -1
  418. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  419. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +1 -1
  420. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  421. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +1 -1
  422. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  423. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +1 -1
  424. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  425. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
  426. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  427. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
  428. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  429. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
  430. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  431. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +3 -3
  432. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  433. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +3 -3
  434. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  435. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +3 -3
  436. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  437. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +1 -1
  438. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  439. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +1 -1
  440. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  441. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +1 -1
  442. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  443. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +1 -1
  444. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +1 -1
  445. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +1 -1
  446. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
  447. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  448. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
  449. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  450. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
  451. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  452. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +4 -4
  453. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  454. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +4 -4
  455. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  456. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +4 -4
  457. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  458. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +1 -1
  459. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  460. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +1 -1
  461. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  462. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +1 -1
  463. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  464. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +1 -1
  465. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +1 -1
  466. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +1 -1
  467. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
  468. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  469. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
  470. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  471. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
  472. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  473. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +3 -3
  474. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  475. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +3 -3
  476. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  477. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +3 -3
  478. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  479. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +1 -1
  480. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  481. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +1 -1
  482. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  483. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +1 -1
  484. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  485. package/dist/neutral/contexts/index.d.cts +4 -4
  486. package/dist/neutral/contexts/index.d.mts +4 -4
  487. package/dist/neutral/contexts/index.d.ts +4 -4
  488. package/dist/neutral/index.cjs +403 -317
  489. package/dist/neutral/index.cjs.map +1 -1
  490. package/dist/neutral/index.d.cts +3 -3
  491. package/dist/neutral/index.d.mts +3 -3
  492. package/dist/neutral/index.d.ts +3 -3
  493. package/dist/neutral/index.mjs +573 -0
  494. package/dist/neutral/index.mjs.map +1 -0
  495. package/dist/neutral/types/EmbedPluginProps.d.cts +1 -1
  496. package/dist/neutral/types/EmbedPluginProps.d.mts +1 -1
  497. package/dist/neutral/types/EmbedPluginProps.d.ts +1 -1
  498. package/dist/neutral/types/index.d.cts +1 -1
  499. package/dist/neutral/types/index.d.mts +1 -1
  500. package/dist/neutral/types/index.d.ts +1 -1
  501. package/dist/node/components/EmbedPlugin.d.cts +2 -1
  502. package/dist/node/components/EmbedPlugin.d.cts.map +1 -1
  503. package/dist/node/components/EmbedPlugin.d.mts +2 -1
  504. package/dist/node/components/EmbedPlugin.d.mts.map +1 -1
  505. package/dist/node/components/EmbedPlugin.d.ts +2 -1
  506. package/dist/node/components/EmbedPlugin.d.ts.map +1 -1
  507. package/dist/node/components/EmbedResolver.d.cts +1 -0
  508. package/dist/node/components/EmbedResolver.d.cts.map +1 -1
  509. package/dist/node/components/EmbedResolver.d.mts +1 -0
  510. package/dist/node/components/EmbedResolver.d.mts.map +1 -1
  511. package/dist/node/components/EmbedResolver.d.ts +1 -0
  512. package/dist/node/components/EmbedResolver.d.ts.map +1 -1
  513. package/dist/node/components/controls/EmbedFormControl.d.cts +1 -0
  514. package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -1
  515. package/dist/node/components/controls/EmbedFormControl.d.mts +1 -0
  516. package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -1
  517. package/dist/node/components/controls/EmbedFormControl.d.ts +1 -0
  518. package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -1
  519. package/dist/node/components/controls/ListModeSelect.d.cts +1 -0
  520. package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -1
  521. package/dist/node/components/controls/ListModeSelect.d.mts +1 -0
  522. package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -1
  523. package/dist/node/components/controls/ListModeSelect.d.ts +1 -0
  524. package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -1
  525. package/dist/node/components/controls/RenderSelect.d.cts +1 -0
  526. package/dist/node/components/controls/RenderSelect.d.cts.map +1 -1
  527. package/dist/node/components/controls/RenderSelect.d.mts +1 -0
  528. package/dist/node/components/controls/RenderSelect.d.mts.map +1 -1
  529. package/dist/node/components/controls/RenderSelect.d.ts +1 -0
  530. package/dist/node/components/controls/RenderSelect.d.ts.map +1 -1
  531. package/dist/node/components/controls/index.d.cts +3 -3
  532. package/dist/node/components/controls/index.d.cts.map +1 -1
  533. package/dist/node/components/controls/index.d.mts +3 -3
  534. package/dist/node/components/controls/index.d.mts.map +1 -1
  535. package/dist/node/components/controls/index.d.ts +3 -3
  536. package/dist/node/components/controls/index.d.ts.map +1 -1
  537. package/dist/node/components/embed-card/EmbedCardResolver.d.cts +1 -0
  538. package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  539. package/dist/node/components/embed-card/EmbedCardResolver.d.mts +1 -0
  540. package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  541. package/dist/node/components/embed-card/EmbedCardResolver.d.ts +1 -0
  542. package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  543. package/dist/node/components/embed-card/EmbedPluginCard.d.cts +4 -3
  544. package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  545. package/dist/node/components/embed-card/EmbedPluginCard.d.mts +4 -3
  546. package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  547. package/dist/node/components/embed-card/EmbedPluginCard.d.ts +4 -3
  548. package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  549. package/dist/node/components/embed-card/card/BusyCard.d.cts +1 -0
  550. package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -1
  551. package/dist/node/components/embed-card/card/BusyCard.d.mts +1 -0
  552. package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -1
  553. package/dist/node/components/embed-card/card/BusyCard.d.ts +1 -0
  554. package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -1
  555. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
  556. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  557. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
  558. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  559. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
  560. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  561. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
  562. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  563. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
  564. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  565. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
  566. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  567. package/dist/node/components/embed-card/card/index.d.cts +3 -3
  568. package/dist/node/components/embed-card/card/index.d.cts.map +1 -1
  569. package/dist/node/components/embed-card/card/index.d.mts +3 -3
  570. package/dist/node/components/embed-card/card/index.d.mts.map +1 -1
  571. package/dist/node/components/embed-card/card/index.d.ts +3 -3
  572. package/dist/node/components/embed-card/card/index.d.ts.map +1 -1
  573. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
  574. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  575. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
  576. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  577. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
  578. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  579. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
  580. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  581. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
  582. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  583. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
  584. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  585. package/dist/node/components/embed-card/error-handling/index.d.cts +2 -2
  586. package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -1
  587. package/dist/node/components/embed-card/error-handling/index.d.mts +2 -2
  588. package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -1
  589. package/dist/node/components/embed-card/error-handling/index.d.ts +2 -2
  590. package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -1
  591. package/dist/node/components/embed-card/index.d.cts +2 -2
  592. package/dist/node/components/embed-card/index.d.cts.map +1 -1
  593. package/dist/node/components/embed-card/index.d.mts +2 -2
  594. package/dist/node/components/embed-card/index.d.mts.map +1 -1
  595. package/dist/node/components/embed-card/index.d.ts +2 -2
  596. package/dist/node/components/embed-card/index.d.ts.map +1 -1
  597. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +1 -0
  598. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  599. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +1 -0
  600. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  601. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +1 -0
  602. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  603. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
  604. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  605. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
  606. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  607. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
  608. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  609. package/dist/node/components/embed-card/menu/index.d.cts +1 -1
  610. package/dist/node/components/embed-card/menu/index.d.cts.map +1 -1
  611. package/dist/node/components/embed-card/menu/index.d.mts +1 -1
  612. package/dist/node/components/embed-card/menu/index.d.mts.map +1 -1
  613. package/dist/node/components/embed-card/menu/index.d.ts +1 -1
  614. package/dist/node/components/embed-card/menu/index.d.ts.map +1 -1
  615. package/dist/node/components/index.d.cts +2 -2
  616. package/dist/node/components/index.d.cts.map +1 -1
  617. package/dist/node/components/index.d.mts +2 -2
  618. package/dist/node/components/index.d.mts.map +1 -1
  619. package/dist/node/components/index.d.ts +2 -2
  620. package/dist/node/components/index.d.ts.map +1 -1
  621. package/dist/node/components/stories/storyShared.d.cts +1 -1
  622. package/dist/node/components/stories/storyShared.d.cts.map +1 -1
  623. package/dist/node/components/stories/storyShared.d.mts +1 -1
  624. package/dist/node/components/stories/storyShared.d.mts.map +1 -1
  625. package/dist/node/components/stories/storyShared.d.ts +1 -1
  626. package/dist/node/components/stories/storyShared.d.ts.map +1 -1
  627. package/dist/node/components/validation-alerts/ValidatePayload.d.cts +1 -0
  628. package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  629. package/dist/node/components/validation-alerts/ValidatePayload.d.mts +1 -0
  630. package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  631. package/dist/node/components/validation-alerts/ValidatePayload.d.ts +1 -0
  632. package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  633. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +1 -0
  634. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  635. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +1 -0
  636. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  637. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +1 -0
  638. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  639. package/dist/node/components/validation-alerts/index.d.cts +2 -2
  640. package/dist/node/components/validation-alerts/index.d.cts.map +1 -1
  641. package/dist/node/components/validation-alerts/index.d.mts +2 -2
  642. package/dist/node/components/validation-alerts/index.d.mts.map +1 -1
  643. package/dist/node/components/validation-alerts/index.d.ts +2 -2
  644. package/dist/node/components/validation-alerts/index.d.ts.map +1 -1
  645. package/dist/node/contexts/EmbedPluginContext/Context.d.cts +1 -1
  646. package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  647. package/dist/node/contexts/EmbedPluginContext/Context.d.mts +1 -1
  648. package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  649. package/dist/node/contexts/EmbedPluginContext/Context.d.ts +1 -1
  650. package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  651. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +2 -1
  652. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  653. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +2 -1
  654. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  655. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +2 -1
  656. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  657. package/dist/node/contexts/EmbedPluginContext/index.d.cts +4 -4
  658. package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  659. package/dist/node/contexts/EmbedPluginContext/index.d.mts +4 -4
  660. package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  661. package/dist/node/contexts/EmbedPluginContext/index.d.ts +4 -4
  662. package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  663. package/dist/node/contexts/EmbedPluginContext/use.d.cts +1 -1
  664. package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  665. package/dist/node/contexts/EmbedPluginContext/use.d.mts +1 -1
  666. package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  667. package/dist/node/contexts/EmbedPluginContext/use.d.ts +1 -1
  668. package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  669. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +1 -1
  670. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  671. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +1 -1
  672. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  673. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +1 -1
  674. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  675. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
  676. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  677. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
  678. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  679. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
  680. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  681. package/dist/node/contexts/RefreshPayloadContext/index.d.cts +3 -3
  682. package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  683. package/dist/node/contexts/RefreshPayloadContext/index.d.mts +3 -3
  684. package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  685. package/dist/node/contexts/RefreshPayloadContext/index.d.ts +3 -3
  686. package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  687. package/dist/node/contexts/RefreshPayloadContext/use.d.cts +1 -1
  688. package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  689. package/dist/node/contexts/RefreshPayloadContext/use.d.mts +1 -1
  690. package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  691. package/dist/node/contexts/RefreshPayloadContext/use.d.ts +1 -1
  692. package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  693. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +1 -1
  694. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +1 -1
  695. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +1 -1
  696. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
  697. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  698. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
  699. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  700. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
  701. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  702. package/dist/node/contexts/ResolvePayloadContext/index.d.cts +4 -4
  703. package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  704. package/dist/node/contexts/ResolvePayloadContext/index.d.mts +4 -4
  705. package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  706. package/dist/node/contexts/ResolvePayloadContext/index.d.ts +4 -4
  707. package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  708. package/dist/node/contexts/ResolvePayloadContext/use.d.cts +1 -1
  709. package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  710. package/dist/node/contexts/ResolvePayloadContext/use.d.mts +1 -1
  711. package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  712. package/dist/node/contexts/ResolvePayloadContext/use.d.ts +1 -1
  713. package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  714. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +1 -1
  715. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +1 -1
  716. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +1 -1
  717. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
  718. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  719. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
  720. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  721. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
  722. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  723. package/dist/node/contexts/ValidatePayloadContext/index.d.cts +3 -3
  724. package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  725. package/dist/node/contexts/ValidatePayloadContext/index.d.mts +3 -3
  726. package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  727. package/dist/node/contexts/ValidatePayloadContext/index.d.ts +3 -3
  728. package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  729. package/dist/node/contexts/ValidatePayloadContext/use.d.cts +1 -1
  730. package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  731. package/dist/node/contexts/ValidatePayloadContext/use.d.mts +1 -1
  732. package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  733. package/dist/node/contexts/ValidatePayloadContext/use.d.ts +1 -1
  734. package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  735. package/dist/node/contexts/index.d.cts +4 -4
  736. package/dist/node/contexts/index.d.mts +4 -4
  737. package/dist/node/contexts/index.d.ts +4 -4
  738. package/dist/node/index.cjs +403 -317
  739. package/dist/node/index.cjs.map +1 -1
  740. package/dist/node/index.d.cts +3 -3
  741. package/dist/node/index.d.mts +3 -3
  742. package/dist/node/index.d.ts +3 -3
  743. package/dist/node/index.mjs +575 -0
  744. package/dist/node/index.mjs.map +1 -0
  745. package/dist/node/types/EmbedPluginProps.d.cts +1 -1
  746. package/dist/node/types/EmbedPluginProps.d.mts +1 -1
  747. package/dist/node/types/EmbedPluginProps.d.ts +1 -1
  748. package/dist/node/types/index.d.cts +1 -1
  749. package/dist/node/types/index.d.mts +1 -1
  750. package/dist/node/types/index.d.ts +1 -1
  751. package/package.json +25 -25
  752. package/src/components/EmbedPlugin.tsx +6 -5
  753. package/src/components/EmbedResolver.tsx +2 -1
  754. package/src/components/controls/EmbedFormControl.tsx +1 -0
  755. package/src/components/controls/ListModeSelect.tsx +2 -1
  756. package/src/components/controls/RenderSelect.tsx +4 -3
  757. package/src/components/controls/index.ts +3 -3
  758. package/src/components/embed-card/EmbedCardResolver.tsx +3 -2
  759. package/src/components/embed-card/EmbedPluginCard.tsx +7 -6
  760. package/src/components/embed-card/card/BusyCard.tsx +7 -6
  761. package/src/components/embed-card/card/EmbedCardHeader.tsx +25 -20
  762. package/src/components/embed-card/card/EmbedPluginCard.tsx +20 -17
  763. package/src/components/embed-card/card/index.ts +3 -3
  764. package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +2 -1
  765. package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +21 -12
  766. package/src/components/embed-card/error-handling/index.ts +2 -2
  767. package/src/components/embed-card/index.ts +2 -2
  768. package/src/components/embed-card/menu/EmbedMenu.tsx +2 -2
  769. package/src/components/embed-card/menu/JsonMenuItem.tsx +12 -9
  770. package/src/components/embed-card/menu/index.ts +1 -1
  771. package/src/components/index.ts +2 -2
  772. package/src/components/stories/XyoEmbedPlugin.examples.stories.tsx +1 -2
  773. package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +2 -3
  774. package/src/components/stories/storyShared.tsx +2 -1
  775. package/src/components/validation-alerts/ValidatePayload.tsx +7 -2
  776. package/src/components/validation-alerts/ValidatePlugins.tsx +4 -2
  777. package/src/components/validation-alerts/index.ts +2 -2
  778. package/src/contexts/EmbedPluginContext/{Context.tsx → Context.ts} +1 -1
  779. package/src/contexts/EmbedPluginContext/Provider.tsx +4 -3
  780. package/src/contexts/EmbedPluginContext/index.ts +4 -4
  781. package/src/contexts/EmbedPluginContext/{use.tsx → use.ts} +1 -1
  782. package/src/contexts/RefreshPayloadContext/{Context.tsx → Context.ts} +1 -1
  783. package/src/contexts/RefreshPayloadContext/Provider.tsx +3 -2
  784. package/src/contexts/RefreshPayloadContext/index.ts +3 -3
  785. package/src/contexts/RefreshPayloadContext/{use.tsx → use.ts} +1 -1
  786. package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
  787. package/src/contexts/ResolvePayloadContext/Provider.tsx +6 -5
  788. package/src/contexts/ResolvePayloadContext/index.ts +4 -4
  789. package/src/contexts/ResolvePayloadContext/{use.tsx → use.ts} +1 -1
  790. package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
  791. package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +6 -6
  792. package/src/contexts/ValidatePayloadContext/Provider.tsx +7 -7
  793. package/src/contexts/ValidatePayloadContext/index.ts +3 -3
  794. package/src/contexts/ValidatePayloadContext/{use.tsx → use.ts} +1 -1
  795. package/src/contexts/index.ts +4 -4
  796. package/src/index.ts +3 -3
  797. package/src/types/EmbedPluginProps.ts +1 -1
  798. package/src/types/index.ts +1 -1
  799. package/dist/browser/index.js +0 -498
  800. package/dist/browser/index.js.map +0 -1
  801. package/dist/neutral/index.js +0 -498
  802. package/dist/neutral/index.js.map +0 -1
  803. package/dist/node/index.js +0 -500
  804. package/dist/node/index.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.ts","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.ts","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.ts","../../src/contexts/RefreshPayloadContext/use.ts","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.ts","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.ts","../../src/components/embed-card/menu/EmbedMenu.tsx","../../src/components/embed-card/menu/JsonMenuItem.tsx","../../src/components/embed-card/card/EmbedPluginCard.tsx","../../src/components/controls/EmbedFormControl.tsx","../../src/components/controls/ListModeSelect.tsx","../../src/components/controls/RenderSelect.tsx","../../src/components/embed-card/EmbedPluginCard.tsx","../../src/components/EmbedPlugin.tsx","../../src/components/EmbedResolver.tsx","../../src/components/validation-alerts/ValidatePayload.tsx","../../src/components/validation-alerts/ValidatePlugins.tsx","../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx","../../src/components/embed-card/error-handling/EmbedErrorCard.tsx"],"sourcesContent":["import { Card, CardProps } from '@mui/material'\nimport { useBusyTiming } from '@xylabs/react-flexbox'\nimport {\n BusyCircularProgress,\n BusyCircularProgressProps,\n BusyLinearProgress,\n BusyLinearProgressProps,\n BusyVariant,\n WithChildren,\n} from '@xylabs/react-shared'\nimport React from 'react'\n\nexport interface BusyCardProps extends CardProps {\n busy?: boolean\n busyMinimum?: number\n busyVariant?: BusyVariant\n busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps\n}\n\nexport const BusyCard: React.FC<WithChildren<BusyCardProps>> = ({\n busy,\n busyMinimum = 500,\n busyVariant = 'circular',\n busyVariantProps,\n children,\n ...props\n}) => {\n const internalBusy = useBusyTiming(busy, busyMinimum)\n return (\n <Card {...props}>\n {children}\n {busyVariant === 'circular' && internalBusy\n ? <BusyCircularProgress {...(busyVariantProps as BusyCircularProgressProps)} />\n : null}\n {busyVariant === 'linear' && internalBusy\n ? <BusyLinearProgress {...(busyVariantProps as BusyLinearProgressProps)} />\n : null}\n </Card>\n )\n}\n","import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { Avatar, CardHeader, CardHeaderProps, Chip, Theme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.ts'\nimport { EmbedMenu } from '../menu/index.ts'\n\nexport const EmbedCardHeader: React.FC<CardHeaderProps> = () => {\n const { refreshHuri, huri } = useResolvePayload()\n const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState()\n const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {}\n // this is temporary so that we can add the ability to get a timestamp via diviner later\n const timestamp = Date.now()\n return (\n <CardHeader\n sx={{ flexWrap: 'wrap', rowGap: 1 }}\n avatar={\n hideAvatar\n ? <></>\n : (\n <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n )\n }\n action={(\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp\n ? hideTimestamp && hideRefreshButton\n ? ''\n : (\n <Chip\n avatar={hideRefreshButton ? <></> : <RefreshIcon />}\n clickable={hideRefreshButton ? false : true}\n onClick={refreshHuri}\n label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}\n />\n )\n\n : null}\n {/* Huri case is valid as long as the only menu item is JSON */}\n {hideCardActions || huri === undefined ? null : <EmbedMenu />}\n </FlexRow>\n )}\n title={hideTitle ? '' : activePlugin?.name}\n />\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State.ts'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport React, { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context.ts'\nimport { EmbedPluginBase } from './State.ts'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n // eslint-disable-next-line @eslint-react/no-unstable-context-value\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context.ts'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport React, { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context.ts'\n\nexport interface RefreshPayloadProps {\n onRefresh?: () => void\n refreshPayload?: boolean\n}\n\nexport const RefreshPayloadProvider: React.FC<WithChildren<RefreshPayloadProps>> = ({ children, onRefresh, refreshPayload }) => {\n const [localRefreshPayload, setRefreshPayload] = useState(refreshPayload)\n\n return (\n // eslint-disable-next-line @eslint-react/no-unstable-context-value\n <RefreshPayloadContext.Provider value={{ onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }}>\n {children}\n </RefreshPayloadContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State.ts'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context.ts'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State.ts'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { delay } from '@xylabs/delay'\nimport { useAsyncEffect } from '@xylabs/react-async-effect'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { Huri } from '@xyo-network/huri'\nimport { ModuleError, ModuleErrorSchema, Payload } from '@xyo-network/payload-model'\nimport React, { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext/index.ts'\nimport { ResolvePayloadContext } from './Context.ts'\nimport { ResolvePayloadState } from './State.ts'\n\nexport type ResolvePayloadProviderProps = Omit<ResolvePayloadState, 'provided'>\n\nexport const ResolvePayloadProvider: React.FC<WithChildren<ResolvePayloadProviderProps>> = ({ children, huriPayload }) => {\n const [payload, setPayload] = useState<Payload>()\n const [huri, setHuri] = useState<string>()\n const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload()\n\n useEffect(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n typeof huriPayload === 'string' ? setHuri(huriPayload) : undefined\n if (typeof huriPayload === 'object') {\n setPayload(huriPayload)\n setRefreshPayload?.(true)\n }\n }, [huriPayload, setRefreshPayload])\n\n const [notFound, setNotFound] = useState<boolean>()\n const [huriError, setHuriError] = useState<ModuleError>()\n\n useAsyncEffect(\n async (mounted) => {\n if (huri && !refreshPayload) {\n try {\n const huriInstance = new Huri(huri)\n const result = await huriInstance.fetch()\n // ensure the busy state can stay for a moment to avoid flashing too quickly\n await delay(500)\n\n if (mounted()) {\n setNotFound(result === null)\n setPayload(result)\n setRefreshPayload?.(true)\n }\n } catch (e) {\n const error = e as Error\n setHuriError({ message: error.message, schema: ModuleErrorSchema, sources: [] })\n }\n }\n },\n [huri, payload, refreshPayload, setRefreshPayload],\n )\n\n const refreshHuri = () => {\n onRefresh?.()\n if (huri) {\n setRefreshPayload?.(false)\n }\n }\n\n return (\n // eslint-disable-next-line @eslint-react/no-unstable-context-value\n <ResolvePayloadContext.Provider value={{ huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload }}>\n {children}\n </ResolvePayloadContext.Provider>\n )\n}\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context.ts'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n","import { Chip } from '@mui/material'\nimport { useAsyncEffect } from '@xylabs/react-async-effect'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { SchemaCache, SchemaNameToValidatorMap } from '@xyo-network/schema-cache'\nimport React, { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext/index.ts'\nimport { ValidatePayloadContext } from './Context.ts'\n\nexport interface ValidatePayloadProviderProps {\n // Opt-in flag to validate payloads for the plugin(s)\n enabled?: boolean\n}\n\nexport const ValidatePayloadProvider: React.FC<WithChildren<ValidatePayloadProviderProps>> = ({ children, enabled = false }) => {\n const { payload } = useResolvePayload()\n const [initialized, setInitialized] = useState(false)\n const [valid, setValid] = useState<boolean>()\n\n useAsyncEffect(\n async () => {\n if (payload && enabled) {\n await SchemaCache.instance.get(payload.schema)\n\n const possibleKnownSchema = payload.schema as keyof SchemaNameToValidatorMap\n\n if (SchemaCache.instance.validators[possibleKnownSchema]) {\n const validator = SchemaCache.instance.validators[possibleKnownSchema]\n setValid(validator?.(payload))\n }\n setInitialized(true)\n }\n },\n [payload, enabled],\n )\n\n return (\n // eslint-disable-next-line @eslint-react/no-unstable-context-value\n <ValidatePayloadContext.Provider value={{ enabled, provided: true, schema: payload?.schema, validPayload: valid }}>\n {enabled\n ? <>{initialized ? children : <Chip label=\"Validating Payload...\" />}</>\n : children}\n </ValidatePayloadContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadState } from './State.ts'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context.ts'\n\nexport const useValidatePayload = () => useContextEx(ValidatePayloadContext, 'ValidateSchema', true)\n","import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport React, { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem.tsx'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n","import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\nimport React from 'react'\n\nimport { useResolvePayload } from '../../../contexts/index.ts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri\n ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n )\n : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\nimport React from 'react'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.ts'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.ts'\nimport { BusyCard, BusyCardProps } from './BusyCard.tsx'\nimport { EmbedCardHeader } from './EmbedCardHeader.tsx'\n\nexport const EmbedPluginCard: React.FC<BusyCardProps> = ({ ...props }) => {\n const { payload } = useResolvePayload()\n const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState()\n const { listMode } = useListMode()\n const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1\n\n return (\n <BusyCard {...props}>\n {hideElementsConfig?.hideCardHeader ? null : <EmbedCardHeader />}\n {/* Only show the row if the children are present */}\n {(plugins && plugins.length > 0) || supportsListMode\n ? (\n <FlexGrowRow columnGap={2} rowGap={2} flexWrap=\"wrap\" pb={1}>\n {plugins && plugins.length > 1\n ? <EmbedRenderSelect />\n : null}\n {supportsListMode\n ? <ListModeSelectFormControl />\n : null}\n </FlexGrowRow>\n )\n : null}\n <CardContent sx={{ height: '100%' }}>\n {ActivePlugin\n ? <ActivePlugin.components.box.detailsBox payload={payload} {...(supportsListMode && { listMode })} />\n : null}\n </CardContent>\n </BusyCard>\n )\n}\n","import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport React from 'react'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n","import { MenuItem } from '@mui/material'\nimport { SelectEx, SelectExProps } from '@xylabs/react-select'\nimport { ListMode, useListMode } from '@xyo-network/react-shared'\nimport React from 'react'\n\nimport { EmbedFormControl } from './EmbedFormControl.tsx'\n\nconst listModeSelectId = 'listmode-select-id'\nconst listModeSelectLabel = 'List Mode'\n\nexport const ListModeSelect: React.FC<SelectExProps<ListMode>> = (props) => {\n const { listMode, setListMode } = useListMode()\n\n return (\n <SelectEx<ListMode>\n value={(listMode ?? 'default') as ListMode}\n onChange={(event) => {\n setListMode?.(event.target.value as ListMode)\n }}\n {...props}\n >\n <MenuItem key=\"default\" value=\"default\">\n Default\n </MenuItem>\n <MenuItem key=\"table\" value=\"table\">\n Table\n </MenuItem>\n <MenuItem key=\"grid\" value=\"grid\">\n Grid\n </MenuItem>\n </SelectEx>\n )\n}\n\nexport const ListModeSelectFormControl: React.FC<SelectExProps<ListMode>> = (props) => {\n return (\n <EmbedFormControl formId={listModeSelectId} formLabel={listModeSelectLabel}>\n <ListModeSelect size=\"small\" label={listModeSelectLabel} labelId={listModeSelectId} {...props} />\n </EmbedFormControl>\n )\n}\n","import { MenuItem } from '@mui/material'\nimport { SelectEx, SelectExProps } from '@xylabs/react-select'\nimport React from 'react'\n\nimport { useEmbedPluginState } from '../../contexts/index.ts'\nimport { EmbedFormControl } from './EmbedFormControl.tsx'\n\nconst renderSelectId = 'render-select-id'\nconst renderSelectLabel = 'Renderer'\n\nexport const EmbedRenderSelect: React.FC<SelectExProps<string>> = (props) => {\n const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState()\n return (\n <EmbedFormControl formId={renderSelectId} formLabel={renderSelectLabel}>\n <SelectEx size=\"small\" value={activePlugin?.name} {...props}>\n {plugins?.map(plugin => (\n <MenuItem value={plugin.name} key={plugin.name} onClick={() => setActivePlugin?.(plugin)}>\n {plugin.name}\n </MenuItem>\n ))}\n </SelectEx>\n </EmbedFormControl>\n )\n}\n","import { useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport React from 'react'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts/index.ts'\nimport { EmbedPluginProps } from '../../types/index.ts'\nimport { EmbedPluginInner } from '../EmbedPlugin.tsx'\nimport { BusyCardProps, EmbedPluginCard } from './card/index.ts'\nimport { EmbedCardApiErrorRenderer } from './error-handling/index.ts'\n\nexport interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {}\n\nexport const ApiEmbedPluginCard: React.FC<EmbedPluginCardProps> = ({ children, ...props }) => {\n const {\n validateSchema,\n plugins = [],\n huriPayload,\n refreshTitle = '',\n timestampLabel = 'Data From',\n hideElementsConfig,\n embedPluginConfig,\n onRefresh,\n ...busyCardProps\n } = props\n\n return (\n <EmbedPluginInner\n {...{\n embedPluginConfig,\n hideElementsConfig,\n huriPayload,\n onRefresh,\n plugins,\n refreshTitle,\n timestampLabel,\n validateSchema,\n }}\n >\n <EmbedPluginCardInner {...busyCardProps} />\n {children}\n </EmbedPluginInner>\n )\n}\n\nexport const EmbedPluginCardInner: React.FC<BusyCardProps> = (props) => {\n const { payload, huriError } = useResolvePayload()\n const { refreshPayload } = useRefreshPayload()\n const theme = useTheme()\n\n return (\n <EmbedCardApiErrorRenderer xyoError={huriError}>\n <EmbedPluginCard\n elevation={3}\n variant=\"elevation\"\n busy={Boolean(!refreshPayload && payload)}\n busyVariantProps={{ style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } }}\n sx={{ position: 'relative' }}\n {...props}\n />\n </EmbedCardApiErrorRenderer>\n )\n}\n\n/** @deprecated - use EmbedPluginCard and use CardProps instead of FlexBoxProps */\n\nexport { EmbedPluginCard as EmbedPlugin } from './card/index.ts'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\nimport React from 'react'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.ts'\nimport { EmbedPluginProps } from '../types/index.ts'\nimport { EmbedResolver } from './EmbedResolver.tsx'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.ts'\n\nexport const EmbedPluginInner: React.FC<WithChildren<EmbedPluginProps>> = ({\n validateSchema,\n plugins,\n huriPayload,\n refreshTitle = '',\n timestampLabel = 'Data From',\n hideElementsConfig,\n embedPluginConfig,\n onRefresh,\n children,\n}) => {\n return (\n <ErrorBoundary>\n <EmbedPluginProvider\n refreshTitle={refreshTitle}\n timestampLabel={timestampLabel}\n hideElementsConfig={hideElementsConfig}\n plugins={plugins}\n embedPluginConfig={embedPluginConfig}\n >\n <WithResolvers onRefresh={onRefresh} huriPayload={huriPayload}>\n <WithValidators validateSchema={validateSchema}>\n <ListModeProvider defaultListMode={embedPluginConfig?.listMode}>{children}</ListModeProvider>\n </WithValidators>\n </WithResolvers>\n </EmbedPluginProvider>\n </ErrorBoundary>\n )\n}\n\ninterface WithResolversProps extends Pick<EmbedPluginProps, 'onRefresh' | 'huriPayload'>, FlexBoxProps {}\n\nconst WithResolvers: React.FC<WithChildren<WithResolversProps>> = ({ children, onRefresh, huriPayload }) => {\n return (\n <RefreshPayloadProvider onRefresh={onRefresh}>\n <ResolvePayloadProvider huriPayload={huriPayload}>\n <EmbedResolver>{children}</EmbedResolver>\n </ResolvePayloadProvider>\n </RefreshPayloadProvider>\n )\n}\n\nconst WithValidators: React.FC<WithChildren<{ validateSchema?: boolean }>> = ({ children, validateSchema }) => {\n return (\n <ValidatePayloadProvider enabled={validateSchema}>\n <ValidatePluginsAlert>\n <ValidatePayloadAlert>{children}</ValidatePayloadAlert>\n </ValidatePluginsAlert>\n </ValidatePayloadProvider>\n )\n}\n","import { WithChildren } from '@xylabs/react-shared'\nimport { LoadResult } from '@xyo-network/react-shared'\nimport React from 'react'\n\nimport { useResolvePayload } from '../contexts/index.ts'\n\nexport const EmbedResolver: React.FC<WithChildren> = ({ children }) => {\n const { payload, notFound, huriError } = useResolvePayload()\n\n return (\n <LoadResult searchResult={payload} notFound={!!notFound} error={!!huriError}>\n {children}\n </LoadResult>\n )\n}\n","import { Alert, AlertProps } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport React from 'react'\n\nimport { useValidatePayload } from '../../contexts/index.ts'\n\nexport const ValidatePayloadAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { validPayload, enabled, schema } = useValidatePayload()\n\n if (enabled && validPayload === false) {\n return (\n <Alert severity=\"error\" title=\"Invalid Payload!\" {...props}>\n Payload schema claimed to be\n {' '}\n {schema}\n {' '}\n but failed to validate.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n","import { Alert, AlertProps, AlertTitle } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport React from 'react'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts/index.ts'\n\nexport const ValidatePluginsAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { payload } = useResolvePayload()\n const { plugins } = useEmbedPluginState()\n\n if (payload && plugins?.length === 0) {\n return (\n <Alert severity=\"warning\" {...props}>\n <AlertTitle>Missing plugins!</AlertTitle>\n Payload found but no plugins were present.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n","import { CardProps } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ModuleError } from '@xyo-network/payload-model'\nimport { ErrorAlert, ErrorRender } from '@xyo-network/react-error'\nimport React from 'react'\n\nimport { EmbedErrorCard } from './EmbedErrorCard.tsx'\n\ninterface EmbedCardApiErrorRendererProps extends CardProps {\n xyoError?: ModuleError\n}\n\nexport const EmbedCardApiErrorRenderer: React.FC<WithChildren<EmbedCardApiErrorRendererProps>> = ({ xyoError, children, ...props }) => {\n return (\n <ErrorRender error={xyoError} noReAuth noErrorDisplay customError={<CustomApiErrorCard xyoError={xyoError} {...props} />}>\n {children}\n </ErrorRender>\n )\n}\n\nconst CustomApiErrorCard: React.FC<EmbedCardApiErrorRendererProps> = ({ xyoError, ...props }) => {\n return (\n <EmbedErrorCard {...props}>\n <ErrorAlert error={xyoError} />\n </EmbedErrorCard>\n )\n}\n","import { Alert, AlertProps, AlertTitle, Card, CardContent, CardProps, Typography } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport React from 'react'\n\ninterface EmbedErrorCardBaseProps {\n alertProps?: AlertProps\n error?: Error\n hideErrorDetails?: boolean\n scope?: string\n}\n\ninterface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {}\n\nexport const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>> = (props) => {\n const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props\n const errorProps = { alertProps, error, hideErrorDetails, scope }\n return (\n <Card {...cardProps}>\n <CardContent>{children ?? <DefaultErrorAlert {...errorProps} />}</CardContent>\n </Card>\n )\n}\n\nconst DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, scope, hideErrorDetails, error }) => {\n return (\n <Alert severity=\"error\" {...alertProps}>\n <AlertTitle>Whoops! Something went wrong</AlertTitle>\n {scope\n ? (\n <Typography variant=\"caption\">\n Scope:\n {scope}\n </Typography>\n )\n : null}\n {!hideErrorDetails && error\n ? (\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n )\n : (\n <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n )}\n </Alert>\n )\n}\n"],"mappings":";;;;AAAA,SAASA,YAAuB;AAChC,SAASC,qBAAqB;AAC9B,SACEC,sBAEAC,0BAIK;AACP,OAAOC,WAAW;AASX,IAAMC,WAAkD,wBAAC,EAC9DC,MACAC,cAAc,KACdC,cAAc,YACdC,kBACAC,UACA,GAAGC,MAAAA,MACJ;AACC,QAAMC,eAAeC,cAAcP,MAAMC,WAAAA;AACzC,SACE,sBAAA,cAACO,MAASH,OACPD,UACAF,gBAAgB,cAAcI,eAC3B,sBAAA,cAACG,sBAA0BN,gBAAAA,IAC3B,MACHD,gBAAgB,YAAYI,eACzB,sBAAA,cAACI,oBAAwBP,gBAAAA,IACzB,IAAA;AAGV,GApB+D;;;ACnB/D,SAASQ,WAAWC,mBAAmB;AACvC,SAASC,QAAQC,YAA6BC,QAAAA,aAAmB;AACjE,SAASC,eAAe;AACxB,OAAOC,YAAW;;;ACHlB,SAASC,uBAAuB;AAIzB,IAAMC,qBAAqBD,gBAAAA;;;ACFlC,OAAOE,UAASC,WAAWC,gBAAgB;AAQpC,IAAMC,sBAAwE,wBAAC,EACpFC,UACAC,cACAC,gBACAC,oBACAC,SACAC,kBAAiB,MAClB;AACC,QAAM,CAACC,cAAcC,eAAAA,IAAmBC,SAA0CJ,UAAUA,QAAQ,CAAA,IAAKK,MAAAA;AAEzGC,YAAU,MAA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AgC3D,IAAMa,uBAAgD,wBAACZ,UAAAA;AAC5D,QAAM,EAAEa,SAASC,UAAS,IAAKC,kBAAAA;AAC/B,QAAM,EAAEC,eAAc,IAAKC,kBAAAA;AAC3B,QAAMC,QAAQC,SAAAA;AAEd,SACE,gBAAAT,QAAA,cAACU,2BAAAA;IAA0BC,UAAUP;KACnC,gBAAAJ,QAAA,cAACY,iBAAAA;IACCC,WAAW;IACXC,SAAQ;IACRC,MAAMC,QAAQ,CAACV,kBAAkBH,OAAAA;IACjCc,kBAAkB;MAAEC,OAAO;QAAEC,YAAY;QAASC,YAAYZ,MAAMa,QAAQ,CAAA;QAAIC,QAAQ;MAAE;IAAE;IAC5FC,IAAI;MAAEC,UAAU;IAAW;IAC1B,GAAGlC;;AAIZ,GAjB6D;","names":["Card","useBusyTiming","BusyCircularProgress","BusyLinearProgress","React","BusyCard","busy","busyMinimum","busyVariant","busyVariantProps","children","props","internalBusy","useBusyTiming","Card","BusyCircularProgress","BusyLinearProgress","Refresh","RefreshIcon","Avatar","CardHeader","Chip","FlexRow","React","createContextEx","EmbedPluginContext","React","useEffect","useState","EmbedPluginProvider","children","refreshTitle","timestampLabel","hideElementsConfig","plugins","embedPluginConfig","activePlugin","setActivePlugin","useState","undefined","useEffect","React","EmbedPluginContext","Provider","value","provided","useContextEx","useEmbedPluginState","useContextEx","EmbedPluginContext","React","useState","createContextEx","RefreshPayloadContext","RefreshPayloadProvider","children","onRefresh","refreshPayload","localRefreshPayload","setRefreshPayload","useState","React","RefreshPayloadContext","Provider","value","provided","useContextEx","useRefreshPayload","useContextEx","RefreshPayloadContext","createContextEx","ResolvePayloadContext","delay","useAsyncEffect","Huri","ModuleErrorSchema","React","useEffect","useState","ResolvePayloadProvider","children","huriPayload","payload","setPayload","useState","huri","setHuri","refreshPayload","setRefreshPayload","onRefresh","useRefreshPayload","useEffect","undefined","notFound","setNotFound","huriError","setHuriError","useAsyncEffect","mounted","huriInstance","Huri","result","fetch","delay","e","error","message","schema","ModuleErrorSchema","sources","refreshHuri","React","ResolvePayloadContext","Provider","value","provided","useContextEx","useResolvePayload","useContextEx","ResolvePayloadContext","Chip","useAsyncEffect","SchemaCache","React","useState","createContextEx","ValidatePayloadContext","ValidatePayloadProvider","children","enabled","payload","useResolvePayload","initialized","setInitialized","useState","valid","setValid","useAsyncEffect","SchemaCache","instance","get","schema","possibleKnownSchema","validators","validator","React","ValidatePayloadContext","Provider","value","provided","validPayload","Chip","label","useContextEx","useValidatePayload","useContextEx","ValidatePayloadContext","MoreVert","MoreVertIcon","IconButton","Menu","React","useState","OpenInNew","OpenInNewIcon","ListItemIcon","ListItemText","MenuItem","React","JsonMenuItem","props","huri","useResolvePayload","React","MenuItem","title","onClick","window","open","ListItemText","sx","mr","ListItemIcon","justifyContent","OpenInNewIcon","fontSize","EmbedMenu","props","anchorEl","setAnchorEl","useState","open","Boolean","handleClick","event","currentTarget","handleClose","React","IconButton","onClick","MoreVertIcon","Menu","onClose","PaperProps","variant","MenuListProps","dense","JsonMenuItem","EmbedCardHeader","refreshHuri","huri","useResolvePayload","activePlugin","timestampLabel","hideElementsConfig","useEmbedPluginState","hideAvatar","hideTitle","hideRefreshButton","hideTimestamp","hideCardActions","timestamp","Date","now","React","CardHeader","sx","flexWrap","rowGap","avatar","Avatar","bgcolor","theme","palette","primary","main","aria-label","name","charAt","action","FlexRow","columnGap","Chip","RefreshIcon","clickable","onClick","label","toLocaleString","undefined","EmbedMenu","title","CardContent","FlexGrowRow","useListMode","React","FormControl","InputLabel","React","EmbedFormControl","formId","formLabel","children","props","React","FormControl","InputLabel","id","MenuItem","SelectEx","useListMode","React","listModeSelectId","listModeSelectLabel","ListModeSelect","props","listMode","setListMode","useListMode","React","SelectEx","value","onChange","event","target","MenuItem","key","ListModeSelectFormControl","EmbedFormControl","formId","formLabel","size","label","labelId","MenuItem","SelectEx","React","renderSelectId","renderSelectLabel","EmbedRenderSelect","props","activePlugin","setActivePlugin","plugins","useEmbedPluginState","React","EmbedFormControl","formId","formLabel","SelectEx","size","value","name","map","plugin","MenuItem","key","onClick","EmbedPluginCard","props","payload","useResolvePayload","activePlugin","ActivePlugin","plugins","hideElementsConfig","useEmbedPluginState","listMode","useListMode","supportsListMode","components","box","listModes","length","React","BusyCard","hideCardHeader","EmbedCardHeader","FlexGrowRow","columnGap","rowGap","flexWrap","pb","EmbedRenderSelect","ListModeSelectFormControl","CardContent","sx","height","detailsBox","useTheme","React","ErrorBoundary","ListModeProvider","React","LoadResult","React","EmbedResolver","children","payload","notFound","huriError","useResolvePayload","React","LoadResult","searchResult","error","Alert","React","ValidatePayloadAlert","children","props","validPayload","enabled","schema","useValidatePayload","React","Alert","severity","title","Alert","AlertTitle","React","ValidatePluginsAlert","children","props","payload","useResolvePayload","plugins","useEmbedPluginState","length","React","Alert","severity","AlertTitle","EmbedPluginInner","validateSchema","plugins","huriPayload","refreshTitle","timestampLabel","hideElementsConfig","embedPluginConfig","onRefresh","children","React","ErrorBoundary","EmbedPluginProvider","WithResolvers","WithValidators","ListModeProvider","defaultListMode","listMode","RefreshPayloadProvider","ResolvePayloadProvider","EmbedResolver","ValidatePayloadProvider","enabled","ValidatePluginsAlert","ValidatePayloadAlert","ErrorAlert","ErrorRender","React","Alert","AlertTitle","Card","CardContent","Typography","React","EmbedErrorCard","props","alertProps","error","scope","hideErrorDetails","children","cardProps","errorProps","React","Card","CardContent","DefaultErrorAlert","Alert","severity","AlertTitle","Typography","variant","message","fontSize","EmbedCardApiErrorRenderer","xyoError","children","props","React","ErrorRender","error","noReAuth","noErrorDisplay","customError","CustomApiErrorCard","EmbedErrorCard","ErrorAlert","ApiEmbedPluginCard","children","props","validateSchema","plugins","huriPayload","refreshTitle","timestampLabel","hideElementsConfig","embedPluginConfig","onRefresh","busyCardProps","React","EmbedPluginInner","EmbedPluginCardInner","payload","huriError","useResolvePayload","refreshPayload","useRefreshPayload","theme","useTheme","EmbedCardApiErrorRenderer","xyoError","EmbedPluginCard","elevation","variant","busy","Boolean","busyVariantProps","style","alignItems","paddingTop","spacing","zIndex","sx","position"]}
@@ -1,5 +1,5 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.js';
2
+ import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.ts';
3
3
  export interface EmbedPluginProps extends EmbedPluginBase {
4
4
  hideElementsConfig?: EmbedPluginVisibilityConfig;
5
5
  huriPayload?: string | Payload;
@@ -1,5 +1,5 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.js';
2
+ import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.ts';
3
3
  export interface EmbedPluginProps extends EmbedPluginBase {
4
4
  hideElementsConfig?: EmbedPluginVisibilityConfig;
5
5
  huriPayload?: string | Payload;
@@ -1,5 +1,5 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.js';
2
+ import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.ts';
3
3
  export interface EmbedPluginProps extends EmbedPluginBase {
4
4
  hideElementsConfig?: EmbedPluginVisibilityConfig;
5
5
  huriPayload?: string | Payload;
@@ -1,2 +1,2 @@
1
- export * from './EmbedPluginProps.js';
1
+ export * from './EmbedPluginProps.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './EmbedPluginProps.js';
1
+ export * from './EmbedPluginProps.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './EmbedPluginProps.js';
1
+ export * from './EmbedPluginProps.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -10,30 +10,30 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@mui/icons-material": "^5.16.5",
14
- "@mui/material": "^5.16.5",
15
- "@mui/styles": "^5.16.5",
16
- "@xylabs/delay": "^3.6.4",
17
- "@xylabs/react-async-effect": "^3.4.1",
18
- "@xylabs/react-flexbox": "^3.4.1",
19
- "@xylabs/react-select": "^3.4.1",
20
- "@xylabs/react-shared": "^3.4.1",
21
- "@xyo-network/huri": "^2.110.9",
22
- "@xyo-network/payload-model": "^2.110.9",
23
- "@xyo-network/react-error": "^2.81.9",
24
- "@xyo-network/react-payload-plugin": "^2.81.9",
25
- "@xyo-network/react-shared": "^2.81.9",
26
- "@xyo-network/schema-cache": "^2.110.9",
13
+ "@mui/icons-material": "^5.16.6",
14
+ "@mui/material": "^5.16.6",
15
+ "@mui/styles": "^5.16.6",
16
+ "@xylabs/delay": "^3.6.12",
17
+ "@xylabs/react-async-effect": "^3.4.2",
18
+ "@xylabs/react-flexbox": "^3.4.2",
19
+ "@xylabs/react-select": "^3.4.2",
20
+ "@xylabs/react-shared": "^3.4.2",
21
+ "@xyo-network/huri": "^2.111.3",
22
+ "@xyo-network/payload-model": "^2.111.3",
23
+ "@xyo-network/react-error": "^2.82.0",
24
+ "@xyo-network/react-payload-plugin": "^2.82.0",
25
+ "@xyo-network/react-shared": "^2.82.0",
26
+ "@xyo-network/schema-cache": "^2.111.3",
27
27
  "react": "^18.3.1",
28
28
  "react-dom": "^18.3.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@storybook/react": "^7.6.20",
32
- "@xylabs/ts-scripts-yarn3": "^3.12.4",
33
- "@xylabs/tsconfig-react": "^3.12.4",
34
- "@xyo-network/react-aggregate-price-plugin": "^2.81.9",
35
- "@xyo-network/react-crypto-market-uniswap-plugin": "^2.81.9",
36
- "react-router-dom": "^6.25.1",
31
+ "@storybook/react": "^8.2.7",
32
+ "@xylabs/ts-scripts-yarn3": "^3.15.16",
33
+ "@xylabs/tsconfig-react": "^3.15.16",
34
+ "@xyo-network/react-aggregate-price-plugin": "^2.82.0",
35
+ "@xyo-network/react-crypto-market-uniswap-plugin": "^2.82.0",
36
+ "react-router-dom": "^6.26.0",
37
37
  "typescript": "^5.5.4"
38
38
  },
39
39
  "peerDependencies": {
@@ -47,7 +47,7 @@
47
47
  "node": {
48
48
  "import": {
49
49
  "types": "./dist/node/index.d.mts",
50
- "default": "./dist/node/index.js"
50
+ "default": "./dist/node/index.mjs"
51
51
  },
52
52
  "require": {
53
53
  "types": "./dist/node/index.d.cts",
@@ -57,19 +57,19 @@
57
57
  "browser": {
58
58
  "import": {
59
59
  "types": "./dist/browser/index.d.mts",
60
- "default": "./dist/browser/index.js"
60
+ "default": "./dist/browser/index.mjs"
61
61
  },
62
62
  "require": {
63
63
  "types": "./dist/browser/index.d.cts",
64
64
  "default": "./dist/browser/index.cjs"
65
65
  }
66
66
  },
67
- "default": "./dist/browser/index.js"
67
+ "default": "./dist/browser/index.mjs"
68
68
  },
69
69
  "./package.json": "./package.json"
70
70
  },
71
71
  "main": "dist/browser/index.cjs",
72
- "module": "dist/browser/index.js",
72
+ "module": "dist/browser/index.mjs",
73
73
  "homepage": "https://xyo.network",
74
74
  "keywords": [
75
75
  "xyo",
@@ -91,6 +91,6 @@
91
91
  },
92
92
  "sideEffects": false,
93
93
  "types": "dist/browser/index.d.ts",
94
- "version": "2.81.9",
94
+ "version": "2.82.0",
95
95
  "type": "module"
96
96
  }
@@ -1,15 +1,16 @@
1
1
  import { FlexBoxProps } from '@xylabs/react-flexbox'
2
2
  import { WithChildren } from '@xylabs/react-shared'
3
3
  import { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'
4
+ import React from 'react'
4
5
 
5
- import { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.js'
6
- import { EmbedPluginProps } from '../types/index.js'
7
- import { EmbedResolver } from './EmbedResolver.js'
8
- import { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.js'
6
+ import { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.ts'
7
+ import { EmbedPluginProps } from '../types/index.ts'
8
+ import { EmbedResolver } from './EmbedResolver.tsx'
9
+ import { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.ts'
9
10
 
10
11
  export const EmbedPluginInner: React.FC<WithChildren<EmbedPluginProps>> = ({
11
12
  validateSchema,
12
- plugins = [],
13
+ plugins,
13
14
  huriPayload,
14
15
  refreshTitle = '',
15
16
  timestampLabel = 'Data From',
@@ -1,7 +1,8 @@
1
1
  import { WithChildren } from '@xylabs/react-shared'
2
2
  import { LoadResult } from '@xyo-network/react-shared'
3
+ import React from 'react'
3
4
 
4
- import { useResolvePayload } from '../contexts/index.js'
5
+ import { useResolvePayload } from '../contexts/index.ts'
5
6
 
6
7
  export const EmbedResolver: React.FC<WithChildren> = ({ children }) => {
7
8
  const { payload, notFound, huriError } = useResolvePayload()
@@ -1,5 +1,6 @@
1
1
  import { FormControl, FormControlProps, InputLabel } from '@mui/material'
2
2
  import { WithChildren } from '@xylabs/react-shared'
3
+ import React from 'react'
3
4
 
4
5
  interface EmbedFormControlProps extends FormControlProps {
5
6
  formId?: string
@@ -1,8 +1,9 @@
1
1
  import { MenuItem } from '@mui/material'
2
2
  import { SelectEx, SelectExProps } from '@xylabs/react-select'
3
3
  import { ListMode, useListMode } from '@xyo-network/react-shared'
4
+ import React from 'react'
4
5
 
5
- import { EmbedFormControl } from './EmbedFormControl.js'
6
+ import { EmbedFormControl } from './EmbedFormControl.tsx'
6
7
 
7
8
  const listModeSelectId = 'listmode-select-id'
8
9
  const listModeSelectLabel = 'List Mode'
@@ -1,8 +1,9 @@
1
1
  import { MenuItem } from '@mui/material'
2
2
  import { SelectEx, SelectExProps } from '@xylabs/react-select'
3
+ import React from 'react'
3
4
 
4
- import { useEmbedPluginState } from '../../contexts/index.js'
5
- import { EmbedFormControl } from './EmbedFormControl.js'
5
+ import { useEmbedPluginState } from '../../contexts/index.ts'
6
+ import { EmbedFormControl } from './EmbedFormControl.tsx'
6
7
 
7
8
  const renderSelectId = 'render-select-id'
8
9
  const renderSelectLabel = 'Renderer'
@@ -12,7 +13,7 @@ export const EmbedRenderSelect: React.FC<SelectExProps<string>> = (props) => {
12
13
  return (
13
14
  <EmbedFormControl formId={renderSelectId} formLabel={renderSelectLabel}>
14
15
  <SelectEx size="small" value={activePlugin?.name} {...props}>
15
- {plugins?.map((plugin) => (
16
+ {plugins?.map(plugin => (
16
17
  <MenuItem value={plugin.name} key={plugin.name} onClick={() => setActivePlugin?.(plugin)}>
17
18
  {plugin.name}
18
19
  </MenuItem>
@@ -1,3 +1,3 @@
1
- export * from './EmbedFormControl.js'
2
- export * from './ListModeSelect.js'
3
- export * from './RenderSelect.js'
1
+ export * from './EmbedFormControl.tsx'
2
+ export * from './ListModeSelect.tsx'
3
+ export * from './RenderSelect.tsx'
@@ -2,9 +2,10 @@ import { useTheme } from '@mui/material'
2
2
  import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
3
3
  import { WithChildren } from '@xylabs/react-shared'
4
4
  import { LoadResult } from '@xyo-network/react-shared'
5
+ import React from 'react'
5
6
 
6
- import { useRefreshPayload, useResolvePayload } from '../../contexts/index.js'
7
- import { EmbedCardApiErrorRenderer } from './error-handling/index.js'
7
+ import { useRefreshPayload, useResolvePayload } from '../../contexts/index.ts'
8
+ import { EmbedCardApiErrorRenderer } from './error-handling/index.ts'
8
9
 
9
10
  export const EmbedCardResolverFlexBox: React.FC<WithChildren<FlexBoxProps>> = ({ children, ...props }) => {
10
11
  const { payload, notFound, huriError } = useResolvePayload()
@@ -1,11 +1,12 @@
1
1
  import { useTheme } from '@mui/material'
2
2
  import { WithChildren } from '@xylabs/react-shared'
3
+ import React from 'react'
3
4
 
4
- import { useRefreshPayload, useResolvePayload } from '../../contexts/index.js'
5
- import { EmbedPluginProps } from '../../types/index.js'
6
- import { EmbedPluginInner } from '../EmbedPlugin.js'
7
- import { BusyCardProps, EmbedPluginCard } from './card/index.js'
8
- import { EmbedCardApiErrorRenderer } from './error-handling/index.js'
5
+ import { useRefreshPayload, useResolvePayload } from '../../contexts/index.ts'
6
+ import { EmbedPluginProps } from '../../types/index.ts'
7
+ import { EmbedPluginInner } from '../EmbedPlugin.tsx'
8
+ import { BusyCardProps, EmbedPluginCard } from './card/index.ts'
9
+ import { EmbedCardApiErrorRenderer } from './error-handling/index.ts'
9
10
 
10
11
  export interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {}
11
12
 
@@ -62,4 +63,4 @@ export const EmbedPluginCardInner: React.FC<BusyCardProps> = (props) => {
62
63
 
63
64
  /** @deprecated - use EmbedPluginCard and use CardProps instead of FlexBoxProps */
64
65
 
65
- export { EmbedPluginCard as EmbedPlugin } from './card/index.js'
66
+ export { EmbedPluginCard as EmbedPlugin } from './card/index.ts'
@@ -8,6 +8,7 @@ import {
8
8
  BusyVariant,
9
9
  WithChildren,
10
10
  } from '@xylabs/react-shared'
11
+ import React from 'react'
11
12
 
12
13
  export interface BusyCardProps extends CardProps {
13
14
  busy?: boolean
@@ -28,12 +29,12 @@ export const BusyCard: React.FC<WithChildren<BusyCardProps>> = ({
28
29
  return (
29
30
  <Card {...props}>
30
31
  {children}
31
- {busyVariant === 'circular' && internalBusy ?
32
- <BusyCircularProgress {...(busyVariantProps as BusyCircularProgressProps)} />
33
- : null}
34
- {busyVariant === 'linear' && internalBusy ?
35
- <BusyLinearProgress {...(busyVariantProps as BusyLinearProgressProps)} />
36
- : null}
32
+ {busyVariant === 'circular' && internalBusy
33
+ ? <BusyCircularProgress {...(busyVariantProps as BusyCircularProgressProps)} />
34
+ : null}
35
+ {busyVariant === 'linear' && internalBusy
36
+ ? <BusyLinearProgress {...(busyVariantProps as BusyLinearProgressProps)} />
37
+ : null}
37
38
  </Card>
38
39
  )
39
40
  }
@@ -1,43 +1,48 @@
1
1
  import { Refresh as RefreshIcon } from '@mui/icons-material'
2
2
  import { Avatar, CardHeader, CardHeaderProps, Chip, Theme } from '@mui/material'
3
3
  import { FlexRow } from '@xylabs/react-flexbox'
4
+ import React from 'react'
4
5
 
5
- import { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'
6
- import { EmbedMenu } from '../menu/index.js'
6
+ import { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.ts'
7
+ import { EmbedMenu } from '../menu/index.ts'
7
8
 
8
9
  export const EmbedCardHeader: React.FC<CardHeaderProps> = () => {
9
10
  const { refreshHuri, huri } = useResolvePayload()
10
11
  const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState()
11
12
  const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {}
12
- //this is temporary so that we can add the ability to get a timestamp via diviner later
13
+ // this is temporary so that we can add the ability to get a timestamp via diviner later
13
14
  const timestamp = Date.now()
14
15
  return (
15
16
  <CardHeader
16
17
  sx={{ flexWrap: 'wrap', rowGap: 1 }}
17
18
  avatar={
18
- hideAvatar ?
19
- <></>
20
- : <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>
21
- {activePlugin?.name?.charAt(0)}
22
- </Avatar>
19
+ hideAvatar
20
+ ? <></>
21
+ : (
22
+ <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>
23
+ {activePlugin?.name?.charAt(0)}
24
+ </Avatar>
25
+ )
23
26
  }
24
- action={
27
+ action={(
25
28
  <FlexRow flexWrap="wrap" columnGap={0.5}>
26
- {timestamp ?
27
- hideTimestamp && hideRefreshButton ?
28
- ''
29
- : <Chip
30
- avatar={hideRefreshButton ? <></> : <RefreshIcon />}
31
- clickable={hideRefreshButton ? false : true}
32
- onClick={refreshHuri}
33
- label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}
34
- />
29
+ {timestamp
30
+ ? hideTimestamp && hideRefreshButton
31
+ ? ''
32
+ : (
33
+ <Chip
34
+ avatar={hideRefreshButton ? <></> : <RefreshIcon />}
35
+ clickable={hideRefreshButton ? false : true}
36
+ onClick={refreshHuri}
37
+ label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}
38
+ />
39
+ )
35
40
 
36
- : null}
41
+ : null}
37
42
  {/* Huri case is valid as long as the only menu item is JSON */}
38
43
  {hideCardActions || huri === undefined ? null : <EmbedMenu />}
39
44
  </FlexRow>
40
- }
45
+ )}
41
46
  title={hideTitle ? '' : activePlugin?.name}
42
47
  />
43
48
  )
@@ -1,11 +1,12 @@
1
1
  import { CardContent } from '@mui/material'
2
2
  import { FlexGrowRow } from '@xylabs/react-flexbox'
3
3
  import { useListMode } from '@xyo-network/react-shared'
4
+ import React from 'react'
4
5
 
5
- import { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'
6
- import { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.js'
7
- import { BusyCard, BusyCardProps } from './BusyCard.js'
8
- import { EmbedCardHeader } from './EmbedCardHeader.js'
6
+ import { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.ts'
7
+ import { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.ts'
8
+ import { BusyCard, BusyCardProps } from './BusyCard.tsx'
9
+ import { EmbedCardHeader } from './EmbedCardHeader.tsx'
9
10
 
10
11
  export const EmbedPluginCard: React.FC<BusyCardProps> = ({ ...props }) => {
11
12
  const { payload } = useResolvePayload()
@@ -17,20 +18,22 @@ export const EmbedPluginCard: React.FC<BusyCardProps> = ({ ...props }) => {
17
18
  <BusyCard {...props}>
18
19
  {hideElementsConfig?.hideCardHeader ? null : <EmbedCardHeader />}
19
20
  {/* Only show the row if the children are present */}
20
- {(plugins && plugins.length > 0) || supportsListMode ?
21
- <FlexGrowRow columnGap={2} rowGap={2} flexWrap="wrap" pb={1}>
22
- {plugins && plugins.length > 1 ?
23
- <EmbedRenderSelect />
24
- : null}
25
- {supportsListMode ?
26
- <ListModeSelectFormControl />
27
- : null}
28
- </FlexGrowRow>
29
- : null}
30
- <CardContent sx={{ height: '100%' }}>
31
- {ActivePlugin ?
32
- <ActivePlugin.components.box.detailsBox payload={payload} {...(supportsListMode && { listMode })} />
21
+ {(plugins && plugins.length > 0) || supportsListMode
22
+ ? (
23
+ <FlexGrowRow columnGap={2} rowGap={2} flexWrap="wrap" pb={1}>
24
+ {plugins && plugins.length > 1
25
+ ? <EmbedRenderSelect />
26
+ : null}
27
+ {supportsListMode
28
+ ? <ListModeSelectFormControl />
29
+ : null}
30
+ </FlexGrowRow>
31
+ )
33
32
  : null}
33
+ <CardContent sx={{ height: '100%' }}>
34
+ {ActivePlugin
35
+ ? <ActivePlugin.components.box.detailsBox payload={payload} {...(supportsListMode && { listMode })} />
36
+ : null}
34
37
  </CardContent>
35
38
  </BusyCard>
36
39
  )
@@ -1,3 +1,3 @@
1
- export * from './BusyCard.js'
2
- export * from './EmbedCardHeader.js'
3
- export * from './EmbedPluginCard.js'
1
+ export * from './BusyCard.tsx'
2
+ export * from './EmbedCardHeader.tsx'
3
+ export * from './EmbedPluginCard.tsx'
@@ -2,8 +2,9 @@ import { CardProps } from '@mui/material'
2
2
  import { WithChildren } from '@xylabs/react-shared'
3
3
  import { ModuleError } from '@xyo-network/payload-model'
4
4
  import { ErrorAlert, ErrorRender } from '@xyo-network/react-error'
5
+ import React from 'react'
5
6
 
6
- import { EmbedErrorCard } from './EmbedErrorCard.js'
7
+ import { EmbedErrorCard } from './EmbedErrorCard.tsx'
7
8
 
8
9
  interface EmbedCardApiErrorRendererProps extends CardProps {
9
10
  xyoError?: ModuleError
@@ -1,5 +1,6 @@
1
1
  import { Alert, AlertProps, AlertTitle, Card, CardContent, CardProps, Typography } from '@mui/material'
2
2
  import { WithChildren } from '@xylabs/react-shared'
3
+ import React from 'react'
3
4
 
4
5
  interface EmbedErrorCardBaseProps {
5
6
  alertProps?: AlertProps
@@ -24,18 +25,26 @@ const DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, scop
24
25
  return (
25
26
  <Alert severity="error" {...alertProps}>
26
27
  <AlertTitle>Whoops! Something went wrong</AlertTitle>
27
- {scope ?
28
- <Typography variant="caption">Scope: {scope}</Typography>
29
- : null}
30
- {!hideErrorDetails && error ?
31
- <>
32
- <Typography variant="caption">Error: </Typography>
33
- <Typography variant="caption">{error?.message}</Typography>
34
- </>
35
- : <Typography variant="caption" fontSize="small">
36
- Error Loading Plugin
37
- </Typography>
38
- }
28
+ {scope
29
+ ? (
30
+ <Typography variant="caption">
31
+ Scope:
32
+ {scope}
33
+ </Typography>
34
+ )
35
+ : null}
36
+ {!hideErrorDetails && error
37
+ ? (
38
+ <>
39
+ <Typography variant="caption">Error: </Typography>
40
+ <Typography variant="caption">{error?.message}</Typography>
41
+ </>
42
+ )
43
+ : (
44
+ <Typography variant="caption" fontSize="small">
45
+ Error Loading Plugin
46
+ </Typography>
47
+ )}
39
48
  </Alert>
40
49
  )
41
50
  }
@@ -1,2 +1,2 @@
1
- export * from './EmbedCardApiErrorRenderer.js'
2
- export * from './EmbedErrorCard.js'
1
+ export * from './EmbedCardApiErrorRenderer.tsx'
2
+ export * from './EmbedErrorCard.tsx'
@@ -1,2 +1,2 @@
1
- export * from './card/index.js'
2
- export * from './EmbedPluginCard.js'
1
+ export * from './card/index.ts'
2
+ export * from './EmbedPluginCard.tsx'