@xyo-network/react-embed 2.64.0-rc.7 → 2.64.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (687) hide show
  1. package/dist/browser/components/EmbedPlugin.cjs +251 -0
  2. package/dist/browser/components/EmbedPlugin.cjs.map +1 -0
  3. package/dist/browser/components/EmbedPlugin.d.cts +5 -0
  4. package/dist/browser/components/EmbedPlugin.d.cts.map +1 -0
  5. package/dist/browser/components/EmbedPlugin.js +203 -11
  6. package/dist/browser/components/EmbedPlugin.js.map +1 -1
  7. package/dist/browser/components/EmbedResolver.cjs +42 -0
  8. package/dist/browser/components/EmbedResolver.cjs.map +1 -0
  9. package/dist/browser/components/EmbedResolver.d.cts +4 -0
  10. package/dist/browser/components/EmbedResolver.d.cts.map +1 -0
  11. package/dist/browser/components/EmbedResolver.js +13 -3
  12. package/dist/browser/components/EmbedResolver.js.map +1 -1
  13. package/dist/browser/components/controls/EmbedFormControl.cjs +34 -0
  14. package/dist/{node/components/controls/EmbedFormControl.mjs.map → browser/components/controls/EmbedFormControl.cjs.map} +1 -1
  15. package/dist/browser/components/controls/EmbedFormControl.d.cts +10 -0
  16. package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -0
  17. package/dist/browser/components/controls/EmbedFormControl.js +3 -2
  18. package/dist/browser/components/controls/EmbedFormControl.js.map +1 -1
  19. package/dist/browser/components/controls/ListModeSelect.cjs +65 -0
  20. package/dist/browser/components/controls/ListModeSelect.cjs.map +1 -0
  21. package/dist/browser/components/controls/ListModeSelect.d.cts +6 -0
  22. package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -0
  23. package/dist/browser/components/controls/ListModeSelect.js +23 -11
  24. package/dist/browser/components/controls/ListModeSelect.js.map +1 -1
  25. package/dist/browser/components/controls/RenderSelect.cjs +54 -0
  26. package/dist/browser/components/controls/RenderSelect.cjs.map +1 -0
  27. package/dist/browser/components/controls/RenderSelect.d.cts +4 -0
  28. package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -0
  29. package/dist/browser/components/controls/RenderSelect.js +26 -7
  30. package/dist/browser/components/controls/RenderSelect.js.map +1 -1
  31. package/dist/browser/components/controls/index.cjs +87 -0
  32. package/dist/browser/components/controls/index.cjs.map +1 -0
  33. package/dist/browser/components/controls/index.d.cts +4 -0
  34. package/dist/browser/components/controls/index.d.cts.map +1 -0
  35. package/dist/browser/components/controls/index.js +63 -3
  36. package/dist/browser/components/controls/index.js.map +1 -1
  37. package/dist/browser/components/embed-card/EmbedCardResolver.cjs +95 -0
  38. package/dist/browser/components/embed-card/EmbedCardResolver.cjs.map +1 -0
  39. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +5 -0
  40. package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -0
  41. package/dist/browser/components/embed-card/EmbedCardResolver.js +52 -5
  42. package/dist/browser/components/embed-card/EmbedCardResolver.js.map +1 -1
  43. package/dist/browser/components/embed-card/EmbedPluginCard.cjs +497 -0
  44. package/dist/browser/components/embed-card/EmbedPluginCard.cjs.map +1 -0
  45. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +11 -0
  46. package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -0
  47. package/dist/browser/components/embed-card/EmbedPluginCard.js +429 -11
  48. package/dist/browser/components/embed-card/EmbedPluginCard.js.map +1 -1
  49. package/dist/browser/components/embed-card/card/BusyCard.cjs +45 -0
  50. package/dist/{node/components/embed-card/card/BusyCard.mjs.map → browser/components/embed-card/card/BusyCard.cjs.map} +1 -1
  51. package/dist/browser/components/embed-card/card/BusyCard.d.cts +11 -0
  52. package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -0
  53. package/dist/browser/components/embed-card/card/BusyCard.js +3 -2
  54. package/dist/browser/components/embed-card/card/BusyCard.js.map +1 -1
  55. package/dist/browser/components/embed-card/card/EmbedCardHeader.cjs +108 -0
  56. package/dist/browser/components/embed-card/card/EmbedCardHeader.cjs.map +1 -0
  57. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +4 -0
  58. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -0
  59. package/dist/browser/components/embed-card/card/EmbedCardHeader.js +61 -10
  60. package/dist/browser/components/embed-card/card/EmbedCardHeader.js.map +1 -1
  61. package/dist/browser/components/embed-card/card/EmbedPluginCard.cjs +199 -0
  62. package/dist/browser/components/embed-card/card/EmbedPluginCard.cjs.map +1 -0
  63. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +4 -0
  64. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -0
  65. package/dist/browser/components/embed-card/card/EmbedPluginCard.js +168 -13
  66. package/dist/browser/components/embed-card/card/EmbedPluginCard.js.map +1 -1
  67. package/dist/browser/components/embed-card/card/index.cjs +203 -0
  68. package/dist/browser/components/embed-card/card/index.cjs.map +1 -0
  69. package/dist/browser/components/embed-card/card/index.d.cts +4 -0
  70. package/dist/browser/components/embed-card/card/index.d.cts.map +1 -0
  71. package/dist/browser/components/embed-card/card/index.js +182 -3
  72. package/dist/browser/components/embed-card/card/index.js.map +1 -1
  73. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs +54 -0
  74. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs.map +1 -0
  75. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +10 -0
  76. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -0
  77. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +26 -6
  78. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -1
  79. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.cjs +42 -0
  80. package/dist/{node/components/embed-card/error-handling/EmbedErrorCard.mjs.map → browser/components/embed-card/error-handling/EmbedErrorCard.cjs.map} +1 -1
  81. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +15 -0
  82. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -0
  83. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js +4 -3
  84. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -1
  85. package/dist/browser/components/embed-card/error-handling/index.cjs +57 -0
  86. package/dist/browser/components/embed-card/error-handling/index.cjs.map +1 -0
  87. package/dist/browser/components/embed-card/error-handling/index.d.cts +3 -0
  88. package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -0
  89. package/dist/browser/components/embed-card/error-handling/index.js +33 -2
  90. package/dist/browser/components/embed-card/error-handling/index.js.map +1 -1
  91. package/dist/browser/components/embed-card/index.cjs +502 -0
  92. package/dist/browser/components/embed-card/index.cjs.map +1 -0
  93. package/dist/browser/components/embed-card/index.d.cts +3 -0
  94. package/dist/browser/components/embed-card/index.d.cts.map +1 -0
  95. package/dist/browser/components/embed-card/index.js +481 -2
  96. package/dist/browser/components/embed-card/index.js.map +1 -1
  97. package/dist/browser/components/embed-card/menu/EmbedMenu.cjs +68 -0
  98. package/dist/browser/components/embed-card/menu/EmbedMenu.cjs.map +1 -0
  99. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +4 -0
  100. package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -0
  101. package/dist/browser/components/embed-card/menu/EmbedMenu.js +30 -6
  102. package/dist/browser/components/embed-card/menu/EmbedMenu.js.map +1 -1
  103. package/dist/browser/components/embed-card/menu/JsonMenuItem.cjs +46 -0
  104. package/dist/browser/components/embed-card/menu/JsonMenuItem.cjs.map +1 -0
  105. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +4 -0
  106. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -0
  107. package/dist/browser/components/embed-card/menu/JsonMenuItem.js +13 -3
  108. package/dist/browser/components/embed-card/menu/JsonMenuItem.js.map +1 -1
  109. package/dist/browser/components/embed-card/menu/index.cjs +70 -0
  110. package/dist/browser/components/embed-card/menu/index.cjs.map +1 -0
  111. package/dist/browser/components/embed-card/menu/index.d.cts +2 -0
  112. package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -0
  113. package/dist/browser/components/embed-card/menu/index.js +46 -1
  114. package/dist/browser/components/embed-card/menu/index.js.map +1 -1
  115. package/dist/{node/components/embed-plugin-stories/storyPayload.mjs → browser/components/embed-plugin-stories/storyPayload.cjs} +27 -5
  116. package/dist/{node/components/embed-plugin-stories/storyPayload.mjs.map → browser/components/embed-plugin-stories/storyPayload.cjs.map} +1 -1
  117. package/dist/browser/components/embed-plugin-stories/storyPayload.d.cts +126 -0
  118. package/dist/browser/components/embed-plugin-stories/storyPayload.d.cts.map +1 -0
  119. package/dist/browser/components/embed-plugin-stories/storyPayload.js +2 -1
  120. package/dist/browser/components/embed-plugin-stories/storyPayload.js.map +1 -1
  121. package/dist/browser/components/embed-plugin-stories/storyShared.cjs +513 -0
  122. package/dist/browser/components/embed-plugin-stories/storyShared.cjs.map +1 -0
  123. package/dist/browser/components/embed-plugin-stories/storyShared.d.cts +5 -0
  124. package/dist/browser/components/embed-plugin-stories/storyShared.d.cts.map +1 -0
  125. package/dist/browser/components/embed-plugin-stories/storyShared.js +480 -5
  126. package/dist/browser/components/embed-plugin-stories/storyShared.js.map +1 -1
  127. package/dist/browser/components/index.cjs +503 -0
  128. package/dist/browser/components/index.cjs.map +1 -0
  129. package/dist/browser/components/index.d.cts +3 -0
  130. package/dist/browser/components/index.d.cts.map +1 -0
  131. package/dist/browser/components/index.js +482 -2
  132. package/dist/browser/components/index.js.map +1 -1
  133. package/dist/browser/components/validation-alerts/ValidatePayload.cjs +49 -0
  134. package/dist/browser/components/validation-alerts/ValidatePayload.cjs.map +1 -0
  135. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +5 -0
  136. package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -0
  137. package/dist/browser/components/validation-alerts/ValidatePayload.js +13 -3
  138. package/dist/browser/components/validation-alerts/ValidatePayload.js.map +1 -1
  139. package/dist/browser/components/validation-alerts/ValidatePlugins.cjs +57 -0
  140. package/dist/browser/components/validation-alerts/ValidatePlugins.cjs.map +1 -0
  141. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +5 -0
  142. package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -0
  143. package/dist/browser/components/validation-alerts/ValidatePlugins.js +21 -3
  144. package/dist/browser/components/validation-alerts/ValidatePlugins.js.map +1 -1
  145. package/dist/browser/components/validation-alerts/index.cjs +83 -0
  146. package/dist/browser/components/validation-alerts/index.cjs.map +1 -0
  147. package/dist/browser/components/validation-alerts/index.d.cts +3 -0
  148. package/dist/browser/components/validation-alerts/index.d.cts.map +1 -0
  149. package/dist/browser/components/validation-alerts/index.js +59 -2
  150. package/dist/browser/components/validation-alerts/index.js.map +1 -1
  151. package/dist/browser/contexts/EmbedPluginContext/Context.cjs +28 -0
  152. package/dist/{node/contexts/EmbedPluginContext/Context.mjs.map → browser/contexts/EmbedPluginContext/Context.cjs.map} +1 -1
  153. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +4 -0
  154. package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -0
  155. package/dist/browser/contexts/EmbedPluginContext/Context.js +2 -1
  156. package/dist/browser/contexts/EmbedPluginContext/Context.js.map +1 -1
  157. package/dist/browser/contexts/EmbedPluginContext/Provider.cjs +62 -0
  158. package/dist/browser/contexts/EmbedPluginContext/Provider.cjs.map +1 -0
  159. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +7 -0
  160. package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -0
  161. package/dist/browser/contexts/EmbedPluginContext/Provider.js +9 -3
  162. package/dist/browser/contexts/EmbedPluginContext/Provider.js.map +1 -1
  163. package/dist/browser/contexts/EmbedPluginContext/State.cjs +19 -0
  164. package/dist/browser/contexts/EmbedPluginContext/State.cjs.map +1 -0
  165. package/dist/browser/contexts/EmbedPluginContext/State.d.cts +33 -0
  166. package/dist/browser/contexts/EmbedPluginContext/State.d.cts.map +1 -0
  167. package/dist/browser/contexts/EmbedPluginContext/index.cjs +68 -0
  168. package/dist/browser/contexts/EmbedPluginContext/index.cjs.map +1 -0
  169. package/dist/browser/contexts/EmbedPluginContext/index.d.cts +5 -0
  170. package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -0
  171. package/dist/browser/contexts/EmbedPluginContext/index.js +44 -4
  172. package/dist/browser/contexts/EmbedPluginContext/index.js.map +1 -1
  173. package/dist/browser/contexts/EmbedPluginContext/use.cjs +34 -0
  174. package/dist/browser/contexts/EmbedPluginContext/use.cjs.map +1 -0
  175. package/dist/browser/contexts/EmbedPluginContext/use.d.cts +2 -0
  176. package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -0
  177. package/dist/browser/contexts/EmbedPluginContext/use.js +8 -2
  178. package/dist/browser/contexts/EmbedPluginContext/use.js.map +1 -1
  179. package/dist/browser/contexts/RefreshPayloadContext/Context.cjs +28 -0
  180. package/dist/{node/contexts/RefreshPayloadContext/Context.mjs.map → browser/contexts/RefreshPayloadContext/Context.cjs.map} +1 -1
  181. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +4 -0
  182. package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -0
  183. package/dist/browser/contexts/RefreshPayloadContext/Context.js +2 -1
  184. package/dist/browser/contexts/RefreshPayloadContext/Context.js.map +1 -1
  185. package/dist/browser/contexts/RefreshPayloadContext/Provider.cjs +38 -0
  186. package/dist/browser/contexts/RefreshPayloadContext/Provider.cjs.map +1 -0
  187. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +8 -0
  188. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -0
  189. package/dist/browser/contexts/RefreshPayloadContext/Provider.js +9 -3
  190. package/dist/browser/contexts/RefreshPayloadContext/Provider.js.map +1 -1
  191. package/dist/browser/contexts/RefreshPayloadContext/State.cjs +19 -0
  192. package/dist/browser/contexts/RefreshPayloadContext/State.cjs.map +1 -0
  193. package/dist/browser/contexts/RefreshPayloadContext/State.d.cts +8 -0
  194. package/dist/browser/contexts/RefreshPayloadContext/State.d.cts.map +1 -0
  195. package/dist/browser/contexts/RefreshPayloadContext/index.cjs +45 -0
  196. package/dist/browser/contexts/RefreshPayloadContext/index.cjs.map +1 -0
  197. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +4 -0
  198. package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -0
  199. package/dist/browser/contexts/RefreshPayloadContext/index.js +21 -3
  200. package/dist/browser/contexts/RefreshPayloadContext/index.js.map +1 -1
  201. package/dist/browser/contexts/RefreshPayloadContext/use.cjs +34 -0
  202. package/dist/browser/contexts/RefreshPayloadContext/use.cjs.map +1 -0
  203. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +2 -0
  204. package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -0
  205. package/dist/browser/contexts/RefreshPayloadContext/use.js +8 -2
  206. package/dist/browser/contexts/RefreshPayloadContext/use.js.map +1 -1
  207. package/dist/browser/contexts/ResolvePayloadContext/Context.cjs +28 -0
  208. package/dist/{node/contexts/ResolvePayloadContext/Context.mjs.map → browser/contexts/ResolvePayloadContext/Context.cjs.map} +1 -1
  209. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +4 -0
  210. package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts.map +1 -0
  211. package/dist/browser/contexts/ResolvePayloadContext/Context.js +2 -1
  212. package/dist/browser/contexts/ResolvePayloadContext/Context.js.map +1 -1
  213. package/dist/browser/contexts/ResolvePayloadContext/Provider.cjs +88 -0
  214. package/dist/browser/contexts/ResolvePayloadContext/Provider.cjs.map +1 -0
  215. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +6 -0
  216. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -0
  217. package/dist/browser/contexts/ResolvePayloadContext/Provider.js +17 -4
  218. package/dist/browser/contexts/ResolvePayloadContext/Provider.js.map +1 -1
  219. package/dist/browser/contexts/ResolvePayloadContext/State.cjs +19 -0
  220. package/dist/browser/contexts/ResolvePayloadContext/State.cjs.map +1 -0
  221. package/dist/browser/contexts/ResolvePayloadContext/State.d.cts +13 -0
  222. package/dist/browser/contexts/ResolvePayloadContext/State.d.cts.map +1 -0
  223. package/dist/browser/contexts/ResolvePayloadContext/index.cjs +96 -0
  224. package/dist/browser/contexts/ResolvePayloadContext/index.cjs.map +1 -0
  225. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +5 -0
  226. package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -0
  227. package/dist/browser/contexts/ResolvePayloadContext/index.js +72 -4
  228. package/dist/browser/contexts/ResolvePayloadContext/index.js.map +1 -1
  229. package/dist/browser/contexts/ResolvePayloadContext/use.cjs +34 -0
  230. package/dist/browser/contexts/ResolvePayloadContext/use.cjs.map +1 -0
  231. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +2 -0
  232. package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -0
  233. package/dist/browser/contexts/ResolvePayloadContext/use.js +8 -2
  234. package/dist/browser/contexts/ResolvePayloadContext/use.js.map +1 -1
  235. package/dist/browser/contexts/ValidatePayloadContext/Context.cjs +28 -0
  236. package/dist/{node/contexts/ValidatePayloadContext/Context.mjs.map → browser/contexts/ValidatePayloadContext/Context.cjs.map} +1 -1
  237. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +4 -0
  238. package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts.map +1 -0
  239. package/dist/browser/contexts/ValidatePayloadContext/Context.js +2 -1
  240. package/dist/browser/contexts/ValidatePayloadContext/Context.js.map +1 -1
  241. package/dist/browser/contexts/ValidatePayloadContext/Provider.cjs +66 -0
  242. package/dist/browser/contexts/ValidatePayloadContext/Provider.cjs.map +1 -0
  243. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +7 -0
  244. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -0
  245. package/dist/browser/contexts/ValidatePayloadContext/Provider.js +17 -4
  246. package/dist/browser/contexts/ValidatePayloadContext/Provider.js.map +1 -1
  247. package/dist/browser/contexts/ValidatePayloadContext/State.cjs +19 -0
  248. package/dist/browser/contexts/ValidatePayloadContext/State.cjs.map +1 -0
  249. package/dist/browser/contexts/ValidatePayloadContext/State.d.cts +7 -0
  250. package/dist/browser/contexts/ValidatePayloadContext/State.d.cts.map +1 -0
  251. package/dist/browser/contexts/ValidatePayloadContext/index.cjs +73 -0
  252. package/dist/browser/contexts/ValidatePayloadContext/index.cjs.map +1 -0
  253. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +4 -0
  254. package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -0
  255. package/dist/browser/contexts/ValidatePayloadContext/index.js +49 -3
  256. package/dist/browser/contexts/ValidatePayloadContext/index.js.map +1 -1
  257. package/dist/browser/contexts/ValidatePayloadContext/use.cjs +34 -0
  258. package/dist/browser/contexts/ValidatePayloadContext/use.cjs.map +1 -0
  259. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +2 -0
  260. package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -0
  261. package/dist/browser/contexts/ValidatePayloadContext/use.js +8 -2
  262. package/dist/browser/contexts/ValidatePayloadContext/use.js.map +1 -1
  263. package/dist/browser/contexts/index.cjs +189 -0
  264. package/dist/browser/contexts/index.cjs.map +1 -0
  265. package/dist/browser/contexts/index.d.cts +5 -0
  266. package/dist/browser/contexts/index.d.cts.map +1 -0
  267. package/dist/browser/contexts/index.js +165 -4
  268. package/dist/browser/contexts/index.js.map +1 -1
  269. package/dist/browser/index.cjs +513 -0
  270. package/dist/browser/index.cjs.map +1 -0
  271. package/dist/browser/index.d.cts +4 -0
  272. package/dist/browser/index.d.cts.map +1 -0
  273. package/dist/browser/index.js +492 -3
  274. package/dist/browser/index.js.map +1 -1
  275. package/dist/browser/types/EmbedPluginProps.cjs +19 -0
  276. package/dist/browser/types/EmbedPluginProps.cjs.map +1 -0
  277. package/dist/browser/types/EmbedPluginProps.d.cts +10 -0
  278. package/dist/browser/types/EmbedPluginProps.d.cts.map +1 -0
  279. package/dist/browser/types/index.cjs +19 -0
  280. package/dist/browser/types/index.cjs.map +1 -0
  281. package/dist/browser/types/index.d.cts +2 -0
  282. package/dist/browser/types/index.d.cts.map +1 -0
  283. package/dist/browser/types/index.js +0 -1
  284. package/dist/browser/types/index.js.map +1 -1
  285. package/dist/docs.json +4925 -0
  286. package/dist/node/components/EmbedPlugin.cjs +255 -0
  287. package/dist/node/components/EmbedPlugin.cjs.map +1 -0
  288. package/dist/node/components/EmbedPlugin.d.cts +5 -0
  289. package/dist/node/components/EmbedPlugin.d.cts.map +1 -0
  290. package/dist/node/components/EmbedPlugin.js +206 -38
  291. package/dist/node/components/EmbedPlugin.js.map +1 -1
  292. package/dist/node/components/EmbedResolver.cjs +46 -0
  293. package/dist/node/components/EmbedResolver.cjs.map +1 -0
  294. package/dist/node/components/EmbedResolver.d.cts +4 -0
  295. package/dist/node/components/EmbedResolver.d.cts.map +1 -0
  296. package/dist/node/components/EmbedResolver.js +18 -32
  297. package/dist/node/components/EmbedResolver.js.map +1 -1
  298. package/dist/node/components/controls/EmbedFormControl.cjs +38 -0
  299. package/dist/node/components/controls/EmbedFormControl.cjs.map +1 -0
  300. package/dist/node/components/controls/EmbedFormControl.d.cts +10 -0
  301. package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -0
  302. package/dist/node/components/controls/EmbedFormControl.js +8 -31
  303. package/dist/node/components/controls/EmbedFormControl.js.map +1 -1
  304. package/dist/node/components/controls/ListModeSelect.cjs +70 -0
  305. package/dist/node/components/controls/ListModeSelect.cjs.map +1 -0
  306. package/dist/node/components/controls/ListModeSelect.d.cts +6 -0
  307. package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -0
  308. package/dist/node/components/controls/ListModeSelect.js +29 -42
  309. package/dist/node/components/controls/ListModeSelect.js.map +1 -1
  310. package/dist/node/components/controls/RenderSelect.cjs +58 -0
  311. package/dist/node/components/controls/RenderSelect.cjs.map +1 -0
  312. package/dist/node/components/controls/RenderSelect.d.cts +4 -0
  313. package/dist/node/components/controls/RenderSelect.d.cts.map +1 -0
  314. package/dist/node/components/controls/RenderSelect.js +29 -34
  315. package/dist/node/components/controls/RenderSelect.js.map +1 -1
  316. package/dist/node/components/controls/index.cjs +94 -0
  317. package/dist/node/components/controls/index.cjs.map +1 -0
  318. package/dist/node/components/controls/index.d.cts +4 -0
  319. package/dist/node/components/controls/index.d.cts.map +1 -0
  320. package/dist/node/components/controls/index.js +62 -25
  321. package/dist/node/components/controls/index.js.map +1 -1
  322. package/dist/node/components/embed-card/EmbedCardResolver.cjs +99 -0
  323. package/dist/node/components/embed-card/EmbedCardResolver.cjs.map +1 -0
  324. package/dist/node/components/embed-card/EmbedCardResolver.d.cts +5 -0
  325. package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -0
  326. package/dist/node/components/embed-card/EmbedCardResolver.js +59 -36
  327. package/dist/node/components/embed-card/EmbedCardResolver.js.map +1 -1
  328. package/dist/node/components/embed-card/EmbedPluginCard.cjs +505 -0
  329. package/dist/node/components/embed-card/EmbedPluginCard.cjs.map +1 -0
  330. package/dist/node/components/embed-card/EmbedPluginCard.d.cts +11 -0
  331. package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -0
  332. package/dist/node/components/embed-card/EmbedPluginCard.js +438 -44
  333. package/dist/node/components/embed-card/EmbedPluginCard.js.map +1 -1
  334. package/dist/node/components/embed-card/card/BusyCard.cjs +49 -0
  335. package/dist/node/components/embed-card/card/BusyCard.cjs.map +1 -0
  336. package/dist/node/components/embed-card/card/BusyCard.d.cts +11 -0
  337. package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -0
  338. package/dist/node/components/embed-card/card/BusyCard.js +15 -35
  339. package/dist/node/components/embed-card/card/BusyCard.js.map +1 -1
  340. package/dist/node/components/embed-card/card/EmbedCardHeader.cjs +113 -0
  341. package/dist/node/components/embed-card/card/EmbedCardHeader.cjs.map +1 -0
  342. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +4 -0
  343. package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -0
  344. package/dist/node/components/embed-card/card/EmbedCardHeader.js +70 -42
  345. package/dist/node/components/embed-card/card/EmbedCardHeader.js.map +1 -1
  346. package/dist/node/components/embed-card/card/EmbedPluginCard.cjs +205 -0
  347. package/dist/node/components/embed-card/card/EmbedPluginCard.cjs.map +1 -0
  348. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +4 -0
  349. package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -0
  350. package/dist/node/components/embed-card/card/EmbedPluginCard.js +178 -45
  351. package/dist/node/components/embed-card/card/EmbedPluginCard.js.map +1 -1
  352. package/dist/node/components/embed-card/card/index.cjs +211 -0
  353. package/dist/node/components/embed-card/card/index.cjs.map +1 -0
  354. package/dist/node/components/embed-card/card/index.d.cts +4 -0
  355. package/dist/node/components/embed-card/card/index.d.cts.map +1 -0
  356. package/dist/node/components/embed-card/card/index.js +184 -26
  357. package/dist/node/components/embed-card/card/index.js.map +1 -1
  358. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs +58 -0
  359. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs.map +1 -0
  360. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +10 -0
  361. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -0
  362. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +27 -31
  363. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -1
  364. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.cjs +46 -0
  365. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.cjs.map +1 -0
  366. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +15 -0
  367. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -0
  368. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js +14 -37
  369. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -1
  370. package/dist/node/components/embed-card/error-handling/index.cjs +62 -0
  371. package/dist/node/components/embed-card/error-handling/index.cjs.map +1 -0
  372. package/dist/node/components/embed-card/error-handling/index.d.cts +3 -0
  373. package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -0
  374. package/dist/node/components/embed-card/error-handling/index.js +32 -23
  375. package/dist/node/components/embed-card/error-handling/index.js.map +1 -1
  376. package/dist/node/components/embed-card/index.cjs +513 -0
  377. package/dist/node/components/embed-card/index.cjs.map +1 -0
  378. package/dist/node/components/embed-card/index.d.cts +3 -0
  379. package/dist/node/components/embed-card/index.d.cts.map +1 -0
  380. package/dist/node/components/embed-card/index.js +482 -23
  381. package/dist/node/components/embed-card/index.js.map +1 -1
  382. package/dist/node/components/embed-card/menu/EmbedMenu.cjs +72 -0
  383. package/dist/node/components/embed-card/menu/EmbedMenu.cjs.map +1 -0
  384. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +4 -0
  385. package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -0
  386. package/dist/node/components/embed-card/menu/EmbedMenu.js +35 -35
  387. package/dist/node/components/embed-card/menu/EmbedMenu.js.map +1 -1
  388. package/dist/node/components/embed-card/menu/JsonMenuItem.cjs +50 -0
  389. package/dist/node/components/embed-card/menu/JsonMenuItem.cjs.map +1 -0
  390. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +4 -0
  391. package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -0
  392. package/dist/node/components/embed-card/menu/JsonMenuItem.js +21 -35
  393. package/dist/node/components/embed-card/menu/JsonMenuItem.js.map +1 -1
  394. package/dist/node/components/embed-card/menu/index.cjs +74 -0
  395. package/dist/node/components/embed-card/menu/index.cjs.map +1 -0
  396. package/dist/node/components/embed-card/menu/index.d.cts +2 -0
  397. package/dist/node/components/embed-card/menu/index.d.cts.map +1 -0
  398. package/dist/node/components/embed-card/menu/index.js +45 -21
  399. package/dist/node/components/embed-card/menu/index.js.map +1 -1
  400. package/dist/node/components/embed-plugin-stories/storyPayload.cjs +51 -0
  401. package/dist/node/components/embed-plugin-stories/storyPayload.cjs.map +1 -0
  402. package/dist/node/components/embed-plugin-stories/storyPayload.d.cts +126 -0
  403. package/dist/node/components/embed-plugin-stories/storyPayload.d.cts.map +1 -0
  404. package/dist/node/components/embed-plugin-stories/storyPayload.js +4 -27
  405. package/dist/node/components/embed-plugin-stories/storyPayload.js.map +1 -1
  406. package/dist/node/components/embed-plugin-stories/storyShared.cjs +520 -0
  407. package/dist/node/components/embed-plugin-stories/storyShared.cjs.map +1 -0
  408. package/dist/node/components/embed-plugin-stories/storyShared.d.cts +5 -0
  409. package/dist/node/components/embed-plugin-stories/storyShared.d.cts.map +1 -0
  410. package/dist/node/components/embed-plugin-stories/storyShared.js +485 -33
  411. package/dist/node/components/embed-plugin-stories/storyShared.js.map +1 -1
  412. package/dist/node/components/index.cjs +515 -0
  413. package/dist/node/components/index.cjs.map +1 -0
  414. package/dist/node/components/index.d.cts +3 -0
  415. package/dist/node/components/index.d.cts.map +1 -0
  416. package/dist/node/components/index.js +483 -23
  417. package/dist/node/components/index.js.map +1 -1
  418. package/dist/node/components/validation-alerts/ValidatePayload.cjs +53 -0
  419. package/dist/node/components/validation-alerts/ValidatePayload.cjs.map +1 -0
  420. package/dist/node/components/validation-alerts/ValidatePayload.d.cts +5 -0
  421. package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -0
  422. package/dist/node/components/validation-alerts/ValidatePayload.js +19 -33
  423. package/dist/node/components/validation-alerts/ValidatePayload.js.map +1 -1
  424. package/dist/node/components/validation-alerts/ValidatePlugins.cjs +61 -0
  425. package/dist/node/components/validation-alerts/ValidatePlugins.cjs.map +1 -0
  426. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +5 -0
  427. package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -0
  428. package/dist/node/components/validation-alerts/ValidatePlugins.js +30 -36
  429. package/dist/node/components/validation-alerts/ValidatePlugins.js.map +1 -1
  430. package/dist/node/components/validation-alerts/index.cjs +88 -0
  431. package/dist/node/components/validation-alerts/index.cjs.map +1 -0
  432. package/dist/node/components/validation-alerts/index.d.cts +3 -0
  433. package/dist/node/components/validation-alerts/index.d.cts.map +1 -0
  434. package/dist/node/components/validation-alerts/index.js +57 -22
  435. package/dist/node/components/validation-alerts/index.js.map +1 -1
  436. package/dist/node/contexts/EmbedPluginContext/Context.cjs +32 -0
  437. package/dist/node/contexts/EmbedPluginContext/Context.cjs.map +1 -0
  438. package/dist/node/contexts/EmbedPluginContext/Context.d.cts +4 -0
  439. package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -0
  440. package/dist/node/contexts/EmbedPluginContext/Context.js +5 -28
  441. package/dist/node/contexts/EmbedPluginContext/Context.js.map +1 -1
  442. package/dist/node/contexts/EmbedPluginContext/Provider.cjs +66 -0
  443. package/dist/node/contexts/EmbedPluginContext/Provider.cjs.map +1 -0
  444. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +7 -0
  445. package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -0
  446. package/dist/node/contexts/EmbedPluginContext/Provider.js +16 -34
  447. package/dist/node/contexts/EmbedPluginContext/Provider.js.map +1 -1
  448. package/dist/node/contexts/EmbedPluginContext/State.cjs +19 -0
  449. package/dist/node/contexts/EmbedPluginContext/State.cjs.map +1 -0
  450. package/dist/node/contexts/EmbedPluginContext/State.d.cts +33 -0
  451. package/dist/node/contexts/EmbedPluginContext/State.d.cts.map +1 -0
  452. package/dist/node/contexts/EmbedPluginContext/State.js +0 -16
  453. package/dist/node/contexts/EmbedPluginContext/State.js.map +1 -1
  454. package/dist/node/contexts/EmbedPluginContext/index.cjs +74 -0
  455. package/dist/node/contexts/EmbedPluginContext/index.cjs.map +1 -0
  456. package/dist/node/contexts/EmbedPluginContext/index.d.cts +5 -0
  457. package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -0
  458. package/dist/node/contexts/EmbedPluginContext/index.js +43 -27
  459. package/dist/node/contexts/EmbedPluginContext/index.js.map +1 -1
  460. package/dist/node/contexts/EmbedPluginContext/use.cjs +38 -0
  461. package/dist/node/contexts/EmbedPluginContext/use.cjs.map +1 -0
  462. package/dist/node/contexts/EmbedPluginContext/use.d.cts +2 -0
  463. package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -0
  464. package/dist/node/contexts/EmbedPluginContext/use.js +11 -29
  465. package/dist/node/contexts/EmbedPluginContext/use.js.map +1 -1
  466. package/dist/node/contexts/RefreshPayloadContext/Context.cjs +32 -0
  467. package/dist/node/contexts/RefreshPayloadContext/Context.cjs.map +1 -0
  468. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +4 -0
  469. package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -0
  470. package/dist/node/contexts/RefreshPayloadContext/Context.js +5 -28
  471. package/dist/node/contexts/RefreshPayloadContext/Context.js.map +1 -1
  472. package/dist/node/contexts/RefreshPayloadContext/Provider.cjs +42 -0
  473. package/dist/node/contexts/RefreshPayloadContext/Provider.cjs.map +1 -0
  474. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +8 -0
  475. package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -0
  476. package/dist/node/contexts/RefreshPayloadContext/Provider.js +14 -32
  477. package/dist/node/contexts/RefreshPayloadContext/Provider.js.map +1 -1
  478. package/dist/node/contexts/RefreshPayloadContext/State.cjs +19 -0
  479. package/dist/node/contexts/RefreshPayloadContext/State.cjs.map +1 -0
  480. package/dist/node/contexts/RefreshPayloadContext/State.d.cts +8 -0
  481. package/dist/node/contexts/RefreshPayloadContext/State.d.cts.map +1 -0
  482. package/dist/node/contexts/RefreshPayloadContext/State.js +0 -16
  483. package/dist/node/contexts/RefreshPayloadContext/State.js.map +1 -1
  484. package/dist/node/contexts/RefreshPayloadContext/index.cjs +50 -0
  485. package/dist/node/contexts/RefreshPayloadContext/index.cjs.map +1 -0
  486. package/dist/node/contexts/RefreshPayloadContext/index.d.cts +4 -0
  487. package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -0
  488. package/dist/node/contexts/RefreshPayloadContext/index.js +20 -25
  489. package/dist/node/contexts/RefreshPayloadContext/index.js.map +1 -1
  490. package/dist/node/contexts/RefreshPayloadContext/use.cjs +38 -0
  491. package/dist/node/contexts/RefreshPayloadContext/use.cjs.map +1 -0
  492. package/dist/node/contexts/RefreshPayloadContext/use.d.cts +2 -0
  493. package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -0
  494. package/dist/node/contexts/RefreshPayloadContext/use.js +11 -29
  495. package/dist/node/contexts/RefreshPayloadContext/use.js.map +1 -1
  496. package/dist/node/contexts/ResolvePayloadContext/Context.cjs +32 -0
  497. package/dist/node/contexts/ResolvePayloadContext/Context.cjs.map +1 -0
  498. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +4 -0
  499. package/dist/node/contexts/ResolvePayloadContext/Context.d.cts.map +1 -0
  500. package/dist/node/contexts/ResolvePayloadContext/Context.js +5 -28
  501. package/dist/node/contexts/ResolvePayloadContext/Context.js.map +1 -1
  502. package/dist/node/contexts/ResolvePayloadContext/Provider.cjs +92 -0
  503. package/dist/node/contexts/ResolvePayloadContext/Provider.cjs.map +1 -0
  504. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +6 -0
  505. package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -0
  506. package/dist/node/contexts/ResolvePayloadContext/Provider.js +39 -50
  507. package/dist/node/contexts/ResolvePayloadContext/Provider.js.map +1 -1
  508. package/dist/node/contexts/ResolvePayloadContext/State.cjs +19 -0
  509. package/dist/node/contexts/ResolvePayloadContext/State.cjs.map +1 -0
  510. package/dist/node/contexts/ResolvePayloadContext/State.d.cts +13 -0
  511. package/dist/node/contexts/ResolvePayloadContext/State.d.cts.map +1 -0
  512. package/dist/node/contexts/ResolvePayloadContext/State.js +0 -16
  513. package/dist/node/contexts/ResolvePayloadContext/State.js.map +1 -1
  514. package/dist/node/contexts/ResolvePayloadContext/index.cjs +102 -0
  515. package/dist/node/contexts/ResolvePayloadContext/index.cjs.map +1 -0
  516. package/dist/node/contexts/ResolvePayloadContext/index.d.cts +5 -0
  517. package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -0
  518. package/dist/node/contexts/ResolvePayloadContext/index.js +71 -27
  519. package/dist/node/contexts/ResolvePayloadContext/index.js.map +1 -1
  520. package/dist/node/contexts/ResolvePayloadContext/use.cjs +38 -0
  521. package/dist/node/contexts/ResolvePayloadContext/use.cjs.map +1 -0
  522. package/dist/node/contexts/ResolvePayloadContext/use.d.cts +2 -0
  523. package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -0
  524. package/dist/node/contexts/ResolvePayloadContext/use.js +11 -29
  525. package/dist/node/contexts/ResolvePayloadContext/use.js.map +1 -1
  526. package/dist/node/contexts/ValidatePayloadContext/Context.cjs +32 -0
  527. package/dist/node/contexts/ValidatePayloadContext/Context.cjs.map +1 -0
  528. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +4 -0
  529. package/dist/node/contexts/ValidatePayloadContext/Context.d.cts.map +1 -0
  530. package/dist/node/contexts/ValidatePayloadContext/Context.js +5 -28
  531. package/dist/node/contexts/ValidatePayloadContext/Context.js.map +1 -1
  532. package/dist/node/contexts/ValidatePayloadContext/Provider.cjs +70 -0
  533. package/dist/node/contexts/ValidatePayloadContext/Provider.cjs.map +1 -0
  534. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +7 -0
  535. package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -0
  536. package/dist/node/contexts/ValidatePayloadContext/Provider.js +32 -43
  537. package/dist/node/contexts/ValidatePayloadContext/Provider.js.map +1 -1
  538. package/dist/node/contexts/ValidatePayloadContext/State.cjs +19 -0
  539. package/dist/node/contexts/ValidatePayloadContext/State.cjs.map +1 -0
  540. package/dist/node/contexts/ValidatePayloadContext/State.d.cts +7 -0
  541. package/dist/node/contexts/ValidatePayloadContext/State.d.cts.map +1 -0
  542. package/dist/node/contexts/ValidatePayloadContext/State.js +0 -16
  543. package/dist/node/contexts/ValidatePayloadContext/State.js.map +1 -1
  544. package/dist/node/contexts/ValidatePayloadContext/index.cjs +78 -0
  545. package/dist/node/contexts/ValidatePayloadContext/index.cjs.map +1 -0
  546. package/dist/node/contexts/ValidatePayloadContext/index.d.cts +4 -0
  547. package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -0
  548. package/dist/node/contexts/ValidatePayloadContext/index.js +48 -25
  549. package/dist/node/contexts/ValidatePayloadContext/index.js.map +1 -1
  550. package/dist/node/contexts/ValidatePayloadContext/use.cjs +38 -0
  551. package/dist/node/contexts/ValidatePayloadContext/use.cjs.map +1 -0
  552. package/dist/node/contexts/ValidatePayloadContext/use.d.cts +2 -0
  553. package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -0
  554. package/dist/node/contexts/ValidatePayloadContext/use.js +11 -29
  555. package/dist/node/contexts/ValidatePayloadContext/use.js.map +1 -1
  556. package/dist/node/contexts/index.cjs +202 -0
  557. package/dist/node/contexts/index.cjs.map +1 -0
  558. package/dist/node/contexts/index.d.cts +5 -0
  559. package/dist/node/contexts/index.d.cts.map +1 -0
  560. package/dist/node/contexts/index.js +164 -27
  561. package/dist/node/contexts/index.js.map +1 -1
  562. package/dist/node/index.cjs +535 -0
  563. package/dist/node/index.cjs.map +1 -0
  564. package/dist/node/index.d.cts +4 -0
  565. package/dist/node/index.d.cts.map +1 -0
  566. package/dist/node/index.js +493 -25
  567. package/dist/node/index.js.map +1 -1
  568. package/dist/node/types/EmbedPluginProps.cjs +19 -0
  569. package/dist/node/types/EmbedPluginProps.cjs.map +1 -0
  570. package/dist/node/types/EmbedPluginProps.d.cts +10 -0
  571. package/dist/node/types/EmbedPluginProps.d.cts.map +1 -0
  572. package/dist/node/types/EmbedPluginProps.js +0 -16
  573. package/dist/node/types/EmbedPluginProps.js.map +1 -1
  574. package/dist/node/types/index.cjs +19 -0
  575. package/dist/node/types/index.cjs.map +1 -0
  576. package/dist/node/types/index.d.cts +2 -0
  577. package/dist/node/types/index.d.cts.map +1 -0
  578. package/dist/node/types/index.js +0 -22
  579. package/dist/node/types/index.js.map +1 -1
  580. package/package.json +25 -25
  581. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +0 -25
  582. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +0 -1
  583. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +0 -85
  584. package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +0 -1
  585. package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js +0 -53
  586. package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js.map +0 -1
  587. package/dist/node/components/EmbedPlugin.mjs +0 -38
  588. package/dist/node/components/EmbedPlugin.mjs.map +0 -1
  589. package/dist/node/components/EmbedResolver.mjs +0 -11
  590. package/dist/node/components/EmbedResolver.mjs.map +0 -1
  591. package/dist/node/components/controls/EmbedFormControl.mjs +0 -12
  592. package/dist/node/components/controls/ListModeSelect.mjs +0 -32
  593. package/dist/node/components/controls/ListModeSelect.mjs.map +0 -1
  594. package/dist/node/components/controls/RenderSelect.mjs +0 -14
  595. package/dist/node/components/controls/RenderSelect.mjs.map +0 -1
  596. package/dist/node/components/controls/index.mjs +0 -4
  597. package/dist/node/components/controls/index.mjs.map +0 -1
  598. package/dist/node/components/embed-card/EmbedCardResolver.mjs +0 -27
  599. package/dist/node/components/embed-card/EmbedCardResolver.mjs.map +0 -1
  600. package/dist/node/components/embed-card/EmbedPluginCard.mjs +0 -61
  601. package/dist/node/components/embed-card/EmbedPluginCard.mjs.map +0 -1
  602. package/dist/node/components/embed-card/card/BusyCard.mjs +0 -26
  603. package/dist/node/components/embed-card/card/EmbedCardHeader.mjs +0 -36
  604. package/dist/node/components/embed-card/card/EmbedCardHeader.mjs.map +0 -1
  605. package/dist/node/components/embed-card/card/EmbedPluginCard.mjs +0 -26
  606. package/dist/node/components/embed-card/card/EmbedPluginCard.mjs.map +0 -1
  607. package/dist/node/components/embed-card/card/index.mjs +0 -4
  608. package/dist/node/components/embed-card/card/index.mjs.map +0 -1
  609. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs +0 -13
  610. package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs.map +0 -1
  611. package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs +0 -20
  612. package/dist/node/components/embed-card/error-handling/index.mjs +0 -3
  613. package/dist/node/components/embed-card/error-handling/index.mjs.map +0 -1
  614. package/dist/node/components/embed-card/index.mjs +0 -3
  615. package/dist/node/components/embed-card/index.mjs.map +0 -1
  616. package/dist/node/components/embed-card/menu/EmbedMenu.mjs +0 -23
  617. package/dist/node/components/embed-card/menu/EmbedMenu.mjs.map +0 -1
  618. package/dist/node/components/embed-card/menu/JsonMenuItem.mjs +0 -15
  619. package/dist/node/components/embed-card/menu/JsonMenuItem.mjs.map +0 -1
  620. package/dist/node/components/embed-card/menu/index.mjs +0 -2
  621. package/dist/node/components/embed-card/menu/index.mjs.map +0 -1
  622. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +0 -50
  623. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +0 -1
  624. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs +0 -25
  625. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs.map +0 -1
  626. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +0 -115
  627. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +0 -1
  628. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs +0 -85
  629. package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs.map +0 -1
  630. package/dist/node/components/embed-plugin-stories/storyShared.mjs +0 -20
  631. package/dist/node/components/embed-plugin-stories/storyShared.mjs.map +0 -1
  632. package/dist/node/components/index.mjs +0 -3
  633. package/dist/node/components/index.mjs.map +0 -1
  634. package/dist/node/components/validation-alerts/ValidatePayload.mjs +0 -18
  635. package/dist/node/components/validation-alerts/ValidatePayload.mjs.map +0 -1
  636. package/dist/node/components/validation-alerts/ValidatePlugins.mjs +0 -18
  637. package/dist/node/components/validation-alerts/ValidatePlugins.mjs.map +0 -1
  638. package/dist/node/components/validation-alerts/index.mjs +0 -3
  639. package/dist/node/components/validation-alerts/index.mjs.map +0 -1
  640. package/dist/node/contexts/EmbedPluginContext/Context.mjs +0 -6
  641. package/dist/node/contexts/EmbedPluginContext/Provider.mjs +0 -35
  642. package/dist/node/contexts/EmbedPluginContext/Provider.mjs.map +0 -1
  643. package/dist/node/contexts/EmbedPluginContext/State.mjs +0 -1
  644. package/dist/node/contexts/EmbedPluginContext/State.mjs.map +0 -1
  645. package/dist/node/contexts/EmbedPluginContext/index.mjs +0 -5
  646. package/dist/node/contexts/EmbedPluginContext/index.mjs.map +0 -1
  647. package/dist/node/contexts/EmbedPluginContext/use.mjs +0 -7
  648. package/dist/node/contexts/EmbedPluginContext/use.mjs.map +0 -1
  649. package/dist/node/contexts/RefreshPayloadContext/Context.mjs +0 -6
  650. package/dist/node/contexts/RefreshPayloadContext/Provider.mjs +0 -11
  651. package/dist/node/contexts/RefreshPayloadContext/Provider.mjs.map +0 -1
  652. package/dist/node/contexts/RefreshPayloadContext/State.mjs +0 -1
  653. package/dist/node/contexts/RefreshPayloadContext/State.mjs.map +0 -1
  654. package/dist/node/contexts/RefreshPayloadContext/index.mjs +0 -4
  655. package/dist/node/contexts/RefreshPayloadContext/index.mjs.map +0 -1
  656. package/dist/node/contexts/RefreshPayloadContext/use.mjs +0 -7
  657. package/dist/node/contexts/RefreshPayloadContext/use.mjs.map +0 -1
  658. package/dist/node/contexts/ResolvePayloadContext/Context.mjs +0 -6
  659. package/dist/node/contexts/ResolvePayloadContext/Provider.mjs +0 -54
  660. package/dist/node/contexts/ResolvePayloadContext/Provider.mjs.map +0 -1
  661. package/dist/node/contexts/ResolvePayloadContext/State.mjs +0 -1
  662. package/dist/node/contexts/ResolvePayloadContext/State.mjs.map +0 -1
  663. package/dist/node/contexts/ResolvePayloadContext/index.mjs +0 -5
  664. package/dist/node/contexts/ResolvePayloadContext/index.mjs.map +0 -1
  665. package/dist/node/contexts/ResolvePayloadContext/use.mjs +0 -7
  666. package/dist/node/contexts/ResolvePayloadContext/use.mjs.map +0 -1
  667. package/dist/node/contexts/ValidatePayloadContext/Context.mjs +0 -6
  668. package/dist/node/contexts/ValidatePayloadContext/Provider.mjs +0 -32
  669. package/dist/node/contexts/ValidatePayloadContext/Provider.mjs.map +0 -1
  670. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js +0 -79
  671. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js.map +0 -1
  672. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs +0 -53
  673. package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs.map +0 -1
  674. package/dist/node/contexts/ValidatePayloadContext/State.mjs +0 -1
  675. package/dist/node/contexts/ValidatePayloadContext/State.mjs.map +0 -1
  676. package/dist/node/contexts/ValidatePayloadContext/index.mjs +0 -4
  677. package/dist/node/contexts/ValidatePayloadContext/index.mjs.map +0 -1
  678. package/dist/node/contexts/ValidatePayloadContext/use.mjs +0 -7
  679. package/dist/node/contexts/ValidatePayloadContext/use.mjs.map +0 -1
  680. package/dist/node/contexts/index.mjs +0 -5
  681. package/dist/node/contexts/index.mjs.map +0 -1
  682. package/dist/node/index.mjs +0 -4
  683. package/dist/node/index.mjs.map +0 -1
  684. package/dist/node/types/EmbedPluginProps.mjs +0 -1
  685. package/dist/node/types/EmbedPluginProps.mjs.map +0 -1
  686. package/dist/node/types/index.mjs +0 -2
  687. package/dist/node/types/index.mjs.map +0 -1
