@xyo-network/react-embed 2.56.2 → 2.56.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/cjs/components/EmbedPlugin.js +3 -3
  2. package/dist/cjs/components/EmbedPlugin.js.map +1 -1
  3. package/dist/cjs/components/EmbedResolver.js +1 -1
  4. package/dist/cjs/components/EmbedResolver.js.map +1 -1
  5. package/dist/cjs/components/controls/EmbedFormControl.js +1 -1
  6. package/dist/cjs/components/controls/EmbedFormControl.js.map +1 -1
  7. package/dist/cjs/components/controls/ListModeSelect.js +2 -2
  8. package/dist/cjs/components/controls/ListModeSelect.js.map +1 -1
  9. package/dist/cjs/components/controls/RenderSelect.js +1 -1
  10. package/dist/cjs/components/controls/RenderSelect.js.map +1 -1
  11. package/dist/cjs/components/embed-card/EmbedCardResolver.js +1 -1
  12. package/dist/cjs/components/embed-card/EmbedCardResolver.js.map +1 -1
  13. package/dist/cjs/components/embed-card/EmbedPluginCard.js +5 -3
  14. package/dist/cjs/components/embed-card/EmbedPluginCard.js.map +1 -1
  15. package/dist/cjs/components/embed-card/card/EmbedCardHeader.js +1 -1
  16. package/dist/cjs/components/embed-card/card/EmbedCardHeader.js.map +1 -1
  17. package/dist/cjs/components/embed-card/card/EmbedPluginCard.js +1 -1
  18. package/dist/cjs/components/embed-card/card/EmbedPluginCard.js.map +1 -1
  19. package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +1 -1
  20. package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -1
  21. package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js +1 -1
  22. package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -1
  23. package/dist/cjs/components/embed-card/menu/EmbedMenu.js +1 -1
  24. package/dist/cjs/components/embed-card/menu/EmbedMenu.js.map +1 -1
  25. package/dist/cjs/components/embed-card/menu/JsonMenuItem.js +1 -1
  26. package/dist/cjs/components/embed-card/menu/JsonMenuItem.js.map +1 -1
  27. package/dist/cjs/contexts/EmbedPluginContext/Provider.js +2 -2
  28. package/dist/cjs/contexts/EmbedPluginContext/Provider.js.map +1 -1
  29. package/dist/cjs/contexts/RefreshPayloadContext/Provider.js +1 -1
  30. package/dist/cjs/contexts/RefreshPayloadContext/Provider.js.map +1 -1
  31. package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +1 -1
  32. package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +1 -1
  33. package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +1 -1
  34. package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +1 -1
  35. package/dist/docs.json +895 -658
  36. package/dist/esm/components/embed-card/EmbedPluginCard.js +10 -8
  37. package/dist/esm/components/embed-card/EmbedPluginCard.js.map +1 -1
  38. package/package.json +8 -8
@@ -7,13 +7,13 @@ const contexts_1 = require("../contexts");
7
7
  const EmbedResolver_1 = require("./EmbedResolver");
8
8
  const validation_alerts_1 = require("./validation-alerts");
9
9
  const EmbedPluginInner = ({ validateSchema, plugins = [], huriPayload, refreshTitle = '', timestampLabel = 'Data From', hideElementsConfig, embedPluginConfig, onRefresh, children, }) => {
10
- return ((0, jsx_runtime_1.jsx)(react_shared_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(contexts_1.EmbedPluginProvider, { refreshTitle: refreshTitle, timestampLabel: timestampLabel, hideElementsConfig: hideElementsConfig, plugins: plugins, embedPluginConfig: embedPluginConfig, children: (0, jsx_runtime_1.jsx)(WithResolvers, { onRefresh: onRefresh, huriPayload: huriPayload, children: (0, jsx_runtime_1.jsx)(WithValidators, { validateSchema: validateSchema, children: (0, jsx_runtime_1.jsx)(react_shared_1.ListModeProvider, { defaultListMode: embedPluginConfig === null || embedPluginConfig === void 0 ? void 0 : embedPluginConfig.listMode, children: children }) }) }) }) }));
10
+ return ((0, jsx_runtime_1.jsx)(react_shared_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(contexts_1.EmbedPluginProvider, Object.assign({ refreshTitle: refreshTitle, timestampLabel: timestampLabel, hideElementsConfig: hideElementsConfig, plugins: plugins, embedPluginConfig: embedPluginConfig }, { children: (0, jsx_runtime_1.jsx)(WithResolvers, Object.assign({ onRefresh: onRefresh, huriPayload: huriPayload }, { children: (0, jsx_runtime_1.jsx)(WithValidators, Object.assign({ validateSchema: validateSchema }, { children: (0, jsx_runtime_1.jsx)(react_shared_1.ListModeProvider, Object.assign({ defaultListMode: embedPluginConfig === null || embedPluginConfig === void 0 ? void 0 : embedPluginConfig.listMode }, { children: children })) })) })) })) }));
11
11
  };
12
12
  exports.EmbedPluginInner = EmbedPluginInner;
13
13
  const WithResolvers = ({ children, onRefresh, huriPayload }) => {
14
- return ((0, jsx_runtime_1.jsx)(contexts_1.RefreshPayloadProvider, { onRefresh: onRefresh, children: (0, jsx_runtime_1.jsx)(contexts_1.ResolvePayloadProvider, { huriPayload: huriPayload, children: (0, jsx_runtime_1.jsx)(EmbedResolver_1.EmbedResolver, { children: children }) }) }));
14
+ return ((0, jsx_runtime_1.jsx)(contexts_1.RefreshPayloadProvider, Object.assign({ onRefresh: onRefresh }, { children: (0, jsx_runtime_1.jsx)(contexts_1.ResolvePayloadProvider, Object.assign({ huriPayload: huriPayload }, { children: (0, jsx_runtime_1.jsx)(EmbedResolver_1.EmbedResolver, { children: children }) })) })));
15
15
  };
16
16
  const WithValidators = ({ children, validateSchema }) => {
17
- return ((0, jsx_runtime_1.jsx)(contexts_1.ValidatePayloadProvider, { enabled: validateSchema, children: (0, jsx_runtime_1.jsx)(validation_alerts_1.ValidatePluginsAlert, { children: (0, jsx_runtime_1.jsx)(validation_alerts_1.ValidatePayloadAlert, { children: children }) }) }));
17
+ return ((0, jsx_runtime_1.jsx)(contexts_1.ValidatePayloadProvider, Object.assign({ enabled: validateSchema }, { children: (0, jsx_runtime_1.jsx)(validation_alerts_1.ValidatePluginsAlert, { children: (0, jsx_runtime_1.jsx)(validation_alerts_1.ValidatePayloadAlert, { children: children }) }) })));
18
18
  };
19
19
  //# s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AE,QAAQ,GAAiB,IAClB,IACF,CAC1B,CAAA;AACH,CAAC,CAAA;AAED,MAAM,cAAc,GAAyD,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,EAAE;IAC5G,OAAO,CACL,uBAAC,kCAAuB,kBAAC,OAAO,EAAE,cAAc,gBAC9C,uBAAC,wCAAoB,cACnB,uBAAC,wCAAoB,cAAE,QAAQ,GAAwB,GAClC,IACC,CAC3B,CAAA;AACH,CAAC,CAAA"}
