@xyo-network/react-embed 2.81.10 → 2.83.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.d.ts +112 -4
- package/dist/browser/index.mjs +573 -0
- package/dist/browser/index.mjs.map +1 -0
- package/package.json +27 -43
- 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/xy.config.ts +12 -0
- package/dist/browser/components/EmbedPlugin.d.cts +0 -4
- package/dist/browser/components/EmbedPlugin.d.cts.map +0 -1
- package/dist/browser/components/EmbedPlugin.d.mts +0 -4
- package/dist/browser/components/EmbedPlugin.d.mts.map +0 -1
- package/dist/browser/components/EmbedPlugin.d.ts +0 -4
- package/dist/browser/components/EmbedPlugin.d.ts.map +0 -1
- package/dist/browser/components/EmbedResolver.d.cts +0 -3
- package/dist/browser/components/EmbedResolver.d.cts.map +0 -1
- package/dist/browser/components/EmbedResolver.d.mts +0 -3
- package/dist/browser/components/EmbedResolver.d.mts.map +0 -1
- package/dist/browser/components/EmbedResolver.d.ts +0 -3
- package/dist/browser/components/EmbedResolver.d.ts.map +0 -1
- package/dist/browser/components/controls/EmbedFormControl.d.cts +0 -9
- package/dist/browser/components/controls/EmbedFormControl.d.cts.map +0 -1
- package/dist/browser/components/controls/EmbedFormControl.d.mts +0 -9
- package/dist/browser/components/controls/EmbedFormControl.d.mts.map +0 -1
- package/dist/browser/components/controls/EmbedFormControl.d.ts +0 -9
- package/dist/browser/components/controls/EmbedFormControl.d.ts.map +0 -1
- package/dist/browser/components/controls/ListModeSelect.d.cts +0 -5
- package/dist/browser/components/controls/ListModeSelect.d.cts.map +0 -1
- package/dist/browser/components/controls/ListModeSelect.d.mts +0 -5
- package/dist/browser/components/controls/ListModeSelect.d.mts.map +0 -1
- package/dist/browser/components/controls/ListModeSelect.d.ts +0 -5
- package/dist/browser/components/controls/ListModeSelect.d.ts.map +0 -1
- package/dist/browser/components/controls/RenderSelect.d.cts +0 -3
- package/dist/browser/components/controls/RenderSelect.d.cts.map +0 -1
- package/dist/browser/components/controls/RenderSelect.d.mts +0 -3
- package/dist/browser/components/controls/RenderSelect.d.mts.map +0 -1
- package/dist/browser/components/controls/RenderSelect.d.ts +0 -3
- package/dist/browser/components/controls/RenderSelect.d.ts.map +0 -1
- package/dist/browser/components/controls/index.d.cts +0 -4
- package/dist/browser/components/controls/index.d.cts.map +0 -1
- package/dist/browser/components/controls/index.d.mts +0 -4
- package/dist/browser/components/controls/index.d.mts.map +0 -1
- package/dist/browser/components/controls/index.d.ts +0 -4
- package/dist/browser/components/controls/index.d.ts.map +0 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +0 -4
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +0 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts +0 -4
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +0 -4
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +0 -9
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +0 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts +0 -9
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +0 -9
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.cts +0 -10
- package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +0 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.mts +0 -10
- package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +0 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.ts +0 -10
- package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +0 -3
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts +0 -3
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +0 -3
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +0 -3
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts +0 -3
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +0 -3
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/browser/components/embed-card/card/index.d.cts +0 -4
- package/dist/browser/components/embed-card/card/index.d.cts.map +0 -1
- package/dist/browser/components/embed-card/card/index.d.mts +0 -4
- package/dist/browser/components/embed-card/card/index.d.mts.map +0 -1
- package/dist/browser/components/embed-card/card/index.d.ts +0 -4
- package/dist/browser/components/embed-card/card/index.d.ts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -9
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -9
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -9
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -13
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -13
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -13
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/index.d.cts +0 -3
- package/dist/browser/components/embed-card/error-handling/index.d.cts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/index.d.mts +0 -3
- package/dist/browser/components/embed-card/error-handling/index.d.mts.map +0 -1
- package/dist/browser/components/embed-card/error-handling/index.d.ts +0 -3
- package/dist/browser/components/embed-card/error-handling/index.d.ts.map +0 -1
- package/dist/browser/components/embed-card/index.d.cts +0 -3
- package/dist/browser/components/embed-card/index.d.cts.map +0 -1
- package/dist/browser/components/embed-card/index.d.mts +0 -3
- package/dist/browser/components/embed-card/index.d.mts.map +0 -1
- package/dist/browser/components/embed-card/index.d.ts +0 -3
- package/dist/browser/components/embed-card/index.d.ts.map +0 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +0 -3
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +0 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts +0 -3
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +0 -3
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +0 -3
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +0 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts +0 -3
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +0 -3
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
- package/dist/browser/components/embed-card/menu/index.d.cts +0 -2
- package/dist/browser/components/embed-card/menu/index.d.cts.map +0 -1
- package/dist/browser/components/embed-card/menu/index.d.mts +0 -2
- package/dist/browser/components/embed-card/menu/index.d.mts.map +0 -1
- package/dist/browser/components/embed-card/menu/index.d.ts +0 -2
- package/dist/browser/components/embed-card/menu/index.d.ts.map +0 -1
- package/dist/browser/components/index.d.cts +0 -3
- package/dist/browser/components/index.d.cts.map +0 -1
- package/dist/browser/components/index.d.mts +0 -3
- package/dist/browser/components/index.d.mts.map +0 -1
- package/dist/browser/components/index.d.ts +0 -3
- package/dist/browser/components/index.d.ts.map +0 -1
- package/dist/browser/components/stories/storyPayload.d.cts +0 -126
- package/dist/browser/components/stories/storyPayload.d.cts.map +0 -1
- package/dist/browser/components/stories/storyPayload.d.mts +0 -126
- package/dist/browser/components/stories/storyPayload.d.mts.map +0 -1
- package/dist/browser/components/stories/storyPayload.d.ts +0 -126
- package/dist/browser/components/stories/storyPayload.d.ts.map +0 -1
- package/dist/browser/components/stories/storyShared.d.cts +0 -5
- package/dist/browser/components/stories/storyShared.d.cts.map +0 -1
- package/dist/browser/components/stories/storyShared.d.mts +0 -5
- package/dist/browser/components/stories/storyShared.d.mts.map +0 -1
- package/dist/browser/components/stories/storyShared.d.ts +0 -5
- package/dist/browser/components/stories/storyShared.d.ts.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +0 -4
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts +0 -4
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +0 -4
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +0 -4
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts +0 -4
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +0 -4
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
- package/dist/browser/components/validation-alerts/index.d.cts +0 -3
- package/dist/browser/components/validation-alerts/index.d.cts.map +0 -1
- package/dist/browser/components/validation-alerts/index.d.mts +0 -3
- package/dist/browser/components/validation-alerts/index.d.mts.map +0 -1
- package/dist/browser/components/validation-alerts/index.d.ts +0 -3
- package/dist/browser/components/validation-alerts/index.d.ts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +0 -3
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts +0 -3
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +0 -3
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +0 -5
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts +0 -5
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +0 -5
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/State.d.cts +0 -28
- package/dist/browser/contexts/EmbedPluginContext/State.d.cts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/State.d.mts +0 -28
- package/dist/browser/contexts/EmbedPluginContext/State.d.mts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/State.d.ts +0 -28
- package/dist/browser/contexts/EmbedPluginContext/State.d.ts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts +0 -5
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts +0 -5
- package/dist/browser/contexts/EmbedPluginContext/index.d.mts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts +0 -5
- package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts +0 -2
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts +0 -2
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts +0 -2
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +0 -3
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts +0 -3
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +0 -3
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +0 -7
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts +0 -7
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +0 -7
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/State.d.cts +0 -8
- package/dist/browser/contexts/RefreshPayloadContext/State.d.cts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/State.d.mts +0 -8
- package/dist/browser/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/State.d.ts +0 -8
- package/dist/browser/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +0 -4
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts +0 -4
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +0 -4
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +0 -2
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts +0 -2
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +0 -2
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +0 -3
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts +0 -3
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +0 -3
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +0 -5
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts +0 -5
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +0 -5
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/State.d.cts +0 -13
- package/dist/browser/contexts/ResolvePayloadContext/State.d.cts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/State.d.mts +0 -13
- package/dist/browser/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/State.d.ts +0 -13
- package/dist/browser/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +0 -5
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts +0 -5
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +0 -5
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +0 -2
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts +0 -2
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +0 -2
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +0 -3
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts +0 -3
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +0 -3
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +0 -6
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts +0 -6
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +0 -6
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/State.d.cts +0 -7
- package/dist/browser/contexts/ValidatePayloadContext/State.d.cts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/State.d.mts +0 -7
- package/dist/browser/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/State.d.ts +0 -7
- package/dist/browser/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +0 -4
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts +0 -4
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +0 -4
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +0 -2
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts +0 -2
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +0 -2
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
- package/dist/browser/contexts/index.d.cts +0 -5
- package/dist/browser/contexts/index.d.cts.map +0 -1
- package/dist/browser/contexts/index.d.mts +0 -5
- package/dist/browser/contexts/index.d.mts.map +0 -1
- package/dist/browser/contexts/index.d.ts +0 -5
- package/dist/browser/contexts/index.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -518
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -4
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -4
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.js +0 -498
- package/dist/browser/index.js.map +0 -1
- package/dist/browser/types/EmbedPluginProps.d.cts +0 -9
- package/dist/browser/types/EmbedPluginProps.d.cts.map +0 -1
- package/dist/browser/types/EmbedPluginProps.d.mts +0 -9
- package/dist/browser/types/EmbedPluginProps.d.mts.map +0 -1
- package/dist/browser/types/EmbedPluginProps.d.ts +0 -9
- package/dist/browser/types/EmbedPluginProps.d.ts.map +0 -1
- package/dist/browser/types/index.d.cts +0 -2
- package/dist/browser/types/index.d.cts.map +0 -1
- package/dist/browser/types/index.d.mts +0 -2
- package/dist/browser/types/index.d.mts.map +0 -1
- package/dist/browser/types/index.d.ts +0 -2
- package/dist/browser/types/index.d.ts.map +0 -1
- package/dist/neutral/components/EmbedPlugin.d.cts +0 -4
- package/dist/neutral/components/EmbedPlugin.d.cts.map +0 -1
- package/dist/neutral/components/EmbedPlugin.d.mts +0 -4
- package/dist/neutral/components/EmbedPlugin.d.mts.map +0 -1
- package/dist/neutral/components/EmbedPlugin.d.ts +0 -4
- package/dist/neutral/components/EmbedPlugin.d.ts.map +0 -1
- package/dist/neutral/components/EmbedResolver.d.cts +0 -3
- package/dist/neutral/components/EmbedResolver.d.cts.map +0 -1
- package/dist/neutral/components/EmbedResolver.d.mts +0 -3
- package/dist/neutral/components/EmbedResolver.d.mts.map +0 -1
- package/dist/neutral/components/EmbedResolver.d.ts +0 -3
- package/dist/neutral/components/EmbedResolver.d.ts.map +0 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.cts +0 -9
- package/dist/neutral/components/controls/EmbedFormControl.d.cts.map +0 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.mts +0 -9
- package/dist/neutral/components/controls/EmbedFormControl.d.mts.map +0 -1
- package/dist/neutral/components/controls/EmbedFormControl.d.ts +0 -9
- package/dist/neutral/components/controls/EmbedFormControl.d.ts.map +0 -1
- package/dist/neutral/components/controls/ListModeSelect.d.cts +0 -5
- package/dist/neutral/components/controls/ListModeSelect.d.cts.map +0 -1
- package/dist/neutral/components/controls/ListModeSelect.d.mts +0 -5
- package/dist/neutral/components/controls/ListModeSelect.d.mts.map +0 -1
- package/dist/neutral/components/controls/ListModeSelect.d.ts +0 -5
- package/dist/neutral/components/controls/ListModeSelect.d.ts.map +0 -1
- package/dist/neutral/components/controls/RenderSelect.d.cts +0 -3
- package/dist/neutral/components/controls/RenderSelect.d.cts.map +0 -1
- package/dist/neutral/components/controls/RenderSelect.d.mts +0 -3
- package/dist/neutral/components/controls/RenderSelect.d.mts.map +0 -1
- package/dist/neutral/components/controls/RenderSelect.d.ts +0 -3
- package/dist/neutral/components/controls/RenderSelect.d.ts.map +0 -1
- package/dist/neutral/components/controls/index.d.cts +0 -4
- package/dist/neutral/components/controls/index.d.cts.map +0 -1
- package/dist/neutral/components/controls/index.d.mts +0 -4
- package/dist/neutral/components/controls/index.d.mts.map +0 -1
- package/dist/neutral/components/controls/index.d.ts +0 -4
- package/dist/neutral/components/controls/index.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts +0 -4
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts +0 -4
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts +0 -4
- package/dist/neutral/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts +0 -9
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts +0 -9
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts +0 -9
- package/dist/neutral/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts +0 -10
- package/dist/neutral/components/embed-card/card/BusyCard.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts +0 -10
- package/dist/neutral/components/embed-card/card/BusyCard.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts +0 -10
- package/dist/neutral/components/embed-card/card/BusyCard.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts +0 -3
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts +0 -3
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts +0 -3
- package/dist/neutral/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts +0 -3
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts +0 -3
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts +0 -3
- package/dist/neutral/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/card/index.d.cts +0 -4
- package/dist/neutral/components/embed-card/card/index.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/card/index.d.mts +0 -4
- package/dist/neutral/components/embed-card/card/index.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/card/index.d.ts +0 -4
- package/dist/neutral/components/embed-card/card/index.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -9
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -9
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -9
- package/dist/neutral/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -13
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -13
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -13
- package/dist/neutral/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.cts +0 -3
- package/dist/neutral/components/embed-card/error-handling/index.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.mts +0 -3
- package/dist/neutral/components/embed-card/error-handling/index.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/error-handling/index.d.ts +0 -3
- package/dist/neutral/components/embed-card/error-handling/index.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/index.d.cts +0 -3
- package/dist/neutral/components/embed-card/index.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/index.d.mts +0 -3
- package/dist/neutral/components/embed-card/index.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/index.d.ts +0 -3
- package/dist/neutral/components/embed-card/index.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts +0 -3
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts +0 -3
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts +0 -3
- package/dist/neutral/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts +0 -3
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts +0 -3
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts +0 -3
- package/dist/neutral/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
- package/dist/neutral/components/embed-card/menu/index.d.cts +0 -2
- package/dist/neutral/components/embed-card/menu/index.d.cts.map +0 -1
- package/dist/neutral/components/embed-card/menu/index.d.mts +0 -2
- package/dist/neutral/components/embed-card/menu/index.d.mts.map +0 -1
- package/dist/neutral/components/embed-card/menu/index.d.ts +0 -2
- package/dist/neutral/components/embed-card/menu/index.d.ts.map +0 -1
- package/dist/neutral/components/index.d.cts +0 -3
- package/dist/neutral/components/index.d.cts.map +0 -1
- package/dist/neutral/components/index.d.mts +0 -3
- package/dist/neutral/components/index.d.mts.map +0 -1
- package/dist/neutral/components/index.d.ts +0 -3
- package/dist/neutral/components/index.d.ts.map +0 -1
- package/dist/neutral/components/stories/storyPayload.d.cts +0 -126
- package/dist/neutral/components/stories/storyPayload.d.cts.map +0 -1
- package/dist/neutral/components/stories/storyPayload.d.mts +0 -126
- package/dist/neutral/components/stories/storyPayload.d.mts.map +0 -1
- package/dist/neutral/components/stories/storyPayload.d.ts +0 -126
- package/dist/neutral/components/stories/storyPayload.d.ts.map +0 -1
- package/dist/neutral/components/stories/storyShared.d.cts +0 -5
- package/dist/neutral/components/stories/storyShared.d.cts.map +0 -1
- package/dist/neutral/components/stories/storyShared.d.mts +0 -5
- package/dist/neutral/components/stories/storyShared.d.mts.map +0 -1
- package/dist/neutral/components/stories/storyShared.d.ts +0 -5
- package/dist/neutral/components/stories/storyShared.d.ts.map +0 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts +0 -4
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.cts.map +0 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts +0 -4
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts +0 -4
- package/dist/neutral/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts +0 -4
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.cts.map +0 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts +0 -4
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts +0 -4
- package/dist/neutral/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
- package/dist/neutral/components/validation-alerts/index.d.cts +0 -3
- package/dist/neutral/components/validation-alerts/index.d.cts.map +0 -1
- package/dist/neutral/components/validation-alerts/index.d.mts +0 -3
- package/dist/neutral/components/validation-alerts/index.d.mts.map +0 -1
- package/dist/neutral/components/validation-alerts/index.d.ts +0 -3
- package/dist/neutral/components/validation-alerts/index.d.ts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts +0 -3
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.cts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts +0 -3
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts +0 -3
- package/dist/neutral/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts +0 -5
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.cts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts +0 -5
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts +0 -5
- package/dist/neutral/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/State.d.cts +0 -28
- package/dist/neutral/contexts/EmbedPluginContext/State.d.cts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/State.d.mts +0 -28
- package/dist/neutral/contexts/EmbedPluginContext/State.d.mts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/State.d.ts +0 -28
- package/dist/neutral/contexts/EmbedPluginContext/State.d.ts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts +0 -5
- package/dist/neutral/contexts/EmbedPluginContext/index.d.cts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts +0 -5
- package/dist/neutral/contexts/EmbedPluginContext/index.d.mts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts +0 -5
- package/dist/neutral/contexts/EmbedPluginContext/index.d.ts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts +0 -2
- package/dist/neutral/contexts/EmbedPluginContext/use.d.cts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts +0 -2
- package/dist/neutral/contexts/EmbedPluginContext/use.d.mts.map +0 -1
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts +0 -2
- package/dist/neutral/contexts/EmbedPluginContext/use.d.ts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts +0 -3
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.cts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts +0 -3
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts +0 -3
- package/dist/neutral/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts +0 -7
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.cts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts +0 -7
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts +0 -7
- package/dist/neutral/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/State.d.cts +0 -8
- package/dist/neutral/contexts/RefreshPayloadContext/State.d.cts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/State.d.mts +0 -8
- package/dist/neutral/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/State.d.ts +0 -8
- package/dist/neutral/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts +0 -4
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.cts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts +0 -4
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts +0 -4
- package/dist/neutral/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts +0 -2
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.cts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts +0 -2
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts +0 -2
- package/dist/neutral/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts +0 -3
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.cts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts +0 -3
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts +0 -3
- package/dist/neutral/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts +0 -5
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.cts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts +0 -5
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts +0 -5
- package/dist/neutral/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/State.d.cts +0 -13
- package/dist/neutral/contexts/ResolvePayloadContext/State.d.cts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/State.d.mts +0 -13
- package/dist/neutral/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/State.d.ts +0 -13
- package/dist/neutral/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts +0 -5
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.cts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts +0 -5
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts +0 -5
- package/dist/neutral/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts +0 -2
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.cts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts +0 -2
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts +0 -2
- package/dist/neutral/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts +0 -3
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.cts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts +0 -3
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts +0 -3
- package/dist/neutral/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts +0 -6
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.cts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts +0 -6
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts +0 -6
- package/dist/neutral/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/State.d.cts +0 -7
- package/dist/neutral/contexts/ValidatePayloadContext/State.d.cts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/State.d.mts +0 -7
- package/dist/neutral/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/State.d.ts +0 -7
- package/dist/neutral/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts +0 -4
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.cts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts +0 -4
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts +0 -4
- package/dist/neutral/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts +0 -2
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.cts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts +0 -2
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts +0 -2
- package/dist/neutral/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
- package/dist/neutral/contexts/index.d.cts +0 -5
- package/dist/neutral/contexts/index.d.cts.map +0 -1
- package/dist/neutral/contexts/index.d.mts +0 -5
- package/dist/neutral/contexts/index.d.mts.map +0 -1
- package/dist/neutral/contexts/index.d.ts +0 -5
- package/dist/neutral/contexts/index.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -518
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -4
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -4
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts +0 -4
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/index.js +0 -498
- package/dist/neutral/index.js.map +0 -1
- package/dist/neutral/types/EmbedPluginProps.d.cts +0 -9
- package/dist/neutral/types/EmbedPluginProps.d.cts.map +0 -1
- package/dist/neutral/types/EmbedPluginProps.d.mts +0 -9
- package/dist/neutral/types/EmbedPluginProps.d.mts.map +0 -1
- package/dist/neutral/types/EmbedPluginProps.d.ts +0 -9
- package/dist/neutral/types/EmbedPluginProps.d.ts.map +0 -1
- package/dist/neutral/types/index.d.cts +0 -2
- package/dist/neutral/types/index.d.cts.map +0 -1
- package/dist/neutral/types/index.d.mts +0 -2
- package/dist/neutral/types/index.d.mts.map +0 -1
- package/dist/neutral/types/index.d.ts +0 -2
- package/dist/neutral/types/index.d.ts.map +0 -1
- package/dist/node/components/EmbedPlugin.d.cts +0 -4
- package/dist/node/components/EmbedPlugin.d.cts.map +0 -1
- package/dist/node/components/EmbedPlugin.d.mts +0 -4
- package/dist/node/components/EmbedPlugin.d.mts.map +0 -1
- package/dist/node/components/EmbedPlugin.d.ts +0 -4
- package/dist/node/components/EmbedPlugin.d.ts.map +0 -1
- package/dist/node/components/EmbedResolver.d.cts +0 -3
- package/dist/node/components/EmbedResolver.d.cts.map +0 -1
- package/dist/node/components/EmbedResolver.d.mts +0 -3
- package/dist/node/components/EmbedResolver.d.mts.map +0 -1
- package/dist/node/components/EmbedResolver.d.ts +0 -3
- package/dist/node/components/EmbedResolver.d.ts.map +0 -1
- package/dist/node/components/controls/EmbedFormControl.d.cts +0 -9
- package/dist/node/components/controls/EmbedFormControl.d.cts.map +0 -1
- package/dist/node/components/controls/EmbedFormControl.d.mts +0 -9
- package/dist/node/components/controls/EmbedFormControl.d.mts.map +0 -1
- package/dist/node/components/controls/EmbedFormControl.d.ts +0 -9
- package/dist/node/components/controls/EmbedFormControl.d.ts.map +0 -1
- package/dist/node/components/controls/ListModeSelect.d.cts +0 -5
- package/dist/node/components/controls/ListModeSelect.d.cts.map +0 -1
- package/dist/node/components/controls/ListModeSelect.d.mts +0 -5
- package/dist/node/components/controls/ListModeSelect.d.mts.map +0 -1
- package/dist/node/components/controls/ListModeSelect.d.ts +0 -5
- package/dist/node/components/controls/ListModeSelect.d.ts.map +0 -1
- package/dist/node/components/controls/RenderSelect.d.cts +0 -3
- package/dist/node/components/controls/RenderSelect.d.cts.map +0 -1
- package/dist/node/components/controls/RenderSelect.d.mts +0 -3
- package/dist/node/components/controls/RenderSelect.d.mts.map +0 -1
- package/dist/node/components/controls/RenderSelect.d.ts +0 -3
- package/dist/node/components/controls/RenderSelect.d.ts.map +0 -1
- package/dist/node/components/controls/index.d.cts +0 -4
- package/dist/node/components/controls/index.d.cts.map +0 -1
- package/dist/node/components/controls/index.d.mts +0 -4
- package/dist/node/components/controls/index.d.mts.map +0 -1
- package/dist/node/components/controls/index.d.ts +0 -4
- package/dist/node/components/controls/index.d.ts.map +0 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts +0 -4
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +0 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts +0 -4
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts +0 -4
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts +0 -9
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +0 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts +0 -9
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts +0 -9
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/node/components/embed-card/card/BusyCard.d.cts +0 -10
- package/dist/node/components/embed-card/card/BusyCard.d.cts.map +0 -1
- package/dist/node/components/embed-card/card/BusyCard.d.mts +0 -10
- package/dist/node/components/embed-card/card/BusyCard.d.mts.map +0 -1
- package/dist/node/components/embed-card/card/BusyCard.d.ts +0 -10
- package/dist/node/components/embed-card/card/BusyCard.d.ts.map +0 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +0 -3
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +0 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +0 -3
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +0 -3
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +0 -3
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +0 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +0 -3
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +0 -3
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/node/components/embed-card/card/index.d.cts +0 -4
- package/dist/node/components/embed-card/card/index.d.cts.map +0 -1
- package/dist/node/components/embed-card/card/index.d.mts +0 -4
- package/dist/node/components/embed-card/card/index.d.mts.map +0 -1
- package/dist/node/components/embed-card/card/index.d.ts +0 -4
- package/dist/node/components/embed-card/card/index.d.ts.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +0 -9
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -9
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -9
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +0 -13
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +0 -13
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +0 -13
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
- package/dist/node/components/embed-card/error-handling/index.d.cts +0 -3
- package/dist/node/components/embed-card/error-handling/index.d.cts.map +0 -1
- package/dist/node/components/embed-card/error-handling/index.d.mts +0 -3
- package/dist/node/components/embed-card/error-handling/index.d.mts.map +0 -1
- package/dist/node/components/embed-card/error-handling/index.d.ts +0 -3
- package/dist/node/components/embed-card/error-handling/index.d.ts.map +0 -1
- package/dist/node/components/embed-card/index.d.cts +0 -3
- package/dist/node/components/embed-card/index.d.cts.map +0 -1
- package/dist/node/components/embed-card/index.d.mts +0 -3
- package/dist/node/components/embed-card/index.d.mts.map +0 -1
- package/dist/node/components/embed-card/index.d.ts +0 -3
- package/dist/node/components/embed-card/index.d.ts.map +0 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +0 -3
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +0 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +0 -3
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +0 -3
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +0 -3
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +0 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +0 -3
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +0 -3
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
- package/dist/node/components/embed-card/menu/index.d.cts +0 -2
- package/dist/node/components/embed-card/menu/index.d.cts.map +0 -1
- package/dist/node/components/embed-card/menu/index.d.mts +0 -2
- package/dist/node/components/embed-card/menu/index.d.mts.map +0 -1
- package/dist/node/components/embed-card/menu/index.d.ts +0 -2
- package/dist/node/components/embed-card/menu/index.d.ts.map +0 -1
- package/dist/node/components/index.d.cts +0 -3
- package/dist/node/components/index.d.cts.map +0 -1
- package/dist/node/components/index.d.mts +0 -3
- package/dist/node/components/index.d.mts.map +0 -1
- package/dist/node/components/index.d.ts +0 -3
- package/dist/node/components/index.d.ts.map +0 -1
- package/dist/node/components/stories/storyPayload.d.cts +0 -126
- package/dist/node/components/stories/storyPayload.d.cts.map +0 -1
- package/dist/node/components/stories/storyPayload.d.mts +0 -126
- package/dist/node/components/stories/storyPayload.d.mts.map +0 -1
- package/dist/node/components/stories/storyPayload.d.ts +0 -126
- package/dist/node/components/stories/storyPayload.d.ts.map +0 -1
- package/dist/node/components/stories/storyShared.d.cts +0 -5
- package/dist/node/components/stories/storyShared.d.cts.map +0 -1
- package/dist/node/components/stories/storyShared.d.mts +0 -5
- package/dist/node/components/stories/storyShared.d.mts.map +0 -1
- package/dist/node/components/stories/storyShared.d.ts +0 -5
- package/dist/node/components/stories/storyShared.d.ts.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts +0 -4
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts +0 -4
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts +0 -4
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +0 -4
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +0 -4
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +0 -4
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
- package/dist/node/components/validation-alerts/index.d.cts +0 -3
- package/dist/node/components/validation-alerts/index.d.cts.map +0 -1
- package/dist/node/components/validation-alerts/index.d.mts +0 -3
- package/dist/node/components/validation-alerts/index.d.mts.map +0 -1
- package/dist/node/components/validation-alerts/index.d.ts +0 -3
- package/dist/node/components/validation-alerts/index.d.ts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts +0 -3
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts +0 -3
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts +0 -3
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +0 -5
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +0 -5
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +0 -5
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.d.cts +0 -28
- package/dist/node/contexts/EmbedPluginContext/State.d.cts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.d.mts +0 -28
- package/dist/node/contexts/EmbedPluginContext/State.d.mts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.d.ts +0 -28
- package/dist/node/contexts/EmbedPluginContext/State.d.ts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.cts +0 -5
- package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.mts +0 -5
- package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/index.d.ts +0 -5
- package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.cts +0 -2
- package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.mts +0 -2
- package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/use.d.ts +0 -2
- package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +0 -3
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +0 -3
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +0 -3
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +0 -7
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +0 -7
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +0 -7
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.d.cts +0 -8
- package/dist/node/contexts/RefreshPayloadContext/State.d.cts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.d.mts +0 -8
- package/dist/node/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.d.ts +0 -8
- package/dist/node/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts +0 -4
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts +0 -4
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts +0 -4
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts +0 -2
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts +0 -2
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts +0 -2
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +0 -3
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +0 -3
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +0 -3
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +0 -5
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +0 -5
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +0 -5
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.d.cts +0 -13
- package/dist/node/contexts/ResolvePayloadContext/State.d.cts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.d.mts +0 -13
- package/dist/node/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.d.ts +0 -13
- package/dist/node/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts +0 -5
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts +0 -5
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts +0 -5
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts +0 -2
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts +0 -2
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts +0 -2
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +0 -3
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +0 -3
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +0 -3
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +0 -6
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +0 -6
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +0 -6
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.d.cts +0 -7
- package/dist/node/contexts/ValidatePayloadContext/State.d.cts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.d.mts +0 -7
- package/dist/node/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.d.ts +0 -7
- package/dist/node/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts +0 -4
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts +0 -4
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts +0 -4
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts +0 -2
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts +0 -2
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts +0 -2
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
- package/dist/node/contexts/index.d.cts +0 -5
- package/dist/node/contexts/index.d.cts.map +0 -1
- package/dist/node/contexts/index.d.mts +0 -5
- package/dist/node/contexts/index.d.mts.map +0 -1
- package/dist/node/contexts/index.d.ts +0 -5
- package/dist/node/contexts/index.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -540
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -4
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -4
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -4
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.js +0 -500
- package/dist/node/index.js.map +0 -1
- package/dist/node/types/EmbedPluginProps.d.cts +0 -9
- package/dist/node/types/EmbedPluginProps.d.cts.map +0 -1
- package/dist/node/types/EmbedPluginProps.d.mts +0 -9
- package/dist/node/types/EmbedPluginProps.d.mts.map +0 -1
- package/dist/node/types/EmbedPluginProps.d.ts +0 -9
- package/dist/node/types/EmbedPluginProps.d.ts.map +0 -1
- package/dist/node/types/index.d.cts +0 -2
- package/dist/node/types/index.d.cts.map +0 -1
- package/dist/node/types/index.d.mts +0 -2
- package/dist/node/types/index.d.mts.map +0 -1
- package/dist/node/types/index.d.ts +0 -2
- package/dist/node/types/index.d.ts.map +0 -1
package/dist/browser/index.d.ts
CHANGED
@@ -1,4 +1,112 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import { CardProps, CardHeaderProps } from '@mui/material';
|
2
|
+
import { BusyVariant, BusyCircularProgressProps, BusyLinearProgressProps, WithChildren } from '@xylabs/react-shared';
|
3
|
+
import * as React from 'react';
|
4
|
+
import React__default, { Dispatch, SetStateAction } from 'react';
|
5
|
+
import { ModuleError, Payload } from '@xyo-network/payload-model';
|
6
|
+
import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
|
7
|
+
import * as _xyo_network_react_shared from '@xyo-network/react-shared';
|
8
|
+
import { ListMode, ContextExState } from '@xyo-network/react-shared';
|
9
|
+
|
10
|
+
interface BusyCardProps extends CardProps {
|
11
|
+
busy?: boolean;
|
12
|
+
busyMinimum?: number;
|
13
|
+
busyVariant?: BusyVariant;
|
14
|
+
busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps;
|
15
|
+
}
|
16
|
+
declare const BusyCard: React__default.FC<WithChildren<BusyCardProps>>;
|
17
|
+
|
18
|
+
declare const EmbedCardHeader: React__default.FC<CardHeaderProps>;
|
19
|
+
|
20
|
+
declare const EmbedPluginCard: React__default.FC<BusyCardProps>;
|
21
|
+
|
22
|
+
interface EmbedPluginVisibilityConfig {
|
23
|
+
hideAvatar?: boolean;
|
24
|
+
hideCardActions?: boolean;
|
25
|
+
hideCardHeader?: boolean;
|
26
|
+
hideErrorDetails?: boolean;
|
27
|
+
hideRefreshButton?: boolean;
|
28
|
+
hideTimestamp?: boolean;
|
29
|
+
hideTitle?: boolean;
|
30
|
+
}
|
31
|
+
interface PluginConfig {
|
32
|
+
listMode?: ListMode;
|
33
|
+
}
|
34
|
+
interface EmbedPluginBase {
|
35
|
+
embedPluginConfig?: PluginConfig;
|
36
|
+
hideElementsConfig?: EmbedPluginVisibilityConfig;
|
37
|
+
huri?: string;
|
38
|
+
plugins?: PayloadRenderPlugin[];
|
39
|
+
refreshTitle?: string;
|
40
|
+
timestampLabel?: string;
|
41
|
+
}
|
42
|
+
interface EmbedPluginState extends EmbedPluginBase, ContextExState {
|
43
|
+
activePlugin?: PayloadRenderPlugin;
|
44
|
+
setActivePlugin?: Dispatch<SetStateAction<PayloadRenderPlugin | undefined>>;
|
45
|
+
}
|
46
|
+
|
47
|
+
declare const EmbedPluginContext: React.Context<EmbedPluginState & _xyo_network_react_shared.ContextExState>;
|
48
|
+
|
49
|
+
type EmbedPluginProviderProps = EmbedPluginBase;
|
50
|
+
declare const EmbedPluginProvider: React__default.FC<WithChildren<EmbedPluginProviderProps>>;
|
51
|
+
|
52
|
+
declare const useEmbedPluginState: () => Omit<EmbedPluginState & _xyo_network_react_shared.ContextExState, "provided">;
|
53
|
+
|
54
|
+
interface RefreshPayloadProps {
|
55
|
+
onRefresh?: () => void;
|
56
|
+
refreshPayload?: boolean;
|
57
|
+
}
|
58
|
+
declare const RefreshPayloadProvider: React__default.FC<WithChildren<RefreshPayloadProps>>;
|
59
|
+
|
60
|
+
interface RefreshPayloadState extends ContextExState {
|
61
|
+
onRefresh?: () => void;
|
62
|
+
refreshPayload?: boolean;
|
63
|
+
setRefreshPayload?: Dispatch<SetStateAction<boolean | undefined>>;
|
64
|
+
}
|
65
|
+
|
66
|
+
declare const useRefreshPayload: () => Omit<RefreshPayloadState & _xyo_network_react_shared.ContextExState, "provided">;
|
67
|
+
|
68
|
+
interface ResolvePayloadState extends ContextExState {
|
69
|
+
huri?: string;
|
70
|
+
huriError?: ModuleError;
|
71
|
+
huriPayload?: string | Payload;
|
72
|
+
notFound?: boolean;
|
73
|
+
payload?: Payload;
|
74
|
+
refreshHuri?: () => void;
|
75
|
+
setPayload?: Dispatch<SetStateAction<Payload | undefined>>;
|
76
|
+
}
|
77
|
+
|
78
|
+
declare const ResolvePayloadContext: React.Context<ResolvePayloadState & _xyo_network_react_shared.ContextExState>;
|
79
|
+
|
80
|
+
type ResolvePayloadProviderProps = Omit<ResolvePayloadState, 'provided'>;
|
81
|
+
declare const ResolvePayloadProvider: React__default.FC<WithChildren<ResolvePayloadProviderProps>>;
|
82
|
+
|
83
|
+
declare const useResolvePayload: () => Omit<ResolvePayloadState & _xyo_network_react_shared.ContextExState, "provided">;
|
84
|
+
|
85
|
+
interface ValidatePayloadProviderProps {
|
86
|
+
enabled?: boolean;
|
87
|
+
}
|
88
|
+
declare const ValidatePayloadProvider: React__default.FC<WithChildren<ValidatePayloadProviderProps>>;
|
89
|
+
|
90
|
+
interface ValidatePayloadState extends ContextExState {
|
91
|
+
enabled?: boolean;
|
92
|
+
schema?: string;
|
93
|
+
validPayload?: boolean;
|
94
|
+
}
|
95
|
+
|
96
|
+
declare const useValidatePayload: () => Omit<ValidatePayloadState & _xyo_network_react_shared.ContextExState, "provided">;
|
97
|
+
|
98
|
+
interface EmbedPluginProps extends EmbedPluginBase {
|
99
|
+
hideElementsConfig?: EmbedPluginVisibilityConfig;
|
100
|
+
huriPayload?: string | Payload;
|
101
|
+
onRefresh?: () => void;
|
102
|
+
validateSchema?: boolean;
|
103
|
+
}
|
104
|
+
|
105
|
+
interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {
|
106
|
+
}
|
107
|
+
declare const ApiEmbedPluginCard: React__default.FC<EmbedPluginCardProps>;
|
108
|
+
declare const EmbedPluginCardInner: React__default.FC<BusyCardProps>;
|
109
|
+
|
110
|
+
declare const EmbedPluginInner: React__default.FC<WithChildren<EmbedPluginProps>>;
|
111
|
+
|
112
|
+
export { ApiEmbedPluginCard, BusyCard, type BusyCardProps, EmbedCardHeader, EmbedPluginCard as EmbedPlugin, type EmbedPluginBase, EmbedPluginCard, EmbedPluginCardInner, type EmbedPluginCardProps, EmbedPluginContext, EmbedPluginInner, type EmbedPluginProps, EmbedPluginProvider, type EmbedPluginProviderProps, type EmbedPluginState, type EmbedPluginVisibilityConfig, type PluginConfig, type RefreshPayloadProps, RefreshPayloadProvider, type RefreshPayloadState, ResolvePayloadContext, ResolvePayloadProvider, type ResolvePayloadProviderProps, type ResolvePayloadState, ValidatePayloadProvider, type ValidatePayloadProviderProps, type ValidatePayloadState, useEmbedPluginState, useRefreshPayload, useResolvePayload, useValidatePayload };
|
@@ -0,0 +1,573 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
3
|
+
|
4
|
+
// src/components/embed-card/card/BusyCard.tsx
|
5
|
+
import { Card } from "@mui/material";
|
6
|
+
import { useBusyTiming } from "@xylabs/react-flexbox";
|
7
|
+
import { BusyCircularProgress, BusyLinearProgress } from "@xylabs/react-shared";
|
8
|
+
import React from "react";
|
9
|
+
var BusyCard = /* @__PURE__ */ __name(({ busy, busyMinimum = 500, busyVariant = "circular", busyVariantProps, children, ...props }) => {
|
10
|
+
const internalBusy = useBusyTiming(busy, busyMinimum);
|
11
|
+
return /* @__PURE__ */ React.createElement(Card, props, children, busyVariant === "circular" && internalBusy ? /* @__PURE__ */ React.createElement(BusyCircularProgress, busyVariantProps) : null, busyVariant === "linear" && internalBusy ? /* @__PURE__ */ React.createElement(BusyLinearProgress, busyVariantProps) : null);
|
12
|
+
}, "BusyCard");
|
13
|
+
|
14
|
+
// src/components/embed-card/card/EmbedCardHeader.tsx
|
15
|
+
import { Refresh as RefreshIcon } from "@mui/icons-material";
|
16
|
+
import { Avatar, CardHeader, Chip as Chip2 } from "@mui/material";
|
17
|
+
import { FlexRow } from "@xylabs/react-flexbox";
|
18
|
+
import React8 from "react";
|
19
|
+
|
20
|
+
// src/contexts/EmbedPluginContext/Context.ts
|
21
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
22
|
+
var EmbedPluginContext = createContextEx();
|
23
|
+
|
24
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
25
|
+
import React2, { useEffect, useState } from "react";
|
26
|
+
var EmbedPluginProvider = /* @__PURE__ */ __name(({ children, refreshTitle, timestampLabel, hideElementsConfig, plugins, embedPluginConfig }) => {
|
27
|
+
const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
|
28
|
+
useEffect(() => {
|
29
|
+
setActivePlugin(plugins ? plugins[0] : void 0);
|
30
|
+
}, [
|
31
|
+
plugins
|
32
|
+
]);
|
33
|
+
return /* @__PURE__ */ React2.createElement(EmbedPluginContext.Provider, {
|
34
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
35
|
+
value: {
|
36
|
+
activePlugin,
|
37
|
+
embedPluginConfig,
|
38
|
+
hideElementsConfig,
|
39
|
+
provided: true,
|
40
|
+
refreshTitle,
|
41
|
+
setActivePlugin,
|
42
|
+
timestampLabel
|
43
|
+
}
|
44
|
+
}, children);
|
45
|
+
}, "EmbedPluginProvider");
|
46
|
+
|
47
|
+
// src/contexts/EmbedPluginContext/use.ts
|
48
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
49
|
+
var useEmbedPluginState = /* @__PURE__ */ __name(() => useContextEx(EmbedPluginContext, "EmbedPlugin", true), "useEmbedPluginState");
|
50
|
+
|
51
|
+
// src/contexts/RefreshPayloadContext/Provider.tsx
|
52
|
+
import React3, { useState as useState2 } from "react";
|
53
|
+
|
54
|
+
// src/contexts/RefreshPayloadContext/Context.ts
|
55
|
+
import { createContextEx as createContextEx2 } from "@xyo-network/react-shared";
|
56
|
+
var RefreshPayloadContext = createContextEx2();
|
57
|
+
|
58
|
+
// src/contexts/RefreshPayloadContext/Provider.tsx
|
59
|
+
var RefreshPayloadProvider = /* @__PURE__ */ __name(({ children, onRefresh, refreshPayload }) => {
|
60
|
+
const [localRefreshPayload, setRefreshPayload] = useState2(refreshPayload);
|
61
|
+
return (
|
62
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
63
|
+
/* @__PURE__ */ React3.createElement(RefreshPayloadContext.Provider, {
|
64
|
+
value: {
|
65
|
+
onRefresh,
|
66
|
+
provided: true,
|
67
|
+
refreshPayload: localRefreshPayload,
|
68
|
+
setRefreshPayload
|
69
|
+
}
|
70
|
+
}, children)
|
71
|
+
);
|
72
|
+
}, "RefreshPayloadProvider");
|
73
|
+
|
74
|
+
// src/contexts/RefreshPayloadContext/use.ts
|
75
|
+
import { useContextEx as useContextEx2 } from "@xyo-network/react-shared";
|
76
|
+
var useRefreshPayload = /* @__PURE__ */ __name(() => useContextEx2(RefreshPayloadContext, "RefreshPayload", true), "useRefreshPayload");
|
77
|
+
|
78
|
+
// src/contexts/ResolvePayloadContext/Context.ts
|
79
|
+
import { createContextEx as createContextEx3 } from "@xyo-network/react-shared";
|
80
|
+
var ResolvePayloadContext = createContextEx3();
|
81
|
+
|
82
|
+
// src/contexts/ResolvePayloadContext/Provider.tsx
|
83
|
+
import { delay } from "@xylabs/delay";
|
84
|
+
import { useAsyncEffect } from "@xylabs/react-async-effect";
|
85
|
+
import { Huri } from "@xyo-network/huri";
|
86
|
+
import { ModuleErrorSchema } from "@xyo-network/payload-model";
|
87
|
+
import React4, { useEffect as useEffect2, useState as useState3 } from "react";
|
88
|
+
var ResolvePayloadProvider = /* @__PURE__ */ __name(({ children, huriPayload }) => {
|
89
|
+
const [payload, setPayload] = useState3();
|
90
|
+
const [huri, setHuri] = useState3();
|
91
|
+
const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload();
|
92
|
+
useEffect2(() => {
|
93
|
+
typeof huriPayload === "string" ? setHuri(huriPayload) : void 0;
|
94
|
+
if (typeof huriPayload === "object") {
|
95
|
+
setPayload(huriPayload);
|
96
|
+
setRefreshPayload?.(true);
|
97
|
+
}
|
98
|
+
}, [
|
99
|
+
huriPayload,
|
100
|
+
setRefreshPayload
|
101
|
+
]);
|
102
|
+
const [notFound, setNotFound] = useState3();
|
103
|
+
const [huriError, setHuriError] = useState3();
|
104
|
+
useAsyncEffect(async (mounted) => {
|
105
|
+
if (huri && !refreshPayload) {
|
106
|
+
try {
|
107
|
+
const huriInstance = new Huri(huri);
|
108
|
+
const result = await huriInstance.fetch();
|
109
|
+
await delay(500);
|
110
|
+
if (mounted()) {
|
111
|
+
setNotFound(result === null);
|
112
|
+
setPayload(result);
|
113
|
+
setRefreshPayload?.(true);
|
114
|
+
}
|
115
|
+
} catch (e) {
|
116
|
+
const error = e;
|
117
|
+
setHuriError({
|
118
|
+
message: error.message,
|
119
|
+
schema: ModuleErrorSchema,
|
120
|
+
sources: []
|
121
|
+
});
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}, [
|
125
|
+
huri,
|
126
|
+
payload,
|
127
|
+
refreshPayload,
|
128
|
+
setRefreshPayload
|
129
|
+
]);
|
130
|
+
const refreshHuri = /* @__PURE__ */ __name(() => {
|
131
|
+
onRefresh?.();
|
132
|
+
if (huri) {
|
133
|
+
setRefreshPayload?.(false);
|
134
|
+
}
|
135
|
+
}, "refreshHuri");
|
136
|
+
return (
|
137
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
138
|
+
/* @__PURE__ */ React4.createElement(ResolvePayloadContext.Provider, {
|
139
|
+
value: {
|
140
|
+
huri,
|
141
|
+
huriError,
|
142
|
+
notFound,
|
143
|
+
payload,
|
144
|
+
provided: true,
|
145
|
+
refreshHuri,
|
146
|
+
setPayload
|
147
|
+
}
|
148
|
+
}, children)
|
149
|
+
);
|
150
|
+
}, "ResolvePayloadProvider");
|
151
|
+
|
152
|
+
// src/contexts/ResolvePayloadContext/use.ts
|
153
|
+
import { useContextEx as useContextEx3 } from "@xyo-network/react-shared";
|
154
|
+
var useResolvePayload = /* @__PURE__ */ __name(() => useContextEx3(ResolvePayloadContext, "ResolvePayload", true), "useResolvePayload");
|
155
|
+
|
156
|
+
// src/contexts/ValidatePayloadContext/Provider.tsx
|
157
|
+
import { Chip } from "@mui/material";
|
158
|
+
import { useAsyncEffect as useAsyncEffect2 } from "@xylabs/react-async-effect";
|
159
|
+
import { SchemaCache } from "@xyo-network/schema-cache";
|
160
|
+
import React5, { useState as useState4 } from "react";
|
161
|
+
|
162
|
+
// src/contexts/ValidatePayloadContext/Context.ts
|
163
|
+
import { createContextEx as createContextEx4 } from "@xyo-network/react-shared";
|
164
|
+
var ValidatePayloadContext = createContextEx4();
|
165
|
+
|
166
|
+
// src/contexts/ValidatePayloadContext/Provider.tsx
|
167
|
+
var ValidatePayloadProvider = /* @__PURE__ */ __name(({ children, enabled = false }) => {
|
168
|
+
const { payload } = useResolvePayload();
|
169
|
+
const [initialized, setInitialized] = useState4(false);
|
170
|
+
const [valid, setValid] = useState4();
|
171
|
+
useAsyncEffect2(async () => {
|
172
|
+
if (payload && enabled) {
|
173
|
+
await SchemaCache.instance.get(payload.schema);
|
174
|
+
const possibleKnownSchema = payload.schema;
|
175
|
+
if (SchemaCache.instance.validators[possibleKnownSchema]) {
|
176
|
+
const validator = SchemaCache.instance.validators[possibleKnownSchema];
|
177
|
+
setValid(validator?.(payload));
|
178
|
+
}
|
179
|
+
setInitialized(true);
|
180
|
+
}
|
181
|
+
}, [
|
182
|
+
payload,
|
183
|
+
enabled
|
184
|
+
]);
|
185
|
+
return (
|
186
|
+
// eslint-disable-next-line @eslint-react/no-unstable-context-value
|
187
|
+
/* @__PURE__ */ React5.createElement(ValidatePayloadContext.Provider, {
|
188
|
+
value: {
|
189
|
+
enabled,
|
190
|
+
provided: true,
|
191
|
+
schema: payload?.schema,
|
192
|
+
validPayload: valid
|
193
|
+
}
|
194
|
+
}, enabled ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, initialized ? children : /* @__PURE__ */ React5.createElement(Chip, {
|
195
|
+
label: "Validating Payload..."
|
196
|
+
})) : children)
|
197
|
+
);
|
198
|
+
}, "ValidatePayloadProvider");
|
199
|
+
|
200
|
+
// src/contexts/ValidatePayloadContext/use.ts
|
201
|
+
import { useContextEx as useContextEx4 } from "@xyo-network/react-shared";
|
202
|
+
var useValidatePayload = /* @__PURE__ */ __name(() => useContextEx4(ValidatePayloadContext, "ValidateSchema", true), "useValidatePayload");
|
203
|
+
|
204
|
+
// src/components/embed-card/menu/EmbedMenu.tsx
|
205
|
+
import { MoreVert as MoreVertIcon } from "@mui/icons-material";
|
206
|
+
import { IconButton, Menu } from "@mui/material";
|
207
|
+
import React7, { useState as useState5 } from "react";
|
208
|
+
|
209
|
+
// src/components/embed-card/menu/JsonMenuItem.tsx
|
210
|
+
import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
|
211
|
+
import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
|
212
|
+
import React6 from "react";
|
213
|
+
var JsonMenuItem = /* @__PURE__ */ __name((props) => {
|
214
|
+
const { huri } = useResolvePayload();
|
215
|
+
return /* @__PURE__ */ React6.createElement(React6.Fragment, null, huri ? /* @__PURE__ */ React6.createElement(MenuItem, {
|
216
|
+
title: "Source Payload JSON",
|
217
|
+
onClick: /* @__PURE__ */ __name(() => window.open(huri, "_blank"), "onClick"),
|
218
|
+
...props
|
219
|
+
}, /* @__PURE__ */ React6.createElement(ListItemText, {
|
220
|
+
sx: {
|
221
|
+
mr: 1
|
222
|
+
}
|
223
|
+
}, "JSON"), /* @__PURE__ */ React6.createElement(ListItemIcon, {
|
224
|
+
sx: {
|
225
|
+
justifyContent: "end"
|
226
|
+
}
|
227
|
+
}, /* @__PURE__ */ React6.createElement(OpenInNewIcon, {
|
228
|
+
fontSize: "small"
|
229
|
+
}))) : null);
|
230
|
+
}, "JsonMenuItem");
|
231
|
+
|
232
|
+
// src/components/embed-card/menu/EmbedMenu.tsx
|
233
|
+
var EmbedMenu = /* @__PURE__ */ __name((props) => {
|
234
|
+
const [anchorEl, setAnchorEl] = useState5(null);
|
235
|
+
const open = Boolean(anchorEl);
|
236
|
+
const handleClick = /* @__PURE__ */ __name((event) => {
|
237
|
+
setAnchorEl(event.currentTarget);
|
238
|
+
}, "handleClick");
|
239
|
+
const handleClose = /* @__PURE__ */ __name(() => {
|
240
|
+
setAnchorEl(null);
|
241
|
+
}, "handleClose");
|
242
|
+
return /* @__PURE__ */ React7.createElement(React7.Fragment, null, /* @__PURE__ */ React7.createElement(IconButton, {
|
243
|
+
onClick: handleClick,
|
244
|
+
...props
|
245
|
+
}, /* @__PURE__ */ React7.createElement(MoreVertIcon, null)), /* @__PURE__ */ React7.createElement(Menu, {
|
246
|
+
anchorEl,
|
247
|
+
open,
|
248
|
+
onClose: handleClose,
|
249
|
+
PaperProps: {
|
250
|
+
variant: "elevation"
|
251
|
+
},
|
252
|
+
MenuListProps: {
|
253
|
+
dense: true
|
254
|
+
}
|
255
|
+
}, /* @__PURE__ */ React7.createElement(JsonMenuItem, null)));
|
256
|
+
}, "EmbedMenu");
|
257
|
+
|
258
|
+
// src/components/embed-card/card/EmbedCardHeader.tsx
|
259
|
+
var EmbedCardHeader = /* @__PURE__ */ __name(() => {
|
260
|
+
const { refreshHuri, huri } = useResolvePayload();
|
261
|
+
const { activePlugin, timestampLabel, hideElementsConfig } = useEmbedPluginState();
|
262
|
+
const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig ?? {};
|
263
|
+
const timestamp = Date.now();
|
264
|
+
return /* @__PURE__ */ React8.createElement(CardHeader, {
|
265
|
+
sx: {
|
266
|
+
flexWrap: "wrap",
|
267
|
+
rowGap: 1
|
268
|
+
},
|
269
|
+
avatar: hideAvatar ? /* @__PURE__ */ React8.createElement(React8.Fragment, null) : /* @__PURE__ */ React8.createElement(Avatar, {
|
270
|
+
sx: {
|
271
|
+
bgcolor: /* @__PURE__ */ __name((theme) => theme.palette.primary.main, "bgcolor")
|
272
|
+
},
|
273
|
+
"aria-label": activePlugin?.name
|
274
|
+
}, activePlugin?.name?.charAt(0)),
|
275
|
+
action: /* @__PURE__ */ React8.createElement(FlexRow, {
|
276
|
+
flexWrap: "wrap",
|
277
|
+
columnGap: 0.5
|
278
|
+
}, timestamp ? hideTimestamp && hideRefreshButton ? "" : /* @__PURE__ */ React8.createElement(Chip2, {
|
279
|
+
avatar: hideRefreshButton ? /* @__PURE__ */ React8.createElement(React8.Fragment, null) : /* @__PURE__ */ React8.createElement(RefreshIcon, null),
|
280
|
+
clickable: hideRefreshButton ? false : true,
|
281
|
+
onClick: refreshHuri,
|
282
|
+
label: hideTimestamp ? "" : `${timestampLabel} ${new Date(timestamp).toLocaleString()}`
|
283
|
+
}) : null, hideCardActions || huri === void 0 ? null : /* @__PURE__ */ React8.createElement(EmbedMenu, null)),
|
284
|
+
title: hideTitle ? "" : activePlugin?.name
|
285
|
+
});
|
286
|
+
}, "EmbedCardHeader");
|
287
|
+
|
288
|
+
// src/components/embed-card/card/EmbedPluginCard.tsx
|
289
|
+
import { CardContent } from "@mui/material";
|
290
|
+
import { FlexGrowRow } from "@xylabs/react-flexbox";
|
291
|
+
import { useListMode as useListMode2 } from "@xyo-network/react-shared";
|
292
|
+
import React12 from "react";
|
293
|
+
|
294
|
+
// src/components/controls/EmbedFormControl.tsx
|
295
|
+
import { FormControl, InputLabel } from "@mui/material";
|
296
|
+
import React9 from "react";
|
297
|
+
var EmbedFormControl = /* @__PURE__ */ __name(({ formId, formLabel, children, ...props }) => {
|
298
|
+
return /* @__PURE__ */ React9.createElement(FormControl, props, /* @__PURE__ */ React9.createElement(InputLabel, {
|
299
|
+
id: formId
|
300
|
+
}, formLabel), children);
|
301
|
+
}, "EmbedFormControl");
|
302
|
+
|
303
|
+
// src/components/controls/ListModeSelect.tsx
|
304
|
+
import { MenuItem as MenuItem2 } from "@mui/material";
|
305
|
+
import { SelectEx } from "@xylabs/react-select";
|
306
|
+
import { useListMode } from "@xyo-network/react-shared";
|
307
|
+
import React10 from "react";
|
308
|
+
var listModeSelectId = "listmode-select-id";
|
309
|
+
var listModeSelectLabel = "List Mode";
|
310
|
+
var ListModeSelect = /* @__PURE__ */ __name((props) => {
|
311
|
+
const { listMode, setListMode } = useListMode();
|
312
|
+
return /* @__PURE__ */ React10.createElement(SelectEx, {
|
313
|
+
value: listMode ?? "default",
|
314
|
+
onChange: /* @__PURE__ */ __name((event) => {
|
315
|
+
setListMode?.(event.target.value);
|
316
|
+
}, "onChange"),
|
317
|
+
...props
|
318
|
+
}, /* @__PURE__ */ React10.createElement(MenuItem2, {
|
319
|
+
key: "default",
|
320
|
+
value: "default"
|
321
|
+
}, "Default"), /* @__PURE__ */ React10.createElement(MenuItem2, {
|
322
|
+
key: "table",
|
323
|
+
value: "table"
|
324
|
+
}, "Table"), /* @__PURE__ */ React10.createElement(MenuItem2, {
|
325
|
+
key: "grid",
|
326
|
+
value: "grid"
|
327
|
+
}, "Grid"));
|
328
|
+
}, "ListModeSelect");
|
329
|
+
var ListModeSelectFormControl = /* @__PURE__ */ __name((props) => {
|
330
|
+
return /* @__PURE__ */ React10.createElement(EmbedFormControl, {
|
331
|
+
formId: listModeSelectId,
|
332
|
+
formLabel: listModeSelectLabel
|
333
|
+
}, /* @__PURE__ */ React10.createElement(ListModeSelect, {
|
334
|
+
size: "small",
|
335
|
+
label: listModeSelectLabel,
|
336
|
+
labelId: listModeSelectId,
|
337
|
+
...props
|
338
|
+
}));
|
339
|
+
}, "ListModeSelectFormControl");
|
340
|
+
|
341
|
+
// src/components/controls/RenderSelect.tsx
|
342
|
+
import { MenuItem as MenuItem3 } from "@mui/material";
|
343
|
+
import { SelectEx as SelectEx2 } from "@xylabs/react-select";
|
344
|
+
import React11 from "react";
|
345
|
+
var renderSelectId = "render-select-id";
|
346
|
+
var renderSelectLabel = "Renderer";
|
347
|
+
var EmbedRenderSelect = /* @__PURE__ */ __name((props) => {
|
348
|
+
const { activePlugin, setActivePlugin, plugins } = useEmbedPluginState();
|
349
|
+
return /* @__PURE__ */ React11.createElement(EmbedFormControl, {
|
350
|
+
formId: renderSelectId,
|
351
|
+
formLabel: renderSelectLabel
|
352
|
+
}, /* @__PURE__ */ React11.createElement(SelectEx2, {
|
353
|
+
size: "small",
|
354
|
+
value: activePlugin?.name,
|
355
|
+
...props
|
356
|
+
}, plugins?.map((plugin) => /* @__PURE__ */ React11.createElement(MenuItem3, {
|
357
|
+
value: plugin.name,
|
358
|
+
key: plugin.name,
|
359
|
+
onClick: /* @__PURE__ */ __name(() => setActivePlugin?.(plugin), "onClick")
|
360
|
+
}, plugin.name))));
|
361
|
+
}, "EmbedRenderSelect");
|
362
|
+
|
363
|
+
// src/components/embed-card/card/EmbedPluginCard.tsx
|
364
|
+
var EmbedPluginCard = /* @__PURE__ */ __name(({ ...props }) => {
|
365
|
+
const { payload } = useResolvePayload();
|
366
|
+
const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = useEmbedPluginState();
|
367
|
+
const { listMode } = useListMode2();
|
368
|
+
const supportsListMode = ActivePlugin?.components?.box?.listModes?.length ?? 0 > 1;
|
369
|
+
return /* @__PURE__ */ React12.createElement(BusyCard, props, hideElementsConfig?.hideCardHeader ? null : /* @__PURE__ */ React12.createElement(EmbedCardHeader, null), plugins && plugins.length > 0 || supportsListMode ? /* @__PURE__ */ React12.createElement(FlexGrowRow, {
|
370
|
+
columnGap: 2,
|
371
|
+
rowGap: 2,
|
372
|
+
flexWrap: "wrap",
|
373
|
+
pb: 1
|
374
|
+
}, plugins && plugins.length > 1 ? /* @__PURE__ */ React12.createElement(EmbedRenderSelect, null) : null, supportsListMode ? /* @__PURE__ */ React12.createElement(ListModeSelectFormControl, null) : null) : null, /* @__PURE__ */ React12.createElement(CardContent, {
|
375
|
+
sx: {
|
376
|
+
height: "100%"
|
377
|
+
}
|
378
|
+
}, ActivePlugin ? /* @__PURE__ */ React12.createElement(ActivePlugin.components.box.detailsBox, {
|
379
|
+
payload,
|
380
|
+
...supportsListMode && {
|
381
|
+
listMode
|
382
|
+
}
|
383
|
+
}) : null));
|
384
|
+
}, "EmbedPluginCard");
|
385
|
+
|
386
|
+
// src/components/embed-card/EmbedPluginCard.tsx
|
387
|
+
import { useTheme } from "@mui/material";
|
388
|
+
import React19 from "react";
|
389
|
+
|
390
|
+
// src/components/EmbedPlugin.tsx
|
391
|
+
import { ErrorBoundary, ListModeProvider } from "@xyo-network/react-shared";
|
392
|
+
import React16 from "react";
|
393
|
+
|
394
|
+
// src/components/EmbedResolver.tsx
|
395
|
+
import { LoadResult } from "@xyo-network/react-shared";
|
396
|
+
import React13 from "react";
|
397
|
+
var EmbedResolver = /* @__PURE__ */ __name(({ children }) => {
|
398
|
+
const { payload, notFound, huriError } = useResolvePayload();
|
399
|
+
return /* @__PURE__ */ React13.createElement(LoadResult, {
|
400
|
+
searchResult: payload,
|
401
|
+
notFound: !!notFound,
|
402
|
+
error: !!huriError
|
403
|
+
}, children);
|
404
|
+
}, "EmbedResolver");
|
405
|
+
|
406
|
+
// src/components/validation-alerts/ValidatePayload.tsx
|
407
|
+
import { Alert } from "@mui/material";
|
408
|
+
import React14 from "react";
|
409
|
+
var ValidatePayloadAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
|
410
|
+
const { validPayload, enabled, schema } = useValidatePayload();
|
411
|
+
if (enabled && validPayload === false) {
|
412
|
+
return /* @__PURE__ */ React14.createElement(Alert, {
|
413
|
+
severity: "error",
|
414
|
+
title: "Invalid Payload!",
|
415
|
+
...props
|
416
|
+
}, "Payload schema claimed to be", " ", schema, " ", "but failed to validate.");
|
417
|
+
}
|
418
|
+
return /* @__PURE__ */ React14.createElement(React14.Fragment, null, children);
|
419
|
+
}, "ValidatePayloadAlert");
|
420
|
+
|
421
|
+
// src/components/validation-alerts/ValidatePlugins.tsx
|
422
|
+
import { Alert as Alert2, AlertTitle } from "@mui/material";
|
423
|
+
import React15 from "react";
|
424
|
+
var ValidatePluginsAlert = /* @__PURE__ */ __name(({ children, ...props }) => {
|
425
|
+
const { payload } = useResolvePayload();
|
426
|
+
const { plugins } = useEmbedPluginState();
|
427
|
+
if (payload && plugins?.length === 0) {
|
428
|
+
return /* @__PURE__ */ React15.createElement(Alert2, {
|
429
|
+
severity: "warning",
|
430
|
+
...props
|
431
|
+
}, /* @__PURE__ */ React15.createElement(AlertTitle, null, "Missing plugins!"), "Payload found but no plugins were present.");
|
432
|
+
}
|
433
|
+
return /* @__PURE__ */ React15.createElement(React15.Fragment, null, children);
|
434
|
+
}, "ValidatePluginsAlert");
|
435
|
+
|
436
|
+
// src/components/EmbedPlugin.tsx
|
437
|
+
var EmbedPluginInner = /* @__PURE__ */ __name(({ validateSchema, plugins, huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, children }) => {
|
438
|
+
return /* @__PURE__ */ React16.createElement(ErrorBoundary, null, /* @__PURE__ */ React16.createElement(EmbedPluginProvider, {
|
439
|
+
refreshTitle,
|
440
|
+
timestampLabel,
|
441
|
+
hideElementsConfig,
|
442
|
+
plugins,
|
443
|
+
embedPluginConfig
|
444
|
+
}, /* @__PURE__ */ React16.createElement(WithResolvers, {
|
445
|
+
onRefresh,
|
446
|
+
huriPayload
|
447
|
+
}, /* @__PURE__ */ React16.createElement(WithValidators, {
|
448
|
+
validateSchema
|
449
|
+
}, /* @__PURE__ */ React16.createElement(ListModeProvider, {
|
450
|
+
defaultListMode: embedPluginConfig?.listMode
|
451
|
+
}, children)))));
|
452
|
+
}, "EmbedPluginInner");
|
453
|
+
var WithResolvers = /* @__PURE__ */ __name(({ children, onRefresh, huriPayload }) => {
|
454
|
+
return /* @__PURE__ */ React16.createElement(RefreshPayloadProvider, {
|
455
|
+
onRefresh
|
456
|
+
}, /* @__PURE__ */ React16.createElement(ResolvePayloadProvider, {
|
457
|
+
huriPayload
|
458
|
+
}, /* @__PURE__ */ React16.createElement(EmbedResolver, null, children)));
|
459
|
+
}, "WithResolvers");
|
460
|
+
var WithValidators = /* @__PURE__ */ __name(({ children, validateSchema }) => {
|
461
|
+
return /* @__PURE__ */ React16.createElement(ValidatePayloadProvider, {
|
462
|
+
enabled: validateSchema
|
463
|
+
}, /* @__PURE__ */ React16.createElement(ValidatePluginsAlert, null, /* @__PURE__ */ React16.createElement(ValidatePayloadAlert, null, children)));
|
464
|
+
}, "WithValidators");
|
465
|
+
|
466
|
+
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
467
|
+
import { ErrorAlert, ErrorRender } from "@xyo-network/react-error";
|
468
|
+
import React18 from "react";
|
469
|
+
|
470
|
+
// src/components/embed-card/error-handling/EmbedErrorCard.tsx
|
471
|
+
import { Alert as Alert3, AlertTitle as AlertTitle2, Card as Card2, CardContent as CardContent2, Typography } from "@mui/material";
|
472
|
+
import React17 from "react";
|
473
|
+
var EmbedErrorCard = /* @__PURE__ */ __name((props) => {
|
474
|
+
const { alertProps, error, scope, hideErrorDetails = true, children, ...cardProps } = props;
|
475
|
+
const errorProps = {
|
476
|
+
alertProps,
|
477
|
+
error,
|
478
|
+
hideErrorDetails,
|
479
|
+
scope
|
480
|
+
};
|
481
|
+
return /* @__PURE__ */ React17.createElement(Card2, cardProps, /* @__PURE__ */ React17.createElement(CardContent2, null, children ?? /* @__PURE__ */ React17.createElement(DefaultErrorAlert, errorProps)));
|
482
|
+
}, "EmbedErrorCard");
|
483
|
+
var DefaultErrorAlert = /* @__PURE__ */ __name(({ alertProps, scope, hideErrorDetails, error }) => {
|
484
|
+
return /* @__PURE__ */ React17.createElement(Alert3, {
|
485
|
+
severity: "error",
|
486
|
+
...alertProps
|
487
|
+
}, /* @__PURE__ */ React17.createElement(AlertTitle2, null, "Whoops! Something went wrong"), scope ? /* @__PURE__ */ React17.createElement(Typography, {
|
488
|
+
variant: "caption"
|
489
|
+
}, "Scope:", scope) : null, !hideErrorDetails && error ? /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(Typography, {
|
490
|
+
variant: "caption"
|
491
|
+
}, "Error: "), /* @__PURE__ */ React17.createElement(Typography, {
|
492
|
+
variant: "caption"
|
493
|
+
}, error?.message)) : /* @__PURE__ */ React17.createElement(Typography, {
|
494
|
+
variant: "caption",
|
495
|
+
fontSize: "small"
|
496
|
+
}, "Error Loading Plugin"));
|
497
|
+
}, "DefaultErrorAlert");
|
498
|
+
|
499
|
+
// src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx
|
500
|
+
var EmbedCardApiErrorRenderer = /* @__PURE__ */ __name(({ xyoError, children, ...props }) => {
|
501
|
+
return /* @__PURE__ */ React18.createElement(ErrorRender, {
|
502
|
+
error: xyoError,
|
503
|
+
noReAuth: true,
|
504
|
+
noErrorDisplay: true,
|
505
|
+
customError: /* @__PURE__ */ React18.createElement(CustomApiErrorCard, {
|
506
|
+
xyoError,
|
507
|
+
...props
|
508
|
+
})
|
509
|
+
}, children);
|
510
|
+
}, "EmbedCardApiErrorRenderer");
|
511
|
+
var CustomApiErrorCard = /* @__PURE__ */ __name(({ xyoError, ...props }) => {
|
512
|
+
return /* @__PURE__ */ React18.createElement(EmbedErrorCard, props, /* @__PURE__ */ React18.createElement(ErrorAlert, {
|
513
|
+
error: xyoError
|
514
|
+
}));
|
515
|
+
}, "CustomApiErrorCard");
|
516
|
+
|
517
|
+
// src/components/embed-card/EmbedPluginCard.tsx
|
518
|
+
var ApiEmbedPluginCard = /* @__PURE__ */ __name(({ children, ...props }) => {
|
519
|
+
const { validateSchema, plugins = [], huriPayload, refreshTitle = "", timestampLabel = "Data From", hideElementsConfig, embedPluginConfig, onRefresh, ...busyCardProps } = props;
|
520
|
+
return /* @__PURE__ */ React19.createElement(EmbedPluginInner, {
|
521
|
+
embedPluginConfig,
|
522
|
+
hideElementsConfig,
|
523
|
+
huriPayload,
|
524
|
+
onRefresh,
|
525
|
+
plugins,
|
526
|
+
refreshTitle,
|
527
|
+
timestampLabel,
|
528
|
+
validateSchema
|
529
|
+
}, /* @__PURE__ */ React19.createElement(EmbedPluginCardInner, busyCardProps), children);
|
530
|
+
}, "ApiEmbedPluginCard");
|
531
|
+
var EmbedPluginCardInner = /* @__PURE__ */ __name((props) => {
|
532
|
+
const { payload, huriError } = useResolvePayload();
|
533
|
+
const { refreshPayload } = useRefreshPayload();
|
534
|
+
const theme = useTheme();
|
535
|
+
return /* @__PURE__ */ React19.createElement(EmbedCardApiErrorRenderer, {
|
536
|
+
xyoError: huriError
|
537
|
+
}, /* @__PURE__ */ React19.createElement(EmbedPluginCard, {
|
538
|
+
elevation: 3,
|
539
|
+
variant: "elevation",
|
540
|
+
busy: Boolean(!refreshPayload && payload),
|
541
|
+
busyVariantProps: {
|
542
|
+
style: {
|
543
|
+
alignItems: "start",
|
544
|
+
paddingTop: theme.spacing(2),
|
545
|
+
zIndex: 2
|
546
|
+
}
|
547
|
+
},
|
548
|
+
sx: {
|
549
|
+
position: "relative"
|
550
|
+
},
|
551
|
+
...props
|
552
|
+
}));
|
553
|
+
}, "EmbedPluginCardInner");
|
554
|
+
export {
|
555
|
+
ApiEmbedPluginCard,
|
556
|
+
BusyCard,
|
557
|
+
EmbedCardHeader,
|
558
|
+
EmbedPluginCard as EmbedPlugin,
|
559
|
+
EmbedPluginCard,
|
560
|
+
EmbedPluginCardInner,
|
561
|
+
EmbedPluginContext,
|
562
|
+
EmbedPluginInner,
|
563
|
+
EmbedPluginProvider,
|
564
|
+
RefreshPayloadProvider,
|
565
|
+
ResolvePayloadContext,
|
566
|
+
ResolvePayloadProvider,
|
567
|
+
ValidatePayloadProvider,
|
568
|
+
useEmbedPluginState,
|
569
|
+
useRefreshPayload,
|
570
|
+
useResolvePayload,
|
571
|
+
useValidatePayload
|
572
|
+
};
|
573
|
+
//# sourceMappingURL=index.mjs.map
|