@matchain/matchid-sdk-react 0.1.48-alpha.2 → 0.1.48-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/assets/icon/index.d.mts +12 -2
  2. package/dist/assets/icon/index.d.ts +12 -2
  3. package/dist/assets/icon/index.js +93 -2
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +9 -1
  6. package/dist/{chunk-6HRRPZPM.mjs → chunk-3UVHHJP6.mjs} +2 -2
  7. package/dist/chunk-5JHHHLG4.mjs +136 -0
  8. package/dist/chunk-5JHHHLG4.mjs.map +1 -0
  9. package/dist/{chunk-A5D3NKTK.mjs → chunk-LHNKZISB.mjs} +91 -4
  10. package/dist/chunk-LHNKZISB.mjs.map +1 -0
  11. package/dist/{chunk-D6IUBR7S.mjs → chunk-WHZ3HI4R.mjs} +2197 -553
  12. package/dist/chunk-WHZ3HI4R.mjs.map +1 -0
  13. package/dist/{chunk-LNSJ3ZXG.mjs → chunk-WXPVHKGJ.mjs} +73 -42
  14. package/dist/chunk-WXPVHKGJ.mjs.map +1 -0
  15. package/dist/components/index.d.mts +4 -3
  16. package/dist/components/index.d.ts +4 -3
  17. package/dist/components/index.js +2283 -525
  18. package/dist/components/index.js.map +1 -1
  19. package/dist/components/index.mjs +14 -3
  20. package/dist/hooks/api/index.d.mts +2 -2
  21. package/dist/hooks/api/index.d.ts +2 -2
  22. package/dist/hooks/api/index.js +375 -193
  23. package/dist/hooks/api/index.js.map +1 -1
  24. package/dist/hooks/api/index.mjs +5 -4
  25. package/dist/hooks/index.d.mts +4 -2
  26. package/dist/hooks/index.d.ts +4 -2
  27. package/dist/hooks/index.js +1904 -227
  28. package/dist/hooks/index.js.map +1 -1
  29. package/dist/hooks/index.mjs +12 -3
  30. package/dist/index-BMfaixEx.d.mts +66 -0
  31. package/dist/{index-DamklTOJ.d.mts → index-BMsj8hJv.d.ts} +4 -3
  32. package/dist/{index-CKiK4KHj.d.ts → index-BcEreCxd.d.ts} +1 -1
  33. package/dist/index-Bpmrd7mh.d.ts +66 -0
  34. package/dist/{index-CGs_yTFg.d.ts → index-Bvc8cjpN.d.ts} +34 -4
  35. package/dist/{index-C2-M-aBb.d.ts → index-C9F6f2iz.d.mts} +4 -3
  36. package/dist/{index-M7ZB3yR5.d.mts → index-C9qYyRgt.d.mts} +34 -4
  37. package/dist/index-CFKZWJVt.d.ts +3306 -0
  38. package/dist/{index-Bb7IkjUW.d.mts → index-Cou96DpL.d.mts} +1 -1
  39. package/dist/{index-BIgM4fy0.d.mts → index-Cy3K-Yao.d.ts} +31 -8
  40. package/dist/{index-BwD1ij0H.d.ts → index-D4ju2J_e.d.mts} +31 -8
  41. package/dist/index-Dhtyz0pT.d.mts +3306 -0
  42. package/dist/index.css +587 -6
  43. package/dist/index.d.mts +9 -8
  44. package/dist/index.d.ts +9 -8
  45. package/dist/index.js +2855 -1015
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +11 -10
  48. package/dist/types/index.d.mts +2 -1
  49. package/dist/types/index.d.ts +2 -1
  50. package/dist/{types-DQq17lf4.d.mts → types-DzVVzMYU.d.mts} +74 -36
  51. package/dist/{types-DQq17lf4.d.ts → types-DzVVzMYU.d.ts} +74 -36
  52. package/dist/ui/index.d.mts +4 -3
  53. package/dist/ui/index.d.ts +4 -3
  54. package/dist/ui/index.js +140 -95
  55. package/dist/ui/index.js.map +1 -1
  56. package/dist/ui/index.mjs +2 -2
  57. package/dist/utils/index.d.mts +26 -0
  58. package/dist/utils/index.d.ts +26 -0
  59. package/dist/utils/index.js +181 -0
  60. package/dist/utils/index.js.map +1 -0
  61. package/dist/utils/index.mjs +30 -0
  62. package/dist/utils/index.mjs.map +1 -0
  63. package/example/src/pages/Wallet/components/MatchWallet.tsx +24 -10
  64. package/example/src/pages/Wallet/index.tsx +2 -1
  65. package/package.json +7 -1
  66. package/dist/chunk-A5D3NKTK.mjs.map +0 -1
  67. package/dist/chunk-D6IUBR7S.mjs.map +0 -1
  68. package/dist/chunk-LNSJ3ZXG.mjs.map +0 -1
  69. package/dist/index-BHVMQGZj.d.mts +0 -173
  70. package/dist/index-BVatQlwF.d.mts +0 -59
  71. package/dist/index-DgAnNnit.d.ts +0 -173
  72. package/dist/index-RfA22r-Z.d.ts +0 -59
  73. /package/dist/{chunk-6HRRPZPM.mjs.map → chunk-3UVHHJP6.mjs.map} +0 -0
