@xyo-network/react-embed 2.81.9 → 2.82.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (804) hide show
  1. package/dist/browser/components/EmbedPlugin.d.cts +2 -1
  2. package/dist/browser/components/EmbedPlugin.d.cts.map +1 -1
  3. package/dist/browser/components/EmbedPlugin.d.mts +2 -1
  4. package/dist/browser/components/EmbedPlugin.d.mts.map +1 -1
  5. package/dist/browser/components/EmbedPlugin.d.ts +2 -1
  6. package/dist/browser/components/EmbedPlugin.d.ts.map +1 -1
  7. package/dist/browser/components/EmbedResolver.d.cts +1 -0
  8. package/dist/browser/components/EmbedResolver.d.cts.map +1 -1
  9. package/dist/browser/components/EmbedResolver.d.mts +1 -0
  10. package/dist/browser/components/EmbedResolver.d.mts.map +1 -1
  11. package/dist/browser/components/EmbedResolver.d.ts +1 -0
  12. package/dist/browser/components/EmbedResolver.d.ts.map +1 -1
  13. package/dist/browser/components/controls/EmbedFormControl.d.cts +1 -0
  14. package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -1
  15. package/dist/browser/components/controls/EmbedFormControl.d.mts +1 -0
  16. package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -1
  17. package/dist/browser/components/controls/EmbedFormControl.d.ts +1 -0
  18. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -1
  19. package/dist/browser/components/controls/ListModeSelect.d.cts +1 -0
  20. package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -1
  21. package/dist/browser/components/controls/ListModeSelect.d.mts +1 -0
  22. package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -1
  23. package/dist/browser/components/controls/ListModeSelect.d.ts +1 -0
  24. package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -1
  25. package/dist/browser/components/controls/RenderSelect.d.cts +1 -0
  26. package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -1
  27. package/dist/browser/components/controls/RenderSelect.d.mts +1 -0
  28. package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -1
  29. package/dist/browser/components/controls/RenderSelect.d.ts +1 -0
  30. package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -1
  31. package/dist/browser/components/controls/index.d.cts +3 -3
  32. package/dist/browser/components/controls/index.d.cts.map +1 -1
  33. package/dist/browser/components/controls/index.d.mts +3 -3
  34. package/dist/browser/components/controls/index.d.mts.map +1 -1
  35. package/dist/browser/components/controls/index.d.ts +3 -3
  36. package/dist/browser/components/controls/index.d.ts.map +1 -1
  37. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +1 -0
  38. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  39. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +1 -0
  40. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  41. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +1 -0
  42. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  43. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +4 -3
  44. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  45. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +4 -3
  46. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  47. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +4 -3
  48. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  49. package/dist/browser/components/embed-card/card/BusyCard.d.cts +1 -0
  50. package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -1
  51. package/dist/browser/components/embed-card/card/BusyCard.d.mts +1 -0
  52. package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -1
  53. package/dist/browser/components/embed-card/card/BusyCard.d.ts +1 -0
  54. package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -1
  55. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
  56. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  57. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
  58. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  59. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
  60. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  61. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
  62. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  63. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
  64. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  65. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
  66. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  67. package/dist/browser/components/embed-card/card/index.d.cts +3 -3
  68. package/dist/browser/components/embed-card/card/index.d.cts.map +1 -1
  69. package/dist/browser/components/embed-card/card/index.d.mts +3 -3
  70. package/dist/browser/components/embed-card/card/index.d.mts.map +1 -1
  71. package/dist/browser/components/embed-card/card/index.d.ts +3 -3
  72. package/dist/browser/components/embed-card/card/index.d.ts.map +1 -1
  73. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
  74. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  75. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
  76. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  77. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
  78. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  79. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
  80. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  81. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
  82. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  83. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
  84. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  85. package/dist/browser/components/embed-card/error-handling/index.d.cts +2 -2
  86. package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -1
  87. package/dist/browser/components/embed-card/error-handling/index.d.mts +2 -2
  88. package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -1
  89. package/dist/browser/components/embed-card/error-handling/index.d.ts +2 -2
  90. package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -1
  91. package/dist/browser/components/embed-card/index.d.cts +2 -2
  92. package/dist/browser/components/embed-card/index.d.cts.map +1 -1
  93. package/dist/browser/components/embed-card/index.d.mts +2 -2
  94. package/dist/browser/components/embed-card/index.d.mts.map +1 -1
  95. package/dist/browser/components/embed-card/index.d.ts +2 -2
  96. package/dist/browser/components/embed-card/index.d.ts.map +1 -1
  97. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +1 -0
  98. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  99. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +1 -0
  100. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  101. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +1 -0
  102. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  103. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
  104. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  105. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
  106. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  107. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
  108. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  109. package/dist/browser/components/embed-card/menu/index.d.cts +1 -1
  110. package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -1
  111. package/dist/browser/components/embed-card/menu/index.d.mts +1 -1
  112. package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -1
  113. package/dist/browser/components/embed-card/menu/index.d.ts +1 -1
  114. package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -1
  115. package/dist/browser/components/index.d.cts +2 -2
  116. package/dist/browser/components/index.d.cts.map +1 -1
  117. package/dist/browser/components/index.d.mts +2 -2
  118. package/dist/browser/components/index.d.mts.map +1 -1
  119. package/dist/browser/components/index.d.ts +2 -2
  120. package/dist/browser/components/index.d.ts.map +1 -1
  121. package/dist/browser/components/stories/storyShared.d.cts +1 -1
  122. package/dist/browser/components/stories/storyShared.d.cts.map +1 -1
  123. package/dist/browser/components/stories/storyShared.d.mts +1 -1
  124. package/dist/browser/components/stories/storyShared.d.mts.map +1 -1
  125. package/dist/browser/components/stories/storyShared.d.ts +1 -1
  126. package/dist/browser/components/stories/storyShared.d.ts.map +1 -1
  127. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +1 -0
  128. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  129. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +1 -0
  130. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  131. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +1 -0
  132. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  133. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +1 -0
  134. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  135. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +1 -0
  136. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  137. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +1 -0
  138. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  139. package/dist/browser/components/validation-alerts/index.d.cts +2 -2
  140. package/dist/browser/components/validation-alerts/index.d.cts.map +1 -1
  141. package/dist/browser/components/validation-alerts/index.d.mts +2 -2
  142. package/dist/browser/components/validation-alerts/index.d.mts.map +1 -1
  143. package/dist/browser/components/validation-alerts/index.d.ts +2 -2
  144. package/dist/browser/components/validation-alerts/index.d.ts.map +1 -1
  145. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +1 -1
  146. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  147. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +1 -1
  148. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  149. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +1 -1
  150. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  151. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +2 -1
  152. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  153. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +2 -1
  154. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  155. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +2 -1
  156. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  157. package/dist/browser/contexts/EmbedPluginContext/index.d.cts +4 -4
  158. package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  159. package/dist/browser/contexts/EmbedPluginContext/index.d.mts +4 -4
  160. package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  161. package/dist/browser/contexts/EmbedPluginContext/index.d.ts +4 -4
  162. package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  163. package/dist/browser/contexts/EmbedPluginContext/use.d.cts +1 -1
  164. package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  165. package/dist/browser/contexts/EmbedPluginContext/use.d.mts +1 -1
  166. package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  167. package/dist/browser/contexts/EmbedPluginContext/use.d.ts +1 -1
  168. package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  169. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +1 -1
  170. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  171. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +1 -1
  172. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  173. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +1 -1
  174. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  175. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
  176. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  177. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
  178. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  179. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
  180. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  181. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +3 -3
  182. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  183. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +3 -3
  184. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  185. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +3 -3
  186. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  187. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +1 -1
  188. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  189. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +1 -1
  190. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  191. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +1 -1
  192. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  193. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +1 -1
  194. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +1 -1
  195. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +1 -1
  196. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
  197. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  198. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
  199. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  200. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
  201. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  202. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +4 -4
  203. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  204. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +4 -4
  205. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  206. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +4 -4
  207. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  208. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +1 -1
  209. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  210. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +1 -1
  211. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  212. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +1 -1
  213. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  214. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +1 -1
  215. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +1 -1
  216. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +1 -1
  217. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
  218. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  219. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
  220. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  221. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
  222. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  223. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +3 -3
  224. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  225. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +3 -3
  226. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  227. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +3 -3
  228. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  229. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +1 -1
  230. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  231. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +1 -1
  232. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  233. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +1 -1
  234. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  235. package/dist/browser/contexts/index.d.cts +4 -4
  236. package/dist/browser/contexts/index.d.mts +4 -4
  237. package/dist/browser/contexts/index.d.ts +4 -4
  238. package/dist/browser/index.cjs +403 -317
  239. package/dist/browser/index.cjs.map +1 -1
  240. package/dist/browser/index.d.cts +3 -3
  241. package/dist/browser/index.d.mts +3 -3
  242. package/dist/browser/index.d.ts +3 -3
  243. package/dist/browser/index.mjs +573 -0
  244. package/dist/browser/index.mjs.map +1 -0
  245. package/dist/browser/types/EmbedPluginProps.d.cts +1 -1
  246. package/dist/browser/types/EmbedPluginProps.d.mts +1 -1
  247. package/dist/browser/types/EmbedPluginProps.d.ts +1 -1
  248. package/dist/browser/types/index.d.cts +1 -1
  249. package/dist/browser/types/index.d.mts +1 -1
  250. package/dist/browser/types/index.d.ts +1 -1
  251. package/dist/neutral/components/EmbedPlugin.d.cts +2 -1
  252. package/dist/neutral/components/EmbedPlugin.d.cts.map +1 -1
  253. package/dist/neutral/components/EmbedPlugin.d.mts +2 -1
  254. package/dist/neutral/components/EmbedPlugin.d.mts.map +1 -1
  255. package/dist/neutral/components/EmbedPlugin.d.ts +2 -1
  256. package/dist/neutral/components/EmbedPlugin.d.ts.map +1 -1
  257. package/dist/neutral/components/EmbedResolver.d.cts +1 -0
  258. package/dist/neutral/components/EmbedResolver.d.cts.map +1 -1
  259. package/dist/neutral/components/EmbedResolver.d.mts +1 -0
  260. package/dist/neutral/components/EmbedResolver.d.mts.map +1 -1
  261. package/dist/neutral/components/EmbedResolver.d.ts +1 -0
  262. package/dist/neutral/components/EmbedResolver.d.ts.map +1 -1
  263. package/dist/neutral/components/controls/EmbedFormControl.d.cts +1 -0
  264. package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +1 -1
  265. package/dist/neutral/components/controls/EmbedFormControl.d.mts +1 -0
  266. package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +1 -1
  267. package/dist/neutral/components/controls/EmbedFormControl.d.ts +1 -0
  268. package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +1 -1
  269. package/dist/neutral/components/controls/ListModeSelect.d.cts +1 -0
  270. package/dist/neutral/components/controls/ListModeSelect.d.cts.map +1 -1
  271. package/dist/neutral/components/controls/ListModeSelect.d.mts +1 -0
  272. package/dist/neutral/components/controls/ListModeSelect.d.mts.map +1 -1
  273. package/dist/neutral/components/controls/ListModeSelect.d.ts +1 -0
  274. package/dist/neutral/components/controls/ListModeSelect.d.ts.map +1 -1
  275. package/dist/neutral/components/controls/RenderSelect.d.cts +1 -0
  276. package/dist/neutral/components/controls/RenderSelect.d.cts.map +1 -1
  277. package/dist/neutral/components/controls/RenderSelect.d.mts +1 -0
  278. package/dist/neutral/components/controls/RenderSelect.d.mts.map +1 -1
  279. package/dist/neutral/components/controls/RenderSelect.d.ts +1 -0
  280. package/dist/neutral/components/controls/RenderSelect.d.ts.map +1 -1
  281. package/dist/neutral/components/controls/index.d.cts +3 -3
  282. package/dist/neutral/components/controls/index.d.cts.map +1 -1
  283. package/dist/neutral/components/controls/index.d.mts +3 -3
  284. package/dist/neutral/components/controls/index.d.mts.map +1 -1
  285. package/dist/neutral/components/controls/index.d.ts +3 -3
  286. package/dist/neutral/components/controls/index.d.ts.map +1 -1
  287. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +1 -0
  288. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  289. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +1 -0
  290. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  291. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +1 -0
  292. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  293. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +4 -3
  294. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  295. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +4 -3
  296. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  297. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +4 -3
  298. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  299. package/dist/neutral/components/embed-card/card/BusyCard.d.cts +1 -0
  300. package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +1 -1
  301. package/dist/neutral/components/embed-card/card/BusyCard.d.mts +1 -0
  302. package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +1 -1
  303. package/dist/neutral/components/embed-card/card/BusyCard.d.ts +1 -0
  304. package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +1 -1
  305. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
  306. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  307. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
  308. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  309. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
  310. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  311. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
  312. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  313. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
  314. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  315. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
  316. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  317. package/dist/neutral/components/embed-card/card/index.d.cts +3 -3
  318. package/dist/neutral/components/embed-card/card/index.d.cts.map +1 -1
  319. package/dist/neutral/components/embed-card/card/index.d.mts +3 -3
  320. package/dist/neutral/components/embed-card/card/index.d.mts.map +1 -1
  321. package/dist/neutral/components/embed-card/card/index.d.ts +3 -3
  322. package/dist/neutral/components/embed-card/card/index.d.ts.map +1 -1
  323. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
  324. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  325. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
  326. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  327. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
  328. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  329. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
  330. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  331. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
  332. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  333. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
  334. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  335. package/dist/neutral/components/embed-card/error-handling/index.d.cts +2 -2
  336. package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +1 -1
  337. package/dist/neutral/components/embed-card/error-handling/index.d.mts +2 -2
  338. package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +1 -1
  339. package/dist/neutral/components/embed-card/error-handling/index.d.ts +2 -2
  340. package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +1 -1
  341. package/dist/neutral/components/embed-card/index.d.cts +2 -2
  342. package/dist/neutral/components/embed-card/index.d.cts.map +1 -1
  343. package/dist/neutral/components/embed-card/index.d.mts +2 -2
  344. package/dist/neutral/components/embed-card/index.d.mts.map +1 -1
  345. package/dist/neutral/components/embed-card/index.d.ts +2 -2
  346. package/dist/neutral/components/embed-card/index.d.ts.map +1 -1
  347. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +1 -0
  348. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  349. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +1 -0
  350. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  351. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +1 -0
  352. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  353. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
  354. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  355. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
  356. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  357. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
  358. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  359. package/dist/neutral/components/embed-card/menu/index.d.cts +1 -1
  360. package/dist/neutral/components/embed-card/menu/index.d.cts.map +1 -1
  361. package/dist/neutral/components/embed-card/menu/index.d.mts +1 -1
  362. package/dist/neutral/components/embed-card/menu/index.d.mts.map +1 -1
  363. package/dist/neutral/components/embed-card/menu/index.d.ts +1 -1
  364. package/dist/neutral/components/embed-card/menu/index.d.ts.map +1 -1
  365. package/dist/neutral/components/index.d.cts +2 -2
  366. package/dist/neutral/components/index.d.cts.map +1 -1
  367. package/dist/neutral/components/index.d.mts +2 -2
  368. package/dist/neutral/components/index.d.mts.map +1 -1
  369. package/dist/neutral/components/index.d.ts +2 -2
  370. package/dist/neutral/components/index.d.ts.map +1 -1
  371. package/dist/neutral/components/stories/storyShared.d.cts +1 -1
  372. package/dist/neutral/components/stories/storyShared.d.cts.map +1 -1
  373. package/dist/neutral/components/stories/storyShared.d.mts +1 -1
  374. package/dist/neutral/components/stories/storyShared.d.mts.map +1 -1
  375. package/dist/neutral/components/stories/storyShared.d.ts +1 -1
  376. package/dist/neutral/components/stories/storyShared.d.ts.map +1 -1
  377. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +1 -0
  378. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  379. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +1 -0
  380. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  381. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +1 -0
  382. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  383. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +1 -0
  384. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  385. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +1 -0
  386. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  387. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +1 -0
  388. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  389. package/dist/neutral/components/validation-alerts/index.d.cts +2 -2
  390. package/dist/neutral/components/validation-alerts/index.d.cts.map +1 -1
  391. package/dist/neutral/components/validation-alerts/index.d.mts +2 -2
  392. package/dist/neutral/components/validation-alerts/index.d.mts.map +1 -1
  393. package/dist/neutral/components/validation-alerts/index.d.ts +2 -2
  394. package/dist/neutral/components/validation-alerts/index.d.ts.map +1 -1
  395. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +1 -1
  396. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  397. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +1 -1
  398. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  399. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +1 -1
  400. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  401. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +2 -1
  402. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  403. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +2 -1
  404. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  405. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +2 -1
  406. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  407. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +4 -4
  408. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  409. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +4 -4
  410. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  411. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +4 -4
  412. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  413. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +1 -1
  414. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  415. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +1 -1
  416. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  417. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +1 -1
  418. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  419. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +1 -1
  420. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  421. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +1 -1
  422. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  423. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +1 -1
  424. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  425. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
  426. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  427. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
  428. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  429. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
  430. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  431. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +3 -3
  432. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  433. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +3 -3
  434. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  435. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +3 -3
  436. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  437. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +1 -1
  438. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  439. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +1 -1
  440. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  441. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +1 -1
  442. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  443. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +1 -1
  444. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +1 -1
  445. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +1 -1
  446. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
  447. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  448. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
  449. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  450. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
  451. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  452. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +4 -4
  453. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  454. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +4 -4
  455. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  456. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +4 -4
  457. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  458. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +1 -1
  459. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  460. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +1 -1
  461. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  462. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +1 -1
  463. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  464. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +1 -1
  465. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +1 -1
  466. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +1 -1
  467. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
  468. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  469. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
  470. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  471. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
  472. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  473. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +3 -3
  474. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  475. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +3 -3
  476. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  477. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +3 -3
  478. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  479. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +1 -1
  480. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  481. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +1 -1
  482. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  483. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +1 -1
  484. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  485. package/dist/neutral/contexts/index.d.cts +4 -4
  486. package/dist/neutral/contexts/index.d.mts +4 -4
  487. package/dist/neutral/contexts/index.d.ts +4 -4
  488. package/dist/neutral/index.cjs +403 -317
  489. package/dist/neutral/index.cjs.map +1 -1
  490. package/dist/neutral/index.d.cts +3 -3
  491. package/dist/neutral/index.d.mts +3 -3
  492. package/dist/neutral/index.d.ts +3 -3
  493. package/dist/neutral/index.mjs +573 -0
  494. package/dist/neutral/index.mjs.map +1 -0
  495. package/dist/neutral/types/EmbedPluginProps.d.cts +1 -1
  496. package/dist/neutral/types/EmbedPluginProps.d.mts +1 -1
  497. package/dist/neutral/types/EmbedPluginProps.d.ts +1 -1
  498. package/dist/neutral/types/index.d.cts +1 -1
  499. package/dist/neutral/types/index.d.mts +1 -1
  500. package/dist/neutral/types/index.d.ts +1 -1
  501. package/dist/node/components/EmbedPlugin.d.cts +2 -1
  502. package/dist/node/components/EmbedPlugin.d.cts.map +1 -1
  503. package/dist/node/components/EmbedPlugin.d.mts +2 -1
  504. package/dist/node/components/EmbedPlugin.d.mts.map +1 -1
  505. package/dist/node/components/EmbedPlugin.d.ts +2 -1
  506. package/dist/node/components/EmbedPlugin.d.ts.map +1 -1
  507. package/dist/node/components/EmbedResolver.d.cts +1 -0
  508. package/dist/node/components/EmbedResolver.d.cts.map +1 -1
  509. package/dist/node/components/EmbedResolver.d.mts +1 -0
  510. package/dist/node/components/EmbedResolver.d.mts.map +1 -1
  511. package/dist/node/components/EmbedResolver.d.ts +1 -0
  512. package/dist/node/components/EmbedResolver.d.ts.map +1 -1
  513. package/dist/node/components/controls/EmbedFormControl.d.cts +1 -0
  514. package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -1
  515. package/dist/node/components/controls/EmbedFormControl.d.mts +1 -0
  516. package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -1
  517. package/dist/node/components/controls/EmbedFormControl.d.ts +1 -0
  518. package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -1
  519. package/dist/node/components/controls/ListModeSelect.d.cts +1 -0
  520. package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -1
  521. package/dist/node/components/controls/ListModeSelect.d.mts +1 -0
  522. package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -1
  523. package/dist/node/components/controls/ListModeSelect.d.ts +1 -0
  524. package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -1
  525. package/dist/node/components/controls/RenderSelect.d.cts +1 -0
  526. package/dist/node/components/controls/RenderSelect.d.cts.map +1 -1
  527. package/dist/node/components/controls/RenderSelect.d.mts +1 -0
  528. package/dist/node/components/controls/RenderSelect.d.mts.map +1 -1
  529. package/dist/node/components/controls/RenderSelect.d.ts +1 -0
  530. package/dist/node/components/controls/RenderSelect.d.ts.map +1 -1
  531. package/dist/node/components/controls/index.d.cts +3 -3
  532. package/dist/node/components/controls/index.d.cts.map +1 -1
  533. package/dist/node/components/controls/index.d.mts +3 -3
  534. package/dist/node/components/controls/index.d.mts.map +1 -1
  535. package/dist/node/components/controls/index.d.ts +3 -3
  536. package/dist/node/components/controls/index.d.ts.map +1 -1
  537. package/dist/node/components/embed-card/EmbedCardResolver.d.cts +1 -0
  538. package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
  539. package/dist/node/components/embed-card/EmbedCardResolver.d.mts +1 -0
  540. package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
  541. package/dist/node/components/embed-card/EmbedCardResolver.d.ts +1 -0
  542. package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
  543. package/dist/node/components/embed-card/EmbedPluginCard.d.cts +4 -3
  544. package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
  545. package/dist/node/components/embed-card/EmbedPluginCard.d.mts +4 -3
  546. package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
  547. package/dist/node/components/embed-card/EmbedPluginCard.d.ts +4 -3
  548. package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
  549. package/dist/node/components/embed-card/card/BusyCard.d.cts +1 -0
  550. package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -1
  551. package/dist/node/components/embed-card/card/BusyCard.d.mts +1 -0
  552. package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -1
  553. package/dist/node/components/embed-card/card/BusyCard.d.ts +1 -0
  554. package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -1
  555. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
  556. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
  557. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
  558. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
  559. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
  560. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
  561. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
  562. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
  563. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
  564. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
  565. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
  566. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
  567. package/dist/node/components/embed-card/card/index.d.cts +3 -3
  568. package/dist/node/components/embed-card/card/index.d.cts.map +1 -1
  569. package/dist/node/components/embed-card/card/index.d.mts +3 -3
  570. package/dist/node/components/embed-card/card/index.d.mts.map +1 -1
  571. package/dist/node/components/embed-card/card/index.d.ts +3 -3
  572. package/dist/node/components/embed-card/card/index.d.ts.map +1 -1
  573. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
  574. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
  575. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
  576. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
  577. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
  578. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
  579. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
  580. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
  581. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
  582. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
  583. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
  584. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
  585. package/dist/node/components/embed-card/error-handling/index.d.cts +2 -2
  586. package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -1
  587. package/dist/node/components/embed-card/error-handling/index.d.mts +2 -2
  588. package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -1
  589. package/dist/node/components/embed-card/error-handling/index.d.ts +2 -2
  590. package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -1
  591. package/dist/node/components/embed-card/index.d.cts +2 -2
  592. package/dist/node/components/embed-card/index.d.cts.map +1 -1
  593. package/dist/node/components/embed-card/index.d.mts +2 -2
  594. package/dist/node/components/embed-card/index.d.mts.map +1 -1
  595. package/dist/node/components/embed-card/index.d.ts +2 -2
  596. package/dist/node/components/embed-card/index.d.ts.map +1 -1
  597. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +1 -0
  598. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
  599. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +1 -0
  600. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
  601. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +1 -0
  602. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
  603. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
  604. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
  605. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
  606. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
  607. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
  608. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
  609. package/dist/node/components/embed-card/menu/index.d.cts +1 -1
  610. package/dist/node/components/embed-card/menu/index.d.cts.map +1 -1
  611. package/dist/node/components/embed-card/menu/index.d.mts +1 -1
  612. package/dist/node/components/embed-card/menu/index.d.mts.map +1 -1
  613. package/dist/node/components/embed-card/menu/index.d.ts +1 -1
  614. package/dist/node/components/embed-card/menu/index.d.ts.map +1 -1
  615. package/dist/node/components/index.d.cts +2 -2
  616. package/dist/node/components/index.d.cts.map +1 -1
  617. package/dist/node/components/index.d.mts +2 -2
  618. package/dist/node/components/index.d.mts.map +1 -1
  619. package/dist/node/components/index.d.ts +2 -2
  620. package/dist/node/components/index.d.ts.map +1 -1
  621. package/dist/node/components/stories/storyShared.d.cts +1 -1
  622. package/dist/node/components/stories/storyShared.d.cts.map +1 -1
  623. package/dist/node/components/stories/storyShared.d.mts +1 -1
  624. package/dist/node/components/stories/storyShared.d.mts.map +1 -1
  625. package/dist/node/components/stories/storyShared.d.ts +1 -1
  626. package/dist/node/components/stories/storyShared.d.ts.map +1 -1
  627. package/dist/node/components/validation-alerts/ValidatePayload.d.cts +1 -0
  628. package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
  629. package/dist/node/components/validation-alerts/ValidatePayload.d.mts +1 -0
  630. package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
  631. package/dist/node/components/validation-alerts/ValidatePayload.d.ts +1 -0
  632. package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
  633. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +1 -0
  634. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
  635. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +1 -0
  636. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
  637. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +1 -0
  638. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
  639. package/dist/node/components/validation-alerts/index.d.cts +2 -2
  640. package/dist/node/components/validation-alerts/index.d.cts.map +1 -1
  641. package/dist/node/components/validation-alerts/index.d.mts +2 -2
  642. package/dist/node/components/validation-alerts/index.d.mts.map +1 -1
  643. package/dist/node/components/validation-alerts/index.d.ts +2 -2
  644. package/dist/node/components/validation-alerts/index.d.ts.map +1 -1
  645. package/dist/node/contexts/EmbedPluginContext/Context.d.cts +1 -1
  646. package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
  647. package/dist/node/contexts/EmbedPluginContext/Context.d.mts +1 -1
  648. package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
  649. package/dist/node/contexts/EmbedPluginContext/Context.d.ts +1 -1
  650. package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
  651. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +2 -1
  652. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
  653. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +2 -1
  654. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
  655. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +2 -1
  656. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
  657. package/dist/node/contexts/EmbedPluginContext/index.d.cts +4 -4
  658. package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -1
  659. package/dist/node/contexts/EmbedPluginContext/index.d.mts +4 -4
  660. package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -1
  661. package/dist/node/contexts/EmbedPluginContext/index.d.ts +4 -4
  662. package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -1
  663. package/dist/node/contexts/EmbedPluginContext/use.d.cts +1 -1
  664. package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -1
  665. package/dist/node/contexts/EmbedPluginContext/use.d.mts +1 -1
  666. package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -1
  667. package/dist/node/contexts/EmbedPluginContext/use.d.ts +1 -1
  668. package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -1
  669. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +1 -1
  670. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
  671. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +1 -1
  672. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
  673. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +1 -1
  674. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
  675. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
  676. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
  677. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
  678. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
  679. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
  680. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
  681. package/dist/node/contexts/RefreshPayloadContext/index.d.cts +3 -3
  682. package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
  683. package/dist/node/contexts/RefreshPayloadContext/index.d.mts +3 -3
  684. package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
  685. package/dist/node/contexts/RefreshPayloadContext/index.d.ts +3 -3
  686. package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
  687. package/dist/node/contexts/RefreshPayloadContext/use.d.cts +1 -1
  688. package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
  689. package/dist/node/contexts/RefreshPayloadContext/use.d.mts +1 -1
  690. package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
  691. package/dist/node/contexts/RefreshPayloadContext/use.d.ts +1 -1
  692. package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
  693. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +1 -1
  694. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +1 -1
  695. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +1 -1
  696. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
  697. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
  698. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
  699. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
  700. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
  701. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
  702. package/dist/node/contexts/ResolvePayloadContext/index.d.cts +4 -4
  703. package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
  704. package/dist/node/contexts/ResolvePayloadContext/index.d.mts +4 -4
  705. package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
  706. package/dist/node/contexts/ResolvePayloadContext/index.d.ts +4 -4
  707. package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
  708. package/dist/node/contexts/ResolvePayloadContext/use.d.cts +1 -1
  709. package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
  710. package/dist/node/contexts/ResolvePayloadContext/use.d.mts +1 -1
  711. package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
  712. package/dist/node/contexts/ResolvePayloadContext/use.d.ts +1 -1
  713. package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
  714. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +1 -1
  715. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +1 -1
  716. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +1 -1
  717. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
  718. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
  719. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
  720. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
  721. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
  722. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
  723. package/dist/node/contexts/ValidatePayloadContext/index.d.cts +3 -3
  724. package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
  725. package/dist/node/contexts/ValidatePayloadContext/index.d.mts +3 -3
  726. package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
  727. package/dist/node/contexts/ValidatePayloadContext/index.d.ts +3 -3
  728. package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
  729. package/dist/node/contexts/ValidatePayloadContext/use.d.cts +1 -1
  730. package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
  731. package/dist/node/contexts/ValidatePayloadContext/use.d.mts +1 -1
  732. package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
  733. package/dist/node/contexts/ValidatePayloadContext/use.d.ts +1 -1
  734. package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
  735. package/dist/node/contexts/index.d.cts +4 -4
  736. package/dist/node/contexts/index.d.mts +4 -4
  737. package/dist/node/contexts/index.d.ts +4 -4
  738. package/dist/node/index.cjs +403 -317
  739. package/dist/node/index.cjs.map +1 -1
  740. package/dist/node/index.d.cts +3 -3
  741. package/dist/node/index.d.mts +3 -3
  742. package/dist/node/index.d.ts +3 -3
  743. package/dist/node/index.mjs +575 -0
  744. package/dist/node/index.mjs.map +1 -0
  745. package/dist/node/types/EmbedPluginProps.d.cts +1 -1
  746. package/dist/node/types/EmbedPluginProps.d.mts +1 -1
  747. package/dist/node/types/EmbedPluginProps.d.ts +1 -1
  748. package/dist/node/types/index.d.cts +1 -1
  749. package/dist/node/types/index.d.mts +1 -1
  750. package/dist/node/types/index.d.ts +1 -1
  751. package/package.json +25 -25
  752. package/src/components/EmbedPlugin.tsx +6 -5
  753. package/src/components/EmbedResolver.tsx +2 -1
  754. package/src/components/controls/EmbedFormControl.tsx +1 -0
  755. package/src/components/controls/ListModeSelect.tsx +2 -1
  756. package/src/components/controls/RenderSelect.tsx +4 -3
  757. package/src/components/controls/index.ts +3 -3
  758. package/src/components/embed-card/EmbedCardResolver.tsx +3 -2
  759. package/src/components/embed-card/EmbedPluginCard.tsx +7 -6
  760. package/src/components/embed-card/card/BusyCard.tsx +7 -6
  761. package/src/components/embed-card/card/EmbedCardHeader.tsx +25 -20
  762. package/src/components/embed-card/card/EmbedPluginCard.tsx +20 -17
  763. package/src/components/embed-card/card/index.ts +3 -3
  764. package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +2 -1
  765. package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +21 -12
  766. package/src/components/embed-card/error-handling/index.ts +2 -2
  767. package/src/components/embed-card/index.ts +2 -2
  768. package/src/components/embed-card/menu/EmbedMenu.tsx +2 -2
  769. package/src/components/embed-card/menu/JsonMenuItem.tsx +12 -9
  770. package/src/components/embed-card/menu/index.ts +1 -1
  771. package/src/components/index.ts +2 -2
  772. package/src/components/stories/XyoEmbedPlugin.examples.stories.tsx +1 -2
  773. package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +2 -3
  774. package/src/components/stories/storyShared.tsx +2 -1
  775. package/src/components/validation-alerts/ValidatePayload.tsx +7 -2
  776. package/src/components/validation-alerts/ValidatePlugins.tsx +4 -2
  777. package/src/components/validation-alerts/index.ts +2 -2
  778. package/src/contexts/EmbedPluginContext/{Context.tsx → Context.ts} +1 -1
  779. package/src/contexts/EmbedPluginContext/Provider.tsx +4 -3
  780. package/src/contexts/EmbedPluginContext/index.ts +4 -4
  781. package/src/contexts/EmbedPluginContext/{use.tsx → use.ts} +1 -1
  782. package/src/contexts/RefreshPayloadContext/{Context.tsx → Context.ts} +1 -1
  783. package/src/contexts/RefreshPayloadContext/Provider.tsx +3 -2
  784. package/src/contexts/RefreshPayloadContext/index.ts +3 -3
  785. package/src/contexts/RefreshPayloadContext/{use.tsx → use.ts} +1 -1
  786. package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
  787. package/src/contexts/ResolvePayloadContext/Provider.tsx +6 -5
  788. package/src/contexts/ResolvePayloadContext/index.ts +4 -4
  789. package/src/contexts/ResolvePayloadContext/{use.tsx → use.ts} +1 -1
  790. package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
  791. package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +6 -6
  792. package/src/contexts/ValidatePayloadContext/Provider.tsx +7 -7
  793. package/src/contexts/ValidatePayloadContext/index.ts +3 -3
  794. package/src/contexts/ValidatePayloadContext/{use.tsx → use.ts} +1 -1
  795. package/src/contexts/index.ts +4 -4
  796. package/src/index.ts +3 -3
  797. package/src/types/EmbedPluginProps.ts +1 -1
  798. package/src/types/index.ts +1 -1
  799. package/dist/browser/index.js +0 -498
  800. package/dist/browser/index.js.map +0 -1
  801. package/dist/neutral/index.js +0 -498
  802. package/dist/neutral/index.js.map +0 -1
  803. package/dist/node/index.js +0 -500
  804. package/dist/node/index.js.map +0 -1
