@xyo-network/react-embed 2.81.10 → 2.83.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (945) hide show
  1. package/dist/browser/index.d.ts +112 -4
  2. package/dist/browser/index.mjs +573 -0
  3. package/dist/browser/index.mjs.map +1 -0
  4. package/package.json +27 -43
  5. package/src/components/EmbedPlugin.tsx +6 -5
  6. package/src/components/EmbedResolver.tsx +2 -1
  7. package/src/components/controls/EmbedFormControl.tsx +1 -0
  8. package/src/components/controls/ListModeSelect.tsx +2 -1
  9. package/src/components/controls/RenderSelect.tsx +4 -3
  10. package/src/components/controls/index.ts +3 -3
  11. package/src/components/embed-card/EmbedCardResolver.tsx +3 -2
  12. package/src/components/embed-card/EmbedPluginCard.tsx +7 -6
  13. package/src/components/embed-card/card/BusyCard.tsx +7 -6
  14. package/src/components/embed-card/card/EmbedCardHeader.tsx +25 -20
  15. package/src/components/embed-card/card/EmbedPluginCard.tsx +20 -17
  16. package/src/components/embed-card/card/index.ts +3 -3
  17. package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +2 -1
  18. package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +21 -12
  19. package/src/components/embed-card/error-handling/index.ts +2 -2
  20. package/src/components/embed-card/index.ts +2 -2
  21. package/src/components/embed-card/menu/EmbedMenu.tsx +2 -2
  22. package/src/components/embed-card/menu/JsonMenuItem.tsx +12 -9
  23. package/src/components/embed-card/menu/index.ts +1 -1
  24. package/src/components/index.ts +2 -2
  25. package/src/components/stories/XyoEmbedPlugin.examples.stories.tsx +1 -2
  26. package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +2 -3
  27. package/src/components/stories/storyShared.tsx +2 -1
  28. package/src/components/validation-alerts/ValidatePayload.tsx +7 -2
  29. package/src/components/validation-alerts/ValidatePlugins.tsx +4 -2
  30. package/src/components/validation-alerts/index.ts +2 -2
  31. package/src/contexts/EmbedPluginContext/{Context.tsx → Context.ts} +1 -1
  32. package/src/contexts/EmbedPluginContext/Provider.tsx +4 -3
  33. package/src/contexts/EmbedPluginContext/index.ts +4 -4
  34. package/src/contexts/EmbedPluginContext/{use.tsx → use.ts} +1 -1
  35. package/src/contexts/RefreshPayloadContext/{Context.tsx → Context.ts} +1 -1
  36. package/src/contexts/RefreshPayloadContext/Provider.tsx +3 -2
  37. package/src/contexts/RefreshPayloadContext/index.ts +3 -3
  38. package/src/contexts/RefreshPayloadContext/{use.tsx → use.ts} +1 -1
  39. package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
  40. package/src/contexts/ResolvePayloadContext/Provider.tsx +6 -5
  41. package/src/contexts/ResolvePayloadContext/index.ts +4 -4
  42. package/src/contexts/ResolvePayloadContext/{use.tsx → use.ts} +1 -1
  43. package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
  44. package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +6 -6
  45. package/src/contexts/ValidatePayloadContext/Provider.tsx +7 -7
  46. package/src/contexts/ValidatePayloadContext/index.ts +3 -3
  47. package/src/contexts/ValidatePayloadContext/{use.tsx → use.ts} +1 -1
  48. package/src/contexts/index.ts +4 -4
  49. package/src/index.ts +3 -3
  50. package/src/types/EmbedPluginProps.ts +1 -1
  51. package/src/types/index.ts +1 -1
  52. package/xy.config.ts +12 -0
  53. package/dist/browser/components/EmbedPlugin.d.cts +0 -4
  54. package/dist/browser/components/EmbedPlugin.d.cts.map +0 -1
  55. package/dist/browser/components/EmbedPlugin.d.mts +0 -4
  56. package/dist/browser/components/EmbedPlugin.d.mts.map +0 -1
  57. package/dist/browser/components/EmbedPlugin.d.ts +0 -4
  58. package/dist/browser/components/EmbedPlugin.d.ts.map +0 -1
  59. package/dist/browser/components/EmbedResolver.d.cts +0 -3
  60. package/dist/browser/components/EmbedResolver.d.cts.map +0 -1
  61. package/dist/browser/components/EmbedResolver.d.mts +0 -3
  62. package/dist/browser/components/EmbedResolver.d.mts.map +0 -1
  63. package/dist/browser/components/EmbedResolver.d.ts +0 -3
  64. package/dist/browser/components/EmbedResolver.d.ts.map +0 -1
  65. package/dist/browser/components/controls/EmbedFormControl.d.cts +0 -9
  66. package/dist/browser/components/controls/EmbedFormControl.d.cts.map +0 -1
  67. package/dist/browser/components/controls/EmbedFormControl.d.mts +0 -9
  68. package/dist/browser/components/controls/EmbedFormControl.d.mts.map +0 -1
  69. package/dist/browser/components/controls/EmbedFormControl.d.ts +0 -9
  70. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +0 -1
  71. package/dist/browser/components/controls/ListModeSelect.d.cts +0 -5
  72. package/dist/browser/components/controls/ListModeSelect.d.cts.map +0 -1
  73. package/dist/browser/components/controls/ListModeSelect.d.mts +0 -5
  74. package/dist/browser/components/controls/ListModeSelect.d.mts.map +0 -1
  75. package/dist/browser/components/controls/ListModeSelect.d.ts +0 -5
  76. package/dist/browser/components/controls/ListModeSelect.d.ts.map +0 -1
  77. package/dist/browser/components/controls/RenderSelect.d.cts +0 -3
  78. package/dist/browser/components/controls/RenderSelect.d.cts.map +0 -1
  79. package/dist/browser/components/controls/RenderSelect.d.mts +0 -3
  80. package/dist/browser/components/controls/RenderSelect.d.mts.map +0 -1
  81. package/dist/browser/components/controls/RenderSelect.d.ts +0 -3
  82. package/dist/browser/components/controls/RenderSelect.d.ts.map +0 -1
  83. package/dist/browser/components/controls/index.d.cts +0 -4
  84. package/dist/browser/components/controls/index.d.cts.map +0 -1
  85. package/dist/browser/components/controls/index.d.mts +0 -4
  86. package/dist/browser/components/controls/index.d.mts.map +0 -1
  87. package/dist/browser/components/controls/index.d.ts +0 -4
  88. package/dist/browser/components/controls/index.d.ts.map +0 -1
  89. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +0 -4
  90. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +0 -1
  91. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +0 -4
  92. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
  93. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +0 -4
  94. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
  95. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +0 -9
  96. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +0 -1
  97. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +0 -9
  98. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
  99. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +0 -9
  100. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
  101. package/dist/browser/components/embed-card/card/BusyCard.d.cts +0 -10
  102. package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +0 -1
  103. package/dist/browser/components/embed-card/card/BusyCard.d.mts +0 -10
  104. package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +0 -1
  105. package/dist/browser/components/embed-card/card/BusyCard.d.ts +0 -10
  106. package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +0 -1
  107. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +0 -3
  108. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +0 -1
  109. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +0 -3
  110. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
  111. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +0 -3
  112. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
  113. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +0 -3
  114. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +0 -1
  115. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +0 -3
  116. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
  117. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +0 -3
  118. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
  119. package/dist/browser/components/embed-card/card/index.d.cts +0 -4
  120. package/dist/browser/components/embed-card/card/index.d.cts.map +0 -1
  121. package/dist/browser/components/embed-card/card/index.d.mts +0 -4
  122. package/dist/browser/components/embed-card/card/index.d.mts.map +0 -1
  123. package/dist/browser/components/embed-card/card/index.d.ts +0 -4
  124. package/dist/browser/components/embed-card/card/index.d.ts.map +0 -1
  125. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -9
  126. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +0 -1
  127. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -9
  128. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
  129. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -9
  130. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
  131. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -13
  132. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +0 -1
  133. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -13
  134. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
  135. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -13
  136. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
  137. package/dist/browser/components/embed-card/error-handling/index.d.cts +0 -3
  138. package/dist/browser/components/embed-card/error-handling/index.d.cts.map +0 -1
  139. package/dist/browser/components/embed-card/error-handling/index.d.mts +0 -3
  140. package/dist/browser/components/embed-card/error-handling/index.d.mts.map +0 -1
  141. package/dist/browser/components/embed-card/error-handling/index.d.ts +0 -3
  142. package/dist/browser/components/embed-card/error-handling/index.d.ts.map +0 -1
  143. package/dist/browser/components/embed-card/index.d.cts +0 -3
  144. package/dist/browser/components/embed-card/index.d.cts.map +0 -1
  145. package/dist/browser/components/embed-card/index.d.mts +0 -3
  146. package/dist/browser/components/embed-card/index.d.mts.map +0 -1
  147. package/dist/browser/components/embed-card/index.d.ts +0 -3
  148. package/dist/browser/components/embed-card/index.d.ts.map +0 -1
  149. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +0 -3
  150. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +0 -1
  151. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +0 -3
  152. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
  153. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +0 -3
  154. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
  155. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +0 -3
  156. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +0 -1
  157. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +0 -3
  158. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
  159. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +0 -3
  160. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
  161. package/dist/browser/components/embed-card/menu/index.d.cts +0 -2
  162. package/dist/browser/components/embed-card/menu/index.d.cts.map +0 -1
  163. package/dist/browser/components/embed-card/menu/index.d.mts +0 -2
  164. package/dist/browser/components/embed-card/menu/index.d.mts.map +0 -1
  165. package/dist/browser/components/embed-card/menu/index.d.ts +0 -2
  166. package/dist/browser/components/embed-card/menu/index.d.ts.map +0 -1
  167. package/dist/browser/components/index.d.cts +0 -3
  168. package/dist/browser/components/index.d.cts.map +0 -1
  169. package/dist/browser/components/index.d.mts +0 -3
  170. package/dist/browser/components/index.d.mts.map +0 -1
  171. package/dist/browser/components/index.d.ts +0 -3
  172. package/dist/browser/components/index.d.ts.map +0 -1
  173. package/dist/browser/components/stories/storyPayload.d.cts +0 -126
  174. package/dist/browser/components/stories/storyPayload.d.cts.map +0 -1
  175. package/dist/browser/components/stories/storyPayload.d.mts +0 -126
  176. package/dist/browser/components/stories/storyPayload.d.mts.map +0 -1
  177. package/dist/browser/components/stories/storyPayload.d.ts +0 -126
  178. package/dist/browser/components/stories/storyPayload.d.ts.map +0 -1
  179. package/dist/browser/components/stories/storyShared.d.cts +0 -5
  180. package/dist/browser/components/stories/storyShared.d.cts.map +0 -1
  181. package/dist/browser/components/stories/storyShared.d.mts +0 -5
  182. package/dist/browser/components/stories/storyShared.d.mts.map +0 -1
  183. package/dist/browser/components/stories/storyShared.d.ts +0 -5
  184. package/dist/browser/components/stories/storyShared.d.ts.map +0 -1
  185. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +0 -4
  186. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +0 -1
  187. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +0 -4
  188. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
  189. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +0 -4
  190. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
  191. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +0 -4
  192. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +0 -1
  193. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +0 -4
  194. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
  195. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +0 -4
  196. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
  197. package/dist/browser/components/validation-alerts/index.d.cts +0 -3
  198. package/dist/browser/components/validation-alerts/index.d.cts.map +0 -1
  199. package/dist/browser/components/validation-alerts/index.d.mts +0 -3
  200. package/dist/browser/components/validation-alerts/index.d.mts.map +0 -1
  201. package/dist/browser/components/validation-alerts/index.d.ts +0 -3
  202. package/dist/browser/components/validation-alerts/index.d.ts.map +0 -1
  203. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +0 -3
  204. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +0 -1
  205. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +0 -3
  206. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
  207. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +0 -3
  208. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
  209. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +0 -5
  210. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +0 -1
  211. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +0 -5
  212. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
  213. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +0 -5
  214. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
  215. package/dist/browser/contexts/EmbedPluginContext/State.d.cts +0 -28
  216. package/dist/browser/contexts/EmbedPluginContext/State.d.cts.map +0 -1
  217. package/dist/browser/contexts/EmbedPluginContext/State.d.mts +0 -28
  218. package/dist/browser/contexts/EmbedPluginContext/State.d.mts.map +0 -1
  219. package/dist/browser/contexts/EmbedPluginContext/State.d.ts +0 -28
  220. package/dist/browser/contexts/EmbedPluginContext/State.d.ts.map +0 -1
  221. package/dist/browser/contexts/EmbedPluginContext/index.d.cts +0 -5
  222. package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +0 -1
  223. package/dist/browser/contexts/EmbedPluginContext/index.d.mts +0 -5
  224. package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +0 -1
  225. package/dist/browser/contexts/EmbedPluginContext/index.d.ts +0 -5
  226. package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +0 -1
  227. package/dist/browser/contexts/EmbedPluginContext/use.d.cts +0 -2
  228. package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +0 -1
  229. package/dist/browser/contexts/EmbedPluginContext/use.d.mts +0 -2
  230. package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +0 -1
  231. package/dist/browser/contexts/EmbedPluginContext/use.d.ts +0 -2
  232. package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +0 -1
  233. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +0 -3
  234. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +0 -1
  235. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +0 -3
  236. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
  237. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +0 -3
  238. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
  239. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +0 -7
  240. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +0 -1
  241. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +0 -7
  242. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
  243. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +0 -7
  244. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
  245. package/dist/browser/contexts/RefreshPayloadContext/State.d.cts +0 -8
  246. package/dist/browser/contexts/RefreshPayloadContext/State.d.cts.map +0 -1
  247. package/dist/browser/contexts/RefreshPayloadContext/State.d.mts +0 -8
  248. package/dist/browser/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
  249. package/dist/browser/contexts/RefreshPayloadContext/State.d.ts +0 -8
  250. package/dist/browser/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
  251. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +0 -4
  252. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +0 -1
  253. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +0 -4
  254. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
  255. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +0 -4
  256. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
  257. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +0 -2
  258. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +0 -1
  259. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +0 -2
  260. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
  261. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +0 -2
  262. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
  263. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +0 -3
  264. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts.map +0 -1
  265. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +0 -3
  266. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
  267. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +0 -3
  268. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
  269. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +0 -5
  270. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +0 -1
  271. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +0 -5
  272. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
  273. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +0 -5
  274. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
  275. package/dist/browser/contexts/ResolvePayloadContext/State.d.cts +0 -13
  276. package/dist/browser/contexts/ResolvePayloadContext/State.d.cts.map +0 -1
  277. package/dist/browser/contexts/ResolvePayloadContext/State.d.mts +0 -13
  278. package/dist/browser/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
  279. package/dist/browser/contexts/ResolvePayloadContext/State.d.ts +0 -13
  280. package/dist/browser/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
  281. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +0 -5
  282. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +0 -1
  283. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +0 -5
  284. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
  285. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +0 -5
  286. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
  287. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +0 -2
  288. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +0 -1
  289. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +0 -2
  290. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
  291. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +0 -2
  292. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
  293. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +0 -3
  294. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts.map +0 -1
  295. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +0 -3
  296. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
  297. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +0 -3
  298. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
  299. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +0 -6
  300. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +0 -1
  301. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +0 -6
  302. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
  303. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +0 -6
  304. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
  305. package/dist/browser/contexts/ValidatePayloadContext/State.d.cts +0 -7
  306. package/dist/browser/contexts/ValidatePayloadContext/State.d.cts.map +0 -1
  307. package/dist/browser/contexts/ValidatePayloadContext/State.d.mts +0 -7
  308. package/dist/browser/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
  309. package/dist/browser/contexts/ValidatePayloadContext/State.d.ts +0 -7
  310. package/dist/browser/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
  311. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +0 -4
  312. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +0 -1
  313. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +0 -4
  314. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
  315. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +0 -4
  316. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
  317. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +0 -2
  318. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +0 -1
  319. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +0 -2
  320. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
  321. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +0 -2
  322. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
  323. package/dist/browser/contexts/index.d.cts +0 -5
  324. package/dist/browser/contexts/index.d.cts.map +0 -1
  325. package/dist/browser/contexts/index.d.mts +0 -5
  326. package/dist/browser/contexts/index.d.mts.map +0 -1
  327. package/dist/browser/contexts/index.d.ts +0 -5
  328. package/dist/browser/contexts/index.d.ts.map +0 -1
  329. package/dist/browser/index.cjs +0 -518
  330. package/dist/browser/index.cjs.map +0 -1
  331. package/dist/browser/index.d.cts +0 -4
  332. package/dist/browser/index.d.cts.map +0 -1
  333. package/dist/browser/index.d.mts +0 -4
  334. package/dist/browser/index.d.mts.map +0 -1
  335. package/dist/browser/index.d.ts.map +0 -1
  336. package/dist/browser/index.js +0 -498
  337. package/dist/browser/index.js.map +0 -1
  338. package/dist/browser/types/EmbedPluginProps.d.cts +0 -9
  339. package/dist/browser/types/EmbedPluginProps.d.cts.map +0 -1
  340. package/dist/browser/types/EmbedPluginProps.d.mts +0 -9
  341. package/dist/browser/types/EmbedPluginProps.d.mts.map +0 -1
  342. package/dist/browser/types/EmbedPluginProps.d.ts +0 -9
  343. package/dist/browser/types/EmbedPluginProps.d.ts.map +0 -1
  344. package/dist/browser/types/index.d.cts +0 -2
  345. package/dist/browser/types/index.d.cts.map +0 -1
  346. package/dist/browser/types/index.d.mts +0 -2
  347. package/dist/browser/types/index.d.mts.map +0 -1
  348. package/dist/browser/types/index.d.ts +0 -2
  349. package/dist/browser/types/index.d.ts.map +0 -1
  350. package/dist/neutral/components/EmbedPlugin.d.cts +0 -4
  351. package/dist/neutral/components/EmbedPlugin.d.cts.map +0 -1
  352. package/dist/neutral/components/EmbedPlugin.d.mts +0 -4
  353. package/dist/neutral/components/EmbedPlugin.d.mts.map +0 -1
  354. package/dist/neutral/components/EmbedPlugin.d.ts +0 -4
  355. package/dist/neutral/components/EmbedPlugin.d.ts.map +0 -1
  356. package/dist/neutral/components/EmbedResolver.d.cts +0 -3
  357. package/dist/neutral/components/EmbedResolver.d.cts.map +0 -1
  358. package/dist/neutral/components/EmbedResolver.d.mts +0 -3
  359. package/dist/neutral/components/EmbedResolver.d.mts.map +0 -1
  360. package/dist/neutral/components/EmbedResolver.d.ts +0 -3
  361. package/dist/neutral/components/EmbedResolver.d.ts.map +0 -1
  362. package/dist/neutral/components/controls/EmbedFormControl.d.cts +0 -9
  363. package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +0 -1
  364. package/dist/neutral/components/controls/EmbedFormControl.d.mts +0 -9
  365. package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +0 -1
  366. package/dist/neutral/components/controls/EmbedFormControl.d.ts +0 -9
  367. package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +0 -1
  368. package/dist/neutral/components/controls/ListModeSelect.d.cts +0 -5
  369. package/dist/neutral/components/controls/ListModeSelect.d.cts.map +0 -1
  370. package/dist/neutral/components/controls/ListModeSelect.d.mts +0 -5
  371. package/dist/neutral/components/controls/ListModeSelect.d.mts.map +0 -1
  372. package/dist/neutral/components/controls/ListModeSelect.d.ts +0 -5
  373. package/dist/neutral/components/controls/ListModeSelect.d.ts.map +0 -1
  374. package/dist/neutral/components/controls/RenderSelect.d.cts +0 -3
  375. package/dist/neutral/components/controls/RenderSelect.d.cts.map +0 -1
  376. package/dist/neutral/components/controls/RenderSelect.d.mts +0 -3
  377. package/dist/neutral/components/controls/RenderSelect.d.mts.map +0 -1
  378. package/dist/neutral/components/controls/RenderSelect.d.ts +0 -3
  379. package/dist/neutral/components/controls/RenderSelect.d.ts.map +0 -1
  380. package/dist/neutral/components/controls/index.d.cts +0 -4
  381. package/dist/neutral/components/controls/index.d.cts.map +0 -1
  382. package/dist/neutral/components/controls/index.d.mts +0 -4
  383. package/dist/neutral/components/controls/index.d.mts.map +0 -1
  384. package/dist/neutral/components/controls/index.d.ts +0 -4
  385. package/dist/neutral/components/controls/index.d.ts.map +0 -1
  386. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +0 -4
  387. package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +0 -1
  388. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +0 -4
  389. package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
  390. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +0 -4
  391. package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
  392. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +0 -9
  393. package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +0 -1
  394. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +0 -9
  395. package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
  396. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +0 -9
  397. package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
  398. package/dist/neutral/components/embed-card/card/BusyCard.d.cts +0 -10
  399. package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +0 -1
  400. package/dist/neutral/components/embed-card/card/BusyCard.d.mts +0 -10
  401. package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +0 -1
  402. package/dist/neutral/components/embed-card/card/BusyCard.d.ts +0 -10
  403. package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +0 -1
  404. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +0 -3
  405. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +0 -1
  406. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +0 -3
  407. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
  408. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +0 -3
  409. package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
  410. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +0 -3
  411. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +0 -1
  412. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +0 -3
  413. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
  414. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +0 -3
  415. package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
  416. package/dist/neutral/components/embed-card/card/index.d.cts +0 -4
  417. package/dist/neutral/components/embed-card/card/index.d.cts.map +0 -1
  418. package/dist/neutral/components/embed-card/card/index.d.mts +0 -4
  419. package/dist/neutral/components/embed-card/card/index.d.mts.map +0 -1
  420. package/dist/neutral/components/embed-card/card/index.d.ts +0 -4
  421. package/dist/neutral/components/embed-card/card/index.d.ts.map +0 -1
  422. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -9
  423. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +0 -1
  424. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -9
  425. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
  426. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -9
  427. package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
  428. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -13
  429. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +0 -1
  430. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -13
  431. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
  432. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -13
  433. package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
  434. package/dist/neutral/components/embed-card/error-handling/index.d.cts +0 -3
  435. package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +0 -1
  436. package/dist/neutral/components/embed-card/error-handling/index.d.mts +0 -3
  437. package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +0 -1
  438. package/dist/neutral/components/embed-card/error-handling/index.d.ts +0 -3
  439. package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +0 -1
  440. package/dist/neutral/components/embed-card/index.d.cts +0 -3
  441. package/dist/neutral/components/embed-card/index.d.cts.map +0 -1
  442. package/dist/neutral/components/embed-card/index.d.mts +0 -3
  443. package/dist/neutral/components/embed-card/index.d.mts.map +0 -1
  444. package/dist/neutral/components/embed-card/index.d.ts +0 -3
  445. package/dist/neutral/components/embed-card/index.d.ts.map +0 -1
  446. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +0 -3
  447. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +0 -1
  448. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +0 -3
  449. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
  450. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +0 -3
  451. package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
  452. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +0 -3
  453. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +0 -1
  454. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +0 -3
  455. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
  456. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +0 -3
  457. package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
  458. package/dist/neutral/components/embed-card/menu/index.d.cts +0 -2
  459. package/dist/neutral/components/embed-card/menu/index.d.cts.map +0 -1
  460. package/dist/neutral/components/embed-card/menu/index.d.mts +0 -2
  461. package/dist/neutral/components/embed-card/menu/index.d.mts.map +0 -1
  462. package/dist/neutral/components/embed-card/menu/index.d.ts +0 -2
  463. package/dist/neutral/components/embed-card/menu/index.d.ts.map +0 -1
  464. package/dist/neutral/components/index.d.cts +0 -3
  465. package/dist/neutral/components/index.d.cts.map +0 -1
  466. package/dist/neutral/components/index.d.mts +0 -3
  467. package/dist/neutral/components/index.d.mts.map +0 -1
  468. package/dist/neutral/components/index.d.ts +0 -3
  469. package/dist/neutral/components/index.d.ts.map +0 -1
  470. package/dist/neutral/components/stories/storyPayload.d.cts +0 -126
  471. package/dist/neutral/components/stories/storyPayload.d.cts.map +0 -1
  472. package/dist/neutral/components/stories/storyPayload.d.mts +0 -126
  473. package/dist/neutral/components/stories/storyPayload.d.mts.map +0 -1
  474. package/dist/neutral/components/stories/storyPayload.d.ts +0 -126
  475. package/dist/neutral/components/stories/storyPayload.d.ts.map +0 -1
  476. package/dist/neutral/components/stories/storyShared.d.cts +0 -5
  477. package/dist/neutral/components/stories/storyShared.d.cts.map +0 -1
  478. package/dist/neutral/components/stories/storyShared.d.mts +0 -5
  479. package/dist/neutral/components/stories/storyShared.d.mts.map +0 -1
  480. package/dist/neutral/components/stories/storyShared.d.ts +0 -5
  481. package/dist/neutral/components/stories/storyShared.d.ts.map +0 -1
  482. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +0 -4
  483. package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +0 -1
  484. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +0 -4
  485. package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
  486. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +0 -4
  487. package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
  488. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +0 -4
  489. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +0 -1
  490. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +0 -4
  491. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
  492. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +0 -4
  493. package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
  494. package/dist/neutral/components/validation-alerts/index.d.cts +0 -3
  495. package/dist/neutral/components/validation-alerts/index.d.cts.map +0 -1
  496. package/dist/neutral/components/validation-alerts/index.d.mts +0 -3
  497. package/dist/neutral/components/validation-alerts/index.d.mts.map +0 -1
  498. package/dist/neutral/components/validation-alerts/index.d.ts +0 -3
  499. package/dist/neutral/components/validation-alerts/index.d.ts.map +0 -1
  500. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +0 -3
  501. package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +0 -1
  502. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +0 -3
  503. package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
  504. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +0 -3
  505. package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
  506. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +0 -5
  507. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +0 -1
  508. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +0 -5
  509. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
  510. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +0 -5
  511. package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
  512. package/dist/neutral/contexts/EmbedPluginContext/State.d.cts +0 -28
  513. package/dist/neutral/contexts/EmbedPluginContext/State.d.cts.map +0 -1
  514. package/dist/neutral/contexts/EmbedPluginContext/State.d.mts +0 -28
  515. package/dist/neutral/contexts/EmbedPluginContext/State.d.mts.map +0 -1
  516. package/dist/neutral/contexts/EmbedPluginContext/State.d.ts +0 -28
  517. package/dist/neutral/contexts/EmbedPluginContext/State.d.ts.map +0 -1
  518. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +0 -5
  519. package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +0 -1
  520. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +0 -5
  521. package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +0 -1
  522. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +0 -5
  523. package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +0 -1
  524. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +0 -2
  525. package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +0 -1
  526. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +0 -2
  527. package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +0 -1
  528. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +0 -2
  529. package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +0 -1
  530. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +0 -3
  531. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +0 -1
  532. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +0 -3
  533. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
  534. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +0 -3
  535. package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
  536. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +0 -7
  537. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +0 -1
  538. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +0 -7
  539. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
  540. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +0 -7
  541. package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
  542. package/dist/neutral/contexts/RefreshPayloadContext/State.d.cts +0 -8
  543. package/dist/neutral/contexts/RefreshPayloadContext/State.d.cts.map +0 -1
  544. package/dist/neutral/contexts/RefreshPayloadContext/State.d.mts +0 -8
  545. package/dist/neutral/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
  546. package/dist/neutral/contexts/RefreshPayloadContext/State.d.ts +0 -8
  547. package/dist/neutral/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
  548. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +0 -4
  549. package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +0 -1
  550. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +0 -4
  551. package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
  552. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +0 -4
  553. package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
  554. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +0 -2
  555. package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +0 -1
  556. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +0 -2
  557. package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
  558. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +0 -2
  559. package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
  560. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +0 -3
  561. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts.map +0 -1
  562. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +0 -3
  563. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
  564. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +0 -3
  565. package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
  566. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +0 -5
  567. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +0 -1
  568. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +0 -5
  569. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
  570. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +0 -5
  571. package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
  572. package/dist/neutral/contexts/ResolvePayloadContext/State.d.cts +0 -13
  573. package/dist/neutral/contexts/ResolvePayloadContext/State.d.cts.map +0 -1
  574. package/dist/neutral/contexts/ResolvePayloadContext/State.d.mts +0 -13
  575. package/dist/neutral/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
  576. package/dist/neutral/contexts/ResolvePayloadContext/State.d.ts +0 -13
  577. package/dist/neutral/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
  578. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +0 -5
  579. package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +0 -1
  580. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +0 -5
  581. package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
  582. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +0 -5
  583. package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
  584. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +0 -2
  585. package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +0 -1
  586. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +0 -2
  587. package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
  588. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +0 -2
  589. package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
  590. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +0 -3
  591. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts.map +0 -1
  592. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +0 -3
  593. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
  594. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +0 -3
  595. package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
  596. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +0 -6
  597. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +0 -1
  598. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +0 -6
  599. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
  600. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +0 -6
  601. package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
  602. package/dist/neutral/contexts/ValidatePayloadContext/State.d.cts +0 -7
  603. package/dist/neutral/contexts/ValidatePayloadContext/State.d.cts.map +0 -1
  604. package/dist/neutral/contexts/ValidatePayloadContext/State.d.mts +0 -7
  605. package/dist/neutral/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
  606. package/dist/neutral/contexts/ValidatePayloadContext/State.d.ts +0 -7
  607. package/dist/neutral/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
  608. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +0 -4
  609. package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +0 -1
  610. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +0 -4
  611. package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
  612. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +0 -4
  613. package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
  614. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +0 -2
  615. package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +0 -1
  616. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +0 -2
  617. package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
  618. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +0 -2
  619. package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
  620. package/dist/neutral/contexts/index.d.cts +0 -5
  621. package/dist/neutral/contexts/index.d.cts.map +0 -1
  622. package/dist/neutral/contexts/index.d.mts +0 -5
  623. package/dist/neutral/contexts/index.d.mts.map +0 -1
  624. package/dist/neutral/contexts/index.d.ts +0 -5
  625. package/dist/neutral/contexts/index.d.ts.map +0 -1
  626. package/dist/neutral/index.cjs +0 -518
  627. package/dist/neutral/index.cjs.map +0 -1
  628. package/dist/neutral/index.d.cts +0 -4
  629. package/dist/neutral/index.d.cts.map +0 -1
  630. package/dist/neutral/index.d.mts +0 -4
  631. package/dist/neutral/index.d.mts.map +0 -1
  632. package/dist/neutral/index.d.ts +0 -4
  633. package/dist/neutral/index.d.ts.map +0 -1
  634. package/dist/neutral/index.js +0 -498
  635. package/dist/neutral/index.js.map +0 -1
  636. package/dist/neutral/types/EmbedPluginProps.d.cts +0 -9
  637. package/dist/neutral/types/EmbedPluginProps.d.cts.map +0 -1
  638. package/dist/neutral/types/EmbedPluginProps.d.mts +0 -9
  639. package/dist/neutral/types/EmbedPluginProps.d.mts.map +0 -1
  640. package/dist/neutral/types/EmbedPluginProps.d.ts +0 -9
  641. package/dist/neutral/types/EmbedPluginProps.d.ts.map +0 -1
  642. package/dist/neutral/types/index.d.cts +0 -2
  643. package/dist/neutral/types/index.d.cts.map +0 -1
  644. package/dist/neutral/types/index.d.mts +0 -2
  645. package/dist/neutral/types/index.d.mts.map +0 -1
  646. package/dist/neutral/types/index.d.ts +0 -2
  647. package/dist/neutral/types/index.d.ts.map +0 -1
  648. package/dist/node/components/EmbedPlugin.d.cts +0 -4
  649. package/dist/node/components/EmbedPlugin.d.cts.map +0 -1
  650. package/dist/node/components/EmbedPlugin.d.mts +0 -4
  651. package/dist/node/components/EmbedPlugin.d.mts.map +0 -1
  652. package/dist/node/components/EmbedPlugin.d.ts +0 -4
  653. package/dist/node/components/EmbedPlugin.d.ts.map +0 -1
  654. package/dist/node/components/EmbedResolver.d.cts +0 -3
  655. package/dist/node/components/EmbedResolver.d.cts.map +0 -1
  656. package/dist/node/components/EmbedResolver.d.mts +0 -3
  657. package/dist/node/components/EmbedResolver.d.mts.map +0 -1
  658. package/dist/node/components/EmbedResolver.d.ts +0 -3
  659. package/dist/node/components/EmbedResolver.d.ts.map +0 -1
  660. package/dist/node/components/controls/EmbedFormControl.d.cts +0 -9
  661. package/dist/node/components/controls/EmbedFormControl.d.cts.map +0 -1
  662. package/dist/node/components/controls/EmbedFormControl.d.mts +0 -9
  663. package/dist/node/components/controls/EmbedFormControl.d.mts.map +0 -1
  664. package/dist/node/components/controls/EmbedFormControl.d.ts +0 -9
  665. package/dist/node/components/controls/EmbedFormControl.d.ts.map +0 -1
  666. package/dist/node/components/controls/ListModeSelect.d.cts +0 -5
  667. package/dist/node/components/controls/ListModeSelect.d.cts.map +0 -1
  668. package/dist/node/components/controls/ListModeSelect.d.mts +0 -5
  669. package/dist/node/components/controls/ListModeSelect.d.mts.map +0 -1
  670. package/dist/node/components/controls/ListModeSelect.d.ts +0 -5
  671. package/dist/node/components/controls/ListModeSelect.d.ts.map +0 -1
  672. package/dist/node/components/controls/RenderSelect.d.cts +0 -3
  673. package/dist/node/components/controls/RenderSelect.d.cts.map +0 -1
  674. package/dist/node/components/controls/RenderSelect.d.mts +0 -3
  675. package/dist/node/components/controls/RenderSelect.d.mts.map +0 -1
  676. package/dist/node/components/controls/RenderSelect.d.ts +0 -3
  677. package/dist/node/components/controls/RenderSelect.d.ts.map +0 -1
  678. package/dist/node/components/controls/index.d.cts +0 -4
  679. package/dist/node/components/controls/index.d.cts.map +0 -1
  680. package/dist/node/components/controls/index.d.mts +0 -4
  681. package/dist/node/components/controls/index.d.mts.map +0 -1
  682. package/dist/node/components/controls/index.d.ts +0 -4
  683. package/dist/node/components/controls/index.d.ts.map +0 -1
  684. package/dist/node/components/embed-card/EmbedCardResolver.d.cts +0 -4
  685. package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +0 -1
  686. package/dist/node/components/embed-card/EmbedCardResolver.d.mts +0 -4
  687. package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
  688. package/dist/node/components/embed-card/EmbedCardResolver.d.ts +0 -4
  689. package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
  690. package/dist/node/components/embed-card/EmbedPluginCard.d.cts +0 -9
  691. package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +0 -1
  692. package/dist/node/components/embed-card/EmbedPluginCard.d.mts +0 -9
  693. package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
  694. package/dist/node/components/embed-card/EmbedPluginCard.d.ts +0 -9
  695. package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
  696. package/dist/node/components/embed-card/card/BusyCard.d.cts +0 -10
  697. package/dist/node/components/embed-card/card/BusyCard.d.cts.map +0 -1
  698. package/dist/node/components/embed-card/card/BusyCard.d.mts +0 -10
  699. package/dist/node/components/embed-card/card/BusyCard.d.mts.map +0 -1
  700. package/dist/node/components/embed-card/card/BusyCard.d.ts +0 -10
  701. package/dist/node/components/embed-card/card/BusyCard.d.ts.map +0 -1
  702. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +0 -3
  703. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +0 -1
  704. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +0 -3
  705. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
  706. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +0 -3
  707. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
  708. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +0 -3
  709. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +0 -1
  710. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +0 -3
  711. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
  712. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +0 -3
  713. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
  714. package/dist/node/components/embed-card/card/index.d.cts +0 -4
  715. package/dist/node/components/embed-card/card/index.d.cts.map +0 -1
  716. package/dist/node/components/embed-card/card/index.d.mts +0 -4
  717. package/dist/node/components/embed-card/card/index.d.mts.map +0 -1
  718. package/dist/node/components/embed-card/card/index.d.ts +0 -4
  719. package/dist/node/components/embed-card/card/index.d.ts.map +0 -1
  720. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -9
  721. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +0 -1
  722. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -9
  723. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
  724. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -9
  725. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
  726. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -13
  727. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +0 -1
  728. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -13
  729. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
  730. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -13
  731. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
  732. package/dist/node/components/embed-card/error-handling/index.d.cts +0 -3
  733. package/dist/node/components/embed-card/error-handling/index.d.cts.map +0 -1
  734. package/dist/node/components/embed-card/error-handling/index.d.mts +0 -3
  735. package/dist/node/components/embed-card/error-handling/index.d.mts.map +0 -1
  736. package/dist/node/components/embed-card/error-handling/index.d.ts +0 -3
  737. package/dist/node/components/embed-card/error-handling/index.d.ts.map +0 -1
  738. package/dist/node/components/embed-card/index.d.cts +0 -3
  739. package/dist/node/components/embed-card/index.d.cts.map +0 -1
  740. package/dist/node/components/embed-card/index.d.mts +0 -3
  741. package/dist/node/components/embed-card/index.d.mts.map +0 -1
  742. package/dist/node/components/embed-card/index.d.ts +0 -3
  743. package/dist/node/components/embed-card/index.d.ts.map +0 -1
  744. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +0 -3
  745. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +0 -1
  746. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +0 -3
  747. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
  748. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +0 -3
  749. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
  750. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +0 -3
  751. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +0 -1
  752. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +0 -3
  753. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
  754. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +0 -3
  755. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
  756. package/dist/node/components/embed-card/menu/index.d.cts +0 -2
  757. package/dist/node/components/embed-card/menu/index.d.cts.map +0 -1
  758. package/dist/node/components/embed-card/menu/index.d.mts +0 -2
  759. package/dist/node/components/embed-card/menu/index.d.mts.map +0 -1
  760. package/dist/node/components/embed-card/menu/index.d.ts +0 -2
  761. package/dist/node/components/embed-card/menu/index.d.ts.map +0 -1
  762. package/dist/node/components/index.d.cts +0 -3
  763. package/dist/node/components/index.d.cts.map +0 -1
  764. package/dist/node/components/index.d.mts +0 -3
  765. package/dist/node/components/index.d.mts.map +0 -1
  766. package/dist/node/components/index.d.ts +0 -3
  767. package/dist/node/components/index.d.ts.map +0 -1
  768. package/dist/node/components/stories/storyPayload.d.cts +0 -126
  769. package/dist/node/components/stories/storyPayload.d.cts.map +0 -1
  770. package/dist/node/components/stories/storyPayload.d.mts +0 -126
  771. package/dist/node/components/stories/storyPayload.d.mts.map +0 -1
  772. package/dist/node/components/stories/storyPayload.d.ts +0 -126
  773. package/dist/node/components/stories/storyPayload.d.ts.map +0 -1
  774. package/dist/node/components/stories/storyShared.d.cts +0 -5
  775. package/dist/node/components/stories/storyShared.d.cts.map +0 -1
  776. package/dist/node/components/stories/storyShared.d.mts +0 -5
  777. package/dist/node/components/stories/storyShared.d.mts.map +0 -1
  778. package/dist/node/components/stories/storyShared.d.ts +0 -5
  779. package/dist/node/components/stories/storyShared.d.ts.map +0 -1
  780. package/dist/node/components/validation-alerts/ValidatePayload.d.cts +0 -4
  781. package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +0 -1
  782. package/dist/node/components/validation-alerts/ValidatePayload.d.mts +0 -4
  783. package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
  784. package/dist/node/components/validation-alerts/ValidatePayload.d.ts +0 -4
  785. package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
  786. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +0 -4
  787. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +0 -1
  788. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +0 -4
  789. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
  790. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +0 -4
  791. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
  792. package/dist/node/components/validation-alerts/index.d.cts +0 -3
  793. package/dist/node/components/validation-alerts/index.d.cts.map +0 -1
  794. package/dist/node/components/validation-alerts/index.d.mts +0 -3
  795. package/dist/node/components/validation-alerts/index.d.mts.map +0 -1
  796. package/dist/node/components/validation-alerts/index.d.ts +0 -3
  797. package/dist/node/components/validation-alerts/index.d.ts.map +0 -1
  798. package/dist/node/contexts/EmbedPluginContext/Context.d.cts +0 -3
  799. package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +0 -1
  800. package/dist/node/contexts/EmbedPluginContext/Context.d.mts +0 -3
  801. package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
  802. package/dist/node/contexts/EmbedPluginContext/Context.d.ts +0 -3
  803. package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
  804. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +0 -5
  805. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +0 -1
  806. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +0 -5
  807. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
  808. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +0 -5
  809. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
  810. package/dist/node/contexts/EmbedPluginContext/State.d.cts +0 -28
  811. package/dist/node/contexts/EmbedPluginContext/State.d.cts.map +0 -1
  812. package/dist/node/contexts/EmbedPluginContext/State.d.mts +0 -28
  813. package/dist/node/contexts/EmbedPluginContext/State.d.mts.map +0 -1
  814. package/dist/node/contexts/EmbedPluginContext/State.d.ts +0 -28
  815. package/dist/node/contexts/EmbedPluginContext/State.d.ts.map +0 -1
  816. package/dist/node/contexts/EmbedPluginContext/index.d.cts +0 -5
  817. package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +0 -1
  818. package/dist/node/contexts/EmbedPluginContext/index.d.mts +0 -5
  819. package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +0 -1
  820. package/dist/node/contexts/EmbedPluginContext/index.d.ts +0 -5
  821. package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +0 -1
  822. package/dist/node/contexts/EmbedPluginContext/use.d.cts +0 -2
  823. package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +0 -1
  824. package/dist/node/contexts/EmbedPluginContext/use.d.mts +0 -2
  825. package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +0 -1
  826. package/dist/node/contexts/EmbedPluginContext/use.d.ts +0 -2
  827. package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +0 -1
  828. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +0 -3
  829. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +0 -1
  830. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +0 -3
  831. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
  832. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +0 -3
  833. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
  834. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +0 -7
  835. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +0 -1
  836. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +0 -7
  837. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
  838. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +0 -7
  839. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
  840. package/dist/node/contexts/RefreshPayloadContext/State.d.cts +0 -8
  841. package/dist/node/contexts/RefreshPayloadContext/State.d.cts.map +0 -1
  842. package/dist/node/contexts/RefreshPayloadContext/State.d.mts +0 -8
  843. package/dist/node/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
  844. package/dist/node/contexts/RefreshPayloadContext/State.d.ts +0 -8
  845. package/dist/node/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
  846. package/dist/node/contexts/RefreshPayloadContext/index.d.cts +0 -4
  847. package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +0 -1
  848. package/dist/node/contexts/RefreshPayloadContext/index.d.mts +0 -4
  849. package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
  850. package/dist/node/contexts/RefreshPayloadContext/index.d.ts +0 -4
  851. package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
  852. package/dist/node/contexts/RefreshPayloadContext/use.d.cts +0 -2
  853. package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +0 -1
  854. package/dist/node/contexts/RefreshPayloadContext/use.d.mts +0 -2
  855. package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
  856. package/dist/node/contexts/RefreshPayloadContext/use.d.ts +0 -2
  857. package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
  858. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +0 -3
  859. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts.map +0 -1
  860. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +0 -3
  861. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
  862. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +0 -3
  863. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
  864. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +0 -5
  865. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +0 -1
  866. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +0 -5
  867. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
  868. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +0 -5
  869. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
  870. package/dist/node/contexts/ResolvePayloadContext/State.d.cts +0 -13
  871. package/dist/node/contexts/ResolvePayloadContext/State.d.cts.map +0 -1
  872. package/dist/node/contexts/ResolvePayloadContext/State.d.mts +0 -13
  873. package/dist/node/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
  874. package/dist/node/contexts/ResolvePayloadContext/State.d.ts +0 -13
  875. package/dist/node/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
  876. package/dist/node/contexts/ResolvePayloadContext/index.d.cts +0 -5
  877. package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +0 -1
  878. package/dist/node/contexts/ResolvePayloadContext/index.d.mts +0 -5
  879. package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
  880. package/dist/node/contexts/ResolvePayloadContext/index.d.ts +0 -5
  881. package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
  882. package/dist/node/contexts/ResolvePayloadContext/use.d.cts +0 -2
  883. package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +0 -1
  884. package/dist/node/contexts/ResolvePayloadContext/use.d.mts +0 -2
  885. package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
  886. package/dist/node/contexts/ResolvePayloadContext/use.d.ts +0 -2
  887. package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
  888. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +0 -3
  889. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts.map +0 -1
  890. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +0 -3
  891. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
  892. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +0 -3
  893. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
  894. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +0 -6
  895. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +0 -1
  896. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +0 -6
  897. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
  898. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +0 -6
  899. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
  900. package/dist/node/contexts/ValidatePayloadContext/State.d.cts +0 -7
  901. package/dist/node/contexts/ValidatePayloadContext/State.d.cts.map +0 -1
  902. package/dist/node/contexts/ValidatePayloadContext/State.d.mts +0 -7
  903. package/dist/node/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
  904. package/dist/node/contexts/ValidatePayloadContext/State.d.ts +0 -7
  905. package/dist/node/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
  906. package/dist/node/contexts/ValidatePayloadContext/index.d.cts +0 -4
  907. package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +0 -1
  908. package/dist/node/contexts/ValidatePayloadContext/index.d.mts +0 -4
  909. package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
  910. package/dist/node/contexts/ValidatePayloadContext/index.d.ts +0 -4
  911. package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
  912. package/dist/node/contexts/ValidatePayloadContext/use.d.cts +0 -2
  913. package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +0 -1
  914. package/dist/node/contexts/ValidatePayloadContext/use.d.mts +0 -2
  915. package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
  916. package/dist/node/contexts/ValidatePayloadContext/use.d.ts +0 -2
  917. package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
  918. package/dist/node/contexts/index.d.cts +0 -5
  919. package/dist/node/contexts/index.d.cts.map +0 -1
  920. package/dist/node/contexts/index.d.mts +0 -5
  921. package/dist/node/contexts/index.d.mts.map +0 -1
  922. package/dist/node/contexts/index.d.ts +0 -5
  923. package/dist/node/contexts/index.d.ts.map +0 -1
  924. package/dist/node/index.cjs +0 -540
  925. package/dist/node/index.cjs.map +0 -1
  926. package/dist/node/index.d.cts +0 -4
  927. package/dist/node/index.d.cts.map +0 -1
  928. package/dist/node/index.d.mts +0 -4
  929. package/dist/node/index.d.mts.map +0 -1
  930. package/dist/node/index.d.ts +0 -4
  931. package/dist/node/index.d.ts.map +0 -1
  932. package/dist/node/index.js +0 -500
  933. package/dist/node/index.js.map +0 -1
  934. package/dist/node/types/EmbedPluginProps.d.cts +0 -9
  935. package/dist/node/types/EmbedPluginProps.d.cts.map +0 -1
  936. package/dist/node/types/EmbedPluginProps.d.mts +0 -9
  937. package/dist/node/types/EmbedPluginProps.d.mts.map +0 -1
  938. package/dist/node/types/EmbedPluginProps.d.ts +0 -9
  939. package/dist/node/types/EmbedPluginProps.d.ts.map +0 -1
  940. package/dist/node/types/index.d.cts +0 -2
  941. package/dist/node/types/index.d.cts.map +0 -1
  942. package/dist/node/types/index.d.mts +0 -2
  943. package/dist/node/types/index.d.mts.map +0 -1
  944. package/dist/node/types/index.d.ts +0 -2
  945. package/dist/node/types/index.d.ts.map +0 -1
