@matchain/matchid-sdk-react 0.1.47 → 0.1.48-alpha.1

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 (84) hide show
  1. package/dist/assets/icon/index.d.mts +4 -2
  2. package/dist/assets/icon/index.d.ts +4 -2
  3. package/dist/assets/icon/index.js +27 -0
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +3 -1
  6. package/dist/chunk-A477SJHT.mjs +4549 -0
  7. package/dist/chunk-A477SJHT.mjs.map +1 -0
  8. package/dist/{chunk-DPXMCLYK.mjs → chunk-A5D3NKTK.mjs} +29 -3
  9. package/dist/chunk-A5D3NKTK.mjs.map +1 -0
  10. package/dist/{chunk-A3XSTHEE.mjs → chunk-AFZSANRV.mjs} +8 -4
  11. package/dist/chunk-AFZSANRV.mjs.map +1 -0
  12. package/dist/chunk-HBOS3RBL.mjs +19 -0
  13. package/dist/chunk-HBOS3RBL.mjs.map +1 -0
  14. package/dist/{chunk-TOUC33US.mjs → chunk-LNSJ3ZXG.mjs} +294 -4680
  15. package/dist/chunk-LNSJ3ZXG.mjs.map +1 -0
  16. package/dist/{chunk-SQIJR7RA.mjs → chunk-UA6XHZHX.mjs} +2 -14
  17. package/dist/chunk-UA6XHZHX.mjs.map +1 -0
  18. package/dist/components/index.d.mts +3 -3
  19. package/dist/components/index.d.ts +3 -3
  20. package/dist/components/index.js +450 -841
  21. package/dist/components/index.js.map +1 -1
  22. package/dist/components/index.mjs +12 -12
  23. package/dist/hooks/api/index.d.mts +2 -2
  24. package/dist/hooks/api/index.d.ts +2 -2
  25. package/dist/hooks/api/index.js +410 -256
  26. package/dist/hooks/api/index.js.map +1 -1
  27. package/dist/hooks/api/index.mjs +11 -5
  28. package/dist/hooks/index.d.mts +2 -2
  29. package/dist/hooks/index.d.ts +2 -2
  30. package/dist/hooks/index.js +659 -495
  31. package/dist/hooks/index.js.map +1 -1
  32. package/dist/hooks/index.mjs +14 -4
  33. package/dist/index-BIgM4fy0.d.mts +122 -0
  34. package/dist/{index-DR2JTaoi.d.mts → index-BVatQlwF.d.mts} +10 -2
  35. package/dist/index-Bb7IkjUW.d.mts +26 -0
  36. package/dist/index-BwD1ij0H.d.ts +122 -0
  37. package/dist/index-C2-M-aBb.d.ts +57 -0
  38. package/dist/{index-DVlCrOjr.d.ts → index-CGs_yTFg.d.ts} +5 -33
  39. package/dist/index-CKiK4KHj.d.ts +26 -0
  40. package/dist/{index-D2pNP7Bz.d.mts → index-DO5x10pN.d.mts} +46 -26
  41. package/dist/index-DamklTOJ.d.mts +57 -0
  42. package/dist/{index-B0VpxAI2.d.mts → index-M7ZB3yR5.d.mts} +5 -33
  43. package/dist/{index-CFWR1boZ.d.ts → index-Pssz41An.d.ts} +46 -26
  44. package/dist/{index-CTSg5TRS.d.ts → index-RfA22r-Z.d.ts} +10 -2
  45. package/dist/index.css +241 -3
  46. package/dist/index.d.mts +8 -6
  47. package/dist/index.d.ts +8 -6
  48. package/dist/index.js +2808 -2672
  49. package/dist/index.js.map +1 -1
  50. package/dist/index.mjs +10 -5
  51. package/dist/types/index.d.mts +1 -1
  52. package/dist/types/index.d.ts +1 -1
  53. package/dist/types/index.mjs +2 -1
  54. package/dist/{types-CRumDe2M.d.mts → types-DQq17lf4.d.mts} +116 -1
  55. package/dist/{types-CRumDe2M.d.ts → types-DQq17lf4.d.ts} +116 -1
  56. package/dist/ui/index.d.mts +6 -0
  57. package/dist/ui/index.d.ts +6 -0
  58. package/dist/ui/index.js +724 -0
  59. package/dist/ui/index.js.map +1 -0
  60. package/dist/ui/index.mjs +33 -0
  61. package/dist/ui/index.mjs.map +1 -0
  62. package/example/src/App.tsx +7 -0
  63. package/example/src/config/chains/matchMain.ts +2 -3
  64. package/example/src/pages/UI/components/AlphaAvatar.tsx +11 -0
  65. package/example/src/pages/UI/components/Radio.tsx +15 -0
  66. package/example/src/pages/UI/components/Switch.tsx +13 -0
  67. package/example/src/pages/UI/index.tsx +11 -0
  68. package/example/src/pages/User/components/BindListModal.tsx +1 -1
  69. package/example/src/pages/User/components/PohListModal.tsx +1 -1
  70. package/example/src/pages/User/index.tsx +1 -13
  71. package/example/src/pages/Wallet/components/AssetListModal.tsx +15 -0
  72. package/example/src/pages/Wallet/components/ChainListModal.tsx +11 -0
  73. package/example/src/pages/Wallet/components/ImportTokenListModal.tsx +15 -0
  74. package/example/src/pages/Wallet/components/MatchWallet.tsx +20 -0
  75. package/example/src/pages/Wallet/components/WalletChainListModal.tsx +11 -0
  76. package/example/src/pages/{Wallet.tsx → Wallet/index.tsx} +33 -2
  77. package/package.json +6 -1
  78. package/dist/chunk-A3XSTHEE.mjs.map +0 -1
  79. package/dist/chunk-DPXMCLYK.mjs.map +0 -1
  80. package/dist/chunk-SQIJR7RA.mjs.map +0 -1
  81. package/dist/chunk-TOUC33US.mjs.map +0 -1
  82. package/dist/index-CWYElOA2.d.mts +0 -65
  83. package/dist/index-CoTirILQ.d.ts +0 -65
  84. /package/example/src/{pages/User/components → components}/QueryDisplay.tsx +0 -0