@@ -0,0 +1,46 @@
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
+
20
+ // src/components/EmbedResolver.tsx
21
+ var EmbedResolver_exports = {};
22
+ __export(EmbedResolver_exports, {
23
+ EmbedResolver: () => EmbedResolver
24
+ });
25
+ module.exports = __toCommonJS(EmbedResolver_exports);
26
+ var import_react_shared3 = require("@xyo-network/react-shared");
27
+
28
+ // src/contexts/ResolvePayloadContext/Context.ts
29
+ var import_react_shared = require("@xyo-network/react-shared");
30
+ var ResolvePayloadContext = (0, import_react_shared.createContextEx)();
31
+
32
+ // src/contexts/ResolvePayloadContext/use.tsx
33
+ var import_react_shared2 = require("@xyo-network/react-shared");
34
+ var useResolvePayload = () => (0, import_react_shared2.useContextEx)(ResolvePayloadContext, "ResolvePayload", true);
35
+
36
+ // src/components/EmbedResolver.tsx
37
+ var import_jsx_runtime = require("react/jsx-runtime");
38
+ var EmbedResolver = ({ children }) => {
39
+ const { payload, notFound, huriError } = useResolvePayload();
40
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_shared3.LoadResult, { searchResult: payload, notFound: !!notFound, error: !!huriError, children });
41
+ };
42
+ // Annotate the CommonJS export names for ESM import in node:
43
+ 0 && (module.exports = {
44
+ EmbedResolver
45
+ });
46
+ //# sourceMappingURL=EmbedResolver.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/EmbedResolver.tsx","../../../src/contexts/ResolvePayloadContext/Context.ts","../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { LoadResult } from '@xyo-network/react-shared'\n\nimport { useResolvePayload } from '../contexts'\n\nexport const EmbedResolver: React.FC<WithChildren> = ({ children }) => {\n const { payload, notFound, huriError } = useResolvePayload()\n\n return (\n <LoadResult searchResult={payload} notFound={!!notFound} error={!!huriError}>\n {children}\n </LoadResult>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,IAAAA,uBAA2B;;;ACD3B,0BAAgC;AAIzB,IAAM,4BAAwB,qCAAqC;;;ACJ1E,IAAAC,uBAA6B;AAItB,IAAM,oBAAoB,UAAM,mCAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F;AAJG,IAAM,gBAAwC,CAAC,EAAE,SAAS,MAAM;AACrE,QAAM,EAAE,SAAS,UAAU,UAAU,IAAI,kBAAkB;AAE3D,SACE,4CAAC,mCAAW,cAAc,SAAS,UAAU,CAAC,CAAC,UAAU,OAAO,CAAC,CAAC,WAC/D,UACH;AAEJ;","names":["import_react_shared","import_react_shared"]}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { WithChildren } from '@xylabs/react-shared';
3
+ export declare const EmbedResolver: React.FC<WithChildren>;
4
+ //# sourceMappingURL=EmbedResolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedResolver.d.ts","sourceRoot":"","sources":["../../../src/components/EmbedResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAQhD,CAAA"}
@@ -1,35 +1,21 @@
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 });
1
+ // src/components/EmbedResolver.tsx
2
+ import { LoadResult } from "@xyo-network/react-shared";
3
+
4
+ // src/contexts/ResolvePayloadContext/Context.ts
5
+ import { createContextEx } from "@xyo-network/react-shared";
6
+ var ResolvePayloadContext = createContextEx();
7
+
8
+ // src/contexts/ResolvePayloadContext/use.tsx
9
+ import { useContextEx } from "@xyo-network/react-shared";
10
+ var useResolvePayload = () => useContextEx(ResolvePayloadContext, "ResolvePayload", true);
11
+
12
+ // src/components/EmbedResolver.tsx
13
+ import { jsx } from "react/jsx-runtime";
14
+ var EmbedResolver = ({ children }) => {
15
+ const { payload, notFound, huriError } = useResolvePayload();
16
+ return /* @__PURE__ */ jsx(LoadResult, { searchResult: payload, notFound: !!notFound, error: !!huriError, children });
9
17
  };
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 EmbedResolver_exports = {};
20
- __export(EmbedResolver_exports, {
21
- EmbedResolver: () => EmbedResolver
22
- });
23
- module.exports = __toCommonJS(EmbedResolver_exports);
24
- var import_jsx_runtime = require("react/jsx-runtime");
25
- var import_react_shared2 = require("@xyo-network/react-shared");
26
- var import_contexts = require("../contexts");
27
- const EmbedResolver = ({ children }) => {
28
- const { payload, notFound, huriError } = (0, import_contexts.useResolvePayload)();
29
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_shared2.LoadResult, { searchResult: payload, notFound: !!notFound, error: !!huriError, children });
30
- };
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
18
+ export {
33
19
  EmbedResolver
34
- });
20
+ };
35
21
  //# sourceMappingURL=EmbedResolver.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/EmbedResolver.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { LoadResult } from '@xyo-network/react-shared'\n\nimport { useResolvePayload } from '../contexts'\n\nexport const EmbedResolver: React.FC<WithChildren> = ({ children }) => {\n const { payload, notFound, huriError } = useResolvePayload()\n\n return (\n <LoadResult searchResult={payload} notFound={!!notFound} error={!!huriError}>\n {children}\n </LoadResult>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASI;AARJ,IAAAA,uBAA2B;AAE3B,sBAAkC;AAE3B,MAAM,gBAAwC,CAAC,EAAE,SAAS,MAAM;AACrE,QAAM,EAAE,SAAS,UAAU,UAAU,QAAI,mCAAkB;AAE3D,SACE,4CAAC,mCAAW,cAAc,SAAS,UAAU,CAAC,CAAC,UAAU,OAAO,CAAC,CAAC,WAC/D,UACH;AAEJ;","names":["import_react_shared"]}
