@abtnode/ux 1.16.28 → 1.16.29-beta-0070353c

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 (37) hide show
  1. package/lib/blocklet/add-cert.js +2 -2
  2. package/lib/blocklet/component/add-component/add-component-core.js +2 -2
  3. package/lib/blocklet/component/did-space/connect-to.js +2 -2
  4. package/lib/blocklet/install-from-url.js +2 -2
  5. package/lib/blocklet/migration.js +2 -2
  6. package/lib/blocklet/publish/create-release/blocklets.js +1 -1
  7. package/lib/blocklet/publish/create-release/branding.js +1 -1
  8. package/lib/blocklet/publish/create-release/connect-store-list.js +26 -24
  9. package/lib/blocklet/publish/create-release/index.js +2 -1
  10. package/lib/blocklet/publish/release-list.js +2 -1
  11. package/lib/blocklet/storage/connect-to.js +2 -2
  12. package/lib/blocklet/transfer-owner.js +2 -2
  13. package/lib/hooks/use-navigation.js +31 -2
  14. package/lib/locales/ar.js +9 -2
  15. package/lib/locales/de.js +9 -2
  16. package/lib/locales/en.js +9 -2
  17. package/lib/locales/es.js +9 -2
  18. package/lib/locales/fr.js +9 -2
  19. package/lib/locales/hi.js +9 -2
  20. package/lib/locales/i18n.db +0 -0
  21. package/lib/locales/id.js +9 -2
  22. package/lib/locales/ja.js +9 -2
  23. package/lib/locales/ko.js +9 -2
  24. package/lib/locales/pt.js +9 -2
  25. package/lib/locales/ru.js +9 -2
  26. package/lib/locales/th.js +9 -2
  27. package/lib/locales/vi.js +9 -2
  28. package/lib/locales/zh-tw.js +9 -2
  29. package/lib/locales/zh.js +9 -2
  30. package/lib/store/add.js +10 -6
  31. package/lib/store/item.js +2 -1
  32. package/lib/team/members/invite-member.js +2 -2
  33. package/lib/team/members/issue-passport.js +2 -2
  34. package/lib/team/members/transfer-node.js +5 -5
  35. package/lib/team/passports/mutate-role.js +2 -2
  36. package/lib/util/index.js +1 -1
  37. package/package.json +7 -7
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
4
4
  import useAsyncRetry from 'react-use/lib/useAsyncRetry';
5
5
  import Tooltip from '@mui/material/Tooltip';
6
6
  import CircularProgress from '@mui/material/CircularProgress';
7
- import Alert from '@arcblock/ux/lib/Alert';
7
+ import Alert from '@mui/material/Alert';
8
8
  import Toast from '@arcblock/ux/lib/Toast';
9
9
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
10
10
  import { BlockletEvents } from '@blocklet/constant';
@@ -121,7 +121,7 @@ function Add(props) {
121
121
  title: t('router.cert.genLetsEncryptCert.title'),
122
122
  description: /*#__PURE__*/_jsxs("div", {
123
123
  children: [/*#__PURE__*/_jsx(Alert, {
124
- type: "success",
124
+ severity: "success",
125
125
  children: t('router.cert.genLetsEncryptCert.dnsTip')
126
126
  }), t('router.cert.genLetsEncryptCert.description')]
127
127
  }),
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
3
3
  import { useEffect, useRef, useState } from 'react';
4
4
  import { useParams } from 'react-router-dom';
5
5
  import { isInServerlessMode } from '@abtnode/util/lib/serverless';
6
- import Alert from '@arcblock/ux/lib/Alert';
6
+ import Alert from '@mui/material/Alert';
7
7
  import AnimationWaiter from '@arcblock/ux/lib/AnimationWaiter';
8
8
  import Button from '@arcblock/ux/lib/Button';
9
9
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
@@ -887,7 +887,7 @@ export default function AddComponentCore({
887
887
  }));
888
888
  }