@@ -6,7 +6,7 @@ const react_shared_1 = require("@xyo-network/react-shared");
6
6
  const contexts_1 = require("../contexts");
7
7
  const EmbedResolver = ({ children }) => {
8
8
  const { payload, notFound, huriError } = (0, contexts_1.useResolvePayload)();
9
- return ((0, jsx_runtime_1.jsx)(react_shared_1.LoadResult, { searchResult: payload, notFound: !!notFound, error: !!huriError, children: children }));
9
+ return ((0, jsx_runtime_1.jsx)(react_shared_1.LoadResult, Object.assign({ searchResult: payload, notFound: !!notFound, error: !!huriError }, { children: children })));
10
10
  };
11
11
  exports.EmbedResolver = EmbedResolver;
12
12
  //# sourceMappingURL=EmbedResolver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedResolver.js","sourceRoot":"","sources":["../../../src/components/EmbedResolver.tsx"],"names":[],"mappings":";;;;AACA,4DAAsD;AAEtD,0CAA+C;AAExC,MAAM,aAAa,GAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAE5D,OAAO,CACL,uBAAC,yBAAU,IAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,SAAS,YACxE,QAAQ,GACE,CACd,CAAA;AACH,CAAC,CAAA;AARY,QAAA,aAAa,iBAQzB"}
1
+ {"version":3,"file":"EmbedResolver.js","sourceRoot":"","sources":["../../../src/components/EmbedResolver.tsx"],"names":[],"mappings":";;;;AACA,4DAAsD;AAEtD,0CAA+C;AAExC,MAAM,aAAa,GAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAE5D,OAAO,CACL,uBAAC,yBAAU,kBAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,SAAS,gBACxE,QAAQ,IACE,CACd,CAAA;AACH,CAAC,CAAA;AARY,QAAA,aAAa,iBAQzB"}
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const material_1 = require("@mui/material");
7
7
  const EmbedFormControl = (_a) => {
8
8
  var { formId, formLabel, children } = _a, props = tslib_1.__rest(_a, ["formId", "formLabel", "children"]);
9
- return ((0, jsx_runtime_1.jsxs)(material_1.FormControl, Object.assign({}, props, { children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { id: formId, children: formLabel }), children] })));
9
+ return ((0, jsx_runtime_1.jsxs)(material_1.FormControl, Object.assign({}, props, { children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, Object.assign({ id: formId }, { children: formLabel })), children] })));
10
10
  };
11
11
  exports.EmbedFormControl = EmbedFormControl;
12
12
  //# sourceMappingURL=EmbedFormControl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedFormControl.js","sourceRoot":"","sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAyE;AAQlE,MAAM,gBAAgB,GAAkD,CAAC,EAAyC,EAAE,EAAE;QAA7C,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAAvC,mCAAyC,CAAF;IACrH,OAAO,CACL,wBAAC,sBAAW,oBAAK,KAAK,eACpB,uBAAC,qBAAU,IAAC,EAAE,EAAE,MAAM,YAAG,SAAS,GAAc,EAC/C,QAAQ,KACG,CACf,CAAA;AACH,CAAC,CAAA;AAPY,QAAA,gBAAgB,oBAO5B"}
1
+ {"version":3,"file":"EmbedFormControl.js","sourceRoot":"","sources":["../../../../src/components/controls/EmbedFormControl.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAyE;AAQlE,MAAM,gBAAgB,GAAkD,CAAC,EAAyC,EAAE,EAAE;QAA7C,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAAvC,mCAAyC,CAAF;IACrH,OAAO,CACL,wBAAC,sBAAW,oBAAK,KAAK,eACpB,uBAAC,qBAAU,kBAAC,EAAE,EAAE,MAAM,gBAAG,SAAS,IAAc,EAC/C,QAAQ,KACG,CACf,CAAA;AACH,CAAC,CAAA;AAPY,QAAA,gBAAgB,oBAO5B"}
@@ -11,11 +11,11 @@ const ListModeSelect = (props) => {
11
11
  const { listMode, setListMode } = (0, react_shared_1.useListMode)();
12
12
  return ((0, jsx_runtime_1.jsxs)(material_1.Select, Object.assign({ value: (listMode !== null && listMode !== void 0 ? listMode : 'default'), onChange: (event) => {
13
13
  setListMode === null || setListMode === void 0 ? void 0 : setListMode(event.target.value);
14
- } }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: "default", children: "Default" }, "default"), (0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: "table", children: "Table" }, "table"), (0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: "grid", children: "Grid" }, "grid")] })));
14
+ } }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: "default" }, { children: "Default" }), "default"), (0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: "table" }, { children: "Table" }), "table"), (0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: "grid" }, { children: "Grid" }), "grid")] })));
15
15
  };
16
16
  exports.ListModeSelect = ListModeSelect;
17
17
  const ListModeSelectFormControl = (props) => {
18
- return ((0, jsx_runtime_1.jsx)(EmbedFormControl_1.EmbedFormControl, { formId: listModeSelectId, formLabel: listModeSelectLabel, children: (0, jsx_runtime_1.jsx)(exports.ListModeSelect, Object.assign({ size: "small", label: listModeSelectLabel, labelId: listModeSelectId }, props)) }));
18
+ return ((0, jsx_runtime_1.jsx)(EmbedFormControl_1.EmbedFormControl, Object.assign({ formId: listModeSelectId, formLabel: listModeSelectLabel }, { children: (0, jsx_runtime_1.jsx)(exports.ListModeSelect, Object.assign({ size: "small", label: listModeSelectLabel, labelId: listModeSelectId }, props)) })));
19
19
  };
20
20
  exports.ListModeSelectFormControl = ListModeSelectFormControl;
21
21
  //# sourceMappingURL=ListModeSelect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListModeSelect.js","sourceRoot":"","sources":["../../../../src/components/controls/ListModeSelect.tsx"],"names":[],"mappings":";;;;AAAA,4CAA6D;AAC7D,4DAAiE;AAEjE,yDAAqD;AAErD,MAAM,gBAAgB,GAAG,oBAAoB,CAAA;AAC7C,MAAM,mBAAmB,GAAG,WAAW,CAAA;AAEhC,MAAM,cAAc,GAAoC,CAAC,KAAK,EAAE,EAAE;IACvE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAA,0BAAW,GAAE,CAAA;IAE/C,OAAO,CACL,wBAAC,iBAAM,kBACL,KAAK,EAAE,CAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,SAAS,CAAa,EAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAG,KAAK,CAAC,MAAM,CAAC,KAAiB,CAAC,CAAA;QAC/C,CAAC,IACG,KAAK,eAET,uBAAC,mBAAQ,IAAe,KAAK,EAAC,SAAS,yBAAzB,SAAS,CAEZ,EACX,uBAAC,mBAAQ,IAAa,KAAK,EAAC,OAAO,uBAArB,OAAO,CAEV,EACX,uBAAC,mBAAQ,IAAY,KAAK,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AACH,CAAC,CAAA;AAtBY,QAAA,cAAc,kBAsB1B;AAEM,MAAM,yBAAyB,GAAoC,CAAC,KAAK,EAAE,EAAE;IAClF,OAAO,CACL,uBAAC,mCAAgB,kBAAC,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,mBAAmB,gBACxE,uBAAC,sBAAc,kBAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,EAAE,gBAAgB,IAAM,KAAK,EAAI,IAChF,CACpB,CAAA;AACH,CAAC,CAAA;AANY,QAAA,yBAAyB,6BAMrC"}
