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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (448) hide show
  1. package/dist/components/EmbedPlugin.d.mts.map +1 -0
  2. package/dist/components/EmbedPlugin.d.ts +5 -0
  3. package/dist/components/EmbedPlugin.d.ts.map +1 -0
  4. package/dist/components/EmbedResolver.d.mts.map +1 -0
  5. package/dist/components/EmbedResolver.d.ts +4 -0
  6. package/dist/components/EmbedResolver.d.ts.map +1 -0
  7. package/dist/components/controls/EmbedFormControl.d.mts.map +1 -0
  8. package/dist/components/controls/EmbedFormControl.d.ts +10 -0
  9. package/dist/components/controls/EmbedFormControl.d.ts.map +1 -0
  10. package/dist/components/controls/ListModeSelect.d.mts.map +1 -0
  11. package/dist/components/controls/ListModeSelect.d.ts +6 -0
  12. package/dist/components/controls/ListModeSelect.d.ts.map +1 -0
  13. package/dist/components/controls/RenderSelect.d.mts.map +1 -0
  14. package/dist/components/controls/RenderSelect.d.ts +4 -0
  15. package/dist/components/controls/RenderSelect.d.ts.map +1 -0
  16. package/dist/components/controls/index.d.mts.map +1 -0
  17. package/dist/{esm/components/controls/index.js → components/controls/index.d.ts} +1 -1
  18. package/dist/components/controls/index.d.ts.map +1 -0
  19. package/dist/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
  20. package/dist/components/embed-card/EmbedCardResolver.d.ts +5 -0
  21. package/dist/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
  22. package/dist/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
  23. package/dist/components/embed-card/EmbedPluginCard.d.ts +11 -0
  24. package/dist/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
  25. package/dist/components/embed-card/card/BusyCard.d.mts.map +1 -0
  26. package/dist/components/embed-card/card/BusyCard.d.ts +11 -0
  27. package/dist/components/embed-card/card/BusyCard.d.ts.map +1 -0
  28. package/dist/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
  29. package/dist/components/embed-card/card/EmbedCardHeader.d.ts +4 -0
  30. package/dist/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
  31. package/dist/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
  32. package/dist/components/embed-card/card/EmbedPluginCard.d.ts +4 -0
  33. package/dist/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
  34. package/dist/components/embed-card/card/index.d.mts.map +1 -0
  35. package/dist/{esm/components/embed-card/card/index.js → components/embed-card/card/index.d.ts} +1 -1
  36. package/dist/components/embed-card/card/index.d.ts.map +1 -0
  37. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
  38. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +10 -0
  39. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
  40. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
  41. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts +15 -0
  42. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
  43. package/dist/components/embed-card/error-handling/index.d.mts.map +1 -0
  44. package/dist/{esm/components/embed-card/error-handling/index.js → components/embed-card/error-handling/index.d.ts} +1 -1
  45. package/dist/components/embed-card/error-handling/index.d.ts.map +1 -0
  46. package/dist/components/embed-card/index.d.mts.map +1 -0
  47. package/dist/{esm/components/embed-card/index.js → components/embed-card/index.d.ts} +1 -1
  48. package/dist/components/embed-card/index.d.ts.map +1 -0
  49. package/dist/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
  50. package/dist/components/embed-card/menu/EmbedMenu.d.ts +4 -0
  51. package/dist/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
  52. package/dist/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
  53. package/dist/components/embed-card/menu/JsonMenuItem.d.ts +4 -0
  54. package/dist/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
  55. package/dist/components/embed-card/menu/index.d.mts.map +1 -0
  56. package/dist/components/embed-card/menu/index.d.ts +2 -0
  57. package/dist/components/embed-card/menu/index.d.ts.map +1 -0
  58. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts +6 -0
  59. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts.map +1 -0
  60. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts +6 -0
  61. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts.map +1 -0
  62. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts +11 -0
  63. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts.map +1 -0
  64. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts +11 -0
  65. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts.map +1 -0
  66. package/dist/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
  67. package/dist/components/embed-plugin-stories/storyPayload.d.ts +126 -0
  68. package/dist/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
  69. package/dist/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
  70. package/dist/components/embed-plugin-stories/storyShared.d.ts +5 -0
  71. package/dist/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
  72. package/dist/components/index.d.mts.map +1 -0
  73. package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
  74. package/dist/components/index.d.ts.map +1 -0
  75. package/dist/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
  76. package/dist/components/validation-alerts/ValidatePayload.d.ts +5 -0
  77. package/dist/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
  78. package/dist/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
  79. package/dist/components/validation-alerts/ValidatePlugins.d.ts +5 -0
  80. package/dist/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
  81. package/dist/components/validation-alerts/index.d.mts.map +1 -0
  82. package/dist/{esm/components/validation-alerts/index.js → components/validation-alerts/index.d.ts} +1 -1
  83. package/dist/components/validation-alerts/index.d.ts.map +1 -0
  84. package/dist/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
  85. package/dist/contexts/EmbedPluginContext/Context.d.ts +4 -0
  86. package/dist/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
  87. package/dist/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
  88. package/dist/contexts/EmbedPluginContext/Provider.d.ts +7 -0
  89. package/dist/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
  90. package/dist/contexts/EmbedPluginContext/State.d.mts.map +1 -0
  91. package/dist/contexts/EmbedPluginContext/State.d.ts +33 -0
  92. package/dist/contexts/EmbedPluginContext/State.d.ts.map +1 -0
  93. package/dist/contexts/EmbedPluginContext/index.d.mts.map +1 -0
  94. package/dist/contexts/EmbedPluginContext/index.d.ts.map +1 -0
  95. package/dist/contexts/EmbedPluginContext/use.d.mts.map +1 -0
  96. package/dist/contexts/EmbedPluginContext/use.d.ts +2 -0
  97. package/dist/contexts/EmbedPluginContext/use.d.ts.map +1 -0
  98. package/dist/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
  99. package/dist/contexts/RefreshPayloadContext/Context.d.ts +4 -0
  100. package/dist/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
  101. package/dist/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
  102. package/dist/contexts/RefreshPayloadContext/Provider.d.ts +8 -0
  103. package/dist/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
  104. package/dist/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
  105. package/dist/contexts/RefreshPayloadContext/State.d.ts +8 -0
  106. package/dist/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
  107. package/dist/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
  108. package/dist/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
  109. package/dist/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
  110. package/dist/contexts/RefreshPayloadContext/use.d.ts +2 -0
  111. package/dist/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
  112. package/dist/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
  113. package/dist/contexts/ResolvePayloadContext/Context.d.ts +4 -0
  114. package/dist/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
  115. package/dist/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
  116. package/dist/contexts/ResolvePayloadContext/Provider.d.ts +6 -0
  117. package/dist/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
  118. package/dist/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
  119. package/dist/contexts/ResolvePayloadContext/State.d.ts +13 -0
  120. package/dist/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
  121. package/dist/{esm/contexts/EmbedPluginContext/index.js → contexts/ResolvePayloadContext/index.d.mts} +1 -1
  122. package/dist/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
  123. package/dist/{esm/contexts/ResolvePayloadContext/index.js → contexts/ResolvePayloadContext/index.d.ts} +1 -1
  124. package/dist/{types/contexts/EmbedPluginContext → contexts/ResolvePayloadContext}/index.d.ts.map +1 -1
  125. package/dist/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
  126. package/dist/contexts/ResolvePayloadContext/use.d.ts +2 -0
  127. package/dist/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
  128. package/dist/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
  129. package/dist/contexts/ValidatePayloadContext/Context.d.ts +4 -0
  130. package/dist/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
  131. package/dist/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
  132. package/dist/contexts/ValidatePayloadContext/Provider.d.ts +7 -0
  133. package/dist/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
  134. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts +15 -0
  135. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts.map +1 -0
  136. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts +15 -0
  137. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts.map +1 -0
  138. package/dist/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
  139. package/dist/contexts/ValidatePayloadContext/State.d.ts +7 -0
  140. package/dist/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
  141. package/dist/{esm/contexts/RefreshPayloadContext/index.js → contexts/ValidatePayloadContext/index.d.mts} +1 -1
  142. package/dist/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
  143. package/dist/{esm/contexts/ValidatePayloadContext/index.js → contexts/ValidatePayloadContext/index.d.ts} +1 -1
  144. package/dist/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
  145. package/dist/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
  146. package/dist/contexts/ValidatePayloadContext/use.d.ts +2 -0
  147. package/dist/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
  148. package/dist/contexts/index.d.mts.map +1 -0
  149. package/dist/{esm/contexts/index.js → contexts/index.d.ts} +1 -1
  150. package/dist/contexts/index.d.ts.map +1 -0
  151. package/dist/{esm/index.js → index.d.mts} +1 -1
  152. package/dist/index.d.mts.map +1 -0
  153. package/dist/index.d.ts +4 -0
  154. package/dist/index.d.ts.map +1 -0
  155. package/dist/index.js +533 -0
  156. package/dist/index.js.map +1 -0
  157. package/dist/index.mjs +493 -0
  158. package/dist/index.mjs.map +1 -0
  159. package/dist/types/EmbedPluginProps.d.mts.map +1 -0
  160. package/dist/types/EmbedPluginProps.d.ts +10 -0
  161. package/dist/types/EmbedPluginProps.d.ts.map +1 -0
  162. package/dist/types/index.d.mts.map +1 -0
  163. package/dist/types/index.d.ts +1 -3
  164. package/dist/types/index.d.ts.map +1 -1
  165. package/package.json +35 -26
  166. package/src/components/embed-card/card/EmbedCardHeader.tsx +1 -1
  167. package/src/components/embed-card/menu/EmbedMenu.tsx +1 -1
  168. package/src/components/embed-card/menu/JsonMenuItem.tsx +1 -1
  169. package/dist/cjs/components/EmbedPlugin.js +0 -19
  170. package/dist/cjs/components/EmbedPlugin.js.map +0 -1
  171. package/dist/cjs/components/EmbedResolver.js +0 -12
  172. package/dist/cjs/components/EmbedResolver.js.map +0 -1
  173. package/dist/cjs/components/controls/EmbedFormControl.js +0 -12
  174. package/dist/cjs/components/controls/EmbedFormControl.js.map +0 -1
  175. package/dist/cjs/components/controls/ListModeSelect.js +0 -21
  176. package/dist/cjs/components/controls/ListModeSelect.js.map +0 -1
  177. package/dist/cjs/components/controls/RenderSelect.js +0 -15
  178. package/dist/cjs/components/controls/RenderSelect.js.map +0 -1
  179. package/dist/cjs/components/controls/index.js +0 -7
  180. package/dist/cjs/components/controls/index.js.map +0 -1
  181. package/dist/cjs/components/embed-card/EmbedCardResolver.js +0 -19
  182. package/dist/cjs/components/embed-card/EmbedCardResolver.js.map +0 -1
  183. package/dist/cjs/components/embed-card/EmbedPluginCard.js +0 -35
  184. package/dist/cjs/components/embed-card/EmbedPluginCard.js.map +0 -1
  185. package/dist/cjs/components/embed-card/card/BusyCard.js +0 -15
  186. package/dist/cjs/components/embed-card/card/BusyCard.js.map +0 -1
  187. package/dist/cjs/components/embed-card/card/EmbedCardHeader.js +0 -21
  188. package/dist/cjs/components/embed-card/card/EmbedCardHeader.js.map +0 -1
  189. package/dist/cjs/components/embed-card/card/EmbedPluginCard.js +0 -23
  190. package/dist/cjs/components/embed-card/card/EmbedPluginCard.js.map +0 -1
  191. package/dist/cjs/components/embed-card/card/index.js +0 -7
  192. package/dist/cjs/components/embed-card/card/index.js.map +0 -1
  193. package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +0 -17
  194. package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +0 -1
  195. package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js +0 -16
  196. package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js.map +0 -1
  197. package/dist/cjs/components/embed-card/error-handling/index.js +0 -6
  198. package/dist/cjs/components/embed-card/error-handling/index.js.map +0 -1
  199. package/dist/cjs/components/embed-card/index.js +0 -6
  200. package/dist/cjs/components/embed-card/index.js.map +0 -1
  201. package/dist/cjs/components/embed-card/menu/EmbedMenu.js +0 -23
  202. package/dist/cjs/components/embed-card/menu/EmbedMenu.js.map +0 -1
  203. package/dist/cjs/components/embed-card/menu/JsonMenuItem.js +0 -14
  204. package/dist/cjs/components/embed-card/menu/JsonMenuItem.js.map +0 -1
  205. package/dist/cjs/components/embed-card/menu/index.js +0 -5
  206. package/dist/cjs/components/embed-card/menu/index.js.map +0 -1
  207. package/dist/cjs/components/embed-plugin-stories/storyPayload.js +0 -25
  208. package/dist/cjs/components/embed-plugin-stories/storyPayload.js.map +0 -1
  209. package/dist/cjs/components/embed-plugin-stories/storyShared.js +0 -20
  210. package/dist/cjs/components/embed-plugin-stories/storyShared.js.map +0 -1
  211. package/dist/cjs/components/index.js +0 -6
  212. package/dist/cjs/components/index.js.map +0 -1
  213. package/dist/cjs/components/validation-alerts/ValidatePayload.js +0 -17
  214. package/dist/cjs/components/validation-alerts/ValidatePayload.js.map +0 -1
  215. package/dist/cjs/components/validation-alerts/ValidatePlugins.js +0 -18
  216. package/dist/cjs/components/validation-alerts/ValidatePlugins.js.map +0 -1
  217. package/dist/cjs/components/validation-alerts/index.js +0 -6
  218. package/dist/cjs/components/validation-alerts/index.js.map +0 -1
  219. package/dist/cjs/contexts/EmbedPluginContext/Context.js +0 -6
  220. package/dist/cjs/contexts/EmbedPluginContext/Context.js.map +0 -1
  221. package/dist/cjs/contexts/EmbedPluginContext/Provider.js +0 -24
  222. package/dist/cjs/contexts/EmbedPluginContext/Provider.js.map +0 -1
  223. package/dist/cjs/contexts/EmbedPluginContext/State.js +0 -3
  224. package/dist/cjs/contexts/EmbedPluginContext/State.js.map +0 -1
  225. package/dist/cjs/contexts/EmbedPluginContext/index.js +0 -8
  226. package/dist/cjs/contexts/EmbedPluginContext/index.js.map +0 -1
  227. package/dist/cjs/contexts/EmbedPluginContext/use.js +0 -8
  228. package/dist/cjs/contexts/EmbedPluginContext/use.js.map +0 -1
  229. package/dist/cjs/contexts/RefreshPayloadContext/Context.js +0 -6
  230. package/dist/cjs/contexts/RefreshPayloadContext/Context.js.map +0 -1
  231. package/dist/cjs/contexts/RefreshPayloadContext/Provider.js +0 -12
  232. package/dist/cjs/contexts/RefreshPayloadContext/Provider.js.map +0 -1
  233. package/dist/cjs/contexts/RefreshPayloadContext/State.js +0 -3
  234. package/dist/cjs/contexts/RefreshPayloadContext/State.js.map +0 -1
  235. package/dist/cjs/contexts/RefreshPayloadContext/index.js +0 -7
  236. package/dist/cjs/contexts/RefreshPayloadContext/index.js.map +0 -1
  237. package/dist/cjs/contexts/RefreshPayloadContext/use.js +0 -8
  238. package/dist/cjs/contexts/RefreshPayloadContext/use.js.map +0 -1
  239. package/dist/cjs/contexts/ResolvePayloadContext/Context.js +0 -6
  240. package/dist/cjs/contexts/ResolvePayloadContext/Context.js.map +0 -1
  241. package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +0 -56
  242. package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +0 -1
  243. package/dist/cjs/contexts/ResolvePayloadContext/State.js +0 -3
  244. package/dist/cjs/contexts/ResolvePayloadContext/State.js.map +0 -1
  245. package/dist/cjs/contexts/ResolvePayloadContext/index.js +0 -8
  246. package/dist/cjs/contexts/ResolvePayloadContext/index.js.map +0 -1
  247. package/dist/cjs/contexts/ResolvePayloadContext/use.js +0 -8
  248. package/dist/cjs/contexts/ResolvePayloadContext/use.js.map +0 -1
  249. package/dist/cjs/contexts/ValidatePayloadContext/Context.js +0 -6
  250. package/dist/cjs/contexts/ValidatePayloadContext/Context.js.map +0 -1
  251. package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +0 -32
  252. package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +0 -1
  253. package/dist/cjs/contexts/ValidatePayloadContext/State.js +0 -3
  254. package/dist/cjs/contexts/ValidatePayloadContext/State.js.map +0 -1
  255. package/dist/cjs/contexts/ValidatePayloadContext/index.js +0 -7
  256. package/dist/cjs/contexts/ValidatePayloadContext/index.js.map +0 -1
  257. package/dist/cjs/contexts/ValidatePayloadContext/use.js +0 -8
  258. package/dist/cjs/contexts/ValidatePayloadContext/use.js.map +0 -1
  259. package/dist/cjs/contexts/index.js +0 -8
  260. package/dist/cjs/contexts/index.js.map +0 -1
  261. package/dist/cjs/index.js +0 -7
  262. package/dist/cjs/index.js.map +0 -1
  263. package/dist/cjs/types/EmbedPluginProps.js +0 -3
  264. package/dist/cjs/types/EmbedPluginProps.js.map +0 -1
  265. package/dist/cjs/types/index.js +0 -5
  266. package/dist/cjs/types/index.js.map +0 -1
  267. package/dist/docs.json +0 -4855
  268. package/dist/esm/components/EmbedPlugin.js +0 -15
  269. package/dist/esm/components/EmbedPlugin.js.map +0 -1
  270. package/dist/esm/components/EmbedResolver.js +0 -8
  271. package/dist/esm/components/EmbedResolver.js.map +0 -1
  272. package/dist/esm/components/controls/EmbedFormControl.js +0 -6
  273. package/dist/esm/components/controls/EmbedFormControl.js.map +0 -1
  274. package/dist/esm/components/controls/ListModeSelect.js +0 -16
  275. package/dist/esm/components/controls/ListModeSelect.js.map +0 -1
  276. package/dist/esm/components/controls/RenderSelect.js +0 -11
  277. package/dist/esm/components/controls/RenderSelect.js.map +0 -1
  278. package/dist/esm/components/controls/index.js.map +0 -1
  279. package/dist/esm/components/embed-card/EmbedCardResolver.js +0 -13
  280. package/dist/esm/components/embed-card/EmbedCardResolver.js.map +0 -1
  281. package/dist/esm/components/embed-card/EmbedPluginCard.js +0 -28
  282. package/dist/esm/components/embed-card/EmbedPluginCard.js.map +0 -1
  283. package/dist/esm/components/embed-card/card/BusyCard.js +0 -9
  284. package/dist/esm/components/embed-card/card/BusyCard.js.map +0 -1
  285. package/dist/esm/components/embed-card/card/EmbedCardHeader.js +0 -15
  286. package/dist/esm/components/embed-card/card/EmbedCardHeader.js.map +0 -1
  287. package/dist/esm/components/embed-card/card/EmbedPluginCard.js +0 -16
  288. package/dist/esm/components/embed-card/card/EmbedPluginCard.js.map +0 -1
  289. package/dist/esm/components/embed-card/card/index.js.map +0 -1
  290. package/dist/esm/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +0 -10
  291. package/dist/esm/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +0 -1
  292. package/dist/esm/components/embed-card/error-handling/EmbedErrorCard.js +0 -11
  293. package/dist/esm/components/embed-card/error-handling/EmbedErrorCard.js.map +0 -1
  294. package/dist/esm/components/embed-card/error-handling/index.js.map +0 -1
  295. package/dist/esm/components/embed-card/index.js.map +0 -1
  296. package/dist/esm/components/embed-card/menu/EmbedMenu.js +0 -18
  297. package/dist/esm/components/embed-card/menu/EmbedMenu.js.map +0 -1
  298. package/dist/esm/components/embed-card/menu/JsonMenuItem.js +0 -9
  299. package/dist/esm/components/embed-card/menu/JsonMenuItem.js.map +0 -1
  300. package/dist/esm/components/embed-card/menu/index.js +0 -2
  301. package/dist/esm/components/embed-card/menu/index.js.map +0 -1
  302. package/dist/esm/components/embed-plugin-stories/storyPayload.js +0 -22
  303. package/dist/esm/components/embed-plugin-stories/storyPayload.js.map +0 -1
  304. package/dist/esm/components/embed-plugin-stories/storyShared.js +0 -16
  305. package/dist/esm/components/embed-plugin-stories/storyShared.js.map +0 -1
  306. package/dist/esm/components/index.js.map +0 -1
  307. package/dist/esm/components/validation-alerts/ValidatePayload.js +0 -11
  308. package/dist/esm/components/validation-alerts/ValidatePayload.js.map +0 -1
  309. package/dist/esm/components/validation-alerts/ValidatePlugins.js +0 -12
  310. package/dist/esm/components/validation-alerts/ValidatePlugins.js.map +0 -1
  311. package/dist/esm/components/validation-alerts/index.js.map +0 -1
  312. package/dist/esm/contexts/EmbedPluginContext/Context.js +0 -3
  313. package/dist/esm/contexts/EmbedPluginContext/Context.js.map +0 -1
  314. package/dist/esm/contexts/EmbedPluginContext/Provider.js +0 -20
  315. package/dist/esm/contexts/EmbedPluginContext/Provider.js.map +0 -1
  316. package/dist/esm/contexts/EmbedPluginContext/State.js +0 -2
  317. package/dist/esm/contexts/EmbedPluginContext/State.js.map +0 -1
  318. package/dist/esm/contexts/EmbedPluginContext/index.js.map +0 -1
  319. package/dist/esm/contexts/EmbedPluginContext/use.js +0 -4
  320. package/dist/esm/contexts/EmbedPluginContext/use.js.map +0 -1
  321. package/dist/esm/contexts/RefreshPayloadContext/Context.js +0 -3
  322. package/dist/esm/contexts/RefreshPayloadContext/Context.js.map +0 -1
  323. package/dist/esm/contexts/RefreshPayloadContext/Provider.js +0 -8
  324. package/dist/esm/contexts/RefreshPayloadContext/Provider.js.map +0 -1
  325. package/dist/esm/contexts/RefreshPayloadContext/State.js +0 -2
  326. package/dist/esm/contexts/RefreshPayloadContext/State.js.map +0 -1
  327. package/dist/esm/contexts/RefreshPayloadContext/index.js.map +0 -1
  328. package/dist/esm/contexts/RefreshPayloadContext/use.js +0 -4
  329. package/dist/esm/contexts/RefreshPayloadContext/use.js.map +0 -1
  330. package/dist/esm/contexts/ResolvePayloadContext/Context.js +0 -3
  331. package/dist/esm/contexts/ResolvePayloadContext/Context.js.map +0 -1
  332. package/dist/esm/contexts/ResolvePayloadContext/Provider.js +0 -51
  333. package/dist/esm/contexts/ResolvePayloadContext/Provider.js.map +0 -1
  334. package/dist/esm/contexts/ResolvePayloadContext/State.js +0 -2
  335. package/dist/esm/contexts/ResolvePayloadContext/State.js.map +0 -1
  336. package/dist/esm/contexts/ResolvePayloadContext/index.js.map +0 -1
  337. package/dist/esm/contexts/ResolvePayloadContext/use.js +0 -4
  338. package/dist/esm/contexts/ResolvePayloadContext/use.js.map +0 -1
  339. package/dist/esm/contexts/ValidatePayloadContext/Context.js +0 -3
  340. package/dist/esm/contexts/ValidatePayloadContext/Context.js.map +0 -1
  341. package/dist/esm/contexts/ValidatePayloadContext/Provider.js +0 -27
  342. package/dist/esm/contexts/ValidatePayloadContext/Provider.js.map +0 -1
  343. package/dist/esm/contexts/ValidatePayloadContext/State.js +0 -2
  344. package/dist/esm/contexts/ValidatePayloadContext/State.js.map +0 -1
  345. package/dist/esm/contexts/ValidatePayloadContext/index.js.map +0 -1
  346. package/dist/esm/contexts/ValidatePayloadContext/use.js +0 -4
  347. package/dist/esm/contexts/ValidatePayloadContext/use.js.map +0 -1
  348. package/dist/esm/contexts/index.js.map +0 -1
  349. package/dist/esm/index.js.map +0 -1
  350. package/dist/esm/types/EmbedPluginProps.js +0 -2
  351. package/dist/esm/types/EmbedPluginProps.js.map +0 -1
  352. package/dist/esm/types/index.js +0 -2
  353. package/dist/esm/types/index.js.map +0 -1
  354. package/dist/types/components/EmbedPlugin.d.ts.map +0 -1
  355. package/dist/types/components/EmbedResolver.d.ts.map +0 -1
  356. package/dist/types/components/controls/EmbedFormControl.d.ts.map +0 -1
  357. package/dist/types/components/controls/ListModeSelect.d.ts.map +0 -1
  358. package/dist/types/components/controls/RenderSelect.d.ts.map +0 -1
  359. package/dist/types/components/controls/index.d.ts.map +0 -1
  360. package/dist/types/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
  361. package/dist/types/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
  362. package/dist/types/components/embed-card/card/BusyCard.d.ts.map +0 -1
  363. package/dist/types/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
  364. package/dist/types/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
  365. package/dist/types/components/embed-card/card/index.d.ts.map +0 -1
  366. package/dist/types/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
  367. package/dist/types/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
  368. package/dist/types/components/embed-card/error-handling/index.d.ts.map +0 -1
  369. package/dist/types/components/embed-card/index.d.ts.map +0 -1
  370. package/dist/types/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
  371. package/dist/types/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
  372. package/dist/types/components/embed-card/menu/index.d.ts.map +0 -1
  373. package/dist/types/components/embed-plugin-stories/storyPayload.d.ts.map +0 -1
  374. package/dist/types/components/embed-plugin-stories/storyShared.d.ts.map +0 -1
  375. package/dist/types/components/index.d.ts.map +0 -1
  376. package/dist/types/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
  377. package/dist/types/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
  378. package/dist/types/components/validation-alerts/index.d.ts.map +0 -1
  379. package/dist/types/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
  380. package/dist/types/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
  381. package/dist/types/contexts/EmbedPluginContext/State.d.ts.map +0 -1
  382. package/dist/types/contexts/EmbedPluginContext/use.d.ts.map +0 -1
  383. package/dist/types/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
  384. package/dist/types/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
  385. package/dist/types/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
  386. package/dist/types/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
  387. package/dist/types/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
  388. package/dist/types/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
  389. package/dist/types/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
  390. package/dist/types/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
  391. package/dist/types/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
  392. package/dist/types/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
  393. package/dist/types/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
  394. package/dist/types/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
  395. package/dist/types/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
  396. package/dist/types/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
  397. package/dist/types/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
  398. package/dist/types/contexts/index.d.ts.map +0 -1
  399. package/dist/types/types/EmbedPluginProps.d.ts.map +0 -1
  400. package/dist/types/types/index.d.ts.map +0 -1
  401. /package/dist/{types/components/EmbedPlugin.d.ts → components/EmbedPlugin.d.mts} +0 -0
  402. /package/dist/{types/components/EmbedResolver.d.ts → components/EmbedResolver.d.mts} +0 -0
  403. /package/dist/{types/components/controls/EmbedFormControl.d.ts → components/controls/EmbedFormControl.d.mts} +0 -0
  404. /package/dist/{types/components/controls/ListModeSelect.d.ts → components/controls/ListModeSelect.d.mts} +0 -0
  405. /package/dist/{types/components/controls/RenderSelect.d.ts → components/controls/RenderSelect.d.mts} +0 -0
  406. /package/dist/{types/components/controls/index.d.ts → components/controls/index.d.mts} +0 -0
  407. /package/dist/{types/components/embed-card/EmbedCardResolver.d.ts → components/embed-card/EmbedCardResolver.d.mts} +0 -0
  408. /package/dist/{types/components/embed-card/EmbedPluginCard.d.ts → components/embed-card/EmbedPluginCard.d.mts} +0 -0
  409. /package/dist/{types/components/embed-card/card/BusyCard.d.ts → components/embed-card/card/BusyCard.d.mts} +0 -0
  410. /package/dist/{types/components/embed-card/card/EmbedCardHeader.d.ts → components/embed-card/card/EmbedCardHeader.d.mts} +0 -0
  411. /package/dist/{types/components/embed-card/card/EmbedPluginCard.d.ts → components/embed-card/card/EmbedPluginCard.d.mts} +0 -0
  412. /package/dist/{types/components/embed-card/card/index.d.ts → components/embed-card/card/index.d.mts} +0 -0
  413. /package/dist/{types/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts → components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts} +0 -0
  414. /package/dist/{types/components/embed-card/error-handling/EmbedErrorCard.d.ts → components/embed-card/error-handling/EmbedErrorCard.d.mts} +0 -0
  415. /package/dist/{types/components/embed-card/error-handling/index.d.ts → components/embed-card/error-handling/index.d.mts} +0 -0
  416. /package/dist/{types/components/embed-card/index.d.ts → components/embed-card/index.d.mts} +0 -0
  417. /package/dist/{types/components/embed-card/menu/EmbedMenu.d.ts → components/embed-card/menu/EmbedMenu.d.mts} +0 -0
  418. /package/dist/{types/components/embed-card/menu/JsonMenuItem.d.ts → components/embed-card/menu/JsonMenuItem.d.mts} +0 -0
  419. /package/dist/{types/components/embed-card/menu/index.d.ts → components/embed-card/menu/index.d.mts} +0 -0
  420. /package/dist/{types/components/embed-plugin-stories/storyPayload.d.ts → components/embed-plugin-stories/storyPayload.d.mts} +0 -0
  421. /package/dist/{types/components/embed-plugin-stories/storyShared.d.ts → components/embed-plugin-stories/storyShared.d.mts} +0 -0
  422. /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
  423. /package/dist/{types/components/validation-alerts/ValidatePayload.d.ts → components/validation-alerts/ValidatePayload.d.mts} +0 -0
  424. /package/dist/{types/components/validation-alerts/ValidatePlugins.d.ts → components/validation-alerts/ValidatePlugins.d.mts} +0 -0
  425. /package/dist/{types/components/validation-alerts/index.d.ts → components/validation-alerts/index.d.mts} +0 -0
  426. /package/dist/{types/contexts/EmbedPluginContext/Context.d.ts → contexts/EmbedPluginContext/Context.d.mts} +0 -0
  427. /package/dist/{types/contexts/EmbedPluginContext/Provider.d.ts → contexts/EmbedPluginContext/Provider.d.mts} +0 -0
  428. /package/dist/{types/contexts/EmbedPluginContext/State.d.ts → contexts/EmbedPluginContext/State.d.mts} +0 -0
  429. /package/dist/{types/contexts/EmbedPluginContext/index.d.ts → contexts/EmbedPluginContext/index.d.mts} +0 -0
  430. /package/dist/{types/contexts/ResolvePayloadContext → contexts/EmbedPluginContext}/index.d.ts +0 -0
  431. /package/dist/{types/contexts/EmbedPluginContext/use.d.ts → contexts/EmbedPluginContext/use.d.mts} +0 -0
  432. /package/dist/{types/contexts/RefreshPayloadContext/Context.d.ts → contexts/RefreshPayloadContext/Context.d.mts} +0 -0
  433. /package/dist/{types/contexts/RefreshPayloadContext/Provider.d.ts → contexts/RefreshPayloadContext/Provider.d.mts} +0 -0
  434. /package/dist/{types/contexts/RefreshPayloadContext/State.d.ts → contexts/RefreshPayloadContext/State.d.mts} +0 -0
  435. /package/dist/{types/contexts/RefreshPayloadContext/index.d.ts → contexts/RefreshPayloadContext/index.d.mts} +0 -0
  436. /package/dist/{types/contexts/ValidatePayloadContext → contexts/RefreshPayloadContext}/index.d.ts +0 -0
  437. /package/dist/{types/contexts/RefreshPayloadContext/use.d.ts → contexts/RefreshPayloadContext/use.d.mts} +0 -0
  438. /package/dist/{types/contexts/ResolvePayloadContext/Context.d.ts → contexts/ResolvePayloadContext/Context.d.mts} +0 -0
  439. /package/dist/{types/contexts/ResolvePayloadContext/Provider.d.ts → contexts/ResolvePayloadContext/Provider.d.mts} +0 -0
  440. /package/dist/{types/contexts/ResolvePayloadContext/State.d.ts → contexts/ResolvePayloadContext/State.d.mts} +0 -0
  441. /package/dist/{types/contexts/ResolvePayloadContext/use.d.ts → contexts/ResolvePayloadContext/use.d.mts} +0 -0
  442. /package/dist/{types/contexts/ValidatePayloadContext/Context.d.ts → contexts/ValidatePayloadContext/Context.d.mts} +0 -0
  443. /package/dist/{types/contexts/ValidatePayloadContext/Provider.d.ts → contexts/ValidatePayloadContext/Provider.d.mts} +0 -0
  444. /package/dist/{types/contexts/ValidatePayloadContext/State.d.ts → contexts/ValidatePayloadContext/State.d.mts} +0 -0
  445. /package/dist/{types/contexts/ValidatePayloadContext/use.d.ts → contexts/ValidatePayloadContext/use.d.mts} +0 -0
  446. /package/dist/{types/contexts/index.d.ts → contexts/index.d.mts} +0 -0
  447. /package/dist/types/{types/EmbedPluginProps.d.ts → EmbedPluginProps.d.mts} +0 -0
  448. /package/dist/types/{types/index.d.ts → index.d.mts} +0 -0
