@reown/appkit-cdn 1.8.15-ea982070c1d274f5971447c430b6d77717082e78.0 → 1.8.15-viem-upgrade.0
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/package.json +10 -10
- package/dist/ConstantsUtil-BTJjr2qs.js +0 -24
- package/dist/ConstantsUtil-BTJjr2qs.js.map +0 -1
- package/dist/ExchangeController-CncqkHeT.js +0 -265
- package/dist/ExchangeController-CncqkHeT.js.map +0 -1
- package/dist/HelpersUtil-CwxnHyjS.js +0 -141
- package/dist/HelpersUtil-CwxnHyjS.js.map +0 -1
- package/dist/NavigationUtil-Ci15WS4K.js +0 -9
- package/dist/NavigationUtil-Ci15WS4K.js.map +0 -1
- package/dist/PhArrowCircleDown-B41iUlWV.js +0 -74
- package/dist/PhArrowCircleDown-B41iUlWV.js.map +0 -1
- package/dist/PhArrowClockwise-BY8u5n41.js +0 -74
- package/dist/PhArrowClockwise-BY8u5n41.js.map +0 -1
- package/dist/PhArrowDown-ClD8GZ65.js +0 -74
- package/dist/PhArrowDown-ClD8GZ65.js.map +0 -1
- package/dist/PhArrowLeft-B8MXUz60.js +0 -74
- package/dist/PhArrowLeft-B8MXUz60.js.map +0 -1
- package/dist/PhArrowRight-Cewa_Slb.js +0 -74
- package/dist/PhArrowRight-Cewa_Slb.js.map +0 -1
- package/dist/PhArrowSquareOut-whgWh-lD.js +0 -74
- package/dist/PhArrowSquareOut-whgWh-lD.js.map +0 -1
- package/dist/PhArrowUp-B1HXBxie.js +0 -74
- package/dist/PhArrowUp-B1HXBxie.js.map +0 -1
- package/dist/PhArrowUpRight-CfFYe4FP.js +0 -74
- package/dist/PhArrowUpRight-CfFYe4FP.js.map +0 -1
- package/dist/PhArrowsClockwise-gL1Gkrtx.js +0 -74
- package/dist/PhArrowsClockwise-gL1Gkrtx.js.map +0 -1
- package/dist/PhArrowsDownUp-BqUEdUQr.js +0 -74
- package/dist/PhArrowsDownUp-BqUEdUQr.js.map +0 -1
- package/dist/PhArrowsLeftRight-BlZU63eY.js +0 -74
- package/dist/PhArrowsLeftRight-BlZU63eY.js.map +0 -1
- package/dist/PhBank-gbg_jlI7.js +0 -74
- package/dist/PhBank-gbg_jlI7.js.map +0 -1
- package/dist/PhBrowser-CMlD-YJw.js +0 -74
- package/dist/PhBrowser-CMlD-YJw.js.map +0 -1
- package/dist/PhCaretDown-3agTO8Jp.js +0 -74
- package/dist/PhCaretDown-3agTO8Jp.js.map +0 -1
- package/dist/PhCaretLeft-_MTni7Z5.js +0 -74
- package/dist/PhCaretLeft-_MTni7Z5.js.map +0 -1
- package/dist/PhCaretRight-Ci9fAHPG.js +0 -74
- package/dist/PhCaretRight-Ci9fAHPG.js.map +0 -1
- package/dist/PhCaretUp-vFG4Fame.js +0 -74
- package/dist/PhCaretUp-vFG4Fame.js.map +0 -1
- package/dist/PhCheck-mChGK6K_.js +0 -74
- package/dist/PhCheck-mChGK6K_.js.map +0 -1
- package/dist/PhCircleHalf-DZ7-vfxf.js +0 -74
- package/dist/PhCircleHalf-DZ7-vfxf.js.map +0 -1
- package/dist/PhClock-Bc5XWXb6.js +0 -74
- package/dist/PhClock-Bc5XWXb6.js.map +0 -1
- package/dist/PhCompass-Cu2MB-55.js +0 -74
- package/dist/PhCompass-Cu2MB-55.js.map +0 -1
- package/dist/PhCopy-BGUjyTts.js +0 -74
- package/dist/PhCopy-BGUjyTts.js.map +0 -1
- package/dist/PhCreditCard-vxFWID4B.js +0 -74
- package/dist/PhCreditCard-vxFWID4B.js.map +0 -1
- package/dist/PhCurrencyDollar-BfOoDhJr.js +0 -74
- package/dist/PhCurrencyDollar-BfOoDhJr.js.map +0 -1
- package/dist/PhDesktop-Cq6jwzbS.js +0 -74
- package/dist/PhDesktop-Cq6jwzbS.js.map +0 -1
- package/dist/PhDeviceMobile-BCtTp6jj.js +0 -74
- package/dist/PhDeviceMobile-BCtTp6jj.js.map +0 -1
- package/dist/PhDotsThree-BGgD-WIO.js +0 -74
- package/dist/PhDotsThree-BGgD-WIO.js.map +0 -1
- package/dist/PhEnvelope-CQiV0-zG.js +0 -74
- package/dist/PhEnvelope-CQiV0-zG.js.map +0 -1
- package/dist/PhFunnelSimple-BHGtxTNf.js +0 -74
- package/dist/PhFunnelSimple-BHGtxTNf.js.map +0 -1
- package/dist/PhGlobe-Q8oVkf6X.js +0 -74
- package/dist/PhGlobe-Q8oVkf6X.js.map +0 -1
- package/dist/PhIdentificationCard-Cz9LzvVR.js +0 -74
- package/dist/PhIdentificationCard-Cz9LzvVR.js.map +0 -1
- package/dist/PhImage-CP5_qKk-.js +0 -74
- package/dist/PhImage-CP5_qKk-.js.map +0 -1
- package/dist/PhInfo-CTlE1X9Z.js +0 -74
- package/dist/PhInfo-CTlE1X9Z.js.map +0 -1
- package/dist/PhLightbulb-CcLpnAAb.js +0 -74
- package/dist/PhLightbulb-CcLpnAAb.js.map +0 -1
- package/dist/PhMagnifyingGlass-n58GUAck.js +0 -74
- package/dist/PhMagnifyingGlass-n58GUAck.js.map +0 -1
- package/dist/PhPaperPlaneRight-C0sf2XV8.js +0 -74
- package/dist/PhPaperPlaneRight-C0sf2XV8.js.map +0 -1
- package/dist/PhPlus-BJxvt7Uc.js +0 -74
- package/dist/PhPlus-BJxvt7Uc.js.map +0 -1
- package/dist/PhPower-BvktxO2-.js +0 -74
- package/dist/PhPower-BvktxO2-.js.map +0 -1
- package/dist/PhPuzzlePiece-CDDyUPYo.js +0 -74
- package/dist/PhPuzzlePiece-CDDyUPYo.js.map +0 -1
- package/dist/PhQrCode-BlGI8529.js +0 -74
- package/dist/PhQrCode-BlGI8529.js.map +0 -1
- package/dist/PhQuestion-DGZj6iDZ.js +0 -74
- package/dist/PhQuestion-DGZj6iDZ.js.map +0 -1
- package/dist/PhQuestionMark-CTmeI7MQ.js +0 -74
- package/dist/PhQuestionMark-CTmeI7MQ.js.map +0 -1
- package/dist/PhSealCheck-BSlqkxnH.js +0 -74
- package/dist/PhSealCheck-BSlqkxnH.js.map +0 -1
- package/dist/PhSignOut-CEXxlRk3.js +0 -74
- package/dist/PhSignOut-CEXxlRk3.js.map +0 -1
- package/dist/PhSpinner-Do1pY8fG.js +0 -74
- package/dist/PhSpinner-Do1pY8fG.js.map +0 -1
- package/dist/PhTrash-JNKavmpg.js +0 -74
- package/dist/PhTrash-JNKavmpg.js.map +0 -1
- package/dist/PhUser-BW7E-xYg.js +0 -74
- package/dist/PhUser-BW7E-xYg.js.map +0 -1
- package/dist/PhVault-mzxUgBYN.js +0 -74
- package/dist/PhVault-mzxUgBYN.js.map +0 -1
- package/dist/PhWallet-BR9JThKU.js +0 -74
- package/dist/PhWallet-BR9JThKU.js.map +0 -1
- package/dist/PhWarning-DxuQ70WM.js +0 -74
- package/dist/PhWarning-DxuQ70WM.js.map +0 -1
- package/dist/PhWarningCircle-DCI0JC1F.js +0 -74
- package/dist/PhWarningCircle-DCI0JC1F.js.map +0 -1
- package/dist/PhX-CWNXqpGn.js +0 -74
- package/dist/PhX-CWNXqpGn.js.map +0 -1
- package/dist/SwapController-DsYbP4IS.js +0 -684
- package/dist/SwapController-DsYbP4IS.js.map +0 -1
- package/dist/WebCryptoP256-Czt7ZkJ7.js +0 -3299
- package/dist/WebCryptoP256-Czt7ZkJ7.js.map +0 -1
- package/dist/add-UkulHTXi.js +0 -20
- package/dist/add-UkulHTXi.js.map +0 -1
- package/dist/all-wallets-DhJCVmL_.js +0 -11
- package/dist/all-wallets-DhJCVmL_.js.map +0 -1
- package/dist/app-store-Ern3I2La.js +0 -22
- package/dist/app-store-Ern3I2La.js.map +0 -1
- package/dist/appkit-ppmICUF1.js +0 -118106
- package/dist/appkit-ppmICUF1.js.map +0 -1
- package/dist/appkit.js +0 -11
- package/dist/appkit.js.map +0 -1
- package/dist/apple-_SZ-XSIx.js +0 -23
- package/dist/apple-_SZ-XSIx.js.map +0 -1
- package/dist/arrow-bottom-D7Qlu6xE.js +0 -13
- package/dist/arrow-bottom-D7Qlu6xE.js.map +0 -1
- package/dist/arrow-bottom-circle-Cel-TDaT.js +0 -16
- package/dist/arrow-bottom-circle-Cel-TDaT.js.map +0 -1
- package/dist/arrow-left-ByNxCvA_.js +0 -13
- package/dist/arrow-left-ByNxCvA_.js.map +0 -1
- package/dist/arrow-right-yep9R_ud.js +0 -13
- package/dist/arrow-right-yep9R_ud.js.map +0 -1
- package/dist/arrow-top-C1WlBAfk.js +0 -13
- package/dist/arrow-top-C1WlBAfk.js.map +0 -1
- package/dist/async-directive-C9EnweIr.js +0 -73
- package/dist/async-directive-C9EnweIr.js.map +0 -1
- package/dist/bank-Dm8zmIr0.js +0 -19
- package/dist/bank-Dm8zmIr0.js.map +0 -1
- package/dist/basic-UB459qAF.js +0 -4914
- package/dist/basic-UB459qAF.js.map +0 -1
- package/dist/browser-5XoTmr4n.js +0 -1991
- package/dist/browser-5XoTmr4n.js.map +0 -1
- package/dist/browser-LYv8PF5c.js +0 -19
- package/dist/browser-LYv8PF5c.js.map +0 -1
- package/dist/card-CEQLkIir.js +0 -19
- package/dist/card-CEQLkIir.js.map +0 -1
- package/dist/ccip-Dj8tRQd7.js +0 -164
- package/dist/ccip-Dj8tRQd7.js.map +0 -1
- package/dist/checkmark-DPFC_0yn.js +0 -16
- package/dist/checkmark-DPFC_0yn.js.map +0 -1
- package/dist/checkmark-bold-Hwfezlkn.js +0 -13
- package/dist/checkmark-bold-Hwfezlkn.js.map +0 -1
- package/dist/chevron-bottom-qsPvhQDo.js +0 -13
- package/dist/chevron-bottom-qsPvhQDo.js.map +0 -1
- package/dist/chevron-left-CA4SOr_F.js +0 -13
- package/dist/chevron-left-CA4SOr_F.js.map +0 -1
- package/dist/chevron-right-TeVZyORZ.js +0 -13
- package/dist/chevron-right-TeVZyORZ.js.map +0 -1
- package/dist/chevron-top-B7LCiM2n.js +0 -13
- package/dist/chevron-top-B7LCiM2n.js.map +0 -1
- package/dist/chrome-store-CU7w_5QC.js +0 -66
- package/dist/chrome-store-CU7w_5QC.js.map +0 -1
- package/dist/class-map-B814K2ej.js +0 -101
- package/dist/class-map-B814K2ej.js.map +0 -1
- package/dist/clock-DcbItfiJ.js +0 -13
- package/dist/clock-DcbItfiJ.js.map +0 -1
- package/dist/close-B22QsrS0.js +0 -13
- package/dist/close-B22QsrS0.js.map +0 -1
- package/dist/clsx.m-D57qXwfE.js +0 -21
- package/dist/clsx.m-D57qXwfE.js.map +0 -1
- package/dist/coinPlaceholder-BNrjpg6-.js +0 -13
- package/dist/coinPlaceholder-BNrjpg6-.js.map +0 -1
- package/dist/compass-C7GRFU39.js +0 -13
- package/dist/compass-C7GRFU39.js.map +0 -1
- package/dist/copy-BcrOhyLL.js +0 -20
- package/dist/copy-BcrOhyLL.js.map +0 -1
- package/dist/core-BI_Ap4BF.js +0 -16288
- package/dist/core-BI_Ap4BF.js.map +0 -1
- package/dist/cursor-AJkpyAWk.js +0 -8
- package/dist/cursor-AJkpyAWk.js.map +0 -1
- package/dist/cursor-transparent-C1dF4GFm.js +0 -17
- package/dist/cursor-transparent-C1dF4GFm.js.map +0 -1
- package/dist/data-capture-CqwQ1053.js +0 -549
- package/dist/data-capture-CqwQ1053.js.map +0 -1
- package/dist/desktop-C60oOo59.js +0 -14
- package/dist/desktop-C60oOo59.js.map +0 -1
- package/dist/disconnect-DqS517fE.js +0 -13
- package/dist/disconnect-DqS517fE.js.map +0 -1
- package/dist/discord-D1qNpgLJ.js +0 -22
- package/dist/discord-D1qNpgLJ.js.map +0 -1
- package/dist/email-UK97sxf8.js +0 -421
- package/dist/email-UK97sxf8.js.map +0 -1
- package/dist/embedded-wallet-f8ft4R2q.js +0 -952
- package/dist/embedded-wallet-f8ft4R2q.js.map +0 -1
- package/dist/etherscan-BWSY3GuJ.js +0 -11
- package/dist/etherscan-BWSY3GuJ.js.map +0 -1
- package/dist/exclamation-triangle-nypPoZ5T.js +0 -9
- package/dist/exclamation-triangle-nypPoZ5T.js.map +0 -1
- package/dist/extension-BuFHuaRl.js +0 -13
- package/dist/extension-BuFHuaRl.js.map +0 -1
- package/dist/external-link-L3QQJwck.js +0 -13
- package/dist/external-link-L3QQJwck.js.map +0 -1
- package/dist/facebook-BbbjiGyt.js +0 -31
- package/dist/facebook-BbbjiGyt.js.map +0 -1
- package/dist/farcaster-CDar3vjq.js +0 -17
- package/dist/farcaster-CDar3vjq.js.map +0 -1
- package/dist/features-Dne1ZyJy.js +0 -319
- package/dist/features-Dne1ZyJy.js.map +0 -1
- package/dist/filters-BprVfwTM.js +0 -13
- package/dist/filters-BprVfwTM.js.map +0 -1
- package/dist/github-BFRFSS65.js +0 -23
- package/dist/github-BFRFSS65.js.map +0 -1
- package/dist/google-DX3b-tuu.js +0 -23
- package/dist/google-DX3b-tuu.js.map +0 -1
- package/dist/hashTypedData-MEx8_Z-J.js +0 -262
- package/dist/hashTypedData-MEx8_Z-J.js.map +0 -1
- package/dist/help-circle-PtWG4XV9.js +0 -17
- package/dist/help-circle-PtWG4XV9.js.map +0 -1
- package/dist/id-BKzsrqpW.js +0 -17
- package/dist/id-BKzsrqpW.js.map +0 -1
- package/dist/if-defined-CyuCf775.js +0 -11
- package/dist/if-defined-CyuCf775.js.map +0 -1
- package/dist/image-2qjHFSqv.js +0 -9
- package/dist/image-2qjHFSqv.js.map +0 -1
- package/dist/index-57er67ch.js +0 -131
- package/dist/index-57er67ch.js.map +0 -1
- package/dist/index-B-MpJOWW.js +0 -3987
- package/dist/index-B-MpJOWW.js.map +0 -1
- package/dist/index-B2f4UbAK.js +0 -257
- package/dist/index-B2f4UbAK.js.map +0 -1
- package/dist/index-B4xD2s69.js +0 -62
- package/dist/index-B4xD2s69.js.map +0 -1
- package/dist/index-BF4uePO9.js +0 -126
- package/dist/index-BF4uePO9.js.map +0 -1
- package/dist/index-BG3007yu.js +0 -542
- package/dist/index-BG3007yu.js.map +0 -1
- package/dist/index-BPqsyCu1.js +0 -249
- package/dist/index-BPqsyCu1.js.map +0 -1
- package/dist/index-BTFeMb7h.js +0 -2277
- package/dist/index-BTFeMb7h.js.map +0 -1
- package/dist/index-B_z_MPZ-.js +0 -180
- package/dist/index-B_z_MPZ-.js.map +0 -1
- package/dist/index-Biw_bFmP.js +0 -70
- package/dist/index-Biw_bFmP.js.map +0 -1
- package/dist/index-BnY1urGu.js +0 -441
- package/dist/index-BnY1urGu.js.map +0 -1
- package/dist/index-C1OrBJOZ.js +0 -218
- package/dist/index-C1OrBJOZ.js.map +0 -1
- package/dist/index-CHvzOG0E.js +0 -1372
- package/dist/index-CHvzOG0E.js.map +0 -1
- package/dist/index-CKaIBA_q.js +0 -153
- package/dist/index-CKaIBA_q.js.map +0 -1
- package/dist/index-CLefivQ6.js +0 -124
- package/dist/index-CLefivQ6.js.map +0 -1
- package/dist/index-COvWUE72.js +0 -716
- package/dist/index-COvWUE72.js.map +0 -1
- package/dist/index-CRhk6ovx.js +0 -198
- package/dist/index-CRhk6ovx.js.map +0 -1
- package/dist/index-CfTNvhZC.js +0 -967
- package/dist/index-CfTNvhZC.js.map +0 -1
- package/dist/index-CjCwufpz.js +0 -120
- package/dist/index-CjCwufpz.js.map +0 -1
- package/dist/index-Ck3zz_LE.js +0 -984
- package/dist/index-Ck3zz_LE.js.map +0 -1
- package/dist/index-CqVDx2Ua.js +0 -9350
- package/dist/index-CqVDx2Ua.js.map +0 -1
- package/dist/index-CrF2nCtM.js +0 -211
- package/dist/index-CrF2nCtM.js.map +0 -1
- package/dist/index-Crnbnlbl.js +0 -8825
- package/dist/index-Crnbnlbl.js.map +0 -1
- package/dist/index-D7bwcPcO.js +0 -147
- package/dist/index-D7bwcPcO.js.map +0 -1
- package/dist/index-DAmhDlFG.js +0 -985
- package/dist/index-DAmhDlFG.js.map +0 -1
- package/dist/index-DF9XlWjQ.js +0 -456
- package/dist/index-DF9XlWjQ.js.map +0 -1
- package/dist/index-DGtLnlsD.js +0 -521
- package/dist/index-DGtLnlsD.js.map +0 -1
- package/dist/index-DIDlQZ9c.js +0 -1582
- package/dist/index-DIDlQZ9c.js.map +0 -1
- package/dist/index-DJe9wj3q.js +0 -136
- package/dist/index-DJe9wj3q.js.map +0 -1
- package/dist/index-DPlE9Qgr.js +0 -73
- package/dist/index-DPlE9Qgr.js.map +0 -1
- package/dist/index-DVXtgl7V.js +0 -7481
- package/dist/index-DVXtgl7V.js.map +0 -1
- package/dist/index-DWLAu0nH.js +0 -110
- package/dist/index-DWLAu0nH.js.map +0 -1
- package/dist/index-DXCwyaz_.js +0 -147
- package/dist/index-DXCwyaz_.js.map +0 -1
- package/dist/index-D_NteNrS.js +0 -198
- package/dist/index-D_NteNrS.js.map +0 -1
- package/dist/index-Dg65-p7m.js +0 -7258
- package/dist/index-Dg65-p7m.js.map +0 -1
- package/dist/index-Du7PdWv1.js +0 -181
- package/dist/index-Du7PdWv1.js.map +0 -1
- package/dist/index-HOjNYM_k.js +0 -92
- package/dist/index-HOjNYM_k.js.map +0 -1
- package/dist/index-MwW0rp8T.js +0 -286
- package/dist/index-MwW0rp8T.js.map +0 -1
- package/dist/index-OCzLDbWt.js +0 -18322
- package/dist/index-OCzLDbWt.js.map +0 -1
- package/dist/index-Sf3UCmHB.js +0 -611
- package/dist/index-Sf3UCmHB.js.map +0 -1
- package/dist/index-Zt_Jj4gf.js +0 -520
- package/dist/index-Zt_Jj4gf.js.map +0 -1
- package/dist/index-kb6zqfNt.js +0 -1178
- package/dist/index-kb6zqfNt.js.map +0 -1
- package/dist/index-rYPftA0P.js +0 -52
- package/dist/index-rYPftA0P.js.map +0 -1
- package/dist/index-tdPUUHj0.js +0 -281
- package/dist/index-tdPUUHj0.js.map +0 -1
- package/dist/index-wVp4UjVg.js +0 -182
- package/dist/index-wVp4UjVg.js.map +0 -1
- package/dist/index-ywRnp0Bi.js +0 -109
- package/dist/index-ywRnp0Bi.js.map +0 -1
- package/dist/index.es-BrfaQK0n.js +0 -8391
- package/dist/index.es-BrfaQK0n.js.map +0 -1
- package/dist/info-BhM-vMtG.js +0 -8
- package/dist/info-BhM-vMtG.js.map +0 -1
- package/dist/info-circle-DwGnsKMj.js +0 -17
- package/dist/info-circle-DwGnsKMj.js.map +0 -1
- package/dist/jsxRuntime.module-BW0yCO8A.js +0 -14
- package/dist/jsxRuntime.module-BW0yCO8A.js.map +0 -1
- package/dist/lightbulb-BvGmXMuo.js +0 -8
- package/dist/lightbulb-BvGmXMuo.js.map +0 -1
- package/dist/localBatchGatewayRequest-CLL1gABv.js +0 -103
- package/dist/localBatchGatewayRequest-CLL1gABv.js.map +0 -1
- package/dist/mail-Cl70v1Dx.js +0 -13
- package/dist/mail-Cl70v1Dx.js.map +0 -1
- package/dist/metamask-sdk-BzQ933Ju.js +0 -16699
- package/dist/metamask-sdk-BzQ933Ju.js.map +0 -1
- package/dist/mobile-BCINjy0Y.js +0 -14
- package/dist/mobile-BCINjy0Y.js.map +0 -1
- package/dist/more-Cozw6-SQ.js +0 -16
- package/dist/more-Cozw6-SQ.js.map +0 -1
- package/dist/native-Dc_5StoC.js +0 -17
- package/dist/native-Dc_5StoC.js.map +0 -1
- package/dist/network-placeholder-o2Dz_YnK.js +0 -19
- package/dist/network-placeholder-o2Dz_YnK.js.map +0 -1
- package/dist/nftPlaceholder-Bjf9SAC-.js +0 -13
- package/dist/nftPlaceholder-Bjf9SAC-.js.map +0 -1
- package/dist/off-BsVJ8v6H.js +0 -13
- package/dist/off-BsVJ8v6H.js.map +0 -1
- package/dist/onramp-C4DqYEmw.js +0 -979
- package/dist/onramp-C4DqYEmw.js.map +0 -1
- package/dist/parseAbiParameters-DfJcIE_w.js +0 -757
- package/dist/parseAbiParameters-DfJcIE_w.js.map +0 -1
- package/dist/parseSignature-MJforcG6.js +0 -4690
- package/dist/parseSignature-MJforcG6.js.map +0 -1
- package/dist/pay-with-exchange-DC29BzBo.js +0 -603
- package/dist/pay-with-exchange-DC29BzBo.js.map +0 -1
- package/dist/play-store-DIOK4cBW.js +0 -37
- package/dist/play-store-DIOK4cBW.js.map +0 -1
- package/dist/plus-Cxls3O6G.js +0 -18
- package/dist/plus-Cxls3O6G.js.map +0 -1
- package/dist/property-8UcTqffH.js +0 -623
- package/dist/property-8UcTqffH.js.map +0 -1
- package/dist/qr-code-Cp6lpAcY.js +0 -11
- package/dist/qr-code-Cp6lpAcY.js.map +0 -1
- package/dist/receive-BLI57snb.js +0 -262
- package/dist/receive-BLI57snb.js.map +0 -1
- package/dist/recycle-horizontal-AEJ_nbSP.js +0 -14
- package/dist/recycle-horizontal-AEJ_nbSP.js.map +0 -1
- package/dist/ref-BobNUvS_.js +0 -43
- package/dist/ref-BobNUvS_.js.map +0 -1
- package/dist/refresh-7roUeD2M.js +0 -13
- package/dist/refresh-7roUeD2M.js.map +0 -1
- package/dist/reown-logo-xggoIKX2.js +0 -17
- package/dist/reown-logo-xggoIKX2.js.map +0 -1
- package/dist/search-DgzcpMUb.js +0 -13
- package/dist/search-DgzcpMUb.js.map +0 -1
- package/dist/secp256k1-D_j0Z4BY.js +0 -2031
- package/dist/secp256k1-D_j0Z4BY.js.map +0 -1
- package/dist/send-D7M2-Upc.js +0 -20
- package/dist/send-D7M2-Upc.js.map +0 -1
- package/dist/send-TAzhXOOa.js +0 -1365
- package/dist/send-TAzhXOOa.js.map +0 -1
- package/dist/socials-BXTq602s.js +0 -796
- package/dist/socials-BXTq602s.js.map +0 -1
- package/dist/swapHorizontal-2gzDDUNF.js +0 -13
- package/dist/swapHorizontal-2gzDDUNF.js.map +0 -1
- package/dist/swapHorizontalBold-C1cHwAjU.js +0 -13
- package/dist/swapHorizontalBold-C1cHwAjU.js.map +0 -1
- package/dist/swapHorizontalMedium-BQno5vep.js +0 -21
- package/dist/swapHorizontalMedium-BQno5vep.js.map +0 -1
- package/dist/swapHorizontalRoundedBold-CYmZDeQ5.js +0 -13
- package/dist/swapHorizontalRoundedBold-CYmZDeQ5.js.map +0 -1
- package/dist/swapVertical-BhRPysBs.js +0 -13
- package/dist/swapVertical-BhRPysBs.js.map +0 -1
- package/dist/swaps-DQ-uUZvX.js +0 -2121
- package/dist/swaps-DQ-uUZvX.js.map +0 -1
- package/dist/telegram-B-YOyhte.js +0 -21
- package/dist/telegram-B-YOyhte.js.map +0 -1
- package/dist/three-dots-8mr70UzU.js +0 -10
- package/dist/three-dots-8mr70UzU.js.map +0 -1
- package/dist/transactions-C4p83vMQ.js +0 -38
- package/dist/transactions-C4p83vMQ.js.map +0 -1
- package/dist/twitch-C2ccExfT.js +0 -23
- package/dist/twitch-C2ccExfT.js.map +0 -1
- package/dist/twitterIcon-IkT5wPxq.js +0 -11
- package/dist/twitterIcon-IkT5wPxq.js.map +0 -1
- package/dist/vanilla-CgG5xMJO.js +0 -448
- package/dist/vanilla-CgG5xMJO.js.map +0 -1
- package/dist/verify-BfilAaob.js +0 -13
- package/dist/verify-BfilAaob.js.map +0 -1
- package/dist/verify-filled-COkWKgPo.js +0 -13
- package/dist/verify-filled-COkWKgPo.js.map +0 -1
- package/dist/w3m-modal-9MzgEqm3.js +0 -1725
- package/dist/w3m-modal-9MzgEqm3.js.map +0 -1
- package/dist/w3m-modal-DBQU256b.js +0 -2008
- package/dist/w3m-modal-DBQU256b.js.map +0 -1
- package/dist/wallet-9D5svrZj.js +0 -13
- package/dist/wallet-9D5svrZj.js.map +0 -1
- package/dist/wallet-placeholder-CfLGKG93.js +0 -19
- package/dist/wallet-placeholder-CfLGKG93.js.map +0 -1
- package/dist/wallet-standard-CkMoUaGA.js +0 -523
- package/dist/wallet-standard-CkMoUaGA.js.map +0 -1
- package/dist/walletconnect-MtAz2u7z.js +0 -39
- package/dist/walletconnect-MtAz2u7z.js.map +0 -1
- package/dist/warning-circle-Cf2AJecu.js +0 -17
- package/dist/warning-circle-Cf2AJecu.js.map +0 -1
- package/dist/x-B0KhGb39.js +0 -17
- package/dist/x-B0KhGb39.js.map +0 -1
package/dist/index-CfTNvhZC.js
DELETED
|
@@ -1,967 +0,0 @@
|
|
|
1
|
-
import { q as i$1, o as i$2, x, a8 as T } from "./appkit-ppmICUF1.js";
|
|
2
|
-
import { n as n$1, e, a as e$1 } from "./class-map-B814K2ej.js";
|
|
3
|
-
import { r as resetStyles, c as colorStyles, e as elementStyles } from "./core-BI_Ap4BF.js";
|
|
4
|
-
import { f, i as i$3 } from "./async-directive-C9EnweIr.js";
|
|
5
|
-
const UiHelperUtil = {
|
|
6
|
-
getSpacingStyles(spacing, index) {
|
|
7
|
-
if (Array.isArray(spacing)) {
|
|
8
|
-
return spacing[index] ? `var(--wui-spacing-${spacing[index]})` : void 0;
|
|
9
|
-
} else if (typeof spacing === "string") {
|
|
10
|
-
return `var(--wui-spacing-${spacing})`;
|
|
11
|
-
}
|
|
12
|
-
return void 0;
|
|
13
|
-
},
|
|
14
|
-
getFormattedDate(date) {
|
|
15
|
-
return new Intl.DateTimeFormat("en-US", { month: "short", day: "numeric" }).format(date);
|
|
16
|
-
},
|
|
17
|
-
getHostName(url) {
|
|
18
|
-
try {
|
|
19
|
-
const newUrl = new URL(url);
|
|
20
|
-
return newUrl.hostname;
|
|
21
|
-
} catch (error) {
|
|
22
|
-
return "";
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
getTruncateString({ string, charsStart, charsEnd, truncate }) {
|
|
26
|
-
if (string.length <= charsStart + charsEnd) {
|
|
27
|
-
return string;
|
|
28
|
-
}
|
|
29
|
-
if (truncate === "end") {
|
|
30
|
-
return `${string.substring(0, charsStart)}...`;
|
|
31
|
-
} else if (truncate === "start") {
|
|
32
|
-
return `...${string.substring(string.length - charsEnd)}`;
|
|
33
|
-
}
|
|
34
|
-
return `${string.substring(0, Math.floor(charsStart))}...${string.substring(string.length - Math.floor(charsEnd))}`;
|
|
35
|
-
},
|
|
36
|
-
generateAvatarColors(address) {
|
|
37
|
-
const hash = address.toLowerCase().replace(/^0x/iu, "").replace(/[^a-f0-9]/gu, "");
|
|
38
|
-
const baseColor = hash.substring(0, 6).padEnd(6, "0");
|
|
39
|
-
const rgbColor = this.hexToRgb(baseColor);
|
|
40
|
-
const masterBorderRadius = getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master");
|
|
41
|
-
const radius = Number(masterBorderRadius == null ? void 0 : masterBorderRadius.replace("px", ""));
|
|
42
|
-
const edge = 100 - 3 * radius;
|
|
43
|
-
const gradientCircle = `${edge}% ${edge}% at 65% 40%`;
|
|
44
|
-
const colors = [];
|
|
45
|
-
for (let i2 = 0; i2 < 5; i2 += 1) {
|
|
46
|
-
const tintedColor = this.tintColor(rgbColor, 0.15 * i2);
|
|
47
|
-
colors.push(`rgb(${tintedColor[0]}, ${tintedColor[1]}, ${tintedColor[2]})`);
|
|
48
|
-
}
|
|
49
|
-
return `
|
|
50
|
-
--local-color-1: ${colors[0]};
|
|
51
|
-
--local-color-2: ${colors[1]};
|
|
52
|
-
--local-color-3: ${colors[2]};
|
|
53
|
-
--local-color-4: ${colors[3]};
|
|
54
|
-
--local-color-5: ${colors[4]};
|
|
55
|
-
--local-radial-circle: ${gradientCircle}
|
|
56
|
-
`;
|
|
57
|
-
},
|
|
58
|
-
hexToRgb(hex) {
|
|
59
|
-
const bigint = parseInt(hex, 16);
|
|
60
|
-
const r = bigint >> 16 & 255;
|
|
61
|
-
const g = bigint >> 8 & 255;
|
|
62
|
-
const b = bigint & 255;
|
|
63
|
-
return [r, g, b];
|
|
64
|
-
},
|
|
65
|
-
tintColor(rgb, tint) {
|
|
66
|
-
const [r, g, b] = rgb;
|
|
67
|
-
const tintedR = Math.round(r + (255 - r) * tint);
|
|
68
|
-
const tintedG = Math.round(g + (255 - g) * tint);
|
|
69
|
-
const tintedB = Math.round(b + (255 - b) * tint);
|
|
70
|
-
return [tintedR, tintedG, tintedB];
|
|
71
|
-
},
|
|
72
|
-
isNumber(character) {
|
|
73
|
-
const regex = {
|
|
74
|
-
number: /^[0-9]+$/u
|
|
75
|
-
};
|
|
76
|
-
return regex.number.test(character);
|
|
77
|
-
},
|
|
78
|
-
getColorTheme(theme) {
|
|
79
|
-
var _a;
|
|
80
|
-
if (theme) {
|
|
81
|
-
return theme;
|
|
82
|
-
} else if (typeof window !== "undefined" && window.matchMedia) {
|
|
83
|
-
if ((_a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : _a.matches) {
|
|
84
|
-
return "dark";
|
|
85
|
-
}
|
|
86
|
-
return "light";
|
|
87
|
-
}
|
|
88
|
-
return "dark";
|
|
89
|
-
},
|
|
90
|
-
splitBalance(input) {
|
|
91
|
-
const parts = input.split(".");
|
|
92
|
-
if (parts.length === 2) {
|
|
93
|
-
return [parts[0], parts[1]];
|
|
94
|
-
}
|
|
95
|
-
return ["0", "00"];
|
|
96
|
-
},
|
|
97
|
-
roundNumber(number, threshold, fixed) {
|
|
98
|
-
const roundedNumber = number.toString().length >= threshold ? Number(number).toFixed(fixed) : number;
|
|
99
|
-
return roundedNumber;
|
|
100
|
-
},
|
|
101
|
-
formatNumberToLocalString(value, decimals = 2) {
|
|
102
|
-
if (value === void 0) {
|
|
103
|
-
return "0.00";
|
|
104
|
-
}
|
|
105
|
-
if (typeof value === "number") {
|
|
106
|
-
return value.toLocaleString("en-US", {
|
|
107
|
-
maximumFractionDigits: decimals,
|
|
108
|
-
minimumFractionDigits: decimals
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
return parseFloat(value).toLocaleString("en-US", {
|
|
112
|
-
maximumFractionDigits: decimals,
|
|
113
|
-
minimumFractionDigits: decimals
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
function standardCustomElement(tagName, descriptor) {
|
|
118
|
-
const { kind, elements } = descriptor;
|
|
119
|
-
return {
|
|
120
|
-
kind,
|
|
121
|
-
elements,
|
|
122
|
-
finisher(clazz) {
|
|
123
|
-
if (!customElements.get(tagName)) {
|
|
124
|
-
customElements.define(tagName, clazz);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function legacyCustomElement(tagName, clazz) {
|
|
130
|
-
if (!customElements.get(tagName)) {
|
|
131
|
-
customElements.define(tagName, clazz);
|
|
132
|
-
}
|
|
133
|
-
return clazz;
|
|
134
|
-
}
|
|
135
|
-
function customElement(tagName) {
|
|
136
|
-
return function create(classOrDescriptor) {
|
|
137
|
-
return typeof classOrDescriptor === "function" ? legacyCustomElement(tagName, classOrDescriptor) : standardCustomElement(tagName, classOrDescriptor);
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
const styles$6 = i$1`
|
|
141
|
-
:host {
|
|
142
|
-
display: flex;
|
|
143
|
-
width: inherit;
|
|
144
|
-
height: inherit;
|
|
145
|
-
}
|
|
146
|
-
`;
|
|
147
|
-
var __decorate$6 = function(decorators, target, key, desc) {
|
|
148
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
149
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
150
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
151
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
152
|
-
};
|
|
153
|
-
let WuiFlex = class WuiFlex2 extends i$2 {
|
|
154
|
-
render() {
|
|
155
|
-
this.style.cssText = `
|
|
156
|
-
flex-direction: ${this.flexDirection};
|
|
157
|
-
flex-wrap: ${this.flexWrap};
|
|
158
|
-
flex-basis: ${this.flexBasis};
|
|
159
|
-
flex-grow: ${this.flexGrow};
|
|
160
|
-
flex-shrink: ${this.flexShrink};
|
|
161
|
-
align-items: ${this.alignItems};
|
|
162
|
-
justify-content: ${this.justifyContent};
|
|
163
|
-
column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};
|
|
164
|
-
row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};
|
|
165
|
-
gap: ${this.gap && `var(--wui-spacing-${this.gap})`};
|
|
166
|
-
padding-top: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 0)};
|
|
167
|
-
padding-right: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 1)};
|
|
168
|
-
padding-bottom: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 2)};
|
|
169
|
-
padding-left: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 3)};
|
|
170
|
-
margin-top: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 0)};
|
|
171
|
-
margin-right: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 1)};
|
|
172
|
-
margin-bottom: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 2)};
|
|
173
|
-
margin-left: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 3)};
|
|
174
|
-
`;
|
|
175
|
-
return x`<slot></slot>`;
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
WuiFlex.styles = [resetStyles, styles$6];
|
|
179
|
-
__decorate$6([
|
|
180
|
-
n$1()
|
|
181
|
-
], WuiFlex.prototype, "flexDirection", void 0);
|
|
182
|
-
__decorate$6([
|
|
183
|
-
n$1()
|
|
184
|
-
], WuiFlex.prototype, "flexWrap", void 0);
|
|
185
|
-
__decorate$6([
|
|
186
|
-
n$1()
|
|
187
|
-
], WuiFlex.prototype, "flexBasis", void 0);
|
|
188
|
-
__decorate$6([
|
|
189
|
-
n$1()
|
|
190
|
-
], WuiFlex.prototype, "flexGrow", void 0);
|
|
191
|
-
__decorate$6([
|
|
192
|
-
n$1()
|
|
193
|
-
], WuiFlex.prototype, "flexShrink", void 0);
|
|
194
|
-
__decorate$6([
|
|
195
|
-
n$1()
|
|
196
|
-
], WuiFlex.prototype, "alignItems", void 0);
|
|
197
|
-
__decorate$6([
|
|
198
|
-
n$1()
|
|
199
|
-
], WuiFlex.prototype, "justifyContent", void 0);
|
|
200
|
-
__decorate$6([
|
|
201
|
-
n$1()
|
|
202
|
-
], WuiFlex.prototype, "columnGap", void 0);
|
|
203
|
-
__decorate$6([
|
|
204
|
-
n$1()
|
|
205
|
-
], WuiFlex.prototype, "rowGap", void 0);
|
|
206
|
-
__decorate$6([
|
|
207
|
-
n$1()
|
|
208
|
-
], WuiFlex.prototype, "gap", void 0);
|
|
209
|
-
__decorate$6([
|
|
210
|
-
n$1()
|
|
211
|
-
], WuiFlex.prototype, "padding", void 0);
|
|
212
|
-
__decorate$6([
|
|
213
|
-
n$1()
|
|
214
|
-
], WuiFlex.prototype, "margin", void 0);
|
|
215
|
-
WuiFlex = __decorate$6([
|
|
216
|
-
customElement("wui-flex")
|
|
217
|
-
], WuiFlex);
|
|
218
|
-
/**
|
|
219
|
-
* @license
|
|
220
|
-
* Copyright 2021 Google LLC
|
|
221
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
222
|
-
*/
|
|
223
|
-
class s {
|
|
224
|
-
constructor(t) {
|
|
225
|
-
this.G = t;
|
|
226
|
-
}
|
|
227
|
-
disconnect() {
|
|
228
|
-
this.G = void 0;
|
|
229
|
-
}
|
|
230
|
-
reconnect(t) {
|
|
231
|
-
this.G = t;
|
|
232
|
-
}
|
|
233
|
-
deref() {
|
|
234
|
-
return this.G;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
class i {
|
|
238
|
-
constructor() {
|
|
239
|
-
this.Y = void 0, this.Z = void 0;
|
|
240
|
-
}
|
|
241
|
-
get() {
|
|
242
|
-
return this.Y;
|
|
243
|
-
}
|
|
244
|
-
pause() {
|
|
245
|
-
this.Y ?? (this.Y = new Promise(((t) => this.Z = t)));
|
|
246
|
-
}
|
|
247
|
-
resume() {
|
|
248
|
-
var _a;
|
|
249
|
-
(_a = this.Z) == null ? void 0 : _a.call(this), this.Y = this.Z = void 0;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* @license
|
|
254
|
-
* Copyright 2017 Google LLC
|
|
255
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
256
|
-
*/
|
|
257
|
-
const n = (t) => !i$3(t) && "function" == typeof t.then, h = 1073741823;
|
|
258
|
-
class c extends f {
|
|
259
|
-
constructor() {
|
|
260
|
-
super(...arguments), this._$Cwt = h, this._$Cbt = [], this._$CK = new s(this), this._$CX = new i();
|
|
261
|
-
}
|
|
262
|
-
render(...s2) {
|
|
263
|
-
return s2.find(((t) => !n(t))) ?? T;
|
|
264
|
-
}
|
|
265
|
-
update(s2, i2) {
|
|
266
|
-
const e2 = this._$Cbt;
|
|
267
|
-
let r = e2.length;
|
|
268
|
-
this._$Cbt = i2;
|
|
269
|
-
const o = this._$CK, c2 = this._$CX;
|
|
270
|
-
this.isConnected || this.disconnected();
|
|
271
|
-
for (let t = 0; t < i2.length && !(t > this._$Cwt); t++) {
|
|
272
|
-
const s3 = i2[t];
|
|
273
|
-
if (!n(s3)) return this._$Cwt = t, s3;
|
|
274
|
-
t < r && s3 === e2[t] || (this._$Cwt = h, r = 0, Promise.resolve(s3).then((async (t2) => {
|
|
275
|
-
for (; c2.get(); ) await c2.get();
|
|
276
|
-
const i3 = o.deref();
|
|
277
|
-
if (void 0 !== i3) {
|
|
278
|
-
const e3 = i3._$Cbt.indexOf(s3);
|
|
279
|
-
e3 > -1 && e3 < i3._$Cwt && (i3._$Cwt = e3, i3.setValue(t2));
|
|
280
|
-
}
|
|
281
|
-
})));
|
|
282
|
-
}
|
|
283
|
-
return T;
|
|
284
|
-
}
|
|
285
|
-
disconnected() {
|
|
286
|
-
this._$CK.disconnect(), this._$CX.pause();
|
|
287
|
-
}
|
|
288
|
-
reconnected() {
|
|
289
|
-
this._$CK.reconnect(this), this._$CX.resume();
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
const m = e(c);
|
|
293
|
-
class CacheUtil {
|
|
294
|
-
constructor() {
|
|
295
|
-
this.cache = /* @__PURE__ */ new Map();
|
|
296
|
-
}
|
|
297
|
-
set(key, value) {
|
|
298
|
-
this.cache.set(key, value);
|
|
299
|
-
}
|
|
300
|
-
get(key) {
|
|
301
|
-
return this.cache.get(key);
|
|
302
|
-
}
|
|
303
|
-
has(key) {
|
|
304
|
-
return this.cache.has(key);
|
|
305
|
-
}
|
|
306
|
-
delete(key) {
|
|
307
|
-
this.cache.delete(key);
|
|
308
|
-
}
|
|
309
|
-
clear() {
|
|
310
|
-
this.cache.clear();
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
const globalSvgCache = new CacheUtil();
|
|
314
|
-
const styles$5 = i$1`
|
|
315
|
-
:host {
|
|
316
|
-
display: flex;
|
|
317
|
-
aspect-ratio: var(--local-aspect-ratio);
|
|
318
|
-
color: var(--local-color);
|
|
319
|
-
width: var(--local-width);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
svg {
|
|
323
|
-
width: inherit;
|
|
324
|
-
height: inherit;
|
|
325
|
-
object-fit: contain;
|
|
326
|
-
object-position: center;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.fallback {
|
|
330
|
-
width: var(--local-width);
|
|
331
|
-
height: var(--local-height);
|
|
332
|
-
}
|
|
333
|
-
`;
|
|
334
|
-
var __decorate$5 = function(decorators, target, key, desc) {
|
|
335
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
336
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
337
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
338
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
339
|
-
};
|
|
340
|
-
const ICONS = {
|
|
341
|
-
add: async () => (await import("./add-UkulHTXi.js")).addSvg,
|
|
342
|
-
allWallets: async () => (await import("./all-wallets-DhJCVmL_.js")).allWalletsSvg,
|
|
343
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-Cel-TDaT.js")).arrowBottomCircleSvg,
|
|
344
|
-
appStore: async () => (await import("./app-store-Ern3I2La.js")).appStoreSvg,
|
|
345
|
-
apple: async () => (await import("./apple-_SZ-XSIx.js")).appleSvg,
|
|
346
|
-
arrowBottom: async () => (await import("./arrow-bottom-D7Qlu6xE.js")).arrowBottomSvg,
|
|
347
|
-
arrowLeft: async () => (await import("./arrow-left-ByNxCvA_.js")).arrowLeftSvg,
|
|
348
|
-
arrowRight: async () => (await import("./arrow-right-yep9R_ud.js")).arrowRightSvg,
|
|
349
|
-
arrowTop: async () => (await import("./arrow-top-C1WlBAfk.js")).arrowTopSvg,
|
|
350
|
-
bank: async () => (await import("./bank-Dm8zmIr0.js")).bankSvg,
|
|
351
|
-
browser: async () => (await import("./browser-LYv8PF5c.js")).browserSvg,
|
|
352
|
-
card: async () => (await import("./card-CEQLkIir.js")).cardSvg,
|
|
353
|
-
checkmark: async () => (await import("./checkmark-DPFC_0yn.js")).checkmarkSvg,
|
|
354
|
-
checkmarkBold: async () => (await import("./checkmark-bold-Hwfezlkn.js")).checkmarkBoldSvg,
|
|
355
|
-
chevronBottom: async () => (await import("./chevron-bottom-qsPvhQDo.js")).chevronBottomSvg,
|
|
356
|
-
chevronLeft: async () => (await import("./chevron-left-CA4SOr_F.js")).chevronLeftSvg,
|
|
357
|
-
chevronRight: async () => (await import("./chevron-right-TeVZyORZ.js")).chevronRightSvg,
|
|
358
|
-
chevronTop: async () => (await import("./chevron-top-B7LCiM2n.js")).chevronTopSvg,
|
|
359
|
-
chromeStore: async () => (await import("./chrome-store-CU7w_5QC.js")).chromeStoreSvg,
|
|
360
|
-
clock: async () => (await import("./clock-DcbItfiJ.js")).clockSvg,
|
|
361
|
-
close: async () => (await import("./close-B22QsrS0.js")).closeSvg,
|
|
362
|
-
compass: async () => (await import("./compass-C7GRFU39.js")).compassSvg,
|
|
363
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-BNrjpg6-.js")).coinPlaceholderSvg,
|
|
364
|
-
copy: async () => (await import("./copy-BcrOhyLL.js")).copySvg,
|
|
365
|
-
cursor: async () => (await import("./cursor-AJkpyAWk.js")).cursorSvg,
|
|
366
|
-
cursorTransparent: async () => (await import("./cursor-transparent-C1dF4GFm.js")).cursorTransparentSvg,
|
|
367
|
-
desktop: async () => (await import("./desktop-C60oOo59.js")).desktopSvg,
|
|
368
|
-
disconnect: async () => (await import("./disconnect-DqS517fE.js")).disconnectSvg,
|
|
369
|
-
discord: async () => (await import("./discord-D1qNpgLJ.js")).discordSvg,
|
|
370
|
-
etherscan: async () => (await import("./etherscan-BWSY3GuJ.js")).etherscanSvg,
|
|
371
|
-
extension: async () => (await import("./extension-BuFHuaRl.js")).extensionSvg,
|
|
372
|
-
externalLink: async () => (await import("./external-link-L3QQJwck.js")).externalLinkSvg,
|
|
373
|
-
facebook: async () => (await import("./facebook-BbbjiGyt.js")).facebookSvg,
|
|
374
|
-
farcaster: async () => (await import("./farcaster-CDar3vjq.js")).farcasterSvg,
|
|
375
|
-
filters: async () => (await import("./filters-BprVfwTM.js")).filtersSvg,
|
|
376
|
-
github: async () => (await import("./github-BFRFSS65.js")).githubSvg,
|
|
377
|
-
google: async () => (await import("./google-DX3b-tuu.js")).googleSvg,
|
|
378
|
-
helpCircle: async () => (await import("./help-circle-PtWG4XV9.js")).helpCircleSvg,
|
|
379
|
-
image: async () => (await import("./image-2qjHFSqv.js")).imageSvg,
|
|
380
|
-
id: async () => (await import("./id-BKzsrqpW.js")).idSvg,
|
|
381
|
-
infoCircle: async () => (await import("./info-circle-DwGnsKMj.js")).infoCircleSvg,
|
|
382
|
-
lightbulb: async () => (await import("./lightbulb-BvGmXMuo.js")).lightbulbSvg,
|
|
383
|
-
mail: async () => (await import("./mail-Cl70v1Dx.js")).mailSvg,
|
|
384
|
-
mobile: async () => (await import("./mobile-BCINjy0Y.js")).mobileSvg,
|
|
385
|
-
more: async () => (await import("./more-Cozw6-SQ.js")).moreSvg,
|
|
386
|
-
networkPlaceholder: async () => (await import("./network-placeholder-o2Dz_YnK.js")).networkPlaceholderSvg,
|
|
387
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-Bjf9SAC-.js")).nftPlaceholderSvg,
|
|
388
|
-
off: async () => (await import("./off-BsVJ8v6H.js")).offSvg,
|
|
389
|
-
playStore: async () => (await import("./play-store-DIOK4cBW.js")).playStoreSvg,
|
|
390
|
-
plus: async () => (await import("./plus-Cxls3O6G.js")).plusSvg,
|
|
391
|
-
qrCode: async () => (await import("./qr-code-Cp6lpAcY.js")).qrCodeIcon,
|
|
392
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-AEJ_nbSP.js")).recycleHorizontalSvg,
|
|
393
|
-
refresh: async () => (await import("./refresh-7roUeD2M.js")).refreshSvg,
|
|
394
|
-
search: async () => (await import("./search-DgzcpMUb.js")).searchSvg,
|
|
395
|
-
send: async () => (await import("./send-D7M2-Upc.js")).sendSvg,
|
|
396
|
-
swapHorizontal: async () => (await import("./swapHorizontal-2gzDDUNF.js")).swapHorizontalSvg,
|
|
397
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-BQno5vep.js")).swapHorizontalMediumSvg,
|
|
398
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-C1cHwAjU.js")).swapHorizontalBoldSvg,
|
|
399
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-CYmZDeQ5.js")).swapHorizontalRoundedBoldSvg,
|
|
400
|
-
swapVertical: async () => (await import("./swapVertical-BhRPysBs.js")).swapVerticalSvg,
|
|
401
|
-
telegram: async () => (await import("./telegram-B-YOyhte.js")).telegramSvg,
|
|
402
|
-
threeDots: async () => (await import("./three-dots-8mr70UzU.js")).threeDotsSvg,
|
|
403
|
-
twitch: async () => (await import("./twitch-C2ccExfT.js")).twitchSvg,
|
|
404
|
-
twitter: async () => (await import("./x-B0KhGb39.js")).xSvg,
|
|
405
|
-
twitterIcon: async () => (await import("./twitterIcon-IkT5wPxq.js")).twitterIconSvg,
|
|
406
|
-
verify: async () => (await import("./verify-BfilAaob.js")).verifySvg,
|
|
407
|
-
verifyFilled: async () => (await import("./verify-filled-COkWKgPo.js")).verifyFilledSvg,
|
|
408
|
-
wallet: async () => (await import("./wallet-9D5svrZj.js")).walletSvg,
|
|
409
|
-
walletConnect: async () => (await import("./walletconnect-MtAz2u7z.js")).walletConnectSvg,
|
|
410
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-MtAz2u7z.js")).walletConnectLightBrownSvg,
|
|
411
|
-
walletConnectBrown: async () => (await import("./walletconnect-MtAz2u7z.js")).walletConnectBrownSvg,
|
|
412
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-CfLGKG93.js")).walletPlaceholderSvg,
|
|
413
|
-
warningCircle: async () => (await import("./warning-circle-Cf2AJecu.js")).warningCircleSvg,
|
|
414
|
-
x: async () => (await import("./x-B0KhGb39.js")).xSvg,
|
|
415
|
-
info: async () => (await import("./info-BhM-vMtG.js")).infoSvg,
|
|
416
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-nypPoZ5T.js")).exclamationTriangleSvg,
|
|
417
|
-
reown: async () => (await import("./reown-logo-xggoIKX2.js")).reownSvg
|
|
418
|
-
};
|
|
419
|
-
async function getSvg(name) {
|
|
420
|
-
if (globalSvgCache.has(name)) {
|
|
421
|
-
return globalSvgCache.get(name);
|
|
422
|
-
}
|
|
423
|
-
const importFn = ICONS[name] ?? ICONS.copy;
|
|
424
|
-
const svgPromise = importFn();
|
|
425
|
-
globalSvgCache.set(name, svgPromise);
|
|
426
|
-
return svgPromise;
|
|
427
|
-
}
|
|
428
|
-
let WuiIcon = class WuiIcon2 extends i$2 {
|
|
429
|
-
constructor() {
|
|
430
|
-
super(...arguments);
|
|
431
|
-
this.size = "md";
|
|
432
|
-
this.name = "copy";
|
|
433
|
-
this.color = "fg-300";
|
|
434
|
-
this.aspectRatio = "1 / 1";
|
|
435
|
-
}
|
|
436
|
-
render() {
|
|
437
|
-
this.style.cssText = `
|
|
438
|
-
--local-color: ${`var(--wui-color-${this.color});`}
|
|
439
|
-
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
440
|
-
--local-aspect-ratio: ${this.aspectRatio}
|
|
441
|
-
`;
|
|
442
|
-
return x`${m(getSvg(this.name), x`<div class="fallback"></div>`)}`;
|
|
443
|
-
}
|
|
444
|
-
};
|
|
445
|
-
WuiIcon.styles = [resetStyles, colorStyles, styles$5];
|
|
446
|
-
__decorate$5([
|
|
447
|
-
n$1()
|
|
448
|
-
], WuiIcon.prototype, "size", void 0);
|
|
449
|
-
__decorate$5([
|
|
450
|
-
n$1()
|
|
451
|
-
], WuiIcon.prototype, "name", void 0);
|
|
452
|
-
__decorate$5([
|
|
453
|
-
n$1()
|
|
454
|
-
], WuiIcon.prototype, "color", void 0);
|
|
455
|
-
__decorate$5([
|
|
456
|
-
n$1()
|
|
457
|
-
], WuiIcon.prototype, "aspectRatio", void 0);
|
|
458
|
-
WuiIcon = __decorate$5([
|
|
459
|
-
customElement("wui-icon")
|
|
460
|
-
], WuiIcon);
|
|
461
|
-
const styles$4 = i$1`
|
|
462
|
-
:host {
|
|
463
|
-
display: inline-flex !important;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
slot {
|
|
467
|
-
width: 100%;
|
|
468
|
-
display: inline-block;
|
|
469
|
-
font-style: normal;
|
|
470
|
-
font-family: var(--wui-font-family);
|
|
471
|
-
font-feature-settings:
|
|
472
|
-
'tnum' on,
|
|
473
|
-
'lnum' on,
|
|
474
|
-
'case' on;
|
|
475
|
-
line-height: 130%;
|
|
476
|
-
font-weight: var(--wui-font-weight-regular);
|
|
477
|
-
overflow: inherit;
|
|
478
|
-
text-overflow: inherit;
|
|
479
|
-
text-align: var(--local-align);
|
|
480
|
-
color: var(--local-color);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.wui-line-clamp-1 {
|
|
484
|
-
overflow: hidden;
|
|
485
|
-
display: -webkit-box;
|
|
486
|
-
-webkit-box-orient: vertical;
|
|
487
|
-
-webkit-line-clamp: 1;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.wui-line-clamp-2 {
|
|
491
|
-
overflow: hidden;
|
|
492
|
-
display: -webkit-box;
|
|
493
|
-
-webkit-box-orient: vertical;
|
|
494
|
-
-webkit-line-clamp: 2;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.wui-font-medium-400 {
|
|
498
|
-
font-size: var(--wui-font-size-medium);
|
|
499
|
-
font-weight: var(--wui-font-weight-light);
|
|
500
|
-
letter-spacing: var(--wui-letter-spacing-medium);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.wui-font-medium-600 {
|
|
504
|
-
font-size: var(--wui-font-size-medium);
|
|
505
|
-
letter-spacing: var(--wui-letter-spacing-medium);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.wui-font-title-600 {
|
|
509
|
-
font-size: var(--wui-font-size-title);
|
|
510
|
-
letter-spacing: var(--wui-letter-spacing-title);
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.wui-font-title-6-600 {
|
|
514
|
-
font-size: var(--wui-font-size-title-6);
|
|
515
|
-
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.wui-font-mini-700 {
|
|
519
|
-
font-size: var(--wui-font-size-mini);
|
|
520
|
-
letter-spacing: var(--wui-letter-spacing-mini);
|
|
521
|
-
text-transform: uppercase;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
.wui-font-large-500,
|
|
525
|
-
.wui-font-large-600,
|
|
526
|
-
.wui-font-large-700 {
|
|
527
|
-
font-size: var(--wui-font-size-large);
|
|
528
|
-
letter-spacing: var(--wui-letter-spacing-large);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.wui-font-2xl-500,
|
|
532
|
-
.wui-font-2xl-600,
|
|
533
|
-
.wui-font-2xl-700 {
|
|
534
|
-
font-size: var(--wui-font-size-2xl);
|
|
535
|
-
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.wui-font-paragraph-400,
|
|
539
|
-
.wui-font-paragraph-500,
|
|
540
|
-
.wui-font-paragraph-600,
|
|
541
|
-
.wui-font-paragraph-700 {
|
|
542
|
-
font-size: var(--wui-font-size-paragraph);
|
|
543
|
-
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.wui-font-small-400,
|
|
547
|
-
.wui-font-small-500,
|
|
548
|
-
.wui-font-small-600 {
|
|
549
|
-
font-size: var(--wui-font-size-small);
|
|
550
|
-
letter-spacing: var(--wui-letter-spacing-small);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.wui-font-tiny-400,
|
|
554
|
-
.wui-font-tiny-500,
|
|
555
|
-
.wui-font-tiny-600 {
|
|
556
|
-
font-size: var(--wui-font-size-tiny);
|
|
557
|
-
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
.wui-font-micro-700,
|
|
561
|
-
.wui-font-micro-600 {
|
|
562
|
-
font-size: var(--wui-font-size-micro);
|
|
563
|
-
letter-spacing: var(--wui-letter-spacing-micro);
|
|
564
|
-
text-transform: uppercase;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.wui-font-tiny-400,
|
|
568
|
-
.wui-font-small-400,
|
|
569
|
-
.wui-font-medium-400,
|
|
570
|
-
.wui-font-paragraph-400 {
|
|
571
|
-
font-weight: var(--wui-font-weight-light);
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
.wui-font-large-700,
|
|
575
|
-
.wui-font-paragraph-700,
|
|
576
|
-
.wui-font-micro-700,
|
|
577
|
-
.wui-font-mini-700 {
|
|
578
|
-
font-weight: var(--wui-font-weight-bold);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.wui-font-medium-600,
|
|
582
|
-
.wui-font-medium-title-600,
|
|
583
|
-
.wui-font-title-6-600,
|
|
584
|
-
.wui-font-large-600,
|
|
585
|
-
.wui-font-paragraph-600,
|
|
586
|
-
.wui-font-small-600,
|
|
587
|
-
.wui-font-tiny-600,
|
|
588
|
-
.wui-font-micro-600 {
|
|
589
|
-
font-weight: var(--wui-font-weight-medium);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
:host([disabled]) {
|
|
593
|
-
opacity: 0.4;
|
|
594
|
-
}
|
|
595
|
-
`;
|
|
596
|
-
var __decorate$4 = function(decorators, target, key, desc) {
|
|
597
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
598
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
599
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
600
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
601
|
-
};
|
|
602
|
-
let WuiText = class WuiText2 extends i$2 {
|
|
603
|
-
constructor() {
|
|
604
|
-
super(...arguments);
|
|
605
|
-
this.variant = "paragraph-500";
|
|
606
|
-
this.color = "fg-300";
|
|
607
|
-
this.align = "left";
|
|
608
|
-
this.lineClamp = void 0;
|
|
609
|
-
}
|
|
610
|
-
render() {
|
|
611
|
-
const classes = {
|
|
612
|
-
[`wui-font-${this.variant}`]: true,
|
|
613
|
-
[`wui-color-${this.color}`]: true,
|
|
614
|
-
[`wui-line-clamp-${this.lineClamp}`]: this.lineClamp ? true : false
|
|
615
|
-
};
|
|
616
|
-
this.style.cssText = `
|
|
617
|
-
--local-align: ${this.align};
|
|
618
|
-
--local-color: var(--wui-color-${this.color});
|
|
619
|
-
`;
|
|
620
|
-
return x`<slot class=${e$1(classes)}></slot>`;
|
|
621
|
-
}
|
|
622
|
-
};
|
|
623
|
-
WuiText.styles = [resetStyles, styles$4];
|
|
624
|
-
__decorate$4([
|
|
625
|
-
n$1()
|
|
626
|
-
], WuiText.prototype, "variant", void 0);
|
|
627
|
-
__decorate$4([
|
|
628
|
-
n$1()
|
|
629
|
-
], WuiText.prototype, "color", void 0);
|
|
630
|
-
__decorate$4([
|
|
631
|
-
n$1()
|
|
632
|
-
], WuiText.prototype, "align", void 0);
|
|
633
|
-
__decorate$4([
|
|
634
|
-
n$1()
|
|
635
|
-
], WuiText.prototype, "lineClamp", void 0);
|
|
636
|
-
WuiText = __decorate$4([
|
|
637
|
-
customElement("wui-text")
|
|
638
|
-
], WuiText);
|
|
639
|
-
const styles$3 = i$1`
|
|
640
|
-
:host {
|
|
641
|
-
display: inline-flex;
|
|
642
|
-
justify-content: center;
|
|
643
|
-
align-items: center;
|
|
644
|
-
position: relative;
|
|
645
|
-
overflow: hidden;
|
|
646
|
-
background-color: var(--wui-color-gray-glass-020);
|
|
647
|
-
border-radius: var(--local-border-radius);
|
|
648
|
-
border: var(--local-border);
|
|
649
|
-
box-sizing: content-box;
|
|
650
|
-
width: var(--local-size);
|
|
651
|
-
height: var(--local-size);
|
|
652
|
-
min-height: var(--local-size);
|
|
653
|
-
min-width: var(--local-size);
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
657
|
-
:host {
|
|
658
|
-
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
`;
|
|
662
|
-
var __decorate$3 = function(decorators, target, key, desc) {
|
|
663
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
664
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
665
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
666
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
667
|
-
};
|
|
668
|
-
let WuiIconBox = class WuiIconBox2 extends i$2 {
|
|
669
|
-
constructor() {
|
|
670
|
-
super(...arguments);
|
|
671
|
-
this.size = "md";
|
|
672
|
-
this.backgroundColor = "accent-100";
|
|
673
|
-
this.iconColor = "accent-100";
|
|
674
|
-
this.background = "transparent";
|
|
675
|
-
this.border = false;
|
|
676
|
-
this.borderColor = "wui-color-bg-125";
|
|
677
|
-
this.icon = "copy";
|
|
678
|
-
}
|
|
679
|
-
render() {
|
|
680
|
-
const iconSize = this.iconSize || this.size;
|
|
681
|
-
const isLg = this.size === "lg";
|
|
682
|
-
const isXl = this.size === "xl";
|
|
683
|
-
const bgMix = isLg ? "12%" : "16%";
|
|
684
|
-
const borderRadius = isLg ? "xxs" : isXl ? "s" : "3xl";
|
|
685
|
-
const isGray = this.background === "gray";
|
|
686
|
-
const isOpaque = this.background === "opaque";
|
|
687
|
-
const isColorChange = this.backgroundColor === "accent-100" && isOpaque || this.backgroundColor === "success-100" && isOpaque || this.backgroundColor === "error-100" && isOpaque || this.backgroundColor === "inverse-100" && isOpaque;
|
|
688
|
-
let bgValueVariable = `var(--wui-color-${this.backgroundColor})`;
|
|
689
|
-
if (isColorChange) {
|
|
690
|
-
bgValueVariable = `var(--wui-icon-box-bg-${this.backgroundColor})`;
|
|
691
|
-
} else if (isGray) {
|
|
692
|
-
bgValueVariable = `var(--wui-color-gray-${this.backgroundColor})`;
|
|
693
|
-
}
|
|
694
|
-
this.style.cssText = `
|
|
695
|
-
--local-bg-value: ${bgValueVariable};
|
|
696
|
-
--local-bg-mix: ${isColorChange || isGray ? `100%` : bgMix};
|
|
697
|
-
--local-border-radius: var(--wui-border-radius-${borderRadius});
|
|
698
|
-
--local-size: var(--wui-icon-box-size-${this.size});
|
|
699
|
-
--local-border: ${this.borderColor === "wui-color-bg-125" ? `2px` : `1px`} solid ${this.border ? `var(--${this.borderColor})` : `transparent`}
|
|
700
|
-
`;
|
|
701
|
-
return x` <wui-icon color=${this.iconColor} size=${iconSize} name=${this.icon}></wui-icon> `;
|
|
702
|
-
}
|
|
703
|
-
};
|
|
704
|
-
WuiIconBox.styles = [resetStyles, elementStyles, styles$3];
|
|
705
|
-
__decorate$3([
|
|
706
|
-
n$1()
|
|
707
|
-
], WuiIconBox.prototype, "size", void 0);
|
|
708
|
-
__decorate$3([
|
|
709
|
-
n$1()
|
|
710
|
-
], WuiIconBox.prototype, "backgroundColor", void 0);
|
|
711
|
-
__decorate$3([
|
|
712
|
-
n$1()
|
|
713
|
-
], WuiIconBox.prototype, "iconColor", void 0);
|
|
714
|
-
__decorate$3([
|
|
715
|
-
n$1()
|
|
716
|
-
], WuiIconBox.prototype, "iconSize", void 0);
|
|
717
|
-
__decorate$3([
|
|
718
|
-
n$1()
|
|
719
|
-
], WuiIconBox.prototype, "background", void 0);
|
|
720
|
-
__decorate$3([
|
|
721
|
-
n$1({ type: Boolean })
|
|
722
|
-
], WuiIconBox.prototype, "border", void 0);
|
|
723
|
-
__decorate$3([
|
|
724
|
-
n$1()
|
|
725
|
-
], WuiIconBox.prototype, "borderColor", void 0);
|
|
726
|
-
__decorate$3([
|
|
727
|
-
n$1()
|
|
728
|
-
], WuiIconBox.prototype, "icon", void 0);
|
|
729
|
-
WuiIconBox = __decorate$3([
|
|
730
|
-
customElement("wui-icon-box")
|
|
731
|
-
], WuiIconBox);
|
|
732
|
-
const styles$2 = i$1`
|
|
733
|
-
:host {
|
|
734
|
-
display: block;
|
|
735
|
-
width: var(--local-width);
|
|
736
|
-
height: var(--local-height);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
img {
|
|
740
|
-
display: block;
|
|
741
|
-
width: 100%;
|
|
742
|
-
height: 100%;
|
|
743
|
-
object-fit: cover;
|
|
744
|
-
object-position: center center;
|
|
745
|
-
border-radius: inherit;
|
|
746
|
-
}
|
|
747
|
-
`;
|
|
748
|
-
var __decorate$2 = function(decorators, target, key, desc) {
|
|
749
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
750
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
751
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
752
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
753
|
-
};
|
|
754
|
-
let WuiImage = class WuiImage2 extends i$2 {
|
|
755
|
-
constructor() {
|
|
756
|
-
super(...arguments);
|
|
757
|
-
this.src = "./path/to/image.jpg";
|
|
758
|
-
this.alt = "Image";
|
|
759
|
-
this.size = void 0;
|
|
760
|
-
}
|
|
761
|
-
render() {
|
|
762
|
-
this.style.cssText = `
|
|
763
|
-
--local-width: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
764
|
-
--local-height: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
765
|
-
`;
|
|
766
|
-
return x`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`;
|
|
767
|
-
}
|
|
768
|
-
handleImageError() {
|
|
769
|
-
this.dispatchEvent(new CustomEvent("onLoadError", { bubbles: true, composed: true }));
|
|
770
|
-
}
|
|
771
|
-
};
|
|
772
|
-
WuiImage.styles = [resetStyles, colorStyles, styles$2];
|
|
773
|
-
__decorate$2([
|
|
774
|
-
n$1()
|
|
775
|
-
], WuiImage.prototype, "src", void 0);
|
|
776
|
-
__decorate$2([
|
|
777
|
-
n$1()
|
|
778
|
-
], WuiImage.prototype, "alt", void 0);
|
|
779
|
-
__decorate$2([
|
|
780
|
-
n$1()
|
|
781
|
-
], WuiImage.prototype, "size", void 0);
|
|
782
|
-
WuiImage = __decorate$2([
|
|
783
|
-
customElement("wui-image")
|
|
784
|
-
], WuiImage);
|
|
785
|
-
const styles$1 = i$1`
|
|
786
|
-
:host {
|
|
787
|
-
display: flex;
|
|
788
|
-
justify-content: center;
|
|
789
|
-
align-items: center;
|
|
790
|
-
height: var(--wui-spacing-m);
|
|
791
|
-
padding: 0 var(--wui-spacing-3xs) !important;
|
|
792
|
-
border-radius: var(--wui-border-radius-5xs);
|
|
793
|
-
transition:
|
|
794
|
-
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
795
|
-
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
796
|
-
will-change: border-radius, background-color;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
:host > wui-text {
|
|
800
|
-
transform: translateY(5%);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
:host([data-variant='main']) {
|
|
804
|
-
background-color: var(--wui-color-accent-glass-015);
|
|
805
|
-
color: var(--wui-color-accent-100);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
:host([data-variant='shade']) {
|
|
809
|
-
background-color: var(--wui-color-gray-glass-010);
|
|
810
|
-
color: var(--wui-color-fg-200);
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
:host([data-variant='success']) {
|
|
814
|
-
background-color: var(--wui-icon-box-bg-success-100);
|
|
815
|
-
color: var(--wui-color-success-100);
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
:host([data-variant='error']) {
|
|
819
|
-
background-color: var(--wui-icon-box-bg-error-100);
|
|
820
|
-
color: var(--wui-color-error-100);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
:host([data-size='lg']) {
|
|
824
|
-
padding: 11px 5px !important;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
:host([data-size='lg']) > wui-text {
|
|
828
|
-
transform: translateY(2%);
|
|
829
|
-
}
|
|
830
|
-
`;
|
|
831
|
-
var __decorate$1 = function(decorators, target, key, desc) {
|
|
832
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
833
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
834
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
835
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
836
|
-
};
|
|
837
|
-
let WuiTag = class WuiTag2 extends i$2 {
|
|
838
|
-
constructor() {
|
|
839
|
-
super(...arguments);
|
|
840
|
-
this.variant = "main";
|
|
841
|
-
this.size = "lg";
|
|
842
|
-
}
|
|
843
|
-
render() {
|
|
844
|
-
this.dataset["variant"] = this.variant;
|
|
845
|
-
this.dataset["size"] = this.size;
|
|
846
|
-
const textVariant = this.size === "md" ? "mini-700" : "micro-700";
|
|
847
|
-
return x`
|
|
848
|
-
<wui-text data-variant=${this.variant} variant=${textVariant} color="inherit">
|
|
849
|
-
<slot></slot>
|
|
850
|
-
</wui-text>
|
|
851
|
-
`;
|
|
852
|
-
}
|
|
853
|
-
};
|
|
854
|
-
WuiTag.styles = [resetStyles, styles$1];
|
|
855
|
-
__decorate$1([
|
|
856
|
-
n$1()
|
|
857
|
-
], WuiTag.prototype, "variant", void 0);
|
|
858
|
-
__decorate$1([
|
|
859
|
-
n$1()
|
|
860
|
-
], WuiTag.prototype, "size", void 0);
|
|
861
|
-
WuiTag = __decorate$1([
|
|
862
|
-
customElement("wui-tag")
|
|
863
|
-
], WuiTag);
|
|
864
|
-
const styles = i$1`
|
|
865
|
-
:host {
|
|
866
|
-
display: flex;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
:host([data-size='sm']) > svg {
|
|
870
|
-
width: 12px;
|
|
871
|
-
height: 12px;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
:host([data-size='md']) > svg {
|
|
875
|
-
width: 16px;
|
|
876
|
-
height: 16px;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
:host([data-size='lg']) > svg {
|
|
880
|
-
width: 24px;
|
|
881
|
-
height: 24px;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
:host([data-size='xl']) > svg {
|
|
885
|
-
width: 32px;
|
|
886
|
-
height: 32px;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
svg {
|
|
890
|
-
animation: rotate 2s linear infinite;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
circle {
|
|
894
|
-
fill: none;
|
|
895
|
-
stroke: var(--local-color);
|
|
896
|
-
stroke-width: 4px;
|
|
897
|
-
stroke-dasharray: 1, 124;
|
|
898
|
-
stroke-dashoffset: 0;
|
|
899
|
-
stroke-linecap: round;
|
|
900
|
-
animation: dash 1.5s ease-in-out infinite;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
:host([data-size='md']) > svg > circle {
|
|
904
|
-
stroke-width: 6px;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
:host([data-size='sm']) > svg > circle {
|
|
908
|
-
stroke-width: 8px;
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
@keyframes rotate {
|
|
912
|
-
100% {
|
|
913
|
-
transform: rotate(360deg);
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
@keyframes dash {
|
|
918
|
-
0% {
|
|
919
|
-
stroke-dasharray: 1, 124;
|
|
920
|
-
stroke-dashoffset: 0;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
50% {
|
|
924
|
-
stroke-dasharray: 90, 124;
|
|
925
|
-
stroke-dashoffset: -35;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
100% {
|
|
929
|
-
stroke-dashoffset: -125;
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
`;
|
|
933
|
-
var __decorate = function(decorators, target, key, desc) {
|
|
934
|
-
var c2 = arguments.length, r = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
935
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
936
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d = decorators[i2]) r = (c2 < 3 ? d(r) : c2 > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
937
|
-
return c2 > 3 && r && Object.defineProperty(target, key, r), r;
|
|
938
|
-
};
|
|
939
|
-
let WuiLoadingSpinner = class WuiLoadingSpinner2 extends i$2 {
|
|
940
|
-
constructor() {
|
|
941
|
-
super(...arguments);
|
|
942
|
-
this.color = "accent-100";
|
|
943
|
-
this.size = "lg";
|
|
944
|
-
}
|
|
945
|
-
render() {
|
|
946
|
-
this.style.cssText = `--local-color: ${this.color === "inherit" ? "inherit" : `var(--wui-color-${this.color})`}`;
|
|
947
|
-
this.dataset["size"] = this.size;
|
|
948
|
-
return x`<svg viewBox="25 25 50 50">
|
|
949
|
-
<circle r="20" cy="50" cx="50"></circle>
|
|
950
|
-
</svg>`;
|
|
951
|
-
}
|
|
952
|
-
};
|
|
953
|
-
WuiLoadingSpinner.styles = [resetStyles, styles];
|
|
954
|
-
__decorate([
|
|
955
|
-
n$1()
|
|
956
|
-
], WuiLoadingSpinner.prototype, "color", void 0);
|
|
957
|
-
__decorate([
|
|
958
|
-
n$1()
|
|
959
|
-
], WuiLoadingSpinner.prototype, "size", void 0);
|
|
960
|
-
WuiLoadingSpinner = __decorate([
|
|
961
|
-
customElement("wui-loading-spinner")
|
|
962
|
-
], WuiLoadingSpinner);
|
|
963
|
-
export {
|
|
964
|
-
UiHelperUtil as U,
|
|
965
|
-
customElement as c
|
|
966
|
-
};
|
|
967
|
-
//# sourceMappingURL=index-CfTNvhZC.js.map
|