@xyo-network/react-chain-blockchain 1.16.2 → 1.16.3

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.
@@ -5,4 +5,8 @@ export interface BlockProducerChipProps extends ChipProps {
5
5
  block?: HydratedBlock;
6
6
  }
7
7
  export declare const BlockProducerChip: React.FC<BlockProducerChipProps>;
8
+ export declare const BlockAddressChip: React.FC<BlockProducerChipProps & {
9
+ address?: string;
10
+ toolTipTitle?: string;
11
+ }>;
8
12
  //# sourceMappingURL=ProducerChip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProducerChip.d.ts","sourceRoot":"","sources":["../../../../src/components/block/ProducerChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAM9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAkB,MAAM,OAAO,CAAA;AAUtC,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AACD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoB9D,CAAA"}
1
+ {"version":3,"file":"ProducerChip.d.ts","sourceRoot":"","sources":["../../../../src/components/block/ProducerChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAM9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAkB,MAAM,OAAO,CAAA;AAUtC,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AACD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAI9D,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAkB3G,CAAA"}
@@ -3,4 +3,7 @@ import type { BlockTableCellProps } from './lib/index.ts';
3
3
  export interface BlockNumberTableCellProps extends BlockTableCellProps {
4
4
  }
5
5
  export declare const BlockNumberTableCell: React.FC<BlockNumberTableCellProps>;
6
+ export declare const BlockNumberTableCellInner: React.FC<BlockNumberTableCellProps & {
7
+ blockNumber?: number;
8
+ }>;
6
9
  //# sourceMappingURL=BlockNumber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/BlockNumber.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEzD,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;CAAG;AAEzE,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAcpE,CAAA"}
1
+ {"version":3,"file":"BlockNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/BlockNumber.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEzD,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;CAAG;AAEzE,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAMpE,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAYpG,CAAA"}
@@ -3,4 +3,7 @@ import { type BlockTableCellProps } from './lib/index.ts';
3
3
  export interface BlockEpochTableCellProps extends BlockTableCellProps {
4
4
  }
5
5
  export declare const BlockEpochTableCell: React.FC<BlockEpochTableCellProps>;
6
+ export declare const BlockEpochTableCellInner: React.FC<BlockEpochTableCellProps & {
7
+ epoch?: number;
8
+ }>;
6
9
  //# sourceMappingURL=Epoch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Epoch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/Epoch.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EACL,KAAK,mBAAmB,EACzB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;CAAG;AAExE,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAiBlE,CAAA"}
1
+ {"version":3,"file":"Epoch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/Epoch.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EACL,KAAK,mBAAmB,EACzB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;CAAG;AAExE,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAiBlE,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAe5F,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { MouseEvent } from 'react';
1
2
  import React from 'react';
2
3
  import type { BlockProducerChipProps } from '../../ProducerChip.tsx';
3
4
  import type { BlockTableCellProps } from './lib/index.ts';
@@ -6,4 +7,11 @@ export interface BlockProducerTableCell extends BlockTableCellProps {
6
7
  producerChipProps?: BlockProducerChipProps;
7
8
  }
8
9
  export declare const BlockProducerTableCell: React.FC<BlockProducerTableCell>;
10
+ export interface BlockProducerTableCellInner extends BlockTableCellProps {
11
+ address?: string;
12
+ handleClick?: (event: MouseEvent) => void;
13
+ notAvailableDialog?: boolean;
14
+ producerChipProps?: BlockProducerChipProps;
15
+ }
16
+ export declare const BlockProducerTableCellInner: React.FC<BlockProducerTableCell & BlockProducerTableCellInner>;
9
17
  //# sourceMappingURL=Producer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Producer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/Producer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAGpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEzD,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB;IACjE,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;CAC3C;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAiBnE,CAAA"}
1
+ {"version":3,"file":"Producer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/Producer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAGpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEzD,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB;IACjE,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;CAC3C;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAiBnE,CAAA;AAED,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;CAC3C;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,GAAG,2BAA2B,CAoBtG,CAAA"}
@@ -835,22 +835,29 @@ var formatProducerAddress = /* @__PURE__ */ __name((address) => {
835
835
  const formattedAddress = toAddress(address);
836
836
  return EthAddressWrapper.parse(formattedAddress)?.toShortString(4);
837
837
  }, "formatProducerAddress");
838
- var BlockProducerChip = /* @__PURE__ */ __name(({ block, sx, ...props }) => {
838
+ var BlockProducerChip = /* @__PURE__ */ __name(({ block, ...props }) => {
839
839
  const blockProducer2 = block?.[0].addresses[0];
840
- const shortedBlockProducer = blockProducer2 === void 0 ? null : formatProducerAddress(blockProducer2);
841
- const avatar = useMemo7(() => blockProducer2 === "" ? void 0 : /* @__PURE__ */ React12.createElement(BlockiesAvatar, {
840
+ return /* @__PURE__ */ React12.createElement(BlockAddressChip, {
841
+ address: blockProducer2,
842
+ toolTipTitle: `Block producer: ${blockProducer2}`,
843
+ ...props
844
+ });
845
+ }, "BlockProducerChip");
846
+ var BlockAddressChip = /* @__PURE__ */ __name(({ address, sx, toolTipTitle, ...props }) => {
847
+ const shortedBlockProducer = address === void 0 ? null : formatProducerAddress(address);
848
+ const avatar = useMemo7(() => address === "" ? void 0 : /* @__PURE__ */ React12.createElement(BlockiesAvatar, {
842
849
  blockiesOptions: {
843
- seed: blockProducer2
850
+ seed: address
844
851
  }
845
852
  }), [
846
- blockProducer2
853
+ address
847
854
  ]);
848
855
  return /* @__PURE__ */ React12.createElement(Chip2, {
849
856
  avatar,
850
857
  label: shortedBlockProducer ?? /* @__PURE__ */ React12.createElement(ChipSkeleton, {
851
858
  width: 115
852
859
  }),
853
- title: `Block producer: ${blockProducer2}`,
860
+ title: toolTipTitle,
854
861
  sx: {
855
862
  fontFamily: "monospace",
856
863
  cursor: "pointer",
@@ -858,7 +865,7 @@ var BlockProducerChip = /* @__PURE__ */ __name(({ block, sx, ...props }) => {
858
865
  },
859
866
  ...props
860
867
  });
861
- }, "BlockProducerChip");
868
+ }, "BlockAddressChip");
862
869
 
863
870
  // src/components/block/BlockHeadingFlexbox.tsx
864
871
  var BlockHeadingFlexbox = /* @__PURE__ */ __name(({ block, defaultExpanded, transactions }) => {
@@ -916,13 +923,20 @@ import { TableCell, Tooltip, Typography as Typography3 } from "@mui/material";
916
923
  import React14 from "react";
917
924
  var BlockNumberTableCell = /* @__PURE__ */ __name(({ block, linked, ...props }) => {
918
925
  const blockNumber = block?.[0].block;
926
+ return /* @__PURE__ */ React14.createElement(BlockNumberTableCellInner, {
927
+ blockNumber,
928
+ linked,
929
+ ...props
930
+ });
931
+ }, "BlockNumberTableCell");
932
+ var BlockNumberTableCellInner = /* @__PURE__ */ __name(({ blockNumber, linked, ...props }) => {
919
933
  return /* @__PURE__ */ React14.createElement(TableCell, props, /* @__PURE__ */ React14.createElement(Tooltip, {
920
934
  title: `Block Number: ${blockNumber}`
921
935
  }, /* @__PURE__ */ React14.createElement(Typography3, {
922
936
  component: "span",
923
937
  variant: "body1"
924
938
  }, blockNumber)));
925
- }, "BlockNumberTableCell");
939
+ }, "BlockNumberTableCellInner");
926
940
 
927
941
  // src/components/block/table/cell/Epoch.tsx
928
942
  import { Skeleton as Skeleton2, TableCell as TableCell2, Tooltip as Tooltip2, Typography as Typography4 } from "@mui/material";
@@ -1002,6 +1016,18 @@ var BlockEpochTableCell = /* @__PURE__ */ __name(({ block, linked, ...props }) =
1002
1016
  width: 115
1003
1017
  }))));
1004
1018
  }, "BlockEpochTableCell");
1019
+ var BlockEpochTableCellInner = /* @__PURE__ */ __name(({ epoch, linked, ...props }) => {
1020
+ const dateTime = dateFormat.format(epoch);
1021
+ const age = isDefined3(epoch) ? timeAgo(epoch) : void 0;
1022
+ return /* @__PURE__ */ React15.createElement(TableCell2, props, /* @__PURE__ */ React15.createElement(Tooltip2, {
1023
+ title: `Block Epoch: ${dateTime}`
1024
+ }, /* @__PURE__ */ React15.createElement(Typography4, {
1025
+ component: "span",
1026
+ variant: "body1"
1027
+ }, age ?? /* @__PURE__ */ React15.createElement(Skeleton2, {
1028
+ width: 115
1029
+ }))));
1030
+ }, "BlockEpochTableCellInner");
1005
1031
 
1006
1032
  // src/components/block/table/cell/Hash.tsx
1007
1033
  import { Link, TableCell as TableCell3, Tooltip as Tooltip3 } from "@mui/material";
@@ -1134,29 +1160,38 @@ var BlockPayloadCountsTableCell = /* @__PURE__ */ __name(({ block, linked, ...pr
1134
1160
 
1135
1161
  // src/components/block/table/cell/Producer.tsx
1136
1162
  import { TableCell as TableCell6, Tooltip as Tooltip5 } from "@mui/material";
1137
- import React20 from "react";
1163
+ import React20, { useState as useState11 } from "react";
1138
1164
  var BlockProducerTableCell = /* @__PURE__ */ __name(({ block, linked, notAvailableDialog, producerChipProps, ...props }) => {
1139
1165
  const [ref, handleClick] = useLinkedBlockItem("block-producer", JSON.stringify(block));
1140
1166
  const producer = useBlockProducer(block);
1141
- const [notAvailable, setNotAvailable] = React20.useState(false);
1142
- return /* @__PURE__ */ React20.createElement(TableCell6, {
1143
- ref,
1144
- ...props
1145
- }, /* @__PURE__ */ React20.createElement(Tooltip5, {
1146
- title: `Block Producer: ${producer}`
1147
- }, /* @__PURE__ */ React20.createElement(BlockProducerChip, {
1167
+ return /* @__PURE__ */ React20.createElement(BlockProducerTableCellInner, {
1168
+ address: producer,
1169
+ handleClick,
1170
+ linked,
1171
+ notAvailableDialog,
1172
+ producerChipProps,
1173
+ ...props,
1174
+ ref
1175
+ });
1176
+ }, "BlockProducerTableCell");
1177
+ var BlockProducerTableCellInner = /* @__PURE__ */ __name(({ address, handleClick, linked, notAvailableDialog, producerChipProps, ...props }) => {
1178
+ const [notAvailable, setNotAvailable] = useState11(false);
1179
+ return /* @__PURE__ */ React20.createElement(TableCell6, props, /* @__PURE__ */ React20.createElement(Tooltip5, {
1180
+ title: `Block Producer: ${address}`
1181
+ }, /* @__PURE__ */ React20.createElement(BlockAddressChip, {
1148
1182
  sx: {
1149
1183
  cursor: "pointer"
1150
1184
  },
1151
1185
  onClick: linked ? handleClick : () => setNotAvailable(true),
1152
- block,
1186
+ address,
1187
+ toolTipTitle: `Block Producer: ${address}`,
1153
1188
  ...producerChipProps
1154
1189
  })), notAvailableDialog && notAvailable ? /* @__PURE__ */ React20.createElement(FeatureNotAvailable, {
1155
1190
  featureName: "Producer Details",
1156
1191
  open: notAvailable,
1157
1192
  onClick: /* @__PURE__ */ __name(() => setNotAvailable(false), "onClick")
1158
1193
  }) : null);
1159
- }, "BlockProducerTableCell");
1194
+ }, "BlockProducerTableCellInner");
1160
1195
 
1161
1196
  // src/components/block/table/cell/TransactionCount.tsx
1162
1197
  import { Error as Error3 } from "@mui/icons-material";
@@ -1341,7 +1376,7 @@ import React30, { memo } from "react";
1341
1376
  // src/components/chain/stats/Dialog.tsx
1342
1377
  import { QueryStats } from "@mui/icons-material";
1343
1378
  import { Dialog as Dialog3, DialogContent as DialogContent3, DialogTitle as DialogTitle3, IconButton as IconButton3 } from "@mui/material";
1344
- import React28, { useState as useState11 } from "react";
1379
+ import React28, { useState as useState12 } from "react";
1345
1380
 
1346
1381
  // src/components/chain/stats/producer/ProducerFlexbox.tsx
1347
1382
  import { ListItem, styled, Typography as Typography6 } from "@mui/material";
@@ -1416,7 +1451,7 @@ var ChainAnalyzerStatsDialog = /* @__PURE__ */ __name((props) => {
1416
1451
  }) : null)) : null));
1417
1452
  }, "ChainAnalyzerStatsDialog");
