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

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
@@ -1 +0,0 @@
1
- {"version":3,"file":"storyShared.js","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"names":[],"mappings":";;;;AACA,uDAAgD;AAEhD,8CAAkD;AAErC,QAAA,iBAAiB,GAAS;IACrC,QAAQ,EAAE,EAAE;IACZ,SAAS,EAAE,+BAAkB;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,IAAI;SACX;KACF;CACF,CAAA;AAEM,MAAM,QAAQ,GAAuC,CAAC,IAAI,EAAE,EAAE;IACnE,OAAO,CACL,uBAAC,gCAAa,cACZ,uBAAC,+BAAkB,oBAAK,IAAI,EAAI,GAClB,CACjB,CAAA;AACH,CAAC,CAAA;AANY,QAAA,QAAQ,YAMpB"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./embed-card"), exports);
5
- tslib_1.__exportStar(require("./EmbedPlugin"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,wDAA6B"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidatePayloadAlert = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const material_1 = require("@mui/material");
7
- const contexts_1 = require("../../contexts");
8
- const ValidatePayloadAlert = (_a) => {
9
- var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
10
- const { validPayload, enabled, schema } = (0, contexts_1.useValidatePayload)();
11
- if (enabled && validPayload === false) {
12
- return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "error", title: "Invalid Payload!" }, props, { children: ["Payload schema claimed to be ", schema, " but failed to validate."] })));
13
- }
14
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
15
- };
16
- exports.ValidatePayloadAlert = ValidatePayloadAlert;
17
- //# sourceMappingURL=ValidatePayload.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ValidatePayload.js","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAiD;AAGjD,6CAAmD;AAE5C,MAAM,oBAAoB,GAAuC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IAC3F,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAA,6BAAkB,GAAE,CAAA;IAE9D,IAAI,OAAO,IAAI,YAAY,KAAK,KAAK,EAAE;QACrC,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,OAAO,EAAC,KAAK,EAAC,kBAAkB,IAAK,KAAK,gDAC1B,MAAM,iCAC9B,CACT,CAAA;KACF;IAED,OAAO,2DAAG,QAAQ,GAAI,CAAA;AACxB,CAAC,CAAA;AAZY,QAAA,oBAAoB,wBAYhC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidatePluginsAlert = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const material_1 = require("@mui/material");
7
- const contexts_1 = require("../../contexts");
8
- const ValidatePluginsAlert = (_a) => {
9
- var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
10
- const { payload } = (0, contexts_1.useResolvePayload)();
11
- const { plugins } = (0, contexts_1.useEmbedPluginState)();
12
- if (payload && (plugins === null || plugins === void 0 ? void 0 : plugins.length) === 0) {
13
- return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "warning" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.AlertTitle, { children: "Missing plugins!" }), "Payload found but no plugins were present."] })));
14
- }
15
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
16
- };
17
- exports.ValidatePluginsAlert = ValidatePluginsAlert;
18
- //# sourceMappingURL=ValidatePlugins.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ValidatePlugins.js","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA6D;AAG7D,6CAAuE;AAEhE,MAAM,oBAAoB,GAAuC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IAC3F,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IACvC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,8BAAmB,GAAE,CAAA;IAEzC,IAAI,OAAO,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,CAAC,EAAE;QACpC,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,SAAS,IAAK,KAAK,eACjC,uBAAC,qBAAU,mCAA8B,mDACnC,CACT,CAAA;KACF;IAED,OAAO,2DAAG,QAAQ,GAAI,CAAA;AACxB,CAAC,CAAA;AAbY,QAAA,oBAAoB,wBAahC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ValidatePayload"), exports);
5
- tslib_1.__exportStar(require("./ValidatePlugins"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,4DAAiC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmbedPluginContext = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- exports.EmbedPluginContext = (0, react_shared_1.createContextEx)();
6
- //# sourceMappingURL=Context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,kBAAkB,GAAG,IAAA,8BAAe,GAAoB,CAAA"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmbedPluginProvider = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const Context_1 = require("./Context");
7
- /** Expose passed embed plugin props via context */
8
- const EmbedPluginProvider = ({ children, refreshTitle, timestampLabel, hideElementsConfig, plugins, embedPluginConfig, }) => {
9
- const [activePlugin, setActivePlugin] = (0, react_1.useState)(plugins ? plugins[0] : undefined);
10
- (0, react_1.useEffect)(() => {
11
- setActivePlugin(plugins ? plugins[0] : undefined);
12
- }, [plugins]);
13
- return ((0, jsx_runtime_1.jsx)(Context_1.EmbedPluginContext.Provider, Object.assign({ value: {
14
- activePlugin,
15
- embedPluginConfig,
16
- hideElementsConfig,
17
- provided: true,
18
- refreshTitle,
19
- setActivePlugin,
20
- timestampLabel,
21
- } }, { children: children })));
22
- };
23
- exports.EmbedPluginProvider = EmbedPluginProvider;
24
- //# sourceMappingURL=Provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";;;;AAEA,iCAA2C;AAE3C,uCAA8C;AAK9C,mDAAmD;AAC5C,MAAM,mBAAmB,GAAqD,CAAC,EACpF,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,iBAAiB,GAClB,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAkC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAEnH,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACnD,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAEb,OAAO,CACL,uBAAC,4BAAkB,CAAC,QAAQ,kBAC1B,KAAK,EAAE;YACL,YAAY;YACZ,iBAAiB;YACjB,kBAAkB;YAClB,QAAQ,EAAE,IAAI;YACd,YAAY;YACZ,eAAe;YACf,cAAc;SACf,gBAEA,QAAQ,IACmB,CAC/B,CAAA;AACH,CAAC,CAAA;AA7BY,QAAA,mBAAmB,uBA6B/B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=State.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Context"), exports);
5
- tslib_1.__exportStar(require("./Provider"), exports);
6
- tslib_1.__exportStar(require("./State"), exports);
7
- tslib_1.__exportStar(require("./use"), exports);
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useEmbedPluginState = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- const Context_1 = require("./Context");
6
- const useEmbedPluginState = () => (0, react_shared_1.useContextEx)(Context_1.EmbedPluginContext, 'EmbedPlugin', true);
7
- exports.useEmbedPluginState = useEmbedPluginState;
8
- //# sourceMappingURL=use.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAA8C;AAEvC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,4BAAkB,EAAE,aAAa,EAAE,IAAI,CAAC,CAAA;AAAjF,QAAA,mBAAmB,uBAA8D"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RefreshPayloadContext = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- exports.RefreshPayloadContext = (0, react_shared_1.createContextEx)();
6
- //# sourceMappingURL=Context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,qBAAqB,GAAG,IAAA,8BAAe,GAAuB,CAAA"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RefreshPayloadProvider = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const Context_1 = require("./Context");
7
- const RefreshPayloadProvider = ({ children, onRefresh, refreshPayload }) => {
8
- const [localRefreshPayload, setRefreshPayload] = (0, react_1.useState)(refreshPayload);
9
- return ((0, jsx_runtime_1.jsx)(Context_1.RefreshPayloadContext.Provider, Object.assign({ value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload } }, { children: children })));
10
- };
11
- exports.RefreshPayloadProvider = RefreshPayloadProvider;
12
- //# sourceMappingURL=Provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";;;;AACA,iCAAgC;AAEhC,uCAAiD;AAO1C,MAAM,sBAAsB,GAAgD,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC7H,MAAM,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,cAAc,CAAC,CAAA;IAEzE,OAAO,CACL,uBAAC,+BAAqB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBACzH,QAAQ,IACsB,CAClC,CAAA;AACH,CAAC,CAAA;AARY,QAAA,sBAAsB,0BAQlC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=State.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Provider"), exports);
5
- tslib_1.__exportStar(require("./State"), exports);
6
- tslib_1.__exportStar(require("./use"), exports);
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useRefreshPayload = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- const Context_1 = require("./Context");
6
- const useRefreshPayload = () => (0, react_shared_1.useContextEx)(Context_1.RefreshPayloadContext, 'RefreshPayload', true);
7
- exports.useRefreshPayload = useRefreshPayload;
8
- //# sourceMappingURL=use.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAAiD;AAE1C,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,+BAAqB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;AAArF,QAAA,iBAAiB,qBAAoE"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResolvePayloadContext = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- exports.ResolvePayloadContext = (0, react_shared_1.createContextEx)();
6
- //# sourceMappingURL=Context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,qBAAqB,GAAG,IAAA,8BAAe,GAAuB,CAAA"}
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResolvePayloadProvider = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const delay_1 = require("@xylabs/delay");
7
- const react_async_effect_1 = require("@xylabs/react-async-effect");
8
- const huri_1 = require("@xyo-network/huri");
9
- const payload_model_1 = require("@xyo-network/payload-model");
10
- const react_1 = require("react");
11
- const RefreshPayloadContext_1 = require("../RefreshPayloadContext");
12
- const Context_1 = require("./Context");
13
- const ResolvePayloadProvider = ({ children, huriPayload }) => {
14
- const [payload, setPayload] = (0, react_1.useState)();
15
- const [huri, setHuri] = (0, react_1.useState)();
16
- const { refreshPayload, setRefreshPayload, onRefresh } = (0, RefreshPayloadContext_1.useRefreshPayload)();
17
- (0, react_1.useEffect)(() => {
18
- typeof huriPayload === 'string' ? setHuri(huriPayload) : undefined;
19
- if (typeof huriPayload === 'object') {
20
- setPayload(huriPayload);
21
- setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(true);
22
- }
23
- }, [huriPayload, setRefreshPayload]);
24
- const [notFound, setNotFound] = (0, react_1.useState)();
25
- const [huriError, setHuriError] = (0, react_1.useState)();
26
- (0, react_async_effect_1.useAsyncEffect)(
27
- // eslint-disable-next-line react-hooks/exhaustive-deps
28
- (mounted) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
29
- if (huri && !refreshPayload) {
30
- try {
31
- const huriInstance = new huri_1.Huri(huri);
32
- const result = yield huriInstance.fetch();
33
- // ensure the busy state can stay for a moment to avoid flashing too quickly
34
- yield (0, delay_1.delay)(500);
35
- if (mounted()) {
36
- setNotFound(result === null);
37
- setPayload(result);
38
- setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(true);
39
- }
40
- }
41
- catch (e) {
42
- const error = e;
43
- setHuriError({ message: error.message, schema: payload_model_1.ModuleErrorSchema, sources: [] });
44
- }
45
- }
46
- }), [huri, payload, refreshPayload, setRefreshPayload]);
47
- const refreshHuri = () => {
48
- onRefresh === null || onRefresh === void 0 ? void 0 : onRefresh();
49
- if (huri) {
50
- setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(false);
51
- }
52
- };
53
- return ((0, jsx_runtime_1.jsx)(Context_1.ResolvePayloadContext.Provider, Object.assign({ value: { huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload } }, { children: children })));
54
- };
55
- exports.ResolvePayloadProvider = ResolvePayloadProvider;
56
- //# sourceMappingURL=Provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,yCAAqC;AACrC,mEAA2D;AAE3D,4CAAwC;AACxC,8DAAoF;AACpF,iCAA2C;AAE3C,oEAA4D;AAC5D,uCAAiD;AAK1C,MAAM,sBAAsB,GAAwD,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACvH,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACjD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,GAAU,CAAA;IAC1C,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IAE5E,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAClE,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;YACnC,UAAU,CAAC,WAAW,CAAC,CAAA;YACvB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,IAAI,CAAC,CAAA;SAC1B;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAA;IAEpC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACnD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,GAAe,CAAA;IAEzD,IAAA,mCAAc;IACZ,uDAAuD;IACvD,CAAO,OAAO,EAAE,EAAE;QAChB,IAAI,IAAI,IAAI,CAAC,cAAc,EAAE;YAC3B,IAAI;gBACF,MAAM,YAAY,GAAG,IAAI,WAAI,CAAC,IAAI,CAAC,CAAA;gBACnC,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,CAAA;gBACzC,4EAA4E;gBAC5E,MAAM,IAAA,aAAK,EAAC,GAAG,CAAC,CAAA;gBAEhB,IAAI,OAAO,EAAE,EAAE;oBACb,WAAW,CAAC,MAAM,KAAK,IAAI,CAAC,CAAA;oBAC5B,UAAU,CAAC,MAAM,CAAC,CAAA;oBAClB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,IAAI,CAAC,CAAA;iBAC1B;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,MAAM,KAAK,GAAG,CAAU,CAAA;gBACxB,YAAY,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,iCAAiB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;aACjF;SACF;IACH,CAAC,CAAA,EACD,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,iBAAiB,CAAC,CACnD,CAAA;IAED,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,SAAS,aAAT,SAAS,uBAAT,SAAS,EAAI,CAAA;QACb,IAAI,IAAI,EAAE;YACR,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC,CAAA;IAED,OAAO,CACL,uBAAC,+BAAqB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,gBACnH,QAAQ,IACsB,CAClC,CAAA;AACH,CAAC,CAAA;AApDY,QAAA,sBAAsB,0BAoDlC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=State.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Context"), exports);
5
- tslib_1.__exportStar(require("./Provider"), exports);
6
- tslib_1.__exportStar(require("./State"), exports);
7
- tslib_1.__exportStar(require("./use"), exports);
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useResolvePayload = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- const Context_1 = require("./Context");
6
- const useResolvePayload = () => (0, react_shared_1.useContextEx)(Context_1.ResolvePayloadContext, 'ResolvePayload', true);
7
- exports.useResolvePayload = useResolvePayload;
8
- //# sourceMappingURL=use.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAAiD;AAE1C,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,+BAAqB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;AAArF,QAAA,iBAAiB,qBAAoE"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidatePayloadContext = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- exports.ValidatePayloadContext = (0, react_shared_1.createContextEx)();
6
- //# sourceMappingURL=Context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,sBAAsB,GAAG,IAAA,8BAAe,GAAwB,CAAA"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidatePayloadProvider = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const material_1 = require("@mui/material");
7
- const react_async_effect_1 = require("@xylabs/react-async-effect");
8
- const schema_cache_1 = require("@xyo-network/schema-cache");
9
- const react_1 = require("react");
10
- const ResolvePayloadContext_1 = require("../ResolvePayloadContext");
11
- const Context_1 = require("./Context");
12
- const ValidatePayloadProvider = ({ children, enabled = false }) => {
13
- const { payload } = (0, ResolvePayloadContext_1.useResolvePayload)();
14
- const [initialized, setInitialized] = (0, react_1.useState)(false);
15
- const [valid, setValid] = (0, react_1.useState)();
16
- (0, react_async_effect_1.useAsyncEffect)(
17
- // eslint-disable-next-line react-hooks/exhaustive-deps
18
- () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
19
- if (payload && enabled) {
20
- yield schema_cache_1.SchemaCache.instance.get(payload.schema);
21
- const possibleKnownSchema = payload.schema;
22
- if (schema_cache_1.SchemaCache.instance.validators[possibleKnownSchema]) {
23
- const validator = schema_cache_1.SchemaCache.instance.validators[possibleKnownSchema];
24
- setValid(validator === null || validator === void 0 ? void 0 : validator(payload));
25
- }
26
- setInitialized(true);
27
- }
28
- }), [payload, enabled]);
29
- return ((0, jsx_runtime_1.jsx)(Context_1.ValidatePayloadContext.Provider, Object.assign({ value: { enabled, provided: true, schema: payload === null || payload === void 0 ? void 0 : payload.schema, validPayload: valid } }, { children: enabled ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: initialized ? children : (0, jsx_runtime_1.jsx)(material_1.Chip, { label: "Validating Payload..." }) }) : children })));
30
- };
31
- exports.ValidatePayloadProvider = ValidatePayloadProvider;
32
- //# sourceMappingURL=Provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoC;AACpC,mEAA2D;AAE3D,4DAAiF;AACjF,iCAAgC;AAEhC,oEAA4D;AAC5D,uCAAkD;AAO3C,MAAM,uBAAuB,GAAyD,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE;IAC7H,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IACvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IACrD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IAE7C,IAAA,mCAAc;IACZ,uDAAuD;IACvD,GAAS,EAAE;QACT,IAAI,OAAO,IAAI,OAAO,EAAE;YACtB,MAAM,0BAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;YAE9C,MAAM,mBAAmB,GAAG,OAAO,CAAC,MAAwC,CAAA;YAE5E,IAAI,0BAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE;gBACxD,MAAM,SAAS,GAAG,0BAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAA;gBACtE,QAAQ,CAAC,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,OAAO,CAAC,CAAC,CAAA;aAC/B;YACD,cAAc,CAAC,IAAI,CAAC,CAAA;SACrB;IACH,CAAC,CAAA,EACD,CAAC,OAAO,EAAE,OAAO,CAAC,CACnB,CAAA;IAED,OAAO,CACL,uBAAC,gCAAsB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,gBAC9G,OAAO,CAAC,CAAC,CAAC,2DAAG,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAC,eAAI,IAAC,KAAK,EAAC,uBAAuB,GAAG,GAAI,CAAC,CAAC,CAAC,QAAQ,IAC5D,CACnC,CAAA;AACH,CAAC,CAAA;AA5BY,QAAA,uBAAuB,2BA4BnC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=State.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/State.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Provider"), exports);
5
- tslib_1.__exportStar(require("./State"), exports);
6
- tslib_1.__exportStar(require("./use"), exports);
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useValidatePayload = void 0;
4
- const react_shared_1 = require("@xyo-network/react-shared");
5
- const Context_1 = require("./Context");
6
- const useValidatePayload = () => (0, react_shared_1.useContextEx)(Context_1.ValidatePayloadContext, 'ValidateSchema', true);
7
- exports.useValidatePayload = useValidatePayload;
8
- //# sourceMappingURL=use.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAAkD;AAE3C,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,gCAAsB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;AAAvF,QAAA,kBAAkB,sBAAqE"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./EmbedPluginContext"), exports);
5
- tslib_1.__exportStar(require("./RefreshPayloadContext"), exports);
6
- tslib_1.__exportStar(require("./ResolvePayloadContext"), exports);
7
- tslib_1.__exportStar(require("./ValidatePayloadContext"), exports);
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":";;;AAAA,+DAAoC;AACpC,kEAAuC;AACvC,kEAAuC;AACvC,mEAAwC"}
package/dist/cjs/index.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./components"), exports);
5
- tslib_1.__exportStar(require("./contexts"), exports);
6
- tslib_1.__exportStar(require("./types"), exports);
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,qDAA0B;AAC1B,kDAAuB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=EmbedPluginProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmbedPluginProps.js","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./EmbedPluginProps"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC"}