889
889
  }), !!error && /*#__PURE__*/_jsx(Alert, {
890
- type: "error",
890
+ severity: "error",
891
891
  style: {
892
892
  width: '100%',
893
893
  marginTop: 8
@@ -7,7 +7,7 @@ import { joinURL } from 'ufo';
7
7
  import toast from '@arcblock/ux/lib/Toast';
8
8
  import SplitButton from '@arcblock/ux/lib/SplitButton';
9
9
  import Dialog from '@arcblock/ux/lib/Dialog';
10
- import Alert from '@arcblock/ux/lib/Alert';
10
+ import Alert from '@mui/material/Alert';
11
11
  import { func } from 'prop-types';
12
12
  import isEmpty from 'lodash/isEmpty';
13
13
  import useBlockletInfoForConnectDIDSpaces from '../../../hooks/use-blocklet-info-for-connect-did-spaces';
@@ -333,7 +333,7 @@ function ConnectTo({
333
333
  })
334
334
  })
335
335
  }), Boolean(errorMessage) && /*#__PURE__*/_jsx(Alert, {
336
- type: "error",
336
+ severity: "error",
337
337
  style: {
338
338
  width: '100%'
339
339
  },
@@ -12,7 +12,7 @@ import InfoRow from '@arcblock/ux/lib/InfoRow';
12
12
  import DidConnect from '@arcblock/did-connect/lib/Connect';
13
13
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
14
14
  import Button from '@arcblock/ux/lib/Button';
15
- import Alert from '@arcblock/ux/lib/Alert';
15
+ import Alert from '@mui/material/Alert';
16
16
  import { getDisplayName } from '@blocklet/meta/lib/util';
17
17
  import { useNodeContext } from '../contexts/node';
18
18
  import { useSessionContext } from '../contexts/session';
@@ -288,7 +288,7 @@ export default function InstallFromUrl({
288
288
  },
289
289
  children: step.body
290
290
  }), !!error && /*#__PURE__*/_jsx(Alert, {
291
- type: "error",
291
+ severity: "error",
292
292
  style: {
293
293
  width: '100%',
294
294
  marginTop: 8
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import Box from '@mui/material/Box';
3
- import Alert from '@arcblock/ux/lib/Alert';
3
+ import Alert from '@mui/material/Alert';
4
4
  import Button from '@arcblock/ux/lib/Button';
5
5
  import { APP_STRUCT_VERSION, DEFAULT_DID_DOMAIN, DEFAULT_IP_DOMAIN_SUFFIX } from '@abtnode/constant';
6
6
  import DidConnect from '@arcblock/did-connect/lib/Connect';
@@ -95,7 +95,7 @@ export default function BlockletMigration() {
95
95
  };
96
96
  const onClose = () => setOpenConnect(false);
97
97
  return [needMigration && /*#__PURE__*/_jsxs(Alert, {
98
- type: "warning",
98
+ severity: "warning",
99
99
  style: {
100
100
  margin: '12px 0'
101
101
  },
@@ -155,7 +155,7 @@ export default function Blocklets({
155
155
  rowsPerPage: 50
156
156
  }
157
157
  }), /*#__PURE__*/_jsx(Alert, {
158
- type: "info",
158
+ severity: "info",
159
159
  style: {
160
160
  width: '100%'
161
161
  },
@@ -178,7 +178,7 @@ function Branding({
178
178
  },
179
179
  error: !!paramsErrTip.projectId,
180
180
  helperText: paramsErrTip.projectId || '',
181
- value: projectId === UNOWNED_DID ? '' : projectId,
181
+ value: projectId === UNOWNED_DID ? '' : `did:abt:${projectId}`,
182
182
  sx: {
183
183
  mt: 3
184
184
  }
@@ -1,14 +1,13 @@
1
1
  import { useMemo } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Box, List, ListItem, ListItemText } from '@mui/material';
4
- import Alert from '@arcblock/ux/lib/Alert';
3
+ import { Box, List, Alert, ListItem, ListItemText } from '@mui/material';
5
4
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
6
5
  import LaunchIcon from '@mui/icons-material/Launch';
7
6
  import { blueGrey } from '@mui/material/colors';
8
7
  import { BLOCKLET_TENANT_MODES } from '@blocklet/constant';
9
8
  import AddStore from '../../../store/add';
10
9
  import StoreItem from '../../../store/item';
11
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
12
11
  function ConnectStoreList({
13
12
  blocklet,
14
13
  releaseId,
@@ -37,26 +36,9 @@ function ConnectStoreList({
37
36
  }, [connectedStores]);
38
37
  const did = blocklet?.meta?.did;
39
38
  const handleAddStore = () => {};
40
- return /*#__PURE__*/_jsxs(List, {
41
- children: [storeList?.map(x => /*#__PURE__*/_jsx(ListItem, {
42
- "data-cy": "store-switch",
43
- children: /*#__PURE__*/_jsx(ListItemText, {
44
- children: /*#__PURE__*/_jsx(StoreItem, {
45
- releaseId: releaseId,
46
- projectId: projectId,
47
- releaseType: releaseType,
48
- kind: "publish",
49
- teamDid: did,
50
- store: x,
51
- published: publishedStoreIds?.indexOf(x.id) > -1,
52
- connectedStore: connectedMap[x.id],
53
- onPublish: onPublish,
54
- onDelete: onDelete,
55
- onOpenConnectStore: onOpenConnectStore
56
- })
57
- })
58
- }, x.url)), !!storeList?.length && /*#__PURE__*/_jsx(Alert, {
59
- type: "info",
39
+ return /*#__PURE__*/_jsxs(_Fragment, {
40
+ children: [!!storeList?.length && /*#__PURE__*/_jsx(Alert, {
41
+ severity: "info",
60
42
  style: {
61
43
  width: '100%'
62
44
  },
@@ -74,10 +56,30 @@ function ConnectStoreList({
74
56
  }
75
57
  })]
76
58
  })
59
+ }), /*#__PURE__*/_jsx(List, {
60
+ children: storeList?.map(x => /*#__PURE__*/_jsx(ListItem, {
61
+ "data-cy": "store-switch",
62
+ children: /*#__PURE__*/_jsx(ListItemText, {
63
+ children: /*#__PURE__*/_jsx(StoreItem, {
64
+ releaseId: releaseId,
65
+ projectId: projectId,
66
+ releaseType: releaseType,
67
+ kind: "publish",
68
+ teamDid: did,
69
+ store: x,
70
+ published: publishedStoreIds?.indexOf(x.id) > -1,
71
+ connectedStore: connectedMap[x.id],
72
+ onPublish: onPublish,
73
+ onDelete: onDelete,
74
+ onOpenConnectStore: onOpenConnectStore
75
+ })
76
+ })
77
+ }, x.url))
77
78
  }), componentDid && window.blocklet?.tenantMode === BLOCKLET_TENANT_MODES.MULTIPLE ? null : /*#__PURE__*/_jsx(AddStore, {
78
79
  onAdd: handleAddStore,
79
80
  teamDid: did,
80
- storeList: storeList
81
+ storeList: storeList,
82
+ scope: "studio"
81
83
  })]
82
84
  });
83
85
  }
@@ -145,7 +145,7 @@ export default function CreateRelease({
145
145
  });
146
146
  }
147
147
  }, [projectId, setParamsErrTip]);
148
- const projectType = useMemo(() => params?.blockletComponents?.some(x => x.included) ? 'pack' : 'resource', [params?.blockletComponents]);
148
+ const projectType = useMemo(() => params?.blockletComponents?.some(x => x.included) || params?.uploadedResource ? 'pack' : 'resource', [params?.blockletComponents, params?.uploadedResource]);
149
149
  const tabs = [];
150
150
  const resourceComponents = (blocklet?.children || []).filter(x => x.meta.resource?.exportApi).filter(x => !componentDid || x.meta.did === componentDid);
151
151
  resourceComponents.forEach(item => {
@@ -338,6 +338,7 @@ export default function CreateRelease({
338
338
  initLogoUrl: initLogoUrl,
339
339
  releaseId: releaseId,
340
340
  projectId: projectId,
341
+ projectType: projectType,
341
342
  resourceComponents: resourceComponents,
342
343
  resourceComponentsMap: resourceComponentsMap,
343
344
  resourceRelateComponents: resourceRelateComponents,
@@ -241,10 +241,11 @@ export default function ReleaseList() {
241
241
  installUrl = url.href;
242
242
  downloadUrl = joinURL(`${WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${blocklet.meta.did}/${project.id}/${project.lastReleaseId}/download/${(project.lastReleaseFiles || [])[0]}`);
243
243
  }
244
+ const projectType = project.blockletComponents?.some(x => x.included) || release.uploadedResource ? 'pack' : 'resource';
244
245
  return /*#__PURE__*/_jsxs(Box, {
245
246
  display: "flex",
246
247
  alignItems: "center",
247
- children: [published && project.type === 'pack' && /*#__PURE__*/_jsx(Tooltip, {
248
+ children: [published && projectType === 'pack' && /*#__PURE__*/_jsx(Tooltip, {
248
249
  title: t('blocklet.publish.install', {
249
250
  name: project.blockletTitle
250
251
  }),
@@ -7,7 +7,7 @@ import { joinURL } from 'ufo';
7
7
  import toast from '@arcblock/ux/lib/Toast';
8
8
  import SplitButton from '@arcblock/ux/lib/SplitButton';
9
9
  import Dialog from '@arcblock/ux/lib/Dialog';
10
- import Alert from '@arcblock/ux/lib/Alert';
10
+ import Alert from '@mui/material/Alert';
11
11
  import { isEmpty } from 'lodash';
12
12
  import { useBlockletContext } from '../../contexts/blocklet';
13
13
  import { axios } from '../../util/api';
@@ -339,7 +339,7 @@ function ConnectTo({
339
339
  })
340
340
  })
341
341
  }), Boolean(errorMessage) && /*#__PURE__*/_jsx(Alert, {
342
- type: "error",
342
+ severity: "error",
343
343
  style: {
344
344
  width: '100%'
345
345
  },
@@ -10,7 +10,7 @@ import Typography from '@mui/material/Typography';
10
10
  import Connect from '@arcblock/did-connect/lib/Connect';
11
11
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
12
12
  import Button from '@arcblock/ux/lib/Button';
13
- import Alert from '@arcblock/ux/lib/Alert';
13
+ import Alert from '@mui/material/Alert';
14
14
  import FormControlLabel from '@mui/material/FormControlLabel';
15
15
  import Checkbox from '@mui/material/Checkbox';
16
16
  import ClickToCopy from '../click-to-copy';
@@ -176,7 +176,7 @@ export default function TransferOwner({
176
176
  component: "div",
177
177
  children: typeof step.body === 'function' ? step.body() : step.body
178
178
  }), !!error && /*#__PURE__*/_jsx(Alert, {
179
- type: "error",
179
+ severity: "error",
180
180
  variant: "icon",
181
181
  children: error
182
182
  })]
@@ -3,10 +3,12 @@ import cloneDeep from 'lodash/cloneDeep';
3
3
  import isNil from 'lodash/isNil';
4
4
  import omit from 'lodash/omit';
5
5
  import omitBy from 'lodash/omitBy';
6
+ import { joinURL } from 'ufo';
6
7
  import { useMemo } from 'react';
7
8
  import { Chip } from '@mui/material';
8
- import { deepWalk, parseNavigation, isMatchSection, nestNavigationList, filterNavigation, joinLink, cleanOrphanNavigation, flattenNavigation } from '@blocklet/meta/lib/parse-navigation-from-blocklet';
9
+ import { deepWalk, parseNavigation, isMatchSection, nestNavigationList, filterNavigation, joinLink, cleanOrphanNavigation, flattenNavigation, cleanOldNavigationHistory } from '@blocklet/meta/lib/parse-navigation-from-blocklet';
9
10
  import { WELLKNOWN_SERVICE_PATH_PREFIX } from '@abtnode/constant';
11
+ import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
10
12
  import { useBlockletContext } from '../contexts/blocklet';
11
13
  import { nanoid } from '../util';
12
14
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -69,11 +71,38 @@ function isSameNavigation(a, b) {
69
71
  }
70
72
  return a.id === b.id;
71
73
  }
74
+ const createNavigationItem = (id, title, icon, link) => ({
75
+ id,
76
+ from: 'tmpl',
77
+ title,
78
+ icon,
79
+ link: joinURL(WELLKNOWN_SERVICE_PATH_PREFIX, link)
80
+ });
81
+ const createNavigationSection = (id, title, items) => ({
82
+ id,
83
+ from: 'tmpl',
84
+ title,
85
+ role: ['owner', 'admin', 'member'],
86
+ section: ['dashboard'],
87
+ link: '',
88
+ items
89
+ });
90
+ const ensureServiceNavigation = (t, input) => {
91
+ const navigation = cleanOldNavigationHistory(input);
92
+ const index = navigation.findIndex(x => x.id === '/team');
93
+ if (index === -1) {
94
+ navigation.unshift(createNavigationSection('/team', t('navigation.blockletService'), [createNavigationItem('dashboard', t('navigation.dashboard'), 'ant-design:dashboard-outlined', '/admin'), createNavigationItem('member', t('navigation.members'), 'ant-design:user-outlined', '/admin/members'), createNavigationItem('passport', t('navigation.passport'), 'icon-park-outline:passport', '/admin/passports'), createNavigationItem('studio', t('navigation.studio'), 'eos-icons:subscriptions-created-outlined', '/admin/publish'), createNavigationItem('analytics', t('navigation.analytics'), 'mdi:chart-timeline-variant-shimmer', '/admin/analytics')]));
95
+ }
96
+ return navigation;
97
+ };
72
98
  export default function useNavigation() {
73
99
  const {
74
100
  blocklet,
75
101
  actions
76
102
  } = useBlockletContext();
103
+ const {
104
+ t
105
+ } = useLocaleContext();
77
106
  const {
78
107
  navigationList,
79
108
  components,
@@ -87,7 +116,7 @@ export default function useNavigation() {
87
116
  copyList.push(item);
88
117
  }
89
118
  });
90
- return copyList;
119
+ return ensureServiceNavigation(t, copyList);
91
120
  }
92
121
  });
93
122
  const state = useReactive({
package/lib/locales/ar.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'العلامة التجارية',
745
745
  brandingHelp: 'سيتم عرض مزيد من المعلومات حول البلوكلت في المتجر',
746
746
  resourceSelect: 'اختر موردًا من Blocklets',
747
- resourceUpload: 'قم بتحميل الموارد من قرصك'
747
+ resourceUpload: 'تحميل المورد من القرص الخاص بك (الفهرس.html مطلوب في الأرشيف)'
748
748
  },
749
749
  titleValidationError: 'يجب أن يكون طول العنوان على الأقل 3 أحرف',
750
750
  descriptionValidationError: 'يجب أن تكون طول الوصف بين 3 و 160 حرفًا'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'هل ترغب في مسح كل التنقل المخصص؟',
1613
1613
  restConfirmDesc: 'بعد التصفية، سيتم استعادة التنقل إلى تكوين Blocklet الافتراضي الأصلي.',
1614
1614
  resetSuccessful: 'إعادة التعيين ناجحة'
1615
- }
1615
+ },
1616
+ access: 'وصول',
1617
+ members: 'أعضاء',
1618
+ passport: 'جواز سفر',
1619
+ analytics: 'التحليلات',
1620
+ dashboard: 'لوحة القيادة',
1621
+ studio: 'استوديو',
1622
+ blockletService: 'خدمة بلوكليت'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/de.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Branding',
745
745
  brandingHelp: 'Weitere Informationen über den Blocklet werden im Store angezeigt',
746
746
  resourceSelect: 'Wählen Sie eine Ressource aus Blocklets',
747
- resourceUpload: 'Ressourcen vom Datenträger hochladen'
747
+ resourceUpload: 'Ressource von Ihrer Festplatte hochladen (index.html ist im Archiv erforderlich)'
748
748
  },
749
749
  titleValidationError: 'Die Länge des Titels muss mindestens 3 Zeichen betragen',
750
750
  descriptionValidationError: 'Die Beschreibungslänge muss zwischen 3 und 160 Zeichen liegen'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'Möchten Sie alle benutzerdefinierten Navigationseinstellungen löschen?',
1613
1613
  restConfirmDesc: 'Nach dem Löschen wird die Navigation auf die ursprüngliche Standardkonfiguration von Blocklet zurückgesetzt.',
1614
1614
  resetSuccessful: 'Reset erfolgreich'
1615
- }
1615
+ },
1616
+ access: 'Zugriff',
1617
+ members: 'Mitglieder',
1618
+ passport: 'Pass',
1619
+ analytics: 'Analytics',
1620
+ dashboard: 'Dashboard',
1621
+ studio: 'Studio',
1622
+ blockletService: 'Blocklet Dienst'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/en.js CHANGED
@@ -689,8 +689,8 @@ export default {
689
689
  saveDraftSuccess: 'Draft saved successfully',
690
690
  packTip: 'Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet',
691
691
  resourceTip: 'Currently, as a Resource Blocklet, it cannot be directly installed from the Store.',
692
- whyCantSeeInStore: "Why can't I see this blocklet in the Store?",
693
- whyCantSeeResourceBlockletInStore: "Why can't I see this Resource Blocklet in the Store?",
692
+ whyCantSeeInStore: 'You need to publish the blocklet on connected store before you can see it in the store listing page',
693
+ whyCantSeeResourceBlockletInStore: 'Resource Blocklet are hidden from the store listing page by default',
694
694
  resourceChangedWarning: 'You have modified the resource, please save it in time',
695
695
  install: 'Install {name}',
696
696
  installResourceTip: 'Install Url:',
@@ -1564,6 +1564,13 @@ export default {
1564
1564
  },
1565
1565
  navigation: {
1566
1566
  navigation: 'Navigation',
1567
+ access: 'Access',
1568
+ members: 'Members',
1569
+ passport: 'Passport',
1570
+ analytics: 'Analytics',
1571
+ dashboard: 'Dashboard',
1572
+ studio: 'Studio',
1573
+ blockletService: 'Blocklet Service',
1567
1574
  actionFailed: 'Action Failed',
1568
1575
  form: {
1569
1576
  title: 'Title',
package/lib/locales/es.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Branding',
745
745
  brandingHelp: 'Se mostrará más información sobre el blocklet en la tienda',
746
746
  resourceSelect: 'Seleccionar recurso de blocklets',
747
- resourceUpload: 'Cargar recursos desde su disco'
747
+ resourceUpload: 'Cargar recurso desde tu disco (index.html es requerido en el archivo)'
748
748
  },
749
749
  titleValidationError: 'La longitud del título debe ser de al menos 3 caracteres',
750
750
  descriptionValidationError: 'La longitud de la descripción debe estar entre 3 y 160 caracteres'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: '¿Deseas borrar todas las navegaciones personalizadas?',
1613
1613
  restConfirmDesc: 'Después de borrar, la navegación se restablecerá a la configuración predeterminada original de Blocklet',
1614
1614
  resetSuccessful: 'Restablecimiento exitoso'
1615
- }
1615
+ },
1616
+ access: 'Acceso',
1617
+ members: 'Miembros',
1618
+ passport: 'Pasaporte',
1619
+ analytics: 'Analítica',
1620
+ dashboard: 'Tablero',
1621
+ studio: 'Estudio',
1622
+ blockletService: 'Servicio de Blocklet'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/fr.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Branding',
745
745
  brandingHelp: "Plus d'informations sur le blocklet seront affichées dans le magasin",
746
746
  resourceSelect: 'Sélectionnez une ressource des blocklets',
747
- resourceUpload: 'Télécharger des ressources depuis votre disque'
747
+ resourceUpload: "Téléchargez la ressource depuis votre disque (index.html est requis dans l'archive)"
748
748
  },
749
749
  titleValidationError: "La longueur du titre doit être d'au moins 3 caractères",
750
750
  descriptionValidationError: 'La longueur de la description doit être comprise entre 3 et 160 caractères'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'Voulez-vous effacer toute la navigation personnalisée ?',
1613
1613
  restConfirmDesc: 'Après un nettoyage, la navigation sera restaurée à la configuration par défaut originale de Blocklet.',
1614
1614
  resetSuccessful: 'Réinitialisation réussie'
1615
- }
1615
+ },
1616
+ access: 'Accès',
1617
+ members: 'Membres',
1618
+ passport: 'Passeport',
1619
+ analytics: 'Analytique',
1620
+ dashboard: 'Tableau de bord',
1621
+ studio: 'Studio',
1622
+ blockletService: 'Service Blocklet'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/hi.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'ब्रांडिंग',
745
745
  brandingHelp: 'स्टोर में ब्लॉकलेट के बारे में अधिक जानकारी दी जाएगी',
746
746
  resourceSelect: 'ब्लॉकलेट से संसाधन का चयन करें',
747
- resourceUpload: 'अपने डिस्क से संसाधन अपलोड करें'
747
+ resourceUpload: 'अपनी डिस्क से संसाधन अपलोड करें (संग्रह में index.html आवश्यक है)'
748
748
  },
749
749
  titleValidationError: 'शीर्षक की लंबाई कम से कम 3 अक्षर होनी चाहिए',
750
750
  descriptionValidationError: 'विवरण की लंबाई 3 और 160 वर्णों के बीच होनी चाहिए'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'क्या आप सभी कस्टम नेविगेशन को हटाना चाहते हैं?',
1613
1613
  restConfirmDesc: 'हटाने के बाद, नेविगेशन ब्लॉकलेट की मूल डिफ़ॉल्ट समाकृति में पुनर्स्थापित होगी।',
1614
1614
  resetSuccessful: 'रीसेट सफल'
1615
- }
1615
+ },
1616
+ access: 'पहुंच',
1617
+ members: 'सदस्य',
1618
+ passport: 'पासपोर्ट',
1619
+ analytics: 'विश्लेषण',
1620
+ dashboard: 'डैशबोर्ड',
1621
+ studio: 'स्टूडियो',
1622
+ blockletService: 'ब्लॉकलेट सेवा'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
Binary file
package/lib/locales/id.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Branding',
745
745
  brandingHelp: 'Informasi lebih lanjut tentang blocklet akan ditampilkan di Toko',
746
746
  resourceSelect: 'Pilih sumber dari blocklets',
747
- resourceUpload: 'Unggah sumber daya dari disk Anda'
747
+ resourceUpload: 'Unggah sumber daya dari disk Anda (index.html diperlukan dalam arsip)'
748
748
  },
749
749
  titleValidationError: 'Panjang judul harus setidaknya 3 karakter',
750
750
  descriptionValidationError: 'Panjang deskripsi harus antara 3 dan 160 karakter.'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'Apakah Anda ingin menghapus semua navigasi kustom?',
1613
1613
  restConfirmDesc: 'Setelah membersihkan, navigasi akan dikembalikan ke konfigurasi default asli Blocklet',
1614
1614
  resetSuccessful: 'Reset berhasil'
1615
- }
1615
+ },
1616
+ access: 'Akses',
1617
+ members: 'Anggota',
1618
+ passport: 'Paspor',
1619
+ analytics: 'Analitik',
1620
+ dashboard: 'Dasbor',
1621
+ studio: 'Studio',
1622
+ blockletService: 'Layanan Blocklet'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/ja.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'ブランディング',
745
745
  brandingHelp: 'ストアにブロックレットの詳細情報が表示されます',