@@ -2,6 +2,7 @@ import {
2
2
  ArrowDownIcon,
3
3
  ArrowLeftIcon,
4
4
  ArrowRightIcon,
5
+ ArrowSendIcon,
5
6
  BTCDarkIcon,
6
7
  BTCLightIcon,
7
8
  BackIcon,
@@ -22,6 +23,8 @@ import {
22
23
  FacebookIcon,
23
24
  GithubIcon,
24
25
  GoogleIcon,
26
+ InfoLineIcon,
27
+ InfoRoundIcon,
25
28
  LeatherIcon,
26
29
  LinkedinIcon,
27
30
  LoadingIcon_default,
@@ -36,6 +39,7 @@ import {
36
39
  TelegramIcon,
37
40
  TonLightIcon,
38
41
  TonLightIcon2,
42
+ TransferIcon,
39
43
  TronLinkIcon,
40
44
  UnLoginIcon_default,
41
45
  UnisatIcon,
@@ -43,12 +47,13 @@ import {
43
47
  XIcon,
44
48
  XverseIcon,
45
49
  YoutubeIcon
46
- } from "../../chunk-A5D3NKTK.mjs";
50
+ } from "../../chunk-LHNKZISB.mjs";
47
51
  import "../../chunk-J5LGTIGS.mjs";
48
52
  export {
49
53
  ArrowDownIcon,
50
54
  ArrowLeftIcon,
51
55
  ArrowRightIcon,
56
+ ArrowSendIcon,
52
57
  BTCDarkIcon,
53
58
  BTCLightIcon,
54
59
  BackIcon,
@@ -69,6 +74,8 @@ export {
69
74
  FacebookIcon,
70
75
  GithubIcon,
71
76
  GoogleIcon,
77
+ InfoLineIcon,
78
+ InfoRoundIcon,
72
79
  LeatherIcon,
73
80
  LinkedinIcon,
74
81
  LoadingIcon_default as LoadingIcon,
@@ -83,6 +90,7 @@ export {
83
90
  TelegramIcon,
84
91
  TonLightIcon as TonDarkIcon,
85
92
  TonLightIcon2 as TonLightIcon,
93
+ TransferIcon,
86
94
  TronLinkIcon,
87
95
  UnLoginIcon_default as UnLoginIcon,
88
96
  UnisatIcon,
@@ -11,7 +11,7 @@ import {
11
11
  useUserInfo,
12
12
  verifyPohApi,
13
13
  wallet_exports
14
- } from "./chunk-D6IUBR7S.mjs";
14
+ } from "./chunk-WHZ3HI4R.mjs";
15
15
  import {
16
16
  __export
17
17
  } from "./chunk-J5LGTIGS.mjs";
@@ -94,4 +94,4 @@ export {
94
94
  user_exports,
95
95
  api_exports
96
96
  };
97
- //# sourceMappingURL=chunk-6HRRPZPM.mjs.map
97
+ //# sourceMappingURL=chunk-3UVHHJP6.mjs.map
@@ -0,0 +1,136 @@
1
+ // src/utils/index.tsx
2
+ import moment from "moment";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ var getVersion = () => {
5
+ return "0.0.2";
6
+ };
7
+ function encodeBase64(input) {
8
+ return btoa(unescape(encodeURIComponent(input)));
9
+ }
10
+ function decodeBase64(input) {
11
+ return decodeURIComponent(escape(atob(input)));
12
+ }
13
+ var isValidEmail = (email) => {
14
+ return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email);
15
+ };
16
+ var isValidUsername = (username) => {
17
+ return /^[a-zA-Z0-9_-]+$/.test(username);
18
+ };
19
+ var deepMerge = (target, source) => {
20
+ for (const key in source) {
21
+ if (source[key] instanceof Object && key in target) {
22
+ target[key] = deepMerge(target[key], source[key]);
23
+ } else {
24
+ target[key] = source[key];
25
+ }
26
+ }
27
+ return target;
28
+ };
29
+ function truncateAddress(address) {
30
+ if (address.length <= 6) {
31
+ return address;
32
+ }
33
+ const start = address.slice(0, 4);
34
+ const end = address.slice(-2);
35
+ return `${start}...${end}`;
36
+ }
37
+ function firstUpperCase(str) {
38
+ return str.toString()[0].toUpperCase() + str.toString().slice(1);
39
+ }
40
+ function getAppClientId() {
41
+ return "react-sdk-" + getVersion();
42
+ }
43
+ function convertScientificToDecimal(num) {
44
+ let str = num.toFixed(12);
45
+ str = str.replace(/0+$/, "");
46
+ str = str.replace(/\.$/, "");
47
+ return str;
48
+ }
49
+ var NumberFormatter = ({
50
+ value,
51
+ prefix = "",
52
+ suffix = "",
53
+ separator = true,
54
+ fixNum = 2,
55
+ tFixNum = 4,
56
+ intClassName = "",
57
+ decimalClassName = "",
58
+ prefixClassName = "",
59
+ className = ""
60
+ }) => {
61
+ const numberValue = typeof value === "number" ? convertScientificToDecimal(value) : value ? value : "0";
62
+ const [intPart, decimalPart] = numberValue.toString().split(".");
63
+ const intFormat = separator ? intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",") : intPart;
64
+ if (Math.abs(parseFloat(numberValue)) >= 1) {
65
+ return /* @__PURE__ */ jsxs("span", { className, children: [
66
+ prefix && /* @__PURE__ */ jsx("span", { className: prefixClassName, children: prefix }),
67
+ /* @__PURE__ */ jsx("span", { className: intClassName, children: intFormat }),
68
+ decimalPart ? /* @__PURE__ */ jsxs("span", { className: decimalClassName, children: [
69
+ ".",
70
+ decimalPart.substring(0, fixNum)
71
+ ] }) : "",
72
+ suffix
73
+ ] });
74
+ }
75
+ if (decimalPart) {
76
+ let zeroCount = 0;
77
+ for (let i = 0; i < decimalPart.length; i++) {
78
+ if (decimalPart[i] === "0") {
79
+ zeroCount++;
80
+ } else {
81
+ break;
82
+ }
83
+ }
84
+ if (zeroCount < tFixNum) {
85
+ return /* @__PURE__ */ jsxs("span", { children: [
86
+ prefix && /* @__PURE__ */ jsx("span", { className: prefixClassName, children: prefix }),
87
+ /* @__PURE__ */ jsx("span", { className: intClassName, children: intFormat }),
88
+ /* @__PURE__ */ jsxs("span", { className: decimalClassName, children: [
89
+ ".",
90
+ decimalPart.substring(0, tFixNum)
91
+ ] }),
92
+ suffix
93
+ ] });
94
+ }
95
+ return /* @__PURE__ */ jsxs("span", { children: [
96
+ prefix && /* @__PURE__ */ jsx("span", { className: prefixClassName, children: prefix }),
97
+ /* @__PURE__ */ jsx("span", { className: intClassName, children: intFormat }),
98
+ /* @__PURE__ */ jsxs("span", { className: decimalClassName, children: [
99
+ ".0",
100
+ /* @__PURE__ */ jsx("sub", { children: zeroCount }),
101
+ decimalPart?.substring(zeroCount, zeroCount + tFixNum - 2)
102
+ ] }),
103
+ suffix
104
+ ] });
105
+ }
106
+ return /* @__PURE__ */ jsxs("span", { className, children: [
107
+ prefix && /* @__PURE__ */ jsx("span", { className: prefixClassName, children: prefix }),
108
+ /* @__PURE__ */ jsx("span", { className: intClassName, children: intPart }),
109
+ suffix
110
+ ] });
111
+ };
112
+ function formatAddress(address, pre = 4, after = 5) {
113
+ return `${address.substring(0, pre)}...${address.substring(address.length - after, address.length)}`;
114
+ }
115
+ var formatDate = (value, formatString = "YYYY-MM-DD HH:mm:ss") => {
116
+ if (value) {
117
+ return moment.unix(value).format(formatString);
118
+ }
119
+ return "--";
120
+ };
121
+
122
+ export {
123
+ getVersion,
124
+ encodeBase64,
125
+ decodeBase64,
126
+ isValidEmail,
127
+ isValidUsername,
128
+ deepMerge,
129
+ truncateAddress,
130
+ firstUpperCase,
131
+ getAppClientId,
132
+ NumberFormatter,
133
+ formatAddress,
134
+ formatDate
135
+ };
136
+ //# sourceMappingURL=chunk-5JHHHLG4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/index.tsx"],"sourcesContent":["import moment from 'moment';\n\nexport const getVersion = (): string => {\n return \"0.0.2\";\n};\n\nexport function encodeBase64(input: string) {\n return btoa(unescape(encodeURIComponent(input)));\n}\n\nexport function decodeBase64(input: string) {\n return decodeURIComponent(escape(atob(input)));\n}\n\nexport const isValidEmail = (email: string) => {\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email)\n}\nexport const isValidUsername = (username: string) => {\n //8-32 alpha number - _\n return /^[a-zA-Z0-9_-]+$/.test(username)\n}\n\nexport const deepMerge = (target: any, source: any): any => {\n for (const key in source) {\n if (source[key] instanceof Object && key in target) {\n target[key] = deepMerge(target[key], source[key]);\n } else {\n target[key] = source[key];\n }\n }\n return target;\n};\n\nexport function truncateAddress(address: string): string {\n if (address.length <= 6) {\n return address;\n }\n const start = address.slice(0, 4);\n const end = address.slice(-2);\n return `${start}...${end}`;\n}\n\n\nexport function firstUpperCase(str: string): string {\n return str.toString()[0].toUpperCase() + str.toString().slice(1);\n}\n\nexport function getAppClientId() {\n return \"react-sdk-\" + getVersion()\n}\n\n\nfunction convertScientificToDecimal(num: number) {\n let str = num.toFixed(12)\n str = str.replace(/0+$/, '')\n str = str.replace(/\\.$/, '')\n return str\n}\n\ninterface NumberFormatterProps {\n value: number | string | undefined\n prefix?: string\n suffix?: string\n separator?: boolean\n fixNum?: number //number >= 1 fix num\n tFixNum?: number //number < 1 fix num\n intClassName?: string\n decimalClassName?: string\n prefixClassName?: string\n className?: string\n}\n\nexport const NumberFormatter: React.FC<NumberFormatterProps> = ({\n value,\n prefix = '',\n suffix = '',\n separator = true,\n fixNum = 2,\n tFixNum = 4,\n intClassName = \"\",\n decimalClassName = \"\",\n prefixClassName = \"\",\n className = \"\"\n }) => {\n const numberValue =\n typeof value === 'number'\n ? convertScientificToDecimal(value)\n : value\n ? value\n : '0'\n\n const [intPart, decimalPart] = numberValue.toString().split('.')\n\n const intFormat = separator\n ? intPart.replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',')\n : intPart\n\n if (Math.abs(parseFloat(numberValue)) >= 1) {\n return (\n <span className={className}>\n {prefix && <span className={prefixClassName}>{prefix}</span>}\n <span className={intClassName}>{intFormat}</span>\n {decimalPart ? (\n <span className={decimalClassName}>\n .{decimalPart.substring(0, fixNum)}\n </span>\n ) : (\n ''\n )}\n {suffix}\n </span>\n )\n }\n\n if (decimalPart) {\n let zeroCount = 0\n for (let i = 0; i < decimalPart.length; i++) {\n if (decimalPart[i] === '0') {\n zeroCount++\n } else {\n break\n }\n }\n if (zeroCount < tFixNum) {\n return (\n <span>\n {prefix && <span className={prefixClassName}>{prefix}</span>}\n <span className={intClassName}>{intFormat}</span>\n <span className={decimalClassName}>\n .{decimalPart.substring(0, tFixNum)}\n </span>\n {suffix}\n </span>\n )\n }\n return (\n <span>\n {prefix && <span className={prefixClassName}>{prefix}</span>}\n <span className={intClassName}>{intFormat}</span>\n <span className={decimalClassName}>\n .0<sub>{zeroCount}</sub>\n {decimalPart?.substring(zeroCount, zeroCount + tFixNum - 2)}\n </span>\n {suffix}\n </span>\n )\n }\n return (\n <span className={className}>\n {prefix && <span className={prefixClassName}>{prefix}</span>}\n <span className={intClassName}>{intPart}</span>\n {suffix}\n </span>\n )\n}\n\nexport function formatAddress(address: string,pre=4,after=5) {\n return `${address.substring(0, pre)}...${address.substring(address.length - after, address.length)}`\n}\n\nexport const formatDate = (value: any, formatString = 'YYYY-MM-DD HH:mm:ss') => {\n if (value) {\n return moment.unix(value).format(formatString)\n }\n return '--'\n}"],"mappings":";AAAA,OAAO,YAAY;AAoGI,cAGH,YAHG;AAlGhB,IAAM,aAAa,MAAc;AACpC,SAAO;AACX;AAEO,SAAS,aAAa,OAAe;AACxC,SAAO,KAAK,SAAS,mBAAmB,KAAK,CAAC,CAAC;AACnD;AAEO,SAAS,aAAa,OAAe;AACxC,SAAO,mBAAmB,OAAO,KAAK,KAAK,CAAC,CAAC;AACjD;AAEO,IAAM,eAAe,CAAC,UAAkB;AAC3C,SAAO,6BAA6B,KAAK,KAAK;AAClD;AACO,IAAM,kBAAkB,CAAC,aAAqB;AAEjD,SAAO,mBAAmB,KAAK,QAAQ;AAC3C;AAEO,IAAM,YAAY,CAAC,QAAa,WAAqB;AACxD,aAAW,OAAO,QAAQ;AACtB,QAAI,OAAO,GAAG,aAAa,UAAU,OAAO,QAAQ;AAChD,aAAO,GAAG,IAAI,UAAU,OAAO,GAAG,GAAG,OAAO,GAAG,CAAC;AAAA,IACpD,OAAO;AACH,aAAO,GAAG,IAAI,OAAO,GAAG;AAAA,IAC5B;AAAA,EACJ;AACA,SAAO;AACX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loseRoundIcon({ size = 30, ...props }) {
184
184
 
185
185
  // src/assets/icon/LoadingIcon.tsx
186
186
  import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
187
- var LoadingIcon = ({ size = 22, className = "", color = "white" }) => /* @__PURE__ */ jsxs7(
187
+ var LoadingIcon = ({ size = 22, className = "", color = "white", rotate = false }) => /* @__PURE__ */ jsxs7(
188
188
  "svg",
189
189
  {
190
190
  width: size,
@@ -192,7 +192,7 @@ var LoadingIcon = ({ size = 22, className = "", color = "white" }) => /* @__PURE
192
192
  viewBox: "0 0 22 22",
193
193
  fill: "none",
194
194
  xmlns: "http://www.w3.org/2000/svg",
195
- className,
195
+ className: className + " " + (rotate ? "matchid-rotate" : ""),
196
196
  children: [
197
197
  /* @__PURE__ */ jsx10("path", { d: "M11 1V3.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
198
198
  /* @__PURE__ */ jsx10("path", { opacity: "0.3", d: "M3.92834 3.92871L5.69977 5.70017", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -1098,6 +1098,89 @@ function ErrorRoundIcon({
1098
1098
  ] });
1099
1099
  }
1100
1100
 
1101
+ // src/assets/icon/InfoLineIcon.tsx
1102
+ import { jsx as jsx45, jsxs as jsxs29 } from "react/jsx-runtime";
1103
+ function InfoLineIcon({
1104
+ size,
1105
+ color = "#6E6E6E",
1106
+ ...props
1107
+ }) {
1108
+ return /* @__PURE__ */ jsxs29("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1109
+ /* @__PURE__ */ jsx45("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ jsx45(
1110
+ "path",
1111
+ {
1112
+ fillRule: "evenodd",
1113
+ clipRule: "evenodd",
1114
+ d: "M7.99984 0.666504C3.94975 0.666504 0.666504 3.94975 0.666504 7.99984C0.666504 12.0499 3.94975 15.3332 7.99984 15.3332C12.0499 15.3332 15.3332 12.0499 15.3332 7.99984C15.3332 3.94975 12.0499 0.666504 7.99984 0.666504ZM1.99984 7.99984C1.99984 4.68613 4.68613 1.99984 7.99984 1.99984C11.3135 1.99984 13.9998 4.68613 13.9998 7.99984C13.9998 11.3135 11.3135 13.9998 7.99984 13.9998C4.68613 13.9998 1.99984 11.3135 1.99984 7.99984ZM8.6665 7.33317C8.6665 6.96498 8.36803 6.6665 7.99984 6.6665C7.63165 6.6665 7.33317 6.96498 7.33317 7.33317V11.3332C7.33317 11.7014 7.63165 11.9998 7.99984 11.9998C8.36803 11.9998 8.6665 11.7014 8.6665 11.3332V7.33317ZM7.99984 5.33317C8.36803 5.33317 8.6665 5.03469 8.6665 4.6665C8.6665 4.29831 8.36803 3.99984 7.99984 3.99984C7.63165 3.99984 7.33317 4.29831 7.33317 4.6665C7.33317 5.03469 7.63165 5.33317 7.99984 5.33317Z",
1115
+ fill: color
1116
+ }
1117
+ ) }),
1118
+ /* @__PURE__ */ jsx45("defs", { children: /* @__PURE__ */ jsx45("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ jsx45("rect", { width: "16", height: "16", fill: "white" }) }) })
1119
+ ] });
1120
+ }
1121
+
1122
+ // src/assets/icon/InfoRoundIcon.tsx
1123
+ import { jsx as jsx46, jsxs as jsxs30 } from "react/jsx-runtime";
1124
+ function InfoRoundIcon({
1125
+ size = 16,
1126
+ color = "#F14141",
1127
+ ...props
1128
+ }) {
1129
+ return /* @__PURE__ */ jsxs30("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1130
+ /* @__PURE__ */ jsx46("circle", { cx: "8", cy: "8", r: "8", fill: color }),
1131
+ /* @__PURE__ */ jsx46("path", { d: "M8 4V8.8", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round" }),
1132
+ /* @__PURE__ */ jsx46("circle", { cx: "8.0002", cy: "11.2004", r: "0.8", fill: "white" })
1133
+ ] });
1134
+ }
1135
+
1136
+ // src/assets/icon/TransferIcon.tsx
1137
+ import { jsx as jsx47, jsxs as jsxs31 } from "react/jsx-runtime";
1138
+ function TransferIcon({ size = 40, ...props }) {
1139
+ return /* @__PURE__ */ jsxs31("svg", { width: size, height: size, viewBox: "0 0 40 40", ...props, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1140
+ /* @__PURE__ */ jsx47("rect", { x: "2", y: "2", width: "36", height: "36", rx: "18", fill: "white" }),
1141
+ /* @__PURE__ */ jsx47("rect", { x: "2", y: "2", width: "36", height: "36", rx: "18", stroke: "#F8F8F8", strokeWidth: "4" }),
1142
+ /* @__PURE__ */ jsx47(
1143
+ "path",
1144
+ {
1145
+ d: "M18.666 12.8913L18.666 26.2246L14.666 21.6413",
1146
+ stroke: "black",
1147
+ strokeWidth: "1.4",
1148
+ strokeLinecap: "round",
1149
+ strokeLinejoin: "round"
1150
+ }
1151
+ ),
1152
+ /* @__PURE__ */ jsx47(
1153
+ "path",
1154
+ {
1155
+ d: "M22.2217 12.8913L22.2217 26.2246L26.2217 21.6413",
1156
+ stroke: "black",
1157
+ strokeWidth: "1.4",
1158
+ strokeLinecap: "round",
1159
+ strokeLinejoin: "round"
1160
+ }
1161
+ )
1162
+ ] });
1163
+ }
1164
+
1165
+ // src/assets/icon/ArrowSendIcon.tsx
1166
+ import { jsx as jsx48 } from "react/jsx-runtime";
1167
+ function ArrowSendIcon({
1168
+ size = 34,
1169
+ color = "#6E6E6E",
1170
+ ...props
1171
+ }) {
1172
+ return /* @__PURE__ */ jsx48("svg", { width: size, height: size, viewBox: "0 0 34 34", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx48(
1173
+ "path",
1174
+ {
1175
+ d: "M22.6567 11.313L11.343 22.6267M22.6567 11.313L22.6567 19.7982M22.6567 11.313L14.1714 11.313",
1176
+ stroke: color,
1177
+ strokeWidth: "2",
1178
+ strokeLinecap: "round",
1179
+ strokeLinejoin: "round"
1180
+ }
1181
+ ) });
1182
+ }
1183
+
1101
1184
  export {
1102
1185
  BackIcon,
1103
1186
  CloseIcon,
@@ -1142,6 +1225,10 @@ export {
1142
1225
  BitgetIcon,
1143
1226
  TonLightIcon,
1144
1227
  TonLightIcon2,
1145
- ErrorRoundIcon
1228
+ ErrorRoundIcon,
1229
+ InfoLineIcon,
1230
+ InfoRoundIcon,
1231
+ TransferIcon,
1232
+ ArrowSendIcon
1146
1233
  };
1147
- //# sourceMappingURL=chunk-A5D3NKTK.mjs.map
1234
+ //# sourceMappingURL=chunk-LHNKZISB.mjs.map