@@ -9,7 +9,7 @@ const renderSelectId = 'render-select-id';
9
9
  const renderSelectLabel = 'Renderer';
10
10
  const EmbedRenderSelect = (props) => {
11
11
  const { activePlugin, setActivePlugin, plugins } = (0, contexts_1.useEmbedPluginState)();
12
- return ((0, jsx_runtime_1.jsx)(EmbedFormControl_1.EmbedFormControl, { formId: renderSelectId, formLabel: renderSelectLabel, children: (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ size: "small", value: activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name }, props, { children: plugins === null || plugins === void 0 ? void 0 : plugins.map((plugin) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: plugin.name, onClick: () => setActivePlugin === null || setActivePlugin === void 0 ? void 0 : setActivePlugin(plugin), children: plugin.name }, plugin.name))) })) }));
12
+ return ((0, jsx_runtime_1.jsx)(EmbedFormControl_1.EmbedFormControl, Object.assign({ formId: renderSelectId, formLabel: renderSelectLabel }, { children: (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ size: "small", value: activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name }, props, { children: plugins === null || plugins === void 0 ? void 0 : plugins.map((plugin) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: plugin.name, onClick: () => setActivePlugin === null || setActivePlugin === void 0 ? void 0 : setActivePlugin(plugin) }, { children: plugin.name }), plugin.name))) })) })));
13
13
  };
14
14
  exports.EmbedRenderSelect = EmbedRenderSelect;
15
15
  //# sourceMappingURL=RenderSelect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RenderSelect.js","sourceRoot":"","sources":["../../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":";;;;AAAA,4CAA6D;AAE7D,6CAAoD;AACpD,yDAAqD;AAErD,MAAM,cAAc,GAAG,kBAAkB,CAAA;AACzC,MAAM,iBAAiB,GAAG,UAAU,CAAA;AAE7B,MAAM,iBAAiB,GAA0B,CAAC,KAAK,EAAE,EAAE;IAChE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,IAAA,8BAAmB,GAAE,CAAA;IACxE,OAAO,CACL,uBAAC,mCAAgB,IAAC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,YACpE,uBAAC,iBAAM,kBAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,IAAI,IAAM,KAAK,cACtD,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACxB,uBAAC,mBAAQ,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAoB,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAG,MAAM,CAAC,YACrF,MAAM,CAAC,IAAI,IADqB,MAAM,CAAC,IAAI,CAEnC,CACZ,CAAC,IACK,GACQ,CACpB,CAAA;AACH,CAAC,CAAA;AAbY,QAAA,iBAAiB,qBAa7B"}
1
+ {"version":3,"file":"RenderSelect.js","sourceRoot":"","sources":["../../../../src/components/controls/RenderSelect.tsx"],"names":[],"mappings":";;;;AAAA,4CAA6D;AAE7D,6CAAoD;AACpD,yDAAqD;AAErD,MAAM,cAAc,GAAG,kBAAkB,CAAA;AACzC,MAAM,iBAAiB,GAAG,UAAU,CAAA;AAE7B,MAAM,iBAAiB,GAA0B,CAAC,KAAK,EAAE,EAAE;IAChE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,IAAA,8BAAmB,GAAE,CAAA;IACxE,OAAO,CACL,uBAAC,mCAAgB,kBAAC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,gBACpE,uBAAC,iBAAM,kBAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,IAAI,IAAM,KAAK,cACtD,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACxB,uBAAC,mBAAQ,kBAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAoB,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAG,MAAM,CAAC,gBACrF,MAAM,CAAC,IAAI,KADqB,MAAM,CAAC,IAAI,CAEnC,CACZ,CAAC,IACK,IACQ,CACpB,CAAA;AACH,CAAC,CAAA;AAbY,QAAA,iBAAiB,qBAa7B"}
@@ -13,7 +13,7 @@ const EmbedCardResolverFlexBox = (_a) => {
13
13
  const { payload, notFound, huriError } = (0, contexts_1.useResolvePayload)();
14
14
  const { refreshPayload } = (0, contexts_1.useRefreshPayload)();
15
15
  const theme = (0, material_1.useTheme)();
16
- return ((0, jsx_runtime_1.jsx)(react_shared_1.LoadResult, { searchResult: payload, notFound: !!notFound, error: !!huriError, children: (0, jsx_runtime_1.jsx)(error_handling_1.EmbedCardApiErrorRenderer, { xyoError: huriError, children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ id: "embed-outer-wrap", alignItems: "stretch", justifyContent: "start", busy: Boolean(!refreshPayload && payload), busyCircularProps: { style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } } }, props, { children: children })) }) }));
16
+ return ((0, jsx_runtime_1.jsx)(react_shared_1.LoadResult, Object.assign({ searchResult: payload, notFound: !!notFound, error: !!huriError }, { children: (0, jsx_runtime_1.jsx)(error_handling_1.EmbedCardApiErrorRenderer, Object.assign({ xyoError: huriError }, { children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ id: "embed-outer-wrap", alignItems: "stretch", justifyContent: "start", busy: Boolean(!refreshPayload && payload), busyCircularProps: { style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } } }, props, { children: children })) })) })));
17
17
  };
18
18
  exports.EmbedCardResolverFlexBox = EmbedCardResolverFlexBox;
19
19
  //# sourceMappingURL=EmbedCardResolver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCardResolver.js","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedCardResolver.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAwC;AACxC,yDAA6D;AAE7D,4DAAsD;AAEtD,6CAAqE;AACrE,qDAA4D;AAErD,MAAM,wBAAwB,GAAyC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IACjG,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAC5D,MAAM,EAAE,cAAc,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAC9C,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IAExB,OAAO,CACL,uBAAC,yBAAU,IAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,SAAS,YACzE,uBAAC,0CAAyB,IAAC,QAAQ,EAAE,SAAS,YAC5C,uBAAC,uBAAO,kBACN,EAAE,EAAC,kBAAkB,EACrB,UAAU,EAAC,SAAS,EACpB,cAAc,EAAC,OAAO,EACtB,IAAI,EAAE,OAAO,CAAC,CAAC,cAAc,IAAI,OAAO,CAAC,E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,IAC1F,KAAK,cAER,QAAQ,IACD,IACgB,IACjB,CACd,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,wBAAwB,4BAqBpC"}
