@xyo-network/react-embed 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. package/dist/browser/components/EmbedPlugin.d.ts +5 -0
  2. package/dist/browser/components/EmbedPlugin.d.ts.map +1 -0
  3. package/dist/browser/components/EmbedResolver.d.ts +4 -0
  4. package/dist/browser/components/EmbedResolver.d.ts.map +1 -0
  5. package/dist/browser/components/controls/EmbedFormControl.d.ts +10 -0
  6. package/dist/browser/components/controls/EmbedFormControl.d.ts.map +1 -0
  7. package/dist/browser/components/controls/ListModeSelect.d.ts +6 -0
  8. package/dist/browser/components/controls/ListModeSelect.d.ts.map +1 -0
  9. package/dist/browser/components/controls/RenderSelect.d.ts +4 -0
  10. package/dist/browser/components/controls/RenderSelect.d.ts.map +1 -0
  11. package/dist/browser/components/controls/index.d.ts +4 -0
  12. package/dist/browser/components/controls/index.d.ts.map +1 -0
  13. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts +5 -0
  14. package/dist/browser/components/embed-card/EmbedCardResolver.d.ts.map +1 -0
  15. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts +10 -0
  16. package/dist/browser/components/embed-card/EmbedPluginCard.d.ts.map +1 -0
  17. package/dist/browser/components/embed-card/card/BusyCard.d.ts +11 -0
  18. package/dist/browser/components/embed-card/card/BusyCard.d.ts.map +1 -0
  19. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts +4 -0
  20. package/dist/browser/components/embed-card/card/EmbedCardHeader.d.ts.map +1 -0
  21. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts +4 -0
  22. package/dist/browser/components/embed-card/card/EmbedPluginCard.d.ts.map +1 -0
  23. package/dist/browser/components/embed-card/card/index.d.ts +4 -0
  24. package/dist/browser/components/embed-card/card/index.d.ts.map +1 -0
  25. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts +10 -0
  26. package/dist/browser/components/embed-card/error-handling/EmbedCardApiErrorRenderer.d.ts.map +1 -0
  27. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts +14 -0
  28. package/dist/browser/components/embed-card/error-handling/EmbedErrorCard.d.ts.map +1 -0
  29. package/dist/browser/components/embed-card/error-handling/index.d.ts +3 -0
  30. package/dist/browser/components/embed-card/error-handling/index.d.ts.map +1 -0
  31. package/dist/browser/components/embed-card/index.d.ts +3 -0
  32. package/dist/browser/components/embed-card/index.d.ts.map +1 -0
  33. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts +4 -0
  34. package/dist/browser/components/embed-card/menu/EmbedMenu.d.ts.map +1 -0
  35. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts +4 -0
  36. package/dist/browser/components/embed-card/menu/JsonMenuItem.d.ts.map +1 -0
  37. package/dist/browser/components/embed-card/menu/index.d.ts +2 -0
  38. package/dist/browser/components/embed-card/menu/index.d.ts.map +1 -0
  39. package/dist/browser/components/index.d.ts +3 -0
  40. package/dist/browser/components/index.d.ts.map +1 -0
  41. package/dist/browser/components/stories/storyPayload.d.ts +126 -0
  42. package/dist/browser/components/stories/storyPayload.d.ts.map +1 -0
  43. package/dist/browser/components/stories/storyShared.d.ts +4 -0
  44. package/dist/browser/components/stories/storyShared.d.ts.map +1 -0
  45. package/dist/browser/components/stories/xyoEmbedStoryBase.d.ts +3 -0
  46. package/dist/browser/components/stories/xyoEmbedStoryBase.d.ts.map +1 -0
  47. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts +5 -0
  48. package/dist/browser/components/validation-alerts/ValidatePayload.d.ts.map +1 -0
  49. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts +5 -0
  50. package/dist/browser/components/validation-alerts/ValidatePlugins.d.ts.map +1 -0
  51. package/dist/browser/components/validation-alerts/index.d.ts +3 -0
  52. package/dist/browser/components/validation-alerts/index.d.ts.map +1 -0
  53. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts +3 -0
  54. package/dist/browser/contexts/EmbedPluginContext/Context.d.ts.map +1 -0
  55. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts +6 -0
  56. package/dist/browser/contexts/EmbedPluginContext/Provider.d.ts.map +1 -0
  57. package/dist/browser/contexts/EmbedPluginContext/State.d.ts +28 -0
  58. package/dist/browser/contexts/EmbedPluginContext/State.d.ts.map +1 -0
  59. package/dist/browser/contexts/EmbedPluginContext/index.d.ts +5 -0
  60. package/dist/browser/contexts/EmbedPluginContext/index.d.ts.map +1 -0
  61. package/dist/browser/contexts/EmbedPluginContext/use.d.ts +2 -0
  62. package/dist/browser/contexts/EmbedPluginContext/use.d.ts.map +1 -0
  63. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts +3 -0
  64. package/dist/browser/contexts/RefreshPayloadContext/Context.d.ts.map +1 -0
  65. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts +8 -0
  66. package/dist/browser/contexts/RefreshPayloadContext/Provider.d.ts.map +1 -0
  67. package/dist/browser/contexts/RefreshPayloadContext/State.d.ts +8 -0
  68. package/dist/browser/contexts/RefreshPayloadContext/State.d.ts.map +1 -0
  69. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts +4 -0
  70. package/dist/browser/contexts/RefreshPayloadContext/index.d.ts.map +1 -0
  71. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts +2 -0
  72. package/dist/browser/contexts/RefreshPayloadContext/use.d.ts.map +1 -0
  73. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts +3 -0
  74. package/dist/browser/contexts/ResolvePayloadContext/Context.d.ts.map +1 -0
  75. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts +6 -0
  76. package/dist/browser/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -0
  77. package/dist/browser/contexts/ResolvePayloadContext/State.d.ts +13 -0
  78. package/dist/browser/contexts/ResolvePayloadContext/State.d.ts.map +1 -0
  79. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts +5 -0
  80. package/dist/browser/contexts/ResolvePayloadContext/index.d.ts.map +1 -0
  81. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts +2 -0
  82. package/dist/browser/contexts/ResolvePayloadContext/use.d.ts.map +1 -0
  83. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts +3 -0
  84. package/dist/browser/contexts/ValidatePayloadContext/Context.d.ts.map +1 -0
  85. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts +7 -0
  86. package/dist/browser/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -0
  87. package/dist/browser/contexts/ValidatePayloadContext/State.d.ts +7 -0
  88. package/dist/browser/contexts/ValidatePayloadContext/State.d.ts.map +1 -0
  89. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts +4 -0
  90. package/dist/browser/contexts/ValidatePayloadContext/index.d.ts.map +1 -0
  91. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts +2 -0
  92. package/dist/browser/contexts/ValidatePayloadContext/use.d.ts.map +1 -0
  93. package/dist/browser/contexts/index.d.ts +5 -0
  94. package/dist/browser/contexts/index.d.ts.map +1 -0
  95. package/dist/browser/index.d.ts +4 -112
  96. package/dist/browser/index.d.ts.map +1 -0
  97. package/dist/browser/index.mjs.map +1 -1
  98. package/dist/browser/types/EmbedPluginProps.d.ts +9 -0
  99. package/dist/browser/types/EmbedPluginProps.d.ts.map +1 -0
  100. package/dist/browser/types/index.d.ts +2 -0
  101. package/dist/browser/types/index.d.ts.map +1 -0
  102. package/package.json +52 -49
  103. package/src/components/EmbedPlugin.tsx +6 -2
  104. package/src/components/EmbedResolver.tsx +3 -1
  105. package/src/components/controls/EmbedFormControl.tsx +3 -1
  106. package/src/components/controls/RenderSelect.tsx +3 -1
  107. package/src/components/embed-card/EmbedCardResolver.tsx +8 -2
  108. package/src/components/embed-card/EmbedPluginCard.tsx +5 -1
  109. package/src/components/embed-card/card/BusyCard.tsx +2 -1
  110. package/src/components/embed-card/card/EmbedCardHeader.tsx +9 -3
  111. package/src/components/embed-card/card/EmbedPluginCard.tsx +3 -1
  112. package/src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx +3 -1
  113. package/src/components/embed-card/error-handling/EmbedErrorCard.tsx +12 -4
  114. package/src/components/embed-card/menu/JsonMenuItem.tsx +3 -1
  115. package/src/components/stories/XyoEmbedPlugin.states.stories.tsx +3 -1
  116. package/src/components/stories/storyPayload.ts +60 -12
  117. package/src/components/stories/storyShared.tsx +1 -11
  118. package/src/components/stories/xyoEmbedStoryBase.ts +9 -0
  119. package/src/components/validation-alerts/ValidatePayload.tsx +3 -1
  120. package/src/contexts/RefreshPayloadContext/Provider.tsx +7 -2
  121. package/src/contexts/ResolvePayloadContext/Provider.tsx +10 -3
  122. package/src/contexts/ValidatePayloadContext/Provider.stories.tsx +9 -3
  123. package/src/contexts/ValidatePayloadContext/Provider.tsx +4 -1
  124. package/xy.config.ts +1 -3
