@xyo-network/react-embed 2.81.9 → 2.82.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/EmbedPlugin.d.cts +2 -1
- package/dist/browser/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/browser/components/EmbedPlugin.d.mts +2 -1
- package/dist/browser/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/browser/components/EmbedPlugin.d.ts +2 -1
- package/dist/browser/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.cts +1 -0
- package/dist/browser/components/EmbedResolver.d.cts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.mts +1 -0
- package/dist/browser/components/EmbedResolver.d.mts.map +1 -1
- package/dist/browser/components/EmbedResolver.d.ts +1 -0
- package/dist/browser/components/EmbedResolver.d.ts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/browser/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.cts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.mts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/browser/components/controls/RenderSelect.d.ts +1 -0
- package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/browser/components/controls/index.d.cts +3 -3
- package/dist/browser/components/controls/index.d.cts.map +1 -1
- package/dist/browser/components/controls/index.d.mts +3 -3
- package/dist/browser/components/controls/index.d.mts.map +1 -1
- package/dist/browser/components/controls/index.d.ts +3 -3
- package/dist/browser/components/controls/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.cts +3 -3
- package/dist/browser/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.mts +3 -3
- package/dist/browser/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/card/index.d.ts +3 -3
- package/dist/browser/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/index.d.cts +2 -2
- package/dist/browser/components/embed-card/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/index.d.mts +2 -2
- package/dist/browser/components/embed-card/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/index.d.ts +2 -2
- package/dist/browser/components/embed-card/index.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.cts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.mts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/browser/components/embed-card/menu/index.d.ts +1 -1
- package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/browser/components/index.d.cts +2 -2
- package/dist/browser/components/index.d.cts.map +1 -1
- package/dist/browser/components/index.d.mts +2 -2
- package/dist/browser/components/index.d.mts.map +1 -1
- package/dist/browser/components/index.d.ts +2 -2
- package/dist/browser/components/index.d.ts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.cts +1 -1
- package/dist/browser/components/stories/storyShared.d.cts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.mts +1 -1
- package/dist/browser/components/stories/storyShared.d.mts.map +1 -1
- package/dist/browser/components/stories/storyShared.d.ts +1 -1
- package/dist/browser/components/stories/storyShared.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.cts +2 -2
- package/dist/browser/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.mts +2 -2
- package/dist/browser/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/browser/components/validation-alerts/index.d.ts +2 -2
- package/dist/browser/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/browser/contexts/index.d.cts +4 -4
- package/dist/browser/contexts/index.d.mts +4 -4
- package/dist/browser/contexts/index.d.ts +4 -4
- package/dist/browser/index.cjs +403 -317
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +3 -3
- package/dist/browser/index.d.mts +3 -3
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.mjs +573 -0
- package/dist/browser/index.mjs.map +1 -0
- package/dist/browser/types/EmbedPluginProps.d.cts +1 -1
- package/dist/browser/types/EmbedPluginProps.d.mts +1 -1
- package/dist/browser/types/EmbedPluginProps.d.ts +1 -1
- package/dist/browser/types/index.d.cts +1 -1
- package/dist/browser/types/index.d.mts +1 -1
- package/dist/browser/types/index.d.ts +1 -1
- package/dist/neutral/components/EmbedPlugin.d.cts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/neutral/components/EmbedPlugin.d.mts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/neutral/components/EmbedPlugin.d.ts +2 -1
- package/dist/neutral/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.cts +1 -0
- package/dist/neutral/components/EmbedResolver.d.cts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.mts +1 -0
- package/dist/neutral/components/EmbedResolver.d.mts.map +1 -1
- package/dist/neutral/components/EmbedResolver.d.ts +1 -0
- package/dist/neutral/components/EmbedResolver.d.ts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/neutral/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/neutral/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.cts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.mts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/neutral/components/controls/RenderSelect.d.ts +1 -0
- package/dist/neutral/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/neutral/components/controls/index.d.cts +3 -3
- package/dist/neutral/components/controls/index.d.cts.map +1 -1
- package/dist/neutral/components/controls/index.d.mts +3 -3
- package/dist/neutral/components/controls/index.d.mts.map +1 -1
- package/dist/neutral/components/controls/index.d.ts +3 -3
- package/dist/neutral/components/controls/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.cts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.mts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/card/index.d.ts +3 -3
- package/dist/neutral/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.cts +2 -2
- package/dist/neutral/components/embed-card/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.mts +2 -2
- package/dist/neutral/components/embed-card/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/index.d.ts +2 -2
- package/dist/neutral/components/embed-card/index.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts +1 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/neutral/components/index.d.cts +2 -2
- package/dist/neutral/components/index.d.cts.map +1 -1
- package/dist/neutral/components/index.d.mts +2 -2
- package/dist/neutral/components/index.d.mts.map +1 -1
- package/dist/neutral/components/index.d.ts +2 -2
- package/dist/neutral/components/index.d.ts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.cts +1 -1
- package/dist/neutral/components/stories/storyShared.d.cts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.mts +1 -1
- package/dist/neutral/components/stories/storyShared.d.mts.map +1 -1
- package/dist/neutral/components/stories/storyShared.d.ts +1 -1
- package/dist/neutral/components/stories/storyShared.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.cts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.mts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/neutral/components/validation-alerts/index.d.ts +2 -2
- package/dist/neutral/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/neutral/contexts/index.d.cts +4 -4
- package/dist/neutral/contexts/index.d.mts +4 -4
- package/dist/neutral/contexts/index.d.ts +4 -4
- package/dist/neutral/index.cjs +403 -317
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +3 -3
- package/dist/neutral/index.d.mts +3 -3
- package/dist/neutral/index.d.ts +3 -3
- package/dist/neutral/index.mjs +573 -0
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/neutral/types/EmbedPluginProps.d.cts +1 -1
- package/dist/neutral/types/EmbedPluginProps.d.mts +1 -1
- package/dist/neutral/types/EmbedPluginProps.d.ts +1 -1
- package/dist/neutral/types/index.d.cts +1 -1
- package/dist/neutral/types/index.d.mts +1 -1
- package/dist/neutral/types/index.d.ts +1 -1
- package/dist/node/components/EmbedPlugin.d.cts +2 -1
- package/dist/node/components/EmbedPlugin.d.cts.map +1 -1
- package/dist/node/components/EmbedPlugin.d.mts +2 -1
- package/dist/node/components/EmbedPlugin.d.mts.map +1 -1
- package/dist/node/components/EmbedPlugin.d.ts +2 -1
- package/dist/node/components/EmbedPlugin.d.ts.map +1 -1
- package/dist/node/components/EmbedResolver.d.cts +1 -0
- package/dist/node/components/EmbedResolver.d.cts.map +1 -1
- package/dist/node/components/EmbedResolver.d.mts +1 -0
- package/dist/node/components/EmbedResolver.d.mts.map +1 -1
- package/dist/node/components/EmbedResolver.d.ts +1 -0
- package/dist/node/components/EmbedResolver.d.ts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.cts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.mts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.d.ts +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.cts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.mts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -1
- package/dist/node/components/controls/ListModeSelect.d.ts +1 -0
- package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.cts +1 -0
- package/dist/node/components/controls/RenderSelect.d.cts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.mts +1 -0
- package/dist/node/components/controls/RenderSelect.d.mts.map +1 -1
- package/dist/node/components/controls/RenderSelect.d.ts +1 -0
- package/dist/node/components/controls/RenderSelect.d.ts.map +1 -1
- package/dist/node/components/controls/index.d.cts +3 -3
- package/dist/node/components/controls/index.d.cts.map +1 -1
- package/dist/node/components/controls/index.d.mts +3 -3
- package/dist/node/components/controls/index.d.mts.map +1 -1
- package/dist/node/components/controls/index.d.ts +3 -3
- package/dist/node/components/controls/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts +4 -3
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.cts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.mts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.d.ts +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +2 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.cts +3 -3
- package/dist/node/components/embed-card/card/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.mts +3 -3
- package/dist/node/components/embed-card/card/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/card/index.d.ts +3 -3
- package/dist/node/components/embed-card/card/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.cts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.mts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.d.ts +2 -2
- package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/index.d.cts +2 -2
- package/dist/node/components/embed-card/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/index.d.mts +2 -2
- package/dist/node/components/embed-card/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/index.d.ts +2 -2
- package/dist/node/components/embed-card/index.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.cts +1 -1
- package/dist/node/components/embed-card/menu/index.d.cts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.mts +1 -1
- package/dist/node/components/embed-card/menu/index.d.mts.map +1 -1
- package/dist/node/components/embed-card/menu/index.d.ts +1 -1
- package/dist/node/components/embed-card/menu/index.d.ts.map +1 -1
- package/dist/node/components/index.d.cts +2 -2
- package/dist/node/components/index.d.cts.map +1 -1
- package/dist/node/components/index.d.mts +2 -2
- package/dist/node/components/index.d.mts.map +1 -1
- package/dist/node/components/index.d.ts +2 -2
- package/dist/node/components/index.d.ts.map +1 -1
- package/dist/node/components/stories/storyShared.d.cts +1 -1
- package/dist/node/components/stories/storyShared.d.cts.map +1 -1
- package/dist/node/components/stories/storyShared.d.mts +1 -1
- package/dist/node/components/stories/storyShared.d.mts.map +1 -1
- package/dist/node/components/stories/storyShared.d.ts +1 -1
- package/dist/node/components/stories/storyShared.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.cts +2 -2
- package/dist/node/components/validation-alerts/index.d.cts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.mts +2 -2
- package/dist/node/components/validation-alerts/index.d.mts.map +1 -1
- package/dist/node/components/validation-alerts/index.d.ts +2 -2
- package/dist/node/components/validation-alerts/index.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +2 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.cts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.mts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.ts +4 -4
- package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts +3 -3
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +2 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts +4 -4
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts +3 -3
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/dist/node/contexts/index.d.cts +4 -4
- package/dist/node/contexts/index.d.mts +4 -4
- package/dist/node/contexts/index.d.ts +4 -4
- package/dist/node/index.cjs +403 -317
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +3 -3
- package/dist/node/index.d.mts +3 -3
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.mjs +575 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/types/EmbedPluginProps.d.cts +1 -1
- package/dist/node/types/EmbedPluginProps.d.mts +1 -1
- package/dist/node/types/EmbedPluginProps.d.ts +1 -1
- package/dist/node/types/index.d.cts +1 -1
- package/dist/node/types/index.d.mts +1 -1
- package/dist/node/types/index.d.ts +1 -1
- package/package.json +25 -25
- package/src/components/EmbedPlugin.tsx +6 -5
- package/src/components/EmbedResolver.tsx +2 -1
- package/src/components/controls/EmbedFormControl.tsx +1 -0
- package/src/components/controls/ListModeSelect.tsx +2 -1
- package/src/components/controls/RenderSelect.tsx +4 -3
- package/src/components/controls/index.ts +3 -3
- package/src/components/embed-card/EmbedCardResolver.tsx +3 -2
- package/src/components/embed-card/EmbedPluginCard.tsx +7 -6
- package/src/components/embed-card/card/BusyCard.tsx +7 -6
- package/src/components/embed-card/card/EmbedCardHeader.tsx +25 -20
- package/src/components/embed-card/card/EmbedPluginCard.tsx +20 -17
- package/src/components/embed-card/card/index.ts +3 -3
- package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +2 -1
- package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +21 -12
- package/src/components/embed-card/error-handling/index.ts +2 -2
- package/src/components/embed-card/index.ts +2 -2
- package/src/components/embed-card/menu/EmbedMenu.tsx +2 -2
- package/src/components/embed-card/menu/JsonMenuItem.tsx +12 -9
- package/src/components/embed-card/menu/index.ts +1 -1
- package/src/components/index.ts +2 -2
- package/src/components/stories/XyoEmbedPlugin.examples.stories.tsx +1 -2
- package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +2 -3
- package/src/components/stories/storyShared.tsx +2 -1
- package/src/components/validation-alerts/ValidatePayload.tsx +7 -2
- package/src/components/validation-alerts/ValidatePlugins.tsx +4 -2
- package/src/components/validation-alerts/index.ts +2 -2
- package/src/contexts/EmbedPluginContext/{Context.tsx → Context.ts} +1 -1
- package/src/contexts/EmbedPluginContext/Provider.tsx +4 -3
- package/src/contexts/EmbedPluginContext/index.ts +4 -4
- package/src/contexts/EmbedPluginContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/RefreshPayloadContext/{Context.tsx → Context.ts} +1 -1
- package/src/contexts/RefreshPayloadContext/Provider.tsx +3 -2
- package/src/contexts/RefreshPayloadContext/index.ts +3 -3
- package/src/contexts/RefreshPayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/ResolvePayloadContext/Context.ts +1 -1
- package/src/contexts/ResolvePayloadContext/Provider.tsx +6 -5
- package/src/contexts/ResolvePayloadContext/index.ts +4 -4
- package/src/contexts/ResolvePayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/ValidatePayloadContext/Context.ts +1 -1
- package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +6 -6
- package/src/contexts/ValidatePayloadContext/Provider.tsx +7 -7
- package/src/contexts/ValidatePayloadContext/index.ts +3 -3
- package/src/contexts/ValidatePayloadContext/{use.tsx → use.ts} +1 -1
- package/src/contexts/index.ts +4 -4
- package/src/index.ts +3 -3
- package/src/types/EmbedPluginProps.ts +1 -1
- package/src/types/index.ts +1 -1
- package/dist/browser/index.js +0 -498
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/index.js +0 -498
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/index.js +0 -500
- package/dist/node/index.js.map +0 -1
package/dist/browser/index.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,386 +134,471 @@ 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?.(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?.(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?.();
|
174
182
|
if (huri) {
|
175
183
|
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?.(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?.(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?.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
|
const { refreshHuri, huri } = useResolvePayload();
|
261
311
|
const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
|
262
312
|
const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
|
263
313
|
const timestamp = Date.now();
|
264
|
-
return /* @__PURE__ */ (
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
314
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_material5.CardHeader, {
|
315
|
+
sx: {
|
316
|
+
flexWrap: "wrap",
|
317
|
+
rowGap: 1
|
318
|
+
},
|
319
|
+
avatar: hideAvatar ? /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null) : /* @__PURE__ */ import_react8.default.createElement(import_material5.Avatar, {
|
320
|
+
sx: {
|
321
|
+
bgcolor: /* @__PURE__ */ __name((theme) => theme.palette.primary.main, "bgcolor")
|
322
|
+
},
|
323
|
+
"aria-label": activePlugin?.name
|
324
|
+
}, activePlugin?.name?.charAt(0)),
|
325
|
+
action: /* @__PURE__ */ import_react8.default.createElement(import_react_flexbox2.FlexRow, {
|
326
|
+
flexWrap: "wrap",
|
327
|
+
columnGap: 0.5
|
328
|
+
}, timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ import_react8.default.createElement(import_material5.Chip, {
|
329
|
+
avatar: hideRefreshButton ? /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null) : /* @__PURE__ */ import_react8.default.createElement(import_icons_material3.Refresh, null),
|
330
|
+
clickable: hideRefreshButton ? false : true,
|
331
|
+
onClick: refreshHuri,
|
332
|
+
label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
|
333
|
+
}) : null, hideCardActions || huri === void 0 ? null : /* @__PURE__ */ import_react8.default.createElement(EmbedMenu, null)),
|
334
|
+
title: hideTitle ? "" : activePlugin?.name
|
335
|
+
});
|
336
|
+
}, "EmbedCardHeader");
|
285
337
|
|
286
338
|
// src/components/embed-card/card/EmbedPluginCard.tsx
|
287
339
|
var import_material9 = require("@mui/material");
|
288
340
|
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
289
341
|
var import_react_shared11 = require("@xyo-network/react-shared");
|
342
|
+
var import_react12 = __toESM(require("react"), 1);
|
290
343
|
|
291
344
|
// src/components/controls/EmbedFormControl.tsx
|
292
345
|
var import_material6 = require("@mui/material");
|
293
|
-
var
|
294
|
-
var EmbedFormControl = ({ formId, formLabel, children, ...props }) => {
|
295
|
-
return /* @__PURE__ */
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
};
|
346
|
+
var import_react9 = __toESM(require("react"), 1);
|
347
|
+
var EmbedFormControl = /* @__PURE__ */ __name(({ formId, formLabel, children, ...props }) => {
|
348
|
+
return /* @__PURE__ */ import_react9.default.createElement(import_material6.FormControl, props, /* @__PURE__ */ import_react9.default.createElement(import_material6.InputLabel, {
|
349
|
+
id: formId
|
350
|
+
}, formLabel), children);
|
351
|
+
}, "EmbedFormControl");
|
300
352
|
|
301
353
|
// src/components/controls/ListModeSelect.tsx
|
302
354
|
var import_material7 = require("@mui/material");
|
303
355
|
var import_react_select = require("@xylabs/react-select");
|
304
356
|
var import_react_shared10 = require("@xyo-network/react-shared");
|
305
|
-
var
|
357
|
+
var import_react10 = __toESM(require("react"), 1);
|
306
358
|
var listModeSelectId = "listmode-select-id";
|
307
359
|
var listModeSelectLabel = "List Mode";
|
308
|
-
var ListModeSelect = (props) => {
|
360
|
+
var ListModeSelect = /* @__PURE__ */ __name((props) => {
|
309
361
|
const { listMode, setListMode } = (0, import_react_shared10.useListMode)();
|
310
|
-
return /* @__PURE__ */ (
|
311
|
-
|
312
|
-
{
|
313
|
-
value
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
};
|
326
|
-
|
327
|
-
|
328
|
-
|
362
|
+
return /* @__PURE__ */ import_react10.default.createElement(import_react_select.SelectEx, {
|
363
|
+
value: listMode ?? "default",
|
364
|
+
onChange: /* @__PURE__ */ __name((event) => {
|
365
|
+
setListMode?.(event.target.value);
|
366
|
+
}, "onChange"),
|
367
|
+
...props
|
368
|
+
}, /* @__PURE__ */ import_react10.default.createElement(import_material7.MenuItem, {
|
369
|
+
key: "default",
|
370
|
+
value: "default"
|
371
|
+
}, "Default"), /* @__PURE__ */ import_react10.default.createElement(import_material7.MenuItem, {
|
372
|
+
key: "table",
|
373
|
+
value: "table"
|
374
|
+
}, "Table"), /* @__PURE__ */ import_react10.default.createElement(import_material7.MenuItem, {
|
375
|
+
key: "grid",
|
376
|
+
value: "grid"
|
377
|
+
}, "Grid"));
|
378
|
+
}, "ListModeSelect");
|
379
|
+
var ListModeSelectFormControl = /* @__PURE__ */ __name((props) => {
|
380
|
+
return /* @__PURE__ */ import_react10.default.createElement(EmbedFormControl, {
|
381
|
+
formId: listModeSelectId,
|
382
|
+
formLabel: listModeSelectLabel
|
383
|
+
}, /* @__PURE__ */ import_react10.default.createElement(ListModeSelect, {
|
384
|
+
size: "small",
|
385
|
+
label: listModeSelectLabel,
|
386
|
+
labelId: listModeSelectId,
|
387
|
+
...props
|
388
|
+
}));
|
389
|
+
}, "ListModeSelectFormControl");
|
329
390
|
|
330
391
|
// src/components/controls/RenderSelect.tsx
|
331
392
|
var import_material8 = require("@mui/material");
|
332
393
|
var import_react_select2 = require("@xylabs/react-select");
|
333
|
-
var
|
394
|
+
var import_react11 = __toESM(require("react"), 1);
|
334
395
|
var renderSelectId = "render-select-id";
|
335
396
|
var renderSelectLabel = "Renderer";
|
336
|
-
var EmbedRenderSelect = (props) => {
|
397
|
+
var EmbedRenderSelect = /* @__PURE__ */ __name((props) => {
|
337
398
|
const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
|
338
|
-
return /* @__PURE__ */
|
339
|
-
|
399
|
+
return /* @__PURE__ */ import_react11.default.createElement(EmbedFormControl, {
|
400
|
+
formId: renderSelectId,
|
401
|
+
formLabel: renderSelectLabel
|
402
|
+
}, /* @__PURE__ */ import_react11.default.createElement(import_react_select2.SelectEx, {
|
403
|
+
size: "small",
|
404
|
+
value: activePlugin?.name,
|
405
|
+
...props
|
406
|
+
}, plugins?.map((plugin) => /* @__PURE__ */ import_react11.default.createElement(import_material8.MenuItem, {
|
407
|
+
value: plugin.name,
|
408
|
+
key: plugin.name,
|
409
|
+
onClick: /* @__PURE__ */ __name(() => setActivePlugin?.(plugin), "onClick")
|
410
|
+
}, plugin.name))));
|
411
|
+
}, "EmbedRenderSelect");
|
340
412
|
|
341
413
|
// src/components/embed-card/card/EmbedPluginCard.tsx
|
342
|
-
var
|
343
|
-
var EmbedPluginCard = ({ ...props }) => {
|
414
|
+
var EmbedPluginCard = /* @__PURE__ */ __name(({ ...props }) => {
|
344
415
|
const { payload } = useResolvePayload();
|
345
416
|
const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
|
346
417
|
const { listMode } = (0, import_react_shared11.useListMode)();
|
347
418
|
const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1;
|
348
|
-
return /* @__PURE__ */ (
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
}
|
419
|
+
return /* @__PURE__ */ import_react12.default.createElement(BusyCard, props, hideElementsConfig?.hideCardHeader ? null : /* @__PURE__ */ import_react12.default.createElement(EmbedCardHeader, null), plugins && plugins.length > 0 || supportsListMode ? /* @__PURE__ */ import_react12.default.createElement(import_react_flexbox3.FlexGrowRow, {
|
420
|
+
columnGap: 2,
|
421
|
+
rowGap: 2,
|
422
|
+
flexWrap: "wrap",
|
423
|
+
pb: 1
|
424
|
+
}, 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, {
|
425
|
+
sx: {
|
426
|
+
height: "100%"
|
427
|
+
}
|
428
|
+
}, ActivePlugin ? /* @__PURE__ */ import_react12.default.createElement(ActivePlugin.components.box.detailsBox, {
|
429
|
+
payload,
|
430
|
+
...supportsListMode && {
|
431
|
+
listMode
|
432
|
+
}
|
433
|
+
}) : null));
|
434
|
+
}, "EmbedPluginCard");
|
357
435
|
|
358
436
|
// src/components/embed-card/EmbedPluginCard.tsx
|
359
437
|
var import_material13 = require("@mui/material");
|
438
|
+
var import_react19 = __toESM(require("react"), 1);
|
360
439
|
|
361
440
|
// src/components/EmbedPlugin.tsx
|
362
441
|
var import_react_shared13 = require("@xyo-network/react-shared");
|
442
|
+
var import_react16 = __toESM(require("react"), 1);
|
363
443
|
|
364
444
|
// src/components/EmbedResolver.tsx
|
365
445
|
var import_react_shared12 = require("@xyo-network/react-shared");
|
366
|
-
var
|
367
|
-
var EmbedResolver = ({ children }) => {
|
446
|
+
var import_react13 = __toESM(require("react"), 1);
|
447
|
+
var EmbedResolver = /* @__PURE__ */ __name(({ children }) => {
|
368
448
|
const { payload, notFound, huriError } = useResolvePayload();
|
369
|
-
return /* @__PURE__ */
|
370
|
-
|
449
|
+
return /* @__PURE__ */ import_react13.default.createElement(import_react_shared12.LoadResult, {
|
450
|
+
searchResult: payload,
|
451
|
+
notFound: !!notFound,
|
452
|
+
error: !!huriError
|
453
|
+
}, children);
|
454
|
+
}, "EmbedResolver");
|
371
455
|
|
372
456
|
// src/components/validation-alerts/ValidatePayload.tsx
|
373
457
|
var import_material10 = require("@mui/material");
|
374
|
-
var
|
375
|
-
var ValidatePayloadAlert = ({ children, ...props }) => {
|
458
|
+
var import_react14 = __toESM(require("react"), 1);
|
459
|
+
var ValidatePayloadAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
|
376
460
|
const { validPayload, enabled, schema } = useValidatePayload();
|
377
461
|
if (enabled && validPayload === false) {
|
378
|
-
return /* @__PURE__ */
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
462
|
+
return /* @__PURE__ */ import_react14.default.createElement(import_material10.Alert, {
|
463
|
+
severity: "error",
|
464
|
+
title: "Invalid Payload!",
|
465
|
+
...props
|
466
|
+
}, "Payload schema claimed to be", " ", schema, " ", "but failed to validate.");
|
383
467
|
}
|
384
|
-
return /* @__PURE__ */
|
385
|
-
};
|
468
|
+
return /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, children);
|
469
|
+
}, "ValidatePayloadAlert");
|
386
470
|
|
387
471
|
// src/components/validation-alerts/ValidatePlugins.tsx
|
388
472
|
var import_material11 = require("@mui/material");
|
389
|
-
var
|
390
|
-
var ValidatePluginsAlert = ({ children, ...props }) => {
|
473
|
+
var import_react15 = __toESM(require("react"), 1);
|
474
|
+
var ValidatePluginsAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
|
391
475
|
const { payload } = useResolvePayload();
|
392
476
|
const { plugins } = useEmbedPluginState();
|
393
477
|
if (payload && plugins?.length === 0) {
|
394
|
-
return /* @__PURE__ */
|
395
|
-
|
396
|
-
|
397
|
-
|
478
|
+
return /* @__PURE__ */ import_react15.default.createElement(import_material11.Alert, {
|
479
|
+
severity: "warning",
|
480
|
+
...props
|
481
|
+
}, /* @__PURE__ */ import_react15.default.createElement(import_material11.AlertTitle, null, "Missing plugins!"), "Payload found but no plugins were present.");
|
398
482
|
}
|
399
|
-
return /* @__PURE__ */
|
400
|
-
};
|
483
|
+
return /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, children);
|
484
|
+
}, "ValidatePluginsAlert");
|
401
485
|
|
402
486
|
// src/components/EmbedPlugin.tsx
|
403
|
-
var
|
404
|
-
|
405
|
-
|
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
|
-
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 }) }) });
|
432
|
-
};
|
487
|
+
var EmbedPluginInner = /* @__PURE__ */ __name(({ validateSchema, plugins, huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, children }) => {
|
488
|
+
return /* @__PURE__ */ import_react16.default.createElement(import_react_shared13.ErrorBoundary, null, /* @__PURE__ */ import_react16.default.createElement(EmbedPluginProvider, {
|
489
|
+
refreshTitle,
|
490
|
+
timestampLabel,
|
491
|
+
hideElementsConfig,
|
492
|
+
plugins,
|
493
|
+
embedPluginConfig
|
494
|
+
}, /* @__PURE__ */ import_react16.default.createElement(WithResolvers, {
|
495
|
+
onRefresh,
|
496
|
+
huriPayload
|
497
|
+
}, /* @__PURE__ */ import_react16.default.createElement(WithValidators, {
|
498
|
+
validateSchema
|
499
|
+
}, /* @__PURE__ */ import_react16.default.createElement(import_react_shared13.ListModeProvider, {
|
500
|
+
defaultListMode: embedPluginConfig?.listMode
|
501
|
+
}, children)))));
|
502
|
+
}, "EmbedPluginInner");
|
503
|
+
var WithResolvers = /* @__PURE__ */ __name(({ children, onRefresh, huriPayload }) => {
|
504
|
+
return /* @__PURE__ */ import_react16.default.createElement(RefreshPayloadProvider, {
|
505
|
+
onRefresh
|
506
|
+
}, /* @__PURE__ */ import_react16.default.createElement(ResolvePayloadProvider, {
|
507
|
+
huriPayload
|
508
|
+
}, /* @__PURE__ */ import_react16.default.createElement(EmbedResolver, null, children)));
|
509
|
+
}, "WithResolvers");
|
510
|
+
var WithValidators = /* @__PURE__ */ __name(({ children, validateSchema }) => {
|
511
|
+
return /* @__PURE__ */ import_react16.default.createElement(ValidatePayloadProvider, {
|
512
|
+
enabled: validateSchema
|
513
|
+
}, /* @__PURE__ */ import_react16.default.createElement(ValidatePluginsAlert, null, /* @__PURE__ */ import_react16.default.createElement(ValidatePayloadAlert, null, children)));
|
514
|
+
}, "WithValidators");
|
433
515
|
|
434
516
|
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
435
517
|
var import_react_error = require("@xyo-network/react-error");
|
518
|
+
var import_react18 = __toESM(require("react"), 1);
|
436
519
|
|
437
520
|
// src/components/embed-card/error-handling/EmbedErrorCard.tsx
|
438
521
|
var import_material12 = require("@mui/material");
|
439
|
-
var
|
440
|
-
var EmbedErrorCard = (props) => {
|
522
|
+
var import_react17 = __toESM(require("react"), 1);
|
523
|
+
var EmbedErrorCard = /* @__PURE__ */ __name((props) => {
|
441
524
|
const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props;
|
442
|
-
const errorProps = {
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
525
|
+
const errorProps = {
|
526
|
+
alertProps,
|
527
|
+
error,
|
528
|
+
hideErrorDetails,
|
529
|
+
scope
|
530
|
+
};
|
531
|
+
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)));
|
532
|
+
}, "EmbedErrorCard");
|
533
|
+
var DefaultErrorAlert = /* @__PURE__ */ __name(({ alertProps, scope, hideErrorDetails, error }) => {
|
534
|
+
return /* @__PURE__ */ import_react17.default.createElement(import_material12.Alert, {
|
535
|
+
severity: "error",
|
536
|
+
...alertProps
|
537
|
+
}, /* @__PURE__ */ import_react17.default.createElement(import_material12.AlertTitle, null, "Whoops! Something went wrong"), scope ? /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
538
|
+
variant: "caption"
|
539
|
+
}, "Scope:", scope) : null, !hideErrorDetails && error ? /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
540
|
+
variant: "caption"
|
541
|
+
}, "Error: "), /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
542
|
+
variant: "caption"
|
543
|
+
}, error?.message)) : /* @__PURE__ */ import_react17.default.createElement(import_material12.Typography, {
|
544
|
+
variant: "caption",
|
545
|
+
fontSize: "small"
|
546
|
+
}, "Error Loading Plugin"));
|
547
|
+
}, "DefaultErrorAlert");
|
458
548
|
|
459
549
|
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
460
|
-
var
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
550
|
+
var EmbedCardApiErrorRenderer = /* @__PURE__ */ __name(({ xyoError, children, ...props }) => {
|
551
|
+
return /* @__PURE__ */ import_react18.default.createElement(import_react_error.ErrorRender, {
|
552
|
+
error: xyoError,
|
553
|
+
noReAuth: true,
|
554
|
+
noErrorDisplay: true,
|
555
|
+
customError: /* @__PURE__ */ import_react18.default.createElement(CustomApiErrorCard, {
|
556
|
+
xyoError,
|
557
|
+
...props
|
558
|
+
})
|
559
|
+
}, children);
|
560
|
+
}, "EmbedCardApiErrorRenderer");
|
561
|
+
var CustomApiErrorCard = /* @__PURE__ */ __name(({ xyoError, ...props }) => {
|
562
|
+
return /* @__PURE__ */ import_react18.default.createElement(EmbedErrorCard, props, /* @__PURE__ */ import_react18.default.createElement(import_react_error.ErrorAlert, {
|
563
|
+
error: xyoError
|
564
|
+
}));
|
565
|
+
}, "CustomApiErrorCard");
|
467
566
|
|
468
567
|
// src/components/embed-card/EmbedPluginCard.tsx
|
469
|
-
var
|
470
|
-
|
471
|
-
|
472
|
-
validateSchema,
|
473
|
-
plugins = [],
|
474
|
-
huriPayload,
|
475
|
-
refreshTitle = "",
|
476
|
-
timestampLabel = "Data From",
|
477
|
-
hideElementsConfig,
|
568
|
+
var ApiEmbedPluginCard = /* @__PURE__ */ __name(({ children, ...props }) => {
|
569
|
+
const { validateSchema, plugins = [], huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, ...busyCardProps } = props;
|
570
|
+
return /* @__PURE__ */ import_react19.default.createElement(EmbedPluginInner, {
|
478
571
|
embedPluginConfig,
|
572
|
+
hideElementsConfig,
|
573
|
+
huriPayload,
|
479
574
|
onRefresh,
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
hideElementsConfig,
|
488
|
-
huriPayload,
|
489
|
-
onRefresh,
|
490
|
-
plugins,
|
491
|
-
refreshTitle,
|
492
|
-
timestampLabel,
|
493
|
-
validateSchema
|
494
|
-
},
|
495
|
-
children: [
|
496
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(EmbedPluginCardInner, { ...busyCardProps }),
|
497
|
-
children
|
498
|
-
]
|
499
|
-
}
|
500
|
-
);
|
501
|
-
};
|
502
|
-
var EmbedPluginCardInner = (props) => {
|
575
|
+
plugins,
|
576
|
+
refreshTitle,
|
577
|
+
timestampLabel,
|
578
|
+
validateSchema
|
579
|
+
}, /* @__PURE__ */ import_react19.default.createElement(EmbedPluginCardInner, busyCardProps), children);
|
580
|
+
}, "ApiEmbedPluginCard");
|
581
|
+
var EmbedPluginCardInner = /* @__PURE__ */ __name((props) => {
|
503
582
|
const { payload, huriError } = useResolvePayload();
|
504
583
|
const { refreshPayload } = useRefreshPayload();
|
505
584
|
const theme = (0, import_material13.useTheme)();
|
506
|
-
return /* @__PURE__ */
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
}
|
585
|
+
return /* @__PURE__ */ import_react19.default.createElement(EmbedCardApiErrorRenderer, {
|
586
|
+
xyoError: huriError
|
587
|
+
}, /* @__PURE__ */ import_react19.default.createElement(EmbedPluginCard, {
|
588
|
+
elevation: 3,
|
589
|
+
variant: "elevation",
|
590
|
+
busy: Boolean(!refreshPayload && payload),
|
591
|
+
busyVariantProps: {
|
592
|
+
style: {
|
593
|
+
alignItems: "start",
|
594
|
+
paddingTop: theme.spacing(2),
|
595
|
+
zIndex: 2
|
596
|
+
}
|
597
|
+
},
|
598
|
+
sx: {
|
599
|
+
position: "relative"
|
600
|
+
},
|
601
|
+
...props
|
602
|
+
}));
|
603
|
+
}, "EmbedPluginCardInner");
|
518
604
|
//# sourceMappingURL=index.cjs.map
|