@@ -11,21 +11,23 @@ const error_handling_1 = require("./error-handling");
11
11
  const ApiEmbedPluginCard = (_a) => {
12
12
  var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
13
13
  const { validateSchema, plugins = [], huriPayload, refreshTitle = '', timestampLabel = 'Data From', hideElementsConfig, embedPluginConfig, onRefresh } = props, busyCardProps = tslib_1.__rest(props, ["validateSchema", "plugins", "huriPayload", "refreshTitle", "timestampLabel", "hideElementsConfig", "embedPluginConfig", "onRefresh"]);
14
- return ((0, jsx_runtime_1.jsxs)(EmbedPlugin_1.EmbedPluginInner, { embedPluginConfig,
14
+ return ((0, jsx_runtime_1.jsxs)(EmbedPlugin_1.EmbedPluginInner, Object.assign({}, {
15
+ embedPluginConfig,
15
16
  hideElementsConfig,
16
17
  huriPayload,
17
18
  onRefresh,
18
19
  plugins,
19
20
  refreshTitle,
20
21
  timestampLabel,
21
- validateSchema, children: [(0, jsx_runtime_1.jsx)(exports.EmbedPluginCardInner, Object.assign({}, busyCardProps)), children] }));
22
+ validateSchema,
23
+ }, { children: [(0, jsx_runtime_1.jsx)(exports.EmbedPluginCardInner, Object.assign({}, busyCardProps)), children] })));
22
24
  };
23
25
  exports.ApiEmbedPluginCard = ApiEmbedPluginCard;
24
26
  const EmbedPluginCardInner = (props) => {
25
27
  const { payload, huriError } = (0, contexts_1.useResolvePayload)();
26
28
  const { refreshPayload } = (0, contexts_1.useRefreshPayload)();
27
29
  const theme = (0, material_1.useTheme)();
28
- return ((0, jsx_runtime_1.jsx)(error_handling_1.EmbedCardApiErrorRenderer, { xyoError: huriError, children: (0, jsx_runtime_1.jsx)(card_1.EmbedPluginCard, Object.assign({ elevation: 3, variant: "elevation", busy: Boolean(!refreshPayload && payload), busyVariantProps: { style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } }, sx: { position: 'relative' } }, props)) }));
30
+ return ((0, jsx_runtime_1.jsx)(error_handling_1.EmbedCardApiErrorRenderer, Object.assign({ xyoError: huriError }, { children: (0, jsx_runtime_1.jsx)(card_1.EmbedPluginCard, Object.assign({ elevation: 3, variant: "elevation", busy: Boolean(!refreshPayload && payload), busyVariantProps: { style: { alignItems: 'start', paddingTop: theme.spacing(2), zIndex: 2 } }, sx: { position: 'relative' } }, props)) })));
29
31
  };
30
32
  exports.EmbedPluginCardInner = EmbedPluginCardInner;
31
33
  /** @deprecated - use EmbedPluginCard and use CardProps instead of FlexBoxProps */
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedPluginCard.js","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAwC;AAGxC,6CAAqE;AAErE,gDAAiD;AACjD,iCAAuD;AACvD,qDAA4D;AAIrD,MAAM,kBAAkB,GAAmC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IACrF,MAAM,EACJ,cAAc,EACd,OAAO,GAAG,EAAE,EACZ,WAAW,EACX,YAAY,GAAG,EAAE,EACjB,cAAc,GAAG,WAAW,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,KAEP,KAAK,EADJ,aAAa,kBACd,KAAK,EAVH,sIAUL,CAAQ,CAAA;IAET,OAAO,CACL,wBAAC,8BAAgB,IAEb,iBAAiB;QACjB,kBAAkB;QAClB,WAAW;QACX,SAAS;QACT,OAAO;QACP,YAAY;QACZ,cAAc;QACd,cAAc,aAGhB,uBAAC,4BAAoB,oBAAK,aAAa,EAAI,EAC1C,QAAQ,IACQ,CACpB,CAAA;AACH,CAAC,CAAA;AA9BY,QAAA,kBAAkB,sBA8B9B;AAEM,MAAM,oBAAoB,GAA4B,CAAC,KAAK,EAAE,EAAE;IACrE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAClD,MAAM,EAAE,cAAc,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAC9C,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IAExB,OAAO,CACL,uBAAC,0CAAyB,IAAC,QAAQ,EAAE,SAAS,YAC5C,uBAAC,sBAAe,kBACd,SAAS,EAAE,CAAC,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,cAAc,IAAI,OAAO,CAAC,EACzC,gBAAgB,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAC7F,EAAE,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,IACxB,KAAK,EACT,GACwB,CAC7B,CAAA;AACH,CAAC,CAAA;AAjBY,QAAA,oBAAoB,wBAiBhC;AAED,kFAAkF;AACrE,QAAA,WAAW,GAAG,sBAAe,CAAA"}
1
+ {"version":3,"file":"EmbedPluginCard.js","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAwC;AAGxC,6CAAqE;AAErE,gDAAiD;AACjD,iCAAuD;AACvD,qDAA4D;AAIrD,MAAM,kBAAkB,GAAmC,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IACrF,MAAM,EACJ,cAAc,EACd,OAAO,GAAG,EAAE,EACZ,WAAW,EACX,YAAY,GAAG,EAAE,EACjB,cAAc,GAAG,WAAW,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,KAEP,KAAK,EADJ,aAAa,kBACd,KAAK,EAVH,sIAUL,CAAQ,CAAA;IAET,OAAO,CACL,wBAAC,8BAAgB,oBACX;QACF,iBAAiB;QACjB,kBAAkB;QAClB,WAAW;QACX,SAAS;QACT,OAAO;QACP,YAAY;QACZ,cAAc;QACd,cAAc;KACf,eAED,uBAAC,4BAAoB,oBAAK,aAAa,EAAI,EAC1C,QAAQ,KACQ,CACpB,CAAA;AACH,CAAC,CAAA;AA9BY,QAAA,kBAAkB,sBA8B9B;AAEM,MAAM,oBAAoB,GAA4B,CAAC,KAAK,EAAE,EAAE;IACrE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAClD,MAAM,EAAE,cAAc,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAC9C,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IAExB,OAAO,CACL,uBAAC,0CAAyB,kBAAC,QAAQ,EAAE,SAAS,gBAC5C,uBAAC,sBAAe,kBACd,SAAS,EAAE,CAAC,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,cAAc,IAAI,OAAO,CAAC,EACzC,gBAAgB,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAC7F,EAAE,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,IACxB,KAAK,EACT,IACwB,CAC7B,CAAA;AACH,CAAC,CAAA;AAjBY,QAAA,oBAAoB,wBAiBhC;AAED,kFAAkF;AACrE,QAAA,WAAW,GAAG,sBAAe,CAAA"}
@@ -13,7 +13,7 @@ const EmbedCardHeader = () => {
13
13
  const { payload, refreshHuri, huri } = (0, contexts_1.useResolvePayload)();
14
14
  const { activePlugin, timestampLabel, hideElementsConfig } = (0, contexts_1.useEmbedPluginState)();
15
15
  const { hideAvatar, hideTitle, hideRefreshButton, hideTimestamp, hideCardActions } = hideElementsConfig !== null && hideElementsConfig !== void 0 ? hideElementsConfig : {};
16
- return ((0, jsx_runtime_1.jsx)(material_1.CardHeader, { sx: { flexWrap: 'wrap', rowGap: 1 }, avatar: hideAvatar ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})) : ((0, jsx_runtime_1.jsx)(material_1.Avatar, { sx: { bgcolor: (theme) => theme.palette.primary.main }, "aria-label": activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name, children: (_a = activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name) === null || _a === void 0 ? void 0 : _a.charAt(0) })), action: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, { flexWrap: "wrap", columnGap: 0.5, children: [(payload === null || payload === void 0 ? void 0 : payload.timestamp) ? (hideTimestamp && hideRefreshButton ? ('') : ((0, jsx_runtime_1.jsx)(material_1.Chip, { avatar: hideRefreshButton ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) : (0, jsx_runtime_1.jsx)(Refresh_1.default, {}), clickable: hideRefreshButton ? false : true, onClick: refreshHuri, label: hideTimestamp ? '' : `${timestampLabel} ${new Date(payload.timestamp).toLocaleString()}` }))) : null, hideCardActions || huri === undefined ? null : (0, jsx_runtime_1.jsx)(menu_1.EmbedMenu, {})] }), title: hideTitle ? '' : activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name }));
16
+ return ((0, jsx_runtime_1.jsx)(material_1.CardHeader, { sx: { flexWrap: 'wrap', rowGap: 1 }, avatar: hideAvatar ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})) : ((0, jsx_runtime_1.jsx)(material_1.Avatar, Object.assign({ sx: { bgcolor: (theme) => theme.palette.primary.main }, "aria-label": activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name }, { children: (_a = activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name) === null || _a === void 0 ? void 0 : _a.charAt(0) }))), action: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ flexWrap: "wrap", columnGap: 0.5 }, { children: [(payload === null || payload === void 0 ? void 0 : payload.timestamp) ? (hideTimestamp && hideRefreshButton ? ('') : ((0, jsx_runtime_1.jsx)(material_1.Chip, { avatar: hideRefreshButton ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) : (0, jsx_runtime_1.jsx)(Refresh_1.default, {}), clickable: hideRefreshButton ? false : true, onClick: refreshHuri, label: hideTimestamp ? '' : `${timestampLabel} ${new Date(payload.timestamp).toLocaleString()}` }))) : null, hideCardActions || huri === undefined ? null : (0, jsx_runtime_1.jsx)(menu_1.EmbedMenu, {})] })), title: hideTitle ? '' : activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.name }));
17
17
  };