746
746
  resourceSelect: 'ブロックレットからリソースを選択する',
747
- resourceUpload: 'ディスクからリソースをアップロードする'
747
+ resourceUpload: 'ディスクからリソースをアップロードします(アーカイブにindex.htmlが必要です)'
748
748
  },
749
749
  titleValidationError: 'タイトルの長さは最低3文字以上である必要があります',
750
750
  descriptionValidationError: '説明の長さは3から160文字の間でなければなりません'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'すべてのカスタムナビゲーションをクリアしますか?',
1613
1613
  restConfirmDesc: 'クリア後、ナビゲーションはBlockletの元のデフォルト設定に復元されます',
1614
1614
  resetSuccessful: 'リセット成功'
1615
- }
1615
+ },
1616
+ access: 'アクセス',
1617
+ members: 'メンバー',
1618
+ passport: 'パスポート',
1619
+ analytics: 'アナリティクス',
1620
+ dashboard: 'ダッシュボード',
1621
+ studio: 'スタジオ',
1622
+ blockletService: 'Blockletサービス'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/ko.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: '브랜딩',
745
745
  brandingHelp: '블록릿에 대한 자세한 정보가 스토어에 표시됩니다',
746
746
  resourceSelect: '블록릿에서 리소스 선택',
747
- resourceUpload: '디스크에서 리소스 업로드하기'
747
+ resourceUpload: '디스크에서 리소스를 업로드하세요 (아카이브에 index.html이 필요합니다)'
748
748
  },
