@xyo-network/react-embed 2.62.3 → 2.63.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/EmbedPlugin.js +19 -0
- package/dist/cjs/components/EmbedPlugin.js.map +1 -0
- package/dist/cjs/components/EmbedResolver.js +12 -0
- package/dist/cjs/components/EmbedResolver.js.map +1 -0
- package/dist/cjs/components/controls/EmbedFormControl.js +12 -0
- package/dist/cjs/components/controls/EmbedFormControl.js.map +1 -0
- package/dist/cjs/components/controls/ListModeSelect.js +21 -0
- package/dist/cjs/components/controls/ListModeSelect.js.map +1 -0
- package/dist/cjs/components/controls/RenderSelect.js +15 -0
- package/dist/cjs/components/controls/RenderSelect.js.map +1 -0
- package/dist/cjs/components/controls/index.js +7 -0
- package/dist/cjs/components/controls/index.js.map +1 -0
- package/dist/cjs/components/embed-card/EmbedCardResolver.js +19 -0
- package/dist/cjs/components/embed-card/EmbedCardResolver.js.map +1 -0
- package/dist/cjs/components/embed-card/EmbedPluginCard.js +35 -0
- package/dist/cjs/components/embed-card/EmbedPluginCard.js.map +1 -0
- package/dist/cjs/components/embed-card/card/BusyCard.js +15 -0
- package/dist/cjs/components/embed-card/card/BusyCard.js.map +1 -0
- package/dist/cjs/components/embed-card/card/EmbedCardHeader.js +21 -0
- package/dist/cjs/components/embed-card/card/EmbedCardHeader.js.map +1 -0
- package/dist/cjs/components/embed-card/card/EmbedPluginCard.js +23 -0
- package/dist/cjs/components/embed-card/card/EmbedPluginCard.js.map +1 -0
- package/dist/cjs/components/embed-card/card/index.js +7 -0
- package/dist/cjs/components/embed-card/card/index.js.map +1 -0
- package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +17 -0
- package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
- package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js +16 -0
- package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
- package/dist/cjs/components/embed-card/error-handling/index.js +6 -0
- package/dist/cjs/components/embed-card/error-handling/index.js.map +1 -0
- package/dist/cjs/components/embed-card/index.js +6 -0
- package/dist/cjs/components/embed-card/index.js.map +1 -0
- package/dist/cjs/components/embed-card/menu/EmbedMenu.js +23 -0
- package/dist/cjs/components/embed-card/menu/EmbedMenu.js.map +1 -0
- package/dist/cjs/components/embed-card/menu/JsonMenuItem.js +14 -0
- package/dist/cjs/components/embed-card/menu/JsonMenuItem.js.map +1 -0
- package/dist/cjs/components/embed-card/menu/index.js +5 -0
- package/dist/cjs/components/embed-card/menu/index.js.map +1 -0
- package/dist/cjs/components/embed-plugin-stories/storyPayload.js +25 -0
- package/dist/cjs/components/embed-plugin-stories/storyPayload.js.map +1 -0
- package/dist/cjs/components/embed-plugin-stories/storyShared.js +20 -0
- package/dist/cjs/components/embed-plugin-stories/storyShared.js.map +1 -0
- package/dist/cjs/components/index.js +6 -0
- package/dist/cjs/components/index.js.map +1 -0
- package/dist/cjs/components/validation-alerts/ValidatePayload.js +17 -0
- package/dist/cjs/components/validation-alerts/ValidatePayload.js.map +1 -0
- package/dist/cjs/components/validation-alerts/ValidatePlugins.js +18 -0
- package/dist/cjs/components/validation-alerts/ValidatePlugins.js.map +1 -0
- package/dist/cjs/components/validation-alerts/index.js +6 -0
- package/dist/cjs/components/validation-alerts/index.js.map +1 -0
- package/dist/cjs/contexts/EmbedPluginContext/Context.js +6 -0
- package/dist/cjs/contexts/EmbedPluginContext/Context.js.map +1 -0
- package/dist/cjs/contexts/EmbedPluginContext/Provider.js +24 -0
- package/dist/cjs/contexts/EmbedPluginContext/Provider.js.map +1 -0
- package/dist/cjs/contexts/EmbedPluginContext/State.js +3 -0
- package/dist/cjs/contexts/EmbedPluginContext/State.js.map +1 -0
- package/dist/cjs/contexts/EmbedPluginContext/index.js +8 -0
- package/dist/cjs/contexts/EmbedPluginContext/index.js.map +1 -0
- package/dist/cjs/contexts/EmbedPluginContext/use.js +8 -0
- package/dist/cjs/contexts/EmbedPluginContext/use.js.map +1 -0
- package/dist/cjs/contexts/RefreshPayloadContext/Context.js +6 -0
- package/dist/cjs/contexts/RefreshPayloadContext/Context.js.map +1 -0
- package/dist/cjs/contexts/RefreshPayloadContext/Provider.js +12 -0
- package/dist/cjs/contexts/RefreshPayloadContext/Provider.js.map +1 -0
- package/dist/cjs/contexts/RefreshPayloadContext/State.js +3 -0
- package/dist/cjs/contexts/RefreshPayloadContext/State.js.map +1 -0
- package/dist/cjs/contexts/RefreshPayloadContext/index.js +7 -0
- package/dist/cjs/contexts/RefreshPayloadContext/index.js.map +1 -0
- package/dist/cjs/contexts/RefreshPayloadContext/use.js +8 -0
- package/dist/cjs/contexts/RefreshPayloadContext/use.js.map +1 -0
- package/dist/cjs/contexts/ResolvePayloadContext/Context.js +6 -0
- package/dist/cjs/contexts/ResolvePayloadContext/Context.js.map +1 -0
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +56 -0
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +1 -0
- package/dist/cjs/contexts/ResolvePayloadContext/State.js +3 -0
- package/dist/cjs/contexts/ResolvePayloadContext/State.js.map +1 -0
- package/dist/cjs/contexts/ResolvePayloadContext/index.js +8 -0
- package/dist/cjs/contexts/ResolvePayloadContext/index.js.map +1 -0
- package/dist/cjs/contexts/ResolvePayloadContext/use.js +8 -0
- package/dist/cjs/contexts/ResolvePayloadContext/use.js.map +1 -0
- package/dist/cjs/contexts/ValidatePayloadContext/Context.js +6 -0
- package/dist/cjs/contexts/ValidatePayloadContext/Context.js.map +1 -0
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +32 -0
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +1 -0
- package/dist/cjs/contexts/ValidatePayloadContext/State.js +3 -0
- package/dist/cjs/contexts/ValidatePayloadContext/State.js.map +1 -0
- package/dist/cjs/contexts/ValidatePayloadContext/index.js +7 -0
- package/dist/cjs/contexts/ValidatePayloadContext/index.js.map +1 -0
- package/dist/cjs/contexts/ValidatePayloadContext/use.js +8 -0
- package/dist/cjs/contexts/ValidatePayloadContext/use.js.map +1 -0
- package/dist/cjs/contexts/index.js +8 -0
- package/dist/cjs/contexts/index.js.map +1 -0
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/types/EmbedPluginProps.js +3 -0
- package/dist/cjs/types/EmbedPluginProps.js.map +1 -0
- package/dist/cjs/types/index.js +5 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/docs.json +113 -113
- package/dist/esm/components/EmbedPlugin.js +15 -0
- package/dist/esm/components/EmbedPlugin.js.map +1 -0
- package/dist/esm/components/EmbedResolver.js +8 -0
- package/dist/esm/components/EmbedResolver.js.map +1 -0
- package/dist/esm/components/controls/EmbedFormControl.js +6 -0
- package/dist/esm/components/controls/EmbedFormControl.js.map +1 -0
- package/dist/esm/components/controls/ListModeSelect.js +16 -0
- package/dist/esm/components/controls/ListModeSelect.js.map +1 -0
- package/dist/esm/components/controls/RenderSelect.js +11 -0
- package/dist/esm/components/controls/RenderSelect.js.map +1 -0
- package/dist/{components/controls/index.d.mts → esm/components/controls/index.js} +1 -1
- package/dist/esm/components/controls/index.js.map +1 -0
- package/dist/esm/components/embed-card/EmbedCardResolver.js +13 -0
- package/dist/esm/components/embed-card/EmbedCardResolver.js.map +1 -0
- package/dist/esm/components/embed-card/EmbedPluginCard.js +28 -0
- package/dist/esm/components/embed-card/EmbedPluginCard.js.map +1 -0
- package/dist/esm/components/embed-card/card/BusyCard.js +9 -0
- package/dist/esm/components/embed-card/card/BusyCard.js.map +1 -0
- package/dist/esm/components/embed-card/card/EmbedCardHeader.js +15 -0
- package/dist/esm/components/embed-card/card/EmbedCardHeader.js.map +1 -0
- package/dist/esm/components/embed-card/card/EmbedPluginCard.js +16 -0
- package/dist/esm/components/embed-card/card/EmbedPluginCard.js.map +1 -0
- package/dist/{components/embed-card/card/index.d.mts → esm/components/embed-card/card/index.js} +1 -1
- package/dist/esm/components/embed-card/card/index.js.map +1 -0
- package/dist/esm/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +10 -0
- package/dist/esm/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -0
- package/dist/esm/components/embed-card/error-handling/EmbedErrorCard.js +11 -0
- package/dist/esm/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -0
- package/dist/{components/embed-card/error-handling/index.d.mts → esm/components/embed-card/error-handling/index.js} +1 -1
- package/dist/esm/components/embed-card/error-handling/index.js.map +1 -0
- package/dist/{components/embed-card/index.d.mts → esm/components/embed-card/index.js} +1 -1
- package/dist/esm/components/embed-card/index.js.map +1 -0
- package/dist/esm/components/embed-card/menu/EmbedMenu.js +18 -0
- package/dist/esm/components/embed-card/menu/EmbedMenu.js.map +1 -0
- package/dist/esm/components/embed-card/menu/JsonMenuItem.js +9 -0
- package/dist/esm/components/embed-card/menu/JsonMenuItem.js.map +1 -0
- package/dist/esm/components/embed-card/menu/index.js +2 -0
- package/dist/esm/components/embed-card/menu/index.js.map +1 -0
- package/dist/esm/components/embed-plugin-stories/storyPayload.js +22 -0
- package/dist/esm/components/embed-plugin-stories/storyPayload.js.map +1 -0
- package/dist/esm/components/embed-plugin-stories/storyShared.js +16 -0
- package/dist/esm/components/embed-plugin-stories/storyShared.js.map +1 -0
- package/dist/{components/index.d.mts → esm/components/index.js} +1 -1
- package/dist/esm/components/index.js.map +1 -0
- package/dist/esm/components/validation-alerts/ValidatePayload.js +11 -0
- package/dist/esm/components/validation-alerts/ValidatePayload.js.map +1 -0
- package/dist/esm/components/validation-alerts/ValidatePlugins.js +12 -0
- package/dist/esm/components/validation-alerts/ValidatePlugins.js.map +1 -0
- package/dist/{components/validation-alerts/index.d.mts → esm/components/validation-alerts/index.js} +1 -1
- package/dist/esm/components/validation-alerts/index.js.map +1 -0
- package/dist/esm/contexts/EmbedPluginContext/Context.js +3 -0
- package/dist/esm/contexts/EmbedPluginContext/Context.js.map +1 -0
- package/dist/esm/contexts/EmbedPluginContext/Provider.js +20 -0
- package/dist/esm/contexts/EmbedPluginContext/Provider.js.map +1 -0
- package/dist/esm/contexts/EmbedPluginContext/State.js +2 -0
- package/dist/esm/contexts/EmbedPluginContext/State.js.map +1 -0
- package/dist/{contexts/EmbedPluginContext/index.d.mts → esm/contexts/EmbedPluginContext/index.js} +1 -1
- package/dist/esm/contexts/EmbedPluginContext/index.js.map +1 -0
- package/dist/esm/contexts/EmbedPluginContext/use.js +4 -0
- package/dist/esm/contexts/EmbedPluginContext/use.js.map +1 -0
- package/dist/esm/contexts/RefreshPayloadContext/Context.js +3 -0
- package/dist/esm/contexts/RefreshPayloadContext/Context.js.map +1 -0
- package/dist/esm/contexts/RefreshPayloadContext/Provider.js +8 -0
- package/dist/esm/contexts/RefreshPayloadContext/Provider.js.map +1 -0
- package/dist/esm/contexts/RefreshPayloadContext/State.js +2 -0
- package/dist/esm/contexts/RefreshPayloadContext/State.js.map +1 -0
- package/dist/{contexts/ValidatePayloadContext/index.d.mts → esm/contexts/RefreshPayloadContext/index.js} +1 -1
- package/dist/esm/contexts/RefreshPayloadContext/index.js.map +1 -0
- package/dist/esm/contexts/RefreshPayloadContext/use.js +4 -0
- package/dist/esm/contexts/RefreshPayloadContext/use.js.map +1 -0
- package/dist/esm/contexts/ResolvePayloadContext/Context.js +3 -0
- package/dist/esm/contexts/ResolvePayloadContext/Context.js.map +1 -0
- package/dist/esm/contexts/ResolvePayloadContext/Provider.js +51 -0
- package/dist/esm/contexts/ResolvePayloadContext/Provider.js.map +1 -0
- package/dist/esm/contexts/ResolvePayloadContext/State.js +2 -0
- package/dist/esm/contexts/ResolvePayloadContext/State.js.map +1 -0
- package/dist/{contexts/ResolvePayloadContext/index.d.mts → esm/contexts/ResolvePayloadContext/index.js} +1 -1
- package/dist/esm/contexts/ResolvePayloadContext/index.js.map +1 -0
- package/dist/esm/contexts/ResolvePayloadContext/use.js +4 -0
- package/dist/esm/contexts/ResolvePayloadContext/use.js.map +1 -0
- package/dist/esm/contexts/ValidatePayloadContext/Context.js +3 -0
- package/dist/esm/contexts/ValidatePayloadContext/Context.js.map +1 -0
- package/dist/esm/contexts/ValidatePayloadContext/Provider.js +27 -0
- package/dist/esm/contexts/ValidatePayloadContext/Provider.js.map +1 -0
- package/dist/esm/contexts/ValidatePayloadContext/State.js +2 -0
- package/dist/esm/contexts/ValidatePayloadContext/State.js.map +1 -0
- package/dist/{contexts/RefreshPayloadContext/index.d.mts → esm/contexts/ValidatePayloadContext/index.js} +1 -1
- package/dist/esm/contexts/ValidatePayloadContext/index.js.map +1 -0
- package/dist/esm/contexts/ValidatePayloadContext/use.js +4 -0
- package/dist/esm/contexts/ValidatePayloadContext/use.js.map +1 -0
- package/dist/{contexts/index.d.mts → esm/contexts/index.js} +1 -1
- package/dist/esm/contexts/index.js.map +1 -0
- package/dist/{index.d.mts → esm/index.js} +1 -1
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/types/EmbedPluginProps.js +2 -0
- package/dist/esm/types/EmbedPluginProps.js.map +1 -0
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/types/components/EmbedPlugin.d.ts.map +1 -0
- package/dist/types/components/EmbedResolver.d.ts.map +1 -0
- package/dist/types/components/controls/EmbedFormControl.d.ts.map +1 -0
- package/dist/types/components/controls/ListModeSelect.d.ts.map +1 -0
- package/dist/types/components/controls/RenderSelect.d.ts.map +1 -0
- package/dist/types/components/controls/index.d.ts.map +1 -0
- package/dist/types/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
- package/dist/types/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/types/components/embed-card/card/BusyCard.d.ts.map +1 -0
- package/dist/types/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
- package/dist/types/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/types/components/embed-card/card/index.d.ts.map +1 -0
- package/dist/types/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
- package/dist/types/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
- package/dist/types/components/embed-card/error-handling/index.d.ts.map +1 -0
- package/dist/types/components/embed-card/index.d.ts.map +1 -0
- package/dist/types/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
- package/dist/types/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
- package/dist/types/components/embed-card/menu/index.d.ts.map +1 -0
- package/dist/types/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
- package/dist/types/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
- package/dist/types/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
- package/dist/types/components/validation-alerts/index.d.ts.map +1 -0
- package/dist/types/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
- package/dist/types/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
- package/dist/types/contexts/EmbedPluginContext/State.d.ts.map +1 -0
- package/dist/{contexts/ResolvePayloadContext → types/contexts/EmbedPluginContext}/index.d.ts.map +1 -1
- package/dist/types/contexts/EmbedPluginContext/use.d.ts.map +1 -0
- package/dist/types/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
- package/dist/types/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
- package/dist/types/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
- package/dist/types/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
- package/dist/types/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
- package/dist/types/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
- package/dist/types/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
- package/dist/types/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
- package/dist/types/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
- package/dist/types/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
- package/dist/types/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
- package/dist/types/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
- package/dist/types/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
- package/dist/types/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
- package/dist/types/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
- package/dist/types/contexts/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/EmbedPluginProps.d.ts.map +1 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +26 -34
- package/dist/components/EmbedPlugin.d.mts +0 -5
- package/dist/components/EmbedPlugin.d.mts.map +0 -1
- package/dist/components/EmbedPlugin.d.ts.map +0 -1
- package/dist/components/EmbedResolver.d.mts +0 -4
- 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 +0 -10
- 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 +0 -6
- 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 +0 -4
- 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 +0 -5
- 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 +0 -11
- 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 +0 -11
- 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 +0 -4
- 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 +0 -4
- 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 +0 -10
- 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 +0 -15
- 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 +0 -4
- 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 +0 -4
- 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 +0 -2
- 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 +0 -126
- 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 +0 -5
- 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 +0 -5
- 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 +0 -5
- 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 +0 -4
- 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 +0 -7
- 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 +0 -33
- 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 +0 -2
- 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 +0 -4
- 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 +0 -8
- 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 +0 -8
- 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 +0 -2
- 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 +0 -4
- 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 +0 -6
- 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 +0 -13
- package/dist/contexts/ResolvePayloadContext/State.d.mts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/index.d.mts.map +0 -1
- package/dist/contexts/ResolvePayloadContext/use.d.mts +0 -2
- 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 +0 -4
- 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 +0 -7
- 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 +0 -7
- 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 +0 -2
- 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 +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -543
- 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 +0 -10
- 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/{components → types/components}/EmbedPlugin.d.ts +0 -0
- /package/dist/{components → types/components}/EmbedResolver.d.ts +0 -0
- /package/dist/{components → types/components}/controls/EmbedFormControl.d.ts +0 -0
- /package/dist/{components → types/components}/controls/ListModeSelect.d.ts +0 -0
- /package/dist/{components → types/components}/controls/RenderSelect.d.ts +0 -0
- /package/dist/{components → types/components}/controls/index.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/EmbedCardResolver.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/EmbedPluginCard.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/card/BusyCard.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/card/EmbedCardHeader.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/card/EmbedPluginCard.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/card/index.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/error-handling/EmbedErrorCard.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/error-handling/index.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/index.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/menu/EmbedMenu.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/menu/JsonMenuItem.d.ts +0 -0
- /package/dist/{components → types/components}/embed-card/menu/index.d.ts +0 -0
- /package/dist/{components → types/components}/embed-plugin-stories/storyPayload.d.ts +0 -0
- /package/dist/{components → types/components}/embed-plugin-stories/storyShared.d.ts +0 -0
- /package/dist/{components → types/components}/index.d.ts +0 -0
- /package/dist/{components → types/components}/validation-alerts/ValidatePayload.d.ts +0 -0
- /package/dist/{components → types/components}/validation-alerts/ValidatePlugins.d.ts +0 -0
- /package/dist/{components → types/components}/validation-alerts/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/EmbedPluginContext/Context.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/EmbedPluginContext/Provider.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/EmbedPluginContext/State.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/EmbedPluginContext/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/EmbedPluginContext/use.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/RefreshPayloadContext/Context.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/RefreshPayloadContext/Provider.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/RefreshPayloadContext/State.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/RefreshPayloadContext/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/RefreshPayloadContext/use.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ResolvePayloadContext/Context.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ResolvePayloadContext/Provider.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ResolvePayloadContext/State.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ResolvePayloadContext/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ResolvePayloadContext/use.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ValidatePayloadContext/Context.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ValidatePayloadContext/Provider.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ValidatePayloadContext/State.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ValidatePayloadContext/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/ValidatePayloadContext/use.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/index.d.ts +0 -0
- /package/dist/types/{EmbedPluginProps.d.ts → types/EmbedPluginProps.d.ts} +0 -0
- /package/dist/types/{index.d.mts → types/index.d.ts} +0 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { delay } from '@xylabs/delay';
|
3
|
+
import { useAsyncEffect } from '@xylabs/react-async-effect';
|
4
|
+
import { Huri } from '@xyo-network/huri';
|
5
|
+
import { ModuleErrorSchema } from '@xyo-network/payload-model';
|
6
|
+
import { useEffect, useState } from 'react';
|
7
|
+
import { useRefreshPayload } from '../RefreshPayloadContext';
|
8
|
+
import { ResolvePayloadContext } from './Context';
|
9
|
+
export const ResolvePayloadProvider = ({ children, huriPayload }) => {
|
10
|
+
const [payload, setPayload] = useState();
|
11
|
+
const [huri, setHuri] = useState();
|
12
|
+
const { refreshPayload, setRefreshPayload, onRefresh } = useRefreshPayload();
|
13
|
+
useEffect(() => {
|
14
|
+
typeof huriPayload === 'string' ? setHuri(huriPayload) : undefined;
|
15
|
+
if (typeof huriPayload === 'object') {
|
16
|
+
setPayload(huriPayload);
|
17
|
+
setRefreshPayload?.(true);
|
18
|
+
}
|
19
|
+
}, [huriPayload, setRefreshPayload]);
|
20
|
+
const [notFound, setNotFound] = useState();
|
21
|
+
const [huriError, setHuriError] = useState();
|
22
|
+
useAsyncEffect(
|
23
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
24
|
+
async (mounted) => {
|
25
|
+
if (huri && !refreshPayload) {
|
26
|
+
try {
|
27
|
+
const huriInstance = new Huri(huri);
|
28
|
+
const result = await huriInstance.fetch();
|
29
|
+
// ensure the busy state can stay for a moment to avoid flashing too quickly
|
30
|
+
await delay(500);
|
31
|
+
if (mounted()) {
|
32
|
+
setNotFound(result === null);
|
33
|
+
setPayload(result);
|
34
|
+
setRefreshPayload?.(true);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
catch (e) {
|
38
|
+
const error = e;
|
39
|
+
setHuriError({ message: error.message, schema: ModuleErrorSchema, sources: [] });
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}, [huri, payload, refreshPayload, setRefreshPayload]);
|
43
|
+
const refreshHuri = () => {
|
44
|
+
onRefresh?.();
|
45
|
+
if (huri) {
|
46
|
+
setRefreshPayload?.(false);
|
47
|
+
}
|
48
|
+
};
|
49
|
+
return (_jsx(ResolvePayloadContext.Provider, { value: { huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload }, children: children }));
|
50
|
+
};
|
51
|
+
//# sourceMappingURL=Provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAe,iBAAiB,EAAW,MAAM,4BAA4B,CAAA;AACpF,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAKjD,MAAM,CAAC,MAAM,sBAAsB,GAAwD,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACvH,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,EAAW,CAAA;IACjD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,EAAU,CAAA;IAC1C,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAE5E,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAClE,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;YACnC,UAAU,CAAC,WAAW,CAAC,CAAA;YACvB,iBAAiB,EAAE,CAAC,IAAI,CAAC,CAAA;SAC1B;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAA;IAEpC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,EAAW,CAAA;IACnD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAe,CAAA;IAEzD,cAAc;IACZ,uDAAuD;IACvD,KAAK,EAAE,OAAO,EAAE,EAAE;QAChB,IAAI,IAAI,IAAI,CAAC,cAAc,EAAE;YAC3B,IAAI;gBACF,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAA;gBACnC,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,CAAA;gBACzC,4EAA4E;gBAC5E,MAAM,KAAK,CAAC,GAAG,CAAC,CAAA;gBAEhB,IAAI,OAAO,EAAE,EAAE;oBACb,WAAW,CAAC,MAAM,KAAK,IAAI,CAAC,CAAA;oBAC5B,UAAU,CAAC,MAAM,CAAC,CAAA;oBAClB,iBAAiB,EAAE,CAAC,IAAI,CAAC,CAAA;iBAC1B;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,MAAM,KAAK,GAAG,CAAU,CAAA;gBACxB,YAAY,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;aACjF;SACF;IACH,CAAC,EACD,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,iBAAiB,CAAC,CACnD,CAAA;IAED,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,SAAS,EAAE,EAAE,CAAA;QACb,IAAI,IAAI,EAAE;YACR,iBAAiB,EAAE,CAAC,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC,CAAA;IAED,OAAO,CACL,KAAC,qBAAqB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,YACnH,QAAQ,GACsB,CAClC,CAAA;AACH,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/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,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,qBAAqB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAI3D,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,EAAwB,CAAA"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
2
|
+
import { Chip } from '@mui/material';
|
3
|
+
import { useAsyncEffect } from '@xylabs/react-async-effect';
|
4
|
+
import { SchemaCache } from '@xyo-network/schema-cache';
|
5
|
+
import { useState } from 'react';
|
6
|
+
import { useResolvePayload } from '../ResolvePayloadContext';
|
7
|
+
import { ValidatePayloadContext } from './Context';
|
8
|
+
export const ValidatePayloadProvider = ({ children, enabled = false }) => {
|
9
|
+
const { payload } = useResolvePayload();
|
10
|
+
const [initialized, setInitialized] = useState(false);
|
11
|
+
const [valid, setValid] = useState();
|
12
|
+
useAsyncEffect(
|
13
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
14
|
+
async () => {
|
15
|
+
if (payload && enabled) {
|
16
|
+
await SchemaCache.instance.get(payload.schema);
|
17
|
+
const possibleKnownSchema = payload.schema;
|
18
|
+
if (SchemaCache.instance.validators[possibleKnownSchema]) {
|
19
|
+
const validator = SchemaCache.instance.validators[possibleKnownSchema];
|
20
|
+
setValid(validator?.(payload));
|
21
|
+
}
|
22
|
+
setInitialized(true);
|
23
|
+
}
|
24
|
+
}, [payload, enabled]);
|
25
|
+
return (_jsx(ValidatePayloadContext.Provider, { value: { enabled, provided: true, schema: payload?.schema, validPayload: valid }, children: enabled ? _jsx(_Fragment, { children: initialized ? children : _jsx(Chip, { label: "Validating Payload..." }) }) : children }));
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=Provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,WAAW,EAA4B,MAAM,2BAA2B,CAAA;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAOlD,MAAM,CAAC,MAAM,uBAAuB,GAAyD,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE;IAC7H,MAAM,EAAE,OAAO,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IACrD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAAW,CAAA;IAE7C,cAAc;IACZ,uDAAuD;IACvD,KAAK,IAAI,EAAE;QACT,IAAI,OAAO,IAAI,OAAO,EAAE;YACtB,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;YAE9C,MAAM,mBAAmB,GAAG,OAAO,CAAC,MAAwC,CAAA;YAE5E,IAAI,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE;gBACxD,MAAM,SAAS,GAAG,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAA;gBACtE,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;aAC/B;YACD,cAAc,CAAC,IAAI,CAAC,CAAA;SACrB;IACH,CAAC,EACD,CAAC,OAAO,EAAE,OAAO,CAAC,CACnB,CAAA;IAED,OAAO,CACL,KAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,YAC9G,OAAO,CAAC,CAAC,CAAC,4BAAG,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,KAAK,EAAC,uBAAuB,GAAG,GAAI,CAAC,CAAC,CAAC,QAAQ,GAC5D,CACnC,CAAA;AACH,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/State.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/use.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAElD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,sBAAsB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedPluginProps.js","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/EmbedPlugin.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAI3C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,CA4BrE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedResolver.d.ts","sourceRoot":"","sources":["../../../src/components/EmbedResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAQhD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedFormControl.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAe,gBAAgB,EAAc,MAAM,eAAe,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAO1E,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListModeSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/ListModeSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAe,MAAM,2BAA2B,CAAA;AAOjE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAsB1D,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAMrE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RenderSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAQ7D,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAanD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedCardResolver.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedCardResolver.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAMnD,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAqBzE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedPluginCard.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,OAAO,EAAE,aAAa,EAAmB,MAAM,QAAQ,CAAA;AAGvD,MAAM,WAAW,oBAAqB,SAAQ,YAAY,EAAE,gBAAgB,EAAE,aAAa;CAAG;AAE9F,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8B7D,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiBxD,CAAA;AAED,kFAAkF;AAClF,eAAO,MAAM,WAAW,mCAAkB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"BusyCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/BusyCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAEL,yBAAyB,EAEzB,uBAAuB,EACvB,WAAW,EACX,YAAY,EACb,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,gBAAgB,CAAC,EAAE,yBAAyB,GAAG,uBAAuB,CAAA;CACvE;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,CAgB1D,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedCardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAsB,eAAe,EAAe,MAAM,eAAe,CAAA;AAMhF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuCrD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedPluginCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAY,aAAa,EAAE,MAAM,YAAY,CAAA;AAGpD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqBnD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedCardApiErrorRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAKxD,UAAU,8BAA+B,SAAQ,SAAS;IACxD,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,8BAA8B,CAAC,CAM5F,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedErrorCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedErrorCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAiC,SAAS,EAAc,MAAM,eAAe,CAAA;AACvG,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,UAAU,uBAAuB;IAC/B,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED,UAAU,mBAAoB,SAAQ,uBAAuB,EAAE,SAAS;IACtE,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAQtE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,mBAAmB,CAAA"}
|
@@ -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 @@
|
|
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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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"}
|
package/dist/{contexts/ResolvePayloadContext → types/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,"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":"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":"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":"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":"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":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oHAAoE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;AAE/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAoDtF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAC3D"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/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,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oHAAoE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,sBAAsB,oGAA0C,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,MAAM,WAAW,4BAA4B;IAE3C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,4BAA4B,CAAC,CA4BxF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE1D,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,qHAAqE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EmbedPluginProps.d.ts","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAE1E,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
package/package.json
CHANGED
@@ -11,25 +11,25 @@
|
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
13
|
"@xylabs/delay": "^2.11.7",
|
14
|
-
"@xylabs/react-async-effect": "~2.
|
15
|
-
"@xylabs/react-flexbox": "~2.
|
16
|
-
"@xylabs/react-shared": "~2.
|
17
|
-
"@xyo-network/huri": "^2.74.
|
18
|
-
"@xyo-network/payload-model": "^2.74.
|
19
|
-
"@xyo-network/react-error": "~2.
|
20
|
-
"@xyo-network/react-payload-plugin": "~2.
|
21
|
-
"@xyo-network/react-shared": "~2.
|
22
|
-
"@xyo-network/schema-cache": "^2.74.
|
14
|
+
"@xylabs/react-async-effect": "~2.19.1",
|
15
|
+
"@xylabs/react-flexbox": "~2.19.1",
|
16
|
+
"@xylabs/react-shared": "~2.19.1",
|
17
|
+
"@xyo-network/huri": "^2.74.3",
|
18
|
+
"@xyo-network/payload-model": "^2.74.3",
|
19
|
+
"@xyo-network/react-error": "~2.63.1",
|
20
|
+
"@xyo-network/react-payload-plugin": "~2.63.1",
|
21
|
+
"@xyo-network/react-shared": "~2.63.1",
|
22
|
+
"@xyo-network/schema-cache": "^2.74.3"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
25
|
"@storybook/react": "^7.4.3",
|
26
26
|
"@uniswap/sdk": "^3.0.3",
|
27
27
|
"@uniswap/sdk-core": "^4.0.7",
|
28
28
|
"@uniswap/v3-sdk": "^3.10.0",
|
29
|
-
"@xylabs/ts-scripts-yarn3": "^
|
30
|
-
"@xylabs/tsconfig-react": "^
|
31
|
-
"@xyo-network/react-aggregate-price-plugin": "~2.
|
32
|
-
"@xyo-network/react-crypto-market-uniswap-plugin": "~2.
|
29
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.12",
|
30
|
+
"@xylabs/tsconfig-react": "^2.19.12",
|
31
|
+
"@xyo-network/react-aggregate-price-plugin": "~2.63.1",
|
32
|
+
"@xyo-network/react-crypto-market-uniswap-plugin": "~2.63.1",
|
33
33
|
"typescript": "^5.2.2"
|
34
34
|
},
|
35
35
|
"peerDependencies": {
|
@@ -42,35 +42,27 @@
|
|
42
42
|
"react-router-dom": "^6"
|
43
43
|
},
|
44
44
|
"description": "Common React library for all XYO projects that use React",
|
45
|
+
"browser": "dist/esm/index.js",
|
45
46
|
"docs": "dist/docs.json",
|
46
47
|
"exports": {
|
47
48
|
".": {
|
48
49
|
"node": {
|
49
|
-
"import":
|
50
|
-
|
51
|
-
"default": "./dist/index.mjs"
|
52
|
-
},
|
53
|
-
"require": {
|
54
|
-
"types": "./dist/index.d.ts",
|
55
|
-
"default": "./dist/index.js"
|
56
|
-
}
|
50
|
+
"import": "./dist/esm/index.js",
|
51
|
+
"require": "./dist/cjs/index.js"
|
57
52
|
},
|
58
53
|
"browser": {
|
59
|
-
"import":
|
60
|
-
|
61
|
-
"default": "./dist/index.mjs"
|
62
|
-
},
|
63
|
-
"require": {
|
64
|
-
"types": "./dist/index.d.ts",
|
65
|
-
"default": "./dist/index.js"
|
66
|
-
}
|
54
|
+
"import": "./dist/esm/index.js",
|
55
|
+
"require": "./dist/cjs/index.js"
|
67
56
|
},
|
68
|
-
"default": "./dist/index.
|
57
|
+
"default": "./dist/esm/index.js"
|
58
|
+
},
|
59
|
+
"./dist/docs.json": {
|
60
|
+
"default": "./dist/docs.json"
|
69
61
|
},
|
70
62
|
"./package.json": "./package.json"
|
71
63
|
},
|
72
|
-
"main": "dist/index.js",
|
73
|
-
"module": "dist/index.
|
64
|
+
"main": "dist/cjs/index.js",
|
65
|
+
"module": "dist/esm/index.js",
|
74
66
|
"homepage": "https://xyo.network",
|
75
67
|
"keywords": [
|
76
68
|
"xyo",
|
@@ -91,6 +83,6 @@
|
|
91
83
|
"license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
|
92
84
|
},
|
93
85
|
"sideEffects": false,
|
94
|
-
"types": "dist/index.d.ts",
|
95
|
-
"version": "2.
|
86
|
+
"types": "dist/types/index.d.ts",
|
87
|
+
"version": "2.63.1"
|
96
88
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedPlugin.d.ts","sourceRoot":"","sources":["../../src/components/EmbedPlugin.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAI3C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,CA4BrE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedPlugin.d.ts","sourceRoot":"","sources":["../../src/components/EmbedPlugin.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAI3C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,CA4BrE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedResolver.d.ts","sourceRoot":"","sources":["../../src/components/EmbedResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAQhD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedResolver.d.ts","sourceRoot":"","sources":["../../src/components/EmbedResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAQhD,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { FormControlProps } from '@mui/material';
|
3
|
-
import { WithChildren } from '@xylabs/react-shared';
|
4
|
-
interface EmbedFormControlProps extends FormControlProps {
|
5
|
-
formId?: string;
|
6
|
-
formLabel?: string;
|
7
|
-
}
|
8
|
-
export declare const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>>;
|
9
|
-
export {};
|
10
|
-
//# sourceMappingURL=EmbedFormControl.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedFormControl.d.ts","sourceRoot":"","sources":["../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAe,gBAAgB,EAAc,MAAM,eAAe,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAO1E,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedFormControl.d.ts","sourceRoot":"","sources":["../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAe,gBAAgB,EAAc,MAAM,eAAe,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAO1E,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { SelectProps } from '@mui/material';
|
3
|
-
import { ListMode } from '@xyo-network/react-shared';
|
4
|
-
export declare const ListModeSelect: React.FC<SelectProps<ListMode>>;
|
5
|
-
export declare const ListModeSelectFormControl: React.FC<SelectProps<ListMode>>;
|
6
|
-
//# sourceMappingURL=ListModeSelect.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ListModeSelect.d.ts","sourceRoot":"","sources":["../../../src/components/controls/ListModeSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAe,MAAM,2BAA2B,CAAA;AAOjE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAsB1D,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAMrE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ListModeSelect.d.ts","sourceRoot":"","sources":["../../../src/components/controls/ListModeSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAe,MAAM,2BAA2B,CAAA;AAOjE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAsB1D,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAMrE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RenderSelect.d.ts","sourceRoot":"","sources":["../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAQ7D,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAanD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RenderSelect.d.ts","sourceRoot":"","sources":["../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,eAAe,CAAA;AAQ7D,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAanD,CAAA"}
|