1
+ {"version":3,"sources":["../../../src/components/EmbedResolver.tsx","../../../src/contexts/ResolvePayloadContext/Context.ts","../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { LoadResult } from '@xyo-network/react-shared'\n\nimport { useResolvePayload } from '../contexts'\n\nexport const EmbedResolver: React.FC<WithChildren> = ({ children }) => {\n const { payload, notFound, huriError } = useResolvePayload()\n\n return (\n <LoadResult searchResult={payload} notFound={!!notFound} error={!!huriError}>\n {children}\n </LoadResult>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";AACA,SAAS,kBAAkB;;;ACD3B,SAAS,uBAAuB;AAIzB,IAAM,wBAAwB,gBAAqC;;;ACJ1E,SAAS,oBAAoB;AAItB,IAAM,oBAAoB,MAAM,aAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F;AAJG,IAAM,gBAAwC,CAAC,EAAE,SAAS,MAAM;AACrE,QAAM,EAAE,SAAS,UAAU,UAAU,IAAI,kBAAkB;AAE3D,SACE,oBAAC,cAAW,cAAc,SAAS,UAAU,CAAC,CAAC,UAAU,OAAO,CAAC,CAAC,WAC/D,UACH;AAEJ;","names":[]}
@@ -0,0 +1,38 @@
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
+
20
+ // src/components/controls/EmbedFormControl.tsx
21
+ var EmbedFormControl_exports = {};
22
+ __export(EmbedFormControl_exports, {
23
+ EmbedFormControl: () => EmbedFormControl
24
+ });
25
+ module.exports = __toCommonJS(EmbedFormControl_exports);
26
+ var import_material = require("@mui/material");
27
+ var import_jsx_runtime = require("react/jsx-runtime");
28
+ var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
29
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.FormControl, { ...props, children: [
30
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.InputLabel, { id: formId, children: formLabel }),
31
+ children
32
+ ] });
33
+ };
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ EmbedFormControl
37
+ });
38
+ //# sourceMappingURL=EmbedFormControl.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA0D;AAUtD;AAFG,IAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,6CAAC,+BAAa,GAAG,OACf;AAAA,gDAAC,8BAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;","names":[]}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { FormControlProps } from '@mui/material';
3
+ import { WithChildren } from '@xylabs/react-shared';
4
+ interface EmbedFormControlProps extends FormControlProps {
5
+ formId?: string;
6
+ formLabel?: string;
7
+ }
8
+ export declare const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>>;
9
+ export {};
10
+ //# sourceMappingURL=EmbedFormControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedFormControl.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAe,gBAAgB,EAAc,MAAM,eAAe,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAO1E,CAAA"}
@@ -1,36 +1,13 @@
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 EmbedFormControl_exports = {};
20
- __export(EmbedFormControl_exports, {
21
- EmbedFormControl: () => EmbedFormControl
22
- });
23
- module.exports = __toCommonJS(EmbedFormControl_exports);
24
- var import_jsx_runtime = require("react/jsx-runtime");
25
- var import_material = require("@mui/material");
26
- const EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
27
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.FormControl, { ...props, children: [
28
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.InputLabel, { id: formId, children: formLabel }),
1
+ // src/components/controls/EmbedFormControl.tsx
2
+ import { FormControl, InputLabel } from "@mui/material";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
5
+ return /* @__PURE__ */ jsxs(FormControl, { ...props, children: [
6
+ /* @__PURE__ */ jsx(InputLabel, { id: formId, children: formLabel }),
29
7
  children
30
8
  ] });
31
9
  };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