749
749
  titleValidationError: '제목 길이는 최소 3자 이상이어야 합니다',
750
750
  descriptionValidationError: '설명 길이는 3에서 160자 사이여야 합니다'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: '모든 사용자 지정 내비게이션을 지우시겠습니까?',
1613
1613
  restConfirmDesc: '클리어 후에는 내비게이션이 Blocklet의 원래 기본 설정으로 복원됩니다',
1614
1614
  resetSuccessful: '초기화 성공'
1615
- }
1615
+ },
1616
+ access: '접속',
1617
+ members: '구성원',
1618
+ passport: '여권',
1619
+ analytics: '분석',
1620
+ dashboard: '대시 보드',
1621
+ studio: '스튜디오',
1622
+ blockletService: '블록렛 서비스'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/pt.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Marca',
745
745
  brandingHelp: 'Mais informações sobre o blocklet serão exibidas na Loja',
746
746
  resourceSelect: 'Selecionar recurso dos blocos',
747
- resourceUpload: 'Carregar recursos do seu disco'
747
+ resourceUpload: 'Carregar recurso do seu disco (index.html é necessário no arquivo)'
748
748
  },
749
749
  titleValidationError: 'O comprimento do título deve ter pelo menos 3 caracteres',
750
750
  descriptionValidationError: 'O comprimento da descrição deve estar entre 3 e 160 caracteres.'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'Você quer limpar todas as navegações personalizadas?',
