@xyo-network/react-embed 2.81.10 → 2.82.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/EmbedPlugin.d.cts +2 -1
- package/dist/browser/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/browser/components/EmbedPlugin.d.mts +2 -1
- package/dist/browser/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/browser/components/EmbedPlugin.d.ts +2 -1
- package/dist/browser/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.cts +1 -0
- package/dist/browser/components/EmbedResolver.d.cts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.mts +1 -0
- package/dist/browser/components/EmbedResolver.d.mts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.ts +1 -0
- package/dist/browser/components/EmbedResolver.d.ts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.cts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.mts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.ts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/browser/components/controls/index.d.cts +3 -3
- package/dist/browser/components/controls/index.d.cts.map +1 -1
- package/dist/browser/components/controls/index.d.mts +3 -3
- package/dist/browser/components/controls/index.d.mts.map +1 -1
- package/dist/browser/components/controls/index.d.ts +3 -3
- package/dist/browser/components/controls/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.cts +3 -3
- package/dist/browser/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.mts +3 -3
- package/dist/browser/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.ts +3 -3
- package/dist/browser/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/index.d.cts +2 -2
- package/dist/browser/components/embed-card/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/index.d.mts +2 -2
- package/dist/browser/components/embed-card/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/index.d.ts +2 -2
- package/dist/browser/components/embed-card/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.cts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.mts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.ts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/browser/components/index.d.cts +2 -2
- package/dist/browser/components/index.d.cts.map +1 -1
- package/dist/browser/components/index.d.mts +2 -2
- package/dist/browser/components/index.d.mts.map +1 -1
- package/dist/browser/components/index.d.ts +2 -2
- package/dist/browser/components/index.d.ts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.cts +1 -1
- package/dist/browser/components/stories/storyShared.d.cts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.mts +1 -1
- package/dist/browser/components/stories/storyShared.d.mts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.ts +1 -1
- package/dist/browser/components/stories/storyShared.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.cts +2 -2
- package/dist/browser/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.mts +2 -2
- package/dist/browser/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.ts +2 -2
- package/dist/browser/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/index.d.cts +4 -4
- package/dist/browser/contexts/index.d.mts +4 -4
- package/dist/browser/contexts/index.d.ts +4 -4
- package/dist/browser/index.cjs +403 -317
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +3 -3
- package/dist/browser/index.d.mts +3 -3
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.mjs +573 -0
- package/dist/browser/index.mjs.map +1 -0
- package/dist/browser/types/EmbedPluginProps.d.cts +1 -1
- package/dist/browser/types/EmbedPluginProps.d.mts +1 -1
- package/dist/browser/types/EmbedPluginProps.d.ts +1 -1
- package/dist/browser/types/index.d.cts +1 -1
- package/dist/browser/types/index.d.mts +1 -1
- package/dist/browser/types/index.d.ts +1 -1
- package/dist/neutral/components/EmbedPlugin.d.cts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/neutral/components/EmbedPlugin.d.mts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/neutral/components/EmbedPlugin.d.ts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.cts +1 -0
- package/dist/neutral/components/EmbedResolver.d.cts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.mts +1 -0
- package/dist/neutral/components/EmbedResolver.d.mts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.ts +1 -0
- package/dist/neutral/components/EmbedResolver.d.ts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.cts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.mts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.ts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/neutral/components/controls/index.d.cts +3 -3
- package/dist/neutral/components/controls/index.d.cts.map +1 -1
- package/dist/neutral/components/controls/index.d.mts +3 -3
- package/dist/neutral/components/controls/index.d.mts.map +1 -1
- package/dist/neutral/components/controls/index.d.ts +3 -3
- package/dist/neutral/components/controls/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.cts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.mts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.ts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.cts +2 -2
- package/dist/neutral/components/embed-card/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.mts +2 -2
- package/dist/neutral/components/embed-card/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.ts +2 -2
- package/dist/neutral/components/embed-card/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/neutral/components/index.d.cts +2 -2
- package/dist/neutral/components/index.d.cts.map +1 -1
- package/dist/neutral/components/index.d.mts +2 -2
- package/dist/neutral/components/index.d.mts.map +1 -1
- package/dist/neutral/components/index.d.ts +2 -2
- package/dist/neutral/components/index.d.ts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.cts +1 -1
- package/dist/neutral/components/stories/storyShared.d.cts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.mts +1 -1
- package/dist/neutral/components/stories/storyShared.d.mts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.ts +1 -1
- package/dist/neutral/components/stories/storyShared.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.cts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.mts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.ts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/index.d.cts +4 -4
- package/dist/neutral/contexts/index.d.mts +4 -4
- package/dist/neutral/contexts/index.d.ts +4 -4
- package/dist/neutral/index.cjs +403 -317
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +3 -3
- package/dist/neutral/index.d.mts +3 -3
- package/dist/neutral/index.d.ts +3 -3
- package/dist/neutral/index.mjs +573 -0
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/neutral/types/EmbedPluginProps.d.cts +1 -1
- package/dist/neutral/types/EmbedPluginProps.d.mts +1 -1
- package/dist/neutral/types/EmbedPluginProps.d.ts +1 -1
- package/dist/neutral/types/index.d.cts +1 -1
- package/dist/neutral/types/index.d.mts +1 -1
- package/dist/neutral/types/index.d.ts +1 -1
- package/dist/node/components/EmbedPlugin.d.cts +2 -1
- package/dist/node/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/node/components/EmbedPlugin.d.mts +2 -1
- package/dist/node/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/node/components/EmbedPlugin.d.ts +2 -1
- package/dist/node/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/node/components/EmbedResolver.d.cts +1 -0
- package/dist/node/components/EmbedResolver.d.cts.map +1 -1
- package/dist/node/components/EmbedResolver.d.mts +1 -0
- package/dist/node/components/EmbedResolver.d.mts.map +1 -1
- package/dist/node/components/EmbedResolver.d.ts +1 -0
- package/dist/node/components/EmbedResolver.d.ts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.cts +1 -0
- package/dist/node/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.mts +1 -0
- package/dist/node/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.ts +1 -0
- package/dist/node/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/node/components/controls/index.d.cts +3 -3
- package/dist/node/components/controls/index.d.cts.map +1 -1
- package/dist/node/components/controls/index.d.mts +3 -3
- package/dist/node/components/controls/index.d.mts.map +1 -1
- package/dist/node/components/controls/index.d.ts +3 -3
- package/dist/node/components/controls/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.cts +3 -3
- package/dist/node/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.mts +3 -3
- package/dist/node/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.ts +3 -3
- package/dist/node/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/index.d.cts +2 -2
- package/dist/node/components/embed-card/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/index.d.mts +2 -2
- package/dist/node/components/embed-card/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/index.d.ts +2 -2
- package/dist/node/components/embed-card/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.cts +1 -1
- package/dist/node/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.mts +1 -1
- package/dist/node/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.ts +1 -1
- package/dist/node/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/node/components/index.d.cts +2 -2
- package/dist/node/components/index.d.cts.map +1 -1
- package/dist/node/components/index.d.mts +2 -2
- package/dist/node/components/index.d.mts.map +1 -1
- package/dist/node/components/index.d.ts +2 -2
- package/dist/node/components/index.d.ts.map +1 -1
- package/dist/node/components/stories/storyShared.d.cts +1 -1
- package/dist/node/components/stories/storyShared.d.cts.map +1 -1
- package/dist/node/components/stories/storyShared.d.mts +1 -1
- package/dist/node/components/stories/storyShared.d.mts.map +1 -1
- package/dist/node/components/stories/storyShared.d.ts +1 -1
- package/dist/node/components/stories/storyShared.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.cts +2 -2
- package/dist/node/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.mts +2 -2
- package/dist/node/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.ts +2 -2
- package/dist/node/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/index.d.cts +4 -4
- package/dist/node/contexts/index.d.mts +4 -4
- package/dist/node/contexts/index.d.ts +4 -4
- package/dist/node/index.cjs +403 -317
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +3 -3
- package/dist/node/index.d.mts +3 -3
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.mjs +575 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/types/EmbedPluginProps.d.cts +1 -1
- package/dist/node/types/EmbedPluginProps.d.mts +1 -1
- package/dist/node/types/EmbedPluginProps.d.ts +1 -1
- package/dist/node/types/index.d.cts +1 -1
- package/dist/node/types/index.d.mts +1 -1
- package/dist/node/types/index.d.ts +1 -1
- package/package.json +25 -25
- package/src/components/EmbedPlugin.tsx +6 -5
- package/src/components/EmbedResolver.tsx +2 -1
- package/src/components/controls/EmbedFormControl.tsx +1 -0
- package/src/components/controls/ListModeSelect.tsx +2 -1
- package/src/components/controls/RenderSelect.tsx +4 -3
- package/src/components/controls/index.ts +3 -3
- package/src/components/embed-card/EmbedCardResolver.tsx +3 -2
- package/src/components/embed-card/EmbedPluginCard.tsx +7 -6
- package/src/components/embed-card/card/BusyCard.tsx +7 -6
- package/src/components/embed-card/card/EmbedCardHeader.tsx +25 -20
- package/src/components/embed-card/card/EmbedPluginCard.tsx +20 -17
- package/src/components/embed-card/card/index.ts +3 -3
- package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +2 -1
- package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +21 -12
- package/src/components/embed-card/error-handling/index.ts +2 -2
- package/src/components/embed-card/index.ts +2 -2
- package/src/components/embed-card/menu/EmbedMenu.tsx +2 -2
- package/src/components/embed-card/menu/JsonMenuItem.tsx +12 -9
- package/src/components/embed-card/menu/index.ts +1 -1
- package/src/components/index.ts +2 -2
- package/src/components/stories/XyoEmbedPlugin.examples.stories.tsx +1 -2
- package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +2 -3
- package/src/components/stories/storyShared.tsx +2 -1
- package/src/components/validation-alerts/ValidatePayload.tsx +7 -2
- package/src/components/validation-alerts/ValidatePlugins.tsx +4 -2
- package/src/components/validation-alerts/index.ts +2 -2
- package/src/contexts/EmbedPluginContext/{Context.tsx → Context.ts} +1 -1
- package/src/contexts/EmbedPluginContext/Provider.tsx +4 -3
- package/src/contexts/EmbedPluginContext/index.ts +4 -4
- package/src/contexts/EmbedPluginContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/RefreshPayloadContext/{Context.tsx → Context.ts} +1 -1
- package/src/contexts/RefreshPayloadContext/Provider.tsx +3 -2
- package/src/contexts/RefreshPayloadContext/index.ts +3 -3
- package/src/contexts/RefreshPayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
- package/src/contexts/ResolvePayloadContext/Provider.tsx +6 -5
- package/src/contexts/ResolvePayloadContext/index.ts +4 -4
- package/src/contexts/ResolvePayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
- package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +6 -6
- package/src/contexts/ValidatePayloadContext/Provider.tsx +7 -7
- package/src/contexts/ValidatePayloadContext/index.ts +3 -3
- package/src/contexts/ValidatePayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/index.ts +4 -4
- package/src/index.ts +3 -3
- package/src/types/EmbedPluginProps.ts +1 -1
- package/src/types/index.ts +1 -1
- package/dist/browser/index.js +0 -498
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/index.js +0 -498
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/index.js +0 -500
- package/dist/node/index.js.map +0 -1
package/dist/node/index.cjs
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __create = Object.create;
|
2
3
|
var __defProp = Object.defineProperty;
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
6
9
|
var __export = (target, all) => {
|
7
10
|
for (var name in all)
|
8
11
|
__defProp(target, name, { get: all[name], enumerable: true });
|
@@ -15,6 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
15
18
|
}
|
16
19
|
return to;
|
17
20
|
};
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
+
mod
|
28
|
+
));
|
18
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
30
|
|
20
31
|
// src/index.ts
|
@@ -44,85 +55,75 @@ module.exports = __toCommonJS(src_exports);
|
|
44
55
|
var import_material = require("@mui/material");
|
45
56
|
var import_react_flexbox = require("@xylabs/react-flexbox");
|
46
57
|
var import_react_shared = require("@xylabs/react-shared");
|
47
|
-
var
|
48
|
-
var BusyCard = ({
|
49
|
-
busy,
|
50
|
-
busyMinimum = 500,
|
51
|
-
busyVariant = "circular",
|
52
|
-
busyVariantProps,
|
53
|
-
children,
|
54
|
-
...props
|
55
|
-
}) => {
|
58
|
+
var import_react = __toESM(require("react"), 1);
|
59
|
+
var BusyCard = /* @__PURE__ */ __name(({ busy, busyMinimum = 500, busyVariant = "circular", busyVariantProps, children, ...props }) => {
|
56
60
|
const internalBusy = (0, import_react_flexbox.useBusyTiming)(busy, busyMinimum);
|
57
|
-
return /* @__PURE__ */
|
58
|
-
|
59
|
-
busyVariant === "circular" && internalBusy ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_shared.BusyCircularProgress, { ...busyVariantProps }) : null,
|
60
|
-
busyVariant === "linear" && internalBusy ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_shared.BusyLinearProgress, { ...busyVariantProps }) : null
|
61
|
-
] });
|
62
|
-
};
|
61
|
+
return /* @__PURE__ */ import_react.default.createElement(import_material.Card, props, children, busyVariant === "circular" && internalBusy ? /* @__PURE__ */ import_react.default.createElement(import_react_shared.BusyCircularProgress, busyVariantProps) : null, busyVariant === "linear" && internalBusy ? /* @__PURE__ */ import_react.default.createElement(import_react_shared.BusyLinearProgress, busyVariantProps) : null);
|
62
|
+
}, "BusyCard");
|
63
63
|
|
64
64
|
// src/components/embed-card/card/EmbedCardHeader.tsx
|
65
65
|
var import_icons_material3 = require("@mui/icons-material");
|
66
66
|
var import_material5 = require("@mui/material");
|
67
67
|
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
68
|
+
var import_react8 = __toESM(require("react"), 1);
|
68
69
|
|
69
|
-
// src/contexts/EmbedPluginContext/Context.
|
70
|
+
// src/contexts/EmbedPluginContext/Context.ts
|
70
71
|
var import_react_shared2 = require("@xyo-network/react-shared");
|
71
72
|
var EmbedPluginContext = (0, import_react_shared2.createContextEx)();
|
72
73
|
|
73
74
|
// src/contexts/EmbedPluginContext/Provider.tsx
|
74
|
-
var
|
75
|
-
var
|
76
|
-
|
77
|
-
|
78
|
-
refreshTitle,
|
79
|
-
timestampLabel,
|
80
|
-
hideElementsConfig,
|
81
|
-
plugins,
|
82
|
-
embedPluginConfig
|
83
|
-
}) => {
|
84
|
-
const [activePlugin, setActivePlugin] = (0, import_react.useState)(plugins ? plugins[0] : void 0);
|
85
|
-
(0, import_react.useEffect)(() => {
|
75
|
+
var import_react2 = __toESM(require("react"), 1);
|
76
|
+
var EmbedPluginProvider = /* @__PURE__ */ __name(({ children, refreshTitle, timestampLabel, hideElementsConfig, plugins, embedPluginConfig }) => {
|
77
|
+
const [activePlugin, setActivePlugin] = (0, import_react2.useState)(plugins ? plugins[0] : void 0);
|
78
|
+
(0, import_react2.useEffect)(() => {
|
86
79
|
setActivePlugin(plugins ? plugins[0] : void 0);
|
87
|
-
}, [
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
children
|
80
|
+
}, [
|
81
|
+
plugins
|
82
|
+
]);
|
83
|
+
return /* @__PURE__ */ import_react2.default.createElement(EmbedPluginContext.Provider, {
|
84
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
85
|
+
value: {
|
86
|
+
activePlugin,
|
87
|
+
embedPluginConfig,
|
88
|
+
hideElementsConfig,
|
89
|
+
provided: true,
|
90
|
+
refreshTitle,
|
91
|
+
setActivePlugin,
|
92
|
+
timestampLabel
|
101
93
|
}
|
102
|
-
);
|
103
|
-
};
|
94
|
+
}, children);
|
95
|
+
}, "EmbedPluginProvider");
|
104
96
|
|
105
|
-
// src/contexts/EmbedPluginContext/use.
|
97
|
+
// src/contexts/EmbedPluginContext/use.ts
|
106
98
|
var import_react_shared3 = require("@xyo-network/react-shared");
|
107
|
-
var useEmbedPluginState = () => (0, import_react_shared3.useContextEx)(EmbedPluginContext, "EmbedPlugin", true);
|
99
|
+
var useEmbedPluginState = /* @__PURE__ */ __name(() => (0, import_react_shared3.useContextEx)(EmbedPluginContext, "EmbedPlugin", true), "useEmbedPluginState");
|
108
100
|
|
109
101
|
// src/contexts/RefreshPayloadContext/Provider.tsx
|
110
|
-
var
|
102
|
+
var import_react3 = __toESM(require("react"), 1);
|
111
103
|
|
112
|
-
// src/contexts/RefreshPayloadContext/Context.
|
104
|
+
// src/contexts/RefreshPayloadContext/Context.ts
|
113
105
|
var import_react_shared4 = require("@xyo-network/react-shared");
|
114
106
|
var RefreshPayloadContext = (0, import_react_shared4.createContextEx)();
|
115
107
|
|
116
108
|
// src/contexts/RefreshPayloadContext/Provider.tsx
|
117
|
-
var
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
109
|
+
var RefreshPayloadProvider = /* @__PURE__ */ __name(({ children, onRefresh, refreshPayload }) => {
|
110
|
+
const [localRefreshPayload, setRefreshPayload] = (0, import_react3.useState)(refreshPayload);
|
111
|
+
return (
|
112
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
113
|
+
/* @__PURE__ */ import_react3.default.createElement(RefreshPayloadContext.Provider, {
|
114
|
+
value: {
|
115
|
+
onRefresh,
|
116
|
+
provided: true,
|
117
|
+
refreshPayload: localRefreshPayload,
|
118
|
+
setRefreshPayload
|
119
|
+
}
|
120
|
+
}, children)
|
121
|
+
);
|
122
|
+
}, "RefreshPayloadProvider");
|
122
123
|
|
123
|
-
// src/contexts/RefreshPayloadContext/use.
|
124
|
+
// src/contexts/RefreshPayloadContext/use.ts
|
124
125
|
var import_react_shared5 = require("@xyo-network/react-shared");
|
125
|
-
var useRefreshPayload = () => (0, import_react_shared5.useContextEx)(RefreshPayloadContext, "RefreshPayload", true);
|
126
|
+
var useRefreshPayload = /* @__PURE__ */ __name(() => (0, import_react_shared5.useContextEx)(RefreshPayloadContext, "RefreshPayload", true), "useRefreshPayload");
|
126
127
|
|
127
128
|
// src/contexts/ResolvePayloadContext/Context.ts
|
128
129
|
var import_react_shared6 = require("@xyo-network/react-shared");
|
@@ -133,390 +134,475 @@ var import_delay = require("@xylabs/delay");
|
|
133
134
|
var import_react_async_effect = require("@xylabs/react-async-effect");
|
134
135
|
var import_huri = require("@xyo-network/huri");
|
135
136
|
var import_payload_model = require("@xyo-network/payload-model");
|
136
|
-
var
|
137
|
-
var
|
138
|
-
|
139
|
-
const [
|
140
|
-
const [huri, setHuri] = (0, import_react3.useState)();
|
137
|
+
var import_react4 = __toESM(require("react"), 1);
|
138
|
+
var ResolvePayloadProvider = /* @__PURE__ */ __name(({ children, huriPayload }) => {
|
139
|
+
const [payload, setPayload] = (0, import_react4.useState)();
|
140
|
+
const [huri, setHuri] = (0, import_react4.useState)();
|
141
141
|
const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload();
|
142
|
-
(0,
|
142
|
+
(0, import_react4.useEffect)(() => {
|
143
143
|
typeof huriPayload === "string" ? setHuri(huriPayload) : void 0;
|
144
144
|
if (typeof huriPayload === "object") {
|
145
145
|
setPayload(huriPayload);
|
146
146
|
setRefreshPayload == null ? void 0 : setRefreshPayload(true);
|
147
147
|
}
|
148
|
-
}, [
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
} catch (e) {
|
165
|
-
const error = e;
|
166
|
-
setHuriError({ message: error.message, schema: import_payload_model.ModuleErrorSchema, sources: [] });
|
148
|
+
}, [
|
149
|
+
huriPayload,
|
150
|
+
setRefreshPayload
|
151
|
+
]);
|
152
|
+
const [notFound, setNotFound] = (0, import_react4.useState)();
|
153
|
+
const [huriError, setHuriError] = (0, import_react4.useState)();
|
154
|
+
(0, import_react_async_effect.useAsyncEffect)(async (mounted) => {
|
155
|
+
if (huri && !refreshPayload) {
|
156
|
+
try {
|
157
|
+
const huriInstance = new import_huri.Huri(huri);
|
158
|
+
const result = await huriInstance.fetch();
|
159
|
+
await (0, import_delay.delay)(500);
|
160
|
+
if (mounted()) {
|
161
|
+
setNotFound(result === null);
|
162
|
+
setPayload(result);
|
163
|
+
setRefreshPayload == null ? void 0 : setRefreshPayload(true);
|
167
164
|
}
|
165
|
+
} catch (e) {
|
166
|
+
const error = e;
|
167
|
+
setHuriError({
|
168
|
+
message: error.message,
|
169
|
+
schema: import_payload_model.ModuleErrorSchema,
|
170
|
+
sources: []
|
171
|
+
});
|
168
172
|
}
|
169
|
-
}
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
+
}
|
174
|
+
}, [
|
175
|
+
huri,
|
176
|
+
payload,
|
177
|
+
refreshPayload,
|
178
|
+
setRefreshPayload
|
179
|
+
]);
|
180
|
+
const refreshHuri = /* @__PURE__ */ __name(() => {
|
173
181
|
onRefresh == null ? void 0 : onRefresh();
|
174
182
|
if (huri) {
|
175
183
|
setRefreshPayload == null ? void 0 : setRefreshPayload(false);
|
176
184
|
}
|
177
|
-
};
|
178
|
-
return
|
179
|
-
|
185
|
+
}, "refreshHuri");
|
186
|
+
return (
|
187
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
188
|
+
/* @__PURE__ */ import_react4.default.createElement(ResolvePayloadContext.Provider, {
|
189
|
+
value: {
|
190
|
+
huri,
|
191
|
+
huriError,
|
192
|
+
notFound,
|
193
|
+
payload,
|
194
|
+
provided: true,
|
195
|
+
refreshHuri,
|
196
|
+
setPayload
|
197
|
+
}
|
198
|
+
}, children)
|
199
|
+
);
|
200
|
+
}, "ResolvePayloadProvider");
|
180
201
|
|
181
|
-
// src/contexts/ResolvePayloadContext/use.
|
202
|
+
// src/contexts/ResolvePayloadContext/use.ts
|
182
203
|
var import_react_shared7 = require("@xyo-network/react-shared");
|
183
|
-
var useResolvePayload = () => (0, import_react_shared7.useContextEx)(ResolvePayloadContext, "ResolvePayload", true);
|
204
|
+
var useResolvePayload = /* @__PURE__ */ __name(() => (0, import_react_shared7.useContextEx)(ResolvePayloadContext, "ResolvePayload", true), "useResolvePayload");
|
184
205
|
|
185
206
|
// src/contexts/ValidatePayloadContext/Provider.tsx
|
186
207
|
var import_material2 = require("@mui/material");
|
187
208
|
var import_react_async_effect2 = require("@xylabs/react-async-effect");
|
188
209
|
var import_schema_cache = require("@xyo-network/schema-cache");
|
189
|
-
var
|
210
|
+
var import_react5 = __toESM(require("react"), 1);
|
190
211
|
|
191
212
|
// src/contexts/ValidatePayloadContext/Context.ts
|
192
213
|
var import_react_shared8 = require("@xyo-network/react-shared");
|
193
214
|
var ValidatePayloadContext = (0, import_react_shared8.createContextEx)();
|
194
215
|
|
195
216
|
// src/contexts/ValidatePayloadContext/Provider.tsx
|
196
|
-
var
|
197
|
-
var ValidatePayloadProvider = ({ children, enabled = false }) => {
|
217
|
+
var ValidatePayloadProvider = /* @__PURE__ */ __name(({ children, enabled = false }) => {
|
198
218
|
const { payload } = useResolvePayload();
|
199
|
-
const [initialized, setInitialized] = (0,
|
200
|
-
const [valid, setValid] = (0,
|
201
|
-
(0, import_react_async_effect2.useAsyncEffect)(
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
const
|
207
|
-
|
208
|
-
const validator = import_schema_cache.SchemaCache.instance.validators[possibleKnownSchema];
|
209
|
-
setValid(validator == null ? void 0 : validator(payload));
|
210
|
-
}
|
211
|
-
setInitialized(true);
|
219
|
+
const [initialized, setInitialized] = (0, import_react5.useState)(false);
|
220
|
+
const [valid, setValid] = (0, import_react5.useState)();
|
221
|
+
(0, import_react_async_effect2.useAsyncEffect)(async () => {
|
222
|
+
if (payload && enabled) {
|
223
|
+
await import_schema_cache.SchemaCache.instance.get(payload.schema);
|
224
|
+
const possibleKnownSchema = payload.schema;
|
225
|
+
if (import_schema_cache.SchemaCache.instance.validators[possibleKnownSchema]) {
|
226
|
+
const validator = import_schema_cache.SchemaCache.instance.validators[possibleKnownSchema];
|
227
|
+
setValid(validator == null ? void 0 : validator(payload));
|
212
228
|
}
|
213
|
-
|
214
|
-
|
229
|
+
setInitialized(true);
|
230
|
+
}
|
231
|
+
}, [
|
232
|
+
payload,
|
233
|
+
enabled
|
234
|
+
]);
|
235
|
+
return (
|
236
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
237
|
+
/* @__PURE__ */ import_react5.default.createElement(ValidatePayloadContext.Provider, {
|
238
|
+
value: {
|
239
|
+
enabled,
|
240
|
+
provided: true,
|
241
|
+
schema: payload == null ? void 0 : payload.schema,
|
242
|
+
validPayload: valid
|
243
|
+
}
|
244
|
+
}, enabled ? /* @__PURE__ */ import_react5.default.createElement(import_react5.default.Fragment, null, initialized ? children : /* @__PURE__ */ import_react5.default.createElement(import_material2.Chip, {
|
245
|
+
label: "Validating Payload..."
|
246
|
+
})) : children)
|
215
247
|
);
|
216
|
-
|
217
|
-
};
|
248
|
+
}, "ValidatePayloadProvider");
|
218
249
|
|
219
|
-
// src/contexts/ValidatePayloadContext/use.
|
250
|
+
// src/contexts/ValidatePayloadContext/use.ts
|
220
251
|
var import_react_shared9 = require("@xyo-network/react-shared");
|
221
|
-
var useValidatePayload = () => (0, import_react_shared9.useContextEx)(ValidatePayloadContext, "ValidateSchema", true);
|
252
|
+
var useValidatePayload = /* @__PURE__ */ __name(() => (0, import_react_shared9.useContextEx)(ValidatePayloadContext, "ValidateSchema", true), "useValidatePayload");
|
222
253
|
|
223
254
|
// src/components/embed-card/menu/EmbedMenu.tsx
|
224
255
|
var import_icons_material2 = require("@mui/icons-material");
|
225
256
|
var import_material4 = require("@mui/material");
|
226
|
-
var
|
257
|
+
var import_react7 = __toESM(require("react"), 1);
|
227
258
|
|
228
259
|
// src/components/embed-card/menu/JsonMenuItem.tsx
|
229
260
|
var import_icons_material = require("@mui/icons-material");
|
230
261
|
var import_material3 = require("@mui/material");
|
231
|
-
var
|
232
|
-
var JsonMenuItem = (props) => {
|
262
|
+
var import_react6 = __toESM(require("react"), 1);
|
263
|
+
var JsonMenuItem = /* @__PURE__ */ __name((props) => {
|
233
264
|
const { huri } = useResolvePayload();
|
234
|
-
return /* @__PURE__ */
|
235
|
-
|
236
|
-
/* @__PURE__ */ (
|
237
|
-
|
238
|
-
}
|
265
|
+
return /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, huri ? /* @__PURE__ */ import_react6.default.createElement(import_material3.MenuItem, {
|
266
|
+
title: "Source Payload JSON",
|
267
|
+
onClick: /* @__PURE__ */ __name(() => window.open(huri, "_blank"), "onClick"),
|
268
|
+
...props
|
269
|
+
}, /* @__PURE__ */ import_react6.default.createElement(import_material3.ListItemText, {
|
270
|
+
sx: {
|
271
|
+
mr: 1
|
272
|
+
}
|
273
|
+
}, "JSON"), /* @__PURE__ */ import_react6.default.createElement(import_material3.ListItemIcon, {
|
274
|
+
sx: {
|
275
|
+
justifyContent: "end"
|
276
|
+
}
|
277
|
+
}, /* @__PURE__ */ import_react6.default.createElement(import_icons_material.OpenInNew, {
|
278
|
+
fontSize: "small"
|
279
|
+
}))) : null);
|
280
|
+
}, "JsonMenuItem");
|
239
281
|
|
240
282
|
// src/components/embed-card/menu/EmbedMenu.tsx
|
241
|
-
var
|
242
|
-
|
243
|
-
const [anchorEl, setAnchorEl] = (0, import_react5.useState)(null);
|
283
|
+
var EmbedMenu = /* @__PURE__ */ __name((props) => {
|
284
|
+
const [anchorEl, setAnchorEl] = (0, import_react7.useState)(null);
|
244
285
|
const open = Boolean(anchorEl);
|
245
|
-
const handleClick = (event) => {
|
286
|
+
const handleClick = /* @__PURE__ */ __name((event) => {
|
246
287
|
setAnchorEl(event.currentTarget);
|
247
|
-
};
|
248
|
-
const handleClose = () => {
|
288
|
+
}, "handleClick");
|
289
|
+
const handleClose = /* @__PURE__ */ __name(() => {
|
249
290
|
setAnchorEl(null);
|
250
|
-
};
|
251
|
-
return /* @__PURE__ */ (
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
291
|
+
}, "handleClose");
|
292
|
+
return /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement(import_material4.IconButton, {
|
293
|
+
onClick: handleClick,
|
294
|
+
...props
|
295
|
+
}, /* @__PURE__ */ import_react7.default.createElement(import_icons_material2.MoreVert, null)), /* @__PURE__ */ import_react7.default.createElement(import_material4.Menu, {
|
296
|
+
anchorEl,
|
297
|
+
open,
|
298
|
+
onClose: handleClose,
|
299
|
+
PaperProps: {
|
300
|
+
variant: "elevation"
|
301
|
+
},
|
302
|
+
MenuListProps: {
|
303
|
+
dense: true
|
304
|
+
}
|
305
|
+
}, /* @__PURE__ */ import_react7.default.createElement(JsonMenuItem, null)));
|
306
|
+
}, "EmbedMenu");
|
256
307
|
|
257
308
|
// src/components/embed-card/card/EmbedCardHeader.tsx
|
258
|
-
var
|
259
|
-
var EmbedCardHeader = () => {
|
309
|
+
var EmbedCardHeader = /* @__PURE__ */ __name(() => {
|
260
310
|
var _a;
|
261
311
|
const { refreshHuri, huri } = useResolvePayload();
|
262
312
|
const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
|
263
313
|
const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
|
264
314
|
const timestamp = Date.now();
|
265
|
-
return /* @__PURE__ */ (
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
315
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_material5.CardHeader, {
|
316
|
+
sx: {
|
317
|
+
flexWrap: "wrap",
|
318
|
+
rowGap: 1
|
319
|
+
},
|
320
|
+
avatar: hideAvatar ? /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null) : /* @__PURE__ */ import_react8.default.createElement(import_material5.Avatar, {
|
321
|
+
sx: {
|
322
|
+
bgcolor: /* @__PURE__ */ __name((theme) => theme.palette.primary.main, "bgcolor")
|
323
|
+
},
|
324
|
+
"aria-label": activePlugin == null ? void 0 : activePlugin.name
|
325
|
+
}, (_a = activePlugin == null ? void 0 : activePlugin.name) == null ? void 0 : _a.charAt(0)),
|
326
|
+
action: /* @__PURE__ */ import_react8.default.createElement(import_react_flexbox2.FlexRow, {
|
327
|
+
flexWrap: "wrap",
|
328
|
+
columnGap: 0.5
|
329
|
+
}, timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ import_react8.default.createElement(import_material5.Chip, {
|
330
|
+
avatar: hideRefreshButton ? /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null) : /* @__PURE__ */ import_react8.default.createElement(import_icons_material3.Refresh, null),
|
331
|
+
clickable: hideRefreshButton ? false : true,
|
332
|
+
onClick: refreshHuri,
|
333
|
+
label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
|
334
|
+
}) : null, hideCardActions || huri === void 0 ? null : /* @__PURE__ */ import_react8.default.createElement(EmbedMenu, null)),
|
335
|
+
title: hideTitle ? "" : activePlugin == null ? void 0 : activePlugin.name
|
336
|
+
});
|
337
|
+
}, "EmbedCardHeader");
|
286
338
|
|
287
339
|
// src/components/embed-card/card/EmbedPluginCard.tsx
|
288
340
|
var import_material9 = require("@mui/material");
|
289
341
|
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
290
342
|
var import_react_shared11 = require("@xyo-network/react-shared");
|
343
|
+
var import_react12 = __toESM(require("react"), 1);
|
291
344
|
|
292
345
|
// src/components/controls/EmbedFormControl.tsx
|
293
346
|
var import_material6 = require("@mui/material");
|
294
|
-
var
|
295
|
-
var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
|
296
|
-
return /* @__PURE__ */
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
};
|
347
|
+
var import_react9 = __toESM(require("react"), 1);
|
348
|
+
var EmbedFormControl = /* @__PURE__ */ __name(({ formId, formLabel, children, ...props }) => {
|
349
|
+
return /* @__PURE__ */ import_react9.default.createElement(import_material6.FormControl, props, /* @__PURE__ */ import_react9.default.createElement(import_material6.InputLabel, {
|
350
|
+
id: formId
|
351
|
+
}, formLabel), children);
|
352
|
+
}, "EmbedFormControl");
|
301
353
|
|
302
354
|
// src/components/controls/ListModeSelect.tsx
|
303
355
|
var import_material7 = require("@mui/material");
|
304
356
|
var import_react_select = require("@xylabs/react-select");
|
305
357
|
var import_react_shared10 = require("@xyo-network/react-shared");
|
306
|
-
var
|
358
|
+
var import_react10 = __toESM(require("react"), 1);
|
307
359
|
var listModeSelectId = "listmode-select-id";
|
308
360
|
var listModeSelectLabel = "List Mode";
|
309
|
-
var ListModeSelect = (props) => {
|
361
|
+
var ListModeSelect = /* @__PURE__ */ __name((props) => {
|
310
362
|
const { listMode, setListMode } = (0, import_react_shared10.useListMode)();
|
311
|
-
return /* @__PURE__ */ (
|
312
|
-
|
313
|
-
{
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
};
|
327
|
-
|
328
|
-
|
329
|
-
|
363
|
+
return /* @__PURE__ */ import_react10.default.createElement(import_react_select.SelectEx, {
|
364
|
+
value: listMode ?? "default",
|
365
|
+
onChange: /* @__PURE__ */ __name((event) => {
|
366
|
+
setListMode == null ? void 0 : setListMode(event.target.value);
|
367
|
+
}, "onChange"),
|
368
|
+
...props
|
369
|
+
}, /* @__PURE__ */ import_react10.default.createElement(import_material7.MenuItem, {
|
370
|
+
key: "default",
|
371
|
+
value: "default"
|
372
|
+
}, "Default"), /* @__PURE__ */ import_react10.default.createElement(import_material7.MenuItem, {
|
373
|
+
key: "table",
|
374
|
+
value: "table"
|
375
|
+
}, "Table"), /* @__PURE__ */ import_react10.default.createElement(import_material7.MenuItem, {
|
376
|
+
key: "grid",
|
377
|
+
value: "grid"
|
378
|
+
}, "Grid"));
|
379
|
+
}, "ListModeSelect");
|
380
|
+
var ListModeSelectFormControl = /* @__PURE__ */ __name((props) => {
|
381
|
+
return /* @__PURE__ */ import_react10.default.createElement(EmbedFormControl, {
|
382
|
+
formId: listModeSelectId,
|
383
|
+
formLabel: listModeSelectLabel
|
384
|
+
}, /* @__PURE__ */ import_react10.default.createElement(ListModeSelect, {
|
385
|
+
size: "small",
|
386
|
+
label: listModeSelectLabel,
|
387
|
+
labelId: listModeSelectId,
|
388
|
+
...props
|
389
|
+
}));
|
390
|
+
}, "ListModeSelectFormControl");
|
330
391
|
|
331
392
|
// src/components/controls/RenderSelect.tsx
|
332
393
|
var import_material8 = require("@mui/material");
|
333
394
|
var import_react_select2 = require("@xylabs/react-select");
|
334
|
-
var
|
395
|
+
var import_react11 = __toESM(require("react"), 1);
|
335
396
|
var renderSelectId = "render-select-id";
|
336
397
|
var renderSelectLabel = "Renderer";
|
337
|
-
var EmbedRenderSelect = (props) => {
|
398
|
+
var EmbedRenderSelect = /* @__PURE__ */ __name((props) => {
|
338
399
|
const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
|
339
|
-
return /* @__PURE__ */
|
340
|
-
|
400
|
+
return /* @__PURE__ */ import_react11.default.createElement(EmbedFormControl, {
|
401
|
+
formId: renderSelectId,
|
402
|
+
formLabel: renderSelectLabel
|
403
|
+
}, /* @__PURE__ */ import_react11.default.createElement(import_react_select2.SelectEx, {
|
404
|
+
size: "small",
|
405
|
+
value: activePlugin == null ? void 0 : activePlugin.name,
|
406
|
+
...props
|
407
|
+
}, plugins == null ? void 0 : plugins.map((plugin) => /* @__PURE__ */ import_react11.default.createElement(import_material8.MenuItem, {
|
408
|
+
value: plugin.name,
|
409
|
+
key: plugin.name,
|
410
|
+
onClick: /* @__PURE__ */ __name(() => setActivePlugin == null ? void 0 : setActivePlugin(plugin), "onClick")
|
411
|
+
}, plugin.name))));
|
412
|
+
}, "EmbedRenderSelect");
|
341
413
|
|
342
414
|
// src/components/embed-card/card/EmbedPluginCard.tsx
|
343
|
-
var
|
344
|
-
var EmbedPluginCard = ({ ...props }) => {
|
415
|
+
var EmbedPluginCard = /* @__PURE__ */ __name(({ ...props }) => {
|
345
416
|
var _a, _b, _c;
|
346
417
|
const { payload } = useResolvePayload();
|
347
418
|
const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
|
348
419
|
const { listMode } = (0, import_react_shared11.useListMode)();
|
349
420
|
const supportsListMode = ((_c = (_b = (_a = ActivePlugin == null ? void 0 : ActivePlugin.components) == null ? void 0 : _a.box) == null ? void 0 : _b.listModes) == null ? void 0 : _c.length) ?? 0 > 1;
|
350
|
-
return /* @__PURE__ */ (
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
}
|
421
|
+
return /* @__PURE__ */ import_react12.default.createElement(BusyCard, props, (hideElementsConfig == null ? void 0 : hideElementsConfig.hideCardHeader) ? null : /* @__PURE__ */ import_react12.default.createElement(EmbedCardHeader, null), plugins && plugins.length > 0 || supportsListMode ? /* @__PURE__ */ import_react12.default.createElement(import_react_flexbox3.FlexGrowRow, {
|
422
|
+
columnGap: 2,
|
423
|
+
rowGap: 2,
|
424
|
+
flexWrap: "wrap",
|
425
|
+
pb: 1
|
426
|
+
}, plugins && plugins.length > 1 ? /* @__PURE__ */ import_react12.default.createElement(EmbedRenderSelect, null) : null, supportsListMode ? /* @__PURE__ */ import_react12.default.createElement(ListModeSelectFormControl, null) : null) : null, /* @__PURE__ */ import_react12.default.createElement(import_material9.CardContent, {
|
427
|
+
sx: {
|
428
|
+
height: "100%"
|
429
|
+
}
|
430
|
+
}, ActivePlugin ? /* @__PURE__ */ import_react12.default.createElement(ActivePlugin.components.box.detailsBox, {
|
431
|
+
payload,
|
432
|
+
...supportsListMode && {
|
433
|
+
listMode
|
434
|
+
}
|
435
|
+
}) : null));
|
436
|
+
}, "EmbedPluginCard");
|
359
437
|
|
360
438
|
// src/components/embed-card/EmbedPluginCard.tsx
|
361
439
|
var import_material13 = require("@mui/material");
|
440
|
+
var import_react19 = __toESM(require("react"), 1);
|
362
441
|
|
363
442
|
// src/components/EmbedPlugin.tsx
|
364
443
|
var import_react_shared13 = require("@xyo-network/react-shared");
|
444
|
+
var import_react16 = __toESM(require("react"), 1);
|
365
445
|
|
366
446
|
// src/components/EmbedResolver.tsx
|
367
447
|
var import_react_shared12 = require("@xyo-network/react-shared");
|
368
|
-
var
|
369
|
-
var EmbedResolver = ({ children }) => {
|
448
|
+
var import_react13 = __toESM(require("react"), 1);
|
449
|
+
var EmbedResolver = /* @__PURE__ */ __name(({ children }) => {
|
370
450
|
const { payload, notFound, huriError } = useResolvePayload();
|
371
|
-
return /* @__PURE__ */
|
372
|
-
|
451
|
+
return /* @__PURE__ */ import_react13.default.createElement(import_react_shared12.LoadResult, {
|
452
|
+
searchResult: payload,
|
453
|
+
notFound: !!notFound,
|
454
|
+
error: !!huriError
|
455
|
+
}, children);
|
456
|
+
}, "EmbedResolver");
|
373
457
|
|
374
458
|
// src/components/validation-alerts/ValidatePayload.tsx
|
375
459
|
var import_material10 = require("@mui/material");
|
376
|
-
var
|
377
|
-
var ValidatePayloadAlert = ({ children, ...props }) => {
|
460
|
+
var import_react14 = __toESM(require("react"), 1);
|
461
|
+
var ValidatePayloadAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
|
378
462
|
const { validPayload, enabled, schema } = useValidatePayload();
|
379
463
|
if (enabled && validPayload === false) {
|
380
|
-
return /* @__PURE__ */
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
464
|
+
return /* @__PURE__ */ import_react14.default.createElement(import_material10.Alert, {
|
465
|
+
severity: "error",
|
466
|
+
title: "Invalid Payload!",
|
467
|
+
...props
|
468
|
+
}, "Payload schema claimed to be", " ", schema, " ", "but failed to validate.");
|
385
469
|
}
|
386
|
-
return /* @__PURE__ */
|
387
|
-
};
|
470
|
+
return /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, children);
|
471
|
+
}, "ValidatePayloadAlert");
|
388
472
|
|
389
473
|
// src/components/validation-alerts/ValidatePlugins.tsx
|
390
474
|
var import_material11 = require("@mui/material");
|
391
|
-
var
|
392
|
-
var ValidatePluginsAlert = ({ children, ...props }) => {
|
475
|
+
var import_react15 = __toESM(require("react"), 1);
|
476
|
+
var ValidatePluginsAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
|
393
477
|
const { payload } = useResolvePayload();
|
394
478
|
const { plugins } = useEmbedPluginState();
|
395
479
|
if (payload && (plugins == null ? void 0 : plugins.length) === 0) {
|
396
|
-
return /* @__PURE__ */
|
397
|
-
|
398
|
-
|
399
|
-
|
480
|
+
return /* @__PURE__ */ import_react15.default.createElement(import_material11.Alert, {
|
481
|
+
severity: "warning",
|
482
|
+
...props
|
483
|
+
}, /* @__PURE__ */ import_react15.default.createElement(import_material11.AlertTitle, null, "Missing plugins!"), "Payload found but no plugins were present.");
|
400
484
|
}
|
401
|
-
return /* @__PURE__ */
|
402
|
-
};
|
485
|
+
return /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, children);
|
486
|
+
}, "ValidatePluginsAlert");
|
403
487
|
|
404
488
|
// src/components/EmbedPlugin.tsx
|
405
|
-
var
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
}
|
429
|
-
|
430
|
-
|
431
|
-
};
|
432
|
-
|
433
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ValidatePayloadProvider, { enabled: validateSchema, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ValidatePluginsAlert, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ValidatePayloadAlert, { children }) }) });
|
434
|
-
};
|
489
|
+
var EmbedPluginInner = /* @__PURE__ */ __name(({ validateSchema, plugins, huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, children }) => {
|
490
|
+
return /* @__PURE__ */ import_react16.default.createElement(import_react_shared13.ErrorBoundary, null, /* @__PURE__ */ import_react16.default.createElement(EmbedPluginProvider, {
|
491
|
+
refreshTitle,
|
492
|
+
timestampLabel,
|
493
|
+
hideElementsConfig,
|
494
|
+
plugins,
|
495
|
+
embedPluginConfig
|
496
|
+
}, /* @__PURE__ */ import_react16.default.createElement(WithResolvers, {
|
497
|
+
onRefresh,
|
498
|
+
huriPayload
|
499
|
+
}, /* @__PURE__ */ import_react16.default.createElement(WithValidators, {
|
500
|
+
validateSchema
|
501
|
+
}, /* @__PURE__ */ import_react16.default.createElement(import_react_shared13.ListModeProvider, {
|
502
|
+
defaultListMode: embedPluginConfig == null ? void 0 : embedPluginConfig.listMode
|
503
|
+
}, children)))));
|
504
|
+
}, "EmbedPluginInner");
|
505
|
+
var WithResolvers = /* @__PURE__ */ __name(({ children, onRefresh, huriPayload }) => {
|
506
|
+
return /* @__PURE__ */ import_react16.default.createElement(RefreshPayloadProvider, {
|
507
|
+
onRefresh
|
508
|
+
}, /* @__PURE__ */ import_react16.default.createElement(ResolvePayloadProvider, {
|
509
|
+
huriPayload
|
510
|
+
}, /* @__PURE__ */ import_react16.default.createElement(EmbedResolver, null, children)));
|
511
|
+
}, "WithResolvers");
|
512
|
+
var WithValidators = /* @__PURE__ */ __name(({ children, validateSchema }) => {
|
513
|
+
return /* @__PURE__ */ import_react16.default.createElement(ValidatePayloadProvider, {
|
514
|
+
enabled: validateSchema
|
515
|
+
}, /* @__PURE__ */ import_react16.default.createElement(ValidatePluginsAlert, null, /* @__PURE__ */ import_react16.default.createElement(ValidatePayloadAlert, null, children)));
|
516
|
+
}, "WithValidators");
|
435
517
|
|
436
518
|
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
437
519
|
var import_react_error = require("@xyo-network/react-error");
|
520
|
+
var import_react18 = __toESM(require("react"), 1);
|
438
521
|
|
439
522
|
// src/components/embed-card/error-handling/EmbedErrorCard.tsx
|
440
523
|
var import_material12 = require("@mui/material");
|
441
|
-
var
|
442
|
-
var EmbedErrorCard = (props) => {
|
524
|
+
var import_react17 = __toESM(require("react"), 1);
|
525
|
+
var EmbedErrorCard = /* @__PURE__ */ __name((props) => {
|
443
526
|
const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props;
|
444
|
-
const errorProps = {
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
527
|
+
const errorProps = {
|
528
|
+
alertProps,
|
529
|
+
error,
|
530
|
+
hideErrorDetails,
|
531
|
+
scope
|
532
|
+
};
|
533
|
+
return /* @__PURE__ */ import_react17.default.createElement(import_material12.Card, cardProps, /* @__PURE__ */ import_react17.default.createElement(import_material12.CardContent, null, children ?? /* @__PURE__ */ import_react17.default.createElement(DefaultErrorAlert, errorProps)));
|
534
|
+
}, "EmbedErrorCard");
|
535
|
+
var DefaultErrorAlert = /* @__PURE__ */ __name(({ alertProps, scope, hideErrorDetails, error }) => {
|
536
|
+
return /* @__PURE__ */ import_react17.default.createElement(import_material12.Alert, {
|
537
|
+
severity: "error",
|
538
|
+
...alertProps
|
539
|
+
}, /* @__PURE__ */ import_react17.default.createElement(import_material12.AlertTitle, null, "Whoops! Something went wrong"), scope ? /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
540
|
+
variant: "caption"
|
541
|
+
}, "Scope:", scope) : null, !hideErrorDetails && error ? /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
542
|
+
variant: "caption"
|
543
|
+
}, "Error: "), /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
544
|
+
variant: "caption"
|
545
|
+
}, error == null ? void 0 : error.message)) : /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
546
|
+
variant: "caption",
|
547
|
+
fontSize: "small"
|
548
|
+
}, "Error Loading Plugin"));
|
549
|
+
}, "DefaultErrorAlert");
|
460
550
|
|
461
551
|
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
462
|
-
var
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
552
|
+
var EmbedCardApiErrorRenderer = /* @__PURE__ */ __name(({ xyoError, children, ...props }) => {
|
553
|
+
return /* @__PURE__ */ import_react18.default.createElement(import_react_error.ErrorRender, {
|
554
|
+
error: xyoError,
|
555
|
+
noReAuth: true,
|
556
|
+
noErrorDisplay: true,
|
557
|
+
customError: /* @__PURE__ */ import_react18.default.createElement(CustomApiErrorCard, {
|
558
|
+
xyoError,
|
559
|
+
...props
|
560
|
+
})
|
561
|
+
}, children);
|
562
|
+
}, "EmbedCardApiErrorRenderer");
|
563
|
+
var CustomApiErrorCard = /* @__PURE__ */ __name(({ xyoError, ...props }) => {
|
564
|
+
return /* @__PURE__ */ import_react18.default.createElement(EmbedErrorCard, props, /* @__PURE__ */ import_react18.default.createElement(import_react_error.ErrorAlert, {
|
565
|
+
error: xyoError
|
566
|
+
}));
|
567
|
+
}, "CustomApiErrorCard");
|
469
568
|
|
470
569
|
// src/components/embed-card/EmbedPluginCard.tsx
|
471
|
-
var
|
472
|
-
|
473
|
-
|
474
|
-
validateSchema,
|
475
|
-
plugins = [],
|
476
|
-
huriPayload,
|
477
|
-
refreshTitle = "",
|
478
|
-
timestampLabel = "Data From",
|
479
|
-
hideElementsConfig,
|
570
|
+
var ApiEmbedPluginCard = /* @__PURE__ */ __name(({ children, ...props }) => {
|
571
|
+
const { validateSchema, plugins = [], huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, ...busyCardProps } = props;
|
572
|
+
return /* @__PURE__ */ import_react19.default.createElement(EmbedPluginInner, {
|
480
573
|
embedPluginConfig,
|
574
|
+
hideElementsConfig,
|
575
|
+
huriPayload,
|
481
576
|
onRefresh,
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
hideElementsConfig,
|
490
|
-
huriPayload,
|
491
|
-
onRefresh,
|
492
|
-
plugins,
|
493
|
-
refreshTitle,
|
494
|
-
timestampLabel,
|
495
|
-
validateSchema
|
496
|
-
},
|
497
|
-
children: [
|
498
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(EmbedPluginCardInner, { ...busyCardProps }),
|
499
|
-
children
|
500
|
-
]
|
501
|
-
}
|
502
|
-
);
|
503
|
-
};
|
504
|
-
var EmbedPluginCardInner = (props) => {
|
577
|
+
plugins,
|
578
|
+
refreshTitle,
|
579
|
+
timestampLabel,
|
580
|
+
validateSchema
|
581
|
+
}, /* @__PURE__ */ import_react19.default.createElement(EmbedPluginCardInner, busyCardProps), children);
|
582
|
+
}, "ApiEmbedPluginCard");
|
583
|
+
var EmbedPluginCardInner = /* @__PURE__ */ __name((props) => {
|
505
584
|
const { payload, huriError } = useResolvePayload();
|
506
585
|
const { refreshPayload } = useRefreshPayload();
|
507
586
|
const theme = (0, import_material13.useTheme)();
|
508
|
-
return /* @__PURE__ */
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
}
|
587
|
+
return /* @__PURE__ */ import_react19.default.createElement(EmbedCardApiErrorRenderer, {
|
588
|
+
xyoError: huriError
|
589
|
+
}, /* @__PURE__ */ import_react19.default.createElement(EmbedPluginCard, {
|
590
|
+
elevation: 3,
|
591
|
+
variant: "elevation",
|
592
|
+
busy: Boolean(!refreshPayload && payload),
|
593
|
+
busyVariantProps: {
|
594
|
+
style: {
|
595
|
+
alignItems: "start",
|
596
|
+
paddingTop: theme.spacing(2),
|
597
|
+
zIndex: 2
|
598
|
+
}
|
599
|
+
},
|
600
|
+
sx: {
|
601
|
+
position: "relative"
|
602
|
+
},
|
603
|
+
...props
|
604
|
+
}));
|
605
|
+
}, "EmbedPluginCardInner");
|
520
606
|
// Annotate the CommonJS export names for ESM import in node:
|
521
607
|
0 && (module.exports = {
|
522
608
|
ApiEmbedPluginCard,
|