10
+ export {
34
11
  EmbedFormControl
35
- });
12
+ };
36
13
  //# sourceMappingURL=EmbedFormControl.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUI;AAVJ,sBAA0D;AAQnD,MAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,6CAAC,+BAAa,GAAG,OACf;AAAA,gDAAC,8BAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";AAAA,SAAS,aAA+B,kBAAkB;AAUtD,SACE,KADF;AAFG,IAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,qBAAC,eAAa,GAAG,OACf;AAAA,wBAAC,cAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;","names":[]}
@@ -0,0 +1,70 @@
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
+
20
+ // src/components/controls/ListModeSelect.tsx
21
+ var ListModeSelect_exports = {};
22
+ __export(ListModeSelect_exports, {
23
+ ListModeSelect: () => ListModeSelect,
24
+ ListModeSelectFormControl: () => ListModeSelectFormControl
25
+ });
26
+ module.exports = __toCommonJS(ListModeSelect_exports);
27
+ var import_material2 = require("@mui/material");
28
+ var import_react_shared = require("@xyo-network/react-shared");
29
+
30
+ // src/components/controls/EmbedFormControl.tsx
31
+ var import_material = require("@mui/material");
32
+ var import_jsx_runtime = require("react/jsx-runtime");
33
+ var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
34
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.FormControl, { ...props, children: [
35
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.InputLabel, { id: formId, children: formLabel }),
36
+ children
37
+ ] });
38
+ };
39
+
40
+ // src/components/controls/ListModeSelect.tsx
41
+ var import_jsx_runtime2 = require("react/jsx-runtime");
42
+ var listModeSelectId = "listmode-select-id";
43
+ var listModeSelectLabel = "List Mode";
44
+ var ListModeSelect = (props) => {
45
+ const { listMode, setListMode } = (0, import_react_shared.useListMode)();
46
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
47
+ import_material2.Select,
48
+ {
49
+ value: listMode ?? "default",
50
+ onChange: (event) => {
51
+ setListMode == null ? void 0 : setListMode(event.target.value);
52
+ },
53
+ ...props,
54
+ children: [
55
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.MenuItem, { value: "default", children: "Default" }, "default"),
56
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.MenuItem, { value: "table", children: "Table" }, "table"),
57
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.MenuItem, { value: "grid", children: "Grid" }, "grid")
58
+ ]
59
+ }
60
+ );
61
+ };
62
+ var ListModeSelectFormControl = (props) => {
63
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(EmbedFormControl, { formId: listModeSelectId, formLabel: listModeSelectLabel, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ListModeSelect, { size: "small", label: listModeSelectLabel, labelId: listModeSelectId, ...props }) });
64
+ };
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ ListModeSelect,
68
+ ListModeSelectFormControl
69
+ });
70
+ //# sourceMappingURL=ListModeSelect.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/controls/ListModeSelect.tsx","../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { MenuItem, Select, SelectProps } from '@mui/material'\nimport { ListMode, useListMode } from '@xyo-network/react-shared'\n\nimport { EmbedFormControl } from './EmbedFormControl'\n\nconst listModeSelectId = 'listmode-select-id'\nconst listModeSelectLabel = 'List Mode'\n\nexport const ListModeSelect: React.FC<SelectProps<ListMode>> = (props) => {\n const { listMode, setListMode } = useListMode()\n\n return (\n <Select<ListMode>\n value={(listMode ?? 'default') as ListMode}\n onChange={(event) => {\n setListMode?.(event.target.value as ListMode)\n }}\n {...props}\n >\n <MenuItem key=\"default\" value=\"default\">\n Default\n </MenuItem>\n <MenuItem key=\"table\" value=\"table\">\n Table\n </MenuItem>\n <MenuItem key=\"grid\" value=\"grid\">\n Grid\n </MenuItem>\n </Select>\n )\n}\n\nexport const ListModeSelectFormControl: React.FC<SelectProps<ListMode>> = (props) => {\n return (\n <EmbedFormControl formId={listModeSelectId} formLabel={listModeSelectLabel}>\n <ListModeSelect size=\"small\" label={listModeSelectLabel} labelId={listModeSelectId} {...props} />\n </EmbedFormControl>\n )\n}\n","import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAA8C;AAC9C,0BAAsC;;;ACDtC,sBAA0D;AAUtD;AAFG,IAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,6CAAC,+BAAa,GAAG,OACf;AAAA,gDAAC,8BAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;;;ADHI,IAAAC,sBAAA;AAPJ,IAAM,mBAAmB;AACzB,IAAM,sBAAsB;AAErB,IAAM,iBAAkD,CAAC,UAAU;AACxE,QAAM,EAAE,UAAU,YAAY,QAAI,iCAAY;AAE9C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAQ,YAAY;AAAA,MACpB,UAAU,CAAC,UAAU;AACnB,mDAAc,MAAM,OAAO;AAAA,MAC7B;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,qDAAC,6BAAuB,OAAM,WAAU,uBAA1B,SAEd;AAAA,QACA,6CAAC,6BAAqB,OAAM,SAAQ,qBAAtB,OAEd;AAAA,QACA,6CAAC,6BAAoB,OAAM,QAAO,oBAApB,MAEd;AAAA;AAAA;AAAA,EACF;AAEJ;AAEO,IAAM,4BAA6D,CAAC,UAAU;AACnF,SACE,6CAAC,oBAAiB,QAAQ,kBAAkB,WAAW,qBACrD,uDAAC,kBAAe,MAAK,SAAQ,OAAO,qBAAqB,SAAS,kBAAmB,GAAG,OAAO,GACjG;AAEJ;","names":["import_material","import_jsx_runtime"]}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from '@mui/material';
3
+ import { ListMode } from '@xyo-network/react-shared';
4
+ export declare const ListModeSelect: React.FC<SelectProps<ListMode>>;
5
+ export declare const ListModeSelectFormControl: React.FC<SelectProps<ListMode>>;
6
+ //# sourceMappingURL=ListModeSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListModeSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/ListModeSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAe,MAAM,2BAA2B,CAAA;AAOjE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAsB1D,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAMrE,CAAA"}
@@ -1,57 +1,44 @@
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 });
1
+ // src/components/controls/ListModeSelect.tsx
2
+ import { MenuItem, Select } from "@mui/material";
3
+ import { useListMode } from "@xyo-network/react-shared";
4
+
5
+ // src/components/controls/EmbedFormControl.tsx
6
+ import { FormControl, InputLabel } from "@mui/material";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
9
+ return /* @__PURE__ */ jsxs(FormControl, { ...props, children: [
10
+ /* @__PURE__ */ jsx(InputLabel, { id: formId, children: formLabel }),
11
+ children
12
+ ] });
9
13
  };
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 ListModeSelect_exports = {};
20
- __export(ListModeSelect_exports, {
21
- ListModeSelect: () => ListModeSelect,
22
- ListModeSelectFormControl: () => ListModeSelectFormControl
23
- });
24
- module.exports = __toCommonJS(ListModeSelect_exports);
25
- var import_jsx_runtime = require("react/jsx-runtime");
26
- var import_material = require("@mui/material");
27
- var import_react_shared = require("@xyo-network/react-shared");
28
- var import_EmbedFormControl = require("./EmbedFormControl");
29
- const listModeSelectId = "listmode-select-id";
30
- const listModeSelectLabel = "List Mode";
31
- const ListModeSelect = (props) => {
32
- const { listMode, setListMode } = (0, import_react_shared.useListMode)();
33
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
34
- import_material.Select,
14
+
15
+ // src/components/controls/ListModeSelect.tsx
16
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
17
+ var listModeSelectId = "listmode-select-id";
18
+ var listModeSelectLabel = "List Mode";
19
+ var ListModeSelect = (props) => {
20
+ const { listMode, setListMode } = useListMode();
21
+ return /* @__PURE__ */ jsxs2(
22
+ Select,
35
23
  {
36
24
  value: listMode ?? "default",
37
25
  onChange: (event) => {
38
- setListMode?.(event.target.value);
26
+ setListMode == null ? void 0 : setListMode(event.target.value);
39
27
  },
40
28
  ...props,
41
29
  children: [
42
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.MenuItem, { value: "default", children: "Default" }, "default"),
43
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.MenuItem, { value: "table", children: "Table" }, "table"),
44
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.MenuItem, { value: "grid", children: "Grid" }, "grid")
30
+ /* @__PURE__ */ jsx2(MenuItem, { value: "default", children: "Default" }, "default"),
31
+ /* @__PURE__ */ jsx2(MenuItem, { value: "table", children: "Table" }, "table"),
32
+ /* @__PURE__ */ jsx2(MenuItem, { value: "grid", children: "Grid" }, "grid")
45
33
  ]
46
34
  }
