@xyo-network/react-embed 2.79.0 → 2.81.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (840) hide show
  1. package/dist/browser/components/EmbedPlugin.d.cts +1 -2
  2. package/dist/browser/components/EmbedPlugin.d.cts.map +1 -1
  3. package/dist/browser/components/EmbedPlugin.d.mts +1 -2
  4. package/dist/browser/components/EmbedPlugin.d.mts.map +1 -1
  5. package/dist/browser/components/EmbedPlugin.d.ts +1 -2
  6. package/dist/browser/components/EmbedPlugin.d.ts.map +1 -1
  7. package/dist/browser/components/EmbedResolver.d.cts +0 -1
  8. package/dist/browser/components/EmbedResolver.d.cts.map +1 -1
  9. package/dist/browser/components/EmbedResolver.d.mts +0 -1
  10. package/dist/browser/components/EmbedResolver.d.mts.map +1 -1
  11. package/dist/browser/components/EmbedResolver.d.ts +0 -1
  12. package/dist/browser/components/EmbedResolver.d.ts.map +1 -1
  13. package/dist/browser/components/controls/EmbedFormControl.d.cts +0 -1
  14. package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -1
  15. package/dist/browser/components/controls/EmbedFormControl.d.mts +0 -1
  16. package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -1
  17. package/dist/browser/components/controls/EmbedFormControl.d.ts +0 -1
  18. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -1
  19. package/dist/browser/components/controls/ListModeSelect.d.cts +0 -1
  20. package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -1
  21. package/dist/browser/components/controls/ListModeSelect.d.mts +0 -1
  22. package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -1
  23. package/dist/browser/components/controls/ListModeSelect.d.ts +0 -1
  24. package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -1
  25. package/dist/browser/components/controls/RenderSelect.d.cts +0 -1
  26. package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -1
  27. package/dist/browser/components/controls/RenderSelect.d.mts +0 -1
  28. package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -1
  29. package/dist/browser/components/controls/RenderSelect.d.ts +0 -1
  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 +0 -1
  38. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  39. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +0 -1
  40. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  41. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +0 -1
  42. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  43. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +3 -4
  44. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  45. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +3 -4
  46. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  47. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +3 -4
  48. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  49. package/dist/browser/components/embed-card/card/BusyCard.d.cts +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +1 -2
  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 +1 -2
  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 +1 -2
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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 +0 -1
  128. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  129. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +0 -1
  130. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  131. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +0 -1
  132. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  133. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +0 -1
  134. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  135. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +0 -1
  136. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  137. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +0 -1
  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 -2
  146. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  147. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +1 -2
  148. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  149. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +1 -2
  150. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  151. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +1 -2
  152. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  153. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +1 -2
  154. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  155. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +1 -2
  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 -2
  170. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  171. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +1 -2
  172. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  173. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +1 -2
  174. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  175. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +0 -1
  176. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  177. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +0 -1
  178. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  179. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +0 -1
  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 -2
  194. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts.map +1 -1
  195. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +1 -2
  196. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts.map +1 -1
  197. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +1 -2
  198. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +1 -1
  199. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +1 -2
  200. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  201. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +1 -2
  202. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  203. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +1 -2
  204. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  205. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +4 -4
  206. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  207. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +4 -4
  208. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  209. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +4 -4
  210. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  211. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +1 -1
  212. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  213. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +1 -1
  214. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  215. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +1 -1
  216. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  217. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +1 -2
  218. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts.map +1 -1
  219. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +1 -2
  220. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts.map +1 -1
  221. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +1 -2
  222. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +1 -1
  223. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +0 -1
  224. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  225. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +0 -1
  226. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  227. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +0 -1
  228. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  229. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +3 -3
  230. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  231. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +3 -3
  232. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  233. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +3 -3
  234. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  235. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +1 -1
  236. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  237. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +1 -1
  238. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  239. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +1 -1
  240. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  241. package/dist/browser/contexts/index.d.cts +4 -4
  242. package/dist/browser/contexts/index.d.cts.map +1 -1
  243. package/dist/browser/contexts/index.d.mts +4 -4
  244. package/dist/browser/contexts/index.d.mts.map +1 -1
  245. package/dist/browser/contexts/index.d.ts +4 -4
  246. package/dist/browser/contexts/index.d.ts.map +1 -1
  247. package/dist/browser/index.cjs.map +1 -1
  248. package/dist/browser/index.d.cts +3 -3
  249. package/dist/browser/index.d.cts.map +1 -1
  250. package/dist/browser/index.d.mts +3 -3
  251. package/dist/browser/index.d.mts.map +1 -1
  252. package/dist/browser/index.d.ts +3 -3
  253. package/dist/browser/index.d.ts.map +1 -1
  254. package/dist/browser/index.js.map +1 -1
  255. package/dist/browser/types/EmbedPluginProps.d.cts +1 -1
  256. package/dist/browser/types/EmbedPluginProps.d.cts.map +1 -1
  257. package/dist/browser/types/EmbedPluginProps.d.mts +1 -1
  258. package/dist/browser/types/EmbedPluginProps.d.mts.map +1 -1
  259. package/dist/browser/types/EmbedPluginProps.d.ts +1 -1
  260. package/dist/browser/types/EmbedPluginProps.d.ts.map +1 -1
  261. package/dist/browser/types/index.d.cts +1 -1
  262. package/dist/browser/types/index.d.cts.map +1 -1
  263. package/dist/browser/types/index.d.mts +1 -1
  264. package/dist/browser/types/index.d.mts.map +1 -1
  265. package/dist/browser/types/index.d.ts +1 -1
  266. package/dist/browser/types/index.d.ts.map +1 -1
  267. package/dist/neutral/components/EmbedPlugin.d.cts +1 -2
  268. package/dist/neutral/components/EmbedPlugin.d.cts.map +1 -1
  269. package/dist/neutral/components/EmbedPlugin.d.mts +1 -2
  270. package/dist/neutral/components/EmbedPlugin.d.mts.map +1 -1
  271. package/dist/neutral/components/EmbedPlugin.d.ts +1 -2
  272. package/dist/neutral/components/EmbedPlugin.d.ts.map +1 -1
  273. package/dist/neutral/components/EmbedResolver.d.cts +0 -1
  274. package/dist/neutral/components/EmbedResolver.d.cts.map +1 -1
  275. package/dist/neutral/components/EmbedResolver.d.mts +0 -1
  276. package/dist/neutral/components/EmbedResolver.d.mts.map +1 -1
  277. package/dist/neutral/components/EmbedResolver.d.ts +0 -1
  278. package/dist/neutral/components/EmbedResolver.d.ts.map +1 -1
  279. package/dist/neutral/components/controls/EmbedFormControl.d.cts +0 -1
  280. package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +1 -1
  281. package/dist/neutral/components/controls/EmbedFormControl.d.mts +0 -1
  282. package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +1 -1
  283. package/dist/neutral/components/controls/EmbedFormControl.d.ts +0 -1
  284. package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +1 -1
  285. package/dist/neutral/components/controls/ListModeSelect.d.cts +0 -1
  286. package/dist/neutral/components/controls/ListModeSelect.d.cts.map +1 -1
  287. package/dist/neutral/components/controls/ListModeSelect.d.mts +0 -1
  288. package/dist/neutral/components/controls/ListModeSelect.d.mts.map +1 -1
  289. package/dist/neutral/components/controls/ListModeSelect.d.ts +0 -1
  290. package/dist/neutral/components/controls/ListModeSelect.d.ts.map +1 -1
  291. package/dist/neutral/components/controls/RenderSelect.d.cts +0 -1
  292. package/dist/neutral/components/controls/RenderSelect.d.cts.map +1 -1
  293. package/dist/neutral/components/controls/RenderSelect.d.mts +0 -1
  294. package/dist/neutral/components/controls/RenderSelect.d.mts.map +1 -1
  295. package/dist/neutral/components/controls/RenderSelect.d.ts +0 -1
  296. package/dist/neutral/components/controls/RenderSelect.d.ts.map +1 -1
  297. package/dist/neutral/components/controls/index.d.cts +3 -3
  298. package/dist/neutral/components/controls/index.d.cts.map +1 -1
  299. package/dist/neutral/components/controls/index.d.mts +3 -3
  300. package/dist/neutral/components/controls/index.d.mts.map +1 -1
  301. package/dist/neutral/components/controls/index.d.ts +3 -3
  302. package/dist/neutral/components/controls/index.d.ts.map +1 -1
  303. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +0 -1
  304. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  305. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +0 -1
  306. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  307. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +0 -1
  308. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  309. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +3 -4
  310. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  311. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +3 -4
  312. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  313. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +3 -4
  314. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  315. package/dist/neutral/components/embed-card/card/BusyCard.d.cts +0 -1
  316. package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +1 -1
  317. package/dist/neutral/components/embed-card/card/BusyCard.d.mts +0 -1
  318. package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +1 -1
  319. package/dist/neutral/components/embed-card/card/BusyCard.d.ts +0 -1
  320. package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +1 -1
  321. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +0 -1
  322. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  323. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +0 -1
  324. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  325. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +0 -1
  326. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  327. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +1 -2
  328. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  329. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +1 -2
  330. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  331. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +1 -2
  332. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  333. package/dist/neutral/components/embed-card/card/index.d.cts +3 -3
  334. package/dist/neutral/components/embed-card/card/index.d.cts.map +1 -1
  335. package/dist/neutral/components/embed-card/card/index.d.mts +3 -3
  336. package/dist/neutral/components/embed-card/card/index.d.mts.map +1 -1
  337. package/dist/neutral/components/embed-card/card/index.d.ts +3 -3
  338. package/dist/neutral/components/embed-card/card/index.d.ts.map +1 -1
  339. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -1
  340. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  341. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -1
  342. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  343. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -1
  344. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  345. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -1
  346. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  347. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -1
  348. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  349. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -1
  350. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  351. package/dist/neutral/components/embed-card/error-handling/index.d.cts +2 -2
  352. package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +1 -1
  353. package/dist/neutral/components/embed-card/error-handling/index.d.mts +2 -2
  354. package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +1 -1
  355. package/dist/neutral/components/embed-card/error-handling/index.d.ts +2 -2
  356. package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +1 -1
  357. package/dist/neutral/components/embed-card/index.d.cts +2 -2
  358. package/dist/neutral/components/embed-card/index.d.cts.map +1 -1
  359. package/dist/neutral/components/embed-card/index.d.mts +2 -2
  360. package/dist/neutral/components/embed-card/index.d.mts.map +1 -1
  361. package/dist/neutral/components/embed-card/index.d.ts +2 -2
  362. package/dist/neutral/components/embed-card/index.d.ts.map +1 -1
  363. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +0 -1
  364. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  365. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +0 -1
  366. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  367. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +0 -1
  368. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  369. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +0 -1
  370. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  371. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +0 -1
  372. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  373. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +0 -1
  374. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  375. package/dist/neutral/components/embed-card/menu/index.d.cts +1 -1
  376. package/dist/neutral/components/embed-card/menu/index.d.cts.map +1 -1
  377. package/dist/neutral/components/embed-card/menu/index.d.mts +1 -1
  378. package/dist/neutral/components/embed-card/menu/index.d.mts.map +1 -1
  379. package/dist/neutral/components/embed-card/menu/index.d.ts +1 -1
  380. package/dist/neutral/components/embed-card/menu/index.d.ts.map +1 -1
  381. package/dist/neutral/components/index.d.cts +2 -2
  382. package/dist/neutral/components/index.d.cts.map +1 -1
  383. package/dist/neutral/components/index.d.mts +2 -2
  384. package/dist/neutral/components/index.d.mts.map +1 -1
  385. package/dist/neutral/components/index.d.ts +2 -2
  386. package/dist/neutral/components/index.d.ts.map +1 -1
  387. package/dist/neutral/components/stories/storyShared.d.cts +1 -1
  388. package/dist/neutral/components/stories/storyShared.d.cts.map +1 -1
  389. package/dist/neutral/components/stories/storyShared.d.mts +1 -1
  390. package/dist/neutral/components/stories/storyShared.d.mts.map +1 -1
  391. package/dist/neutral/components/stories/storyShared.d.ts +1 -1
  392. package/dist/neutral/components/stories/storyShared.d.ts.map +1 -1
  393. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +0 -1
  394. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  395. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +0 -1
  396. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  397. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +0 -1
  398. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  399. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +0 -1
  400. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  401. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +0 -1
  402. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  403. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +0 -1
  404. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  405. package/dist/neutral/components/validation-alerts/index.d.cts +2 -2
  406. package/dist/neutral/components/validation-alerts/index.d.cts.map +1 -1
  407. package/dist/neutral/components/validation-alerts/index.d.mts +2 -2
  408. package/dist/neutral/components/validation-alerts/index.d.mts.map +1 -1
  409. package/dist/neutral/components/validation-alerts/index.d.ts +2 -2
  410. package/dist/neutral/components/validation-alerts/index.d.ts.map +1 -1
  411. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +1 -2
  412. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  413. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +1 -2
  414. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  415. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +1 -2
  416. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  417. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +1 -2
  418. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  419. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +1 -2
  420. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  421. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +1 -2
  422. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  423. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +4 -4
  424. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  425. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +4 -4
  426. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  427. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +4 -4
  428. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  429. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +1 -1
  430. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  431. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +1 -1
  432. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  433. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +1 -1
  434. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  435. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +1 -2
  436. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  437. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +1 -2
  438. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  439. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +1 -2
  440. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  441. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +0 -1
  442. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  443. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +0 -1
  444. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  445. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +0 -1
  446. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  447. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +3 -3
  448. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  449. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +3 -3
  450. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  451. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +3 -3
  452. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  453. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +1 -1
  454. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  455. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +1 -1
  456. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  457. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +1 -1
  458. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  459. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +1 -2
  460. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts.map +1 -1
  461. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +1 -2
  462. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts.map +1 -1
  463. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +1 -2
  464. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts.map +1 -1
  465. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +1 -2
  466. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  467. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +1 -2
  468. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  469. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +1 -2
  470. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  471. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +4 -4
  472. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  473. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +4 -4
  474. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  475. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +4 -4
  476. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  477. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +1 -1
  478. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  479. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +1 -1
  480. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  481. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +1 -1
  482. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  483. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +1 -2
  484. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts.map +1 -1
  485. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +1 -2
  486. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts.map +1 -1
  487. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +1 -2
  488. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts.map +1 -1
  489. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +0 -1
  490. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  491. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +0 -1
  492. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  493. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +0 -1
  494. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  495. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +3 -3
  496. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  497. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +3 -3
  498. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  499. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +3 -3
  500. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  501. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +1 -1
  502. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  503. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +1 -1
  504. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  505. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +1 -1
  506. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  507. package/dist/neutral/contexts/index.d.cts +4 -4
  508. package/dist/neutral/contexts/index.d.cts.map +1 -1
  509. package/dist/neutral/contexts/index.d.mts +4 -4
  510. package/dist/neutral/contexts/index.d.mts.map +1 -1
  511. package/dist/neutral/contexts/index.d.ts +4 -4
  512. package/dist/neutral/contexts/index.d.ts.map +1 -1
  513. package/dist/neutral/index.cjs.map +1 -1
  514. package/dist/neutral/index.d.cts +3 -3
  515. package/dist/neutral/index.d.cts.map +1 -1
  516. package/dist/neutral/index.d.mts +3 -3
  517. package/dist/neutral/index.d.mts.map +1 -1
  518. package/dist/neutral/index.d.ts +3 -3
  519. package/dist/neutral/index.d.ts.map +1 -1
  520. package/dist/neutral/index.js.map +1 -1
  521. package/dist/neutral/types/EmbedPluginProps.d.cts +1 -1
  522. package/dist/neutral/types/EmbedPluginProps.d.cts.map +1 -1
  523. package/dist/neutral/types/EmbedPluginProps.d.mts +1 -1
  524. package/dist/neutral/types/EmbedPluginProps.d.mts.map +1 -1
  525. package/dist/neutral/types/EmbedPluginProps.d.ts +1 -1
  526. package/dist/neutral/types/EmbedPluginProps.d.ts.map +1 -1
  527. package/dist/neutral/types/index.d.cts +1 -1
  528. package/dist/neutral/types/index.d.cts.map +1 -1
  529. package/dist/neutral/types/index.d.mts +1 -1
  530. package/dist/neutral/types/index.d.mts.map +1 -1
  531. package/dist/neutral/types/index.d.ts +1 -1
  532. package/dist/neutral/types/index.d.ts.map +1 -1
  533. package/dist/node/components/EmbedPlugin.d.cts +1 -2
  534. package/dist/node/components/EmbedPlugin.d.cts.map +1 -1
  535. package/dist/node/components/EmbedPlugin.d.mts +1 -2
  536. package/dist/node/components/EmbedPlugin.d.mts.map +1 -1
  537. package/dist/node/components/EmbedPlugin.d.ts +1 -2
  538. package/dist/node/components/EmbedPlugin.d.ts.map +1 -1
  539. package/dist/node/components/EmbedResolver.d.cts +0 -1
  540. package/dist/node/components/EmbedResolver.d.cts.map +1 -1
  541. package/dist/node/components/EmbedResolver.d.mts +0 -1
  542. package/dist/node/components/EmbedResolver.d.mts.map +1 -1
  543. package/dist/node/components/EmbedResolver.d.ts +0 -1
  544. package/dist/node/components/EmbedResolver.d.ts.map +1 -1
  545. package/dist/node/components/controls/EmbedFormControl.d.cts +0 -1
  546. package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -1
  547. package/dist/node/components/controls/EmbedFormControl.d.mts +0 -1
  548. package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -1
  549. package/dist/node/components/controls/EmbedFormControl.d.ts +0 -1
  550. package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -1
  551. package/dist/node/components/controls/ListModeSelect.d.cts +0 -1
  552. package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -1
  553. package/dist/node/components/controls/ListModeSelect.d.mts +0 -1
  554. package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -1
  555. package/dist/node/components/controls/ListModeSelect.d.ts +0 -1
  556. package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -1
  557. package/dist/node/components/controls/RenderSelect.d.cts +0 -1
  558. package/dist/node/components/controls/RenderSelect.d.cts.map +1 -1
  559. package/dist/node/components/controls/RenderSelect.d.mts +0 -1
  560. package/dist/node/components/controls/RenderSelect.d.mts.map +1 -1
  561. package/dist/node/components/controls/RenderSelect.d.ts +0 -1
  562. package/dist/node/components/controls/RenderSelect.d.ts.map +1 -1
  563. package/dist/node/components/controls/index.d.cts +3 -3
  564. package/dist/node/components/controls/index.d.cts.map +1 -1
  565. package/dist/node/components/controls/index.d.mts +3 -3
  566. package/dist/node/components/controls/index.d.mts.map +1 -1
  567. package/dist/node/components/controls/index.d.ts +3 -3
  568. package/dist/node/components/controls/index.d.ts.map +1 -1
  569. package/dist/node/components/embed-card/EmbedCardResolver.d.cts +0 -1
  570. package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  571. package/dist/node/components/embed-card/EmbedCardResolver.d.mts +0 -1
  572. package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  573. package/dist/node/components/embed-card/EmbedCardResolver.d.ts +0 -1
  574. package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  575. package/dist/node/components/embed-card/EmbedPluginCard.d.cts +3 -4
  576. package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  577. package/dist/node/components/embed-card/EmbedPluginCard.d.mts +3 -4
  578. package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  579. package/dist/node/components/embed-card/EmbedPluginCard.d.ts +3 -4
  580. package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  581. package/dist/node/components/embed-card/card/BusyCard.d.cts +0 -1
  582. package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -1
  583. package/dist/node/components/embed-card/card/BusyCard.d.mts +0 -1
  584. package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -1
  585. package/dist/node/components/embed-card/card/BusyCard.d.ts +0 -1
  586. package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -1
  587. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +0 -1
  588. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  589. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +0 -1
  590. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  591. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +0 -1
  592. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  593. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +1 -2
  594. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  595. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +1 -2
  596. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  597. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +1 -2
  598. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  599. package/dist/node/components/embed-card/card/index.d.cts +3 -3
  600. package/dist/node/components/embed-card/card/index.d.cts.map +1 -1
  601. package/dist/node/components/embed-card/card/index.d.mts +3 -3
  602. package/dist/node/components/embed-card/card/index.d.mts.map +1 -1
  603. package/dist/node/components/embed-card/card/index.d.ts +3 -3
  604. package/dist/node/components/embed-card/card/index.d.ts.map +1 -1
  605. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -1
  606. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  607. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -1
  608. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  609. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -1
  610. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  611. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -1
  612. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  613. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -1
  614. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  615. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -1
  616. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  617. package/dist/node/components/embed-card/error-handling/index.d.cts +2 -2
  618. package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -1
  619. package/dist/node/components/embed-card/error-handling/index.d.mts +2 -2
  620. package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -1
  621. package/dist/node/components/embed-card/error-handling/index.d.ts +2 -2
  622. package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -1
  623. package/dist/node/components/embed-card/index.d.cts +2 -2
  624. package/dist/node/components/embed-card/index.d.cts.map +1 -1
  625. package/dist/node/components/embed-card/index.d.mts +2 -2
  626. package/dist/node/components/embed-card/index.d.mts.map +1 -1
  627. package/dist/node/components/embed-card/index.d.ts +2 -2
  628. package/dist/node/components/embed-card/index.d.ts.map +1 -1
  629. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +0 -1
  630. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  631. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +0 -1
  632. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  633. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +0 -1
  634. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  635. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +0 -1
  636. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  637. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +0 -1
  638. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  639. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +0 -1
  640. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  641. package/dist/node/components/embed-card/menu/index.d.cts +1 -1
  642. package/dist/node/components/embed-card/menu/index.d.cts.map +1 -1
  643. package/dist/node/components/embed-card/menu/index.d.mts +1 -1
  644. package/dist/node/components/embed-card/menu/index.d.mts.map +1 -1
  645. package/dist/node/components/embed-card/menu/index.d.ts +1 -1
  646. package/dist/node/components/embed-card/menu/index.d.ts.map +1 -1
  647. package/dist/node/components/index.d.cts +2 -2
  648. package/dist/node/components/index.d.cts.map +1 -1
  649. package/dist/node/components/index.d.mts +2 -2
  650. package/dist/node/components/index.d.mts.map +1 -1
  651. package/dist/node/components/index.d.ts +2 -2
  652. package/dist/node/components/index.d.ts.map +1 -1
  653. package/dist/node/components/stories/storyShared.d.cts +1 -1
  654. package/dist/node/components/stories/storyShared.d.cts.map +1 -1
  655. package/dist/node/components/stories/storyShared.d.mts +1 -1
  656. package/dist/node/components/stories/storyShared.d.mts.map +1 -1
  657. package/dist/node/components/stories/storyShared.d.ts +1 -1
  658. package/dist/node/components/stories/storyShared.d.ts.map +1 -1
  659. package/dist/node/components/validation-alerts/ValidatePayload.d.cts +0 -1
  660. package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  661. package/dist/node/components/validation-alerts/ValidatePayload.d.mts +0 -1
  662. package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  663. package/dist/node/components/validation-alerts/ValidatePayload.d.ts +0 -1
  664. package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  665. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +0 -1
  666. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  667. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +0 -1
  668. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  669. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +0 -1
  670. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  671. package/dist/node/components/validation-alerts/index.d.cts +2 -2
  672. package/dist/node/components/validation-alerts/index.d.cts.map +1 -1
  673. package/dist/node/components/validation-alerts/index.d.mts +2 -2
  674. package/dist/node/components/validation-alerts/index.d.mts.map +1 -1
  675. package/dist/node/components/validation-alerts/index.d.ts +2 -2
  676. package/dist/node/components/validation-alerts/index.d.ts.map +1 -1
  677. package/dist/node/contexts/EmbedPluginContext/Context.d.cts +1 -2
  678. package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  679. package/dist/node/contexts/EmbedPluginContext/Context.d.mts +1 -2
  680. package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  681. package/dist/node/contexts/EmbedPluginContext/Context.d.ts +1 -2
  682. package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  683. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +1 -2
  684. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  685. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +1 -2
  686. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  687. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +1 -2
  688. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  689. package/dist/node/contexts/EmbedPluginContext/index.d.cts +4 -4
  690. package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  691. package/dist/node/contexts/EmbedPluginContext/index.d.mts +4 -4
  692. package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  693. package/dist/node/contexts/EmbedPluginContext/index.d.ts +4 -4
  694. package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  695. package/dist/node/contexts/EmbedPluginContext/use.d.cts +1 -1
  696. package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  697. package/dist/node/contexts/EmbedPluginContext/use.d.mts +1 -1
  698. package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  699. package/dist/node/contexts/EmbedPluginContext/use.d.ts +1 -1
  700. package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  701. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +1 -2
  702. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  703. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +1 -2
  704. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  705. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +1 -2
  706. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  707. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +0 -1
  708. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  709. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +0 -1
  710. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  711. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +0 -1
  712. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  713. package/dist/node/contexts/RefreshPayloadContext/index.d.cts +3 -3
  714. package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  715. package/dist/node/contexts/RefreshPayloadContext/index.d.mts +3 -3
  716. package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  717. package/dist/node/contexts/RefreshPayloadContext/index.d.ts +3 -3
  718. package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  719. package/dist/node/contexts/RefreshPayloadContext/use.d.cts +1 -1
  720. package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  721. package/dist/node/contexts/RefreshPayloadContext/use.d.mts +1 -1
  722. package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  723. package/dist/node/contexts/RefreshPayloadContext/use.d.ts +1 -1
  724. package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  725. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +1 -2
  726. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts.map +1 -1
  727. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +1 -2
  728. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts.map +1 -1
  729. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +1 -2
  730. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts.map +1 -1
  731. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +1 -2
  732. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  733. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +1 -2
  734. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  735. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +1 -2
  736. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  737. package/dist/node/contexts/ResolvePayloadContext/index.d.cts +4 -4
  738. package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  739. package/dist/node/contexts/ResolvePayloadContext/index.d.mts +4 -4
  740. package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  741. package/dist/node/contexts/ResolvePayloadContext/index.d.ts +4 -4
  742. package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  743. package/dist/node/contexts/ResolvePayloadContext/use.d.cts +1 -1
  744. package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  745. package/dist/node/contexts/ResolvePayloadContext/use.d.mts +1 -1
  746. package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  747. package/dist/node/contexts/ResolvePayloadContext/use.d.ts +1 -1
  748. package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  749. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +1 -2
  750. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts.map +1 -1
  751. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +1 -2
  752. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts.map +1 -1
  753. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +1 -2
  754. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts.map +1 -1
  755. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +0 -1
  756. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  757. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +0 -1
  758. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  759. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +0 -1
  760. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  761. package/dist/node/contexts/ValidatePayloadContext/index.d.cts +3 -3
  762. package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  763. package/dist/node/contexts/ValidatePayloadContext/index.d.mts +3 -3
  764. package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  765. package/dist/node/contexts/ValidatePayloadContext/index.d.ts +3 -3
  766. package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  767. package/dist/node/contexts/ValidatePayloadContext/use.d.cts +1 -1
  768. package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  769. package/dist/node/contexts/ValidatePayloadContext/use.d.mts +1 -1
  770. package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  771. package/dist/node/contexts/ValidatePayloadContext/use.d.ts +1 -1
  772. package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  773. package/dist/node/contexts/index.d.cts +4 -4
  774. package/dist/node/contexts/index.d.cts.map +1 -1
  775. package/dist/node/contexts/index.d.mts +4 -4
  776. package/dist/node/contexts/index.d.mts.map +1 -1
  777. package/dist/node/contexts/index.d.ts +4 -4
  778. package/dist/node/contexts/index.d.ts.map +1 -1
  779. package/dist/node/index.cjs.map +1 -1
  780. package/dist/node/index.d.cts +3 -3
  781. package/dist/node/index.d.cts.map +1 -1
  782. package/dist/node/index.d.mts +3 -3
  783. package/dist/node/index.d.mts.map +1 -1
  784. package/dist/node/index.d.ts +3 -3
  785. package/dist/node/index.d.ts.map +1 -1
  786. package/dist/node/index.js.map +1 -1
  787. package/dist/node/types/EmbedPluginProps.d.cts +1 -1
  788. package/dist/node/types/EmbedPluginProps.d.cts.map +1 -1
  789. package/dist/node/types/EmbedPluginProps.d.mts +1 -1
  790. package/dist/node/types/EmbedPluginProps.d.mts.map +1 -1
  791. package/dist/node/types/EmbedPluginProps.d.ts +1 -1
  792. package/dist/node/types/EmbedPluginProps.d.ts.map +1 -1
  793. package/dist/node/types/index.d.cts +1 -1
  794. package/dist/node/types/index.d.cts.map +1 -1
  795. package/dist/node/types/index.d.mts +1 -1
  796. package/dist/node/types/index.d.mts.map +1 -1
  797. package/dist/node/types/index.d.ts +1 -1
  798. package/dist/node/types/index.d.ts.map +1 -1
  799. package/package.json +18 -18
  800. package/src/components/EmbedPlugin.tsx +4 -4
  801. package/src/components/EmbedResolver.tsx +1 -1
  802. package/src/components/controls/ListModeSelect.tsx +1 -1
  803. package/src/components/controls/RenderSelect.tsx +2 -2
  804. package/src/components/controls/index.ts +3 -3
  805. package/src/components/embed-card/EmbedCardResolver.tsx +2 -2
  806. package/src/components/embed-card/EmbedPluginCard.tsx +6 -6
  807. package/src/components/embed-card/card/EmbedCardHeader.tsx +2 -2
  808. package/src/components/embed-card/card/EmbedPluginCard.tsx +4 -4
  809. package/src/components/embed-card/card/index.ts +3 -3
  810. package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +1 -1
  811. package/src/components/embed-card/error-handling/index.ts +2 -2
  812. package/src/components/embed-card/index.ts +2 -2
  813. package/src/components/embed-card/menu/EmbedMenu.tsx +1 -1
  814. package/src/components/embed-card/menu/JsonMenuItem.tsx +1 -1
  815. package/src/components/embed-card/menu/index.ts +1 -1
  816. package/src/components/index.ts +2 -2
  817. package/src/components/stories/storyShared.tsx +1 -1
  818. package/src/components/validation-alerts/ValidatePayload.tsx +1 -1
  819. package/src/components/validation-alerts/ValidatePlugins.tsx +1 -1
  820. package/src/components/validation-alerts/index.ts +2 -2
  821. package/src/contexts/EmbedPluginContext/Context.tsx +1 -1
  822. package/src/contexts/EmbedPluginContext/Provider.tsx +2 -2
  823. package/src/contexts/EmbedPluginContext/index.ts +4 -4
  824. package/src/contexts/EmbedPluginContext/use.tsx +1 -1
  825. package/src/contexts/RefreshPayloadContext/Context.tsx +1 -1
  826. package/src/contexts/RefreshPayloadContext/Provider.tsx +1 -1
  827. package/src/contexts/RefreshPayloadContext/index.ts +3 -3
  828. package/src/contexts/RefreshPayloadContext/use.tsx +1 -1
  829. package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
  830. package/src/contexts/ResolvePayloadContext/Provider.tsx +3 -3
  831. package/src/contexts/ResolvePayloadContext/index.ts +4 -4
  832. package/src/contexts/ResolvePayloadContext/use.tsx +1 -1
  833. package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
  834. package/src/contexts/ValidatePayloadContext/Provider.tsx +2 -2
  835. package/src/contexts/ValidatePayloadContext/index.ts +3 -3
  836. package/src/contexts/ValidatePayloadContext/use.tsx +1 -1
  837. package/src/contexts/index.ts +4 -4
  838. package/src/index.ts +3 -3
  839. package/src/types/EmbedPluginProps.ts +1 -1
  840. package/src/types/index.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.tsx","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.tsx","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.tsx","../../src/contexts/RefreshPayloadContext/use.tsx","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.tsx","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.tsx","../../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":["export * from './components'\nexport * from './contexts'\nexport * from './types'\n","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'\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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedMenu } from '../menu'\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 : <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ?\n hideTimestamp && hideRefreshButton ?\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 : 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'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\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 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'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context'\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 <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'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\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 { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext'\nimport { ResolvePayloadContext } from './Context'\nimport { ResolvePayloadState } from './State'\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 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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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'\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 { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext'\nimport { ValidatePayloadContext } from './Context'\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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context'\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 { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\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'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ?\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 : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls'\nimport { BusyCard, BusyCardProps } from './BusyCard'\nimport { EmbedCardHeader } from './EmbedCardHeader'\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 <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 : 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'\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'\n\nimport { EmbedFormControl } from './EmbedFormControl'\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'\n\nimport { useEmbedPluginState } from '../../contexts'\nimport { EmbedFormControl } from './EmbedFormControl'\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'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts'\nimport { EmbedPluginProps } from '../../types'\nimport { EmbedPluginInner } from '../EmbedPlugin'\nimport { BusyCardProps, EmbedPluginCard } from './card'\nimport { EmbedCardApiErrorRenderer } from './error-handling'\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'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts'\nimport { EmbedPluginProps } from '../types'\nimport { EmbedResolver } from './EmbedResolver'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts'\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'\n\nimport { useResolvePayload } from '../contexts'\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'\n\nimport { useValidatePayload } from '../../contexts'\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 {schema} 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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts'\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>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'\n\nimport { EmbedErrorCard } from './EmbedErrorCard'\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'\n\ninterface EmbedErrorCardBaseProps {\n alertProps?: AlertProps\n error?: Error\n hideErrorDetails?: boolean\n}\n\ninterface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {\n alertProps?: AlertProps\n error?: Error\n}\n\nexport const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>> = (props) => {\n const { alertProps, error, hideErrorDetails = true, children, ...cardProps } = props\n const errorProps = { alertProps, error, hideErrorDetails }\n return (\n <Card {...cardProps}>\n <CardContent>{children ?? <DefaultErrorAlert {...errorProps} />}</CardContent>\n </Card>\n )\n}\n\nconst DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, hideErrorDetails, error }) => {\n return (\n <Alert severity=\"error\" {...alertProps}>\n <AlertTitle>Whoops! Something went wrong</AlertTitle>\n {!hideErrorDetails && error ?\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n : <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n }\n </Alert>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAgC;AAChC,2BAA8B;AAC9B,0BAOO;AAmBH;AAVG,IAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,mBAAe,oCAAc,MAAM,WAAW;AACpD,SACE,6CAAC,wBAAM,GAAG,OACP;AAAA;AAAA,IACA,gBAAgB,cAAc,eAC7B,4CAAC,4CAAsB,GAAI,kBAAgD,IAC3E;AAAA,IACD,gBAAgB,YAAY,eAC3B,4CAAC,0CAAoB,GAAI,kBAA8C,IACvE;AAAA,KACJ;AAEJ;;;ACtCA,IAAAA,yBAAuC;AACvC,IAAAC,mBAAiE;AACjE,IAAAC,wBAAwB;;;ACFxB,IAAAC,uBAAgC;AAIzB,IAAM,yBAAqB,sCAAkC;;;ACFpE,mBAAoC;AAuBhC,IAAAC,sBAAA;AAfG,IAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,QAAI,uBAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,8BAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QAC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MAAM;AAC/F,SACE,8CAAC,kBAAgB,GAAG,OAClB,wDAAC,iCAAW,OAAO,UAAU,GAC/B;AAEJ;;;ALAI,IAAAC,uBAAA;AAdG,IAAM,qBAAqD,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAC5F,QAAM;AAAA,IACJ;AAAA,IACA,UAAU,CAAC;AAAA,IACX;AAAA,IACA,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,IAAI;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,QACF;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA;AAAA,sDAAC,wBAAsB,GAAG,eAAe;AAAA,QACxC;AAAA;AAAA;AAAA,EACH;AAEJ;AAEO,IAAM,uBAAgD,CAAC,UAAU;AACtE,QAAM,EAAE,SAAS,UAAU,IAAI,kBAAkB;AACjD,QAAM,EAAE,eAAe,IAAI,kBAAkB;AAC7C,QAAM,YAAQ,4BAAS;AAEvB,SACE,8CAAC,6BAA0B,UAAU,WACnC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;","names":["import_icons_material","import_material","import_react_flexbox","import_react_shared","import_jsx_runtime","import_react_shared","import_react","import_react_shared","import_jsx_runtime","import_react_shared","import_react_shared","import_react","import_jsx_runtime","import_react_shared","import_material","import_react_async_effect","import_react","import_react_shared","import_jsx_runtime","import_react_shared","import_icons_material","import_material","import_react","import_material","import_jsx_runtime","OpenInNewIcon","import_jsx_runtime","MoreVertIcon","import_jsx_runtime","RefreshIcon","import_material","import_react_flexbox","import_react_shared","import_material","import_jsx_runtime","import_material","import_react_shared","import_jsx_runtime","import_material","import_react_select","import_jsx_runtime","import_jsx_runtime","import_material","import_react_shared","import_react_shared","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_jsx_runtime","import_material","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.tsx","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.tsx","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.tsx","../../src/contexts/RefreshPayloadContext/use.tsx","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.tsx","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.tsx","../../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":["export * from './components/index.js'\nexport * from './contexts/index.js'\nexport * from './types/index.js'\n","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'\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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'\nimport { EmbedMenu } from '../menu/index.js'\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 : <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ?\n hideTimestamp && hideRefreshButton ?\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 : 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.js'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context.js'\nimport { EmbedPluginBase } from './State.js'\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 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.js'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context.js'\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 <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.js'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context.js'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State.js'\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 { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext/index.js'\nimport { ResolvePayloadContext } from './Context.js'\nimport { ResolvePayloadState } from './State.js'\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 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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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.js'\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 { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext/index.js'\nimport { ValidatePayloadContext } from './Context.js'\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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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.js'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context.js'\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 { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem.js'\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'\n\nimport { useResolvePayload } from '../../../contexts/index.js'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ?\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 : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.js'\nimport { BusyCard, BusyCardProps } from './BusyCard.js'\nimport { EmbedCardHeader } from './EmbedCardHeader.js'\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 <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 : 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'\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'\n\nimport { EmbedFormControl } from './EmbedFormControl.js'\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'\n\nimport { useEmbedPluginState } from '../../contexts/index.js'\nimport { EmbedFormControl } from './EmbedFormControl.js'\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'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts/index.js'\nimport { EmbedPluginProps } from '../../types/index.js'\nimport { EmbedPluginInner } from '../EmbedPlugin.js'\nimport { BusyCardProps, EmbedPluginCard } from './card/index.js'\nimport { EmbedCardApiErrorRenderer } from './error-handling/index.js'\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.js'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.js'\nimport { EmbedPluginProps } from '../types/index.js'\nimport { EmbedResolver } from './EmbedResolver.js'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.js'\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'\n\nimport { useResolvePayload } from '../contexts/index.js'\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'\n\nimport { useValidatePayload } from '../../contexts/index.js'\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 {schema} 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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts/index.js'\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>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'\n\nimport { EmbedErrorCard } from './EmbedErrorCard.js'\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'\n\ninterface EmbedErrorCardBaseProps {\n alertProps?: AlertProps\n error?: Error\n hideErrorDetails?: boolean\n}\n\ninterface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {\n alertProps?: AlertProps\n error?: Error\n}\n\nexport const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>> = (props) => {\n const { alertProps, error, hideErrorDetails = true, children, ...cardProps } = props\n const errorProps = { alertProps, error, hideErrorDetails }\n return (\n <Card {...cardProps}>\n <CardContent>{children ?? <DefaultErrorAlert {...errorProps} />}</CardContent>\n </Card>\n )\n}\n\nconst DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, hideErrorDetails, error }) => {\n return (\n <Alert severity=\"error\" {...alertProps}>\n <AlertTitle>Whoops! Something went wrong</AlertTitle>\n {!hideErrorDetails && error ?\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n : <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n }\n </Alert>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAgC;AAChC,2BAA8B;AAC9B,0BAOO;AAmBH;AAVG,IAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,mBAAe,oCAAc,MAAM,WAAW;AACpD,SACE,6CAAC,wBAAM,GAAG,OACP;AAAA;AAAA,IACA,gBAAgB,cAAc,eAC7B,4CAAC,4CAAsB,GAAI,kBAAgD,IAC3E;AAAA,IACD,gBAAgB,YAAY,eA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AM,EAAE,eAAe,IAAI,kBAAkB;AAC7C,QAAM,YAAQ,4BAAS;AAEvB,SACE,8CAAC,6BAA0B,UAAU,WACnC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;","names":["import_icons_material","import_material","import_react_flexbox","import_react_shared","import_jsx_runtime","import_react_shared","import_react","import_react_shared","import_jsx_runtime","import_react_shared","import_react_shared","import_react","import_jsx_runtime","import_react_shared","import_material","import_react_async_effect","import_react","import_react_shared","import_jsx_runtime","import_react_shared","import_icons_material","import_material","import_react","import_material","import_jsx_runtime","OpenInNewIcon","import_jsx_runtime","MoreVertIcon","import_jsx_runtime","RefreshIcon","import_material","import_react_flexbox","import_react_shared","import_material","import_jsx_runtime","import_material","import_react_shared","import_jsx_runtime","import_material","import_react_select","import_jsx_runtime","import_jsx_runtime","import_material","import_react_shared","import_react_shared","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_jsx_runtime","import_material","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime"]}
@@ -1,4 +1,4 @@
1
- export * from './components';
2
- export * from './contexts';
3
- export * from './types';
1
+ export * from './components/index.js';
2
+ export * from './contexts/index.js';
3
+ export * from './types/index.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA"}
@@ -1,4 +1,4 @@
1
- export * from './components';
2
- export * from './contexts';
3
- export * from './types';
1
+ export * from './components/index.js';
2
+ export * from './contexts/index.js';
3
+ export * from './types/index.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA"}
@@ -1,4 +1,4 @@
1
- export * from './components';
2
- export * from './contexts';
3
- export * from './types';
1
+ export * from './components/index.js';
2
+ export * from './contexts/index.js';
3
+ export * from './types/index.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.tsx","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.tsx","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.tsx","../../src/contexts/RefreshPayloadContext/use.tsx","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.tsx","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.tsx","../../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'\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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedMenu } from '../menu'\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 : <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ?\n hideTimestamp && hideRefreshButton ?\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 : 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'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\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 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'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context'\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 <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'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\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 { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext'\nimport { ResolvePayloadContext } from './Context'\nimport { ResolvePayloadState } from './State'\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 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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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'\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 { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext'\nimport { ValidatePayloadContext } from './Context'\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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context'\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 { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\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'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ?\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 : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls'\nimport { BusyCard, BusyCardProps } from './BusyCard'\nimport { EmbedCardHeader } from './EmbedCardHeader'\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 <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 : 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'\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'\n\nimport { EmbedFormControl } from './EmbedFormControl'\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'\n\nimport { useEmbedPluginState } from '../../contexts'\nimport { EmbedFormControl } from './EmbedFormControl'\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'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts'\nimport { EmbedPluginProps } from '../../types'\nimport { EmbedPluginInner } from '../EmbedPlugin'\nimport { BusyCardProps, EmbedPluginCard } from './card'\nimport { EmbedCardApiErrorRenderer } from './error-handling'\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'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts'\nimport { EmbedPluginProps } from '../types'\nimport { EmbedResolver } from './EmbedResolver'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts'\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'\n\nimport { useResolvePayload } from '../contexts'\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'\n\nimport { useValidatePayload } from '../../contexts'\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 {schema} 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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts'\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>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'\n\nimport { EmbedErrorCard } from './EmbedErrorCard'\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'\n\ninterface EmbedErrorCardBaseProps {\n alertProps?: AlertProps\n error?: Error\n hideErrorDetails?: boolean\n}\n\ninterface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {\n alertProps?: AlertProps\n error?: Error\n}\n\nexport const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>> = (props) => {\n const { alertProps, error, hideErrorDetails = true, children, ...cardProps } = props\n const errorProps = { alertProps, error, hideErrorDetails }\n return (\n <Card {...cardProps}>\n <CardContent>{children ?? <DefaultErrorAlert {...errorProps} />}</CardContent>\n </Card>\n )\n}\n\nconst DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, hideErrorDetails, error }) => {\n return (\n <Alert severity=\"error\" {...alertProps}>\n <AlertTitle>Whoops! Something went wrong</AlertTitle>\n {!hideErrorDetails && error ?\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n : <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n }\n </Alert>\n )\n}\n"],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A,EACL,IAAI;AAEJ,SACE,gBAAAA;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,QACF;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA;AAAA,wBAAAD,MAAC,wBAAsB,GAAG,eAAe;AAAA,QACxC;AAAA;AAAA;AAAA,EACH;AAEJ;AAEO,IAAM,uBAAgD,CAAC,UAAU;AACtE,QAAM,EAAE,SAAS,UAAU,IAAI,kBAAkB;AACjD,QAAM,EAAE,eAAe,IAAI,kBAAkB;AAC7C,QAAM,QAAQ,SAAS;AAEvB,SACE,gBAAAA,MAAC,6BAA0B,UAAU,WACnC,0BAAAA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;","names":["Chip","jsx","useState","createContextEx","jsx","useState","useContextEx","useContextEx","createContextEx","useEffect","useState","jsx","useState","useEffect","useContextEx","useContextEx","useAsyncEffect","useState","createContextEx","jsx","useState","useAsyncEffect","useContextEx","useContextEx","useState","Fragment","jsx","jsxs","Fragment","jsx","jsxs","useState","Fragment","jsx","jsxs","Chip","useListMode","jsx","jsxs","MenuItem","jsx","jsxs","MenuItem","MenuItem","SelectEx","jsx","SelectEx","MenuItem","jsx","jsxs","useListMode","jsx","Fragment","jsx","jsxs","Alert","Fragment","jsx","jsxs","Alert","jsx","Alert","AlertTitle","Card","CardContent","Fragment","jsx","jsxs","jsx","jsx","jsxs"]}
1
+ {"version":3,"sources":["../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.tsx","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.tsx","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.tsx","../../src/contexts/RefreshPayloadContext/use.tsx","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.tsx","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.tsx","../../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'\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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'\nimport { EmbedMenu } from '../menu/index.js'\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 : <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ?\n hideTimestamp && hideRefreshButton ?\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 : 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.js'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context.js'\nimport { EmbedPluginBase } from './State.js'\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 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.js'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context.js'\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 <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.js'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context.js'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State.js'\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 { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext/index.js'\nimport { ResolvePayloadContext } from './Context.js'\nimport { ResolvePayloadState } from './State.js'\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 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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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.js'\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 { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext/index.js'\nimport { ValidatePayloadContext } from './Context.js'\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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 <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.js'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context.js'\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 { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem.js'\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'\n\nimport { useResolvePayload } from '../../../contexts/index.js'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ?\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 : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.js'\nimport { BusyCard, BusyCardProps } from './BusyCard.js'\nimport { EmbedCardHeader } from './EmbedCardHeader.js'\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 <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 : 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'\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'\n\nimport { EmbedFormControl } from './EmbedFormControl.js'\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'\n\nimport { useEmbedPluginState } from '../../contexts/index.js'\nimport { EmbedFormControl } from './EmbedFormControl.js'\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'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts/index.js'\nimport { EmbedPluginProps } from '../../types/index.js'\nimport { EmbedPluginInner } from '../EmbedPlugin.js'\nimport { BusyCardProps, EmbedPluginCard } from './card/index.js'\nimport { EmbedCardApiErrorRenderer } from './error-handling/index.js'\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.js'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.js'\nimport { EmbedPluginProps } from '../types/index.js'\nimport { EmbedResolver } from './EmbedResolver.js'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.js'\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'\n\nimport { useResolvePayload } from '../contexts/index.js'\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'\n\nimport { useValidatePayload } from '../../contexts/index.js'\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 {schema} 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'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts/index.js'\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>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'\n\nimport { EmbedErrorCard } from './EmbedErrorCard.js'\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'\n\ninterface EmbedErrorCardBaseProps {\n alertProps?: AlertProps\n error?: Error\n hideErrorDetails?: boolean\n}\n\ninterface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {\n alertProps?: AlertProps\n error?: Error\n}\n\nexport const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>> = (props) => {\n const { alertProps, error, hideErrorDetails = true, children, ...cardProps } = props\n const errorProps = { alertProps, error, hideErrorDetails }\n return (\n <Card {...cardProps}>\n <CardContent>{children ?? <DefaultErrorAlert {...errorProps} />}</CardContent>\n </Card>\n )\n}\n\nconst DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, hideErrorDetails, error }) => {\n return (\n <Alert severity=\"error\" {...alertProps}>\n <AlertTitle>Whoops! Something went wrong</AlertTitle>\n {!hideErrorDetails && error ?\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n : <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n }\n </Alert>\n )\n}\n"],"mappings":";AAAA,SAAS,YAAuB;AAChC,SAAS,qBAAqB;AAC9B;AAAA,EACE;AAAA,EAEA;AAAA,OAIK;AAmBH,SAGI,KAHJ;AAVG,IAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,eAAe,cAAc,MAAM,WAAW;AACpD,SACE,qBAAC,QAAM,GAAG,OACP;AAAA;AAAA,IACA,gBAAgB,cAAc,eAC7B,oBAAC,wBAAsB,GAAI,kBAAgD,IAC3E;AAAA,IACD,gBAAgB,YAAY,eAC3B,oBAAC,sBAAoB,GAAI,kBAA8C,IACvE;AAAA,KACJ;AAEJ;;;ACtCA,SAAS,WAAW,mBAAmB;AACvC,SAAS,QAAQ,YAA6B,QAAAA,aAAmB;AACjE,SAAS,eAAe;;;ACFxB,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACFpE,SAAS,WAAW,gBAAgB;AAuBhC,gBAAAC,YAAA;AAfG,IAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI,SAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,YAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAA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G,OAClB,0BAAAA,MAAC,cAAW,OAAO,UAAU,GAC/B;AAEJ;;;ALAI,SAYE,OAAAC,OAZF,QAAAC,cAAA;AAdG,IAAM,qBAAqD,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAC5F,QAAM;AAAA,IACJ;AAAA,IACA,UAAU,CAAC;AAAA,IACX;AAAA,IACA,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,IAAI;AAEJ,SACE,gBAAAA;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,QACF;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA;AAAA,wBAAAD,MAAC,wBAAsB,GAAG,eAAe;AAAA,QACxC;AAAA;AAAA;AAAA,EACH;AAEJ;AAEO,IAAM,uBAAgD,CAAC,UAAU;AACtE,QAAM,EAAE,SAAS,UAAU,IAAI,kBAAkB;AACjD,QAAM,EAAE,eAAe,IAAI,kBAAkB;AAC7C,QAAM,QAAQ,SAAS;AAEvB,SACE,gBAAAA,MAAC,6BAA0B,UAAU,WACnC,0BAAAA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;","names":["Chip","jsx","useState","createContextEx","jsx","useState","useContextEx","useContextEx","createContextEx","useEffect","useState","jsx","useState","useEffect","useContextEx","useContextEx","useAsyncEffect","useState","createContextEx","jsx","useState","useAsyncEffect","useContextEx","useContextEx","useState","Fragment","jsx","jsxs","Fragment","jsx","jsxs","useState","Fragment","jsx","jsxs","Chip","useListMode","jsx","jsxs","MenuItem","jsx","jsxs","MenuItem","MenuItem","SelectEx","jsx","SelectEx","MenuItem","jsx","jsxs","useListMode","jsx","Fragment","jsx","jsxs","Alert","Fragment","jsx","jsxs","Alert","jsx","Alert","AlertTitle","Card","CardContent","Fragment","jsx","jsxs","jsx","jsx","jsxs"]}
@@ -1,5 +1,5 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts';
2
+ import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.js';
3
3
  export interface EmbedPluginProps extends EmbedPluginBase {
4
4
  hideElementsConfig?: EmbedPluginVisibilityConfig;
5
5
  huriPayload?: string | Payload;
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAE1E,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
1
+ {"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAEnF,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
@@ -1,5 +1,5 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts';
2
+ import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.js';
3
3
  export interface EmbedPluginProps extends EmbedPluginBase {
4
4
  hideElementsConfig?: EmbedPluginVisibilityConfig;
5
5
  huriPayload?: string | Payload;
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAE1E,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
1
+ {"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAEnF,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
@@ -1,5 +1,5 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts';
2
+ import { EmbedPluginBase, EmbedPluginVisibilityConfig } from '../contexts/index.js';
3
3
  export interface EmbedPluginProps extends EmbedPluginBase {
4
4
  hideElementsConfig?: EmbedPluginVisibilityConfig;
5
5
  huriPayload?: string | Payload;
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAE1E,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
1
+ {"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAEnF,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
@@ -1,2 +1,2 @@
1
- export * from './EmbedPluginProps';
1
+ export * from './EmbedPluginProps.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './EmbedPluginProps';
1
+ export * from './EmbedPluginProps.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './EmbedPluginProps';
1
+ export * from './EmbedPluginProps.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
package/package.json CHANGED
@@ -10,20 +10,20 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@mui/icons-material": "^5.15.21",
14
- "@mui/material": "^5.15.21",
15
- "@mui/styles": "^5.15.21",
16
- "@xylabs/delay": "^3.5.2",
17
- "@xylabs/react-async-effect": "^3.1.7",
18
- "@xylabs/react-flexbox": "^3.1.7",
19
- "@xylabs/react-select": "^3.1.7",
20
- "@xylabs/react-shared": "^3.1.7",
21
- "@xyo-network/huri": "^2.108.0",
22
- "@xyo-network/payload-model": "^2.108.0",
23
- "@xyo-network/react-error": "^2.79.0",
24
- "@xyo-network/react-payload-plugin": "^2.79.0",
25
- "@xyo-network/react-shared": "^2.79.0",
26
- "@xyo-network/schema-cache": "^2.108.0",
13
+ "@mui/icons-material": "^5.16.1",
14
+ "@mui/material": "^5.16.1",
15
+ "@mui/styles": "^5.16.1",
16
+ "@xylabs/delay": "^3.5.9",
17
+ "@xylabs/react-async-effect": "^3.4.0",
18
+ "@xylabs/react-flexbox": "^3.4.0",
19
+ "@xylabs/react-select": "^3.4.0",
20
+ "@xylabs/react-shared": "^3.4.0",
21
+ "@xyo-network/huri": "^2.110.0",
22
+ "@xyo-network/payload-model": "^2.110.0",
23
+ "@xyo-network/react-error": "^2.81.0",
24
+ "@xyo-network/react-payload-plugin": "^2.81.0",
25
+ "@xyo-network/react-shared": "^2.81.0",
26
+ "@xyo-network/schema-cache": "^2.110.0",
27
27
  "react": "^18.3.1",
28
28
  "react-dom": "^18.3.1"
29
29
  },
@@ -31,9 +31,9 @@
31
31
  "@storybook/react": "^7.6.20",
32
32
  "@xylabs/ts-scripts-yarn3": "^3.11.12",
33
33
  "@xylabs/tsconfig-react": "^3.11.12",
34
- "@xyo-network/react-aggregate-price-plugin": "^2.79.0",
35
- "@xyo-network/react-crypto-market-uniswap-plugin": "^2.79.0",
36
- "react-router-dom": "^6.24.0",
34
+ "@xyo-network/react-aggregate-price-plugin": "^2.81.0",
35
+ "@xyo-network/react-crypto-market-uniswap-plugin": "^2.81.0",
36
+ "react-router-dom": "^6.24.1",
37
37
  "typescript": "^5.5.3"
38
38
  },
39
39
  "peerDependencies": {
@@ -91,6 +91,6 @@
91
91
  },
92
92
  "sideEffects": false,
93
93
  "types": "dist/browser/index.d.ts",
94
- "version": "2.79.0",
94
+ "version": "2.81.0",
95
95
  "type": "module"
96
96
  }
@@ -2,10 +2,10 @@ 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
4
 
5
- import { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts'
6
- import { EmbedPluginProps } from '../types'
7
- import { EmbedResolver } from './EmbedResolver'
8
- import { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts'
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'
9
9
 
10
10
  export const EmbedPluginInner: React.FC<WithChildren<EmbedPluginProps>> = ({
11
11
  validateSchema,