@xyo-network/react-embed 2.63.1 → 2.64.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/EmbedPlugin.d.mts.map +1 -0
- package/dist/components/EmbedPlugin.d.ts +5 -0
- package/dist/components/EmbedPlugin.d.ts.map +1 -0
- package/dist/components/EmbedResolver.d.mts.map +1 -0
- package/dist/components/EmbedResolver.d.ts +4 -0
- package/dist/components/EmbedResolver.d.ts.map +1 -0
- package/dist/components/controls/EmbedFormControl.d.mts.map +1 -0
- package/dist/components/controls/EmbedFormControl.d.ts +10 -0
- package/dist/components/controls/EmbedFormControl.d.ts.map +1 -0
- package/dist/components/controls/ListModeSelect.d.mts.map +1 -0
- package/dist/components/controls/ListModeSelect.d.ts +6 -0
- package/dist/components/controls/ListModeSelect.d.ts.map +1 -0
- package/dist/components/controls/RenderSelect.d.mts.map +1 -0
- package/dist/components/controls/RenderSelect.d.ts +4 -0
- package/dist/components/controls/RenderSelect.d.ts.map +1 -0
- package/dist/components/controls/index.d.mts.map +1 -0
- package/dist/{esm/components/controls/index.js → components/controls/index.d.ts} +1 -1
- package/dist/components/controls/index.d.ts.map +1 -0
- package/dist/components/embed-card/EmbedCardResolver.d.mts.map +1 -0
- package/dist/components/embed-card/EmbedCardResolver.d.ts +5 -0
- package/dist/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
- package/dist/components/embed-card/EmbedPluginCard.d.mts.map +1 -0
- package/dist/components/embed-card/EmbedPluginCard.d.ts +11 -0
- package/dist/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/components/embed-card/card/BusyCard.d.mts.map +1 -0
- package/dist/components/embed-card/card/BusyCard.d.ts +11 -0
- package/dist/components/embed-card/card/BusyCard.d.ts.map +1 -0
- package/dist/components/embed-card/card/EmbedCardHeader.d.mts.map +1 -0
- package/dist/components/embed-card/card/EmbedCardHeader.d.ts +4 -0
- package/dist/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
- package/dist/components/embed-card/card/EmbedPluginCard.d.mts.map +1 -0
- package/dist/components/embed-card/card/EmbedPluginCard.d.ts +4 -0
- package/dist/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
- package/dist/components/embed-card/card/index.d.mts.map +1 -0
- package/dist/{esm/components/embed-card/card/index.js → components/embed-card/card/index.d.ts} +1 -1
- package/dist/components/embed-card/card/index.d.ts.map +1 -0
- package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts.map +1 -0
- package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +10 -0
- package/dist/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
- package/dist/components/embed-card/error-handling/EmbedErrorCard.d.mts.map +1 -0
- package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts +15 -0
- package/dist/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
- package/dist/components/embed-card/error-handling/index.d.mts.map +1 -0
- package/dist/{esm/components/embed-card/error-handling/index.js → components/embed-card/error-handling/index.d.ts} +1 -1
- package/dist/components/embed-card/error-handling/index.d.ts.map +1 -0
- package/dist/components/embed-card/index.d.mts.map +1 -0
- package/dist/{esm/components/embed-card/index.js → components/embed-card/index.d.ts} +1 -1
- package/dist/components/embed-card/index.d.ts.map +1 -0
- package/dist/components/embed-card/menu/EmbedMenu.d.mts.map +1 -0
- package/dist/components/embed-card/menu/EmbedMenu.d.ts +4 -0
- package/dist/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
- package/dist/components/embed-card/menu/JsonMenuItem.d.mts.map +1 -0
- package/dist/components/embed-card/menu/JsonMenuItem.d.ts +4 -0
- package/dist/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
- package/dist/components/embed-card/menu/index.d.mts.map +1 -0
- package/dist/components/embed-card/menu/index.d.ts +2 -0
- package/dist/components/embed-card/menu/index.d.ts.map +1 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts +6 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.mts.map +1 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts +6 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.d.ts.map +1 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts +11 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.mts.map +1 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts +11 -0
- package/dist/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.d.ts.map +1 -0
- package/dist/components/embed-plugin-stories/storyPayload.d.mts.map +1 -0
- package/dist/components/embed-plugin-stories/storyPayload.d.ts +126 -0
- package/dist/components/embed-plugin-stories/storyPayload.d.ts.map +1 -0
- package/dist/components/embed-plugin-stories/storyShared.d.mts.map +1 -0
- package/dist/components/embed-plugin-stories/storyShared.d.ts +5 -0
- package/dist/components/embed-plugin-stories/storyShared.d.ts.map +1 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/validation-alerts/ValidatePayload.d.mts.map +1 -0
- package/dist/components/validation-alerts/ValidatePayload.d.ts +5 -0
- package/dist/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
- package/dist/components/validation-alerts/ValidatePlugins.d.mts.map +1 -0
- package/dist/components/validation-alerts/ValidatePlugins.d.ts +5 -0
- package/dist/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
- package/dist/components/validation-alerts/index.d.mts.map +1 -0
- package/dist/{esm/components/validation-alerts/index.js → components/validation-alerts/index.d.ts} +1 -1
- package/dist/components/validation-alerts/index.d.ts.map +1 -0
- package/dist/contexts/EmbedPluginContext/Context.d.mts.map +1 -0
- package/dist/contexts/EmbedPluginContext/Context.d.ts +4 -0
- package/dist/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
- package/dist/contexts/EmbedPluginContext/Provider.d.mts.map +1 -0
- package/dist/contexts/EmbedPluginContext/Provider.d.ts +7 -0
- package/dist/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
- package/dist/contexts/EmbedPluginContext/State.d.mts.map +1 -0
- package/dist/contexts/EmbedPluginContext/State.d.ts +33 -0
- package/dist/contexts/EmbedPluginContext/State.d.ts.map +1 -0
- package/dist/contexts/EmbedPluginContext/index.d.mts.map +1 -0
- package/dist/contexts/EmbedPluginContext/index.d.ts.map +1 -0
- package/dist/contexts/EmbedPluginContext/use.d.mts.map +1 -0
- package/dist/contexts/EmbedPluginContext/use.d.ts +2 -0
- package/dist/contexts/EmbedPluginContext/use.d.ts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/Context.d.mts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/Context.d.ts +4 -0
- package/dist/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/Provider.d.mts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/Provider.d.ts +8 -0
- package/dist/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/State.d.mts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/State.d.ts +8 -0
- package/dist/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/index.d.mts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/use.d.mts.map +1 -0
- package/dist/contexts/RefreshPayloadContext/use.d.ts +2 -0
- package/dist/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/Context.d.mts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/Context.d.ts +4 -0
- package/dist/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/Provider.d.mts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/Provider.d.ts +6 -0
- package/dist/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/State.d.mts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/State.d.ts +13 -0
- package/dist/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
- package/dist/{esm/contexts/EmbedPluginContext/index.js → contexts/ResolvePayloadContext/index.d.mts} +1 -1
- package/dist/contexts/ResolvePayloadContext/index.d.mts.map +1 -0
- package/dist/{esm/contexts/ResolvePayloadContext/index.js → contexts/ResolvePayloadContext/index.d.ts} +1 -1
- package/dist/{types/contexts/EmbedPluginContext → contexts/ResolvePayloadContext}/index.d.ts.map +1 -1
- package/dist/contexts/ResolvePayloadContext/use.d.mts.map +1 -0
- package/dist/contexts/ResolvePayloadContext/use.d.ts +2 -0
- package/dist/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/Context.d.mts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/Context.d.ts +4 -0
- package/dist/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/Provider.d.mts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/Provider.d.ts +7 -0
- package/dist/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts +15 -0
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.mts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts +15 -0
- package/dist/contexts/ValidatePayloadContext/Provider.stories.d.ts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/State.d.mts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/State.d.ts +7 -0
- package/dist/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
- package/dist/{esm/contexts/RefreshPayloadContext/index.js → contexts/ValidatePayloadContext/index.d.mts} +1 -1
- package/dist/contexts/ValidatePayloadContext/index.d.mts.map +1 -0
- package/dist/{esm/contexts/ValidatePayloadContext/index.js → contexts/ValidatePayloadContext/index.d.ts} +1 -1
- package/dist/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/use.d.mts.map +1 -0
- package/dist/contexts/ValidatePayloadContext/use.d.ts +2 -0
- package/dist/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
- package/dist/contexts/index.d.mts.map +1 -0
- package/dist/{esm/contexts/index.js → contexts/index.d.ts} +1 -1
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/{esm/index.js → index.d.mts} +1 -1
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +533 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +493 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types/EmbedPluginProps.d.mts.map +1 -0
- package/dist/types/EmbedPluginProps.d.ts +10 -0
- package/dist/types/EmbedPluginProps.d.ts.map +1 -0
- package/dist/types/index.d.mts.map +1 -0
- package/dist/types/index.d.ts +1 -3
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +35 -26
- package/src/components/embed-card/card/EmbedCardHeader.tsx +1 -1
- package/src/components/embed-card/menu/EmbedMenu.tsx +1 -1
- package/src/components/embed-card/menu/JsonMenuItem.tsx +1 -1
- package/dist/cjs/components/EmbedPlugin.js +0 -19
- package/dist/cjs/components/EmbedPlugin.js.map +0 -1
- package/dist/cjs/components/EmbedResolver.js +0 -12
- package/dist/cjs/components/EmbedResolver.js.map +0 -1
- package/dist/cjs/components/controls/EmbedFormControl.js +0 -12
- package/dist/cjs/components/controls/EmbedFormControl.js.map +0 -1
- package/dist/cjs/components/controls/ListModeSelect.js +0 -21
- package/dist/cjs/components/controls/ListModeSelect.js.map +0 -1
- package/dist/cjs/components/controls/RenderSelect.js +0 -15
- package/dist/cjs/components/controls/RenderSelect.js.map +0 -1
- package/dist/cjs/components/controls/index.js +0 -7
- package/dist/cjs/components/controls/index.js.map +0 -1
- package/dist/cjs/components/embed-card/EmbedCardResolver.js +0 -19
- package/dist/cjs/components/embed-card/EmbedCardResolver.js.map +0 -1
- package/dist/cjs/components/embed-card/EmbedPluginCard.js +0 -35
- package/dist/cjs/components/embed-card/EmbedPluginCard.js.map +0 -1
- package/dist/cjs/components/embed-card/card/BusyCard.js +0 -15
- package/dist/cjs/components/embed-card/card/BusyCard.js.map +0 -1
- package/dist/cjs/components/embed-card/card/EmbedCardHeader.js +0 -21
- package/dist/cjs/components/embed-card/card/EmbedCardHeader.js.map +0 -1
- package/dist/cjs/components/embed-card/card/EmbedPluginCard.js +0 -23
- package/dist/cjs/components/embed-card/card/EmbedPluginCard.js.map +0 -1
- package/dist/cjs/components/embed-card/card/index.js +0 -7
- package/dist/cjs/components/embed-card/card/index.js.map +0 -1
- package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +0 -17
- package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +0 -1
- package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js +0 -16
- package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js.map +0 -1
- package/dist/cjs/components/embed-card/error-handling/index.js +0 -6
- package/dist/cjs/components/embed-card/error-handling/index.js.map +0 -1
- package/dist/cjs/components/embed-card/index.js +0 -6
- package/dist/cjs/components/embed-card/index.js.map +0 -1
- package/dist/cjs/components/embed-card/menu/EmbedMenu.js +0 -23
- package/dist/cjs/components/embed-card/menu/EmbedMenu.js.map +0 -1
- package/dist/cjs/components/embed-card/menu/JsonMenuItem.js +0 -14
- package/dist/cjs/components/embed-card/menu/JsonMenuItem.js.map +0 -1
- package/dist/cjs/components/embed-card/menu/index.js +0 -5
- package/dist/cjs/components/embed-card/menu/index.js.map +0 -1
- package/dist/cjs/components/embed-plugin-stories/storyPayload.js +0 -25
- package/dist/cjs/components/embed-plugin-stories/storyPayload.js.map +0 -1
- package/dist/cjs/components/embed-plugin-stories/storyShared.js +0 -20
- package/dist/cjs/components/embed-plugin-stories/storyShared.js.map +0 -1
- package/dist/cjs/components/index.js +0 -6
- package/dist/cjs/components/index.js.map +0 -1
- package/dist/cjs/components/validation-alerts/ValidatePayload.js +0 -17
- package/dist/cjs/components/validation-alerts/ValidatePayload.js.map +0 -1
- package/dist/cjs/components/validation-alerts/ValidatePlugins.js +0 -18
- package/dist/cjs/components/validation-alerts/ValidatePlugins.js.map +0 -1
- package/dist/cjs/components/validation-alerts/index.js +0 -6
- package/dist/cjs/components/validation-alerts/index.js.map +0 -1
- package/dist/cjs/contexts/EmbedPluginContext/Context.js +0 -6
- package/dist/cjs/contexts/EmbedPluginContext/Context.js.map +0 -1
- package/dist/cjs/contexts/EmbedPluginContext/Provider.js +0 -24
- package/dist/cjs/contexts/EmbedPluginContext/Provider.js.map +0 -1
- package/dist/cjs/contexts/EmbedPluginContext/State.js +0 -3
- package/dist/cjs/contexts/EmbedPluginContext/State.js.map +0 -1
- package/dist/cjs/contexts/EmbedPluginContext/index.js +0 -8
- package/dist/cjs/contexts/EmbedPluginContext/index.js.map +0 -1
- package/dist/cjs/contexts/EmbedPluginContext/use.js +0 -8
- package/dist/cjs/contexts/EmbedPluginContext/use.js.map +0 -1
- package/dist/cjs/contexts/RefreshPayloadContext/Context.js +0 -6
- package/dist/cjs/contexts/RefreshPayloadContext/Context.js.map +0 -1
- package/dist/cjs/contexts/RefreshPayloadContext/Provider.js +0 -12
- package/dist/cjs/contexts/RefreshPayloadContext/Provider.js.map +0 -1
- package/dist/cjs/contexts/RefreshPayloadContext/State.js +0 -3
- package/dist/cjs/contexts/RefreshPayloadContext/State.js.map +0 -1
- package/dist/cjs/contexts/RefreshPayloadContext/index.js +0 -7
- package/dist/cjs/contexts/RefreshPayloadContext/index.js.map +0 -1
- package/dist/cjs/contexts/RefreshPayloadContext/use.js +0 -8
- package/dist/cjs/contexts/RefreshPayloadContext/use.js.map +0 -1
- package/dist/cjs/contexts/ResolvePayloadContext/Context.js +0 -6
- package/dist/cjs/contexts/ResolvePayloadContext/Context.js.map +0 -1
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +0 -56
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +0 -1
- package/dist/cjs/contexts/ResolvePayloadContext/State.js +0 -3
- package/dist/cjs/contexts/ResolvePayloadContext/State.js.map +0 -1
- package/dist/cjs/contexts/ResolvePayloadContext/index.js +0 -8
- package/dist/cjs/contexts/ResolvePayloadContext/index.js.map +0 -1
- package/dist/cjs/contexts/ResolvePayloadContext/use.js +0 -8
- package/dist/cjs/contexts/ResolvePayloadContext/use.js.map +0 -1
- package/dist/cjs/contexts/ValidatePayloadContext/Context.js +0 -6
- package/dist/cjs/contexts/ValidatePayloadContext/Context.js.map +0 -1
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +0 -32
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +0 -1
- package/dist/cjs/contexts/ValidatePayloadContext/State.js +0 -3
- package/dist/cjs/contexts/ValidatePayloadContext/State.js.map +0 -1
- package/dist/cjs/contexts/ValidatePayloadContext/index.js +0 -7
- package/dist/cjs/contexts/ValidatePayloadContext/index.js.map +0 -1
- package/dist/cjs/contexts/ValidatePayloadContext/use.js +0 -8
- package/dist/cjs/contexts/ValidatePayloadContext/use.js.map +0 -1
- package/dist/cjs/contexts/index.js +0 -8
- package/dist/cjs/contexts/index.js.map +0 -1
- package/dist/cjs/index.js +0 -7
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/EmbedPluginProps.js +0 -3
- package/dist/cjs/types/EmbedPluginProps.js.map +0 -1
- package/dist/cjs/types/index.js +0 -5
- package/dist/cjs/types/index.js.map +0 -1
- package/dist/docs.json +0 -4855
- package/dist/esm/components/EmbedPlugin.js +0 -15
- package/dist/esm/components/EmbedPlugin.js.map +0 -1
- package/dist/esm/components/EmbedResolver.js +0 -8
- package/dist/esm/components/EmbedResolver.js.map +0 -1
- package/dist/esm/components/controls/EmbedFormControl.js +0 -6
- package/dist/esm/components/controls/EmbedFormControl.js.map +0 -1
- package/dist/esm/components/controls/ListModeSelect.js +0 -16
- package/dist/esm/components/controls/ListModeSelect.js.map +0 -1
- package/dist/esm/components/controls/RenderSelect.js +0 -11
- package/dist/esm/components/controls/RenderSelect.js.map +0 -1
- package/dist/esm/components/controls/index.js.map +0 -1
- package/dist/esm/components/embed-card/EmbedCardResolver.js +0 -13
- package/dist/esm/components/embed-card/EmbedCardResolver.js.map +0 -1
- package/dist/esm/components/embed-card/EmbedPluginCard.js +0 -28
- package/dist/esm/components/embed-card/EmbedPluginCard.js.map +0 -1
- package/dist/esm/components/embed-card/card/BusyCard.js +0 -9
- package/dist/esm/components/embed-card/card/BusyCard.js.map +0 -1
- package/dist/esm/components/embed-card/card/EmbedCardHeader.js +0 -15
- package/dist/esm/components/embed-card/card/EmbedCardHeader.js.map +0 -1
- package/dist/esm/components/embed-card/card/EmbedPluginCard.js +0 -16
- package/dist/esm/components/embed-card/card/EmbedPluginCard.js.map +0 -1
- package/dist/esm/components/embed-card/card/index.js.map +0 -1
- package/dist/esm/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +0 -10
- package/dist/esm/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +0 -1
- package/dist/esm/components/embed-card/error-handling/EmbedErrorCard.js +0 -11
- package/dist/esm/components/embed-card/error-handling/EmbedErrorCard.js.map +0 -1
- package/dist/esm/components/embed-card/error-handling/index.js.map +0 -1
- package/dist/esm/components/embed-card/index.js.map +0 -1
- package/dist/esm/components/embed-card/menu/EmbedMenu.js +0 -18
- package/dist/esm/components/embed-card/menu/EmbedMenu.js.map +0 -1
- package/dist/esm/components/embed-card/menu/JsonMenuItem.js +0 -9
- package/dist/esm/components/embed-card/menu/JsonMenuItem.js.map +0 -1
- package/dist/esm/components/embed-card/menu/index.js +0 -2
- package/dist/esm/components/embed-card/menu/index.js.map +0 -1
- package/dist/esm/components/embed-plugin-stories/storyPayload.js +0 -22
- package/dist/esm/components/embed-plugin-stories/storyPayload.js.map +0 -1
- package/dist/esm/components/embed-plugin-stories/storyShared.js +0 -16
- package/dist/esm/components/embed-plugin-stories/storyShared.js.map +0 -1
- package/dist/esm/components/index.js.map +0 -1
- package/dist/esm/components/validation-alerts/ValidatePayload.js +0 -11
- package/dist/esm/components/validation-alerts/ValidatePayload.js.map +0 -1
- package/dist/esm/components/validation-alerts/ValidatePlugins.js +0 -12
- package/dist/esm/components/validation-alerts/ValidatePlugins.js.map +0 -1
- package/dist/esm/components/validation-alerts/index.js.map +0 -1
- package/dist/esm/contexts/EmbedPluginContext/Context.js +0 -3
- package/dist/esm/contexts/EmbedPluginContext/Context.js.map +0 -1
- package/dist/esm/contexts/EmbedPluginContext/Provider.js +0 -20
- package/dist/esm/contexts/EmbedPluginContext/Provider.js.map +0 -1
- package/dist/esm/contexts/EmbedPluginContext/State.js +0 -2
- package/dist/esm/contexts/EmbedPluginContext/State.js.map +0 -1
- package/dist/esm/contexts/EmbedPluginContext/index.js.map +0 -1
- package/dist/esm/contexts/EmbedPluginContext/use.js +0 -4
- package/dist/esm/contexts/EmbedPluginContext/use.js.map +0 -1
- package/dist/esm/contexts/RefreshPayloadContext/Context.js +0 -3
- package/dist/esm/contexts/RefreshPayloadContext/Context.js.map +0 -1
- package/dist/esm/contexts/RefreshPayloadContext/Provider.js +0 -8
- package/dist/esm/contexts/RefreshPayloadContext/Provider.js.map +0 -1
- package/dist/esm/contexts/RefreshPayloadContext/State.js +0 -2
- package/dist/esm/contexts/RefreshPayloadContext/State.js.map +0 -1
- package/dist/esm/contexts/RefreshPayloadContext/index.js.map +0 -1
- package/dist/esm/contexts/RefreshPayloadContext/use.js +0 -4
- package/dist/esm/contexts/RefreshPayloadContext/use.js.map +0 -1
- package/dist/esm/contexts/ResolvePayloadContext/Context.js +0 -3
- package/dist/esm/contexts/ResolvePayloadContext/Context.js.map +0 -1
- package/dist/esm/contexts/ResolvePayloadContext/Provider.js +0 -51
- package/dist/esm/contexts/ResolvePayloadContext/Provider.js.map +0 -1
- package/dist/esm/contexts/ResolvePayloadContext/State.js +0 -2
- package/dist/esm/contexts/ResolvePayloadContext/State.js.map +0 -1
- package/dist/esm/contexts/ResolvePayloadContext/index.js.map +0 -1
- package/dist/esm/contexts/ResolvePayloadContext/use.js +0 -4
- package/dist/esm/contexts/ResolvePayloadContext/use.js.map +0 -1
- package/dist/esm/contexts/ValidatePayloadContext/Context.js +0 -3
- package/dist/esm/contexts/ValidatePayloadContext/Context.js.map +0 -1
- package/dist/esm/contexts/ValidatePayloadContext/Provider.js +0 -27
- package/dist/esm/contexts/ValidatePayloadContext/Provider.js.map +0 -1
- package/dist/esm/contexts/ValidatePayloadContext/State.js +0 -2
- package/dist/esm/contexts/ValidatePayloadContext/State.js.map +0 -1
- package/dist/esm/contexts/ValidatePayloadContext/index.js.map +0 -1
- package/dist/esm/contexts/ValidatePayloadContext/use.js +0 -4
- package/dist/esm/contexts/ValidatePayloadContext/use.js.map +0 -1
- package/dist/esm/contexts/index.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/EmbedPluginProps.js +0 -2
- package/dist/esm/types/EmbedPluginProps.js.map +0 -1
- package/dist/esm/types/index.js +0 -2
- package/dist/esm/types/index.js.map +0 -1
- package/dist/types/components/EmbedPlugin.d.ts.map +0 -1
- package/dist/types/components/EmbedResolver.d.ts.map +0 -1
- package/dist/types/components/controls/EmbedFormControl.d.ts.map +0 -1
- package/dist/types/components/controls/ListModeSelect.d.ts.map +0 -1
- package/dist/types/components/controls/RenderSelect.d.ts.map +0 -1
- package/dist/types/components/controls/index.d.ts.map +0 -1
- package/dist/types/components/embed-card/EmbedCardResolver.d.ts.map +0 -1
- package/dist/types/components/embed-card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/types/components/embed-card/card/BusyCard.d.ts.map +0 -1
- package/dist/types/components/embed-card/card/EmbedCardHeader.d.ts.map +0 -1
- package/dist/types/components/embed-card/card/EmbedPluginCard.d.ts.map +0 -1
- package/dist/types/components/embed-card/card/index.d.ts.map +0 -1
- package/dist/types/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +0 -1
- package/dist/types/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +0 -1
- package/dist/types/components/embed-card/error-handling/index.d.ts.map +0 -1
- package/dist/types/components/embed-card/index.d.ts.map +0 -1
- package/dist/types/components/embed-card/menu/EmbedMenu.d.ts.map +0 -1
- package/dist/types/components/embed-card/menu/JsonMenuItem.d.ts.map +0 -1
- package/dist/types/components/embed-card/menu/index.d.ts.map +0 -1
- package/dist/types/components/embed-plugin-stories/storyPayload.d.ts.map +0 -1
- package/dist/types/components/embed-plugin-stories/storyShared.d.ts.map +0 -1
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/components/validation-alerts/ValidatePayload.d.ts.map +0 -1
- package/dist/types/components/validation-alerts/ValidatePlugins.d.ts.map +0 -1
- package/dist/types/components/validation-alerts/index.d.ts.map +0 -1
- package/dist/types/contexts/EmbedPluginContext/Context.d.ts.map +0 -1
- package/dist/types/contexts/EmbedPluginContext/Provider.d.ts.map +0 -1
- package/dist/types/contexts/EmbedPluginContext/State.d.ts.map +0 -1
- package/dist/types/contexts/EmbedPluginContext/use.d.ts.map +0 -1
- package/dist/types/contexts/RefreshPayloadContext/Context.d.ts.map +0 -1
- package/dist/types/contexts/RefreshPayloadContext/Provider.d.ts.map +0 -1
- package/dist/types/contexts/RefreshPayloadContext/State.d.ts.map +0 -1
- package/dist/types/contexts/RefreshPayloadContext/index.d.ts.map +0 -1
- package/dist/types/contexts/RefreshPayloadContext/use.d.ts.map +0 -1
- package/dist/types/contexts/ResolvePayloadContext/Context.d.ts.map +0 -1
- package/dist/types/contexts/ResolvePayloadContext/Provider.d.ts.map +0 -1
- package/dist/types/contexts/ResolvePayloadContext/State.d.ts.map +0 -1
- package/dist/types/contexts/ResolvePayloadContext/index.d.ts.map +0 -1
- package/dist/types/contexts/ResolvePayloadContext/use.d.ts.map +0 -1
- package/dist/types/contexts/ValidatePayloadContext/Context.d.ts.map +0 -1
- package/dist/types/contexts/ValidatePayloadContext/Provider.d.ts.map +0 -1
- package/dist/types/contexts/ValidatePayloadContext/State.d.ts.map +0 -1
- package/dist/types/contexts/ValidatePayloadContext/index.d.ts.map +0 -1
- package/dist/types/contexts/ValidatePayloadContext/use.d.ts.map +0 -1
- package/dist/types/contexts/index.d.ts.map +0 -1
- package/dist/types/types/EmbedPluginProps.d.ts.map +0 -1
- package/dist/types/types/index.d.ts.map +0 -1
- /package/dist/{types/components/EmbedPlugin.d.ts → components/EmbedPlugin.d.mts} +0 -0
- /package/dist/{types/components/EmbedResolver.d.ts → components/EmbedResolver.d.mts} +0 -0
- /package/dist/{types/components/controls/EmbedFormControl.d.ts → components/controls/EmbedFormControl.d.mts} +0 -0
- /package/dist/{types/components/controls/ListModeSelect.d.ts → components/controls/ListModeSelect.d.mts} +0 -0
- /package/dist/{types/components/controls/RenderSelect.d.ts → components/controls/RenderSelect.d.mts} +0 -0
- /package/dist/{types/components/controls/index.d.ts → components/controls/index.d.mts} +0 -0
- /package/dist/{types/components/embed-card/EmbedCardResolver.d.ts → components/embed-card/EmbedCardResolver.d.mts} +0 -0
- /package/dist/{types/components/embed-card/EmbedPluginCard.d.ts → components/embed-card/EmbedPluginCard.d.mts} +0 -0
- /package/dist/{types/components/embed-card/card/BusyCard.d.ts → components/embed-card/card/BusyCard.d.mts} +0 -0
- /package/dist/{types/components/embed-card/card/EmbedCardHeader.d.ts → components/embed-card/card/EmbedCardHeader.d.mts} +0 -0
- /package/dist/{types/components/embed-card/card/EmbedPluginCard.d.ts → components/embed-card/card/EmbedPluginCard.d.mts} +0 -0
- /package/dist/{types/components/embed-card/card/index.d.ts → components/embed-card/card/index.d.mts} +0 -0
- /package/dist/{types/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts → components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.mts} +0 -0
- /package/dist/{types/components/embed-card/error-handling/EmbedErrorCard.d.ts → components/embed-card/error-handling/EmbedErrorCard.d.mts} +0 -0
- /package/dist/{types/components/embed-card/error-handling/index.d.ts → components/embed-card/error-handling/index.d.mts} +0 -0
- /package/dist/{types/components/embed-card/index.d.ts → components/embed-card/index.d.mts} +0 -0
- /package/dist/{types/components/embed-card/menu/EmbedMenu.d.ts → components/embed-card/menu/EmbedMenu.d.mts} +0 -0
- /package/dist/{types/components/embed-card/menu/JsonMenuItem.d.ts → components/embed-card/menu/JsonMenuItem.d.mts} +0 -0
- /package/dist/{types/components/embed-card/menu/index.d.ts → components/embed-card/menu/index.d.mts} +0 -0
- /package/dist/{types/components/embed-plugin-stories/storyPayload.d.ts → components/embed-plugin-stories/storyPayload.d.mts} +0 -0
- /package/dist/{types/components/embed-plugin-stories/storyShared.d.ts → components/embed-plugin-stories/storyShared.d.mts} +0 -0
- /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
- /package/dist/{types/components/validation-alerts/ValidatePayload.d.ts → components/validation-alerts/ValidatePayload.d.mts} +0 -0
- /package/dist/{types/components/validation-alerts/ValidatePlugins.d.ts → components/validation-alerts/ValidatePlugins.d.mts} +0 -0
- /package/dist/{types/components/validation-alerts/index.d.ts → components/validation-alerts/index.d.mts} +0 -0
- /package/dist/{types/contexts/EmbedPluginContext/Context.d.ts → contexts/EmbedPluginContext/Context.d.mts} +0 -0
- /package/dist/{types/contexts/EmbedPluginContext/Provider.d.ts → contexts/EmbedPluginContext/Provider.d.mts} +0 -0
- /package/dist/{types/contexts/EmbedPluginContext/State.d.ts → contexts/EmbedPluginContext/State.d.mts} +0 -0
- /package/dist/{types/contexts/EmbedPluginContext/index.d.ts → contexts/EmbedPluginContext/index.d.mts} +0 -0
- /package/dist/{types/contexts/ResolvePayloadContext → contexts/EmbedPluginContext}/index.d.ts +0 -0
- /package/dist/{types/contexts/EmbedPluginContext/use.d.ts → contexts/EmbedPluginContext/use.d.mts} +0 -0
- /package/dist/{types/contexts/RefreshPayloadContext/Context.d.ts → contexts/RefreshPayloadContext/Context.d.mts} +0 -0
- /package/dist/{types/contexts/RefreshPayloadContext/Provider.d.ts → contexts/RefreshPayloadContext/Provider.d.mts} +0 -0
- /package/dist/{types/contexts/RefreshPayloadContext/State.d.ts → contexts/RefreshPayloadContext/State.d.mts} +0 -0
- /package/dist/{types/contexts/RefreshPayloadContext/index.d.ts → contexts/RefreshPayloadContext/index.d.mts} +0 -0
- /package/dist/{types/contexts/ValidatePayloadContext → contexts/RefreshPayloadContext}/index.d.ts +0 -0
- /package/dist/{types/contexts/RefreshPayloadContext/use.d.ts → contexts/RefreshPayloadContext/use.d.mts} +0 -0
- /package/dist/{types/contexts/ResolvePayloadContext/Context.d.ts → contexts/ResolvePayloadContext/Context.d.mts} +0 -0
- /package/dist/{types/contexts/ResolvePayloadContext/Provider.d.ts → contexts/ResolvePayloadContext/Provider.d.mts} +0 -0
- /package/dist/{types/contexts/ResolvePayloadContext/State.d.ts → contexts/ResolvePayloadContext/State.d.mts} +0 -0
- /package/dist/{types/contexts/ResolvePayloadContext/use.d.ts → contexts/ResolvePayloadContext/use.d.mts} +0 -0
- /package/dist/{types/contexts/ValidatePayloadContext/Context.d.ts → contexts/ValidatePayloadContext/Context.d.mts} +0 -0
- /package/dist/{types/contexts/ValidatePayloadContext/Provider.d.ts → contexts/ValidatePayloadContext/Provider.d.mts} +0 -0
- /package/dist/{types/contexts/ValidatePayloadContext/State.d.ts → contexts/ValidatePayloadContext/State.d.mts} +0 -0
- /package/dist/{types/contexts/ValidatePayloadContext/use.d.ts → contexts/ValidatePayloadContext/use.d.mts} +0 -0
- /package/dist/{types/contexts/index.d.ts → contexts/index.d.mts} +0 -0
- /package/dist/types/{types/EmbedPluginProps.d.ts → EmbedPluginProps.d.mts} +0 -0
- /package/dist/types/{types/index.d.ts → index.d.mts} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"storyShared.js","sourceRoot":"","sources":["../../../../src/components/embed-plugin-stories/storyShared.tsx"],"names":[],"mappings":";;;;AACA,uDAAgD;AAEhD,8CAAkD;AAErC,QAAA,iBAAiB,GAAS;IACrC,QAAQ,EAAE,EAAE;IACZ,SAAS,EAAE,+BAAkB;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,IAAI;SACX;KACF;CACF,CAAA;AAEM,MAAM,QAAQ,GAAuC,CAAC,IAAI,EAAE,EAAE;IACnE,OAAO,CACL,uBAAC,gCAAa,cACZ,uBAAC,+BAAkB,oBAAK,IAAI,EAAI,GAClB,CACjB,CAAA;AACH,CAAC,CAAA;AANY,QAAA,QAAQ,YAMpB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,wDAA6B"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ValidatePayloadAlert = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const contexts_1 = require("../../contexts");
|
8
|
-
const ValidatePayloadAlert = (_a) => {
|
9
|
-
var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
|
10
|
-
const { validPayload, enabled, schema } = (0, contexts_1.useValidatePayload)();
|
11
|
-
if (enabled && validPayload === false) {
|
12
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "error", title: "Invalid Payload!" }, props, { children: ["Payload schema claimed to be ", schema, " but failed to validate."] })));
|
13
|
-
}
|
14
|
-
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
|
15
|
-
};
|
16
|
-
exports.ValidatePayloadAlert = ValidatePayloadAlert;
|
17
|
-
//# sourceMappingURL=ValidatePayload.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ValidatePayload.js","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAiD;AAGjD,6CAAmD;AAE5C,MAAM,oBAAoB,GAAuC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IAC3F,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAA,6BAAkB,GAAE,CAAA;IAE9D,IAAI,OAAO,IAAI,YAAY,KAAK,KAAK,EAAE;QACrC,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,OAAO,EAAC,KAAK,EAAC,kBAAkB,IAAK,KAAK,gDAC1B,MAAM,iCAC9B,CACT,CAAA;KACF;IAED,OAAO,2DAAG,QAAQ,GAAI,CAAA;AACxB,CAAC,CAAA;AAZY,QAAA,oBAAoB,wBAYhC"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ValidatePluginsAlert = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const contexts_1 = require("../../contexts");
|
8
|
-
const ValidatePluginsAlert = (_a) => {
|
9
|
-
var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
|
10
|
-
const { payload } = (0, contexts_1.useResolvePayload)();
|
11
|
-
const { plugins } = (0, contexts_1.useEmbedPluginState)();
|
12
|
-
if (payload && (plugins === null || plugins === void 0 ? void 0 : plugins.length) === 0) {
|
13
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "warning" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.AlertTitle, { children: "Missing plugins!" }), "Payload found but no plugins were present."] })));
|
14
|
-
}
|
15
|
-
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
|
16
|
-
};
|
17
|
-
exports.ValidatePluginsAlert = ValidatePluginsAlert;
|
18
|
-
//# sourceMappingURL=ValidatePlugins.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ValidatePlugins.js","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA6D;AAG7D,6CAAuE;AAEhE,MAAM,oBAAoB,GAAuC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IAC3F,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IACvC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,8BAAmB,GAAE,CAAA;IAEzC,IAAI,OAAO,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,CAAC,EAAE;QACpC,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,SAAS,IAAK,KAAK,eACjC,uBAAC,qBAAU,mCAA8B,mDACnC,CACT,CAAA;KACF;IAED,OAAO,2DAAG,QAAQ,GAAI,CAAA;AACxB,CAAC,CAAA;AAbY,QAAA,oBAAoB,wBAahC"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./ValidatePayload"), exports);
|
5
|
-
tslib_1.__exportStar(require("./ValidatePlugins"), exports);
|
6
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,4DAAiC"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EmbedPluginContext = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
exports.EmbedPluginContext = (0, react_shared_1.createContextEx)();
|
6
|
-
//# sourceMappingURL=Context.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,kBAAkB,GAAG,IAAA,8BAAe,GAAoB,CAAA"}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EmbedPluginProvider = void 0;
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
-
const react_1 = require("react");
|
6
|
-
const Context_1 = require("./Context");
|
7
|
-
/** Expose passed embed plugin props via context */
|
8
|
-
const EmbedPluginProvider = ({ children, refreshTitle, timestampLabel, hideElementsConfig, plugins, embedPluginConfig, }) => {
|
9
|
-
const [activePlugin, setActivePlugin] = (0, react_1.useState)(plugins ? plugins[0] : undefined);
|
10
|
-
(0, react_1.useEffect)(() => {
|
11
|
-
setActivePlugin(plugins ? plugins[0] : undefined);
|
12
|
-
}, [plugins]);
|
13
|
-
return ((0, jsx_runtime_1.jsx)(Context_1.EmbedPluginContext.Provider, Object.assign({ value: {
|
14
|
-
activePlugin,
|
15
|
-
embedPluginConfig,
|
16
|
-
hideElementsConfig,
|
17
|
-
provided: true,
|
18
|
-
refreshTitle,
|
19
|
-
setActivePlugin,
|
20
|
-
timestampLabel,
|
21
|
-
} }, { children: children })));
|
22
|
-
};
|
23
|
-
exports.EmbedPluginProvider = EmbedPluginProvider;
|
24
|
-
//# sourceMappingURL=Provider.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";;;;AAEA,iCAA2C;AAE3C,uCAA8C;AAK9C,mDAAmD;AAC5C,MAAM,mBAAmB,GAAqD,CAAC,EACpF,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,iBAAiB,GAClB,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAkC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAEnH,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACnD,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAEb,OAAO,CACL,uBAAC,4BAAkB,CAAC,QAAQ,kBAC1B,KAAK,EAAE;YACL,YAAY;YACZ,iBAAiB;YACjB,kBAAkB;YAClB,QAAQ,EAAE,IAAI;YACd,YAAY;YACZ,eAAe;YACf,cAAc;SACf,gBAEA,QAAQ,IACmB,CAC/B,CAAA;AACH,CAAC,CAAA;AA7BY,QAAA,mBAAmB,uBA6B/B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./Context"), exports);
|
5
|
-
tslib_1.__exportStar(require("./Provider"), exports);
|
6
|
-
tslib_1.__exportStar(require("./State"), exports);
|
7
|
-
tslib_1.__exportStar(require("./use"), exports);
|
8
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.useEmbedPluginState = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
const Context_1 = require("./Context");
|
6
|
-
const useEmbedPluginState = () => (0, react_shared_1.useContextEx)(Context_1.EmbedPluginContext, 'EmbedPlugin', true);
|
7
|
-
exports.useEmbedPluginState = useEmbedPluginState;
|
8
|
-
//# sourceMappingURL=use.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAA8C;AAEvC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,4BAAkB,EAAE,aAAa,EAAE,IAAI,CAAC,CAAA;AAAjF,QAAA,mBAAmB,uBAA8D"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RefreshPayloadContext = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
exports.RefreshPayloadContext = (0, react_shared_1.createContextEx)();
|
6
|
-
//# sourceMappingURL=Context.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,qBAAqB,GAAG,IAAA,8BAAe,GAAuB,CAAA"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RefreshPayloadProvider = void 0;
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
-
const react_1 = require("react");
|
6
|
-
const Context_1 = require("./Context");
|
7
|
-
const RefreshPayloadProvider = ({ children, onRefresh, refreshPayload }) => {
|
8
|
-
const [localRefreshPayload, setRefreshPayload] = (0, react_1.useState)(refreshPayload);
|
9
|
-
return ((0, jsx_runtime_1.jsx)(Context_1.RefreshPayloadContext.Provider, Object.assign({ value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload } }, { children: children })));
|
10
|
-
};
|
11
|
-
exports.RefreshPayloadProvider = RefreshPayloadProvider;
|
12
|
-
//# sourceMappingURL=Provider.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";;;;AACA,iCAAgC;AAEhC,uCAAiD;AAO1C,MAAM,sBAAsB,GAAgD,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC7H,MAAM,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,cAAc,CAAC,CAAA;IAEzE,OAAO,CACL,uBAAC,+BAAqB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBACzH,QAAQ,IACsB,CAClC,CAAA;AACH,CAAC,CAAA;AARY,QAAA,sBAAsB,0BAQlC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./Provider"), exports);
|
5
|
-
tslib_1.__exportStar(require("./State"), exports);
|
6
|
-
tslib_1.__exportStar(require("./use"), exports);
|
7
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.useRefreshPayload = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
const Context_1 = require("./Context");
|
6
|
-
const useRefreshPayload = () => (0, react_shared_1.useContextEx)(Context_1.RefreshPayloadContext, 'RefreshPayload', true);
|
7
|
-
exports.useRefreshPayload = useRefreshPayload;
|
8
|
-
//# sourceMappingURL=use.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAAiD;AAE1C,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,+BAAqB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;AAArF,QAAA,iBAAiB,qBAAoE"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResolvePayloadContext = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
exports.ResolvePayloadContext = (0, react_shared_1.createContextEx)();
|
6
|
-
//# sourceMappingURL=Context.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,qBAAqB,GAAG,IAAA,8BAAe,GAAuB,CAAA"}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResolvePayloadProvider = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const delay_1 = require("@xylabs/delay");
|
7
|
-
const react_async_effect_1 = require("@xylabs/react-async-effect");
|
8
|
-
const huri_1 = require("@xyo-network/huri");
|
9
|
-
const payload_model_1 = require("@xyo-network/payload-model");
|
10
|
-
const react_1 = require("react");
|
11
|
-
const RefreshPayloadContext_1 = require("../RefreshPayloadContext");
|
12
|
-
const Context_1 = require("./Context");
|
13
|
-
const ResolvePayloadProvider = ({ children, huriPayload }) => {
|
14
|
-
const [payload, setPayload] = (0, react_1.useState)();
|
15
|
-
const [huri, setHuri] = (0, react_1.useState)();
|
16
|
-
const { refreshPayload, setRefreshPayload, onRefresh } = (0, RefreshPayloadContext_1.useRefreshPayload)();
|
17
|
-
(0, react_1.useEffect)(() => {
|
18
|
-
typeof huriPayload === 'string' ? setHuri(huriPayload) : undefined;
|
19
|
-
if (typeof huriPayload === 'object') {
|
20
|
-
setPayload(huriPayload);
|
21
|
-
setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(true);
|
22
|
-
}
|
23
|
-
}, [huriPayload, setRefreshPayload]);
|
24
|
-
const [notFound, setNotFound] = (0, react_1.useState)();
|
25
|
-
const [huriError, setHuriError] = (0, react_1.useState)();
|
26
|
-
(0, react_async_effect_1.useAsyncEffect)(
|
27
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
28
|
-
(mounted) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
29
|
-
if (huri && !refreshPayload) {
|
30
|
-
try {
|
31
|
-
const huriInstance = new huri_1.Huri(huri);
|
32
|
-
const result = yield huriInstance.fetch();
|
33
|
-
// ensure the busy state can stay for a moment to avoid flashing too quickly
|
34
|
-
yield (0, delay_1.delay)(500);
|
35
|
-
if (mounted()) {
|
36
|
-
setNotFound(result === null);
|
37
|
-
setPayload(result);
|
38
|
-
setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(true);
|
39
|
-
}
|
40
|
-
}
|
41
|
-
catch (e) {
|
42
|
-
const error = e;
|
43
|
-
setHuriError({ message: error.message, schema: payload_model_1.ModuleErrorSchema, sources: [] });
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}), [huri, payload, refreshPayload, setRefreshPayload]);
|
47
|
-
const refreshHuri = () => {
|
48
|
-
onRefresh === null || onRefresh === void 0 ? void 0 : onRefresh();
|
49
|
-
if (huri) {
|
50
|
-
setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(false);
|
51
|
-
}
|
52
|
-
};
|
53
|
-
return ((0, jsx_runtime_1.jsx)(Context_1.ResolvePayloadContext.Provider, Object.assign({ value: { huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload } }, { children: children })));
|
54
|
-
};
|
55
|
-
exports.ResolvePayloadProvider = ResolvePayloadProvider;
|
56
|
-
//# sourceMappingURL=Provider.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,yCAAqC;AACrC,mEAA2D;AAE3D,4CAAwC;AACxC,8DAAoF;AACpF,iCAA2C;AAE3C,oEAA4D;AAC5D,uCAAiD;AAK1C,MAAM,sBAAsB,GAAwD,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACvH,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACjD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,GAAU,CAAA;IAC1C,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IAE5E,IAAA,iBAAS,EAAC,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,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,IAAI,CAAC,CAAA;SAC1B;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAA;IAEpC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACnD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,GAAe,CAAA;IAEzD,IAAA,mCAAc;IACZ,uDAAuD;IACvD,CAAO,OAAO,EAAE,EAAE;QAChB,IAAI,IAAI,IAAI,CAAC,cAAc,EAAE;YAC3B,IAAI;gBACF,MAAM,YAAY,GAAG,IAAI,WAAI,CAAC,IAAI,CAAC,CAAA;gBACnC,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,CAAA;gBACzC,4EAA4E;gBAC5E,MAAM,IAAA,aAAK,EAAC,GAAG,CAAC,CAAA;gBAEhB,IAAI,OAAO,EAAE,EAAE;oBACb,WAAW,CAAC,MAAM,KAAK,IAAI,CAAC,CAAA;oBAC5B,UAAU,CAAC,MAAM,CAAC,CAAA;oBAClB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,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,iCAAiB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;aACjF;SACF;IACH,CAAC,CAAA,EACD,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,iBAAiB,CAAC,CACnD,CAAA;IAED,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,SAAS,aAAT,SAAS,uBAAT,SAAS,EAAI,CAAA;QACb,IAAI,IAAI,EAAE;YACR,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC,CAAA;IAED,OAAO,CACL,uBAAC,+BAAqB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,gBACnH,QAAQ,IACsB,CAClC,CAAA;AACH,CAAC,CAAA;AApDY,QAAA,sBAAsB,0BAoDlC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":""}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./Context"), exports);
|
5
|
-
tslib_1.__exportStar(require("./Provider"), exports);
|
6
|
-
tslib_1.__exportStar(require("./State"), exports);
|
7
|
-
tslib_1.__exportStar(require("./use"), exports);
|
8
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.useResolvePayload = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
const Context_1 = require("./Context");
|
6
|
-
const useResolvePayload = () => (0, react_shared_1.useContextEx)(Context_1.ResolvePayloadContext, 'ResolvePayload', true);
|
7
|
-
exports.useResolvePayload = useResolvePayload;
|
8
|
-
//# sourceMappingURL=use.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAAiD;AAE1C,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,+BAAqB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;AAArF,QAAA,iBAAiB,qBAAoE"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ValidatePayloadContext = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
exports.ValidatePayloadContext = (0, react_shared_1.createContextEx)();
|
6
|
-
//# sourceMappingURL=Context.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,sBAAsB,GAAG,IAAA,8BAAe,GAAwB,CAAA"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ValidatePayloadProvider = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const react_async_effect_1 = require("@xylabs/react-async-effect");
|
8
|
-
const schema_cache_1 = require("@xyo-network/schema-cache");
|
9
|
-
const react_1 = require("react");
|
10
|
-
const ResolvePayloadContext_1 = require("../ResolvePayloadContext");
|
11
|
-
const Context_1 = require("./Context");
|
12
|
-
const ValidatePayloadProvider = ({ children, enabled = false }) => {
|
13
|
-
const { payload } = (0, ResolvePayloadContext_1.useResolvePayload)();
|
14
|
-
const [initialized, setInitialized] = (0, react_1.useState)(false);
|
15
|
-
const [valid, setValid] = (0, react_1.useState)();
|
16
|
-
(0, react_async_effect_1.useAsyncEffect)(
|
17
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
18
|
-
() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
19
|
-
if (payload && enabled) {
|
20
|
-
yield schema_cache_1.SchemaCache.instance.get(payload.schema);
|
21
|
-
const possibleKnownSchema = payload.schema;
|
22
|
-
if (schema_cache_1.SchemaCache.instance.validators[possibleKnownSchema]) {
|
23
|
-
const validator = schema_cache_1.SchemaCache.instance.validators[possibleKnownSchema];
|
24
|
-
setValid(validator === null || validator === void 0 ? void 0 : validator(payload));
|
25
|
-
}
|
26
|
-
setInitialized(true);
|
27
|
-
}
|
28
|
-
}), [payload, enabled]);
|
29
|
-
return ((0, jsx_runtime_1.jsx)(Context_1.ValidatePayloadContext.Provider, Object.assign({ value: { enabled, provided: true, schema: payload === null || payload === void 0 ? void 0 : payload.schema, validPayload: valid } }, { children: enabled ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: initialized ? children : (0, jsx_runtime_1.jsx)(material_1.Chip, { label: "Validating Payload..." }) }) : children })));
|
30
|
-
};
|
31
|
-
exports.ValidatePayloadProvider = ValidatePayloadProvider;
|
32
|
-
//# sourceMappingURL=Provider.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoC;AACpC,mEAA2D;AAE3D,4DAAiF;AACjF,iCAAgC;AAEhC,oEAA4D;AAC5D,uCAAkD;AAO3C,MAAM,uBAAuB,GAAyD,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE;IAC7H,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IACvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IACrD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IAE7C,IAAA,mCAAc;IACZ,uDAAuD;IACvD,GAAS,EAAE;QACT,IAAI,OAAO,IAAI,OAAO,EAAE;YACtB,MAAM,0BAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;YAE9C,MAAM,mBAAmB,GAAG,OAAO,CAAC,MAAwC,CAAA;YAE5E,IAAI,0BAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE;gBACxD,MAAM,SAAS,GAAG,0BAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAA;gBACtE,QAAQ,CAAC,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,OAAO,CAAC,CAAC,CAAA;aAC/B;YACD,cAAc,CAAC,IAAI,CAAC,CAAA;SACrB;IACH,CAAC,CAAA,EACD,CAAC,OAAO,EAAE,OAAO,CAAC,CACnB,CAAA;IAED,OAAO,CACL,uBAAC,gCAAsB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,gBAC9G,OAAO,CAAC,CAAC,CAAC,2DAAG,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAC,eAAI,IAAC,KAAK,EAAC,uBAAuB,GAAG,GAAI,CAAC,CAAC,CAAC,QAAQ,IAC5D,CACnC,CAAA;AACH,CAAC,CAAA;AA5BY,QAAA,uBAAuB,2BA4BnC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/State.ts"],"names":[],"mappings":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./Provider"), exports);
|
5
|
-
tslib_1.__exportStar(require("./State"), exports);
|
6
|
-
tslib_1.__exportStar(require("./use"), exports);
|
7
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.useValidatePayload = void 0;
|
4
|
-
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
-
const Context_1 = require("./Context");
|
6
|
-
const useValidatePayload = () => (0, react_shared_1.useContextEx)(Context_1.ValidatePayloadContext, 'ValidateSchema', true);
|
7
|
-
exports.useValidatePayload = useValidatePayload;
|
8
|
-
//# sourceMappingURL=use.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAAkD;AAE3C,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,gCAAsB,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;AAAvF,QAAA,kBAAkB,sBAAqE"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./EmbedPluginContext"), exports);
|
5
|
-
tslib_1.__exportStar(require("./RefreshPayloadContext"), exports);
|
6
|
-
tslib_1.__exportStar(require("./ResolvePayloadContext"), exports);
|
7
|
-
tslib_1.__exportStar(require("./ValidatePayloadContext"), exports);
|
8
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":";;;AAAA,+DAAoC;AACpC,kEAAuC;AACvC,kEAAuC;AACvC,mEAAwC"}
|
package/dist/cjs/index.js
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./components"), exports);
|
5
|
-
tslib_1.__exportStar(require("./contexts"), exports);
|
6
|
-
tslib_1.__exportStar(require("./types"), exports);
|
7
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,qDAA0B;AAC1B,kDAAuB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EmbedPluginProps.js","sourceRoot":"","sources":["../../../src/types/EmbedPluginProps.ts"],"names":[],"mappings":""}
|
package/dist/cjs/types/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC"}
|