@dodoex/widgets 3.0.0 → 3.0.1-solana.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/bundle-007ZFocI.css +593 -0
- package/dist/{helper-B-HiRq90.js → helper-BDlZKsz2.js} +1 -1
- package/dist/{helper-BKVBNDjK.cjs → helper-BfA94C0a.cjs} +1 -1
- package/dist/{index-C7igC0ot.js → index-0sFBVe24.js} +2 -2
- package/dist/{index-B15VIhJF.cjs → index-BNHn04Tl.cjs} +2 -2
- package/dist/{index-B_LP5IWI.js → index-B_R2PMPy.js} +3 -3
- package/dist/index-CIb0BonQ.js +31 -0
- package/dist/{index-lpcUFCfi.cjs → index-DpM5nfM0.cjs} +5 -5
- package/dist/{index-DcodV9tV.cjs → index-KTuHpQNP.cjs} +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/components/Widget/index.d.ts +5 -2
- package/dist/types/constants/wallet.d.ts +9 -1
- package/dist/types/hooks/ConnectWallet/useWalletInfo.d.ts +3 -2
- package/dist/types/hooks/contract/useFetchETHBalance.d.ts +93 -2
- package/dist/types/hooks/contract/useFetchTokens.d.ts +1 -2
- package/dist/types/hooks/solana/useSolanaConnection.d.ts +18 -0
- package/dist/types/hooks/solana/useSolanaWallet.d.ts +1 -0
- package/dist/types/providers/SolanaReactProvider.d.ts +4 -0
- package/dist/types/widgets/MiningWidget/hooks/useRewardListAmount.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useLiquidityOperateAmount.d.ts +12 -12
- package/dist/types/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +9 -9
- package/package.json +7 -1
- package/dist/assets/bundle-DSSoJu9z.css +0 -297
- package/dist/index-BHHF0NMg.js +0 -31
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
.rmc-date-picker {
|
|
2
|
-
display: -ms-flexbox;
|
|
3
|
-
display: flex;
|
|
4
|
-
-ms-flex-align: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
padding: 10px 0;
|
|
7
|
-
}
|
|
8
|
-
.rmc-date-picker-item {
|
|
9
|
-
-ms-flex: 1;
|
|
10
|
-
flex: 1;
|
|
11
|
-
text-align: center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.rmc-picker,
|
|
15
|
-
.rmc-multi-picker {
|
|
16
|
-
height: 238px;
|
|
17
|
-
/*34*7*/
|
|
18
|
-
}
|
|
19
|
-
.rmc-multi-picker {
|
|
20
|
-
display: -webkit-box;
|
|
21
|
-
display: flex;
|
|
22
|
-
-webkit-box-align: center;
|
|
23
|
-
align-items: center;
|
|
24
|
-
}
|
|
25
|
-
.rmc-picker-item {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
height: 34px;
|
|
28
|
-
line-height: 34px;
|
|
29
|
-
padding: 0 10px;
|
|
30
|
-
white-space: nowrap;
|
|
31
|
-
position: relative;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
text-overflow: ellipsis;
|
|
34
|
-
color: #9b9b9b;
|
|
35
|
-
width: 100%;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
}
|
|
38
|
-
.rmc-picker {
|
|
39
|
-
display: block;
|
|
40
|
-
position: relative;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
width: 100%;
|
|
43
|
-
-webkit-box-flex: 1;
|
|
44
|
-
flex: 1;
|
|
45
|
-
text-align: center;
|
|
46
|
-
}
|
|
47
|
-
.rmc-picker-mask {
|
|
48
|
-
position: absolute;
|
|
49
|
-
left: 0;
|
|
50
|
-
top: 0;
|
|
51
|
-
height: 100%;
|
|
52
|
-
margin: 0 auto;
|
|
53
|
-
width: 100%;
|
|
54
|
-
z-index: 3;
|
|
55
|
-
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)));
|
|
56
|
-
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));
|
|
57
|
-
background-position: top, bottom;
|
|
58
|
-
background-size: 100% 204px;
|
|
59
|
-
background-repeat: no-repeat;
|
|
60
|
-
}
|
|
61
|
-
.rmc-picker-content {
|
|
62
|
-
position: absolute;
|
|
63
|
-
left: 0;
|
|
64
|
-
top: 0;
|
|
65
|
-
width: 100%;
|
|
66
|
-
z-index: 1;
|
|
67
|
-
}
|
|
68
|
-
.rmc-picker-indicator {
|
|
69
|
-
box-sizing: border-box;
|
|
70
|
-
width: 100%;
|
|
71
|
-
height: 34px;
|
|
72
|
-
position: absolute;
|
|
73
|
-
left: 0;
|
|
74
|
-
top: 102px;
|
|
75
|
-
z-index: 3;
|
|
76
|
-
border-top: 1PX solid #ddd;
|
|
77
|
-
border-bottom: 1PX solid #ddd;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/*!
|
|
81
|
-
* https://github.com/arqex/react-datetime
|
|
82
|
-
*/
|
|
83
|
-
|
|
84
|
-
.rdt {
|
|
85
|
-
position: relative;
|
|
86
|
-
}
|
|
87
|
-
.rdtPicker {
|
|
88
|
-
display: none;
|
|
89
|
-
position: absolute;
|
|
90
|
-
min-width: 250px;
|
|
91
|
-
padding: 4px;
|
|
92
|
-
margin-top: 1px;
|
|
93
|
-
z-index: 99999 !important;
|
|
94
|
-
background: #fff;
|
|
95
|
-
box-shadow: 0 1px 3px rgba(0,0,0,.1);
|
|
96
|
-
border: 1px solid #f9f9f9;
|
|
97
|
-
}
|
|
98
|
-
.rdtOpen .rdtPicker {
|
|
99
|
-
display: block;
|
|
100
|
-
}
|
|
101
|
-
.rdtStatic .rdtPicker {
|
|
102
|
-
box-shadow: none;
|
|
103
|
-
position: static;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.rdtPicker .rdtTimeToggle {
|
|
107
|
-
text-align: center;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.rdtPicker table {
|
|
111
|
-
width: 100%;
|
|
112
|
-
margin: 0;
|
|
113
|
-
}
|
|
114
|
-
.rdtPicker td,
|
|
115
|
-
.rdtPicker th {
|
|
116
|
-
text-align: center;
|
|
117
|
-
height: 28px;
|
|
118
|
-
}
|
|
119
|
-
.rdtPicker td {
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
}
|
|
122
|
-
.rdtPicker td.rdtDay:hover,
|
|
123
|
-
.rdtPicker td.rdtHour:hover,
|
|
124
|
-
.rdtPicker td.rdtMinute:hover,
|
|
125
|
-
.rdtPicker td.rdtSecond:hover,
|
|
126
|
-
.rdtPicker .rdtTimeToggle:hover {
|
|
127
|
-
background: #eeeeee;
|
|
128
|
-
cursor: pointer;
|
|
129
|
-
}
|
|
130
|
-
.rdtPicker td.rdtOld,
|
|
131
|
-
.rdtPicker td.rdtNew {
|
|
132
|
-
color: #999999;
|
|
133
|
-
}
|
|
134
|
-
.rdtPicker td.rdtToday {
|
|
135
|
-
position: relative;
|
|
136
|
-
}
|
|
137
|
-
.rdtPicker td.rdtToday:before {
|
|
138
|
-
content: '';
|
|
139
|
-
display: inline-block;
|
|
140
|
-
border-left: 7px solid transparent;
|
|
141
|
-
border-bottom: 7px solid #428bca;
|
|
142
|
-
border-top-color: rgba(0, 0, 0, 0.2);
|
|
143
|
-
position: absolute;
|
|
144
|
-
bottom: 4px;
|
|
145
|
-
right: 4px;
|
|
146
|
-
}
|
|
147
|
-
.rdtPicker td.rdtActive,
|
|
148
|
-
.rdtPicker td.rdtActive:hover {
|
|
149
|
-
background-color: #428bca;
|
|
150
|
-
color: #fff;
|
|
151
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
152
|
-
}
|
|
153
|
-
.rdtPicker td.rdtActive.rdtToday:before {
|
|
154
|
-
border-bottom-color: #fff;
|
|
155
|
-
}
|
|
156
|
-
.rdtPicker td.rdtDisabled,
|
|
157
|
-
.rdtPicker td.rdtDisabled:hover {
|
|
158
|
-
background: none;
|
|
159
|
-
color: #999999;
|
|
160
|
-
cursor: not-allowed;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.rdtPicker td span.rdtOld {
|
|
164
|
-
color: #999999;
|
|
165
|
-
}
|
|
166
|
-
.rdtPicker td span.rdtDisabled,
|
|
167
|
-
.rdtPicker td span.rdtDisabled:hover {
|
|
168
|
-
background: none;
|
|
169
|
-
color: #999999;
|
|
170
|
-
cursor: not-allowed;
|
|
171
|
-
}
|
|
172
|
-
.rdtPicker th {
|
|
173
|
-
border-bottom: 1px solid #f9f9f9;
|
|
174
|
-
}
|
|
175
|
-
.rdtPicker .dow {
|
|
176
|
-
width: 14.2857%;
|
|
177
|
-
border-bottom: none;
|
|
178
|
-
cursor: default;
|
|
179
|
-
}
|
|
180
|
-
.rdtPicker th.rdtSwitch {
|
|
181
|
-
width: 100px;
|
|
182
|
-
}
|
|
183
|
-
.rdtPicker th.rdtNext,
|
|
184
|
-
.rdtPicker th.rdtPrev {
|
|
185
|
-
font-size: 21px;
|
|
186
|
-
vertical-align: top;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.rdtPrev span,
|
|
190
|
-
.rdtNext span {
|
|
191
|
-
display: block;
|
|
192
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
193
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
194
|
-
-khtml-user-select: none; /* Konqueror */
|
|
195
|
-
-moz-user-select: none; /* Firefox */
|
|
196
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
197
|
-
user-select: none;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.rdtPicker th.rdtDisabled,
|
|
201
|
-
.rdtPicker th.rdtDisabled:hover {
|
|
202
|
-
background: none;
|
|
203
|
-
color: #999999;
|
|
204
|
-
cursor: not-allowed;
|
|
205
|
-
}
|
|
206
|
-
.rdtPicker thead tr:first-of-type th {
|
|
207
|
-
cursor: pointer;
|
|
208
|
-
}
|
|
209
|
-
.rdtPicker thead tr:first-of-type th:hover {
|
|
210
|
-
background: #eeeeee;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.rdtPicker tfoot {
|
|
214
|
-
border-top: 1px solid #f9f9f9;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.rdtPicker button {
|
|
218
|
-
border: none;
|
|
219
|
-
background: none;
|
|
220
|
-
cursor: pointer;
|
|
221
|
-
}
|
|
222
|
-
.rdtPicker button:hover {
|
|
223
|
-
background-color: #eee;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.rdtPicker thead button {
|
|
227
|
-
width: 100%;
|
|
228
|
-
height: 100%;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
td.rdtMonth,
|
|
232
|
-
td.rdtYear {
|
|
233
|
-
height: 50px;
|
|
234
|
-
width: 25%;
|
|
235
|
-
cursor: pointer;
|
|
236
|
-
}
|
|
237
|
-
td.rdtMonth:hover,
|
|
238
|
-
td.rdtYear:hover {
|
|
239
|
-
background: #eee;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.rdtCounters {
|
|
243
|
-
display: inline-block;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.rdtCounters > div {
|
|
247
|
-
float: left;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.rdtCounter {
|
|
251
|
-
height: 100px;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.rdtCounter {
|
|
255
|
-
width: 40px;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.rdtCounterSeparator {
|
|
259
|
-
line-height: 100px;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.rdtCounter .rdtBtn {
|
|
263
|
-
height: 40%;
|
|
264
|
-
line-height: 40px;
|
|
265
|
-
cursor: pointer;
|
|
266
|
-
display: block;
|
|
267
|
-
|
|
268
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
269
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
270
|
-
-khtml-user-select: none; /* Konqueror */
|
|
271
|
-
-moz-user-select: none; /* Firefox */
|
|
272
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
273
|
-
user-select: none;
|
|
274
|
-
}
|
|
275
|
-
.rdtCounter .rdtBtn:hover {
|
|
276
|
-
background: #eee;
|
|
277
|
-
}
|
|
278
|
-
.rdtCounter .rdtCount {
|
|
279
|
-
height: 20%;
|
|
280
|
-
font-size: 1.2em;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.rdtMilli {
|
|
284
|
-
vertical-align: middle;
|
|
285
|
-
padding-left: 8px;
|
|
286
|
-
width: 48px;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.rdtMilli input {
|
|
290
|
-
width: 100%;
|
|
291
|
-
font-size: 1.2em;
|
|
292
|
-
margin-top: 37px;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.rdtTime td {
|
|
296
|
-
cursor: default;
|
|
297
|
-
}
|