@xyo-network/react-embed 2.81.10 → 2.82.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/EmbedPlugin.d.cts +2 -1
- package/dist/browser/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/browser/components/EmbedPlugin.d.mts +2 -1
- package/dist/browser/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/browser/components/EmbedPlugin.d.ts +2 -1
- package/dist/browser/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.cts +1 -0
- package/dist/browser/components/EmbedResolver.d.cts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.mts +1 -0
- package/dist/browser/components/EmbedResolver.d.mts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.ts +1 -0
- package/dist/browser/components/EmbedResolver.d.ts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.cts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.mts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.ts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/browser/components/controls/index.d.cts +3 -3
- package/dist/browser/components/controls/index.d.cts.map +1 -1
- package/dist/browser/components/controls/index.d.mts +3 -3
- package/dist/browser/components/controls/index.d.mts.map +1 -1
- package/dist/browser/components/controls/index.d.ts +3 -3
- package/dist/browser/components/controls/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.cts +3 -3
- package/dist/browser/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.mts +3 -3
- package/dist/browser/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.ts +3 -3
- package/dist/browser/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/index.d.cts +2 -2
- package/dist/browser/components/embed-card/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/index.d.mts +2 -2
- package/dist/browser/components/embed-card/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/index.d.ts +2 -2
- package/dist/browser/components/embed-card/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.cts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.mts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.ts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/browser/components/index.d.cts +2 -2
- package/dist/browser/components/index.d.cts.map +1 -1
- package/dist/browser/components/index.d.mts +2 -2
- package/dist/browser/components/index.d.mts.map +1 -1
- package/dist/browser/components/index.d.ts +2 -2
- package/dist/browser/components/index.d.ts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.cts +1 -1
- package/dist/browser/components/stories/storyShared.d.cts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.mts +1 -1
- package/dist/browser/components/stories/storyShared.d.mts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.ts +1 -1
- package/dist/browser/components/stories/storyShared.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.cts +2 -2
- package/dist/browser/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.mts +2 -2
- package/dist/browser/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.ts +2 -2
- package/dist/browser/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/index.d.cts +4 -4
- package/dist/browser/contexts/index.d.mts +4 -4
- package/dist/browser/contexts/index.d.ts +4 -4
- package/dist/browser/index.cjs +403 -317
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +3 -3
- package/dist/browser/index.d.mts +3 -3
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.mjs +573 -0
- package/dist/browser/index.mjs.map +1 -0
- package/dist/browser/types/EmbedPluginProps.d.cts +1 -1
- package/dist/browser/types/EmbedPluginProps.d.mts +1 -1
- package/dist/browser/types/EmbedPluginProps.d.ts +1 -1
- package/dist/browser/types/index.d.cts +1 -1
- package/dist/browser/types/index.d.mts +1 -1
- package/dist/browser/types/index.d.ts +1 -1
- package/dist/neutral/components/EmbedPlugin.d.cts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/neutral/components/EmbedPlugin.d.mts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/neutral/components/EmbedPlugin.d.ts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.cts +1 -0
- package/dist/neutral/components/EmbedResolver.d.cts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.mts +1 -0
- package/dist/neutral/components/EmbedResolver.d.mts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.ts +1 -0
- package/dist/neutral/components/EmbedResolver.d.ts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.cts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.mts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.ts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/neutral/components/controls/index.d.cts +3 -3
- package/dist/neutral/components/controls/index.d.cts.map +1 -1
- package/dist/neutral/components/controls/index.d.mts +3 -3
- package/dist/neutral/components/controls/index.d.mts.map +1 -1
- package/dist/neutral/components/controls/index.d.ts +3 -3
- package/dist/neutral/components/controls/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.cts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.mts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.ts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.cts +2 -2
- package/dist/neutral/components/embed-card/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.mts +2 -2
- package/dist/neutral/components/embed-card/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.ts +2 -2
- package/dist/neutral/components/embed-card/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/neutral/components/index.d.cts +2 -2
- package/dist/neutral/components/index.d.cts.map +1 -1
- package/dist/neutral/components/index.d.mts +2 -2
- package/dist/neutral/components/index.d.mts.map +1 -1
- package/dist/neutral/components/index.d.ts +2 -2
- package/dist/neutral/components/index.d.ts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.cts +1 -1
- package/dist/neutral/components/stories/storyShared.d.cts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.mts +1 -1
- package/dist/neutral/components/stories/storyShared.d.mts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.ts +1 -1
- package/dist/neutral/components/stories/storyShared.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.cts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.mts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.ts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/index.d.cts +4 -4
- package/dist/neutral/contexts/index.d.mts +4 -4
- package/dist/neutral/contexts/index.d.ts +4 -4
- package/dist/neutral/index.cjs +403 -317
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +3 -3
- package/dist/neutral/index.d.mts +3 -3
- package/dist/neutral/index.d.ts +3 -3
- package/dist/neutral/index.mjs +573 -0
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/neutral/types/EmbedPluginProps.d.cts +1 -1
- package/dist/neutral/types/EmbedPluginProps.d.mts +1 -1
- package/dist/neutral/types/EmbedPluginProps.d.ts +1 -1
- package/dist/neutral/types/index.d.cts +1 -1
- package/dist/neutral/types/index.d.mts +1 -1
- package/dist/neutral/types/index.d.ts +1 -1
- package/dist/node/components/EmbedPlugin.d.cts +2 -1
- package/dist/node/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/node/components/EmbedPlugin.d.mts +2 -1
- package/dist/node/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/node/components/EmbedPlugin.d.ts +2 -1
- package/dist/node/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/node/components/EmbedResolver.d.cts +1 -0
- package/dist/node/components/EmbedResolver.d.cts.map +1 -1
- package/dist/node/components/EmbedResolver.d.mts +1 -0
- package/dist/node/components/EmbedResolver.d.mts.map +1 -1
- package/dist/node/components/EmbedResolver.d.ts +1 -0
- package/dist/node/components/EmbedResolver.d.ts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.cts +1 -0
- package/dist/node/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.mts +1 -0
- package/dist/node/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.ts +1 -0
- package/dist/node/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/node/components/controls/index.d.cts +3 -3
- package/dist/node/components/controls/index.d.cts.map +1 -1
- package/dist/node/components/controls/index.d.mts +3 -3
- package/dist/node/components/controls/index.d.mts.map +1 -1
- package/dist/node/components/controls/index.d.ts +3 -3
- package/dist/node/components/controls/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.cts +3 -3
- package/dist/node/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.mts +3 -3
- package/dist/node/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.ts +3 -3
- package/dist/node/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/index.d.cts +2 -2
- package/dist/node/components/embed-card/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/index.d.mts +2 -2
- package/dist/node/components/embed-card/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/index.d.ts +2 -2
- package/dist/node/components/embed-card/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.cts +1 -1
- package/dist/node/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.mts +1 -1
- package/dist/node/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.ts +1 -1
- package/dist/node/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/node/components/index.d.cts +2 -2
- package/dist/node/components/index.d.cts.map +1 -1
- package/dist/node/components/index.d.mts +2 -2
- package/dist/node/components/index.d.mts.map +1 -1
- package/dist/node/components/index.d.ts +2 -2
- package/dist/node/components/index.d.ts.map +1 -1
- package/dist/node/components/stories/storyShared.d.cts +1 -1
- package/dist/node/components/stories/storyShared.d.cts.map +1 -1
- package/dist/node/components/stories/storyShared.d.mts +1 -1
- package/dist/node/components/stories/storyShared.d.mts.map +1 -1
- package/dist/node/components/stories/storyShared.d.ts +1 -1
- package/dist/node/components/stories/storyShared.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.cts +2 -2
- package/dist/node/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.mts +2 -2
- package/dist/node/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.ts +2 -2
- package/dist/node/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/index.d.cts +4 -4
- package/dist/node/contexts/index.d.mts +4 -4
- package/dist/node/contexts/index.d.ts +4 -4
- package/dist/node/index.cjs +403 -317
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +3 -3
- package/dist/node/index.d.mts +3 -3
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.mjs +575 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/types/EmbedPluginProps.d.cts +1 -1
- package/dist/node/types/EmbedPluginProps.d.mts +1 -1
- package/dist/node/types/EmbedPluginProps.d.ts +1 -1
- package/dist/node/types/index.d.cts +1 -1
- package/dist/node/types/index.d.mts +1 -1
- package/dist/node/types/index.d.ts +1 -1
- package/package.json +25 -25
- package/src/components/EmbedPlugin.tsx +6 -5
- package/src/components/EmbedResolver.tsx +2 -1
- package/src/components/controls/EmbedFormControl.tsx +1 -0
- package/src/components/controls/ListModeSelect.tsx +2 -1
- package/src/components/controls/RenderSelect.tsx +4 -3
- package/src/components/controls/index.ts +3 -3
- package/src/components/embed-card/EmbedCardResolver.tsx +3 -2
- package/src/components/embed-card/EmbedPluginCard.tsx +7 -6
- package/src/components/embed-card/card/BusyCard.tsx +7 -6
- package/src/components/embed-card/card/EmbedCardHeader.tsx +25 -20
- package/src/components/embed-card/card/EmbedPluginCard.tsx +20 -17
- package/src/components/embed-card/card/index.ts +3 -3
- package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +2 -1
- package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +21 -12
- package/src/components/embed-card/error-handling/index.ts +2 -2
- package/src/components/embed-card/index.ts +2 -2
- package/src/components/embed-card/menu/EmbedMenu.tsx +2 -2
- package/src/components/embed-card/menu/JsonMenuItem.tsx +12 -9
- package/src/components/embed-card/menu/index.ts +1 -1
- package/src/components/index.ts +2 -2
- package/src/components/stories/XyoEmbedPlugin.examples.stories.tsx +1 -2
- package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +2 -3
- package/src/components/stories/storyShared.tsx +2 -1
- package/src/components/validation-alerts/ValidatePayload.tsx +7 -2
- package/src/components/validation-alerts/ValidatePlugins.tsx +4 -2
- package/src/components/validation-alerts/index.ts +2 -2
- package/src/contexts/EmbedPluginContext/{Context.tsx → Context.ts} +1 -1
- package/src/contexts/EmbedPluginContext/Provider.tsx +4 -3
- package/src/contexts/EmbedPluginContext/index.ts +4 -4
- package/src/contexts/EmbedPluginContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/RefreshPayloadContext/{Context.tsx → Context.ts} +1 -1
- package/src/contexts/RefreshPayloadContext/Provider.tsx +3 -2
- package/src/contexts/RefreshPayloadContext/index.ts +3 -3
- package/src/contexts/RefreshPayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
- package/src/contexts/ResolvePayloadContext/Provider.tsx +6 -5
- package/src/contexts/ResolvePayloadContext/index.ts +4 -4
- package/src/contexts/ResolvePayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
- package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +6 -6
- package/src/contexts/ValidatePayloadContext/Provider.tsx +7 -7
- package/src/contexts/ValidatePayloadContext/index.ts +3 -3
- package/src/contexts/ValidatePayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/index.ts +4 -4
- package/src/index.ts +3 -3
- package/src/types/EmbedPluginProps.ts +1 -1
- package/src/types/index.ts +1 -1
- package/dist/browser/index.js +0 -498
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/index.js +0 -498
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/index.js +0 -500
- package/dist/node/index.js.map +0 -1
package/dist/browser/index.js
DELETED
@@ -1,498 +0,0 @@
|
|
1
|
-
// src/components/embed-card/card/BusyCard.tsx
|
2
|
-
import { Card } from "@mui/material";
|
3
|
-
import { useBusyTiming } from "@xylabs/react-flexbox";
|
4
|
-
import {
|
5
|
-
BusyCircularProgress,
|
6
|
-
BusyLinearProgress
|
7
|
-
} from "@xylabs/react-shared";
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
9
|
-
var BusyCard = ({
|
10
|
-
busy,
|
11
|
-
busyMinimum = 500,
|
12
|
-
busyVariant = "circular",
|
13
|
-
busyVariantProps,
|
14
|
-
children,
|
15
|
-
...props
|
16
|
-
}) => {
|
17
|
-
const internalBusy = useBusyTiming(busy, busyMinimum);
|
18
|
-
return /* @__PURE__ */ jsxs(Card, { ...props, children: [
|
19
|
-
children,
|
20
|
-
busyVariant === "circular" && internalBusy ? /* @__PURE__ */ jsx(BusyCircularProgress, { ...busyVariantProps }) : null,
|
21
|
-
busyVariant === "linear" && internalBusy ? /* @__PURE__ */ jsx(BusyLinearProgress, { ...busyVariantProps }) : null
|
22
|
-
] });
|
23
|
-
};
|
24
|
-
|
25
|
-
// src/components/embed-card/card/EmbedCardHeader.tsx
|
26
|
-
import { Refresh as RefreshIcon } from "@mui/icons-material";
|
27
|
-
import { Avatar, CardHeader, Chip as Chip2 } from "@mui/material";
|
28
|
-
import { FlexRow } from "@xylabs/react-flexbox";
|
29
|
-
|
30
|
-
// src/contexts/EmbedPluginContext/Context.tsx
|
31
|
-
import { createContextEx } from "@xyo-network/react-shared";
|
32
|
-
var EmbedPluginContext = createContextEx();
|
33
|
-
|
34
|
-
// src/contexts/EmbedPluginContext/Provider.tsx
|
35
|
-
import { useEffect, useState } from "react";
|
36
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
37
|
-
var EmbedPluginProvider = ({
|
38
|
-
children,
|
39
|
-
refreshTitle,
|
40
|
-
timestampLabel,
|
41
|
-
hideElementsConfig,
|
42
|
-
plugins,
|
43
|
-
embedPluginConfig
|
44
|
-
}) => {
|
45
|
-
const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
|
46
|
-
useEffect(() => {
|
47
|
-
setActivePlugin(plugins ? plugins[0] : void 0);
|
48
|
-
}, [plugins]);
|
49
|
-
return /* @__PURE__ */ jsx2(
|
50
|
-
EmbedPluginContext.Provider,
|
51
|
-
{
|
52
|
-
value: {
|
53
|
-
activePlugin,
|
54
|
-
embedPluginConfig,
|
55
|
-
hideElementsConfig,
|
56
|
-
provided: true,
|
57
|
-
refreshTitle,
|
58
|
-
setActivePlugin,
|
59
|
-
timestampLabel
|
60
|
-
},
|
61
|
-
children
|
62
|
-
}
|
63
|
-
);
|
64
|
-
};
|
65
|
-
|
66
|
-
// src/contexts/EmbedPluginContext/use.tsx
|
67
|
-
import { useContextEx } from "@xyo-network/react-shared";
|
68
|
-
var useEmbedPluginState = () => useContextEx(EmbedPluginContext, "EmbedPlugin", true);
|
69
|
-
|
70
|
-
// src/contexts/RefreshPayloadContext/Provider.tsx
|
71
|
-
import { useState as useState2 } from "react";
|
72
|
-
|
73
|
-
// src/contexts/RefreshPayloadContext/Context.tsx
|
74
|
-
import { createContextEx as createContextEx2 } from "@xyo-network/react-shared";
|
75
|
-
var RefreshPayloadContext = createContextEx2();
|
76
|
-
|
77
|
-
// src/contexts/RefreshPayloadContext/Provider.tsx
|
78
|
-
import { jsx as jsx3 } from "react/jsx-runtime";
|
79
|
-
var RefreshPayloadProvider = ({ children, onRefresh, refreshPayload }) => {
|
80
|
-
const [localRefreshPayload, setRefreshPayload] = useState2(refreshPayload);
|
81
|
-
return /* @__PURE__ */ jsx3(RefreshPayloadContext.Provider, { value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }, children });
|
82
|
-
};
|
83
|
-
|
84
|
-
// src/contexts/RefreshPayloadContext/use.tsx
|
85
|
-
import { useContextEx as useContextEx2 } from "@xyo-network/react-shared";
|
86
|
-
var useRefreshPayload = () => useContextEx2(RefreshPayloadContext, "RefreshPayload", true);
|
87
|
-
|
88
|
-
// src/contexts/ResolvePayloadContext/Context.ts
|
89
|
-
import { createContextEx as createContextEx3 } from "@xyo-network/react-shared";
|
90
|
-
var ResolvePayloadContext = createContextEx3();
|
91
|
-
|
92
|
-
// src/contexts/ResolvePayloadContext/Provider.tsx
|
93
|
-
import { delay } from "@xylabs/delay";
|
94
|
-
import { useAsyncEffect } from "@xylabs/react-async-effect";
|
95
|
-
import { Huri } from "@xyo-network/huri";
|
96
|
-
import { ModuleErrorSchema } from "@xyo-network/payload-model";
|
97
|
-
import { useEffect as useEffect2, useState as useState3 } from "react";
|
98
|
-
import { jsx as jsx4 } from "react/jsx-runtime";
|
99
|
-
var ResolvePayloadProvider = ({ children, huriPayload }) => {
|
100
|
-
const [payload, setPayload] = useState3();
|
101
|
-
const [huri, setHuri] = useState3();
|
102
|
-
const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload();
|
103
|
-
useEffect2(() => {
|
104
|
-
typeof huriPayload === "string" ? setHuri(huriPayload) : void 0;
|
105
|
-
if (typeof huriPayload === "object") {
|
106
|
-
setPayload(huriPayload);
|
107
|
-
setRefreshPayload?.(true);
|
108
|
-
}
|
109
|
-
}, [huriPayload, setRefreshPayload]);
|
110
|
-
const [notFound, setNotFound] = useState3();
|
111
|
-
const [huriError, setHuriError] = useState3();
|
112
|
-
useAsyncEffect(
|
113
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
114
|
-
async (mounted) => {
|
115
|
-
if (huri && !refreshPayload) {
|
116
|
-
try {
|
117
|
-
const huriInstance = new Huri(huri);
|
118
|
-
const result = await huriInstance.fetch();
|
119
|
-
await delay(500);
|
120
|
-
if (mounted()) {
|
121
|
-
setNotFound(result === null);
|
122
|
-
setPayload(result);
|
123
|
-
setRefreshPayload?.(true);
|
124
|
-
}
|
125
|
-
} catch (e) {
|
126
|
-
const error = e;
|
127
|
-
setHuriError({ message: error.message, schema: ModuleErrorSchema, sources: [] });
|
128
|
-
}
|
129
|
-
}
|
130
|
-
},
|
131
|
-
[huri, payload, refreshPayload, setRefreshPayload]
|
132
|
-
);
|
133
|
-
const refreshHuri = () => {
|
134
|
-
onRefresh?.();
|
135
|
-
if (huri) {
|
136
|
-
setRefreshPayload?.(false);
|
137
|
-
}
|
138
|
-
};
|
139
|
-
return /* @__PURE__ */ jsx4(ResolvePayloadContext.Provider, { value: { huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload }, children });
|
140
|
-
};
|
141
|
-
|
142
|
-
// src/contexts/ResolvePayloadContext/use.tsx
|
143
|
-
import { useContextEx as useContextEx3 } from "@xyo-network/react-shared";
|
144
|
-
var useResolvePayload = () => useContextEx3(ResolvePayloadContext, "ResolvePayload", true);
|
145
|
-
|
146
|
-
// src/contexts/ValidatePayloadContext/Provider.tsx
|
147
|
-
import { Chip } from "@mui/material";
|
148
|
-
import { useAsyncEffect as useAsyncEffect2 } from "@xylabs/react-async-effect";
|
149
|
-
import { SchemaCache } from "@xyo-network/schema-cache";
|
150
|
-
import { useState as useState4 } from "react";
|
151
|
-
|
152
|
-
// src/contexts/ValidatePayloadContext/Context.ts
|
153
|
-
import { createContextEx as createContextEx4 } from "@xyo-network/react-shared";
|
154
|
-
var ValidatePayloadContext = createContextEx4();
|
155
|
-
|
156
|
-
// src/contexts/ValidatePayloadContext/Provider.tsx
|
157
|
-
import { Fragment, jsx as jsx5 } from "react/jsx-runtime";
|
158
|
-
var ValidatePayloadProvider = ({ children, enabled = false }) => {
|
159
|
-
const { payload } = useResolvePayload();
|
160
|
-
const [initialized, setInitialized] = useState4(false);
|
161
|
-
const [valid, setValid] = useState4();
|
162
|
-
useAsyncEffect2(
|
163
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
164
|
-
async () => {
|
165
|
-
if (payload && enabled) {
|
166
|
-
await SchemaCache.instance.get(payload.schema);
|
167
|
-
const possibleKnownSchema = payload.schema;
|
168
|
-
if (SchemaCache.instance.validators[possibleKnownSchema]) {
|
169
|
-
const validator = SchemaCache.instance.validators[possibleKnownSchema];
|
170
|
-
setValid(validator?.(payload));
|
171
|
-
}
|
172
|
-
setInitialized(true);
|
173
|
-
}
|
174
|
-
},
|
175
|
-
[payload, enabled]
|
176
|
-
);
|
177
|
-
return /* @__PURE__ */ jsx5(ValidatePayloadContext.Provider, { value: { enabled, provided: true, schema: payload?.schema, validPayload: valid }, children: enabled ? /* @__PURE__ */ jsx5(Fragment, { children: initialized ? children : /* @__PURE__ */ jsx5(Chip, { label: "Validating Payload..." }) }) : children });
|
178
|
-
};
|
179
|
-
|
180
|
-
// src/contexts/ValidatePayloadContext/use.tsx
|
181
|
-
import { useContextEx as useContextEx4 } from "@xyo-network/react-shared";
|
182
|
-
var useValidatePayload = () => useContextEx4(ValidatePayloadContext, "ValidateSchema", true);
|
183
|
-
|
184
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
185
|
-
import { MoreVert as MoreVertIcon } from "@mui/icons-material";
|
186
|
-
import { IconButton, Menu } from "@mui/material";
|
187
|
-
import { useState as useState5 } from "react";
|
188
|
-
|
189
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
190
|
-
import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
|
191
|
-
import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
|
192
|
-
import { Fragment as Fragment2, jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
193
|
-
var JsonMenuItem = (props) => {
|
194
|
-
const { huri } = useResolvePayload();
|
195
|
-
return /* @__PURE__ */ jsx6(Fragment2, { children: huri ? /* @__PURE__ */ jsxs2(MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
196
|
-
/* @__PURE__ */ jsx6(ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
197
|
-
/* @__PURE__ */ jsx6(ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ jsx6(OpenInNewIcon, { fontSize: "small" }) })
|
198
|
-
] }) : null });
|
199
|
-
};
|
200
|
-
|
201
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
202
|
-
import { Fragment as Fragment3, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
203
|
-
var EmbedMenu = (props) => {
|
204
|
-
const [anchorEl, setAnchorEl] = useState5(null);
|
205
|
-
const open = Boolean(anchorEl);
|
206
|
-
const handleClick = (event) => {
|
207
|
-
setAnchorEl(event.currentTarget);
|
208
|
-
};
|
209
|
-
const handleClose = () => {
|
210
|
-
setAnchorEl(null);
|
211
|
-
};
|
212
|
-
return /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
213
|
-
/* @__PURE__ */ jsx7(IconButton, { onClick: handleClick, ...props, children: /* @__PURE__ */ jsx7(MoreVertIcon, {}) }),
|
214
|
-
/* @__PURE__ */ jsx7(Menu, { anchorEl, open, onClose: handleClose, PaperProps: { variant: "elevation" }, MenuListProps: { dense: true }, children: /* @__PURE__ */ jsx7(JsonMenuItem, {}) })
|
215
|
-
] });
|
216
|
-
};
|
217
|
-
|
218
|
-
// src/components/embed-card/card/EmbedCardHeader.tsx
|
219
|
-
import { Fragment as Fragment4, jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
220
|
-
var EmbedCardHeader = () => {
|
221
|
-
const { refreshHuri, huri } = useResolvePayload();
|
222
|
-
const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
|
223
|
-
const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
|
224
|
-
const timestamp = Date.now();
|
225
|
-
return /* @__PURE__ */ jsx8(
|
226
|
-
CardHeader,
|
227
|
-
{
|
228
|
-
sx: { flexWrap: "wrap", rowGap: 1 },
|
229
|
-
avatar: hideAvatar ? /* @__PURE__ */ jsx8(Fragment4, {}) : /* @__PURE__ */ jsx8(Avatar, { sx: { bgcolor: (theme) => theme.palette.primary.main }, "aria-label": activePlugin?.name, children: activePlugin?.name?.charAt(0) }),
|
230
|
-
action: /* @__PURE__ */ jsxs4(FlexRow, { flexWrap: "wrap", columnGap: 0.5, children: [
|
231
|
-
timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ jsx8(
|
232
|
-
Chip2,
|
233
|
-
{
|
234
|
-
avatar: hideRefreshButton ? /* @__PURE__ */ jsx8(Fragment4, {}) : /* @__PURE__ */ jsx8(RefreshIcon, {}),
|
235
|
-
clickable: hideRefreshButton ? false : true,
|
236
|
-
onClick: refreshHuri,
|
237
|
-
label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
|
238
|
-
}
|
239
|
-
) : null,
|
240
|
-
hideCardActions || huri === void 0 ? null : /* @__PURE__ */ jsx8(EmbedMenu, {})
|
241
|
-
] }),
|
242
|
-
title: hideTitle ? "" : activePlugin?.name
|
243
|
-
}
|
244
|
-
);
|
245
|
-
};
|
246
|
-
|
247
|
-
// src/components/embed-card/card/EmbedPluginCard.tsx
|
248
|
-
import { CardContent } from "@mui/material";
|
249
|
-
import { FlexGrowRow } from "@xylabs/react-flexbox";
|
250
|
-
import { useListMode as useListMode2 } from "@xyo-network/react-shared";
|
251
|
-
|
252
|
-
// src/components/controls/EmbedFormControl.tsx
|
253
|
-
import { FormControl, InputLabel } from "@mui/material";
|
254
|
-
import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
255
|
-
var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
|
256
|
-
return /* @__PURE__ */ jsxs5(FormControl, { ...props, children: [
|
257
|
-
/* @__PURE__ */ jsx9(InputLabel, { id: formId, children: formLabel }),
|
258
|
-
children
|
259
|
-
] });
|
260
|
-
};
|
261
|
-
|
262
|
-
// src/components/controls/ListModeSelect.tsx
|
263
|
-
import { MenuItem as MenuItem2 } from "@mui/material";
|
264
|
-
import { SelectEx } from "@xylabs/react-select";
|
265
|
-
import { useListMode } from "@xyo-network/react-shared";
|
266
|
-
import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
|
267
|
-
var listModeSelectId = "listmode-select-id";
|
268
|
-
var listModeSelectLabel = "List Mode";
|
269
|
-
var ListModeSelect = (props) => {
|
270
|
-
const { listMode, setListMode } = useListMode();
|
271
|
-
return /* @__PURE__ */ jsxs6(
|
272
|
-
SelectEx,
|
273
|
-
{
|
274
|
-
value: listMode ?? "default",
|
275
|
-
onChange: (event) => {
|
276
|
-
setListMode?.(event.target.value);
|
277
|
-
},
|
278
|
-
...props,
|
279
|
-
children: [
|
280
|
-
/* @__PURE__ */ jsx10(MenuItem2, { value: "default", children: "Default" }, "default"),
|
281
|
-
/* @__PURE__ */ jsx10(MenuItem2, { value: "table", children: "Table" }, "table"),
|
282
|
-
/* @__PURE__ */ jsx10(MenuItem2, { value: "grid", children: "Grid" }, "grid")
|
283
|
-
]
|
284
|
-
}
|
285
|
-
);
|
286
|
-
};
|
287
|
-
var ListModeSelectFormControl = (props) => {
|
288
|
-
return /* @__PURE__ */ jsx10(EmbedFormControl, { formId: listModeSelectId, formLabel: listModeSelectLabel, children: /* @__PURE__ */ jsx10(ListModeSelect, { size: "small", label: listModeSelectLabel, labelId: listModeSelectId, ...props }) });
|
289
|
-
};
|
290
|
-
|
291
|
-
// src/components/controls/RenderSelect.tsx
|
292
|
-
import { MenuItem as MenuItem3 } from "@mui/material";
|
293
|
-
import { SelectEx as SelectEx2 } from "@xylabs/react-select";
|
294
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
295
|
-
var renderSelectId = "render-select-id";
|
296
|
-
var renderSelectLabel = "Renderer";
|
297
|
-
var EmbedRenderSelect = (props) => {
|
298
|
-
const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
|
299
|
-
return /* @__PURE__ */ jsx11(EmbedFormControl, { formId: renderSelectId, formLabel: renderSelectLabel, children: /* @__PURE__ */ jsx11(SelectEx2, { size: "small", value: activePlugin?.name, ...props, children: plugins?.map((plugin) => /* @__PURE__ */ jsx11(MenuItem3, { value: plugin.name, onClick: () => setActivePlugin?.(plugin), children: plugin.name }, plugin.name)) }) });
|
300
|
-
};
|
301
|
-
|
302
|
-
// src/components/embed-card/card/EmbedPluginCard.tsx
|
303
|
-
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
304
|
-
var EmbedPluginCard = ({ ...props }) => {
|
305
|
-
const { payload } = useResolvePayload();
|
306
|
-
const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
|
307
|
-
const { listMode } = useListMode2();
|
308
|
-
const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1;
|
309
|
-
return /* @__PURE__ */ jsxs7(BusyCard, { ...props, children: [
|
310
|
-
hideElementsConfig?.hideCardHeader ? null : /* @__PURE__ */ jsx12(EmbedCardHeader, {}),
|
311
|
-
plugins && plugins.length > 0 || supportsListMode ? /* @__PURE__ */ jsxs7(FlexGrowRow, { columnGap: 2, rowGap: 2, flexWrap: "wrap", pb: 1, children: [
|
312
|
-
plugins && plugins.length > 1 ? /* @__PURE__ */ jsx12(EmbedRenderSelect, {}) : null,
|
313
|
-
supportsListMode ? /* @__PURE__ */ jsx12(ListModeSelectFormControl, {}) : null
|
314
|
-
] }) : null,
|
315
|
-
/* @__PURE__ */ jsx12(CardContent, { sx: { height: "100%" }, children: ActivePlugin ? /* @__PURE__ */ jsx12(ActivePlugin.components.box.detailsBox, { payload, ...supportsListMode && { listMode } }) : null })
|
316
|
-
] });
|
317
|
-
};
|
318
|
-
|
319
|
-
// src/components/embed-card/EmbedPluginCard.tsx
|
320
|
-
import { useTheme } from "@mui/material";
|
321
|
-
|
322
|
-
// src/components/EmbedPlugin.tsx
|
323
|
-
import { ErrorBoundary, ListModeProvider } from "@xyo-network/react-shared";
|
324
|
-
|
325
|
-
// src/components/EmbedResolver.tsx
|
326
|
-
import { LoadResult } from "@xyo-network/react-shared";
|
327
|
-
import { jsx as jsx13 } from "react/jsx-runtime";
|
328
|
-
var EmbedResolver = ({ children }) => {
|
329
|
-
const { payload, notFound, huriError } = useResolvePayload();
|
330
|
-
return /* @__PURE__ */ jsx13(LoadResult, { searchResult: payload, notFound: !!notFound, error: !!huriError, children });
|
331
|
-
};
|
332
|
-
|
333
|
-
// src/components/validation-alerts/ValidatePayload.tsx
|
334
|
-
import { Alert } from "@mui/material";
|
335
|
-
import { Fragment as Fragment5, jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
336
|
-
var ValidatePayloadAlert = ({ children, ...props }) => {
|
337
|
-
const { validPayload, enabled, schema } = useValidatePayload();
|
338
|
-
if (enabled && validPayload === false) {
|
339
|
-
return /* @__PURE__ */ jsxs8(Alert, { severity: "error", title: "Invalid Payload!", ...props, children: [
|
340
|
-
"Payload schema claimed to be ",
|
341
|
-
schema,
|
342
|
-
" but failed to validate."
|
343
|
-
] });
|
344
|
-
}
|
345
|
-
return /* @__PURE__ */ jsx14(Fragment5, { children });
|
346
|
-
};
|
347
|
-
|
348
|
-
// src/components/validation-alerts/ValidatePlugins.tsx
|
349
|
-
import { Alert as Alert2, AlertTitle } from "@mui/material";
|
350
|
-
import { Fragment as Fragment6, jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
351
|
-
var ValidatePluginsAlert = ({ children, ...props }) => {
|
352
|
-
const { payload } = useResolvePayload();
|
353
|
-
const { plugins } = useEmbedPluginState();
|
354
|
-
if (payload && plugins?.length === 0) {
|
355
|
-
return /* @__PURE__ */ jsxs9(Alert2, { severity: "warning", ...props, children: [
|
356
|
-
/* @__PURE__ */ jsx15(AlertTitle, { children: "Missing plugins!" }),
|
357
|
-
"Payload found but no plugins were present."
|
358
|
-
] });
|
359
|
-
}
|
360
|
-
return /* @__PURE__ */ jsx15(Fragment6, { children });
|
361
|
-
};
|
362
|
-
|
363
|
-
// src/components/EmbedPlugin.tsx
|
364
|
-
import { jsx as jsx16 } from "react/jsx-runtime";
|
365
|
-
var EmbedPluginInner = ({
|
366
|
-
validateSchema,
|
367
|
-
plugins = [],
|
368
|
-
huriPayload,
|
369
|
-
refreshTitle = "",
|
370
|
-
timestampLabel = "Data From",
|
371
|
-
hideElementsConfig,
|
372
|
-
embedPluginConfig,
|
373
|
-
onRefresh,
|
374
|
-
children
|
375
|
-
}) => {
|
376
|
-
return /* @__PURE__ */ jsx16(ErrorBoundary, { children: /* @__PURE__ */ jsx16(
|
377
|
-
EmbedPluginProvider,
|
378
|
-
{
|
379
|
-
refreshTitle,
|
380
|
-
timestampLabel,
|
381
|
-
hideElementsConfig,
|
382
|
-
plugins,
|
383
|
-
embedPluginConfig,
|
384
|
-
children: /* @__PURE__ */ jsx16(WithResolvers, { onRefresh, huriPayload, children: /* @__PURE__ */ jsx16(WithValidators, { validateSchema, children: /* @__PURE__ */ jsx16(ListModeProvider, { defaultListMode: embedPluginConfig?.listMode, children }) }) })
|
385
|
-
}
|
386
|
-
) });
|
387
|
-
};
|
388
|
-
var WithResolvers = ({ children, onRefresh, huriPayload }) => {
|
389
|
-
return /* @__PURE__ */ jsx16(RefreshPayloadProvider, { onRefresh, children: /* @__PURE__ */ jsx16(ResolvePayloadProvider, { huriPayload, children: /* @__PURE__ */ jsx16(EmbedResolver, { children }) }) });
|
390
|
-
};
|
391
|
-
var WithValidators = ({ children, validateSchema }) => {
|
392
|
-
return /* @__PURE__ */ jsx16(ValidatePayloadProvider, { enabled: validateSchema, children: /* @__PURE__ */ jsx16(ValidatePluginsAlert, { children: /* @__PURE__ */ jsx16(ValidatePayloadAlert, { children }) }) });
|
393
|
-
};
|
394
|
-
|
395
|
-
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
396
|
-
import { ErrorAlert, ErrorRender } from "@xyo-network/react-error";
|
397
|
-
|
398
|
-
// src/components/embed-card/error-handling/EmbedErrorCard.tsx
|
399
|
-
import { Alert as Alert3, AlertTitle as AlertTitle2, Card as Card2, CardContent as CardContent2, Typography } from "@mui/material";
|
400
|
-
import { Fragment as Fragment7, jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
|
401
|
-
var EmbedErrorCard = (props) => {
|
402
|
-
const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props;
|
403
|
-
const errorProps = { alertProps, error, hideErrorDetails, scope };
|
404
|
-
return /* @__PURE__ */ jsx17(Card2, { ...cardProps, children: /* @__PURE__ */ jsx17(CardContent2, { children: children ?? /* @__PURE__ */ jsx17(DefaultErrorAlert, { ...errorProps }) }) });
|
405
|
-
};
|
406
|
-
var DefaultErrorAlert = ({ alertProps, scope, hideErrorDetails, error }) => {
|
407
|
-
return /* @__PURE__ */ jsxs10(Alert3, { severity: "error", ...alertProps, children: [
|
408
|
-
/* @__PURE__ */ jsx17(AlertTitle2, { children: "Whoops! Something went wrong" }),
|
409
|
-
scope ? /* @__PURE__ */ jsxs10(Typography, { variant: "caption", children: [
|
410
|
-
"Scope: ",
|
411
|
-
scope
|
412
|
-
] }) : null,
|
413
|
-
!hideErrorDetails && error ? /* @__PURE__ */ jsxs10(Fragment7, { children: [
|
414
|
-
/* @__PURE__ */ jsx17(Typography, { variant: "caption", children: "Error: " }),
|
415
|
-
/* @__PURE__ */ jsx17(Typography, { variant: "caption", children: error?.message })
|
416
|
-
] }) : /* @__PURE__ */ jsx17(Typography, { variant: "caption", fontSize: "small", children: "Error Loading Plugin" })
|
417
|
-
] });
|
418
|
-
};
|
419
|
-
|
420
|
-
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
421
|
-
import { jsx as jsx18 } from "react/jsx-runtime";
|
422
|
-
var EmbedCardApiErrorRenderer = ({ xyoError, children, ...props }) => {
|
423
|
-
return /* @__PURE__ */ jsx18(ErrorRender, { error: xyoError, noReAuth: true, noErrorDisplay: true, customError: /* @__PURE__ */ jsx18(CustomApiErrorCard, { xyoError, ...props }), children });
|
424
|
-
};
|
425
|
-
var CustomApiErrorCard = ({ xyoError, ...props }) => {
|
426
|
-
return /* @__PURE__ */ jsx18(EmbedErrorCard, { ...props, children: /* @__PURE__ */ jsx18(ErrorAlert, { error: xyoError }) });
|
427
|
-
};
|
428
|
-
|
429
|
-
// src/components/embed-card/EmbedPluginCard.tsx
|
430
|
-
import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
|
431
|
-
var ApiEmbedPluginCard = ({ children, ...props }) => {
|
432
|
-
const {
|
433
|
-
validateSchema,
|
434
|
-
plugins = [],
|
435
|
-
huriPayload,
|
436
|
-
refreshTitle = "",
|
437
|
-
timestampLabel = "Data From",
|
438
|
-
hideElementsConfig,
|
439
|
-
embedPluginConfig,
|
440
|
-
onRefresh,
|
441
|
-
...busyCardProps
|
442
|
-
} = props;
|
443
|
-
return /* @__PURE__ */ jsxs11(
|
444
|
-
EmbedPluginInner,
|
445
|
-
{
|
446
|
-
...{
|
447
|
-
embedPluginConfig,
|
448
|
-
hideElementsConfig,
|
449
|
-
huriPayload,
|
450
|
-
onRefresh,
|
451
|
-
plugins,
|
452
|
-
refreshTitle,
|
453
|
-
timestampLabel,
|
454
|
-
validateSchema
|
455
|
-
},
|
456
|
-
children: [
|
457
|
-
/* @__PURE__ */ jsx19(EmbedPluginCardInner, { ...busyCardProps }),
|
458
|
-
children
|
459
|
-
]
|
460
|
-
}
|
461
|
-
);
|
462
|
-
};
|
463
|
-
var EmbedPluginCardInner = (props) => {
|
464
|
-
const { payload, huriError } = useResolvePayload();
|
465
|
-
const { refreshPayload } = useRefreshPayload();
|
466
|
-
const theme = useTheme();
|
467
|
-
return /* @__PURE__ */ jsx19(EmbedCardApiErrorRenderer, { xyoError: huriError, children: /* @__PURE__ */ jsx19(
|
468
|
-
EmbedPluginCard,
|
469
|
-
{
|
470
|
-
elevation: 3,
|
471
|
-
variant: "elevation",
|
472
|
-
busy: Boolean(!refreshPayload && payload),
|
473
|
-
busyVariantProps: { style: { alignItems: "start", paddingTop: theme.spacing(2), zIndex: 2 } },
|
474
|
-
sx: { position: "relative" },
|
475
|
-
...props
|
476
|
-
}
|
477
|
-
) });
|
478
|
-
};
|
479
|
-
export {
|
480
|
-
ApiEmbedPluginCard,
|
481
|
-
BusyCard,
|
482
|
-
EmbedCardHeader,
|
483
|
-
EmbedPluginCard as EmbedPlugin,
|
484
|
-
EmbedPluginCard,
|
485
|
-
EmbedPluginCardInner,
|
486
|
-
EmbedPluginContext,
|
487
|
-
EmbedPluginInner,
|
488
|
-
EmbedPluginProvider,
|
489
|
-
RefreshPayloadProvider,
|
490
|
-
ResolvePayloadContext,
|
491
|
-
ResolvePayloadProvider,
|
492
|
-
ValidatePayloadProvider,
|
493
|
-
useEmbedPluginState,
|
494
|
-
useRefreshPayload,
|
495
|
-
useResolvePayload,
|
496
|
-
useValidatePayload
|
497
|
-
};
|
498
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.tsx","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.tsx","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.tsx","../../src/contexts/RefreshPayloadContext/use.tsx","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.tsx","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.tsx","../../src/components/embed-card/menu/EmbedMenu.tsx","../../src/components/embed-card/menu/JsonMenuItem.tsx","../../src/components/embed-card/card/EmbedPluginCard.tsx","../../src/components/controls/EmbedFormControl.tsx","../../src/components/controls/ListModeSelect.tsx","../../src/components/controls/RenderSelect.tsx","../../src/components/embed-card/EmbedPluginCard.tsx","../../src/components/EmbedPlugin.tsx","../../src/components/EmbedResolver.tsx","../../src/components/validation-alerts/ValidatePayload.tsx","../../src/components/validation-alerts/ValidatePlugins.tsx","../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx","../../src/components/embed-card/error-handling/EmbedErrorCard.tsx"],"sourcesContent":["import { Card, CardProps } from '@mui/material'\nimport { useBusyTiming } from '@xylabs/react-flexbox'\nimport {\n BusyCircularProgress,\n BusyCircularProgressProps,\n BusyLinearProgress,\n BusyLinearProgressProps,\n BusyVariant,\n WithChildren,\n} from '@xylabs/react-shared'\n\nexport interface BusyCardProps extends CardProps {\n busy?: boolean\n busyMinimum?: number\n busyVariant?: BusyVariant\n busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps\n}\n\nexport const BusyCard: React.FC<WithChildren<BusyCardProps>> = ({\n busy,\n busyMinimum = 500,\n busyVariant = 'circular',\n busyVariantProps,\n children,\n ...props\n}) => {\n const internalBusy = useBusyTiming(busy, busyMinimum)\n return (\n <Card {...props}>\n {children}\n {busyVariant === 'circular' && internalBusy ?\n <BusyCircularProgress {...(busyVariantProps as BusyCircularProgressProps)} />\n : null}\n {busyVariant === 'linear' && internalBusy ?\n <BusyLinearProgress {...(busyVariantProps as BusyLinearProgressProps)} />\n : null}\n </Card>\n )\n}\n","import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { Avatar, CardHeader, CardHeaderProps, Chip, Theme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'\nimport { EmbedMenu } from '../menu/index.js'\n\nexport const EmbedCardHeader: React.FC<CardHeaderProps> = () => {\n const { refreshHuri, huri } = useResolvePayload()\n const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState()\n const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {}\n //this is temporary so that we can add the ability to get a timestamp via diviner later\n const timestamp = Date.now()\n return (\n <CardHeader\n sx={{ flexWrap: 'wrap', rowGap: 1 }}\n avatar={\n hideAvatar ?\n <></>\n : <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n }\n action={\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp ?\n hideTimestamp && hideRefreshButton ?\n ''\n : <Chip\n avatar={hideRefreshButton ? <></> : <RefreshIcon />}\n clickable={hideRefreshButton ? false : true}\n onClick={refreshHuri}\n label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}\n />\n\n : null}\n {/* Huri case is valid as long as the only menu item is JSON */}\n {hideCardActions || huri === undefined ? null : <EmbedMenu />}\n </FlexRow>\n }\n title={hideTitle ? '' : activePlugin?.name}\n />\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State.js'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context.js'\nimport { EmbedPluginBase } from './State.js'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context.js'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context.js'\n\nexport interface RefreshPayloadProps {\n onRefresh?: () => void\n refreshPayload?: boolean\n}\n\nexport const RefreshPayloadProvider: React.FC<WithChildren<RefreshPayloadProps>> = ({ children, onRefresh, refreshPayload }) => {\n const [localRefreshPayload, setRefreshPayload] = useState(refreshPayload)\n\n return (\n <RefreshPayloadContext.Provider value={{ onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }}>\n {children}\n </RefreshPayloadContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State.js'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context.js'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State.js'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { delay } from '@xylabs/delay'\nimport { useAsyncEffect } from '@xylabs/react-async-effect'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { Huri } from '@xyo-network/huri'\nimport { ModuleError, ModuleErrorSchema, Payload } from '@xyo-network/payload-model'\nimport { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext/index.js'\nimport { ResolvePayloadContext } from './Context.js'\nimport { ResolvePayloadState } from './State.js'\n\nexport type ResolvePayloadProviderProps = Omit<ResolvePayloadState, 'provided'>\n\nexport const ResolvePayloadProvider: React.FC<WithChildren<ResolvePayloadProviderProps>> = ({ children, huriPayload }) => {\n const [payload, setPayload] = useState<Payload>()\n const [huri, setHuri] = useState<string>()\n const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload()\n\n useEffect(() => {\n typeof huriPayload === 'string' ? setHuri(huriPayload) : undefined\n if (typeof huriPayload === 'object') {\n setPayload(huriPayload)\n setRefreshPayload?.(true)\n }\n }, [huriPayload, setRefreshPayload])\n\n const [notFound, setNotFound] = useState<boolean>()\n const [huriError, setHuriError] = useState<ModuleError>()\n\n useAsyncEffect(\n // eslint-disable-next-line react-hooks/exhaustive-deps\n async (mounted) => {\n if (huri && !refreshPayload) {\n try {\n const huriInstance = new Huri(huri)\n const result = await huriInstance.fetch()\n // ensure the busy state can stay for a moment to avoid flashing too quickly\n await delay(500)\n\n if (mounted()) {\n setNotFound(result === null)\n setPayload(result)\n setRefreshPayload?.(true)\n }\n } catch (e) {\n const error = e as Error\n setHuriError({ message: error.message, schema: ModuleErrorSchema, sources: [] })\n }\n }\n },\n [huri, payload, refreshPayload, setRefreshPayload],\n )\n\n const refreshHuri = () => {\n onRefresh?.()\n if (huri) {\n setRefreshPayload?.(false)\n }\n }\n\n return (\n <ResolvePayloadContext.Provider value={{ huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload }}>\n {children}\n </ResolvePayloadContext.Provider>\n )\n}\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context.js'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n","import { Chip } from '@mui/material'\nimport { useAsyncEffect } from '@xylabs/react-async-effect'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { SchemaCache, SchemaNameToValidatorMap } from '@xyo-network/schema-cache'\nimport { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext/index.js'\nimport { ValidatePayloadContext } from './Context.js'\n\nexport interface ValidatePayloadProviderProps {\n // Opt-in flag to validate payloads for the plugin(s)\n enabled?: boolean\n}\n\nexport const ValidatePayloadProvider: React.FC<WithChildren<ValidatePayloadProviderProps>> = ({ children, enabled = false }) => {\n const { payload } = useResolvePayload()\n const [initialized, setInitialized] = useState(false)\n const [valid, setValid] = useState<boolean>()\n\n useAsyncEffect(\n // eslint-disable-next-line react-hooks/exhaustive-deps\n async () => {\n if (payload && enabled) {\n await SchemaCache.instance.get(payload.schema)\n\n const possibleKnownSchema = payload.schema as keyof SchemaNameToValidatorMap\n\n if (SchemaCache.instance.validators[possibleKnownSchema]) {\n const validator = SchemaCache.instance.validators[possibleKnownSchema]\n setValid(validator?.(payload))\n }\n setInitialized(true)\n }\n },\n [payload, enabled],\n )\n\n return (\n <ValidatePayloadContext.Provider value={{ enabled, provided: true, schema: payload?.schema, validPayload: valid }}>\n {enabled ?\n <>{initialized ? children : <Chip label=\"Validating Payload...\" />}</>\n : children}\n </ValidatePayloadContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadState } from './State.js'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context.js'\n\nexport const useValidatePayload = () => useContextEx(ValidatePayloadContext, 'ValidateSchema', true)\n","import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem.js'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n","import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts/index.js'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ?\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.js'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.js'\nimport { BusyCard, BusyCardProps } from './BusyCard.js'\nimport { EmbedCardHeader } from './EmbedCardHeader.js'\n\nexport const EmbedPluginCard: React.FC<BusyCardProps> = ({ ...props }) => {\n const { payload } = useResolvePayload()\n const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState()\n const { listMode } = useListMode()\n const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1\n\n return (\n <BusyCard {...props}>\n {hideElementsConfig?.hideCardHeader ? null : <EmbedCardHeader />}\n {/* Only show the row if the children are present */}\n {(plugins && plugins.length > 0) || supportsListMode ?\n <FlexGrowRow columnGap={2} rowGap={2} flexWrap=\"wrap\" pb={1}>\n {plugins && plugins.length > 1 ?\n <EmbedRenderSelect />\n : null}\n {supportsListMode ?\n <ListModeSelectFormControl />\n : null}\n </FlexGrowRow>\n : null}\n <CardContent sx={{ height: '100%' }}>\n {ActivePlugin ?\n <ActivePlugin.components.box.detailsBox payload={payload} {...(supportsListMode && { listMode })} />\n : null}\n </CardContent>\n </BusyCard>\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","import { MenuItem } from '@mui/material'\nimport { SelectEx, SelectExProps } from '@xylabs/react-select'\nimport { ListMode, useListMode } from '@xyo-network/react-shared'\n\nimport { EmbedFormControl } from './EmbedFormControl.js'\n\nconst listModeSelectId = 'listmode-select-id'\nconst listModeSelectLabel = 'List Mode'\n\nexport const ListModeSelect: React.FC<SelectExProps<ListMode>> = (props) => {\n const { listMode, setListMode } = useListMode()\n\n return (\n <SelectEx<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 </SelectEx>\n )\n}\n\nexport const ListModeSelectFormControl: React.FC<SelectExProps<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 { MenuItem } from '@mui/material'\nimport { SelectEx, SelectExProps } from '@xylabs/react-select'\n\nimport { useEmbedPluginState } from '../../contexts/index.js'\nimport { EmbedFormControl } from './EmbedFormControl.js'\n\nconst renderSelectId = 'render-select-id'\nconst renderSelectLabel = 'Renderer'\n\nexport const EmbedRenderSelect: React.FC<SelectExProps<string>> = (props) => {\n const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState()\n return (\n <EmbedFormControl formId={renderSelectId} formLabel={renderSelectLabel}>\n <SelectEx 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 </SelectEx>\n </EmbedFormControl>\n )\n}\n","import { useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts/index.js'\nimport { EmbedPluginProps } from '../../types/index.js'\nimport { EmbedPluginInner } from '../EmbedPlugin.js'\nimport { BusyCardProps, EmbedPluginCard } from './card/index.js'\nimport { EmbedCardApiErrorRenderer } from './error-handling/index.js'\n\nexport interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {}\n\nexport const ApiEmbedPluginCard: React.FC<EmbedPluginCardProps> = ({ children, ...props }) => {\n const {\n validateSchema,\n plugins = [],\n huriPayload,\n refreshTitle = '',\n timestampLabel = 'Data From',\n hideElementsConfig,\n embedPluginConfig,\n onRefresh,\n ...busyCardProps\n } = props\n\n return (\n <EmbedPluginInner\n {...{\n embedPluginConfig,\n hideElementsConfig,\n huriPayload,\n onRefresh,\n plugins,\n refreshTitle,\n timestampLabel,\n validateSchema,\n }}\n >\n <EmbedPluginCardInner {...busyCardProps} />\n {children}\n </EmbedPluginInner>\n )\n}\n\nexport const EmbedPluginCardInner: React.FC<BusyCardProps> = (props) => {\n const { payload, huriError } = useResolvePayload()\n const { refreshPayload } = useRefreshPayload()\n const theme = useTheme()\n\n return (\n <EmbedCardApiErrorRenderer xyoError={huriError}>\n <EmbedPluginCard\n elevation={3}\n variant=\"elevation\"\n busy={Boolean(!refreshPayload && payload)}\n busyVariantProps={{ style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } }}\n sx={{ position: 'relative' }}\n {...props}\n />\n </EmbedCardApiErrorRenderer>\n )\n}\n\n/** @deprecated - use EmbedPluginCard and use CardProps instead of FlexBoxProps */\n\nexport { EmbedPluginCard as EmbedPlugin } from './card/index.js'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.js'\nimport { EmbedPluginProps } from '../types/index.js'\nimport { EmbedResolver } from './EmbedResolver.js'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.js'\n\nexport const EmbedPluginInner: React.FC<WithChildren<EmbedPluginProps>> = ({\n validateSchema,\n plugins = [],\n huriPayload,\n refreshTitle = '',\n timestampLabel = 'Data From',\n hideElementsConfig,\n embedPluginConfig,\n onRefresh,\n children,\n}) => {\n return (\n <ErrorBoundary>\n <EmbedPluginProvider\n refreshTitle={refreshTitle}\n timestampLabel={timestampLabel}\n hideElementsConfig={hideElementsConfig}\n plugins={plugins}\n embedPluginConfig={embedPluginConfig}\n >\n <WithResolvers onRefresh={onRefresh} huriPayload={huriPayload}>\n <WithValidators validateSchema={validateSchema}>\n <ListModeProvider defaultListMode={embedPluginConfig?.listMode}>{children}</ListModeProvider>\n </WithValidators>\n </WithResolvers>\n </EmbedPluginProvider>\n </ErrorBoundary>\n )\n}\n\ninterface WithResolversProps extends Pick<EmbedPluginProps, 'onRefresh' | 'huriPayload'>, FlexBoxProps {}\n\nconst WithResolvers: React.FC<WithChildren<WithResolversProps>> = ({ children, onRefresh, huriPayload }) => {\n return (\n <RefreshPayloadProvider onRefresh={onRefresh}>\n <ResolvePayloadProvider huriPayload={huriPayload}>\n <EmbedResolver>{children}</EmbedResolver>\n </ResolvePayloadProvider>\n </RefreshPayloadProvider>\n )\n}\n\nconst WithValidators: React.FC<WithChildren<{ validateSchema?: boolean }>> = ({ children, validateSchema }) => {\n return (\n <ValidatePayloadProvider enabled={validateSchema}>\n <ValidatePluginsAlert>\n <ValidatePayloadAlert>{children}</ValidatePayloadAlert>\n </ValidatePluginsAlert>\n </ValidatePayloadProvider>\n )\n}\n","import { WithChildren } from '@xylabs/react-shared'\nimport { LoadResult } from '@xyo-network/react-shared'\n\nimport { useResolvePayload } from '../contexts/index.js'\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 { Alert, AlertProps } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useValidatePayload } from '../../contexts/index.js'\n\nexport const ValidatePayloadAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { validPayload, enabled, schema } = useValidatePayload()\n\n if (enabled && validPayload === false) {\n return (\n <Alert severity=\"error\" title=\"Invalid Payload!\" {...props}>\n Payload schema claimed to be {schema} but failed to validate.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n","import { Alert, AlertProps, AlertTitle } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts/index.js'\n\nexport const ValidatePluginsAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { payload } = useResolvePayload()\n const { plugins } = useEmbedPluginState()\n\n if (payload && plugins?.length === 0) {\n return (\n <Alert severity=\"warning\" {...props}>\n <AlertTitle>Missing plugins!</AlertTitle>Payload found but no plugins were present.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n","import { CardProps } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ModuleError } from '@xyo-network/payload-model'\nimport { ErrorAlert, ErrorRender } from '@xyo-network/react-error'\n\nimport { EmbedErrorCard } from './EmbedErrorCard.js'\n\ninterface EmbedCardApiErrorRendererProps extends CardProps {\n xyoError?: ModuleError\n}\n\nexport const EmbedCardApiErrorRenderer: React.FC<WithChildren<EmbedCardApiErrorRendererProps>> = ({ xyoError, children, ...props }) => {\n return (\n <ErrorRender error={xyoError} noReAuth noErrorDisplay customError={<CustomApiErrorCard xyoError={xyoError} {...props} />}>\n {children}\n </ErrorRender>\n )\n}\n\nconst CustomApiErrorCard: React.FC<EmbedCardApiErrorRendererProps> = ({ xyoError, ...props }) => {\n return (\n <EmbedErrorCard {...props}>\n <ErrorAlert error={xyoError} />\n </EmbedErrorCard>\n )\n}\n","import { Alert, AlertProps, AlertTitle, Card, CardContent, CardProps, Typography } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\ninterface EmbedErrorCardBaseProps {\n alertProps?: AlertProps\n error?: Error\n hideErrorDetails?: boolean\n scope?: string\n}\n\ninterface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {}\n\nexport const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>> = (props) => {\n const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props\n const errorProps = { alertProps, error, hideErrorDetails, scope }\n return (\n <Card {...cardProps}>\n <CardContent>{children ?? <DefaultErrorAlert {...errorProps} />}</CardContent>\n </Card>\n )\n}\n\nconst DefaultErrorAlert: React.FC<EmbedErrorCardBaseProps> = ({ alertProps, scope, hideErrorDetails, error }) => {\n return (\n <Alert severity=\"error\" {...alertProps}>\n <AlertTitle>Whoops! Something went wrong</AlertTitle>\n {scope ?\n <Typography variant=\"caption\">Scope: {scope}</Typography>\n : null}\n {!hideErrorDetails && error ?\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n : <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n }\n </Alert>\n )\n}\n"],"mappings":";AAAA,SAAS,YAAuB;AAChC,SAAS,qBAAqB;AAC9B;AAAA,EACE;AAAA,EAEA;AAAA,OAIK;AAmBH,SAGI,KAHJ;AAVG,IAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,eAAe,cAAc,MAAM,WAAW;AACpD,SACE,qBAAC,QAAM,GAAG,O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AC,wBAAsB,GAAG,eAAe;AAAA,QACxC;AAAA;AAAA;AAAA,EACH;AAEJ;AAEO,IAAM,uBAAgD,CAAC,UAAU;AACtE,QAAM,EAAE,SAAS,UAAU,IAAI,kBAAkB;AACjD,QAAM,EAAE,eAAe,IAAI,kBAAkB;AAC7C,QAAM,QAAQ,SAAS;AAEvB,SACE,gBAAAA,MAAC,6BAA0B,UAAU,WACnC,0BAAAA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;","names":["Chip","jsx","useState","createContextEx","jsx","useState","useContextEx","useContextEx","createContextEx","useEffect","useState","jsx","useState","useEffect","useContextEx","useContextEx","useAsyncEffect","useState","createContextEx","jsx","useState","useAsyncEffect","useContextEx","useContextEx","useState","Fragment","jsx","jsxs","Fragment","jsx","jsxs","useState","Fragment","jsx","jsxs","Chip","useListMode","jsx","jsxs","MenuItem","jsx","jsxs","MenuItem","MenuItem","SelectEx","jsx","SelectEx","MenuItem","jsx","jsxs","useListMode","jsx","Fragment","jsx","jsxs","Alert","Fragment","jsx","jsxs","Alert","jsx","Alert","AlertTitle","Card","CardContent","Fragment","jsx","jsxs","jsx","jsx","jsxs"]}
|