@dodoex/widgets 3.0.1-solana.5 → 3.0.1-taiko.10
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/assets/bundle-DSSoJu9z.css +297 -0
- package/dist/cjs/locales/en-US.js +1 -1
- package/dist/cjs/locales/zh-CN.js +1 -1
- package/dist/{helper-Darn0QJb.js → helper-BlT6kZC3.js} +1 -1
- package/dist/{helper-B57dDnaI.cjs → helper-D7ankZFX.cjs} +1 -1
- package/dist/{index-DIDEQvpO.cjs → index-0FfWpfdq.cjs} +5 -5
- package/dist/index-5bb3Lo5e.js +31 -0
- package/dist/{index-A6qmUreY.cjs → index-B8WJZC7h.cjs} +2 -2
- package/dist/index-BylHuMIA.cjs +31 -0
- package/dist/{index-Bchn6BWj.js → index-CSVHxU84.js} +2 -2
- package/dist/index-CVrAZE-L.js +78 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/types/components/SpaceBetweenItem.d.ts +5 -0
- package/dist/types/components/Swap/components/ReviewDialog.d.ts +1 -1
- package/dist/types/components/Swap/components/SwitchBox.d.ts +3 -2
- package/dist/types/components/TokenLogo.d.ts +1 -1
- package/dist/types/components/TokenPairStatusButton.d.ts +6 -0
- package/dist/types/components/TokenSelect.d.ts +21 -0
- package/dist/types/components/Widget/index.d.ts +4 -6
- package/dist/types/constants/pool.d.ts +1 -0
- package/dist/types/constants/testId.d.ts +1 -0
- package/dist/types/constants/wallet.d.ts +1 -9
- package/dist/types/hooks/ConnectWallet/useCurrentChainId.d.ts +1 -1
- package/dist/types/hooks/ConnectWallet/useWalletInfo.d.ts +4 -4
- package/dist/types/hooks/Submission/types.d.ts +7 -24
- package/dist/types/hooks/Swap/useFetchRoutePrice.d.ts +1 -8
- package/dist/types/hooks/Token/useTokenStatus.d.ts +1 -0
- package/dist/types/hooks/contract/useFetchETHBalance.d.ts +2 -93
- package/dist/types/hooks/contract/useFetchTokens.d.ts +2 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/providers/useInitContractRequest.d.ts +1 -0
- package/dist/types/router/types.d.ts +9 -1
- package/dist/types/utils/address.d.ts +9 -0
- package/dist/types/widgets/MiningWidget/OperateArea/index.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/helper.d.ts +2 -2
- package/dist/types/widgets/MiningWidget/hooks/useReviewRewardToken.d.ts +2 -2
- package/dist/types/widgets/MiningWidget/hooks/useRewardListAmount.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV2Create/ConfirmDialog.d.ts +18 -0
- package/dist/types/widgets/PoolWidget/AMMV2Create/CreateItem.d.ts +5 -0
- package/dist/types/widgets/PoolWidget/AMMV2Create/FeeEdit.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV2Create/MyLiqidity.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV2Create/Ratio.d.ts +18 -0
- package/dist/types/widgets/PoolWidget/AMMV2Create/Setting.d.ts +16 -0
- package/dist/types/widgets/PoolWidget/AMMV2Create/index.d.ts +1 -0
- package/dist/types/widgets/PoolWidget/AMMV3/AMMV3PositionManage.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/AMMV3/AMMV3PositionsView.d.ts +16 -0
- package/dist/types/widgets/PoolWidget/AMMV3/AddLiquidityV3.d.ts +9 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/Badge/AMMV3.d.ts +5 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/Badge/RangeBadge.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/Buttons.d.ts +18 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/ClaimButton.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/CurrencyInputPanel.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/FeeSelector.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/InRangeDot.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/InputStepCounter.d.ts +18 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Area.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/AxisBottom.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Brush.d.ts +13 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Chart.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Line.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Zoom.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/hooks.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/index.d.ts +17 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/svg.d.ts +22 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/types.d.ts +50 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/usePrevious.d.ts +1 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/utils.d.ts +14 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionAmountPreview.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionPreview.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionSelectedRangePreview.d.ts +11 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionViewCard.d.ts +17 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/RangeSelector.d.ts +21 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/RateToggle.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/RemoveButton.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/ReviewModal.d.ts +21 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/TokenPairSelect.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/shared.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/components/widgets.d.ts +55 -0
- package/dist/types/widgets/PoolWidget/AMMV3/constants/misc.d.ts +17 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useContract.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useDerivedPositionInfo.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useDerivedV3BurnInfo.d.ts +20 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useIsTickAtLimit.d.ts +5 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/usePoolTickData.d.ts +20 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/usePools.d.ts +22 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useRangeHopCallbacks.d.ts +15 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useSwapTaxes.d.ts +5 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useV3DerivedMintInfo.d.ts +46 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useV3MintActionHandlers.d.ts +11 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useV3PositionFees.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/useV3Positions.d.ts +13 -0
- package/dist/types/widgets/PoolWidget/AMMV3/reducer.d.ts +55 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/addresses.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/chains.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/constants.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/baseCurrency.d.ts +49 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/currency.d.ts +3 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/fractions/currencyAmount.d.ts +32 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/fractions/fraction.d.ts +24 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/fractions/index.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/fractions/percent.d.ts +14 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/fractions/price.d.ts +38 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/index.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/nativeCurrency.d.ts +16 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/nativeCurrencyClass.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/entities/token.d.ts +48 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/index.d.ts +5 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/utils/computePriceImpact.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/utils/index.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/utils/sortedInsert.d.ts +1 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/utils/sqrt.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/utils/validateAndParseAddress.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/constants.d.ts +23 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/index.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/pool.d.ts +81 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/position.d.ts +131 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/route.d.ts +26 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/tick.d.ts +13 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/tickDataProvider.d.ts +31 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/tickListDataProvider.d.ts +15 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/entities/trade.d.ts +220 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/index.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/internalConstants.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/multicall.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/nonfungiblePositionManager.d.ts +159 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/payments.d.ts +24 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/quoter.d.ts +37 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/selfPermit.d.ts +25 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/staker.d.ts +101 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/swapRouter.d.ts +51 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/calldata.d.ts +20 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/computePoolAddress.d.ts +21 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/encodeRouteToPath.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/encodeSqrtRatioX96.d.ts +9 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/fullMath.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/index.d.ts +18 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/isSorted.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/liquidityMath.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/maxLiquidityForAmounts.d.ts +14 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/mostSignificantBit.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/nearestUsableTick.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/position.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/priceTickConversions.d.ts +15 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/sqrtPriceMath.d.ts +13 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/swapMath.d.ts +9 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/tickLibrary.d.ts +14 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/tickList.d.ts +23 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/tickMath.d.ts +34 -0
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/v3-sdk/utils/v3swap.d.ts +8 -0
- package/dist/types/widgets/PoolWidget/AMMV3/types/position.d.ts +20 -0
- package/dist/types/widgets/PoolWidget/AMMV3/types.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/computeSurroundingTicks.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/formatTickPrice.d.ts +9 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/getTickToPrice.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/maxAmountSpend.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/slippage.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/tryParseCurrencyAmount.d.ts +6 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils/tryParseTick.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/AMMV3/utils.d.ts +9 -0
- package/dist/types/widgets/PoolWidget/PoolList/components/GoPoolDetailBtn.d.ts +4 -0
- package/dist/types/widgets/PoolWidget/PoolList/components/OnlyV3Toggle.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/PoolOperate/components/Ratio.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/SlippageSetting.d.ts +6 -2
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useLiquidityOperateAmount.d.ts +22 -16
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useRemoveLiquidityTokenStatus.d.ts +2 -0
- package/dist/types/widgets/PoolWidget/PoolOperate/types.d.ts +4 -1
- package/dist/types/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/hooks/useAMMV2Balance.d.ts +13 -0
- package/dist/types/widgets/PoolWidget/hooks/useAMMV2RemoveLiquidity.d.ts +11 -0
- package/dist/types/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +9 -9
- package/dist/types/widgets/PoolWidget/hooks/useUniV2CreatePairs.d.ts +18 -0
- package/dist/types/widgets/PoolWidget/hooks/useUniV2Pairs.d.ts +27 -0
- package/dist/types/widgets/PoolWidget/index.d.ts +3 -0
- package/dist/types/widgets/PoolWidget/utils.d.ts +8 -6
- package/package.json +11 -12
- package/dist/assets/bundle-007ZFocI.css +0 -593
- package/dist/index-BC99bNlf.cjs +0 -31
- package/dist/index-BwlM86Tc.js +0 -78
- package/dist/index-CRfoDSZE.js +0 -31
- package/dist/types/constants/solana.d.ts +0 -1
- package/dist/types/contract/solana/helper.d.ts +0 -12
- package/dist/types/contract/solana/transaction.d.ts +0 -3
- package/dist/types/hooks/solana/useFetchSolanaRoutePrice.d.ts +0 -16
- package/dist/types/hooks/solana/useSolanaConnection.d.ts +0 -22
- package/dist/types/hooks/solana/useSolanaProgram.d.ts +0 -2
- package/dist/types/hooks/solana/useSolanaStablePoolProgram.d.ts +0 -1
- package/dist/types/hooks/solana/useSolanaWallet.d.ts +0 -1
- package/dist/types/providers/SolanaReactProvider.d.ts +0 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChainId } from '@dodoex/api';
|
|
1
|
+
import { AMMV3Api, ChainId, ExcludeNone, PoolApi, PoolType } from '@dodoex/api';
|
|
3
2
|
import { TokenInfo } from '../../hooks/Token';
|
|
4
3
|
import { OperatePool } from './PoolOperate/types';
|
|
5
4
|
export declare const poolApi: PoolApi;
|
|
6
|
-
export
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
5
|
+
export declare const ammV3Api: AMMV3Api;
|
|
6
|
+
export type FetchLiquidityListLqList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchLiquidityList)['__apiType'], undefined>>['liquidity_list']>['lqList'];
|
|
7
|
+
export type FetchMyLiquidityListLqList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchMyLiquidityList)['__apiType'], undefined>>['liquidity_list']>['lqList'];
|
|
8
|
+
export type FetchMyCreateListLqList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchDashboardPairList)['__apiType'], undefined>>['dashboard_pairs_list']>['list'];
|
|
9
|
+
export type FetchPoolList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchPoolList)['__apiType'], undefined>>['pairs']>;
|
|
10
10
|
export declare function convertLiquidityTokenToTokenInfo(token: {
|
|
11
11
|
id: string;
|
|
12
12
|
symbol: string;
|
|
@@ -15,4 +15,6 @@ export declare function convertLiquidityTokenToTokenInfo(token: {
|
|
|
15
15
|
logoImg?: string | null;
|
|
16
16
|
} | undefined, chainId: ChainId | number): TokenInfo | undefined;
|
|
17
17
|
export declare function convertFetchLiquidityToOperateData(lqData: ExcludeNone<FetchLiquidityListLqList>[0]): OperatePool;
|
|
18
|
+
export declare function convertFetchMyLiquidityToOperateData(lqData: ExcludeNone<FetchMyLiquidityListLqList>[0]): OperatePool;
|
|
18
19
|
export declare function convertFetchPoolToOperateData(pool: FetchPoolList[0], chainId: number): OperatePool;
|
|
20
|
+
export declare function getPoolAMMOrPMM(type: PoolType): "AMM V2" | "AMM V3" | "PMM";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dodoex/widgets",
|
|
3
|
-
"version": "3.0.1-
|
|
3
|
+
"version": "3.0.1-taiko.10",
|
|
4
4
|
"description": "DODO Widgets",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -58,9 +58,10 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@babel/runtime": "^7.17.0",
|
|
61
|
-
"@
|
|
62
|
-
"@dodoex/
|
|
63
|
-
"@dodoex/
|
|
61
|
+
"@dodoex/api": "3.0.1-taiko.6",
|
|
62
|
+
"@dodoex/components": "3.0.1-taiko.3",
|
|
63
|
+
"@dodoex/contract-request": "^1.2.0",
|
|
64
|
+
"@dodoex/dodo-contract-request": "1.6.0-alpha.4",
|
|
64
65
|
"@dodoex/icons": "^2.0.2",
|
|
65
66
|
"@emotion/react": "^11.10.0",
|
|
66
67
|
"@emotion/styled": "^11.10.0",
|
|
@@ -72,14 +73,9 @@
|
|
|
72
73
|
"@reduxjs/toolkit": "^1.6.1",
|
|
73
74
|
"@semantic-release/changelog": "^6.0.1",
|
|
74
75
|
"@semantic-release/git": "^10.0.1",
|
|
75
|
-
"@solana/react": "^2.0.0",
|
|
76
|
-
"@solana/spl-token": "^0.4.9",
|
|
77
|
-
"@solana/wallet-adapter-base": "^0.9.23",
|
|
78
|
-
"@solana/wallet-adapter-react": "^0.15.35",
|
|
79
|
-
"@solana/wallet-adapter-react-ui": "^0.9.35",
|
|
80
|
-
"@solana/wallet-adapter-wallets": "^0.19.32",
|
|
81
|
-
"@solana/web3.js": "^1.95.5",
|
|
82
76
|
"@tanstack/react-query": "^5.18.1",
|
|
77
|
+
"@uniswap/sdk-core": "^5.9.0",
|
|
78
|
+
"@uniswap/v2-sdk": "^4.6.2",
|
|
83
79
|
"@web3-react/core": "8.2.0",
|
|
84
80
|
"@web3-react/eip1193": "8.2.0",
|
|
85
81
|
"@web3-react/metamask": "8.2.1",
|
|
@@ -87,8 +83,10 @@
|
|
|
87
83
|
"@web3-react/walletconnect-v2": "8.3.6",
|
|
88
84
|
"axios": "^0.27.2",
|
|
89
85
|
"bignumber.js": "^9.0.2",
|
|
86
|
+
"d3": "7.6.1",
|
|
90
87
|
"dayjs": "^1.11.11",
|
|
91
88
|
"identicon.js": "^2.3.3",
|
|
89
|
+
"jsbi": "^3.1.4",
|
|
92
90
|
"konva": "^9.3.6",
|
|
93
91
|
"lodash": "^4.17.21",
|
|
94
92
|
"make-plural": "^7.0.0",
|
|
@@ -102,6 +100,7 @@
|
|
|
102
100
|
"recharts": "^2.12.7",
|
|
103
101
|
"rmc-date-picker": "^6.0.10",
|
|
104
102
|
"semantic-release": "^19.0.2",
|
|
103
|
+
"tiny-invariant": "^1.1.0",
|
|
105
104
|
"zustand": "^4.5.5"
|
|
106
105
|
},
|
|
107
106
|
"peerDependencies": {
|
|
@@ -131,13 +130,13 @@
|
|
|
131
130
|
"@testing-library/jest-dom": "^5.16.5",
|
|
132
131
|
"@testing-library/react": "^13.4.0",
|
|
133
132
|
"@testing-library/react-hooks": "^8.0.1",
|
|
133
|
+
"@types/d3": "7.4.3",
|
|
134
134
|
"@types/identicon.js": "^2.3.1",
|
|
135
135
|
"@types/jest": "^29.0.3",
|
|
136
136
|
"@types/lodash": "^4.14.184",
|
|
137
137
|
"@types/react-infinite-scroller": "^1.2.5",
|
|
138
138
|
"@types/react-transition-group": "^4.4.11",
|
|
139
139
|
"@types/react-window": "^1.8.5",
|
|
140
|
-
"@uniswap/sdk-core": "^3.0.2",
|
|
141
140
|
"babel-plugin-macros": "^3.1.0",
|
|
142
141
|
"babel-runtime": "^6.26.0",
|
|
143
142
|
"dotenv": "^16.0.2",
|
|
@@ -1,593 +0,0 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
|
|
2
|
-
|
|
3
|
-
.wallet-adapter-button {
|
|
4
|
-
background-color: transparent;
|
|
5
|
-
border: none;
|
|
6
|
-
color: #fff;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
11
|
-
font-size: 16px;
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
height: 48px;
|
|
14
|
-
line-height: 48px;
|
|
15
|
-
padding: 0 24px;
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.wallet-adapter-button-trigger {
|
|
20
|
-
background-color: #512da8;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.wallet-adapter-button:not([disabled]):focus-visible {
|
|
24
|
-
outline-color: white;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.wallet-adapter-button:not([disabled]):hover {
|
|
28
|
-
background-color: #1a1f2e;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.wallet-adapter-button[disabled] {
|
|
32
|
-
background: #404144;
|
|
33
|
-
color: #999;
|
|
34
|
-
cursor: not-allowed;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.wallet-adapter-button-end-icon,
|
|
38
|
-
.wallet-adapter-button-start-icon,
|
|
39
|
-
.wallet-adapter-button-end-icon img,
|
|
40
|
-
.wallet-adapter-button-start-icon img {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
width: 24px;
|
|
45
|
-
height: 24px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.wallet-adapter-button-end-icon {
|
|
49
|
-
margin-left: 12px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.wallet-adapter-button-start-icon {
|
|
53
|
-
margin-right: 12px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.wallet-adapter-collapse {
|
|
57
|
-
width: 100%;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.wallet-adapter-dropdown {
|
|
61
|
-
position: relative;
|
|
62
|
-
display: inline-block;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.wallet-adapter-dropdown-list {
|
|
66
|
-
position: absolute;
|
|
67
|
-
z-index: 99;
|
|
68
|
-
display: grid;
|
|
69
|
-
grid-template-rows: 1fr;
|
|
70
|
-
grid-row-gap: 10px;
|
|
71
|
-
padding: 10px;
|
|
72
|
-
top: 100%;
|
|
73
|
-
right: 0;
|
|
74
|
-
margin: 0;
|
|
75
|
-
list-style: none;
|
|
76
|
-
background: #2c2d30;
|
|
77
|
-
border-radius: 10px;
|
|
78
|
-
box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
|
|
79
|
-
opacity: 0;
|
|
80
|
-
visibility: hidden;
|
|
81
|
-
transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
|
|
82
|
-
font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.wallet-adapter-dropdown-list-active {
|
|
86
|
-
opacity: 1;
|
|
87
|
-
visibility: visible;
|
|
88
|
-
transform: translateY(10px);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.wallet-adapter-dropdown-list-item {
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: row;
|
|
94
|
-
justify-content: center;
|
|
95
|
-
align-items: center;
|
|
96
|
-
border: none;
|
|
97
|
-
outline: none;
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
white-space: nowrap;
|
|
100
|
-
box-sizing: border-box;
|
|
101
|
-
padding: 0 20px;
|
|
102
|
-
width: 100%;
|
|
103
|
-
border-radius: 6px;
|
|
104
|
-
font-size: 14px;
|
|
105
|
-
font-weight: 600;
|
|
106
|
-
height: 37px;
|
|
107
|
-
color: #fff;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.wallet-adapter-dropdown-list-item:not([disabled]):hover {
|
|
111
|
-
background-color: #1a1f2e;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.wallet-adapter-modal-collapse-button svg {
|
|
115
|
-
align-self: center;
|
|
116
|
-
fill: #999;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.wallet-adapter-modal-collapse-button.wallet-adapter-modal-collapse-button-active svg {
|
|
120
|
-
transform: rotate(180deg);
|
|
121
|
-
transition: transform ease-in 150ms;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.wallet-adapter-modal {
|
|
125
|
-
position: fixed;
|
|
126
|
-
top: 0;
|
|
127
|
-
left: 0;
|
|
128
|
-
right: 0;
|
|
129
|
-
bottom: 0;
|
|
130
|
-
opacity: 0;
|
|
131
|
-
transition: opacity linear 150ms;
|
|
132
|
-
background: rgba(0, 0, 0, 0.5);
|
|
133
|
-
z-index: 1040;
|
|
134
|
-
overflow-y: auto;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.wallet-adapter-modal.wallet-adapter-modal-fade-in {
|
|
138
|
-
opacity: 1;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.wallet-adapter-modal-button-close {
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
justify-content: center;
|
|
145
|
-
position: absolute;
|
|
146
|
-
top: 18px;
|
|
147
|
-
right: 18px;
|
|
148
|
-
padding: 12px;
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
background: #1a1f2e;
|
|
151
|
-
border: none;
|
|
152
|
-
border-radius: 50%;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.wallet-adapter-modal-button-close:focus-visible {
|
|
156
|
-
outline-color: white;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.wallet-adapter-modal-button-close svg {
|
|
160
|
-
fill: #777;
|
|
161
|
-
transition: fill 200ms ease 0s;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.wallet-adapter-modal-button-close:hover svg {
|
|
165
|
-
fill: #fff;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.wallet-adapter-modal-overlay {
|
|
169
|
-
background: rgba(0, 0, 0, 0.5);
|
|
170
|
-
position: fixed;
|
|
171
|
-
top: 0;
|
|
172
|
-
left: 0;
|
|
173
|
-
bottom: 0;
|
|
174
|
-
right: 0;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.wallet-adapter-modal-container {
|
|
178
|
-
display: flex;
|
|
179
|
-
margin: 3rem;
|
|
180
|
-
min-height: calc(100vh - 6rem); /* 100vh - 2 * margin */
|
|
181
|
-
align-items: center;
|
|
182
|
-
justify-content: center;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@media (max-width: 480px) {
|
|
186
|
-
.wallet-adapter-modal-container {
|
|
187
|
-
margin: 1rem;
|
|
188
|
-
min-height: calc(100vh - 2rem); /* 100vh - 2 * margin */
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.wallet-adapter-modal-wrapper {
|
|
193
|
-
box-sizing: border-box;
|
|
194
|
-
position: relative;
|
|
195
|
-
display: flex;
|
|
196
|
-
align-items: center;
|
|
197
|
-
flex-direction: column;
|
|
198
|
-
z-index: 1050;
|
|
199
|
-
max-width: 400px;
|
|
200
|
-
border-radius: 10px;
|
|
201
|
-
background: #10141f;
|
|
202
|
-
box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
|
|
203
|
-
font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
204
|
-
flex: 1;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.wallet-adapter-modal-wrapper .wallet-adapter-button {
|
|
208
|
-
width: 100%;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.wallet-adapter-modal-title {
|
|
212
|
-
font-weight: 500;
|
|
213
|
-
font-size: 24px;
|
|
214
|
-
line-height: 36px;
|
|
215
|
-
margin: 0;
|
|
216
|
-
padding: 64px 48px 48px 48px;
|
|
217
|
-
text-align: center;
|
|
218
|
-
color: #fff;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@media (max-width: 374px) {
|
|
222
|
-
.wallet-adapter-modal-title {
|
|
223
|
-
font-size: 18px;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.wallet-adapter-modal-list {
|
|
228
|
-
margin: 0 0 12px 0;
|
|
229
|
-
padding: 0;
|
|
230
|
-
width: 100%;
|
|
231
|
-
list-style: none;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.wallet-adapter-modal-list .wallet-adapter-button {
|
|
235
|
-
font-weight: 400;
|
|
236
|
-
border-radius: 0;
|
|
237
|
-
font-size: 18px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.wallet-adapter-modal-list .wallet-adapter-button-end-icon,
|
|
241
|
-
.wallet-adapter-modal-list .wallet-adapter-button-start-icon,
|
|
242
|
-
.wallet-adapter-modal-list .wallet-adapter-button-end-icon img,
|
|
243
|
-
.wallet-adapter-modal-list .wallet-adapter-button-start-icon img {
|
|
244
|
-
width: 28px;
|
|
245
|
-
height: 28px;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.wallet-adapter-modal-list .wallet-adapter-button span {
|
|
249
|
-
margin-left: auto;
|
|
250
|
-
font-size: 14px;
|
|
251
|
-
opacity: .6;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.wallet-adapter-modal-list-more {
|
|
255
|
-
cursor: pointer;
|
|
256
|
-
border: none;
|
|
257
|
-
padding: 12px 24px 24px 12px;
|
|
258
|
-
align-self: flex-end;
|
|
259
|
-
display: flex;
|
|
260
|
-
align-items: center;
|
|
261
|
-
background-color: transparent;
|
|
262
|
-
color: #fff;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.wallet-adapter-modal-list-more svg {
|
|
266
|
-
transition: all 0.1s ease;
|
|
267
|
-
fill: rgba(255, 255, 255, 1);
|
|
268
|
-
margin-left: 0.5rem;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.wallet-adapter-modal-list-more-icon-rotate {
|
|
272
|
-
transform: rotate(180deg);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.wallet-adapter-modal-middle {
|
|
276
|
-
width: 100%;
|
|
277
|
-
display: flex;
|
|
278
|
-
flex-direction: column;
|
|
279
|
-
align-items: center;
|
|
280
|
-
padding: 0 24px 24px 24px;
|
|
281
|
-
box-sizing: border-box;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.wallet-adapter-modal-middle-button {
|
|
285
|
-
display: block;
|
|
286
|
-
cursor: pointer;
|
|
287
|
-
margin-top: 48px;
|
|
288
|
-
width: 100%;
|
|
289
|
-
background-color: #512da8;
|
|
290
|
-
padding: 12px;
|
|
291
|
-
font-size: 18px;
|
|
292
|
-
border: none;
|
|
293
|
-
border-radius: 8px;
|
|
294
|
-
color: #fff;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.rmc-date-picker {
|
|
298
|
-
display: -ms-flexbox;
|
|
299
|
-
display: flex;
|
|
300
|
-
-ms-flex-align: center;
|
|
301
|
-
align-items: center;
|
|
302
|
-
padding: 10px 0;
|
|
303
|
-
}
|
|
304
|
-
.rmc-date-picker-item {
|
|
305
|
-
-ms-flex: 1;
|
|
306
|
-
flex: 1;
|
|
307
|
-
text-align: center;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.rmc-picker,
|
|
311
|
-
.rmc-multi-picker {
|
|
312
|
-
height: 238px;
|
|
313
|
-
/*34*7*/
|
|
314
|
-
}
|
|
315
|
-
.rmc-multi-picker {
|
|
316
|
-
display: -webkit-box;
|
|
317
|
-
display: flex;
|
|
318
|
-
-webkit-box-align: center;
|
|
319
|
-
align-items: center;
|
|
320
|
-
}
|
|
321
|
-
.rmc-picker-item {
|
|
322
|
-
font-size: 16px;
|
|
323
|
-
height: 34px;
|
|
324
|
-
line-height: 34px;
|
|
325
|
-
padding: 0 10px;
|
|
326
|
-
white-space: nowrap;
|
|
327
|
-
position: relative;
|
|
328
|
-
overflow: hidden;
|
|
329
|
-
text-overflow: ellipsis;
|
|
330
|
-
color: #9b9b9b;
|
|
331
|
-
width: 100%;
|
|
332
|
-
box-sizing: border-box;
|
|
333
|
-
}
|
|
334
|
-
.rmc-picker {
|
|
335
|
-
display: block;
|
|
336
|
-
position: relative;
|
|
337
|
-
overflow: hidden;
|
|
338
|
-
width: 100%;
|
|
339
|
-
-webkit-box-flex: 1;
|
|
340
|
-
flex: 1;
|
|
341
|
-
text-align: center;
|
|
342
|
-
}
|
|
343
|
-
.rmc-picker-mask {
|
|
344
|
-
position: absolute;
|
|
345
|
-
left: 0;
|
|
346
|
-
top: 0;
|
|
347
|
-
height: 100%;
|
|
348
|
-
margin: 0 auto;
|
|
349
|
-
width: 100%;
|
|
350
|
-
z-index: 3;
|
|
351
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6))), -webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));
|
|
352
|
-
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)), linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
|
|
353
|
-
background-position: top, bottom;
|
|
354
|
-
background-size: 100% 204px;
|
|
355
|
-
background-repeat: no-repeat;
|
|
356
|
-
}
|
|
357
|
-
.rmc-picker-content {
|
|
358
|
-
position: absolute;
|
|
359
|
-
left: 0;
|
|
360
|
-
top: 0;
|
|
361
|
-
width: 100%;
|
|
362
|
-
z-index: 1;
|
|
363
|
-
}
|
|
364
|
-
.rmc-picker-indicator {
|
|
365
|
-
box-sizing: border-box;
|
|
366
|
-
width: 100%;
|
|
367
|
-
height: 34px;
|
|
368
|
-
position: absolute;
|
|
369
|
-
left: 0;
|
|
370
|
-
top: 102px;
|
|
371
|
-
z-index: 3;
|
|
372
|
-
border-top: 1PX solid #ddd;
|
|
373
|
-
border-bottom: 1PX solid #ddd;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/*!
|
|
377
|
-
* https://github.com/arqex/react-datetime
|
|
378
|
-
*/
|
|
379
|
-
|
|
380
|
-
.rdt {
|
|
381
|
-
position: relative;
|
|
382
|
-
}
|
|
383
|
-
.rdtPicker {
|
|
384
|
-
display: none;
|
|
385
|
-
position: absolute;
|
|
386
|
-
min-width: 250px;
|
|
387
|
-
padding: 4px;
|
|
388
|
-
margin-top: 1px;
|
|
389
|
-
z-index: 99999 !important;
|
|
390
|
-
background: #fff;
|
|
391
|
-
box-shadow: 0 1px 3px rgba(0,0,0,.1);
|
|
392
|
-
border: 1px solid #f9f9f9;
|
|
393
|
-
}
|
|
394
|
-
.rdtOpen .rdtPicker {
|
|
395
|
-
display: block;
|
|
396
|
-
}
|
|
397
|
-
.rdtStatic .rdtPicker {
|
|
398
|
-
box-shadow: none;
|
|
399
|
-
position: static;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.rdtPicker .rdtTimeToggle {
|
|
403
|
-
text-align: center;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.rdtPicker table {
|
|
407
|
-
width: 100%;
|
|
408
|
-
margin: 0;
|
|
409
|
-
}
|
|
410
|
-
.rdtPicker td,
|
|
411
|
-
.rdtPicker th {
|
|
412
|
-
text-align: center;
|
|
413
|
-
height: 28px;
|
|
414
|
-
}
|
|
415
|
-
.rdtPicker td {
|
|
416
|
-
cursor: pointer;
|
|
417
|
-
}
|
|
418
|
-
.rdtPicker td.rdtDay:hover,
|
|
419
|
-
.rdtPicker td.rdtHour:hover,
|
|
420
|
-
.rdtPicker td.rdtMinute:hover,
|
|
421
|
-
.rdtPicker td.rdtSecond:hover,
|
|
422
|
-
.rdtPicker .rdtTimeToggle:hover {
|
|
423
|
-
background: #eeeeee;
|
|
424
|
-
cursor: pointer;
|
|
425
|
-
}
|
|
426
|
-
.rdtPicker td.rdtOld,
|
|
427
|
-
.rdtPicker td.rdtNew {
|
|
428
|
-
color: #999999;
|
|
429
|
-
}
|
|
430
|
-
.rdtPicker td.rdtToday {
|
|
431
|
-
position: relative;
|
|
432
|
-
}
|
|
433
|
-
.rdtPicker td.rdtToday:before {
|
|
434
|
-
content: '';
|
|
435
|
-
display: inline-block;
|
|
436
|
-
border-left: 7px solid transparent;
|
|
437
|
-
border-bottom: 7px solid #428bca;
|
|
438
|
-
border-top-color: rgba(0, 0, 0, 0.2);
|
|
439
|
-
position: absolute;
|
|
440
|
-
bottom: 4px;
|
|
441
|
-
right: 4px;
|
|
442
|
-
}
|
|
443
|
-
.rdtPicker td.rdtActive,
|
|
444
|
-
.rdtPicker td.rdtActive:hover {
|
|
445
|
-
background-color: #428bca;
|
|
446
|
-
color: #fff;
|
|
447
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
448
|
-
}
|
|
449
|
-
.rdtPicker td.rdtActive.rdtToday:before {
|
|
450
|
-
border-bottom-color: #fff;
|
|
451
|
-
}
|
|
452
|
-
.rdtPicker td.rdtDisabled,
|
|
453
|
-
.rdtPicker td.rdtDisabled:hover {
|
|
454
|
-
background: none;
|
|
455
|
-
color: #999999;
|
|
456
|
-
cursor: not-allowed;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.rdtPicker td span.rdtOld {
|
|
460
|
-
color: #999999;
|
|
461
|
-
}
|
|
462
|
-
.rdtPicker td span.rdtDisabled,
|
|
463
|
-
.rdtPicker td span.rdtDisabled:hover {
|
|
464
|
-
background: none;
|
|
465
|
-
color: #999999;
|
|
466
|
-
cursor: not-allowed;
|
|
467
|
-
}
|
|
468
|
-
.rdtPicker th {
|
|
469
|
-
border-bottom: 1px solid #f9f9f9;
|
|
470
|
-
}
|
|
471
|
-
.rdtPicker .dow {
|
|
472
|
-
width: 14.2857%;
|
|
473
|
-
border-bottom: none;
|
|
474
|
-
cursor: default;
|
|
475
|
-
}
|
|
476
|
-
.rdtPicker th.rdtSwitch {
|
|
477
|
-
width: 100px;
|
|
478
|
-
}
|
|
479
|
-
.rdtPicker th.rdtNext,
|
|
480
|
-
.rdtPicker th.rdtPrev {
|
|
481
|
-
font-size: 21px;
|
|
482
|
-
vertical-align: top;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.rdtPrev span,
|
|
486
|
-
.rdtNext span {
|
|
487
|
-
display: block;
|
|
488
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
489
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
490
|
-
-khtml-user-select: none; /* Konqueror */
|
|
491
|
-
-moz-user-select: none; /* Firefox */
|
|
492
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
493
|
-
user-select: none;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.rdtPicker th.rdtDisabled,
|
|
497
|
-
.rdtPicker th.rdtDisabled:hover {
|
|
498
|
-
background: none;
|
|
499
|
-
color: #999999;
|
|
500
|
-
cursor: not-allowed;
|
|
501
|
-
}
|
|
502
|
-
.rdtPicker thead tr:first-of-type th {
|
|
503
|
-
cursor: pointer;
|
|
504
|
-
}
|
|
505
|
-
.rdtPicker thead tr:first-of-type th:hover {
|
|
506
|
-
background: #eeeeee;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
.rdtPicker tfoot {
|
|
510
|
-
border-top: 1px solid #f9f9f9;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.rdtPicker button {
|
|
514
|
-
border: none;
|
|
515
|
-
background: none;
|
|
516
|
-
cursor: pointer;
|
|
517
|
-
}
|
|
518
|
-
.rdtPicker button:hover {
|
|
519
|
-
background-color: #eee;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
.rdtPicker thead button {
|
|
523
|
-
width: 100%;
|
|
524
|
-
height: 100%;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
td.rdtMonth,
|
|
528
|
-
td.rdtYear {
|
|
529
|
-
height: 50px;
|
|
530
|
-
width: 25%;
|
|
531
|
-
cursor: pointer;
|
|
532
|
-
}
|
|
533
|
-
td.rdtMonth:hover,
|
|
534
|
-
td.rdtYear:hover {
|
|
535
|
-
background: #eee;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.rdtCounters {
|
|
539
|
-
display: inline-block;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.rdtCounters > div {
|
|
543
|
-
float: left;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.rdtCounter {
|
|
547
|
-
height: 100px;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.rdtCounter {
|
|
551
|
-
width: 40px;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.rdtCounterSeparator {
|
|
555
|
-
line-height: 100px;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.rdtCounter .rdtBtn {
|
|
559
|
-
height: 40%;
|
|
560
|
-
line-height: 40px;
|
|
561
|
-
cursor: pointer;
|
|
562
|
-
display: block;
|
|
563
|
-
|
|
564
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
565
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
566
|
-
-khtml-user-select: none; /* Konqueror */
|
|
567
|
-
-moz-user-select: none; /* Firefox */
|
|
568
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
569
|
-
user-select: none;
|
|
570
|
-
}
|
|
571
|
-
.rdtCounter .rdtBtn:hover {
|
|
572
|
-
background: #eee;
|
|
573
|
-
}
|
|
574
|
-
.rdtCounter .rdtCount {
|
|
575
|
-
height: 20%;
|
|
576
|
-
font-size: 1.2em;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.rdtMilli {
|
|
580
|
-
vertical-align: middle;
|
|
581
|
-
padding-left: 8px;
|
|
582
|
-
width: 48px;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.rdtMilli input {
|
|
586
|
-
width: 100%;
|
|
587
|
-
font-size: 1.2em;
|
|
588
|
-
margin-top: 37px;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
.rdtTime td {
|
|
592
|
-
cursor: default;
|
|
593
|
-
}
|