@abtnode/ux 1.16.25-beta-be3a37f4 → 1.16.25-beta-cfcab4af

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 (329) hide show
  1. package/es/actions.js +2 -4
  2. package/es/analytics/card.js +1 -2
  3. package/es/analytics/chart.js +1 -2
  4. package/es/analytics/disk.js +1 -2
  5. package/es/analytics/memory.js +1 -2
  6. package/es/analytics/runtime.js +1 -2
  7. package/es/analytics/traffic.js +1 -2
  8. package/es/blocklet/access/config-access.js +1 -3
  9. package/es/blocklet/access/index.js +1 -2
  10. package/es/blocklet/actions.js +1 -2
  11. package/es/blocklet/add-cert.js +1 -3
  12. package/es/blocklet/agreement-app.js +1 -2
  13. package/es/blocklet/agreement.js +1 -2
  14. package/es/blocklet/audit-logs.js +1 -2
  15. package/es/blocklet/blocklet-source.js +1 -2
  16. package/es/blocklet/component/add-component-button.js +1 -3
  17. package/es/blocklet/component/add-component-core.js +1 -3
  18. package/es/blocklet/component/component-cell.js +1 -2
  19. package/es/blocklet/component/configuration.js +1 -2
  20. package/es/blocklet/component/delete.js +1 -3
  21. package/es/blocklet/component/did-space/connect-to.js +1 -3
  22. package/es/blocklet/component/did-space/connected.js +1 -2
  23. package/es/blocklet/component/did-space/delete.js +1 -3
  24. package/es/blocklet/component/did-space/disconnect.js +1 -2
  25. package/es/blocklet/component/did-space/index.js +1 -2
  26. package/es/blocklet/component/did-space/item.js +1 -3
  27. package/es/blocklet/component/domain-list.js +1 -3
  28. package/es/blocklet/component/environment.js +1 -2
  29. package/es/blocklet/component/index.js +1 -3
  30. package/es/blocklet/component/navigation/locale-tabs.js +1 -3
  31. package/es/blocklet/component/navigation/navigation-actions.js +1 -2
  32. package/es/blocklet/component/navigation/navigation-dialog.js +1 -2
  33. package/es/blocklet/component/navigation/navigation-preview.js +1 -2
  34. package/es/blocklet/component/navigation/simple-select.js +1 -2
  35. package/es/blocklet/component/optional-component-cell.js +1 -2
  36. package/es/blocklet/component/related-components-dialog.js +1 -2
  37. package/es/blocklet/component/select-store.js +1 -3
  38. package/es/blocklet/component/selected/index.js +1 -2
  39. package/es/blocklet/component/sortable-tree.js +1 -3
  40. package/es/blocklet/component/space-connector.js +1 -3
  41. package/es/blocklet/component/space-selector.js +1 -2
  42. package/es/blocklet/component/step-actions.js +1 -2
  43. package/es/blocklet/component/store-blocklet-list.js +1 -3
  44. package/es/blocklet/config-navigation.js +1 -3
  45. package/es/blocklet/configuration.js +1 -2
  46. package/es/blocklet/disk-info.js +1 -2
  47. package/es/blocklet/install-from-url.js +1 -3
  48. package/es/blocklet/logo-uploader.js +1 -2
  49. package/es/blocklet/migration.js +1 -2
  50. package/es/blocklet/notification/email.js +1 -2
  51. package/es/blocklet/notification/index.js +1 -2
  52. package/es/blocklet/oauth/auth0.js +1 -2
  53. package/es/blocklet/oauth/common-settings.js +1 -2
  54. package/es/blocklet/oauth/federated-detail-dialog.js +1 -3
  55. package/es/blocklet/oauth/federated-invite-dialog.js +1 -2
  56. package/es/blocklet/oauth/federated-join-dialog.js +1 -2
  57. package/es/blocklet/oauth/federated-site-list.js +1 -3
  58. package/es/blocklet/oauth/federated.js +1 -3
  59. package/es/blocklet/oauth/index.js +1 -2
  60. package/es/blocklet/overview.js +1 -2
  61. package/es/blocklet/preferences/app-sk.js +1 -2
  62. package/es/blocklet/preferences/index.js +1 -2
  63. package/es/blocklet/publish/create-project.js +1 -2
  64. package/es/blocklet/publish/create-release.js +1 -3
  65. package/es/blocklet/publish/index.js +1 -2
  66. package/es/blocklet/publish/project-list.js +1 -2
  67. package/es/blocklet/publish/release-list.js +1 -3
  68. package/es/blocklet/publish/resource.js +1 -2
  69. package/es/blocklet/publish/select-components.js +1 -2
  70. package/es/blocklet/publish/tree.js +1 -2
  71. package/es/blocklet/purchase/common.js +1 -3
  72. package/es/blocklet/purchase/component-purchase.js +1 -3
  73. package/es/blocklet/router/action/add-domain-alias.js +1 -3
  74. package/es/blocklet/router/action/add-rule.js +13 -3
  75. package/es/blocklet/router/action/config-routing-rule.js +56 -7
  76. package/es/blocklet/router/action/delete-domain-alias.js +1 -3
  77. package/es/blocklet/router/action/delete-rule.js +1 -3
  78. package/es/blocklet/router/action/update-rule.js +13 -3
  79. package/es/blocklet/router/add-domain.js +1 -3
  80. package/es/blocklet/router/dns-tip.js +1 -2
  81. package/es/blocklet/router/domain-actions.js +1 -2
  82. package/es/blocklet/router/rule-actions.js +1 -2
  83. package/es/blocklet/router/rule-list.js +11 -4
  84. package/es/blocklet/runtime-info.js +1 -2
  85. package/es/blocklet/status.js +1 -2
  86. package/es/blocklet/storage/action.js +1 -3
  87. package/es/blocklet/storage/auto-check-update.js +1 -2
  88. package/es/blocklet/storage/backups.js +1 -3
  89. package/es/blocklet/storage/connect-to.js +1 -3
  90. package/es/blocklet/storage/connected.js +1 -2
  91. package/es/blocklet/storage/delete.js +1 -3
  92. package/es/blocklet/storage/disconnect.js +1 -2
  93. package/es/blocklet/storage/item.js +1 -3
  94. package/es/blocklet/storage/preview-nft.js +1 -3
  95. package/es/blocklet/transfer-owner.js +1 -3
  96. package/es/blocklet/version.js +1 -3
  97. package/es/certificate.js +1 -3
  98. package/es/clear-cache.js +1 -2
  99. package/es/confirm.js +1 -2
  100. package/es/delete-confirm.js +1 -2
  101. package/es/form/form-autocomplete-input.js +2 -5
  102. package/es/form/form-select-input.js +1 -3
  103. package/es/form/form-text-input.js +1 -3
  104. package/es/form/input-triggers.js +1 -3
  105. package/es/invitation/invitation-app.js +1 -2
  106. package/es/invitation/invitation-passport.js +1 -3
  107. package/es/invitation/invitation-receive.js +1 -2
  108. package/es/invitation/invitation-success.js +1 -2
  109. package/es/invitation/invitation-user.js +1 -2
  110. package/es/invitation/invitation.js +1 -3
  111. package/es/issue-passport.js +1 -2
  112. package/es/launch-blocklet/page-header.js +1 -2
  113. package/es/layout/addon.js +1 -2
  114. package/es/locales/ar.js +5 -1
  115. package/es/locales/de.js +5 -1
  116. package/es/locales/en.js +5 -1
  117. package/es/locales/es.js +5 -1
  118. package/es/locales/fr.js +5 -1
  119. package/es/locales/hi.js +5 -1
  120. package/es/locales/i18n.db +0 -0
  121. package/es/locales/id.js +5 -1
  122. package/es/locales/ja.js +5 -1
  123. package/es/locales/ko.js +5 -1
  124. package/es/locales/pt.js +5 -1
  125. package/es/locales/ru.js +5 -1
  126. package/es/locales/th.js +5 -1
  127. package/es/locales/vi.js +5 -1
  128. package/es/locales/zh-tw.js +5 -1
  129. package/es/locales/zh.js +5 -1
  130. package/es/logs/download.js +1 -2
  131. package/es/logs/log-terminal.js +1 -2
  132. package/es/lost-passport.js +1 -2
  133. package/es/nav-logo.js +1 -3
  134. package/es/notifications/addon.js +1 -2
  135. package/es/notifications/list.js +1 -3
  136. package/es/notifications/notification.js +1 -2
  137. package/es/notifications/page.js +1 -3
  138. package/es/passport-tag.js +1 -2
  139. package/es/schema-form/color-input.js +1 -2
  140. package/es/schema-form/index.js +1 -3
  141. package/es/schema-form/passport-input.js +1 -2
  142. package/es/store/add.js +1 -3
  143. package/es/store/delete.js +1 -3
  144. package/es/store/item.js +1 -2
  145. package/es/subscription.js +1 -3
  146. package/es/team/members/actions.js +1 -3
  147. package/es/team/members/index.js +1 -2
  148. package/es/team/members/invitations.js +1 -2
  149. package/es/team/members/invite-member.js +1 -3
  150. package/es/team/members/issue-passport.js +1 -3
  151. package/es/team/members/member.js +1 -2
  152. package/es/team/members/passport-issuances.js +1 -2
  153. package/es/team/members/passport-item.js +1 -2
  154. package/es/team/members/passports.js +1 -2
  155. package/es/team/members/toggle-user-approval.js +1 -3
  156. package/es/team/members/transfer-node.js +1 -3
  157. package/es/team/passports/color.js +1 -3
  158. package/es/team/passports/detail.js +1 -3
  159. package/es/team/passports/index.js +1 -3
  160. package/es/team/passports/mutate-role.js +1 -3
  161. package/es/team/passports/trusted-factories.js +1 -2
  162. package/es/team/passports/trusted-factory.js +1 -3
  163. package/es/team/passports/trusted-issuer.js +1 -3
  164. package/es/team/passports/trusted-issuers.js +1 -2
  165. package/lib/actions.js +1 -1
  166. package/lib/analytics/card.js +1 -1
  167. package/lib/analytics/chart.js +2 -2
  168. package/lib/analytics/disk.js +1 -1
  169. package/lib/analytics/runtime.js +1 -1
  170. package/lib/analytics/traffic.js +1 -1
  171. package/lib/blocklet/access/index.js +1 -1
  172. package/lib/blocklet/actions.js +6 -6
  173. package/lib/blocklet/add-cert.js +1 -1
  174. package/lib/blocklet/agreement-app.js +1 -1
  175. package/lib/blocklet/app-avatar.js +1 -1
  176. package/lib/blocklet/blocklet-source.js +1 -1
  177. package/lib/blocklet/bundle-avatar.js +1 -1
  178. package/lib/blocklet/component/add-component-core.js +14 -14
  179. package/lib/blocklet/component/button.js +1 -1
  180. package/lib/blocklet/component/component-cell.js +2 -2
  181. package/lib/blocklet/component/delete.js +1 -1
  182. package/lib/blocklet/component/did-space/connect-to.js +2 -2
  183. package/lib/blocklet/component/did-space/delete.js +3 -3
  184. package/lib/blocklet/component/did-space/disconnect.js +1 -1
  185. package/lib/blocklet/component/did-space/index.js +3 -3
  186. package/lib/blocklet/component/did-space/item.js +2 -2
  187. package/lib/blocklet/component/domain-list.js +4 -4
  188. package/lib/blocklet/component/environment.js +1 -1
  189. package/lib/blocklet/component/index.js +2 -2
  190. package/lib/blocklet/component/navigation/navigation-dialog.js +6 -6
  191. package/lib/blocklet/component/navigation/navigation-preview.js +3 -3
  192. package/lib/blocklet/component/navigation/simple-select.js +1 -1
  193. package/lib/blocklet/component/select-store.js +1 -1
  194. package/lib/blocklet/component/setting.js +1 -1
  195. package/lib/blocklet/component/sortable-tree.js +1 -1
  196. package/lib/blocklet/component/space-connector.js +9 -9
  197. package/lib/blocklet/component/space-selector.js +2 -2
  198. package/lib/blocklet/component/start.js +1 -1
  199. package/lib/blocklet/component/store-blocklet-list.js +2 -2
  200. package/lib/blocklet/component/switch-control.js +1 -1
  201. package/lib/blocklet/config-navigation.js +1 -1
  202. package/lib/blocklet/configuration.js +3 -3
  203. package/lib/blocklet/disk-info.js +1 -1
  204. package/lib/blocklet/install-from-url.js +1 -1
  205. package/lib/blocklet/log.js +1 -1
  206. package/lib/blocklet/logo-uploader.js +3 -3
  207. package/lib/blocklet/migration.js +1 -1
  208. package/lib/blocklet/mode.js +1 -1
  209. package/lib/blocklet/notification/email.js +6 -6
  210. package/lib/blocklet/oauth/auth0.js +6 -6
  211. package/lib/blocklet/oauth/common-settings.js +4 -4
  212. package/lib/blocklet/oauth/federated-detail-dialog.js +4 -4
  213. package/lib/blocklet/oauth/federated-invite-dialog.js +2 -2
  214. package/lib/blocklet/oauth/federated-join-dialog.js +3 -3
  215. package/lib/blocklet/oauth/federated-site-list.js +5 -5
  216. package/lib/blocklet/oauth/federated.js +6 -6
  217. package/lib/blocklet/overview.js +3 -3
  218. package/lib/blocklet/page-group.js +1 -1
  219. package/lib/blocklet/preferences/index.js +2 -2
  220. package/lib/blocklet/publish/create-project.js +2 -2
  221. package/lib/blocklet/publish/create-release.js +5 -5
  222. package/lib/blocklet/publish/index.js +1 -1
  223. package/lib/blocklet/publish/project-list.js +1 -1
  224. package/lib/blocklet/publish/release-list.js +1 -1
  225. package/lib/blocklet/publish/select-components.js +1 -1
  226. package/lib/blocklet/purchase/component-purchase.js +1 -1
  227. package/lib/blocklet/resource-type.js +2 -2
  228. package/lib/blocklet/router/action/add-domain-alias.js +1 -1
  229. package/lib/blocklet/router/action/add-rule.js +14 -2
  230. package/lib/blocklet/router/action/config-routing-rule.js +54 -5
  231. package/lib/blocklet/router/action/update-rule.js +14 -1
  232. package/lib/blocklet/router/add-domain.js +1 -1
  233. package/lib/blocklet/router/dns-tip.js +1 -1
  234. package/lib/blocklet/router/domain-actions.js +1 -1
  235. package/lib/blocklet/router/rule-actions.js +1 -1
  236. package/lib/blocklet/router/rule-list.js +11 -2
  237. package/lib/blocklet/runtime-info.js +1 -1
  238. package/lib/blocklet/status.js +1 -1
  239. package/lib/blocklet/storage/action.js +2 -2
  240. package/lib/blocklet/storage/auto-backup.js +1 -1
  241. package/lib/blocklet/storage/auto-check-update.js +1 -1
  242. package/lib/blocklet/storage/backups.js +1 -1
  243. package/lib/blocklet/storage/connect-to.js +2 -2
  244. package/lib/blocklet/storage/delete.js +4 -4
  245. package/lib/blocklet/storage/disconnect.js +1 -1
  246. package/lib/blocklet/storage/item.js +2 -2
  247. package/lib/blocklet/storage/preview-nft.js +2 -2
  248. package/lib/blocklet/util.js +2 -2
  249. package/lib/blocklet/version.js +1 -1
  250. package/lib/clear-cache.js +2 -2
  251. package/lib/click-to-copy.js +1 -1
  252. package/lib/confirm.js +1 -1
  253. package/lib/contexts/blocklet-storage.js +1 -1
  254. package/lib/contexts/node.js +1 -1
  255. package/lib/delete-confirm.js +1 -1
  256. package/lib/did-address.js +1 -1
  257. package/lib/empty-spinner.js +1 -1
  258. package/lib/exchange-passport.js +3 -3
  259. package/lib/form/form-autocomplete-input.js +2 -2
  260. package/lib/form/form-select-input.js +2 -2
  261. package/lib/form/form-text-input.js +2 -2
  262. package/lib/hooks/blocklet.js +15 -15
  263. package/lib/hooks/confirm.js +3 -3
  264. package/lib/hooks/url-evaluation.js +1 -1
  265. package/lib/hooks/use-app-logo.js +1 -1
  266. package/lib/hooks/use-auto-backup.js +1 -1
  267. package/lib/hooks/use-auto-check-update.js +1 -1
  268. package/lib/hooks/use-backup-progress.js +1 -1
  269. package/lib/hooks/use-backups.js +1 -1
  270. package/lib/hooks/use-blocklet-info-for-connect-did-spaces.js +3 -3
  271. package/lib/hooks/use-bundle-logo.js +1 -1
  272. package/lib/hooks/use-navigation.js +1 -1
  273. package/lib/hooks/use-space-gateways.js +3 -3
  274. package/lib/images.js +1 -1
  275. package/lib/invitation/invitation-app.js +1 -1
  276. package/lib/invitation/invitation-receive.js +5 -5
  277. package/lib/invitation/invitation.js +3 -3
  278. package/lib/issue-passport.js +2 -2
  279. package/lib/launch-blocklet/content-layout.js +1 -1
  280. package/lib/layout/addon.js +1 -1
  281. package/lib/locales/ar.js +5 -1
  282. package/lib/locales/de.js +5 -1
  283. package/lib/locales/en.js +5 -1
  284. package/lib/locales/es.js +5 -1
  285. package/lib/locales/fr.js +5 -1
  286. package/lib/locales/hi.js +5 -1
  287. package/lib/locales/i18n.db +0 -0
  288. package/lib/locales/id.js +5 -1
  289. package/lib/locales/index.js +1 -1
  290. package/lib/locales/ja.js +5 -1
  291. package/lib/locales/ko.js +5 -1
  292. package/lib/locales/pt.js +5 -1
  293. package/lib/locales/ru.js +5 -1
  294. package/lib/locales/th.js +5 -1
  295. package/lib/locales/vi.js +5 -1
  296. package/lib/locales/zh-tw.js +5 -1
  297. package/lib/locales/zh.js +5 -1
  298. package/lib/logs/log-terminal.js +1 -1
  299. package/lib/lost-passport.js +3 -3
  300. package/lib/nav-logo.js +1 -1
  301. package/lib/notifications/default-icon-variants.js +1 -1
  302. package/lib/notifications/notification.js +1 -1
  303. package/lib/notifications/tag.js +1 -1
  304. package/lib/passport-tag.js +1 -1
  305. package/lib/permission.js +1 -1
  306. package/lib/relative-time.js +1 -1
  307. package/lib/schema-form/index.js +1 -1
  308. package/lib/schema-form/passport-input.js +1 -1
  309. package/lib/schema-form/text-input.js +1 -1
  310. package/lib/subscription.js +1 -1
  311. package/lib/tag.js +1 -1
  312. package/lib/team/members/index.js +5 -5
  313. package/lib/team/members/invitations.js +1 -1
  314. package/lib/team/members/member.js +1 -1
  315. package/lib/team/members/passport-item.js +1 -1
  316. package/lib/team/members/passports.js +2 -2
  317. package/lib/team/passports/color.js +1 -1
  318. package/lib/team/passports/detail.js +1 -1
  319. package/lib/team/passports/index.js +1 -1
  320. package/lib/team/passports/trusted-factories.js +2 -2
  321. package/lib/team/passports/trusted-factory.js +1 -1
  322. package/lib/team/passports/trusted-issuer.js +2 -2
  323. package/lib/team/passports/trusted-issuers.js +2 -2
  324. package/lib/team/search-input.js +1 -1
  325. package/lib/util/index.js +7 -7
  326. package/lib/util/space-gateway.js +1 -1
  327. package/lib/util/spaces.js +3 -3
  328. package/lib/wrap-locale.js +1 -1
  329. package/package.json +17 -17