1613
1613
  restConfirmDesc: 'Após a limpeza, a navegação será restaurada para a configuração padrão original do Blocklet',
1614
1614
  resetSuccessful: 'Reinício bem-sucedido'
1615
- }
1615
+ },
1616
+ access: 'Acesso',
1617
+ members: 'Membros',
1618
+ passport: 'Passaporte',
1619
+ analytics: 'Análise',
1620
+ dashboard: 'Painel',
1621
+ studio: 'Estúdio',
1622
+ blockletService: 'Serviço de Bloco'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/ru.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Брендинг',
745
745
  brandingHelp: 'Больше информации о блоклете будет отображаться в магазине',
746
746
  resourceSelect: 'Выберите ресурс из блоклетов',
747
- resourceUpload: 'Загрузить ресурсы с вашего диска'
747
+ resourceUpload: 'Загрузите ресурс с вашего диска (в архиве требуется index.html)'
748
748
  },
749
749
  titleValidationError: 'Длина заголовка должна быть не менее 3 символов',
750
750
  descriptionValidationError: 'Длина описания должна быть от 3 до 160 символов'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'Вы хотите очистить все настраиваемые навигационные параметры?',
1613
1613
  restConfirmDesc: 'После очистки навигация будет восстановлена в исходную конфигурацию Blocklet.',
