@xyo-network/react-embed 2.64.0-rc.3 → 2.64.0-rc.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/EmbedPlugin.d.mts.map +1 -0
- package/dist/browser/components/EmbedPlugin.d.ts.map +1 -0
- package/dist/browser/components/EmbedPlugin.js +38 -0
- package/dist/browser/components/EmbedPlugin.js.map +1 -0
- package/dist/browser/components/EmbedResolver.d.mts.map +1 -0
- package/dist/browser/components/EmbedResolver.d.ts.map +1 -0
- package/dist/browser/components/EmbedResolver.js +11 -0
- package/dist/browser/components/EmbedResolver.js.map +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.mts.map +1 -0
- package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -0
- package/dist/browser/components/controls/EmbedFormControl.js +12 -0
- package/dist/browser/components/controls/EmbedFormControl.js.map +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.mts.map +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -0
- package/dist/browser/components/controls/ListModeSelect.js +32 -0
- package/dist/browser/components/controls/ListModeSelect.js.map +1 -0
- package/dist/browser/components/controls/RenderSelect.d.mts.map +1 -0
- package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -0
- package/dist/browser/components/controls/RenderSelect.js +14 -0
- package/dist/browser/components/controls/RenderSelect.js.map +1 -0
- package/dist/browser/components/controls/index.d.mts.map +1 -0
- package/dist/browser/components/controls/index.d.ts.map +1 -0
- package/dist/browser/components/controls/index.js +4 -0
- package/dist/browser/components/controls/index.js.map +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.js +27 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.js.map +1 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.js +61 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.js.map +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.mts.map +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.js +26 -0
- package/dist/browser/components/embed-card/card/BusyCard.js.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.js +36 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.js.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.js +26 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.js.map +1 -0
- package/dist/browser/components/embed-card/card/index.d.mts.map +1 -0
- package/dist/browser/components/embed-card/card/index.d.ts.map +1 -0
- package/dist/browser/components/embed-card/card/index.js +4 -0
- package/dist/browser/components/embed-card/card/index.js.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +13 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js +20 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
- package/dist/browser/components/embed-card/error-handling/index.d.mts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/index.js +3 -0
- package/dist/browser/components/embed-card/error-handling/index.js.map +1 -0
- package/dist/browser/components/embed-card/index.d.mts.map +1 -0
- package/dist/browser/components/embed-card/index.d.ts.map +1 -0
- package/dist/browser/components/embed-card/index.js +3 -0
- package/dist/browser/components/embed-card/index.js.map +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.js +23 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.js.map +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.js +15 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.js.map +1 -0
- package/dist/browser/components/embed-card/menu/index.d.mts.map +1 -0
- package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -0
- package/dist/browser/components/embed-card/menu/index.js +2 -0
- package/dist/browser/components/embed-card/menu/index.js.map +1 -0
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +25 -0
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +1 -0
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +85 -0
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyPayload.js +25 -0
- package/dist/browser/components/embed-plugin-stories/storyPayload.js.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.js +20 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.js.map +1 -0
- package/dist/browser/components/index.d.mts.map +1 -0
- package/dist/browser/components/index.d.ts.map +1 -0
- package/dist/browser/components/index.js +3 -0
- package/dist/browser/components/index.js.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.js +18 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.js.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.js +18 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.js.map +1 -0
- package/dist/browser/components/validation-alerts/index.d.mts.map +1 -0
- package/dist/browser/components/validation-alerts/index.d.ts.map +1 -0
- package/dist/browser/components/validation-alerts/index.js +3 -0
- package/dist/browser/components/validation-alerts/index.js.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Context.js +6 -0
- package/dist/browser/contexts/EmbedPluginContext/Context.js.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.js +35 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.js.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/State.d.mts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/State.d.ts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/State.js +1 -0
- package/dist/browser/contexts/EmbedPluginContext/State.js.map +1 -0
- package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.mts.map +1 -1
- package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.ts.map +1 -1
- package/dist/browser/contexts/EmbedPluginContext/index.js +5 -0
- package/dist/browser/contexts/EmbedPluginContext/index.js.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/use.d.mts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/use.js +7 -0
- package/dist/browser/contexts/EmbedPluginContext/use.js.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Context.js +6 -0
- package/dist/browser/contexts/RefreshPayloadContext/Context.js.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.js +11 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.js.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.js +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.js.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.js +4 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.js.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.js +7 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.js.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Context.js +6 -0
- package/dist/browser/contexts/ResolvePayloadContext/Context.js.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.js +54 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.js.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.js +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.js.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.js +5 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.js.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.js +7 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.js.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Context.js +6 -0
- package/dist/browser/contexts/ValidatePayloadContext/Context.js.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.js +32 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.js.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js +53 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.js +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.js.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.js +4 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.js.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.js +7 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.js.map +1 -0
- package/dist/browser/contexts/index.d.mts.map +1 -0
- package/dist/browser/contexts/index.d.ts.map +1 -0
- package/dist/browser/contexts/index.js +5 -0
- package/dist/browser/contexts/index.js.map +1 -0
- package/dist/browser/index.d.mts.map +1 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +4 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/types/EmbedPluginProps.d.mts.map +1 -0
- package/dist/browser/types/EmbedPluginProps.d.ts.map +1 -0
- package/dist/browser/types/EmbedPluginProps.js +1 -0
- package/dist/browser/types/EmbedPluginProps.js.map +1 -0
- package/dist/browser/types/index.d.mts.map +1 -0
- package/dist/browser/types/index.d.ts.map +1 -0
- package/dist/browser/types/index.js +2 -0
- package/dist/browser/types/index.js.map +1 -0
- package/dist/node/components/EmbedPlugin.d.mts +5 -0
- package/dist/node/components/EmbedPlugin.d.mts.map +1 -0
- package/dist/node/components/EmbedPlugin.d.ts +5 -0
- package/dist/node/components/EmbedPlugin.d.ts.map +1 -0
- package/dist/node/components/EmbedPlugin.js +62 -0
- package/dist/node/components/EmbedPlugin.js.map +1 -0
- package/dist/node/components/EmbedPlugin.mjs +38 -0
- package/dist/node/components/EmbedPlugin.mjs.map +1 -0
- package/dist/node/components/EmbedResolver.d.mts +4 -0
- package/dist/node/components/EmbedResolver.d.mts.map +1 -0
- package/dist/node/components/EmbedResolver.d.ts +4 -0
- package/dist/node/components/EmbedResolver.d.ts.map +1 -0
- package/dist/node/components/EmbedResolver.js +35 -0
- package/dist/node/components/EmbedResolver.js.map +1 -0
- package/dist/node/components/EmbedResolver.mjs +11 -0
- package/dist/node/components/EmbedResolver.mjs.map +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.mts +10 -0
- package/dist/node/components/controls/EmbedFormControl.d.mts.map +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.ts +10 -0
- package/dist/node/components/controls/EmbedFormControl.d.ts.map +1 -0
- package/dist/node/components/controls/EmbedFormControl.js +36 -0
- package/dist/node/components/controls/EmbedFormControl.js.map +1 -0
- package/dist/node/components/controls/EmbedFormControl.mjs +12 -0
- package/dist/node/components/controls/EmbedFormControl.mjs.map +1 -0
- package/dist/node/components/controls/ListModeSelect.d.mts +6 -0
- package/dist/node/components/controls/ListModeSelect.d.mts.map +1 -0
- package/dist/node/components/controls/ListModeSelect.d.ts +6 -0
- package/dist/node/components/controls/ListModeSelect.d.ts.map +1 -0
- package/dist/node/components/controls/ListModeSelect.js +57 -0
- package/dist/node/components/controls/ListModeSelect.js.map +1 -0
- package/dist/node/components/controls/ListModeSelect.mjs +32 -0
- package/dist/node/components/controls/ListModeSelect.mjs.map +1 -0
- package/dist/node/components/controls/RenderSelect.d.mts +4 -0
- package/dist/node/components/controls/RenderSelect.d.mts.map +1 -0
- package/dist/node/components/controls/RenderSelect.d.ts +4 -0
- package/dist/node/components/controls/RenderSelect.d.ts.map +1 -0
- package/dist/node/components/controls/RenderSelect.js +38 -0
- package/dist/node/components/controls/RenderSelect.js.map +1 -0
- package/dist/node/components/controls/RenderSelect.mjs +14 -0
- package/dist/node/components/controls/RenderSelect.mjs.map +1 -0
- package/dist/node/components/controls/index.d.mts +4 -0
- package/dist/node/components/controls/index.d.mts.map +1 -0
- package/dist/node/components/controls/index.d.ts +4 -0
- package/dist/node/components/controls/index.d.ts.map +1 -0
- package/dist/node/components/controls/index.js +27 -0
- package/dist/node/components/controls/index.js.map +1 -0
- package/dist/node/components/controls/index.mjs +4 -0
- package/dist/node/components/controls/index.mjs.map +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts +5 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts +5 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.js +51 -0
- package/dist/node/components/embed-card/EmbedCardResolver.js.map +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.mjs +27 -0
- package/dist/node/components/embed-card/EmbedCardResolver.mjs.map +1 -0
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts +11 -0
- package/dist/node/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts +11 -0
- package/dist/node/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/node/components/embed-card/EmbedPluginCard.js +87 -0
- package/dist/node/components/embed-card/EmbedPluginCard.js.map +1 -0
- package/dist/node/components/embed-card/EmbedPluginCard.mjs +61 -0
- package/dist/node/components/embed-card/EmbedPluginCard.mjs.map +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.mts +11 -0
- package/dist/node/components/embed-card/card/BusyCard.d.mts.map +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.ts +11 -0
- package/dist/node/components/embed-card/card/BusyCard.d.ts.map +1 -0
- package/dist/node/components/embed-card/card/BusyCard.js +47 -0
- package/dist/node/components/embed-card/card/BusyCard.js.map +1 -0
- package/dist/node/components/embed-card/card/BusyCard.mjs +26 -0
- package/dist/node/components/embed-card/card/BusyCard.mjs.map +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts +4 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts +4 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.js +60 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.js.map +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.mjs +36 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.mjs.map +1 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts +4 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts +4 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.js +50 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.js.map +1 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.mjs +26 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.mjs.map +1 -0
- package/dist/node/components/embed-card/card/index.d.mts +4 -0
- package/dist/node/components/embed-card/card/index.d.mts.map +1 -0
- package/dist/node/components/embed-card/card/index.d.ts +4 -0
- package/dist/node/components/embed-card/card/index.d.ts.map +1 -0
- package/dist/node/components/embed-card/card/index.js +27 -0
- package/dist/node/components/embed-card/card/index.js.map +1 -0
- package/dist/node/components/embed-card/card/index.mjs +4 -0
- package/dist/node/components/embed-card/card/index.mjs.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +10 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +10 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +37 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs +13 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts +15 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts +15 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js +44 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs +20 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs.map +1 -0
- package/dist/node/components/embed-card/error-handling/index.d.mts +3 -0
- package/dist/node/components/embed-card/error-handling/index.d.mts.map +1 -0
- package/dist/node/components/embed-card/error-handling/index.d.ts +3 -0
- package/dist/node/components/embed-card/error-handling/index.d.ts.map +1 -0
- package/dist/node/components/embed-card/error-handling/index.js +25 -0
- package/dist/node/components/embed-card/error-handling/index.js.map +1 -0
- package/dist/node/components/embed-card/error-handling/index.mjs +3 -0
- package/dist/node/components/embed-card/error-handling/index.mjs.map +1 -0
- package/dist/node/components/embed-card/index.d.mts +3 -0
- package/dist/node/components/embed-card/index.d.mts.map +1 -0
- package/dist/node/components/embed-card/index.d.ts +3 -0
- package/dist/node/components/embed-card/index.d.ts.map +1 -0
- package/dist/node/components/embed-card/index.js +25 -0
- package/dist/node/components/embed-card/index.js.map +1 -0
- package/dist/node/components/embed-card/index.mjs +3 -0
- package/dist/node/components/embed-card/index.mjs.map +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts +4 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts +4 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.js +47 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.js.map +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.mjs +23 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.mjs.map +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts +4 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts +4 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.js +39 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.js.map +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.mjs +15 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.mjs.map +1 -0
- package/dist/node/components/embed-card/menu/index.d.mts +2 -0
- package/dist/node/components/embed-card/menu/index.d.mts.map +1 -0
- package/dist/node/components/embed-card/menu/index.d.ts +2 -0
- package/dist/node/components/embed-card/menu/index.d.ts.map +1 -0
- package/dist/node/components/embed-card/menu/index.js +23 -0
- package/dist/node/components/embed-card/menu/index.js.map +1 -0
- package/dist/node/components/embed-card/menu/index.mjs +2 -0
- package/dist/node/components/embed-card/menu/index.mjs.map +1 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +50 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +1 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs +25 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs.map +1 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +115 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +1 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs +85 -0
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.d.mts +126 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.d.ts +126 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.js +49 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.js.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.mjs +25 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.mjs.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyShared.d.mts +5 -0
- package/dist/node/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyShared.d.ts +5 -0
- package/dist/node/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyShared.js +45 -0
- package/dist/node/components/embed-plugin-stories/storyShared.js.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyShared.mjs +20 -0
- package/dist/node/components/embed-plugin-stories/storyShared.mjs.map +1 -0
- package/dist/node/components/index.d.mts +3 -0
- package/dist/node/components/index.d.mts.map +1 -0
- package/dist/node/components/index.d.ts +3 -0
- package/dist/node/components/index.d.ts.map +1 -0
- package/dist/node/components/index.js +25 -0
- package/dist/node/components/index.js.map +1 -0
- package/dist/node/components/index.mjs +3 -0
- package/dist/node/components/index.mjs.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts +5 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts +5 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.js +42 -0
- package/dist/node/components/validation-alerts/ValidatePayload.js.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.mjs +18 -0
- package/dist/node/components/validation-alerts/ValidatePayload.mjs.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts +5 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts +5 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.js +42 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.js.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.mjs +18 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.mjs.map +1 -0
- package/dist/node/components/validation-alerts/index.d.mts +3 -0
- package/dist/node/components/validation-alerts/index.d.mts.map +1 -0
- package/dist/node/components/validation-alerts/index.d.ts +3 -0
- package/dist/node/components/validation-alerts/index.d.ts.map +1 -0
- package/dist/node/components/validation-alerts/index.js +25 -0
- package/dist/node/components/validation-alerts/index.js.map +1 -0
- package/dist/node/components/validation-alerts/index.mjs +3 -0
- package/dist/node/components/validation-alerts/index.mjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts +4 -0
- package/dist/node/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts +4 -0
- package/dist/node/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Context.js +30 -0
- package/dist/node/contexts/EmbedPluginContext/Context.js.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Context.mjs +6 -0
- package/dist/node/contexts/EmbedPluginContext/Context.mjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts +7 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts +7 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.js +59 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.js.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.mjs +35 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.mjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.d.mts +33 -0
- package/dist/node/contexts/EmbedPluginContext/State.d.mts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.d.ts +33 -0
- package/dist/node/contexts/EmbedPluginContext/State.d.ts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.js +17 -0
- package/dist/node/contexts/EmbedPluginContext/State.js.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.mjs +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.mjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/index.d.mts +5 -0
- package/dist/node/contexts/EmbedPluginContext/index.d.mts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/index.d.ts +5 -0
- package/dist/node/contexts/EmbedPluginContext/index.d.ts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/index.js +29 -0
- package/dist/node/contexts/EmbedPluginContext/index.js.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/index.mjs +5 -0
- package/dist/node/contexts/EmbedPluginContext/index.mjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/use.d.mts +2 -0
- package/dist/node/contexts/EmbedPluginContext/use.d.mts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/use.d.ts +2 -0
- package/dist/node/contexts/EmbedPluginContext/use.d.ts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/use.js +31 -0
- package/dist/node/contexts/EmbedPluginContext/use.js.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/use.mjs +7 -0
- package/dist/node/contexts/EmbedPluginContext/use.mjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts +4 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts +4 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.js +30 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.js.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.mjs +6 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.mjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts +8 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts +8 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.js +35 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.js.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.mjs +11 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.mjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.d.mts +8 -0
- package/dist/node/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.d.ts +8 -0
- package/dist/node/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.js +17 -0
- package/dist/node/contexts/RefreshPayloadContext/State.js.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.mjs +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.mjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts +4 -0
- package/dist/node/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts +4 -0
- package/dist/node/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/index.js +27 -0
- package/dist/node/contexts/RefreshPayloadContext/index.js.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/index.mjs +4 -0
- package/dist/node/contexts/RefreshPayloadContext/index.mjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts +2 -0
- package/dist/node/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts +2 -0
- package/dist/node/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/use.js +31 -0
- package/dist/node/contexts/RefreshPayloadContext/use.js.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/use.mjs +7 -0
- package/dist/node/contexts/RefreshPayloadContext/use.mjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts +4 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts +4 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.js +30 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.js.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.mjs +6 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.mjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts +6 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts +6 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.js +78 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.js.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.mjs +54 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.mjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.d.mts +13 -0
- package/dist/node/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.d.ts +13 -0
- package/dist/node/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.js +17 -0
- package/dist/node/contexts/ResolvePayloadContext/State.js.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.mjs +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.mjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts +5 -0
- package/dist/node/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts +5 -0
- package/dist/node/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/index.js +29 -0
- package/dist/node/contexts/ResolvePayloadContext/index.js.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/index.mjs +5 -0
- package/dist/node/contexts/ResolvePayloadContext/index.mjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts +2 -0
- package/dist/node/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts +2 -0
- package/dist/node/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/use.js +31 -0
- package/dist/node/contexts/ResolvePayloadContext/use.js.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/use.mjs +7 -0
- package/dist/node/contexts/ResolvePayloadContext/use.mjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts +4 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts +4 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.js +30 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.js.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.mjs +6 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.mjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts +7 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts +7 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.js +56 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.js.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.mjs +32 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.mjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js +79 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs +53 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.d.mts +7 -0
- package/dist/node/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.d.ts +7 -0
- package/dist/node/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.js +17 -0
- package/dist/node/contexts/ValidatePayloadContext/State.js.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.mjs +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.mjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts +4 -0
- package/dist/node/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts +4 -0
- package/dist/node/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/index.js +27 -0
- package/dist/node/contexts/ValidatePayloadContext/index.js.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/index.mjs +4 -0
- package/dist/node/contexts/ValidatePayloadContext/index.mjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts +2 -0
- package/dist/node/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts +2 -0
- package/dist/node/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/use.js +31 -0
- package/dist/node/contexts/ValidatePayloadContext/use.js.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/use.mjs +7 -0
- package/dist/node/contexts/ValidatePayloadContext/use.mjs.map +1 -0
- package/dist/node/contexts/index.d.mts +5 -0
- package/dist/node/contexts/index.d.mts.map +1 -0
- package/dist/node/contexts/index.d.ts +5 -0
- package/dist/node/contexts/index.d.ts.map +1 -0
- package/dist/node/contexts/index.js +29 -0
- package/dist/node/contexts/index.js.map +1 -0
- package/dist/node/contexts/index.mjs +5 -0
- package/dist/node/contexts/index.mjs.map +1 -0
- package/dist/node/index.d.mts +4 -0
- package/dist/node/index.d.mts.map +1 -0
- package/dist/node/index.d.ts +4 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +27 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/index.mjs +4 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/types/EmbedPluginProps.d.mts +10 -0
- package/dist/node/types/EmbedPluginProps.d.mts.map +1 -0
- package/dist/node/types/EmbedPluginProps.d.ts +10 -0
- package/dist/node/types/EmbedPluginProps.d.ts.map +1 -0
- package/dist/node/types/EmbedPluginProps.js +17 -0
- package/dist/node/types/EmbedPluginProps.js.map +1 -0
- package/dist/node/types/EmbedPluginProps.mjs +1 -0
- package/dist/node/types/EmbedPluginProps.mjs.map +1 -0
- package/dist/node/types/index.d.mts +2 -0
- package/dist/node/types/index.d.mts.map +1 -0
- package/dist/node/types/index.d.ts +2 -0
- package/dist/node/types/index.d.ts.map +1 -0
- package/dist/node/types/index.js +23 -0
- package/dist/node/types/index.js.map +1 -0
- package/dist/node/types/index.mjs +2 -0
- package/dist/node/types/index.mjs.map +1 -0
- package/package.json +26 -26
- package/dist/components/EmbedPlugin.d.mts.map +0 -1
- package/dist/components/EmbedPlugin.d.ts.map +0 -1
- package/dist/components/EmbedResolver.d.mts.map +0 -1
- package/dist/components/EmbedResolver.d.ts.map +0 -1
- package/dist/components/controls/EmbedFormControl.d.mts.map +0 -1
- package/dist/components/controls/EmbedFormControl.d.ts.map +0 -1
- package/dist/components/controls/ListModeSelect.d.mts.map +0 -1
- package/dist/components/controls/ListModeSelect.d.ts.map +0 -1
- package/dist/components/controls/RenderSelect.d.mts.map +0 -1
- package/dist/components/controls/RenderSelect.d.ts.map +0 -1
- package/dist/components/controls/index.d.mts.map +0 -1
- package/dist/components/controls/index.d.ts.map +0 -1
- package/dist/components/embed-card/EmbedCardResolver.d.mts.map +0 -1
- package/dist/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
- package/dist/components/embed-card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/components/embed-card/card/BusyCard.d.mts.map +0 -1
- package/dist/components/embed-card/card/BusyCard.d.ts.map +0 -1
- package/dist/components/embed-card/card/EmbedCardHeader.d.mts.map +0 -1
- package/dist/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
- package/dist/components/embed-card/card/EmbedPluginCard.d.mts.map +0 -1
- package/dist/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/components/embed-card/card/index.d.mts.map +0 -1
- package/dist/components/embed-card/card/index.d.ts.map +0 -1
- package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +0 -1
- package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
- package/dist/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +0 -1
- package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
- package/dist/components/embed-card/error-handling/index.d.mts.map +0 -1
- package/dist/components/embed-card/error-handling/index.d.ts.map +0 -1
- package/dist/components/embed-card/index.d.mts.map +0 -1
- package/dist/components/embed-card/index.d.ts.map +0 -1
- package/dist/components/embed-card/menu/EmbedMenu.d.mts.map +0 -1
- package/dist/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
- package/dist/components/embed-card/menu/JsonMenuItem.d.mts.map +0 -1
- package/dist/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
- package/dist/components/embed-card/menu/index.d.mts.map +0 -1
- package/dist/components/embed-card/menu/index.d.ts.map +0 -1
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts +0 -6
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts.map +0 -1
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts +0 -6
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts.map +0 -1
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts +0 -11
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts.map +0 -1
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts +0 -11
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts.map +0 -1
- package/dist/components/embed-plugin-stories/storyPayload.d.mts.map +0 -1
- package/dist/components/embed-plugin-stories/storyPayload.d.ts.map +0 -1
- package/dist/components/embed-plugin-stories/storyShared.d.mts.map +0 -1
- package/dist/components/embed-plugin-stories/storyShared.d.ts.map +0 -1
- package/dist/components/index.d.mts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/validation-alerts/ValidatePayload.d.mts.map +0 -1
- package/dist/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
- package/dist/components/validation-alerts/ValidatePlugins.d.mts.map +0 -1
- package/dist/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
- package/dist/components/validation-alerts/index.d.mts.map +0 -1
- package/dist/components/validation-alerts/index.d.ts.map +0 -1
- package/dist/contexts/EmbedPluginContext/Context.d.mts.map +0 -1
- package/dist/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
- package/dist/contexts/EmbedPluginContext/Provider.d.mts.map +0 -1
- package/dist/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
- package/dist/contexts/EmbedPluginContext/State.d.mts.map +0 -1
- package/dist/contexts/EmbedPluginContext/State.d.ts.map +0 -1
- package/dist/contexts/EmbedPluginContext/index.d.mts.map +0 -1
- package/dist/contexts/EmbedPluginContext/index.d.ts.map +0 -1
- package/dist/contexts/EmbedPluginContext/use.d.mts.map +0 -1
- package/dist/contexts/EmbedPluginContext/use.d.ts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/Context.d.mts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/Provider.d.mts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/State.d.mts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/index.d.mts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/use.d.mts.map +0 -1
- package/dist/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/Context.d.mts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/Provider.d.mts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/use.d.mts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/Context.d.mts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/Provider.d.mts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts +0 -15
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts +0 -15
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/State.d.mts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/index.d.mts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/use.d.mts.map +0 -1
- package/dist/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
- package/dist/contexts/index.d.mts.map +0 -1
- package/dist/contexts/index.d.ts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -533
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -493
- package/dist/index.mjs.map +0 -1
- package/dist/types/EmbedPluginProps.d.mts.map +0 -1
- package/dist/types/EmbedPluginProps.d.ts.map +0 -1
- package/dist/types/index.d.mts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- /package/dist/{components → browser/components}/EmbedPlugin.d.mts +0 -0
- /package/dist/{components → browser/components}/EmbedPlugin.d.ts +0 -0
- /package/dist/{components → browser/components}/EmbedResolver.d.mts +0 -0
- /package/dist/{components → browser/components}/EmbedResolver.d.ts +0 -0
- /package/dist/{components → browser/components}/controls/EmbedFormControl.d.mts +0 -0
- /package/dist/{components → browser/components}/controls/EmbedFormControl.d.ts +0 -0
- /package/dist/{components → browser/components}/controls/ListModeSelect.d.mts +0 -0
- /package/dist/{components → browser/components}/controls/ListModeSelect.d.ts +0 -0
- /package/dist/{components → browser/components}/controls/RenderSelect.d.mts +0 -0
- /package/dist/{components → browser/components}/controls/RenderSelect.d.ts +0 -0
- /package/dist/{components → browser/components}/controls/index.d.mts +0 -0
- /package/dist/{components → browser/components}/controls/index.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/EmbedCardResolver.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/EmbedCardResolver.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/EmbedPluginCard.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/EmbedPluginCard.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/BusyCard.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/BusyCard.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/EmbedCardHeader.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/EmbedCardHeader.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/EmbedPluginCard.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/EmbedPluginCard.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/index.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/card/index.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/error-handling/EmbedErrorCard.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/error-handling/EmbedErrorCard.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/error-handling/index.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/error-handling/index.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/index.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/index.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/menu/EmbedMenu.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/menu/EmbedMenu.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/menu/JsonMenuItem.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/menu/JsonMenuItem.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-card/menu/index.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-card/menu/index.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-plugin-stories/storyPayload.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-plugin-stories/storyPayload.d.ts +0 -0
- /package/dist/{components → browser/components}/embed-plugin-stories/storyShared.d.mts +0 -0
- /package/dist/{components → browser/components}/embed-plugin-stories/storyShared.d.ts +0 -0
- /package/dist/{components → browser/components}/index.d.mts +0 -0
- /package/dist/{components → browser/components}/index.d.ts +0 -0
- /package/dist/{components → browser/components}/validation-alerts/ValidatePayload.d.mts +0 -0
- /package/dist/{components → browser/components}/validation-alerts/ValidatePayload.d.ts +0 -0
- /package/dist/{components → browser/components}/validation-alerts/ValidatePlugins.d.mts +0 -0
- /package/dist/{components → browser/components}/validation-alerts/ValidatePlugins.d.ts +0 -0
- /package/dist/{components → browser/components}/validation-alerts/index.d.mts +0 -0
- /package/dist/{components → browser/components}/validation-alerts/index.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Context.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Context.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Provider.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/Provider.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/State.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/State.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/index.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/index.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/use.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/EmbedPluginContext/use.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Context.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Context.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Provider.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/Provider.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/State.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/State.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/index.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/index.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/use.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/RefreshPayloadContext/use.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Context.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Context.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Provider.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/Provider.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/State.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/State.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/index.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/index.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/use.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ResolvePayloadContext/use.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Context.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Context.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Provider.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/Provider.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/State.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/State.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/index.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/index.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/use.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/ValidatePayloadContext/use.d.ts +0 -0
- /package/dist/{contexts → browser/contexts}/index.d.mts +0 -0
- /package/dist/{contexts → browser/contexts}/index.d.ts +0 -0
- /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
- /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
- /package/dist/{types → browser/types}/EmbedPluginProps.d.mts +0 -0
- /package/dist/{types → browser/types}/EmbedPluginProps.d.ts +0 -0
- /package/dist/{types → browser/types}/index.d.mts +0 -0
- /package/dist/{types → browser/types}/index.d.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx"],"names":[],"mappings":";AACA,OAAO,EAAc,eAAe,EAAQ,MAAM,eAAe,CAAA;AAKjE,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsB/C,CAAA"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
2
|
+
import { MoreVert as MoreVertIcon } from "@mui/icons-material";
|
3
|
+
import { IconButton, Menu } from "@mui/material";
|
4
|
+
import { useState } from "react";
|
5
|
+
import { JsonMenuItem } from "./JsonMenuItem";
|
6
|
+
const EmbedMenu = (props) => {
|
7
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
8
|
+
const open = Boolean(anchorEl);
|
9
|
+
const handleClick = (event) => {
|
10
|
+
setAnchorEl(event.currentTarget);
|
11
|
+
};
|
12
|
+
const handleClose = () => {
|
13
|
+
setAnchorEl(null);
|
14
|
+
};
|
15
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
16
|
+
/* @__PURE__ */ jsx(IconButton, { onClick: handleClick, ...props, children: /* @__PURE__ */ jsx(MoreVertIcon, {}) }),
|
17
|
+
/* @__PURE__ */ jsx(Menu, { anchorEl, open, onClose: handleClose, PaperProps: { variant: "elevation" }, MenuListProps: { dense: true }, children: /* @__PURE__ */ jsx(JsonMenuItem, {}) })
|
18
|
+
] });
|
19
|
+
};
|
20
|
+
export {
|
21
|
+
EmbedMenu
|
22
|
+
};
|
23
|
+
//# sourceMappingURL=EmbedMenu.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx"],"sourcesContent":["import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n"],"mappings":"AAmBI,mBAEI,KAFJ;AAnBJ,SAAS,YAAY,oBAAoB;AACzC,SAAS,YAA6B,YAAY;AAClD,SAAS,gBAAgB;AAEzB,SAAS,oBAAoB;AAEtB,MAAM,YAAuC,CAAC,UAAU;AAE7D,QAAM,CAAC,UAAU,WAAW,IAAI,SAA6B,IAAI;AACjE,QAAM,OAAO,QAAQ,QAAQ;AAE7B,QAAM,cAAc,CAAC,UAA+C;AAClE,gBAAY,MAAM,aAAa;AAAA,EACjC;AACA,QAAM,cAAc,MAAM;AACxB,gBAAY,IAAI;AAAA,EAClB;AAEA,SACE,iCACE;AAAA,wBAAC,cAAW,SAAS,aAAc,GAAG,OACpC,8BAAC,gBAAa,GAChB;AAAA,IACA,oBAAC,QAAK,UAAoB,MAAY,SAAS,aAAa,YAAY,EAAE,SAAS,YAAY,GAAG,eAAe,EAAE,OAAO,KAAK,GAC7H,8BAAC,gBAAa,GAChB;AAAA,KACF;AAEJ;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"JsonMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAwC,aAAa,EAAE,MAAM,eAAe,CAAA;AAInF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAehD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"JsonMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAwC,aAAa,EAAE,MAAM,eAAe,CAAA;AAInF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAehD,CAAA"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
2
|
+
import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
|
3
|
+
import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
|
4
|
+
import { useResolvePayload } from "../../../contexts";
|
5
|
+
const JsonMenuItem = (props) => {
|
6
|
+
const { huri } = useResolvePayload();
|
7
|
+
return /* @__PURE__ */ jsx(Fragment, { children: huri ? /* @__PURE__ */ jsxs(MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
8
|
+
/* @__PURE__ */ jsx(ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
9
|
+
/* @__PURE__ */ jsx(ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ jsx(OpenInNewIcon, { fontSize: "small" }) })
|
10
|
+
] }) : null });
|
11
|
+
};
|
12
|
+
export {
|
13
|
+
JsonMenuItem
|
14
|
+
};
|
15
|
+
//# sourceMappingURL=JsonMenuItem.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"sourcesContent":["import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n"],"mappings":"AASI,mBAGM,KADF,YAFJ;AATJ,SAAS,aAAa,qBAAqB;AAC3C,SAAS,cAAc,cAAc,gBAA+B;AAEpE,SAAS,yBAAyB;AAE3B,MAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,gCACG,iBACC,qBAAC,YAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,wBAAC,gBAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,oBAAC,gBAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,8BAAC,iBAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/embed-card/menu/index.ts"],"sourcesContent":["export * from './EmbedMenu'\n"],"mappings":"AAAA,cAAc;","names":[]}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { CryptoAssetRenderPlugin } from "@xyo-network/react-aggregate-price-plugin";
|
2
|
+
import { UniswapPairsRenderPlugin } from "@xyo-network/react-crypto-market-uniswap-plugin";
|
3
|
+
import { Template, xyoEmbedStoryBase } from "./storyShared";
|
4
|
+
const AggregatePricePointer = "https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20";
|
5
|
+
const UniswapPairPointer = "https://beta.api.archivist.xyo.network/e36602006239d86b6e08412f7879372b2c622d74f4d6bc508a08a46fa8ad6523";
|
6
|
+
var XyoEmbedPlugin_examples_stories_default = {
|
7
|
+
...xyoEmbedStoryBase,
|
8
|
+
title: "embed/EmbedPlugin/examples"
|
9
|
+
};
|
10
|
+
const AggregatePriceExample = Template.bind({});
|
11
|
+
AggregatePriceExample.args = {
|
12
|
+
huriPayload: AggregatePricePointer,
|
13
|
+
plugins: [CryptoAssetRenderPlugin]
|
14
|
+
};
|
15
|
+
const UniswapPairsExample = Template.bind({});
|
16
|
+
UniswapPairsExample.args = {
|
17
|
+
huriPayload: UniswapPairPointer,
|
18
|
+
plugins: [UniswapPairsRenderPlugin]
|
19
|
+
};
|
20
|
+
export {
|
21
|
+
AggregatePriceExample,
|
22
|
+
UniswapPairsExample,
|
23
|
+
XyoEmbedPlugin_examples_stories_default as default
|
24
|
+
};
|
25
|
+
//# sourceMappingURL=XyoEmbedPlugin.examples.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.tsx"],"sourcesContent":["import { Meta } from '@storybook/react'\nimport { CryptoAssetRenderPlugin } from '@xyo-network/react-aggregate-price-plugin'\nimport { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'\n\nimport { Template, xyoEmbedStoryBase } from './storyShared'\n\nconst AggregatePricePointer = 'https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20'\nconst UniswapPairPointer = 'https://beta.api.archivist.xyo.network/e36602006239d86b6e08412f7879372b2c622d74f4d6bc508a08a46fa8ad6523'\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n ...xyoEmbedStoryBase,\n title: 'embed/EmbedPlugin/examples',\n} as Meta\n\nconst AggregatePriceExample = Template.bind({})\nAggregatePriceExample.args = {\n huriPayload: AggregatePricePointer,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst UniswapPairsExample = Template.bind({})\nUniswapPairsExample.args = {\n huriPayload: UniswapPairPointer,\n plugins: [UniswapPairsRenderPlugin],\n}\n\nexport { AggregatePriceExample, UniswapPairsExample }\n"],"mappings":"AACA,SAAS,+BAA+B;AACxC,SAAS,gCAAgC;AAEzC,SAAS,UAAU,yBAAyB;AAE5C,MAAM,wBAAwB;AAC9B,MAAM,qBAAqB;AAG3B,IAAO,0CAAQ;AAAA,EACb,GAAG;AAAA,EACH,OAAO;AACT;AAEA,MAAM,wBAAwB,SAAS,KAAK,CAAC,CAAC;AAC9C,sBAAsB,OAAO;AAAA,EAC3B,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,sBAAsB,SAAS,KAAK,CAAC,CAAC;AAC5C,oBAAoB,OAAO;AAAA,EACzB,aAAa;AAAA,EACb,SAAS,CAAC,wBAAwB;AACpC;","names":[]}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import { CryptoAssetRenderPlugin } from "@xyo-network/react-aggregate-price-plugin";
|
2
|
+
import { UniswapPairsRenderPlugin } from "@xyo-network/react-crypto-market-uniswap-plugin";
|
3
|
+
import { createPayloadRenderPlugin } from "@xyo-network/react-payload-plugin";
|
4
|
+
import { payloadData } from "./storyPayload";
|
5
|
+
import { Template, xyoEmbedStoryBase } from "./storyShared";
|
6
|
+
const AggregatePricePointer = "https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20";
|
7
|
+
var XyoEmbedPlugin_states_stories_default = {
|
8
|
+
...xyoEmbedStoryBase,
|
9
|
+
title: "embed/EmbedPlugin/states"
|
10
|
+
};
|
11
|
+
const testPlugin = createPayloadRenderPlugin({
|
12
|
+
canRender: () => true,
|
13
|
+
name: "Test Plugin"
|
14
|
+
});
|
15
|
+
const testPlugin1 = createPayloadRenderPlugin({
|
16
|
+
canRender: () => true,
|
17
|
+
name: "Test1 Plugin"
|
18
|
+
});
|
19
|
+
const failingPlugin = createPayloadRenderPlugin({
|
20
|
+
canRender: () => true,
|
21
|
+
components: {
|
22
|
+
box: {
|
23
|
+
details: () => {
|
24
|
+
throw Error("testing Error Boundary");
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
name: "Failing Plugin"
|
29
|
+
});
|
30
|
+
const Default = Template.bind({});
|
31
|
+
Default.args = {
|
32
|
+
huri: AggregatePricePointer,
|
33
|
+
plugins: [testPlugin, testPlugin1]
|
34
|
+
};
|
35
|
+
const ApiError = Template.bind({});
|
36
|
+
ApiError.args = {
|
37
|
+
huriPayload: "https://api.archivist.xyo.network/9663b2f80395a9e7e95948fdd5988b778a4dcc047202bf67e855ff6cd459b8c",
|
38
|
+
plugins: [UniswapPairsRenderPlugin]
|
39
|
+
};
|
40
|
+
const ThrownError = Template.bind({});
|
41
|
+
ThrownError.args = {
|
42
|
+
huriPayload: AggregatePricePointer,
|
43
|
+
plugins: [failingPlugin]
|
44
|
+
};
|
45
|
+
const HiddenElements = Template.bind({});
|
46
|
+
HiddenElements.args = {
|
47
|
+
hideElementsConfig: {
|
48
|
+
hideAvatar: true,
|
49
|
+
hideCardActions: true,
|
50
|
+
hideCardHeader: true,
|
51
|
+
hideRefreshButton: true,
|
52
|
+
hideTimestamp: true,
|
53
|
+
hideTitle: true
|
54
|
+
},
|
55
|
+
huriPayload: AggregatePricePointer,
|
56
|
+
plugins: [CryptoAssetRenderPlugin]
|
57
|
+
};
|
58
|
+
const WithPassedPayload = Template.bind({});
|
59
|
+
WithPassedPayload.args = {
|
60
|
+
huriPayload: payloadData,
|
61
|
+
plugins: [CryptoAssetRenderPlugin]
|
62
|
+
};
|
63
|
+
const WithSetBusyExternally = Template.bind({});
|
64
|
+
WithSetBusyExternally.args = {
|
65
|
+
busy: true,
|
66
|
+
huriPayload: payloadData,
|
67
|
+
plugins: [CryptoAssetRenderPlugin]
|
68
|
+
};
|
69
|
+
const WithOnRefresh = Template.bind({});
|
70
|
+
WithOnRefresh.args = {
|
71
|
+
huriPayload: payloadData,
|
72
|
+
onRefresh: () => console.log("refreshed"),
|
73
|
+
plugins: [CryptoAssetRenderPlugin]
|
74
|
+
};
|
75
|
+
export {
|
76
|
+
ApiError,
|
77
|
+
Default,
|
78
|
+
HiddenElements,
|
79
|
+
ThrownError,
|
80
|
+
WithOnRefresh,
|
81
|
+
WithPassedPayload,
|
82
|
+
WithSetBusyExternally,
|
83
|
+
XyoEmbedPlugin_states_stories_default as default
|
84
|
+
};
|
85
|
+
//# sourceMappingURL=XyoEmbedPlugin.states.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.tsx"],"sourcesContent":["import { Meta } from '@storybook/react'\nimport { CryptoAssetRenderPlugin } from '@xyo-network/react-aggregate-price-plugin'\nimport { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'\nimport { createPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\n\nimport { payloadData } from './storyPayload'\nimport { Template, xyoEmbedStoryBase } from './storyShared'\n\nconst AggregatePricePointer = 'https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20'\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n ...xyoEmbedStoryBase,\n title: 'embed/EmbedPlugin/states',\n} as Meta\n\nconst testPlugin = createPayloadRenderPlugin({\n canRender: () => true,\n name: 'Test Plugin',\n})\n\nconst testPlugin1 = createPayloadRenderPlugin({\n canRender: () => true,\n name: 'Test1 Plugin',\n})\n\nconst failingPlugin = createPayloadRenderPlugin({\n canRender: () => true,\n components: {\n box: {\n details: () => {\n throw Error('testing Error Boundary')\n },\n },\n },\n name: 'Failing Plugin',\n})\n\nconst Default = Template.bind({})\nDefault.args = {\n huri: AggregatePricePointer,\n plugins: [testPlugin, testPlugin1],\n}\n\nconst ApiError = Template.bind({})\nApiError.args = {\n huriPayload: 'https://api.archivist.xyo.network/9663b2f80395a9e7e95948fdd5988b778a4dcc047202bf67e855ff6cd459b8c',\n plugins: [UniswapPairsRenderPlugin],\n}\n\nconst ThrownError = Template.bind({})\nThrownError.args = {\n huriPayload: AggregatePricePointer,\n plugins: [failingPlugin],\n}\n\nconst HiddenElements = Template.bind({})\nHiddenElements.args = {\n hideElementsConfig: {\n hideAvatar: true,\n hideCardActions: true,\n hideCardHeader: true,\n hideRefreshButton: true,\n hideTimestamp: true,\n hideTitle: true,\n },\n huriPayload: AggregatePricePointer,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst WithPassedPayload = Template.bind({})\nWithPassedPayload.args = {\n huriPayload: payloadData,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst WithSetBusyExternally = Template.bind({})\nWithSetBusyExternally.args = {\n busy: true,\n huriPayload: payloadData,\n plugins: [CryptoAssetRenderPlugin],\n}\n\nconst WithOnRefresh = Template.bind({})\nWithOnRefresh.args = {\n huriPayload: payloadData,\n onRefresh: () => console.log('refreshed'),\n plugins: [CryptoAssetRenderPlugin],\n}\n\nexport { ApiError, Default, HiddenElements, ThrownError, WithOnRefresh, WithPassedPayload, WithSetBusyExternally }\n"],"mappings":"AACA,SAAS,+BAA+B;AACxC,SAAS,gCAAgC;AACzC,SAAS,iCAAiC;AAE1C,SAAS,mBAAmB;AAC5B,SAAS,UAAU,yBAAyB;AAE5C,MAAM,wBAAwB;AAG9B,IAAO,wCAAQ;AAAA,EACb,GAAG;AAAA,EACH,OAAO;AACT;AAEA,MAAM,aAAa,0BAA0B;AAAA,EAC3C,WAAW,MAAM;AAAA,EACjB,MAAM;AACR,CAAC;AAED,MAAM,cAAc,0BAA0B;AAAA,EAC5C,WAAW,MAAM;AAAA,EACjB,MAAM;AACR,CAAC;AAED,MAAM,gBAAgB,0BAA0B;AAAA,EAC9C,WAAW,MAAM;AAAA,EACjB,YAAY;AAAA,IACV,KAAK;AAAA,MACH,SAAS,MAAM;AACb,cAAM,MAAM,wBAAwB;AAAA,MACtC;AAAA,IACF;AAAA,EACF;AAAA,EACA,MAAM;AACR,CAAC;AAED,MAAM,UAAU,SAAS,KAAK,CAAC,CAAC;AAChC,QAAQ,OAAO;AAAA,EACb,MAAM;AAAA,EACN,SAAS,CAAC,YAAY,WAAW;AACnC;AAEA,MAAM,WAAW,SAAS,KAAK,CAAC,CAAC;AACjC,SAAS,OAAO;AAAA,EACd,aAAa;AAAA,EACb,SAAS,CAAC,wBAAwB;AACpC;AAEA,MAAM,cAAc,SAAS,KAAK,CAAC,CAAC;AACpC,YAAY,OAAO;AAAA,EACjB,aAAa;AAAA,EACb,SAAS,CAAC,aAAa;AACzB;AAEA,MAAM,iBAAiB,SAAS,KAAK,CAAC,CAAC;AACvC,eAAe,OAAO;AAAA,EACpB,oBAAoB;AAAA,IAClB,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,eAAe;AAAA,IACf,WAAW;AAAA,EACb;AAAA,EACA,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,oBAAoB,SAAS,KAAK,CAAC,CAAC;AAC1C,kBAAkB,OAAO;AAAA,EACvB,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,wBAAwB,SAAS,KAAK,CAAC,CAAC;AAC9C,sBAAsB,OAAO;AAAA,EAC3B,MAAM;AAAA,EACN,aAAa;AAAA,EACb,SAAS,CAAC,uBAAuB;AACnC;AAEA,MAAM,gBAAgB,SAAS,KAAK,CAAC,CAAC;AACtC,cAAc,OAAO;AAAA,EACnB,aAAa;AAAA,EACb,WAAW,MAAM,QAAQ,IAAI,WAAW;AAAA,EACxC,SAAS,CAAC,uBAAuB;AACnC;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storyPayload.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storyPayload.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAA"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
const payloadData = {
|
2
|
+
assets: {
|
3
|
+
ada: { value: { btc: "0.00002192", eth: "0.00031141", eur: "0.491867", usd: "0.502045" } },
|
4
|
+
btc: { value: { btc: "1", eth: "14.213346", eur: "22450", usd: "22914" } },
|
5
|
+
busd: { value: { btc: "0.00004369", eth: "0.00062074", eur: "0.980451", usd: "1.001" } },
|
6
|
+
dai: { value: { usdc: "1.00004", xyo: "114.394" } },
|
7
|
+
doge: { value: { btc: "0.00000293", eth: "0.00004157", eur: "0.065655", usd: "0.067013" } },
|
8
|
+
dot: { value: { btc: "0.00035508", eth: "0.00504454", eur: "7.97", usd: "8.13" } },
|
9
|
+
eth: { value: { btc: "0.0703878", eth: "1", eur: "1579.47", usd: "1612.16" } },
|
10
|
+
frax: { value: { usdc: "0.999738" } },
|
11
|
+
link: { value: { xyo: "837.731" } },
|
12
|
+
sol: { value: { btc: "0.00169369", eth: "0.02406215", eur: "38.01", usd: "38.79" } },
|
13
|
+
usdc: { value: { btc: "0.0000436965", dai: "0.999963", eth: "0.0006204464999999999", eur: "0.979419", frax: "1.00026", usd: "0.999732" } },
|
14
|
+
usdt: { value: { btc: "0.00004367", eth: "0.0006204", eur: "0.979881", usd: "1.001", usdc: "1.00022", xyo: "113.28" } },
|
15
|
+
wbtc: { value: { btc: "0.99903669", eth: "14.2015745", eur: "22418", usd: "22882", usdc: "22860.8", xyo: "2617950" } },
|
16
|
+
weth: { value: { btc: "0.0703735", usdc: "1610.82", xyo: "186652" } },
|
17
|
+
xyo: { value: { btc: "3.79226e-7", dai: "0.00874169", eth: "0.000005353785", eur: "0.00844792", link: "0.0011937", usd: "0.00872519" } }
|
18
|
+
},
|
19
|
+
schema: "network.xyo.crypto.asset",
|
20
|
+
timestamp: 1659625815232
|
21
|
+
};
|
22
|
+
export {
|
23
|
+
payloadData
|
24
|
+
};
|
25
|
+
//# sourceMappingURL=storyPayload.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"sourcesContent":["export const payloadData = {\n assets: {\n ada: { value: { btc: '0.00002192', eth: '0.00031141', eur: '0.491867', usd: '0.502045' } },\n btc: { value: { btc: '1', eth: '14.213346', eur: '22450', usd: '22914' } },\n busd: { value: { btc: '0.00004369', eth: '0.00062074', eur: '0.980451', usd: '1.001' } },\n dai: { value: { usdc: '1.00004', xyo: '114.394' } },\n doge: { value: { btc: '0.00000293', eth: '0.00004157', eur: '0.065655', usd: '0.067013' } },\n dot: { value: { btc: '0.00035508', eth: '0.00504454', eur: '7.97', usd: '8.13' } },\n eth: { value: { btc: '0.0703878', eth: '1', eur: '1579.47', usd: '1612.16' } },\n frax: { value: { usdc: '0.999738' } },\n link: { value: { xyo: '837.731' } },\n sol: { value: { btc: '0.00169369', eth: '0.02406215', eur: '38.01', usd: '38.79' } },\n usdc: { value: { btc: '0.0000436965', dai: '0.999963', eth: '0.0006204464999999999', eur: '0.979419', frax: '1.00026', usd: '0.999732' } },\n usdt: { value: { btc: '0.00004367', eth: '0.0006204', eur: '0.979881', usd: '1.001', usdc: '1.00022', xyo: '113.28' } },\n wbtc: { value: { btc: '0.99903669', eth: '14.2015745', eur: '22418', usd: '22882', usdc: '22860.8', xyo: '2617950' } },\n weth: { value: { btc: '0.0703735', usdc: '1610.82', xyo: '186652' } },\n xyo: { value: { btc: '3.79226e-7', dai: '0.00874169', eth: '0.000005353785', eur: '0.00844792', link: '0.0011937', usd: '0.00872519' } },\n },\n schema: 'network.xyo.crypto.asset',\n timestamp: 1659625815232,\n}\n"],"mappings":"AAAO,MAAM,cAAc;AAAA,EACzB,QAAQ;AAAA,IACN,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IACzF,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,KAAK,aAAa,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACzE,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,QAAQ,EAAE;AAAA,IACvF,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IAClD,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IAC1F,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,QAAQ,KAAK,OAAO,EAAE;AAAA,IACjF,KAAK,EAAE,OAAO,EAAE,KAAK,aAAa,KAAK,KAAK,KAAK,WAAW,KAAK,UAAU,EAAE;AAAA,IAC7E,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,EAAE;AAAA,IACpC,MAAM,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE;AAAA,IAClC,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACnF,MAAM,EAAE,OAAO,EAAE,KAAK,gBAAgB,KAAK,YAAY,KAAK,yBAAyB,KAAK,YAAY,MAAM,WAAW,KAAK,WAAW,EAAE;AAAA,IACzI,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,aAAa,KAAK,YAAY,KAAK,SAAS,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACtH,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,SAAS,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IACrH,MAAM,EAAE,OAAO,EAAE,KAAK,aAAa,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACpE,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,kBAAkB,KAAK,cAAc,MAAM,aAAa,KAAK,aAAa,EAAE;AAAA,EACzI;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storyShared.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,eAAO,MAAM,iBAAiB,EAAE,IAQ/B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,OAAO,kBAAkB,CAMvD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storyShared.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,eAAO,MAAM,iBAAiB,EAAE,IAQ/B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,OAAO,kBAAkB,CAMvD,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { BrowserRouter } from "react-router-dom";
|
3
|
+
import { ApiEmbedPluginCard } from "../embed-card";
|
4
|
+
const xyoEmbedStoryBase = {
|
5
|
+
argTypes: {},
|
6
|
+
component: ApiEmbedPluginCard,
|
7
|
+
parameters: {
|
8
|
+
docs: {
|
9
|
+
page: null
|
10
|
+
}
|
11
|
+
}
|
12
|
+
};
|
13
|
+
const Template = (args) => {
|
14
|
+
return /* @__PURE__ */ jsx(BrowserRouter, { children: /* @__PURE__ */ jsx(ApiEmbedPluginCard, { ...args }) });
|
15
|
+
};
|
16
|
+
export {
|
17
|
+
Template,
|
18
|
+
xyoEmbedStoryBase
|
19
|
+
};
|
20
|
+
//# sourceMappingURL=storyShared.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"sourcesContent":["import { Meta, StoryFn } from '@storybook/react'\nimport { BrowserRouter } from 'react-router-dom'\n\nimport { ApiEmbedPluginCard } from '../embed-card'\n\nexport const xyoEmbedStoryBase: Meta = {\n argTypes: {},\n component: ApiEmbedPluginCard,\n parameters: {\n docs: {\n page: null,\n },\n },\n}\n\nexport const Template: StoryFn<typeof ApiEmbedPluginCard> = (args) => {\n return (\n <BrowserRouter>\n <ApiEmbedPluginCard {...args} />\n </BrowserRouter>\n )\n}\n"],"mappings":"AAkBM;AAjBN,SAAS,qBAAqB;AAE9B,SAAS,0BAA0B;AAE5B,MAAM,oBAA0B;AAAA,EACrC,UAAU,CAAC;AAAA,EACX,WAAW;AAAA,EACX,YAAY;AAAA,IACV,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,MAAM,WAA+C,CAAC,SAAS;AACpE,SACE,oBAAC,iBACC,8BAAC,sBAAoB,GAAG,MAAM,GAChC;AAEJ;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from './embed-card'\nexport * from './EmbedPlugin'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ValidatePayload.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAYnE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ValidatePayload.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAYnE,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
2
|
+
import { Alert } from "@mui/material";
|
3
|
+
import { useValidatePayload } from "../../contexts";
|
4
|
+
const ValidatePayloadAlert = ({ children, ...props }) => {
|
5
|
+
const { validPayload, enabled, schema } = useValidatePayload();
|
6
|
+
if (enabled && validPayload === false) {
|
7
|
+
return /* @__PURE__ */ jsxs(Alert, { severity: "error", title: "Invalid Payload!", ...props, children: [
|
8
|
+
"Payload schema claimed to be ",
|
9
|
+
schema,
|
10
|
+
" but failed to validate."
|
11
|
+
] });
|
12
|
+
}
|
13
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
14
|
+
};
|
15
|
+
export {
|
16
|
+
ValidatePayloadAlert
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=ValidatePayload.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"sourcesContent":["import { Alert, AlertProps } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useValidatePayload } from '../../contexts'\n\nexport const ValidatePayloadAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { validPayload, enabled, schema } = useValidatePayload()\n\n if (enabled && validPayload === false) {\n return (\n <Alert severity=\"error\" title=\"Invalid Payload!\" {...props}>\n Payload schema claimed to be {schema} but failed to validate.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n"],"mappings":"AAUM,SAMG,eANH;AAVN,SAAS,aAAyB;AAGlC,SAAS,0BAA0B;AAE5B,MAAM,uBAA2D,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAClG,QAAM,EAAE,cAAc,SAAS,OAAO,IAAI,mBAAmB;AAE7D,MAAI,WAAW,iBAAiB,OAAO;AACrC,WACE,qBAAC,SAAM,UAAS,SAAQ,OAAM,oBAAoB,GAAG,OAAO;AAAA;AAAA,MAC5B;AAAA,MAAO;AAAA,OACvC;AAAA,EAEJ;AAEA,SAAO,gCAAG,UAAS;AACrB;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ValidatePlugins.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAanE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ValidatePlugins.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAanE,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
2
|
+
import { Alert, AlertTitle } from "@mui/material";
|
3
|
+
import { useEmbedPluginState, useResolvePayload } from "../../contexts";
|
4
|
+
const ValidatePluginsAlert = ({ children, ...props }) => {
|
5
|
+
const { payload } = useResolvePayload();
|
6
|
+
const { plugins } = useEmbedPluginState();
|
7
|
+
if (payload && plugins?.length === 0) {
|
8
|
+
return /* @__PURE__ */ jsxs(Alert, { severity: "warning", ...props, children: [
|
9
|
+
/* @__PURE__ */ jsx(AlertTitle, { children: "Missing plugins!" }),
|
10
|
+
"Payload found but no plugins were present."
|
11
|
+
] });
|
12
|
+
}
|
13
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
14
|
+
};
|
15
|
+
export {
|
16
|
+
ValidatePluginsAlert
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=ValidatePlugins.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"sourcesContent":["import { Alert, AlertProps, AlertTitle } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useEmbedPluginState, useResolvePayload } from '../../contexts'\n\nexport const ValidatePluginsAlert: React.FC<WithChildren<AlertProps>> = ({ children, ...props }) => {\n const { payload } = useResolvePayload()\n const { plugins } = useEmbedPluginState()\n\n if (payload && plugins?.length === 0) {\n return (\n <Alert severity=\"warning\" {...props}>\n <AlertTitle>Missing plugins!</AlertTitle>Payload found but no plugins were present.\n </Alert>\n )\n }\n\n return <>{children}</>\n}\n"],"mappings":"AAWM,SAMG,UALD,KADF;AAXN,SAAS,OAAmB,kBAAkB;AAG9C,SAAS,qBAAqB,yBAAyB;AAEhD,MAAM,uBAA2D,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AAClG,QAAM,EAAE,QAAQ,IAAI,kBAAkB;AACtC,QAAM,EAAE,QAAQ,IAAI,oBAAoB;AAExC,MAAI,WAAW,SAAS,WAAW,GAAG;AACpC,WACE,qBAAC,SAAM,UAAS,WAAW,GAAG,OAC5B;AAAA,0BAAC,cAAW,8BAAgB;AAAA,MAAa;AAAA,OAC3C;AAAA,EAEJ;AAEA,SAAO,gCAAG,UAAS;AACrB;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/validation-alerts/index.ts"],"sourcesContent":["export * from './ValidatePayload'\nexport * from './ValidatePlugins'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,kBAAkB,gGAAsC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,kBAAkB,gGAAsC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n"],"mappings":"AAAA,SAAS,uBAAuB;AAIzB,MAAM,qBAAqB,gBAAkC;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAA;AAEtD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,wBAAwB,CAAC,CA6BhF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAA;AAEtD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,wBAAwB,CAAC,CA6BhF,CAAA"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { useEffect, useState } from "react";
|
3
|
+
import { EmbedPluginContext } from "./Context";
|
4
|
+
const EmbedPluginProvider = ({
|
5
|
+
children,
|
6
|
+
refreshTitle,
|
7
|
+
timestampLabel,
|
8
|
+
hideElementsConfig,
|
9
|
+
plugins,
|
10
|
+
embedPluginConfig
|
11
|
+
}) => {
|
12
|
+
const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
|
13
|
+
useEffect(() => {
|
14
|
+
setActivePlugin(plugins ? plugins[0] : void 0);
|
15
|
+
}, [plugins]);
|
16
|
+
return /* @__PURE__ */ jsx(
|
17
|
+
EmbedPluginContext.Provider,
|
18
|
+
{
|
19
|
+
value: {
|
20
|
+
activePlugin,
|
21
|
+
embedPluginConfig,
|
22
|
+
hideElementsConfig,
|
23
|
+
provided: true,
|
24
|
+
refreshTitle,
|
25
|
+
setActivePlugin,
|
26
|
+
timestampLabel
|
27
|
+
},
|
28
|
+
children
|
29
|
+
}
|
30
|
+
);
|
31
|
+
};
|
32
|
+
export {
|
33
|
+
EmbedPluginProvider
|
34
|
+
};
|
35
|
+
//# sourceMappingURL=Provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n"],"mappings":"AAyBI;AAvBJ,SAAS,WAAW,gBAAgB;AAEpC,SAAS,0BAA0B;AAM5B,MAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI,SAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,YAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,YAAY,CAAA;IAChC,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe,EAAE,cAAc;IACvE,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,eAAe,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAA;CAC5E"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,YAAY,CAAA;IAChC,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe,EAAE,cAAc;IACvE,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,eAAe,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAA;CAC5E"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=State.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.mts.map
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
package/dist/{contexts/ResolvePayloadContext → browser/contexts/EmbedPluginContext}/index.d.ts.map
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"sourcesContent":["export * from './Context'\nexport * from './Provider'\nexport * from './State'\nexport * from './use'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,iHAA8D,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,iHAA8D,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
2
|
+
import { EmbedPluginContext } from "./Context";
|
3
|
+
const useEmbedPluginState = () => useContextEx(EmbedPluginContext, "EmbedPlugin", true);
|
4
|
+
export {
|
5
|
+
useEmbedPluginState
|
6
|
+
};
|
7
|
+
//# sourceMappingURL=use.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n"],"mappings":"AAAA,SAAS,oBAAoB;AAE7B,SAAS,0BAA0B;AAE5B,MAAM,sBAAsB,MAAM,aAAa,oBAAoB,eAAe,IAAI;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n"],"mappings":"AAAA,SAAS,uBAAuB;AAIzB,MAAM,wBAAwB,gBAAqC;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAQ9E,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAQ9E,CAAA"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { useState } from "react";
|
3
|
+
import { RefreshPayloadContext } from "./Context";
|
4
|
+
const RefreshPayloadProvider = ({ children, onRefresh, refreshPayload }) => {
|
5
|
+
const [localRefreshPayload, setRefreshPayload] = useState(refreshPayload);
|
6
|
+
return /* @__PURE__ */ jsx(RefreshPayloadContext.Provider, { value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }, children });
|
7
|
+
};
|
8
|
+
export {
|
9
|
+
RefreshPayloadProvider
|
10
|
+
};
|
11
|
+
//# sourceMappingURL=Provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { RefreshPayloadContext } from './Context'\n\nexport interface RefreshPayloadProps {\n onRefresh?: () => void\n refreshPayload?: boolean\n}\n\nexport const RefreshPayloadProvider: React.FC<WithChildren<RefreshPayloadProps>> = ({ children, onRefresh, refreshPayload }) => {\n const [localRefreshPayload, setRefreshPayload] = useState(refreshPayload)\n\n return (\n <RefreshPayloadContext.Provider value={{ onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }}>\n {children}\n </RefreshPayloadContext.Provider>\n )\n}\n"],"mappings":"AAcI;AAbJ,SAAS,gBAAgB;AAEzB,SAAS,6BAA6B;AAO/B,MAAM,yBAAsE,CAAC,EAAE,UAAU,WAAW,eAAe,MAAM;AAC9H,QAAM,CAAC,qBAAqB,iBAAiB,IAAI,SAAS,cAAc;AAExE,SACE,oBAAC,sBAAsB,UAAtB,EAA+B,OAAO,EAAE,WAAW,UAAU,MAAM,gBAAgB,qBAAqB,kBAAkB,GACxH,UACH;AAEJ;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAClE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAClE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=State.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|