@@ -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,7 @@
1
+ /// <reference types="react" />
2
+ import { WithChildren } from '@xylabs/react-shared';
3
+ import { EmbedPluginBase } from './State';
4
+ export type EmbedPluginProviderProps = EmbedPluginBase;
5
+ /** Expose passed embed plugin props via context */
6
+ export declare const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>>;
7
+ //# sourceMappingURL=Provider.d.ts.map
@@ -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":"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,33 @@
1
+ import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
2
+ import { ContextExState, ListMode } from '@xyo-network/react-shared';
3
+ import { Dispatch, SetStateAction } from 'react';
4
+ export interface EmbedPluginVisibilityConfig {
5
+ hideAvatar?: boolean;
6
+ hideCardActions?: boolean;
7
+ hideCardHeader?: boolean;
8
+ hideErrorDetails?: boolean;
9
+ hideRefreshButton?: boolean;
10
+ hideTimestamp?: boolean;
11
+ hideTitle?: boolean;
12
+ }
13
+ /**
14
+ * Extend for custom plugin configuration
15
+ */
16
+ export interface PluginConfig {
17
+ listMode?: ListMode;
18
+ }
19
+ export interface EmbedPluginBase {
20
+ /** EmbedPlugin component configuration */
21
+ embedPluginConfig?: PluginConfig;
22
+ hideElementsConfig?: EmbedPluginVisibilityConfig;
23
+ /** @deprecated use huriPayload */
24
+ huri?: string;
25
+ plugins?: PayloadRenderPlugin[];
26
+ refreshTitle?: string;
27
+ timestampLabel?: string;
28
+ }
29
+ export interface EmbedPluginState extends EmbedPluginBase, ContextExState {
30
+ activePlugin?: PayloadRenderPlugin;
31
+ setActivePlugin?: Dispatch<SetStateAction<PayloadRenderPlugin | undefined>>;
32
+ }
33
+ //# sourceMappingURL=State.d.ts.map
@@ -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":"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 @@
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 @@
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,2 @@
1
+ export declare const useEmbedPluginState: () => Omit<import("./State").EmbedPluginState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -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":"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,4 @@
1
+ /// <reference types="react" />
2
+ import { RefreshPayloadState } from './State';
3
+ export declare const RefreshPayloadContext: import("react").Context<RefreshPayloadState & import("@xyo-network/react-shared").ContextExState>;
4
+ //# sourceMappingURL=Context.d.ts.map
@@ -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":"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,8 @@
1
+ /// <reference types="react" />
2
+ import { WithChildren } from '@xylabs/react-shared';
3
+ export interface RefreshPayloadProps {
4
+ onRefresh?: () => void;
5
+ refreshPayload?: boolean;
6
+ }
7
+ export declare const RefreshPayloadProvider: React.FC<WithChildren<RefreshPayloadProps>>;
8
+ //# sourceMappingURL=Provider.d.ts.map
@@ -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":"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,8 @@
1
+ import { ContextExState } from '@xyo-network/react-shared';
2
+ import { Dispatch, SetStateAction } from 'react';
3
+ export interface RefreshPayloadState extends ContextExState {
4
+ onRefresh?: () => void;
5
+ refreshPayload?: boolean;
6
+ setRefreshPayload?: Dispatch<SetStateAction<boolean | undefined>>;
7
+ }
8
+ //# sourceMappingURL=State.d.ts.map
@@ -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":"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 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/RefreshPayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oHAAoE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useRefreshPayload: () => Omit<import("./State").RefreshPayloadState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/RefreshPayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oHAAoE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ResolvePayloadState } from './State';
3
+ export declare const ResolvePayloadContext: import("react").Context<ResolvePayloadState & import("@xyo-network/react-shared").ContextExState>;
4
+ //# sourceMappingURL=Context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;AAE/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAoDtF,CAAA"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { WithChildren } from '@xylabs/react-shared';
3
+ import { ResolvePayloadState } from './State';
4
+ export type ResolvePayloadProviderProps = Omit<ResolvePayloadState, 'provided'>;
5
+ export declare const ResolvePayloadProvider: React.FC<WithChildren<ResolvePayloadProviderProps>>;
6
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;AAE/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAoDtF,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAC3D"}
@@ -0,0 +1,13 @@
1
+ import { ModuleError, Payload } from '@xyo-network/payload-model';
2
+ import { ContextExState } from '@xyo-network/react-shared';
3
+ import { Dispatch, SetStateAction } from 'react';
4
+ export interface ResolvePayloadState extends ContextExState {
5
+ huri?: string;
6
+ huriError?: ModuleError;
7
+ huriPayload?: string | Payload;
8
+ notFound?: boolean;
9
+ payload?: Payload;
10
+ refreshHuri?: () => void;
11
+ setPayload?: Dispatch<SetStateAction<Payload | undefined>>;
12
+ }
13
+ //# sourceMappingURL=State.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAC3D"}
@@ -2,4 +2,4 @@ export * from './Context';
2
2
  export * from './Provider';