1614
1614
  resetSuccessful: 'Сброс успешен'
1615
- }
1615
+ },
1616
+ access: 'Доступ',
1617
+ members: 'Участники',
1618
+ passport: 'Паспорт',
1619
+ analytics: 'аналитика',
1620
+ dashboard: 'Панель управления',
1621
+ studio: 'Студия',
1622
+ blockletService: 'Сервис Blocklet'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/th.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'การติดตามแบรนด์',
745
745
  brandingHelp: 'ข้อมูลเพิ่มเติมเกี่ยวกับ blocklet จะแสดงในร้านค้า',
746
746
  resourceSelect: 'เลือกทรัพยากรจากบล็อกเล็ต',
747
- resourceUpload: 'อัปโหลดทรัพยากรจากดิสก์ของคุณ'
747
+ resourceUpload: 'อัปโหลดทรัพยากรจากดิสก์ของคุณ (index.html จำเป็นในไฟล์เข้าเก็บ)'
748
748
  },
749
749
  titleValidationError: 'ความยาวของชื่อต้องมีอย่างน้อย 3 ตัวอักษร',
750
750
  descriptionValidationError: 'ความยาวคำอธิบายต้องอยู่ระหว่าง 3 ถึง 160 ตัวอักษร.'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'คุณต้องการล้างการนำทางทั้งหมดหรือไม่?',
1613
1613
  restConfirmDesc: 'หลังจากล้างสะอาดแล้ว การนำทางจะถูกกู้คืนไปยังการกำหนดค่าเริ่มต้นเดิมของ Blocklet',
1614
1614
  resetSuccessful: 'การรีเซ็ตสำเร็จ'
1615
- }
1615
+ },
1616
+ access: 'เข้าถึง',
1617
+ members: 'สมาชิก',
1618
+ passport: 'หนังสือเดินทาง',
1619
+ analytics: 'การวิเคราะห์',
1620
+ dashboard: 'แดชบอร์ด',
1621
+ studio: 'สตูดิโอ',
1622
+ blockletService: 'บริการ Blocklet'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/vi.js CHANGED
@@ -744,7 +744,7 @@ export default {
744
744
  branding: 'Thương hiệu',
745
745
  brandingHelp: 'Thông tin chi tiết về blocklet sẽ được hiển thị trên Cửa hàng',
746
746
  resourceSelect: 'Chọn tài nguyên từ blocklets',
747
- resourceUpload: 'Tải tài nguyên từ ổ đĩa của bạn'
747
+ resourceUpload: 'Tải tài nguyên từ ổ đĩa của bạn (index.html cần thiết trong tệp nén)'
748
748
  },
749
749
  titleValidationError: 'Độ dài tiêu đề phải ít nhất 3 ký tự',
750
750
  descriptionValidationError: 'Chiều dài mô tả phải từ 3 đến 160 ký tự.'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: 'Bạn có muốn xóa tất cả các điều hướng tùy chỉnh?',
1613
1613
  restConfirmDesc: 'Sau khi làm sạch, điều hướng sẽ được khôi phục về cấu hình mặc định ban đầu của Blocklet',
1614
1614
  resetSuccessful: 'Khôi phục thành công'
1615
- }
1615
+ },
1616
+ access: 'Truy cập',
1617
+ members: 'Thành viên',
1618
+ passport: 'Hộ chiếu',
1619
+ analytics: 'Phân tích',
1620
+ dashboard: 'Bảng điều khiển',
1621
+ studio: 'Studio',
1622
+ blockletService: 'Dịch vụ Blocklet'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
@@ -744,7 +744,7 @@ export default {
744
744
  branding: '品牌',
745
745
  brandingHelp: '將在商店中顯示有關區塊的更多信息',
746
746
  resourceSelect: '從 blocklets 選擇資源',
747
- resourceUpload: '從您的磁盤上傳資源'
747
+ resourceUpload: '從您的磁盤上傳資源(存檔中需要index.html)'
748
748
  },
