@xyo-network/react-shared 2.27.19 → 2.27.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/cjs/components/TokenBar/TokenBar.d.ts +6 -2
  2. package/dist/cjs/components/TokenBar/TokenBar.d.ts.map +1 -1
  3. package/dist/cjs/components/TokenBar/TokenBar.js +2 -2
  4. package/dist/cjs/components/TokenBar/TokenBar.js.map +1 -1
  5. package/dist/cjs/components/TokenData/img/sol.png +0 -0
  6. package/dist/cjs/components/TokenSummary/TokenSummary.d.ts +3 -5
  7. package/dist/cjs/components/TokenSummary/TokenSummary.d.ts.map +1 -1
  8. package/dist/cjs/components/TokenSummary/TokenSummary.js +4 -4
  9. package/dist/cjs/components/TokenSummary/TokenSummary.js.map +1 -1
  10. package/dist/cjs/components/index.d.ts +1 -0
  11. package/dist/cjs/components/index.d.ts.map +1 -1
  12. package/dist/cjs/components/index.js +1 -0
  13. package/dist/cjs/components/index.js.map +1 -1
  14. package/dist/cjs/components/pluginValidation/DataMissing.d.ts +8 -0
  15. package/dist/cjs/components/pluginValidation/DataMissing.d.ts.map +1 -0
  16. package/dist/cjs/components/pluginValidation/DataMissing.js +12 -0
  17. package/dist/cjs/components/pluginValidation/DataMissing.js.map +1 -0
  18. package/dist/cjs/components/pluginValidation/index.d.ts +2 -0
  19. package/dist/cjs/components/pluginValidation/index.d.ts.map +1 -0
  20. package/dist/cjs/components/pluginValidation/index.js +5 -0
  21. package/dist/cjs/components/pluginValidation/index.js.map +1 -0
  22. package/dist/docs.json +1716 -17604
  23. package/dist/esm/components/TokenBar/TokenBar.d.ts +6 -2
  24. package/dist/esm/components/TokenBar/TokenBar.d.ts.map +1 -1
  25. package/dist/esm/components/TokenBar/TokenBar.js +3 -3
  26. package/dist/esm/components/TokenBar/TokenBar.js.map +1 -1
  27. package/dist/esm/components/TokenData/img/sol.png +0 -0
  28. package/dist/esm/components/TokenSummary/TokenSummary.d.ts +3 -5
  29. package/dist/esm/components/TokenSummary/TokenSummary.d.ts.map +1 -1
  30. package/dist/esm/components/TokenSummary/TokenSummary.js +9 -7
  31. package/dist/esm/components/TokenSummary/TokenSummary.js.map +1 -1
  32. package/dist/esm/components/index.d.ts +1 -0
  33. package/dist/esm/components/index.d.ts.map +1 -1
  34. package/dist/esm/components/index.js +1 -0
  35. package/dist/esm/components/index.js.map +1 -1
  36. package/dist/esm/components/pluginValidation/DataMissing.d.ts +8 -0
  37. package/dist/esm/components/pluginValidation/DataMissing.d.ts.map +1 -0
  38. package/dist/esm/components/pluginValidation/DataMissing.js +6 -0
  39. package/dist/esm/components/pluginValidation/DataMissing.js.map +1 -0
  40. package/dist/esm/components/pluginValidation/index.d.ts +2 -0
  41. package/dist/esm/components/pluginValidation/index.d.ts.map +1 -0
  42. package/dist/esm/components/pluginValidation/index.js +2 -0
  43. package/dist/esm/components/pluginValidation/index.js.map +1 -0
  44. package/package.json +10 -9
  45. package/src/components/TokenBar/TokenBar.stories.tsx +5 -1
  46. package/src/components/TokenBar/TokenBar.tsx +11 -4
  47. package/src/components/TokenData/img/sol.png +0 -0
  48. package/src/components/TokenSummary/TokenSummary.tsx +18 -16
  49. package/src/components/index.ts +1 -0
  50. package/src/components/pluginValidation/DataMissing.tsx +14 -0
  51. package/src/components/pluginValidation/index.ts +1 -0
@@ -1,8 +1,12 @@
1
- /// <reference types="react" />
2
- import { PaperProps } from '@mui/material';
1
+ import { PaperProps, TypographyProps } from '@mui/material';
2
+ import { ReactNode } from 'react';
3
3
  export interface TokenBarProps extends PaperProps {
4
4
  text1?: string | number;
5
+ text1Props?: TypographyProps;
6
+ text1Suffix?: ReactNode;
5
7
  text2?: string | number;
8
+ text2Props?: TypographyProps;
9
+ text2Suffix?: ReactNode;
6
10
  }
7
11
  export declare const TokenBar: React.FC<TokenBarProps>;
