@xyo-network/react-embed 2.64.0-rc.6 → 2.64.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/EmbedPlugin.cjs +251 -0
- package/dist/browser/components/EmbedPlugin.cjs.map +1 -0
- package/dist/browser/components/EmbedPlugin.d.cts +5 -0
- package/dist/browser/components/EmbedPlugin.d.cts.map +1 -0
- package/dist/browser/components/EmbedResolver.cjs +42 -0
- package/dist/browser/components/EmbedResolver.cjs.map +1 -0
- package/dist/browser/components/EmbedResolver.d.cts +4 -0
- package/dist/browser/components/EmbedResolver.d.cts.map +1 -0
- package/dist/browser/components/controls/EmbedFormControl.cjs +34 -0
- package/dist/{node/components/controls/EmbedFormControl.mjs.map → browser/components/controls/EmbedFormControl.cjs.map} +1 -1
- package/dist/browser/components/controls/EmbedFormControl.d.cts +10 -0
- package/dist/browser/components/controls/EmbedFormControl.d.cts.map +1 -0
- package/dist/browser/components/controls/ListModeSelect.cjs +65 -0
- package/dist/browser/components/controls/ListModeSelect.cjs.map +1 -0
- package/dist/browser/components/controls/ListModeSelect.d.cts +6 -0
- package/dist/browser/components/controls/ListModeSelect.d.cts.map +1 -0
- package/dist/browser/components/controls/RenderSelect.cjs +54 -0
- package/dist/browser/components/controls/RenderSelect.cjs.map +1 -0
- package/dist/browser/components/controls/RenderSelect.d.cts +4 -0
- package/dist/browser/components/controls/RenderSelect.d.cts.map +1 -0
- package/dist/browser/components/controls/index.cjs +87 -0
- package/dist/browser/components/controls/index.cjs.map +1 -0
- package/dist/browser/components/controls/index.d.cts +4 -0
- package/dist/browser/components/controls/index.d.cts.map +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.cjs +95 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.cjs.map +1 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts +5 -0
- package/dist/browser/components/embed-card/EmbedCardResolver.d.cts.map +1 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.cjs +497 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.cjs.map +1 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts +11 -0
- package/dist/browser/components/embed-card/EmbedPluginCard.d.cts.map +1 -0
- package/dist/browser/components/embed-card/card/BusyCard.cjs +45 -0
- package/dist/{node/components/embed-card/card/BusyCard.mjs.map → browser/components/embed-card/card/BusyCard.cjs.map} +1 -1
- package/dist/browser/components/embed-card/card/BusyCard.d.cts +11 -0
- package/dist/browser/components/embed-card/card/BusyCard.d.cts.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.cjs +108 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.cjs.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts +4 -0
- package/dist/browser/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.cjs +199 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.cjs.map +1 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts +4 -0
- package/dist/browser/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -0
- package/dist/browser/components/embed-card/card/index.cjs +203 -0
- package/dist/browser/components/embed-card/card/index.cjs.map +1 -0
- package/dist/browser/components/embed-card/card/index.d.cts +4 -0
- package/dist/browser/components/embed-card/card/index.d.cts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs +54 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +10 -0
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.cjs +42 -0
- package/dist/{node/components/embed-card/error-handling/EmbedErrorCard.mjs.map → browser/components/embed-card/error-handling/EmbedErrorCard.cjs.map} +1 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts +15 -0
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -0
- package/dist/browser/components/embed-card/error-handling/index.cjs +57 -0
- package/dist/browser/components/embed-card/error-handling/index.cjs.map +1 -0
- package/dist/browser/components/embed-card/error-handling/index.d.cts +3 -0
- package/dist/browser/components/embed-card/error-handling/index.d.cts.map +1 -0
- package/dist/browser/components/embed-card/index.cjs +502 -0
- package/dist/browser/components/embed-card/index.cjs.map +1 -0
- package/dist/browser/components/embed-card/index.d.cts +3 -0
- package/dist/browser/components/embed-card/index.d.cts.map +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.cjs +68 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.cjs.map +1 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts +4 -0
- package/dist/browser/components/embed-card/menu/EmbedMenu.d.cts.map +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.cjs +46 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.cjs.map +1 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts +4 -0
- package/dist/browser/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -0
- package/dist/browser/components/embed-card/menu/index.cjs +70 -0
- package/dist/browser/components/embed-card/menu/index.cjs.map +1 -0
- package/dist/browser/components/embed-card/menu/index.d.cts +2 -0
- package/dist/browser/components/embed-card/menu/index.d.cts.map +1 -0
- package/dist/{node/components/embed-plugin-stories/storyPayload.mjs → browser/components/embed-plugin-stories/storyPayload.cjs} +27 -5
- package/dist/{node/components/embed-plugin-stories/storyPayload.mjs.map → browser/components/embed-plugin-stories/storyPayload.cjs.map} +1 -1
- package/dist/browser/components/embed-plugin-stories/storyPayload.d.cts +126 -0
- package/dist/browser/components/embed-plugin-stories/storyPayload.d.cts.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.cjs +513 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.cjs.map +1 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.d.cts +5 -0
- package/dist/browser/components/embed-plugin-stories/storyShared.d.cts.map +1 -0
- package/dist/browser/components/index.cjs +503 -0
- package/dist/browser/components/index.cjs.map +1 -0
- package/dist/browser/components/index.d.cts +3 -0
- package/dist/browser/components/index.d.cts.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.cjs +49 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.cjs.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts +5 -0
- package/dist/browser/components/validation-alerts/ValidatePayload.d.cts.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.cjs +57 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.cjs.map +1 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts +5 -0
- package/dist/browser/components/validation-alerts/ValidatePlugins.d.cts.map +1 -0
- package/dist/browser/components/validation-alerts/index.cjs +83 -0
- package/dist/browser/components/validation-alerts/index.cjs.map +1 -0
- package/dist/browser/components/validation-alerts/index.d.cts +3 -0
- package/dist/browser/components/validation-alerts/index.d.cts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Context.cjs +28 -0
- package/dist/{node/contexts/EmbedPluginContext/Context.mjs.map → browser/contexts/EmbedPluginContext/Context.cjs.map} +1 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts +4 -0
- package/dist/browser/contexts/EmbedPluginContext/Context.d.cts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.cjs +62 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.cjs.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts +7 -0
- package/dist/browser/contexts/EmbedPluginContext/Provider.d.cts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/State.cjs +19 -0
- package/dist/browser/contexts/EmbedPluginContext/State.cjs.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/State.d.cts +33 -0
- package/dist/browser/contexts/EmbedPluginContext/State.d.cts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/index.cjs +68 -0
- package/dist/browser/contexts/EmbedPluginContext/index.cjs.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts +5 -0
- package/dist/browser/contexts/EmbedPluginContext/index.d.cts.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/use.cjs +34 -0
- package/dist/browser/contexts/EmbedPluginContext/use.cjs.map +1 -0
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts +2 -0
- package/dist/browser/contexts/EmbedPluginContext/use.d.cts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Context.cjs +28 -0
- package/dist/{node/contexts/RefreshPayloadContext/Context.mjs.map → browser/contexts/RefreshPayloadContext/Context.cjs.map} +1 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts +4 -0
- package/dist/browser/contexts/RefreshPayloadContext/Context.d.cts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.cjs +38 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.cjs.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts +8 -0
- package/dist/browser/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.cjs +19 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.cjs.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.d.cts +8 -0
- package/dist/browser/contexts/RefreshPayloadContext/State.d.cts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.cjs +45 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.cjs.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts +4 -0
- package/dist/browser/contexts/RefreshPayloadContext/index.d.cts.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.cjs +34 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.cjs.map +1 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts +2 -0
- package/dist/browser/contexts/RefreshPayloadContext/use.d.cts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Context.cjs +28 -0
- package/dist/{node/contexts/ResolvePayloadContext/Context.mjs.map → browser/contexts/ResolvePayloadContext/Context.cjs.map} +1 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts +4 -0
- package/dist/browser/contexts/ResolvePayloadContext/Context.d.cts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.cjs +88 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.cjs.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts +6 -0
- package/dist/browser/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.cjs +19 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.cjs.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.d.cts +13 -0
- package/dist/browser/contexts/ResolvePayloadContext/State.d.cts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.cjs +96 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.cjs.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts +5 -0
- package/dist/browser/contexts/ResolvePayloadContext/index.d.cts.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.cjs +34 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.cjs.map +1 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts +2 -0
- package/dist/browser/contexts/ResolvePayloadContext/use.d.cts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Context.cjs +28 -0
- package/dist/{node/contexts/ValidatePayloadContext/Context.mjs.map → browser/contexts/ValidatePayloadContext/Context.cjs.map} +1 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts +4 -0
- package/dist/browser/contexts/ValidatePayloadContext/Context.d.cts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.cjs +66 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.cjs.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts +7 -0
- package/dist/browser/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.cjs +19 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.cjs.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.d.cts +7 -0
- package/dist/browser/contexts/ValidatePayloadContext/State.d.cts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.cjs +73 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.cjs.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts +4 -0
- package/dist/browser/contexts/ValidatePayloadContext/index.d.cts.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.cjs +34 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.cjs.map +1 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts +2 -0
- package/dist/browser/contexts/ValidatePayloadContext/use.d.cts.map +1 -0
- package/dist/browser/contexts/index.cjs +189 -0
- package/dist/browser/contexts/index.cjs.map +1 -0
- package/dist/browser/contexts/index.d.cts +5 -0
- package/dist/browser/contexts/index.d.cts.map +1 -0
- package/dist/browser/index.cjs +513 -0
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.cts +4 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/types/EmbedPluginProps.cjs +19 -0
- package/dist/browser/types/EmbedPluginProps.cjs.map +1 -0
- package/dist/browser/types/EmbedPluginProps.d.cts +10 -0
- package/dist/browser/types/EmbedPluginProps.d.cts.map +1 -0
- package/dist/browser/types/index.cjs +19 -0
- package/dist/browser/types/index.cjs.map +1 -0
- package/dist/browser/types/index.d.cts +2 -0
- package/dist/browser/types/index.d.cts.map +1 -0
- package/dist/docs.json +4925 -0
- package/dist/node/components/EmbedPlugin.cjs +255 -0
- package/dist/node/components/EmbedPlugin.cjs.map +1 -0
- package/dist/node/components/EmbedPlugin.d.cts +5 -0
- package/dist/node/components/EmbedPlugin.d.cts.map +1 -0
- package/dist/node/components/EmbedPlugin.js +206 -38
- package/dist/node/components/EmbedPlugin.js.map +1 -1
- package/dist/node/components/EmbedResolver.cjs +46 -0
- package/dist/node/components/EmbedResolver.cjs.map +1 -0
- package/dist/node/components/EmbedResolver.d.cts +4 -0
- package/dist/node/components/EmbedResolver.d.cts.map +1 -0
- package/dist/node/components/EmbedResolver.js +18 -32
- package/dist/node/components/EmbedResolver.js.map +1 -1
- package/dist/node/components/controls/EmbedFormControl.cjs +38 -0
- package/dist/node/components/controls/EmbedFormControl.cjs.map +1 -0
- package/dist/node/components/controls/EmbedFormControl.d.cts +10 -0
- package/dist/node/components/controls/EmbedFormControl.d.cts.map +1 -0
- package/dist/node/components/controls/EmbedFormControl.js +8 -31
- package/dist/node/components/controls/EmbedFormControl.js.map +1 -1
- package/dist/node/components/controls/ListModeSelect.cjs +70 -0
- package/dist/node/components/controls/ListModeSelect.cjs.map +1 -0
- package/dist/node/components/controls/ListModeSelect.d.cts +6 -0
- package/dist/node/components/controls/ListModeSelect.d.cts.map +1 -0
- package/dist/node/components/controls/ListModeSelect.js +29 -42
- package/dist/node/components/controls/ListModeSelect.js.map +1 -1
- package/dist/node/components/controls/RenderSelect.cjs +58 -0
- package/dist/node/components/controls/RenderSelect.cjs.map +1 -0
- package/dist/node/components/controls/RenderSelect.d.cts +4 -0
- package/dist/node/components/controls/RenderSelect.d.cts.map +1 -0
- package/dist/node/components/controls/RenderSelect.js +29 -34
- package/dist/node/components/controls/RenderSelect.js.map +1 -1
- package/dist/node/components/controls/index.cjs +94 -0
- package/dist/node/components/controls/index.cjs.map +1 -0
- package/dist/node/components/controls/index.d.cts +4 -0
- package/dist/node/components/controls/index.d.cts.map +1 -0
- package/dist/node/components/controls/index.js +62 -25
- package/dist/node/components/controls/index.js.map +1 -1
- package/dist/node/components/embed-card/EmbedCardResolver.cjs +99 -0
- package/dist/node/components/embed-card/EmbedCardResolver.cjs.map +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts +5 -0
- package/dist/node/components/embed-card/EmbedCardResolver.d.cts.map +1 -0
- package/dist/node/components/embed-card/EmbedCardResolver.js +59 -36
- package/dist/node/components/embed-card/EmbedCardResolver.js.map +1 -1
- package/dist/node/components/embed-card/EmbedPluginCard.cjs +505 -0
- package/dist/node/components/embed-card/EmbedPluginCard.cjs.map +1 -0
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts +11 -0
- package/dist/node/components/embed-card/EmbedPluginCard.d.cts.map +1 -0
- package/dist/node/components/embed-card/EmbedPluginCard.js +438 -44
- package/dist/node/components/embed-card/EmbedPluginCard.js.map +1 -1
- package/dist/node/components/embed-card/card/BusyCard.cjs +49 -0
- package/dist/node/components/embed-card/card/BusyCard.cjs.map +1 -0
- package/dist/node/components/embed-card/card/BusyCard.d.cts +11 -0
- package/dist/node/components/embed-card/card/BusyCard.d.cts.map +1 -0
- package/dist/node/components/embed-card/card/BusyCard.js +15 -35
- package/dist/node/components/embed-card/card/BusyCard.js.map +1 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.cjs +113 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.cjs.map +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts +4 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.d.cts.map +1 -0
- package/dist/node/components/embed-card/card/EmbedCardHeader.js +70 -42
- package/dist/node/components/embed-card/card/EmbedCardHeader.js.map +1 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.cjs +205 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.cjs.map +1 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts +4 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.d.cts.map +1 -0
- package/dist/node/components/embed-card/card/EmbedPluginCard.js +178 -45
- package/dist/node/components/embed-card/card/EmbedPluginCard.js.map +1 -1
- package/dist/node/components/embed-card/card/index.cjs +211 -0
- package/dist/node/components/embed-card/card/index.cjs.map +1 -0
- package/dist/node/components/embed-card/card/index.d.cts +4 -0
- package/dist/node/components/embed-card/card/index.d.cts.map +1 -0
- package/dist/node/components/embed-card/card/index.js +184 -26
- package/dist/node/components/embed-card/card/index.js.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs +58 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts +10 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.cts.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +27 -31
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.cjs +46 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.cjs.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts +15 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.d.cts.map +1 -0
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js +14 -37
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -1
- package/dist/node/components/embed-card/error-handling/index.cjs +62 -0
- package/dist/node/components/embed-card/error-handling/index.cjs.map +1 -0
- package/dist/node/components/embed-card/error-handling/index.d.cts +3 -0
- package/dist/node/components/embed-card/error-handling/index.d.cts.map +1 -0
- package/dist/node/components/embed-card/error-handling/index.js +32 -23
- package/dist/node/components/embed-card/error-handling/index.js.map +1 -1
- package/dist/node/components/embed-card/index.cjs +513 -0
- package/dist/node/components/embed-card/index.cjs.map +1 -0
- package/dist/node/components/embed-card/index.d.cts +3 -0
- package/dist/node/components/embed-card/index.d.cts.map +1 -0
- package/dist/node/components/embed-card/index.js +482 -23
- package/dist/node/components/embed-card/index.js.map +1 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.cjs +72 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.cjs.map +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts +4 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.d.cts.map +1 -0
- package/dist/node/components/embed-card/menu/EmbedMenu.js +35 -35
- package/dist/node/components/embed-card/menu/EmbedMenu.js.map +1 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.cjs +50 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.cjs.map +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts +4 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.d.cts.map +1 -0
- package/dist/node/components/embed-card/menu/JsonMenuItem.js +21 -35
- package/dist/node/components/embed-card/menu/JsonMenuItem.js.map +1 -1
- package/dist/node/components/embed-card/menu/index.cjs +74 -0
- package/dist/node/components/embed-card/menu/index.cjs.map +1 -0
- package/dist/node/components/embed-card/menu/index.d.cts +2 -0
- package/dist/node/components/embed-card/menu/index.d.cts.map +1 -0
- package/dist/node/components/embed-card/menu/index.js +45 -21
- package/dist/node/components/embed-card/menu/index.js.map +1 -1
- package/dist/node/components/embed-plugin-stories/storyPayload.cjs +51 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.cjs.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.d.cts +126 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.d.cts.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyPayload.js +4 -27
- package/dist/node/components/embed-plugin-stories/storyPayload.js.map +1 -1
- package/dist/node/components/embed-plugin-stories/storyShared.cjs +520 -0
- package/dist/node/components/embed-plugin-stories/storyShared.cjs.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyShared.d.cts +5 -0
- package/dist/node/components/embed-plugin-stories/storyShared.d.cts.map +1 -0
- package/dist/node/components/embed-plugin-stories/storyShared.js +485 -33
- package/dist/node/components/embed-plugin-stories/storyShared.js.map +1 -1
- package/dist/node/components/index.cjs +515 -0
- package/dist/node/components/index.cjs.map +1 -0
- package/dist/node/components/index.d.cts +3 -0
- package/dist/node/components/index.d.cts.map +1 -0
- package/dist/node/components/index.js +483 -23
- package/dist/node/components/index.js.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePayload.cjs +53 -0
- package/dist/node/components/validation-alerts/ValidatePayload.cjs.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts +5 -0
- package/dist/node/components/validation-alerts/ValidatePayload.d.cts.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePayload.js +19 -33
- package/dist/node/components/validation-alerts/ValidatePayload.js.map +1 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.cjs +61 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.cjs.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts +5 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.d.cts.map +1 -0
- package/dist/node/components/validation-alerts/ValidatePlugins.js +30 -36
- package/dist/node/components/validation-alerts/ValidatePlugins.js.map +1 -1
- package/dist/node/components/validation-alerts/index.cjs +88 -0
- package/dist/node/components/validation-alerts/index.cjs.map +1 -0
- package/dist/node/components/validation-alerts/index.d.cts +3 -0
- package/dist/node/components/validation-alerts/index.d.cts.map +1 -0
- package/dist/node/components/validation-alerts/index.js +57 -22
- package/dist/node/components/validation-alerts/index.js.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Context.cjs +32 -0
- package/dist/node/contexts/EmbedPluginContext/Context.cjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts +4 -0
- package/dist/node/contexts/EmbedPluginContext/Context.d.cts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Context.js +5 -28
- package/dist/node/contexts/EmbedPluginContext/Context.js.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.cjs +66 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.cjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts +7 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.d.cts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/Provider.js +16 -34
- package/dist/node/contexts/EmbedPluginContext/Provider.js.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/State.cjs +19 -0
- package/dist/node/contexts/EmbedPluginContext/State.cjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.d.cts +33 -0
- package/dist/node/contexts/EmbedPluginContext/State.d.cts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/State.js +0 -16
- package/dist/node/contexts/EmbedPluginContext/State.js.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/index.cjs +74 -0
- package/dist/node/contexts/EmbedPluginContext/index.cjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/index.d.cts +5 -0
- package/dist/node/contexts/EmbedPluginContext/index.d.cts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/index.js +43 -27
- package/dist/node/contexts/EmbedPluginContext/index.js.map +1 -1
- package/dist/node/contexts/EmbedPluginContext/use.cjs +38 -0
- package/dist/node/contexts/EmbedPluginContext/use.cjs.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/use.d.cts +2 -0
- package/dist/node/contexts/EmbedPluginContext/use.d.cts.map +1 -0
- package/dist/node/contexts/EmbedPluginContext/use.js +11 -29
- package/dist/node/contexts/EmbedPluginContext/use.js.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.cjs +32 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.cjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts +4 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.d.cts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Context.js +5 -28
- package/dist/node/contexts/RefreshPayloadContext/Context.js.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.cjs +42 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.cjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts +8 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.d.cts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/Provider.js +14 -32
- package/dist/node/contexts/RefreshPayloadContext/Provider.js.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/State.cjs +19 -0
- package/dist/node/contexts/RefreshPayloadContext/State.cjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.d.cts +8 -0
- package/dist/node/contexts/RefreshPayloadContext/State.d.cts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/State.js +0 -16
- package/dist/node/contexts/RefreshPayloadContext/State.js.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/index.cjs +50 -0
- package/dist/node/contexts/RefreshPayloadContext/index.cjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts +4 -0
- package/dist/node/contexts/RefreshPayloadContext/index.d.cts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/index.js +20 -25
- package/dist/node/contexts/RefreshPayloadContext/index.js.map +1 -1
- package/dist/node/contexts/RefreshPayloadContext/use.cjs +38 -0
- package/dist/node/contexts/RefreshPayloadContext/use.cjs.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts +2 -0
- package/dist/node/contexts/RefreshPayloadContext/use.d.cts.map +1 -0
- package/dist/node/contexts/RefreshPayloadContext/use.js +11 -29
- package/dist/node/contexts/RefreshPayloadContext/use.js.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.cjs +32 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.cjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts +4 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.d.cts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Context.js +5 -28
- package/dist/node/contexts/ResolvePayloadContext/Context.js.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.cjs +92 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.cjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts +6 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.d.cts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/Provider.js +39 -50
- package/dist/node/contexts/ResolvePayloadContext/Provider.js.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/State.cjs +19 -0
- package/dist/node/contexts/ResolvePayloadContext/State.cjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.d.cts +13 -0
- package/dist/node/contexts/ResolvePayloadContext/State.d.cts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/State.js +0 -16
- package/dist/node/contexts/ResolvePayloadContext/State.js.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/index.cjs +102 -0
- package/dist/node/contexts/ResolvePayloadContext/index.cjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts +5 -0
- package/dist/node/contexts/ResolvePayloadContext/index.d.cts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/index.js +71 -27
- package/dist/node/contexts/ResolvePayloadContext/index.js.map +1 -1
- package/dist/node/contexts/ResolvePayloadContext/use.cjs +38 -0
- package/dist/node/contexts/ResolvePayloadContext/use.cjs.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts +2 -0
- package/dist/node/contexts/ResolvePayloadContext/use.d.cts.map +1 -0
- package/dist/node/contexts/ResolvePayloadContext/use.js +11 -29
- package/dist/node/contexts/ResolvePayloadContext/use.js.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.cjs +32 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.cjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts +4 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.d.cts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Context.js +5 -28
- package/dist/node/contexts/ValidatePayloadContext/Context.js.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.cjs +70 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.cjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts +7 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.d.cts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/Provider.js +32 -43
- package/dist/node/contexts/ValidatePayloadContext/Provider.js.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/State.cjs +19 -0
- package/dist/node/contexts/ValidatePayloadContext/State.cjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.d.cts +7 -0
- package/dist/node/contexts/ValidatePayloadContext/State.d.cts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/State.js +0 -16
- package/dist/node/contexts/ValidatePayloadContext/State.js.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/index.cjs +78 -0
- package/dist/node/contexts/ValidatePayloadContext/index.cjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts +4 -0
- package/dist/node/contexts/ValidatePayloadContext/index.d.cts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/index.js +48 -25
- package/dist/node/contexts/ValidatePayloadContext/index.js.map +1 -1
- package/dist/node/contexts/ValidatePayloadContext/use.cjs +38 -0
- package/dist/node/contexts/ValidatePayloadContext/use.cjs.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts +2 -0
- package/dist/node/contexts/ValidatePayloadContext/use.d.cts.map +1 -0
- package/dist/node/contexts/ValidatePayloadContext/use.js +11 -29
- package/dist/node/contexts/ValidatePayloadContext/use.js.map +1 -1
- package/dist/node/contexts/index.cjs +202 -0
- package/dist/node/contexts/index.cjs.map +1 -0
- package/dist/node/contexts/index.d.cts +5 -0
- package/dist/node/contexts/index.d.cts.map +1 -0
- package/dist/node/contexts/index.js +164 -27
- package/dist/node/contexts/index.js.map +1 -1
- package/dist/node/index.cjs +535 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.d.cts +4 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +493 -25
- package/dist/node/index.js.map +1 -1
- package/dist/node/types/EmbedPluginProps.cjs +19 -0
- package/dist/node/types/EmbedPluginProps.cjs.map +1 -0
- package/dist/node/types/EmbedPluginProps.d.cts +10 -0
- package/dist/node/types/EmbedPluginProps.d.cts.map +1 -0
- package/dist/node/types/EmbedPluginProps.js +0 -16
- package/dist/node/types/EmbedPluginProps.js.map +1 -1
- package/dist/node/types/index.cjs +19 -0
- package/dist/node/types/index.cjs.map +1 -0
- package/dist/node/types/index.d.cts +2 -0
- package/dist/node/types/index.d.cts.map +1 -0
- package/dist/node/types/index.js +0 -22
- package/dist/node/types/index.js.map +1 -1
- package/package.json +25 -25
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +0 -25
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +0 -1
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +0 -85
- package/dist/browser/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js +0 -53
- package/dist/browser/contexts/ValidatePayloadContext/Provider.stories.js.map +0 -1
- package/dist/node/components/EmbedPlugin.mjs +0 -38
- package/dist/node/components/EmbedPlugin.mjs.map +0 -1
- package/dist/node/components/EmbedResolver.mjs +0 -11
- package/dist/node/components/EmbedResolver.mjs.map +0 -1
- package/dist/node/components/controls/EmbedFormControl.mjs +0 -12
- package/dist/node/components/controls/ListModeSelect.mjs +0 -32
- package/dist/node/components/controls/ListModeSelect.mjs.map +0 -1
- package/dist/node/components/controls/RenderSelect.mjs +0 -14
- package/dist/node/components/controls/RenderSelect.mjs.map +0 -1
- package/dist/node/components/controls/index.mjs +0 -4
- package/dist/node/components/controls/index.mjs.map +0 -1
- package/dist/node/components/embed-card/EmbedCardResolver.mjs +0 -27
- package/dist/node/components/embed-card/EmbedCardResolver.mjs.map +0 -1
- package/dist/node/components/embed-card/EmbedPluginCard.mjs +0 -61
- package/dist/node/components/embed-card/EmbedPluginCard.mjs.map +0 -1
- package/dist/node/components/embed-card/card/BusyCard.mjs +0 -26
- package/dist/node/components/embed-card/card/EmbedCardHeader.mjs +0 -36
- package/dist/node/components/embed-card/card/EmbedCardHeader.mjs.map +0 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.mjs +0 -26
- package/dist/node/components/embed-card/card/EmbedPluginCard.mjs.map +0 -1
- package/dist/node/components/embed-card/card/index.mjs +0 -4
- package/dist/node/components/embed-card/card/index.mjs.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs +0 -13
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.mjs.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.mjs +0 -20
- package/dist/node/components/embed-card/error-handling/index.mjs +0 -3
- package/dist/node/components/embed-card/error-handling/index.mjs.map +0 -1
- package/dist/node/components/embed-card/index.mjs +0 -3
- package/dist/node/components/embed-card/index.mjs.map +0 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.mjs +0 -23
- package/dist/node/components/embed-card/menu/EmbedMenu.mjs.map +0 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.mjs +0 -15
- package/dist/node/components/embed-card/menu/JsonMenuItem.mjs.map +0 -1
- package/dist/node/components/embed-card/menu/index.mjs +0 -2
- package/dist/node/components/embed-card/menu/index.mjs.map +0 -1
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js +0 -50
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.js.map +0 -1
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs +0 -25
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.examples.stories.mjs.map +0 -1
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js +0 -115
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.js.map +0 -1
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs +0 -85
- package/dist/node/components/embed-plugin-stories/XyoEmbedPlugin.states.stories.mjs.map +0 -1
- package/dist/node/components/embed-plugin-stories/storyShared.mjs +0 -20
- package/dist/node/components/embed-plugin-stories/storyShared.mjs.map +0 -1
- package/dist/node/components/index.mjs +0 -3
- package/dist/node/components/index.mjs.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePayload.mjs +0 -18
- package/dist/node/components/validation-alerts/ValidatePayload.mjs.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.mjs +0 -18
- package/dist/node/components/validation-alerts/ValidatePlugins.mjs.map +0 -1
- package/dist/node/components/validation-alerts/index.mjs +0 -3
- package/dist/node/components/validation-alerts/index.mjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Context.mjs +0 -6
- package/dist/node/contexts/EmbedPluginContext/Provider.mjs +0 -35
- package/dist/node/contexts/EmbedPluginContext/Provider.mjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.mjs +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.mjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/index.mjs +0 -5
- package/dist/node/contexts/EmbedPluginContext/index.mjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/use.mjs +0 -7
- package/dist/node/contexts/EmbedPluginContext/use.mjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.mjs +0 -6
- package/dist/node/contexts/RefreshPayloadContext/Provider.mjs +0 -11
- package/dist/node/contexts/RefreshPayloadContext/Provider.mjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.mjs +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.mjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/index.mjs +0 -4
- package/dist/node/contexts/RefreshPayloadContext/index.mjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/use.mjs +0 -7
- package/dist/node/contexts/RefreshPayloadContext/use.mjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.mjs +0 -6
- package/dist/node/contexts/ResolvePayloadContext/Provider.mjs +0 -54
- package/dist/node/contexts/ResolvePayloadContext/Provider.mjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.mjs +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.mjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/index.mjs +0 -5
- package/dist/node/contexts/ResolvePayloadContext/index.mjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/use.mjs +0 -7
- package/dist/node/contexts/ResolvePayloadContext/use.mjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.mjs +0 -6
- package/dist/node/contexts/ValidatePayloadContext/Provider.mjs +0 -32
- package/dist/node/contexts/ValidatePayloadContext/Provider.mjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js +0 -79
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.js.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs +0 -53
- package/dist/node/contexts/ValidatePayloadContext/Provider.stories.mjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.mjs +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.mjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/index.mjs +0 -4
- package/dist/node/contexts/ValidatePayloadContext/index.mjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/use.mjs +0 -7
- package/dist/node/contexts/ValidatePayloadContext/use.mjs.map +0 -1
- package/dist/node/contexts/index.mjs +0 -5
- package/dist/node/contexts/index.mjs.map +0 -1
- package/dist/node/index.mjs +0 -4
- package/dist/node/index.mjs.map +0 -1
- package/dist/node/types/EmbedPluginProps.mjs +0 -1
- package/dist/node/types/EmbedPluginProps.mjs.map +0 -1
- package/dist/node/types/index.mjs +0 -2
- package/dist/node/types/index.mjs.map +0 -1
@@ -0,0 +1,66 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
21
|
+
var Provider_exports = {};
|
22
|
+
__export(Provider_exports, {
|
23
|
+
EmbedPluginProvider: () => EmbedPluginProvider
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(Provider_exports);
|
26
|
+
var import_react = require("react");
|
27
|
+
|
28
|
+
// src/contexts/EmbedPluginContext/Context.tsx
|
29
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
30
|
+
var EmbedPluginContext = (0, import_react_shared.createContextEx)();
|
31
|
+
|
32
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
34
|
+
var EmbedPluginProvider = ({
|
35
|
+
children,
|
36
|
+
refreshTitle,
|
37
|
+
timestampLabel,
|
38
|
+
hideElementsConfig,
|
39
|
+
plugins,
|
40
|
+
embedPluginConfig
|
41
|
+
}) => {
|
42
|
+
const [activePlugin, setActivePlugin] = (0, import_react.useState)(plugins ? plugins[0] : void 0);
|
43
|
+
(0, import_react.useEffect)(() => {
|
44
|
+
setActivePlugin(plugins ? plugins[0] : void 0);
|
45
|
+
}, [plugins]);
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
47
|
+
EmbedPluginContext.Provider,
|
48
|
+
{
|
49
|
+
value: {
|
50
|
+
activePlugin,
|
51
|
+
embedPluginConfig,
|
52
|
+
hideElementsConfig,
|
53
|
+
provided: true,
|
54
|
+
refreshTitle,
|
55
|
+
setActivePlugin,
|
56
|
+
timestampLabel
|
57
|
+
},
|
58
|
+
children
|
59
|
+
}
|
60
|
+
);
|
61
|
+
};
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
63
|
+
0 && (module.exports = {
|
64
|
+
EmbedPluginProvider
|
65
|
+
});
|
66
|
+
//# sourceMappingURL=Provider.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx","../../../../src/contexts/EmbedPluginContext/Context.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,mBAAoC;;;ACFpC,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ADqBhE;AAfG,IAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,QAAI,uBAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,8BAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { WithChildren } from '@xylabs/react-shared';
|
3
|
+
import { EmbedPluginBase } from './State';
|
4
|
+
export type EmbedPluginProviderProps = EmbedPluginBase;
|
5
|
+
/** Expose passed embed plugin props via context */
|
6
|
+
export declare const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>>;
|
7
|
+
//# sourceMappingURL=Provider.d.ts.map
|
@@ -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"}
|
@@ -1,30 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
var
|
7
|
-
|
8
|
-
|
9
|
-
};
|
10
|
-
var
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
-
for (let key of __getOwnPropNames(from))
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
-
}
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var Provider_exports = {};
|
20
|
-
__export(Provider_exports, {
|
21
|
-
EmbedPluginProvider: () => EmbedPluginProvider
|
22
|
-
});
|
23
|
-
module.exports = __toCommonJS(Provider_exports);
|
24
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
25
|
-
var import_react = require("react");
|
26
|
-
var import_Context = require("./Context");
|
27
|
-
const EmbedPluginProvider = ({
|
1
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
2
|
+
import { useEffect, useState } from "react";
|
3
|
+
|
4
|
+
// src/contexts/EmbedPluginContext/Context.tsx
|
5
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
6
|
+
var EmbedPluginContext = createContextEx();
|
7
|
+
|
8
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
10
|
+
var EmbedPluginProvider = ({
|
28
11
|
children,
|
29
12
|
refreshTitle,
|
30
13
|
timestampLabel,
|
@@ -32,12 +15,12 @@ const EmbedPluginProvider = ({
|
|
32
15
|
plugins,
|
33
16
|
embedPluginConfig
|
34
17
|
}) => {
|
35
|
-
const [activePlugin, setActivePlugin] =
|
36
|
-
|
18
|
+
const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
|
19
|
+
useEffect(() => {
|
37
20
|
setActivePlugin(plugins ? plugins[0] : void 0);
|
38
21
|
}, [plugins]);
|
39
|
-
return /* @__PURE__ */
|
40
|
-
|
22
|
+
return /* @__PURE__ */ jsx(
|
23
|
+
EmbedPluginContext.Provider,
|
41
24
|
{
|
42
25
|
value: {
|
43
26
|
activePlugin,
|
@@ -52,8 +35,7 @@ const EmbedPluginProvider = ({
|
|
52
35
|
}
|
53
36
|
);
|
54
37
|
};
|
55
|
-
|
56
|
-
0 && (module.exports = {
|
38
|
+
export {
|
57
39
|
EmbedPluginProvider
|
58
|
-
}
|
40
|
+
};
|
59
41
|
//# sourceMappingURL=Provider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx","../../../../src/contexts/EmbedPluginContext/Context.tsx"],"sourcesContent":["import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n"],"mappings":";AAEA,SAAS,WAAW,gBAAgB;;;ACFpC,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ADqBhE;AAfG,IAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI,SAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,YAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
8
|
+
for (let key of __getOwnPropNames(from))
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
11
|
+
}
|
12
|
+
return to;
|
13
|
+
};
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
15
|
+
|
16
|
+
// src/contexts/EmbedPluginContext/State.ts
|
17
|
+
var State_exports = {};
|
18
|
+
module.exports = __toCommonJS(State_exports);
|
19
|
+
//# sourceMappingURL=State.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/State.ts"],"sourcesContent":["import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { ContextExState, ListMode } from '@xyo-network/react-shared'\nimport { Dispatch, SetStateAction } from 'react'\n\nexport interface EmbedPluginVisibilityConfig {\n hideAvatar?: boolean\n hideCardActions?: boolean\n hideCardHeader?: boolean\n hideErrorDetails?: boolean\n hideRefreshButton?: boolean\n hideTimestamp?: boolean\n hideTitle?: boolean\n}\n\n/**\n * Extend for custom plugin configuration\n */\nexport interface PluginConfig {\n listMode?: ListMode\n}\n\nexport interface EmbedPluginBase {\n /** EmbedPlugin component configuration */\n embedPluginConfig?: PluginConfig\n hideElementsConfig?: EmbedPluginVisibilityConfig\n /** @deprecated use huriPayload */\n huri?: string\n plugins?: PayloadRenderPlugin[]\n refreshTitle?: string\n timestampLabel?: string\n}\n\nexport interface EmbedPluginState extends EmbedPluginBase, ContextExState {\n activePlugin?: PayloadRenderPlugin\n setActivePlugin?: Dispatch<SetStateAction<PayloadRenderPlugin | undefined>>\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
|
2
|
+
import { ContextExState, ListMode } from '@xyo-network/react-shared';
|
3
|
+
import { Dispatch, SetStateAction } from 'react';
|
4
|
+
export interface EmbedPluginVisibilityConfig {
|
5
|
+
hideAvatar?: boolean;
|
6
|
+
hideCardActions?: boolean;
|
7
|
+
hideCardHeader?: boolean;
|
8
|
+
hideErrorDetails?: boolean;
|
9
|
+
hideRefreshButton?: boolean;
|
10
|
+
hideTimestamp?: boolean;
|
11
|
+
hideTitle?: boolean;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* Extend for custom plugin configuration
|
15
|
+
*/
|
16
|
+
export interface PluginConfig {
|
17
|
+
listMode?: ListMode;
|
18
|
+
}
|
19
|
+
export interface EmbedPluginBase {
|
20
|
+
/** EmbedPlugin component configuration */
|
21
|
+
embedPluginConfig?: PluginConfig;
|
22
|
+
hideElementsConfig?: EmbedPluginVisibilityConfig;
|
23
|
+
/** @deprecated use huriPayload */
|
24
|
+
huri?: string;
|
25
|
+
plugins?: PayloadRenderPlugin[];
|
26
|
+
refreshTitle?: string;
|
27
|
+
timestampLabel?: string;
|
28
|
+
}
|
29
|
+
export interface EmbedPluginState extends EmbedPluginBase, ContextExState {
|
30
|
+
activePlugin?: PayloadRenderPlugin;
|
31
|
+
setActivePlugin?: Dispatch<SetStateAction<PayloadRenderPlugin | undefined>>;
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=State.d.ts.map
|
@@ -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"}
|
@@ -1,17 +1 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
8
|
-
for (let key of __getOwnPropNames(from))
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
11
|
-
}
|
12
|
-
return to;
|
13
|
-
};
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
15
|
-
var State_exports = {};
|
16
|
-
module.exports = __toCommonJS(State_exports);
|
17
1
|
//# sourceMappingURL=State.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":[
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/contexts/EmbedPluginContext/index.ts
|
21
|
+
var EmbedPluginContext_exports = {};
|
22
|
+
__export(EmbedPluginContext_exports, {
|
23
|
+
EmbedPluginContext: () => EmbedPluginContext,
|
24
|
+
EmbedPluginProvider: () => EmbedPluginProvider,
|
25
|
+
useEmbedPluginState: () => useEmbedPluginState
|
26
|
+
});
|
27
|
+
module.exports = __toCommonJS(EmbedPluginContext_exports);
|
28
|
+
|
29
|
+
// src/contexts/EmbedPluginContext/Context.tsx
|
30
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
31
|
+
var EmbedPluginContext = (0, import_react_shared.createContextEx)();
|
32
|
+
|
33
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
34
|
+
var import_react = require("react");
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
+
var EmbedPluginProvider = ({
|
37
|
+
children,
|
38
|
+
refreshTitle,
|
39
|
+
timestampLabel,
|
40
|
+
hideElementsConfig,
|
41
|
+
plugins,
|
42
|
+
embedPluginConfig
|
43
|
+
}) => {
|
44
|
+
const [activePlugin, setActivePlugin] = (0, import_react.useState)(plugins ? plugins[0] : void 0);
|
45
|
+
(0, import_react.useEffect)(() => {
|
46
|
+
setActivePlugin(plugins ? plugins[0] : void 0);
|
47
|
+
}, [plugins]);
|
48
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
49
|
+
EmbedPluginContext.Provider,
|
50
|
+
{
|
51
|
+
value: {
|
52
|
+
activePlugin,
|
53
|
+
embedPluginConfig,
|
54
|
+
hideElementsConfig,
|
55
|
+
provided: true,
|
56
|
+
refreshTitle,
|
57
|
+
setActivePlugin,
|
58
|
+
timestampLabel
|
59
|
+
},
|
60
|
+
children
|
61
|
+
}
|
62
|
+
);
|
63
|
+
};
|
64
|
+
|
65
|
+
// src/contexts/EmbedPluginContext/use.tsx
|
66
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
67
|
+
var useEmbedPluginState = () => (0, import_react_shared2.useContextEx)(EmbedPluginContext, "EmbedPlugin", true);
|
68
|
+
// Annotate the CommonJS export names for ESM import in node:
|
69
|
+
0 && (module.exports = {
|
70
|
+
EmbedPluginContext,
|
71
|
+
EmbedPluginProvider,
|
72
|
+
useEmbedPluginState
|
73
|
+
});
|
74
|
+
//# sourceMappingURL=index.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/index.ts","../../../../src/contexts/EmbedPluginContext/Context.tsx","../../../../src/contexts/EmbedPluginContext/Provider.tsx","../../../../src/contexts/EmbedPluginContext/use.tsx"],"sourcesContent":["export * from './Context'\nexport * from './Provider'\nexport * from './State'\nexport * from './use'\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ACFpE,mBAAoC;AAuBhC;AAfG,IAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,QAAI,uBAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,8BAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;;;ACvCA,IAAAA,uBAA6B;AAItB,IAAM,sBAAsB,UAAM,mCAAa,oBAAoB,eAAe,IAAI;","names":["import_react_shared"]}
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -1,29 +1,45 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
var
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
1
|
+
// src/contexts/EmbedPluginContext/Context.tsx
|
2
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
3
|
+
var EmbedPluginContext = createContextEx();
|
4
|
+
|
5
|
+
// src/contexts/EmbedPluginContext/Provider.tsx
|
6
|
+
import { useEffect, useState } from "react";
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
8
|
+
var EmbedPluginProvider = ({
|
9
|
+
children,
|
10
|
+
refreshTitle,
|
11
|
+
timestampLabel,
|
12
|
+
hideElementsConfig,
|
13
|
+
plugins,
|
14
|
+
embedPluginConfig
|
15
|
+
}) => {
|
16
|
+
const [activePlugin, setActivePlugin] = useState(plugins ? plugins[0] : void 0);
|
17
|
+
useEffect(() => {
|
18
|
+
setActivePlugin(plugins ? plugins[0] : void 0);
|
19
|
+
}, [plugins]);
|
20
|
+
return /* @__PURE__ */ jsx(
|
21
|
+
EmbedPluginContext.Provider,
|
22
|
+
{
|
23
|
+
value: {
|
24
|
+
activePlugin,
|
25
|
+
embedPluginConfig,
|
26
|
+
hideElementsConfig,
|
27
|
+
provided: true,
|
28
|
+
refreshTitle,
|
29
|
+
setActivePlugin,
|
30
|
+
timestampLabel
|
31
|
+
},
|
32
|
+
children
|
33
|
+
}
|
34
|
+
);
|
35
|
+
};
|
36
|
+
|
37
|
+
// src/contexts/EmbedPluginContext/use.tsx
|
38
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
39
|
+
var useEmbedPluginState = () => useContextEx(EmbedPluginContext, "EmbedPlugin", true);
|
40
|
+
export {
|
41
|
+
EmbedPluginContext,
|
42
|
+
EmbedPluginProvider,
|
43
|
+
useEmbedPluginState
|
13
44
|
};
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
16
|
-
var EmbedPluginContext_exports = {};
|
17
|
-
module.exports = __toCommonJS(EmbedPluginContext_exports);
|
18
|
-
__reExport(EmbedPluginContext_exports, require("./Context"), module.exports);
|
19
|
-
__reExport(EmbedPluginContext_exports, require("./Provider"), module.exports);
|
20
|
-
__reExport(EmbedPluginContext_exports, require("./State"), module.exports);
|
21
|
-
__reExport(EmbedPluginContext_exports, require("./use"), module.exports);
|
22
|
-
// Annotate the CommonJS export names for ESM import in node:
|
23
|
-
0 && (module.exports = {
|
24
|
-
...require("./Context"),
|
25
|
-
...require("./Provider"),
|
26
|
-
...require("./State"),
|
27
|
-
...require("./use")
|
28
|
-
});
|
29
45
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/Context.tsx","../../../../src/contexts/EmbedPluginContext/Provider.tsx","../../../../src/contexts/EmbedPluginContext/use.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n","import { WithChildren } from '@xylabs/react-shared'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { useEffect, useState } from 'react'\n\nimport { EmbedPluginContext } from './Context'\nimport { EmbedPluginBase } from './State'\n\nexport type EmbedPluginProviderProps = EmbedPluginBase\n\n/** Expose passed embed plugin props via context */\nexport const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>> = ({\n children,\n refreshTitle,\n timestampLabel,\n hideElementsConfig,\n plugins,\n embedPluginConfig,\n}) => {\n const [activePlugin, setActivePlugin] = useState<PayloadRenderPlugin | undefined>(plugins ? plugins[0] : undefined)\n\n useEffect(() => {\n setActivePlugin(plugins ? plugins[0] : undefined)\n }, [plugins])\n\n return (\n <EmbedPluginContext.Provider\n value={{\n activePlugin,\n embedPluginConfig,\n hideElementsConfig,\n provided: true,\n refreshTitle,\n setActivePlugin,\n timestampLabel,\n }}\n >\n {children}\n </EmbedPluginContext.Provider>\n )\n}\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n"],"mappings":";AAAA,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACFpE,SAAS,WAAW,gBAAgB;AAuBhC;AAfG,IAAM,sBAAwE,CAAC;AAAA,EACpF;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI,SAA0C,UAAU,QAAQ,CAAC,IAAI,MAAS;AAElH,YAAU,MAAM;AACd,oBAAgB,UAAU,QAAQ,CAAC,IAAI,MAAS;AAAA,EAClD,GAAG,CAAC,OAAO,CAAC;AAEZ,SACE;AAAA,IAAC,mBAAmB;AAAA,IAAnB;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;;;ACvCA,SAAS,oBAAoB;AAItB,IAAM,sBAAsB,MAAM,aAAa,oBAAoB,eAAe,IAAI;","names":[]}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/contexts/EmbedPluginContext/use.tsx
|
21
|
+
var use_exports = {};
|
22
|
+
__export(use_exports, {
|
23
|
+
useEmbedPluginState: () => useEmbedPluginState
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(use_exports);
|
26
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
27
|
+
|
28
|
+
// src/contexts/EmbedPluginContext/Context.tsx
|
29
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
30
|
+
var EmbedPluginContext = (0, import_react_shared.createContextEx)();
|
31
|
+
|
32
|
+
// src/contexts/EmbedPluginContext/use.tsx
|
33
|
+
var useEmbedPluginState = () => (0, import_react_shared2.useContextEx)(EmbedPluginContext, "EmbedPlugin", true);
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
35
|
+
0 && (module.exports = {
|
36
|
+
useEmbedPluginState
|
37
|
+
});
|
38
|
+
//# sourceMappingURL=use.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/use.tsx","../../../../src/contexts/EmbedPluginContext/Context.tsx"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,uBAA6B;;;ACA7B,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ADA7D,IAAM,sBAAsB,UAAM,mCAAa,oBAAoB,eAAe,IAAI;","names":["import_react_shared"]}
|
@@ -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"}
|
@@ -1,31 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
var
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
-
for (let key of __getOwnPropNames(from))
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
-
}
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var use_exports = {};
|
20
|
-
__export(use_exports, {
|
21
|
-
useEmbedPluginState: () => useEmbedPluginState
|
22
|
-
});
|
23
|
-
module.exports = __toCommonJS(use_exports);
|
24
|
-
var import_react_shared = require("@xyo-network/react-shared");
|
25
|
-
var import_Context = require("./Context");
|
26
|
-
const useEmbedPluginState = () => (0, import_react_shared.useContextEx)(import_Context.EmbedPluginContext, "EmbedPlugin", true);
|
27
|
-
// Annotate the CommonJS export names for ESM import in node:
|
28
|
-
0 && (module.exports = {
|
1
|
+
// src/contexts/EmbedPluginContext/use.tsx
|
2
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
3
|
+
|
4
|
+
// src/contexts/EmbedPluginContext/Context.tsx
|
5
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
6
|
+
var EmbedPluginContext = createContextEx();
|
7
|
+
|
8
|
+
// src/contexts/EmbedPluginContext/use.tsx
|
9
|
+
var useEmbedPluginState = () => useContextEx(EmbedPluginContext, "EmbedPlugin", true);
|
10
|
+
export {
|
29
11
|
useEmbedPluginState
|
30
|
-
}
|
12
|
+
};
|
31
13
|
//# sourceMappingURL=use.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/use.tsx"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/EmbedPluginContext/use.tsx","../../../../src/contexts/EmbedPluginContext/Context.tsx"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginContext } from './Context'\n\nexport const useEmbedPluginState = () => useContextEx(EmbedPluginContext, 'EmbedPlugin', true)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { EmbedPluginState } from './State'\n\nexport const EmbedPluginContext = createContextEx<EmbedPluginState>()\n"],"mappings":";AAAA,SAAS,oBAAoB;;;ACA7B,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ADA7D,IAAM,sBAAsB,MAAM,aAAa,oBAAoB,eAAe,IAAI;","names":[]}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/contexts/RefreshPayloadContext/Context.tsx
|
21
|
+
var Context_exports = {};
|
22
|
+
__export(Context_exports, {
|
23
|
+
RefreshPayloadContext: () => RefreshPayloadContext
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(Context_exports);
|
26
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
27
|
+
var RefreshPayloadContext = (0, import_react_shared.createContextEx)();
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
RefreshPayloadContext
|
31
|
+
});
|
32
|
+
//# sourceMappingURL=Context.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAgC;AAIzB,IAAM,4BAAwB,qCAAqC;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
|
@@ -1,30 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
var
|
4
|
-
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __export = (target, all) => {
|
7
|
-
for (var name in all)
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
-
};
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
-
for (let key of __getOwnPropNames(from))
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
-
}
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var Context_exports = {};
|
20
|
-
__export(Context_exports, {
|
21
|
-
RefreshPayloadContext: () => RefreshPayloadContext
|
22
|
-
});
|
23
|
-
module.exports = __toCommonJS(Context_exports);
|
24
|
-
var import_react_shared = require("@xyo-network/react-shared");
|
25
|
-
const RefreshPayloadContext = (0, import_react_shared.createContextEx)();
|
26
|
-
// Annotate the CommonJS export names for ESM import in node:
|
27
|
-
0 && (module.exports = {
|
1
|
+
// src/contexts/RefreshPayloadContext/Context.tsx
|
2
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
3
|
+
var RefreshPayloadContext = createContextEx();
|
4
|
+
export {
|
28
5
|
RefreshPayloadContext
|
29
|
-
}
|
6
|
+
};
|
30
7
|
//# sourceMappingURL=Context.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/RefreshPayloadContext/Context.tsx"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { RefreshPayloadState } from './State'\n\nexport const RefreshPayloadContext = createContextEx<RefreshPayloadState>()\n"],"mappings":";AAAA,SAAS,uBAAuB;AAIzB,IAAM,wBAAwB,gBAAqC;","names":[]}
|