@xyo-network/react-embed 2.64.8 → 2.64.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/docs.json +109 -109
- package/package.json +15 -15
- package/dist/browser/components/EmbedPlugin.cjs +0 -251
- package/dist/browser/components/EmbedPlugin.cjs.map +0 -1
- package/dist/browser/components/EmbedPlugin.js +0 -230
- package/dist/browser/components/EmbedPlugin.js.map +0 -1
- package/dist/browser/components/EmbedResolver.cjs +0 -42
- package/dist/browser/components/EmbedResolver.cjs.map +0 -1
- package/dist/browser/components/EmbedResolver.js +0 -21
- package/dist/browser/components/EmbedResolver.js.map +0 -1
- package/dist/browser/components/controls/EmbedFormControl.cjs +0 -34
- package/dist/browser/components/controls/EmbedFormControl.cjs.map +0 -1
- package/dist/browser/components/controls/EmbedFormControl.js +0 -13
- package/dist/browser/components/controls/EmbedFormControl.js.map +0 -1
- package/dist/browser/components/controls/ListModeSelect.cjs +0 -65
- package/dist/browser/components/controls/ListModeSelect.cjs.map +0 -1
- package/dist/browser/components/controls/ListModeSelect.js +0 -44
- package/dist/browser/components/controls/ListModeSelect.js.map +0 -1
- package/dist/browser/components/controls/RenderSelect.cjs +0 -54
- package/dist/browser/components/controls/RenderSelect.cjs.map +0 -1
- package/dist/browser/components/controls/RenderSelect.js +0 -33
- package/dist/browser/components/controls/RenderSelect.js.map +0 -1
- package/dist/browser/components/controls/index.cjs +0 -87
- package/dist/browser/components/controls/index.cjs.map +0 -1
- package/dist/browser/components/controls/index.js +0 -64
- package/dist/browser/components/controls/index.js.map +0 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.cjs +0 -95
- package/dist/browser/components/embed-card/EmbedCardResolver.cjs.map +0 -1
- package/dist/browser/components/embed-card/EmbedCardResolver.js +0 -74
- package/dist/browser/components/embed-card/EmbedCardResolver.js.map +0 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.cjs +0 -497
- package/dist/browser/components/embed-card/EmbedPluginCard.cjs.map +0 -1
- package/dist/browser/components/embed-card/EmbedPluginCard.js +0 -479
- package/dist/browser/components/embed-card/EmbedPluginCard.js.map +0 -1
- package/dist/browser/components/embed-card/card/BusyCard.cjs +0 -45
- package/dist/browser/components/embed-card/card/BusyCard.cjs.map +0 -1
- package/dist/browser/components/embed-card/card/BusyCard.js +0 -27
- package/dist/browser/components/embed-card/card/BusyCard.js.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.cjs +0 -108
- package/dist/browser/components/embed-card/card/EmbedCardHeader.cjs.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedCardHeader.js +0 -87
- package/dist/browser/components/embed-card/card/EmbedCardHeader.js.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.cjs +0 -199
- package/dist/browser/components/embed-card/card/EmbedPluginCard.cjs.map +0 -1
- package/dist/browser/components/embed-card/card/EmbedPluginCard.js +0 -181
- package/dist/browser/components/embed-card/card/EmbedPluginCard.js.map +0 -1
- package/dist/browser/components/embed-card/card/index.cjs +0 -203
- package/dist/browser/components/embed-card/card/index.cjs.map +0 -1
- package/dist/browser/components/embed-card/card/index.js +0 -183
- package/dist/browser/components/embed-card/card/index.js.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs +0 -54
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +0 -33
- package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.cjs +0 -42
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.cjs.map +0 -1
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js +0 -21
- package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.js.map +0 -1
- package/dist/browser/components/embed-card/error-handling/index.cjs +0 -57
- package/dist/browser/components/embed-card/error-handling/index.cjs.map +0 -1
- package/dist/browser/components/embed-card/error-handling/index.js +0 -34
- package/dist/browser/components/embed-card/error-handling/index.js.map +0 -1
- package/dist/browser/components/embed-card/index.cjs +0 -502
- package/dist/browser/components/embed-card/index.cjs.map +0 -1
- package/dist/browser/components/embed-card/index.js +0 -482
- package/dist/browser/components/embed-card/index.js.map +0 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.cjs +0 -68
- package/dist/browser/components/embed-card/menu/EmbedMenu.cjs.map +0 -1
- package/dist/browser/components/embed-card/menu/EmbedMenu.js +0 -47
- package/dist/browser/components/embed-card/menu/EmbedMenu.js.map +0 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.cjs +0 -46
- package/dist/browser/components/embed-card/menu/JsonMenuItem.cjs.map +0 -1
- package/dist/browser/components/embed-card/menu/JsonMenuItem.js +0 -25
- package/dist/browser/components/embed-card/menu/JsonMenuItem.js.map +0 -1
- package/dist/browser/components/embed-card/menu/index.cjs +0 -70
- package/dist/browser/components/embed-card/menu/index.cjs.map +0 -1
- package/dist/browser/components/embed-card/menu/index.js +0 -47
- package/dist/browser/components/embed-card/menu/index.js.map +0 -1
- package/dist/browser/components/embed-plugin-stories/storyPayload.cjs +0 -47
- package/dist/browser/components/embed-plugin-stories/storyPayload.cjs.map +0 -1
- package/dist/browser/components/embed-plugin-stories/storyPayload.js +0 -26
- package/dist/browser/components/embed-plugin-stories/storyPayload.js.map +0 -1
- package/dist/browser/components/embed-plugin-stories/storyShared.cjs +0 -513
- package/dist/browser/components/embed-plugin-stories/storyShared.cjs.map +0 -1
- package/dist/browser/components/embed-plugin-stories/storyShared.js +0 -495
- package/dist/browser/components/embed-plugin-stories/storyShared.js.map +0 -1
- package/dist/browser/components/index.cjs +0 -503
- package/dist/browser/components/index.cjs.map +0 -1
- package/dist/browser/components/index.js +0 -483
- package/dist/browser/components/index.js.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.cjs +0 -49
- package/dist/browser/components/validation-alerts/ValidatePayload.cjs.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePayload.js +0 -28
- package/dist/browser/components/validation-alerts/ValidatePayload.js.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.cjs +0 -57
- package/dist/browser/components/validation-alerts/ValidatePlugins.cjs.map +0 -1
- package/dist/browser/components/validation-alerts/ValidatePlugins.js +0 -36
- package/dist/browser/components/validation-alerts/ValidatePlugins.js.map +0 -1
- package/dist/browser/components/validation-alerts/index.cjs +0 -83
- package/dist/browser/components/validation-alerts/index.cjs.map +0 -1
- package/dist/browser/components/validation-alerts/index.js +0 -60
- package/dist/browser/components/validation-alerts/index.js.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.cjs +0 -28
- package/dist/browser/contexts/EmbedPluginContext/Context.cjs.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Context.js +0 -7
- package/dist/browser/contexts/EmbedPluginContext/Context.js.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.cjs +0 -62
- package/dist/browser/contexts/EmbedPluginContext/Provider.cjs.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/Provider.js +0 -41
- package/dist/browser/contexts/EmbedPluginContext/Provider.js.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/State.cjs +0 -19
- package/dist/browser/contexts/EmbedPluginContext/State.cjs.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/State.js +0 -1
- package/dist/browser/contexts/EmbedPluginContext/State.js.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/index.cjs +0 -68
- package/dist/browser/contexts/EmbedPluginContext/index.cjs.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/index.js +0 -45
- package/dist/browser/contexts/EmbedPluginContext/index.js.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/use.cjs +0 -34
- package/dist/browser/contexts/EmbedPluginContext/use.cjs.map +0 -1
- package/dist/browser/contexts/EmbedPluginContext/use.js +0 -13
- package/dist/browser/contexts/EmbedPluginContext/use.js.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.cjs +0 -28
- package/dist/browser/contexts/RefreshPayloadContext/Context.cjs.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Context.js +0 -7
- package/dist/browser/contexts/RefreshPayloadContext/Context.js.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.cjs +0 -38
- package/dist/browser/contexts/RefreshPayloadContext/Provider.cjs.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/Provider.js +0 -17
- package/dist/browser/contexts/RefreshPayloadContext/Provider.js.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/State.cjs +0 -19
- package/dist/browser/contexts/RefreshPayloadContext/State.cjs.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/State.js +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/State.js.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.cjs +0 -45
- package/dist/browser/contexts/RefreshPayloadContext/index.cjs.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/index.js +0 -22
- package/dist/browser/contexts/RefreshPayloadContext/index.js.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.cjs +0 -34
- package/dist/browser/contexts/RefreshPayloadContext/use.cjs.map +0 -1
- package/dist/browser/contexts/RefreshPayloadContext/use.js +0 -13
- package/dist/browser/contexts/RefreshPayloadContext/use.js.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.cjs +0 -28
- package/dist/browser/contexts/ResolvePayloadContext/Context.cjs.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Context.js +0 -7
- package/dist/browser/contexts/ResolvePayloadContext/Context.js.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.cjs +0 -88
- package/dist/browser/contexts/ResolvePayloadContext/Provider.cjs.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/Provider.js +0 -67
- package/dist/browser/contexts/ResolvePayloadContext/Provider.js.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/State.cjs +0 -19
- package/dist/browser/contexts/ResolvePayloadContext/State.cjs.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/State.js +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/State.js.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.cjs +0 -96
- package/dist/browser/contexts/ResolvePayloadContext/index.cjs.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/index.js +0 -73
- package/dist/browser/contexts/ResolvePayloadContext/index.js.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.cjs +0 -34
- package/dist/browser/contexts/ResolvePayloadContext/use.cjs.map +0 -1
- package/dist/browser/contexts/ResolvePayloadContext/use.js +0 -13
- package/dist/browser/contexts/ResolvePayloadContext/use.js.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.cjs +0 -28
- package/dist/browser/contexts/ValidatePayloadContext/Context.cjs.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Context.js +0 -7
- package/dist/browser/contexts/ValidatePayloadContext/Context.js.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.cjs +0 -66
- package/dist/browser/contexts/ValidatePayloadContext/Provider.cjs.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/Provider.js +0 -45
- package/dist/browser/contexts/ValidatePayloadContext/Provider.js.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/State.cjs +0 -19
- package/dist/browser/contexts/ValidatePayloadContext/State.cjs.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/State.js +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/State.js.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.cjs +0 -73
- package/dist/browser/contexts/ValidatePayloadContext/index.cjs.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/index.js +0 -50
- package/dist/browser/contexts/ValidatePayloadContext/index.js.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.cjs +0 -34
- package/dist/browser/contexts/ValidatePayloadContext/use.cjs.map +0 -1
- package/dist/browser/contexts/ValidatePayloadContext/use.js +0 -13
- package/dist/browser/contexts/ValidatePayloadContext/use.js.map +0 -1
- package/dist/browser/contexts/index.cjs +0 -189
- package/dist/browser/contexts/index.cjs.map +0 -1
- package/dist/browser/contexts/index.js +0 -166
- package/dist/browser/contexts/index.js.map +0 -1
- package/dist/browser/types/EmbedPluginProps.cjs +0 -19
- package/dist/browser/types/EmbedPluginProps.cjs.map +0 -1
- package/dist/browser/types/EmbedPluginProps.js +0 -1
- package/dist/browser/types/EmbedPluginProps.js.map +0 -1
- package/dist/browser/types/index.cjs +0 -19
- package/dist/browser/types/index.cjs.map +0 -1
- package/dist/browser/types/index.js +0 -1
- package/dist/browser/types/index.js.map +0 -1
- package/dist/node/components/EmbedPlugin.cjs +0 -255
- package/dist/node/components/EmbedPlugin.cjs.map +0 -1
- package/dist/node/components/EmbedPlugin.js +0 -230
- package/dist/node/components/EmbedPlugin.js.map +0 -1
- package/dist/node/components/EmbedResolver.cjs +0 -46
- package/dist/node/components/EmbedResolver.cjs.map +0 -1
- package/dist/node/components/EmbedResolver.js +0 -21
- package/dist/node/components/EmbedResolver.js.map +0 -1
- package/dist/node/components/controls/EmbedFormControl.cjs +0 -38
- package/dist/node/components/controls/EmbedFormControl.cjs.map +0 -1
- package/dist/node/components/controls/EmbedFormControl.js +0 -13
- package/dist/node/components/controls/EmbedFormControl.js.map +0 -1
- package/dist/node/components/controls/ListModeSelect.cjs +0 -70
- package/dist/node/components/controls/ListModeSelect.cjs.map +0 -1
- package/dist/node/components/controls/ListModeSelect.js +0 -44
- package/dist/node/components/controls/ListModeSelect.js.map +0 -1
- package/dist/node/components/controls/RenderSelect.cjs +0 -58
- package/dist/node/components/controls/RenderSelect.cjs.map +0 -1
- package/dist/node/components/controls/RenderSelect.js +0 -33
- package/dist/node/components/controls/RenderSelect.js.map +0 -1
- package/dist/node/components/controls/index.cjs +0 -94
- package/dist/node/components/controls/index.cjs.map +0 -1
- package/dist/node/components/controls/index.js +0 -64
- package/dist/node/components/controls/index.js.map +0 -1
- package/dist/node/components/embed-card/EmbedCardResolver.cjs +0 -99
- package/dist/node/components/embed-card/EmbedCardResolver.cjs.map +0 -1
- package/dist/node/components/embed-card/EmbedCardResolver.js +0 -74
- package/dist/node/components/embed-card/EmbedCardResolver.js.map +0 -1
- package/dist/node/components/embed-card/EmbedPluginCard.cjs +0 -505
- package/dist/node/components/embed-card/EmbedPluginCard.cjs.map +0 -1
- package/dist/node/components/embed-card/EmbedPluginCard.js +0 -481
- package/dist/node/components/embed-card/EmbedPluginCard.js.map +0 -1
- package/dist/node/components/embed-card/card/BusyCard.cjs +0 -49
- package/dist/node/components/embed-card/card/BusyCard.cjs.map +0 -1
- package/dist/node/components/embed-card/card/BusyCard.js +0 -27
- package/dist/node/components/embed-card/card/BusyCard.js.map +0 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.cjs +0 -113
- package/dist/node/components/embed-card/card/EmbedCardHeader.cjs.map +0 -1
- package/dist/node/components/embed-card/card/EmbedCardHeader.js +0 -88
- package/dist/node/components/embed-card/card/EmbedCardHeader.js.map +0 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.cjs +0 -205
- package/dist/node/components/embed-card/card/EmbedPluginCard.cjs.map +0 -1
- package/dist/node/components/embed-card/card/EmbedPluginCard.js +0 -183
- package/dist/node/components/embed-card/card/EmbedPluginCard.js.map +0 -1
- package/dist/node/components/embed-card/card/index.cjs +0 -211
- package/dist/node/components/embed-card/card/index.cjs.map +0 -1
- package/dist/node/components/embed-card/card/index.js +0 -185
- package/dist/node/components/embed-card/card/index.js.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs +0 -58
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.cjs.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +0 -33
- package/dist/node/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.cjs +0 -46
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.cjs.map +0 -1
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js +0 -21
- package/dist/node/components/embed-card/error-handling/EmbedErrorCard.js.map +0 -1
- package/dist/node/components/embed-card/error-handling/index.cjs +0 -62
- package/dist/node/components/embed-card/error-handling/index.cjs.map +0 -1
- package/dist/node/components/embed-card/error-handling/index.js +0 -34
- package/dist/node/components/embed-card/error-handling/index.js.map +0 -1
- package/dist/node/components/embed-card/index.cjs +0 -513
- package/dist/node/components/embed-card/index.cjs.map +0 -1
- package/dist/node/components/embed-card/index.js +0 -484
- package/dist/node/components/embed-card/index.js.map +0 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.cjs +0 -72
- package/dist/node/components/embed-card/menu/EmbedMenu.cjs.map +0 -1
- package/dist/node/components/embed-card/menu/EmbedMenu.js +0 -47
- package/dist/node/components/embed-card/menu/EmbedMenu.js.map +0 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.cjs +0 -50
- package/dist/node/components/embed-card/menu/JsonMenuItem.cjs.map +0 -1
- package/dist/node/components/embed-card/menu/JsonMenuItem.js +0 -25
- package/dist/node/components/embed-card/menu/JsonMenuItem.js.map +0 -1
- package/dist/node/components/embed-card/menu/index.cjs +0 -74
- package/dist/node/components/embed-card/menu/index.cjs.map +0 -1
- package/dist/node/components/embed-card/menu/index.js +0 -47
- package/dist/node/components/embed-card/menu/index.js.map +0 -1
- package/dist/node/components/embed-plugin-stories/storyPayload.cjs +0 -51
- package/dist/node/components/embed-plugin-stories/storyPayload.cjs.map +0 -1
- package/dist/node/components/embed-plugin-stories/storyPayload.js +0 -26
- package/dist/node/components/embed-plugin-stories/storyPayload.js.map +0 -1
- package/dist/node/components/embed-plugin-stories/storyShared.cjs +0 -520
- package/dist/node/components/embed-plugin-stories/storyShared.cjs.map +0 -1
- package/dist/node/components/embed-plugin-stories/storyShared.js +0 -497
- package/dist/node/components/embed-plugin-stories/storyShared.js.map +0 -1
- package/dist/node/components/index.cjs +0 -515
- package/dist/node/components/index.cjs.map +0 -1
- package/dist/node/components/index.js +0 -485
- package/dist/node/components/index.js.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePayload.cjs +0 -53
- package/dist/node/components/validation-alerts/ValidatePayload.cjs.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePayload.js +0 -28
- package/dist/node/components/validation-alerts/ValidatePayload.js.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.cjs +0 -61
- package/dist/node/components/validation-alerts/ValidatePlugins.cjs.map +0 -1
- package/dist/node/components/validation-alerts/ValidatePlugins.js +0 -36
- package/dist/node/components/validation-alerts/ValidatePlugins.js.map +0 -1
- package/dist/node/components/validation-alerts/index.cjs +0 -88
- package/dist/node/components/validation-alerts/index.cjs.map +0 -1
- package/dist/node/components/validation-alerts/index.js +0 -60
- package/dist/node/components/validation-alerts/index.js.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Context.cjs +0 -32
- package/dist/node/contexts/EmbedPluginContext/Context.cjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Context.js +0 -7
- package/dist/node/contexts/EmbedPluginContext/Context.js.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.cjs +0 -66
- package/dist/node/contexts/EmbedPluginContext/Provider.cjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/Provider.js +0 -41
- package/dist/node/contexts/EmbedPluginContext/Provider.js.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.cjs +0 -19
- package/dist/node/contexts/EmbedPluginContext/State.cjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.js +0 -1
- package/dist/node/contexts/EmbedPluginContext/State.js.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/index.cjs +0 -74
- package/dist/node/contexts/EmbedPluginContext/index.cjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/index.js +0 -45
- package/dist/node/contexts/EmbedPluginContext/index.js.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/use.cjs +0 -38
- package/dist/node/contexts/EmbedPluginContext/use.cjs.map +0 -1
- package/dist/node/contexts/EmbedPluginContext/use.js +0 -13
- package/dist/node/contexts/EmbedPluginContext/use.js.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.cjs +0 -32
- package/dist/node/contexts/RefreshPayloadContext/Context.cjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Context.js +0 -7
- package/dist/node/contexts/RefreshPayloadContext/Context.js.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.cjs +0 -42
- package/dist/node/contexts/RefreshPayloadContext/Provider.cjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/Provider.js +0 -17
- package/dist/node/contexts/RefreshPayloadContext/Provider.js.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.cjs +0 -19
- package/dist/node/contexts/RefreshPayloadContext/State.cjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.js +0 -1
- package/dist/node/contexts/RefreshPayloadContext/State.js.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/index.cjs +0 -50
- package/dist/node/contexts/RefreshPayloadContext/index.cjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/index.js +0 -22
- package/dist/node/contexts/RefreshPayloadContext/index.js.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/use.cjs +0 -38
- package/dist/node/contexts/RefreshPayloadContext/use.cjs.map +0 -1
- package/dist/node/contexts/RefreshPayloadContext/use.js +0 -13
- package/dist/node/contexts/RefreshPayloadContext/use.js.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.cjs +0 -32
- package/dist/node/contexts/ResolvePayloadContext/Context.cjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Context.js +0 -7
- package/dist/node/contexts/ResolvePayloadContext/Context.js.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.cjs +0 -92
- package/dist/node/contexts/ResolvePayloadContext/Provider.cjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/Provider.js +0 -67
- package/dist/node/contexts/ResolvePayloadContext/Provider.js.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.cjs +0 -19
- package/dist/node/contexts/ResolvePayloadContext/State.cjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.js +0 -1
- package/dist/node/contexts/ResolvePayloadContext/State.js.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/index.cjs +0 -102
- package/dist/node/contexts/ResolvePayloadContext/index.cjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/index.js +0 -73
- package/dist/node/contexts/ResolvePayloadContext/index.js.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/use.cjs +0 -38
- package/dist/node/contexts/ResolvePayloadContext/use.cjs.map +0 -1
- package/dist/node/contexts/ResolvePayloadContext/use.js +0 -13
- package/dist/node/contexts/ResolvePayloadContext/use.js.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.cjs +0 -32
- package/dist/node/contexts/ValidatePayloadContext/Context.cjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Context.js +0 -7
- package/dist/node/contexts/ValidatePayloadContext/Context.js.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.cjs +0 -70
- package/dist/node/contexts/ValidatePayloadContext/Provider.cjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/Provider.js +0 -45
- package/dist/node/contexts/ValidatePayloadContext/Provider.js.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.cjs +0 -19
- package/dist/node/contexts/ValidatePayloadContext/State.cjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.js +0 -1
- package/dist/node/contexts/ValidatePayloadContext/State.js.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/index.cjs +0 -78
- package/dist/node/contexts/ValidatePayloadContext/index.cjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/index.js +0 -50
- package/dist/node/contexts/ValidatePayloadContext/index.js.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/use.cjs +0 -38
- package/dist/node/contexts/ValidatePayloadContext/use.cjs.map +0 -1
- package/dist/node/contexts/ValidatePayloadContext/use.js +0 -13
- package/dist/node/contexts/ValidatePayloadContext/use.js.map +0 -1
- package/dist/node/contexts/index.cjs +0 -202
- package/dist/node/contexts/index.cjs.map +0 -1
- package/dist/node/contexts/index.js +0 -166
- package/dist/node/contexts/index.js.map +0 -1
- package/dist/node/types/EmbedPluginProps.cjs +0 -19
- package/dist/node/types/EmbedPluginProps.cjs.map +0 -1
- package/dist/node/types/EmbedPluginProps.js +0 -1
- package/dist/node/types/EmbedPluginProps.js.map +0 -1
- package/dist/node/types/index.cjs +0 -19
- package/dist/node/types/index.cjs.map +0 -1
- package/dist/node/types/index.js +0 -1
- package/dist/node/types/index.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx","../../../../../src/components/embed-card/menu/JsonMenuItem.tsx","../../../../../src/contexts/ResolvePayloadContext/Context.ts","../../../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n","import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,yBAAyC;AACzC,IAAAC,mBAAkD;AAClD,mBAAyB;;;ACFzB,4BAA2C;AAC3C,sBAAoE;;;ACDpE,0BAAgC;AAIzB,IAAM,4BAAwB,qCAAqC;;;ACJ1E,IAAAC,uBAA6B;AAItB,IAAM,oBAAoB,UAAM,mCAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F;AAJG,IAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,2EACG,iBACC,6CAAC,4BAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,gDAAC,gCAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,4CAAC,gCAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,sDAAC,sBAAAC,WAAA,EAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;;;ADDI,IAAAC,sBAAA;AAbG,IAAM,YAAuC,CAAC,UAAU;AAE7D,QAAM,CAAC,UAAU,WAAW,QAAI,uBAA6B,IAAI;AACjE,QAAM,OAAO,QAAQ,QAAQ;AAE7B,QAAM,cAAc,CAAC,UAA+C;AAClE,gBAAY,MAAM,aAAa;AAAA,EACjC;AACA,QAAM,cAAc,MAAM;AACxB,gBAAY,IAAI;AAAA,EAClB;AAEA,SACE,8EACE;AAAA,iDAAC,+BAAW,SAAS,aAAc,GAAG,OACpC,uDAAC,uBAAAC,UAAA,EAAa,GAChB;AAAA,IACA,6CAAC,yBAAK,UAAoB,MAAY,SAAS,aAAa,YAAY,EAAE,SAAS,YAAY,GAAG,eAAe,EAAE,OAAO,KAAK,GAC7H,uDAAC,gBAAa,GAChB;AAAA,KACF;AAEJ;","names":["import_icons_material","import_material","import_react_shared","OpenInNewIcon","import_jsx_runtime","MoreVertIcon"]}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
2
|
-
import { MoreVert as MoreVertIcon } from "@mui/icons-material";
|
3
|
-
import { IconButton, Menu } from "@mui/material";
|
4
|
-
import { useState } from "react";
|
5
|
-
|
6
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
7
|
-
import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
|
8
|
-
import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
|
9
|
-
|
10
|
-
// src/contexts/ResolvePayloadContext/Context.ts
|
11
|
-
import { createContextEx } from "@xyo-network/react-shared";
|
12
|
-
var ResolvePayloadContext = createContextEx();
|
13
|
-
|
14
|
-
// src/contexts/ResolvePayloadContext/use.tsx
|
15
|
-
import { useContextEx } from "@xyo-network/react-shared";
|
16
|
-
var useResolvePayload = () => useContextEx(ResolvePayloadContext, "ResolvePayload", true);
|
17
|
-
|
18
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
19
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
20
|
-
var JsonMenuItem = (props) => {
|
21
|
-
const { huri } = useResolvePayload();
|
22
|
-
return /* @__PURE__ */ jsx(Fragment, { children: huri ? /* @__PURE__ */ jsxs(MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
23
|
-
/* @__PURE__ */ jsx(ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
24
|
-
/* @__PURE__ */ jsx(ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ jsx(OpenInNewIcon, { fontSize: "small" }) })
|
25
|
-
] }) : null });
|
26
|
-
};
|
27
|
-
|
28
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
29
|
-
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
30
|
-
var EmbedMenu = (props) => {
|
31
|
-
const [anchorEl, setAnchorEl] = useState(null);
|
32
|
-
const open = Boolean(anchorEl);
|
33
|
-
const handleClick = (event) => {
|
34
|
-
setAnchorEl(event.currentTarget);
|
35
|
-
};
|
36
|
-
const handleClose = () => {
|
37
|
-
setAnchorEl(null);
|
38
|
-
};
|
39
|
-
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
40
|
-
/* @__PURE__ */ jsx2(IconButton, { onClick: handleClick, ...props, children: /* @__PURE__ */ jsx2(MoreVertIcon, {}) }),
|
41
|
-
/* @__PURE__ */ jsx2(Menu, { anchorEl, open, onClose: handleClose, PaperProps: { variant: "elevation" }, MenuListProps: { dense: true }, children: /* @__PURE__ */ jsx2(JsonMenuItem, {}) })
|
42
|
-
] });
|
43
|
-
};
|
44
|
-
export {
|
45
|
-
EmbedMenu
|
46
|
-
};
|
47
|
-
//# sourceMappingURL=EmbedMenu.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx","../../../../../src/components/embed-card/menu/JsonMenuItem.tsx","../../../../../src/contexts/ResolvePayloadContext/Context.ts","../../../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n","import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";AAAA,SAAS,YAAY,oBAAoB;AACzC,SAAS,YAA6B,YAAY;AAClD,SAAS,gBAAgB;;;ACFzB,SAAS,aAAa,qBAAqB;AAC3C,SAAS,cAAc,cAAc,gBAA+B;;;ACDpE,SAAS,uBAAuB;AAIzB,IAAM,wBAAwB,gBAAqC;;;ACJ1E,SAAS,oBAAoB;AAItB,IAAM,oBAAoB,MAAM,aAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F,mBAGM,KADF,YAFJ;AAJG,IAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,gCACG,iBACC,qBAAC,YAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,wBAAC,gBAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,oBAAC,gBAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,8BAAC,iBAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;;;ADDI,qBAAAA,WAEI,OAAAC,MAFJ,QAAAC,aAAA;AAbG,IAAM,YAAuC,CAAC,UAAU;AAE7D,QAAM,CAAC,UAAU,WAAW,IAAI,SAA6B,IAAI;AACjE,QAAM,OAAO,QAAQ,QAAQ;AAE7B,QAAM,cAAc,CAAC,UAA+C;AAClE,gBAAY,MAAM,aAAa;AAAA,EACjC;AACA,QAAM,cAAc,MAAM;AACxB,gBAAY,IAAI;AAAA,EAClB;AAEA,SACE,gBAAAA,MAAAF,WAAA,EACE;AAAA,oBAAAC,KAAC,cAAW,SAAS,aAAc,GAAG,OACpC,0BAAAA,KAAC,gBAAa,GAChB;AAAA,IACA,gBAAAA,KAAC,QAAK,UAAoB,MAAY,SAAS,aAAa,YAAY,EAAE,SAAS,YAAY,GAAG,eAAe,EAAE,OAAO,KAAK,GAC7H,0BAAAA,KAAC,gBAAa,GAChB;AAAA,KACF;AAEJ;","names":["Fragment","jsx","jsxs"]}
|
@@ -1,50 +0,0 @@
|
|
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/components/embed-card/menu/JsonMenuItem.tsx
|
21
|
-
var JsonMenuItem_exports = {};
|
22
|
-
__export(JsonMenuItem_exports, {
|
23
|
-
JsonMenuItem: () => JsonMenuItem
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(JsonMenuItem_exports);
|
26
|
-
var import_icons_material = require("@mui/icons-material");
|
27
|
-
var import_material = require("@mui/material");
|
28
|
-
|
29
|
-
// src/contexts/ResolvePayloadContext/Context.ts
|
30
|
-
var import_react_shared = require("@xyo-network/react-shared");
|
31
|
-
var ResolvePayloadContext = (0, import_react_shared.createContextEx)();
|
32
|
-
|
33
|
-
// src/contexts/ResolvePayloadContext/use.tsx
|
34
|
-
var import_react_shared2 = require("@xyo-network/react-shared");
|
35
|
-
var useResolvePayload = () => (0, import_react_shared2.useContextEx)(ResolvePayloadContext, "ResolvePayload", true);
|
36
|
-
|
37
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
38
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
39
|
-
var JsonMenuItem = (props) => {
|
40
|
-
const { huri } = useResolvePayload();
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: huri ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
42
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons_material.OpenInNew, { fontSize: "small" }) })
|
44
|
-
] }) : null });
|
45
|
-
};
|
46
|
-
// Annotate the CommonJS export names for ESM import in node:
|
47
|
-
0 && (module.exports = {
|
48
|
-
JsonMenuItem
|
49
|
-
});
|
50
|
-
//# sourceMappingURL=JsonMenuItem.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx","../../../../../src/contexts/ResolvePayloadContext/Context.ts","../../../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA2C;AAC3C,sBAAoE;;;ACDpE,0BAAgC;AAIzB,IAAM,4BAAwB,qCAAqC;;;ACJ1E,IAAAA,uBAA6B;AAItB,IAAM,oBAAoB,UAAM,mCAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F;AAJG,IAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,2EACG,iBACC,6CAAC,4BAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,gDAAC,gCAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,4CAAC,gCAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,sDAAC,sBAAAC,WAAA,EAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;","names":["import_react_shared","OpenInNewIcon"]}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
2
|
-
import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
|
3
|
-
import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
|
4
|
-
|
5
|
-
// src/contexts/ResolvePayloadContext/Context.ts
|
6
|
-
import { createContextEx } from "@xyo-network/react-shared";
|
7
|
-
var ResolvePayloadContext = createContextEx();
|
8
|
-
|
9
|
-
// src/contexts/ResolvePayloadContext/use.tsx
|
10
|
-
import { useContextEx } from "@xyo-network/react-shared";
|
11
|
-
var useResolvePayload = () => useContextEx(ResolvePayloadContext, "ResolvePayload", true);
|
12
|
-
|
13
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
14
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
15
|
-
var JsonMenuItem = (props) => {
|
16
|
-
const { huri } = useResolvePayload();
|
17
|
-
return /* @__PURE__ */ jsx(Fragment, { children: huri ? /* @__PURE__ */ jsxs(MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
18
|
-
/* @__PURE__ */ jsx(ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
19
|
-
/* @__PURE__ */ jsx(ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ jsx(OpenInNewIcon, { fontSize: "small" }) })
|
20
|
-
] }) : null });
|
21
|
-
};
|
22
|
-
export {
|
23
|
-
JsonMenuItem
|
24
|
-
};
|
25
|
-
//# sourceMappingURL=JsonMenuItem.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx","../../../../../src/contexts/ResolvePayloadContext/Context.ts","../../../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";AAAA,SAAS,aAAa,qBAAqB;AAC3C,SAAS,cAAc,cAAc,gBAA+B;;;ACDpE,SAAS,uBAAuB;AAIzB,IAAM,wBAAwB,gBAAqC;;;ACJ1E,SAAS,oBAAoB;AAItB,IAAM,oBAAoB,MAAM,aAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F,mBAGM,KADF,YAFJ;AAJG,IAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,gCACG,iBACC,qBAAC,YAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,wBAAC,gBAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,oBAAC,gBAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,8BAAC,iBAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;","names":[]}
|
@@ -1,74 +0,0 @@
|
|
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/components/embed-card/menu/index.ts
|
21
|
-
var menu_exports = {};
|
22
|
-
__export(menu_exports, {
|
23
|
-
EmbedMenu: () => EmbedMenu
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(menu_exports);
|
26
|
-
|
27
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
28
|
-
var import_icons_material2 = require("@mui/icons-material");
|
29
|
-
var import_material2 = require("@mui/material");
|
30
|
-
var import_react = require("react");
|
31
|
-
|
32
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
33
|
-
var import_icons_material = require("@mui/icons-material");
|
34
|
-
var import_material = require("@mui/material");
|
35
|
-
|
36
|
-
// src/contexts/ResolvePayloadContext/Context.ts
|
37
|
-
var import_react_shared = require("@xyo-network/react-shared");
|
38
|
-
var ResolvePayloadContext = (0, import_react_shared.createContextEx)();
|
39
|
-
|
40
|
-
// src/contexts/ResolvePayloadContext/use.tsx
|
41
|
-
var import_react_shared2 = require("@xyo-network/react-shared");
|
42
|
-
var useResolvePayload = () => (0, import_react_shared2.useContextEx)(ResolvePayloadContext, "ResolvePayload", true);
|
43
|
-
|
44
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
45
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
46
|
-
var JsonMenuItem = (props) => {
|
47
|
-
const { huri } = useResolvePayload();
|
48
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: huri ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
49
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
50
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons_material.OpenInNew, { fontSize: "small" }) })
|
51
|
-
] }) : null });
|
52
|
-
};
|
53
|
-
|
54
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
55
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
56
|
-
var EmbedMenu = (props) => {
|
57
|
-
const [anchorEl, setAnchorEl] = (0, import_react.useState)(null);
|
58
|
-
const open = Boolean(anchorEl);
|
59
|
-
const handleClick = (event) => {
|
60
|
-
setAnchorEl(event.currentTarget);
|
61
|
-
};
|
62
|
-
const handleClose = () => {
|
63
|
-
setAnchorEl(null);
|
64
|
-
};
|
65
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
66
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.IconButton, { onClick: handleClick, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons_material2.MoreVert, {}) }),
|
67
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Menu, { anchorEl, open, onClose: handleClose, PaperProps: { variant: "elevation" }, MenuListProps: { dense: true }, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(JsonMenuItem, {}) })
|
68
|
-
] });
|
69
|
-
};
|
70
|
-
// Annotate the CommonJS export names for ESM import in node:
|
71
|
-
0 && (module.exports = {
|
72
|
-
EmbedMenu
|
73
|
-
});
|
74
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/embed-card/menu/index.ts","../../../../../src/components/embed-card/menu/EmbedMenu.tsx","../../../../../src/components/embed-card/menu/JsonMenuItem.tsx","../../../../../src/contexts/ResolvePayloadContext/Context.ts","../../../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["export * from './EmbedMenu'\n","import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n","import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,yBAAyC;AACzC,IAAAC,mBAAkD;AAClD,mBAAyB;;;ACFzB,4BAA2C;AAC3C,sBAAoE;;;ACDpE,0BAAgC;AAIzB,IAAM,4BAAwB,qCAAqC;;;ACJ1E,IAAAC,uBAA6B;AAItB,IAAM,oBAAoB,UAAM,mCAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F;AAJG,IAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,2EACG,iBACC,6CAAC,4BAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,gDAAC,gCAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,4CAAC,gCAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,sDAAC,sBAAAC,WAAA,EAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;;;ADDI,IAAAC,sBAAA;AAbG,IAAM,YAAuC,CAAC,UAAU;AAE7D,QAAM,CAAC,UAAU,WAAW,QAAI,uBAA6B,IAAI;AACjE,QAAM,OAAO,QAAQ,QAAQ;AAE7B,QAAM,cAAc,CAAC,UAA+C;AAClE,gBAAY,MAAM,aAAa;AAAA,EACjC;AACA,QAAM,cAAc,MAAM;AACxB,gBAAY,IAAI;AAAA,EAClB;AAEA,SACE,8EACE;AAAA,iDAAC,+BAAW,SAAS,aAAc,GAAG,OACpC,uDAAC,uBAAAC,UAAA,EAAa,GAChB;AAAA,IACA,6CAAC,yBAAK,UAAoB,MAAY,SAAS,aAAa,YAAY,EAAE,SAAS,YAAY,GAAG,eAAe,EAAE,OAAO,KAAK,GAC7H,uDAAC,gBAAa,GAChB;AAAA,KACF;AAEJ;","names":["import_icons_material","import_material","import_react_shared","OpenInNewIcon","import_jsx_runtime","MoreVertIcon"]}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
2
|
-
import { MoreVert as MoreVertIcon } from "@mui/icons-material";
|
3
|
-
import { IconButton, Menu } from "@mui/material";
|
4
|
-
import { useState } from "react";
|
5
|
-
|
6
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
7
|
-
import { OpenInNew as OpenInNewIcon } from "@mui/icons-material";
|
8
|
-
import { ListItemIcon, ListItemText, MenuItem } from "@mui/material";
|
9
|
-
|
10
|
-
// src/contexts/ResolvePayloadContext/Context.ts
|
11
|
-
import { createContextEx } from "@xyo-network/react-shared";
|
12
|
-
var ResolvePayloadContext = createContextEx();
|
13
|
-
|
14
|
-
// src/contexts/ResolvePayloadContext/use.tsx
|
15
|
-
import { useContextEx } from "@xyo-network/react-shared";
|
16
|
-
var useResolvePayload = () => useContextEx(ResolvePayloadContext, "ResolvePayload", true);
|
17
|
-
|
18
|
-
// src/components/embed-card/menu/JsonMenuItem.tsx
|
19
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
20
|
-
var JsonMenuItem = (props) => {
|
21
|
-
const { huri } = useResolvePayload();
|
22
|
-
return /* @__PURE__ */ jsx(Fragment, { children: huri ? /* @__PURE__ */ jsxs(MenuItem, { title: "Source Payload JSON", onClick: () => window.open(huri, "_blank"), ...props, children: [
|
23
|
-
/* @__PURE__ */ jsx(ListItemText, { sx: { mr: 1 }, children: "JSON" }),
|
24
|
-
/* @__PURE__ */ jsx(ListItemIcon, { sx: { justifyContent: "end" }, children: /* @__PURE__ */ jsx(OpenInNewIcon, { fontSize: "small" }) })
|
25
|
-
] }) : null });
|
26
|
-
};
|
27
|
-
|
28
|
-
// src/components/embed-card/menu/EmbedMenu.tsx
|
29
|
-
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
30
|
-
var EmbedMenu = (props) => {
|
31
|
-
const [anchorEl, setAnchorEl] = useState(null);
|
32
|
-
const open = Boolean(anchorEl);
|
33
|
-
const handleClick = (event) => {
|
34
|
-
setAnchorEl(event.currentTarget);
|
35
|
-
};
|
36
|
-
const handleClose = () => {
|
37
|
-
setAnchorEl(null);
|
38
|
-
};
|
39
|
-
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
40
|
-
/* @__PURE__ */ jsx2(IconButton, { onClick: handleClick, ...props, children: /* @__PURE__ */ jsx2(MoreVertIcon, {}) }),
|
41
|
-
/* @__PURE__ */ jsx2(Menu, { anchorEl, open, onClose: handleClose, PaperProps: { variant: "elevation" }, MenuListProps: { dense: true }, children: /* @__PURE__ */ jsx2(JsonMenuItem, {}) })
|
42
|
-
] });
|
43
|
-
};
|
44
|
-
export {
|
45
|
-
EmbedMenu
|
46
|
-
};
|
47
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx","../../../../../src/components/embed-card/menu/JsonMenuItem.tsx","../../../../../src/contexts/ResolvePayloadContext/Context.ts","../../../../../src/contexts/ResolvePayloadContext/use.tsx"],"sourcesContent":["import { MoreVert as MoreVertIcon } from '@mui/icons-material'\nimport { IconButton, IconButtonProps, Menu } from '@mui/material'\nimport { useState } from 'react'\n\nimport { JsonMenuItem } from './JsonMenuItem'\n\nexport const EmbedMenu: React.FC<IconButtonProps> = (props) => {\n // TODO - link to explore website\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = Boolean(anchorEl)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n <IconButton onClick={handleClick} {...props}>\n <MoreVertIcon />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose} PaperProps={{ variant: 'elevation' }} MenuListProps={{ dense: true }}>\n <JsonMenuItem />\n </Menu>\n </>\n )\n}\n","import { OpenInNew as OpenInNewIcon } from '@mui/icons-material'\nimport { ListItemIcon, ListItemText, MenuItem, MenuItemProps } from '@mui/material'\n\nimport { useResolvePayload } from '../../../contexts'\n\nexport const JsonMenuItem: React.FC<MenuItemProps> = (props) => {\n const { huri } = useResolvePayload()\n\n return (\n <>\n {huri ? (\n <MenuItem title=\"Source Payload JSON\" onClick={() => window.open(huri, '_blank')} {...props}>\n <ListItemText sx={{ mr: 1 }}>JSON</ListItemText>\n <ListItemIcon sx={{ justifyContent: 'end' }}>\n <OpenInNewIcon fontSize=\"small\" />\n </ListItemIcon>\n </MenuItem>\n ) : null}\n </>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadState } from './State'\n\nexport const ResolvePayloadContext = createContextEx<ResolvePayloadState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { ResolvePayloadContext } from './Context'\n\nexport const useResolvePayload = () => useContextEx(ResolvePayloadContext, 'ResolvePayload', true)\n"],"mappings":";AAAA,SAAS,YAAY,oBAAoB;AACzC,SAAS,YAA6B,YAAY;AAClD,SAAS,gBAAgB;;;ACFzB,SAAS,aAAa,qBAAqB;AAC3C,SAAS,cAAc,cAAc,gBAA+B;;;ACDpE,SAAS,uBAAuB;AAIzB,IAAM,wBAAwB,gBAAqC;;;ACJ1E,SAAS,oBAAoB;AAItB,IAAM,oBAAoB,MAAM,aAAa,uBAAuB,kBAAkB,IAAI;;;AFK7F,mBAGM,KADF,YAFJ;AAJG,IAAM,eAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,KAAK,IAAI,kBAAkB;AAEnC,SACE,gCACG,iBACC,qBAAC,YAAS,OAAM,uBAAsB,SAAS,MAAM,OAAO,KAAK,MAAM,QAAQ,GAAI,GAAG,OACpF;AAAA,wBAAC,gBAAa,IAAI,EAAE,IAAI,EAAE,GAAG,kBAAI;AAAA,IACjC,oBAAC,gBAAa,IAAI,EAAE,gBAAgB,MAAM,GACxC,8BAAC,iBAAc,UAAS,SAAQ,GAClC;AAAA,KACF,IACE,MACN;AAEJ;;;ADDI,qBAAAA,WAEI,OAAAC,MAFJ,QAAAC,aAAA;AAbG,IAAM,YAAuC,CAAC,UAAU;AAE7D,QAAM,CAAC,UAAU,WAAW,IAAI,SAA6B,IAAI;AACjE,QAAM,OAAO,QAAQ,QAAQ;AAE7B,QAAM,cAAc,CAAC,UAA+C;AAClE,gBAAY,MAAM,aAAa;AAAA,EACjC;AACA,QAAM,cAAc,MAAM;AACxB,gBAAY,IAAI;AAAA,EAClB;AAEA,SACE,gBAAAA,MAAAF,WAAA,EACE;AAAA,oBAAAC,KAAC,cAAW,SAAS,aAAc,GAAG,OACpC,0BAAAA,KAAC,gBAAa,GAChB;AAAA,IACA,gBAAAA,KAAC,QAAK,UAAoB,MAAY,SAAS,aAAa,YAAY,EAAE,SAAS,YAAY,GAAG,eAAe,EAAE,OAAO,KAAK,GAC7H,0BAAAA,KAAC,gBAAa,GAChB;AAAA,KACF;AAEJ;","names":["Fragment","jsx","jsxs"]}
|
@@ -1,51 +0,0 @@
|
|
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/components/embed-plugin-stories/storyPayload.ts
|
21
|
-
var storyPayload_exports = {};
|
22
|
-
__export(storyPayload_exports, {
|
23
|
-
payloadData: () => payloadData
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(storyPayload_exports);
|
26
|
-
var payloadData = {
|
27
|
-
assets: {
|
28
|
-
ada: { value: { btc: "0.00002192", eth: "0.00031141", eur: "0.491867", usd: "0.502045" } },
|
29
|
-
btc: { value: { btc: "1", eth: "14.213346", eur: "22450", usd: "22914" } },
|
30
|
-
busd: { value: { btc: "0.00004369", eth: "0.00062074", eur: "0.980451", usd: "1.001" } },
|
31
|
-
dai: { value: { usdc: "1.00004", xyo: "114.394" } },
|
32
|
-
doge: { value: { btc: "0.00000293", eth: "0.00004157", eur: "0.065655", usd: "0.067013" } },
|
33
|
-
dot: { value: { btc: "0.00035508", eth: "0.00504454", eur: "7.97", usd: "8.13" } },
|
34
|
-
eth: { value: { btc: "0.0703878", eth: "1", eur: "1579.47", usd: "1612.16" } },
|
35
|
-
frax: { value: { usdc: "0.999738" } },
|
36
|
-
link: { value: { xyo: "837.731" } },
|
37
|
-
sol: { value: { btc: "0.00169369", eth: "0.02406215", eur: "38.01", usd: "38.79" } },
|
38
|
-
usdc: { value: { btc: "0.0000436965", dai: "0.999963", eth: "0.0006204464999999999", eur: "0.979419", frax: "1.00026", usd: "0.999732" } },
|
39
|
-
usdt: { value: { btc: "0.00004367", eth: "0.0006204", eur: "0.979881", usd: "1.001", usdc: "1.00022", xyo: "113.28" } },
|
40
|
-
wbtc: { value: { btc: "0.99903669", eth: "14.2015745", eur: "22418", usd: "22882", usdc: "22860.8", xyo: "2617950" } },
|
41
|
-
weth: { value: { btc: "0.0703735", usdc: "1610.82", xyo: "186652" } },
|
42
|
-
xyo: { value: { btc: "3.79226e-7", dai: "0.00874169", eth: "0.000005353785", eur: "0.00844792", link: "0.0011937", usd: "0.00872519" } }
|
43
|
-
},
|
44
|
-
schema: "network.xyo.crypto.asset",
|
45
|
-
timestamp: 1659625815232
|
46
|
-
};
|
47
|
-
// Annotate the CommonJS export names for ESM import in node:
|
48
|
-
0 && (module.exports = {
|
49
|
-
payloadData
|
50
|
-
});
|
51
|
-
//# sourceMappingURL=storyPayload.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"sourcesContent":["export const payloadData = {\n assets: {\n ada: { value: { btc: '0.00002192', eth: '0.00031141', eur: '0.491867', usd: '0.502045' } },\n btc: { value: { btc: '1', eth: '14.213346', eur: '22450', usd: '22914' } },\n busd: { value: { btc: '0.00004369', eth: '0.00062074', eur: '0.980451', usd: '1.001' } },\n dai: { value: { usdc: '1.00004', xyo: '114.394' } },\n doge: { value: { btc: '0.00000293', eth: '0.00004157', eur: '0.065655', usd: '0.067013' } },\n dot: { value: { btc: '0.00035508', eth: '0.00504454', eur: '7.97', usd: '8.13' } },\n eth: { value: { btc: '0.0703878', eth: '1', eur: '1579.47', usd: '1612.16' } },\n frax: { value: { usdc: '0.999738' } },\n link: { value: { xyo: '837.731' } },\n sol: { value: { btc: '0.00169369', eth: '0.02406215', eur: '38.01', usd: '38.79' } },\n usdc: { value: { btc: '0.0000436965', dai: '0.999963', eth: '0.0006204464999999999', eur: '0.979419', frax: '1.00026', usd: '0.999732' } },\n usdt: { value: { btc: '0.00004367', eth: '0.0006204', eur: '0.979881', usd: '1.001', usdc: '1.00022', xyo: '113.28' } },\n wbtc: { value: { btc: '0.99903669', eth: '14.2015745', eur: '22418', usd: '22882', usdc: '22860.8', xyo: '2617950' } },\n weth: { value: { btc: '0.0703735', usdc: '1610.82', xyo: '186652' } },\n xyo: { value: { btc: '3.79226e-7', dai: '0.00874169', eth: '0.000005353785', eur: '0.00844792', link: '0.0011937', usd: '0.00872519' } },\n },\n schema: 'network.xyo.crypto.asset',\n timestamp: 1659625815232,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,cAAc;AAAA,EACzB,QAAQ;AAAA,IACN,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IACzF,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,KAAK,aAAa,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACzE,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,QAAQ,EAAE;AAAA,IACvF,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IAClD,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IAC1F,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,QAAQ,KAAK,OAAO,EAAE;AAAA,IACjF,KAAK,EAAE,OAAO,EAAE,KAAK,aAAa,KAAK,KAAK,KAAK,WAAW,KAAK,UAAU,EAAE;AAAA,IAC7E,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,EAAE;AAAA,IACpC,MAAM,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE;AAAA,IAClC,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACnF,MAAM,EAAE,OAAO,EAAE,KAAK,gBAAgB,KAAK,YAAY,KAAK,yBAAyB,KAAK,YAAY,MAAM,WAAW,KAAK,WAAW,EAAE;AAAA,IACzI,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,aAAa,KAAK,YAAY,KAAK,SAAS,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACtH,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,SAAS,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IACrH,MAAM,EAAE,OAAO,EAAE,KAAK,aAAa,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACpE,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,kBAAkB,KAAK,cAAc,MAAM,aAAa,KAAK,aAAa,EAAE;AAAA,EACzI;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// src/components/embed-plugin-stories/storyPayload.ts
|
2
|
-
var payloadData = {
|
3
|
-
assets: {
|
4
|
-
ada: { value: { btc: "0.00002192", eth: "0.00031141", eur: "0.491867", usd: "0.502045" } },
|
5
|
-
btc: { value: { btc: "1", eth: "14.213346", eur: "22450", usd: "22914" } },
|
6
|
-
busd: { value: { btc: "0.00004369", eth: "0.00062074", eur: "0.980451", usd: "1.001" } },
|
7
|
-
dai: { value: { usdc: "1.00004", xyo: "114.394" } },
|
8
|
-
doge: { value: { btc: "0.00000293", eth: "0.00004157", eur: "0.065655", usd: "0.067013" } },
|
9
|
-
dot: { value: { btc: "0.00035508", eth: "0.00504454", eur: "7.97", usd: "8.13" } },
|
10
|
-
eth: { value: { btc: "0.0703878", eth: "1", eur: "1579.47", usd: "1612.16" } },
|
11
|
-
frax: { value: { usdc: "0.999738" } },
|
12
|
-
link: { value: { xyo: "837.731" } },
|
13
|
-
sol: { value: { btc: "0.00169369", eth: "0.02406215", eur: "38.01", usd: "38.79" } },
|
14
|
-
usdc: { value: { btc: "0.0000436965", dai: "0.999963", eth: "0.0006204464999999999", eur: "0.979419", frax: "1.00026", usd: "0.999732" } },
|
15
|
-
usdt: { value: { btc: "0.00004367", eth: "0.0006204", eur: "0.979881", usd: "1.001", usdc: "1.00022", xyo: "113.28" } },
|
16
|
-
wbtc: { value: { btc: "0.99903669", eth: "14.2015745", eur: "22418", usd: "22882", usdc: "22860.8", xyo: "2617950" } },
|
17
|
-
weth: { value: { btc: "0.0703735", usdc: "1610.82", xyo: "186652" } },
|
18
|
-
xyo: { value: { btc: "3.79226e-7", dai: "0.00874169", eth: "0.000005353785", eur: "0.00844792", link: "0.0011937", usd: "0.00872519" } }
|
19
|
-
},
|
20
|
-
schema: "network.xyo.crypto.asset",
|
21
|
-
timestamp: 1659625815232
|
22
|
-
};
|
23
|
-
export {
|
24
|
-
payloadData
|
25
|
-
};
|
26
|
-
//# sourceMappingURL=storyPayload.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/embed-plugin-stories/storyPayload.ts"],"sourcesContent":["export const payloadData = {\n assets: {\n ada: { value: { btc: '0.00002192', eth: '0.00031141', eur: '0.491867', usd: '0.502045' } },\n btc: { value: { btc: '1', eth: '14.213346', eur: '22450', usd: '22914' } },\n busd: { value: { btc: '0.00004369', eth: '0.00062074', eur: '0.980451', usd: '1.001' } },\n dai: { value: { usdc: '1.00004', xyo: '114.394' } },\n doge: { value: { btc: '0.00000293', eth: '0.00004157', eur: '0.065655', usd: '0.067013' } },\n dot: { value: { btc: '0.00035508', eth: '0.00504454', eur: '7.97', usd: '8.13' } },\n eth: { value: { btc: '0.0703878', eth: '1', eur: '1579.47', usd: '1612.16' } },\n frax: { value: { usdc: '0.999738' } },\n link: { value: { xyo: '837.731' } },\n sol: { value: { btc: '0.00169369', eth: '0.02406215', eur: '38.01', usd: '38.79' } },\n usdc: { value: { btc: '0.0000436965', dai: '0.999963', eth: '0.0006204464999999999', eur: '0.979419', frax: '1.00026', usd: '0.999732' } },\n usdt: { value: { btc: '0.00004367', eth: '0.0006204', eur: '0.979881', usd: '1.001', usdc: '1.00022', xyo: '113.28' } },\n wbtc: { value: { btc: '0.99903669', eth: '14.2015745', eur: '22418', usd: '22882', usdc: '22860.8', xyo: '2617950' } },\n weth: { value: { btc: '0.0703735', usdc: '1610.82', xyo: '186652' } },\n xyo: { value: { btc: '3.79226e-7', dai: '0.00874169', eth: '0.000005353785', eur: '0.00844792', link: '0.0011937', usd: '0.00872519' } },\n },\n schema: 'network.xyo.crypto.asset',\n timestamp: 1659625815232,\n}\n"],"mappings":";AAAO,IAAM,cAAc;AAAA,EACzB,QAAQ;AAAA,IACN,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IACzF,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,KAAK,aAAa,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACzE,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,QAAQ,EAAE;AAAA,IACvF,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IAClD,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,YAAY,KAAK,WAAW,EAAE;AAAA,IAC1F,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,QAAQ,KAAK,OAAO,EAAE;AAAA,IACjF,KAAK,EAAE,OAAO,EAAE,KAAK,aAAa,KAAK,KAAK,KAAK,WAAW,KAAK,UAAU,EAAE;AAAA,IAC7E,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,EAAE;AAAA,IACpC,MAAM,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE;AAAA,IAClC,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,QAAQ,EAAE;AAAA,IACnF,MAAM,EAAE,OAAO,EAAE,KAAK,gBAAgB,KAAK,YAAY,KAAK,yBAAyB,KAAK,YAAY,MAAM,WAAW,KAAK,WAAW,EAAE;AAAA,IACzI,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,aAAa,KAAK,YAAY,KAAK,SAAS,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACtH,MAAM,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,SAAS,KAAK,SAAS,MAAM,WAAW,KAAK,UAAU,EAAE;AAAA,IACrH,MAAM,EAAE,OAAO,EAAE,KAAK,aAAa,MAAM,WAAW,KAAK,SAAS,EAAE;AAAA,IACpE,KAAK,EAAE,OAAO,EAAE,KAAK,cAAc,KAAK,cAAc,KAAK,kBAAkB,KAAK,cAAc,MAAM,aAAa,KAAK,aAAa,EAAE;AAAA,EACzI;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
|