18
18
  exports.EmbedCardHeader = EmbedCardHeader;
19
19
  //# sourceMappingURL=EmbedCardHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCardHeader.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedCardHeader.tsx"],"names":[],"mappings":";;;;;AAAA,kFAAqD;AACrD,4CAAgF;AAChF,yDAA+C;AAE/C,gDAA0E;AAC1E,kCAAmC;AAE5B,MAAM,eAAe,GAA8B,GAAG,EAAE;;IAC7D,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAC1D,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,IAAA,8BAAmB,GAAE,CAAA;IAClF,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,kBAAkB,aAAlB,kBAAkB,cAAlB,kBAAkB,GAAI,EAAE,CAAA;IAC7G,OAAO,CACL,uBAAC,qBAAU,IACT,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,EACnC,MAAM,EACJ,UAAU,CAAC,CAAC,CAAC,CACX,kDAAK,CACN,CAAC,CAAC,CAAC,CACF,uBAAC,iBAAM,IAAC,EAAE,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C,CAAC,CAAC,kDAAK,CAAC,CAAC,CAAC,uBAAC,iBAAW,KAAG,EACnD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAC3C,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,cAAc,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,cAAc,EAAE,EAAE,GAC/F,CACH,CACF,CAAC,CAAC,CAAC,IAAI,EAEP,eAAe,IAAI,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uBAAC,gBAAS,KAAG,KACrD,EAEZ,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,IAAI,GAC1C,CACH,CAAA;AACH,CAAC,CAAA;AArCY,QAAA,eAAe,mBAqC3B"}
@@ -17,7 +17,7 @@ const EmbedPluginCard = (_a) => {
17
17
  const { activePlugin: ActivePlugin, plugins, hideElementsConfig } = (0, contexts_1.useEmbedPluginState)();
18
18
  const { listMode } = (0, react_shared_1.useListMode)();
19
19
  const supportsListMode = (_e = (_d = (_c = (_b = ActivePlugin === null || ActivePlugin === void 0 ? void 0 : ActivePlugin.components) === null || _b === void 0 ? void 0 : _b.box) === null || _c === void 0 ? void 0 : _c.listModes) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0 > 1;
20
- return ((0, jsx_runtime_1.jsxs)(BusyCard_1.BusyCard, Object.assign({}, props, { children: [(hideElementsConfig === null || hideElementsConfig === void 0 ? void 0 : hideElementsConfig.hideCardHeader) ? null : (0, jsx_runtime_1.jsx)(EmbedCardHeader_1.EmbedCardHeader, {}), (plugins && plugins.length) || supportsListMode ? ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexGrowRow, { columnGap: 2, rowGap: 2, flexWrap: "wrap", pb: 1, children: [plugins && plugins.length > 1 ? (0, jsx_runtime_1.jsx)(controls_1.EmbedRenderSelect, {}) : null, supportsListMode ? (0, jsx_runtime_1.jsx)(controls_1.ListModeSelectFormControl, {}) : null] })) : null, (0, jsx_runtime_1.jsx)(material_1.CardContent, { sx: { height: '100%' }, children: ActivePlugin ? (0, jsx_runtime_1.jsx)(ActivePlugin.components.box.detailsBox, Object.assign({ payload: payload }, (supportsListMode && { listMode }))) : null })] })));
20
+ return ((0, jsx_runtime_1.jsxs)(BusyCard_1.BusyCard, Object.assign({}, props, { children: [(hideElementsConfig === null || hideElementsConfig === void 0 ? void 0 : hideElementsConfig.hideCardHeader) ? null : (0, jsx_runtime_1.jsx)(EmbedCardHeader_1.EmbedCardHeader, {}), (plugins && plugins.length) || supportsListMode ? ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexGrowRow, Object.assign({ columnGap: 2, rowGap: 2, flexWrap: "wrap", pb: 1 }, { children: [plugins && plugins.length > 1 ? (0, jsx_runtime_1.jsx)(controls_1.EmbedRenderSelect, {}) : null, supportsListMode ? (0, jsx_runtime_1.jsx)(controls_1.ListModeSelectFormControl, {}) : null] }))) : null, (0, jsx_runtime_1.jsx)(material_1.CardContent, Object.assign({ sx: { height: '100%' } }, { children: ActivePlugin ? (0, jsx_runtime_1.jsx)(ActivePlugin.components.box.detailsBox, Object.assign({ payload: payload }, (supportsListMode && { listMode }))) : null }))] })));
21
21
  };
22
22
  exports.EmbedPluginCard = EmbedPluginCard;