@@ -14,9 +14,7 @@ import isUrl from 'is-url';
14
14
  import joinUrl from 'url-join';
15
15
  import { useBlockletContext } from '../../contexts/blocklet';
16
16
  import { useNodeContext } from '../../contexts/node';
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
19
- import { Fragment as _Fragment } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
20
18
  const FederatedDetailDialog = /*#__PURE__*/forwardRef((props, ref) => {
21
19
  const {
22
20
  t
@@ -8,8 +8,7 @@ import Dialog from '@arcblock/ux/lib/Dialog';
8
8
  import CodeBlock from '@arcblock/ux/lib/CodeBlock';
9
9
  import copy from 'copy-to-clipboard';
10
10
  import { useTheme } from '@arcblock/ux/lib/Theme';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  const FederatedInviteDialog = /*#__PURE__*/forwardRef((props, ref) => {
14
13
  const theme = useTheme();
15
14
  const leavingScreen = theme?.transitions?.duration?.leavingScreen || 300;
@@ -10,8 +10,7 @@ import noop from 'lodash/noop';
10
10
  import isUrl from 'is-url';
11
11
  import { useBlockletContext } from '../../contexts/blocklet';
12
12
  import { useNodeContext } from '../../contexts/node';
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
14
  const FederatedJoinDialog = /*#__PURE__*/forwardRef((props, ref) => {
16
15
  const {
17
16
  t
@@ -16,9 +16,7 @@ import { useNodeContext } from '../../contexts/node';
16
16
  import useConfirm from '../../hooks/confirm';
17
17
  import FederatedDetailDialog from './federated-detail-dialog';
18
18
  import FederatedInviteDialog from './federated-invite-dialog';
19
- import { jsx as _jsx } from "react/jsx-runtime";
20
- import { jsxs as _jsxs } from "react/jsx-runtime";
21
- import { Fragment as _Fragment } from "react/jsx-runtime";
19
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
22
20
  function FederatedSiteList({
23
21
  mode
24
22
  }) {
@@ -10,9 +10,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
10
10
  import FederatedSiteList from './federated-site-list';
11
11
  import FederatedJoinDialog from './federated-join-dialog';
12
12
  import FederatedInviteDialog from './federated-invite-dialog';
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
15
- import { Fragment as _Fragment } from "react/jsx-runtime";
13
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
16
14
  export default function FederatedLogin() {
17
15
  const federatedInviteRef = useRef(null);
18
16
  const federatedJoinRef = useRef(null);
@@ -7,8 +7,7 @@ import { useContext, useState } from 'react';
7
7
  import OAuthAuth0 from './auth0';
8
8
  import CommonSettings from './common-settings';
9
9
  import FederatedLogin from './federated';
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
11
  function OAuth() {
13
12
  const {
14
13
  t
@@ -15,8 +15,7 @@ import { formatToDatetime, getExplorerLink } from '../util';
15
15
  import BlockletStatus from './status';
16
16
  import { isServerless } from './util';
17
17
  import DomainListWithPermission from './component/domain-list';
18
- import { jsx as _jsx } from "react/jsx-runtime";
19
- import { jsxs as _jsxs } from "react/jsx-runtime";
18
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
19
  const WalletType = {
21
20
  arcblock: 'ArcBlock',
22
21
  ethereum: 'Ethereum'
@@ -13,8 +13,7 @@ import Confirm from '../../confirm';
13
13
  import { useSessionContext } from '../../contexts/session';
14
14
  import { useBlockletContext } from '../../contexts/blocklet';
15
15
  import { isRunning } from '../../util';
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
- import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
17
  export default function AppSk({
19
18
  initialValue,
20
19
  onChange,
@@ -23,8 +23,7 @@ import BlockletNotification from '../notification';
23
23
  import Access from '../access/index';
24
24
  import { useNodeContext } from '../../contexts/node';
25
25
  import OAuth from '../oauth';
26
- import { jsx as _jsx } from "react/jsx-runtime";
27
- import { jsxs as _jsxs } from "react/jsx-runtime";
26
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
28
27
  const addComponentTabs = ({
29
28
  tabs,
30
29
  blocklet,
@@ -15,8 +15,7 @@ import Toast from '@arcblock/ux/lib/Toast';
15
15
  import { useNodeContext } from '../../contexts/node';
16
16
  import { useBlockletContext } from '../../contexts/blocklet';
17
17
  import { useSessionContext } from '../../contexts/session';
18
- import { jsx as _jsx } from "react/jsx-runtime";
19
- import { jsxs as _jsxs } from "react/jsx-runtime";
18
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
19
  const Types = [{
21
20
  label: {
22
21
  en: 'Resource',
@@ -31,9 +31,7 @@ import ClickToCopy from '../../click-to-copy';
31
31
  import { formatError } from '../../util';
32
32
  import Resource from './resource';
33
33
  import SelectComponents from './select-components';
34
- import { jsx as _jsx } from "react/jsx-runtime";
35
- import { jsxs as _jsxs } from "react/jsx-runtime";
36
- import { Fragment as _Fragment } from "react/jsx-runtime";
34
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
37
35
  const allowedFileTypes = ['image/*', '.jpg', '.jpeg', '.png', '.gif', '.svg'];
38
36
  const maxFileSize = 1024 * 1024 * 10; // 10 MB
39
37
 
@@ -8,8 +8,7 @@ import ProjectList from './project-list';
8
8
  import CreateProject from './create-project';
9
9
  import ReleasesList from './release-list';
10
10
  import CreateRelease from './create-release';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  export default function BlockletPublish({
14
13
  padding
15
14
  }) {
@@ -17,8 +17,7 @@ import EmptySpinner from '../../empty-spinner';
17
17
  import DidAddress from '../../did-address';
18
18
  import Confirm from '../../confirm';
19
19
  import BlockletBundleAvatar from '../bundle-avatar';
20
- import { jsx as _jsx } from "react/jsx-runtime";
21
- import { jsxs as _jsxs } from "react/jsx-runtime";
20
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
21
  export default function ProjectList() {
23
22
  const {
24
23
  t,
@@ -22,9 +22,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
22
22
  import { useNodeContext } from '../../contexts/node';
23
23
  import EmptySpinner from '../../empty-spinner';
24
24
  import Confirm from '../../confirm';
25
- import { jsx as _jsx } from "react/jsx-runtime";
26
- import { jsxs as _jsxs } from "react/jsx-runtime";
27
- import { Fragment as _Fragment } from "react/jsx-runtime";
25
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
28
26
  export default function ReleaseList() {
29
27
  const {
30
28
  t,
@@ -10,8 +10,7 @@ import Toast from '@arcblock/ux/lib/Toast';
10
10
  import Tree from './tree';
11
11
  import { useNodeContext } from '../../contexts/node';
12
12
  import { axios } from '../../util/api';
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
14
  const fillParent = (nodes, parentId) => {
16
15
  nodes.forEach(node => {
17
16
  if (parentId) {
@@ -8,8 +8,7 @@ import Box from '@mui/material/Box';
8
8
  import Datatable from '@arcblock/ux/lib/Datatable';
9
9
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
10
10
  import BlockletBundleAvatar from '../bundle-avatar';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  export default function SelectComponents({
14
13
  value,
15
14
  app,
@@ -14,8 +14,7 @@ import { Icon } from '@iconify/react';
14
14
  import Images from '../../images';
15
15
 
16
16
  // BFS algorithm to find node by his ID
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
18
  const bfsSearch = (graph, targetId) => {
20
19
  const queue = [...graph];
21
20
  while (queue.length > 0) {
@@ -9,9 +9,7 @@ import IconVerify from '@mui/icons-material/VerifiedUser';
9
9
  import Button from '@arcblock/ux/lib/Button';
10
10
  import colors from '@arcblock/ux/lib/Colors';
11
11
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { jsxs as _jsxs } from "react/jsx-runtime";
14
- import { Fragment as _Fragment } from "react/jsx-runtime";
12
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
15
13
  const commonProps = {
16
14
  meta: PropTypes.object.isRequired,
17
15
  onCancel: PropTypes.func.isRequired
@@ -11,9 +11,7 @@ import { useNodeContext } from '../../contexts/node';
11
11
  import { getWebWalletUrl, extractStatusUrlFromNextWorkflow } from '../../util';
12
12
  import { api as $api, axios } from '../../util/api';
13
13
  import { commonProps, CustomSelect } from './common';
14
- import { jsx as _jsx } from "react/jsx-runtime";
15
- import { Fragment as _Fragment } from "react/jsx-runtime";
16
- import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
17
15
  export function ComponentPurchase({
18
16
  meta,
19
17
  onCancel,
@@ -11,9 +11,7 @@ import { useNodeContext } from '../../../contexts/node';
11
11
  import { sleep } from '../../../util';
12
12
  import AddDomain from '../add-domain';
13
13
  import { parseDomainFromURL } from '../util';
14
- import { jsx as _jsx } from "react/jsx-runtime";
15
- import { jsxs as _jsxs } from "react/jsx-runtime";
16
- import { Fragment as _Fragment } from "react/jsx-runtime";
14
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
17
15
  function AddDomainAliasComponent({
18
16
  id,
19
17
  children,
@@ -15,9 +15,7 @@ import Confirm from '../../../confirm';
15
15
  import { validateRule, validatePathPrefix } from '../util';
16
16
  import ConfigRoutingRule from './config-routing-rule';
17
17
  import { formatMountPoint } from '../../../util';
18
- import { jsx as _jsx } from "react/jsx-runtime";
19
- import { jsxs as _jsxs } from "react/jsx-runtime";
20
- import { Fragment as _Fragment } from "react/jsx-runtime";
18
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
21
19
  export default function AddRule({
22
20
  children
23
21
  }) {
@@ -65,6 +63,13 @@ export default function AddRule({
65
63
  if (params.type === ROUTING_RULE_TYPES.GENERAL_REWRITE) {
66
64
  rule.to.url = urlPathFriendly(params.url);
67
65
  }
66
+ if (params.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE) {
67
+ rule.to.response = {
68
+ status: 200,
69
+ contentType: params.responseType,
70
+ body: params.responseBody
71
+ };
72
+ }
68
73
  await api.addRoutingRule({
69
74
  input: {
70
75
  id: siteId,
@@ -134,6 +139,9 @@ export default function AddRule({
134
139
  if (params.type === ROUTING_RULE_TYPES.GENERAL_REWRITE && !params.url) {
135
140
  disable = true;
136
141
  }
142
+ if (params.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE && (!params.responseType || !params.responseBody)) {
143
+ disable = true;
144
+ }
137
145
  if (!e.target.value.trim()) {
138
146
  disable = true;
139
147
  setError(t('router.validation.pathPrefixRequired'));
@@ -167,6 +175,8 @@ export default function AddRule({
167
175
  componentId: '',
168
176
  pageGroup: '',
169
177
  redirectCode: 302,
178
+ responseType: 'text/plain',
179
+ responseBody: '',
170
180
  __disableConfirm: true
171
181
  },
172
182
  onConfirm,
@@ -3,13 +3,11 @@ import PropTypes from 'prop-types';
3
3
  import TextField from '@mui/material/TextField';
4
4
  import MenuItem from '@mui/material/MenuItem';
5
5
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
6
- import { ROUTING_RULE_TYPES } from '@abtnode/constant';
6
+ import { ROUTING_RULE_TYPES, ROUTING_RESPONSE_TYPES } from '@abtnode/constant';
7
7
  import { BLOCKLET_INTERFACE_TYPE_WEB } from '@blocklet/constant';
8
8
  import { findWebInterface, getDisplayName } from '@blocklet/meta/lib/util';
9
9
  import { useBlockletContext } from '../../../contexts/blocklet';
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- import { Fragment as _Fragment } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
11
  const getComponents = blocklet => blocklet.children.filter(x => x.meta.interfaces.find(i => i.type === BLOCKLET_INTERFACE_TYPE_WEB));
14
12
  export default function ConfigRoutingRule({
15
13
  params,
@@ -194,18 +192,66 @@ export default function ConfigRoutingRule({
194
192
  marginBottom: 32
195
193
  },
196
194
  onChange: e => {
195
+ const value = e.target.value.trim();
197
196
  setParams({
198
197
  ...params,
199
198
  url: e.target.value,
200
- __disableConfirm: !e.target.value.trim()
199
+ __disableConfirm: !value
201
200
  });
202
- if (!e.target.value.trim()) {
201
+ if (!value) {
203
202
  setError(t('router.validation.rewriteUrlRequired'));
204
203
  } else {
205
204
  setError('');
206
205
  }
207
206
  }
208
- }, "url")]
207
+ }, "url"), params.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE && [/*#__PURE__*/_jsx(TextField, {
208
+ select: true,
209
+ label: t('router.rule.add.responseType'),
210
+ autoComplete: "off",
211
+ variant: "outlined",
212
+ name: "responseType",
213
+ fullWidth: true,
214
+ value: params.responseType,
215
+ onChange: e => setParams({
216
+ ...params,
217
+ responseType: e.target.value
218
+ }),
219
+ style: {
220
+ marginBottom: 32
221
+ },
222
+ SelectProps: {},
223
+ children: ROUTING_RESPONSE_TYPES.map(x => /*#__PURE__*/_jsx(MenuItem, {
224
+ value: x.value,
225
+ children: x.text
226
+ }, x.value))
227
+ }, "responseType"), /*#__PURE__*/_jsx(TextField, {
228
+ label: t('router.rule.add.responseBody'),
229
+ autoComplete: "off",
230
+ variant: "outlined",
231
+ name: "responseBody",
232
+ "data-cy": "response-body-input",
233
+ fullWidth: true,
234
+ multiline: true,
235
+ minRows: 3,
236
+ value: params.responseBody,
237
+ helperText: t('router.rule.add.responseBodyTip'),
238
+ style: {
239
+ marginBottom: 32
240
+ },
241
+ onChange: e => {
242
+ const value = e.target.value.trim();
243
+ setParams({
244
+ ...params,
245
+ responseBody: e.target.value,
246
+ __disableConfirm: !value
247
+ });
248
+ if (!value) {
249
+ setError(t('router.rule.add.responseBodyRequired'));
250
+ } else {
251
+ setError('');
252
+ }
253
+ }
254
+ }, "response-body")]]
209
255
  });
210
256
  }
211
257
  ConfigRoutingRule.propTypes = {
@@ -225,6 +271,9 @@ ConfigRoutingRule.defaultProps = {
225
271
  }, {
226
272
  name: 'Rewrite - Route traffic without redirect',
227
273
  value: ROUTING_RULE_TYPES.GENERAL_REWRITE
274
+ }, {
275
+ name: 'Response - Response with provided content',
276
+ value: ROUTING_RULE_TYPES.DIRECT_RESPONSE
228
277
  }, {
229
278
  name: 'Component - Pass traffic to blocklet component',
230
279
  value: ROUTING_RULE_TYPES.COMPONENT
@@ -8,9 +8,7 @@ import Toast from '@arcblock/ux/lib/Toast';
8
8
  import Confirm from '../../../confirm';
9
9
  import { useNodeContext } from '../../../contexts/node';
10
10
  import { sleep } from '../../../util';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
13
- import { Fragment as _Fragment } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
14
12
  export default function DeleteDomainAlias(props) {
15
13
  const {
16
14
  t
@@ -8,9 +8,7 @@ import Toast from '@arcblock/ux/lib/Toast';
8
8
  import { useNodeContext } from '../../../contexts/node';
9
9
  import { useBlockletContext } from '../../../contexts/blocklet';
10
10
  import DelConfirm from '../../../delete-confirm';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
13
- import { Fragment as _Fragment } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
14
12
  export default function DeleteRule({
15
13
  id: ruleId,
16
14
  from,
@@ -15,9 +15,7 @@ import Confirm from '../../../confirm';
15
15
  import { validateRule } from '../util';
16
16
  import ConfigRoutingRule from './config-routing-rule';
17
17
  import { formatMountPoint } from '../../../util';
18
- import { jsx as _jsx } from "react/jsx-runtime";
19
- import { jsxs as _jsxs } from "react/jsx-runtime";
20
- import { Fragment as _Fragment } from "react/jsx-runtime";
18
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
21
19
  export default function UpdateRule({
22
20
  id: ruleId,
23
21
  from,
@@ -70,6 +68,13 @@ export default function UpdateRule({
70
68
  if (params.type === ROUTING_RULE_TYPES.GENERAL_REWRITE) {
71
69
  rule.to.url = urlPathFriendly(params.url);
72
70
  }
71
+ if (params.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE) {
72
+ rule.to.response = {
73
+ status: 200,
74
+ contentType: params.responseType,
75
+ body: params.responseBody
76
+ };
77
+ }
73
78
  await api.updateRoutingRule({
74
79
  input: {
75
80
  id: siteId,
@@ -127,6 +132,9 @@ export default function UpdateRule({
127
132
  if (params.type === ROUTING_RULE_TYPES.GENERAL_REWRITE && !params.url) {
128
133
  disable = true;
129
134
  }
135
+ if (params.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE && (!params.responseType || !params.responseBody)) {
136
+ disable = true;
137
+ }
130
138
  if (!e.target.value.trim()) {
131
139
  disable = true;
132
140
  setError(t('router.validation.pathPrefixRequired'));
@@ -162,6 +170,8 @@ export default function UpdateRule({
162
170
  componentId: to.componentId || '',
163
171
  pageGroup: to.pageGroup || '',
164
172
  url: to.url || '',
173
+ responseType: to.response?.contentType || '',
174
+ responseBody: (to.response?.body || '').replace(/\\"/g, '"'),
165
175
  __disableConfirm: false
166
176
  },
167
177
  onConfirm,
@@ -22,9 +22,7 @@ import { sleep, validateDomain } from '../../util';
22
22
  import { axios } from '../../util/api';
23
23
  import DNSTip from './dns-tip';
24
24
  import { parseDomainFromURL } from './util';
25
- import { jsx as _jsx } from "react/jsx-runtime";
26
- import { jsxs as _jsxs } from "react/jsx-runtime";
27
- import { Fragment as _Fragment } from "react/jsx-runtime";
25
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
28
26
  export default function AddDomain({
29
27
  siteId,
30
28
  teamDid,
@@ -6,8 +6,7 @@ import Box from '@mui/material/Box';
6
6
  import useTheme from '@mui/material/styles/useTheme';
7
7
  import useMediaQuery from '@mui/material/useMediaQuery';
8
8
  import PropTypes from 'prop-types';
9
- import { jsx as _jsx } from "react/jsx-runtime";
10
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
10
  export default function DNSTip({
12
11
  domain,
13
12
  resolvedTarget,
@@ -7,8 +7,7 @@ import DeleteIcon from '@mui/icons-material/Delete';
7
7
  import Tooltip from '@mui/material/Tooltip';
8
8
  import Actions from '../../actions';
9
9
  import DeleteDomainAlias from './action/delete-domain-alias';
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
11
  export default function DomainActions({
13
12
  site,
14
13
  domain,
@@ -10,8 +10,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
10
10
  import DeleteRule from './action/delete-rule';
11
11
  import UpdateRule from './action/update-rule';
12
12
  import { getBlockletUrlParams, getAccessUrl } from '../../util';
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
14
  export default function RuleActions(rule) {
16
15
  const {
17
16
  locale
@@ -9,8 +9,9 @@ import IconButton from '@mui/material/IconButton';
9
9
  import Avatar from '@mui/material/Avatar';
10
10
  import LockIcon from '@arcblock/icons/lib/LockIcon';
11
11
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
12
- import { ROUTING_RULE_TYPES } from '@abtnode/constant';
12
+ import { ROUTING_RESPONSE_TYPES, ROUTING_RULE_TYPES } from '@abtnode/constant';
13
13
  import { getDisplayName } from '@blocklet/meta/lib/util';
14
+ import { TextSnippetOutlined } from '@mui/icons-material';
14
15
  import { getBlockletUrlParams, getAccessUrl, BlockletAdminRoles } from '../../util';
15
16
  import { useBlockletContext } from '../../contexts/blocklet';
16
17
  import { useNodeContext } from '../../contexts/node';
@@ -18,8 +19,7 @@ import { withPermission } from '../../permission';
18
19
  import Line from '../component/line';
19
20
  import RuleActions from './rule-actions';
20
21
  import BlockletPageGroup from '../page-group';
21
- import { jsx as _jsx } from "react/jsx-runtime";
22
- import { jsxs as _jsxs } from "react/jsx-runtime";
22
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
23
  function RedirectRule({
24
24
  domain,
25
25
  isHttps,
@@ -70,6 +70,13 @@ function RuleList({
70
70
  avatar = rule.to.redirectCode;
71
71
  } else if (rule.to.type === ROUTING_RULE_TYPES.GENERAL_REWRITE) {
72
72
  avatar = 'R';
73
+ } else if (rule.to.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE) {
74
+ avatar = /*#__PURE__*/_jsx(TextSnippetOutlined, {
75
+ sx: {
76
+ color: 'text.secondary',
77
+ fontSize: '45px'
78
+ }
79
+ });
73
80
  } else if (rule.to.type === ROUTING_RULE_TYPES.COMPONENT) {
74
81
  component = blocklet.children.find(x => x.meta.did === rule.to.componentId);
75
82
  avatar = 'C';
@@ -127,7 +134,7 @@ function RuleList({
127
134
  color: '#222',
128
135
  fontSize: 16
129
136
  },
130
- children: [rule.to.type === ROUTING_RULE_TYPES.NONE && t('common.page404'), rule.to.type === ROUTING_RULE_TYPES.REDIRECT && t('common.redirect'), rule.to.type === ROUTING_RULE_TYPES.GENERAL_REWRITE && t('common.rewrite'), rule.to.type === ROUTING_RULE_TYPES.COMPONENT && getDisplayName(component, true)]
137
+ children: [rule.to.type === ROUTING_RULE_TYPES.NONE && t('common.page404'), rule.to.type === ROUTING_RULE_TYPES.REDIRECT && t('common.redirect'), rule.to.type === ROUTING_RULE_TYPES.GENERAL_REWRITE && t('common.rewrite'), rule.to.type === ROUTING_RULE_TYPES.DIRECT_RESPONSE && ROUTING_RESPONSE_TYPES.find(x => x.value === rule.to.response.contentType)?.text, rule.to.type === ROUTING_RULE_TYPES.COMPONENT && getDisplayName(component, true)]
131
138
  }), /*#__PURE__*/_jsxs(Box, {
132
139
  display: "flex",
133
140
  alignItems: "center",
@@ -4,8 +4,7 @@ import Typography from '@mui/material/Typography';
4
4
  import Grid from '@mui/material/Grid';
5
5
  import CpuMonitor from '../analytics/cpu';
6
6
  import MemoryMonitor from '../analytics/memory';
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
8
  export default function BlockletRuntimeInfo({
10
9
  blocklet,
11
10
  cpuHistory,
@@ -6,8 +6,7 @@ import { LocaleContext } from '@arcblock/ux/lib/Locale/context';
6
6
  import { isInProgress } from '@blocklet/meta/lib/util';
7
7
  import Dot from '../dot';
8
8
  import Tag from '../tag';
9
- import { jsx as _jsx } from "react/jsx-runtime";
10
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
10
  const colors = {
12
11
  yellow: '#FFCF71',
13
12
  grey: '#888888'
@@ -21,9 +21,7 @@ import DeleteDIDSpacesGateWay from './delete';
21
21
  * } & import('@mui/material').IconButtonProps} { spaceGateway, onDelete, onConnect, enableSwitchToSpace, connected, ...rest }
22
22
  * @return {React.Component}
23
23
  */
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { jsxs as _jsxs } from "react/jsx-runtime";
26
- import { Fragment as _Fragment } from "react/jsx-runtime";
24
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
27
25
  function SpaceItemAction({
28
26
  spaceGateway,
29
27
  connected,
@@ -14,8 +14,7 @@ import { useBlockletStorageContext } from '../../contexts/blocklet-storage';
14
14
  * }} {...rest}
15
15
  * @return {*}
16
16
  */
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
18
  function AutoCheckUpdate({
20
19
  children,
21
20
  ...rest
@@ -19,9 +19,7 @@ import { getDIDSpaceDidFromEndpoint } from '../../util/spaces';
19
19
  * } & import('@mui/material').BoxProps} { progress, ...rest }
20
20
  * @return {React.Component}
21
21
  */
22
- import { jsx as _jsx } from "react/jsx-runtime";
23
- import { jsxs as _jsxs } from "react/jsx-runtime";
24
- import { Fragment as _Fragment } from "react/jsx-runtime";
22
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
25
23
  function SpacesBackupRecords({
26
24
  ...rest
27
25
  }) {
@@ -21,9 +21,7 @@ import { useBlockletStorageContext } from '../../contexts/blocklet-storage';
21
21
  * @param {{}} { ...rest }
22
22
  * @return {React.Component}
23
23
  */
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { jsxs as _jsxs } from "react/jsx-runtime";
26
- import { Fragment as _Fragment } from "react/jsx-runtime";
24
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
27
25
  function ConnectTo({
28
26
  ...rest
29
27
  }) {
@@ -21,8 +21,7 @@ import AutoBackup from './auto-backup';
21
21
  * loading?: boolean,
22
22
  * }} SpaceGateway
23
23
  */
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
25
  function Connected() {
27
26
  const {
28
27
  t
@@ -17,9 +17,7 @@ import { formatError } from '../../util';
17
17
  * }} { spaceGateway, onDelete }
18
18
  * @return {*}
19
19
  */
20
- import { jsx as _jsx } from "react/jsx-runtime";
21
- import { jsxs as _jsxs } from "react/jsx-runtime";
22
- import { Fragment as _Fragment } from "react/jsx-runtime";
20
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
23
21
  function DeleteDIDSpacesGateWay({
24
22
  spaceGateway,
25
23
  onDelete
@@ -202,8 +202,7 @@ EmptySpacesNFT.defaultProps = {
202
202
  import { useBlockletContext } from '../../contexts/blocklet';
203
203
  import ConnectTo from './connect-to';
204
204
  import DiskInfo from '../disk-info';
205
- import { jsx as _jsx } from "react/jsx-runtime";
206
- import { jsxs as _jsxs } from "react/jsx-runtime";
205
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
207
206
  function Disconnect() {
208
207
  const {
209
208
  t