749
749
  titleValidationError: '標題長度必須至少為3到40個字符',
750
750
  descriptionValidationError: '描述長度必須介於3到160個字符之間'
@@ -1612,7 +1612,14 @@ export default {
1612
1612
  restConfirmTitle: '您要清除所有自訂導航嗎?',
1613
1613
  restConfirmDesc: '清除後,導航將恢復到Blocklet的原始默認配置',
1614
1614
  resetSuccessful: '重設成功'
1615
- }
1615
+ },
1616
+ access: '訪問',
1617
+ members: '成員',
1618
+ passport: '護照',
1619
+ analytics: '分析',
1620
+ dashboard: '儀表板',
1621
+ studio: '工作室',
1622
+ blockletService: 'Blocklet服務'
1616
1623
  },
1617
1624
  storage: {
1618
1625
  spaces: {
package/lib/locales/zh.js CHANGED
@@ -747,7 +747,7 @@ export default {
747
747
  branding: '品牌',
748
748
  brandingHelp: '将在商店中显示有关区块链的更多信息',
749
749
  resourceSelect: '从 blocklets 选择资源',
750
- resourceUpload: '从您的磁盘上传资源'
750
+ resourceUpload: '从您的磁盘上传资源(存档中需要index.html)'
751
751
  },
752
752
  titleValidationError: '标题长度必须至少为3到40个字符',
753
753
  descriptionValidationError: '描述长度必须在3到160个字符之间'
@@ -1619,7 +1619,14 @@ export default {
1619
1619
  restConfirmTitle: '是否清空所有自定义导航?',
1620
1620
  restConfirmDesc: '清空后,导航会恢复到 Blocklet 原有默认的配置.',
1621
1621
  resetSuccessful: '重置成功'
1622
- }
1622
+ },
1623
+ access: '访问',
1624
+ members: '成员',
1625
+ passport: '护照',
1626
+ analytics: '分析',
1627
+ dashboard: '仪表板',
1628
+ studio: '工作室',
1629
+ blockletService: 'Blocklet服务'
1623
1630
  },