8
12
  //# sourceMappingURL=TokenBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenBar.d.ts","sourceRoot":"","sources":["../../../../src/components/TokenBar/TokenBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAE7D,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAa5C,CAAA"}
1
+ {"version":3,"file":"TokenBar.d.ts","sourceRoot":"","sources":["../../../../src/components/TokenBar/TokenBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAc,eAAe,EAAE,MAAM,eAAe,CAAA;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAe5C,CAAA"}
@@ -6,8 +6,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const material_1 = require("@mui/material");
7
7
  const react_flexbox_1 = require("@xylabs/react-flexbox");
8
8
  const TokenBar = (_a) => {
9
- var { text1, text2 } = _a, props = tslib_1.__rest(_a, ["text1", "text2"]);
10
- return ((0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ elevation: 0, className: "TokenBar-root" }, props, { children: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ justifyContent: "space-between" }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1", fontWeight: 300, margin: 1 }, { children: text1 })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1", fontWeight: 300, textTransform: "uppercase", color: "gray", margin: 1 }, { children: text2 }))] })) })));
9
+ var { text1, text1Props, text1Suffix, text2, text2Props, text2Suffix } = _a, props = tslib_1.__rest(_a, ["text1", "text1Props", "text1Suffix", "text2", "text2Props", "text2Suffix"]);
10
+ return ((0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ elevation: 0, className: "TokenBar-root" }, props, { children: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ justifyContent: "space-between" }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: "body1", fontWeight: 300, margin: 1 }, text1Props, { children: [text1, text1Suffix] })), (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: "body1", fontWeight: 300, textTransform: "uppercase", color: "gray", margin: 1 }, text2Props, { children: [text2, text2Suffix] }))] })) })));
11
11
  };
12
12
  exports.TokenBar = TokenBar;
13
13
  //# sourceMappingURL=TokenBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenBar.js","sourceRoot":"","sources":["../../../../src/components/TokenBar/TokenBar.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA6D;AAC7D,yDAA+C;AAMxC,MAAM,QAAQ,GAA4B,CAAC,EAA0B,EAAE,EAAE;QAA9B,EAAE,KAAK,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAxB,kBAA0B,CAAF;IACxE,OAAO,CACL,uBAAC,gBAAK,kBAAC,SAAS,EAAE,CAAC,EAAE,SAAS,EAAC,eAAe,IAAK,KAAK,cACtD,wBAAC,uBAAO,kBAAC,cAAc,EAAC,eAAe,iBACrC,uBAAC,qBAAU,kBAAC,OAAO,EAAC,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,gBACnD,KAAK,IACK,EACb,uBAAC,qBAAU,kBAAC,OAAO,EAAC,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,aAAa,EAAC,WAAW,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAE,CAAC,gBAC1F,KAAK,IACK,KACL,IACJ,CACT,CAAA;AACH,CAAC,CAAA;AAbY,QAAA,QAAQ,YAapB"}
