@xyo-network/react-embed 2.64.0-rc.2 → 2.64.0-rc.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (817) hide show
  1. package/dist/browser/components/EmbedPlugin.d.mts.map +1 -0
  2. package/dist/browser/components/EmbedPlugin.d.ts.map +1 -0
  3. package/dist/browser/components/EmbedPlugin.js +38 -0
  4. package/dist/browser/components/EmbedPlugin.js.map +1 -0
  5. package/dist/browser/components/EmbedResolver.d.mts.map +1 -0
  6. package/dist/browser/components/EmbedResolver.d.ts.map +1 -0
  7. package/dist/browser/components/EmbedResolver.js +11 -0
  8. package/dist/browser/components/EmbedResolver.js.map +1 -0
  9. package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -0
  10. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -0
  11. package/dist/browser/components/controls/EmbedFormControl.js +12 -0
  12. package/dist/browser/components/controls/EmbedFormControl.js.map +1 -0
  13. package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -0
  14. package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -0
  15. package/dist/browser/components/controls/ListModeSelect.js +32 -0
  16. package/dist/browser/components/controls/ListModeSelect.js.map +1 -0
  17. package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -0
  18. package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -0
  19. package/dist/browser/components/controls/RenderSelect.js +14 -0
  20. package/dist/browser/components/controls/RenderSelect.js.map +1 -0
  21. package/dist/browser/components/controls/index.d.mts.map +1 -0
  22. package/dist/browser/components/controls/index.d.ts.map +1 -0
  23. package/dist/browser/components/controls/index.js +4 -0
  24. package/dist/browser/components/controls/index.js.map +1 -0
  25. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
  26. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
  27. package/dist/browser/components/embed-card/EmbedCardResolver.js +27 -0
  28. package/dist/browser/components/embed-card/EmbedCardResolver.js.map +1 -0
  29. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
  30. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
  31. package/dist/browser/components/embed-card/EmbedPluginCard.js +61 -0
  32. package/dist/browser/components/embed-card/EmbedPluginCard.js.map +1 -0
  33. package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -0
  34. package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -0
  35. package/dist/browser/components/embed-card/card/BusyCard.js +26 -0
  36. package/dist/browser/components/embed-card/card/BusyCard.js.map +1 -0
  37. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
  38. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
  39. package/dist/browser/components/embed-card/card/EmbedCardHeader.js +36 -0
  40. package/dist/browser/components/embed-card/card/EmbedCardHeader.js.map +1 -0
  41. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
  42. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
  43. package/dist/browser/components/embed-card/card/EmbedPluginCard.js +26 -0
  44. package/dist/browser/components/embed-card/card/EmbedPluginCard.js.map +1 -0
  45. package/dist/browser/components/embed-card/card/index.d.mts.map +1 -0
  46. package/dist/browser/components/embed-card/card/index.d.ts.map +1 -0
  47. package/dist/browser/components/embed-card/card/index.js +4 -0
  48. package/dist/browser/components/embed-card/card/index.js.map +1 -0
  49. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
  50. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
  51. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +13 -0
  52. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
  53. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
  54. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
  55. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js +20 -0
  56. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
  57. package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -0
  58. package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -0
  59. package/dist/browser/components/embed-card/error-handling/index.js +3 -0
  60. package/dist/browser/components/embed-card/error-handling/index.js.map +1 -0
  61. package/dist/browser/components/embed-card/index.d.mts.map +1 -0
  62. package/dist/browser/components/embed-card/index.d.ts.map +1 -0
  63. package/dist/browser/components/embed-card/index.js +3 -0
  64. package/dist/browser/components/embed-card/index.js.map +1 -0
  65. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
  66. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
  67. package/dist/browser/components/embed-card/menu/EmbedMenu.js +23 -0
  68. package/dist/browser/components/embed-card/menu/EmbedMenu.js.map +1 -0
  69. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
  70. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
  71. package/dist/browser/components/embed-card/menu/JsonMenuItem.js +15 -0
  72. package/dist/browser/components/embed-card/menu/JsonMenuItem.js.map +1 -0
  73. package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -0
  74. package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -0
  75. package/dist/browser/components/embed-card/menu/index.js +2 -0
  76. package/dist/browser/components/embed-card/menu/index.js.map +1 -0
  77. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +25 -0
  78. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +1 -0
  79. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +85 -0
  80. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +1 -0
  81. package/dist/browser/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
  82. package/dist/browser/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
  83. package/dist/browser/components/embed-plugin-stories/storyPayload.js +25 -0
  84. package/dist/browser/components/embed-plugin-stories/storyPayload.js.map +1 -0
  85. package/dist/browser/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
  86. package/dist/browser/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
  87. package/dist/browser/components/embed-plugin-stories/storyShared.js +20 -0
  88. package/dist/browser/components/embed-plugin-stories/storyShared.js.map +1 -0
  89. package/dist/browser/components/index.d.mts.map +1 -0
  90. package/dist/browser/components/index.d.ts.map +1 -0
  91. package/dist/browser/components/index.js +3 -0
  92. package/dist/browser/components/index.js.map +1 -0
  93. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
  94. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
  95. package/dist/browser/components/validation-alerts/ValidatePayload.js +18 -0
  96. package/dist/browser/components/validation-alerts/ValidatePayload.js.map +1 -0
  97. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
  98. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
  99. package/dist/browser/components/validation-alerts/ValidatePlugins.js +18 -0
  100. package/dist/browser/components/validation-alerts/ValidatePlugins.js.map +1 -0
  101. package/dist/browser/components/validation-alerts/index.d.mts.map +1 -0
  102. package/dist/browser/components/validation-alerts/index.d.ts.map +1 -0
  103. package/dist/browser/components/validation-alerts/index.js +3 -0
  104. package/dist/browser/components/validation-alerts/index.js.map +1 -0
  105. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
  106. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
  107. package/dist/browser/contexts/EmbedPluginContext/Context.js +6 -0
  108. package/dist/browser/contexts/EmbedPluginContext/Context.js.map +1 -0
  109. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
  110. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
  111. package/dist/browser/contexts/EmbedPluginContext/Provider.js +35 -0
  112. package/dist/browser/contexts/EmbedPluginContext/Provider.js.map +1 -0
  113. package/dist/browser/contexts/EmbedPluginContext/State.d.mts.map +1 -0
  114. package/dist/browser/contexts/EmbedPluginContext/State.d.ts.map +1 -0
  115. package/dist/browser/contexts/EmbedPluginContext/State.js +1 -0
  116. package/dist/browser/contexts/EmbedPluginContext/State.js.map +1 -0
  117. package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.mts.map +1 -1
  118. package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.ts.map +1 -1
  119. package/dist/browser/contexts/EmbedPluginContext/index.js +5 -0
  120. package/dist/browser/contexts/EmbedPluginContext/index.js.map +1 -0
  121. package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -0
  122. package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -0
  123. package/dist/browser/contexts/EmbedPluginContext/use.js +7 -0
  124. package/dist/browser/contexts/EmbedPluginContext/use.js.map +1 -0
  125. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
  126. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
  127. package/dist/browser/contexts/RefreshPayloadContext/Context.js +6 -0
  128. package/dist/browser/contexts/RefreshPayloadContext/Context.js.map +1 -0
  129. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
  130. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
  131. package/dist/browser/contexts/RefreshPayloadContext/Provider.js +11 -0
  132. package/dist/browser/contexts/RefreshPayloadContext/Provider.js.map +1 -0
  133. package/dist/browser/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
  134. package/dist/browser/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
  135. package/dist/browser/contexts/RefreshPayloadContext/State.js +1 -0
  136. package/dist/browser/contexts/RefreshPayloadContext/State.js.map +1 -0
  137. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
  138. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
  139. package/dist/browser/contexts/RefreshPayloadContext/index.js +4 -0
  140. package/dist/browser/contexts/RefreshPayloadContext/index.js.map +1 -0
  141. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
  142. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
  143. package/dist/browser/contexts/RefreshPayloadContext/use.js +7 -0
  144. package/dist/browser/contexts/RefreshPayloadContext/use.js.map +1 -0
  145. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
  146. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
  147. package/dist/browser/contexts/ResolvePayloadContext/Context.js +6 -0
  148. package/dist/browser/contexts/ResolvePayloadContext/Context.js.map +1 -0
  149. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
  150. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
  151. package/dist/browser/contexts/ResolvePayloadContext/Provider.js +54 -0
  152. package/dist/browser/contexts/ResolvePayloadContext/Provider.js.map +1 -0
  153. package/dist/browser/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
  154. package/dist/browser/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
  155. package/dist/browser/contexts/ResolvePayloadContext/State.js +1 -0
  156. package/dist/browser/contexts/ResolvePayloadContext/State.js.map +1 -0
  157. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
  158. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
  159. package/dist/browser/contexts/ResolvePayloadContext/index.js +5 -0
  160. package/dist/browser/contexts/ResolvePayloadContext/index.js.map +1 -0
  161. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
  162. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
  163. package/dist/browser/contexts/ResolvePayloadContext/use.js +7 -0
  164. package/dist/browser/contexts/ResolvePayloadContext/use.js.map +1 -0
  165. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
  166. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
  167. package/dist/browser/contexts/ValidatePayloadContext/Context.js +6 -0
  168. package/dist/browser/contexts/ValidatePayloadContext/Context.js.map +1 -0
  169. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
  170. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
  171. package/dist/browser/contexts/ValidatePayloadContext/Provider.js +32 -0
  172. package/dist/browser/contexts/ValidatePayloadContext/Provider.js.map +1 -0
  173. package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js +53 -0
  174. package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js.map +1 -0
  175. package/dist/browser/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
  176. package/dist/browser/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
  177. package/dist/browser/contexts/ValidatePayloadContext/State.js +1 -0
  178. package/dist/browser/contexts/ValidatePayloadContext/State.js.map +1 -0
  179. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
  180. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
  181. package/dist/browser/contexts/ValidatePayloadContext/index.js +4 -0
  182. package/dist/browser/contexts/ValidatePayloadContext/index.js.map +1 -0
  183. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
  184. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
  185. package/dist/browser/contexts/ValidatePayloadContext/use.js +7 -0
  186. package/dist/browser/contexts/ValidatePayloadContext/use.js.map +1 -0
  187. package/dist/browser/contexts/index.d.mts.map +1 -0
  188. package/dist/browser/contexts/index.d.ts.map +1 -0
  189. package/dist/browser/contexts/index.js +5 -0
  190. package/dist/browser/contexts/index.js.map +1 -0
  191. package/dist/browser/index.d.mts.map +1 -0
  192. package/dist/browser/index.d.ts.map +1 -0
  193. package/dist/browser/index.js +4 -0
  194. package/dist/browser/index.js.map +1 -0
  195. package/dist/browser/types/EmbedPluginProps.d.mts.map +1 -0
  196. package/dist/browser/types/EmbedPluginProps.d.ts.map +1 -0
  197. package/dist/browser/types/EmbedPluginProps.js +1 -0
  198. package/dist/browser/types/EmbedPluginProps.js.map +1 -0
  199. package/dist/browser/types/index.d.mts.map +1 -0
  200. package/dist/browser/types/index.d.ts.map +1 -0
  201. package/dist/browser/types/index.js +2 -0
  202. package/dist/browser/types/index.js.map +1 -0
  203. package/dist/node/components/EmbedPlugin.d.mts +5 -0
  204. package/dist/node/components/EmbedPlugin.d.mts.map +1 -0
  205. package/dist/node/components/EmbedPlugin.d.ts +5 -0
  206. package/dist/node/components/EmbedPlugin.d.ts.map +1 -0
  207. package/dist/node/components/EmbedPlugin.js +62 -0
  208. package/dist/node/components/EmbedPlugin.js.map +1 -0
  209. package/dist/node/components/EmbedPlugin.mjs +38 -0
  210. package/dist/node/components/EmbedPlugin.mjs.map +1 -0
  211. package/dist/node/components/EmbedResolver.d.mts +4 -0
  212. package/dist/node/components/EmbedResolver.d.mts.map +1 -0
  213. package/dist/node/components/EmbedResolver.d.ts +4 -0
  214. package/dist/node/components/EmbedResolver.d.ts.map +1 -0
  215. package/dist/node/components/EmbedResolver.js +35 -0
  216. package/dist/node/components/EmbedResolver.js.map +1 -0
  217. package/dist/node/components/EmbedResolver.mjs +11 -0
  218. package/dist/node/components/EmbedResolver.mjs.map +1 -0
  219. package/dist/node/components/controls/EmbedFormControl.d.mts +10 -0
  220. package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -0
  221. package/dist/node/components/controls/EmbedFormControl.d.ts +10 -0
  222. package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -0
  223. package/dist/node/components/controls/EmbedFormControl.js +36 -0
  224. package/dist/node/components/controls/EmbedFormControl.js.map +1 -0
  225. package/dist/node/components/controls/EmbedFormControl.mjs +12 -0
  226. package/dist/node/components/controls/EmbedFormControl.mjs.map +1 -0
  227. package/dist/node/components/controls/ListModeSelect.d.mts +6 -0
  228. package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -0
  229. package/dist/node/components/controls/ListModeSelect.d.ts +6 -0
  230. package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -0
  231. package/dist/node/components/controls/ListModeSelect.js +57 -0
  232. package/dist/node/components/controls/ListModeSelect.js.map +1 -0
  233. package/dist/node/components/controls/ListModeSelect.mjs +32 -0
  234. package/dist/node/components/controls/ListModeSelect.mjs.map +1 -0
  235. package/dist/node/components/controls/RenderSelect.d.mts +4 -0
  236. package/dist/node/components/controls/RenderSelect.d.mts.map +1 -0
  237. package/dist/node/components/controls/RenderSelect.d.ts +4 -0
  238. package/dist/node/components/controls/RenderSelect.d.ts.map +1 -0
  239. package/dist/node/components/controls/RenderSelect.js +38 -0
  240. package/dist/node/components/controls/RenderSelect.js.map +1 -0
  241. package/dist/node/components/controls/RenderSelect.mjs +14 -0
  242. package/dist/node/components/controls/RenderSelect.mjs.map +1 -0
  243. package/dist/node/components/controls/index.d.mts +4 -0
  244. package/dist/node/components/controls/index.d.mts.map +1 -0
  245. package/dist/node/components/controls/index.d.ts +4 -0
  246. package/dist/node/components/controls/index.d.ts.map +1 -0
  247. package/dist/node/components/controls/index.js +27 -0
  248. package/dist/node/components/controls/index.js.map +1 -0
  249. package/dist/node/components/controls/index.mjs +4 -0
  250. package/dist/node/components/controls/index.mjs.map +1 -0
  251. package/dist/node/components/embed-card/EmbedCardResolver.d.mts +5 -0
  252. package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
  253. package/dist/node/components/embed-card/EmbedCardResolver.d.ts +5 -0
  254. package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
  255. package/dist/node/components/embed-card/EmbedCardResolver.js +51 -0
  256. package/dist/node/components/embed-card/EmbedCardResolver.js.map +1 -0
  257. package/dist/node/components/embed-card/EmbedCardResolver.mjs +27 -0
  258. package/dist/node/components/embed-card/EmbedCardResolver.mjs.map +1 -0
  259. package/dist/node/components/embed-card/EmbedPluginCard.d.mts +11 -0
  260. package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
  261. package/dist/node/components/embed-card/EmbedPluginCard.d.ts +11 -0
  262. package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
  263. package/dist/node/components/embed-card/EmbedPluginCard.js +87 -0
  264. package/dist/node/components/embed-card/EmbedPluginCard.js.map +1 -0
  265. package/dist/node/components/embed-card/EmbedPluginCard.mjs +61 -0
  266. package/dist/node/components/embed-card/EmbedPluginCard.mjs.map +1 -0
  267. package/dist/node/components/embed-card/card/BusyCard.d.mts +11 -0
  268. package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -0
  269. package/dist/node/components/embed-card/card/BusyCard.d.ts +11 -0
  270. package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -0
  271. package/dist/node/components/embed-card/card/BusyCard.js +47 -0
  272. package/dist/node/components/embed-card/card/BusyCard.js.map +1 -0
  273. package/dist/node/components/embed-card/card/BusyCard.mjs +26 -0
  274. package/dist/node/components/embed-card/card/BusyCard.mjs.map +1 -0
  275. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +4 -0
  276. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
  277. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +4 -0
  278. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
  279. package/dist/node/components/embed-card/card/EmbedCardHeader.js +60 -0
  280. package/dist/node/components/embed-card/card/EmbedCardHeader.js.map +1 -0
  281. package/dist/node/components/embed-card/card/EmbedCardHeader.mjs +36 -0
  282. package/dist/node/components/embed-card/card/EmbedCardHeader.mjs.map +1 -0
  283. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +4 -0
  284. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
  285. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +4 -0
  286. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
  287. package/dist/node/components/embed-card/card/EmbedPluginCard.js +50 -0
  288. package/dist/node/components/embed-card/card/EmbedPluginCard.js.map +1 -0
  289. package/dist/node/components/embed-card/card/EmbedPluginCard.mjs +26 -0
  290. package/dist/node/components/embed-card/card/EmbedPluginCard.mjs.map +1 -0
  291. package/dist/node/components/embed-card/card/index.d.mts +4 -0
  292. package/dist/node/components/embed-card/card/index.d.mts.map +1 -0
  293. package/dist/node/components/embed-card/card/index.d.ts +4 -0
  294. package/dist/node/components/embed-card/card/index.d.ts.map +1 -0
  295. package/dist/node/components/embed-card/card/index.js +27 -0
  296. package/dist/node/components/embed-card/card/index.js.map +1 -0
  297. package/dist/node/components/embed-card/card/index.mjs +4 -0
  298. package/dist/node/components/embed-card/card/index.mjs.map +1 -0
  299. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +10 -0
  300. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
  301. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +10 -0
  302. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
  303. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +37 -0
  304. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
  305. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs +13 -0
  306. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs.map +1 -0
  307. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +15 -0
  308. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
  309. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +15 -0
  310. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
  311. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js +44 -0
  312. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
  313. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs +20 -0
  314. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs.map +1 -0
  315. package/dist/node/components/embed-card/error-handling/index.d.mts +3 -0
  316. package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -0
  317. package/dist/node/components/embed-card/error-handling/index.d.ts +3 -0
  318. package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -0
  319. package/dist/node/components/embed-card/error-handling/index.js +25 -0
  320. package/dist/node/components/embed-card/error-handling/index.js.map +1 -0
  321. package/dist/node/components/embed-card/error-handling/index.mjs +3 -0
  322. package/dist/node/components/embed-card/error-handling/index.mjs.map +1 -0
  323. package/dist/node/components/embed-card/index.d.mts +3 -0
  324. package/dist/node/components/embed-card/index.d.mts.map +1 -0
  325. package/dist/node/components/embed-card/index.d.ts +3 -0
  326. package/dist/node/components/embed-card/index.d.ts.map +1 -0
  327. package/dist/node/components/embed-card/index.js +25 -0
  328. package/dist/node/components/embed-card/index.js.map +1 -0
  329. package/dist/node/components/embed-card/index.mjs +3 -0
  330. package/dist/node/components/embed-card/index.mjs.map +1 -0
  331. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +4 -0
  332. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
  333. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +4 -0
  334. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
  335. package/dist/node/components/embed-card/menu/EmbedMenu.js +47 -0
  336. package/dist/node/components/embed-card/menu/EmbedMenu.js.map +1 -0
  337. package/dist/node/components/embed-card/menu/EmbedMenu.mjs +23 -0
  338. package/dist/node/components/embed-card/menu/EmbedMenu.mjs.map +1 -0
  339. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +4 -0
  340. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
  341. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +4 -0
  342. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
  343. package/dist/node/components/embed-card/menu/JsonMenuItem.js +39 -0
  344. package/dist/node/components/embed-card/menu/JsonMenuItem.js.map +1 -0
  345. package/dist/node/components/embed-card/menu/JsonMenuItem.mjs +15 -0
  346. package/dist/node/components/embed-card/menu/JsonMenuItem.mjs.map +1 -0
  347. package/dist/node/components/embed-card/menu/index.d.mts +2 -0
  348. package/dist/node/components/embed-card/menu/index.d.mts.map +1 -0
  349. package/dist/node/components/embed-card/menu/index.d.ts +2 -0
  350. package/dist/node/components/embed-card/menu/index.d.ts.map +1 -0
  351. package/dist/node/components/embed-card/menu/index.js +23 -0
  352. package/dist/node/components/embed-card/menu/index.js.map +1 -0
  353. package/dist/node/components/embed-card/menu/index.mjs +2 -0
  354. package/dist/node/components/embed-card/menu/index.mjs.map +1 -0
  355. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +50 -0
  356. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +1 -0
  357. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs +25 -0
  358. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs.map +1 -0
  359. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +115 -0
  360. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +1 -0
  361. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs +85 -0
  362. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs.map +1 -0
  363. package/dist/node/components/embed-plugin-stories/storyPayload.d.mts +126 -0
  364. package/dist/node/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
  365. package/dist/node/components/embed-plugin-stories/storyPayload.d.ts +126 -0
  366. package/dist/node/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
  367. package/dist/node/components/embed-plugin-stories/storyPayload.js +49 -0
  368. package/dist/node/components/embed-plugin-stories/storyPayload.js.map +1 -0
  369. package/dist/node/components/embed-plugin-stories/storyPayload.mjs +25 -0
  370. package/dist/node/components/embed-plugin-stories/storyPayload.mjs.map +1 -0
  371. package/dist/node/components/embed-plugin-stories/storyShared.d.mts +5 -0
  372. package/dist/node/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
  373. package/dist/node/components/embed-plugin-stories/storyShared.d.ts +5 -0
  374. package/dist/node/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
  375. package/dist/node/components/embed-plugin-stories/storyShared.js +45 -0
  376. package/dist/node/components/embed-plugin-stories/storyShared.js.map +1 -0
  377. package/dist/node/components/embed-plugin-stories/storyShared.mjs +20 -0
  378. package/dist/node/components/embed-plugin-stories/storyShared.mjs.map +1 -0
  379. package/dist/node/components/index.d.mts +3 -0
  380. package/dist/node/components/index.d.mts.map +1 -0
  381. package/dist/node/components/index.d.ts +3 -0
  382. package/dist/node/components/index.d.ts.map +1 -0
  383. package/dist/node/components/index.js +25 -0
  384. package/dist/node/components/index.js.map +1 -0
  385. package/dist/node/components/index.mjs +3 -0
  386. package/dist/node/components/index.mjs.map +1 -0
  387. package/dist/node/components/validation-alerts/ValidatePayload.d.mts +5 -0
  388. package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
  389. package/dist/node/components/validation-alerts/ValidatePayload.d.ts +5 -0
  390. package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
  391. package/dist/node/components/validation-alerts/ValidatePayload.js +42 -0
  392. package/dist/node/components/validation-alerts/ValidatePayload.js.map +1 -0
  393. package/dist/node/components/validation-alerts/ValidatePayload.mjs +18 -0
  394. package/dist/node/components/validation-alerts/ValidatePayload.mjs.map +1 -0
  395. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +5 -0
  396. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
  397. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +5 -0
  398. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
  399. package/dist/node/components/validation-alerts/ValidatePlugins.js +42 -0
  400. package/dist/node/components/validation-alerts/ValidatePlugins.js.map +1 -0
  401. package/dist/node/components/validation-alerts/ValidatePlugins.mjs +18 -0
  402. package/dist/node/components/validation-alerts/ValidatePlugins.mjs.map +1 -0
  403. package/dist/node/components/validation-alerts/index.d.mts +3 -0
  404. package/dist/node/components/validation-alerts/index.d.mts.map +1 -0
  405. package/dist/node/components/validation-alerts/index.d.ts +3 -0
  406. package/dist/node/components/validation-alerts/index.d.ts.map +1 -0
  407. package/dist/node/components/validation-alerts/index.js +25 -0
  408. package/dist/node/components/validation-alerts/index.js.map +1 -0
  409. package/dist/node/components/validation-alerts/index.mjs +3 -0
  410. package/dist/node/components/validation-alerts/index.mjs.map +1 -0
  411. package/dist/node/contexts/EmbedPluginContext/Context.d.mts +4 -0
  412. package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
  413. package/dist/node/contexts/EmbedPluginContext/Context.d.ts +4 -0
  414. package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
  415. package/dist/node/contexts/EmbedPluginContext/Context.js +30 -0
  416. package/dist/node/contexts/EmbedPluginContext/Context.js.map +1 -0
  417. package/dist/node/contexts/EmbedPluginContext/Context.mjs +6 -0
  418. package/dist/node/contexts/EmbedPluginContext/Context.mjs.map +1 -0
  419. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +7 -0
  420. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
  421. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +7 -0
  422. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
  423. package/dist/node/contexts/EmbedPluginContext/Provider.js +59 -0
  424. package/dist/node/contexts/EmbedPluginContext/Provider.js.map +1 -0
  425. package/dist/node/contexts/EmbedPluginContext/Provider.mjs +35 -0
  426. package/dist/node/contexts/EmbedPluginContext/Provider.mjs.map +1 -0
  427. package/dist/node/contexts/EmbedPluginContext/State.d.mts +33 -0
  428. package/dist/node/contexts/EmbedPluginContext/State.d.mts.map +1 -0
  429. package/dist/node/contexts/EmbedPluginContext/State.d.ts +33 -0
  430. package/dist/node/contexts/EmbedPluginContext/State.d.ts.map +1 -0
  431. package/dist/node/contexts/EmbedPluginContext/State.js +17 -0
  432. package/dist/node/contexts/EmbedPluginContext/State.js.map +1 -0
  433. package/dist/node/contexts/EmbedPluginContext/State.mjs +1 -0
  434. package/dist/node/contexts/EmbedPluginContext/State.mjs.map +1 -0
  435. package/dist/node/contexts/EmbedPluginContext/index.d.mts +5 -0
  436. package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -0
  437. package/dist/node/contexts/EmbedPluginContext/index.d.ts +5 -0
  438. package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -0
  439. package/dist/node/contexts/EmbedPluginContext/index.js +29 -0
  440. package/dist/node/contexts/EmbedPluginContext/index.js.map +1 -0
  441. package/dist/node/contexts/EmbedPluginContext/index.mjs +5 -0
  442. package/dist/node/contexts/EmbedPluginContext/index.mjs.map +1 -0
  443. package/dist/node/contexts/EmbedPluginContext/use.d.mts +2 -0
  444. package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -0
  445. package/dist/node/contexts/EmbedPluginContext/use.d.ts +2 -0
  446. package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -0
  447. package/dist/node/contexts/EmbedPluginContext/use.js +31 -0
  448. package/dist/node/contexts/EmbedPluginContext/use.js.map +1 -0
  449. package/dist/node/contexts/EmbedPluginContext/use.mjs +7 -0
  450. package/dist/node/contexts/EmbedPluginContext/use.mjs.map +1 -0
  451. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +4 -0
  452. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
  453. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +4 -0
  454. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
  455. package/dist/node/contexts/RefreshPayloadContext/Context.js +30 -0
  456. package/dist/node/contexts/RefreshPayloadContext/Context.js.map +1 -0
  457. package/dist/node/contexts/RefreshPayloadContext/Context.mjs +6 -0
  458. package/dist/node/contexts/RefreshPayloadContext/Context.mjs.map +1 -0
  459. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +8 -0
  460. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
  461. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +8 -0
  462. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
  463. package/dist/node/contexts/RefreshPayloadContext/Provider.js +35 -0
  464. package/dist/node/contexts/RefreshPayloadContext/Provider.js.map +1 -0
  465. package/dist/node/contexts/RefreshPayloadContext/Provider.mjs +11 -0
  466. package/dist/node/contexts/RefreshPayloadContext/Provider.mjs.map +1 -0
  467. package/dist/node/contexts/RefreshPayloadContext/State.d.mts +8 -0
  468. package/dist/node/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
  469. package/dist/node/contexts/RefreshPayloadContext/State.d.ts +8 -0
  470. package/dist/node/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
  471. package/dist/node/contexts/RefreshPayloadContext/State.js +17 -0
  472. package/dist/node/contexts/RefreshPayloadContext/State.js.map +1 -0
  473. package/dist/node/contexts/RefreshPayloadContext/State.mjs +1 -0
  474. package/dist/node/contexts/RefreshPayloadContext/State.mjs.map +1 -0
  475. package/dist/node/contexts/RefreshPayloadContext/index.d.mts +4 -0
  476. package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
  477. package/dist/node/contexts/RefreshPayloadContext/index.d.ts +4 -0
  478. package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
  479. package/dist/node/contexts/RefreshPayloadContext/index.js +27 -0
  480. package/dist/node/contexts/RefreshPayloadContext/index.js.map +1 -0
  481. package/dist/node/contexts/RefreshPayloadContext/index.mjs +4 -0
  482. package/dist/node/contexts/RefreshPayloadContext/index.mjs.map +1 -0
  483. package/dist/node/contexts/RefreshPayloadContext/use.d.mts +2 -0
  484. package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
  485. package/dist/node/contexts/RefreshPayloadContext/use.d.ts +2 -0
  486. package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
  487. package/dist/node/contexts/RefreshPayloadContext/use.js +31 -0
  488. package/dist/node/contexts/RefreshPayloadContext/use.js.map +1 -0
  489. package/dist/node/contexts/RefreshPayloadContext/use.mjs +7 -0
  490. package/dist/node/contexts/RefreshPayloadContext/use.mjs.map +1 -0
  491. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +4 -0
  492. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
  493. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +4 -0
  494. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
  495. package/dist/node/contexts/ResolvePayloadContext/Context.js +30 -0
  496. package/dist/node/contexts/ResolvePayloadContext/Context.js.map +1 -0
  497. package/dist/node/contexts/ResolvePayloadContext/Context.mjs +6 -0
  498. package/dist/node/contexts/ResolvePayloadContext/Context.mjs.map +1 -0
  499. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +6 -0
  500. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
  501. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +6 -0
  502. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
  503. package/dist/node/contexts/ResolvePayloadContext/Provider.js +78 -0
  504. package/dist/node/contexts/ResolvePayloadContext/Provider.js.map +1 -0
  505. package/dist/node/contexts/ResolvePayloadContext/Provider.mjs +54 -0
  506. package/dist/node/contexts/ResolvePayloadContext/Provider.mjs.map +1 -0
  507. package/dist/node/contexts/ResolvePayloadContext/State.d.mts +13 -0
  508. package/dist/node/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
  509. package/dist/node/contexts/ResolvePayloadContext/State.d.ts +13 -0
  510. package/dist/node/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
  511. package/dist/node/contexts/ResolvePayloadContext/State.js +17 -0
  512. package/dist/node/contexts/ResolvePayloadContext/State.js.map +1 -0
  513. package/dist/node/contexts/ResolvePayloadContext/State.mjs +1 -0
  514. package/dist/node/contexts/ResolvePayloadContext/State.mjs.map +1 -0
  515. package/dist/node/contexts/ResolvePayloadContext/index.d.mts +5 -0
  516. package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
  517. package/dist/node/contexts/ResolvePayloadContext/index.d.ts +5 -0
  518. package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
  519. package/dist/node/contexts/ResolvePayloadContext/index.js +29 -0
  520. package/dist/node/contexts/ResolvePayloadContext/index.js.map +1 -0
  521. package/dist/node/contexts/ResolvePayloadContext/index.mjs +5 -0
  522. package/dist/node/contexts/ResolvePayloadContext/index.mjs.map +1 -0
  523. package/dist/node/contexts/ResolvePayloadContext/use.d.mts +2 -0
  524. package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
  525. package/dist/node/contexts/ResolvePayloadContext/use.d.ts +2 -0
  526. package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
  527. package/dist/node/contexts/ResolvePayloadContext/use.js +31 -0
  528. package/dist/node/contexts/ResolvePayloadContext/use.js.map +1 -0
  529. package/dist/node/contexts/ResolvePayloadContext/use.mjs +7 -0
  530. package/dist/node/contexts/ResolvePayloadContext/use.mjs.map +1 -0
  531. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +4 -0
  532. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
  533. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +4 -0
  534. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
  535. package/dist/node/contexts/ValidatePayloadContext/Context.js +30 -0
  536. package/dist/node/contexts/ValidatePayloadContext/Context.js.map +1 -0
  537. package/dist/node/contexts/ValidatePayloadContext/Context.mjs +6 -0
  538. package/dist/node/contexts/ValidatePayloadContext/Context.mjs.map +1 -0
  539. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +7 -0
  540. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
  541. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +7 -0
  542. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
  543. package/dist/node/contexts/ValidatePayloadContext/Provider.js +56 -0
  544. package/dist/node/contexts/ValidatePayloadContext/Provider.js.map +1 -0
  545. package/dist/node/contexts/ValidatePayloadContext/Provider.mjs +32 -0
  546. package/dist/node/contexts/ValidatePayloadContext/Provider.mjs.map +1 -0
  547. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js +79 -0
  548. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js.map +1 -0
  549. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs +53 -0
  550. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs.map +1 -0
  551. package/dist/node/contexts/ValidatePayloadContext/State.d.mts +7 -0
  552. package/dist/node/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
  553. package/dist/node/contexts/ValidatePayloadContext/State.d.ts +7 -0
  554. package/dist/node/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
  555. package/dist/node/contexts/ValidatePayloadContext/State.js +17 -0
  556. package/dist/node/contexts/ValidatePayloadContext/State.js.map +1 -0
  557. package/dist/node/contexts/ValidatePayloadContext/State.mjs +1 -0
  558. package/dist/node/contexts/ValidatePayloadContext/State.mjs.map +1 -0
  559. package/dist/node/contexts/ValidatePayloadContext/index.d.mts +4 -0
  560. package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
  561. package/dist/node/contexts/ValidatePayloadContext/index.d.ts +4 -0
  562. package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
  563. package/dist/node/contexts/ValidatePayloadContext/index.js +27 -0
  564. package/dist/node/contexts/ValidatePayloadContext/index.js.map +1 -0
  565. package/dist/node/contexts/ValidatePayloadContext/index.mjs +4 -0
  566. package/dist/node/contexts/ValidatePayloadContext/index.mjs.map +1 -0
  567. package/dist/node/contexts/ValidatePayloadContext/use.d.mts +2 -0
  568. package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
  569. package/dist/node/contexts/ValidatePayloadContext/use.d.ts +2 -0
  570. package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
  571. package/dist/node/contexts/ValidatePayloadContext/use.js +31 -0
  572. package/dist/node/contexts/ValidatePayloadContext/use.js.map +1 -0
  573. package/dist/node/contexts/ValidatePayloadContext/use.mjs +7 -0
  574. package/dist/node/contexts/ValidatePayloadContext/use.mjs.map +1 -0
  575. package/dist/node/contexts/index.d.mts +5 -0
  576. package/dist/node/contexts/index.d.mts.map +1 -0
  577. package/dist/node/contexts/index.d.ts +5 -0
  578. package/dist/node/contexts/index.d.ts.map +1 -0
  579. package/dist/node/contexts/index.js +29 -0
  580. package/dist/node/contexts/index.js.map +1 -0
  581. package/dist/node/contexts/index.mjs +5 -0
  582. package/dist/node/contexts/index.mjs.map +1 -0
  583. package/dist/node/index.d.mts +4 -0
  584. package/dist/node/index.d.mts.map +1 -0
  585. package/dist/node/index.d.ts +4 -0
  586. package/dist/node/index.d.ts.map +1 -0
  587. package/dist/node/index.js +27 -0
  588. package/dist/node/index.js.map +1 -0
  589. package/dist/node/index.mjs +4 -0
  590. package/dist/node/index.mjs.map +1 -0
  591. package/dist/node/types/EmbedPluginProps.d.mts +10 -0
  592. package/dist/node/types/EmbedPluginProps.d.mts.map +1 -0
  593. package/dist/node/types/EmbedPluginProps.d.ts +10 -0
  594. package/dist/node/types/EmbedPluginProps.d.ts.map +1 -0
  595. package/dist/node/types/EmbedPluginProps.js +17 -0
  596. package/dist/node/types/EmbedPluginProps.js.map +1 -0
  597. package/dist/node/types/EmbedPluginProps.mjs +1 -0
  598. package/dist/node/types/EmbedPluginProps.mjs.map +1 -0
  599. package/dist/node/types/index.d.mts +2 -0
  600. package/dist/node/types/index.d.mts.map +1 -0
  601. package/dist/node/types/index.d.ts +2 -0
  602. package/dist/node/types/index.d.ts.map +1 -0
  603. package/dist/node/types/index.js +23 -0
  604. package/dist/node/types/index.js.map +1 -0
  605. package/dist/node/types/index.mjs +2 -0
  606. package/dist/node/types/index.mjs.map +1 -0
  607. package/package.json +26 -26
  608. package/dist/components/EmbedPlugin.d.mts.map +0 -1
  609. package/dist/components/EmbedPlugin.d.ts.map +0 -1
  610. package/dist/components/EmbedResolver.d.mts.map +0 -1
  611. package/dist/components/EmbedResolver.d.ts.map +0 -1
  612. package/dist/components/controls/EmbedFormControl.d.mts.map +0 -1
  613. package/dist/components/controls/EmbedFormControl.d.ts.map +0 -1
  614. package/dist/components/controls/ListModeSelect.d.mts.map +0 -1
  615. package/dist/components/controls/ListModeSelect.d.ts.map +0 -1
  616. package/dist/components/controls/RenderSelect.d.mts.map +0 -1
  617. package/dist/components/controls/RenderSelect.d.ts.map +0 -1
  618. package/dist/components/controls/index.d.mts.map +0 -1
  619. package/dist/components/controls/index.d.ts.map +0 -1
  620. package/dist/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
  621. package/dist/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
  622. package/dist/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
  623. package/dist/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
  624. package/dist/components/embed-card/card/BusyCard.d.mts.map +0 -1
  625. package/dist/components/embed-card/card/BusyCard.d.ts.map +0 -1
  626. package/dist/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
  627. package/dist/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
  628. package/dist/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
  629. package/dist/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
  630. package/dist/components/embed-card/card/index.d.mts.map +0 -1
  631. package/dist/components/embed-card/card/index.d.ts.map +0 -1
  632. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
  633. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
  634. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
  635. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
  636. package/dist/components/embed-card/error-handling/index.d.mts.map +0 -1
  637. package/dist/components/embed-card/error-handling/index.d.ts.map +0 -1
  638. package/dist/components/embed-card/index.d.mts.map +0 -1
  639. package/dist/components/embed-card/index.d.ts.map +0 -1
  640. package/dist/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
  641. package/dist/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
  642. package/dist/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
  643. package/dist/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
  644. package/dist/components/embed-card/menu/index.d.mts.map +0 -1
  645. package/dist/components/embed-card/menu/index.d.ts.map +0 -1
  646. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts +0 -6
  647. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts.map +0 -1
  648. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts +0 -6
  649. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts.map +0 -1
  650. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts +0 -11
  651. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts.map +0 -1
  652. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts +0 -11
  653. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts.map +0 -1
  654. package/dist/components/embed-plugin-stories/storyPayload.d.mts.map +0 -1
  655. package/dist/components/embed-plugin-stories/storyPayload.d.ts.map +0 -1
  656. package/dist/components/embed-plugin-stories/storyShared.d.mts.map +0 -1
  657. package/dist/components/embed-plugin-stories/storyShared.d.ts.map +0 -1
  658. package/dist/components/index.d.mts.map +0 -1
  659. package/dist/components/index.d.ts.map +0 -1
  660. package/dist/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
  661. package/dist/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
  662. package/dist/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
  663. package/dist/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
  664. package/dist/components/validation-alerts/index.d.mts.map +0 -1
  665. package/dist/components/validation-alerts/index.d.ts.map +0 -1
  666. package/dist/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
  667. package/dist/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
  668. package/dist/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
  669. package/dist/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
  670. package/dist/contexts/EmbedPluginContext/State.d.mts.map +0 -1
  671. package/dist/contexts/EmbedPluginContext/State.d.ts.map +0 -1
  672. package/dist/contexts/EmbedPluginContext/index.d.mts.map +0 -1
  673. package/dist/contexts/EmbedPluginContext/index.d.ts.map +0 -1
  674. package/dist/contexts/EmbedPluginContext/use.d.mts.map +0 -1
  675. package/dist/contexts/EmbedPluginContext/use.d.ts.map +0 -1
  676. package/dist/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
  677. package/dist/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
  678. package/dist/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
  679. package/dist/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
  680. package/dist/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
  681. package/dist/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
  682. package/dist/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
  683. package/dist/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
  684. package/dist/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
  685. package/dist/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
  686. package/dist/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
  687. package/dist/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
  688. package/dist/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
  689. package/dist/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
  690. package/dist/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
  691. package/dist/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
  692. package/dist/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
  693. package/dist/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
  694. package/dist/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
  695. package/dist/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
  696. package/dist/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
  697. package/dist/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
  698. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts +0 -15
  699. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts.map +0 -1
  700. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts +0 -15
  701. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts.map +0 -1
  702. package/dist/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
  703. package/dist/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
  704. package/dist/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
  705. package/dist/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
  706. package/dist/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
  707. package/dist/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
  708. package/dist/contexts/index.d.mts.map +0 -1
  709. package/dist/contexts/index.d.ts.map +0 -1
  710. package/dist/index.d.mts.map +0 -1
  711. package/dist/index.d.ts.map +0 -1
  712. package/dist/index.js +0 -533
  713. package/dist/index.js.map +0 -1
  714. package/dist/index.mjs +0 -493
  715. package/dist/index.mjs.map +0 -1
  716. package/dist/types/EmbedPluginProps.d.mts.map +0 -1
  717. package/dist/types/EmbedPluginProps.d.ts.map +0 -1
  718. package/dist/types/index.d.mts.map +0 -1
  719. package/dist/types/index.d.ts.map +0 -1
  720. /package/dist/{components → browser/components}/EmbedPlugin.d.mts +0 -0
  721. /package/dist/{components → browser/components}/EmbedPlugin.d.ts +0 -0
  722. /package/dist/{components → browser/components}/EmbedResolver.d.mts +0 -0
  723. /package/dist/{components → browser/components}/EmbedResolver.d.ts +0 -0
  724. /package/dist/{components → browser/components}/controls/EmbedFormControl.d.mts +0 -0
  725. /package/dist/{components → browser/components}/controls/EmbedFormControl.d.ts +0 -0
  726. /package/dist/{components → browser/components}/controls/ListModeSelect.d.mts +0 -0
  727. /package/dist/{components → browser/components}/controls/ListModeSelect.d.ts +0 -0
  728. /package/dist/{components → browser/components}/controls/RenderSelect.d.mts +0 -0
  729. /package/dist/{components → browser/components}/controls/RenderSelect.d.ts +0 -0
  730. /package/dist/{components → browser/components}/controls/index.d.mts +0 -0
  731. /package/dist/{components → browser/components}/controls/index.d.ts +0 -0
  732. /package/dist/{components → browser/components}/embed-card/EmbedCardResolver.d.mts +0 -0
  733. /package/dist/{components → browser/components}/embed-card/EmbedCardResolver.d.ts +0 -0
  734. /package/dist/{components → browser/components}/embed-card/EmbedPluginCard.d.mts +0 -0
  735. /package/dist/{components → browser/components}/embed-card/EmbedPluginCard.d.ts +0 -0
  736. /package/dist/{components → browser/components}/embed-card/card/BusyCard.d.mts +0 -0
  737. /package/dist/{components → browser/components}/embed-card/card/BusyCard.d.ts +0 -0
  738. /package/dist/{components → browser/components}/embed-card/card/EmbedCardHeader.d.mts +0 -0
  739. /package/dist/{components → browser/components}/embed-card/card/EmbedCardHeader.d.ts +0 -0
  740. /package/dist/{components → browser/components}/embed-card/card/EmbedPluginCard.d.mts +0 -0
  741. /package/dist/{components → browser/components}/embed-card/card/EmbedPluginCard.d.ts +0 -0
  742. /package/dist/{components → browser/components}/embed-card/card/index.d.mts +0 -0
  743. /package/dist/{components → browser/components}/embed-card/card/index.d.ts +0 -0
  744. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -0
  745. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -0
  746. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedErrorCard.d.mts +0 -0
  747. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedErrorCard.d.ts +0 -0
  748. /package/dist/{components → browser/components}/embed-card/error-handling/index.d.mts +0 -0
  749. /package/dist/{components → browser/components}/embed-card/error-handling/index.d.ts +0 -0
  750. /package/dist/{components → browser/components}/embed-card/index.d.mts +0 -0
  751. /package/dist/{components → browser/components}/embed-card/index.d.ts +0 -0
  752. /package/dist/{components → browser/components}/embed-card/menu/EmbedMenu.d.mts +0 -0
  753. /package/dist/{components → browser/components}/embed-card/menu/EmbedMenu.d.ts +0 -0
  754. /package/dist/{components → browser/components}/embed-card/menu/JsonMenuItem.d.mts +0 -0
  755. /package/dist/{components → browser/components}/embed-card/menu/JsonMenuItem.d.ts +0 -0
  756. /package/dist/{components → browser/components}/embed-card/menu/index.d.mts +0 -0
  757. /package/dist/{components → browser/components}/embed-card/menu/index.d.ts +0 -0
  758. /package/dist/{components → browser/components}/embed-plugin-stories/storyPayload.d.mts +0 -0
  759. /package/dist/{components → browser/components}/embed-plugin-stories/storyPayload.d.ts +0 -0
  760. /package/dist/{components → browser/components}/embed-plugin-stories/storyShared.d.mts +0 -0
  761. /package/dist/{components → browser/components}/embed-plugin-stories/storyShared.d.ts +0 -0
  762. /package/dist/{components → browser/components}/index.d.mts +0 -0
  763. /package/dist/{components → browser/components}/index.d.ts +0 -0
  764. /package/dist/{components → browser/components}/validation-alerts/ValidatePayload.d.mts +0 -0
  765. /package/dist/{components → browser/components}/validation-alerts/ValidatePayload.d.ts +0 -0
  766. /package/dist/{components → browser/components}/validation-alerts/ValidatePlugins.d.mts +0 -0
  767. /package/dist/{components → browser/components}/validation-alerts/ValidatePlugins.d.ts +0 -0
  768. /package/dist/{components → browser/components}/validation-alerts/index.d.mts +0 -0
  769. /package/dist/{components → browser/components}/validation-alerts/index.d.ts +0 -0
  770. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Context.d.mts +0 -0
  771. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Context.d.ts +0 -0
  772. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Provider.d.mts +0 -0
  773. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Provider.d.ts +0 -0
  774. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/State.d.mts +0 -0
  775. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/State.d.ts +0 -0
  776. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/index.d.mts +0 -0
  777. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/index.d.ts +0 -0
  778. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/use.d.mts +0 -0
  779. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/use.d.ts +0 -0
  780. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Context.d.mts +0 -0
  781. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Context.d.ts +0 -0
  782. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Provider.d.mts +0 -0
  783. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Provider.d.ts +0 -0
  784. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/State.d.mts +0 -0
  785. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/State.d.ts +0 -0
  786. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/index.d.mts +0 -0
  787. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/index.d.ts +0 -0
  788. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/use.d.mts +0 -0
  789. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/use.d.ts +0 -0
  790. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Context.d.mts +0 -0
  791. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Context.d.ts +0 -0
  792. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Provider.d.mts +0 -0
  793. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Provider.d.ts +0 -0
  794. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/State.d.mts +0 -0
  795. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/State.d.ts +0 -0
  796. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/index.d.mts +0 -0
  797. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/index.d.ts +0 -0
  798. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/use.d.mts +0 -0
  799. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/use.d.ts +0 -0
  800. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Context.d.mts +0 -0
  801. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Context.d.ts +0 -0
  802. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Provider.d.mts +0 -0
  803. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Provider.d.ts +0 -0
  804. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/State.d.mts +0 -0
  805. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/State.d.ts +0 -0
  806. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/index.d.mts +0 -0
  807. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/index.d.ts +0 -0
  808. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/use.d.mts +0 -0
  809. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/use.d.ts +0 -0
  810. /package/dist/{contexts → browser/contexts}/index.d.mts +0 -0
  811. /package/dist/{contexts → browser/contexts}/index.d.ts +0 -0
  812. /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
  813. /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
  814. /package/dist/{types → browser/types}/EmbedPluginProps.d.mts +0 -0
  815. /package/dist/{types → browser/types}/EmbedPluginProps.d.ts +0 -0
  816. /package/dist/{types → browser/types}/index.d.mts +0 -0
  817. /package/dist/{types → browser/types}/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx"],"names":[],"mappings":";AACA,OAAO,EAAc,eAAe,EAAQ,MAAM,eAAe,CAAA;AAKjE,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsB/C,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import { MoreVert as MoreVertIcon } from "@mui/icons-material";