@@ -0,0 +1,15 @@
1
+ import {Radio} from "@matchain/matchid-sdk-react/ui";
2
+ import ButtonGroup from "@/components/ButtonGroup";
3
+ import {useState} from "react";
4
+
5
+ export default function RadioDemo(){
6
+ const [checked,setChecked] = useState(false)
7
+ return <ButtonGroup title={"Radio"}>
8
+ <Radio checked={checked} onChange={()=>{
9
+ setChecked(true)
10
+ }}/>
11
+ <Radio checked={!checked} onChange={()=>{
12
+ setChecked(false)
13
+ }}/>
14
+ </ButtonGroup>
15
+ }
@@ -0,0 +1,13 @@
1
+ import {Switch} from "@matchain/matchid-sdk-react/ui"
2
+ import ButtonGroup from "@/components/ButtonGroup";
3
+ import {useState} from "react";
4
+ export default function SwitchDemo(){
5
+ const [checked,setChecked] = useState(false)
6
+
7
+ return <ButtonGroup title={"Switch"}>
8
+ <Switch checked={checked} onChange={(v)=>setChecked(v)}/>
9
+ <Switch loading checked={checked} onChange={(v)=>setChecked(v)}/>
10
+ <Switch size={"sm"} checked={checked} onChange={(v)=>setChecked(v)}/>
11
+ <Switch disabled checked={checked} onChange={(v)=>setChecked(v)}/>
12
+ </ButtonGroup>
13
+ }
@@ -0,0 +1,11 @@
1
+ import SwitchDemo from "@/pages/UI/components/Switch";
2
+ import AlphaAvatarDemo from "@/pages/UI/components/AlphaAvatar";
3
+ import RadioDemo from "@/pages/UI/components/Radio";
4
+
5
+ export default function UI(){
6
+ return <div>
7
+ <SwitchDemo/>
8
+ <AlphaAvatarDemo/>
9
+ <RadioDemo/>
10
+ </div>
11
+ }
@@ -1,6 +1,6 @@
1
1
  import { ModalWithHeader } from '@matchain/matchid-sdk-react/components';
2
2
  import React from "react";