@@ -1,4 +1,112 @@
1
- export * from './components/index.js';
2
- export * from './contexts/index.js';
3
- export * from './types/index.js';
4
- //# sourceMappingURL=index.d.ts.map
1
+ import { CardProps, CardHeaderProps } from '@mui/material';
2
+ import { BusyVariant, BusyCircularProgressProps, BusyLinearProgressProps, WithChildren } from '@xylabs/react-shared';
3
+ import * as React from 'react';
4
+ import React__default, { Dispatch, SetStateAction } from 'react';
5
+ import { ModuleError, Payload } from '@xyo-network/payload-model';
6
+ import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
7
+ import * as _xyo_network_react_shared from '@xyo-network/react-shared';
8
+ import { ListMode, ContextExState } from '@xyo-network/react-shared';
9
+
10
+ interface BusyCardProps extends CardProps {
11
+ busy?: boolean;
12
+ busyMinimum?: number;
13
+ busyVariant?: BusyVariant;
14
+ busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps;
15
+ }
16
+ declare const BusyCard: React__default.FC<WithChildren<BusyCardProps>>;
17
+
18
+ declare const EmbedCardHeader: React__default.FC<CardHeaderProps>;
19
+
20
+ declare const EmbedPluginCard: React__default.FC<BusyCardProps>;
21
+
22
+ interface EmbedPluginVisibilityConfig {
23
+ hideAvatar?: boolean;
24
+ hideCardActions?: boolean;
25
+ hideCardHeader?: boolean;
26
+ hideErrorDetails?: boolean;
27
+ hideRefreshButton?: boolean;
28
+ hideTimestamp?: boolean;
29
+ hideTitle?: boolean;
30
+ }
31
+ interface PluginConfig {
32
+ listMode?: ListMode;
33
+ }
34
+ interface EmbedPluginBase {
35
+ embedPluginConfig?: PluginConfig;
36
+ hideElementsConfig?: EmbedPluginVisibilityConfig;
37
+ huri?: string;
38
+ plugins?: PayloadRenderPlugin[];
39
+ refreshTitle?: string;
40
+ timestampLabel?: string;
41
+ }
42
+ interface EmbedPluginState extends EmbedPluginBase, ContextExState {
43
+ activePlugin?: PayloadRenderPlugin;
44
+ setActivePlugin?: Dispatch<SetStateAction<PayloadRenderPlugin | undefined>>;
45
+ }
46
+
47
+ declare const EmbedPluginContext: React.Context<EmbedPluginState & _xyo_network_react_shared.ContextExState>;
48
+
49
+ type EmbedPluginProviderProps = EmbedPluginBase;
50
+ declare const EmbedPluginProvider: React__default.FC<WithChildren<EmbedPluginProviderProps>>;
51
+
52
+ declare const useEmbedPluginState: () => Omit<EmbedPluginState & _xyo_network_react_shared.ContextExState, "provided">;
53
+
54
+ interface RefreshPayloadProps {
55
+ onRefresh?: () => void;
56
+ refreshPayload?: boolean;
57
+ }
58
+ declare const RefreshPayloadProvider: React__default.FC<WithChildren<RefreshPayloadProps>>;
59
+
60
+ interface RefreshPayloadState extends ContextExState {
61
+ onRefresh?: () => void;
62
+ refreshPayload?: boolean;
63
+ setRefreshPayload?: Dispatch<SetStateAction<boolean | undefined>>;
64
+ }
65
+
66
+ declare const useRefreshPayload: () => Omit<RefreshPayloadState & _xyo_network_react_shared.ContextExState, "provided">;
67
+
68
+ interface ResolvePayloadState extends ContextExState {
69
+ huri?: string;
70
+ huriError?: ModuleError;
71
+ huriPayload?: string | Payload;
72
+ notFound?: boolean;
73
+ payload?: Payload;
74
+ refreshHuri?: () => void;
75
+ setPayload?: Dispatch<SetStateAction<Payload | undefined>>;
76
+ }
77
+
78
+ declare const ResolvePayloadContext: React.Context<ResolvePayloadState & _xyo_network_react_shared.ContextExState>;
79
+
80
+ type ResolvePayloadProviderProps = Omit<ResolvePayloadState, 'provided'>;
81
+ declare const ResolvePayloadProvider: React__default.FC<WithChildren<ResolvePayloadProviderProps>>;
82
+
83
+ declare const useResolvePayload: () => Omit<ResolvePayloadState & _xyo_network_react_shared.ContextExState, "provided">;
84
+
85
+ interface ValidatePayloadProviderProps {
86
+ enabled?: boolean;
87
+ }
88
+ declare const ValidatePayloadProvider: React__default.FC<WithChildren<ValidatePayloadProviderProps>>;
89
+
90
+ interface ValidatePayloadState extends ContextExState {
91
+ enabled?: boolean;
92
+ schema?: string;
93
+ validPayload?: boolean;
94
+ }
95
+
96
+ declare const useValidatePayload: () => Omit<ValidatePayloadState & _xyo_network_react_shared.ContextExState, "provided">;
97
+
98
+ interface EmbedPluginProps extends EmbedPluginBase {
99
+ hideElementsConfig?: EmbedPluginVisibilityConfig;
100
+ huriPayload?: string | Payload;
101
+ onRefresh?: () => void;
102
+ validateSchema?: boolean;
103
+ }
104
+
105
+ interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {
106
+ }
107
+ declare const ApiEmbedPluginCard: React__default.FC<EmbedPluginCardProps>;
108
+ declare const EmbedPluginCardInner: React__default.FC<BusyCardProps>;
109
+
110
+ declare const EmbedPluginInner: React__default.FC<WithChildren<EmbedPluginProps>>;
111
+
112
+ export { ApiEmbedPluginCard, BusyCard, type BusyCardProps, EmbedCardHeader, EmbedPluginCard as EmbedPlugin, type EmbedPluginBase, EmbedPluginCard, EmbedPluginCardInner, type EmbedPluginCardProps, EmbedPluginContext, EmbedPluginInner, type EmbedPluginProps, EmbedPluginProvider, type EmbedPluginProviderProps, type EmbedPluginState, type EmbedPluginVisibilityConfig, type PluginConfig, type RefreshPayloadProps, RefreshPayloadProvider, type RefreshPayloadState, ResolvePayloadContext, ResolvePayloadProvider, type ResolvePayloadProviderProps, type ResolvePayloadState, ValidatePayloadProvider, type ValidatePayloadProviderProps, type ValidatePayloadState, useEmbedPluginState, useRefreshPayload, useResolvePayload, useValidatePayload };
@@ -0,0 +1,573 @@
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?.(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?.(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?.();
132
+ if (huri) {
133
+ 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?.(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?.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
+ const { refreshHuri, huri } = useResolvePayload();
261
+ const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
262
+ const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
263
+ const timestamp = Date.now();
264
+ return /* @__PURE__ */ React8.createElement(CardHeader, {
265
+ sx: {
266
+ flexWrap: "wrap",
267
+ rowGap: 1
268
+ },
269
+ avatar: hideAvatar ? /* @__PURE__ */ React8.createElement(React8.Fragment, null) : /* @__PURE__ */ React8.createElement(Avatar, {
270
+ sx: {
271
+ bgcolor: /* @__PURE__ */ __name((theme) => theme.palette.primary.main, "bgcolor")
272
+ },
273
+ "aria-label": activePlugin?.name
274
+ }, activePlugin?.name?.charAt(0)),
275
+ action: /* @__PURE__ */ React8.createElement(FlexRow, {
276
+ flexWrap: "wrap",
277
+ columnGap: 0.5
278
+ }, timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ React8.createElement(Chip2, {
279
+ avatar: hideRefreshButton ? /* @__PURE__ */ React8.createElement(React8.Fragment, null) : /* @__PURE__ */ React8.createElement(RefreshIcon, null),
280
+ clickable: hideRefreshButton ? false : true,
281
+ onClick: refreshHuri,
282
+ label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
283
+ }) : null, hideCardActions || huri === void 0 ? null : /* @__PURE__ */ React8.createElement(EmbedMenu, null)),
284
+ title: hideTitle ? "" : activePlugin?.name
285
+ });
286
+ }, "EmbedCardHeader");
287
+
288
+ // src/components/embed-card/card/EmbedPluginCard.tsx
289
+ import { CardContent } from "@mui/material";
290
+ import { FlexGrowRow } from "@xylabs/react-flexbox";
291
+ import { useListMode as useListMode2 } from "@xyo-network/react-shared";
292
+ import React12 from "react";
293
+
294
+ // src/components/controls/EmbedFormControl.tsx
295
+ import { FormControl, InputLabel } from "@mui/material";
296
+ import React9 from "react";
297
+ var EmbedFormControl = /* @__PURE__ */ __name(({ formId, formLabel, children, ...props }) => {
298
+ return /* @__PURE__ */ React9.createElement(FormControl, props, /* @__PURE__ */ React9.createElement(InputLabel, {
299
+ id: formId
300
+ }, formLabel), children);
301
+ }, "EmbedFormControl");
302
+
303
+ // src/components/controls/ListModeSelect.tsx
304
+ import { MenuItem as MenuItem2 } from "@mui/material";
305
+ import { SelectEx } from "@xylabs/react-select";
306
+ import { useListMode } from "@xyo-network/react-shared";
307
+ import React10 from "react";
308
+ var listModeSelectId = "listmode-select-id";
309
+ var listModeSelectLabel = "List Mode";
310
+ var ListModeSelect = /* @__PURE__ */ __name((props) => {
311
+ const { listMode, setListMode } = useListMode();
312
+ return /* @__PURE__ */ React10.createElement(SelectEx, {
313
+ value: listMode ?? "default",
314
+ onChange: /* @__PURE__ */ __name((event) => {
315
+ setListMode?.(event.target.value);
316
+ }, "onChange"),
317
+ ...props
318
+ }, /* @__PURE__ */ React10.createElement(MenuItem2, {
319
+ key: "default",
320
+ value: "default"
321
+ }, "Default"), /* @__PURE__ */ React10.createElement(MenuItem2, {
322
+ key: "table",
323
+ value: "table"
324
+ }, "Table"), /* @__PURE__ */ React10.createElement(MenuItem2, {
325
+ key: "grid",
326
+ value: "grid"
327
+ }, "Grid"));
328
+ }, "ListModeSelect");
329
+ var ListModeSelectFormControl = /* @__PURE__ */ __name((props) => {
330
+ return /* @__PURE__ */ React10.createElement(EmbedFormControl, {
331
+ formId: listModeSelectId,
332
+ formLabel: listModeSelectLabel
333
+ }, /* @__PURE__ */ React10.createElement(ListModeSelect, {
334
+ size: "small",
335
+ label: listModeSelectLabel,
336
+ labelId: listModeSelectId,
337
+ ...props
338
+ }));
339
+ }, "ListModeSelectFormControl");
340
+
341
+ // src/components/controls/RenderSelect.tsx
342
+ import { MenuItem as MenuItem3 } from "@mui/material";
343
+ import { SelectEx as SelectEx2 } from "@xylabs/react-select";
344
+ import React11 from "react";
345
+ var renderSelectId = "render-select-id";
346
+ var renderSelectLabel = "Renderer";
347
+ var EmbedRenderSelect = /* @__PURE__ */ __name((props) => {
348
+ const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
349
+ return /* @__PURE__ */ React11.createElement(EmbedFormControl, {
350
+ formId: renderSelectId,
351
+ formLabel: renderSelectLabel
352
+ }, /* @__PURE__ */ React11.createElement(SelectEx2, {
353
+ size: "small",
354
+ value: activePlugin?.name,
355
+ ...props
356
+ }, plugins?.map((plugin) => /* @__PURE__ */ React11.createElement(MenuItem3, {
357
+ value: plugin.name,
358
+ key: plugin.name,
359
+ onClick: /* @__PURE__ */ __name(() => setActivePlugin?.(plugin), "onClick")
360
+ }, plugin.name))));
361
+ }, "EmbedRenderSelect");
362
+
363
+ // src/components/embed-card/card/EmbedPluginCard.tsx
364
+ var EmbedPluginCard = /* @__PURE__ */ __name(({ ...props }) => {
365
+ const { payload } = useResolvePayload();
366
+ const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
367
+ const { listMode } = useListMode2();
368
+ const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1;
369
+ return /* @__PURE__ */ React12.createElement(BusyCard, props, hideElementsConfig?.hideCardHeader ? null : /* @__PURE__ */ React12.createElement(EmbedCardHeader, null), plugins && plugins.length > 0 || supportsListMode ? /* @__PURE__ */ React12.createElement(FlexGrowRow, {
370
+ columnGap: 2,
371
+ rowGap: 2,
372
+ flexWrap: "wrap",
373
+ pb: 1
374
+ }, plugins && plugins.length > 1 ? /* @__PURE__ */ React12.createElement(EmbedRenderSelect, null) : null, supportsListMode ? /* @__PURE__ */ React12.createElement(ListModeSelectFormControl, null) : null) : null, /* @__PURE__ */ React12.createElement(CardContent, {
375
+ sx: {
376
+ height: "100%"
377
+ }
378
+ }, ActivePlugin ? /* @__PURE__ */ React12.createElement(ActivePlugin.components.box.detailsBox, {
379
+ payload,
380
+ ...supportsListMode && {
381
+ listMode
382
+ }
383
+ }) : null));
384
+ }, "EmbedPluginCard");
385
+
386
+ // src/components/embed-card/EmbedPluginCard.tsx
387
+ import { useTheme } from "@mui/material";
388
+ import React19 from "react";
389
+
390
+ // src/components/EmbedPlugin.tsx
391
+ import { ErrorBoundary, ListModeProvider } from "@xyo-network/react-shared";
392
+ import React16 from "react";
393
+
394
+ // src/components/EmbedResolver.tsx
395
+ import { LoadResult } from "@xyo-network/react-shared";
396
+ import React13 from "react";
397
+ var EmbedResolver = /* @__PURE__ */ __name(({ children }) => {
398
+ const { payload, notFound, huriError } = useResolvePayload();
399
+ return /* @__PURE__ */ React13.createElement(LoadResult, {
400
+ searchResult: payload,
401
+ notFound: !!notFound,
402
+ error: !!huriError
403
+ }, children);
404
+ }, "EmbedResolver");
405
+
406
+ // src/components/validation-alerts/ValidatePayload.tsx
407
+ import { Alert } from "@mui/material";
408
+ import React14 from "react";
409
+ var ValidatePayloadAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
410
+ const { validPayload, enabled, schema } = useValidatePayload();
411
+ if (enabled && validPayload === false) {
412
+ return /* @__PURE__ */ React14.createElement(Alert, {
413
+ severity: "error",
414
+ title: "Invalid Payload!",
415
+ ...props
416
+ }, "Payload schema claimed to be", " ", schema, " ", "but failed to validate.");
417
+ }
418
+ return /* @__PURE__ */ React14.createElement(React14.Fragment, null, children);
419
+ }, "ValidatePayloadAlert");
420
+
421
+ // src/components/validation-alerts/ValidatePlugins.tsx
422
+ import { Alert as Alert2, AlertTitle } from "@mui/material";
423
+ import React15 from "react";
424
+ var ValidatePluginsAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
425
+ const { payload } = useResolvePayload();
426
+ const { plugins } = useEmbedPluginState();
427
+ if (payload && plugins?.length === 0) {
428
+ return /* @__PURE__ */ React15.createElement(Alert2, {
429
+ severity: "warning",
430
+ ...props
431
+ }, /* @__PURE__ */ React15.createElement(AlertTitle, null, "Missing plugins!"), "Payload found but no plugins were present.");
432
+ }
433
+ return /* @__PURE__ */ React15.createElement(React15.Fragment, null, children);
434
+ }, "ValidatePluginsAlert");
435
+
436
+ // src/components/EmbedPlugin.tsx
437
+ var EmbedPluginInner = /* @__PURE__ */ __name(({ validateSchema, plugins, huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, children }) => {
438
+ return /* @__PURE__ */ React16.createElement(ErrorBoundary, null, /* @__PURE__ */ React16.createElement(EmbedPluginProvider, {
439
+ refreshTitle,
440
+ timestampLabel,
441
+ hideElementsConfig,
442
+ plugins,
443
+ embedPluginConfig
444
+ }, /* @__PURE__ */ React16.createElement(WithResolvers, {
445
+ onRefresh,
446
+ huriPayload
447
+ }, /* @__PURE__ */ React16.createElement(WithValidators, {
448
+ validateSchema
449
+ }, /* @__PURE__ */ React16.createElement(ListModeProvider, {
450
+ defaultListMode: embedPluginConfig?.listMode
451
+ }, children)))));
452
+ }, "EmbedPluginInner");
453
+ var WithResolvers = /* @__PURE__ */ __name(({ children, onRefresh, huriPayload }) => {
454
+ return /* @__PURE__ */ React16.createElement(RefreshPayloadProvider, {
455
+ onRefresh
456
+ }, /* @__PURE__ */ React16.createElement(ResolvePayloadProvider, {
457
+ huriPayload
458
+ }, /* @__PURE__ */ React16.createElement(EmbedResolver, null, children)));
459
+ }, "WithResolvers");
460
+ var WithValidators = /* @__PURE__ */ __name(({ children, validateSchema }) => {
461
+ return /* @__PURE__ */ React16.createElement(ValidatePayloadProvider, {
462
+ enabled: validateSchema
463
+ }, /* @__PURE__ */ React16.createElement(ValidatePluginsAlert, null, /* @__PURE__ */ React16.createElement(ValidatePayloadAlert, null, children)));
464
+ }, "WithValidators");
465
+
466
+ // src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
467
+ import { ErrorAlert, ErrorRender } from "@xyo-network/react-error";
468
+ import React18 from "react";
469
+
470
+ // src/components/embed-card/error-handling/EmbedErrorCard.tsx
471
+ import { Alert as Alert3, AlertTitle as AlertTitle2, Card as Card2, CardContent as CardContent2, Typography } from "@mui/material";
472
+ import React17 from "react";
473
+ var EmbedErrorCard = /* @__PURE__ */ __name((props) => {
474
+ const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props;
475
+ const errorProps = {
476
+ alertProps,
477
+ error,
478
+ hideErrorDetails,
479
+ scope
480
+ };
481
+ return /* @__PURE__ */ React17.createElement(Card2, cardProps, /* @__PURE__ */ React17.createElement(CardContent2, null, children ?? /* @__PURE__ */ React17.createElement(DefaultErrorAlert, errorProps)));
482
+ }, "EmbedErrorCard");
483
+ var DefaultErrorAlert = /* @__PURE__ */ __name(({ alertProps, scope, hideErrorDetails, error }) => {
484
+ return /* @__PURE__ */ React17.createElement(Alert3, {
485
+ severity: "error",
486
+ ...alertProps
487
+ }, /* @__PURE__ */ React17.createElement(AlertTitle2, null, "Whoops! Something went wrong"), scope ? /* @__PURE__ */ React17.createElement(Typography, {
488
+ variant: "caption"
489
+ }, "Scope:", scope) : null, !hideErrorDetails && error ? /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(Typography, {
490
+ variant: "caption"
491
+ }, "Error: "), /* @__PURE__ */ React17.createElement(Typography, {
492
+ variant: "caption"
493
+ }, error?.message)) : /* @__PURE__ */ React17.createElement(Typography, {
494
+ variant: "caption",
495
+ fontSize: "small"
496
+ }, "Error Loading Plugin"));
497
+ }, "DefaultErrorAlert");
498
+
499
+ // src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
500
+ var EmbedCardApiErrorRenderer = /* @__PURE__ */ __name(({ xyoError, children, ...props }) => {
501
+ return /* @__PURE__ */ React18.createElement(ErrorRender, {
502
+ error: xyoError,
503
+ noReAuth: true,
504
+ noErrorDisplay: true,
505
+ customError: /* @__PURE__ */ React18.createElement(CustomApiErrorCard, {
506
+ xyoError,
507
+ ...props
508
+ })
509
+ }, children);
510
+ }, "EmbedCardApiErrorRenderer");
511
+ var CustomApiErrorCard = /* @__PURE__ */ __name(({ xyoError, ...props }) => {
512
+ return /* @__PURE__ */ React18.createElement(EmbedErrorCard, props, /* @__PURE__ */ React18.createElement(ErrorAlert, {
513
+ error: xyoError
514
+ }));
515
+ }, "CustomApiErrorCard");
516
+
517
+ // src/components/embed-card/EmbedPluginCard.tsx
518
+ var ApiEmbedPluginCard = /* @__PURE__ */ __name(({ children, ...props }) => {
519
+ const { validateSchema, plugins = [], huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, ...busyCardProps } = props;
520
+ return /* @__PURE__ */ React19.createElement(EmbedPluginInner, {
521
+ embedPluginConfig,
522
+ hideElementsConfig,
523
+ huriPayload,
524
+ onRefresh,
525
+ plugins,
526
+ refreshTitle,
527
+ timestampLabel,
528
+ validateSchema
529
+ }, /* @__PURE__ */ React19.createElement(EmbedPluginCardInner, busyCardProps), children);
530
+ }, "ApiEmbedPluginCard");
531
+ var EmbedPluginCardInner = /* @__PURE__ */ __name((props) => {
532
+ const { payload, huriError } = useResolvePayload();
533
+ const { refreshPayload } = useRefreshPayload();
534
+ const theme = useTheme();
535
+ return /* @__PURE__ */ React19.createElement(EmbedCardApiErrorRenderer, {
536
+ xyoError: huriError
537
+ }, /* @__PURE__ */ React19.createElement(EmbedPluginCard, {
538
+ elevation: 3,
539
+ variant: "elevation",
540
+ busy: Boolean(!refreshPayload && payload),
541
+ busyVariantProps: {
542
+ style: {
543
+ alignItems: "start",
544
+ paddingTop: theme.spacing(2),
545
+ zIndex: 2
546
+ }
547
+ },
548
+ sx: {
549
+ position: "relative"
550
+ },
551
+ ...props
552
+ }));
553
+ }, "EmbedPluginCardInner");
554
+ export {
555
+ ApiEmbedPluginCard,
556
+ BusyCard,
557
+ EmbedCardHeader,
558
+ EmbedPluginCard as EmbedPlugin,
559
+ EmbedPluginCard,
560
+ EmbedPluginCardInner,
561
+ EmbedPluginContext,
562
+ EmbedPluginInner,
563
+ EmbedPluginProvider,
564
+ RefreshPayloadProvider,
565
+ ResolvePayloadContext,
566
+ ResolvePayloadProvider,
567
+ ValidatePayloadProvider,
568
+ useEmbedPluginState,
569
+ useRefreshPayload,
570
+ useResolvePayload,
571
+ useValidatePayload
572
+ };
573
+ //# sourceMappingURL=index.mjs.map