47
35
  );
48
36
  };
49
- const ListModeSelectFormControl = (props) => {
50
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_EmbedFormControl.EmbedFormControl, { formId: listModeSelectId, formLabel: listModeSelectLabel, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListModeSelect, { size: "small", label: listModeSelectLabel, labelId: listModeSelectId, ...props }) });
37
+ var ListModeSelectFormControl = (props) => {
38
+ return /* @__PURE__ */ jsx2(EmbedFormControl, { formId: listModeSelectId, formLabel: listModeSelectLabel, children: /* @__PURE__ */ jsx2(ListModeSelect, { size: "small", label: listModeSelectLabel, labelId: listModeSelectId, ...props }) });
51
39
  };
52
- // Annotate the CommonJS export names for ESM import in node:
53
- 0 && (module.exports = {
40
+ export {
54
41
  ListModeSelect,
55
42
  ListModeSelectFormControl
56
- });
43
+ };
57
44
  //# sourceMappingURL=ListModeSelect.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/controls/ListModeSelect.tsx"],"sourcesContent":["import { MenuItem, Select, SelectProps } from '@mui/material'\nimport { ListMode, useListMode } from '@xyo-network/react-shared'\n\nimport { EmbedFormControl } from './EmbedFormControl'\n\nconst listModeSelectId = 'listmode-select-id'\nconst listModeSelectLabel = 'List Mode'\n\nexport const ListModeSelect: React.FC<SelectProps<ListMode>> = (props) => {\n const { listMode, setListMode } = useListMode()\n\n return (\n <Select<ListMode>\n value={(listMode ?? 'default') as ListMode}\n onChange={(event) => {\n setListMode?.(event.target.value as ListMode)\n }}\n {...props}\n >\n <MenuItem key=\"default\" value=\"default\">\n Default\n </MenuItem>\n <MenuItem key=\"table\" value=\"table\">\n Table\n </MenuItem>\n <MenuItem key=\"grid\" value=\"grid\">\n Grid\n </MenuItem>\n </Select>\n )\n}\n\nexport const ListModeSelectFormControl: React.FC<SelectProps<ListMode>> = (props) => {\n return (\n <EmbedFormControl formId={listModeSelectId} formLabel={listModeSelectLabel}>\n <ListModeSelect size=\"small\" label={listModeSelectLabel} labelId={listModeSelectId} {...props} />\n </EmbedFormControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYI;AAZJ,sBAA8C;AAC9C,0BAAsC;AAEtC,8BAAiC;AAEjC,MAAM,mBAAmB;AACzB,MAAM,sBAAsB;AAErB,MAAM,iBAAkD,CAAC,UAAU;AACxE,QAAM,EAAE,UAAU,YAAY,QAAI,iCAAY;AAE9C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAQ,YAAY;AAAA,MACpB,UAAU,CAAC,UAAU;AACnB,sBAAc,MAAM,OAAO,KAAiB;AAAA,MAC9C;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,oDAAC,4BAAuB,OAAM,WAAU,uBAA1B,SAEd;AAAA,QACA,4CAAC,4BAAqB,OAAM,SAAQ,qBAAtB,OAEd;AAAA,QACA,4CAAC,4BAAoB,OAAM,QAAO,oBAApB,MAEd;AAAA;AAAA;AAAA,EACF;AAEJ;AAEO,MAAM,4BAA6D,CAAC,UAAU;AACnF,SACE,4CAAC,4CAAiB,QAAQ,kBAAkB,WAAW,qBACrD,sDAAC,kBAAe,MAAK,SAAQ,OAAO,qBAAqB,SAAS,kBAAmB,GAAG,OAAO,GACjG;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/controls/ListModeSelect.tsx","../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { MenuItem, Select, SelectProps } from '@mui/material'\nimport { ListMode, useListMode } from '@xyo-network/react-shared'\n\nimport { EmbedFormControl } from './EmbedFormControl'\n\nconst listModeSelectId = 'listmode-select-id'\nconst listModeSelectLabel = 'List Mode'\n\nexport const ListModeSelect: React.FC<SelectProps<ListMode>> = (props) => {\n const { listMode, setListMode } = useListMode()\n\n return (\n <Select<ListMode>\n value={(listMode ?? 'default') as ListMode}\n onChange={(event) => {\n setListMode?.(event.target.value as ListMode)\n }}\n {...props}\n >\n <MenuItem key=\"default\" value=\"default\">\n Default\n </MenuItem>\n <MenuItem key=\"table\" value=\"table\">\n Table\n </MenuItem>\n <MenuItem key=\"grid\" value=\"grid\">\n Grid\n </MenuItem>\n </Select>\n )\n}\n\nexport const ListModeSelectFormControl: React.FC<SelectProps<ListMode>> = (props) => {\n return (\n <EmbedFormControl formId={listModeSelectId} formLabel={listModeSelectLabel}>\n <ListModeSelect size=\"small\" label={listModeSelectLabel} labelId={listModeSelectId} {...props} />\n </EmbedFormControl>\n )\n}\n","import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";AAAA,SAAS,UAAU,cAA2B;AAC9C,SAAmB,mBAAmB;;;ACDtC,SAAS,aAA+B,kBAAkB;AAUtD,SACE,KADF;AAFG,IAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,qBAAC,eAAa,GAAG,OACf;AAAA,wBAAC,cAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;;;ADHI,SAOE,OAAAA,MAPF,QAAAC,aAAA;AAPJ,IAAM,mBAAmB;AACzB,IAAM,sBAAsB;AAErB,IAAM,iBAAkD,CAAC,UAAU;AACxE,QAAM,EAAE,UAAU,YAAY,IAAI,YAAY;AAE9C,SACE,gBAAAA;AAAA,IAAC;AAAA;AAAA,MACC,OAAQ,YAAY;AAAA,MACpB,UAAU,CAAC,UAAU;AACnB,mDAAc,MAAM,OAAO;AAAA,MAC7B;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,wBAAAD,KAAC,YAAuB,OAAM,WAAU,uBAA1B,SAEd;AAAA,QACA,gBAAAA,KAAC,YAAqB,OAAM,SAAQ,qBAAtB,OAEd;AAAA,QACA,gBAAAA,KAAC,YAAoB,OAAM,QAAO,oBAApB,MAEd;AAAA;AAAA;AAAA,EACF;AAEJ;AAEO,IAAM,4BAA6D,CAAC,UAAU;AACnF,SACE,gBAAAA,KAAC,oBAAiB,QAAQ,kBAAkB,WAAW,qBACrD,0BAAAA,KAAC,kBAAe,MAAK,SAAQ,OAAO,qBAAqB,SAAS,kBAAmB,GAAG,OAAO,GACjG;AAEJ;","names":["jsx","jsxs"]}
