@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,7 +14,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
14
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
16
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
18
18
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
19
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
20
20
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
package/lib/util/index.js CHANGED
@@ -155,10 +155,10 @@ function getBlockletUrls() {
155
155
  }
156
156
  let mountPoint = inputMountPoint;
157
157
  if (!mountPoint) {
158
- var _rule, _rule$from, _rule2, _rule2$from;
158
+ var _rule, _rule2;
159
159
  const rules = site.rules.filter(x => !x.from.pathPrefix.startsWith(_constant.WELLKNOWN_PATH_PREFIX));
160
160
  let rule = rules[0];
161
- if (((_rule = rule) === null || _rule === void 0 ? void 0 : (_rule$from = _rule.from) === null || _rule$from === void 0 ? void 0 : _rule$from.pathPrefix) !== '/') {
161
+ if (((_rule = rule) === null || _rule === void 0 || (_rule = _rule.from) === null || _rule === void 0 ? void 0 : _rule.pathPrefix) !== '/') {
162
162
  const rootRule = rules.find(x => {
163
163
  var _x$from;
164
164
  return ((_x$from = x.from) === null || _x$from === void 0 ? void 0 : _x$from.pathPrefix) === '/';
@@ -167,7 +167,7 @@ function getBlockletUrls() {
167
167
  rule = rootRule;
168
168
  }
169
169
  }
170
- mountPoint = (0, _normalizePathPrefix.default)(((_rule2 = rule) === null || _rule2 === void 0 ? void 0 : (_rule2$from = _rule2.from) === null || _rule2$from === void 0 ? void 0 : _rule2$from.pathPrefix) || '/');
170
+ mountPoint = (0, _normalizePathPrefix.default)(((_rule2 = rule) === null || _rule2 === void 0 || (_rule2 = _rule2.from) === null || _rule2 === void 0 ? void 0 : _rule2.pathPrefix) || '/');
171
171
  }
172
172
  return domains.map(domain => getAccessUrl(domain.value, mountPoint, params));
173
173
  }
@@ -684,8 +684,8 @@ const getStoreList = _ref6 => {
684
684
  nodeInfo,
685
685
  blocklet
686
686
  } = _ref6;
687
- const teamDid = fromBlocklet ? blocklet === null || blocklet === void 0 ? void 0 : (_blocklet$meta = blocklet.meta) === null || _blocklet$meta === void 0 ? void 0 : _blocklet$meta.did : nodeInfo === null || nodeInfo === void 0 ? void 0 : nodeInfo.did;
688
- const storeList = fromBlocklet ? (blocklet === null || blocklet === void 0 ? void 0 : (_blocklet$settings = blocklet.settings) === null || _blocklet$settings === void 0 ? void 0 : _blocklet$settings.storeList) || [] : (nodeInfo === null || nodeInfo === void 0 ? void 0 : nodeInfo.blockletRegistryList) || [];
687
+ const teamDid = fromBlocklet ? blocklet === null || blocklet === void 0 || (_blocklet$meta = blocklet.meta) === null || _blocklet$meta === void 0 ? void 0 : _blocklet$meta.did : nodeInfo === null || nodeInfo === void 0 ? void 0 : nodeInfo.did;
688
+ const storeList = fromBlocklet ? (blocklet === null || blocklet === void 0 || (_blocklet$settings = blocklet.settings) === null || _blocklet$settings === void 0 ? void 0 : _blocklet$settings.storeList) || [] : (nodeInfo === null || nodeInfo === void 0 ? void 0 : nodeInfo.blockletRegistryList) || [];
689
689
  return {
690
690
  teamDid,
691
691
  storeList
@@ -760,7 +760,7 @@ const getLogoHash = logo => encodeURIComponent((logo || '').split('/').slice(-1)
760
760
  exports.getLogoHash = getLogoHash;
761
761
  const hasRequiredEnvironments = meta => (meta.environments || []).some(x => x.required);
762
762
  const hasRequiredSteps = meta => {
763
- var _meta$requirements, _meta$requirements$fu;
764
- return !!((_meta$requirements = meta.requirements) !== null && _meta$requirements !== void 0 && (_meta$requirements$fu = _meta$requirements.fuels) !== null && _meta$requirements$fu !== void 0 && _meta$requirements$fu.length) || hasRequiredEnvironments(meta);
763
+ var _meta$requirements;
764
+ return !!((_meta$requirements = meta.requirements) !== null && _meta$requirements !== void 0 && (_meta$requirements = _meta$requirements.fuels) !== null && _meta$requirements !== void 0 && _meta$requirements.length) || hasRequiredEnvironments(meta);
765
765
  };
766
766
  exports.hasRequiredSteps = hasRequiredSteps;
@@ -9,7 +9,7 @@ var _spaces = require("./spaces");
9
9
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
10
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
11
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
12
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
13
13
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable import/prefer-default-export */
14
14
  /**
15
15
  * @description
@@ -98,7 +98,7 @@ async function hasPermissionByEndpoint(endpoint) {
98
98
  */
99
99
  function getSpaceBackupEndpoint(environments) {
100
100
  var _environments$find;
101
- return (environments === null || environments === void 0 ? void 0 : (_environments$find = environments.find(e => e.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT)) === null || _environments$find === void 0 ? void 0 : _environments$find.value) || '';
101
+ return (environments === null || environments === void 0 || (_environments$find = environments.find(e => e.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT)) === null || _environments$find === void 0 ? void 0 : _environments$find.value) || '';
102
102
  }
103
103
 
104
104
  /**
@@ -198,8 +198,8 @@ function getSpaceNftDisplayUrlFromEndpoint(endpoint) {
198
198
  * @return {string}
199
199
  */
200
200
  const getDIDSpaceEndpoint = blocklet => {
201
- var _blocklet$configs, _blocklet$configs$fin;
202
- return (blocklet === null || blocklet === void 0 ? void 0 : (_blocklet$configs = blocklet.configs) === null || _blocklet$configs === void 0 ? void 0 : (_blocklet$configs$fin = _blocklet$configs.find(item => item.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPACE_ENDPOINT)) === null || _blocklet$configs$fin === void 0 ? void 0 : _blocklet$configs$fin.value) || null;
201
+ var _blocklet$configs;
202
+ return (blocklet === null || blocklet === void 0 || (_blocklet$configs = blocklet.configs) === null || _blocklet$configs === void 0 || (_blocklet$configs = _blocklet$configs.find(item => item.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPACE_ENDPOINT)) === null || _blocklet$configs === void 0 ? void 0 : _blocklet$configs.value) || null;
203
203
  };
204
204
 
205
205
  /**
@@ -10,7 +10,7 @@ var _jsxRuntime = require("react/jsx-runtime");
10
10
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
11
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
12
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable react/jsx-props-no-spreading */ /* eslint-disable import/no-extraneous-dependencies */
15
15
  function wrapLocale(Component) {
16
16
  return function LocaleWrapper(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.25-beta-be3a37f4",
3
+ "version": "1.16.25-beta-cfcab4af",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,24 +28,24 @@
28
28
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@abtnode/auth": "1.16.25-beta-be3a37f4",
32
- "@abtnode/constant": "1.16.25-beta-be3a37f4",
33
- "@abtnode/util": "1.16.25-beta-be3a37f4",
31
+ "@abtnode/auth": "1.16.25-beta-cfcab4af",
32
+ "@abtnode/constant": "1.16.25-beta-cfcab4af",
33
+ "@abtnode/util": "1.16.25-beta-cfcab4af",
34
34
  "@ahooksjs/use-url-state": "^3.5.1",
35
35
  "@arcblock/did": "^1.18.113",
36
- "@arcblock/did-connect": "^2.9.54",
36
+ "@arcblock/did-connect": "^2.9.58",
37
37
  "@arcblock/did-motif": "^1.1.13",
38
- "@arcblock/icons": "^2.9.54",
39
- "@arcblock/nft-display": "2.9.54",
40
- "@arcblock/react-hooks": "^2.9.54",
41
- "@arcblock/terminal": "^2.9.54",
42
- "@arcblock/ux": "^2.9.54",
43
- "@blocklet/constant": "1.16.25-beta-be3a37f4",
44
- "@blocklet/launcher-layout": "2.2.54",
45
- "@blocklet/list": "^0.12.76",
46
- "@blocklet/meta": "1.16.25-beta-be3a37f4",
47
- "@blocklet/ui-react": "^2.9.54",
48
- "@blocklet/uploader": "^0.0.74",
38
+ "@arcblock/icons": "^2.9.58",
39
+ "@arcblock/nft-display": "2.9.58",
40
+ "@arcblock/react-hooks": "^2.9.58",
41
+ "@arcblock/terminal": "^2.9.58",
42
+ "@arcblock/ux": "^2.9.58",
43
+ "@blocklet/constant": "1.16.25-beta-cfcab4af",
44
+ "@blocklet/launcher-layout": "2.2.58",
45
+ "@blocklet/list": "^0.12.78",
46
+ "@blocklet/meta": "1.16.25-beta-cfcab4af",
47
+ "@blocklet/ui-react": "^2.9.58",
48
+ "@blocklet/uploader": "^0.0.75",
49
49
  "@emotion/react": "^11.10.4",
50
50
  "@emotion/styled": "^11.10.4",
51
51
  "@iconify/react": "^4.0.0",
@@ -107,7 +107,7 @@
107
107
  "jest": "^29.7.0",
108
108
  "jest-environment-jsdom": "^29.7.0"
109
109
  },
110
- "gitHead": "cd99ea556cdd402ecc12e017d79f13e8e8bb83c7",
110
+ "gitHead": "061cbc96f4e918e2186f3834960c0c2e14de9317",
111
111
  "exports": {
112
112
  ".": {
113
113
  "import": "./es/index.js",