@abtnode/ux 1.8.65-beta-5405baf2 → 1.8.65-beta-f7af64a4

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/locales/en.js CHANGED
@@ -892,6 +892,7 @@ module.exports = {
892
892
  passport: 'Passport',
893
893
  passports: 'Passports',
894
894
  lastLogin: 'Last Login',
895
+ lastLoginIp: 'Last Login IP',
895
896
  filter: 'Filter by',
896
897
  forbidLogin: 'Forbid Login',
897
898
  forbidLoginDescription: 'The user will not be able to connect to this application',
package/lib/locales/zh.js CHANGED
@@ -895,6 +895,7 @@ module.exports = {
895
895
  passport: '通行证',
896
896
  passports: '通行证',
897
897
  lastLogin: '上次登录',
898
+ lastLoginIp: '上次登陆 IP',
898
899
  filter: '条件筛选',
899
900
  forbidLogin: '禁止登录',
900
901
  forbidLoginDescription: '该成员将无法登录此应用',
@@ -259,6 +259,14 @@ function MemberList(_ref2) {
259
259
  });
260
260
  }
261
261
  }
262
+ }, {
263
+ label: t('team.member.lastLoginIp'),
264
+ name: 'lastLoginIp',
265
+ options: {
266
+ customBodyRender: e => {
267
+ return e || '-';
268
+ }
269
+ }
262
270
  }, {
263
271
  label: t('common.actions'),
264
272
  name: '',
@@ -122,7 +122,10 @@ function Member(_ref) {
122
122
  value: user.approved ? t('common.yes') : t('common.no')
123
123
  }, {
124
124
  name: t('team.member.lastLogin'),
125
- value: (0, _util.formatToDatetime)(user.updatedAt)
125
+ value: (0, _util.formatToDatetime)(user.lastLoginAt)
126
+ }, {
127
+ name: t('team.member.lastLoginIp'),
128
+ value: user.lastLoginIp || ''
126
129
  }, {
127
130
  name: t('common.createdAt'),
128
131
  value: (0, _util.formatToDatetime)(user.createdAt)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.65-beta-5405baf2",
6
+ "version": "1.8.65-beta-f7af64a4",
7
7
  "description": "UX components shared across abtnode packages",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -21,18 +21,18 @@
21
21
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@abtnode/auth": "1.8.65-beta-5405baf2",
25
- "@abtnode/constant": "1.8.65-beta-5405baf2",
26
- "@abtnode/util": "1.8.65-beta-5405baf2",
24
+ "@abtnode/auth": "1.8.65-beta-f7af64a4",
25
+ "@abtnode/constant": "1.8.65-beta-f7af64a4",
26
+ "@abtnode/util": "1.8.65-beta-f7af64a4",
27
27
  "@arcblock/did-connect": "^2.4.66",
28
28
  "@arcblock/did-motif": "^1.1.10",
29
29
  "@arcblock/icons": "^2.4.66",
30
30
  "@arcblock/terminal": "^2.4.66",
31
31
  "@arcblock/ux": "^2.4.66",
32
- "@blocklet/constant": "1.8.65-beta-5405baf2",
32
+ "@blocklet/constant": "1.8.65-beta-f7af64a4",
33
33
  "@blocklet/launcher-layout": "^1.9.50",
34
34
  "@blocklet/list": "^0.10.47",
35
- "@blocklet/meta": "1.8.65-beta-5405baf2",
35
+ "@blocklet/meta": "1.8.65-beta-f7af64a4",
36
36
  "@blocklet/ui-react": "^2.4.66",
37
37
  "@emotion/react": "^11.10.4",
38
38
  "@emotion/styled": "^11.10.4",
@@ -86,5 +86,5 @@
86
86
  "@babel/preset-react": "^7.18.6",
87
87
  "babel-plugin-inline-react-svg": "^1.1.2"
88
88
  },
89
- "gitHead": "e5dc838baded7031096118462a604fd70d78ff1c"
89
+ "gitHead": "97607d6e12bf8508ac29ab6546110c4ae3b31a82"
90
90
  }