@@ -0,0 +1,58 @@
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
+
20
+ // src/components/controls/RenderSelect.tsx
21
+ var RenderSelect_exports = {};
22
+ __export(RenderSelect_exports, {
23
+ EmbedRenderSelect: () => EmbedRenderSelect
24
+ });
25
+ module.exports = __toCommonJS(RenderSelect_exports);
26
+ var import_material2 = require("@mui/material");
27
+
28
+ // src/contexts/EmbedPluginContext/Context.tsx
29
+ var import_react_shared = require("@xyo-network/react-shared");
30
+ var EmbedPluginContext = (0, import_react_shared.createContextEx)();
31
+
32
+ // src/contexts/EmbedPluginContext/use.tsx
33
+ var import_react_shared2 = require("@xyo-network/react-shared");
34
+ var useEmbedPluginState = () => (0, import_react_shared2.useContextEx)(EmbedPluginContext, "EmbedPlugin", true);
35
+
36
+ // src/components/controls/EmbedFormControl.tsx
37
+ var import_material = require("@mui/material");
38
+ var import_jsx_runtime = require("react/jsx-runtime");
39
+ var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
40
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.FormControl, { ...props, children: [
41
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.InputLabel, { id: formId, children: formLabel }),
42
+ children
43
+ ] });
44
+ };
45
+
46
+ // src/components/controls/RenderSelect.tsx
47
+ var import_jsx_runtime2 = require("react/jsx-runtime");
48
+ var renderSelectId = "render-select-id";
49
+ var renderSelectLabel = "Renderer";
50
+ var EmbedRenderSelect = (props) => {
51
+ const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
52
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(EmbedFormControl, { formId: renderSelectId, formLabel: renderSelectLabel, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Select, { size: "small", value: activePlugin == null ? void 0 : activePlugin.name, ...props, children: plugins == null ? void 0 : plugins.map((plugin) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.MenuItem, { value: plugin.name, onClick: () => setActivePlugin == null ? void 0 : setActivePlugin(plugin), children: plugin.name }, plugin.name)) }) });
53
+ };
54
+ // Annotate the CommonJS export names for ESM import in node:
55
+ 0 && (module.exports = {
56
+ EmbedRenderSelect
57
+ });
58
+ //# sourceMappingURL=RenderSelect.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/controls/RenderSelect.tsx","../../../../src/contexts/EmbedPluginContext/Context.tsx","../../../../src/contexts/EmbedPluginContext/use.tsx","../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { MenuItem, Select, SelectProps } from '@mui/material'\n\nimport { useEmbedPluginState } from '../../contexts'\nimport { EmbedFormControl } from './EmbedFormControl'\n\nconst renderSelectId = 'render-select-id'\nconst renderSelectLabel = 'Renderer'\n\nexport const EmbedRenderSelect: React.FC<SelectProps> = (props) => {\n const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState()\n return (\n <EmbedFormControl formId={renderSelectId} formLabel={renderSelectLabel}>\n <Select size=\"small\" value={activePlugin?.name} {...props}>\n {plugins?.map((plugin) => (\n <MenuItem value={plugin.name} key={plugin.name} onClick={() => setActivePlugin?.(plugin)}>\n {plugin.name}\n </MenuItem>\n ))}\n </Select>\n </EmbedFormControl>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAA8C;;;ACA9C,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ACJpE,IAAAC,uBAA6B;AAItB,IAAM,sBAAsB,UAAM,mCAAa,oBAAoB,eAAe,IAAI;;;ACJ7F,sBAA0D;AAUtD;AAFG,IAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,6CAAC,+BAAa,GAAG,OACf;AAAA,gDAAC,8BAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;;;AHDU,IAAAC,sBAAA;AATV,IAAM,iBAAiB;AACvB,IAAM,oBAAoB;AAEnB,IAAM,oBAA2C,CAAC,UAAU;AACjE,QAAM,EAAE,cAAc,iBAAiB,QAAQ,IAAI,oBAAoB;AACvE,SACE,6CAAC,oBAAiB,QAAQ,gBAAgB,WAAW,mBACnD,uDAAC,2BAAO,MAAK,SAAQ,OAAO,6CAAc,MAAO,GAAG,OACjD,6CAAS,IAAI,CAAC,WACb,6CAAC,6BAAS,OAAO,OAAO,MAAwB,SAAS,MAAM,mDAAkB,SAC9E,iBAAO,QADyB,OAAO,IAE1C,IAEJ,GACF;AAEJ;","names":["import_material","import_react_shared","import_jsx_runtime"]}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from '@mui/material';
3
+ export declare const EmbedRenderSelect: React.FC<SelectProps>;
4
+ //# sourceMappingURL=RenderSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RenderSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAQ7D,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAanD,CAAA"}
@@ -1,38 +1,33 @@
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 });
1
+ // src/components/controls/RenderSelect.tsx
2
+ import { MenuItem, Select } from "@mui/material";
3
+
4
+ // src/contexts/EmbedPluginContext/Context.tsx
5
+ import { createContextEx } from "@xyo-network/react-shared";
6
+ var EmbedPluginContext = createContextEx();
7
+
8
+ // src/contexts/EmbedPluginContext/use.tsx
9
+ import { useContextEx } from "@xyo-network/react-shared";
10
+ var useEmbedPluginState = () => useContextEx(EmbedPluginContext, "EmbedPlugin", true);
11
+
12
+ // src/components/controls/EmbedFormControl.tsx
13
+ import { FormControl, InputLabel } from "@mui/material";
14
+ import { jsx, jsxs } from "react/jsx-runtime";
15
+ var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
16
+ return /* @__PURE__ */ jsxs(FormControl, { ...props, children: [
17
+ /* @__PURE__ */ jsx(InputLabel, { id: formId, children: formLabel }),
18
+ children
19
+ ] });
9
20
  };
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;
21
+
22
+ // src/components/controls/RenderSelect.tsx
23
+ import { jsx as jsx2 } from "react/jsx-runtime";
24
+ var renderSelectId = "render-select-id";
25
+ var renderSelectLabel = "Renderer";
26
+ var EmbedRenderSelect = (props) => {
27
+ const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
28
+ return /* @__PURE__ */ jsx2(EmbedFormControl, { formId: renderSelectId, formLabel: renderSelectLabel, children: /* @__PURE__ */ jsx2(Select, { size: "small", value: activePlugin == null ? void 0 : activePlugin.name, ...props, children: plugins == null ? void 0 : plugins.map((plugin) => /* @__PURE__ */ jsx2(MenuItem, { value: plugin.name, onClick: () => setActivePlugin == null ? void 0 : setActivePlugin(plugin), children: plugin.name }, plugin.name)) }) });
17
29
  };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var RenderSelect_exports = {};
