@blockscout/ui-toolkit 0.0.1-alpha.1 → 0.0.1-alpha.3

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.
Files changed (376) hide show
  1. package/README.md +5 -0
  2. package/dist/chakra/accordion.d.ts +1 -1
  3. package/dist/chakra/drawer.d.ts +1 -1
  4. package/dist/chakra/popover.d.ts +1 -2
  5. package/dist/chakra/select.d.ts +4 -1
  6. package/dist/components/AdaptiveTabs/index.d.ts +3 -0
  7. package/dist/components/Hint/Hint.d.ts +11 -0
  8. package/dist/components/RoutedTabs/index.d.ts +3 -0
  9. package/dist/components/buttons/BackToButton.d.ts +7 -0
  10. package/dist/components/buttons/ClearButton.d.ts +6 -0
  11. package/dist/components/{Filter → filters}/FilterInput.d.ts +2 -3
  12. package/dist/components/forms/components/FormFieldError.d.ts +7 -0
  13. package/dist/components/forms/components/index.d.ts +1 -0
  14. package/dist/components/forms/fields/FormFieldAddress.d.ts +5 -0
  15. package/dist/components/forms/fields/FormFieldCheckbox.d.ts +9 -0
  16. package/dist/components/forms/fields/FormFieldColor.d.ts +9 -0
  17. package/dist/components/forms/fields/FormFieldEmail.d.ts +5 -0
  18. package/dist/components/forms/fields/FormFieldSelect.d.ts +7 -0
  19. package/dist/components/forms/fields/FormFieldSelectAsync.d.ts +7 -0
  20. package/dist/components/forms/fields/FormFieldText.d.ts +8 -0
  21. package/dist/components/forms/fields/FormFieldUrl.d.ts +4 -0
  22. package/dist/components/forms/fields/image/FormFieldImagePreview.d.ts +13 -0
  23. package/dist/components/forms/fields/image/useImageField.d.ts +25 -0
  24. package/dist/components/forms/fields/index.d.ts +10 -0
  25. package/dist/components/forms/fields/types.d.ts +19 -0
  26. package/dist/components/forms/inputs/file/DragAndDropArea.d.ts +11 -0
  27. package/dist/components/forms/inputs/file/FileInput.d.ts +13 -0
  28. package/dist/components/forms/inputs/file/FileSnippet.d.ts +11 -0
  29. package/dist/components/forms/inputs/file/utils.d.ts +2 -0
  30. package/dist/components/forms/inputs/index.d.ts +3 -0
  31. package/dist/components/forms/utils/getFormFieldErrorText.d.ts +2 -0
  32. package/dist/components/forms/utils/index.d.ts +1 -0
  33. package/dist/components/forms/validators/address.d.ts +3 -0
  34. package/dist/components/forms/validators/color.d.ts +2 -0
  35. package/dist/components/forms/validators/email.d.ts +2 -0
  36. package/dist/components/forms/validators/index.d.ts +7 -0
  37. package/dist/components/forms/validators/signature.d.ts +1 -0
  38. package/dist/components/forms/validators/text.d.ts +1 -0
  39. package/dist/components/forms/validators/transaction.d.ts +2 -0
  40. package/dist/components/forms/validators/url.d.ts +3 -0
  41. package/dist/components/truncation/TruncatedTextTooltip.d.ts +8 -0
  42. package/dist/hooks/useClipboard.d.ts +1 -1
  43. package/dist/hooks/useFirstMountState.d.ts +1 -0
  44. package/dist/hooks/useIsSticky.d.ts +2 -0
  45. package/dist/hooks/useUpdateEffect.d.ts +2 -0
  46. package/dist/hooks/useViewportSize.d.ts +1 -1
  47. package/dist/index.d.ts +2 -0
  48. package/dist/index.js +10479 -0
  49. package/dist/package/src/index.d.ts +29 -11
  50. package/dist/theme/recipes/alert.recipe.d.ts +6 -46
  51. package/dist/theme/recipes/badge.recipe.d.ts +11 -44
  52. package/dist/theme/recipes/button.recipe.d.ts +17 -20
  53. package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
  54. package/dist/theme/recipes/dialog.recipe.d.ts +1 -1
  55. package/dist/theme/recipes/drawer.recipe.d.ts +1 -1
  56. package/dist/theme/recipes/index.d.ts +47 -147
  57. package/dist/theme/recipes/link.recipe.d.ts +1 -9
  58. package/dist/theme/recipes/list.recipe.d.ts +1 -1
  59. package/dist/theme/recipes/menu.recipe.d.ts +1 -1
  60. package/dist/theme/recipes/select.recipe.d.ts +1 -1
  61. package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
  62. package/dist/theme/recipes/table.recipe.d.ts +1 -1
  63. package/dist/theme/recipes/tag.recipe.d.ts +0 -12
  64. package/dist/theme/recipes/toast.recipe.d.ts +1 -1
  65. package/dist/theme/theme.d.ts +1 -0
  66. package/dist/utils/consts.d.ts +15 -0
  67. package/dist/utils/guards.d.ts +2 -0
  68. package/dist/utils/htmlEntities.d.ts +26 -0
  69. package/dist/utils/isBrowser.d.ts +1 -0
  70. package/dist/utils/regexp.d.ts +6 -0
  71. package/dist/utils/url.d.ts +6 -0
  72. package/package.json +17 -28
  73. package/dist/_virtual/Button.js +0 -4
  74. package/dist/_virtual/Element.js +0 -4
  75. package/dist/_virtual/Link.js +0 -4
  76. package/dist/_virtual/_commonjsHelpers.js +0 -4
  77. package/dist/_virtual/animate-scroll.js +0 -4
  78. package/dist/_virtual/cancel-events.js +0 -4
  79. package/dist/_virtual/index.js +0 -5
  80. package/dist/_virtual/index2.js +0 -4
  81. package/dist/_virtual/index3.js +0 -4
  82. package/dist/_virtual/index4.js +0 -4
  83. package/dist/_virtual/jsx-runtime.js +0 -5
  84. package/dist/_virtual/jsx-runtime2.js +0 -4
  85. package/dist/_virtual/passive-event-listeners.js +0 -4
  86. package/dist/_virtual/react-is.development.js +0 -4
  87. package/dist/_virtual/react-is.production.min.js +0 -4
  88. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  89. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
  90. package/dist/_virtual/scroll-element.js +0 -4
  91. package/dist/_virtual/scroll-events.js +0 -4
  92. package/dist/_virtual/scroll-hash.js +0 -4
  93. package/dist/_virtual/scroll-link.js +0 -4
  94. package/dist/_virtual/scroll-spy.js +0 -4
  95. package/dist/_virtual/scroller.js +0 -4
  96. package/dist/_virtual/smooth.js +0 -4
  97. package/dist/_virtual/utils.js +0 -4
  98. package/dist/chakra/accordion.js +0 -61
  99. package/dist/chakra/alert.js +0 -45
  100. package/dist/chakra/avatar.js +0 -36
  101. package/dist/chakra/badge.js +0 -18
  102. package/dist/chakra/button.js +0 -65
  103. package/dist/chakra/checkbox.js +0 -33
  104. package/dist/chakra/close-button.js +0 -13
  105. package/dist/chakra/collapsible.js +0 -58
  106. package/dist/chakra/color-mode.js +0 -35
  107. package/dist/chakra/dialog.js +0 -47
  108. package/dist/chakra/drawer.js +0 -39
  109. package/dist/chakra/field.js +0 -65
  110. package/dist/chakra/heading.js +0 -12
  111. package/dist/chakra/icon-button.js +0 -44
  112. package/dist/chakra/image.js +0 -30
  113. package/dist/chakra/input-group.js +0 -47
  114. package/dist/chakra/input.js +0 -5
  115. package/dist/chakra/link.js +0 -68
  116. package/dist/chakra/menu.js +0 -63
  117. package/dist/chakra/pin-input.js +0 -15
  118. package/dist/chakra/popover.js +0 -69
  119. package/dist/chakra/progress-circle.js +0 -17
  120. package/dist/chakra/provider.js +0 -10
  121. package/dist/chakra/radio.js +0 -17
  122. package/dist/chakra/rating.js +0 -21
  123. package/dist/chakra/select.js +0 -185
  124. package/dist/chakra/skeleton.js +0 -40
  125. package/dist/chakra/slider.js +0 -39
  126. package/dist/chakra/switch.js +0 -19
  127. package/dist/chakra/table.js +0 -66
  128. package/dist/chakra/tabs.js +0 -29
  129. package/dist/chakra/tag.js +0 -51
  130. package/dist/chakra/textarea.js +0 -5
  131. package/dist/chakra/toaster.js +0 -31
  132. package/dist/chakra/tooltip.js +0 -85
  133. package/dist/chakra.d.ts +0 -1
  134. package/dist/chakra.js +0 -155
  135. package/dist/components/ButtonBackTo.d.ts +0 -8
  136. package/dist/components/ButtonBackTo.js +0 -22
  137. package/dist/components/Filter/FilterInput.js +0 -48
  138. package/dist/components/TruncatedTextTooltip.d.ts +0 -9
  139. package/dist/components/TruncatedTextTooltip.js +0 -49
  140. package/dist/components/index.d.ts +0 -1
  141. package/dist/components.d.ts +0 -2
  142. package/dist/components.js +0 -1
  143. package/dist/configs/app/api.js +0 -23
  144. package/dist/configs/app/app.js +0 -19
  145. package/dist/configs/app/chain.js +0 -30
  146. package/dist/configs/app/features/account.js +0 -13
  147. package/dist/configs/app/features/addressMetadata.js +0 -15
  148. package/dist/configs/app/features/addressProfileAPI.js +0 -25
  149. package/dist/configs/app/features/addressVerification.js +0 -17
  150. package/dist/configs/app/features/adsBanner.js +0 -50
  151. package/dist/configs/app/features/adsText.js +0 -16
  152. package/dist/configs/app/features/advancedFilter.js +0 -11
  153. package/dist/configs/app/features/beaconChain.js +0 -15
  154. package/dist/configs/app/features/blockchainInteraction.js +0 -15
  155. package/dist/configs/app/features/bridgedTokens.js +0 -16
  156. package/dist/configs/app/features/celo.js +0 -13
  157. package/dist/configs/app/features/csvExport.js +0 -14
  158. package/dist/configs/app/features/dataAvailability.js +0 -11
  159. package/dist/configs/app/features/deFiDropdown.js +0 -12
  160. package/dist/configs/app/features/easterEggBadge.js +0 -12
  161. package/dist/configs/app/features/externalTxs.js +0 -14
  162. package/dist/configs/app/features/faultProofSystem.js +0 -12
  163. package/dist/configs/app/features/gasTracker.js +0 -17
  164. package/dist/configs/app/features/getGasButton.js +0 -17
  165. package/dist/configs/app/features/googleAnalytics.js +0 -12
  166. package/dist/configs/app/features/graphqlApiDocs.js +0 -12
  167. package/dist/configs/app/features/growthBook.js +0 -12
  168. package/dist/configs/app/features/index.js +0 -92
  169. package/dist/configs/app/features/marketplace.js +0 -46
  170. package/dist/configs/app/features/metasuites.js +0 -11
  171. package/dist/configs/app/features/mixpanel.js +0 -12
  172. package/dist/configs/app/features/mudFramework.js +0 -12
  173. package/dist/configs/app/features/multichainButton.js +0 -18
  174. package/dist/configs/app/features/nameService.js +0 -15
  175. package/dist/configs/app/features/pools.js +0 -15
  176. package/dist/configs/app/features/publicTagsSubmission.js +0 -17
  177. package/dist/configs/app/features/restApiDocs.js +0 -12
  178. package/dist/configs/app/features/rewards.js +0 -17
  179. package/dist/configs/app/features/rollbar.js +0 -20
  180. package/dist/configs/app/features/rollup.js +0 -37
  181. package/dist/configs/app/features/safe.js +0 -23
  182. package/dist/configs/app/features/saveOnGas.js +0 -13
  183. package/dist/configs/app/features/sol2uml.js +0 -16
  184. package/dist/configs/app/features/stats.js +0 -16
  185. package/dist/configs/app/features/suave.js +0 -11
  186. package/dist/configs/app/features/txInterpretation.js +0 -16
  187. package/dist/configs/app/features/userOps.js +0 -11
  188. package/dist/configs/app/features/validators.js +0 -16
  189. package/dist/configs/app/features/verifiedTokens.js +0 -15
  190. package/dist/configs/app/features/web3Wallet.js +0 -24
  191. package/dist/configs/app/features/xStarScore.js +0 -12
  192. package/dist/configs/app/index.js +0 -19
  193. package/dist/configs/app/meta.js +0 -16
  194. package/dist/configs/app/services.js +0 -9
  195. package/dist/configs/app/ui/views/address.js +0 -36
  196. package/dist/configs/app/ui/views/block.js +0 -11
  197. package/dist/configs/app/ui/views/index.js +0 -12
  198. package/dist/configs/app/ui/views/nft.js +0 -10
  199. package/dist/configs/app/ui/views/token.js +0 -7
  200. package/dist/configs/app/ui/views/tx.js +0 -15
  201. package/dist/configs/app/ui.js +0 -128
  202. package/dist/configs/app/utils.js +0 -45
  203. package/dist/hooks/useClipboard.js +0 -27
  204. package/dist/hooks/useDisclosure.js +0 -17
  205. package/dist/hooks/useViewportSize.js +0 -17
  206. package/dist/hooks.d.ts +0 -1
  207. package/dist/hooks.js +0 -8
  208. package/dist/icons/arrows/east-mini.svg.js +0 -4
  209. package/dist/icons/arrows/east.svg.js +0 -4
  210. package/dist/icons/check.svg.js +0 -4
  211. package/dist/icons/close.svg.js +0 -4
  212. package/dist/icons/info_filled.svg.js +0 -4
  213. package/dist/icons/link_external.svg.js +0 -4
  214. package/dist/icons/star_filled.svg.js +0 -4
  215. package/dist/icons/star_outline.svg.js +0 -4
  216. package/dist/lib/consts.js +0 -10
  217. package/dist/lib/hooks/useFirstMountState.js +0 -8
  218. package/dist/lib/hooks/useIsMobile.js +0 -7
  219. package/dist/lib/hooks/useUpdateEffect.js +0 -12
  220. package/dist/lib/html-entities.js +0 -5
  221. package/dist/lib/isBrowser.js +0 -6
  222. package/dist/lib/regexp.js +0 -4
  223. package/dist/lib/settings/colorTheme.js +0 -33
  224. package/dist/lib/stripTrailingSlash.js +0 -4
  225. package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
  226. package/dist/node_modules/bignumber.js/bignumber.js +0 -627
  227. package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
  228. package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
  229. package/dist/node_modules/lodash.throttle/index.js +0 -95
  230. package/dist/node_modules/object-assign/index.js +0 -54
  231. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  232. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  233. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  234. package/dist/node_modules/prop-types/index.js +0 -17
  235. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  236. package/dist/node_modules/prop-types/lib/has.js +0 -7
  237. package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
  238. package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
  239. package/dist/node_modules/react-icons/lu/index.js +0 -12
  240. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
  241. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  242. package/dist/node_modules/react-is/index.js +0 -10
  243. package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
  244. package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
  245. package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
  246. package/dist/node_modules/react-scroll/modules/index.js +0 -26
  247. package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
  248. package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
  249. package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
  250. package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
  251. package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
  252. package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
  253. package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
  254. package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
  255. package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
  256. package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
  257. package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
  258. package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
  259. package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
  260. package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
  261. package/dist/package/node_modules/react/jsx-runtime.js +0 -10
  262. package/dist/theme/foundations/animations.js +0 -15
  263. package/dist/theme/foundations/animations.ts +0 -12
  264. package/dist/theme/foundations/borders.js +0 -12
  265. package/dist/theme/foundations/borders.ts +0 -13
  266. package/dist/theme/foundations/breakpoints.js +0 -11
  267. package/dist/theme/foundations/breakpoints.ts +0 -10
  268. package/dist/theme/foundations/colors.js +0 -163
  269. package/dist/theme/foundations/colors.ts +0 -162
  270. package/dist/theme/foundations/durations.js +0 -12
  271. package/dist/theme/foundations/durations.ts +0 -15
  272. package/dist/theme/foundations/semanticTokens.js +0 -474
  273. package/dist/theme/foundations/semanticTokens.ts +0 -475
  274. package/dist/theme/foundations/shadows.js +0 -16
  275. package/dist/theme/foundations/shadows.ts +0 -19
  276. package/dist/theme/foundations/typography.js +0 -92
  277. package/dist/theme/foundations/typography.ts +0 -93
  278. package/dist/theme/foundations/zIndex.js +0 -24
  279. package/dist/theme/foundations/zIndex.ts +0 -20
  280. package/dist/theme/globalCss.js +0 -51
  281. package/dist/theme/globalCss.ts +0 -57
  282. package/dist/theme/globals/address-entity.js +0 -34
  283. package/dist/theme/globals/address-entity.ts +0 -33
  284. package/dist/theme/globals/recaptcha.js +0 -21
  285. package/dist/theme/globals/recaptcha.ts +0 -20
  286. package/dist/theme/globals/scrollbar.js +0 -33
  287. package/dist/theme/globals/scrollbar.ts +0 -32
  288. package/dist/theme/index.d.ts +0 -1
  289. package/dist/theme/index.ts +0 -1
  290. package/dist/theme/recipes/accordion.recipe.js +0 -143
  291. package/dist/theme/recipes/accordion.recipe.ts +0 -145
  292. package/dist/theme/recipes/alert.recipe.js +0 -134
  293. package/dist/theme/recipes/alert.recipe.ts +0 -138
  294. package/dist/theme/recipes/badge.recipe.js +0 -119
  295. package/dist/theme/recipes/badge.recipe.ts +0 -117
  296. package/dist/theme/recipes/button.recipe.js +0 -272
  297. package/dist/theme/recipes/button.recipe.ts +0 -270
  298. package/dist/theme/recipes/checkbox.recipe.js +0 -53
  299. package/dist/theme/recipes/checkbox.recipe.ts +0 -56
  300. package/dist/theme/recipes/checkmark.recipe.js +0 -73
  301. package/dist/theme/recipes/checkmark.recipe.ts +0 -73
  302. package/dist/theme/recipes/close-button.recipe.js +0 -39
  303. package/dist/theme/recipes/close-button.recipe.ts +0 -37
  304. package/dist/theme/recipes/dialog.recipe.js +0 -210
  305. package/dist/theme/recipes/dialog.recipe.ts +0 -213
  306. package/dist/theme/recipes/drawer.recipe.js +0 -168
  307. package/dist/theme/recipes/drawer.recipe.ts +0 -173
  308. package/dist/theme/recipes/field.recipe.js +0 -174
  309. package/dist/theme/recipes/field.recipe.ts +0 -175
  310. package/dist/theme/recipes/index.js +0 -69
  311. package/dist/theme/recipes/index.ts +0 -68
  312. package/dist/theme/recipes/input.recipe.js +0 -116
  313. package/dist/theme/recipes/input.recipe.ts +0 -119
  314. package/dist/theme/recipes/link.recipe.js +0 -88
  315. package/dist/theme/recipes/link.recipe.ts +0 -86
  316. package/dist/theme/recipes/list.recipe.js +0 -65
  317. package/dist/theme/recipes/list.recipe.ts +0 -67
  318. package/dist/theme/recipes/menu.recipe.js +0 -104
  319. package/dist/theme/recipes/menu.recipe.ts +0 -105
  320. package/dist/theme/recipes/pin-input.recipe.js +0 -34
  321. package/dist/theme/recipes/pin-input.recipe.ts +0 -35
  322. package/dist/theme/recipes/popover.recipe.js +0 -72
  323. package/dist/theme/recipes/popover.recipe.ts +0 -70
  324. package/dist/theme/recipes/progress-circle.recipe.js +0 -74
  325. package/dist/theme/recipes/progress-circle.recipe.ts +0 -74
  326. package/dist/theme/recipes/radio-group.recipe.js +0 -69
  327. package/dist/theme/recipes/radio-group.recipe.ts +0 -73
  328. package/dist/theme/recipes/radiomark.recipe.js +0 -87
  329. package/dist/theme/recipes/radiomark.recipe.ts +0 -91
  330. package/dist/theme/recipes/rating-group.recipe.js +0 -84
  331. package/dist/theme/recipes/rating-group.recipe.ts +0 -93
  332. package/dist/theme/recipes/select.recipe.js +0 -275
  333. package/dist/theme/recipes/select.recipe.ts +0 -277
  334. package/dist/theme/recipes/skeleton.recipe.js +0 -54
  335. package/dist/theme/recipes/skeleton.recipe.ts +0 -55
  336. package/dist/theme/recipes/spinner.recipe.js +0 -33
  337. package/dist/theme/recipes/spinner.recipe.ts +0 -31
  338. package/dist/theme/recipes/stat.recipe.js +0 -101
  339. package/dist/theme/recipes/stat.recipe.ts +0 -101
  340. package/dist/theme/recipes/switch.recipe.js +0 -125
  341. package/dist/theme/recipes/switch.recipe.ts +0 -130
  342. package/dist/theme/recipes/table.recipe.js +0 -83
  343. package/dist/theme/recipes/table.recipe.ts +0 -84
  344. package/dist/theme/recipes/tabs.recipe.js +0 -216
  345. package/dist/theme/recipes/tabs.recipe.ts +0 -219
  346. package/dist/theme/recipes/tag.recipe.js +0 -157
  347. package/dist/theme/recipes/tag.recipe.ts +0 -158
  348. package/dist/theme/recipes/textarea.recipe.js +0 -86
  349. package/dist/theme/recipes/textarea.recipe.ts +0 -86
  350. package/dist/theme/recipes/toast.recipe.js +0 -98
  351. package/dist/theme/recipes/toast.recipe.ts +0 -97
  352. package/dist/theme/recipes/tooltip.recipe.js +0 -87
  353. package/dist/theme/recipes/tooltip.recipe.ts +0 -85
  354. package/dist/theme/theme.js +0 -40
  355. package/dist/theme/theme.ts +0 -41
  356. package/dist/theme/utils/entries.js +0 -11
  357. package/dist/theme/utils/entries.ts +0 -12
  358. package/dist/theme.d.ts +0 -2
  359. package/dist/theme.js +0 -4
  360. package/dist/types/client/adProviders.js +0 -12
  361. package/dist/types/client/contract.js +0 -13
  362. package/dist/types/client/gasTracker.js +0 -7
  363. package/dist/types/client/navigation.js +0 -4
  364. package/dist/types/client/rollup.js +0 -11
  365. package/dist/types/client/txInterpretation.js +0 -8
  366. package/dist/types/client/validators.js +0 -8
  367. package/dist/types/client/wallets.js +0 -8
  368. package/dist/types/homepage.js +0 -15
  369. package/dist/types/views/address.js +0 -14
  370. package/dist/types/views/block.js +0 -12
  371. package/dist/types/views/tx.js +0 -16
  372. package/dist/ui/shared/forms/validators/url.js +0 -12
  373. package/dist/utils/getComponentDisplayName.js +0 -7
  374. package/dist/utils/index.d.ts +0 -1
  375. package/dist/utils.d.ts +0 -2
  376. package/dist/utils.js +0 -4
