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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (817) hide show
  1. package/dist/browser/components/EmbedPlugin.d.mts.map +1 -0
  2. package/dist/browser/components/EmbedPlugin.d.ts.map +1 -0
  3. package/dist/browser/components/EmbedPlugin.js +38 -0
  4. package/dist/browser/components/EmbedPlugin.js.map +1 -0
  5. package/dist/browser/components/EmbedResolver.d.mts.map +1 -0
  6. package/dist/browser/components/EmbedResolver.d.ts.map +1 -0
  7. package/dist/browser/components/EmbedResolver.js +11 -0
  8. package/dist/browser/components/EmbedResolver.js.map +1 -0
  9. package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -0
  10. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -0
  11. package/dist/browser/components/controls/EmbedFormControl.js +12 -0
  12. package/dist/browser/components/controls/EmbedFormControl.js.map +1 -0
  13. package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -0
  14. package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -0
  15. package/dist/browser/components/controls/ListModeSelect.js +32 -0
  16. package/dist/browser/components/controls/ListModeSelect.js.map +1 -0
  17. package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -0
  18. package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -0
  19. package/dist/browser/components/controls/RenderSelect.js +14 -0
  20. package/dist/browser/components/controls/RenderSelect.js.map +1 -0
  21. package/dist/browser/components/controls/index.d.mts.map +1 -0
  22. package/dist/browser/components/controls/index.d.ts.map +1 -0
  23. package/dist/browser/components/controls/index.js +4 -0
  24. package/dist/browser/components/controls/index.js.map +1 -0
  25. package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
  26. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
  27. package/dist/browser/components/embed-card/EmbedCardResolver.js +27 -0
  28. package/dist/browser/components/embed-card/EmbedCardResolver.js.map +1 -0
  29. package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
  30. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
  31. package/dist/browser/components/embed-card/EmbedPluginCard.js +61 -0
  32. package/dist/browser/components/embed-card/EmbedPluginCard.js.map +1 -0
  33. package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -0
  34. package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -0
  35. package/dist/browser/components/embed-card/card/BusyCard.js +26 -0
  36. package/dist/browser/components/embed-card/card/BusyCard.js.map +1 -0
  37. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
  38. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
  39. package/dist/browser/components/embed-card/card/EmbedCardHeader.js +36 -0
  40. package/dist/browser/components/embed-card/card/EmbedCardHeader.js.map +1 -0
  41. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
  42. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
  43. package/dist/browser/components/embed-card/card/EmbedPluginCard.js +26 -0
  44. package/dist/browser/components/embed-card/card/EmbedPluginCard.js.map +1 -0
  45. package/dist/browser/components/embed-card/card/index.d.mts.map +1 -0
  46. package/dist/browser/components/embed-card/card/index.d.ts.map +1 -0
  47. package/dist/browser/components/embed-card/card/index.js +4 -0
  48. package/dist/browser/components/embed-card/card/index.js.map +1 -0
  49. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
  50. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
  51. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +13 -0
  52. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
  53. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
  54. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
  55. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js +20 -0
  56. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
  57. package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -0
  58. package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -0
  59. package/dist/browser/components/embed-card/error-handling/index.js +3 -0
  60. package/dist/browser/components/embed-card/error-handling/index.js.map +1 -0
  61. package/dist/browser/components/embed-card/index.d.mts.map +1 -0
  62. package/dist/browser/components/embed-card/index.d.ts.map +1 -0
  63. package/dist/browser/components/embed-card/index.js +3 -0
  64. package/dist/browser/components/embed-card/index.js.map +1 -0
  65. package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
  66. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
  67. package/dist/browser/components/embed-card/menu/EmbedMenu.js +23 -0
  68. package/dist/browser/components/embed-card/menu/EmbedMenu.js.map +1 -0
  69. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
  70. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
  71. package/dist/browser/components/embed-card/menu/JsonMenuItem.js +15 -0
  72. package/dist/browser/components/embed-card/menu/JsonMenuItem.js.map +1 -0
  73. package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -0
  74. package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -0
  75. package/dist/browser/components/embed-card/menu/index.js +2 -0
  76. package/dist/browser/components/embed-card/menu/index.js.map +1 -0
  77. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +25 -0
  78. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +1 -0
  79. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +85 -0
  80. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +1 -0
  81. package/dist/browser/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
  82. package/dist/browser/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
  83. package/dist/browser/components/embed-plugin-stories/storyPayload.js +25 -0
  84. package/dist/browser/components/embed-plugin-stories/storyPayload.js.map +1 -0
  85. package/dist/browser/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
  86. package/dist/browser/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
  87. package/dist/browser/components/embed-plugin-stories/storyShared.js +20 -0
  88. package/dist/browser/components/embed-plugin-stories/storyShared.js.map +1 -0
  89. package/dist/browser/components/index.d.mts.map +1 -0
  90. package/dist/browser/components/index.d.ts.map +1 -0
  91. package/dist/browser/components/index.js +3 -0
  92. package/dist/browser/components/index.js.map +1 -0
  93. package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
  94. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
  95. package/dist/browser/components/validation-alerts/ValidatePayload.js +18 -0
  96. package/dist/browser/components/validation-alerts/ValidatePayload.js.map +1 -0
  97. package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
  98. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
  99. package/dist/browser/components/validation-alerts/ValidatePlugins.js +18 -0
  100. package/dist/browser/components/validation-alerts/ValidatePlugins.js.map +1 -0
  101. package/dist/browser/components/validation-alerts/index.d.mts.map +1 -0
  102. package/dist/browser/components/validation-alerts/index.d.ts.map +1 -0
  103. package/dist/browser/components/validation-alerts/index.js +3 -0
  104. package/dist/browser/components/validation-alerts/index.js.map +1 -0
  105. package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
  106. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
  107. package/dist/browser/contexts/EmbedPluginContext/Context.js +6 -0
  108. package/dist/browser/contexts/EmbedPluginContext/Context.js.map +1 -0
  109. package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
  110. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
  111. package/dist/browser/contexts/EmbedPluginContext/Provider.js +35 -0
  112. package/dist/browser/contexts/EmbedPluginContext/Provider.js.map +1 -0
  113. package/dist/browser/contexts/EmbedPluginContext/State.d.mts.map +1 -0
  114. package/dist/browser/contexts/EmbedPluginContext/State.d.ts.map +1 -0
  115. package/dist/browser/contexts/EmbedPluginContext/State.js +1 -0
  116. package/dist/browser/contexts/EmbedPluginContext/State.js.map +1 -0
  117. package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.mts.map +1 -1
  118. package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.ts.map +1 -1
  119. package/dist/browser/contexts/EmbedPluginContext/index.js +5 -0
  120. package/dist/browser/contexts/EmbedPluginContext/index.js.map +1 -0
  121. package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -0
  122. package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -0
  123. package/dist/browser/contexts/EmbedPluginContext/use.js +7 -0
  124. package/dist/browser/contexts/EmbedPluginContext/use.js.map +1 -0
  125. package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
  126. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
  127. package/dist/browser/contexts/RefreshPayloadContext/Context.js +6 -0
  128. package/dist/browser/contexts/RefreshPayloadContext/Context.js.map +1 -0
  129. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
  130. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
  131. package/dist/browser/contexts/RefreshPayloadContext/Provider.js +11 -0
  132. package/dist/browser/contexts/RefreshPayloadContext/Provider.js.map +1 -0
  133. package/dist/browser/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
  134. package/dist/browser/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
  135. package/dist/browser/contexts/RefreshPayloadContext/State.js +1 -0
  136. package/dist/browser/contexts/RefreshPayloadContext/State.js.map +1 -0
  137. package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
  138. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
  139. package/dist/browser/contexts/RefreshPayloadContext/index.js +4 -0
  140. package/dist/browser/contexts/RefreshPayloadContext/index.js.map +1 -0
  141. package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
  142. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
  143. package/dist/browser/contexts/RefreshPayloadContext/use.js +7 -0
  144. package/dist/browser/contexts/RefreshPayloadContext/use.js.map +1 -0
  145. package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
  146. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
  147. package/dist/browser/contexts/ResolvePayloadContext/Context.js +6 -0
  148. package/dist/browser/contexts/ResolvePayloadContext/Context.js.map +1 -0
  149. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
  150. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
  151. package/dist/browser/contexts/ResolvePayloadContext/Provider.js +54 -0
  152. package/dist/browser/contexts/ResolvePayloadContext/Provider.js.map +1 -0
  153. package/dist/browser/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
  154. package/dist/browser/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
  155. package/dist/browser/contexts/ResolvePayloadContext/State.js +1 -0
  156. package/dist/browser/contexts/ResolvePayloadContext/State.js.map +1 -0
  157. package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
  158. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
  159. package/dist/browser/contexts/ResolvePayloadContext/index.js +5 -0
  160. package/dist/browser/contexts/ResolvePayloadContext/index.js.map +1 -0
  161. package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
  162. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
  163. package/dist/browser/contexts/ResolvePayloadContext/use.js +7 -0
  164. package/dist/browser/contexts/ResolvePayloadContext/use.js.map +1 -0
  165. package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
  166. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
  167. package/dist/browser/contexts/ValidatePayloadContext/Context.js +6 -0
  168. package/dist/browser/contexts/ValidatePayloadContext/Context.js.map +1 -0
  169. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
  170. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
  171. package/dist/browser/contexts/ValidatePayloadContext/Provider.js +32 -0
  172. package/dist/browser/contexts/ValidatePayloadContext/Provider.js.map +1 -0
  173. package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js +53 -0
  174. package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js.map +1 -0
  175. package/dist/browser/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
  176. package/dist/browser/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
  177. package/dist/browser/contexts/ValidatePayloadContext/State.js +1 -0
  178. package/dist/browser/contexts/ValidatePayloadContext/State.js.map +1 -0
  179. package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
  180. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
  181. package/dist/browser/contexts/ValidatePayloadContext/index.js +4 -0
  182. package/dist/browser/contexts/ValidatePayloadContext/index.js.map +1 -0
  183. package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
  184. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
  185. package/dist/browser/contexts/ValidatePayloadContext/use.js +7 -0
  186. package/dist/browser/contexts/ValidatePayloadContext/use.js.map +1 -0
  187. package/dist/browser/contexts/index.d.mts.map +1 -0
  188. package/dist/browser/contexts/index.d.ts.map +1 -0
  189. package/dist/browser/contexts/index.js +5 -0
  190. package/dist/browser/contexts/index.js.map +1 -0
  191. package/dist/browser/index.d.mts.map +1 -0
  192. package/dist/browser/index.d.ts.map +1 -0
  193. package/dist/browser/index.js +4 -0
  194. package/dist/browser/index.js.map +1 -0
  195. package/dist/browser/types/EmbedPluginProps.d.mts.map +1 -0
  196. package/dist/browser/types/EmbedPluginProps.d.ts.map +1 -0
  197. package/dist/browser/types/EmbedPluginProps.js +1 -0
  198. package/dist/browser/types/EmbedPluginProps.js.map +1 -0
  199. package/dist/browser/types/index.d.mts.map +1 -0
  200. package/dist/browser/types/index.d.ts.map +1 -0
  201. package/dist/browser/types/index.js +2 -0
  202. package/dist/browser/types/index.js.map +1 -0
  203. package/dist/node/components/EmbedPlugin.d.mts +5 -0
  204. package/dist/node/components/EmbedPlugin.d.mts.map +1 -0
  205. package/dist/node/components/EmbedPlugin.d.ts +5 -0
  206. package/dist/node/components/EmbedPlugin.d.ts.map +1 -0
  207. package/dist/node/components/EmbedPlugin.js +62 -0
  208. package/dist/node/components/EmbedPlugin.js.map +1 -0
  209. package/dist/node/components/EmbedPlugin.mjs +38 -0
  210. package/dist/node/components/EmbedPlugin.mjs.map +1 -0
  211. package/dist/node/components/EmbedResolver.d.mts +4 -0
  212. package/dist/node/components/EmbedResolver.d.mts.map +1 -0
  213. package/dist/node/components/EmbedResolver.d.ts +4 -0
  214. package/dist/node/components/EmbedResolver.d.ts.map +1 -0
  215. package/dist/node/components/EmbedResolver.js +35 -0
  216. package/dist/node/components/EmbedResolver.js.map +1 -0
  217. package/dist/node/components/EmbedResolver.mjs +11 -0
  218. package/dist/node/components/EmbedResolver.mjs.map +1 -0
  219. package/dist/node/components/controls/EmbedFormControl.d.mts +10 -0
  220. package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -0
  221. package/dist/node/components/controls/EmbedFormControl.d.ts +10 -0
  222. package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -0
  223. package/dist/node/components/controls/EmbedFormControl.js +36 -0
  224. package/dist/node/components/controls/EmbedFormControl.js.map +1 -0
  225. package/dist/node/components/controls/EmbedFormControl.mjs +12 -0
  226. package/dist/node/components/controls/EmbedFormControl.mjs.map +1 -0
  227. package/dist/node/components/controls/ListModeSelect.d.mts +6 -0
  228. package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -0
  229. package/dist/node/components/controls/ListModeSelect.d.ts +6 -0
  230. package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -0
  231. package/dist/node/components/controls/ListModeSelect.js +57 -0
  232. package/dist/node/components/controls/ListModeSelect.js.map +1 -0
  233. package/dist/node/components/controls/ListModeSelect.mjs +32 -0
  234. package/dist/node/components/controls/ListModeSelect.mjs.map +1 -0
  235. package/dist/node/components/controls/RenderSelect.d.mts +4 -0
  236. package/dist/node/components/controls/RenderSelect.d.mts.map +1 -0
  237. package/dist/node/components/controls/RenderSelect.d.ts +4 -0
  238. package/dist/node/components/controls/RenderSelect.d.ts.map +1 -0
  239. package/dist/node/components/controls/RenderSelect.js +38 -0
  240. package/dist/node/components/controls/RenderSelect.js.map +1 -0
  241. package/dist/node/components/controls/RenderSelect.mjs +14 -0
  242. package/dist/node/components/controls/RenderSelect.mjs.map +1 -0
  243. package/dist/node/components/controls/index.d.mts +4 -0
  244. package/dist/node/components/controls/index.d.mts.map +1 -0
  245. package/dist/node/components/controls/index.d.ts +4 -0
  246. package/dist/node/components/controls/index.d.ts.map +1 -0
  247. package/dist/node/components/controls/index.js +27 -0
  248. package/dist/node/components/controls/index.js.map +1 -0
  249. package/dist/node/components/controls/index.mjs +4 -0
  250. package/dist/node/components/controls/index.mjs.map +1 -0
  251. package/dist/node/components/embed-card/EmbedCardResolver.d.mts +5 -0
  252. package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
  253. package/dist/node/components/embed-card/EmbedCardResolver.d.ts +5 -0
  254. package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
  255. package/dist/node/components/embed-card/EmbedCardResolver.js +51 -0
  256. package/dist/node/components/embed-card/EmbedCardResolver.js.map +1 -0
  257. package/dist/node/components/embed-card/EmbedCardResolver.mjs +27 -0
  258. package/dist/node/components/embed-card/EmbedCardResolver.mjs.map +1 -0
  259. package/dist/node/components/embed-card/EmbedPluginCard.d.mts +11 -0
  260. package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
  261. package/dist/node/components/embed-card/EmbedPluginCard.d.ts +11 -0
  262. package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
  263. package/dist/node/components/embed-card/EmbedPluginCard.js +87 -0
  264. package/dist/node/components/embed-card/EmbedPluginCard.js.map +1 -0
  265. package/dist/node/components/embed-card/EmbedPluginCard.mjs +61 -0
  266. package/dist/node/components/embed-card/EmbedPluginCard.mjs.map +1 -0
  267. package/dist/node/components/embed-card/card/BusyCard.d.mts +11 -0
  268. package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -0
  269. package/dist/node/components/embed-card/card/BusyCard.d.ts +11 -0
  270. package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -0
  271. package/dist/node/components/embed-card/card/BusyCard.js +47 -0
  272. package/dist/node/components/embed-card/card/BusyCard.js.map +1 -0
  273. package/dist/node/components/embed-card/card/BusyCard.mjs +26 -0
  274. package/dist/node/components/embed-card/card/BusyCard.mjs.map +1 -0
  275. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +4 -0
  276. package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
  277. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +4 -0
  278. package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
  279. package/dist/node/components/embed-card/card/EmbedCardHeader.js +60 -0
  280. package/dist/node/components/embed-card/card/EmbedCardHeader.js.map +1 -0
  281. package/dist/node/components/embed-card/card/EmbedCardHeader.mjs +36 -0
  282. package/dist/node/components/embed-card/card/EmbedCardHeader.mjs.map +1 -0
  283. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +4 -0
  284. package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
  285. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +4 -0
  286. package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
  287. package/dist/node/components/embed-card/card/EmbedPluginCard.js +50 -0
  288. package/dist/node/components/embed-card/card/EmbedPluginCard.js.map +1 -0
  289. package/dist/node/components/embed-card/card/EmbedPluginCard.mjs +26 -0
  290. package/dist/node/components/embed-card/card/EmbedPluginCard.mjs.map +1 -0
  291. package/dist/node/components/embed-card/card/index.d.mts +4 -0
  292. package/dist/node/components/embed-card/card/index.d.mts.map +1 -0
  293. package/dist/node/components/embed-card/card/index.d.ts +4 -0
  294. package/dist/node/components/embed-card/card/index.d.ts.map +1 -0
  295. package/dist/node/components/embed-card/card/index.js +27 -0
  296. package/dist/node/components/embed-card/card/index.js.map +1 -0
  297. package/dist/node/components/embed-card/card/index.mjs +4 -0
  298. package/dist/node/components/embed-card/card/index.mjs.map +1 -0
  299. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +10 -0
  300. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
  301. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +10 -0
  302. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
  303. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +37 -0
  304. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
  305. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs +13 -0
  306. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs.map +1 -0
  307. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +15 -0
  308. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
  309. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +15 -0
  310. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
  311. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js +44 -0
  312. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
  313. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs +20 -0
  314. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs.map +1 -0
  315. package/dist/node/components/embed-card/error-handling/index.d.mts +3 -0
  316. package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -0
  317. package/dist/node/components/embed-card/error-handling/index.d.ts +3 -0
  318. package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -0
  319. package/dist/node/components/embed-card/error-handling/index.js +25 -0
  320. package/dist/node/components/embed-card/error-handling/index.js.map +1 -0
  321. package/dist/node/components/embed-card/error-handling/index.mjs +3 -0
  322. package/dist/node/components/embed-card/error-handling/index.mjs.map +1 -0
  323. package/dist/node/components/embed-card/index.d.mts +3 -0
  324. package/dist/node/components/embed-card/index.d.mts.map +1 -0
  325. package/dist/node/components/embed-card/index.d.ts +3 -0
  326. package/dist/node/components/embed-card/index.d.ts.map +1 -0
  327. package/dist/node/components/embed-card/index.js +25 -0
  328. package/dist/node/components/embed-card/index.js.map +1 -0
  329. package/dist/node/components/embed-card/index.mjs +3 -0
  330. package/dist/node/components/embed-card/index.mjs.map +1 -0
  331. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +4 -0
  332. package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
  333. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +4 -0
  334. package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
  335. package/dist/node/components/embed-card/menu/EmbedMenu.js +47 -0
  336. package/dist/node/components/embed-card/menu/EmbedMenu.js.map +1 -0
  337. package/dist/node/components/embed-card/menu/EmbedMenu.mjs +23 -0
  338. package/dist/node/components/embed-card/menu/EmbedMenu.mjs.map +1 -0
  339. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +4 -0
  340. package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
  341. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +4 -0
  342. package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
  343. package/dist/node/components/embed-card/menu/JsonMenuItem.js +39 -0
  344. package/dist/node/components/embed-card/menu/JsonMenuItem.js.map +1 -0
  345. package/dist/node/components/embed-card/menu/JsonMenuItem.mjs +15 -0
  346. package/dist/node/components/embed-card/menu/JsonMenuItem.mjs.map +1 -0
  347. package/dist/node/components/embed-card/menu/index.d.mts +2 -0
  348. package/dist/node/components/embed-card/menu/index.d.mts.map +1 -0
  349. package/dist/node/components/embed-card/menu/index.d.ts +2 -0
  350. package/dist/node/components/embed-card/menu/index.d.ts.map +1 -0
  351. package/dist/node/components/embed-card/menu/index.js +23 -0
  352. package/dist/node/components/embed-card/menu/index.js.map +1 -0
  353. package/dist/node/components/embed-card/menu/index.mjs +2 -0
  354. package/dist/node/components/embed-card/menu/index.mjs.map +1 -0
  355. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +50 -0
  356. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +1 -0
  357. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs +25 -0
  358. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs.map +1 -0
  359. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +115 -0
  360. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +1 -0
  361. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs +85 -0
  362. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs.map +1 -0
  363. package/dist/node/components/embed-plugin-stories/storyPayload.d.mts +126 -0
  364. package/dist/node/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
  365. package/dist/node/components/embed-plugin-stories/storyPayload.d.ts +126 -0
  366. package/dist/node/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
  367. package/dist/node/components/embed-plugin-stories/storyPayload.js +49 -0
  368. package/dist/node/components/embed-plugin-stories/storyPayload.js.map +1 -0
  369. package/dist/node/components/embed-plugin-stories/storyPayload.mjs +25 -0
  370. package/dist/node/components/embed-plugin-stories/storyPayload.mjs.map +1 -0
  371. package/dist/node/components/embed-plugin-stories/storyShared.d.mts +5 -0
  372. package/dist/node/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
  373. package/dist/node/components/embed-plugin-stories/storyShared.d.ts +5 -0
  374. package/dist/node/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
  375. package/dist/node/components/embed-plugin-stories/storyShared.js +45 -0
  376. package/dist/node/components/embed-plugin-stories/storyShared.js.map +1 -0
  377. package/dist/node/components/embed-plugin-stories/storyShared.mjs +20 -0
  378. package/dist/node/components/embed-plugin-stories/storyShared.mjs.map +1 -0
  379. package/dist/node/components/index.d.mts +3 -0
  380. package/dist/node/components/index.d.mts.map +1 -0
  381. package/dist/node/components/index.d.ts +3 -0
  382. package/dist/node/components/index.d.ts.map +1 -0
  383. package/dist/node/components/index.js +25 -0
  384. package/dist/node/components/index.js.map +1 -0
  385. package/dist/node/components/index.mjs +3 -0
  386. package/dist/node/components/index.mjs.map +1 -0
  387. package/dist/node/components/validation-alerts/ValidatePayload.d.mts +5 -0
  388. package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
  389. package/dist/node/components/validation-alerts/ValidatePayload.d.ts +5 -0
  390. package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
  391. package/dist/node/components/validation-alerts/ValidatePayload.js +42 -0
  392. package/dist/node/components/validation-alerts/ValidatePayload.js.map +1 -0
  393. package/dist/node/components/validation-alerts/ValidatePayload.mjs +18 -0
  394. package/dist/node/components/validation-alerts/ValidatePayload.mjs.map +1 -0
  395. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +5 -0
  396. package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
  397. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +5 -0
  398. package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
  399. package/dist/node/components/validation-alerts/ValidatePlugins.js +42 -0
  400. package/dist/node/components/validation-alerts/ValidatePlugins.js.map +1 -0
  401. package/dist/node/components/validation-alerts/ValidatePlugins.mjs +18 -0
  402. package/dist/node/components/validation-alerts/ValidatePlugins.mjs.map +1 -0
  403. package/dist/node/components/validation-alerts/index.d.mts +3 -0
  404. package/dist/node/components/validation-alerts/index.d.mts.map +1 -0
  405. package/dist/node/components/validation-alerts/index.d.ts +3 -0
  406. package/dist/node/components/validation-alerts/index.d.ts.map +1 -0
  407. package/dist/node/components/validation-alerts/index.js +25 -0
  408. package/dist/node/components/validation-alerts/index.js.map +1 -0
  409. package/dist/node/components/validation-alerts/index.mjs +3 -0
  410. package/dist/node/components/validation-alerts/index.mjs.map +1 -0
  411. package/dist/node/contexts/EmbedPluginContext/Context.d.mts +4 -0
  412. package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
  413. package/dist/node/contexts/EmbedPluginContext/Context.d.ts +4 -0
  414. package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
  415. package/dist/node/contexts/EmbedPluginContext/Context.js +30 -0
  416. package/dist/node/contexts/EmbedPluginContext/Context.js.map +1 -0
  417. package/dist/node/contexts/EmbedPluginContext/Context.mjs +6 -0
  418. package/dist/node/contexts/EmbedPluginContext/Context.mjs.map +1 -0
  419. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +7 -0
  420. package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
  421. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +7 -0
  422. package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
  423. package/dist/node/contexts/EmbedPluginContext/Provider.js +59 -0
  424. package/dist/node/contexts/EmbedPluginContext/Provider.js.map +1 -0
  425. package/dist/node/contexts/EmbedPluginContext/Provider.mjs +35 -0
  426. package/dist/node/contexts/EmbedPluginContext/Provider.mjs.map +1 -0
  427. package/dist/node/contexts/EmbedPluginContext/State.d.mts +33 -0
  428. package/dist/node/contexts/EmbedPluginContext/State.d.mts.map +1 -0
  429. package/dist/node/contexts/EmbedPluginContext/State.d.ts +33 -0
  430. package/dist/node/contexts/EmbedPluginContext/State.d.ts.map +1 -0
  431. package/dist/node/contexts/EmbedPluginContext/State.js +17 -0
  432. package/dist/node/contexts/EmbedPluginContext/State.js.map +1 -0
  433. package/dist/node/contexts/EmbedPluginContext/State.mjs +1 -0
  434. package/dist/node/contexts/EmbedPluginContext/State.mjs.map +1 -0
  435. package/dist/node/contexts/EmbedPluginContext/index.d.mts +5 -0
  436. package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -0
  437. package/dist/node/contexts/EmbedPluginContext/index.d.ts +5 -0
  438. package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -0
  439. package/dist/node/contexts/EmbedPluginContext/index.js +29 -0
  440. package/dist/node/contexts/EmbedPluginContext/index.js.map +1 -0
  441. package/dist/node/contexts/EmbedPluginContext/index.mjs +5 -0
  442. package/dist/node/contexts/EmbedPluginContext/index.mjs.map +1 -0
  443. package/dist/node/contexts/EmbedPluginContext/use.d.mts +2 -0
  444. package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -0
  445. package/dist/node/contexts/EmbedPluginContext/use.d.ts +2 -0
  446. package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -0
  447. package/dist/node/contexts/EmbedPluginContext/use.js +31 -0
  448. package/dist/node/contexts/EmbedPluginContext/use.js.map +1 -0
  449. package/dist/node/contexts/EmbedPluginContext/use.mjs +7 -0
  450. package/dist/node/contexts/EmbedPluginContext/use.mjs.map +1 -0
  451. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +4 -0
  452. package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
  453. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +4 -0
  454. package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
  455. package/dist/node/contexts/RefreshPayloadContext/Context.js +30 -0
  456. package/dist/node/contexts/RefreshPayloadContext/Context.js.map +1 -0
  457. package/dist/node/contexts/RefreshPayloadContext/Context.mjs +6 -0
  458. package/dist/node/contexts/RefreshPayloadContext/Context.mjs.map +1 -0
  459. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +8 -0
  460. package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
  461. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +8 -0
  462. package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
  463. package/dist/node/contexts/RefreshPayloadContext/Provider.js +35 -0
  464. package/dist/node/contexts/RefreshPayloadContext/Provider.js.map +1 -0
  465. package/dist/node/contexts/RefreshPayloadContext/Provider.mjs +11 -0
  466. package/dist/node/contexts/RefreshPayloadContext/Provider.mjs.map +1 -0
  467. package/dist/node/contexts/RefreshPayloadContext/State.d.mts +8 -0
  468. package/dist/node/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
  469. package/dist/node/contexts/RefreshPayloadContext/State.d.ts +8 -0
  470. package/dist/node/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
  471. package/dist/node/contexts/RefreshPayloadContext/State.js +17 -0
  472. package/dist/node/contexts/RefreshPayloadContext/State.js.map +1 -0
  473. package/dist/node/contexts/RefreshPayloadContext/State.mjs +1 -0
  474. package/dist/node/contexts/RefreshPayloadContext/State.mjs.map +1 -0
  475. package/dist/node/contexts/RefreshPayloadContext/index.d.mts +4 -0
  476. package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
  477. package/dist/node/contexts/RefreshPayloadContext/index.d.ts +4 -0
  478. package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
  479. package/dist/node/contexts/RefreshPayloadContext/index.js +27 -0
  480. package/dist/node/contexts/RefreshPayloadContext/index.js.map +1 -0
  481. package/dist/node/contexts/RefreshPayloadContext/index.mjs +4 -0
  482. package/dist/node/contexts/RefreshPayloadContext/index.mjs.map +1 -0
  483. package/dist/node/contexts/RefreshPayloadContext/use.d.mts +2 -0
  484. package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
  485. package/dist/node/contexts/RefreshPayloadContext/use.d.ts +2 -0
  486. package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
  487. package/dist/node/contexts/RefreshPayloadContext/use.js +31 -0
  488. package/dist/node/contexts/RefreshPayloadContext/use.js.map +1 -0
  489. package/dist/node/contexts/RefreshPayloadContext/use.mjs +7 -0
  490. package/dist/node/contexts/RefreshPayloadContext/use.mjs.map +1 -0
  491. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +4 -0
  492. package/dist/node/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
  493. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +4 -0
  494. package/dist/node/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
  495. package/dist/node/contexts/ResolvePayloadContext/Context.js +30 -0
  496. package/dist/node/contexts/ResolvePayloadContext/Context.js.map +1 -0
  497. package/dist/node/contexts/ResolvePayloadContext/Context.mjs +6 -0
  498. package/dist/node/contexts/ResolvePayloadContext/Context.mjs.map +1 -0
  499. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +6 -0
  500. package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
  501. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +6 -0
  502. package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
  503. package/dist/node/contexts/ResolvePayloadContext/Provider.js +78 -0
  504. package/dist/node/contexts/ResolvePayloadContext/Provider.js.map +1 -0
  505. package/dist/node/contexts/ResolvePayloadContext/Provider.mjs +54 -0
  506. package/dist/node/contexts/ResolvePayloadContext/Provider.mjs.map +1 -0
  507. package/dist/node/contexts/ResolvePayloadContext/State.d.mts +13 -0
  508. package/dist/node/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
  509. package/dist/node/contexts/ResolvePayloadContext/State.d.ts +13 -0
  510. package/dist/node/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
  511. package/dist/node/contexts/ResolvePayloadContext/State.js +17 -0
  512. package/dist/node/contexts/ResolvePayloadContext/State.js.map +1 -0
  513. package/dist/node/contexts/ResolvePayloadContext/State.mjs +1 -0
  514. package/dist/node/contexts/ResolvePayloadContext/State.mjs.map +1 -0
  515. package/dist/node/contexts/ResolvePayloadContext/index.d.mts +5 -0
  516. package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
  517. package/dist/node/contexts/ResolvePayloadContext/index.d.ts +5 -0
  518. package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
  519. package/dist/node/contexts/ResolvePayloadContext/index.js +29 -0
  520. package/dist/node/contexts/ResolvePayloadContext/index.js.map +1 -0
  521. package/dist/node/contexts/ResolvePayloadContext/index.mjs +5 -0
  522. package/dist/node/contexts/ResolvePayloadContext/index.mjs.map +1 -0
  523. package/dist/node/contexts/ResolvePayloadContext/use.d.mts +2 -0
  524. package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
  525. package/dist/node/contexts/ResolvePayloadContext/use.d.ts +2 -0
  526. package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
  527. package/dist/node/contexts/ResolvePayloadContext/use.js +31 -0
  528. package/dist/node/contexts/ResolvePayloadContext/use.js.map +1 -0
  529. package/dist/node/contexts/ResolvePayloadContext/use.mjs +7 -0
  530. package/dist/node/contexts/ResolvePayloadContext/use.mjs.map +1 -0
  531. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +4 -0
  532. package/dist/node/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
  533. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +4 -0
  534. package/dist/node/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
  535. package/dist/node/contexts/ValidatePayloadContext/Context.js +30 -0
  536. package/dist/node/contexts/ValidatePayloadContext/Context.js.map +1 -0
  537. package/dist/node/contexts/ValidatePayloadContext/Context.mjs +6 -0
  538. package/dist/node/contexts/ValidatePayloadContext/Context.mjs.map +1 -0
  539. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +7 -0
  540. package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
  541. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +7 -0
  542. package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
  543. package/dist/node/contexts/ValidatePayloadContext/Provider.js +56 -0
  544. package/dist/node/contexts/ValidatePayloadContext/Provider.js.map +1 -0
  545. package/dist/node/contexts/ValidatePayloadContext/Provider.mjs +32 -0
  546. package/dist/node/contexts/ValidatePayloadContext/Provider.mjs.map +1 -0
  547. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js +79 -0
  548. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js.map +1 -0
  549. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs +53 -0
  550. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs.map +1 -0
  551. package/dist/node/contexts/ValidatePayloadContext/State.d.mts +7 -0
  552. package/dist/node/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
  553. package/dist/node/contexts/ValidatePayloadContext/State.d.ts +7 -0
  554. package/dist/node/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
  555. package/dist/node/contexts/ValidatePayloadContext/State.js +17 -0
  556. package/dist/node/contexts/ValidatePayloadContext/State.js.map +1 -0
  557. package/dist/node/contexts/ValidatePayloadContext/State.mjs +1 -0
  558. package/dist/node/contexts/ValidatePayloadContext/State.mjs.map +1 -0
  559. package/dist/node/contexts/ValidatePayloadContext/index.d.mts +4 -0
  560. package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
  561. package/dist/node/contexts/ValidatePayloadContext/index.d.ts +4 -0
  562. package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
  563. package/dist/node/contexts/ValidatePayloadContext/index.js +27 -0
  564. package/dist/node/contexts/ValidatePayloadContext/index.js.map +1 -0
  565. package/dist/node/contexts/ValidatePayloadContext/index.mjs +4 -0
  566. package/dist/node/contexts/ValidatePayloadContext/index.mjs.map +1 -0
  567. package/dist/node/contexts/ValidatePayloadContext/use.d.mts +2 -0
  568. package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
  569. package/dist/node/contexts/ValidatePayloadContext/use.d.ts +2 -0
  570. package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
  571. package/dist/node/contexts/ValidatePayloadContext/use.js +31 -0
  572. package/dist/node/contexts/ValidatePayloadContext/use.js.map +1 -0
  573. package/dist/node/contexts/ValidatePayloadContext/use.mjs +7 -0
  574. package/dist/node/contexts/ValidatePayloadContext/use.mjs.map +1 -0
  575. package/dist/node/contexts/index.d.mts +5 -0
  576. package/dist/node/contexts/index.d.mts.map +1 -0
  577. package/dist/node/contexts/index.d.ts +5 -0
  578. package/dist/node/contexts/index.d.ts.map +1 -0
  579. package/dist/node/contexts/index.js +29 -0
  580. package/dist/node/contexts/index.js.map +1 -0
  581. package/dist/node/contexts/index.mjs +5 -0
  582. package/dist/node/contexts/index.mjs.map +1 -0
  583. package/dist/node/index.d.mts +4 -0
  584. package/dist/node/index.d.mts.map +1 -0
  585. package/dist/node/index.d.ts +4 -0
  586. package/dist/node/index.d.ts.map +1 -0
  587. package/dist/node/index.js +27 -0
  588. package/dist/node/index.js.map +1 -0
  589. package/dist/node/index.mjs +4 -0
  590. package/dist/node/index.mjs.map +1 -0
  591. package/dist/node/types/EmbedPluginProps.d.mts +10 -0
  592. package/dist/node/types/EmbedPluginProps.d.mts.map +1 -0
  593. package/dist/node/types/EmbedPluginProps.d.ts +10 -0
  594. package/dist/node/types/EmbedPluginProps.d.ts.map +1 -0
  595. package/dist/node/types/EmbedPluginProps.js +17 -0
  596. package/dist/node/types/EmbedPluginProps.js.map +1 -0
  597. package/dist/node/types/EmbedPluginProps.mjs +1 -0
  598. package/dist/node/types/EmbedPluginProps.mjs.map +1 -0
  599. package/dist/node/types/index.d.mts +2 -0
  600. package/dist/node/types/index.d.mts.map +1 -0
  601. package/dist/node/types/index.d.ts +2 -0
  602. package/dist/node/types/index.d.ts.map +1 -0
  603. package/dist/node/types/index.js +23 -0
  604. package/dist/node/types/index.js.map +1 -0
  605. package/dist/node/types/index.mjs +2 -0
  606. package/dist/node/types/index.mjs.map +1 -0
  607. package/package.json +26 -26
  608. package/dist/components/EmbedPlugin.d.mts.map +0 -1
  609. package/dist/components/EmbedPlugin.d.ts.map +0 -1
  610. package/dist/components/EmbedResolver.d.mts.map +0 -1
  611. package/dist/components/EmbedResolver.d.ts.map +0 -1
  612. package/dist/components/controls/EmbedFormControl.d.mts.map +0 -1
  613. package/dist/components/controls/EmbedFormControl.d.ts.map +0 -1
  614. package/dist/components/controls/ListModeSelect.d.mts.map +0 -1
  615. package/dist/components/controls/ListModeSelect.d.ts.map +0 -1
  616. package/dist/components/controls/RenderSelect.d.mts.map +0 -1
  617. package/dist/components/controls/RenderSelect.d.ts.map +0 -1
  618. package/dist/components/controls/index.d.mts.map +0 -1
  619. package/dist/components/controls/index.d.ts.map +0 -1
  620. package/dist/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
  621. package/dist/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
  622. package/dist/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
  623. package/dist/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
  624. package/dist/components/embed-card/card/BusyCard.d.mts.map +0 -1
  625. package/dist/components/embed-card/card/BusyCard.d.ts.map +0 -1
  626. package/dist/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
  627. package/dist/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
  628. package/dist/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
  629. package/dist/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
  630. package/dist/components/embed-card/card/index.d.mts.map +0 -1
  631. package/dist/components/embed-card/card/index.d.ts.map +0 -1
  632. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
  633. package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
  634. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
  635. package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
  636. package/dist/components/embed-card/error-handling/index.d.mts.map +0 -1
  637. package/dist/components/embed-card/error-handling/index.d.ts.map +0 -1
  638. package/dist/components/embed-card/index.d.mts.map +0 -1
  639. package/dist/components/embed-card/index.d.ts.map +0 -1
  640. package/dist/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
  641. package/dist/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
  642. package/dist/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
  643. package/dist/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
  644. package/dist/components/embed-card/menu/index.d.mts.map +0 -1
  645. package/dist/components/embed-card/menu/index.d.ts.map +0 -1
  646. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts +0 -6
  647. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts.map +0 -1
  648. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts +0 -6
  649. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts.map +0 -1
  650. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts +0 -11
  651. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts.map +0 -1
  652. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts +0 -11
  653. package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts.map +0 -1
  654. package/dist/components/embed-plugin-stories/storyPayload.d.mts.map +0 -1
  655. package/dist/components/embed-plugin-stories/storyPayload.d.ts.map +0 -1
  656. package/dist/components/embed-plugin-stories/storyShared.d.mts.map +0 -1
  657. package/dist/components/embed-plugin-stories/storyShared.d.ts.map +0 -1
  658. package/dist/components/index.d.mts.map +0 -1
  659. package/dist/components/index.d.ts.map +0 -1
  660. package/dist/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
  661. package/dist/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
  662. package/dist/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
  663. package/dist/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
  664. package/dist/components/validation-alerts/index.d.mts.map +0 -1
  665. package/dist/components/validation-alerts/index.d.ts.map +0 -1
  666. package/dist/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
  667. package/dist/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
  668. package/dist/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
  669. package/dist/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
  670. package/dist/contexts/EmbedPluginContext/State.d.mts.map +0 -1
  671. package/dist/contexts/EmbedPluginContext/State.d.ts.map +0 -1
  672. package/dist/contexts/EmbedPluginContext/index.d.mts.map +0 -1
  673. package/dist/contexts/EmbedPluginContext/index.d.ts.map +0 -1
  674. package/dist/contexts/EmbedPluginContext/use.d.mts.map +0 -1
  675. package/dist/contexts/EmbedPluginContext/use.d.ts.map +0 -1
  676. package/dist/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
  677. package/dist/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
  678. package/dist/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
  679. package/dist/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
  680. package/dist/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
  681. package/dist/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
  682. package/dist/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
  683. package/dist/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
  684. package/dist/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
  685. package/dist/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
  686. package/dist/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
  687. package/dist/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
  688. package/dist/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
  689. package/dist/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
  690. package/dist/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
  691. package/dist/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
  692. package/dist/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
  693. package/dist/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
  694. package/dist/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
  695. package/dist/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
  696. package/dist/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
  697. package/dist/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
  698. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts +0 -15
  699. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts.map +0 -1
  700. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts +0 -15
  701. package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts.map +0 -1
  702. package/dist/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
  703. package/dist/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
  704. package/dist/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
  705. package/dist/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
  706. package/dist/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
  707. package/dist/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
  708. package/dist/contexts/index.d.mts.map +0 -1
  709. package/dist/contexts/index.d.ts.map +0 -1
  710. package/dist/index.d.mts.map +0 -1
  711. package/dist/index.d.ts.map +0 -1
  712. package/dist/index.js +0 -533
  713. package/dist/index.js.map +0 -1
  714. package/dist/index.mjs +0 -493
  715. package/dist/index.mjs.map +0 -1
  716. package/dist/types/EmbedPluginProps.d.mts.map +0 -1
  717. package/dist/types/EmbedPluginProps.d.ts.map +0 -1
  718. package/dist/types/index.d.mts.map +0 -1
  719. package/dist/types/index.d.ts.map +0 -1
  720. /package/dist/{components → browser/components}/EmbedPlugin.d.mts +0 -0
  721. /package/dist/{components → browser/components}/EmbedPlugin.d.ts +0 -0
  722. /package/dist/{components → browser/components}/EmbedResolver.d.mts +0 -0
  723. /package/dist/{components → browser/components}/EmbedResolver.d.ts +0 -0
  724. /package/dist/{components → browser/components}/controls/EmbedFormControl.d.mts +0 -0
  725. /package/dist/{components → browser/components}/controls/EmbedFormControl.d.ts +0 -0
  726. /package/dist/{components → browser/components}/controls/ListModeSelect.d.mts +0 -0
  727. /package/dist/{components → browser/components}/controls/ListModeSelect.d.ts +0 -0
  728. /package/dist/{components → browser/components}/controls/RenderSelect.d.mts +0 -0
  729. /package/dist/{components → browser/components}/controls/RenderSelect.d.ts +0 -0
  730. /package/dist/{components → browser/components}/controls/index.d.mts +0 -0
  731. /package/dist/{components → browser/components}/controls/index.d.ts +0 -0
  732. /package/dist/{components → browser/components}/embed-card/EmbedCardResolver.d.mts +0 -0
  733. /package/dist/{components → browser/components}/embed-card/EmbedCardResolver.d.ts +0 -0
  734. /package/dist/{components → browser/components}/embed-card/EmbedPluginCard.d.mts +0 -0
  735. /package/dist/{components → browser/components}/embed-card/EmbedPluginCard.d.ts +0 -0
  736. /package/dist/{components → browser/components}/embed-card/card/BusyCard.d.mts +0 -0
  737. /package/dist/{components → browser/components}/embed-card/card/BusyCard.d.ts +0 -0
  738. /package/dist/{components → browser/components}/embed-card/card/EmbedCardHeader.d.mts +0 -0
  739. /package/dist/{components → browser/components}/embed-card/card/EmbedCardHeader.d.ts +0 -0
  740. /package/dist/{components → browser/components}/embed-card/card/EmbedPluginCard.d.mts +0 -0
  741. /package/dist/{components → browser/components}/embed-card/card/EmbedPluginCard.d.ts +0 -0
  742. /package/dist/{components → browser/components}/embed-card/card/index.d.mts +0 -0
  743. /package/dist/{components → browser/components}/embed-card/card/index.d.ts +0 -0
  744. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -0
  745. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -0
  746. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedErrorCard.d.mts +0 -0
  747. /package/dist/{components → browser/components}/embed-card/error-handling/EmbedErrorCard.d.ts +0 -0
  748. /package/dist/{components → browser/components}/embed-card/error-handling/index.d.mts +0 -0
  749. /package/dist/{components → browser/components}/embed-card/error-handling/index.d.ts +0 -0
  750. /package/dist/{components → browser/components}/embed-card/index.d.mts +0 -0
  751. /package/dist/{components → browser/components}/embed-card/index.d.ts +0 -0
  752. /package/dist/{components → browser/components}/embed-card/menu/EmbedMenu.d.mts +0 -0
  753. /package/dist/{components → browser/components}/embed-card/menu/EmbedMenu.d.ts +0 -0
  754. /package/dist/{components → browser/components}/embed-card/menu/JsonMenuItem.d.mts +0 -0
  755. /package/dist/{components → browser/components}/embed-card/menu/JsonMenuItem.d.ts +0 -0
  756. /package/dist/{components → browser/components}/embed-card/menu/index.d.mts +0 -0
  757. /package/dist/{components → browser/components}/embed-card/menu/index.d.ts +0 -0
  758. /package/dist/{components → browser/components}/embed-plugin-stories/storyPayload.d.mts +0 -0
  759. /package/dist/{components → browser/components}/embed-plugin-stories/storyPayload.d.ts +0 -0
  760. /package/dist/{components → browser/components}/embed-plugin-stories/storyShared.d.mts +0 -0
  761. /package/dist/{components → browser/components}/embed-plugin-stories/storyShared.d.ts +0 -0
  762. /package/dist/{components → browser/components}/index.d.mts +0 -0
  763. /package/dist/{components → browser/components}/index.d.ts +0 -0
  764. /package/dist/{components → browser/components}/validation-alerts/ValidatePayload.d.mts +0 -0
  765. /package/dist/{components → browser/components}/validation-alerts/ValidatePayload.d.ts +0 -0
  766. /package/dist/{components → browser/components}/validation-alerts/ValidatePlugins.d.mts +0 -0
  767. /package/dist/{components → browser/components}/validation-alerts/ValidatePlugins.d.ts +0 -0
  768. /package/dist/{components → browser/components}/validation-alerts/index.d.mts +0 -0
  769. /package/dist/{components → browser/components}/validation-alerts/index.d.ts +0 -0
  770. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Context.d.mts +0 -0
  771. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Context.d.ts +0 -0
  772. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Provider.d.mts +0 -0
  773. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Provider.d.ts +0 -0
  774. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/State.d.mts +0 -0
  775. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/State.d.ts +0 -0
  776. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/index.d.mts +0 -0
  777. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/index.d.ts +0 -0
  778. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/use.d.mts +0 -0
  779. /package/dist/{contexts → browser/contexts}/EmbedPluginContext/use.d.ts +0 -0
  780. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Context.d.mts +0 -0
  781. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Context.d.ts +0 -0
  782. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Provider.d.mts +0 -0
  783. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Provider.d.ts +0 -0
  784. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/State.d.mts +0 -0
  785. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/State.d.ts +0 -0
  786. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/index.d.mts +0 -0
  787. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/index.d.ts +0 -0
  788. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/use.d.mts +0 -0
  789. /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/use.d.ts +0 -0
  790. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Context.d.mts +0 -0
  791. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Context.d.ts +0 -0
  792. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Provider.d.mts +0 -0
  793. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Provider.d.ts +0 -0
  794. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/State.d.mts +0 -0
  795. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/State.d.ts +0 -0
  796. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/index.d.mts +0 -0
  797. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/index.d.ts +0 -0
  798. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/use.d.mts +0 -0
  799. /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/use.d.ts +0 -0
  800. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Context.d.mts +0 -0
  801. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Context.d.ts +0 -0
  802. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Provider.d.mts +0 -0
  803. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Provider.d.ts +0 -0
  804. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/State.d.mts +0 -0
  805. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/State.d.ts +0 -0
  806. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/index.d.mts +0 -0
  807. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/index.d.ts +0 -0
  808. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/use.d.mts +0 -0
  809. /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/use.d.ts +0 -0
  810. /package/dist/{contexts → browser/contexts}/index.d.mts +0 -0
  811. /package/dist/{contexts → browser/contexts}/index.d.ts +0 -0
  812. /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
  813. /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
  814. /package/dist/{types → browser/types}/EmbedPluginProps.d.mts +0 -0
  815. /package/dist/{types → browser/types}/EmbedPluginProps.d.ts +0 -0
  816. /package/dist/{types → browser/types}/index.d.mts +0 -0
  817. /package/dist/{types → browser/types}/index.d.ts +0 -0
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var EmbedPluginCard_exports = {};
20
+ __export(EmbedPluginCard_exports, {
21
+ ApiEmbedPluginCard: () => ApiEmbedPluginCard,
22
+ EmbedPlugin: () => EmbedPlugin,
23
+ EmbedPluginCardInner: () => EmbedPluginCardInner
24
+ });
25
+ module.exports = __toCommonJS(EmbedPluginCard_exports);
26
+ var import_jsx_runtime = require("react/jsx-runtime");
27
+ var import_material = require("@mui/material");
28
+ var import_contexts = require("../../contexts");
29
+ var import_EmbedPlugin = require("../EmbedPlugin");
30
+ var import_card = require("./card");
31
+ var import_error_handling = require("./error-handling");
32
+ const ApiEmbedPluginCard = ({ children, ...props }) => {
33
+ const {
34
+ validateSchema,
35
+ plugins = [],
36
+ huriPayload,
37
+ refreshTitle = "",
38
+ timestampLabel = "Data From",
39
+ hideElementsConfig,
40
+ embedPluginConfig,
41
+ onRefresh,
42
+ ...busyCardProps
43
+ } = props;
44
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
45
+ import_EmbedPlugin.EmbedPluginInner,
46
+ {
47
+ ...{
48
+ embedPluginConfig,
49
+ hideElementsConfig,
50
+ huriPayload,
51
+ onRefresh,
52
+ plugins,
53
+ refreshTitle,
54
+ timestampLabel,
55
+ validateSchema
56
+ },
57
+ children: [
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmbedPluginCardInner, { ...busyCardProps }),
59
+ children
60
+ ]
61
+ }
62
+ );
63
+ };
64
+ const EmbedPluginCardInner = (props) => {
65
+ const { payload, huriError } = (0, import_contexts.useResolvePayload)();
66
+ const { refreshPayload } = (0, import_contexts.useRefreshPayload)();
67
+ const theme = (0, import_material.useTheme)();
68
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_error_handling.EmbedCardApiErrorRenderer, { xyoError: huriError, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
69
+ import_card.EmbedPluginCard,
70
+ {
71
+ elevation: 3,
72
+ variant: "elevation",
73
+ busy: Boolean(!refreshPayload && payload),
74
+ busyVariantProps: { style: { alignItems: "start", paddingTop: theme.spacing(2), zIndex: 2 } },
75
+ sx: { position: "relative" },
76
+ ...props
77
+ }
78
+ ) });
79
+ };
80
+ const EmbedPlugin = import_card.EmbedPluginCard;
81
+ // Annotate the CommonJS export names for ESM import in node:
82
+ 0 && (module.exports = {
83
+ ApiEmbedPluginCard,
84
+ EmbedPlugin,
85
+ EmbedPluginCardInner
86
+ });
87
+ //# sourceMappingURL=EmbedPluginCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"sourcesContent":["import { useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts'\nimport { EmbedPluginProps } from '../../types'\nimport { EmbedPluginInner } from '../EmbedPlugin'\nimport { BusyCardProps, EmbedPluginCard } from './card'\nimport { EmbedCardApiErrorRenderer } from './error-handling'\n\nexport interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {}\n\nexport const ApiEmbedPluginCard: React.FC<EmbedPluginCardProps> = ({ children, ...props }) => {\n const {\n validateSchema,\n plugins = [],\n huriPayload,\n refreshTitle = '',\n timestampLabel = 'Data From',\n hideElementsConfig,\n embedPluginConfig,\n onRefresh,\n ...busyCardProps\n } = props\n\n return (\n <EmbedPluginInner\n {...{\n embedPluginConfig,\n hideElementsConfig,\n huriPayload,\n onRefresh,\n plugins,\n refreshTitle,\n timestampLabel,\n validateSchema,\n }}\n >\n <EmbedPluginCardInner {...busyCardProps} />\n {children}\n </EmbedPluginInner>\n )\n}\n\nexport const EmbedPluginCardInner: React.FC<BusyCardProps> = (props) => {\n const { payload, huriError } = useResolvePayload()\n const { refreshPayload } = useRefreshPayload()\n const theme = useTheme()\n\n return (\n <EmbedCardApiErrorRenderer xyoError={huriError}>\n <EmbedPluginCard\n elevation={3}\n variant=\"elevation\"\n busy={Boolean(!refreshPayload && payload)}\n busyVariantProps={{ style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } }}\n sx={{ position: 'relative' }}\n {...props}\n />\n </EmbedCardApiErrorRenderer>\n )\n}\n\n/** @deprecated - use EmbedPluginCard and use CardProps instead of FlexBoxProps */\nexport const EmbedPlugin = EmbedPluginCard\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBI;AAzBJ,sBAAyB;AAGzB,sBAAqD;AAErD,yBAAiC;AACjC,kBAA+C;AAC/C,4BAA0C;AAInC,MAAM,qBAAqD,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAC5F,QAAM;AAAA,IACJ;AAAA,IACA,UAAU,CAAC;AAAA,IACX;AAAA,IACA,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,IAAI;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,QACF;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA;AAAA,oDAAC,wBAAsB,GAAG,eAAe;AAAA,QACxC;AAAA;AAAA;AAAA,EACH;AAEJ;AAEO,MAAM,uBAAgD,CAAC,UAAU;AACtE,QAAM,EAAE,SAAS,UAAU,QAAI,mCAAkB;AACjD,QAAM,EAAE,eAAe,QAAI,mCAAkB;AAC7C,QAAM,YAAQ,0BAAS;AAEvB,SACE,4CAAC,mDAA0B,UAAU,WACnC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;AAGO,MAAM,cAAc;","names":[]}
@@ -0,0 +1,61 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { useTheme } from "@mui/material";
3
+ import { useRefreshPayload, useResolvePayload } from "../../contexts";
4
+ import { EmbedPluginInner } from "../EmbedPlugin";
5
+ import { EmbedPluginCard } from "./card";
6
+ import { EmbedCardApiErrorRenderer } from "./error-handling";
7
+ const ApiEmbedPluginCard = ({ children, ...props }) => {
8
+ const {
9
+ validateSchema,
10
+ plugins = [],
11
+ huriPayload,
12
+ refreshTitle = "",
13
+ timestampLabel = "Data From",
14
+ hideElementsConfig,
15
+ embedPluginConfig,
16
+ onRefresh,
17
+ ...busyCardProps
18
+ } = props;
19
+ return /* @__PURE__ */ jsxs(
20
+ EmbedPluginInner,
21
+ {
22
+ ...{
23
+ embedPluginConfig,
24
+ hideElementsConfig,
25
+ huriPayload,
26
+ onRefresh,
27
+ plugins,
28
+ refreshTitle,
29
+ timestampLabel,
30
+ validateSchema
31
+ },
32
+ children: [
33
+ /* @__PURE__ */ jsx(EmbedPluginCardInner, { ...busyCardProps }),
34
+ children
35
+ ]
36
+ }
37
+ );
38
+ };
39
+ const EmbedPluginCardInner = (props) => {
40
+ const { payload, huriError } = useResolvePayload();
41
+ const { refreshPayload } = useRefreshPayload();
42
+ const theme = useTheme();
43
+ return /* @__PURE__ */ jsx(EmbedCardApiErrorRenderer, { xyoError: huriError, children: /* @__PURE__ */ jsx(
44
+ EmbedPluginCard,
45
+ {
46
+ elevation: 3,
47
+ variant: "elevation",
48
+ busy: Boolean(!refreshPayload && payload),
49
+ busyVariantProps: { style: { alignItems: "start", paddingTop: theme.spacing(2), zIndex: 2 } },
50
+ sx: { position: "relative" },
51
+ ...props
52
+ }
53
+ ) });
54
+ };
55
+ const EmbedPlugin = EmbedPluginCard;
56
+ export {
57
+ ApiEmbedPluginCard,
58
+ EmbedPlugin,
59
+ EmbedPluginCardInner
60
+ };
61
+ //# sourceMappingURL=EmbedPluginCard.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"sourcesContent":["import { useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts'\nimport { EmbedPluginProps } from '../../types'\nimport { EmbedPluginInner } from '../EmbedPlugin'\nimport { BusyCardProps, EmbedPluginCard } from './card'\nimport { EmbedCardApiErrorRenderer } from './error-handling'\n\nexport interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {}\n\nexport const ApiEmbedPluginCard: React.FC<EmbedPluginCardProps> = ({ children, ...props }) => {\n const {\n validateSchema,\n plugins = [],\n huriPayload,\n refreshTitle = '',\n timestampLabel = 'Data From',\n hideElementsConfig,\n embedPluginConfig,\n onRefresh,\n ...busyCardProps\n } = props\n\n return (\n <EmbedPluginInner\n {...{\n embedPluginConfig,\n hideElementsConfig,\n huriPayload,\n onRefresh,\n plugins,\n refreshTitle,\n timestampLabel,\n validateSchema,\n }}\n >\n <EmbedPluginCardInner {...busyCardProps} />\n {children}\n </EmbedPluginInner>\n )\n}\n\nexport const EmbedPluginCardInner: React.FC<BusyCardProps> = (props) => {\n const { payload, huriError } = useResolvePayload()\n const { refreshPayload } = useRefreshPayload()\n const theme = useTheme()\n\n return (\n <EmbedCardApiErrorRenderer xyoError={huriError}>\n <EmbedPluginCard\n elevation={3}\n variant=\"elevation\"\n busy={Boolean(!refreshPayload && payload)}\n busyVariantProps={{ style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } }}\n sx={{ position: 'relative' }}\n {...props}\n />\n </EmbedCardApiErrorRenderer>\n )\n}\n\n/** @deprecated - use EmbedPluginCard and use CardProps instead of FlexBoxProps */\nexport const EmbedPlugin = EmbedPluginCard\n"],"mappings":"AAyBI,SAYE,KAZF;AAzBJ,SAAS,gBAAgB;AAGzB,SAAS,mBAAmB,yBAAyB;AAErD,SAAS,wBAAwB;AACjC,SAAwB,uBAAuB;AAC/C,SAAS,iCAAiC;AAInC,MAAM,qBAAqD,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAC5F,QAAM;AAAA,IACJ;AAAA,IACA,UAAU,CAAC;AAAA,IACX;AAAA,IACA,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,IAAI;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,QACF;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA;AAAA,4BAAC,wBAAsB,GAAG,eAAe;AAAA,QACxC;AAAA;AAAA;AAAA,EACH;AAEJ;AAEO,MAAM,uBAAgD,CAAC,UAAU;AACtE,QAAM,EAAE,SAAS,UAAU,IAAI,kBAAkB;AACjD,QAAM,EAAE,eAAe,IAAI,kBAAkB;AAC7C,QAAM,QAAQ,SAAS;AAEvB,SACE,oBAAC,6BAA0B,UAAU,WACnC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;AAGO,MAAM,cAAc;","names":[]}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { CardProps } from '@mui/material';
3
+ import { BusyCircularProgressProps, BusyLinearProgressProps, BusyVariant, WithChildren } from '@xylabs/react-shared';
4
+ export interface BusyCardProps extends CardProps {
5
+ busy?: boolean;
6
+ busyMinimum?: number;
7
+ busyVariant?: BusyVariant;
8
+ busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps;
9
+ }
10
+ export declare const BusyCard: React.FC<WithChildren<BusyCardProps>>;
11
+ //# sourceMappingURL=BusyCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusyCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/BusyCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAEL,yBAAyB,EAEzB,uBAAuB,EACvB,WAAW,EACX,YAAY,EACb,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,gBAAgB,CAAC,EAAE,yBAAyB,GAAG,uBAAuB,CAAA;CACvE;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,CAgB1D,CAAA"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { CardProps } from '@mui/material';
3
+ import { BusyCircularProgressProps, BusyLinearProgressProps, BusyVariant, WithChildren } from '@xylabs/react-shared';
4
+ export interface BusyCardProps extends CardProps {
5
+ busy?: boolean;
6
+ busyMinimum?: number;
7
+ busyVariant?: BusyVariant;
8
+ busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps;
9
+ }
10
+ export declare const BusyCard: React.FC<WithChildren<BusyCardProps>>;
11
+ //# sourceMappingURL=BusyCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusyCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/BusyCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAEL,yBAAyB,EAEzB,uBAAuB,EACvB,WAAW,EACX,YAAY,EACb,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,gBAAgB,CAAC,EAAE,yBAAyB,GAAG,uBAAuB,CAAA;CACvE;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,CAgB1D,CAAA"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var BusyCard_exports = {};
20
+ __export(BusyCard_exports, {
21
+ BusyCard: () => BusyCard
22
+ });
23
+ module.exports = __toCommonJS(BusyCard_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_material = require("@mui/material");
26
+ var import_react_flexbox = require("@xylabs/react-flexbox");
27
+ var import_react_shared = require("@xylabs/react-shared");
28
+ const BusyCard = ({
29
+ busy,
30
+ busyMinimum = 500,
31
+ busyVariant = "circular",
32
+ busyVariantProps,
33
+ children,
34
+ ...props
35
+ }) => {
36
+ const internalBusy = (0, import_react_flexbox.useBusyTiming)(busy, busyMinimum);
37
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Card, { ...props, children: [
38
+ children,
39
+ busyVariant === "circular" && internalBusy ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_shared.BusyCircularProgress, { ...busyVariantProps }) : null,
40
+ busyVariant === "linear" && internalBusy ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_shared.BusyLinearProgress, { ...busyVariantProps }) : null
41
+ ] });
42
+ };
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ BusyCard
46
+ });
47
+ //# sourceMappingURL=BusyCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/BusyCard.tsx"],"sourcesContent":["import { Card, CardProps } from '@mui/material'\nimport { useBusyTiming } from '@xylabs/react-flexbox'\nimport {\n BusyCircularProgress,\n BusyCircularProgressProps,\n BusyLinearProgress,\n BusyLinearProgressProps,\n BusyVariant,\n WithChildren,\n} from '@xylabs/react-shared'\n\nexport interface BusyCardProps extends CardProps {\n busy?: boolean\n busyMinimum?: number\n busyVariant?: BusyVariant\n busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps\n}\n\nexport const BusyCard: React.FC<WithChildren<BusyCardProps>> = ({\n busy,\n busyMinimum = 500,\n busyVariant = 'circular',\n busyVariantProps,\n children,\n ...props\n}) => {\n const internalBusy = useBusyTiming(busy, busyMinimum)\n return (\n <Card {...props}>\n {children}\n {busyVariant === 'circular' && internalBusy ? <BusyCircularProgress {...(busyVariantProps as BusyCircularProgressProps)} /> : null}\n {busyVariant === 'linear' && internalBusy ? <BusyLinearProgress {...(busyVariantProps as BusyLinearProgressProps)} /> : null}\n </Card>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA4BI;AA5BJ,sBAAgC;AAChC,2BAA8B;AAC9B,0BAOO;AASA,MAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,mBAAe,oCAAc,MAAM,WAAW;AACpD,SACE,6CAAC,wBAAM,GAAG,OACP;AAAA;AAAA,IACA,gBAAgB,cAAc,eAAe,4CAAC,4CAAsB,GAAI,kBAAgD,IAAK;AAAA,IAC7H,gBAAgB,YAAY,eAAe,4CAAC,0CAAoB,GAAI,kBAA8C,IAAK;AAAA,KAC1H;AAEJ;","names":[]}
@@ -0,0 +1,26 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Card } from "@mui/material";
3
+ import { useBusyTiming } from "@xylabs/react-flexbox";
4
+ import {
5
+ BusyCircularProgress,
6
+ BusyLinearProgress
7
+ } from "@xylabs/react-shared";
8
+ const BusyCard = ({
9
+ busy,
10
+ busyMinimum = 500,
11
+ busyVariant = "circular",
12
+ busyVariantProps,
13
+ children,
14
+ ...props
15
+ }) => {
16
+ const internalBusy = useBusyTiming(busy, busyMinimum);
17
+ return /* @__PURE__ */ jsxs(Card, { ...props, children: [
18
+ children,
19
+ busyVariant === "circular" && internalBusy ? /* @__PURE__ */ jsx(BusyCircularProgress, { ...busyVariantProps }) : null,
20
+ busyVariant === "linear" && internalBusy ? /* @__PURE__ */ jsx(BusyLinearProgress, { ...busyVariantProps }) : null
21
+ ] });
22
+ };
23
+ export {
24
+ BusyCard
25
+ };
26
+ //# sourceMappingURL=BusyCard.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/BusyCard.tsx"],"sourcesContent":["import { Card, CardProps } from '@mui/material'\nimport { useBusyTiming } from '@xylabs/react-flexbox'\nimport {\n BusyCircularProgress,\n BusyCircularProgressProps,\n BusyLinearProgress,\n BusyLinearProgressProps,\n BusyVariant,\n WithChildren,\n} from '@xylabs/react-shared'\n\nexport interface BusyCardProps extends CardProps {\n busy?: boolean\n busyMinimum?: number\n busyVariant?: BusyVariant\n busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps\n}\n\nexport const BusyCard: React.FC<WithChildren<BusyCardProps>> = ({\n busy,\n busyMinimum = 500,\n busyVariant = 'circular',\n busyVariantProps,\n children,\n ...props\n}) => {\n const internalBusy = useBusyTiming(busy, busyMinimum)\n return (\n <Card {...props}>\n {children}\n {busyVariant === 'circular' && internalBusy ? <BusyCircularProgress {...(busyVariantProps as BusyCircularProgressProps)} /> : null}\n {busyVariant === 'linear' && internalBusy ? <BusyLinearProgress {...(busyVariantProps as BusyLinearProgressProps)} /> : null}\n </Card>\n )\n}\n"],"mappings":"AA4BI,SAEgD,KAFhD;AA5BJ,SAAS,YAAuB;AAChC,SAAS,qBAAqB;AAC9B;AAAA,EACE;AAAA,EAEA;AAAA,OAIK;AASA,MAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,eAAe,cAAc,MAAM,WAAW;AACpD,SACE,qBAAC,QAAM,GAAG,OACP;AAAA;AAAA,IACA,gBAAgB,cAAc,eAAe,oBAAC,wBAAsB,GAAI,kBAAgD,IAAK;AAAA,IAC7H,gBAAgB,YAAY,eAAe,oBAAC,sBAAoB,GAAI,kBAA8C,IAAK;AAAA,KAC1H;AAEJ;","names":[]}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CardHeaderProps } from '@mui/material';
3
+ export declare const EmbedCardHeader: React.FC<CardHeaderProps>;
4
+ //# sourceMappingURL=EmbedCardHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedCardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAsB,eAAe,EAAe,MAAM,eAAe,CAAA;AAMhF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuCrD,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CardHeaderProps } from '@mui/material';
3
+ export declare const EmbedCardHeader: React.FC<CardHeaderProps>;
4
+ //# sourceMappingURL=EmbedCardHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedCardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAsB,eAAe,EAAe,MAAM,eAAe,CAAA;AAMhF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuCrD,CAAA"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var EmbedCardHeader_exports = {};
20
+ __export(EmbedCardHeader_exports, {
21
+ EmbedCardHeader: () => EmbedCardHeader
22
+ });
23
+ module.exports = __toCommonJS(EmbedCardHeader_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_icons_material = require("@mui/icons-material");
26
+ var import_material = require("@mui/material");
27
+ var import_react_flexbox = require("@xylabs/react-flexbox");
28
+ var import_contexts = require("../../../contexts");
29
+ var import_menu = require("../menu");
30
+ const EmbedCardHeader = () => {
31
+ const { refreshHuri, huri } = (0, import_contexts.useResolvePayload)();
32
+ const { activePlugin, timestampLabel, hideElementsConfig } = (0, import_contexts.useEmbedPluginState)();
33
+ const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
34
+ const timestamp = Date.now();
35
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
36
+ import_material.CardHeader,
37
+ {
38
+ sx: { flexWrap: "wrap", rowGap: 1 },
39
+ avatar: hideAvatar ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Avatar, { sx: { bgcolor: (theme) => theme.palette.primary.main }, "aria-label": activePlugin?.name, children: activePlugin?.name?.charAt(0) }),
40
+ action: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { flexWrap: "wrap", columnGap: 0.5, children: [
41
+ timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
42
+ import_material.Chip,
43
+ {
44
+ avatar: hideRefreshButton ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons_material.Refresh, {}),
45
+ clickable: hideRefreshButton ? false : true,
46
+ onClick: refreshHuri,
47
+ label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
48
+ }
49
+ ) : null,
50
+ hideCardActions || huri === void 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_menu.EmbedMenu, {})
51
+ ] }),
52
+ title: hideTitle ? "" : activePlugin?.name
53
+ }
54
+ );
55
+ };
56
+ // Annotate the CommonJS export names for ESM import in node:
57
+ 0 && (module.exports = {
58
+ EmbedCardHeader
59
+ });
60
+ //# sourceMappingURL=EmbedCardHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"sourcesContent":["import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { Avatar, CardHeader, CardHeaderProps, Chip, Theme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedMenu } from '../menu'\n\nexport const EmbedCardHeader: React.FC<CardHeaderProps> = () => {\n const { refreshHuri, huri } = useResolvePayload()\n const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState()\n const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {}\n //this is temporary so that we can add the ability to get a timestamp via diviner later\n const timestamp = Date.now()\n return (\n <CardHeader\n sx={{ flexWrap: 'wrap', rowGap: 1 }}\n avatar={\n hideAvatar ? (\n <></>\n ) : (\n <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n )\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ? (\n hideTimestamp && hideRefreshButton ? (\n ''\n ) : (\n <Chip\n avatar={hideRefreshButton ? <></> : <RefreshIcon />}\n clickable={hideRefreshButton ? false : true}\n onClick={refreshHuri}\n label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}\n />\n )\n ) : null}\n {/* Huri case is valid as long as the only menu item is JSON */}\n {hideCardActions || huri === undefined ? null : <EmbedMenu />}\n </FlexRow>\n }\n title={hideTitle ? '' : activePlugin?.name}\n />\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAkBU;AAlBV,4BAAuC;AACvC,sBAAiE;AACjE,2BAAwB;AAExB,sBAAuD;AACvD,kBAA0B;AAEnB,MAAM,kBAA6C,MAAM;AAC9D,QAAM,EAAE,aAAa,KAAK,QAAI,mCAAkB;AAChD,QAAM,EAAE,cAAc,gBAAgB,mBAAmB,QAAI,qCAAoB;AACjF,QAAM,EAAE,YAAY,WAAW,mBAAmB,eAAe,gBAAgB,IAAI,sBAAsB,CAAC;AAE5G,QAAM,YAAY,KAAK,IAAI;AAC3B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,EAAE,UAAU,QAAQ,QAAQ,EAAE;AAAA,MAClC,QACE,aACE,2EAAE,IAEF,4CAAC,0BAAO,IAAI,EAAE,SAAS,CAAC,UAAiB,MAAM,QAAQ,QAAQ,KAAK,GAAG,cAAY,cAAc,MAC9F,wBAAc,MAAM,OAAO,CAAC,GAC/B;AAAA,MAGJ,QACE,6CAAC,gCAAQ,UAAS,QAAO,WAAW,KACjC;AAAA,oBACC,iBAAiB,oBACf,KAEA;AAAA,UAAC;AAAA;AAAA,YACC,QAAQ,oBAAoB,2EAAE,IAAM,4CAAC,sBAAAA,SAAA,EAAY;AAAA,YACjD,WAAW,oBAAoB,QAAQ;AAAA,YACvC,SAAS;AAAA,YACT,OAAO,gBAAgB,KAAK,GAAG,cAAc,IAAI,IAAI,KAAK,SAAS,EAAE,eAAe,CAAC;AAAA;AAAA,QACvF,IAEA;AAAA,QAEH,mBAAmB,SAAS,SAAY,OAAO,4CAAC,yBAAU;AAAA,SAC7D;AAAA,MAEF,OAAO,YAAY,KAAK,cAAc;AAAA;AAAA,EACxC;AAEJ;","names":["RefreshIcon"]}
@@ -0,0 +1,36 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import { Refresh as RefreshIcon } from "@mui/icons-material";
3
+ import { Avatar, CardHeader, Chip } from "@mui/material";
4
+ import { FlexRow } from "@xylabs/react-flexbox";
5
+ import { useEmbedPluginState, useResolvePayload } from "../../../contexts";
6
+ import { EmbedMenu } from "../menu";
7
+ const EmbedCardHeader = () => {
8
+ const { refreshHuri, huri } = useResolvePayload();
9
+ const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
10
+ const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
11
+ const timestamp = Date.now();
12
+ return /* @__PURE__ */ jsx(
13
+ CardHeader,
14
+ {
15
+ sx: { flexWrap: "wrap", rowGap: 1 },
16
+ avatar: hideAvatar ? /* @__PURE__ */ jsx(Fragment, {}) : /* @__PURE__ */ jsx(Avatar, { sx: { bgcolor: (theme) => theme.palette.primary.main }, "aria-label": activePlugin?.name, children: activePlugin?.name?.charAt(0) }),
17
+ action: /* @__PURE__ */ jsxs(FlexRow, { flexWrap: "wrap", columnGap: 0.5, children: [
18
+ timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ jsx(
19
+ Chip,
20
+ {
21
+ avatar: hideRefreshButton ? /* @__PURE__ */ jsx(Fragment, {}) : /* @__PURE__ */ jsx(RefreshIcon, {}),
22
+ clickable: hideRefreshButton ? false : true,
23
+ onClick: refreshHuri,
24
+ label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
25
+ }
26
+ ) : null,
27
+ hideCardActions || huri === void 0 ? null : /* @__PURE__ */ jsx(EmbedMenu, {})
28
+ ] }),
29
+ title: hideTitle ? "" : activePlugin?.name
30
+ }
31
+ );
32
+ };
33
+ export {
34
+ EmbedCardHeader
35
+ };
36
+ //# sourceMappingURL=EmbedCardHeader.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"sourcesContent":["import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { Avatar, CardHeader, CardHeaderProps, Chip, Theme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedMenu } from '../menu'\n\nexport const EmbedCardHeader: React.FC<CardHeaderProps> = () => {\n const { refreshHuri, huri } = useResolvePayload()\n const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState()\n const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {}\n //this is temporary so that we can add the ability to get a timestamp via diviner later\n const timestamp = Date.now()\n return (\n <CardHeader\n sx={{ flexWrap: 'wrap', rowGap: 1 }}\n avatar={\n hideAvatar ? (\n <></>\n ) : (\n <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n )\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ? (\n hideTimestamp && hideRefreshButton ? (\n ''\n ) : (\n <Chip\n avatar={hideRefreshButton ? <></> : <RefreshIcon />}\n clickable={hideRefreshButton ? false : true}\n onClick={refreshHuri}\n label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}\n />\n )\n ) : null}\n {/* Huri case is valid as long as the only menu item is JSON */}\n {hideCardActions || huri === undefined ? null : <EmbedMenu />}\n </FlexRow>\n }\n title={hideTitle ? '' : activePlugin?.name}\n />\n )\n}\n"],"mappings":"AAkBU,wBAQF,YARE;AAlBV,SAAS,WAAW,mBAAmB;AACvC,SAAS,QAAQ,YAA6B,YAAmB;AACjE,SAAS,eAAe;AAExB,SAAS,qBAAqB,yBAAyB;AACvD,SAAS,iBAAiB;AAEnB,MAAM,kBAA6C,MAAM;AAC9D,QAAM,EAAE,aAAa,KAAK,IAAI,kBAAkB;AAChD,QAAM,EAAE,cAAc,gBAAgB,mBAAmB,IAAI,oBAAoB;AACjF,QAAM,EAAE,YAAY,WAAW,mBAAmB,eAAe,gBAAgB,IAAI,sBAAsB,CAAC;AAE5G,QAAM,YAAY,KAAK,IAAI;AAC3B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,EAAE,UAAU,QAAQ,QAAQ,EAAE;AAAA,MAClC,QACE,aACE,gCAAE,IAEF,oBAAC,UAAO,IAAI,EAAE,SAAS,CAAC,UAAiB,MAAM,QAAQ,QAAQ,KAAK,GAAG,cAAY,cAAc,MAC9F,wBAAc,MAAM,OAAO,CAAC,GAC/B;AAAA,MAGJ,QACE,qBAAC,WAAQ,UAAS,QAAO,WAAW,KACjC;AAAA,oBACC,iBAAiB,oBACf,KAEA;AAAA,UAAC;AAAA;AAAA,YACC,QAAQ,oBAAoB,gCAAE,IAAM,oBAAC,eAAY;AAAA,YACjD,WAAW,oBAAoB,QAAQ;AAAA,YACvC,SAAS;AAAA,YACT,OAAO,gBAAgB,KAAK,GAAG,cAAc,IAAI,IAAI,KAAK,SAAS,EAAE,eAAe,CAAC;AAAA;AAAA,QACvF,IAEA;AAAA,QAEH,mBAAmB,SAAS,SAAY,OAAO,oBAAC,aAAU;AAAA,SAC7D;AAAA,MAEF,OAAO,YAAY,KAAK,cAAc;AAAA;AAAA,EACxC;AAEJ;","names":[]}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { BusyCardProps } from './BusyCard';
3
+ export declare const EmbedPluginCard: React.FC<BusyCardProps>;
4
+ //# sourceMappingURL=EmbedPluginCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedPluginCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAY,aAAa,EAAE,MAAM,YAAY,CAAA;AAGpD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqBnD,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { BusyCardProps } from './BusyCard';
3
+ export declare const EmbedPluginCard: React.FC<BusyCardProps>;
4
+ //# sourceMappingURL=EmbedPluginCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedPluginCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAY,aAAa,EAAE,MAAM,YAAY,CAAA;AAGpD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqBnD,CAAA"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var EmbedPluginCard_exports = {};
20
+ __export(EmbedPluginCard_exports, {
21
+ EmbedPluginCard: () => EmbedPluginCard
22
+ });
23
+ module.exports = __toCommonJS(EmbedPluginCard_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_material = require("@mui/material");
26
+ var import_react_flexbox = require("@xylabs/react-flexbox");
27
+ var import_react_shared = require("@xyo-network/react-shared");
28
+ var import_contexts = require("../../../contexts");
29
+ var import_controls = require("../../controls");
30
+ var import_BusyCard = require("./BusyCard");
31
+ var import_EmbedCardHeader = require("./EmbedCardHeader");
32
+ const EmbedPluginCard = ({ ...props }) => {
33
+ const { payload } = (0, import_contexts.useResolvePayload)();
34
+ const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = (0, import_contexts.useEmbedPluginState)();
35
+ const { listMode } = (0, import_react_shared.useListMode)();
36
+ const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1;
37
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_BusyCard.BusyCard, { ...props, children: [
38
+ hideElementsConfig?.hideCardHeader ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_EmbedCardHeader.EmbedCardHeader, {}),
39
+ plugins && plugins.length || supportsListMode ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexGrowRow, { columnGap: 2, rowGap: 2, flexWrap: "wrap", pb: 1, children: [
40
+ plugins && plugins.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_controls.EmbedRenderSelect, {}) : null,
41
+ supportsListMode ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_controls.ListModeSelectFormControl, {}) : null
42
+ ] }) : null,
43
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.CardContent, { sx: { height: "100%" }, children: ActivePlugin ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ActivePlugin.components.box.detailsBox, { payload, ...supportsListMode && { listMode } }) : null })
44
+ ] });
45
+ };
46
+ // Annotate the CommonJS export names for ESM import in node:
47
+ 0 && (module.exports = {
48
+ EmbedPluginCard
49
+ });
50
+ //# sourceMappingURL=EmbedPluginCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"sourcesContent":["import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls'\nimport { BusyCard, BusyCardProps } from './BusyCard'\nimport { EmbedCardHeader } from './EmbedCardHeader'\n\nexport const EmbedPluginCard: React.FC<BusyCardProps> = ({ ...props }) => {\n const { payload } = useResolvePayload()\n const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState()\n const { listMode } = useListMode()\n const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1\n\n return (\n <BusyCard {...props}>\n {hideElementsConfig?.hideCardHeader ? null : <EmbedCardHeader />}\n {/* Only show the row if the children are present */}\n {(plugins && plugins.length) || supportsListMode ? (\n <FlexGrowRow columnGap={2} rowGap={2} flexWrap=\"wrap\" pb={1}>\n {plugins && plugins.length > 1 ? <EmbedRenderSelect /> : null}\n {supportsListMode ? <ListModeSelectFormControl /> : null}\n </FlexGrowRow>\n ) : null}\n <CardContent sx={{ height: '100%' }}>\n {ActivePlugin ? <ActivePlugin.components.box.detailsBox payload={payload} {...(supportsListMode && { listMode })} /> : null}\n </CardContent>\n </BusyCard>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBmD;AAjBnD,sBAA4B;AAC5B,2BAA4B;AAC5B,0BAA4B;AAE5B,sBAAuD;AACvD,sBAA6D;AAC7D,sBAAwC;AACxC,6BAAgC;AAEzB,MAAM,kBAA2C,CAAC,EAAE,GAAG,MAAM,MAAM;AACxE,QAAM,EAAE,QAAQ,QAAI,mCAAkB;AACtC,QAAM,EAAE,cAAc,cAAc,SAAS,mBAAmB,QAAI,qCAAoB;AACxF,QAAM,EAAE,SAAS,QAAI,iCAAY;AACjC,QAAM,mBAAmB,cAAc,YAAY,KAAK,WAAW,UAAU,IAAI;AAEjF,SACE,6CAAC,4BAAU,GAAG,OACX;AAAA,wBAAoB,iBAAiB,OAAO,4CAAC,0CAAgB;AAAA,IAE5D,WAAW,QAAQ,UAAW,mBAC9B,6CAAC,oCAAY,WAAW,GAAG,QAAQ,GAAG,UAAS,QAAO,IAAI,GACvD;AAAA,iBAAW,QAAQ,SAAS,IAAI,4CAAC,qCAAkB,IAAK;AAAA,MACxD,mBAAmB,4CAAC,6CAA0B,IAAK;AAAA,OACtD,IACE;AAAA,IACJ,4CAAC,+BAAY,IAAI,EAAE,QAAQ,OAAO,GAC/B,yBAAe,4CAAC,aAAa,WAAW,IAAI,YAA5B,EAAuC,SAAmB,GAAI,oBAAoB,EAAE,SAAS,GAAI,IAAK,MACzH;AAAA,KACF;AAEJ;","names":[]}
@@ -0,0 +1,26 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { CardContent } from "@mui/material";
3
+ import { FlexGrowRow } from "@xylabs/react-flexbox";
4
+ import { useListMode } from "@xyo-network/react-shared";
5
+ import { useEmbedPluginState, useResolvePayload } from "../../../contexts";
6
+ import { EmbedRenderSelect, ListModeSelectFormControl } from "../../controls";
7
+ import { BusyCard } from "./BusyCard";
8
+ import { EmbedCardHeader } from "./EmbedCardHeader";
9
+ const EmbedPluginCard = ({ ...props }) => {
10
+ const { payload } = useResolvePayload();
11
+ const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
12
+ const { listMode } = useListMode();
13
+ const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1;
14
+ return /* @__PURE__ */ jsxs(BusyCard, { ...props, children: [
15
+ hideElementsConfig?.hideCardHeader ? null : /* @__PURE__ */ jsx(EmbedCardHeader, {}),
16
+ plugins && plugins.length || supportsListMode ? /* @__PURE__ */ jsxs(FlexGrowRow, { columnGap: 2, rowGap: 2, flexWrap: "wrap", pb: 1, children: [
17
+ plugins && plugins.length > 1 ? /* @__PURE__ */ jsx(EmbedRenderSelect, {}) : null,
18
+ supportsListMode ? /* @__PURE__ */ jsx(ListModeSelectFormControl, {}) : null
19
+ ] }) : null,
20
+ /* @__PURE__ */ jsx(CardContent, { sx: { height: "100%" }, children: ActivePlugin ? /* @__PURE__ */ jsx(ActivePlugin.components.box.detailsBox, { payload, ...supportsListMode && { listMode } }) : null })
21
+ ] });
22
+ };
23
+ export {
24
+ EmbedPluginCard
25
+ };
26
+ //# sourceMappingURL=EmbedPluginCard.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"sourcesContent":["import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls'\nimport { BusyCard, BusyCardProps } from './BusyCard'\nimport { EmbedCardHeader } from './EmbedCardHeader'\n\nexport const EmbedPluginCard: React.FC<BusyCardProps> = ({ ...props }) => {\n const { payload } = useResolvePayload()\n const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState()\n const { listMode } = useListMode()\n const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1\n\n return (\n <BusyCard {...props}>\n {hideElementsConfig?.hideCardHeader ? null : <EmbedCardHeader />}\n {/* Only show the row if the children are present */}\n {(plugins && plugins.length) || supportsListMode ? (\n <FlexGrowRow columnGap={2} rowGap={2} flexWrap=\"wrap\" pb={1}>\n {plugins && plugins.length > 1 ? <EmbedRenderSelect /> : null}\n {supportsListMode ? <ListModeSelectFormControl /> : null}\n </FlexGrowRow>\n ) : null}\n <CardContent sx={{ height: '100%' }}>\n {ActivePlugin ? <ActivePlugin.components.box.detailsBox payload={payload} {...(supportsListMode && { listMode })} /> : null}\n </CardContent>\n </BusyCard>\n )\n}\n"],"mappings":"AAiBmD,cAG3C,YAH2C;AAjBnD,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAE5B,SAAS,qBAAqB,yBAAyB;AACvD,SAAS,mBAAmB,iCAAiC;AAC7D,SAAS,gBAA+B;AACxC,SAAS,uBAAuB;AAEzB,MAAM,kBAA2C,CAAC,EAAE,GAAG,MAAM,MAAM;AACxE,QAAM,EAAE,QAAQ,IAAI,kBAAkB;AACtC,QAAM,EAAE,cAAc,cAAc,SAAS,mBAAmB,IAAI,oBAAoB;AACxF,QAAM,EAAE,SAAS,IAAI,YAAY;AACjC,QAAM,mBAAmB,cAAc,YAAY,KAAK,WAAW,UAAU,IAAI;AAEjF,SACE,qBAAC,YAAU,GAAG,OACX;AAAA,wBAAoB,iBAAiB,OAAO,oBAAC,mBAAgB;AAAA,IAE5D,WAAW,QAAQ,UAAW,mBAC9B,qBAAC,eAAY,WAAW,GAAG,QAAQ,GAAG,UAAS,QAAO,IAAI,GACvD;AAAA,iBAAW,QAAQ,SAAS,IAAI,oBAAC,qBAAkB,IAAK;AAAA,MACxD,mBAAmB,oBAAC,6BAA0B,IAAK;AAAA,OACtD,IACE;AAAA,IACJ,oBAAC,eAAY,IAAI,EAAE,QAAQ,OAAO,GAC/B,yBAAe,oBAAC,aAAa,WAAW,IAAI,YAA5B,EAAuC,SAAmB,GAAI,oBAAoB,EAAE,SAAS,GAAI,IAAK,MACzH;AAAA,KACF;AAEJ;","names":[]}
@@ -0,0 +1,4 @@
1
+ export * from './BusyCard';
2
+ export * from './EmbedCardHeader';
3
+ export * from './EmbedPluginCard';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './BusyCard';
2
+ export * from './EmbedCardHeader';
3
+ export * from './EmbedPluginCard';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var card_exports = {};
17
+ module.exports = __toCommonJS(card_exports);
18
+ __reExport(card_exports, require("./BusyCard"), module.exports);
19
+ __reExport(card_exports, require("./EmbedCardHeader"), module.exports);
20
+ __reExport(card_exports, require("./EmbedPluginCard"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("./BusyCard"),
24
+ ...require("./EmbedCardHeader"),
25
+ ...require("./EmbedPluginCard")
26
+ });
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/index.ts"],"sourcesContent":["export * from './BusyCard'\nexport * from './EmbedCardHeader'\nexport * from './EmbedPluginCard'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,uBAAd;AACA,yBAAc,8BADd;AAEA,yBAAc,8BAFd;","names":[]}
@@ -0,0 +1,4 @@
1
+ export * from "./BusyCard";
2
+ export * from "./EmbedCardHeader";
3
+ export * from "./EmbedPluginCard";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/embed-card/card/index.ts"],"sourcesContent":["export * from './BusyCard'\nexport * from './EmbedCardHeader'\nexport * from './EmbedPluginCard'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { CardProps } from '@mui/material';
3
+ import { WithChildren } from '@xylabs/react-shared';
4
+ import { ModuleError } from '@xyo-network/payload-model';
5
+ interface EmbedCardApiErrorRendererProps extends CardProps {
6
+ xyoError?: ModuleError;
7
+ }
8
+ export declare const EmbedCardApiErrorRenderer: React.FC<WithChildren<EmbedCardApiErrorRendererProps>>;
9
+ export {};
10
+ //# sourceMappingURL=EmbedCardApiErrorRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedCardApiErrorRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAKxD,UAAU,8BAA+B,SAAQ,SAAS;IACxD,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,8BAA8B,CAAC,CAM5F,CAAA"}