@abtnode/ux 1.16.30-beta-00e8bdd1 → 1.16.30-beta-958ae719
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/blocklet/component/did-space/item.js +10 -6
- package/lib/blocklet/publish/create-release/project-setting.js +3 -3
- package/lib/blocklet/storage/item.js +0 -2
- package/lib/locales/en.js +7 -7
- package/lib/locales/zh.js +5 -5
- package/lib/team/members/issue-passport.js +0 -1
- package/lib/team/members/member.js +3 -0
- package/package.json +16 -16
|
@@ -87,17 +87,21 @@ function SpaceItem({
|
|
|
87
87
|
flexDirection: "column",
|
|
88
88
|
sx: {
|
|
89
89
|
marginLeft: '20px',
|
|
90
|
-
padding: '0px 0px'
|
|
90
|
+
padding: '0px 0px',
|
|
91
|
+
minWidth: 0
|
|
91
92
|
},
|
|
92
93
|
children: [/*#__PURE__*/_jsxs(Box, {
|
|
93
94
|
className: "spaces-info",
|
|
94
95
|
display: "flex",
|
|
95
|
-
maxWidth: "360px",
|
|
96
|
-
alignItems: "center",
|
|
97
96
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
sx: {
|
|
98
|
+
color: connected ? 'primary' : 'inherit',
|
|
99
|
+
fontSize: '1rem',
|
|
100
|
+
fontWeight: 'bold',
|
|
101
|
+
whiteSpace: 'nowrap',
|
|
102
|
+
overflow: 'hidden',
|
|
103
|
+
textOverflow: 'ellipsis'
|
|
104
|
+
},
|
|
101
105
|
children: spaceGateway.name
|
|
102
106
|
}), /*#__PURE__*/_jsx(Chip, {
|
|
103
107
|
label: /*#__PURE__*/_jsxs(_Fragment, {
|
|
@@ -40,9 +40,9 @@ function ProjectSetting({
|
|
|
40
40
|
input: {
|
|
41
41
|
did,
|
|
42
42
|
projectId,
|
|
43
|
-
blockletTitle: params.blockletTitle,
|
|
44
|
-
blockletDescription: params.blockletDescription,
|
|
45
|
-
blockletIntroduction: params.blockletIntroduction,
|
|
43
|
+
blockletTitle: params.blockletTitle || '',
|
|
44
|
+
blockletDescription: params.blockletDescription || '',
|
|
45
|
+
blockletIntroduction: params.blockletIntroduction || '',
|
|
46
46
|
autoUpload: !!autoUpload,
|
|
47
47
|
possibleSameStore: !!possibleSameStore
|
|
48
48
|
}
|
|
@@ -243,8 +243,6 @@ function SpaceItem({
|
|
|
243
243
|
if (backupProgress?.completed) {
|
|
244
244
|
if (backupProgress?.progress === 100) {
|
|
245
245
|
Toast.success(t('storage.spaces.backupSuccessfully'));
|
|
246
|
-
} else if (backupProgress?.progress === -1) {
|
|
247
|
-
Toast.error(backupProgress?.message);
|
|
248
246
|
}
|
|
249
247
|
setLoading(false);
|
|
250
248
|
backupProgress.progress = 0;
|
package/lib/locales/en.js
CHANGED
|
@@ -65,12 +65,12 @@ export default {
|
|
|
65
65
|
tooltip: 'If you received a server ownership nft, you can claim your owner passport with this link.'
|
|
66
66
|
},
|
|
67
67
|
exchangePassport: {
|
|
68
|
-
title: '
|
|
69
|
-
success: 'You have successfully
|
|
68
|
+
title: 'Get Passport with NFT',
|
|
69
|
+
success: 'You have successfully get your passport and logged in with the passport',
|
|
70
70
|
login: 'Login',
|
|
71
71
|
tooltip: 'If you own NFT from collection {collections}, you can exchange your passport with this link.',
|
|
72
72
|
dialog: {
|
|
73
|
-
title: '
|
|
73
|
+
title: 'Get Passport with NFT',
|
|
74
74
|
scan: 'Connect your DID Wallet to present your NFT to get a passport',
|
|
75
75
|
confirm: 'Select NFT on your DID Wallet',
|
|
76
76
|
success: 'Passport has been successfully exchanged'
|
|
@@ -1391,11 +1391,11 @@ export default {
|
|
|
1391
1391
|
role: 'Passport Type',
|
|
1392
1392
|
ttl: 'Passport Expire Policy',
|
|
1393
1393
|
ttlNever: 'Never Expire',
|
|
1394
|
-
ttlMint: '
|
|
1395
|
-
ttlExchange: '
|
|
1394
|
+
ttlMint: 'From NFT Purchase',
|
|
1395
|
+
ttlExchange: 'From Passport Exchange',
|
|
1396
1396
|
ttlNeverTip: 'The passport will be valid until revoked',
|
|
1397
|
-
ttlMintTip: 'The passport will be valid
|
|
1398
|
-
ttlExchangeTip: 'The passport will be valid
|
|
1397
|
+
ttlMintTip: 'The passport will be valid from the time the NFT is purchased until you specified ttl or revoke',
|
|
1398
|
+
ttlExchangeTip: 'The passport will be valid from the time user successfully exchanged until you specified ttl or revoke',
|
|
1399
1399
|
ttlTip: '"365d" means 365 days, you can also use "30 days" or "24h"',
|
|
1400
1400
|
validUntil: 'Valid until: {date}',
|
|
1401
1401
|
externalPassport: 'External Passport',
|
package/lib/locales/zh.js
CHANGED
|
@@ -65,12 +65,12 @@ export default {
|
|
|
65
65
|
tooltip: '如果你收到了 Owner NFT,你可以通过这个链接申请你的节点所有者通行证'
|
|
66
66
|
},
|
|
67
67
|
exchangePassport: {
|
|
68
|
-
title: '用 NFT
|
|
69
|
-
success: '
|
|
70
|
-
tooltip: '如果你拥有来自 {collections} 集合的 NFT
|
|
68
|
+
title: '用 NFT 来获得通行证',
|
|
69
|
+
success: '你已经成功获得通行证,并自动登录',
|
|
70
|
+
tooltip: '如果你拥有来自 {collections} 集合的 NFT,点击这里获得通行证',
|
|
71
71
|
dialog: {
|
|
72
|
-
title: '用 NFT
|
|
73
|
-
scan: '连接 DID 钱包出示 NFT
|
|
72
|
+
title: '用 NFT 来获得通行证',
|
|
73
|
+
scan: '连接 DID 钱包出示 NFT 以获得通行证',
|
|
74
74
|
confirm: '在钱包中选择 NFT',
|
|
75
75
|
success: '通行证换取成功'
|
|
76
76
|
},
|
|
@@ -149,6 +149,9 @@ export default function Member({
|
|
|
149
149
|
}, {
|
|
150
150
|
name: t('common.email'),
|
|
151
151
|
value: pageState.user.email
|
|
152
|
+
}, {
|
|
153
|
+
name: t('common.phone'),
|
|
154
|
+
value: pageState.user.phone
|
|
152
155
|
}, {
|
|
153
156
|
name: t('team.member.source'),
|
|
154
157
|
value: /*#__PURE__*/_jsx(Box, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/ux",
|
|
3
|
-
"version": "1.16.30-beta-
|
|
3
|
+
"version": "1.16.30-beta-958ae719",
|
|
4
4
|
"description": "UX components shared across abtnode packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,24 +25,24 @@
|
|
|
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.30-beta-
|
|
29
|
-
"@abtnode/constant": "1.16.30-beta-
|
|
30
|
-
"@abtnode/util": "1.16.30-beta-
|
|
28
|
+
"@abtnode/auth": "1.16.30-beta-958ae719",
|
|
29
|
+
"@abtnode/constant": "1.16.30-beta-958ae719",
|
|
30
|
+
"@abtnode/util": "1.16.30-beta-958ae719",
|
|
31
31
|
"@ahooksjs/use-url-state": "^3.5.1",
|
|
32
32
|
"@arcblock/did": "^1.18.128",
|
|
33
|
-
"@arcblock/did-connect": "^2.10.
|
|
33
|
+
"@arcblock/did-connect": "^2.10.14",
|
|
34
34
|
"@arcblock/did-motif": "^1.1.13",
|
|
35
|
-
"@arcblock/icons": "^2.10.
|
|
36
|
-
"@arcblock/nft-display": "2.10.
|
|
37
|
-
"@arcblock/react-hooks": "^2.10.
|
|
38
|
-
"@arcblock/terminal": "^2.10.
|
|
39
|
-
"@arcblock/ux": "^2.10.
|
|
40
|
-
"@blocklet/constant": "1.16.30-beta-
|
|
41
|
-
"@blocklet/js-sdk": "1.16.30-beta-
|
|
42
|
-
"@blocklet/launcher-layout": "2.3.
|
|
35
|
+
"@arcblock/icons": "^2.10.14",
|
|
36
|
+
"@arcblock/nft-display": "2.10.14",
|
|
37
|
+
"@arcblock/react-hooks": "^2.10.14",
|
|
38
|
+
"@arcblock/terminal": "^2.10.14",
|
|
39
|
+
"@arcblock/ux": "^2.10.14",
|
|
40
|
+
"@blocklet/constant": "1.16.30-beta-958ae719",
|
|
41
|
+
"@blocklet/js-sdk": "1.16.30-beta-958ae719",
|
|
42
|
+
"@blocklet/launcher-layout": "2.3.40",
|
|
43
43
|
"@blocklet/list": "^0.13.14",
|
|
44
|
-
"@blocklet/meta": "1.16.30-beta-
|
|
45
|
-
"@blocklet/ui-react": "^2.10.
|
|
44
|
+
"@blocklet/meta": "1.16.30-beta-958ae719",
|
|
45
|
+
"@blocklet/ui-react": "^2.10.14",
|
|
46
46
|
"@blocklet/uploader": "0.1.20",
|
|
47
47
|
"@emotion/react": "^11.10.4",
|
|
48
48
|
"@emotion/styled": "^11.10.4",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"jest": "^29.7.0",
|
|
109
109
|
"jest-environment-jsdom": "^29.7.0"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "75590ff3be51e7fe2a070124541aebc203ed16dc"
|
|
112
112
|
}
|