@@ -1,14 +0,0 @@
1
- import { parseEnvJson as r, getEnvValue as t } from "../utils.js";
2
- const e = r(t("NEXT_PUBLIC_TX_EXTERNAL_TRANSACTIONS_CONFIG")), n = "External transactions", l = Object.freeze(e ? {
3
- title: n,
4
- isEnabled: !0,
5
- chainName: e.chain_name,
6
- chainLogoUrl: e.chain_logo_url,
7
- explorerUrlTemplate: e.explorer_url_template
8
- } : {
9
- title: n,
10
- isEnabled: !1
11
- });
12
- export {
13
- l as default
14
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as r } from "../utils.js";
2
- import e from "./rollup.js";
3
- const t = "Fault proof system", f = e.isEnabled && e.type === "optimistic" && r("NEXT_PUBLIC_FAULT_PROOF_ENABLED") === "true" ? Object.freeze({
4
- title: t,
5
- isEnabled: !0
6
- }) : Object.freeze({
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- f as default
12
- };
@@ -1,17 +0,0 @@
1
- import { GAS_UNITS as o } from "../../../types/client/gasTracker.js";
2
- import { getEnvValue as r, parseEnvJson as u } from "../utils.js";
3
- const a = r("NEXT_PUBLIC_GAS_TRACKER_ENABLED") === "false", n = (() => {
4
- var t;
5
- const e = r("NEXT_PUBLIC_GAS_TRACKER_UNITS");
6
- return e ? ((t = u(e)) == null ? void 0 : t.filter((i) => o.includes(i))) || [] : ["usd", "gwei"];
7
- })(), s = "Gas tracker", E = !a && n.length > 0 ? Object.freeze({
8
- title: s,
9
- isEnabled: !0,
10
- units: n
11
- }) : Object.freeze({
12
- title: s,
13
- isEnabled: !1
14
- });
15
- export {
16
- E as default
17
- };
@@ -1,17 +0,0 @@
1
- import o from "../chain.js";
2
- import { parseEnvJson as r, getEnvValue as a } from "../utils.js";
3
- import n from "./marketplace.js";
4
- const e = r(a("NEXT_PUBLIC_GAS_REFUEL_PROVIDER_CONFIG")), t = "Get gas button", p = Object.freeze(e ? {
5
- title: t,
6
- isEnabled: !0,
7
- name: e.name,
8
- logoUrl: e.logo,
9
- url: e.url_template.replace("{chainId}", o.id || ""),
10
- dappId: n.isEnabled ? e.dapp_id : void 0
11
- } : {
12
- title: t,
13
- isEnabled: !1
14
- });
15
- export {
16
- p as default
17
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as r } from "../utils.js";
2
- const e = r("NEXT_PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID"), t = "Google analytics", o = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- propertyId: e
6
- } : {
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- o as default
12
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as n } from "../utils.js";
2
- const e = n("NEXT_PUBLIC_GRAPHIQL_TRANSACTION"), t = "GraphQL API documentation", a = Object.freeze(e === "none" ? {
3
- title: t,
4
- isEnabled: !1
5
- } : {
6
- title: t,
7
- isEnabled: !0,
8
- defaultTxHash: e
9
- });
10
- export {
11
- a as default
12
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as n } from "../utils.js";
2
- const e = n("NEXT_PUBLIC_GROWTH_BOOK_CLIENT_KEY"), t = "GrowthBook feature flagging and A/B testing", o = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- clientKey: e
6
- } : {
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- o as default
12
- };
@@ -1,92 +0,0 @@
1
- import { default as t } from "./advancedFilter.js";
2
- import { default as o } from "./account.js";
3
- import { default as s } from "./addressVerification.js";
4
- import { default as d } from "./addressMetadata.js";
5
- import { default as p } from "./adsBanner.js";
6
- import { default as x } from "./adsText.js";
7
- import { default as n } from "./beaconChain.js";
8
- import { default as g } from "./bridgedTokens.js";
9
- import { default as v } from "./blockchainInteraction.js";
10
- import { default as T } from "./celo.js";
11
- import { default as w } from "./csvExport.js";
12
- import { default as B } from "./dataAvailability.js";
13
- import { default as y } from "./deFiDropdown.js";
14
- import { default as F } from "./easterEggBadge.js";
15
- import { default as P } from "./externalTxs.js";
16
- import { default as G } from "./faultProofSystem.js";
17
- import { default as q } from "./gasTracker.js";
18
- import { default as M } from "./getGasButton.js";
19
- import { default as W } from "./googleAnalytics.js";
20
- import { default as z } from "./graphqlApiDocs.js";
21
- import { default as J } from "./growthBook.js";
22
- import { default as L } from "./marketplace.js";
23
- import { default as Q } from "./metasuites.js";
24
- import { default as U } from "./mixpanel.js";
25
- import { default as Y } from "./mudFramework.js";
26
- import { default as _ } from "./multichainButton.js";
27
- import { default as aa } from "./nameService.js";
28
- import { default as ta } from "./pools.js";
29
- import { default as oa } from "./publicTagsSubmission.js";
30
- import { default as sa } from "./restApiDocs.js";
31
- import { default as da } from "./rewards.js";
32
- import { default as pa } from "./rollbar.js";
33
- import { default as xa } from "./rollup.js";
34
- import { default as na } from "./safe.js";
35
- import { default as ga } from "./saveOnGas.js";
36
- import { default as va } from "./sol2uml.js";
37
- import { default as Ta } from "./stats.js";
38
- import { default as wa } from "./suave.js";
39
- import { default as Ba } from "./txInterpretation.js";
40
- import { default as ya } from "./userOps.js";
41
- import { default as Fa } from "./addressProfileAPI.js";
42
- import { default as Pa } from "./validators.js";
43
- import { default as Ga } from "./verifiedTokens.js";
44
- import { default as qa } from "./web3Wallet.js";
45
- import { default as Ma } from "./xStarScore.js";
46
- export {
47
- o as account,
48
- d as addressMetadata,
49
- Fa as addressProfileAPI,
50
- s as addressVerification,
51
- p as adsBanner,
52
- x as adsText,
53
- t as advancedFilter,
54
- n as beaconChain,
55
- v as blockchainInteraction,
56
- g as bridgedTokens,
57
- T as celo,
58
- w as csvExport,
59
- B as dataAvailability,
60
- y as deFiDropdown,
61
- F as easterEggBadge,
62
- P as externalTxs,
63
- G as faultProofSystem,
64
- q as gasTracker,
65
- M as getGasButton,
66
- W as googleAnalytics,
67
- z as graphqlApiDocs,
68
- J as growthBook,
69
- L as marketplace,
70
- Q as metasuites,
71
- U as mixpanel,
72
- Y as mudFramework,
73
- _ as multichainButton,
74
- aa as nameService,
75
- ta as pools,
76
- oa as publicTagsSubmission,
77
- sa as restApiDocs,
78
- da as rewards,
79
- pa as rollbar,
80
- xa as rollup,
81
- na as safe,
82
- ga as saveOnGas,
83
- va as sol2uml,
84
- Ta as stats,
85
- wa as suave,
86
- Ba as txInterpretation,
87
- ya as userOps,
88
- Pa as validators,
89
- Ga as verifiedTokens,
90
- qa as web3Wallet,
91
- Ma as xStarScore
92
- };
@@ -1,46 +0,0 @@
1
- import i from "../chain.js";
2
- import { getEnvValue as e, getExternalAssetFilePath as E } from "../utils.js";
3
- const o = e("NEXT_PUBLIC_MARKETPLACE_ENABLED"), r = E("NEXT_PUBLIC_MARKETPLACE_CONFIG_URL"), A = e("NEXT_PUBLIC_MARKETPLACE_SUBMIT_FORM"), R = e("NEXT_PUBLIC_MARKETPLACE_SUGGEST_IDEAS_FORM"), U = E("NEXT_PUBLIC_MARKETPLACE_CATEGORIES_URL"), n = e("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), P = E("NEXT_PUBLIC_MARKETPLACE_SECURITY_REPORTS_URL"), I = e("NEXT_PUBLIC_MARKETPLACE_FEATURED_APP"), s = E("NEXT_PUBLIC_MARKETPLACE_BANNER_CONTENT_URL"), L = e("NEXT_PUBLIC_MARKETPLACE_BANNER_LINK_URL"), T = e("NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_API_KEY"), a = e("NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_BASE_ID"), C = E("NEXT_PUBLIC_MARKETPLACE_GRAPH_LINKS_URL"), _ = "Marketplace", N = (() => {
4
- if (o === "true" && i.rpcUrls.length > 0 && A) {
5
- const t = {
6
- submitFormUrl: A,
7
- categoriesUrl: U,
8
- suggestIdeasFormUrl: R,
9
- securityReportsUrl: P,
10
- featuredApp: I,
11
- banner: s && L ? {
12
- contentUrl: s,
13
- linkUrl: L
14
- } : void 0,
15
- rating: T && a ? {
16
- airtableApiKey: T,
17
- airtableBaseId: a
18
- } : void 0,
19
- graphLinksUrl: C
20
- };
21
- if (r)
22
- return Object.freeze({
23
- title: _,
24
- isEnabled: !0,
25
- configUrl: r,
26
- ...t
27
- });
28
- if (n)
29
- return Object.freeze({
30
- title: _,
31
- isEnabled: !0,
32
- api: {
33
- endpoint: n,
34
- basePath: ""
35
- },
36
- ...t
37
- });
38
- }
39
- return Object.freeze({
40
- title: _,
41
- isEnabled: !1
42
- });
43
- })();
44
- export {
45
- N as default
46
- };
@@ -1,11 +0,0 @@
1
- import { getEnvValue as t } from "../utils.js";
2
- const e = "MetaSuites extension", n = t("NEXT_PUBLIC_METASUITES_ENABLED") === "true" ? Object.freeze({
3
- title: e,
4
- isEnabled: !0
5
- }) : Object.freeze({
6
- title: e,
7
- isEnabled: !1
8
- });
9
- export {
10
- n as default
11
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as n } from "../utils.js";
2
- const e = n("NEXT_PUBLIC_MIXPANEL_PROJECT_TOKEN"), t = "Mixpanel analytics", a = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- projectToken: e
6
- } : {
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- a as default
12
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as r } from "../utils.js";
2
- import e from "./rollup.js";
3
- const t = "MUD framework", f = e.isEnabled && e.type === "optimistic" && r("NEXT_PUBLIC_HAS_MUD_FRAMEWORK") === "true" ? Object.freeze({
4
- title: t,
5
- isEnabled: !0
6
- }) : Object.freeze({
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- f as default
12
- };
@@ -1,18 +0,0 @@
1
- import { parseEnvJson as l, getEnvValue as n } from "../utils.js";
2
- import o from "./marketplace.js";
3
- const a = l(n("NEXT_PUBLIC_MULTICHAIN_BALANCE_PROVIDER_CONFIG")), t = "Multichain balance", s = Object.freeze(a ? {
4
- title: t,
5
- isEnabled: !0,
6
- providers: a.map((e) => ({
7
- name: e.name,
8
- logoUrl: e.logo,
9
- urlTemplate: e.url_template,
10
- dappId: o.isEnabled ? e.dapp_id : void 0
11
- }))
12
- } : {
13
- title: t,
14
- isEnabled: !1
15
- });
16
- export {
17
- s as default
18
- };
@@ -1,15 +0,0 @@
1
- import { getEnvValue as n } from "../utils.js";
2
- const e = n("NEXT_PUBLIC_NAME_SERVICE_API_HOST"), t = "Name service integration", i = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- api: {
6
- endpoint: e,
7
- basePath: ""
8
- }
9
- } : {
10
- title: t,
11
- isEnabled: !1
12
- });
13
- export {
14
- i as default
15
- };
@@ -1,15 +0,0 @@
1
- import { getEnvValue as o } from "../utils.js";
2
- const e = o("NEXT_PUBLIC_CONTRACT_INFO_API_HOST"), n = o("NEXT_PUBLIC_DEX_POOLS_ENABLED") === "true", t = "DEX Pools", s = Object.freeze(e && n ? {
3
- title: t,
4
- isEnabled: !0,
5
- api: {
6
- endpoint: e,
7
- basePath: ""
8
- }
9
- } : {
10
- title: t,
11
- isEnabled: !1
12
- });
13
- export {
14
- s as default
15
- };
@@ -1,17 +0,0 @@
1
- import i from "../services.js";
2
- import { getEnvValue as r } from "../utils.js";
3
- import s from "./addressMetadata.js";
4
- const e = r("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), t = "Public tag submission", c = i.reCaptchaV2.siteKey && s.isEnabled && e ? Object.freeze({
5
- title: t,
6
- isEnabled: !0,
7
- api: {
8
- endpoint: e,
9
- basePath: ""
10
- }
11
- }) : Object.freeze({
12
- title: t,
13
- isEnabled: !1
14
- });
15
- export {
16
- c as default
17
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as n } from "../utils.js";
2
- const o = "https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml", e = n("NEXT_PUBLIC_API_SPEC_URL"), t = "REST API documentation", r = Object.freeze(e === "none" ? {
3
- title: t,
4
- isEnabled: !1
5
- } : {
6
- title: t,
7
- isEnabled: !0,
8
- specUrl: e || o
9
- });
10
- export {
11
- r as default
12
- };
@@ -1,17 +0,0 @@
1
- import { getEnvValue as i } from "../utils.js";
2
- import n from "./account.js";
3
- import r from "./blockchainInteraction.js";
4
- const e = i("NEXT_PUBLIC_REWARDS_SERVICE_API_HOST"), t = "Rewards service integration", f = e && n.isEnabled && r.isEnabled ? Object.freeze({
5
- title: t,
6
- isEnabled: !0,
7
- api: {
8
- endpoint: e,
9
- basePath: ""
10
- }
11
- }) : Object.freeze({
12
- title: t,
13
- isEnabled: !1
14
- });
15
- export {
16
- f as default
17
- };
@@ -1,20 +0,0 @@
1
- import c from "../app.js";
2
- import { getEnvValue as e } from "../utils.js";
3
- const o = e("NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN"), _ = (() => {
4
- var n;
5
- const t = e("NEXT_PUBLIC_APP_INSTANCE");
6
- return t || ((n = c.host) == null ? void 0 : n.replace(".blockscout.com", "").replace(".k8s-dev", "").replaceAll("-", "_"));
7
- })(), l = e("NEXT_PUBLIC_APP_ENV") || "production", s = e("NEXT_PUBLIC_GIT_TAG") || e("NEXT_PUBLIC_GIT_COMMIT_SHA"), r = "Rollbar error monitoring", T = Object.freeze(o ? {
8
- title: r,
9
- isEnabled: !0,
10
- clientToken: o,
11
- environment: l,
12
- instance: _,
13
- codeVersion: s
14
- } : {
15
- title: r,
16
- isEnabled: !1
17
- });
18
- export {
19
- T as default
20
- };
@@ -1,37 +0,0 @@
1
- import { ROLLUP_TYPES as o } from "../../../types/client/rollup.js";
2
- import s from "../../../lib/stripTrailingSlash.js";
3
- import { getEnvValue as _, parseEnvJson as a } from "../utils.js";
4
- const L = (() => {
5
- const t = _("NEXT_PUBLIC_ROLLUP_TYPE");
6
- return o.find((r) => r === t);
7
- })(), n = _("NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL"), e = (() => {
8
- const t = a(_("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN")), r = s(_("NEXT_PUBLIC_ROLLUP_L1_BASE_URL") || ""), i = _("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN_NAME");
9
- if (!(!r && !(t != null && t.baseUrl)))
10
- return {
11
- ...t,
12
- name: i ?? (t == null ? void 0 : t.name),
13
- baseUrl: r ?? (t == null ? void 0 : t.baseUrl)
14
- };
15
- })(), E = "Rollup (L2) chain", c = Object.freeze(L && e ? {
16
- title: E,
17
- isEnabled: !0,
18
- type: L,
19
- L2WithdrawalUrl: L === "optimistic" ? n : void 0,
20
- outputRootsEnabled: L === "optimistic" && _("NEXT_PUBLIC_ROLLUP_OUTPUT_ROOTS_ENABLED") === "true",
21
- interopEnabled: L === "optimistic" && _("NEXT_PUBLIC_INTEROP_ENABLED") === "true",
22
- homepage: {
23
- showLatestBlocks: _("NEXT_PUBLIC_ROLLUP_HOMEPAGE_SHOW_LATEST_BLOCKS") === "true"
24
- },
25
- parentChain: e,
26
- DA: {
27
- celestia: {
28
- namespace: L === "arbitrum" ? _("NEXT_PUBLIC_ROLLUP_DA_CELESTIA_NAMESPACE") : void 0
29
- }
30
- }
31
- } : {
32
- title: E,
33
- isEnabled: !1
34
- });
35
- export {
36
- c as default
37
- };
@@ -1,23 +0,0 @@
1
- import { getEnvValue as r } from "../utils.js";
2
- function n() {
3
- try {
4
- const e = r("NEXT_PUBLIC_SAFE_TX_SERVICE_URL");
5
- return new URL("/api/v1/safes", e).toString();
6
- } catch {
7
- return;
8
- }
9
- }
10
- const t = "Safe address tags", s = (() => {
11
- const e = n();
12
- return Object.freeze(e ? {
13
- title: t,
14
- isEnabled: !0,
15
- apiUrl: e
16
- } : {
17
- title: t,
18
- isEnabled: !1
19
- });
20
- })();
21
- export {
22
- s as default
23
- };
@@ -1,13 +0,0 @@
1
- import { getEnvValue as t } from "../utils.js";
2
- import a from "./marketplace.js";
3
- const e = "Save on gas with GasHawk", i = t("NEXT_PUBLIC_SAVE_ON_GAS_ENABLED") === "true" && a.isEnabled ? Object.freeze({
4
- title: e,
5
- isEnabled: !0,
6
- apiUrlTemplate: "https://core.gashawk.io/apiv2/stats/address/<address>/savingsPotential/0x1"
7
- }) : Object.freeze({
8
- title: e,
9
- isEnabled: !1
10
- });
11
- export {
12
- i as default
13
- };
@@ -1,16 +0,0 @@
1
- import r from "../../../lib/stripTrailingSlash.js";
2
- import { getEnvValue as i } from "../utils.js";
3
- const e = i("NEXT_PUBLIC_VISUALIZE_API_HOST"), t = "Solidity to UML diagrams", o = Object.freeze(e ? {
4
- title: t,
5
- isEnabled: !0,
6
- api: {
7
- endpoint: e,
8
- basePath: r(i("NEXT_PUBLIC_VISUALIZE_API_BASE_PATH") || "")
9
- }
10
- } : {
11
- title: t,
12
- isEnabled: !1
13
- });
14
- export {
15
- o as default
16
- };
@@ -1,16 +0,0 @@
1
- import n from "../../../lib/stripTrailingSlash.js";
2
- import { getEnvValue as i } from "../utils.js";
3
- const t = i("NEXT_PUBLIC_STATS_API_HOST"), e = "Blockchain statistics", s = Object.freeze(t ? {
4
- title: e,
5
- isEnabled: !0,
6
- api: {
7
- endpoint: t,
8
- basePath: n(i("NEXT_PUBLIC_STATS_API_BASE_PATH") || "")
9
- }
10
- } : {
11
- title: e,
12
- isEnabled: !1
13
- });
14
- export {
15
- s as default
16
- };
@@ -1,11 +0,0 @@
1
- import { getEnvValue as t } from "../utils.js";
2
- const e = "SUAVE chain", n = t("NEXT_PUBLIC_IS_SUAVE_CHAIN") === "true" ? Object.freeze({
3
- title: e,
4
- isEnabled: !0
5
- }) : Object.freeze({
6
- title: e,
7
- isEnabled: !1
8
- });
9
- export {
10
- n as default
11
- };
@@ -1,16 +0,0 @@
1
- import { PROVIDERS as r } from "../../../types/client/txInterpretation.js";
2
- import { getEnvValue as o } from "../utils.js";
3
- const t = "Transaction interpretation", n = (() => {
4
- const e = o("NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER");
5
- return e && r.includes(e) ? e : "none";
6
- })(), s = Object.freeze(n !== "none" ? {
7
- title: t,
8
- provider: n,
9
- isEnabled: !0
10
- } : {
11
- title: t,
12
- isEnabled: !1
13
- });
14
- export {
15
- s as default
16
- };
@@ -1,11 +0,0 @@
1
- import { getEnvValue as t } from "../utils.js";
2
- const e = "User operations", n = t("NEXT_PUBLIC_HAS_USER_OPS") === "true" ? Object.freeze({
3
- title: e,
4
- isEnabled: !0
5
- }) : Object.freeze({
6
- title: e,
7
- isEnabled: !1
8
- });
9
- export {
10
- n as default
11
- };
@@ -1,16 +0,0 @@
1
- import { VALIDATORS_CHAIN_TYPE as n } from "../../../types/client/validators.js";
2
- import { getEnvValue as i } from "../utils.js";
3
- const t = (() => {
4
- const e = i("NEXT_PUBLIC_VALIDATORS_CHAIN_TYPE");
5
- return e && n.includes(e) ? e : void 0;
6
- })(), r = "Validators list", a = Object.freeze(t ? {
7
- title: r,
8
- isEnabled: !0,
9
- chainType: t
10
- } : {
11
- title: r,
12
- isEnabled: !1
13
- });
14
- export {
15
- a as default
16
- };
@@ -1,15 +0,0 @@
1
- import { getEnvValue as n } from "../utils.js";
2
- const e = n("NEXT_PUBLIC_CONTRACT_INFO_API_HOST"), t = "Verified tokens info", i = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- api: {
6
- endpoint: e,
7
- basePath: ""
8
- }
9
- } : {
10
- title: t,
11
- isEnabled: !1
12
- });
13
- export {
14
- i as default
15
- };
@@ -1,24 +0,0 @@
1
- import { SUPPORTED_WALLETS as s } from "../../../types/client/wallets.js";
2
- import { getEnvValue as o, parseEnvJson as i } from "../utils.js";
3
- const t = (() => {
4
- var r;
5
- const n = o("NEXT_PUBLIC_WEB3_WALLETS");
6
- if (n === "none")
7
- return;
8
- const e = (r = i(n)) == null ? void 0 : r.filter((a) => s.includes(a));
9
- return !e || e.length === 0 ? ["metamask"] : e;
10
- })(), l = "Web3 wallet integration (add token or network to the wallet)", f = t && t.length > 0 ? Object.freeze({
11
- title: l,
12
- isEnabled: !0,
13
- wallets: t,
14
- addToken: {
15
- isDisabled: o("NEXT_PUBLIC_WEB3_DISABLE_ADD_TOKEN_TO_WALLET") === "true"
16
- },
17
- addNetwork: {}
18
- }) : Object.freeze({
19
- title: l,
20
- isEnabled: !1
21
- });
22
- export {
23
- f as default
24
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as r } from "../utils.js";
2
- const e = "XStar score", t = r("NEXT_PUBLIC_XSTAR_SCORE_URL"), o = Object.freeze(t ? {
3
- title: e,
4
- url: t,
5
- isEnabled: !0
6
- } : {
7
- title: e,
8
- isEnabled: !1
9
- });
10
- export {
11
- o as default
12
- };
@@ -1,19 +0,0 @@
1
- import r from "./api.js";
2
- import o from "./app.js";
3
- import m from "./chain.js";
4
- import * as t from "./features/index.js";
5
- import e from "./meta.js";
6
- import i from "./services.js";
7
- import f from "./ui.js";
8
- const u = Object.freeze({
9
- app: o,
10
- chain: m,
11
- api: r,
12
- UI: f,
13
- features: t,
14
- services: i,
15
- meta: e
16
- });
17
- export {
18
- u as default
19
- };