23
23
  //# sourceMappingURL=EmbedPluginCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedPluginCard.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/card/EmbedPluginCard.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA2C;AAC3C,yDAAmD;AACnD,4DAAuD;AAEvD,gDAA0E;AAC1E,6CAA6E;AAC7E,yCAAoD;AACpD,uDAAmD;AAE5C,MAAM,eAAe,GAA4B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C,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,uBAAC,4BAAiB,KAAG,CAAC,CAAC,CAAC,IAAI,EAC5D,gBAAgB,CAAC,CAAC,CAAC,uBAAC,oCAAyB,KAAG,CAAC,CAAC,CAAC,IAAI,KAC5C,CACf,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,sBAAW,kBAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAChC,YAAY,CAAC,CAAC,CAAC,uBAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,kBAAC,OAAO,EAAE,OAAO,IAAM,CAAC,gBAAgB,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAI,CAAC,CAAC,CAAC,IAAI,IAC/G,KACL,CACZ,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,eAAe,mBAqB3B"}
@@ -7,7 +7,7 @@ const react_error_1 = require("@xyo-network/react-error");
7
7
  const EmbedErrorCard_1 = require("./EmbedErrorCard");
8
8
  const EmbedCardApiErrorRenderer = (_a) => {
9
9
  var { xyoError, children } = _a, props = tslib_1.__rest(_a, ["xyoError", "children"]);
10
- return ((0, jsx_runtime_1.jsx)(react_error_1.ErrorRender, { error: xyoError, noReAuth: true, noErrorDisplay: true, customError: (0, jsx_runtime_1.jsx)(CustomApiErrorCard, Object.assign({ xyoError: xyoError }, props)), children: children }));
10
+ return ((0, jsx_runtime_1.jsx)(react_error_1.ErrorRender, Object.assign({ error: xyoError, noReAuth: true, noErrorDisplay: true, customError: (0, jsx_runtime_1.jsx)(CustomApiErrorCard, Object.assign({ xyoError: xyoError }, props)) }, { children: children })));
11
11
  };
12
12
  exports.EmbedCardApiErrorRenderer = EmbedCardApiErrorRenderer;
13
13
  const CustomApiErrorCard = (_a) => {
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCardApiErrorRenderer.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":";;;;;AAGA,0DAAkE;AAElE,qDAAiD;AAM1C,MAAM,yBAAyB,GAA2D,CAAC,EAAgC,EAAE,EAAE;QAApC,EAAE,QAAQ,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAA9B,wBAAgC,CAAF;IAC9H,OAAO,CACL,uBAAC,yBAAW,IAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,QAAC,cAAc,QAAC,WAAW,EAAE,uBAAC,kBAAkB,kBAAC,QAAQ,EAAE,QAAQ,IAAM,KAAK,EAAI,YACrH,QAAQ,GACG,CACf,CAAA;AACH,CAAC,CAAA;AANY,QAAA,yBAAyB,6BAMrC;AAED,MAAM,kBAAkB,GAA6C,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IACxF,OAAO,CACL,uBAAC,+BAAc,oBAAK,KAAK,cACvB,uBAAC,wBAAU,IAAC,KAAK,EAAE,QAAQ,GAAI,IAChB,CAClB,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"EmbedCardApiErrorRenderer.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":";;;;;AAGA,0DAAkE;AAElE,qDAAiD;AAM1C,MAAM,yBAAyB,GAA2D,CAAC,EAAgC,EAAE,EAAE;QAApC,EAAE,QAAQ,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAA9B,wBAAgC,CAAF;IAC9H,OAAO,CACL,uBAAC,yBAAW,kBAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,QAAC,cAAc,QAAC,WAAW,EAAE,uBAAC,kBAAkB,kBAAC,QAAQ,EAAE,QAAQ,IAAM,KAAK,EAAI,gBACrH,QAAQ,IACG,CACf,CAAA;AACH,CAAC,CAAA;AANY,QAAA,yBAAyB,6BAMrC;AAED,MAAM,kBAAkB,GAA6C,CAAC,EAAsB,EAAE,EAAE;QAA1B,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAApB,YAAsB,CAAF;IACxF,OAAO,CACL,uBAAC,+BAAc,oBAAK,KAAK,cACvB,uBAAC,wBAAU,IAAC,KAAK,EAAE,QAAQ,GAAI,IAChB,CAClB,CAAA;AACH,CAAC,CAAA"}
@@ -11,6 +11,6 @@ const EmbedErrorCard = (props) => {
11
11
  };
12
12
  exports.EmbedErrorCard = EmbedErrorCard;
13
13
  const DefaultErrorAlert = ({ alertProps, hideErrorDetails, error }) => {
14
- return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "error" }, alertProps, { children: [(0, jsx_runtime_1.jsx)(material_1.AlertTitle, { children: "Whoops! Something went wrong" }), !hideErrorDetails && error ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "caption", children: "Error: " }), (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "caption", children: error === null || error === void 0 ? void 0 : error.message })] })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "caption", fontSize: "small", children: "Error Loading Plugin" }))] })));
14
+ return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "error" }, alertProps, { children: [(0, jsx_runtime_1.jsx)(material_1.AlertTitle, { children: "Whoops! Something went wrong" }), !hideErrorDetails && error ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption" }, { children: "Error: " })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption" }, { children: error === null || error === void 0 ? void 0 : error.message }))] })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption", fontSize: "small" }, { children: "Error Loading Plugin" })))] })));
15
15
  };
16
16
  //# sourceMappingURL=EmbedErrorCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedErrorCard.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedErrorCard.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAuG;AAchG,MAAM,cAAc,GAAgD,CAAC,KAAK,EAAE,EAAE;IACnF,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,gBAAgB,GAAG,IAAI,EAAE,QAAQ,KAAmB,KAAK,EAAnB,SAAS,kBAAK,KAAK,EAA9E,uDAAsE,CAAQ,CAAA;IACpF,MAAM,UAAU,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAA;IAC1D,OAAO,CACL,uBAAC,eAAI,oBAAK,SAAS,cACjB,uBAAC,sBAAW,cAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,uBAAC,iBAAiB,oBAAK,UAAU,EAAI,GAAe,IACzE,CACR,CAAA;AACH,CAAC,CAAA;AARY,QAAA,cAAc,kBAQ1B;AAED,MAAM,iBAAiB,GAAsC,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,EAAE,EAAE;IACvG,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,OAAO,IAAK,UAAU,eACpC,uBAAC,qBAAU,+CAA0C,EACpD,CAAC,gBAAgB,IAAI,KAAK,CAAC,CAAC,CAAC,CAC5B,6DACE,uBAAC,qBAAU,IAAC,OAAO,EAAC,SAAS,wBAAqB,EAClD,uBAAC,qBAAU,IAAC,OAAO,EAAC,SAAS,YAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,GAAc,IAC1D,CACJ,CAAC,CAAC,CAAC,CACF,uBAAC,qBAAU,IAAC,OAAO,EAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,qCAEjC,CACd,KACK,CACT,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"EmbedErrorCard.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedErrorCard.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAuG;AAchG,MAAM,cAAc,GAAgD,CAAC,KAAK,EAAE,EAAE;IACnF,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,gBAAgB,GAAG,IAAI,EAAE,QAAQ,KAAmB,KAAK,EAAnB,SAAS,kBAAK,KAAK,EAA9E,uDAAsE,CAAQ,CAAA;IACpF,MAAM,UAAU,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAA;IAC1D,OAAO,CACL,uBAAC,eAAI,oBAAK,SAAS,cACjB,uBAAC,sBAAW,cAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,uBAAC,iBAAiB,oBAAK,UAAU,EAAI,GAAe,IACzE,CACR,CAAA;AACH,CAAC,CAAA;AARY,QAAA,cAAc,kBAQ1B;AAED,MAAM,iBAAiB,GAAsC,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,EAAE,EAAE;IACvG,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,OAAO,IAAK,UAAU,eACpC,uBAAC,qBAAU,+CAA0C,EACpD,CAAC,gBAAgB,IAAI,KAAK,CAAC,CAAC,CAAC,CAC5B,6DACE,uBAAC,qBAAU,kBAAC,OAAO,EAAC,SAAS,6BAAqB,EAClD,uBAAC,qBAAU,kBAAC,OAAO,EAAC,SAAS,gBAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,IAAc,IAC1D,CACJ,CAAC,CAAC,CAAC,CACF,uBAAC,qBAAU,kBAAC,OAAO,EAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,0CAEjC,CACd,KACK,CACT,CAAA;AACH,CAAC,CAAA"}