3
3
  export * from './State';
4
4
  export * from './use';
5
- //# sourceMappingURL=index.js.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -2,4 +2,4 @@ export * from './Context';
2
2
  export * from './Provider';
3
3
  export * from './State';
4
4
  export * from './use';
5
- //# sourceMappingURL=index.js.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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
+ {"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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oHAAoE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useResolvePayload: () => Omit<import("./State").ResolvePayloadState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/ResolvePayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oHAAoE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,sBAAsB,oGAA0C,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ValidatePayloadState } from './State';
3
+ export declare const ValidatePayloadContext: import("react").Context<ValidatePayloadState & import("@xyo-network/react-shared").ContextExState>;
4
+ //# sourceMappingURL=Context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,sBAAsB,oGAA0C,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,MAAM,WAAW,4BAA4B;IAE3C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,4BAA4B,CAAC,CA4BxF,CAAA"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { WithChildren } from '@xylabs/react-shared';
3
+ export interface ValidatePayloadProviderProps {
4
+ enabled?: boolean;
5
+ }
6
+ export declare const ValidatePayloadProvider: React.FC<WithChildren<ValidatePayloadProviderProps>>;
7
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,MAAM,WAAW,4BAA4B;IAE3C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,4BAA4B,CAAC,CA4BxF,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { EmbedPluginState } from '../EmbedPluginContext';
3
+ import { ResolvePayloadState } from '../ResolvePayloadContext';
4
+ import { ValidatePayloadProviderProps } from './Provider';
5
+ declare const StorybookEntry: Meta<ValidatePayloadProviderPropsEx>;
6
+ interface ValidatePayloadProviderPropsEx extends ValidatePayloadProviderProps {
7
+ resolvePayloadContext: ResolvePayloadState;
8
+ xyoEmbedPluginContext: EmbedPluginState;
9
+ }
10
+ declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ValidatePayloadProviderPropsEx>;
11
+ declare const ValidationSucceeded: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ValidatePayloadProviderPropsEx>;
12
+ declare const ValidationFailed: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ValidatePayloadProviderPropsEx>;
13
+ export { Default, ValidationFailed, ValidationSucceeded };
14
+ export default StorybookEntry;
15
+ //# sourceMappingURL=Provider.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.stories.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/Provider.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAW,MAAM,kBAAkB,CAAA;AAE3D,OAAO,EAAsB,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE5E,OAAO,EAAyB,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACrF,OAAO,EAA2B,4BAA4B,EAAE,MAAM,YAAY,CAAA;AAiBlF,QAAA,MAAM,cAAc,EAAE,IAAI,CAAC,8BAA8B,CAIxD,CAAA;AAOD,UAAU,8BAA+B,SAAQ,4BAA4B;IAC3E,qBAAqB,EAAE,mBAAmB,CAAA;IAC1C,qBAAqB,EAAE,gBAAgB,CAAA;CACxC;AAgBD,QAAA,MAAM,OAAO,+HAAoB,CAAA;AAGjC,QAAA,MAAM,mBAAmB,+HAAoB,CAAA;AAO7C,QAAA,MAAM,gBAAgB,+HAAoB,CAAA;AAO1C,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;AAGzD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { EmbedPluginState } from '../EmbedPluginContext';
3
+ import { ResolvePayloadState } from '../ResolvePayloadContext';
4
+ import { ValidatePayloadProviderProps } from './Provider';
5
+ declare const StorybookEntry: Meta<ValidatePayloadProviderPropsEx>;
6
+ interface ValidatePayloadProviderPropsEx extends ValidatePayloadProviderProps {
7
+ resolvePayloadContext: ResolvePayloadState;
8
+ xyoEmbedPluginContext: EmbedPluginState;
9
+ }
10
+ declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ValidatePayloadProviderPropsEx>;
11
+ declare const ValidationSucceeded: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ValidatePayloadProviderPropsEx>;
12
+ declare const ValidationFailed: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ValidatePayloadProviderPropsEx>;
13
+ export { Default, ValidationFailed, ValidationSucceeded };
14
+ export default StorybookEntry;
15
+ //# sourceMappingURL=Provider.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.stories.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/Provider.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAW,MAAM,kBAAkB,CAAA;AAE3D,OAAO,EAAsB,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE5E,OAAO,EAAyB,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACrF,OAAO,EAA2B,4BAA4B,EAAE,MAAM,YAAY,CAAA;AAiBlF,QAAA,MAAM,cAAc,EAAE,IAAI,CAAC,8BAA8B,CAIxD,CAAA;AAOD,UAAU,8BAA+B,SAAQ,4BAA4B;IAC3E,qBAAqB,EAAE,mBAAmB,CAAA;IAC1C,qBAAqB,EAAE,gBAAgB,CAAA;CACxC;AAgBD,QAAA,MAAM,OAAO,+HAAoB,CAAA;AAGjC,QAAA,MAAM,mBAAmB,+HAAoB,CAAA;AAO7C,QAAA,MAAM,gBAAgB,+HAAoB,CAAA;AAO1C,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;AAGzD,eAAe,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE1D,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}
@@ -0,0 +1,7 @@
1
+ import { ContextExState } from '@xyo-network/react-shared';
2
+ export interface ValidatePayloadState extends ContextExState {
3
+ enabled?: boolean;
4
+ schema?: string;
5
+ validPayload?: boolean;
6
+ }
7
+ //# sourceMappingURL=State.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE1D,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}
@@ -1,4 +1,4 @@
1
1
  export * from './Provider';
2
2
  export * from './State';
3
3
  export * from './use';
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -1,4 +1,4 @@
1
1
  export * from './Provider';
2
2
  export * from './State';
3
3
  export * from './use';
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,qHAAqE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useValidatePayload: () => Omit<import("./State").ValidatePayloadState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/ValidatePayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,qHAAqE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA"}
@@ -2,4 +2,4 @@ export * from './EmbedPluginContext';
2
2
  export * from './RefreshPayloadContext';
3
3
  export * from './ResolvePayloadContext';
4
4
  export * from './ValidatePayloadContext';
5
- //# sourceMappingURL=index.js.map
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA"}
@@ -1,4 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './contexts';
3
3
  export * from './types';
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './components';
2
+ export * from './contexts';
3
+ export * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}