@reown/appkit-cdn 1.8.15-viem-upgrade.0 → 1.8.15-wc-linking-reset-headless.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/dist/ConstantsUtil-CbwdoWl-.js +24 -0
- package/dist/ConstantsUtil-CbwdoWl-.js.map +1 -0
- package/dist/ExchangeController-Dqyc5bBG.js +265 -0
- package/dist/ExchangeController-Dqyc5bBG.js.map +1 -0
- package/dist/HelpersUtil-DU2h_IDh.js +141 -0
- package/dist/HelpersUtil-DU2h_IDh.js.map +1 -0
- package/dist/NavigationUtil-Ci15WS4K.js +9 -0
- package/dist/NavigationUtil-Ci15WS4K.js.map +1 -0
- package/dist/PhArrowCircleDown-B41iUlWV.js +74 -0
- package/dist/PhArrowCircleDown-B41iUlWV.js.map +1 -0
- package/dist/PhArrowClockwise-BY8u5n41.js +74 -0
- package/dist/PhArrowClockwise-BY8u5n41.js.map +1 -0
- package/dist/PhArrowDown-ClD8GZ65.js +74 -0
- package/dist/PhArrowDown-ClD8GZ65.js.map +1 -0
- package/dist/PhArrowLeft-B8MXUz60.js +74 -0
- package/dist/PhArrowLeft-B8MXUz60.js.map +1 -0
- package/dist/PhArrowRight-Cewa_Slb.js +74 -0
- package/dist/PhArrowRight-Cewa_Slb.js.map +1 -0
- package/dist/PhArrowSquareOut-whgWh-lD.js +74 -0
- package/dist/PhArrowSquareOut-whgWh-lD.js.map +1 -0
- package/dist/PhArrowUp-B1HXBxie.js +74 -0
- package/dist/PhArrowUp-B1HXBxie.js.map +1 -0
- package/dist/PhArrowUpRight-CfFYe4FP.js +74 -0
- package/dist/PhArrowUpRight-CfFYe4FP.js.map +1 -0
- package/dist/PhArrowsClockwise-gL1Gkrtx.js +74 -0
- package/dist/PhArrowsClockwise-gL1Gkrtx.js.map +1 -0
- package/dist/PhArrowsDownUp-BqUEdUQr.js +74 -0
- package/dist/PhArrowsDownUp-BqUEdUQr.js.map +1 -0
- package/dist/PhArrowsLeftRight-BlZU63eY.js +74 -0
- package/dist/PhArrowsLeftRight-BlZU63eY.js.map +1 -0
- package/dist/PhBank-gbg_jlI7.js +74 -0
- package/dist/PhBank-gbg_jlI7.js.map +1 -0
- package/dist/PhBrowser-CMlD-YJw.js +74 -0
- package/dist/PhBrowser-CMlD-YJw.js.map +1 -0
- package/dist/PhCaretDown-3agTO8Jp.js +74 -0
- package/dist/PhCaretDown-3agTO8Jp.js.map +1 -0
- package/dist/PhCaretLeft-_MTni7Z5.js +74 -0
- package/dist/PhCaretLeft-_MTni7Z5.js.map +1 -0
- package/dist/PhCaretRight-Ci9fAHPG.js +74 -0
- package/dist/PhCaretRight-Ci9fAHPG.js.map +1 -0
- package/dist/PhCaretUp-vFG4Fame.js +74 -0
- package/dist/PhCaretUp-vFG4Fame.js.map +1 -0
- package/dist/PhCheck-mChGK6K_.js +74 -0
- package/dist/PhCheck-mChGK6K_.js.map +1 -0
- package/dist/PhCircleHalf-DZ7-vfxf.js +74 -0
- package/dist/PhCircleHalf-DZ7-vfxf.js.map +1 -0
- package/dist/PhClock-Bc5XWXb6.js +74 -0
- package/dist/PhClock-Bc5XWXb6.js.map +1 -0
- package/dist/PhCompass-Cu2MB-55.js +74 -0
- package/dist/PhCompass-Cu2MB-55.js.map +1 -0
- package/dist/PhCopy-BGUjyTts.js +74 -0
- package/dist/PhCopy-BGUjyTts.js.map +1 -0
- package/dist/PhCreditCard-vxFWID4B.js +74 -0
- package/dist/PhCreditCard-vxFWID4B.js.map +1 -0
- package/dist/PhCurrencyDollar-BfOoDhJr.js +74 -0
- package/dist/PhCurrencyDollar-BfOoDhJr.js.map +1 -0
- package/dist/PhDesktop-Cq6jwzbS.js +74 -0
- package/dist/PhDesktop-Cq6jwzbS.js.map +1 -0
- package/dist/PhDeviceMobile-BCtTp6jj.js +74 -0
- package/dist/PhDeviceMobile-BCtTp6jj.js.map +1 -0
- package/dist/PhDotsThree-BGgD-WIO.js +74 -0
- package/dist/PhDotsThree-BGgD-WIO.js.map +1 -0
- package/dist/PhEnvelope-CQiV0-zG.js +74 -0
- package/dist/PhEnvelope-CQiV0-zG.js.map +1 -0
- package/dist/PhFunnelSimple-BHGtxTNf.js +74 -0
- package/dist/PhFunnelSimple-BHGtxTNf.js.map +1 -0
- package/dist/PhGlobe-Q8oVkf6X.js +74 -0
- package/dist/PhGlobe-Q8oVkf6X.js.map +1 -0
- package/dist/PhIdentificationCard-Cz9LzvVR.js +74 -0
- package/dist/PhIdentificationCard-Cz9LzvVR.js.map +1 -0
- package/dist/PhImage-CP5_qKk-.js +74 -0
- package/dist/PhImage-CP5_qKk-.js.map +1 -0
- package/dist/PhInfo-CTlE1X9Z.js +74 -0
- package/dist/PhInfo-CTlE1X9Z.js.map +1 -0
- package/dist/PhLightbulb-CcLpnAAb.js +74 -0
- package/dist/PhLightbulb-CcLpnAAb.js.map +1 -0
- package/dist/PhMagnifyingGlass-n58GUAck.js +74 -0
- package/dist/PhMagnifyingGlass-n58GUAck.js.map +1 -0
- package/dist/PhPaperPlaneRight-C0sf2XV8.js +74 -0
- package/dist/PhPaperPlaneRight-C0sf2XV8.js.map +1 -0
- package/dist/PhPlus-BJxvt7Uc.js +74 -0
- package/dist/PhPlus-BJxvt7Uc.js.map +1 -0
- package/dist/PhPower-BvktxO2-.js +74 -0
- package/dist/PhPower-BvktxO2-.js.map +1 -0
- package/dist/PhPuzzlePiece-CDDyUPYo.js +74 -0
- package/dist/PhPuzzlePiece-CDDyUPYo.js.map +1 -0
- package/dist/PhQrCode-BlGI8529.js +74 -0
- package/dist/PhQrCode-BlGI8529.js.map +1 -0
- package/dist/PhQuestion-DGZj6iDZ.js +74 -0
- package/dist/PhQuestion-DGZj6iDZ.js.map +1 -0
- package/dist/PhQuestionMark-CTmeI7MQ.js +74 -0
- package/dist/PhQuestionMark-CTmeI7MQ.js.map +1 -0
- package/dist/PhSealCheck-BSlqkxnH.js +74 -0
- package/dist/PhSealCheck-BSlqkxnH.js.map +1 -0
- package/dist/PhSignOut-CEXxlRk3.js +74 -0
- package/dist/PhSignOut-CEXxlRk3.js.map +1 -0
- package/dist/PhSpinner-Do1pY8fG.js +74 -0
- package/dist/PhSpinner-Do1pY8fG.js.map +1 -0
- package/dist/PhTrash-JNKavmpg.js +74 -0
- package/dist/PhTrash-JNKavmpg.js.map +1 -0
- package/dist/PhUser-BW7E-xYg.js +74 -0
- package/dist/PhUser-BW7E-xYg.js.map +1 -0
- package/dist/PhVault-mzxUgBYN.js +74 -0
- package/dist/PhVault-mzxUgBYN.js.map +1 -0
- package/dist/PhWallet-BR9JThKU.js +74 -0
- package/dist/PhWallet-BR9JThKU.js.map +1 -0
- package/dist/PhWarning-DxuQ70WM.js +74 -0
- package/dist/PhWarning-DxuQ70WM.js.map +1 -0
- package/dist/PhWarningCircle-DCI0JC1F.js +74 -0
- package/dist/PhWarningCircle-DCI0JC1F.js.map +1 -0
- package/dist/PhX-CWNXqpGn.js +74 -0
- package/dist/PhX-CWNXqpGn.js.map +1 -0
- package/dist/SwapController-jMZttK6h.js +684 -0
- package/dist/SwapController-jMZttK6h.js.map +1 -0
- package/dist/WebCryptoP256-BBztc0iu.js +3299 -0
- package/dist/WebCryptoP256-BBztc0iu.js.map +1 -0
- package/dist/add--c4dzQ5a.js +20 -0
- package/dist/add--c4dzQ5a.js.map +1 -0
- package/dist/all-wallets-qDP3dIqp.js +11 -0
- package/dist/all-wallets-qDP3dIqp.js.map +1 -0
- package/dist/app-store-D9l7eF2W.js +22 -0
- package/dist/app-store-D9l7eF2W.js.map +1 -0
- package/dist/appkit-BelUXm_6.js +117838 -0
- package/dist/appkit-BelUXm_6.js.map +1 -0
- package/dist/appkit.js +11 -0
- package/dist/appkit.js.map +1 -0
- package/dist/apple-CpoWHbAl.js +23 -0
- package/dist/apple-CpoWHbAl.js.map +1 -0
- package/dist/arrow-bottom-Duw4wyrB.js +13 -0
- package/dist/arrow-bottom-Duw4wyrB.js.map +1 -0
- package/dist/arrow-bottom-circle-jzrzTJTi.js +16 -0
- package/dist/arrow-bottom-circle-jzrzTJTi.js.map +1 -0
- package/dist/arrow-left-DZ8261mb.js +13 -0
- package/dist/arrow-left-DZ8261mb.js.map +1 -0
- package/dist/arrow-right-BkSWH-o2.js +13 -0
- package/dist/arrow-right-BkSWH-o2.js.map +1 -0
- package/dist/arrow-top-CZ-VhKD6.js +13 -0
- package/dist/arrow-top-CZ-VhKD6.js.map +1 -0
- package/dist/async-directive-DxJWJE9R.js +73 -0
- package/dist/async-directive-DxJWJE9R.js.map +1 -0
- package/dist/bank-Dqp8PTLk.js +19 -0
- package/dist/bank-Dqp8PTLk.js.map +1 -0
- package/dist/basic-DFEi41zA.js +4914 -0
- package/dist/basic-DFEi41zA.js.map +1 -0
- package/dist/browser-5XoTmr4n.js +1991 -0
- package/dist/browser-5XoTmr4n.js.map +1 -0
- package/dist/browser-BPO6XEtY.js +19 -0
- package/dist/browser-BPO6XEtY.js.map +1 -0
- package/dist/card-V3yaUpoc.js +19 -0
- package/dist/card-V3yaUpoc.js.map +1 -0
- package/dist/ccip-BoFoMwtu.js +164 -0
- package/dist/ccip-BoFoMwtu.js.map +1 -0
- package/dist/checkmark-DSiyB22o.js +16 -0
- package/dist/checkmark-DSiyB22o.js.map +1 -0
- package/dist/checkmark-bold-Bv7-ZO8v.js +13 -0
- package/dist/checkmark-bold-Bv7-ZO8v.js.map +1 -0
- package/dist/chevron-bottom-B2TGsNMu.js +13 -0
- package/dist/chevron-bottom-B2TGsNMu.js.map +1 -0
- package/dist/chevron-left-Cwx-XOsq.js +13 -0
- package/dist/chevron-left-Cwx-XOsq.js.map +1 -0
- package/dist/chevron-right-BGnzEWju.js +13 -0
- package/dist/chevron-right-BGnzEWju.js.map +1 -0
- package/dist/chevron-top-C-e2sCE8.js +13 -0
- package/dist/chevron-top-C-e2sCE8.js.map +1 -0
- package/dist/chrome-store-Dk-JjvFO.js +66 -0
- package/dist/chrome-store-Dk-JjvFO.js.map +1 -0
- package/dist/class-map-ZEs4CrSH.js +101 -0
- package/dist/class-map-ZEs4CrSH.js.map +1 -0
- package/dist/clock-DqVZkTjt.js +13 -0
- package/dist/clock-DqVZkTjt.js.map +1 -0
- package/dist/close-iWBWiaHR.js +13 -0
- package/dist/close-iWBWiaHR.js.map +1 -0
- package/dist/clsx.m-D57qXwfE.js +21 -0
- package/dist/clsx.m-D57qXwfE.js.map +1 -0
- package/dist/coinPlaceholder-DamDZh25.js +13 -0
- package/dist/coinPlaceholder-DamDZh25.js.map +1 -0
- package/dist/compass-DK4o4OBL.js +13 -0
- package/dist/compass-DK4o4OBL.js.map +1 -0
- package/dist/copy-eQpimOO_.js +20 -0
- package/dist/copy-eQpimOO_.js.map +1 -0
- package/dist/core-Blm5BnNJ.js +16288 -0
- package/dist/core-Blm5BnNJ.js.map +1 -0
- package/dist/cursor-k5vr3_IY.js +8 -0
- package/dist/cursor-k5vr3_IY.js.map +1 -0
- package/dist/cursor-transparent-C72dSWkl.js +17 -0
- package/dist/cursor-transparent-C72dSWkl.js.map +1 -0
- package/dist/data-capture-BYDXaTJ7.js +549 -0
- package/dist/data-capture-BYDXaTJ7.js.map +1 -0
- package/dist/desktop-BKt6U1LK.js +14 -0
- package/dist/desktop-BKt6U1LK.js.map +1 -0
- package/dist/disconnect-BN2JhgmS.js +13 -0
- package/dist/disconnect-BN2JhgmS.js.map +1 -0
- package/dist/discord-BPXpxniL.js +22 -0
- package/dist/discord-BPXpxniL.js.map +1 -0
- package/dist/email-CNuZeI4u.js +421 -0
- package/dist/email-CNuZeI4u.js.map +1 -0
- package/dist/embedded-wallet-LWvrPF_o.js +952 -0
- package/dist/embedded-wallet-LWvrPF_o.js.map +1 -0
- package/dist/etherscan-DDKRPzA-.js +11 -0
- package/dist/etherscan-DDKRPzA-.js.map +1 -0
- package/dist/exclamation-triangle-D-8fgdY1.js +9 -0
- package/dist/exclamation-triangle-D-8fgdY1.js.map +1 -0
- package/dist/extension-Dxcr6kcX.js +13 -0
- package/dist/extension-Dxcr6kcX.js.map +1 -0
- package/dist/external-link-CAGwU0J9.js +13 -0
- package/dist/external-link-CAGwU0J9.js.map +1 -0
- package/dist/facebook-CLDxOaIb.js +31 -0
- package/dist/facebook-CLDxOaIb.js.map +1 -0
- package/dist/farcaster-Cw3u-UPo.js +17 -0
- package/dist/farcaster-Cw3u-UPo.js.map +1 -0
- package/dist/features-vg2POspn.js +319 -0
- package/dist/features-vg2POspn.js.map +1 -0
- package/dist/filters-COA9syz-.js +13 -0
- package/dist/filters-COA9syz-.js.map +1 -0
- package/dist/github-D7S2v9I4.js +23 -0
- package/dist/github-D7S2v9I4.js.map +1 -0
- package/dist/google-D0CqK5v9.js +23 -0
- package/dist/google-D0CqK5v9.js.map +1 -0
- package/dist/hashTypedData-CSpZpAVZ.js +262 -0
- package/dist/hashTypedData-CSpZpAVZ.js.map +1 -0
- package/dist/help-circle-DUNo_nkC.js +17 -0
- package/dist/help-circle-DUNo_nkC.js.map +1 -0
- package/dist/id-I68XskJD.js +17 -0
- package/dist/id-I68XskJD.js.map +1 -0
- package/dist/if-defined-CZFxJBnA.js +11 -0
- package/dist/if-defined-CZFxJBnA.js.map +1 -0
- package/dist/image-B5cNqRyN.js +9 -0
- package/dist/image-B5cNqRyN.js.map +1 -0
- package/dist/index-104DdYHO.js +985 -0
- package/dist/index-104DdYHO.js.map +1 -0
- package/dist/index-B3zs1e7u.js +181 -0
- package/dist/index-B3zs1e7u.js.map +1 -0
- package/dist/index-B5NSdMiU.js +218 -0
- package/dist/index-B5NSdMiU.js.map +1 -0
- package/dist/index-B6iHFF4h.js +136 -0
- package/dist/index-B6iHFF4h.js.map +1 -0
- package/dist/index-B8jsF--g.js +1582 -0
- package/dist/index-B8jsF--g.js.map +1 -0
- package/dist/index-BB3tQw2Z.js +9350 -0
- package/dist/index-BB3tQw2Z.js.map +1 -0
- package/dist/index-BKk3ruzQ.js +456 -0
- package/dist/index-BKk3ruzQ.js.map +1 -0
- package/dist/index-BLjdKVPF.js +18322 -0
- package/dist/index-BLjdKVPF.js.map +1 -0
- package/dist/index-BOoc_x7l.js +180 -0
- package/dist/index-BOoc_x7l.js.map +1 -0
- package/dist/index-BeheLXdB.js +441 -0
- package/dist/index-BeheLXdB.js.map +1 -0
- package/dist/index-BgqBk_dY.js +147 -0
- package/dist/index-BgqBk_dY.js.map +1 -0
- package/dist/index-Bnorl9_z.js +1372 -0
- package/dist/index-Bnorl9_z.js.map +1 -0
- package/dist/index-C26sVife.js +967 -0
- package/dist/index-C26sVife.js.map +1 -0
- package/dist/index-C32JOlST.js +198 -0
- package/dist/index-C32JOlST.js.map +1 -0
- package/dist/index-C78ZsEMq.js +211 -0
- package/dist/index-C78ZsEMq.js.map +1 -0
- package/dist/index-C8oew4P6.js +153 -0
- package/dist/index-C8oew4P6.js.map +1 -0
- package/dist/index-CNlrW5cy.js +126 -0
- package/dist/index-CNlrW5cy.js.map +1 -0
- package/dist/index-CWtAW9yD.js +70 -0
- package/dist/index-CWtAW9yD.js.map +1 -0
- package/dist/index-CZYTg7wq.js +7258 -0
- package/dist/index-CZYTg7wq.js.map +1 -0
- package/dist/index-CcLQYms1.js +109 -0
- package/dist/index-CcLQYms1.js.map +1 -0
- package/dist/index-Cmdv-EKc.js +3987 -0
- package/dist/index-Cmdv-EKc.js.map +1 -0
- package/dist/index-D0jIxjP5.js +611 -0
- package/dist/index-D0jIxjP5.js.map +1 -0
- package/dist/index-D1RMkx4Z.js +73 -0
- package/dist/index-D1RMkx4Z.js.map +1 -0
- package/dist/index-D80ztMVu.js +7481 -0
- package/dist/index-D80ztMVu.js.map +1 -0
- package/dist/index-D9I51xNN.js +124 -0
- package/dist/index-D9I51xNN.js.map +1 -0
- package/dist/index-DC3uHGx5.js +281 -0
- package/dist/index-DC3uHGx5.js.map +1 -0
- package/dist/index-DKaSbFmS.js +62 -0
- package/dist/index-DKaSbFmS.js.map +1 -0
- package/dist/index-DMfKX7xa.js +52 -0
- package/dist/index-DMfKX7xa.js.map +1 -0
- package/dist/index-DRONCFaf.js +521 -0
- package/dist/index-DRONCFaf.js.map +1 -0
- package/dist/index-DWU2cJP9.js +984 -0
- package/dist/index-DWU2cJP9.js.map +1 -0
- package/dist/index-Dk1HiwFn.js +110 -0
- package/dist/index-Dk1HiwFn.js.map +1 -0
- package/dist/index-DoDZtBzt.js +257 -0
- package/dist/index-DoDZtBzt.js.map +1 -0
- package/dist/index-DrMicDEk.js +8825 -0
- package/dist/index-DrMicDEk.js.map +1 -0
- package/dist/index-DwCIGVjJ.js +2277 -0
- package/dist/index-DwCIGVjJ.js.map +1 -0
- package/dist/index-G39WAG_u.js +249 -0
- package/dist/index-G39WAG_u.js.map +1 -0
- package/dist/index-LKmHdTip.js +120 -0
- package/dist/index-LKmHdTip.js.map +1 -0
- package/dist/index-Q4ByiA8h.js +92 -0
- package/dist/index-Q4ByiA8h.js.map +1 -0
- package/dist/index-WWBlLBf0.js +286 -0
- package/dist/index-WWBlLBf0.js.map +1 -0
- package/dist/index-YriocA8k.js +542 -0
- package/dist/index-YriocA8k.js.map +1 -0
- package/dist/index-iZY344lJ.js +131 -0
- package/dist/index-iZY344lJ.js.map +1 -0
- package/dist/index-jvpHgQNC.js +1178 -0
- package/dist/index-jvpHgQNC.js.map +1 -0
- package/dist/index-l79JdXA-.js +198 -0
- package/dist/index-l79JdXA-.js.map +1 -0
- package/dist/index-ln8WeuTF.js +520 -0
- package/dist/index-ln8WeuTF.js.map +1 -0
- package/dist/index-qKPbj0fN.js +147 -0
- package/dist/index-qKPbj0fN.js.map +1 -0
- package/dist/index-vbfIJzga.js +182 -0
- package/dist/index-vbfIJzga.js.map +1 -0
- package/dist/index-ydt0zLSU.js +716 -0
- package/dist/index-ydt0zLSU.js.map +1 -0
- package/dist/index.es-DRqDW831.js +8503 -0
- package/dist/index.es-DRqDW831.js.map +1 -0
- package/dist/info-2WDwQZjB.js +8 -0
- package/dist/info-2WDwQZjB.js.map +1 -0
- package/dist/info-circle-CtSQ1Thr.js +17 -0
- package/dist/info-circle-CtSQ1Thr.js.map +1 -0
- package/dist/jsxRuntime.module-xbg0Y-2w.js +14 -0
- package/dist/jsxRuntime.module-xbg0Y-2w.js.map +1 -0
- package/dist/lightbulb-BSt44yHY.js +8 -0
- package/dist/lightbulb-BSt44yHY.js.map +1 -0
- package/dist/localBatchGatewayRequest-BfhYO3yz.js +103 -0
- package/dist/localBatchGatewayRequest-BfhYO3yz.js.map +1 -0
- package/dist/mail-BrPzu8JI.js +13 -0
- package/dist/mail-BrPzu8JI.js.map +1 -0
- package/dist/metamask-sdk-BH2upH2a.js +16699 -0
- package/dist/metamask-sdk-BH2upH2a.js.map +1 -0
- package/dist/mobile-qOQzY1mQ.js +14 -0
- package/dist/mobile-qOQzY1mQ.js.map +1 -0
- package/dist/more-Q55BhoHR.js +16 -0
- package/dist/more-Q55BhoHR.js.map +1 -0
- package/dist/native-NhO1oTAz.js +17 -0
- package/dist/native-NhO1oTAz.js.map +1 -0
- package/dist/network-placeholder-CNNFAqAN.js +19 -0
- package/dist/network-placeholder-CNNFAqAN.js.map +1 -0
- package/dist/nftPlaceholder-XepUac1F.js +13 -0
- package/dist/nftPlaceholder-XepUac1F.js.map +1 -0
- package/dist/off-B5pFs_h0.js +13 -0
- package/dist/off-B5pFs_h0.js.map +1 -0
- package/dist/onramp-Cmf4-Qlj.js +979 -0
- package/dist/onramp-Cmf4-Qlj.js.map +1 -0
- package/dist/parseAbiParameters-DfJcIE_w.js +757 -0
- package/dist/parseAbiParameters-DfJcIE_w.js.map +1 -0
- package/dist/parseSignature-DLIuU8h-.js +4690 -0
- package/dist/parseSignature-DLIuU8h-.js.map +1 -0
- package/dist/pay-with-exchange-BiRfWQtt.js +603 -0
- package/dist/pay-with-exchange-BiRfWQtt.js.map +1 -0
- package/dist/play-store-CHMgTh6o.js +37 -0
- package/dist/play-store-CHMgTh6o.js.map +1 -0
- package/dist/plus-DAYpNXcX.js +18 -0
- package/dist/plus-DAYpNXcX.js.map +1 -0
- package/dist/property-8UcTqffH.js +623 -0
- package/dist/property-8UcTqffH.js.map +1 -0
- package/dist/qr-code-5EvgAs5C.js +11 -0
- package/dist/qr-code-5EvgAs5C.js.map +1 -0
- package/dist/receive-oh6JkMzT.js +262 -0
- package/dist/receive-oh6JkMzT.js.map +1 -0
- package/dist/recycle-horizontal-C0EVYvdu.js +14 -0
- package/dist/recycle-horizontal-C0EVYvdu.js.map +1 -0
- package/dist/ref-DYqCwuKj.js +43 -0
- package/dist/ref-DYqCwuKj.js.map +1 -0
- package/dist/refresh-Tz7Hx6xG.js +13 -0
- package/dist/refresh-Tz7Hx6xG.js.map +1 -0
- package/dist/reown-logo-DKFEGfm5.js +17 -0
- package/dist/reown-logo-DKFEGfm5.js.map +1 -0
- package/dist/search-DJmD5Dmk.js +13 -0
- package/dist/search-DJmD5Dmk.js.map +1 -0
- package/dist/secp256k1-ZaBTFi_B.js +2031 -0
- package/dist/secp256k1-ZaBTFi_B.js.map +1 -0
- package/dist/send-CkjE5TE2.js +1365 -0
- package/dist/send-CkjE5TE2.js.map +1 -0
- package/dist/send-DcwwYxtP.js +20 -0
- package/dist/send-DcwwYxtP.js.map +1 -0
- package/dist/socials-TnAlgPAE.js +796 -0
- package/dist/socials-TnAlgPAE.js.map +1 -0
- package/dist/swapHorizontal-Zswl5rJe.js +13 -0
- package/dist/swapHorizontal-Zswl5rJe.js.map +1 -0
- package/dist/swapHorizontalBold-NXydKsqQ.js +13 -0
- package/dist/swapHorizontalBold-NXydKsqQ.js.map +1 -0
- package/dist/swapHorizontalMedium-HEMBHJa5.js +21 -0
- package/dist/swapHorizontalMedium-HEMBHJa5.js.map +1 -0
- package/dist/swapHorizontalRoundedBold-fNHd25RU.js +13 -0
- package/dist/swapHorizontalRoundedBold-fNHd25RU.js.map +1 -0
- package/dist/swapVertical-BcCPonRa.js +13 -0
- package/dist/swapVertical-BcCPonRa.js.map +1 -0
- package/dist/swaps-Cz2XSX5K.js +2121 -0
- package/dist/swaps-Cz2XSX5K.js.map +1 -0
- package/dist/telegram-CRGTc0Vs.js +21 -0
- package/dist/telegram-CRGTc0Vs.js.map +1 -0
- package/dist/three-dots-CprpVKTn.js +10 -0
- package/dist/three-dots-CprpVKTn.js.map +1 -0
- package/dist/transactions-ItRrEBwI.js +38 -0
- package/dist/transactions-ItRrEBwI.js.map +1 -0
- package/dist/twitch-vWuHTtgh.js +23 -0
- package/dist/twitch-vWuHTtgh.js.map +1 -0
- package/dist/twitterIcon-Bo4HL4oD.js +11 -0
- package/dist/twitterIcon-Bo4HL4oD.js.map +1 -0
- package/dist/vanilla-CgG5xMJO.js +448 -0
- package/dist/vanilla-CgG5xMJO.js.map +1 -0
- package/dist/verify-PpZz6LN4.js +13 -0
- package/dist/verify-PpZz6LN4.js.map +1 -0
- package/dist/verify-filled-CUpk2g5N.js +13 -0
- package/dist/verify-filled-CUpk2g5N.js.map +1 -0
- package/dist/w3m-modal-BZQIOBsI.js +1725 -0
- package/dist/w3m-modal-BZQIOBsI.js.map +1 -0
- package/dist/w3m-modal-D5sYObzl.js +2008 -0
- package/dist/w3m-modal-D5sYObzl.js.map +1 -0
- package/dist/wallet-Blc0Swur.js +13 -0
- package/dist/wallet-Blc0Swur.js.map +1 -0
- package/dist/wallet-placeholder-DkGnPkjp.js +19 -0
- package/dist/wallet-placeholder-DkGnPkjp.js.map +1 -0
- package/dist/wallet-standard-CDzUhZ2i.js +523 -0
- package/dist/wallet-standard-CDzUhZ2i.js.map +1 -0
- package/dist/walletconnect-CfJMuRWG.js +39 -0
- package/dist/walletconnect-CfJMuRWG.js.map +1 -0
- package/dist/warning-circle-BW2kbw7R.js +17 -0
- package/dist/warning-circle-BW2kbw7R.js.map +1 -0
- package/dist/x-CT_VClTi.js +17 -0
- package/dist/x-CT_VClTi.js.map +1 -0
- package/package.json +10 -10
|
@@ -0,0 +1,967 @@
|
|
|
1
|
+
import { q as i$1, o as i$2, x, a8 as T } from "./appkit-BelUXm_6.js";
|
|
2
|
+
import { n as n$1, e, a as e$1 } from "./class-map-ZEs4CrSH.js";
|
|
3
|
+
import { r as resetStyles, c as colorStyles, e as elementStyles } from "./core-Blm5BnNJ.js";
|
|
4
|
+
import { f, i as i$3 } from "./async-directive-DxJWJE9R.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--c4dzQ5a.js")).addSvg,
|
|
342
|
+
allWallets: async () => (await import("./all-wallets-qDP3dIqp.js")).allWalletsSvg,
|
|
343
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-jzrzTJTi.js")).arrowBottomCircleSvg,
|
|
344
|
+
appStore: async () => (await import("./app-store-D9l7eF2W.js")).appStoreSvg,
|
|
345
|
+
apple: async () => (await import("./apple-CpoWHbAl.js")).appleSvg,
|
|
346
|
+
arrowBottom: async () => (await import("./arrow-bottom-Duw4wyrB.js")).arrowBottomSvg,
|
|
347
|
+
arrowLeft: async () => (await import("./arrow-left-DZ8261mb.js")).arrowLeftSvg,
|
|
348
|
+
arrowRight: async () => (await import("./arrow-right-BkSWH-o2.js")).arrowRightSvg,
|
|
349
|
+
arrowTop: async () => (await import("./arrow-top-CZ-VhKD6.js")).arrowTopSvg,
|
|
350
|
+
bank: async () => (await import("./bank-Dqp8PTLk.js")).bankSvg,
|
|
351
|
+
browser: async () => (await import("./browser-BPO6XEtY.js")).browserSvg,
|
|
352
|
+
card: async () => (await import("./card-V3yaUpoc.js")).cardSvg,
|
|
353
|
+
checkmark: async () => (await import("./checkmark-DSiyB22o.js")).checkmarkSvg,
|
|
354
|
+
checkmarkBold: async () => (await import("./checkmark-bold-Bv7-ZO8v.js")).checkmarkBoldSvg,
|
|
355
|
+
chevronBottom: async () => (await import("./chevron-bottom-B2TGsNMu.js")).chevronBottomSvg,
|
|
356
|
+
chevronLeft: async () => (await import("./chevron-left-Cwx-XOsq.js")).chevronLeftSvg,
|
|
357
|
+
chevronRight: async () => (await import("./chevron-right-BGnzEWju.js")).chevronRightSvg,
|
|
358
|
+
chevronTop: async () => (await import("./chevron-top-C-e2sCE8.js")).chevronTopSvg,
|
|
359
|
+
chromeStore: async () => (await import("./chrome-store-Dk-JjvFO.js")).chromeStoreSvg,
|
|
360
|
+
clock: async () => (await import("./clock-DqVZkTjt.js")).clockSvg,
|
|
361
|
+
close: async () => (await import("./close-iWBWiaHR.js")).closeSvg,
|
|
362
|
+
compass: async () => (await import("./compass-DK4o4OBL.js")).compassSvg,
|
|
363
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-DamDZh25.js")).coinPlaceholderSvg,
|
|
364
|
+
copy: async () => (await import("./copy-eQpimOO_.js")).copySvg,
|
|
365
|
+
cursor: async () => (await import("./cursor-k5vr3_IY.js")).cursorSvg,
|
|
366
|
+
cursorTransparent: async () => (await import("./cursor-transparent-C72dSWkl.js")).cursorTransparentSvg,
|
|
367
|
+
desktop: async () => (await import("./desktop-BKt6U1LK.js")).desktopSvg,
|
|
368
|
+
disconnect: async () => (await import("./disconnect-BN2JhgmS.js")).disconnectSvg,
|
|
369
|
+
discord: async () => (await import("./discord-BPXpxniL.js")).discordSvg,
|
|
370
|
+
etherscan: async () => (await import("./etherscan-DDKRPzA-.js")).etherscanSvg,
|
|
371
|
+
extension: async () => (await import("./extension-Dxcr6kcX.js")).extensionSvg,
|
|
372
|
+
externalLink: async () => (await import("./external-link-CAGwU0J9.js")).externalLinkSvg,
|
|
373
|
+
facebook: async () => (await import("./facebook-CLDxOaIb.js")).facebookSvg,
|
|
374
|
+
farcaster: async () => (await import("./farcaster-Cw3u-UPo.js")).farcasterSvg,
|
|
375
|
+
filters: async () => (await import("./filters-COA9syz-.js")).filtersSvg,
|
|
376
|
+
github: async () => (await import("./github-D7S2v9I4.js")).githubSvg,
|
|
377
|
+
google: async () => (await import("./google-D0CqK5v9.js")).googleSvg,
|
|
378
|
+
helpCircle: async () => (await import("./help-circle-DUNo_nkC.js")).helpCircleSvg,
|
|
379
|
+
image: async () => (await import("./image-B5cNqRyN.js")).imageSvg,
|
|
380
|
+
id: async () => (await import("./id-I68XskJD.js")).idSvg,
|
|
381
|
+
infoCircle: async () => (await import("./info-circle-CtSQ1Thr.js")).infoCircleSvg,
|
|
382
|
+
lightbulb: async () => (await import("./lightbulb-BSt44yHY.js")).lightbulbSvg,
|
|
383
|
+
mail: async () => (await import("./mail-BrPzu8JI.js")).mailSvg,
|
|
384
|
+
mobile: async () => (await import("./mobile-qOQzY1mQ.js")).mobileSvg,
|
|
385
|
+
more: async () => (await import("./more-Q55BhoHR.js")).moreSvg,
|
|
386
|
+
networkPlaceholder: async () => (await import("./network-placeholder-CNNFAqAN.js")).networkPlaceholderSvg,
|
|
387
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-XepUac1F.js")).nftPlaceholderSvg,
|
|
388
|
+
off: async () => (await import("./off-B5pFs_h0.js")).offSvg,
|
|
389
|
+
playStore: async () => (await import("./play-store-CHMgTh6o.js")).playStoreSvg,
|
|
390
|
+
plus: async () => (await import("./plus-DAYpNXcX.js")).plusSvg,
|
|
391
|
+
qrCode: async () => (await import("./qr-code-5EvgAs5C.js")).qrCodeIcon,
|
|
392
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-C0EVYvdu.js")).recycleHorizontalSvg,
|
|
393
|
+
refresh: async () => (await import("./refresh-Tz7Hx6xG.js")).refreshSvg,
|
|
394
|
+
search: async () => (await import("./search-DJmD5Dmk.js")).searchSvg,
|
|
395
|
+
send: async () => (await import("./send-DcwwYxtP.js")).sendSvg,
|
|
396
|
+
swapHorizontal: async () => (await import("./swapHorizontal-Zswl5rJe.js")).swapHorizontalSvg,
|
|
397
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-HEMBHJa5.js")).swapHorizontalMediumSvg,
|
|
398
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-NXydKsqQ.js")).swapHorizontalBoldSvg,
|
|
399
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-fNHd25RU.js")).swapHorizontalRoundedBoldSvg,
|
|
400
|
+
swapVertical: async () => (await import("./swapVertical-BcCPonRa.js")).swapVerticalSvg,
|
|
401
|
+
telegram: async () => (await import("./telegram-CRGTc0Vs.js")).telegramSvg,
|
|
402
|
+
threeDots: async () => (await import("./three-dots-CprpVKTn.js")).threeDotsSvg,
|
|
403
|
+
twitch: async () => (await import("./twitch-vWuHTtgh.js")).twitchSvg,
|
|
404
|
+
twitter: async () => (await import("./x-CT_VClTi.js")).xSvg,
|
|
405
|
+
twitterIcon: async () => (await import("./twitterIcon-Bo4HL4oD.js")).twitterIconSvg,
|
|
406
|
+
verify: async () => (await import("./verify-PpZz6LN4.js")).verifySvg,
|
|
407
|
+
verifyFilled: async () => (await import("./verify-filled-CUpk2g5N.js")).verifyFilledSvg,
|
|
408
|
+
wallet: async () => (await import("./wallet-Blc0Swur.js")).walletSvg,
|
|
409
|
+
walletConnect: async () => (await import("./walletconnect-CfJMuRWG.js")).walletConnectSvg,
|
|
410
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-CfJMuRWG.js")).walletConnectLightBrownSvg,
|
|
411
|
+
walletConnectBrown: async () => (await import("./walletconnect-CfJMuRWG.js")).walletConnectBrownSvg,
|
|
412
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-DkGnPkjp.js")).walletPlaceholderSvg,
|
|
413
|
+
warningCircle: async () => (await import("./warning-circle-BW2kbw7R.js")).warningCircleSvg,
|
|
414
|
+
x: async () => (await import("./x-CT_VClTi.js")).xSvg,
|
|
415
|
+
info: async () => (await import("./info-2WDwQZjB.js")).infoSvg,
|
|
416
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-D-8fgdY1.js")).exclamationTriangleSvg,
|
|
417
|
+
reown: async () => (await import("./reown-logo-DKFEGfm5.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-C26sVife.js.map
|