@taskon/widget-react 0.0.1-beta.4 → 0.0.1-beta.5
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/CommunityTaskList.css +110 -110
- package/dist/EligibilityInfo.css +69 -69
- package/dist/Quest.css +241 -241
- package/dist/chunks/{CommunityTaskList-C9Gv8KOF.js → CommunityTaskList-CrMvOB8w.js} +725 -441
- package/dist/chunks/{EligibilityInfo-D-Fuy9GE.js → EligibilityInfo-Beww12QX.js} +1569 -597
- package/dist/chunks/{LeaderboardWidget-BV2D2q1N.js → LeaderboardWidget-DwuSpVl0.js} +2 -2
- package/dist/chunks/{PageBuilder-DQoU4Mwf.js → PageBuilder-DsX6Tv0N.js} +5 -5
- package/dist/chunks/{Quest-B5NyVr3o.js → Quest-CuD2LElS.js} +661 -473
- package/dist/chunks/{TaskOnProvider-93UxARFo.js → TaskOnProvider-xUeP2Nro.js} +78 -65
- package/dist/chunks/{ThemeProvider-CPI_roeh.js → ThemeProvider-Bt4UZ33y.js} +30 -6
- package/dist/chunks/{UserCenterWidget-BRtigY_S.js → UserCenterWidget-CB0hnj-L.js} +67 -30
- package/dist/chunks/{UserCenterWidget-cADBSVg7.js → UserCenterWidget-CvU6K4AC.js} +2 -2
- package/dist/chunks/communitytask-es-1zawvXEX.js +311 -0
- package/dist/chunks/communitytask-ja-CmW6nP-L.js +311 -0
- package/dist/chunks/communitytask-ko-BD0hzQSi.js +311 -0
- package/dist/chunks/communitytask-ru-DhySaZL8.js +311 -0
- package/dist/chunks/createLocaleLoader-BameiEhU.js +65 -0
- package/dist/chunks/{dynamic-import-helper-DwXlQC0S.js → dynamic-import-helper-WmIF58Sb.js} +1 -1
- package/dist/chunks/quest-es-D-b5xcme.js +948 -0
- package/dist/chunks/quest-ja-Dxd2vqBF.js +948 -0
- package/dist/chunks/quest-ko-CSmRWgK_.js +948 -0
- package/dist/chunks/quest-ru-CkEKv1_F.js +948 -0
- package/dist/chunks/taskwidget-es-Do9b3Mqw.js +245 -0
- package/dist/chunks/taskwidget-ja-CqSu-yWA.js +245 -0
- package/dist/chunks/taskwidget-ko-EHgXFV4B.js +245 -0
- package/dist/chunks/taskwidget-ru-CMbLQDK4.js +245 -0
- package/dist/community-task.js +1 -1
- package/dist/core.d.ts +17 -5
- package/dist/core.js +8 -7
- package/dist/index.d.ts +56 -5
- package/dist/index.js +18 -16
- package/dist/leaderboard.js +2 -2
- package/dist/page-builder.js +1 -1
- package/dist/quest.d.ts +682 -0
- package/dist/quest.js +3 -1
- package/dist/user-center.d.ts +3 -1
- package/dist/user-center.js +5 -5
- package/package.json +4 -1
package/dist/quest.d.ts
CHANGED
|
@@ -16,6 +16,336 @@ import { TaskValueItem } from '@taskon/core';
|
|
|
16
16
|
import { UserCampaignStatusInfo } from '@taskon/core';
|
|
17
17
|
import { UserTaskStatus } from '@taskon/core';
|
|
18
18
|
|
|
19
|
+
declare const _default: {
|
|
20
|
+
"gte_100_least_1_kyc": ">=100 (At least 1 KYC)",
|
|
21
|
+
"gte_20_basic_filtering_bot": ">=20 (Basic filtering bot)",
|
|
22
|
+
"qualified_users_receive_reward": "All qualified users receive reward",
|
|
23
|
+
"tasks_quest_verified_valid_some_tasks_may_verified_quest": "All the tasks of this quest is verified as valid, some tasks may verified by quest creator not by TaskOn.",
|
|
24
|
+
"available": "Available",
|
|
25
|
+
"awesome_already_meet_requirements": "Awesome! You already meet the requirements.",
|
|
26
|
+
"babt_holder": "BABT holder",
|
|
27
|
+
"before_join_please_meet": "Before you join please meet",
|
|
28
|
+
"binance_account_bound_token_bab": "Binance Account Bound Token (BAB)",
|
|
29
|
+
"bind": "Bind",
|
|
30
|
+
"bind_required_accounts": "Bind Required Accounts",
|
|
31
|
+
"binding": "Binding...",
|
|
32
|
+
"blind_box_reward": "Blind Box Reward",
|
|
33
|
+
"bonus": "Bonus",
|
|
34
|
+
"bound": "Bound",
|
|
35
|
+
"campaign_id_required_please_provide_campaignid_via_props_widgetid": "Campaign ID is required. Please provide campaignId via props or widgetId.",
|
|
36
|
+
"cap_airdropped_soon": "Cap will be airdropped soon...",
|
|
37
|
+
"check_claim": "Check & Claim",
|
|
38
|
+
"check_cap_element": "Check CAP on Element",
|
|
39
|
+
"check_collection_opensea": "Check Collection on OpenSea",
|
|
40
|
+
"chest_key": "Chest key",
|
|
41
|
+
"claim": "Claim",
|
|
42
|
+
"claim_again": "Claim Again",
|
|
43
|
+
"claim_nft": "Claim NFT",
|
|
44
|
+
"claim_failed": "Claim failed",
|
|
45
|
+
"claim_successful": "Claim successful!",
|
|
46
|
+
"claimed": "Claimed",
|
|
47
|
+
"claiming_nft": "Claiming NFT...",
|
|
48
|
+
"close": "Close",
|
|
49
|
+
"complete_campaign": "Complete Campaign",
|
|
50
|
+
"complete_action_first": "Complete action first",
|
|
51
|
+
"complete": "Complete all",
|
|
52
|
+
"complete_campaign_2": "Complete the Campaign",
|
|
53
|
+
"complete_qualify_rewards": "Complete to qualify for rewards!",
|
|
54
|
+
"complete_milestone_name_first": "Complete {milestone_name} first",
|
|
55
|
+
"completing": "Completing...",
|
|
56
|
+
"congratulations": "Congratulations!",
|
|
57
|
+
"connect_wallet_participate": "Connect Wallet to Participate",
|
|
58
|
+
"connecting_wallet": "Connecting wallet...",
|
|
59
|
+
"continue_waiting": "Continue Waiting",
|
|
60
|
+
"contract_address": "Contract Address",
|
|
61
|
+
"copied": "Copied!",
|
|
62
|
+
"copy_link": "Copy Link",
|
|
63
|
+
"holder_own_least_one_token": "DID Holder(own at least one DID token)",
|
|
64
|
+
"discord": "Discord",
|
|
65
|
+
"discord_account_linked": "Discord Account Not Linked",
|
|
66
|
+
"discord_role": "Discord Role",
|
|
67
|
+
"discord_role_2": "Discord Role:",
|
|
68
|
+
"ens_domains_eth": "ENS Domains (.eth)",
|
|
69
|
+
"evm_chain": "EVM Chain",
|
|
70
|
+
"exp_winner": "EXP/Winner",
|
|
71
|
+
"ended": "Ended",
|
|
72
|
+
"ending": "Ending in",
|
|
73
|
+
"ends": "Ends In",
|
|
74
|
+
"extra_reward_winners": "Extra reward for winners",
|
|
75
|
+
"failed_claim_nft": "Failed to claim NFT",
|
|
76
|
+
"failed_complete_quest": "Failed to complete quest",
|
|
77
|
+
"failed_copy_nft_address": "Failed to copy NFT address:",
|
|
78
|
+
"failed_download_poster": "Failed to download poster:",
|
|
79
|
+
"failed_load_leaderboard": "Failed to load leaderboard",
|
|
80
|
+
"failed_load_quest_detail": "Failed to load quest detail",
|
|
81
|
+
"failed_load_quest_status": "Failed to load quest status",
|
|
82
|
+
"failed_load_user_status": "Failed to load user status",
|
|
83
|
+
"failed_load_winners": "Failed to load winners",
|
|
84
|
+
"first_complete_gets_reward": "First to complete gets the reward",
|
|
85
|
+
"getting_signature": "Getting signature...",
|
|
86
|
+
"hold_tokens_one_following_service_providers": "Hold tokens from one of the following DID service providers:",
|
|
87
|
+
"how_winner_selected": "How is winner be selected?",
|
|
88
|
+
"resident_specific_countries_regions": "Is NOT a resident of specific countries/regions",
|
|
89
|
+
"resident_specific_countries_regions_2": "Is a resident of specific countries/regions",
|
|
90
|
+
"join_quest_earlier_next_time": "Join the quest earlier next time!",
|
|
91
|
+
"join_campaignname_me": "Join the {campaignName} with me 🙌",
|
|
92
|
+
"leaderboard": "Leaderboard",
|
|
93
|
+
"limited_spots_gas_free_claiming": "Limited spots for gas free claiming!",
|
|
94
|
+
"link_wallet_address": "Link Wallet Address",
|
|
95
|
+
"link_copied": "Link copied!",
|
|
96
|
+
"loading_quest": "Loading quest...",
|
|
97
|
+
"loading": "Loading...",
|
|
98
|
+
"lucky_draw": "Lucky Draw",
|
|
99
|
+
"manually_upload": "Manually Upload",
|
|
100
|
+
"points_required": "More Points Required",
|
|
101
|
+
"tasks_required": "More Tasks Required",
|
|
102
|
+
"na": "N/A",
|
|
103
|
+
"nft_preview": "NFT Preview",
|
|
104
|
+
"nft_airdropped_soon": "NFT will be airdropped soon...",
|
|
105
|
+
"network_error_please_try_again": "Network error, please try again",
|
|
106
|
+
"new_user_milestone": "New user of this milestone",
|
|
107
|
+
"new_user_taskon": "New user to TaskOn",
|
|
108
|
+
"no_data": "No Data",
|
|
109
|
+
"no_participants": "No participants yet",
|
|
110
|
+
"no_winners": "No winners yet",
|
|
111
|
+
"qualified": "Not Qualified",
|
|
112
|
+
"tasks_successfully_verified_better_luck_next_time": "Not all tasks are successfully verified, better luck next time!",
|
|
113
|
+
"sybil_database": "Not in Sybil database",
|
|
114
|
+
"included_public_sybil_address_database": "Not included in a public sybil address database.",
|
|
115
|
+
"ok": "OK",
|
|
116
|
+
"only": "ONLY",
|
|
117
|
+
"chain_verification": "On-chain Verification",
|
|
118
|
+
"once_qualified_every_point_counts_toward_better_rewards": "Once qualified, every point counts toward better rewards!",
|
|
119
|
+
"ongoing": "Ongoing",
|
|
120
|
+
"qualifier_selected_winner_select_method_depends_settings_fcfs": "Only Qualifier can be selected as winner, the select method depends on the settings such as FCFS.",
|
|
121
|
+
"oops": "Oops!",
|
|
122
|
+
"oops_better_luck_next_time": "Oops! Better Luck Next Time!",
|
|
123
|
+
"oops_seems_like_already_finished_quest": "Oops! Seems like You already finished this quest",
|
|
124
|
+
"oops_seems_like_already_finished_quest_2": "Oops! Seems like you already finished this quest",
|
|
125
|
+
"oops_better_luck_next_time_2": "Oops, Better Luck Next Time!",
|
|
126
|
+
"open_blind_box": "Open Blind Box",
|
|
127
|
+
"open": "Open to All",
|
|
128
|
+
"own": "Own",
|
|
129
|
+
"own_least": "Own at least",
|
|
130
|
+
"own_least_amount_token_name_chain_label": "Own at least {amount} {token_name} on {chain_label}",
|
|
131
|
+
"own_amount_name_nft_chain": "Own {amount} {name} NFT On {chain}",
|
|
132
|
+
"participants": "Participants",
|
|
133
|
+
"participants_info": "Participants Info",
|
|
134
|
+
"participants_any_user_who_complete_least_1_task_quest": "Participants: any user who complete at least 1 task of this quest.",
|
|
135
|
+
"pending_transaction": "Pending Transaction",
|
|
136
|
+
"please_bind_following_accounts_verify_eligibility": "Please bind the following accounts to verify eligibility.",
|
|
137
|
+
"please_complete_mandatory_tasks": "Please complete all mandatory tasks",
|
|
138
|
+
"please_complete_required_tasks_before_continuing": "Please complete all required tasks before continuing.",
|
|
139
|
+
"please_complete_optional_tasks": "Please complete more optional tasks",
|
|
140
|
+
"please_confirm_wallet": "Please confirm in your wallet",
|
|
141
|
+
"please_keep_participating_tasks_e_g_keep_following_x": "Please keep participating in tasks (e.g. keep following on X) to stay eligible for winner draws!",
|
|
142
|
+
"please_link_following_wallet_addresses_receive_rewards_required_fcfs": "Please link the following wallet addresses to receive rewards. This is required for FCFS rewards.",
|
|
143
|
+
"please_link_following_wallet_addresses_receive_rewards_skip_step": "Please link the following wallet addresses to receive rewards. You can skip this step and link later before the campaign ends.",
|
|
144
|
+
"points_history": "Points History",
|
|
145
|
+
"points_winner": "Points/Winner",
|
|
146
|
+
"position": "Position",
|
|
147
|
+
"project_owner_selects_winners": "Project owner selects winners",
|
|
148
|
+
"qr_code": "QR Code",
|
|
149
|
+
"qualifier_point": "Qualifier Point",
|
|
150
|
+
"qualifiers": "Qualifiers",
|
|
151
|
+
"quest_eligibility": "Quest Eligibility",
|
|
152
|
+
"quest_rewards": "Quest Rewards",
|
|
153
|
+
"quest_found": "Quest not found",
|
|
154
|
+
"random_amount": "Random Amount",
|
|
155
|
+
"reach_poh_requirements": "Reach All POH Requirements",
|
|
156
|
+
"reach_any_poh_requirements": "Reach Any POH Requirements",
|
|
157
|
+
"read": "Read more",
|
|
158
|
+
"refresh": "Refresh",
|
|
159
|
+
"refresh_eligibility_status": "Refresh eligibility status",
|
|
160
|
+
"refreshing": "Refreshing...",
|
|
161
|
+
"retry": "Retry",
|
|
162
|
+
"reward": "Reward",
|
|
163
|
+
"reward_amount_revealed_once_quest_ends": "Reward amount will be revealed once quest ends.",
|
|
164
|
+
"rewards": "Rewards",
|
|
165
|
+
"rewards_missed": "Rewards Missed",
|
|
166
|
+
"role": "Role",
|
|
167
|
+
"save": "Save",
|
|
168
|
+
"share": "Share",
|
|
169
|
+
"share_qr_code": "Share QR Code",
|
|
170
|
+
"show_less": "Show less",
|
|
171
|
+
"smart_blind_box": "Smart Blind Box",
|
|
172
|
+
"social_accounts": "Social Accounts",
|
|
173
|
+
"sorry_late": "Sorry you are late.",
|
|
174
|
+
"space_id_domains_bnb_arb": "Space ID Domains (.bnb & .arb)",
|
|
175
|
+
"starting": "Starting in",
|
|
176
|
+
"starts": "Starts In",
|
|
177
|
+
"stay_tuned_verified_users_eligible_compete_rewards": "Stay tuned! Only verified users are eligible to compete for rewards.",
|
|
178
|
+
"submitters": "Submitters",
|
|
179
|
+
"successfully_entered": "Successfully Entered!",
|
|
180
|
+
"switching_network": "Switching network...",
|
|
181
|
+
"system_drawing_winners": "System is Drawing Winners...",
|
|
182
|
+
"system_automatically_select_winners": "System will automatically select winners in",
|
|
183
|
+
"task": "Task",
|
|
184
|
+
"taskon_lv_level_higher": "TaskOn LV {level} or Higher",
|
|
185
|
+
"taskon_lv_val": "TaskOn LV {val}",
|
|
186
|
+
"taskon_poh_level_score_label": "Taskon POH Level {score_label}",
|
|
187
|
+
"taskon_val_level_lv": "Taskon {val} Level {lv}",
|
|
188
|
+
"tasks_incomplete": "Tasks Incomplete",
|
|
189
|
+
"receive_address_t_changed": "This receive address can’t be changed:",
|
|
190
|
+
"tier": "Tier",
|
|
191
|
+
"ensure_fair_experience_submissions_identical_wallet_addresses_x_discord": "To ensure a fair experience, submissions with identical wallet addresses, X, Discord, or Telegram accounts, and email addresses are not permitted.",
|
|
192
|
+
"receive_discord_role_reward_need_link_discord_account": "To receive the Discord Role reward, you need to link your Discord account.",
|
|
193
|
+
"token_name": "Token Name",
|
|
194
|
+
"token_rewards_pool": "Token Rewards Pool",
|
|
195
|
+
"top_100": "Top 100",
|
|
196
|
+
"top_40_percent_50_percent": "Top 40%-50%",
|
|
197
|
+
"top_ranked_users_win": "Top ranked users win",
|
|
198
|
+
"total_rewards_pool": "Total Rewards Pool",
|
|
199
|
+
"transaction_hash": "Transaction hash:",
|
|
200
|
+
"transaction_pending": "Transaction pending...",
|
|
201
|
+
"transaction_rejected_user": "Transaction was rejected by user.",
|
|
202
|
+
"twitter": "Twitter",
|
|
203
|
+
"txn_hash": "Txn Hash:",
|
|
204
|
+
"unranked": "Unranked",
|
|
205
|
+
"upcoming": "Upcoming",
|
|
206
|
+
"user": "User",
|
|
207
|
+
"validation_failed": "Validation Failed",
|
|
208
|
+
"view_leaderboard": "View Leaderboard",
|
|
209
|
+
"view_explorer": "View on Explorer",
|
|
210
|
+
"view_participants_info_details": "View participants info details",
|
|
211
|
+
"view_winners_list": "View winners list",
|
|
212
|
+
"waiting_final_ranking_stay_tuned_see_win": "Waiting For Final Ranking, Stay tuned to see if you win!",
|
|
213
|
+
"waiting_task_verification": "Waiting For Task Verification",
|
|
214
|
+
"waiting_drawing_winners": "Waiting for drawing winners",
|
|
215
|
+
"waiting_drawing_winners_stay_tuned_see_win": "Waiting for drawing winners, Stay tuned to see if you win!",
|
|
216
|
+
"waiting_final_ranking_stay_tuned_see_win_2": "Waiting for final ranking. Stay tuned to see if you win!",
|
|
217
|
+
"waiting_project_owner_upload_winner_list_stay_tuned_see": "Waiting for project owner to upload the winner list, Stay tuned to see if you win!",
|
|
218
|
+
"waiting_project_owner_upload_winner_list_stay_tuned_see_2": "Waiting for project owner to upload the winner list. Stay tuned to see if you win!",
|
|
219
|
+
"wallet_address": "Wallet Address",
|
|
220
|
+
"wallet_addresses_sybil_lists_these_protocols": "Wallet addresses are not in the Sybil lists from these protocols:",
|
|
221
|
+
"what_participants": "What is Participants?",
|
|
222
|
+
"whitelist": "Whitelist",
|
|
223
|
+
"whitelist_description": "Whitelist Description",
|
|
224
|
+
"who_completes_least_1_task": "Who completes at least 1 task.",
|
|
225
|
+
"who_completes_quest": "Who completes the quest.",
|
|
226
|
+
"winner_bonus": "Winner Bonus",
|
|
227
|
+
"winner_generated_following_chart": "Winner is generated from the following chart.",
|
|
228
|
+
"winners": "Winners",
|
|
229
|
+
"winners_randomly_selected": "Winners are randomly selected",
|
|
230
|
+
"withdraw": "Withdraw",
|
|
231
|
+
"x_twitter": "X (Twitter)",
|
|
232
|
+
"x_account_verification": "X account Verification",
|
|
233
|
+
"x_account_don_t_use_default_profile_image": "X account don't use default profile image",
|
|
234
|
+
"you": "YOU",
|
|
235
|
+
"won": "You Have Won",
|
|
236
|
+
"here": "You are here",
|
|
237
|
+
"qualified_rewards_tier": "You are not qualified for rewards in this tier.",
|
|
238
|
+
"ranked": "You are not ranked yet.",
|
|
239
|
+
"check_transaction_explorer": "You can check this transaction on explorer:",
|
|
240
|
+
"complete_campaign_without_linking_won_t_able_claim_discord": "You can still complete the campaign without linking, but you won't be able to claim the Discord Role reward.",
|
|
241
|
+
"already_claimed_nft_please_wait_transaction_confirmed": "You have already claimed this NFT, please wait for this transaction to be confirmed.",
|
|
242
|
+
"won_multiple_rewards": "You have won multiple rewards!",
|
|
243
|
+
"ranked_after_completing_mandatory_tasks_quest": "You will be ranked only after completing all mandatory tasks in this quest.",
|
|
244
|
+
"estimated_rewards": "Your Estimated Rewards",
|
|
245
|
+
"final_rewards": "Your Final Rewards",
|
|
246
|
+
"ranking": "Your Ranking",
|
|
247
|
+
"complete_task": "Your did not complete task:",
|
|
248
|
+
"own_discord_role": "Your do not own a Discord Role",
|
|
249
|
+
"own_discord_role_community": "Your do not own a Discord Role {role} in {community}",
|
|
250
|
+
"completed_task": "Your have completed task:",
|
|
251
|
+
"own_discord_role_2": "Your own a Discord Role",
|
|
252
|
+
"own_discord_role_community_2": "Your own a Discord Role {role} in {community}",
|
|
253
|
+
"name_lv_lt_count": "Your {name} Lv is ≥/< {count}",
|
|
254
|
+
"val_wallet_address_allowlist": "Your {val} wallet address is in the allowlist",
|
|
255
|
+
"zkme_citizenship_nft_holder": "ZKMe Citizenship NFT holder",
|
|
256
|
+
"after": "after",
|
|
257
|
+
"tasks_reviewed": "all tasks have been reviewed.",
|
|
258
|
+
"better_luck": "better luck",
|
|
259
|
+
"recaptcha_verification_required": "reCAPTCHA verification required",
|
|
260
|
+
"following_eligibilities": "the following Eligibilities",
|
|
261
|
+
"val_higher": "{val} or Higher",
|
|
262
|
+
"official": "⚠️ Not Official",
|
|
263
|
+
"winners_2": "👑 Winners",
|
|
264
|
+
"eq_total_rewards_pool_pointname_total_pointname": "= Total Rewards Pool * Your {pointName} / Total {pointName}",
|
|
265
|
+
"all": "ALL",
|
|
266
|
+
"any": "ANY",
|
|
267
|
+
"winners_announced": "All winners are to be announced by",
|
|
268
|
+
"least_count_transaction_s_chain": "At least {count} transaction(s) on {chain}",
|
|
269
|
+
"click_copy_address": "Click to copy: {address}",
|
|
270
|
+
"complete_2": "Complete",
|
|
271
|
+
"complete_onchain_action_number_actionid": "Complete Onchain Action #{actionId}",
|
|
272
|
+
"completed_current_required_optional_tasks": "Completed: {current} / {required} optional tasks",
|
|
273
|
+
"confirm": "Confirm",
|
|
274
|
+
"did": "DID",
|
|
275
|
+
"holder_own_least_one": "DID Holder(own at least one",
|
|
276
|
+
"earned_current_required_points": "Earned: {current} / {required} points",
|
|
277
|
+
"equivalent_amounts_token_name": "Equivalent amounts of {token_name}",
|
|
278
|
+
"link_discord_account": "Link Discord Account",
|
|
279
|
+
"lv": "Lv is",
|
|
280
|
+
"meet_eligibilities_below": "Meet Eligibilities Below",
|
|
281
|
+
"member_discord_server": "Member of Discord server:",
|
|
282
|
+
"multiple_rewards_detail": "Multiple Rewards Detail",
|
|
283
|
+
"included_public_sybil_address": "Not included in a public sybil address",
|
|
284
|
+
"chain_label": "On {chain_label}",
|
|
285
|
+
"poh_verification": "POH Verification",
|
|
286
|
+
"please_earn_least_count_points_optional_tasks": "Please earn at least {count} points from optional tasks",
|
|
287
|
+
"please_move_key_blind_box_open_blind_box": "Please move the key to the blind box to open the blind box",
|
|
288
|
+
"points": "Points",
|
|
289
|
+
"qualifier": "Qualifier",
|
|
290
|
+
"quest": "Quest",
|
|
291
|
+
"required": "REQUIRED",
|
|
292
|
+
"reviewed_tasks": "Reviewed All Tasks",
|
|
293
|
+
"rewards_per_winner": "Rewards Per Winner",
|
|
294
|
+
"taskon_poh_level": "Taskon POH Level",
|
|
295
|
+
"rankings_based_total_pointsname_earned_tasks_within_quest_instances": "The rankings are based on the total {pointsName} earned from all tasks within this quest. In instances of tied {pointsName}, submitters are ranked according to chronological order.",
|
|
296
|
+
"quest_includes_proof_work_pow_tasks_which": "This quest includes Proof of Work (POW) tasks, which",
|
|
297
|
+
"tier_index": "Tier {index}",
|
|
298
|
+
"top_percent": "Top {from}%-{to}%",
|
|
299
|
+
"top": "Top {from}-{to}",
|
|
300
|
+
"top_2": "Top {to}",
|
|
301
|
+
"top_percent_2": "Top {to}%",
|
|
302
|
+
"total_pointname": "Total {pointName}",
|
|
303
|
+
"usd_token_name": "USD in {token_name}",
|
|
304
|
+
"waiting": "Waiting for",
|
|
305
|
+
"x_account_created_months_ago": "X account created more than {months} months ago",
|
|
306
|
+
"x_account_count_followers": "X account with more than {count} followers",
|
|
307
|
+
"your": "Your",
|
|
308
|
+
"database": "database",
|
|
309
|
+
"days": "days",
|
|
310
|
+
"first": "first",
|
|
311
|
+
"least": "for at least",
|
|
312
|
+
"in": "in",
|
|
313
|
+
"is": "is",
|
|
314
|
+
"participants_2": "participants",
|
|
315
|
+
"tasks_secure_valid_ranking": "tasks to secure a valid ranking.",
|
|
316
|
+
"token": "token)",
|
|
317
|
+
"review_winners_selected": "will review. Winners will be selected",
|
|
318
|
+
"pointsname_collected_tasks_completed_during_quest": "{pointsName} collected from all tasks completed during the quest.",
|
|
319
|
+
"claim_again_send_new_transaction_recommended_when_sure_there": "\"Claim Again\" will send a new transaction it is only recommended when you are sure there is something wrong with the current transaction.",
|
|
320
|
+
"fcfs": "FCFS",
|
|
321
|
+
"ranking_2": "Ranking",
|
|
322
|
+
"before_join_please_meet_express_following_eligibilities": "Before you join please meet {express} the following Eligibilities",
|
|
323
|
+
"complete_required_tasks_secure_valid_ranking": "Complete all {required} tasks to secure a valid ranking.",
|
|
324
|
+
"holder_own_least_one_token_2": "DID Holder(own at least one {did} token)",
|
|
325
|
+
"member_discord_server_least_days": "Member of Discord server: {server} for at least {days} days",
|
|
326
|
+
"included_public_sybil_address_database_2": "Not included in a public sybil address {database}",
|
|
327
|
+
"quest_includes_proof_work_pow_tasks_which_community_review": "This quest includes Proof of Work (POW) tasks, which {community} will review. Winners will be selected {only} after all tasks have been reviewed.",
|
|
328
|
+
"waiting_community_reviewed_tasks": "Waiting for {community} Reviewed All Tasks",
|
|
329
|
+
"lv_operator_count": "Your Lv is {operator} {count}",
|
|
330
|
+
"name_lv_operator_count": "Your {name} Lv is {operator} {count}",
|
|
331
|
+
"name_operator_count": "Your {name} is {operator} {count}",
|
|
332
|
+
"pointname": "Your {pointName}",
|
|
333
|
+
"amount_qualifier_pointsname": "{amount} Qualifier {pointsName}",
|
|
334
|
+
"days_2": "{days} days"
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* interpolate - Simple string interpolation utility
|
|
339
|
+
*
|
|
340
|
+
* Replaces placeholders in the format {key} with values from the params object.
|
|
341
|
+
* This is a lightweight alternative to full i18n libraries when only simple
|
|
342
|
+
* variable replacement is needed.
|
|
343
|
+
*/
|
|
344
|
+
/**
|
|
345
|
+
* Params object type for interpolation
|
|
346
|
+
*/
|
|
347
|
+
declare type InterpolationParams = Record<string, string | number | undefined>;
|
|
348
|
+
|
|
19
349
|
/**
|
|
20
350
|
* Quest Complete Button 组件 Props
|
|
21
351
|
*/
|
|
@@ -62,6 +392,10 @@ export declare interface QuestHeaderProps {
|
|
|
62
392
|
onViewMore?: () => void;
|
|
63
393
|
}
|
|
64
394
|
|
|
395
|
+
export declare type QuestMessageKey = keyof QuestMessages;
|
|
396
|
+
|
|
397
|
+
export declare type QuestMessages = typeof _default;
|
|
398
|
+
|
|
65
399
|
/**
|
|
66
400
|
* Quest 奖励展示信息
|
|
67
401
|
*/
|
|
@@ -279,6 +613,11 @@ export declare interface QuestWidgetProps {
|
|
|
279
613
|
rewardRedirectUrl?: string;
|
|
280
614
|
}
|
|
281
615
|
|
|
616
|
+
/**
|
|
617
|
+
* Translation function type
|
|
618
|
+
*/
|
|
619
|
+
declare type TFunction<T> = <K extends keyof T>(key: K, params?: InterpolationParams) => string;
|
|
620
|
+
|
|
282
621
|
/**
|
|
283
622
|
* 获取 Quest 详情 Hook
|
|
284
623
|
*
|
|
@@ -321,6 +660,324 @@ export declare interface UseQuestDetailReturn {
|
|
|
321
660
|
refetch: () => void;
|
|
322
661
|
}
|
|
323
662
|
|
|
663
|
+
export declare function useQuestLocale(): UseTranslationResult< {
|
|
664
|
+
gte_100_least_1_kyc: string;
|
|
665
|
+
gte_20_basic_filtering_bot: string;
|
|
666
|
+
qualified_users_receive_reward: string;
|
|
667
|
+
tasks_quest_verified_valid_some_tasks_may_verified_quest: string;
|
|
668
|
+
available: string;
|
|
669
|
+
awesome_already_meet_requirements: string;
|
|
670
|
+
babt_holder: string;
|
|
671
|
+
before_join_please_meet: string;
|
|
672
|
+
binance_account_bound_token_bab: string;
|
|
673
|
+
bind: string;
|
|
674
|
+
bind_required_accounts: string;
|
|
675
|
+
binding: string;
|
|
676
|
+
blind_box_reward: string;
|
|
677
|
+
bonus: string;
|
|
678
|
+
bound: string;
|
|
679
|
+
campaign_id_required_please_provide_campaignid_via_props_widgetid: string;
|
|
680
|
+
cap_airdropped_soon: string;
|
|
681
|
+
check_claim: string;
|
|
682
|
+
check_cap_element: string;
|
|
683
|
+
check_collection_opensea: string;
|
|
684
|
+
chest_key: string;
|
|
685
|
+
claim: string;
|
|
686
|
+
claim_again: string;
|
|
687
|
+
claim_nft: string;
|
|
688
|
+
claim_failed: string;
|
|
689
|
+
claim_successful: string;
|
|
690
|
+
claimed: string;
|
|
691
|
+
claiming_nft: string;
|
|
692
|
+
close: string;
|
|
693
|
+
complete_campaign: string;
|
|
694
|
+
complete_action_first: string;
|
|
695
|
+
complete: string;
|
|
696
|
+
complete_campaign_2: string;
|
|
697
|
+
complete_qualify_rewards: string;
|
|
698
|
+
complete_milestone_name_first: string;
|
|
699
|
+
completing: string;
|
|
700
|
+
congratulations: string;
|
|
701
|
+
connect_wallet_participate: string;
|
|
702
|
+
connecting_wallet: string;
|
|
703
|
+
continue_waiting: string;
|
|
704
|
+
contract_address: string;
|
|
705
|
+
copied: string;
|
|
706
|
+
copy_link: string;
|
|
707
|
+
holder_own_least_one_token: string;
|
|
708
|
+
discord: string;
|
|
709
|
+
discord_account_linked: string;
|
|
710
|
+
discord_role: string;
|
|
711
|
+
discord_role_2: string;
|
|
712
|
+
ens_domains_eth: string;
|
|
713
|
+
evm_chain: string;
|
|
714
|
+
exp_winner: string;
|
|
715
|
+
ended: string;
|
|
716
|
+
ending: string;
|
|
717
|
+
ends: string;
|
|
718
|
+
extra_reward_winners: string;
|
|
719
|
+
failed_claim_nft: string;
|
|
720
|
+
failed_complete_quest: string;
|
|
721
|
+
failed_copy_nft_address: string;
|
|
722
|
+
failed_download_poster: string;
|
|
723
|
+
failed_load_leaderboard: string;
|
|
724
|
+
failed_load_quest_detail: string;
|
|
725
|
+
failed_load_quest_status: string;
|
|
726
|
+
failed_load_user_status: string;
|
|
727
|
+
failed_load_winners: string;
|
|
728
|
+
first_complete_gets_reward: string;
|
|
729
|
+
getting_signature: string;
|
|
730
|
+
hold_tokens_one_following_service_providers: string;
|
|
731
|
+
how_winner_selected: string;
|
|
732
|
+
resident_specific_countries_regions: string;
|
|
733
|
+
resident_specific_countries_regions_2: string;
|
|
734
|
+
join_quest_earlier_next_time: string;
|
|
735
|
+
join_campaignname_me: string;
|
|
736
|
+
leaderboard: string;
|
|
737
|
+
limited_spots_gas_free_claiming: string;
|
|
738
|
+
link_wallet_address: string;
|
|
739
|
+
link_copied: string;
|
|
740
|
+
loading_quest: string;
|
|
741
|
+
loading: string;
|
|
742
|
+
lucky_draw: string;
|
|
743
|
+
manually_upload: string;
|
|
744
|
+
points_required: string;
|
|
745
|
+
tasks_required: string;
|
|
746
|
+
na: string;
|
|
747
|
+
nft_preview: string;
|
|
748
|
+
nft_airdropped_soon: string;
|
|
749
|
+
network_error_please_try_again: string;
|
|
750
|
+
new_user_milestone: string;
|
|
751
|
+
new_user_taskon: string;
|
|
752
|
+
no_data: string;
|
|
753
|
+
no_participants: string;
|
|
754
|
+
no_winners: string;
|
|
755
|
+
qualified: string;
|
|
756
|
+
tasks_successfully_verified_better_luck_next_time: string;
|
|
757
|
+
sybil_database: string;
|
|
758
|
+
included_public_sybil_address_database: string;
|
|
759
|
+
ok: string;
|
|
760
|
+
only: string;
|
|
761
|
+
chain_verification: string;
|
|
762
|
+
once_qualified_every_point_counts_toward_better_rewards: string;
|
|
763
|
+
ongoing: string;
|
|
764
|
+
qualifier_selected_winner_select_method_depends_settings_fcfs: string;
|
|
765
|
+
oops: string;
|
|
766
|
+
oops_better_luck_next_time: string;
|
|
767
|
+
oops_seems_like_already_finished_quest: string;
|
|
768
|
+
oops_seems_like_already_finished_quest_2: string;
|
|
769
|
+
oops_better_luck_next_time_2: string;
|
|
770
|
+
open_blind_box: string;
|
|
771
|
+
open: string;
|
|
772
|
+
own: string;
|
|
773
|
+
own_least: string;
|
|
774
|
+
own_least_amount_token_name_chain_label: string;
|
|
775
|
+
own_amount_name_nft_chain: string;
|
|
776
|
+
participants: string;
|
|
777
|
+
participants_info: string;
|
|
778
|
+
participants_any_user_who_complete_least_1_task_quest: string;
|
|
779
|
+
pending_transaction: string;
|
|
780
|
+
please_bind_following_accounts_verify_eligibility: string;
|
|
781
|
+
please_complete_mandatory_tasks: string;
|
|
782
|
+
please_complete_required_tasks_before_continuing: string;
|
|
783
|
+
please_complete_optional_tasks: string;
|
|
784
|
+
please_confirm_wallet: string;
|
|
785
|
+
please_keep_participating_tasks_e_g_keep_following_x: string;
|
|
786
|
+
please_link_following_wallet_addresses_receive_rewards_required_fcfs: string;
|
|
787
|
+
please_link_following_wallet_addresses_receive_rewards_skip_step: string;
|
|
788
|
+
points_history: string;
|
|
789
|
+
points_winner: string;
|
|
790
|
+
position: string;
|
|
791
|
+
project_owner_selects_winners: string;
|
|
792
|
+
qr_code: string;
|
|
793
|
+
qualifier_point: string;
|
|
794
|
+
qualifiers: string;
|
|
795
|
+
quest_eligibility: string;
|
|
796
|
+
quest_rewards: string;
|
|
797
|
+
quest_found: string;
|
|
798
|
+
random_amount: string;
|
|
799
|
+
reach_poh_requirements: string;
|
|
800
|
+
reach_any_poh_requirements: string;
|
|
801
|
+
read: string;
|
|
802
|
+
refresh: string;
|
|
803
|
+
refresh_eligibility_status: string;
|
|
804
|
+
refreshing: string;
|
|
805
|
+
retry: string;
|
|
806
|
+
reward: string;
|
|
807
|
+
reward_amount_revealed_once_quest_ends: string;
|
|
808
|
+
rewards: string;
|
|
809
|
+
rewards_missed: string;
|
|
810
|
+
role: string;
|
|
811
|
+
save: string;
|
|
812
|
+
share: string;
|
|
813
|
+
share_qr_code: string;
|
|
814
|
+
show_less: string;
|
|
815
|
+
smart_blind_box: string;
|
|
816
|
+
social_accounts: string;
|
|
817
|
+
sorry_late: string;
|
|
818
|
+
space_id_domains_bnb_arb: string;
|
|
819
|
+
starting: string;
|
|
820
|
+
starts: string;
|
|
821
|
+
stay_tuned_verified_users_eligible_compete_rewards: string;
|
|
822
|
+
submitters: string;
|
|
823
|
+
successfully_entered: string;
|
|
824
|
+
switching_network: string;
|
|
825
|
+
system_drawing_winners: string;
|
|
826
|
+
system_automatically_select_winners: string;
|
|
827
|
+
task: string;
|
|
828
|
+
taskon_lv_level_higher: string;
|
|
829
|
+
taskon_lv_val: string;
|
|
830
|
+
taskon_poh_level_score_label: string;
|
|
831
|
+
taskon_val_level_lv: string;
|
|
832
|
+
tasks_incomplete: string;
|
|
833
|
+
receive_address_t_changed: string;
|
|
834
|
+
tier: string;
|
|
835
|
+
ensure_fair_experience_submissions_identical_wallet_addresses_x_discord: string;
|
|
836
|
+
receive_discord_role_reward_need_link_discord_account: string;
|
|
837
|
+
token_name: string;
|
|
838
|
+
token_rewards_pool: string;
|
|
839
|
+
top_100: string;
|
|
840
|
+
top_40_percent_50_percent: string;
|
|
841
|
+
top_ranked_users_win: string;
|
|
842
|
+
total_rewards_pool: string;
|
|
843
|
+
transaction_hash: string;
|
|
844
|
+
transaction_pending: string;
|
|
845
|
+
transaction_rejected_user: string;
|
|
846
|
+
twitter: string;
|
|
847
|
+
txn_hash: string;
|
|
848
|
+
unranked: string;
|
|
849
|
+
upcoming: string;
|
|
850
|
+
user: string;
|
|
851
|
+
validation_failed: string;
|
|
852
|
+
view_leaderboard: string;
|
|
853
|
+
view_explorer: string;
|
|
854
|
+
view_participants_info_details: string;
|
|
855
|
+
view_winners_list: string;
|
|
856
|
+
waiting_final_ranking_stay_tuned_see_win: string;
|
|
857
|
+
waiting_task_verification: string;
|
|
858
|
+
waiting_drawing_winners: string;
|
|
859
|
+
waiting_drawing_winners_stay_tuned_see_win: string;
|
|
860
|
+
waiting_final_ranking_stay_tuned_see_win_2: string;
|
|
861
|
+
waiting_project_owner_upload_winner_list_stay_tuned_see: string;
|
|
862
|
+
waiting_project_owner_upload_winner_list_stay_tuned_see_2: string;
|
|
863
|
+
wallet_address: string;
|
|
864
|
+
wallet_addresses_sybil_lists_these_protocols: string;
|
|
865
|
+
what_participants: string;
|
|
866
|
+
whitelist: string;
|
|
867
|
+
whitelist_description: string;
|
|
868
|
+
who_completes_least_1_task: string;
|
|
869
|
+
who_completes_quest: string;
|
|
870
|
+
winner_bonus: string;
|
|
871
|
+
winner_generated_following_chart: string;
|
|
872
|
+
winners: string;
|
|
873
|
+
winners_randomly_selected: string;
|
|
874
|
+
withdraw: string;
|
|
875
|
+
x_twitter: string;
|
|
876
|
+
x_account_verification: string;
|
|
877
|
+
x_account_don_t_use_default_profile_image: string;
|
|
878
|
+
you: string;
|
|
879
|
+
won: string;
|
|
880
|
+
here: string;
|
|
881
|
+
qualified_rewards_tier: string;
|
|
882
|
+
ranked: string;
|
|
883
|
+
check_transaction_explorer: string;
|
|
884
|
+
complete_campaign_without_linking_won_t_able_claim_discord: string;
|
|
885
|
+
already_claimed_nft_please_wait_transaction_confirmed: string;
|
|
886
|
+
won_multiple_rewards: string;
|
|
887
|
+
ranked_after_completing_mandatory_tasks_quest: string;
|
|
888
|
+
estimated_rewards: string;
|
|
889
|
+
final_rewards: string;
|
|
890
|
+
ranking: string;
|
|
891
|
+
complete_task: string;
|
|
892
|
+
own_discord_role: string;
|
|
893
|
+
own_discord_role_community: string;
|
|
894
|
+
completed_task: string;
|
|
895
|
+
own_discord_role_2: string;
|
|
896
|
+
own_discord_role_community_2: string;
|
|
897
|
+
name_lv_lt_count: string;
|
|
898
|
+
val_wallet_address_allowlist: string;
|
|
899
|
+
zkme_citizenship_nft_holder: string;
|
|
900
|
+
after: string;
|
|
901
|
+
tasks_reviewed: string;
|
|
902
|
+
better_luck: string;
|
|
903
|
+
recaptcha_verification_required: string;
|
|
904
|
+
following_eligibilities: string;
|
|
905
|
+
val_higher: string;
|
|
906
|
+
official: string;
|
|
907
|
+
winners_2: string;
|
|
908
|
+
eq_total_rewards_pool_pointname_total_pointname: string;
|
|
909
|
+
all: string;
|
|
910
|
+
any: string;
|
|
911
|
+
winners_announced: string;
|
|
912
|
+
least_count_transaction_s_chain: string;
|
|
913
|
+
click_copy_address: string;
|
|
914
|
+
complete_2: string;
|
|
915
|
+
complete_onchain_action_number_actionid: string;
|
|
916
|
+
completed_current_required_optional_tasks: string;
|
|
917
|
+
confirm: string;
|
|
918
|
+
did: string;
|
|
919
|
+
holder_own_least_one: string;
|
|
920
|
+
earned_current_required_points: string;
|
|
921
|
+
equivalent_amounts_token_name: string;
|
|
922
|
+
link_discord_account: string;
|
|
923
|
+
lv: string;
|
|
924
|
+
meet_eligibilities_below: string;
|
|
925
|
+
member_discord_server: string;
|
|
926
|
+
multiple_rewards_detail: string;
|
|
927
|
+
included_public_sybil_address: string;
|
|
928
|
+
chain_label: string;
|
|
929
|
+
poh_verification: string;
|
|
930
|
+
please_earn_least_count_points_optional_tasks: string;
|
|
931
|
+
please_move_key_blind_box_open_blind_box: string;
|
|
932
|
+
points: string;
|
|
933
|
+
qualifier: string;
|
|
934
|
+
quest: string;
|
|
935
|
+
required: string;
|
|
936
|
+
reviewed_tasks: string;
|
|
937
|
+
rewards_per_winner: string;
|
|
938
|
+
taskon_poh_level: string;
|
|
939
|
+
rankings_based_total_pointsname_earned_tasks_within_quest_instances: string;
|
|
940
|
+
quest_includes_proof_work_pow_tasks_which: string;
|
|
941
|
+
tier_index: string;
|
|
942
|
+
top_percent: string;
|
|
943
|
+
top: string;
|
|
944
|
+
top_2: string;
|
|
945
|
+
top_percent_2: string;
|
|
946
|
+
total_pointname: string;
|
|
947
|
+
usd_token_name: string;
|
|
948
|
+
waiting: string;
|
|
949
|
+
x_account_created_months_ago: string;
|
|
950
|
+
x_account_count_followers: string;
|
|
951
|
+
your: string;
|
|
952
|
+
database: string;
|
|
953
|
+
days: string;
|
|
954
|
+
first: string;
|
|
955
|
+
least: string;
|
|
956
|
+
in: string;
|
|
957
|
+
is: string;
|
|
958
|
+
participants_2: string;
|
|
959
|
+
tasks_secure_valid_ranking: string;
|
|
960
|
+
token: string;
|
|
961
|
+
review_winners_selected: string;
|
|
962
|
+
pointsname_collected_tasks_completed_during_quest: string;
|
|
963
|
+
claim_again_send_new_transaction_recommended_when_sure_there: string;
|
|
964
|
+
fcfs: string;
|
|
965
|
+
ranking_2: string;
|
|
966
|
+
before_join_please_meet_express_following_eligibilities: string;
|
|
967
|
+
complete_required_tasks_secure_valid_ranking: string;
|
|
968
|
+
holder_own_least_one_token_2: string;
|
|
969
|
+
member_discord_server_least_days: string;
|
|
970
|
+
included_public_sybil_address_database_2: string;
|
|
971
|
+
quest_includes_proof_work_pow_tasks_which_community_review: string;
|
|
972
|
+
waiting_community_reviewed_tasks: string;
|
|
973
|
+
lv_operator_count: string;
|
|
974
|
+
name_lv_operator_count: string;
|
|
975
|
+
name_operator_count: string;
|
|
976
|
+
pointname: string;
|
|
977
|
+
amount_qualifier_pointsname: string;
|
|
978
|
+
days_2: string;
|
|
979
|
+
}>;
|
|
980
|
+
|
|
324
981
|
/**
|
|
325
982
|
* 获取 Quest 状态信息 Hook
|
|
326
983
|
*
|
|
@@ -403,4 +1060,29 @@ export declare interface UseQuestUserStatusReturn {
|
|
|
403
1060
|
updateTaskStatus: (taskId: number, isAsync?: boolean) => void;
|
|
404
1061
|
}
|
|
405
1062
|
|
|
1063
|
+
/**
|
|
1064
|
+
* Return type for useTranslation hook
|
|
1065
|
+
*/
|
|
1066
|
+
declare interface UseTranslationResult<T> {
|
|
1067
|
+
/**
|
|
1068
|
+
* Translation function with interpolation support
|
|
1069
|
+
*
|
|
1070
|
+
* @example
|
|
1071
|
+
* ```ts
|
|
1072
|
+
* t('greeting', { name: 'John' }) // => 'Hello, John!'
|
|
1073
|
+
* t('points', { count: 100 }) // => 'You have 100 points'
|
|
1074
|
+
* ```
|
|
1075
|
+
*/
|
|
1076
|
+
t: TFunction<T>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Raw messages object (without interpolation)
|
|
1079
|
+
* Useful when you need direct access to message strings
|
|
1080
|
+
*/
|
|
1081
|
+
messages: T;
|
|
1082
|
+
/**
|
|
1083
|
+
* Whether translations are currently loading
|
|
1084
|
+
*/
|
|
1085
|
+
isLoading: boolean;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
406
1088
|
export { }
|