1624
1631
  storage: {
1625
1632
  spaces: {
package/lib/store/add.js CHANGED
@@ -10,7 +10,7 @@ import ListItem from '@mui/material/ListItem';
10
10
  import AddIcon from '@mui/icons-material/Add';
11
11
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
12
12
  import Button from '@arcblock/ux/lib/Button';
13
- import Alert from '@arcblock/ux/lib/Alert';
13
+ import Alert from '@mui/material/Alert';
14
14
  import { useNodeContext } from '../contexts/node';
15
15
  import { formatError, isNewStoreUrl } from '../util';
16
16
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
@@ -26,7 +26,8 @@ export default function AddStore({
26
26
  disabled,
27
27
  storeList,
28
28
  teamDid,
29
- onAdd
29
+ onAdd,
30
+ scope
30
31
  }) {
31
32
  const {
32
33
  api
@@ -53,7 +54,8 @@ export default function AddStore({
53
54
  await api.addBlockletStore({
54
55
  input: {
55
56
  teamDid,
56
- url: decoded
57
+ url: decoded,
58
+ scope
57
59
  }
58
60
  });
59
61
  onAdd(decoded);
@@ -156,7 +158,7 @@ export default function AddStore({
156
158
  })
157
159
  })
158
160
  }), !!error && /*#__PURE__*/_jsx(Alert, {
159
- type: "error",
161
+ severity: "error",
160
162
  style: {
161
163
  width: '100%'
162
164
  },
@@ -169,10 +171,12 @@ AddStore.propTypes = {
169
171
  teamDid: PropTypes.string.isRequired,
170
172
  disabled: PropTypes.bool,
171
173
  storeList: PropTypes.array,
172
- onAdd: PropTypes.func
174
+ onAdd: PropTypes.func,
175
+ scope: PropTypes.string
173
176
  };
174
177
  AddStore.defaultProps = {
175
178
  disabled: false,
176
179
  storeList: [],
177
- onAdd: () => {}
180
+ onAdd: () => {},
181
+ scope: ''
178
182
  };
package/lib/store/item.js CHANGED
@@ -79,7 +79,7 @@ const WhiteTooltip = styled(({
79
79
  [`& .${tooltipClasses.tooltip}`]: {
80
80
  backgroundColor: '#fff',
81
81
  color: 'rgba(0, 0, 0, 0.87)',
82
- maxWidth: 220,
82
+ maxWidth: 250,
83
83
  borderRadius: 8,
84
84
  padding: theme.spacing(2),
85
85
  fontSize: theme.typography.pxToRem(12),
@@ -221,6 +221,7 @@ export default function StoreItem({
221
221
  children: connectedStore.developerName
222
222
  }), /*#__PURE__*/_jsx(DidAddress, {
223
223
  size: 14,
224
+ copyable: true,
224
225
  responsive: true,
225
226
  did: connectedStore.developerDid
226
227
  })]
@@ -12,7 +12,7 @@ import InputLabel from '@mui/material/InputLabel';
12
12
  import FormControl from '@mui/material/FormControl';
13
13
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
14
14
  import Button from '@arcblock/ux/lib/Button';
15
- import Alert from '@arcblock/ux/lib/Alert';
15
+ import Alert from '@mui/material/Alert';
16
16
  import ClickToCopy from '../../click-to-copy';
17
17
  import { useNodeContext } from '../../contexts/node';
18
18
  import { formatError, getInviteLink, formatToDatetime } from '../../util';
@@ -181,7 +181,7 @@ export default function InviteMember({
181
181
  component: "div",
182
182
  children: typeof step.body === 'function' ? step.body() : step.body
183
183
  }), !!error && /*#__PURE__*/_jsx(Alert, {
184
- type: "error",
184
+ severity: "error",
185
185
  variant: "icon",
186
186
  children: error
187
187
  })]
@@ -10,7 +10,7 @@ import InputLabel from '@mui/material/InputLabel';
10
10
  import FormControl from '@mui/material/FormControl';
11
11
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
12
12
  import Button from '@arcblock/ux/lib/Button';
13
- import Alert from '@arcblock/ux/lib/Alert';
13
+ import Alert from '@mui/material/Alert';
14
14
  import { useNodeContext } from '../../contexts/node';
15
15
  import { formatError } from '../../util';
16
16
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
@@ -126,7 +126,7 @@ export default function IssuePassport({
126
126
  })
127
127
  })
128
128
  }), !!error && /*#__PURE__*/_jsx(Alert, {
129
- type: "error",
129
+ severity: "error",
130
130
  variant: "icon",
131
131
  children: error
132
132
  })]
@@ -12,7 +12,7 @@ import TextField from '@mui/material/TextField';
12
12
  import Connect from '@arcblock/did-connect/lib/Connect';
13
13
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
14
14
  import Button from '@arcblock/ux/lib/Button';
15
- import Alert from '@arcblock/ux/lib/Alert';
15
+ import Alert from '@mui/material/Alert';
16
16
  import ClickToCopy from '../../click-to-copy';
17
17
  import { useNodeContext } from '../../contexts/node';
18
18
  import { formatError, getInviteLink, formatToDatetime, getWebWalletUrl } from '../../util';
@@ -76,7 +76,7 @@ export default function TransferMember({
76
76
  open: true,
77
77
  onClose: onCancel,
78
78
  children: /*#__PURE__*/_jsx(Alert, {
79
- type: "error",
79
+ severity: "error",
80
80
  variant: "icon",
81
81
  children: formatError(delegationState.error)
82
82
  })
@@ -118,14 +118,14 @@ export default function TransferMember({
118
118
  body: /*#__PURE__*/_jsxs(Typography, {
119
119
  component: "div",
120
120
  children: [/*#__PURE__*/_jsxs(Alert, {
121
- type: "warning",
121
+ severity: "warning",
122
122
  children: [/*#__PURE__*/_jsx(Typography, {
123
123
  children: t('team.transferNode.inviteDialog.tips.progress')
124
124
  }), /*#__PURE__*/_jsx(Typography, {
125
125
  children: t('team.transferNode.inviteDialog.tips.newOwnerPermissions')
126
126
  })]
127
127
  }), /*#__PURE__*/_jsx(Alert, {
128
- type: "warning",
128
+ severity: "warning",
129
129
  children: /*#__PURE__*/_jsx(Typography, {
130
130
  children: t('team.transferNode.inviteDialog.tips.revoke')
131
131
  })
@@ -232,7 +232,7 @@ export default function TransferMember({
232
232
  component: "div",
233
233
  children: typeof step.body === 'function' ? step.body() : step.body
234
234
  }), !!error && /*#__PURE__*/_jsx(Alert, {
235
- type: "error",
235
+ severity: "error",
236
236
  variant: "icon",
237
237
  children: error
238
238
  })]
@@ -8,7 +8,7 @@ import Typography from '@mui/material/Typography';
8
8
  import TextField from '@mui/material/TextField';
9
9
  import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
10
10
  import Button from '@arcblock/ux/lib/Button';
11
- import Alert from '@arcblock/ux/lib/Alert';
11
+ import Alert from '@mui/material/Alert';
12
12
  import { useNodeContext } from '../../contexts/node';
13
13
  import { formatError } from '../../util';
14
14
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
@@ -171,7 +171,7 @@ export default function MutateRole({
171
171
  component: "div",
172
172
  children: body
173
173
  }), !!error && /*#__PURE__*/_jsx(Alert, {
174
- type: "error",
174
+ severity: "error",
175
175
  variant: "icon",
176
176
  style: {
177
177
  width: '100%',
package/lib/util/index.js CHANGED
@@ -595,7 +595,7 @@ export const getStoreList = ({
595
595
  const storeList = fromBlocklet ? blocklet?.settings?.storeList || [] : nodeInfo?.blockletRegistryList || [];
596
596
  return {
597
597
  teamDid,
598
- storeList
598
+ storeList: storeList.filter(x => !x.scope || x.scope !== 'studio')
599
599
  };
600
600
  };
601
601
  const isDidDomainOrIpEchoDomain = domain => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.28",
3
+ "version": "1.16.29-beta-0070353c",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -25,9 +25,9 @@
25
25
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@abtnode/auth": "1.16.28",
29
- "@abtnode/constant": "1.16.28",
30
- "@abtnode/util": "1.16.28",
28
+ "@abtnode/auth": "1.16.29-beta-0070353c",
29
+ "@abtnode/constant": "1.16.29-beta-0070353c",
30
+ "@abtnode/util": "1.16.29-beta-0070353c",
31
31
  "@ahooksjs/use-url-state": "^3.5.1",
32
32
  "@arcblock/did": "^1.18.123",
33
33
  "@arcblock/did-connect": "^2.10.0",
@@ -37,10 +37,10 @@
37
37
  "@arcblock/react-hooks": "^2.10.0",
38
38
  "@arcblock/terminal": "^2.10.0",
39
39
  "@arcblock/ux": "^2.10.0",
40
- "@blocklet/constant": "1.16.28",
40
+ "@blocklet/constant": "1.16.29-beta-0070353c",
41
41
  "@blocklet/launcher-layout": "2.3.22",
42
42
  "@blocklet/list": "^0.12.114",
43
- "@blocklet/meta": "1.16.28",
43
+ "@blocklet/meta": "1.16.29-beta-0070353c",
44
44
  "@blocklet/ui-react": "^2.10.0",
45
45
  "@blocklet/uploader": "^0.1.10",
46
46
  "@emotion/react": "^11.10.4",
@@ -107,5 +107,5 @@
107
107
  "jest": "^29.7.0",
108
108
  "jest-environment-jsdom": "^29.7.0"
109
109
  },
110
- "gitHead": "54db076a7e520bbc260f8cbf0af31dd50b86aef1"
110
+ "gitHead": "7e3562be3a8af477749420cc022938a1059484d4"
111
111
  }