@abtnode/ux 1.6.11 → 1.6.15
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/lost-passport.js +24 -19
- package/package.json +4 -4
package/lib/lost-passport.js
CHANGED
|
@@ -202,25 +202,30 @@ function LostPassport(_ref2) {
|
|
|
202
202
|
}, /*#__PURE__*/_react.default.createElement(_Grid.default, {
|
|
203
203
|
container: true,
|
|
204
204
|
spacing: 3
|
|
205
|
-
}, user.passportTypes.map(x =>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
205
|
+
}, user.passportTypes.map(x => {
|
|
206
|
+
return /*#__PURE__*/_react.default.createElement(_Grid.default, {
|
|
207
|
+
item: true,
|
|
208
|
+
xs: 12,
|
|
209
|
+
sm: 6
|
|
210
|
+
}, /*#__PURE__*/_react.default.createElement(_FormControlLabel.default, {
|
|
211
|
+
value: x.name,
|
|
212
|
+
control: /*#__PURE__*/_react.default.createElement(_Radio.default, null),
|
|
213
|
+
label: /*#__PURE__*/_react.default.createElement("img", {
|
|
214
|
+
src: createPassportSvg({
|
|
215
|
+
title: x.title,
|
|
216
|
+
issuer: x.issuer.name,
|
|
217
|
+
issuerDid: x.issuer.id,
|
|
218
|
+
ownerName: user.fullName,
|
|
219
|
+
ownerAvatarUrl: user.avatar,
|
|
220
|
+
isDataUrl: true
|
|
221
|
+
}),
|
|
222
|
+
alt: "",
|
|
223
|
+
style: {
|
|
224
|
+
width: '100%'
|
|
225
|
+
}
|
|
226
|
+
})
|
|
227
|
+
}));
|
|
228
|
+
}))))), /*#__PURE__*/_react.default.createElement(_Box.default, {
|
|
224
229
|
textAlign: "center"
|
|
225
230
|
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
226
231
|
rounded: true,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.15",
|
|
7
7
|
"description": "UX components shared across abtnode packages",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@arcblock/did-connect": "^1.16.
|
|
21
|
-
"@arcblock/ux": "^1.16.
|
|
20
|
+
"@arcblock/did-connect": "^1.16.8",
|
|
21
|
+
"@arcblock/ux": "^1.16.8",
|
|
22
22
|
"@material-ui/core": "^4.12.3",
|
|
23
23
|
"@material-ui/icons": "^4.11.2",
|
|
24
24
|
"react": "^16.13.0",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"babel-plugin-inline-react-svg": "^1.1.1",
|
|
35
35
|
"babel-plugin-styled-components": "^1.10.7"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "1b7b07da04387b1daa838b251a9388355009142d"
|
|
38
38
|
}
|