@cfxjs/sirius-next-common 0.1.26 → 0.1.28
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/chunk-24MUZRQJ.js +108 -0
- package/dist/chunk-24MUZRQJ.js.map +1 -0
- package/dist/chunk-24Z2NTKQ.js +43 -0
- package/dist/chunk-24Z2NTKQ.js.map +1 -0
- package/dist/chunk-26ABIFHL.js +127 -0
- package/dist/chunk-26ABIFHL.js.map +1 -0
- package/dist/chunk-27S75HVO.js +108 -0
- package/dist/chunk-27S75HVO.js.map +1 -0
- package/dist/chunk-2ATI4GSO.js +130 -0
- package/dist/chunk-2ATI4GSO.js.map +1 -0
- package/dist/chunk-2RR4CX3F.js +141 -0
- package/dist/chunk-2RR4CX3F.js.map +1 -0
- package/dist/chunk-2S6T3LVP.js +212 -0
- package/dist/chunk-2S6T3LVP.js.map +1 -0
- package/dist/chunk-3357K7AW.js +108 -0
- package/dist/chunk-3357K7AW.js.map +1 -0
- package/dist/chunk-3BLNV3M6.js +49 -0
- package/dist/chunk-3BLNV3M6.js.map +1 -0
- package/dist/chunk-3DOLNPRU.js +27 -0
- package/dist/chunk-3DOLNPRU.js.map +1 -0
- package/dist/chunk-3MYGXIHH.js +108 -0
- package/dist/chunk-3MYGXIHH.js.map +1 -0
- package/dist/chunk-3PCM3OLN.js +141 -0
- package/dist/chunk-3PCM3OLN.js.map +1 -0
- package/dist/chunk-3TBXOB3R.js +141 -0
- package/dist/chunk-3TBXOB3R.js.map +1 -0
- package/dist/chunk-3XY72AXV.js +49 -0
- package/dist/chunk-3XY72AXV.js.map +1 -0
- package/dist/chunk-3YBIEQO6.js +212 -0
- package/dist/chunk-3YBIEQO6.js.map +1 -0
- package/dist/chunk-4A4J7WSV.js +86 -0
- package/dist/chunk-4A4J7WSV.js.map +1 -0
- package/dist/chunk-4ESGRQGT.js +108 -0
- package/dist/chunk-4ESGRQGT.js.map +1 -0
- package/dist/chunk-5BIMFEMU.js +1478 -0
- package/dist/chunk-5BIMFEMU.js.map +1 -0
- package/dist/chunk-5SRYL5WC.js +212 -0
- package/dist/chunk-5SRYL5WC.js.map +1 -0
- package/dist/chunk-62YQFYHZ.js +3629 -0
- package/dist/chunk-62YQFYHZ.js.map +1 -0
- package/dist/chunk-6HKZB5HS.js +49 -0
- package/dist/chunk-6HKZB5HS.js.map +1 -0
- package/dist/chunk-6NC6XI6T.js +108 -0
- package/dist/chunk-6NC6XI6T.js.map +1 -0
- package/dist/chunk-6VGNSL3V.js +108 -0
- package/dist/chunk-6VGNSL3V.js.map +1 -0
- package/dist/chunk-74Z6QJ2V.js +108 -0
- package/dist/chunk-74Z6QJ2V.js.map +1 -0
- package/dist/chunk-77BWMAR2.js +105 -0
- package/dist/chunk-77BWMAR2.js.map +1 -0
- package/dist/chunk-7EX3S2AT.js +2324 -0
- package/dist/chunk-7EX3S2AT.js.map +1 -0
- package/dist/chunk-7LU43J6Y.js +2199 -0
- package/dist/chunk-7LU43J6Y.js.map +1 -0
- package/dist/chunk-7ONFLU6G.js +127 -0
- package/dist/chunk-7ONFLU6G.js.map +1 -0
- package/dist/chunk-7S7HFNGN.js +49 -0
- package/dist/chunk-7S7HFNGN.js.map +1 -0
- package/dist/chunk-7T3QFG4C.js +108 -0
- package/dist/chunk-7T3QFG4C.js.map +1 -0
- package/dist/chunk-ACI4CZ3N.js +141 -0
- package/dist/chunk-ACI4CZ3N.js.map +1 -0
- package/dist/chunk-AF3NCC5P.js +127 -0
- package/dist/chunk-AF3NCC5P.js.map +1 -0
- package/dist/chunk-AFTE3PC6.js +141 -0
- package/dist/chunk-AFTE3PC6.js.map +1 -0
- package/dist/chunk-ARSX76AK.js +49 -0
- package/dist/chunk-ARSX76AK.js.map +1 -0
- package/dist/chunk-AVOJOQXO.js +108 -0
- package/dist/chunk-AVOJOQXO.js.map +1 -0
- package/dist/chunk-AWLKSOKJ.js +49 -0
- package/dist/chunk-AWLKSOKJ.js.map +1 -0
- package/dist/chunk-B5CBBNRH.js +141 -0
- package/dist/chunk-B5CBBNRH.js.map +1 -0
- package/dist/chunk-BJAVQP5F.js +212 -0
- package/dist/chunk-BJAVQP5F.js.map +1 -0
- package/dist/chunk-C4DWCONF.js +212 -0
- package/dist/chunk-C4DWCONF.js.map +1 -0
- package/dist/chunk-CM2VKLWZ.js +127 -0
- package/dist/chunk-CM2VKLWZ.js.map +1 -0
- package/dist/chunk-CRPUM7SJ.js +212 -0
- package/dist/chunk-CRPUM7SJ.js.map +1 -0
- package/dist/chunk-CSBHWPRR.js +105 -0
- package/dist/chunk-CSBHWPRR.js.map +1 -0
- package/dist/chunk-CT7PENLL.js +105 -0
- package/dist/chunk-CT7PENLL.js.map +1 -0
- package/dist/chunk-DIAD272J.js +49 -0
- package/dist/chunk-DIAD272J.js.map +1 -0
- package/dist/chunk-DXONM5CJ.js +141 -0
- package/dist/chunk-DXONM5CJ.js.map +1 -0
- package/dist/chunk-E4LV6EXS.js +108 -0
- package/dist/chunk-E4LV6EXS.js.map +1 -0
- package/dist/chunk-E6E6MHRM.js +212 -0
- package/dist/chunk-E6E6MHRM.js.map +1 -0
- package/dist/chunk-E77PCJ2L.js +141 -0
- package/dist/chunk-E77PCJ2L.js.map +1 -0
- package/dist/chunk-E7F44FIR.js +105 -0
- package/dist/chunk-E7F44FIR.js.map +1 -0
- package/dist/chunk-EK2YUTFC.js +141 -0
- package/dist/chunk-EK2YUTFC.js.map +1 -0
- package/dist/chunk-EKQJYLLX.js +212 -0
- package/dist/chunk-EKQJYLLX.js.map +1 -0
- package/dist/chunk-FA77TXZD.js +127 -0
- package/dist/chunk-FA77TXZD.js.map +1 -0
- package/dist/chunk-FAFYYMFU.js +108 -0
- package/dist/chunk-FAFYYMFU.js.map +1 -0
- package/dist/chunk-FHTHKUN5.js +126 -0
- package/dist/chunk-FHTHKUN5.js.map +1 -0
- package/dist/chunk-GAWACXC2.js +127 -0
- package/dist/chunk-GAWACXC2.js.map +1 -0
- package/dist/chunk-GR3BLVJV.js +212 -0
- package/dist/chunk-GR3BLVJV.js.map +1 -0
- package/dist/chunk-GRCSAYBS.js +141 -0
- package/dist/chunk-GRCSAYBS.js.map +1 -0
- package/dist/chunk-GTRGNGUL.js +212 -0
- package/dist/chunk-GTRGNGUL.js.map +1 -0
- package/dist/chunk-H6EWZ7XZ.js +105 -0
- package/dist/chunk-H6EWZ7XZ.js.map +1 -0
- package/dist/chunk-HH3OPBBE.js +108 -0
- package/dist/chunk-HH3OPBBE.js.map +1 -0
- package/dist/chunk-HRVIZJEA.js +63 -0
- package/dist/chunk-HRVIZJEA.js.map +1 -0
- package/dist/chunk-I5GYABMO.js +141 -0
- package/dist/chunk-I5GYABMO.js.map +1 -0
- package/dist/chunk-I5J6GFME.js +141 -0
- package/dist/chunk-I5J6GFME.js.map +1 -0
- package/dist/chunk-IHFBGGHI.js +2297 -0
- package/dist/chunk-IHFBGGHI.js.map +1 -0
- package/dist/chunk-IHHNRYGC.js +108 -0
- package/dist/chunk-IHHNRYGC.js.map +1 -0
- package/dist/chunk-IPF6TU3K.js +212 -0
- package/dist/chunk-IPF6TU3K.js.map +1 -0
- package/dist/chunk-JNSJK2TR.js +2323 -0
- package/dist/chunk-JNSJK2TR.js.map +1 -0
- package/dist/chunk-JY62VTMC.js +49 -0
- package/dist/chunk-JY62VTMC.js.map +1 -0
- package/dist/chunk-KKC3SV7X.js +212 -0
- package/dist/chunk-KKC3SV7X.js.map +1 -0
- package/dist/chunk-KLKFSFIO.js +127 -0
- package/dist/chunk-KLKFSFIO.js.map +1 -0
- package/dist/chunk-KLXG7TWR.js +212 -0
- package/dist/chunk-KLXG7TWR.js.map +1 -0
- package/dist/chunk-KONLD7QH.js +108 -0
- package/dist/chunk-KONLD7QH.js.map +1 -0
- package/dist/chunk-KVZ4GBCQ.js +212 -0
- package/dist/chunk-KVZ4GBCQ.js.map +1 -0
- package/dist/chunk-LCX6G6UD.js +49 -0
- package/dist/chunk-LCX6G6UD.js.map +1 -0
- package/dist/chunk-LTJESAOY.js +49 -0
- package/dist/chunk-LTJESAOY.js.map +1 -0
- package/dist/chunk-LVOIDBQG.js +5083 -0
- package/dist/chunk-LVOIDBQG.js.map +1 -0
- package/dist/chunk-M7MZHGIW.js +141 -0
- package/dist/chunk-M7MZHGIW.js.map +1 -0
- package/dist/chunk-MFLND54Z.js +105 -0
- package/dist/chunk-MFLND54Z.js.map +1 -0
- package/dist/chunk-MU2VXMVI.js +105 -0
- package/dist/chunk-MU2VXMVI.js.map +1 -0
- package/dist/chunk-MYFQGX4G.js +130 -0
- package/dist/chunk-MYFQGX4G.js.map +1 -0
- package/dist/chunk-NIVSHXEJ.js +141 -0
- package/dist/chunk-NIVSHXEJ.js.map +1 -0
- package/dist/chunk-NJMWUDSI.js +2323 -0
- package/dist/chunk-NJMWUDSI.js.map +1 -0
- package/dist/chunk-NP4YOCMX.js +127 -0
- package/dist/chunk-NP4YOCMX.js.map +1 -0
- package/dist/chunk-NVIXO3FX.js +127 -0
- package/dist/chunk-NVIXO3FX.js.map +1 -0
- package/dist/chunk-OB5SKTJ7.js +2294 -0
- package/dist/chunk-OB5SKTJ7.js.map +1 -0
- package/dist/chunk-OWG3KRZJ.js +108 -0
- package/dist/chunk-OWG3KRZJ.js.map +1 -0
- package/dist/chunk-P3FVYMA6.js +127 -0
- package/dist/chunk-P3FVYMA6.js.map +1 -0
- package/dist/chunk-PJDWYUHP.js +3629 -0
- package/dist/chunk-PJDWYUHP.js.map +1 -0
- package/dist/chunk-PS6RUUUK.js +86 -0
- package/dist/chunk-PS6RUUUK.js.map +1 -0
- package/dist/chunk-QAFEK7IY.js +105 -0
- package/dist/chunk-QAFEK7IY.js.map +1 -0
- package/dist/chunk-QFPKRXR3.js +108 -0
- package/dist/chunk-QFPKRXR3.js.map +1 -0
- package/dist/chunk-R3N37XCV.js +212 -0
- package/dist/chunk-R3N37XCV.js.map +1 -0
- package/dist/chunk-R4E42CNE.js +2324 -0
- package/dist/chunk-R4E42CNE.js.map +1 -0
- package/dist/chunk-R4FMLRKR.js +105 -0
- package/dist/chunk-R4FMLRKR.js.map +1 -0
- package/dist/chunk-R4ISWFAU.js +2323 -0
- package/dist/chunk-R4ISWFAU.js.map +1 -0
- package/dist/chunk-R5KOPIFI.js +127 -0
- package/dist/chunk-R5KOPIFI.js.map +1 -0
- package/dist/chunk-RHM7WSYL.js +127 -0
- package/dist/chunk-RHM7WSYL.js.map +1 -0
- package/dist/chunk-RMOYI7RJ.js +212 -0
- package/dist/chunk-RMOYI7RJ.js.map +1 -0
- package/dist/chunk-RQB4FWW7.js +2296 -0
- package/dist/chunk-RQB4FWW7.js.map +1 -0
- package/dist/chunk-RRQLWLKC.js +127 -0
- package/dist/chunk-RRQLWLKC.js.map +1 -0
- package/dist/chunk-S7BWR5IZ.js +212 -0
- package/dist/chunk-S7BWR5IZ.js.map +1 -0
- package/dist/chunk-SUHRSNAI.js +63 -0
- package/dist/chunk-SUHRSNAI.js.map +1 -0
- package/dist/chunk-T5J4XBWF.js +127 -0
- package/dist/chunk-T5J4XBWF.js.map +1 -0
- package/dist/chunk-T5OKHLM7.js +86 -0
- package/dist/chunk-T5OKHLM7.js.map +1 -0
- package/dist/chunk-T6TINFBB.js +49 -0
- package/dist/chunk-T6TINFBB.js.map +1 -0
- package/dist/chunk-TK4FIUGX.js +105 -0
- package/dist/chunk-TK4FIUGX.js.map +1 -0
- package/dist/chunk-TSYM32RM.js +2218 -0
- package/dist/chunk-TSYM32RM.js.map +1 -0
- package/dist/chunk-TYLFHFBL.js +127 -0
- package/dist/chunk-TYLFHFBL.js.map +1 -0
- package/dist/chunk-TZ6FCCCJ.js +105 -0
- package/dist/chunk-TZ6FCCCJ.js.map +1 -0
- package/dist/chunk-UFO7XI55.js +212 -0
- package/dist/chunk-UFO7XI55.js.map +1 -0
- package/dist/chunk-UHGU5YPX.js +127 -0
- package/dist/chunk-UHGU5YPX.js.map +1 -0
- package/dist/chunk-UTXIA4ZA.js +105 -0
- package/dist/chunk-UTXIA4ZA.js.map +1 -0
- package/dist/chunk-UYI6WFT7.js +105 -0
- package/dist/chunk-UYI6WFT7.js.map +1 -0
- package/dist/chunk-VENIIRNN.js +49 -0
- package/dist/chunk-VENIIRNN.js.map +1 -0
- package/dist/chunk-VIX553CW.js +108 -0
- package/dist/chunk-VIX553CW.js.map +1 -0
- package/dist/chunk-VLYJFH7W.js +49 -0
- package/dist/chunk-VLYJFH7W.js.map +1 -0
- package/dist/chunk-VOXSIPTX.js +141 -0
- package/dist/chunk-VOXSIPTX.js.map +1 -0
- package/dist/chunk-VZNGE73T.js +105 -0
- package/dist/chunk-VZNGE73T.js.map +1 -0
- package/dist/chunk-W2J2VZEP.js +108 -0
- package/dist/chunk-W2J2VZEP.js.map +1 -0
- package/dist/chunk-X3QTCV4Q.js +212 -0
- package/dist/chunk-X3QTCV4Q.js.map +1 -0
- package/dist/chunk-X5ZOQIDW.js +108 -0
- package/dist/chunk-X5ZOQIDW.js.map +1 -0
- package/dist/chunk-XHG32AO6.js +141 -0
- package/dist/chunk-XHG32AO6.js.map +1 -0
- package/dist/chunk-XJSNK6B3.js +127 -0
- package/dist/chunk-XJSNK6B3.js.map +1 -0
- package/dist/chunk-XRKRGNVZ.js +141 -0
- package/dist/chunk-XRKRGNVZ.js.map +1 -0
- package/dist/chunk-XVA5MO4M.js +2324 -0
- package/dist/chunk-XVA5MO4M.js.map +1 -0
- package/dist/chunk-XXEJA3Q7.js +86 -0
- package/dist/chunk-XXEJA3Q7.js.map +1 -0
- package/dist/chunk-XZAEVXPG.js +108 -0
- package/dist/chunk-XZAEVXPG.js.map +1 -0
- package/dist/chunk-YCVZY6JX.js +141 -0
- package/dist/chunk-YCVZY6JX.js.map +1 -0
- package/dist/chunk-YQAMFHXE.js +212 -0
- package/dist/chunk-YQAMFHXE.js.map +1 -0
- package/dist/chunk-YRB4D655.js +141 -0
- package/dist/chunk-YRB4D655.js.map +1 -0
- package/dist/chunk-YVPSUVSB.js +141 -0
- package/dist/chunk-YVPSUVSB.js.map +1 -0
- package/dist/chunk-YWEJJEJY.js +105 -0
- package/dist/chunk-YWEJJEJY.js.map +1 -0
- package/dist/chunk-YXOEPMQS.js +127 -0
- package/dist/chunk-YXOEPMQS.js.map +1 -0
- package/dist/chunk-ZBNO57AP.js +141 -0
- package/dist/chunk-ZBNO57AP.js.map +1 -0
- package/dist/chunk-ZZDH4KPF.js +212 -0
- package/dist/chunk-ZZDH4KPF.js.map +1 -0
- package/dist/components/AddressContainer/CoreAddressContainer.js +6 -6
- package/dist/components/AddressContainer/EVMAddressContainer.js +6 -6
- package/dist/components/AddressContainer/addressSwitcher.js +4 -4
- package/dist/components/AddressContainer/addressView.js +3 -3
- package/dist/components/AddressContainer/label.js +2 -2
- package/dist/components/Age/index.js +2 -2
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DownloadCSV/index.js +1 -1
- package/dist/components/Highlight/index.js +12 -2
- package/dist/components/Highlight/index.js.map +1 -1
- package/dist/components/InfoIconWithTooltip/index.js +1 -1
- package/dist/components/PhishingAddressContainer/PhishingWarningIcon.d.ts +6 -0
- package/dist/components/PhishingAddressContainer/PhishingWarningIcon.js +7 -0
- package/dist/components/PhishingAddressContainer/PhishingWarningIcon.js.map +1 -0
- package/dist/components/PhishingAddressContainer/index.d.ts +15 -0
- package/dist/components/PhishingAddressContainer/index.js +124 -0
- package/dist/components/PhishingAddressContainer/index.js.map +1 -0
- package/dist/components/PhishingAddressContainer/phishing-warning.svg.svg +3 -0
- package/dist/components/Price/index.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Select/select.js +1 -1
- package/dist/components/Text/index.js +2 -2
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Tooltip/tt.d.ts +28 -0
- package/dist/components/Tooltip/tt.js +8 -0
- package/dist/components/Tooltip/tt.js.map +1 -0
- package/dist/components/TransactionAction/coreTransactionAction.js +6 -6
- package/dist/components/TransactionAction/evmTransactionAction.js +6 -6
- package/dist/contants/cssVariable.d.ts +20 -0
- package/dist/contants/cssVariable.js +41 -0
- package/dist/contants/cssVariable.js.map +1 -0
- package/dist/uno.css +6 -4
- package/dist/utils/contractManagerTool.d.ts +50 -0
- package/dist/utils/contractManagerTool.js +92 -0
- package/dist/utils/contractManagerTool.js.map +1 -0
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Text
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-VZNGE73T.js";
|
|
4
4
|
import "../../chunk-TOKKKTFG.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-XVA5MO4M.js";
|
|
6
6
|
import "../../chunk-LRCAKRPK.js";
|
|
7
7
|
import "../../chunk-4WJBUQY7.js";
|
|
8
8
|
import "../../chunk-7RH7LJYB.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { ComponentProps, HTMLAttributes } from 'react';
|
|
2
2
|
import _Tooltip from '@cfx-kit/ui-components/dist/Tooltip';
|
|
3
3
|
|
|
4
|
-
interface TooltipProps extends Omit<ComponentProps<typeof _Tooltip>, 'trigger'
|
|
4
|
+
interface TooltipProps extends Omit<ComponentProps<typeof _Tooltip>, 'trigger'> {
|
|
5
5
|
title?: React__default.ReactNode;
|
|
6
6
|
children?: React__default.ReactNode;
|
|
7
7
|
triggerProps?: HTMLAttributes<HTMLElement>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { PositioningOptions } from '@zag-js/tooltip';
|
|
3
|
+
export { PositioningOptions } from '@zag-js/tooltip';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
id?: string;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
openDelay?: number;
|
|
9
|
+
closeDelay?: number;
|
|
10
|
+
closeOnPointerDown?: boolean;
|
|
11
|
+
closeOnEscape?: boolean;
|
|
12
|
+
arrow?: boolean;
|
|
13
|
+
interactive?: boolean;
|
|
14
|
+
positioning?: PositioningOptions;
|
|
15
|
+
portalled?: boolean;
|
|
16
|
+
onOpen?: VoidFunction;
|
|
17
|
+
onClose?: VoidFunction;
|
|
18
|
+
containerClassName?: string;
|
|
19
|
+
children?: (({ contentProps }: {
|
|
20
|
+
contentProps: HTMLAttributes<HTMLElement>;
|
|
21
|
+
}) => JSX.Element) | ReactNode;
|
|
22
|
+
trigger?: ({ triggerProps }: {
|
|
23
|
+
triggerProps: Omit<HTMLAttributes<HTMLElement>, 'color'>;
|
|
24
|
+
}) => JSX.Element;
|
|
25
|
+
}
|
|
26
|
+
declare const Tooltip: React.FC<Props>;
|
|
27
|
+
|
|
28
|
+
export { Tooltip as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
import "../../chunk-TGK5LP2H.js";
|
|
11
11
|
import {
|
|
12
12
|
CoreAddressContainer
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-YRB4D655.js";
|
|
14
14
|
import "../../chunk-5CJCDS5F.js";
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-2S6T3LVP.js";
|
|
16
|
+
import "../../chunk-NP4YOCMX.js";
|
|
17
17
|
import "../../chunk-RTFAJGPO.js";
|
|
18
18
|
import "../../chunk-PVQ5UZ7S.js";
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-DIAD272J.js";
|
|
20
|
+
import "../../chunk-VZNGE73T.js";
|
|
21
21
|
import "../../chunk-TOKKKTFG.js";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-XVA5MO4M.js";
|
|
23
23
|
import "../../chunk-LRCAKRPK.js";
|
|
24
24
|
import {
|
|
25
25
|
formatBalance,
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
import "../../chunk-TGK5LP2H.js";
|
|
11
11
|
import {
|
|
12
12
|
EVMAddressContainer
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-OWG3KRZJ.js";
|
|
14
|
+
import "../../chunk-2S6T3LVP.js";
|
|
15
|
+
import "../../chunk-NP4YOCMX.js";
|
|
16
16
|
import {
|
|
17
17
|
formatAddress
|
|
18
18
|
} from "../../chunk-RTFAJGPO.js";
|
|
19
19
|
import "../../chunk-PVQ5UZ7S.js";
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
20
|
+
import "../../chunk-DIAD272J.js";
|
|
21
|
+
import "../../chunk-VZNGE73T.js";
|
|
22
22
|
import "../../chunk-TOKKKTFG.js";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-XVA5MO4M.js";
|
|
24
24
|
import "../../chunk-LRCAKRPK.js";
|
|
25
25
|
import {
|
|
26
26
|
formatBalance,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const sansSerifFont = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Helvetica, Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji'";
|
|
2
|
+
declare const monospaceFont = "'Roboto Mono', 'Lucida Console', Consolas, 'Liberation Mono', Menlo, Courier, monospace";
|
|
3
|
+
declare const blue0 = "#7789D3";
|
|
4
|
+
declare const blue1 = "#26244B";
|
|
5
|
+
declare const blue2 = "#4665f0";
|
|
6
|
+
declare const blue3 = "#F5F7FF";
|
|
7
|
+
declare const blue4 = "#7789D3";
|
|
8
|
+
declare const gray0 = "#F1F3F9";
|
|
9
|
+
declare const gray1 = "#FDFDFE";
|
|
10
|
+
declare const gray2 = "#8A8C95";
|
|
11
|
+
declare const gray3 = "#EBECED";
|
|
12
|
+
declare const gray4 = "#74798C";
|
|
13
|
+
declare const green0 = "#AFE9D2";
|
|
14
|
+
declare const green1 = "#05343F";
|
|
15
|
+
declare const green2 = "#17B38A";
|
|
16
|
+
declare const green3 = "#F0F4F3";
|
|
17
|
+
declare const orange0 = "#F8963E";
|
|
18
|
+
declare const black0 = "#0F1327";
|
|
19
|
+
|
|
20
|
+
export { black0, blue0, blue1, blue2, blue3, blue4, gray0, gray1, gray2, gray3, gray4, green0, green1, green2, green3, monospaceFont, orange0, sansSerifFont };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
black0,
|
|
3
|
+
blue0,
|
|
4
|
+
blue1,
|
|
5
|
+
blue2,
|
|
6
|
+
blue3,
|
|
7
|
+
blue4,
|
|
8
|
+
gray0,
|
|
9
|
+
gray1,
|
|
10
|
+
gray2,
|
|
11
|
+
gray3,
|
|
12
|
+
gray4,
|
|
13
|
+
green0,
|
|
14
|
+
green1,
|
|
15
|
+
green2,
|
|
16
|
+
green3,
|
|
17
|
+
monospaceFont,
|
|
18
|
+
orange0,
|
|
19
|
+
sansSerifFont
|
|
20
|
+
} from "../chunk-24Z2NTKQ.js";
|
|
21
|
+
export {
|
|
22
|
+
black0,
|
|
23
|
+
blue0,
|
|
24
|
+
blue1,
|
|
25
|
+
blue2,
|
|
26
|
+
blue3,
|
|
27
|
+
blue4,
|
|
28
|
+
gray0,
|
|
29
|
+
gray1,
|
|
30
|
+
gray2,
|
|
31
|
+
gray3,
|
|
32
|
+
gray4,
|
|
33
|
+
green0,
|
|
34
|
+
green1,
|
|
35
|
+
green2,
|
|
36
|
+
green3,
|
|
37
|
+
monospaceFont,
|
|
38
|
+
orange0,
|
|
39
|
+
sansSerifFont
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=cssVariable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/uno.css
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
.flex-center{display:flex;align-items:center;justify-content:center;}
|
|
9
9
|
.flex-vertical-center{display:flex;align-items:center;}
|
|
10
10
|
/* layer: default */
|
|
11
|
-
.\[\&\.
|
|
12
|
-
.\[\&\.
|
|
11
|
+
.\[\&\.sirius-next-tooltip\>\[data-part\=arrow\]\]\:\[--arrow-background\:\#333\].sirius-next-tooltip>[data-part=arrow]{--arrow-background:#333;}
|
|
12
|
+
.\[\&\.sirius-next-tooltip\>\[data-part\=arrow\]\]\:\[--arrow-size\:6px\].sirius-next-tooltip>[data-part=arrow]{--arrow-size:6px;}
|
|
13
13
|
.pointer-events-none{pointer-events:none;}
|
|
14
14
|
.visible{visibility:visible;}
|
|
15
15
|
.\[\&\>\*\]\:invisible>*{visibility:hidden;}
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
.max-w-full{max-width:100%;}
|
|
134
134
|
.max-w-1368px{max-width:1368px;}
|
|
135
135
|
.max-w-192px{max-width:192px;}
|
|
136
|
-
.max-w-250px{max-width:250px;}
|
|
137
136
|
.max-w-260px{max-width:260px;}
|
|
137
|
+
.max-w-320px{max-width:320px;}
|
|
138
138
|
.max-w-fit{max-width:fit-content;}
|
|
139
139
|
.min-h-\[fit-content\]{min-height:fit-content;}
|
|
140
140
|
.min-h-16\.4286rem{min-height:16.4286rem;}
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
.px-0\.4286rem{padding-left:0.4286rem;padding-right:0.4286rem;}
|
|
328
328
|
.px-1\.14rem{padding-left:1.14rem;padding-right:1.14rem;}
|
|
329
329
|
.px-1\.2857rem{padding-left:1.2857rem;padding-right:1.2857rem;}
|
|
330
|
-
.px-
|
|
330
|
+
.px-10px{padding-left:10px;padding-right:10px;}
|
|
331
331
|
.px-8px{padding-left:8px;padding-right:8px;}
|
|
332
332
|
.py-\[2px\]{padding-top:2px;padding-bottom:2px;}
|
|
333
333
|
.py-0{padding-top:0;padding-bottom:0;}
|
|
@@ -351,6 +351,7 @@
|
|
|
351
351
|
.vertical-bottom{vertical-align:bottom;}
|
|
352
352
|
.align-middle{vertical-align:middle;}
|
|
353
353
|
.vertical-top{vertical-align:top;}
|
|
354
|
+
.\[\&\.sirius-next-tooltip\>\[data-part\=content\]\]\:text-10px.sirius-next-tooltip>[data-part=content],
|
|
354
355
|
.text-\[10px\]{font-size:10px;}
|
|
355
356
|
.text-\[11px\]{font-size:11px;}
|
|
356
357
|
.text-\[12px\],
|
|
@@ -405,6 +406,7 @@
|
|
|
405
406
|
.text-\#65709a{--un-text-opacity:1;color:rgb(101 112 154 / var(--un-text-opacity));}
|
|
406
407
|
.text-\#7e8598{--un-text-opacity:1;color:rgb(126 133 152 / var(--un-text-opacity));}
|
|
407
408
|
.text-\#b1b3b9{--un-text-opacity:1;color:rgb(177 179 185 / var(--un-text-opacity));}
|
|
409
|
+
.text-\#FFBB37{--un-text-opacity:1;color:rgb(255 187 55 / var(--un-text-opacity));}
|
|
408
410
|
.\[\&\>a\]\:hover\:text-\#fff:hover>a{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}
|
|
409
411
|
.hover-text-\[var\(--theme-color-gray2\)\]:hover{color:var(--theme-color-gray2);}
|
|
410
412
|
.hover\:text-\#fff:hover{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format, zip, split and encode contract&token register information as Announcement transaction data
|
|
3
|
+
*
|
|
4
|
+
* @param options {object}
|
|
5
|
+
* @param options.address {string} - contract address hex
|
|
6
|
+
* @param [options.name] {string} - contract name
|
|
7
|
+
* @param [options.website] {string}
|
|
8
|
+
* @param [options.abi] {string} - contract abi json or array object (will be gzip)
|
|
9
|
+
* @param [options.sourceCode] {string} - contract source code (will be gzip)
|
|
10
|
+
* @param [options.optimizeRuns] {number} - contract code compile optimize runs times
|
|
11
|
+
* @param [options.icon] {Buffer} - contract icon bytes (will be gzip)
|
|
12
|
+
* @param [options.tokenIcon] {Buffer} - token icon bytes (will be gzip)
|
|
13
|
+
* @param [options.tokenWebsite] {string}
|
|
14
|
+
* @param [options.ipfsGateway] {string}
|
|
15
|
+
* @return {string[]} encoded transaction data, spilt by max transaction size
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* > packContractAndToken({
|
|
19
|
+
address: '0x01234567890123456789012345678901A3456789',
|
|
20
|
+
name: 'MiniERC20',
|
|
21
|
+
abi: [
|
|
22
|
+
{
|
|
23
|
+
type: 'function',
|
|
24
|
+
name: 'decimals',
|
|
25
|
+
inputs: [],
|
|
26
|
+
outputs: [{ type: 'uint8' }],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
optimizeRuns: 10,
|
|
30
|
+
icon: Buffer.from([1, 2, 3, 4, 5]),
|
|
31
|
+
tokenIcon: Buffer.from([1, 2, 3, 4, 5]),
|
|
32
|
+
})
|
|
33
|
+
[
|
|
34
|
+
'0xcf7bb3090000...'
|
|
35
|
+
]
|
|
36
|
+
*/
|
|
37
|
+
declare function packContractAndToken(options: {
|
|
38
|
+
address: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
website?: string;
|
|
41
|
+
abi?: any[];
|
|
42
|
+
sourceCode?: string;
|
|
43
|
+
optimizeRuns?: number;
|
|
44
|
+
icon?: Buffer;
|
|
45
|
+
tokenIcon?: Buffer;
|
|
46
|
+
tokenWebsite?: string;
|
|
47
|
+
ipfsGateway?: string;
|
|
48
|
+
}): string[];
|
|
49
|
+
|
|
50
|
+
export { packContractAndToken };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseString
|
|
3
|
+
} from "../chunk-4WJBUQY7.js";
|
|
4
|
+
import "../chunk-7RH7LJYB.js";
|
|
5
|
+
import "../chunk-DQGLZCIG.js";
|
|
6
|
+
|
|
7
|
+
// src/utils/contractManagerTool.ts
|
|
8
|
+
import SDK from "js-conflux-sdk";
|
|
9
|
+
import { gzip } from "pako";
|
|
10
|
+
var SDKFormat = SDK.format;
|
|
11
|
+
var SDKContract = SDK.Contract;
|
|
12
|
+
var zipContractAndToken = SDKFormat(
|
|
13
|
+
{
|
|
14
|
+
address: SDK.format.hexAddress,
|
|
15
|
+
// cip-37
|
|
16
|
+
name: SDK.format.bytes.$before(parseString).$or(void 0),
|
|
17
|
+
website: SDK.format.bytes.$before(parseString).$or(void 0),
|
|
18
|
+
abi: SDK.format.bytes.$before(parseString).$parse(JSON.stringify, Array.isArray).$after(gzip).$or(void 0),
|
|
19
|
+
sourceCode: SDK.format.bytes.$before(parseString).$after(gzip).$or(void 0),
|
|
20
|
+
optimizeRuns: SDK.format.uInt.$after(String).$or(void 0),
|
|
21
|
+
icon: SDK.format.bytes.$before(parseString).$after(gzip).$or(void 0),
|
|
22
|
+
tokenIcon: SDK.format.bytes.$before(parseString).$after(gzip).$or(void 0),
|
|
23
|
+
tokenWebsite: SDK.format.bytes.$before(parseString).$or(void 0),
|
|
24
|
+
ipfsGateway: SDK.format.bytes.$before(parseString).$or(void 0)
|
|
25
|
+
},
|
|
26
|
+
{ pick: true, strict: true }
|
|
27
|
+
);
|
|
28
|
+
var formatAnnounceArray = SDKFormat([
|
|
29
|
+
{
|
|
30
|
+
key: SDK.format.bytes.$before(parseString),
|
|
31
|
+
value: SDK.format.bytes.$before(parseString)
|
|
32
|
+
}
|
|
33
|
+
]);
|
|
34
|
+
var announcement = new SDKContract({
|
|
35
|
+
abi: [
|
|
36
|
+
{
|
|
37
|
+
type: "function",
|
|
38
|
+
name: "announce",
|
|
39
|
+
inputs: [
|
|
40
|
+
{
|
|
41
|
+
type: "tuple[]",
|
|
42
|
+
components: [
|
|
43
|
+
{ name: "key", type: "bytes" },
|
|
44
|
+
{ name: "value", type: "bytes" }
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
outputs: [{ name: "count", type: "uint256" }]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
});
|
|
52
|
+
function chunk(array, maxSize = 150 * 1e3) {
|
|
53
|
+
const groupArray = [];
|
|
54
|
+
let group = [];
|
|
55
|
+
let groupSize = 0;
|
|
56
|
+
array.forEach(({ key, value }) => {
|
|
57
|
+
const size = key.length + value.length;
|
|
58
|
+
if (size > maxSize) {
|
|
59
|
+
throw new Error(
|
|
60
|
+
`key "${key}" and data size ${size} > maximum bytes ${maxSize}`
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
if (groupSize + size > maxSize) {
|
|
64
|
+
groupArray.push(group);
|
|
65
|
+
group = [];
|
|
66
|
+
groupSize = 0;
|
|
67
|
+
}
|
|
68
|
+
group.push({ key, value });
|
|
69
|
+
groupSize += size;
|
|
70
|
+
});
|
|
71
|
+
groupArray.push(group);
|
|
72
|
+
return groupArray;
|
|
73
|
+
}
|
|
74
|
+
function packContractAndToken(options) {
|
|
75
|
+
const { address, tokenIcon, tokenWebsite, ipfsGateway, ...object } = zipContractAndToken(options);
|
|
76
|
+
const array = [{ key: `contract/list/${address}`, value: address }];
|
|
77
|
+
Object.entries(object).forEach(([field, value]) => {
|
|
78
|
+
array.push({ key: `contract/${address}/${field}`, value });
|
|
79
|
+
});
|
|
80
|
+
array.push({ key: `token/list/${address}`, value: address });
|
|
81
|
+
array.push({ key: `token/${address}/icon`, value: tokenIcon });
|
|
82
|
+
array.push({ key: `token/${address}/website`, value: tokenWebsite });
|
|
83
|
+
array.push({ key: `token/${address}/ipfsGateway`, value: ipfsGateway });
|
|
84
|
+
const announceArray = formatAnnounceArray(array);
|
|
85
|
+
return chunk(announceArray).map(
|
|
86
|
+
(group) => announcement.announce(group).data
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
export {
|
|
90
|
+
packContractAndToken
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=contractManagerTool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/contractManagerTool.ts"],"sourcesContent":["// import SDK from 'js-conflux-sdk/dist/js-conflux-sdk.umd.min.js'; // >= v1.1.6\nimport SDK from 'js-conflux-sdk';\nimport { gzip } from 'pako';\nimport { parseString } from './index';\n\ntype AnyFunction = (...args: any[]) => any;\n\n// fix js-conflux-sdk types\nconst SDKFormat: (\n schema: Record<string, unknown> | Record<string, unknown>[],\n options?: {\n pick?: boolean;\n strict?: boolean;\n },\n) => AnyFunction = SDK.format;\nconst SDKContract: new (\n {\n abi,\n address,\n bytecode,\n decodeByteToHex,\n }: {\n abi: any[];\n address?: string;\n bytecode?: string;\n decodeByteToHex?: boolean;\n },\n conflux?: any,\n) => SDK.Contract = SDK.Contract;\n\nconst zipContractAndToken = SDKFormat(\n {\n address: SDK.format.hexAddress, // cip-37\n name: SDK.format.bytes.$before(parseString).$or(undefined),\n website: SDK.format.bytes.$before(parseString).$or(undefined),\n abi: SDK.format.bytes\n .$before(parseString)\n .$parse(JSON.stringify, Array.isArray)\n .$after(gzip)\n .$or(undefined),\n sourceCode: SDK.format.bytes\n .$before(parseString)\n .$after(gzip)\n .$or(undefined),\n optimizeRuns: SDK.format.uInt.$after(String).$or(undefined),\n icon: SDK.format.bytes.$before(parseString).$after(gzip).$or(undefined),\n tokenIcon: SDK.format.bytes\n .$before(parseString)\n .$after(gzip)\n .$or(undefined),\n tokenWebsite: SDK.format.bytes.$before(parseString).$or(undefined),\n ipfsGateway: SDK.format.bytes.$before(parseString).$or(undefined),\n },\n { pick: true, strict: true },\n);\n\nconst formatAnnounceArray = SDKFormat([\n {\n key: SDK.format.bytes.$before(parseString),\n value: SDK.format.bytes.$before(parseString),\n },\n]);\n\nconst announcement = new SDKContract({\n abi: [\n {\n type: 'function',\n name: 'announce',\n inputs: [\n {\n type: 'tuple[]',\n components: [\n { name: 'key', type: 'bytes' },\n { name: 'value', type: 'bytes' },\n ],\n },\n ],\n outputs: [{ name: 'count', type: 'uint256' }],\n },\n ],\n});\n\nfunction chunk(array: { key: string; value: string }[], maxSize = 150 * 1000) {\n const groupArray: { key: string; value: string }[][] = [];\n\n let group: { key: string; value: string }[] = [];\n let groupSize = 0;\n array.forEach(({ key, value }) => {\n const size = key.length + value.length;\n if (size > maxSize) {\n throw new Error(\n `key \"${key}\" and data size ${size} > maximum bytes ${maxSize}`,\n );\n }\n\n if (groupSize + size > maxSize) {\n groupArray.push(group);\n group = [];\n groupSize = 0;\n }\n\n group.push({ key, value });\n groupSize += size;\n });\n groupArray.push(group);\n\n return groupArray;\n}\n\n/**\n * Format, zip, split and encode contract&token register information as Announcement transaction data\n *\n * @param options {object}\n * @param options.address {string} - contract address hex\n * @param [options.name] {string} - contract name\n * @param [options.website] {string}\n * @param [options.abi] {string} - contract abi json or array object (will be gzip)\n * @param [options.sourceCode] {string} - contract source code (will be gzip)\n * @param [options.optimizeRuns] {number} - contract code compile optimize runs times\n * @param [options.icon] {Buffer} - contract icon bytes (will be gzip)\n * @param [options.tokenIcon] {Buffer} - token icon bytes (will be gzip)\n * @param [options.tokenWebsite] {string}\n * @param [options.ipfsGateway] {string}\n * @return {string[]} encoded transaction data, spilt by max transaction size\n *\n * @example\n * > packContractAndToken({\n address: '0x01234567890123456789012345678901A3456789',\n name: 'MiniERC20',\n abi: [\n {\n type: 'function',\n name: 'decimals',\n inputs: [],\n outputs: [{ type: 'uint8' }],\n },\n ],\n optimizeRuns: 10,\n icon: Buffer.from([1, 2, 3, 4, 5]),\n tokenIcon: Buffer.from([1, 2, 3, 4, 5]),\n })\n [\n '0xcf7bb3090000...'\n ]\n */\nexport function packContractAndToken(options: {\n address: string;\n name?: string;\n website?: string;\n abi?: any[];\n sourceCode?: string;\n optimizeRuns?: number;\n icon?: Buffer;\n tokenIcon?: Buffer;\n tokenWebsite?: string;\n ipfsGateway?: string;\n}): string[] {\n const { address, tokenIcon, tokenWebsite, ipfsGateway, ...object } =\n zipContractAndToken(options);\n\n const array = [{ key: `contract/list/${address}`, value: address }];\n Object.entries(object).forEach(([field, value]) => {\n array.push({ key: `contract/${address}/${field}`, value });\n });\n // push token info\n array.push({ key: `token/list/${address}`, value: address });\n array.push({ key: `token/${address}/icon`, value: tokenIcon });\n array.push({ key: `token/${address}/website`, value: tokenWebsite });\n array.push({ key: `token/${address}/ipfsGateway`, value: ipfsGateway });\n\n const announceArray = formatAnnounceArray(array);\n return chunk(announceArray).map(\n group => (announcement as any).announce(group).data,\n );\n}\n"],"mappings":"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","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cfxjs/sirius-next-common",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/**"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@cfx-kit/dapp-utils": "^0.2.3",
|
|
10
10
|
"@cfx-kit/react-utils": "^0.0.45",
|
|
11
|
-
"@cfx-kit/ui-components": "^0.0.
|
|
11
|
+
"@cfx-kit/ui-components": "^0.0.18",
|
|
12
12
|
"@radix-ui/react-radio-group": "^1.2.3",
|
|
13
13
|
"@radix-ui/react-select": "^2.0.0",
|
|
14
14
|
"@testing-library/react": "^15.0.5",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"ts-jest": "^29.1.2",
|
|
61
61
|
"typescript": "^5.4.2",
|
|
62
62
|
"unocss": "0.58.6",
|
|
63
|
-
"@cfxjs/sirius-next-i18n": "0.1.
|
|
64
|
-
"@cfxjs/sirius-next-
|
|
65
|
-
"@cfxjs/sirius-next-
|
|
63
|
+
"@cfxjs/sirius-next-i18n": "0.1.22",
|
|
64
|
+
"@cfxjs/sirius-next-eslint-config": "0.0.0",
|
|
65
|
+
"@cfxjs/sirius-next-typescript-config": "0.0.0"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|