@@ -17,7 +17,7 @@ const EmbedMenu = (props) => {
17
17
  const handleClose = () => {
18
18
  setAnchorEl(null);
19
19
  };
20
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: handleClick }, props, { children: (0, jsx_runtime_1.jsx)(MoreVert_1.default, {}) })), (0, jsx_runtime_1.jsx)(material_1.Menu, { anchorEl: anchorEl, open: open, onClose: handleClose, PaperProps: { variant: 'elevation' }, MenuListProps: { dense: true }, children: (0, jsx_runtime_1.jsx)(JsonMenuItem_1.JsonMenuItem, {}) })] }));
20
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: handleClick }, props, { children: (0, jsx_runtime_1.jsx)(MoreVert_1.default, {}) })), (0, jsx_runtime_1.jsx)(material_1.Menu, Object.assign({ anchorEl: anchorEl, open: open, onClose: handleClose, PaperProps: { variant: 'elevation' }, MenuListProps: { dense: true } }, { children: (0, jsx_runtime_1.jsx)(JsonMenuItem_1.JsonMenuItem, {}) }))] }));
21
21
  };
22
22
  exports.EmbedMenu = EmbedMenu;
23
23
  //# sourceMappingURL=EmbedMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedMenu.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/EmbedMenu.tsx"],"names":[],"mappings":";;;;;AAAA,oFAAuD;AACvD,4CAAiE;AACjE,iCAAgC;AAEhC,iDAA6C;AAEtC,MAAM,SAAS,GAA8B,CAAC,KAAK,EAAE,EAAE;IAC5D,iCAAiC;IACjC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,EAAqB,IAAI,CAAC,CAAA;IAClE,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAE9B,MAAM,WAAW,GAAG,CAAC,KAA0C,EAAE,EAAE;QACjE,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;IAClC,CAAC,CAAA;IACD,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,WAAW,CAAC,IAAI,CAAC,CAAA;IACnB,CAAC,CAAA;IAED,OAAO,CACL,6DACE,uBAAC,qBAAU,kBAAC,OAAO,EAAE,WAAW,IAAM,KAAK,cACzC,uBAAC,kBAAY,KAAG,I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QAAA,SAAS,aAsBrB"}
@@ -8,7 +8,7 @@ const material_1 = require("@mui/material");
8
8
  const contexts_1 = require("../../../contexts");
9
9
  const JsonMenuItem = (props) => {
10
10
  const { huri } = (0, contexts_1.useResolvePayload)();
11
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: huri ? ((0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ title: "Source Payload JSON", onClick: () => window.open(huri, '_blank') }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.ListItemText, { sx: { mr: 1 }, children: "JSON" }), (0, jsx_runtime_1.jsx)(material_1.ListItemIcon, { sx: { justifyContent: 'end' }, children: (0, jsx_runtime_1.jsx)(OpenInNew_1.default, { fontSize: "small" }) })] }))) : null }));
11
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: huri ? ((0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ title: "Source Payload JSON", onClick: () => window.open(huri, '_blank') }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.ListItemText, Object.assign({ sx: { mr: 1 } }, { children: "JSON" })), (0, jsx_runtime_1.jsx)(material_1.ListItemIcon, Object.assign({ sx: { justifyContent: 'end' } }, { children: (0, jsx_runtime_1.jsx)(OpenInNew_1.default, { fontSize: "small" }) }))] }))) : null }));
12
12
  };
13
13
  exports.JsonMenuItem = JsonMenuItem;
14
14
  //# sourceMappingURL=JsonMenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"JsonMenuItem.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":";;;;;AAAA,sFAAyD;AACzD,4CAAmF;AAEnF,gDAAqD;AAE9C,MAAM,YAAY,GAA4B,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAEpC,OAAO,CACL,2DACG,IAAI,CAAC,CAAC,CAAC,CACN,wBAAC,mBAAQ,kBAAC,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAM,KAAK,eACzF,uBAAC,uBAAY,IAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,qBAAqB,EAChD,uBAAC,uBAAY,IAAC,EAAE,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,YACzC,uBAAC,mBAAa,IAAC,QAAQ,EAAC,OAAO,GAAG,GACrB,KACN,CACZ,CAAC,CAAC,CAAC,IAAI,GACP,CACJ,CAAA;AACH,CAAC,CAAA;AAfY,QAAA,YAAY,gBAexB"}