@@ -0,0 +1,5 @@
1
+ import type { WithChildren } from '@xylabs/react-shared';
2
+ import React from 'react';
3
+ import type { EmbedPluginProps } from '../types/index.ts';
4
+ export declare const EmbedPluginInner: React.FC<WithChildren<EmbedPluginProps>>;
5
+ //# sourceMappingURL=EmbedPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/EmbedPlugin.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAIzD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,CA4BrE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { WithChildren } from '@xylabs/react-shared';
2
+ import React from 'react';
3
+ export declare const EmbedResolver: React.FC<WithChildren>;
4
+ //# sourceMappingURL=EmbedResolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedResolver.d.ts","sourceRoot":"","sources":["../../../src/components/EmbedResolver.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAUhD,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { FormControlProps } from '@mui/material';
2
+ import type { WithChildren } from '@xylabs/react-shared';
3
+ import React from 'react';
4
+ interface EmbedFormControlProps extends FormControlProps {
5
+ formId?: string;
6
+ formLabel?: string;
7
+ }
8
+ export declare const EmbedFormControl: React.FC<WithChildren<EmbedFormControlProps>>;
9
+ export {};
10
+ //# sourceMappingURL=EmbedFormControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedFormControl.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAS1E,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { SelectExProps } from '@xylabs/react-select';
2
+ import type { ListMode } from '@xyo-network/react-shared';
3
+ import React from 'react';
4
+ export declare const ListModeSelect: React.FC<SelectExProps<ListMode>>;
5
+ export declare const ListModeSelectFormControl: React.FC<SelectExProps<ListMode>>;
6
+ //# sourceMappingURL=ListModeSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListModeSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/ListModeSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAsB5D,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAMvE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { SelectExProps } from '@xylabs/react-select';
2
+ import React from 'react';
3
+ export declare const EmbedRenderSelect: React.FC<SelectExProps<string>>;
4
+ //# sourceMappingURL=RenderSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RenderSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,CAe7D,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './EmbedFormControl.tsx';
2
+ export * from './ListModeSelect.tsx';
3
+ export * from './RenderSelect.tsx';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { FlexBoxProps } from '@xylabs/react-flexbox';
2
+ import type { WithChildren } from '@xylabs/react-shared';
3
+ import React from 'react';
4
+ export declare const EmbedCardResolverFlexBox: React.FC<WithChildren<FlexBoxProps>>;
5
+ //# sourceMappingURL=EmbedCardResolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedCardResolver.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedCardResolver.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CA2BzE,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { WithChildren } from '@xylabs/react-shared';
2
+ import React from 'react';
3
+ import type { EmbedPluginProps } from '../../types/index.ts';
4
+ import type { BusyCardProps } from './card/index.ts';
5
+ export interface EmbedPluginCardProps extends WithChildren, EmbedPluginProps, BusyCardProps {
6
+ }
7
+ export declare const ApiEmbedPluginCard: React.FC<EmbedPluginCardProps>;
8
+ export declare const EmbedPluginCardInner: React.FC<BusyCardProps>;
9
+ export { EmbedPluginCard as EmbedPlugin } from './card/index.ts';
10
+ //# sourceMappingURL=EmbedPluginCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedPluginCard.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAIpD,MAAM,WAAW,oBAAqB,SAAQ,YAAY,EAAE,gBAAgB,EAAE,aAAa;CAAG;AAE9F,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8B7D,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqBxD,CAAA;AAID,OAAO,EAAE,eAAe,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { CardProps } from '@mui/material';
2
+ import type { BusyCircularProgressProps, BusyLinearProgressProps, BusyVariant, WithChildren } from '@xylabs/react-shared';
3
+ import React from 'react';
4
+ export interface BusyCardProps extends CardProps {
5
+ busy?: boolean;
6
+ busyMinimum?: number;
7
+ busyVariant?: BusyVariant;
8
+ busyVariantProps?: BusyCircularProgressProps | BusyLinearProgressProps;
9
+ }
10
+ export declare const BusyCard: React.FC<WithChildren<BusyCardProps>>;
11
+ //# sourceMappingURL=BusyCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusyCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/BusyCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EACV,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,YAAY,EACb,MAAM,sBAAsB,CAAA;AAK7B,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,gBAAgB,CAAC,EAAE,yBAAyB,GAAG,uBAAuB,CAAA;CACvE;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,CAoB1D,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CardHeaderProps } from '@mui/material';
2
+ import React from 'react';
3
+ export declare const EmbedCardHeader: React.FC<CardHeaderProps>;
4
+ //# sourceMappingURL=EmbedCardHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedCardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAS,MAAM,eAAe,CAAA;AAK3D,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4CrD,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { BusyCardProps } from './BusyCard.tsx';
3
+ export declare const EmbedPluginCard: React.FC<BusyCardProps>;
4
+ //# sourceMappingURL=EmbedPluginCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedPluginCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAInD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+BnD,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './BusyCard.tsx';
2
+ export * from './EmbedCardHeader.tsx';
3
+ export * from './EmbedPluginCard.tsx';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { CardProps } from '@mui/material';
2
+ import type { WithChildren } from '@xylabs/react-shared';
3
+ import type { ModuleError } from '@xyo-network/payload-model';
4
+ import React from 'react';
5
+ interface EmbedCardApiErrorRendererProps extends CardProps {
6
+ xyoError?: ModuleError;
7
+ }
8
+ export declare const EmbedCardApiErrorRenderer: React.FC<WithChildren<EmbedCardApiErrorRendererProps>>;
9
+ export {};
10
+ //# sourceMappingURL=EmbedCardApiErrorRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedCardApiErrorRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,8BAA+B,SAAQ,SAAS;IACxD,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,8BAA8B,CAAC,CAQ5F,CAAA"}
@@ -0,0 +1,14 @@
1
+ import type { AlertProps, CardProps } from '@mui/material';
2
+ import type { WithChildren } from '@xylabs/react-shared';
3
+ import React from 'react';
4
+ interface EmbedErrorCardBaseProps {
5
+ alertProps?: AlertProps;
6
+ error?: Error;
7
+ hideErrorDetails?: boolean;
8
+ scope?: string;
9
+ }
10
+ interface EmbedErrorCardProps extends EmbedErrorCardBaseProps, CardProps {
11
+ }
12
+ export declare const EmbedErrorCard: React.FC<WithChildren<EmbedErrorCardProps>>;
13
+ export {};
14
+ //# sourceMappingURL=EmbedErrorCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedErrorCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedErrorCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAI1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,uBAAuB;IAC/B,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,UAAU,mBAAoB,SAAQ,uBAAuB,EAAE,SAAS;CAAG;AAE3E,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAYtE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './EmbedCardApiErrorRenderer.tsx';
2
+ export * from './EmbedErrorCard.tsx';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './card/index.ts';
2
+ export * from './EmbedPluginCard.tsx';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/embed-card/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { IconButtonProps } from '@mui/material';
2
+ import React from 'react';
3
+ export declare const EmbedMenu: React.FC<IconButtonProps>;
4
+ //# sourceMappingURL=EmbedMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsB/C,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { MenuItemProps } from '@mui/material';
2
+ import React from 'react';
3
+ export declare const JsonMenuItem: React.FC<MenuItemProps>;
4
+ //# sourceMappingURL=JsonMenuItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAIlD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiBhD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './EmbedMenu.tsx';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './embed-card/index.ts';
2
+ export * from './EmbedPlugin.tsx';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,126 @@
1
+ export declare const payloadData: {
2
+ assets: {
3
+ ada: {
4
+ value: {
5
+ btc: string;
6
+ eth: string;
7
+ eur: string;
8
+ usd: string;
9
+ };
10
+ };
11
+ btc: {
12
+ value: {
13
+ btc: string;
14
+ eth: string;
15
+ eur: string;
16
+ usd: string;
17
+ };
18
+ };
19
+ busd: {
20
+ value: {
21
+ btc: string;
22
+ eth: string;
23
+ eur: string;
24
+ usd: string;
25
+ };
26
+ };
27
+ dai: {
28
+ value: {
29
+ usdc: string;
30
+ xyo: string;
31
+ };
32
+ };
33
+ doge: {
34
+ value: {
35
+ btc: string;
36
+ eth: string;
37
+ eur: string;
38
+ usd: string;
39
+ };
40
+ };
41
+ dot: {
42
+ value: {
43
+ btc: string;
44
+ eth: string;
45
+ eur: string;
46
+ usd: string;
47
+ };
48
+ };
49
+ eth: {
50
+ value: {
51
+ btc: string;
52
+ eth: string;
53
+ eur: string;
54
+ usd: string;
55
+ };
56
+ };
57
+ frax: {
58
+ value: {
59
+ usdc: string;
60
+ };
61
+ };
62
+ link: {
63
+ value: {
64
+ xyo: string;
65
+ };
66
+ };
67
+ sol: {
68
+ value: {
69
+ btc: string;
70
+ eth: string;
71
+ eur: string;
72
+ usd: string;
73
+ };
74
+ };
75
+ usdc: {
76
+ value: {
77
+ btc: string;
78
+ dai: string;
79
+ eth: string;
80
+ eur: string;
81
+ frax: string;
82
+ usd: string;
83
+ };
84
+ };
85
+ usdt: {
86
+ value: {
87
+ btc: string;
88
+ eth: string;
89
+ eur: string;
90
+ usd: string;
91
+ usdc: string;
92
+ xyo: string;
93
+ };
94
+ };
95
+ wbtc: {
96
+ value: {
97
+ btc: string;
98
+ eth: string;
99
+ eur: string;
100
+ usd: string;
101
+ usdc: string;
102
+ xyo: string;
103
+ };
104
+ };
105
+ weth: {
106
+ value: {
107
+ btc: string;
108
+ usdc: string;
109
+ xyo: string;
110
+ };
111
+ };
112
+ xyo: {
113
+ value: {
114
+ btc: string;
115
+ dai: string;
116
+ eth: string;
117
+ eur: string;
118
+ link: string;
119
+ usd: string;
120
+ };
121
+ };
122
+ };
123
+ schema: string;
124
+ timestamp: number;
125
+ };
126
+ //# sourceMappingURL=storyPayload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyPayload.d.ts","sourceRoot":"","sources":["../../../../src/components/stories/storyPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEvB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { StoryFn } from '@storybook/react';
2
+ import { ApiEmbedPluginCard } from '../embed-card/index.ts';
3
+ export declare const Template: StoryFn<typeof ApiEmbedPluginCard>;
4
+ //# sourceMappingURL=storyShared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyShared.d.ts","sourceRoot":"","sources":["../../../../src/components/stories/storyShared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,OAAO,kBAAkB,CAMvD,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Meta } from '@storybook/react';
2
+ export declare const xyoEmbedStoryBase: Meta;
3
+ //# sourceMappingURL=xyoEmbedStoryBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xyoEmbedStoryBase.d.ts","sourceRoot":"","sources":["../../../../src/components/stories/xyoEmbedStoryBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAI5C,eAAO,MAAM,iBAAiB,EAAE,IAI/B,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { AlertProps } from '@mui/material';
2
+ import type { WithChildren } from '@xylabs/react-shared';
3
+ import React from 'react';
4
+ export declare const ValidatePayloadAlert: React.FC<WithChildren<AlertProps>>;
5
+ //# sourceMappingURL=ValidatePayload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidatePayload.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePayload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAkBnE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { AlertProps } from '@mui/material';
2
+ import type { WithChildren } from '@xylabs/react-shared';
3
+ import React from 'react';
4
+ export declare const ValidatePluginsAlert: React.FC<WithChildren<AlertProps>>;
5
+ //# sourceMappingURL=ValidatePlugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidatePlugins.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/ValidatePlugins.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAcnE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './ValidatePayload.tsx';
2
+ export * from './ValidatePlugins.tsx';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-alerts/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { EmbedPluginState } from './State.ts';
2
+ export declare const EmbedPluginContext: import("react").Context<EmbedPluginState & import("@xyo-network/react-shared").ContextExState>;
3
+ //# sourceMappingURL=Context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,eAAO,MAAM,kBAAkB,gGAAsC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { WithChildren } from '@xylabs/react-shared';
2
+ import React from 'react';
3
+ import type { EmbedPluginBase } from './State.ts';
4
+ export type EmbedPluginProviderProps = EmbedPluginBase;
5
+ export declare const EmbedPluginProvider: React.FC<WithChildren<EmbedPluginProviderProps>>;
6
+ //# 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,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAA;AAGtD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,wBAAwB,CAAC,CA8BhF,CAAA"}
@@ -0,0 +1,28 @@
1
+ import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
2
+ import type { ContextExState, ListMode } from '@xyo-network/react-shared';
3
+ import type { 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
+ export interface PluginConfig {
14
+ listMode?: ListMode;
15
+ }
16
+ export interface EmbedPluginBase {
17
+ embedPluginConfig?: PluginConfig;
18
+ hideElementsConfig?: EmbedPluginVisibilityConfig;
19
+ huri?: string;
20
+ plugins?: PayloadRenderPlugin[];
21
+ refreshTitle?: string;
22
+ timestampLabel?: string;
23
+ }
24
+ export interface EmbedPluginState extends EmbedPluginBase, ContextExState {
25
+ activePlugin?: PayloadRenderPlugin;
26
+ setActivePlugin?: Dispatch<SetStateAction<PayloadRenderPlugin | undefined>>;
27
+ }
28
+ //# 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,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAErD,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;AAKD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAE9B,iBAAiB,CAAC,EAAE,YAAY,CAAA;IAChC,kBAAkB,CAAC,EAAE,2BAA2B,CAAA;IAEhD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe,EAAE,cAAc;IACvE,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,eAAe,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAA;CAC5E"}
@@ -0,0 +1,5 @@
1
+ export * from './Context.ts';
2
+ export * from './Provider.tsx';
3
+ export * from './State.ts';
4
+ export * from './use.ts';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useEmbedPluginState: () => Omit<import("./State.ts").EmbedPluginState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,oHAA8D,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { RefreshPayloadState } from './State.ts';
2
+ export declare const RefreshPayloadContext: import("react").Context<RefreshPayloadState & import("@xyo-network/react-shared").ContextExState>;
3
+ //# sourceMappingURL=Context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAErD,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { WithChildren } from '@xylabs/react-shared';
2
+ import React from 'react';
3
+ export interface RefreshPayloadProps {
4
+ onRefresh?: () => void;
5
+ refreshPayload?: boolean;
6
+ }
7
+ export declare const RefreshPayloadProvider: React.FC<WithChildren<RefreshPayloadProps>>;
8
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAc9E,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { ContextExState } from '@xyo-network/react-shared';
2
+ import type { Dispatch, SetStateAction } from 'react';
3
+ export interface RefreshPayloadState extends ContextExState {
4
+ onRefresh?: () => void;
5
+ refreshPayload?: boolean;
6
+ setRefreshPayload?: Dispatch<SetStateAction<boolean | undefined>>;
7
+ }
8
+ //# sourceMappingURL=State.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAErD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAClE"}
@@ -0,0 +1,4 @@
1
+ export * from './Provider.tsx';
2
+ export * from './State.ts';
3
+ export * from './use.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useRefreshPayload: () => Omit<import("./State.ts").RefreshPayloadState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,uHAAoE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { ResolvePayloadState } from './State.ts';
2
+ export declare const ResolvePayloadContext: import("react").Context<ResolvePayloadState & import("@xyo-network/react-shared").ContextExState>;
3
+ //# sourceMappingURL=Context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAErD,eAAO,MAAM,qBAAqB,mGAAyC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { WithChildren } from '@xylabs/react-shared';
2
+ import React from 'react';
3
+ import type { ResolvePayloadState } from './State.ts';
4
+ export type ResolvePayloadProviderProps = Omit<ResolvePayloadState, 'provided'>;
5
+ export declare const ResolvePayloadProvider: React.FC<WithChildren<ResolvePayloadProviderProps>>;
6
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAIxD,OAAO,KAA8B,MAAM,OAAO,CAAA;AAIlD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAErD,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;AAE/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,2BAA2B,CAAC,CA4DtF,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { ModuleError, Payload } from '@xyo-network/payload-model';
2
+ import type { ContextExState } from '@xyo-network/react-shared';
3
+ import type { Dispatch, SetStateAction } from 'react';
4
+ export interface ResolvePayloadState extends ContextExState {
5
+ huri?: string;
6
+ huriError?: ModuleError;
7
+ huriPayload?: string | Payload;
8
+ notFound?: boolean;
9
+ payload?: Payload;
10
+ refreshHuri?: () => void;
11
+ setPayload?: Dispatch<SetStateAction<Payload | undefined>>;
12
+ }
13
+ //# sourceMappingURL=State.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAErD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAC3D"}
@@ -0,0 +1,5 @@
1
+ export * from './Context.ts';
2
+ export * from './Provider.tsx';
3
+ export * from './State.ts';
4
+ export * from './use.ts';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useResolvePayload: () => Omit<import("./State.ts").ResolvePayloadState & import("@xyo-network/react-shared").ContextExState, "provided">;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,uHAAoE,CAAA"}