1418
1453
  var ChainAnalyzerStatsDialogFromContext = /* @__PURE__ */ __name((props) => {
1419
- const [open, setOpen] = useState11(false);
1454
+ const [open, setOpen] = useState12(false);
1420
1455
  const handleClose = /* @__PURE__ */ __name(() => setOpen(false), "handleClose");
1421
1456
  return /* @__PURE__ */ React28.createElement(React28.Fragment, null, /* @__PURE__ */ React28.createElement(IconButton3, {
1422
1457
  onClick: /* @__PURE__ */ __name(() => setOpen(true), "onClick")
@@ -1595,9 +1630,9 @@ var BlockChainPagination = /* @__PURE__ */ __name(({ count = 0, onPageChange, pa
1595
1630
  }, "BlockChainPagination");
1596
1631
 
1597
1632
  // src/components/chain/pagination/hooks/usePagination.tsx
1598
- import { useMemo as useMemo11, useState as useState12 } from "react";
1633
+ import { useMemo as useMemo11, useState as useState13 } from "react";
1599
1634
  var useChainPagination = /* @__PURE__ */ __name((pageSize, blockComponents) => {
1600
- const [page, setPage] = useState12(0);
1635
+ const [page, setPage] = useState13(0);
1601
1636
  const paginatedBlockComponents = useMemo11(() => {
1602
1637
  const startIndex = page * pageSize;
1603
1638
  const endIndex = startIndex + pageSize;
@@ -1741,9 +1776,9 @@ var StaticBlockchainRenderFlexBox = {
1741
1776
  // src/components/payload/builder/Flexbox.tsx
1742
1777
  import { FlexCol as FlexCol6 } from "@xylabs/react-flexbox";
1743
1778
  import { JsonViewerEx as JsonViewerEx2 } from "@xyo-network/react-payload-raw-info";
1744
- import React36, { useState as useState13 } from "react";
1779
+ import React36, { useState as useState14 } from "react";
1745
1780
  var PayloadBuilderFlexbox = /* @__PURE__ */ __name(({ BuilderComponent, onBuild, ...props }) => {
1746
- const [payload, setPayload] = useState13();
1781
+ const [payload, setPayload] = useState14();
1747
1782
  const onBuildLocal = /* @__PURE__ */ __name((payload2) => {
1748
1783
  onBuild?.(payload2);
1749
1784
  setPayload(payload2);
@@ -1761,13 +1796,13 @@ var PayloadBuilderFlexbox = /* @__PURE__ */ __name(({ BuilderComponent, onBuild,
1761
1796
  // src/components/payload/builder/producer-intent/Form.tsx
1762
1797
  import { Button as Button5, FormControl as FormControl5 } from "@mui/material";
1763
1798
  import { createProducerChainStakeIntent } from "@xyo-network/chain-protocol";
1764
- import React39, { useMemo as useMemo15, useState as useState16 } from "react";
1799
+ import React39, { useMemo as useMemo15, useState as useState17 } from "react";
1765
1800
 
1766
1801
  // src/components/payload/fields/BlockNumberTextField.tsx
1767
1802
  import { FormControl as FormControl3, FormHelperText as FormHelperText2, TextField as TextField3 } from "@mui/material";
1768
- import React37, { useState as useState14 } from "react";
1803
+ import React37, { useState as useState15 } from "react";
1769
1804
  var BlockNumberTextField = /* @__PURE__ */ __name(({ errorMessage, onBlockNumberChanged, onChange, ...props }) => {
1770
- const [blockNumber, setBlockNumber] = useState14();
1805
+ const [blockNumber, setBlockNumber] = useState15();
1771
1806
  const handleChange = /* @__PURE__ */ __name((e) => {
1772
1807
  const value = e.target.value.replaceAll(/\D/g, "");
1773
1808
  setBlockNumber(value.length > 0 ? Number(value) : void 0);
@@ -1793,10 +1828,10 @@ var BlockNumberTextField = /* @__PURE__ */ __name(({ errorMessage, onBlockNumber
1793
1828
  // src/components/payload/fields/XyoAddressTextField.tsx
1794
1829
  import { FormControl as FormControl4, FormHelperText as FormHelperText3, TextField as TextField4 } from "@mui/material";
1795
1830
  import { asAddress, isAddress as isAddress2 } from "@xylabs/hex";
1796
- import React38, { useMemo as useMemo14, useState as useState15 } from "react";
1831
+ import React38, { useMemo as useMemo14, useState as useState16 } from "react";
1797
1832
  var XyoAddressTextField = /* @__PURE__ */ __name(({ onAddressChanged, onChange, resetValue, ...props }) => {
1798
- const [address, setAddress] = useState15("");
1799
- const [addressError, setAddressError] = useState15();
1833
+ const [address, setAddress] = useState16("");
1834
+ const [addressError, setAddressError] = useState16();
1800
1835
  useMemo14(() => setAddress(""), [
1801
1836
  resetValue
1802
1837
  ]);
@@ -1834,10 +1869,10 @@ var XyoAddressTextField = /* @__PURE__ */ __name(({ onAddressChanged, onChange,
1834
1869
 
1835
1870
  // src/components/payload/builder/producer-intent/Form.tsx
1836
1871
  var ProducerIntentBuilderForm = /* @__PURE__ */ __name(({ onBuild }) => {
1837
- const [delegate, setDelegate] = useState16();
1838
- const [exp, setExp] = useState16();
1839
- const [nbf, setNbf] = useState16();
1840
- const [blockRangeError, setBlockRangeError] = useState16();
1872
+ const [delegate, setDelegate] = useState17();
1873
+ const [exp, setExp] = useState17();
1874
+ const [nbf, setNbf] = useState17();
1875
+ const [blockRangeError, setBlockRangeError] = useState17();
1841
1876
  const intentPayload = useMemo15(() => {
1842
1877
  if (exp !== void 0 && nbf !== void 0) {
1843
1878
  if (exp <= nbf) {
@@ -1898,7 +1933,7 @@ import React42 from "react";
1898
1933
  import { Button as Button6, FormControl as FormControl7 } from "@mui/material";
1899
1934
  import { isAddress as isAddress4 } from "@xylabs/hex";
1900
1935
  import { TransferSchema } from "@xyo-network/xl1-protocol";
1901
- import React41, { useMemo as useMemo17, useState as useState18 } from "react";
1936
+ import React41, { useMemo as useMemo17, useState as useState19 } from "react";
1902
1937
 
1903
1938
  // src/components/payload/builder/transfer/builder/SingleFlexbox.tsx
1904
1939
  import { RemoveCircle } from "@mui/icons-material";
@@ -1906,10 +1941,10 @@ import { FormControl as FormControl6, Icon as Icon3, IconButton as IconButton5 }
1906
1941
  import { isAddress as isAddress3, toHex as toHex3 } from "@xylabs/hex";
1907
1942
  import { FlexRow as FlexRow7 } from "@xylabs/react-flexbox";
1908
1943
  import { BigIntInput } from "@xyo-network/react-shared";
1909
- import React40, { useEffect as useEffect3, useMemo as useMemo16, useState as useState17 } from "react";
1944
+ import React40, { useEffect as useEffect3, useMemo as useMemo16, useState as useState18 } from "react";
1910
1945
  var SingleTransferBuilderFlexbox = /* @__PURE__ */ __name(({ onTransferUpdated, onRemoveTransfer, singleTransfer, ...props }) => {
1911
- const [toAddress3, setToAddress] = useState17();
1912
- const [amount, setAmount] = useState17();
1946
+ const [toAddress3, setToAddress] = useState18();
1947
+ const [amount, setAmount] = useState18();
1913
1948
  const transferAmount = useMemo16(() => {
1914
1949
  if (isAddress3(toAddress3) && amount !== void 0) {
1915
1950
  return {
@@ -1954,8 +1989,8 @@ var SingleTransferBuilderFlexbox = /* @__PURE__ */ __name(({ onTransferUpdated,
1954
1989
 
1955
1990
  // src/components/payload/builder/transfer/Form.tsx
1956
1991
  var TransferBuilderForm = /* @__PURE__ */ __name(({ onBuild }) => {
1957
- const [fromAddress, setFromAddress] = useState18();
1958
- const [transfers, setTransfers] = useState18([]);
1992
+ const [fromAddress, setFromAddress] = useState19();
1993
+ const [transfers, setTransfers] = useState19([]);
1959
1994
  const transferPayload = useMemo17(() => {
1960
1995
  if (isAddress4(fromAddress) && transfers.length > 0) {
1961
1996
  const transfersRecord = {};
@@ -2121,10 +2156,10 @@ import { MemoryArchivist as MemoryArchivist2 } from "@xyo-network/archivist-memo
2121
2156
  import { ArchivistConfigSchema as ArchivistConfigSchema2 } from "@xyo-network/archivist-model";
2122
2157
  import { buildRandomBlockChain as buildRandomBlockChain2 } from "@xyo-network/react-chain-shared";
2123
2158
  import { flattenHydratedBlock } from "@xyo-network/xl1-protocol-sdk";
2124
- import React44, { useEffect as useEffect5, useState as useState19 } from "react";
2159
+ import React44, { useEffect as useEffect5, useState as useState20 } from "react";
2125
2160
  var chainArchivistRef;
2126
2161
  var ChainArchivistDelayedInsertDecorator = /* @__PURE__ */ __name((Story, context) => {
2127
- const [firstBlock, setFirstBlock] = useState19();
2162
+ const [firstBlock, setFirstBlock] = useState20();
2128
2163
  const [randomBlockChain] = usePromise6(async () => await buildRandomBlockChain2(), []);
2129
2164
  const [chainArchivist] = usePromise6(async () => {
2130
2165
  if (chainArchivistRef) {
@@ -2224,18 +2259,22 @@ var ChainInfoContextDecorator = /* @__PURE__ */ __name((Story, context) => {
2224
2259
  }, /* @__PURE__ */ React45.createElement(Story, context));
2225
2260
  }, "ChainInfoContextDecorator");
2226
2261
  export {
2262
+ BlockAddressChip,
2227
2263
  BlockChainPagination,
2228
2264
  BlockChainTableRow,
2229
2265
  BlockEpochTableCell,
2266
+ BlockEpochTableCellInner,
2230
2267
  BlockHashTableCell,
2231
2268
  BlockHeadingFlexbox,
2232
2269
  BlockJsonViewTableCell,
2233
2270
  BlockListWrapperFlexBox,
2234
2271
  BlockNumberTableCell,
2272
+ BlockNumberTableCellInner,
2235
2273
  BlockNumberTextField,
2236
2274
  BlockPayloadCountsTableCell,
2237
2275
  BlockProducerChip,
2238
2276
  BlockProducerTableCell,
2277
+ BlockProducerTableCellInner,
2239
2278
  BlockTransactionCountTableCell,
2240
2279
  BlockVerificationTableCell,
2241
2280
  BlockchainTableEx,