1
+ {"version":3,"file":"JsonMenuItem.js","sourceRoot":"","sources":["../../../../../src/components/embed-card/menu/JsonMenuItem.tsx"],"names":[],"mappings":";;;;;AAAA,sFAAyD;AACzD,4CAAmF;AAEnF,gDAAqD;AAE9C,MAAM,YAAY,GAA4B,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAA;IAEpC,OAAO,CACL,2DACG,IAAI,CAAC,CAAC,CAAC,CACN,wBAAC,mBAAQ,kBAAC,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAM,KAAK,eACzF,uBAAC,uBAAY,kBAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,0BAAqB,EAChD,uBAAC,uBAAY,kBAAC,EAAE,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,gBACzC,uBAAC,mBAAa,IAAC,QAAQ,EAAC,OAAO,GAAG,IACrB,KACN,CACZ,CAAC,CAAC,CAAC,IAAI,GACP,CACJ,CAAA;AACH,CAAC,CAAA;AAfY,QAAA,YAAY,gBAexB"}
@@ -10,7 +10,7 @@ const EmbedPluginProvider = ({ children, refreshTitle, timestampLabel, hideEleme
10
10
  (0, react_1.useEffect)(() => {
11
11
  setActivePlugin(plugins ? plugins[0] : undefined);
12
12
  }, [plugins]);
13
- return ((0, jsx_runtime_1.jsx)(Context_1.EmbedPluginContext.Provider, { value: {
13
+ return ((0, jsx_runtime_1.jsx)(Context_1.EmbedPluginContext.Provider, Object.assign({ value: {
14
14
  activePlugin,
15
15
  embedPluginConfig,
16
16
  hideElementsConfig,
@@ -18,7 +18,7 @@ const EmbedPluginProvider = ({ children, refreshTitle, timestampLabel, hideEleme
18
18
  refreshTitle,
19
19
  setActivePlugin,
20
20
  timestampLabel,
21
- }, children: children }));
21
+ } }, { children: children })));
22
22
  };
23
23
  exports.EmbedPluginProvider = EmbedPluginProvider;
24
24
  //# sourceMappingURL=Provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";;;;AAEA,iCAA2C;AAE3C,uCAA8C;AAK9C,mDAAmD;AAC5C,MAAM,mBAAmB,GAAqD,CAAC,EACpF,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,iBAAiB,GAClB,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAkC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAEnH,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACnD,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAEb,OAAO,CACL,uBAAC,4BAAkB,CAAC,QAAQ,IAC1B,KAAK,EAAE;YACL,YAAY;YACZ,iBAAiB;YACjB,kBAAkB;YAClB,QAAQ,EAAE,IAAI;YACd,YAAY;YACZ,eAAe;YACf,cAAc;SACf,YAEA,QAAQ,GACmB,CAC/B,CAAA;AACH,CAAC,CAAA;AA7BY,QAAA,mBAAmB,uBA6B/B"}
1
+ {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Provider.tsx"],"names":[],"mappings":";;;;AAEA,iCAA2C;AAE3C,uCAA8C;AAK9C,mDAAmD;AAC5C,MAAM,mBAAmB,GAAqD,CAAC,EACpF,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,iBAAiB,GAClB,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAkC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAEnH,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACnD,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAEb,OAAO,CACL,uBAAC,4BAAkB,CAAC,QAAQ,kBAC1B,KAAK,EAAE;YACL,YAAY;YACZ,iBAAiB;YACjB,kBAAkB;YAClB,QAAQ,EAAE,IAAI;YACd,YAAY;YACZ,eAAe;YACf,cAAc;SACf,gBAEA,QAAQ,IACmB,CAC/B,CAAA;AACH,CAAC,CAAA;AA7BY,QAAA,mBAAmB,uBA6B/B"}
@@ -6,7 +6,7 @@ const react_1 = require("react");
6
6
  const Context_1 = require("./Context");
7
7
  const RefreshPayloadProvider = ({ children, onRefresh, refreshPayload }) => {
8
8
  const [localRefreshPayload, setRefreshPayload] = (0, react_1.useState)(refreshPayload);
9
- return ((0, jsx_runtime_1.jsx)(Context_1.RefreshPayloadContext.Provider, { value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload }, children: children }));
9
+ return ((0, jsx_runtime_1.jsx)(Context_1.RefreshPayloadContext.Provider, Object.assign({ value: { onRefresh, provided: true, refreshPayload: localRefreshPayload, setRefreshPayload } }, { children: children })));
10
10
  };
11
11
  exports.RefreshPayloadProvider = RefreshPayloadProvider;
12
12
  //# sourceMappingURL=Provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";;;;AACA,iCAAgC;AAEhC,uCAAiD;AAO1C,MAAM,sBAAsB,GAAgD,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC7H,MAAM,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,cAAc,CAAC,CAAA;IAEzE,OAAO,CACL,uBAAC,+BAAqB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,YACzH,QAAQ,GACsB,CAClC,CAAA;AACH,CAAC,CAAA;AARY,QAAA,sBAAsB,0BAQlC"}
1
+ {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Provider.tsx"],"names":[],"mappings":";;;;AACA,iCAAgC;AAEhC,uCAAiD;AAO1C,MAAM,sBAAsB,GAAgD,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC7H,MAAM,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,cAAc,CAAC,CAAA;IAEzE,OAAO,CACL,uBAAC,+BAAqB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBACzH,QAAQ,IACsB,CAClC,CAAA;AACH,CAAC,CAAA;AARY,QAAA,sBAAsB,0BAQlC"}
@@ -50,7 +50,7 @@ const ResolvePayloadProvider = ({ children, huriPayload }) => {
50
50
  setRefreshPayload === null || setRefreshPayload === void 0 ? void 0 : setRefreshPayload(false);
51
51
  }
52
52
  };
53
- return ((0, jsx_runtime_1.jsx)(Context_1.ResolvePayloadContext.Provider, { value: { huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload }, children: children }));
53
+ return ((0, jsx_runtime_1.jsx)(Context_1.ResolvePayloadContext.Provider, Object.assign({ value: { huri, huriError, notFound, payload, provided: true, refreshHuri, setPayload } }, { children: children })));
54
54
  };
55
55
  exports.ResolvePayloadProvider = ResolvePayloadProvider;
56
56
  //# sourceMappingURL=Provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,yCAAqC;AACrC,mEAA2D;AAE3D,4CAAwC;AACxC,gDAAoE;AAEpE,iCAA2C;AAE3C,oEAA4D;AAC5D,uCAAiD;AAK1C,MAAM,sBAAsB,GAAwD,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACvH,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACjD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,GAAU,CAAA;IAC1C,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IAE5E,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAClE,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;YACnC,UAAU,CAAC,WAAW,CAAC,CAAA;YAC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AAI,EAAE,WAAW,EAAE,UAAU,EAAE,gBACnH,QAAQ,IACsB,CAClC,CAAA;AACH,CAAC,CAAA;AApDY,QAAA,sBAAsB,0BAoDlC"}
@@ -26,7 +26,7 @@ const ValidatePayloadProvider = ({ children, enabled = false }) => {
26
26
  setInitialized(true);
27
27
  }
28
28
  }), [payload, enabled]);
29
- return ((0, jsx_runtime_1.jsx)(Context_1.ValidatePayloadContext.Provider, { value: { enabled, provided: true, schema: payload === null || payload === void 0 ? void 0 : payload.schema, validPayload: valid }, children: enabled ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: initialized ? children : (0, jsx_runtime_1.jsx)(material_1.Chip, { label: "Validating Payload..." }) }) : children }));
29
+ return ((0, jsx_runtime_1.jsx)(Context_1.ValidatePayloadContext.Provider, Object.assign({ value: { enabled, provided: true, schema: payload === null || payload === void 0 ? void 0 : payload.schema, validPayload: valid } }, { children: enabled ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: initialized ? children : (0, jsx_runtime_1.jsx)(material_1.Chip, { label: "Validating Payload..." }) }) : children })));
30
30
  };
31
31
  exports.ValidatePayloadProvider = ValidatePayloadProvider;
32
32
  //# sourceMappingURL=Provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoC;AACpC,mEAA2D;AAE3D,4DAAiF;AACjF,iCAAgC;AAEhC,oEAA4D;AAC5D,uCAAkD;AAO3C,MAAM,uBAAuB,GAAyD,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE;IAC7H,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IACvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IACrD,MAAM,CAAC,KAAK,EAAE,QAA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