3
- import QueryDisplay from "@/pages/User/components/QueryDisplay";
3
+ import QueryDisplay from "@/components/QueryDisplay";
4
4
  import {Api} from "@matchain/matchid-sdk-react";
5
5
  export default function BindListModal({isOpen, onClose}: {isOpen: boolean, onClose: () => void}) {
6
6
  const bindListQuery = Api.bind.useBindList()
@@ -1,6 +1,6 @@
1
1
  import { ModalWithHeader } from '@matchain/matchid-sdk-react/components';
2
2
  import React from "react";
3
- import QueryDisplay from "@/pages/User/components/QueryDisplay";
3
+ import QueryDisplay from "@/components/QueryDisplay";
4
4
  import {Api} from "@matchain/matchid-sdk-react";
5
5
  export default function PohListModal({isOpen, onClose}: {isOpen: boolean, onClose: () => void}) {
6
6
  const pohListQuery = Api.poh.usePohList()
@@ -5,10 +5,10 @@ import {useMatchEvents, useUserInfo, useWallet} from "@matchain/matchid-sdk-reac
5
5
  import {
6
6
  LoginButton,
7
7
  UsernameModal,
8
- PasswordModal,
9
8
  } from "@matchain/matchid-sdk-react/components";
10
9
  import BindListModal from "@/pages/User/components/BindListModal";
11
10
  import PohListModal from "@/pages/User/components/PohListModal";
11
+ import ChainListModal from "@/pages/Wallet/components/ChainListModal";
12
12
  import ButtonGroup from "@/components/ButtonGroup";
13
13
 
14
14
 
@@ -26,7 +26,6 @@ function LoginContent() {
26
26
  getAuthInfo
27
27
  } = useUserInfo();
28
28
  const [usernameOpen, setUsernameOpen] = useState(false)
29
- const [passwordOpen, setPasswordOpen] = useState(false)
30
29
  const [modal, setModal] = useState<'bindList' | 'pohList' | ''>('')
31
30
  const refreshOv = async () => {
32
31
  await refreshOverview()
@@ -53,10 +52,6 @@ function LoginContent() {
53
52
  <button className={`bg-gray-300 p-1 rounded`}
54
53
  onClick={() => setUsernameOpen(true)}>Set username
55
54
  </button>
56
-
57
- <button className={`bg-gray-300 p-1 rounded mr-5`}
58
- onClick={() => setPasswordOpen(true)}>Set Password
59
- </button>
60
55
  <button className={`bg-gray-300 p-1 rounded`}
61
56
  onClick={onAuth}>Third party auth
62
57
  </button>
@@ -73,13 +68,6 @@ function LoginContent() {
73
68
  alert('set username success')
74
69
  setUsernameOpen(false)
75
70
  }}/>
76
- <PasswordModal isOpen={passwordOpen} onClose={() => setPasswordOpen(false)} onBack={() => {
77
- console.log('set password modal back event')
78
- setPasswordOpen(false)
79
- }} onSuccess={() => {
80
- alert('set password success')
81
- setPasswordOpen(false)
82
- }}/>
83
71
  </ButtonGroup>
84
72
  <ButtonGroup title={"Bind"}>
85
73
  {
@@ -0,0 +1,15 @@
1
+ import { ModalWithHeader } from '@matchain/matchid-sdk-react/components';
2
+ import React from "react";
3
+ import QueryDisplay from "@/components/QueryDisplay";
4
+ import {Api} from "@matchain/matchid-sdk-react";
5
+ import useLocalStore from "@/store/useLocalStore";
6
+ export default function AssetListModal({isOpen, onClose}: {isOpen: boolean, onClose: () => void}) {
7
+ const {initChainId} = useLocalStore()
8
+ const query = Api.wallet.useAssetListQuery({
9
+ chainId:initChainId
10
+ })
11
+
12
+ return <ModalWithHeader isOpen={isOpen} onClose={onClose} title={"AssetListQuery"}>
13
+ <QueryDisplay query={query} />
14
+ </ModalWithHeader>
15
+ }
@@ -0,0 +1,11 @@
1
+ import { ModalWithHeader } from '@matchain/matchid-sdk-react/components';
2
+ import React from "react";
3
+ import QueryDisplay from "@/components/QueryDisplay";
4
+ import {Api} from "@matchain/matchid-sdk-react";
5
+ export default function ChainListModal({isOpen, onClose}: {isOpen: boolean, onClose: () => void}) {
6
+ const query = Api.wallet.useChainListQuery()
7
+
8
+ return <ModalWithHeader isOpen={isOpen} onClose={onClose} title={"ChainListQuery"}>
9
+ <QueryDisplay query={query} />
10
+ </ModalWithHeader>
11
+ }
@@ -0,0 +1,15 @@
1
+ import { ModalWithHeader } from '@matchain/matchid-sdk-react/components';
2
+ import React from "react";
3
+ import QueryDisplay from "@/components/QueryDisplay";
4
+ import {Api} from "@matchain/matchid-sdk-react";
5
+ import useLocalStore from "@/store/useLocalStore";
6
+ export default function ImportTokenListModal({isOpen, onClose}: {isOpen: boolean, onClose: () => void}) {
7
+ const {initChainId} = useLocalStore()
8
+ const query = Api.wallet.useImportTokenListQuery({
9
+ chainId:initChainId
10
+ })
11
+
12
+ return <ModalWithHeader isOpen={isOpen} onClose={onClose} title={"ImportTokenListQuery"}>
13
+ <QueryDisplay query={query} />
14
+ </ModalWithHeader>
15
+ }
@@ -0,0 +1,20 @@
1
+ import {useMatchChain,useMatchWallet} from "@matchain/matchid-sdk-react/hooks";
2
+ import {Button} from "@matchain/matchid-sdk-react/components";
3
+
4
+ export default function MatchWallet(){
5
+ const chain = useMatchChain()
6
+ const wallet = useMatchWallet()
7
+ return (
8
+ <div className={"mt-[50px]"}>
9
+ <h1>MatchCustomUI</h1>
10
+ <div className={`flex gap-[16px] items-center`}>
11
+ {chain.chain?.id}:{chain.chain?.name}
12
+ <Button size={"sm"} onClick={chain.showChangeNetwork}>ChangeNetwork</Button>
13
+ </div>
14
+ <div>
15
+ <Button size={"sm"} onClick={wallet.showReceiveModal}>ShowReceive</Button>
16
+
17
+ </div>
18
+ </div>
19
+ )
20
+ }
@@ -0,0 +1,11 @@
1
+ import { ModalWithHeader } from '@matchain/matchid-sdk-react/components';
2
+ import React from "react";
3
+ import QueryDisplay from "@/components/QueryDisplay";
4
+ import {Api} from "@matchain/matchid-sdk-react";
5
+ export default function WalletChainListModal({isOpen, onClose}: {isOpen: boolean, onClose: () => void}) {
6
+ const query = Api.wallet.useWalletChainListQuery()
7
+
8
+ return <ModalWithHeader isOpen={isOpen} onClose={onClose} title={"WalletChainListQuery"}>
9
+ <QueryDisplay query={query} />
10
+ </ModalWithHeader>
11
+ }
@@ -1,4 +1,4 @@
1
- import {useWallet} from "@matchain/matchid-sdk-react/hooks"
1
+ import {useUserInfo, useWallet} from "@matchain/matchid-sdk-react/hooks"
2
2
  import {Input, Button} from "@matchain/matchid-sdk-react/components"
3
3
  import React, {useEffect, useMemo, useState} from "react";
4
4
  import {
@@ -37,7 +37,11 @@ import {matchMain, matchTest} from "@/config/chains";
37
37
  import useLocalStore from "@/store/useLocalStore";
38
38
  import ButtonGroup from "@/components/ButtonGroup";
39
39
  import Erc20Abi from "@/abi/erc20.json";
40
- import type {Abi} from "abitype";
40
+ import ChainListModal from "@/pages/Wallet/components/ChainListModal";
41
+ import AssetListModal from "@/pages/Wallet/components/AssetListModal";
42
+ import ImportTokenListModal from "@/pages/Wallet/components/ImportTokenListModal";
43
+ import WalletChainListModal from "@/pages/Wallet/components/WalletChainListModal";
44
+ import MatchWallet from "@/pages/Wallet/components/MatchWallet";
41
45
 
42
46
  const chainList = [
43
47
  mainnet,
@@ -65,8 +69,10 @@ const chainList = [
65
69
  ]
66
70
 
67
71
  export default function Wallet() {
72
+ const [modal, setModal] = useState<'chainList' | 'assetList' | 'importTokenList' | 'walletChainList' | '' >('')
68
73
 
69
74
  const {initChainId, setInitChainId} = useLocalStore()
75
+ const {overview} = useUserInfo()
70
76
 
71
77
  const [message, setMessage] = useState('hello')
72
78
  const [toAddress, setToAddress] = useState('')
@@ -164,6 +170,21 @@ export default function Wallet() {
164
170
  <ButtonGroup title={"Wallet Ready"}>
165
171
  {walletReady ? 'Ready' : 'Not Ready'}
166
172
  </ButtonGroup>
173
+
174
+ <ButtonGroup title={"QueryList"}>
175
+ <button className={`bg-gray-300 p-1 rounded`}
176
+ onClick={() => setModal('chainList')}>ChainList
177
+ </button>
178
+ <button className={`bg-gray-300 p-1 rounded`}
179
+ onClick={() => setModal('assetList')}>AssetList
180
+ </button>
181
+ <button className={`bg-gray-300 p-1 rounded`}
182
+ onClick={() => setModal('importTokenList')}>ImportTokenList
183
+ </button>
184
+ <button className={`bg-gray-300 p-1 rounded`}
185
+ onClick={() => setModal('walletChainList')}>WalletChainList
186
+ </button>
187
+ </ButtonGroup>
167
188
  <ButtonGroup title={"CreateWalletClient Chain"}>
168
189
  <select value={initChainId} onChange={(e) => setInitChainId(parseInt(e.target.value))}>
169
190
  {chainList.map((chain, index) => {
@@ -171,6 +192,9 @@ export default function Wallet() {
171
192
  })}
172
193
  </select>
173
194
  </ButtonGroup>
195
+ <ButtonGroup title={"DID"}>
196
+ <div className={`flex-1 flex-wrap break-all`}>{overview?.did}</div>
197
+ </ButtonGroup>
174
198
  <ButtonGroup title={"Ethereum address"}>
175
199
  <div className={`flex-1 flex-wrap break-all`}>{address}</div>
176
200
  </ButtonGroup>
@@ -214,7 +238,14 @@ export default function Wallet() {
214
238
  <ButtonGroup title={"TxHash"}>
215
239
  <div className={`flex-1 flex-wrap break-all`}>{hash || '-'}</div>
216
240
  </ButtonGroup>
241
+
242
+ {modal == 'chainList' && <ChainListModal isOpen onClose={() => setModal('')}/>}
243
+ {modal == 'walletChainList' && <WalletChainListModal isOpen onClose={() => setModal('')}/>}
244
+ {modal == 'assetList' && <AssetListModal isOpen onClose={() => setModal('')}/>}
245
+ {modal == 'importTokenList' && <ImportTokenListModal isOpen onClose={() => setModal('')}/>}
246
+
217
247
  <ERC20/>
248
+ <MatchWallet/>
218
249
  </div>
219
250
  }
220
251
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchain/matchid-sdk-react",
3
- "version": "0.1.47",
3
+ "version": "0.1.48-alpha.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -12,6 +12,10 @@
12
12
  "import": "./dist/components/index.mjs",
13
13
  "require": "./dist/components/index.js"
14
14
  },
15
+ "./ui": {
16
+ "import": "./dist/ui/index.mjs",
17
+ "require": "./dist/ui/index.js"
18
+ },
15
19
  "./hooks": {
16
20
  "import": "./dist/hooks/index.mjs",
17
21
  "require": "./dist/hooks/index.js"
@@ -69,6 +73,7 @@
69
73
  "copy-to-clipboard": "^3.3.3",
70
74
  "ethers": "^5.7.2",
71
75
  "react-intl": "^7.1.0",
76
+ "react-qrcode": "^0.3.6",
72
77
  "react-router-dom": "^6.0.0",
73
78
  "sats-connect": "^3.0.1",
74
79
  "siwe": "^2.3.2",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/hooks/api/index.ts","../src/hooks/api/bind.ts","../src/hooks/api/poh.ts","../src/hooks/api/user.ts"],"sourcesContent":["export * as bind from \"./bind\";\nexport * as poh from \"./poh\";\nexport * as user from \"./user\";","import {useQuery} from \"@tanstack/react-query\";\nimport useUserInfo from \"../useUserInfo\";\nimport type {UseQueryOptions} from \"@tanstack/react-query/src/types\";\nimport {BindInfoType, BindItemType} from \"../../types/types\";\nimport {getBindInfoApi, getBindListApi} from \"../../api\";\n\nexport {bindCexApi, unBindApi, unBindWalletApi} from \"../../api\";\n\nexport function useBindList(options?: Partial<Omit<UseQueryOptions<BindItemType[]>, 'queryKey' | 'queryFn'>>) {\n const {isLogin} = useUserInfo()\n return useQuery<BindItemType[]>({\n queryKey: ['bindList'],\n enabled: isLogin,\n queryFn: async () => {\n let res = await getBindListApi()\n return res.data\n },\n ...options\n })\n}\n\nexport function useBindInfo(options?: Partial<Omit<UseQueryOptions<BindInfoType>, 'queryKey' | 'queryFn'>>) {\n const {isLogin} = useUserInfo()\n return useQuery<BindInfoType>({\n queryKey: ['bindInfo'],\n enabled: isLogin,\n queryFn: async () => {\n let res = await getBindInfoApi()\n return res.data\n },\n ...options\n })\n}\n","import {useQuery} from \"@tanstack/react-query\";\nimport useUserInfo from \"../useUserInfo\";\nimport type {UseQueryOptions} from \"@tanstack/react-query/src/types\";\nimport {PohItemType} from \"types/types\";\nimport {getPohListApi} from \"api\";\nexport {verifyPohApi} from \"api\";\n\nexport function usePohList(options?: Partial<Omit<UseQueryOptions<PohItemType[]>, 'queryKey' | 'queryFn'>>) {\n const {isLogin} = useUserInfo()\n return useQuery<PohItemType[]>({\n queryKey: ['pohList'],\n enabled: isLogin,\n queryFn: async () => {\n let res = await getPohListApi()\n return res.data\n },\n ...options\n })\n}","export {mintPassportNftApi,chooseIdentityApi} from \"api\""],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAQ,gBAAe;AAQhB,SAAS,YAAY,SAAkF;AAC1G,QAAM,EAAC,QAAO,IAAI,YAAY;AAC9B,SAAO,SAAyB;AAAA,IAC5B,UAAU,CAAC,UAAU;AAAA,IACrB,SAAS;AAAA,IACT,SAAS,YAAY;AACjB,UAAI,MAAM,MAAM,eAAe;AAC/B,aAAO,IAAI;AAAA,IACf;AAAA,IACA,GAAG;AAAA,EACP,CAAC;AACL;AAEO,SAAS,YAAY,SAAgF;AACxG,QAAM,EAAC,QAAO,IAAI,YAAY;AAC9B,SAAO,SAAuB;AAAA,IAC1B,UAAU,CAAC,UAAU;AAAA,IACrB,SAAS;AAAA,IACT,SAAS,YAAY;AACjB,UAAI,MAAM,MAAM,eAAe;AAC/B,aAAO,IAAI;AAAA,IACf;AAAA,IACA,GAAG;AAAA,EACP,CAAC;AACL;;;AChCA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAQ,YAAAA,iBAAe;AAOhB,SAAS,WAAW,SAAiF;AACxG,QAAM,EAAC,QAAO,IAAI,YAAY;AAC9B,SAAOC,UAAwB;AAAA,IAC3B,UAAU,CAAC,SAAS;AAAA,IACpB,SAAS;AAAA,IACT,SAAS,YAAY;AACjB,UAAI,MAAM,MAAM,cAAc;AAC9B,aAAO,IAAI;AAAA,IACf;AAAA,IACA,GAAG;AAAA,EACP,CAAC;AACL;;;AClBA;AAAA;AAAA;AAAA;AAAA;","names":["useQuery","useQuery"]}