@@ -0,0 +1,575 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // src/components/embed-card/card/BusyCard.tsx
5
+ import { Card } from "@mui/material";
6
+ import { useBusyTiming } from "@xylabs/react-flexbox";
7
+ import { BusyCircularProgress, BusyLinearProgress } from "@xylabs/react-shared";
8
+ import React from "react";
9
+ var BusyCard = /* @__PURE__ */ __name(({ busy, busyMinimum = 500, busyVariant = "circular", busyVariantProps, children, ...props }) => {
10
+ const internalBusy = useBusyTiming(busy, busyMinimum);
11
+ return /* @__PURE__ */ React.createElement(Card, props, children, busyVariant === "circular" && internalBusy ? /* @__PURE__ */ React.createElement(BusyCircularProgress, busyVariantProps) : null, busyVariant === "linear" && internalBusy ? /* @__PURE__ */ React.createElement(BusyLinearProgress, busyVariantProps) : null);
12
+ }, "BusyCard");
13
+
14
+ // src/components/embed-card/card/EmbedCardHeader.tsx
15
+ import { Refresh as RefreshIcon } from "@mui/icons-material";
16
+ import { Avatar, CardHeader, Chip as Chip2 } from "@mui/material";
17
+ import { FlexRow } from "@xylabs/react-flexbox";
18
+ import React8 from "react";
19
+
20
+ // src/contexts/EmbedPluginContext/Context.ts
21
+ import { createContextEx } from "@xyo-network/react-shared";
22
+ var EmbedPluginContext = createContextEx();
23
+
24
+ // src/contexts/EmbedPluginContext/Provider.tsx
25
+ import React2, { useEffect, useState } from "react";
26
+ var EmbedPluginProvider = /* @__PURE__ */ __name(({ children, refreshTitle, timestampLabel, hideElementsConfig, plugins, embedPluginConfig }) => {
27
+ const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
28
+ useEffect(() => {
29
+ setActivePlugin(plugins ? plugins[0] : void 0);
30
+ }, [
31
+ plugins
32
+ ]);
33
+ return /* @__PURE__ */ React2.createElement(EmbedPluginContext.Provider, {
34
+ // eslint-disable-next-line @eslint-react/no-unstable-context-value
35
+ value: {
36
+ activePlugin,
37
+ embedPluginConfig,
38
+ hideElementsConfig,
39
+ provided: true,
40
+ refreshTitle,
41
+ setActivePlugin,
42
+ timestampLabel
43
+ }
44
+ }, children);
45
+ }, "EmbedPluginProvider");
46
+
47
+ // src/contexts/EmbedPluginContext/use.ts
48
+ import { useContextEx } from "@xyo-network/react-shared";
49
+ var useEmbedPluginState = /* @__PURE__ */ __name(() => useContextEx(EmbedPluginContext, "EmbedPlugin", true), "useEmbedPluginState");
50
+
51
+ // src/contexts/RefreshPayloadContext/Provider.tsx
52
+ import React3, { useState as useState2 } from "react";
53
+
54
+ // src/contexts/RefreshPayloadContext/Context.ts
55
+ import { createContextEx as createContextEx2 } from "@xyo-network/react-shared";
56
+ var RefreshPayloadContext = createContextEx2();
57
+
58
+ // src/contexts/RefreshPayloadContext/Provider.tsx
59
+ var RefreshPayloadProvider = /* @__PURE__ */ __name(({ children, onRefresh, refreshPayload }) => {
60
+ const [localRefreshPayload, setRefreshPayload] = useState2(refreshPayload);
61
+ return (
62
+ // eslint-disable-next-line @eslint-react/no-unstable-context-value
63
+ /* @__PURE__ */ React3.createElement(RefreshPayloadContext.Provider, {
64
+ value: {
65
+ onRefresh,
66
+ provided: true,
67
+ refreshPayload: localRefreshPayload,
68
+ setRefreshPayload
69
+ }
70
+ }, children)
71
+ );
72
+ }, "RefreshPayloadProvider");
73
+
74
+ // src/contexts/RefreshPayloadContext/use.ts
75
+ import { useContextEx as useContextEx2 } from "@xyo-network/react-shared";
76
+ var useRefreshPayload = /* @__PURE__ */ __name(() => useContextEx2(RefreshPayloadContext, "RefreshPayload", true), "useRefreshPayload");
77
+
78
+ // src/contexts/ResolvePayloadContext/Context.ts
79
+ import { createContextEx as createContextEx3 } from "@xyo-network/react-shared";
80
+ var ResolvePayloadContext = createContextEx3();
81
+
82
+ // src/contexts/ResolvePayloadContext/Provider.tsx
83
+ import { delay } from "@xylabs/delay";
84
+ import { useAsyncEffect } from "@xylabs/react-async-effect";
85
+ import { Huri } from "@xyo-network/huri";
86
+ import { ModuleErrorSchema } from "@xyo-network/payload-model";
87
+ import React4, { useEffect as useEffect2, useState as useState3 } from "react";
88
+ var ResolvePayloadProvider = /* @__PURE__ */ __name(({ children, huriPayload }) => {
89
+ const [payload, setPayload] = useState3();
90
+ const [huri, setHuri] = useState3();
91
+ const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload();
92
+ useEffect2(() => {
93
+ typeof huriPayload === "string" ? setHuri(huriPayload) : void 0;
94
+ if (typeof huriPayload === "object") {
95
+ setPayload(huriPayload);
96
+ setRefreshPayload == null ? void 0 : setRefreshPayload(true);
97
+ }
98
+ }, [
99
+ huriPayload,
100
+ setRefreshPayload
101
+ ]);
102
+ const [notFound, setNotFound] = useState3();
103
+ const [huriError, setHuriError] = useState3();
104
+ useAsyncEffect(async (mounted) => {
105
+ if (huri && !refreshPayload) {
106
+ try {
107
+ const huriInstance = new Huri(huri);
108
+ const result = await huriInstance.fetch();
109
+ await delay(500);
110
+ if (mounted()) {
111
+ setNotFound(result === null);
112
+ setPayload(result);
113
+ setRefreshPayload == null ? void 0 : setRefreshPayload(true);
114
+ }
115
+ } catch (e) {
116
+ const error = e;
117
+ setHuriError({
118
+ message: error.message,
119
+ schema: ModuleErrorSchema,
120
+ sources: []
121
+ });
122
+ }
123
+ }
124
+ }, [
125
+ huri,
126
+ payload,
127
+ refreshPayload,
128
+ setRefreshPayload
129
+ ]);
130
+ const refreshHuri = /* @__PURE__ */ __name(() => {
131
+ onRefresh == null ? void 0 : onRefresh();
132
+ if (huri) {
133
+ setRefreshPayload == null ? void 0 : setRefreshPayload(false);
134
+ }
135
+ }, "refreshHuri");
136
+ return (
137
+ // eslint-disable-next-line @eslint-react/no-unstable-context-value
138
+ /* @__PURE__ */ React4.createElement(ResolvePayloadContext.Provider, {
139
+ value: {
140
+ huri,
141
+ huriError,
142
+ notFound,
143
+ payload,
144
+ provided: true,
145
+ refreshHuri,
146
+ setPayload
147
+ }
148
+ }, children)
149
+ );
150
+ }, "ResolvePayloadProvider");
151
+
152
+ // src/contexts/ResolvePayloadContext/use.ts
153
+ import { useContextEx as useContextEx3 } from "@xyo-network/react-shared";
154
+ var useResolvePayload = /* @__PURE__ */ __name(() => useContextEx3(ResolvePayloadContext, "ResolvePayload", true), "useResolvePayload");
155
+
156
+ // src/contexts/ValidatePayloadContext/Provider.tsx
157
+ import { Chip } from "@mui/material";
158
+ import { useAsyncEffect as useAsyncEffect2 } from "@xylabs/react-async-effect";
159
+ import { SchemaCache } from "@xyo-network/schema-cache";
160
+ import React5, { useState as useState4 } from "react";
161
+
162
+ // src/contexts/ValidatePayloadContext/Context.ts
163
+ import { createContextEx as createContextEx4 } from "@xyo-network/react-shared";
164
+ var ValidatePayloadContext = createContextEx4();
165
+
166
+ // src/contexts/ValidatePayloadContext/Provider.tsx
167
+ var ValidatePayloadProvider = /* @__PURE__ */ __name(({ children, enabled = false }) => {
168
+ const { payload } = useResolvePayload();
169
+ const [initialized, setInitialized] = useState4(false);
170
+ const [valid, setValid] = useState4();
171
+ useAsyncEffect2(async () => {
172
+ if (payload && enabled) {
173
+ await SchemaCache.instance.get(payload.schema);
174
+ const possibleKnownSchema = payload.schema;
175
+ if (SchemaCache.instance.validators[possibleKnownSchema]) {
176
+ const validator = SchemaCache.instance.validators[possibleKnownSchema];
177
+ setValid(validator == null ? void 0 : validator(payload));
178
+ }
179
+ setInitialized(true);
180
+ }
181
+ }, [
182
+ payload,
183
+ enabled
184
+ ]);
185
+ return (
186
+ // eslint-disable-next-line @eslint-react/no-unstable-context-value
187
+ /* @__PURE__ */ React5.createElement(ValidatePayloadContext.Provider, {
188
+ value: {
189
+ enabled,
190
+ provided: true,
191
+ schema: payload == null ? void 0 : payload.schema,
192
+ validPayload: valid
193
+ }
194
+ }, enabled ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, initialized ? children : /* @__PURE__ */ React5.createElement(Chip, {
195
+ label: "Validating Payload..."
196
+ })) : children)
197
+ );
198
+ }, "ValidatePayloadProvider");
199
+
200
+ // src/contexts/ValidatePayloadContext/use.ts
201
+ import { useContextEx as useContextEx4 } from "@xyo-network/react-shared";
202
+ var useValidatePayload = /* @__PURE__ */ __name(() => useContextEx4(ValidatePayloadContext, "ValidateSchema", true), "useValidatePayload");
203
+
204
+ // src/components/embed-card/menu/EmbedMenu.tsx
205
+ import { MoreVert as MoreVertIcon } from "@mui/icons-material";
206
+ import { IconButton, Menu } from "@mui/material";
207
+ import React7, { useState as useState5 } from "react";
208
+
209
+ // src/components/embed-card/menu/JsonMenuItem.tsx
210
+ import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
211
+ import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
212
+ import React6 from "react";
213
+ var JsonMenuItem = /* @__PURE__ */ __name((props) => {
214
+ const { huri } = useResolvePayload();
215
+ return /* @__PURE__ */ React6.createElement(React6.Fragment, null, huri ? /* @__PURE__ */ React6.createElement(MenuItem, {
216
+ title: "Source Payload JSON",
217
+ onClick: /* @__PURE__ */ __name(() => window.open(huri, "_blank"), "onClick"),
218
+ ...props
219
+ }, /* @__PURE__ */ React6.createElement(ListItemText, {
220
+ sx: {
221
+ mr: 1
222
+ }
223
+ }, "JSON"), /* @__PURE__ */ React6.createElement(ListItemIcon, {
224
+ sx: {
225
+ justifyContent: "end"
226
+ }
227
+ }, /* @__PURE__ */ React6.createElement(OpenInNewIcon, {
228
+ fontSize: "small"
229
+ }))) : null);
230
+ }, "JsonMenuItem");
231
+
232
+ // src/components/embed-card/menu/EmbedMenu.tsx
233
+ var EmbedMenu = /* @__PURE__ */ __name((props) => {
234
+ const [anchorEl, setAnchorEl] = useState5(null);
235
+ const open = Boolean(anchorEl);
236
+ const handleClick = /* @__PURE__ */ __name((event) => {
237
+ setAnchorEl(event.currentTarget);
238
+ }, "handleClick");
239
+ const handleClose = /* @__PURE__ */ __name(() => {
240
+ setAnchorEl(null);
241
+ }, "handleClose");
242
+ return /* @__PURE__ */ React7.createElement(React7.Fragment, null, /* @__PURE__ */ React7.createElement(IconButton, {
243
+ onClick: handleClick,
244
+ ...props
245
+ }, /* @__PURE__ */ React7.createElement(MoreVertIcon, null)), /* @__PURE__ */ React7.createElement(Menu, {
246
+ anchorEl,
247
+ open,
248
+ onClose: handleClose,
249
+ PaperProps: {
250
+ variant: "elevation"
251
+ },
252
+ MenuListProps: {
253
+ dense: true
254
+ }
255
+ }, /* @__PURE__ */ React7.createElement(JsonMenuItem, null)));
256
+ }, "EmbedMenu");
257
+
258
+ // src/components/embed-card/card/EmbedCardHeader.tsx
259
+ var EmbedCardHeader = /* @__PURE__ */ __name(() => {
260
+ var _a;
261
+ const { refreshHuri, huri } = useResolvePayload();
262
+ const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
263
+ const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
264
+ const timestamp = Date.now();
265
+ return /* @__PURE__ */ React8.createElement(CardHeader, {
266
+ sx: {
267
+ flexWrap: "wrap",
268
+ rowGap: 1
269
+ },
270
+ avatar: hideAvatar ? /* @__PURE__ */ React8.createElement(React8.Fragment, null) : /* @__PURE__ */ React8.createElement(Avatar, {
271
+ sx: {
272
+ bgcolor: /* @__PURE__ */ __name((theme) => theme.palette.primary.main, "bgcolor")
273
+ },
274
+ "aria-label": activePlugin == null ? void 0 : activePlugin.name
275
+ }, (_a = activePlugin == null ? void 0 : activePlugin.name) == null ? void 0 : _a.charAt(0)),
276
+ action: /* @__PURE__ */ React8.createElement(FlexRow, {
277
+ flexWrap: "wrap",
278
+ columnGap: 0.5
279
+ }, timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ React8.createElement(Chip2, {
280
+ avatar: hideRefreshButton ? /* @__PURE__ */ React8.createElement(React8.Fragment, null) : /* @__PURE__ */ React8.createElement(RefreshIcon, null),
281
+ clickable: hideRefreshButton ? false : true,
282
+ onClick: refreshHuri,
283
+ label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
284
+ }) : null, hideCardActions || huri === void 0 ? null : /* @__PURE__ */ React8.createElement(EmbedMenu, null)),
285
+ title: hideTitle ? "" : activePlugin == null ? void 0 : activePlugin.name
286
+ });
287
+ }, "EmbedCardHeader");
288
+
289
+ // src/components/embed-card/card/EmbedPluginCard.tsx
290
+ import { CardContent } from "@mui/material";
291
+ import { FlexGrowRow } from "@xylabs/react-flexbox";
292
+ import { useListMode as useListMode2 } from "@xyo-network/react-shared";
293
+ import React12 from "react";
294
+
295
+ // src/components/controls/EmbedFormControl.tsx
296
+ import { FormControl, InputLabel } from "@mui/material";
297
+ import React9 from "react";
298
+ var EmbedFormControl = /* @__PURE__ */ __name(({ formId, formLabel, children, ...props }) => {
299
+ return /* @__PURE__ */ React9.createElement(FormControl, props, /* @__PURE__ */ React9.createElement(InputLabel, {
300
+ id: formId
301
+ }, formLabel), children);
302
+ }, "EmbedFormControl");
303
+
304
+ // src/components/controls/ListModeSelect.tsx
305
+ import { MenuItem as MenuItem2 } from "@mui/material";
306
+ import { SelectEx } from "@xylabs/react-select";
307
+ import { useListMode } from "@xyo-network/react-shared";
308
+ import React10 from "react";
309
+ var listModeSelectId = "listmode-select-id";
310
+ var listModeSelectLabel = "List Mode";
311
+ var ListModeSelect = /* @__PURE__ */ __name((props) => {
312
+ const { listMode, setListMode } = useListMode();
313
+ return /* @__PURE__ */ React10.createElement(SelectEx, {
314
+ value: listMode ?? "default",
315
+ onChange: /* @__PURE__ */ __name((event) => {
316
+ setListMode == null ? void 0 : setListMode(event.target.value);
317
+ }, "onChange"),
318
+ ...props
319
+ }, /* @__PURE__ */ React10.createElement(MenuItem2, {
320
+ key: "default",
321
+ value: "default"
322
+ }, "Default"), /* @__PURE__ */ React10.createElement(MenuItem2, {
323
+ key: "table",
324
+ value: "table"
325
+ }, "Table"), /* @__PURE__ */ React10.createElement(MenuItem2, {
326
+ key: "grid",
327
+ value: "grid"
328
+ }, "Grid"));
329
+ }, "ListModeSelect");
330
+ var ListModeSelectFormControl = /* @__PURE__ */ __name((props) => {
331
+ return /* @__PURE__ */ React10.createElement(EmbedFormControl, {
332
+ formId: listModeSelectId,
333
+ formLabel: listModeSelectLabel
334
+ }, /* @__PURE__ */ React10.createElement(ListModeSelect, {
335
+ size: "small",
336
+ label: listModeSelectLabel,
337
+ labelId: listModeSelectId,
338
+ ...props
339
+ }));
340
+ }, "ListModeSelectFormControl");
341
+
342
+ // src/components/controls/RenderSelect.tsx
343
+ import { MenuItem as MenuItem3 } from "@mui/material";
344
+ import { SelectEx as SelectEx2 } from "@xylabs/react-select";
345
+ import React11 from "react";
346
+ var renderSelectId = "render-select-id";
347
+ var renderSelectLabel = "Renderer";
348
+ var EmbedRenderSelect = /* @__PURE__ */ __name((props) => {
349
+ const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
350
+ return /* @__PURE__ */ React11.createElement(EmbedFormControl, {
351
+ formId: renderSelectId,
352
+ formLabel: renderSelectLabel
353
+ }, /* @__PURE__ */ React11.createElement(SelectEx2, {
354
+ size: "small",
355
+ value: activePlugin == null ? void 0 : activePlugin.name,
356
+ ...props
357
+ }, plugins == null ? void 0 : plugins.map((plugin) => /* @__PURE__ */ React11.createElement(MenuItem3, {
358
+ value: plugin.name,
359
+ key: plugin.name,
360
+ onClick: /* @__PURE__ */ __name(() => setActivePlugin == null ? void 0 : setActivePlugin(plugin), "onClick")
361
+ }, plugin.name))));
362
+ }, "EmbedRenderSelect");
363
+
364
+ // src/components/embed-card/card/EmbedPluginCard.tsx
365
+ var EmbedPluginCard = /* @__PURE__ */ __name(({ ...props }) => {
366
+ var _a, _b, _c;
367
+ const { payload } = useResolvePayload();
368
+ const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
369
+ const { listMode } = useListMode2();
370
+ const supportsListMode = ((_c = (_b = (_a = ActivePlugin == null ? void 0 : ActivePlugin.components) == null ? void 0 : _a.box) == null ? void 0 : _b.listModes) == null ? void 0 : _c.length) ?? 0 > 1;
371
+ return /* @__PURE__ */ React12.createElement(BusyCard, props, (hideElementsConfig == null ? void 0 : hideElementsConfig.hideCardHeader) ? null : /* @__PURE__ */ React12.createElement(EmbedCardHeader, null), plugins && plugins.length > 0 || supportsListMode ? /* @__PURE__ */ React12.createElement(FlexGrowRow, {
372
+ columnGap: 2,
373
+ rowGap: 2,
374
+ flexWrap: "wrap",
375
+ pb: 1
376
+ }, plugins && plugins.length > 1 ? /* @__PURE__ */ React12.createElement(EmbedRenderSelect, null) : null, supportsListMode ? /* @__PURE__ */ React12.createElement(ListModeSelectFormControl, null) : null) : null, /* @__PURE__ */ React12.createElement(CardContent, {
377
+ sx: {
378
+ height: "100%"
379
+ }
380
+ }, ActivePlugin ? /* @__PURE__ */ React12.createElement(ActivePlugin.components.box.detailsBox, {
381
+ payload,
382
+ ...supportsListMode && {
383
+ listMode
384
+ }
385
+ }) : null));
386
+ }, "EmbedPluginCard");
387
+
388
+ // src/components/embed-card/EmbedPluginCard.tsx
389
+ import { useTheme } from "@mui/material";
390
+ import React19 from "react";
391
+
392
+ // src/components/EmbedPlugin.tsx
393
+ import { ErrorBoundary, ListModeProvider } from "@xyo-network/react-shared";
394
+ import React16 from "react";
395
+
396
+ // src/components/EmbedResolver.tsx
397
+ import { LoadResult } from "@xyo-network/react-shared";
398
+ import React13 from "react";
399
+ var EmbedResolver = /* @__PURE__ */ __name(({ children }) => {
400
+ const { payload, notFound, huriError } = useResolvePayload();
401
+ return /* @__PURE__ */ React13.createElement(LoadResult, {
402
+ searchResult: payload,
403
+ notFound: !!notFound,
404
+ error: !!huriError
405
+ }, children);
406
+ }, "EmbedResolver");
407
+
408
+ // src/components/validation-alerts/ValidatePayload.tsx
409
+ import { Alert } from "@mui/material";
410
+ import React14 from "react";
411
+ var ValidatePayloadAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
412
+ const { validPayload, enabled, schema } = useValidatePayload();
413
+ if (enabled && validPayload === false) {
414
+ return /* @__PURE__ */ React14.createElement(Alert, {
415
+ severity: "error",
416
+ title: "Invalid Payload!",
417
+ ...props
418
+ }, "Payload schema claimed to be", " ", schema, " ", "but failed to validate.");
419
+ }
420
+ return /* @__PURE__ */ React14.createElement(React14.Fragment, null, children);
421
+ }, "ValidatePayloadAlert");
422
+
423
+ // src/components/validation-alerts/ValidatePlugins.tsx
424
+ import { Alert as Alert2, AlertTitle } from "@mui/material";
425
+ import React15 from "react";
426
+ var ValidatePluginsAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
427
+ const { payload } = useResolvePayload();
428
+ const { plugins } = useEmbedPluginState();
429
+ if (payload && (plugins == null ? void 0 : plugins.length) === 0) {
430
+ return /* @__PURE__ */ React15.createElement(Alert2, {
431
+ severity: "warning",
432
+ ...props
433
+ }, /* @__PURE__ */ React15.createElement(AlertTitle, null, "Missing plugins!"), "Payload found but no plugins were present.");
434
+ }
435
+ return /* @__PURE__ */ React15.createElement(React15.Fragment, null, children);
436
+ }, "ValidatePluginsAlert");
437
+
438
+ // src/components/EmbedPlugin.tsx
439
+ var EmbedPluginInner = /* @__PURE__ */ __name(({ validateSchema, plugins, huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, children }) => {
440
+ return /* @__PURE__ */ React16.createElement(ErrorBoundary, null, /* @__PURE__ */ React16.createElement(EmbedPluginProvider, {
441
+ refreshTitle,
442
+ timestampLabel,
443
+ hideElementsConfig,
444
+ plugins,
445
+ embedPluginConfig
446
+ }, /* @__PURE__ */ React16.createElement(WithResolvers, {
447
+ onRefresh,
448
+ huriPayload
449
+ }, /* @__PURE__ */ React16.createElement(WithValidators, {
450
+ validateSchema
451
+ }, /* @__PURE__ */ React16.createElement(ListModeProvider, {
452
+ defaultListMode: embedPluginConfig == null ? void 0 : embedPluginConfig.listMode
453
+ }, children)))));
454
+ }, "EmbedPluginInner");
455
+ var WithResolvers = /* @__PURE__ */ __name(({ children, onRefresh, huriPayload }) => {
456
+ return /* @__PURE__ */ React16.createElement(RefreshPayloadProvider, {
457
+ onRefresh
458
+ }, /* @__PURE__ */ React16.createElement(ResolvePayloadProvider, {
459
+ huriPayload
460
+ }, /* @__PURE__ */ React16.createElement(EmbedResolver, null, children)));
461
+ }, "WithResolvers");
462
+ var WithValidators = /* @__PURE__ */ __name(({ children, validateSchema }) => {
463
+ return /* @__PURE__ */ React16.createElement(ValidatePayloadProvider, {
464
+ enabled: validateSchema
465
+ }, /* @__PURE__ */ React16.createElement(ValidatePluginsAlert, null, /* @__PURE__ */ React16.createElement(ValidatePayloadAlert, null, children)));
466
+ }, "WithValidators");
467
+
468
+ // src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
469
+ import { ErrorAlert, ErrorRender } from "@xyo-network/react-error";
470
+ import React18 from "react";
471
+
472
+ // src/components/embed-card/error-handling/EmbedErrorCard.tsx
473
+ import { Alert as Alert3, AlertTitle as AlertTitle2, Card as Card2, CardContent as CardContent2, Typography } from "@mui/material";
474
+ import React17 from "react";
475
+ var EmbedErrorCard = /* @__PURE__ */ __name((props) => {
476
+ const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props;
477
+ const errorProps = {
478
+ alertProps,
479
+ error,
480
+ hideErrorDetails,
481
+ scope
482
+ };
483
+ return /* @__PURE__ */ React17.createElement(Card2, cardProps, /* @__PURE__ */ React17.createElement(CardContent2, null, children ?? /* @__PURE__ */ React17.createElement(DefaultErrorAlert, errorProps)));
484
+ }, "EmbedErrorCard");
485
+ var DefaultErrorAlert = /* @__PURE__ */ __name(({ alertProps, scope, hideErrorDetails, error }) => {
486
+ return /* @__PURE__ */ React17.createElement(Alert3, {
487
+ severity: "error",
488
+ ...alertProps
489
+ }, /* @__PURE__ */ React17.createElement(AlertTitle2, null, "Whoops! Something went wrong"), scope ? /* @__PURE__ */ React17.createElement(Typography, {
490
+ variant: "caption"
491
+ }, "Scope:", scope) : null, !hideErrorDetails && error ? /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(Typography, {
492
+ variant: "caption"
493
+ }, "Error: "), /* @__PURE__ */ React17.createElement(Typography, {
494
+ variant: "caption"
495
+ }, error == null ? void 0 : error.message)) : /* @__PURE__ */ React17.createElement(Typography, {
496
+ variant: "caption",
497
+ fontSize: "small"
498
+ }, "Error Loading Plugin"));
499
+ }, "DefaultErrorAlert");
500
+
501
+ // src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
502
+ var EmbedCardApiErrorRenderer = /* @__PURE__ */ __name(({ xyoError, children, ...props }) => {
503
+ return /* @__PURE__ */ React18.createElement(ErrorRender, {
504
+ error: xyoError,
505
+ noReAuth: true,
506
+ noErrorDisplay: true,
507
+ customError: /* @__PURE__ */ React18.createElement(CustomApiErrorCard, {
508
+ xyoError,
509
+ ...props
510
+ })
511
+ }, children);
512
+ }, "EmbedCardApiErrorRenderer");
513
+ var CustomApiErrorCard = /* @__PURE__ */ __name(({ xyoError, ...props }) => {
514
+ return /* @__PURE__ */ React18.createElement(EmbedErrorCard, props, /* @__PURE__ */ React18.createElement(ErrorAlert, {
515
+ error: xyoError
516
+ }));
517
+ }, "CustomApiErrorCard");
518
+
519
+ // src/components/embed-card/EmbedPluginCard.tsx
520
+ var ApiEmbedPluginCard = /* @__PURE__ */ __name(({ children, ...props }) => {
521
+ const { validateSchema, plugins = [], huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, ...busyCardProps } = props;
522
+ return /* @__PURE__ */ React19.createElement(EmbedPluginInner, {
523
+ embedPluginConfig,
524
+ hideElementsConfig,
525
+ huriPayload,
526
+ onRefresh,
527
+ plugins,
528
+ refreshTitle,
529
+ timestampLabel,
530
+ validateSchema
531
+ }, /* @__PURE__ */ React19.createElement(EmbedPluginCardInner, busyCardProps), children);
532
+ }, "ApiEmbedPluginCard");
533
+ var EmbedPluginCardInner = /* @__PURE__ */ __name((props) => {
534
+ const { payload, huriError } = useResolvePayload();
535
+ const { refreshPayload } = useRefreshPayload();
536
+ const theme = useTheme();
537
+ return /* @__PURE__ */ React19.createElement(EmbedCardApiErrorRenderer, {
538
+ xyoError: huriError
539
+ }, /* @__PURE__ */ React19.createElement(EmbedPluginCard, {
540
+ elevation: 3,
541
+ variant: "elevation",
542
+ busy: Boolean(!refreshPayload && payload),
543
+ busyVariantProps: {
544
+ style: {
545
+ alignItems: "start",
546
+ paddingTop: theme.spacing(2),
547
+ zIndex: 2
548
+ }
549
+ },
550
+ sx: {
551
+ position: "relative"
552
+ },
553
+ ...props
554
+ }));
555
+ }, "EmbedPluginCardInner");
556
+ export {
557
+ ApiEmbedPluginCard,
558
+ BusyCard,
559
+ EmbedCardHeader,
560
+ EmbedPluginCard as EmbedPlugin,
561
+ EmbedPluginCard,
562
+ EmbedPluginCardInner,
563
+ EmbedPluginContext,
564
+ EmbedPluginInner,
565
+ EmbedPluginProvider,
566
+ RefreshPayloadProvider,
567
+ ResolvePayloadContext,
568
+ ResolvePayloadProvider,
569
+ ValidatePayloadProvider,
570
+ useEmbedPluginState,
571
+ useRefreshPayload,
572
+ useResolvePayload,
573
+ useValidatePayload
574
+ };
575
+ //# sourceMappingURL=index.mjs.map