3
+ import { IconButton, Menu } from "@mui/material";
4
+ import { useState } from "react";
5
+ import { JsonMenuItem } from "./JsonMenuItem";
6
+ const EmbedMenu = (props) => {
7
+ const [anchorEl, setAnchorEl] = useState(null);
8
+ const open = Boolean(anchorEl);
9
+ const handleClick = (event) => {
10
+ setAnchorEl(event.currentTarget);
11
+ };
12
+ const handleClose = () => {
13
+ setAnchorEl(null);
14
+ };
15
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
16
+ /* @__PURE__ */ jsx(IconButton, { onClick: handleClick, ...props, children: /* @__PURE__ */ jsx(MoreVertIcon, {}) }),
17
+ /* @__PURE__ */ jsx(Menu, { anchorEl, open, onClose: handleClose, PaperProps: { variant: "elevation" }, MenuListProps: { dense: true }, children: /* @__PURE__ */ jsx(JsonMenuItem, {}) })
18
+ ] });
19
+ };
20
+ export {
21
+ EmbedMenu
22
+ };
23
+ //# sourceMappingURL=EmbedMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx"],"sourcesContent":["import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n"],"mappings":"AAmBI,mBAEI,KAFJ;AAnBJ,SAAS,YAAY,oBAAoB;AACzC,SAAS,YAA6B,YAAY;AAClD,SAAS,gBAAgB;AAEzB,SAAS,oBAAoB;AAEtB,MAAM,YAAuC,CAAC,UAAU;AAE7D,QAAM,CAAC,UAAU,WAAW,IAAI,SAA6B,IAAI;AACjE,QAAM,OAAO,QAAQ,QAAQ;AAE7B,QAAM,cAAc,CAAC,UAA+C;AAClE,gBAAY,MAAM,aAAa;AAAA,EACjC;AACA,QAAM,cAAc,MAAM;AACxB,gBAAY,IAAI;AAAA,EAClB;AAEA,SACE,iCACE;AAAA,wBAAC,cAAW,SAAS,aAAc,GAAG,OACpC,8BAAC,gBAAa,GAChB;AAAA,IACA,oBAAC,QAAK,UAAoB,MAAY,SAAS,aAAa,YAAY,EAAE,SAAS,YAAY,GAAG,eAAe,EAAE,OAAO,KAAK,GAC7H,8BAAC,gBAAa,GAChB;AAAA,KACF;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAwC,aAAa,EAAE,MAAM,eAAe,CAAA;AAInF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAehD,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAwC,aAAa,EAAE,MAAM,eAAe,CAAA;AAInF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAehD,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
3
+ import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
4
+ import { useResolvePayload } from "../../../contexts";
5
+ const JsonMenuItem = (props) => {
6
+ const { huri } = useResolvePayload();
7
+ return /* @__PURE__ */ jsx(Fragment, { children: huri ? /* @__PURE__ */ jsxs(MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
8
+ /* @__PURE__ */ jsx(ListItemText, { sx: { mr: 1 }, children: "JSON" }),
9
+ /* @__PURE__ */ jsx(ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ jsx(OpenInNewIcon, { fontSize: "small" }) })
10
+ ] }) : null });
11
+ };
12
+ export {
13
+ JsonMenuItem
14
+ };
15
+ //# sourceMappingURL=JsonMenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"sourcesContent":["import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n"],"mappings":"AASI,mBAGM,KADF,YAFJ;AATJ,SAAS,aAAa,qBAAqB;AAC3C,SAAS,cAAc,cAAc,gBAA+B;AAEpE,SAAS,yBAAyB;AAE3B,MAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,gCACG,iBACC,qBAAC,YAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,wBAAC,gBAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,oBAAC,gBAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,8BAAC,iBAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from "./EmbedMenu";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/menu/index.ts"],"sourcesContent":["export * from './EmbedMenu'\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -0,0 +1,25 @@
1
+ import { CryptoAssetRenderPlugin } from "@xyo-network/react-aggregate-price-plugin";
2
+ import { UniswapPairsRenderPlugin } from "@xyo-network/react-crypto-market-uniswap-plugin";
3
+ import { Template, xyoEmbedStoryBase } from "./storyShared";
4
+ const AggregatePricePointer = "https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20";
5
+ const UniswapPairPointer = "https://beta.api.archivist.xyo.network/e36602006239d86b6e08412f7879372b2c622d74f4d6bc508a08a46fa8ad6523";
6
+ var XyoEmbedPlugin_examples_stories_default = {
7
+ ...xyoEmbedStoryBase,
8
+ title: "embed/EmbedPlugin/examples"
9
+ };
10
+ const AggregatePriceExample = Template.bind({});
11
+ AggregatePriceExample.args = {
12
+ huriPayload: AggregatePricePointer,
13
+ plugins: [CryptoAssetRenderPlugin]
14
+ };
15
+ const UniswapPairsExample = Template.bind({});
16
+ UniswapPairsExample.args = {
17
+ huriPayload: UniswapPairPointer,
18
+ plugins: [UniswapPairsRenderPlugin]
19
+ };
20
+ export {
21
+ AggregatePriceExample,
22
+ UniswapPairsExample,
23
+ XyoEmbedPlugin_examples_stories_default as default
24
+ };
25
+ //# sourceMappingURL=XyoEmbedPlugin.examples.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.tsx"],"sourcesContent":["import { Meta } from '@storybook/react'\nimport { CryptoAssetRenderPlugin } from '@xyo-network/react-aggregate-price-plugin'\nimport { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'\n\nimport { Template, xyoEmbedStoryBase } from './storyShared'\n\nconst AggregatePricePointer = 'https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20'\nconst UniswapPairPointer = 'https://beta.api.archivist.xyo.network/e36602006239d86b6e08412f7879372b2c622d74f4d6bc508a08a46fa8ad6523'\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n ...xyoEmbedStoryBase,\n title: 'embed/EmbedPlugin/examples',\n} as Meta\n\nconst AggregatePriceExample = Template.bind({})\nAggregatePriceExample.args = {\n huriPayload: AggregatePricePointer,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst UniswapPairsExample = Template.bind({})\nUniswapPairsExample.args = {\n huriPayload: UniswapPairPointer,\n plugins: [UniswapPairsRenderPlugin],\n}\n\nexport { AggregatePriceExample, UniswapPairsExample }\n"],"mappings":"AACA,SAAS,+BAA+B;AACxC,SAAS,gCAAgC;AAEzC,SAAS,UAAU,yBAAyB;AAE5C,MAAM,wBAAwB;AAC9B,MAAM,qBAAqB;AAG3B,IAAO,0CAAQ;AAAA,EACb,GAAG;AAAA,EACH,OAAO;AACT;AAEA,MAAM,wBAAwB,SAAS,KAAK,CAAC,CAAC;AAC9C,sBAAsB,OAAO;AAAA,EAC3B,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,sBAAsB,SAAS,KAAK,CAAC,CAAC;AAC5C,oBAAoB,OAAO;AAAA,EACzB,aAAa;AAAA,EACb,SAAS,CAAC,wBAAwB;AACpC;","names":[]}
@@ -0,0 +1,85 @@
1
+ import { CryptoAssetRenderPlugin } from "@xyo-network/react-aggregate-price-plugin";
2
+ import { UniswapPairsRenderPlugin } from "@xyo-network/react-crypto-market-uniswap-plugin";
3
+ import { createPayloadRenderPlugin } from "@xyo-network/react-payload-plugin";
4
+ import { payloadData } from "./storyPayload";
5
+ import { Template, xyoEmbedStoryBase } from "./storyShared";
6
+ const AggregatePricePointer = "https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20";
7
+ var XyoEmbedPlugin_states_stories_default = {
8
+ ...xyoEmbedStoryBase,
9
+ title: "embed/EmbedPlugin/states"
10
+ };
11
+ const testPlugin = createPayloadRenderPlugin({
12
+ canRender: () => true,
13
+ name: "Test Plugin"
14
+ });
15
+ const testPlugin1 = createPayloadRenderPlugin({
16
+ canRender: () => true,
17
+ name: "Test1 Plugin"
18
+ });
19
+ const failingPlugin = createPayloadRenderPlugin({
20
+ canRender: () => true,
21
+ components: {
22
+ box: {
23
+ details: () => {
24
+ throw Error("testing Error Boundary");
25
+ }
26
+ }
27
+ },
28
+ name: "Failing Plugin"
29
+ });
30
+ const Default = Template.bind({});
31
+ Default.args = {
32
+ huri: AggregatePricePointer,
33
+ plugins: [testPlugin, testPlugin1]
34
+ };
35
+ const ApiError = Template.bind({});
36
+ ApiError.args = {
37
+ huriPayload: "https://api.archivist.xyo.network/9663b2f80395a9e7e95948fdd5988b778a4dcc047202bf67e855ff6cd459b8c",
38
+ plugins: [UniswapPairsRenderPlugin]
39
+ };
40
+ const ThrownError = Template.bind({});
41
+ ThrownError.args = {
42
+ huriPayload: AggregatePricePointer,
43
+ plugins: [failingPlugin]
44
+ };
45
+ const HiddenElements = Template.bind({});
46
+ HiddenElements.args = {
47
+ hideElementsConfig: {
48
+ hideAvatar: true,
49
+ hideCardActions: true,
50
+ hideCardHeader: true,
51
+ hideRefreshButton: true,
52
+ hideTimestamp: true,
53
+ hideTitle: true
54
+ },
55
+ huriPayload: AggregatePricePointer,
56
+ plugins: [CryptoAssetRenderPlugin]
57
+ };
58
+ const WithPassedPayload = Template.bind({});
59
+ WithPassedPayload.args = {
60
+ huriPayload: payloadData,
61
+ plugins: [CryptoAssetRenderPlugin]
62
+ };
63
+ const WithSetBusyExternally = Template.bind({});
64
+ WithSetBusyExternally.args = {
65
+ busy: true,
66
+ huriPayload: payloadData,
67
+ plugins: [CryptoAssetRenderPlugin]
68
+ };
69
+ const WithOnRefresh = Template.bind({});
70
+ WithOnRefresh.args = {
71
+ huriPayload: payloadData,
72
+ onRefresh: () => console.log("refreshed"),
73
+ plugins: [CryptoAssetRenderPlugin]
74
+ };
75
+ export {
76
+ ApiError,
77
+ Default,
78
+ HiddenElements,
79
+ ThrownError,
80
+ WithOnRefresh,
81
+ WithPassedPayload,
82
+ WithSetBusyExternally,
83
+ XyoEmbedPlugin_states_stories_default as default
84
+ };
85
+ //# sourceMappingURL=XyoEmbedPlugin.states.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.tsx"],"sourcesContent":["import { Meta } from '@storybook/react'\nimport { CryptoAssetRenderPlugin } from '@xyo-network/react-aggregate-price-plugin'\nimport { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'\nimport { createPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\n\nimport { payloadData } from './storyPayload'\nimport { Template, xyoEmbedStoryBase } from './storyShared'\n\nconst AggregatePricePointer = 'https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20'\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n ...xyoEmbedStoryBase,\n title: 'embed/EmbedPlugin/states',\n} as Meta\n\nconst testPlugin = createPayloadRenderPlugin({\n canRender: () => true,\n name: 'Test Plugin',\n})\n\nconst testPlugin1 = createPayloadRenderPlugin({\n canRender: () => true,\n name: 'Test1 Plugin',\n})\n\nconst failingPlugin = createPayloadRenderPlugin({\n canRender: () => true,\n components: {\n box: {\n details: () => {\n throw Error('testing Error Boundary')\n },\n },\n },\n name: 'Failing Plugin',\n})\n\nconst Default = Template.bind({})\nDefault.args = {\n huri: AggregatePricePointer,\n plugins: [testPlugin, testPlugin1],\n}\n\nconst ApiError = Template.bind({})\nApiError.args = {\n huriPayload: 'https://api.archivist.xyo.network/9663b2f80395a9e7e95948fdd5988b778a4dcc047202bf67e855ff6cd459b8c',\n plugins: [UniswapPairsRenderPlugin],\n}\n\nconst ThrownError = Template.bind({})\nThrownError.args = {\n huriPayload: AggregatePricePointer,\n plugins: [failingPlugin],\n}\n\nconst HiddenElements = Template.bind({})\nHiddenElements.args = {\n hideElementsConfig: {\n hideAvatar: true,\n hideCardActions: true,\n hideCardHeader: true,\n hideRefreshButton: true,\n hideTimestamp: true,\n hideTitle: true,\n },\n huriPayload: AggregatePricePointer,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst WithPassedPayload = Template.bind({})\nWithPassedPayload.args = {\n huriPayload: payloadData,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst WithSetBusyExternally = Template.bind({})\nWithSetBusyExternally.args = {\n busy: true,\n huriPayload: payloadData,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst WithOnRefresh = Template.bind({})\nWithOnRefresh.args = {\n huriPayload: payloadData,\n onRefresh: () => console.log('refreshed'),\n plugins: [CryptoAssetRenderPlugin],\n}\n\nexport { ApiError, Default, HiddenElements, ThrownError, WithOnRefresh, WithPassedPayload, WithSetBusyExternally }\n"],"mappings":"AACA,SAAS,+BAA+B;AACxC,SAAS,gCAAgC;AACzC,SAAS,iCAAiC;AAE1C,SAAS,mBAAmB;AAC5B,SAAS,UAAU,yBAAyB;AAE5C,MAAM,wBAAwB;AAG9B,IAAO,wCAAQ;AAAA,EACb,GAAG;AAAA,EACH,OAAO;AACT;AAEA,MAAM,aAAa,0BAA0B;AAAA,EAC3C,WAAW,MAAM;AAAA,EACjB,MAAM;AACR,CAAC;AAED,MAAM,cAAc,0BAA0B;AAAA,EAC5C,WAAW,MAAM;AAAA,EACjB,MAAM;AACR,CAAC;AAED,MAAM,gBAAgB,0BAA0B;AAAA,EAC9C,WAAW,MAAM;AAAA,EACjB,YAAY;AAAA,IACV,KAAK;AAAA,MACH,SAAS,MAAM;AACb,cAAM,MAAM,wBAAwB;AAAA,MACtC;AAAA,IACF;AAAA,EACF;AAAA,EACA,MAAM;AACR,CAAC;AAED,MAAM,UAAU,SAAS,KAAK,CAAC,CAAC;AAChC,QAAQ,OAAO;AAAA,EACb,MAAM;AAAA,EACN,SAAS,CAAC,YAAY,WAAW;AACnC;AAEA,MAAM,WAAW,SAAS,KAAK,CAAC,CAAC;AACjC,SAAS,OAAO;AAAA,EACd,aAAa;AAAA,EACb,SAAS,CAAC,wBAAwB;AACpC;AAEA,MAAM,cAAc,SAAS,KAAK,CAAC,CAAC;AACpC,YAAY,OAAO;AAAA,EACjB,aAAa;AAAA,EACb,SAAS,CAAC,aAAa;AACzB;AAEA,MAAM,iBAAiB,SAAS,KAAK,CAAC,CAAC;AACvC,eAAe,OAAO;AAAA,EACpB,oBAAoB;AAAA,IAClB,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,eAAe;AAAA,IACf,WAAW;AAAA,EACb;AAAA,EACA,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,oBAAoB,SAAS,KAAK,CAAC,CAAC;AAC1C,kBAAkB,OAAO;AAAA,EACvB,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,wBAAwB,SAAS,KAAK,CAAC,CAAC;AAC9C,sBAAsB,OAAO;AAAA,EAC3B,MAAM;AAAA,EACN,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,gBAAgB,SAAS,KAAK,CAAC,CAAC;AACtC,cAAc,OAAO;AAAA,EACnB,aAAa;AAAA,EACb,WAAW,MAAM,QAAQ,IAAI,WAAW;AAAA,EACxC,SAAS,CAAC,uBAAuB;AACnC;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyPayload.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyPayload.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAA"}
@@ -0,0 +1,25 @@
1
+ const payloadData = {
2
+ assets: {
3
+ ada: { value: { btc: "0.00002192", eth: "0.00031141", eur: "0.491867", usd: "0.502045" } },
4
+ btc: { value: { btc: "1", eth: "14.213346", eur: "22450", usd: "22914" } },
5
+ busd: { value: { btc: "0.00004369", eth: "0.00062074", eur: "0.980451", usd: "1.001" } },
6
+ dai: { value: { usdc: "1.00004", xyo: "114.394" } },
7
+ doge: { value: { btc: "0.00000293", eth: "0.00004157", eur: "0.065655", usd: "0.067013" } },
8
+ dot: { value: { btc: "0.00035508", eth: "0.00504454", eur: "7.97", usd: "8.13" } },
9
+ eth: { value: { btc: "0.0703878", eth: "1", eur: "1579.47", usd: "1612.16" } },
10
+ frax: { value: { usdc: "0.999738" } },
11
+ link: { value: { xyo: "837.731" } },
12
+ sol: { value: { btc: "0.00169369", eth: "0.02406215", eur: "38.01", usd: "38.79" } },
13
+ usdc: { value: { btc: "0.0000436965", dai: "0.999963", eth: "0.0006204464999999999", eur: "0.979419", frax: "1.00026", usd: "0.999732" } },
14
+ usdt: { value: { btc: "0.00004367", eth: "0.0006204", eur: "0.979881", usd: "1.001", usdc: "1.00022", xyo: "113.28" } },
15
+ wbtc: { value: { btc: "0.99903669", eth: "14.2015745", eur: "22418", usd: "22882", usdc: "22860.8", xyo: "2617950" } },
16
+ weth: { value: { btc: "0.0703735", usdc: "1610.82", xyo: "186652" } },
17
+ xyo: { value: { btc: "3.79226e-7", dai: "0.00874169", eth: "0.000005353785", eur: "0.00844792", link: "0.0011937", usd: "0.00872519" } }
18
+ },
19
+ schema: "network.xyo.crypto.asset",
20
+ timestamp: 1659625815232
21
+ };
22
+ export {
23
+ payloadData
24
+ };
25
+ //# sourceMappingURL=storyPayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"sourcesContent":["export const payloadData = {\n assets: {\n ada: { value: { btc: '0.00002192', eth: '0.00031141', eur: '0.491867', usd: '0.502045' } },\n btc: { value: { btc: '1', eth: '14.213346', eur: '22450', usd: '22914' } },\n busd: { value: { btc: '0.00004369', eth: '0.00062074', eur: '0.980451', usd: '1.001' } },\n dai: { value: { usdc: '1.00004', xyo: '114.394' } },\n doge: { value: { btc: '0.00000293', eth: '0.00004157', eur: '0.065655', usd: '0.067013' } },\n dot: { value: { btc: '0.00035508', eth: '0.00504454', eur: '7.97', usd: '8.13' } },\n eth: { value: { btc: '0.0703878', eth: '1', eur: '1579.47', usd: '1612.16' } },\n frax: { value: { usdc: '0.999738' } },\n link: { value: { xyo: '837.731' } },\n sol: { value: { btc: '0.00169369', eth: '0.02406215', eur: '38.01', usd: '38.79' } },\n usdc: { value: { btc: '0.0000436965', dai: '0.999963', eth: '0.0006204464999999999', eur: '0.979419', frax: '1.00026', usd: '0.999732' } },\n usdt: { value: { btc: '0.00004367', eth: '0.0006204', eur: '0.979881', usd: '1.001', usdc: '1.00022', xyo: '113.28' } },\n wbtc: { value: { btc: '0.99903669', eth: '14.2015745', eur: '22418', usd: '22882', usdc: '22860.8', xyo: '2617950' } },\n weth: { value: { btc: '0.0703735', usdc: '1610.82', xyo: '186652' } },\n xyo: { value: { btc: '3.79226e-7', dai: '0.00874169', eth: '0.000005353785', eur: '0.00844792', link: '0.0011937', usd: '0.00872519' } },\n },\n schema: 'network.xyo.crypto.asset',\n timestamp: 1659625815232,\n}\n"],"mappings":"AAAO,MAAM,cAAc;AAAA,EACzB,QAAQ;AAAA,IACN,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IACzF,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,KAAK,aAAa,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACzE,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,QAAQ,EAAE;AAAA,IACvF,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IAClD,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IAC1F,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,QAAQ,KAAK,OAAO,EAAE;AAAA,IACjF,KAAK,EAAE,OAAO,EAAE,KAAK,aAAa,KAAK,KAAK,KAAK,WAAW,KAAK,UAAU,EAAE;AAAA,IAC7E,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,EAAE;AAAA,IACpC,MAAM,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE;AAAA,IAClC,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACnF,MAAM,EAAE,OAAO,EAAE,KAAK,gBAAgB,KAAK,YAAY,KAAK,yBAAyB,KAAK,YAAY,MAAM,WAAW,KAAK,WAAW,EAAE;AAAA,IACzI,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,aAAa,KAAK,YAAY,KAAK,SAAS,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACtH,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,SAAS,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IACrH,MAAM,EAAE,OAAO,EAAE,KAAK,aAAa,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACpE,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,kBAAkB,KAAK,cAAc,MAAM,aAAa,KAAK,aAAa,EAAE;AAAA,EACzI;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyShared.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,eAAO,MAAM,iBAAiB,EAAE,IAQ/B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,OAAO,kBAAkB,CAMvD,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyShared.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,eAAO,MAAM,iBAAiB,EAAE,IAQ/B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,OAAO,kBAAkB,CAMvD,CAAA"}
@@ -0,0 +1,20 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { BrowserRouter } from "react-router-dom";
3
+ import { ApiEmbedPluginCard } from "../embed-card";
4
+ const xyoEmbedStoryBase = {
5
+ argTypes: {},
6
+ component: ApiEmbedPluginCard,
7
+ parameters: {
8
+ docs: {
9
+ page: null
10
+ }
11
+ }
12
+ };
13
+ const Template = (args) => {
14
+ return /* @__PURE__ */ jsx(BrowserRouter, { children: /* @__PURE__ */ jsx(ApiEmbedPluginCard, { ...args }) });
15
+ };
16
+ export {
17
+ Template,
18
+ xyoEmbedStoryBase
19
+ };
20
+ //# sourceMappingURL=storyShared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"sourcesContent":["import { Meta, StoryFn } from '@storybook/react'\nimport { BrowserRouter } from 'react-router-dom'\n\nimport { ApiEmbedPluginCard } from '../embed-card'\n\nexport const xyoEmbedStoryBase: Meta = {\n argTypes: {},\n component: ApiEmbedPluginCard,\n parameters: {\n docs: {\n page: null,\n },\n },\n}\n\nexport const Template: StoryFn<typeof ApiEmbedPluginCard> = (args) => {\n return (\n <BrowserRouter>\n <ApiEmbedPluginCard {...args} />\n </BrowserRouter>\n )\n}\n"],"mappings":"AAkBM;AAjBN,SAAS,qBAAqB;AAE9B,SAAS,0BAA0B;AAE5B,MAAM,oBAA0B;AAAA,EACrC,UAAU,CAAC;AAAA,EACX,WAAW;AAAA,EACX,YAAY;AAAA,IACV,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,MAAM,WAA+C,CAAC,SAAS;AACpE,SACE,oBAAC,iBACC,8BAAC,sBAAoB,GAAG,MAAM,GAChC;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from "./embed-card";
2
+ export * from "./EmbedPlugin";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from './embed-card'\nexport * from './EmbedPlugin'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidatePayload.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAYnE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidatePayload.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAYnE,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import { Alert } from "@mui/material";
3
+ import { useValidatePayload } from "../../contexts";
4
+ const ValidatePayloadAlert = ({ children, ...props }) => {
5
+ const { validPayload, enabled, schema } = useValidatePayload();
6
+ if (enabled && validPayload === false) {
7
+ return /* @__PURE__ */ jsxs(Alert, { severity: "error", title: "Invalid Payload!", ...props, children: [
8
+ "Payload schema claimed to be ",
9
+ schema,
10
+ " but failed to validate."
11
+ ] });
12
+ }
13
+ return /* @__PURE__ */ jsx(Fragment, { children });
14
+ };
15
+ export {
16
+ ValidatePayloadAlert
17
+ };
18
+ //# sourceMappingURL=ValidatePayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"sourcesContent":["import { Alert, AlertProps } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useValidatePayload } from '../../contexts'\n\nexport const ValidatePayloadAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { validPayload, enabled, schema } = useValidatePayload()\n\n if (enabled && validPayload === false) {\n return (\n <Alert severity=\"error\" title=\"Invalid Payload!\" {...props}>\n Payload schema claimed to be {schema} but failed to validate.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n"],"mappings":"AAUM,SAMG,eANH;AAVN,SAAS,aAAyB;AAGlC,SAAS,0BAA0B;AAE5B,MAAM,uBAA2D,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAClG,QAAM,EAAE,cAAc,SAAS,OAAO,IAAI,mBAAmB;AAE7D,MAAI,WAAW,iBAAiB,OAAO;AACrC,WACE,qBAAC,SAAM,UAAS,SAAQ,OAAM,oBAAoB,GAAG,OAAO;AAAA;AAAA,MAC5B;AAAA,MAAO;AAAA,OACvC;AAAA,EAEJ;AAEA,SAAO,gCAAG,UAAS;AACrB;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidatePlugins.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAanE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidatePlugins.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAanE,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import { Alert, AlertTitle } from "@mui/material";
3
+ import { useEmbedPluginState, useResolvePayload } from "../../contexts";
4
+ const ValidatePluginsAlert = ({ children, ...props }) => {
5
+ const { payload } = useResolvePayload();
6
+ const { plugins } = useEmbedPluginState();
7
+ if (payload && plugins?.length === 0) {
8
+ return /* @__PURE__ */ jsxs(Alert, { severity: "warning", ...props, children: [
9
+ /* @__PURE__ */ jsx(AlertTitle, { children: "Missing plugins!" }),
10
+ "Payload found but no plugins were present."
11
+ ] });
12
+ }
13
+ return /* @__PURE__ */ jsx(Fragment, { children });
14
+ };
15
+ export {
16
+ ValidatePluginsAlert
17
+ };
18
+ //# sourceMappingURL=ValidatePlugins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"sourcesContent":["import { Alert, AlertProps, AlertTitle } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts'\n\nexport const ValidatePluginsAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { payload } = useResolvePayload()\n const { plugins } = useEmbedPluginState()\n\n if (payload && plugins?.length === 0) {\n return (\n <Alert severity=\"warning\" {...props}>\n <AlertTitle>Missing plugins!</AlertTitle>Payload found but no plugins were present.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n"],"mappings":"AAWM,SAMG,UALD,KADF;AAXN,SAAS,OAAmB,kBAAkB;AAG9C,SAAS,qBAAqB,yBAAyB;AAEhD,MAAM,uBAA2D,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAClG,QAAM,EAAE,QAAQ,IAAI,kBAAkB;AACtC,QAAM,EAAE,QAAQ,IAAI,oBAAoB;AAExC,MAAI,WAAW,SAAS,WAAW,GAAG;AACpC,WACE,qBAAC,SAAM,UAAS,WAAW,GAAG,OAC5B;AAAA,0BAAC,cAAW,8BAAgB;AAAA,MAAa;AAAA,OAC3C;AAAA,EAEJ;AAEA,SAAO,gCAAG,UAAS;AACrB;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from "./ValidatePayload";
2
+ export * from "./ValidatePlugins";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/validation-alerts/index.ts"],"sourcesContent":["export * from './ValidatePayload'\nexport * from './ValidatePlugins'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,kBAAkB,gGAAsC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,kBAAkB,gGAAsC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { createContextEx } from "@xyo-network/react-shared";
2
+ const EmbedPluginContext = createContextEx();
3
+ export {
4
+ EmbedPluginContext
5
+ };
6
+ //# sourceMappingURL=Context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n"],"mappings":"AAAA,SAAS,uBAAuB;AAIzB,MAAM,qBAAqB,gBAAkC;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAA;AAEtD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,wBAAwB,CAAC,CA6BhF,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAA;AAEtD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,wBAAwB,CAAC,CA6BhF,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useEffect, useState } from "react";
3
+ import { EmbedPluginContext } from "./Context";
4
+ const EmbedPluginProvider = ({
5
+ children,
6
+ refreshTitle,
7
+ timestampLabel,
8
+ hideElementsConfig,
9
+ plugins,
10
+ embedPluginConfig
11
+ }) => {
12
+ const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
13
+ useEffect(() => {
14
+ setActivePlugin(plugins ? plugins[0] : void 0);
15
+ }, [plugins]);
16
+ return /* @__PURE__ */ jsx(
17
+ EmbedPluginContext.Provider,
18
+ {
19
+ value: {
20
+ activePlugin,
21
+ embedPluginConfig,
22
+ hideElementsConfig,
23
+ provided: true,
24
+ refreshTitle,
25
+ setActivePlugin,
26
+ timestampLabel
27
+ },
28
+ children
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ EmbedPluginProvider
34
+ };
35
+ //# sourceMappingURL=Provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n"],"mappings":"AAyBI;AAvBJ,SAAS,WAAW,gBAAgB;AAEpC,SAAS,0BAA0B;AAM5B,MAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI,SAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,YAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,YAAY,CAAA;IAChC,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe,EAAE,cAAc;IACvE,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,eAAe,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAA;CAC5E"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,YAAY,CAAA;IAChC,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe,EAAE,cAAc;IACvE,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,eAAe,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAA;CAC5E"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=State.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from "./Context";
2
+ export * from "./Provider";
3
+ export * from "./State";
4
+ export * from "./use";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"sourcesContent":["export * from './Context'\nexport * from './Provider'\nexport * from './State'\nexport * from './use'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,iHAA8D,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,iHAA8D,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { useContextEx } from "@xyo-network/react-shared";
2
+ import { EmbedPluginContext } from "./Context";
3
+ const useEmbedPluginState = () => useContextEx(EmbedPluginContext, "EmbedPlugin", true);
4
+ export {
5
+ useEmbedPluginState
6
+ };
7
+ //# sourceMappingURL=use.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n"],"mappings":"AAAA,SAAS,oBAAoB;AAE7B,SAAS,0BAA0B;AAE5B,MAAM,sBAAsB,MAAM,aAAa,oBAAoB,eAAe,IAAI;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { createContextEx } from "@xyo-network/react-shared";
2
+ const RefreshPayloadContext = createContextEx();
3
+ export {
4
+ RefreshPayloadContext
5
+ };
6
+ //# sourceMappingURL=Context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n"],"mappings":"AAAA,SAAS,uBAAuB;AAIzB,MAAM,wBAAwB,gBAAqC;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAQ9E,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAQ9E,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { RefreshPayloadContext } from "./Context";
4
+ const RefreshPayloadProvider = ({ children, onRefresh, refreshPayload }) => {
5
+ const [localRefreshPayload, setRefreshPayload] = useState(refreshPayload);
6
+ return /* @__PURE__ */ jsx(RefreshPayloadContext.Provider, { value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }, children });
7
+ };
8
+ export {
9
+ RefreshPayloadProvider
10
+ };
11
+ //# sourceMappingURL=Provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context'\n\nexport interface RefreshPayloadProps {\n onRefresh?: () => void\n refreshPayload?: boolean\n}\n\nexport const RefreshPayloadProvider: React.FC<WithChildren<RefreshPayloadProps>> = ({ children, onRefresh, refreshPayload }) => {\n const [localRefreshPayload, setRefreshPayload] = useState(refreshPayload)\n\n return (\n <RefreshPayloadContext.Provider value={{ onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }}>\n {children}\n </RefreshPayloadContext.Provider>\n )\n}\n"],"mappings":"AAcI;AAbJ,SAAS,gBAAgB;AAEzB,SAAS,6BAA6B;AAO/B,MAAM,yBAAsE,CAAC,EAAE,UAAU,WAAW,eAAe,MAAM;AAC9H,QAAM,CAAC,qBAAqB,iBAAiB,IAAI,SAAS,cAAc;AAExE,SACE,oBAAC,sBAAsB,UAAtB,EAA+B,OAAO,EAAE,WAAW,UAAU,MAAM,gBAAgB,qBAAqB,kBAAkB,GACxH,UACH;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAClE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAClE"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=State.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from "./Provider";
2
+ export * from "./State";
3
+ export * from "./use";
4
+ //# sourceMappingURL=index.js.map