@xyo-network/react-chain-blockchain 1.0.1 → 1.0.2
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.
- package/dist/browser/index.mjs +13 -13
- package/dist/browser/index.mjs.map +1 -1
- package/dist/types/components/block/BlockHeadingFlexbox.d.ts +1 -1
- package/dist/types/components/block/BlockHeadingFlexbox.d.ts.map +1 -1
- package/dist/types/components/block/ProducerChip.d.ts +2 -2
- package/dist/types/components/block/ProducerChip.d.ts.map +1 -1
- package/dist/types/components/block/helpers/blockProducer.d.ts +1 -1
- package/dist/types/components/block/helpers/blockProducer.d.ts.map +1 -1
- package/dist/types/components/block/helpers/buildBlockChainRenderComponent.d.ts +3 -3
- package/dist/types/components/block/helpers/buildBlockChainRenderComponent.d.ts.map +1 -1
- package/dist/types/components/block/helpers/tsxFromBlock.d.ts +2 -2
- package/dist/types/components/block/helpers/tsxFromBlock.d.ts.map +1 -1
- package/dist/types/components/block/hooks/useBlockProducer.d.ts +1 -1
- package/dist/types/components/block/hooks/useBlockProducer.d.ts.map +1 -1
- package/dist/types/components/block/hooks/useDynamicBlockComponents.d.ts +3 -3
- package/dist/types/components/block/hooks/useDynamicBlockComponents.d.ts.map +1 -1
- package/dist/types/components/block/hooks/useStaticBlockComponents.d.ts +3 -3
- package/dist/types/components/block/hooks/useStaticBlockComponents.d.ts.map +1 -1
- package/dist/types/components/block/hooks/useTxsFromBlock.d.ts +2 -2
- package/dist/types/components/block/hooks/useTxsFromBlock.d.ts.map +1 -1
- package/dist/types/components/block/menu/Expanded.d.ts +1 -1
- package/dist/types/components/block/menu/Expanded.d.ts.map +1 -1
- package/dist/types/components/block/table/Ex.d.ts +1 -1
- package/dist/types/components/block/table/Ex.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/BlockNumber.d.ts +1 -1
- package/dist/types/components/block/table/cell/BlockNumber.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/Hash.d.ts +2 -2
- package/dist/types/components/block/table/cell/Hash.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/JsonView.d.ts +1 -1
- package/dist/types/components/block/table/cell/JsonView.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/Producer.d.ts +2 -2
- package/dist/types/components/block/table/cell/Producer.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/TransactionCount.d.ts +2 -2
- package/dist/types/components/block/table/cell/TransactionCount.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/Verification.d.ts +1 -1
- package/dist/types/components/block/table/cell/Verification.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/hooks/useLinkedBlockItem.d.ts +2 -2
- package/dist/types/components/block/table/cell/hooks/useLinkedBlockItem.d.ts.map +1 -1
- package/dist/types/components/block/table/cell/lib/BlockTableCellProps.d.ts +2 -2
- package/dist/types/components/block/table/cell/lib/BlockTableCellProps.d.ts.map +1 -1
- package/dist/types/components/block/table/row/TableRow.d.ts +1 -1
- package/dist/types/components/block/table/row/TableRow.d.ts.map +1 -1
- package/dist/types/components/chain/controls/PollingControlsFlexbox.d.ts +2 -2
- package/dist/types/components/chain/controls/PollingControlsFlexbox.d.ts.map +1 -1
- package/dist/types/components/chain/dialog/Dialog.d.ts +1 -1
- package/dist/types/components/chain/dialog/Dialog.d.ts.map +1 -1
- package/dist/types/components/chain/hooks/useOnBlock.d.ts +1 -1
- package/dist/types/components/chain/hooks/useOnBlock.d.ts.map +1 -1
- package/dist/types/components/chain/list/Animated.d.ts +1 -1
- package/dist/types/components/chain/list/Animated.d.ts.map +1 -1
- package/dist/types/components/chain/list/TableEx.d.ts +1 -1
- package/dist/types/components/chain/list/TableEx.d.ts.map +1 -1
- package/dist/types/components/chain/pagination/BlockChainPagination.d.ts +1 -1
- package/dist/types/components/chain/pagination/BlockChainPagination.d.ts.map +1 -1
- package/dist/types/components/chain/pagination/hooks/usePagination.d.ts +2 -2
- package/dist/types/components/chain/pagination/hooks/usePagination.d.ts.map +1 -1
- package/dist/types/components/chain/render/dynamic/flexbox/Flexbox.d.ts +1 -1
- package/dist/types/components/chain/render/dynamic/flexbox/Flexbox.d.ts.map +1 -1
- package/dist/types/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.d.ts +2 -2
- package/dist/types/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.d.ts.map +1 -1
- package/dist/types/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.d.ts +2 -2
- package/dist/types/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.d.ts.map +1 -1
- package/dist/types/components/chain/render/static/flexbox/Flexbox.d.ts +1 -1
- package/dist/types/components/chain/render/static/flexbox/Flexbox.d.ts.map +1 -1
- package/dist/types/components/chain/render/static/hooks/useStaticBlockRenderComponents.d.ts +2 -2
- package/dist/types/components/chain/render/static/hooks/useStaticBlockRenderComponents.d.ts.map +1 -1
- package/dist/types/components/chain/render/static/table/Ex.d.ts +1 -1
- package/dist/types/components/chain/render/static/table/Ex.d.ts.map +1 -1
- package/dist/types/components/chain/stats/Dialog.d.ts +1 -1
- package/dist/types/components/chain/stats/Dialog.d.ts.map +1 -1
- package/dist/types/components/chain/stats/producer/ProducerFlexbox.d.ts +1 -1
- package/dist/types/components/chain/stats/producer/ProducerFlexbox.d.ts.map +1 -1
- package/dist/types/components/chain/stats/producer/Table.d.ts +2 -2
- package/dist/types/components/chain/stats/producer/Table.d.ts.map +1 -1
- package/dist/types/components/payload/builder/BuilderComponentProps.d.ts +1 -1
- package/dist/types/components/payload/builder/BuilderComponentProps.d.ts.map +1 -1
- package/dist/types/components/payload/builder/Flexbox.d.ts +3 -3
- package/dist/types/components/payload/builder/Flexbox.d.ts.map +1 -1
- package/dist/types/components/payload/builder/producer-intent/Flexbox.d.ts +1 -1
- package/dist/types/components/payload/builder/producer-intent/Flexbox.d.ts.map +1 -1
- package/dist/types/components/payload/builder/producer-intent/Form.d.ts +1 -1
- package/dist/types/components/payload/builder/producer-intent/Form.d.ts.map +1 -1
- package/dist/types/components/payload/builder/transfer/Flexbox.d.ts +1 -1
- package/dist/types/components/payload/builder/transfer/Flexbox.d.ts.map +1 -1
- package/dist/types/components/payload/builder/transfer/Form.d.ts +1 -1
- package/dist/types/components/payload/builder/transfer/Form.d.ts.map +1 -1
- package/dist/types/components/payload/builder/transfer/Transfer.d.ts +1 -1
- package/dist/types/components/payload/builder/transfer/Transfer.d.ts.map +1 -1
- package/dist/types/components/payload/builder/transfer/builder/SingleFlexbox.d.ts +2 -2
- package/dist/types/components/payload/builder/transfer/builder/SingleFlexbox.d.ts.map +1 -1
- package/dist/types/components/payload/fields/BlockNumberTextField.d.ts +1 -1
- package/dist/types/components/payload/fields/BlockNumberTextField.d.ts.map +1 -1
- package/dist/types/components/payload/fields/XyoAddressTextField.d.ts +2 -2
- package/dist/types/components/payload/fields/XyoAddressTextField.d.ts.map +1 -1
- package/dist/types/components/transactions/TransactionCountChip.d.ts +2 -2
- package/dist/types/components/transactions/TransactionCountChip.d.ts.map +1 -1
- package/dist/types/components/transactions/TransactionsQuickTipButton.d.ts +3 -3
- package/dist/types/components/transactions/TransactionsQuickTipButton.d.ts.map +1 -1
- package/dist/types/components/transactions/submit/Builder.d.ts +1 -1
- package/dist/types/components/transactions/submit/Builder.d.ts.map +1 -1
- package/dist/types/components/transactions/submit/Network.d.ts +1 -1
- package/dist/types/components/transactions/submit/Network.d.ts.map +1 -1
- package/dist/types/context/analyzer/Provider.d.ts +2 -2
- package/dist/types/context/analyzer/Provider.d.ts.map +1 -1
- package/dist/types/context/analyzer/context.d.ts +1 -1
- package/dist/types/context/analyzer/context.d.ts.map +1 -1
- package/dist/types/context/analyzer/state.d.ts +3 -3
- package/dist/types/context/analyzer/state.d.ts.map +1 -1
- package/dist/types/context/analyzer/use.d.ts +1 -1
- package/dist/types/context/analyzer/use.d.ts.map +1 -1
- package/dist/types/context/chain/Context.d.ts +1 -1
- package/dist/types/context/chain/Context.d.ts.map +1 -1
- package/dist/types/context/chain/Provider.d.ts +3 -2
- package/dist/types/context/chain/Provider.d.ts.map +1 -1
- package/dist/types/context/chain/State.d.ts +3 -3
- package/dist/types/context/chain/State.d.ts.map +1 -1
- package/dist/types/context/chain/use.d.ts +1 -1
- package/dist/types/context/chain/use.d.ts.map +1 -1
- package/dist/types/context/polling/Provider.d.ts +2 -2
- package/dist/types/context/polling/Provider.d.ts.map +1 -1
- package/dist/types/context/polling/context.d.ts +1 -1
- package/dist/types/context/polling/context.d.ts.map +1 -1
- package/dist/types/context/polling/state.d.ts +1 -1
- package/dist/types/context/polling/state.d.ts.map +1 -1
- package/dist/types/hooks/chain-iterator/ChainIteratorStore.d.ts +1 -1
- package/dist/types/hooks/chain-iterator/ChainIteratorStore.d.ts.map +1 -1
- package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts +4 -4
- package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts.map +1 -1
- package/dist/types/hooks/chain-iterator/useChainIteratorStore.d.ts +2 -2
- package/dist/types/hooks/chain-iterator/useChainIteratorStore.d.ts.map +1 -1
- package/dist/types/hooks/chain-iterator/useChainIteratorUpdatingHead.d.ts +2 -2
- package/dist/types/hooks/chain-iterator/useChainIteratorUpdatingHead.d.ts.map +1 -1
- package/dist/types/hooks/useIterateChain.d.ts +1 -1
- package/dist/types/hooks/useIterateChain.d.ts.map +1 -1
- package/dist/types/lib/getChainArchivist.d.ts +2 -2
- package/dist/types/lib/getChainArchivist.d.ts.map +1 -1
- package/dist/types/lib/getChainInformation.d.ts +2 -2
- package/dist/types/lib/getChainInformation.d.ts.map +1 -1
- package/dist/types/stories/ChainArchivistDecorator.d.ts +1 -1
- package/dist/types/stories/ChainArchivistDecorator.d.ts.map +1 -1
- package/dist/types/stories/ChainArchivistDelayedInsertDecorator.d.ts +1 -1
- package/dist/types/stories/ChainArchivistDelayedInsertDecorator.d.ts.map +1 -1
- package/dist/types/stories/ChainInfoContextDecorator.d.ts +1 -1
- package/dist/types/stories/ChainInfoContextDecorator.d.ts.map +1 -1
- package/dist/types/types/BlockComponentProps.d.ts +2 -2
- package/dist/types/types/BlockComponentProps.d.ts.map +1 -1
- package/dist/types/types/BlockComponents.d.ts +2 -2
- package/dist/types/types/BlockComponents.d.ts.map +1 -1
- package/dist/types/types/BlockListComponentProps.d.ts +1 -1
- package/dist/types/types/BlockListComponentProps.d.ts.map +1 -1
- package/dist/types/types/render/BlockChainRenderProps.d.ts +3 -3
- package/dist/types/types/render/BlockChainRenderProps.d.ts.map +1 -1
- package/dist/types/types/render/flexbox/BlockChainRenderFlexboxProps.d.ts +3 -3
- package/dist/types/types/render/flexbox/BlockChainRenderFlexboxProps.d.ts.map +1 -1
- package/dist/types/types/render/flexbox/RenderFlexboxProps.d.ts +2 -2
- package/dist/types/types/render/flexbox/RenderFlexboxProps.d.ts.map +1 -1
- package/dist/types/types/render/table/BlockChainRenderTableExProps.d.ts +3 -3
- package/dist/types/types/render/table/BlockChainRenderTableExProps.d.ts.map +1 -1
- package/dist/types/types/render/table/RenderTableProps.d.ts +2 -2
- package/dist/types/types/render/table/RenderTableProps.d.ts.map +1 -1
- package/eslint.config.mjs +1 -0
- package/package.json +14 -14
- package/src/components/block/BlockHeadingFlexbox.stories.tsx +4 -3
- package/src/components/block/BlockHeadingFlexbox.tsx +3 -3
- package/src/components/block/ProducerChip.tsx +3 -2
- package/src/components/block/helpers/blockProducer.ts +1 -1
- package/src/components/block/helpers/buildBlockChainRenderComponent.tsx +3 -3
- package/src/components/block/helpers/tsxFromBlock.ts +3 -2
- package/src/components/block/hooks/useBlockProducer.ts +1 -1
- package/src/components/block/hooks/useDynamicBlockComponents.ts +5 -5
- package/src/components/block/hooks/useStaticBlockComponents.ts +3 -3
- package/src/components/block/hooks/useTxsFromBlock.ts +2 -2
- package/src/components/block/menu/Expanded.tsx +1 -1
- package/src/components/block/table/Ex.stories.tsx +5 -3
- package/src/components/block/table/Ex.tsx +2 -1
- package/src/components/block/table/cell/BlockNumber.tsx +1 -1
- package/src/components/block/table/cell/Hash.tsx +3 -2
- package/src/components/block/table/cell/JsonView.tsx +1 -1
- package/src/components/block/table/cell/Producer.tsx +3 -2
- package/src/components/block/table/cell/TransactionCount.tsx +2 -2
- package/src/components/block/table/cell/Verification.tsx +2 -2
- package/src/components/block/table/cell/hooks/useLinkedBlockItem.tsx +2 -2
- package/src/components/block/table/cell/lib/BlockTableCellProps.ts +2 -2
- package/src/components/block/table/row/TableRow.stories.tsx +2 -2
- package/src/components/block/table/row/TableRow.tsx +1 -1
- package/src/components/chain/controls/PollingControlsFlexbox.tsx +3 -2
- package/src/components/chain/dialog/Dialog.tsx +2 -1
- package/src/components/chain/hooks/useOnBlock.ts +1 -1
- package/src/components/chain/list/Animated.tsx +1 -1
- package/src/components/chain/list/TableEx.tsx +1 -1
- package/src/components/chain/pagination/BlockChainPagination.tsx +2 -1
- package/src/components/chain/pagination/hooks/usePagination.tsx +3 -4
- package/src/components/chain/render/dynamic/flexbox/Flexbox.stories.tsx +1 -1
- package/src/components/chain/render/dynamic/flexbox/Flexbox.tsx +4 -5
- package/src/components/chain/render/dynamic/flexbox/Remote.stories.tsx +2 -2
- package/src/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.ts +3 -2
- package/src/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.ts +2 -2
- package/src/components/chain/render/static/flexbox/Flexbox.stories.tsx +1 -1
- package/src/components/chain/render/static/flexbox/Flexbox.tsx +4 -3
- package/src/components/chain/render/static/hooks/useStaticBlockRenderComponents.ts +3 -2
- package/src/components/chain/render/static/table/Ex.stories.tsx +1 -1
- package/src/components/chain/render/static/table/Ex.tsx +1 -1
- package/src/components/chain/stats/Dialog.tsx +2 -1
- package/src/components/chain/stats/producer/ProducerFlexbox.tsx +2 -2
- package/src/components/chain/stats/producer/Table.tsx +3 -2
- package/src/components/payload/builder/BuilderComponentProps.ts +1 -1
- package/src/components/payload/builder/Flexbox.tsx +6 -4
- package/src/components/payload/builder/producer-intent/Flexbox.stories.tsx +1 -1
- package/src/components/payload/builder/producer-intent/Flexbox.tsx +1 -1
- package/src/components/payload/builder/producer-intent/Form.tsx +5 -6
- package/src/components/payload/builder/transfer/Flexbox.stories.tsx +1 -1
- package/src/components/payload/builder/transfer/Flexbox.tsx +1 -1
- package/src/components/payload/builder/transfer/Form.tsx +7 -7
- package/src/components/payload/builder/transfer/Transfer.ts +1 -1
- package/src/components/payload/builder/transfer/builder/SingleFlexbox.tsx +5 -3
- package/src/components/payload/fields/BlockNumberTextField.tsx +4 -2
- package/src/components/payload/fields/XyoAddressTextField.tsx +4 -2
- package/src/components/transactions/TransactionCountChip.tsx +3 -4
- package/src/components/transactions/TransactionsQuickTipButton.tsx +5 -4
- package/src/components/transactions/submit/Builder.tsx +2 -2
- package/src/components/transactions/submit/Network.tsx +4 -2
- package/src/components/transactions/submit/SubmitChain.stories.tsx +1 -1
- package/src/components/transactions/submit/SubmitChain.tsx +5 -5
- package/src/context/analyzer/Provider.tsx +5 -4
- package/src/context/analyzer/context.ts +1 -1
- package/src/context/analyzer/state.ts +3 -3
- package/src/context/analyzer/use.ts +1 -1
- package/src/context/chain/Context.ts +1 -1
- package/src/context/chain/Provider.tsx +2 -2
- package/src/context/chain/State.ts +3 -3
- package/src/context/chain/use.ts +1 -1
- package/src/context/polling/Provider.tsx +3 -2
- package/src/context/polling/context.ts +1 -1
- package/src/context/polling/state.ts +1 -1
- package/src/hooks/chain-iterator/ChainIteratorStore.ts +1 -1
- package/src/hooks/chain-iterator/useChainIteratorParams.ts +5 -4
- package/src/hooks/chain-iterator/useChainIteratorStore.ts +3 -2
- package/src/hooks/chain-iterator/useChainIteratorUpdatingHead.ts +3 -3
- package/src/hooks/useIterateChain.ts +3 -4
- package/src/lib/getChainArchivist.ts +5 -5
- package/src/lib/getChainInformation.ts +2 -2
- package/src/stories/ChainArchivistDecorator.tsx +3 -3
- package/src/stories/ChainArchivistDelayedInsertDecorator.tsx +5 -4
- package/src/stories/ChainInfoContextDecorator.tsx +4 -5
- package/src/stories/buildRandomBlockchain.ts +2 -2
- package/src/types/BlockComponentProps.ts +2 -2
- package/src/types/BlockComponents.ts +2 -2
- package/src/types/BlockListComponentProps.ts +1 -1
- package/src/types/render/BlockChainRenderProps.ts +3 -3
- package/src/types/render/flexbox/BlockChainRenderFlexboxProps.ts +3 -3
- package/src/types/render/flexbox/RenderFlexboxProps.ts +2 -2
- package/src/types/render/table/BlockChainRenderTableExProps.ts +3 -3
- package/src/types/render/table/RenderTableProps.ts +2 -2
- package/xy.config.ts +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { FlexBoxProps
|
|
2
|
-
import {
|
|
1
|
+
import type { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
2
|
+
import { FlexCol } from '@xylabs/react-flexbox'
|
|
3
|
+
import type { Payload } from '@xyo-network/payload-model'
|
|
3
4
|
import { JsonViewerEx } from '@xyo-network/react-payload-raw-info'
|
|
4
|
-
import { ComponentType
|
|
5
|
+
import type { ComponentType } from 'react'
|
|
6
|
+
import { useState } from 'react'
|
|
5
7
|
|
|
6
|
-
import { PayloadBuilderComponentProps } from './BuilderComponentProps.ts'
|
|
8
|
+
import type { PayloadBuilderComponentProps } from './BuilderComponentProps.ts'
|
|
7
9
|
|
|
8
10
|
export interface PayloadBuilderFlexboxProps extends PayloadBuilderComponentProps, FlexBoxProps {
|
|
9
11
|
BuilderComponent: ComponentType<PayloadBuilderComponentProps>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
|
|
1
|
+
import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
|
|
2
2
|
import { PayloadBuilderFlexbox } from '../Flexbox.tsx'
|
|
3
3
|
import { ProducerIntentBuilderForm } from './Form.tsx'
|
|
4
4
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Button, FormControl } from '@mui/material'
|
|
2
|
+
import type { Address } from '@xylabs/hex'
|
|
2
3
|
import { createProducerChainStakeIntent } from '@xyo-network/chain-ethereum'
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
} from 'react'
|
|
4
|
+
import type { ChainStakeIntent } from '@xyo-network/chain-model'
|
|
5
|
+
import type { MouseEventHandler } from 'react'
|
|
6
|
+
import React, { useMemo, useState } from 'react'
|
|
7
7
|
|
|
8
8
|
import { BlockNumberTextField, XyoAddressTextField } from '../../fields/index.ts'
|
|
9
|
-
import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
|
|
10
|
-
import { ChainStakeIntent } from '@xyo-network/chain-model'
|
|
9
|
+
import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
|
|
11
10
|
|
|
12
11
|
export interface ProducerIntentBuilderFormProps extends PayloadBuilderComponentProps {}
|
|
13
12
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Button, FormControl } from '@mui/material'
|
|
2
|
+
import type { Address } from '@xylabs/hex'
|
|
3
|
+
import type { Elevated, Transfer } from '@xyo-network/chain-model'
|
|
2
4
|
import {
|
|
3
|
-
elevate,
|
|
5
|
+
elevate,
|
|
4
6
|
TransferSchema,
|
|
5
7
|
} from '@xyo-network/chain-model'
|
|
6
|
-
import {
|
|
7
|
-
import React, {
|
|
8
|
-
MouseEventHandler, useMemo, useState,
|
|
9
|
-
} from 'react'
|
|
8
|
+
import type { MouseEventHandler } from 'react'
|
|
9
|
+
import React, { useMemo, useState } from 'react'
|
|
10
10
|
|
|
11
11
|
import { XyoAddressTextField } from '../../fields/index.ts'
|
|
12
|
-
import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
|
|
12
|
+
import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
|
|
13
13
|
import { SingleTransferBuilderFlexbox } from './builder/index.ts'
|
|
14
|
-
import { TransferAmount } from './Transfer.ts'
|
|
14
|
+
import type { TransferAmount } from './Transfer.ts'
|
|
15
15
|
|
|
16
16
|
export interface TransferBuilderFormProps extends PayloadBuilderComponentProps {}
|
|
17
17
|
|
|
@@ -2,15 +2,17 @@ import { RemoveCircle } from '@mui/icons-material'
|
|
|
2
2
|
import {
|
|
3
3
|
FormControl, Icon, IconButton,
|
|
4
4
|
} from '@mui/material'
|
|
5
|
-
import { Address
|
|
6
|
-
import {
|
|
5
|
+
import type { Address } from '@xylabs/hex'
|
|
6
|
+
import { toHex } from '@xylabs/hex'
|
|
7
|
+
import type { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
8
|
+
import { FlexRow } from '@xylabs/react-flexbox'
|
|
7
9
|
import { BigIntInput } from '@xyo-network/react-shared'
|
|
8
10
|
import {
|
|
9
11
|
useEffect, useMemo, useState,
|
|
10
12
|
} from 'react'
|
|
11
13
|
|
|
12
14
|
import { XyoAddressTextField } from '../../../fields/index.ts'
|
|
13
|
-
import { TransferAmount } from '../Transfer.ts'
|
|
15
|
+
import type { TransferAmount } from '../Transfer.ts'
|
|
14
16
|
|
|
15
17
|
export interface SingleTransferBuilderFlexboxProps extends FlexBoxProps {
|
|
16
18
|
onRemoveTransfer?: (transferId: number) => void
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { StandardTextFieldProps, Theme } from '@mui/material'
|
|
1
2
|
import {
|
|
2
|
-
FormControl, FormHelperText,
|
|
3
|
+
FormControl, FormHelperText, TextField,
|
|
3
4
|
} from '@mui/material'
|
|
4
|
-
import
|
|
5
|
+
import type { ChangeEventHandler } from 'react'
|
|
6
|
+
import React, { useState } from 'react'
|
|
5
7
|
|
|
6
8
|
interface BlockNumberTextFieldProps extends StandardTextFieldProps {
|
|
7
9
|
errorMessage?: string
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { StandardTextFieldProps, Theme } from '@mui/material'
|
|
1
2
|
import {
|
|
2
|
-
FormControl, FormHelperText,
|
|
3
|
+
FormControl, FormHelperText, TextField,
|
|
3
4
|
} from '@mui/material'
|
|
4
|
-
import { Address
|
|
5
|
+
import type { Address } from '@xylabs/hex'
|
|
6
|
+
import { asAddress } from '@xylabs/hex'
|
|
5
7
|
import React, { useEffect, useState } from 'react'
|
|
6
8
|
|
|
7
9
|
interface XyoAddressTextFieldProps extends Omit<StandardTextFieldProps, 'value'> {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Difference } from '@mui/icons-material'
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
} from '@
|
|
5
|
-
import { Hash } from '@xylabs/hex'
|
|
2
|
+
import type { ChipProps } from '@mui/material'
|
|
3
|
+
import { Chip, Icon } from '@mui/material'
|
|
4
|
+
import type { Hash } from '@xylabs/hex'
|
|
6
5
|
import { useMemo } from 'react'
|
|
7
6
|
|
|
8
7
|
export interface TransactionCountChipProps extends ChipProps {
|
|
@@ -2,14 +2,15 @@ import { ContentCopy as ContentCopyIcon, Paid } from '@mui/icons-material'
|
|
|
2
2
|
import {
|
|
3
3
|
Alert, AlertTitle, Collapse, Snackbar, Typography,
|
|
4
4
|
} from '@mui/material'
|
|
5
|
-
import {
|
|
6
|
-
import { Hash } from '@xylabs/hex'
|
|
5
|
+
import type { Hash } from '@xylabs/hex'
|
|
7
6
|
import { ErrorRender } from '@xylabs/react-error'
|
|
8
7
|
import {
|
|
9
8
|
FlexGrowCol, FlexGrowRow, FlexRow,
|
|
10
9
|
} from '@xylabs/react-flexbox'
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import type { QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
|
|
11
|
+
import { QuickTipButton } from '@xylabs/react-quick-tip-button'
|
|
12
|
+
import type { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
13
|
+
import type { BlockBoundWitness } from '@xyo-network/chain-model'
|
|
13
14
|
import React, {
|
|
14
15
|
Fragment, useMemo, useState,
|
|
15
16
|
} from 'react'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button, FormControl, TextField,
|
|
3
3
|
} from '@mui/material'
|
|
4
|
-
import {
|
|
5
|
-
import { Address, Hex } from '@xylabs/hex'
|
|
4
|
+
import type { Address, Hex } from '@xylabs/hex'
|
|
6
5
|
import { FlexCol } from '@xylabs/react-flexbox'
|
|
6
|
+
import type { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
|
|
7
7
|
import React from 'react'
|
|
8
8
|
|
|
9
9
|
export interface ChainTransactionBuilder {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { StandardTextFieldProps } from '@mui/material'
|
|
1
2
|
import {
|
|
2
|
-
FormControl, FormHelperText,
|
|
3
|
+
FormControl, FormHelperText,
|
|
3
4
|
TextField,
|
|
4
5
|
} from '@mui/material'
|
|
5
|
-
import
|
|
6
|
+
import type { ChangeEventHandler } from 'react'
|
|
7
|
+
import React, { useState } from 'react'
|
|
6
8
|
|
|
7
9
|
export interface ChainTransactionNetworkProps extends StandardTextFieldProps {
|
|
8
10
|
network?: URL
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
Alert, Grid2, Typography,
|
|
3
3
|
} from '@mui/material'
|
|
4
4
|
import { axios } from '@xylabs/axios'
|
|
5
|
-
import { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
|
|
6
|
-
import { buildTransaction } from '@xyo-network/chain-protocol'
|
|
7
5
|
import { ErrorRender } from '@xylabs/react-error'
|
|
8
6
|
import { FlexGrowCol } from '@xylabs/react-flexbox'
|
|
9
7
|
import { Account } from '@xyo-network/account'
|
|
10
|
-
import { ApiEnvelope } from '@xyo-network/api-models'
|
|
8
|
+
import type { ApiEnvelope } from '@xyo-network/api-models'
|
|
11
9
|
import { ArchivistInsertQuerySchema } from '@xyo-network/archivist-model'
|
|
12
10
|
import { QueryBoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
|
|
13
|
-
import {
|
|
11
|
+
import type { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
|
|
12
|
+
import { buildTransaction } from '@xyo-network/chain-protocol'
|
|
13
|
+
import type { ModuleQueryResult } from '@xyo-network/module-model'
|
|
14
14
|
import { PayloadBuilder } from '@xyo-network/payload-builder'
|
|
15
|
-
import { Payload } from '@xyo-network/payload-model'
|
|
15
|
+
import type { Payload } from '@xyo-network/payload-model'
|
|
16
16
|
import React, { useState } from 'react'
|
|
17
17
|
|
|
18
18
|
import { ChainTransactionBuilder } from './Builder.tsx'
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReadArchivist } from '@xyo-network/archivist-model'
|
|
2
|
+
import type { BlockBoundWitness } from '@xyo-network/chain-model'
|
|
2
3
|
import { hydrateBlock } from '@xyo-network/chain-protocol'
|
|
3
|
-
import { ReadArchivist } from '@xyo-network/archivist-model'
|
|
4
4
|
import { PayloadBuilder } from '@xyo-network/payload-builder'
|
|
5
|
+
import type { PropsWithChildren } from 'react'
|
|
5
6
|
import {
|
|
6
|
-
|
|
7
|
+
useCallback, useMemo, useState,
|
|
7
8
|
} from 'react'
|
|
8
9
|
|
|
9
10
|
import { ChainAnalyzersContext } from './context.ts'
|
|
10
|
-
import { ChainAnalyzers, ChainAnalyzersState } from './state.ts'
|
|
11
|
+
import type { ChainAnalyzers, ChainAnalyzersState } from './state.ts'
|
|
11
12
|
|
|
12
13
|
export interface ChainAnalyzersProviderProps extends PropsWithChildren {
|
|
13
14
|
analyzers?: ChainAnalyzers
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ContextExState } from '@xyo-network/react-shared'
|
|
1
|
+
import type { ReadArchivist } from '@xyo-network/archivist-model'
|
|
2
|
+
import type { BlockBoundWitness, ChainAnalyzer } from '@xyo-network/chain-model'
|
|
3
|
+
import type { ContextExState } from '@xyo-network/react-shared'
|
|
4
4
|
|
|
5
5
|
export type ChainAnalyzerIds = 'producers'
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContextEx } from '@xyo-network/react-shared'
|
|
2
2
|
|
|
3
3
|
import { ChainAnalyzersContext } from './context.ts'
|
|
4
|
-
import { ChainAnalyzersState } from './state.ts'
|
|
4
|
+
import type { ChainAnalyzersState } from './state.ts'
|
|
5
5
|
|
|
6
6
|
export const useChainAnalyzersContext = (required = false) => useContextEx<ChainAnalyzersState>(ChainAnalyzersContext, 'ChainAnalyzers', required)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react'
|
|
1
2
|
import React, {
|
|
2
|
-
PropsWithChildren,
|
|
3
3
|
useEffect, useMemo, useState,
|
|
4
4
|
} from 'react'
|
|
5
5
|
|
|
6
6
|
import { ChainInfoContext } from './Context.ts'
|
|
7
|
-
import { ChainInfoState } from './State.ts'
|
|
7
|
+
import type { ChainInfoState } from './State.ts'
|
|
8
8
|
|
|
9
9
|
interface ChainInfoProviderProps extends PropsWithChildren, Omit<ChainInfoState, 'provided'> {
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ContextExState } from '@xyo-network/react-shared'
|
|
1
|
+
import type { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
2
|
+
import type { ChainBlockNumberIterator, ChainInformation } from '@xyo-network/chain-model'
|
|
3
|
+
import type { ContextExState } from '@xyo-network/react-shared'
|
|
4
4
|
|
|
5
5
|
export interface ChainInfoState extends ContextExState {
|
|
6
6
|
chainArchivist?: ArchivistInstance
|
package/src/context/chain/use.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContextEx } from '@xyo-network/react-shared'
|
|
2
2
|
|
|
3
3
|
import { ChainInfoContext } from './Context.ts'
|
|
4
|
-
import { ChainInfoState } from './State.ts'
|
|
4
|
+
import type { ChainInfoState } from './State.ts'
|
|
5
5
|
|
|
6
6
|
export const useChainInfo = (required = false) => useContextEx<ChainInfoState>(ChainInfoContext, 'ChainState', required)
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react'
|
|
1
2
|
import {
|
|
2
|
-
|
|
3
|
+
useCallback, useMemo, useState,
|
|
3
4
|
} from 'react'
|
|
4
5
|
|
|
5
6
|
import { ChainPollingContext } from './context.ts'
|
|
6
|
-
import { ChainPollingState, PollingState } from './state.ts'
|
|
7
|
+
import type { ChainPollingState, PollingState } from './state.ts'
|
|
7
8
|
|
|
8
9
|
export interface ChainPollingProviderProps extends PropsWithChildren {
|
|
9
10
|
pollingState?: PollingState
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
|
-
import {
|
|
3
|
-
import { Hash } from '@xylabs/hex'
|
|
2
|
+
import type { Hash } from '@xylabs/hex'
|
|
4
3
|
import { usePromise } from '@xylabs/react-promise'
|
|
5
|
-
import { ReadArchivist } from '@xyo-network/archivist-model'
|
|
4
|
+
import type { ReadArchivist } from '@xyo-network/archivist-model'
|
|
6
5
|
import { BoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
|
|
6
|
+
import type { BlockBoundWitness } from '@xyo-network/chain-model'
|
|
7
|
+
import { isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
7
8
|
|
|
8
|
-
import { BlockChainIterator } from '../../types/index.ts'
|
|
9
|
+
import type { BlockChainIterator } from '../../types/index.ts'
|
|
9
10
|
|
|
10
11
|
export const resolveDefinedHead = async (head: Hash, chainArchivist: ReadArchivist) => {
|
|
11
12
|
// get the head from the chain archivist
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { XyoChainIteratorParams } from '@xyo-network/chain-model'
|
|
2
1
|
import { usePromise } from '@xylabs/react-promise'
|
|
2
|
+
import type { XyoChainIteratorParams } from '@xyo-network/chain-model'
|
|
3
3
|
import {
|
|
4
4
|
useEffect,
|
|
5
5
|
useMemo, useRef, useSyncExternalStore,
|
|
6
6
|
} from 'react'
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import type { ChainIteratorStoreValues } from './ChainIteratorStore.ts'
|
|
9
|
+
import { ChainIteratorStore } from './ChainIteratorStore.ts'
|
|
9
10
|
import { useChainIteratorUpdatingHead } from './useChainIteratorUpdatingHead.ts'
|
|
10
11
|
|
|
11
12
|
const stub = {} as Partial<ChainIteratorStoreValues>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChainBlockNumberIterator } from '@xyo-network/chain-model'
|
|
2
|
-
import { findMostRecentBlock } from '@xyo-network/chain-protocol'
|
|
3
1
|
import { toHex } from '@xylabs/hex'
|
|
4
|
-
import { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
2
|
+
import type { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
3
|
+
import type { ChainBlockNumberIterator } from '@xyo-network/chain-model'
|
|
4
|
+
import { findMostRecentBlock } from '@xyo-network/chain-protocol'
|
|
5
5
|
import { useEffect, useState } from 'react'
|
|
6
6
|
|
|
7
7
|
export interface ChainIteratorUpdatingHeadParams {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
|
-
import {
|
|
3
|
-
BlockBoundWitness, isBlockBoundWitness, XyoChainIteratorParams,
|
|
4
|
-
} from '@xyo-network/chain-model'
|
|
5
|
-
import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
|
|
6
2
|
import { usePromise } from '@xylabs/react-promise'
|
|
3
|
+
import type { BlockBoundWitness, XyoChainIteratorParams } from '@xyo-network/chain-model'
|
|
4
|
+
import { isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
5
|
+
import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
|
|
7
6
|
|
|
8
7
|
const iterateChain = async (chainIteratorParams?: XyoChainIteratorParams, maxDepth?: number) => {
|
|
9
8
|
const { chainArchivist, head } = chainIteratorParams ?? {} as XyoChainIteratorParams
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
|
-
import { ArchivistInstance
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
} from '@xyo-network/bridge-http'
|
|
6
|
-
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
2
|
+
import type { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
3
|
+
import { asArchivistInstance } from '@xyo-network/archivist-model'
|
|
4
|
+
import type { HttpBridgeConfig } from '@xyo-network/bridge-http'
|
|
5
|
+
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
6
|
+
import type { ModuleIdentifier } from '@xyo-network/module-model'
|
|
7
7
|
|
|
8
8
|
export interface BridgedChainArchivistParams {
|
|
9
9
|
chainArchivistModuleId: ModuleIdentifier
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Promisable } from '@xylabs/promise'
|
|
2
|
+
import type { ChainInformation } from '@xyo-network/chain-model'
|
|
3
3
|
|
|
4
4
|
const id = 'ce080bf3043a40c6c8838c7e813c00ab53df1684'
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CircularProgress } from '@mui/material'
|
|
2
|
-
import { Decorator } from '@storybook/react'
|
|
3
|
-
import { isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
2
|
+
import type { Decorator } from '@storybook/react'
|
|
4
3
|
import { usePromise } from '@xylabs/react-promise'
|
|
5
4
|
import { MemoryArchivist } from '@xyo-network/archivist-memory'
|
|
6
5
|
import { ArchivistConfigSchema } from '@xyo-network/archivist-model'
|
|
6
|
+
import { isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
7
7
|
import { useEffect } from 'react'
|
|
8
8
|
|
|
9
9
|
import { getChainInformation } from '../lib/index.ts'
|
|
10
|
-
import { BlockChainRenderBaseProps } from '../types/index.ts'
|
|
10
|
+
import type { BlockChainRenderBaseProps } from '../types/index.ts'
|
|
11
11
|
import { buildRandomBlockChain } from './buildRandomBlockchain.ts'
|
|
12
12
|
|
|
13
13
|
export const ChainArchivistDecorator: Decorator = (Story, context) => {
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { CircularProgress } from '@mui/material'
|
|
2
|
-
import { Decorator } from '@storybook/react'
|
|
3
|
-
import { BlockBoundWitness, isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
2
|
+
import type { Decorator } from '@storybook/react'
|
|
4
3
|
import { delay } from '@xylabs/delay'
|
|
5
4
|
import { usePromise } from '@xylabs/react-promise'
|
|
6
5
|
import { MemoryArchivist } from '@xyo-network/archivist-memory'
|
|
7
6
|
import { ArchivistConfigSchema } from '@xyo-network/archivist-model'
|
|
8
|
-
import {
|
|
7
|
+
import type { BlockBoundWitness } from '@xyo-network/chain-model'
|
|
8
|
+
import { isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
9
|
+
import type { Payload } from '@xyo-network/payload-model'
|
|
9
10
|
import { useEffect, useState } from 'react'
|
|
10
11
|
|
|
11
12
|
import { getChainInformation } from '../lib/index.ts'
|
|
12
|
-
import { BlockChainRenderBaseProps } from '../types/index.ts'
|
|
13
|
+
import type { BlockChainRenderBaseProps } from '../types/index.ts'
|
|
13
14
|
import { buildRandomBlockChain } from './buildRandomBlockchain.ts'
|
|
14
15
|
|
|
15
16
|
let chainArchivistRef: MemoryArchivist | undefined
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { Decorator } from '@storybook/react'
|
|
1
|
+
import type { Decorator } from '@storybook/react'
|
|
2
2
|
import { assertEx } from '@xylabs/assert'
|
|
3
|
+
import { usePromise } from '@xylabs/react-promise'
|
|
3
4
|
import { isBlockBoundWitness } from '@xyo-network/chain-model'
|
|
4
5
|
import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
|
|
5
6
|
import { findFirstMatching } from '@xyo-network/chain-utils'
|
|
6
|
-
import { usePromise } from '@xylabs/react-promise'
|
|
7
7
|
|
|
8
8
|
import { ChainInfoProvider } from '../context/index.ts'
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
} from '../lib/index.ts'
|
|
9
|
+
import type { BridgedChainArchivistParams } from '../lib/index.ts'
|
|
10
|
+
import { getChainArchivistFromBridge, getChainInformation } from '../lib/index.ts'
|
|
12
11
|
|
|
13
12
|
const archivistConfig: BridgedChainArchivistParams = {
|
|
14
13
|
url: 'http://localhost:8080',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Account } from '@xyo-network/account'
|
|
1
2
|
import { buildRandomChain } from '@xyo-network/chain-ethereum'
|
|
2
|
-
import { HydratedBlock } from '@xyo-network/chain-model'
|
|
3
|
+
import type { HydratedBlock } from '@xyo-network/chain-model'
|
|
3
4
|
import { flattenHydratedBlocks } from '@xyo-network/chain-protocol'
|
|
4
|
-
import { Account } from '@xyo-network/account'
|
|
5
5
|
|
|
6
6
|
export const buildRandomBlockChain = async (blockCount = 10) => {
|
|
7
7
|
// Create a producer
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Hash } from '@xylabs/hex'
|
|
2
|
+
import type { BlockBoundWitness } from '@xyo-network/chain-model'
|
|
3
3
|
|
|
4
4
|
/** Interface for all components that render a single block */
|
|
5
5
|
export interface BlockComponentProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { NodesWithKeys } from '@xylabs/react-animation'
|
|
2
|
+
import type { BlockBoundWitness } from '@xyo-network/chain-model'
|
|
3
3
|
|
|
4
4
|
/** Interface for all block components meant to be rendered in a chain */
|
|
5
5
|
export interface BlockChainRenderComponent extends NodesWithKeys {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Hash } from '@xylabs/hex'
|
|
2
|
+
import type { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
3
|
+
import type { ChainInformation } from '@xyo-network/chain-model'
|
|
4
4
|
|
|
5
5
|
/** Props that control the rendering (not blockchain specific) */
|
|
6
6
|
export interface RenderProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
1
|
+
import type { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
2
2
|
|
|
3
|
-
import { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
|
|
4
|
-
import { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
|
|
3
|
+
import type { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
|
|
4
|
+
import type { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
|
|
5
5
|
|
|
6
6
|
export interface BlockChainRenderFlexboxProps extends BlockChainRenderBaseProps, FlexBoxProps {}
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
1
|
+
import type { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
2
2
|
|
|
3
|
-
import { RenderProps } from '../BlockChainRenderProps.ts'
|
|
3
|
+
import type { RenderProps } from '../BlockChainRenderProps.ts'
|
|
4
4
|
|
|
5
5
|
export interface RenderFlexboxProps extends RenderProps, FlexBoxProps {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TableExProps } from '@xyo-network/react-table'
|
|
1
|
+
import type { TableExProps } from '@xyo-network/react-table'
|
|
2
2
|
|
|
3
|
-
import { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
|
|
4
|
-
import { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
|
|
3
|
+
import type { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
|
|
4
|
+
import type { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
|
|
5
5
|
|
|
6
6
|
export interface BlockChainRenderTableExProps extends BlockChainRenderBaseProps, TableExProps {}
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableProps } from '@mui/material'
|
|
1
|
+
import type { TableProps } from '@mui/material'
|
|
2
2
|
|
|
3
|
-
import { RenderProps } from '../BlockChainRenderProps.ts'
|
|
3
|
+
import type { RenderProps } from '../BlockChainRenderProps.ts'
|
|
4
4
|
|
|
5
5
|
export interface RenderTableProps extends RenderProps, TableProps {}
|