1
+ {"version":3,"file":"TokenBar.js","sourceRoot":"","sources":["../../../../src/components/TokenBar/TokenBar.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA8E;AAC9E,yDAA+C;AAWxC,MAAM,QAAQ,GAA4B,CAAC,EAA4E,EAAE,EAAE;QAAhF,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,OAAY,EAAP,KAAK,sBAA1E,4EAA4E,CAAF;IAC1H,OAAO,CACL,uBAAC,gBAAK,kBAAC,SAAS,EAAE,CAAC,EAAE,SAAS,EAAC,eAAe,IAAK,KAAK,cACtD,wBAAC,uBAAO,kBAAC,cAAc,EAAC,eAAe,iBACrC,wBAAC,qBAAU,kBAAC,OAAO,EAAC,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,IAAM,UAAU,eACnE,KAAK,EACL,WAAW,KACD,EACb,wBAAC,qBAAU,kBAAC,OAAO,EAAC,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,aAAa,EAAC,WAAW,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAE,CAAC,IAAM,UAAU,eAC1G,KAAK,EACL,WAAW,KACD,KACL,IACJ,CACT,CAAA;AACH,CAAC,CAAA;AAfY,QAAA,QAAQ,YAepB"}
@@ -1,11 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { PaperProps } from '@mui/material';
3
- import { FlexBoxProps } from '@xylabs/react-flexbox';
4
- export interface TokenSummaryProps extends FlexBoxProps {
2
+ import { AvatarProps, CardHeaderProps } from '@mui/material';
3
+ export interface TokenSummaryProps extends CardHeaderProps {
5
4
  icon?: string;
6
5
  symbol?: string;
7
- imgBgProps?: PaperProps;
8
- imageMode?: 'circle';
6
+ imgBgProps?: AvatarProps;
9
7
  }
10
8
  export declare const TokenSummary: React.FC<TokenSummaryProps>;
11
9
  //# sourceMappingURL=TokenSummary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/TokenSummary/TokenSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAoB,MAAM,uBAAuB,CAAA;AAEtE,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,SAAS,CAAC,EAAE,QAAQ,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqBpD,CAAA"}
1
+ {"version":3,"file":"TokenSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/TokenSummary/TokenSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAU,WAAW,EAAc,eAAe,EAAwB,MAAM,eAAe,CAAA;AAEtG,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,WAAW,CAAA;CACzB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyBpD,CAAA"}
@@ -4,11 +4,11 @@ exports.TokenSummary = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const material_1 = require("@mui/material");
7
- const react_flexbox_1 = require("@xylabs/react-flexbox");
8
7
  const TokenSummary = (_a) => {
9
- var { imageMode = 'circle', imgBgProps = {}, icon, symbol, children } = _a, props = tslib_1.__rest(_a, ["imageMode", "imgBgProps", "icon", "symbol", "children"]);
10
- const paperProps = Object.assign(Object.assign({}, imgBgProps), { sx: Object.assign(Object.assign({}, imgBgProps.sx), { borderRadius: imageMode === 'circle' ? '50%' : 'inherit' }) });
11
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ className: "TokenSummary-root", paddingBottom: 3, width: "100%", justifyContent: "flex-start" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ component: react_flexbox_1.FlexCol, padding: 1, className: "token-logo-bg", height: "40px", width: "40px" }, paperProps, { children: (0, jsx_runtime_1.jsx)("img", { src: icon, height: "25px" }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6", fontWeight: 300, textTransform: "uppercase", paddingLeft: 1 }, { children: symbol }))] })), children] }));
8
+ var { imgBgProps = {}, icon, symbol, children } = _a, props = tslib_1.__rest(_a, ["imgBgProps", "icon", "symbol", "children"]);
9
+ const theme = (0, material_1.useTheme)();
10
+ const avatarProps = Object.assign(Object.assign({}, imgBgProps), { sx: Object.assign({ background: theme.palette.common.white, height: '40px', padding: theme.spacing(0.25) }, imgBgProps.sx) });
11
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.CardHeader, Object.assign({ avatar: (0, jsx_runtime_1.jsx)(material_1.Avatar, Object.assign({ src: icon, alt: symbol }, avatarProps)), title: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6", fontWeight: 300, textTransform: "uppercase" }, { children: symbol })) }, props)), children] }));
12
12
  };
13
13
  exports.TokenSummary = TokenSummary;
14
14
  //# sourceMappingURL=TokenSummary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenSummary.js","sourceRoot":"","sources":["../../../../src/components/TokenSummary/TokenSummary.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA6D;AAC7D,yDAAsE;AAS/D,MAAM,YAAY,GAAgC,CAAC,EAA2E,EAAE,EAAE;QAA/E,EAAE,SAAS,GAAG,QAAQ,EAAE,UAAU,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAAzE,yDAA2E,CAAF;IACjI,MAAM,UAAU,mCACX,UAAU,KACb,EAAE,kCACG,UAAU,CAAC,EAAE,KAChB,YAAY,EAAE,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,MAE3D,CAAA;IACD,OAAO,CACL,6DACE,wBAAC,uBAAO,kBAAC,SAAS,EAAC,mBAAmB,EAAC,aAAa,EAAE,CAAC,EAAE,KAAK,EAAC,MAAM,EAAC,cAAc,EAAC,YAAY,IAAK,KAAK,eACzG,uBAAC,gBAAK,kBAAC,SAAS,EAAE,uBAAO,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAC,eAAe,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,IAAK,UAAU,cACxG,gCAAK,GAAG,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,GAAG,IAC1B,EACR,uBAAC,qBAAU,kBAAC,OAAO,EAAC,IAAI,EAAC,UAAU,EAAE,GAAG,EAAE,aAAa,EAAC,WAAW,EAAC,WAAW,EAAE,CAAC,gBAC/E,MAAM,IACI,KACL,EACT,QAAQ,IACR,CACJ,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,YAAY,gBAqBxB"}
1
+ {"version":3,"file":"TokenSummary.js","sourceRoot":"","sources":["../../../../src/components/TokenSummary/TokenSummary.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAsG;AAQ/F,MAAM,YAAY,GAAgC,CAAC,EAAqD,EAAE,EAAE;QAAzD,EAAE,UAAU,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAAnD,4CAAqD,CAAF;IAC3G,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IACxB,MAAM,WAAW,mCACZ,UAAU,KACb,EAAE,kBACA,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EACtC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IACzB,UAAU,CAAC,EAAE,IAEnB,CAAA;IACD,OAAO,CACL,6DACE,uBAAC,qBAAU,kBACT,MAAM,EAAE,uBAAC,iBAAM,kBAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,IAAM,WAAW,EAAI,EAC3D,KAAK,EACH,uBAAC,qBAAU,kBAAC,OAAO,EAAC,IAAI,EAAC,UAAU,EAAE,GAAG,EAAE,aAAa,EAAC,WAAW,gBAChE,MAAM,IACI,IAEX,KAAK,EACT,EACD,QAAQ,IACR,CACJ,CAAA;AACH,CAAC,CAAA;AAzBY,QAAA,YAAY,gBAyBxB"}
@@ -4,6 +4,7 @@ export * from './ErrorBoundry';
4
4
  export * from './JsonRouteWrapper';
5
5
  export * from './ListItemButtonEx';
6
6
  export * from './Pipe';
7
+ export * from './pluginValidation';
7
8
  export * from './ScrollTableOnSm';
8
9
  export * from './SectionSpacingRow';
9
10
  export * from './TableCell';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./ErrorBoundry"), exports);
7
7
  tslib_1.__exportStar(require("./JsonRouteWrapper"), exports);
8
8
  tslib_1.__exportStar(require("./ListItemButtonEx"), exports);
9
9
  tslib_1.__exportStar(require("./Pipe"), exports);
10
+ tslib_1.__exportStar(require("./pluginValidation"), exports);
10
11
  tslib_1.__exportStar(require("./ScrollTableOnSm"), exports);
11
12
  tslib_1.__exportStar(require("./SectionSpacingRow"), exports);
12
13
  tslib_1.__exportStar(require("./TableCell"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,sDAA2B;AAC3B,sDAA2B;AAC3B,yDAA8B;AAC9B,6DAAkC;AAClC,6DAAkC;AAClC,iDAAsB;AACtB,4DAAiC;AACjC,8DAAmC;AACnC,sDAA2B;AAC3B,qDAA0B;AAC1B,sDAA2B;AAC3B,yDAA8B;AAC9B,yDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,sDAA2B;AAC3B,sDAA2B;AAC3B,yDAA8B;AAC9B,6DAAkC;AAClC,6DAAkC;AAClC,iDAAsB;AACtB,6DAAkC;AAClC,4DAAiC;AACjC,8DAAmC;AACnC,sDAA2B;AAC3B,qDAA0B;AAC1B,sDAA2B;AAC3B,yDAA8B;AAC9B,yDAA8B"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { AlertProps } from '@mui/material';
3
+ interface PayloadDataMissingProps extends AlertProps {
4
+ alertBody?: string;
5
+ }
6
+ export declare const PayloadDataMissing: React.FC<PayloadDataMissingProps>;
7
+ export {};
8
+ //# sourceMappingURL=DataMissing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataMissing.d.ts","sourceRoot":"","sources":["../../../../src/components/pluginValidation/DataMissing.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAA;AAE7D,UAAU,uBAAwB,SAAQ,UAAU;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAOhE,CAAA"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayloadDataMissing = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const jsx_runtime_1 = require("react/jsx-runtime");
6
+ const material_1 = require("@mui/material");
7
+ const PayloadDataMissing = (_a) => {
8
+ var { alertBody } = _a, props = tslib_1.__rest(_a, ["alertBody"]);
9
+ return ((0, jsx_runtime_1.jsxs)(material_1.Alert, Object.assign({ severity: "warning" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.AlertTitle, { children: "Missing Data" }), alertBody !== null && alertBody !== void 0 ? alertBody : 'Payload is missing required data to render correctly'] })));
10
+ };
11
+ exports.PayloadDataMissing = PayloadDataMissing;
12
+ //# sourceMappingURL=DataMissing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataMissing.js","sourceRoot":"","sources":["../../../../src/components/pluginValidation/DataMissing.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA6D;AAMtD,MAAM,kBAAkB,GAAsC,CAAC,EAAuB,EAAE,EAAE;QAA3B,EAAE,SAAS,OAAY,EAAP,KAAK,sBAArB,aAAuB,CAAF;IACzF,OAAO,CACL,wBAAC,gBAAK,kBAAC,QAAQ,EAAC,SAAS,IAAK,KAAK,eACjC,uBAAC,qBAAU,+BAA0B,EACpC,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,sDAAsD,KAC9D,CACT,CAAA;AACH,CAAC,CAAA;AAPY,QAAA,kBAAkB,sBAO9B"}
@@ -0,0 +1,2 @@
1
+ export * from './DataMissing';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pluginValidation/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DataMissing"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/pluginValidation/index.ts"],"names":[],"mappings":";;;AAAA,wDAA6B"}