20
- __export(RenderSelect_exports, {
21
- EmbedRenderSelect: () => EmbedRenderSelect
22
- });
23
- module.exports = __toCommonJS(RenderSelect_exports);
24
- var import_jsx_runtime = require("react/jsx-runtime");
25
- var import_material = require("@mui/material");
26
- var import_contexts = require("../../contexts");
27
- var import_EmbedFormControl = require("./EmbedFormControl");
28
- const renderSelectId = "render-select-id";
29
- const renderSelectLabel = "Renderer";
30
- const EmbedRenderSelect = (props) => {
31
- const { activePlugin, setActivePlugin, plugins } = (0, import_contexts.useEmbedPluginState)();
32
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_EmbedFormControl.EmbedFormControl, { formId: renderSelectId, formLabel: renderSelectLabel, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Select, { size: "small", value: activePlugin?.name, ...props, children: plugins?.map((plugin) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.MenuItem, { value: plugin.name, onClick: () => setActivePlugin?.(plugin), children: plugin.name }, plugin.name)) }) });
33
- };
34
- // Annotate the CommonJS export names for ESM import in node:
35
- 0 && (module.exports = {
30
+ export {
36
31
  EmbedRenderSelect
37
- });
32
+ };
38
33
  //# sourceMappingURL=RenderSelect.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/controls/RenderSelect.tsx"],"sourcesContent":["import { MenuItem, Select, SelectProps } from '@mui/material'\n\nimport { useEmbedPluginState } from '../../contexts'\nimport { EmbedFormControl } from './EmbedFormControl'\n\nconst renderSelectId = 'render-select-id'\nconst renderSelectLabel = 'Renderer'\n\nexport const EmbedRenderSelect: React.FC<SelectProps> = (props) => {\n const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState()\n return (\n <EmbedFormControl formId={renderSelectId} formLabel={renderSelectLabel}>\n <Select size=\"small\" value={activePlugin?.name} {...props}>\n {plugins?.map((plugin) => (\n <MenuItem value={plugin.name} key={plugin.name} onClick={() => setActivePlugin?.(plugin)}>\n {plugin.name}\n </MenuItem>\n ))}\n </Select>\n </EmbedFormControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcU;AAdV,sBAA8C;AAE9C,sBAAoC;AACpC,8BAAiC;AAEjC,MAAM,iBAAiB;AACvB,MAAM,oBAAoB;AAEnB,MAAM,oBAA2C,CAAC,UAAU;AACjE,QAAM,EAAE,cAAc,iBAAiB,QAAQ,QAAI,qCAAoB;AACvE,SACE,4CAAC,4CAAiB,QAAQ,gBAAgB,WAAW,mBACnD,sDAAC,0BAAO,MAAK,SAAQ,OAAO,cAAc,MAAO,GAAG,OACjD,mBAAS,IAAI,CAAC,WACb,4CAAC,4BAAS,OAAO,OAAO,MAAwB,SAAS,MAAM,kBAAkB,MAAM,GACpF,iBAAO,QADyB,OAAO,IAE1C,CACD,GACH,GACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/controls/RenderSelect.tsx","../../../../src/contexts/EmbedPluginContext/Context.tsx","../../../../src/contexts/EmbedPluginContext/use.tsx","../../../../src/components/controls/EmbedFormControl.tsx"],"sourcesContent":["import { MenuItem, Select, SelectProps } from '@mui/material'\n\nimport { useEmbedPluginState } from '../../contexts'\nimport { EmbedFormControl } from './EmbedFormControl'\n\nconst renderSelectId = 'render-select-id'\nconst renderSelectLabel = 'Renderer'\n\nexport const EmbedRenderSelect: React.FC<SelectProps> = (props) => {\n const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState()\n return (\n <EmbedFormControl formId={renderSelectId} formLabel={renderSelectLabel}>\n <Select size=\"small\" value={activePlugin?.name} {...props}>\n {plugins?.map((plugin) => (\n <MenuItem value={plugin.name} key={plugin.name} onClick={() => setActivePlugin?.(plugin)}>\n {plugin.name}\n </MenuItem>\n ))}\n </Select>\n </EmbedFormControl>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { FormControl, FormControlProps, InputLabel } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedFormControlProps extends FormControlProps {\n formId?: string\n formLabel?: string\n}\n\nexport const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>> = ({ formId, formLabel, children, ...props }) => {\n return (\n <FormControl {...props}>\n <InputLabel id={formId}>{formLabel}</InputLabel>\n {children}\n </FormControl>\n )\n}\n"],"mappings":";AAAA,SAAS,UAAU,cAA2B;;;ACA9C,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACJpE,SAAS,oBAAoB;AAItB,IAAM,sBAAsB,MAAM,aAAa,oBAAoB,eAAe,IAAI;;;ACJ7F,SAAS,aAA+B,kBAAkB;AAUtD,SACE,KADF;AAFG,IAAM,mBAAkE,CAAC,EAAE,QAAQ,WAAW,UAAU,GAAG,MAAM,MAAM;AAC5H,SACE,qBAAC,eAAa,GAAG,OACf;AAAA,wBAAC,cAAW,IAAI,QAAS,qBAAU;AAAA,IAClC;AAAA,KACH;AAEJ;;;AHDU,gBAAAA,YAAA;AATV,IAAM,iBAAiB;AACvB,IAAM,oBAAoB;AAEnB,IAAM,oBAA2C,CAAC,UAAU;AACjE,QAAM,EAAE,cAAc,iBAAiB,QAAQ,IAAI,oBAAoB;AACvE,SACE,gBAAAA,KAAC,oBAAiB,QAAQ,gBAAgB,WAAW,mBACnD,0BAAAA,KAAC,UAAO,MAAK,SAAQ,OAAO,6CAAc,MAAO,GAAG,OACjD,6CAAS,IAAI,CAAC,WACb,gBAAAA,KAAC,YAAS,OAAO,OAAO,MAAwB,SAAS,MAAM,mDAAkB,SAC9E,iBAAO,QADyB,OAAO,IAE1C,IAEJ,GACF;AAEJ;","names":["jsx"]}