@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../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":["export * from './components/index.js'\nexport * from './contexts/index.js'\nexport * from './types/index.js'\n","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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAgC;AAChC,2BAA8B;AAC9B,0BAOO;AAmBH;AAVG,IAAM,WAAkD,CAAC;AAAA,EAC9D;AAAA,EACA,cAAc;AAAA,EACd,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,mBAAe,oCAAc,MAAM,WAAW;AACpD,SACE,6CAAC,wBAAM,GAAG,OACP;AAAA;AAAA,IACA,gBAAgB,cAAc,eAC7B,4CAAC,4CAAsB,GAAI,kBAAgD,IAC3E;AAAA,IACD,gBAAgB,YAAY,eAC3B,4CAAC,0CAAoB,GAAI,kBAA8C,IACvE;AAAA,KACJ;AAEJ;;;ACtCA,IAAAA,yBAAuC;AACvC,IAAAC,mBAAiE;AACjE,IAAAC,wBAAwB;;;ACFxB,IAAAC,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,4BAAS;AAEvB,SACE,8CAAC,6BAA0B,UAAU,WACnC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,SAAQ;AAAA,MACR,MAAM,QAAQ,CAAC,kBAAkB,OAAO;AAAA,MACxC,kBAAkB,EAAE,OAAO,EAAE,YAAY,SAAS,YAAY,MAAM,QAAQ,CAAC,GAAG,QAAQ,EAAE,EAAE;AAAA,MAC5F,IAAI,EAAE,UAAU,WAAW;AAAA,MAC1B,GAAG;AAAA;AAAA,EACN,GACF;AAEJ;","names":["import_icons_material","import_material","import_react_flexbox","import_react_shared","import_jsx_runtime","import_react_shared","import_react","import_react_shared","import_jsx_runtime","import_react_shared","import_react_shared","import_react","import_jsx_runtime","import_react_shared","import_material","import_react_async_effect","import_react","import_react_shared","import_jsx_runtime","import_react_shared","import_icons_material","import_material","import_react","import_material","import_jsx_runtime","OpenInNewIcon","import_jsx_runtime","MoreVertIcon","import_jsx_runtime","RefreshIcon","import_material","import_react_flexbox","import_react_shared","import_material","import_jsx_runtime","import_material","import_react_shared","import_jsx_runtime","import_material","import_react_select","import_jsx_runtime","import_jsx_runtime","import_material","import_react_shared","import_react_shared","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_jsx_runtime","import_material","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime"]}
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/components/embed-card/card/BusyCard.tsx","../../src/components/embed-card/card/EmbedCardHeader.tsx","../../src/contexts/EmbedPluginContext/Context.ts","../../src/contexts/EmbedPluginContext/Provider.tsx","../../src/contexts/EmbedPluginContext/use.ts","../../src/contexts/RefreshPayloadContext/Provider.tsx","../../src/contexts/RefreshPayloadContext/Context.ts","../../src/contexts/RefreshPayloadContext/use.ts","../../src/contexts/ResolvePayloadContext/Context.ts","../../src/contexts/ResolvePayloadContext/Provider.tsx","../../src/contexts/ResolvePayloadContext/use.ts","../../src/contexts/ValidatePayloadContext/Provider.tsx","../../src/contexts/ValidatePayloadContext/Context.ts","../../src/contexts/ValidatePayloadContext/use.ts","../../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":["export * from './components/index.ts'\nexport * from './contexts/index.ts'\nexport * from './types/index.ts'\n","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'\nimport React from 'react'\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'\nimport React from 'react'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.ts'\nimport { EmbedMenu } from '../menu/index.ts'\n\nexport const EmbedCardHeader: React.FC<CardHeaderProps> = () => {\n const { refreshHuri, huri } = useResolvePayload()\n const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState()\n const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {}\n // this is temporary so that we can add the ability to get a timestamp via diviner later\n const timestamp = Date.now()\n return (\n <CardHeader\n sx={{ flexWrap: 'wrap', rowGap: 1 }}\n avatar={\n hideAvatar\n ? <></>\n : (\n <Avatar sx={{ bgcolor: (theme: Theme) => theme.palette.primary.main }} aria-label={activePlugin?.name}>\n {activePlugin?.name?.charAt(0)}\n </Avatar>\n )\n }\n action={(\n <FlexRow flexWrap=\"wrap\" columnGap={0.5}>\n {timestamp\n ? hideTimestamp && hideRefreshButton\n ? ''\n : (\n <Chip\n avatar={hideRefreshButton ? <></> : <RefreshIcon />}\n clickable={hideRefreshButton ? false : true}\n onClick={refreshHuri}\n label={hideTimestamp ? '' : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`}\n />\n )\n\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.ts'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport React, { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context.ts'\nimport { EmbedPluginBase } from './State.ts'\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 // eslint-disable-next-line @eslint-react/no-unstable-context-value\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.ts'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { WithChildren } from '@xylabs/react-shared'\nimport React, { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context.ts'\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 // eslint-disable-next-line @eslint-react/no-unstable-context-value\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.ts'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadContext } from './Context.ts'\n\nexport const useRefreshPayload = () => useContextEx(RefreshPayloadContext, 'RefreshPayload', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State.ts'\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 React, { useEffect, useState } from 'react'\n\nimport { useRefreshPayload } from '../RefreshPayloadContext/index.ts'\nimport { ResolvePayloadContext } from './Context.ts'\nimport { ResolvePayloadState } from './State.ts'\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 // eslint-disable-next-line @typescript-eslint/no-unused-expressions\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 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 // eslint-disable-next-line @eslint-react/no-unstable-context-value\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.ts'\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 React, { useState } from 'react'\n\nimport { useResolvePayload } from '../ResolvePayloadContext/index.ts'\nimport { ValidatePayloadContext } from './Context.ts'\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 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 // eslint-disable-next-line @eslint-react/no-unstable-context-value\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.ts'\n\nexport const ValidatePayloadContext = createContextEx<ValidatePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ValidatePayloadContext } from './Context.ts'\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 React, { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem.tsx'\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'\nimport React from 'react'\n\nimport { useResolvePayload } from '../../../contexts/index.ts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri\n ? (\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 )\n : null}\n </>\n )\n}\n","import { CardContent } from '@mui/material'\nimport { FlexGrowRow } from '@xylabs/react-flexbox'\nimport { useListMode } from '@xyo-network/react-shared'\nimport React from 'react'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../../contexts/index.ts'\nimport { EmbedRenderSelect, ListModeSelectFormControl } from '../../controls/index.ts'\nimport { BusyCard, BusyCardProps } from './BusyCard.tsx'\nimport { EmbedCardHeader } from './EmbedCardHeader.tsx'\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 ? (\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 )\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'\nimport React from 'react'\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'\nimport React from 'react'\n\nimport { EmbedFormControl } from './EmbedFormControl.tsx'\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'\nimport React from 'react'\n\nimport { useEmbedPluginState } from '../../contexts/index.ts'\nimport { EmbedFormControl } from './EmbedFormControl.tsx'\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'\nimport React from 'react'\n\nimport { useRefreshPayload, useResolvePayload } from '../../contexts/index.ts'\nimport { EmbedPluginProps } from '../../types/index.ts'\nimport { EmbedPluginInner } from '../EmbedPlugin.tsx'\nimport { BusyCardProps, EmbedPluginCard } from './card/index.ts'\nimport { EmbedCardApiErrorRenderer } from './error-handling/index.ts'\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.ts'\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { ErrorBoundary, ListModeProvider } from '@xyo-network/react-shared'\nimport React from 'react'\n\nimport { EmbedPluginProvider, RefreshPayloadProvider, ResolvePayloadProvider, ValidatePayloadProvider } from '../contexts/index.ts'\nimport { EmbedPluginProps } from '../types/index.ts'\nimport { EmbedResolver } from './EmbedResolver.tsx'\nimport { ValidatePayloadAlert, ValidatePluginsAlert } from './validation-alerts/index.ts'\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'\nimport React from 'react'\n\nimport { useResolvePayload } from '../contexts/index.ts'\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'\nimport React from 'react'\n\nimport { useValidatePayload } from '../../contexts/index.ts'\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\n {' '}\n {schema}\n {' '}\n 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'\nimport React from 'react'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts/index.ts'\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>\n 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'\nimport React from 'react'\n\nimport { EmbedErrorCard } from './EmbedErrorCard.tsx'\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'\nimport React from 'react'\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 ? (\n <Typography variant=\"caption\">\n Scope:\n {scope}\n </Typography>\n )\n : null}\n {!hideErrorDetails && error\n ? (\n <>\n <Typography variant=\"caption\">Error: </Typography>\n <Typography variant=\"caption\">{error?.message}</Typography>\n </>\n )\n : (\n <Typography variant=\"caption\" fontSize=\"small\">\n Error Loading Plugin\n </Typography>\n )}\n </Alert>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;ACAA,sBAAgC;AAChC,2BAA8B;AAC9B,0BAOO;AACP,mBAAkB;AASX,IAAMA,WAAkD,wBAAC,EAC9DC,MACAC,cAAc,KACdC,cAAc,YACdC,kBACAC,UACA,GAAGC,MAAAA,MACJ;AACC,QAAMC,mBAAeC,oCAAcP,MAAMC,WAAAA;AACzC,SACE,6BAAAO,QAAA,cAACC,sBAASJ,OACPD,UACAF,gBAAgB,cAAcI,eAC3B,6BAAAE,QAAA,cAACE,0CAA0BP,gBAAAA,IAC3B,MACHD,gBAAgB,YAAYI,eACzB,6BAAAE,QAAA,cAACG,wCAAwBR,gBAAAA,IACzB,IAAA;AAGV,GApB+D;;;ACnB/D,IAAAS,yBAAuC;AACvC,IAAAC,mBAAiE;AACjE,IAAAC,wBAAwB;AACxB,IAAAC,gBAAkB;;;ACHlB,IAAAC,uBAAgC;AAIzB,IAAMC,yBAAqBC,sCAAAA;;;ACFlC,IAAAC,gBAA2C;AAQpC,IAAMC,sBAAwE,wBAAC,EACpFC,UACAC,cACAC,gBACAC,oBACAC,SACAC,kBAAiB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,QAAM,EAAEa,SAASC,UAAS,IAAKC,kBAAAA;AAC/B,QAAM,EAAEC,eAAc,IAAKC,kBAAAA;AAC3B,QAAMC,YAAQC,4BAAAA;AAEd,SACE,+BAAAT,QAAA,cAACU,2BAAAA;IAA0BC,UAAUP;KACnC,+BAAAJ,QAAA,cAACY,iBAAAA;IACCC,WAAW;IACXC,SAAQ;IACRC,MAAMC,QAAQ,CAACV,kBAAkBH,OAAAA;IACjCc,kBAAkB;MAAEC,OAAO;QAAEC,YAAY;QAASC,YAAYZ,MAAMa,QAAQ,CAAA;QAAIC,QAAQ;MAAE;IAAE;IAC5FC,IAAI;MAAEC,UAAU;IAAW;IAC1B,GAAGlC;;AAIZ,GAjB6D;","names":["BusyCard","busy","busyMinimum","busyVariant","busyVariantProps","children","props","internalBusy","useBusyTiming","React","Card","BusyCircularProgress","BusyLinearProgress","import_icons_material","import_material","import_react_flexbox","import_react","import_react_shared","EmbedPluginContext","createContextEx","import_react","EmbedPluginProvider","children","refreshTitle","timestampLabel","hideElementsConfig","plugins","embedPluginConfig","activePlugin","setActivePlugin","useState","undefined","useEffect","React","EmbedPluginContext","Provider","value","provided","import_react_shared","useEmbedPluginState","useContextEx","EmbedPluginContext","import_react","import_react_shared","RefreshPayloadContext","createContextEx","RefreshPayloadProvider","children","onRefresh","refreshPayload","localRefreshPayload","setRefreshPayload","useState","React","RefreshPayloadContext","Provider","value","provided","import_react_shared","useRefreshPayload","useContextEx","RefreshPayloadContext","import_react_shared","ResolvePayloadContext","createContextEx","import_react","ResolvePayloadProvider","children","huriPayload","payload","setPayload","useState","huri","setHuri","refreshPayload","setRefreshPayload","onRefresh","useRefreshPayload","useEffect","undefined","notFound","setNotFound","huriError","setHuriError","useAsyncEffect","mounted","huriInstance","Huri","result","fetch","delay","e","error","message","schema","ModuleErrorSchema","sources","refreshHuri","React","ResolvePayloadContext","Provider","value","provided","import_react_shared","useResolvePayload","useContextEx","ResolvePayloadContext","import_material","import_react_async_effect","import_react","import_react_shared","ValidatePayloadContext","createContextEx","ValidatePayloadProvider","children","enabled","payload","useResolvePayload","initialized","setInitialized","useState","valid","setValid","useAsyncEffect","SchemaCache","instance","get","schema","possibleKnownSchema","validators","validator","React","ValidatePayloadContext","Provider","value","provided","validPayload","Chip","label","import_react_shared","useValidatePayload","useContextEx","ValidatePayloadContext","import_icons_material","import_material","import_react","import_material","import_react","JsonMenuItem","props","huri","useResolvePayload","React","MenuItem","title","onClick","window","open","ListItemText","sx","mr","ListItemIcon","justifyContent","OpenInNewIcon","fontSize","EmbedMenu","props","anchorEl","setAnchorEl","useState","open","Boolean","handleClick","event","currentTarget","handleClose","React","IconButton","onClick","MoreVertIcon","Menu","onClose","PaperProps","variant","MenuListProps","dense","JsonMenuItem","EmbedCardHeader","refreshHuri","huri","useResolvePayload","activePlugin","timestampLabel","hideElementsConfig","useEmbedPluginState","hideAvatar","hideTitle","hideRefreshButton","hideTimestamp","hideCardActions","timestamp","Date","now","React","CardHeader","sx","flexWrap","rowGap","avatar","Avatar","bgcolor","theme","palette","primary","main","aria-label","name","charAt","action","FlexRow","columnGap","Chip","RefreshIcon","clickable","onClick","label","toLocaleString","undefined","EmbedMenu","title","import_material","import_react_flexbox","import_react_shared","import_react","import_material","import_react","EmbedFormControl","formId","formLabel","children","props","React","FormControl","InputLabel","id","import_material","import_react_shared","import_react","listModeSelectId","listModeSelectLabel","ListModeSelect","props","listMode","setListMode","useListMode","React","SelectEx","value","onChange","event","target","MenuItem","key","ListModeSelectFormControl","EmbedFormControl","formId","formLabel","size","label","labelId","import_material","import_react_select","import_react","renderSelectId","renderSelectLabel","EmbedRenderSelect","props","activePlugin","setActivePlugin","plugins","useEmbedPluginState","React","EmbedFormControl","formId","formLabel","SelectEx","size","value","name","map","plugin","MenuItem","key","onClick","EmbedPluginCard","props","payload","useResolvePayload","activePlugin","ActivePlugin","plugins","hideElementsConfig","useEmbedPluginState","listMode","useListMode","supportsListMode","components","box","listModes","length","React","BusyCard","hideCardHeader","EmbedCardHeader","FlexGrowRow","columnGap","rowGap","flexWrap","pb","EmbedRenderSelect","ListModeSelectFormControl","CardContent","sx","height","detailsBox","import_material","import_react","import_react_shared","import_react","import_react_shared","import_react","EmbedResolver","children","payload","notFound","huriError","useResolvePayload","React","LoadResult","searchResult","error","import_material","import_react","ValidatePayloadAlert","children","props","validPayload","enabled","schema","useValidatePayload","React","Alert","severity","title","import_material","import_react","ValidatePluginsAlert","children","props","payload","useResolvePayload","plugins","useEmbedPluginState","length","React","Alert","severity","AlertTitle","EmbedPluginInner","validateSchema","plugins","huriPayload","refreshTitle","timestampLabel","hideElementsConfig","embedPluginConfig","onRefresh","children","React","ErrorBoundary","EmbedPluginProvider","WithResolvers","WithValidators","ListModeProvider","defaultListMode","listMode","RefreshPayloadProvider","ResolvePayloadProvider","EmbedResolver","ValidatePayloadProvider","enabled","ValidatePluginsAlert","ValidatePayloadAlert","import_react","import_material","import_react","EmbedErrorCard","props","alertProps","error","scope","hideErrorDetails","children","cardProps","errorProps","React","Card","CardContent","DefaultErrorAlert","Alert","severity","AlertTitle","Typography","variant","message","fontSize","EmbedCardApiErrorRenderer","xyoError","children","props","React","ErrorRender","error","noReAuth","noErrorDisplay","customError","CustomApiErrorCard","EmbedErrorCard","ErrorAlert","ApiEmbedPluginCard","children","props","validateSchema","plugins","huriPayload","refreshTitle","timestampLabel","hideElementsConfig","embedPluginConfig","onRefresh","busyCardProps","React","EmbedPluginInner","EmbedPluginCardInner","payload","huriError","useResolvePayload","refreshPayload","useRefreshPayload","theme","useTheme","EmbedCardApiErrorRenderer","xyoError","EmbedPluginCard","elevation","variant","busy","Boolean","busyVariantProps","style","alignItems","paddingTop","spacing","zIndex","sx","position"]}
|
package/dist/browser/index.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './components/index.
|
2
|
-
export * from './contexts/index.
|
3
|
-
export * from './types/index.
|
1
|
+
export * from './components/index.ts';
|
2
|
+
export * from './contexts/index.ts';
|
3
|
+
export * from './types/index.ts';
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './components/index.
|
2
|
-
export * from './contexts/index.
|
3
|
-
export * from './types/index.
|
1
|
+
export * from './components/index.ts';
|
2
|
+
export * from './contexts/index.ts';
|
3
|
+
export * from './types/index.ts';
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './components/index.
|
2
|
-
export * from './contexts/index.
|
3
|
-
export * from './types/index.
|
1
|
+
export * from './components/index.ts';
|
2
|
+
export * from './contexts/index.ts';
|
3
|
+
export * from './types/index.ts';
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|