@abtnode/ux 1.8.27 → 1.8.28

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 (85) hide show
  1. package/lib/actions.js +16 -44
  2. package/lib/blocklet/actions.js +14 -78
  3. package/lib/blocklet/audit-logs.js +0 -32
  4. package/lib/blocklet/avatar.js +6 -33
  5. package/lib/blocklet/blocklet-source.js +0 -13
  6. package/lib/blocklet/component/configuration.js +2 -28
  7. package/lib/blocklet/component/delete.js +0 -23
  8. package/lib/blocklet/component/environment.js +2 -59
  9. package/lib/blocklet/component/index.js +10 -105
  10. package/lib/blocklet/component/setting.js +5 -44
  11. package/lib/blocklet/configuration.js +11 -79
  12. package/lib/blocklet/disk-info.js +3 -29
  13. package/lib/blocklet/icons.js +0 -10
  14. package/lib/blocklet/log.js +3 -18
  15. package/lib/blocklet/mode.js +3 -17
  16. package/lib/blocklet/overview.js +3 -37
  17. package/lib/blocklet/runtime-info.js +4 -30
  18. package/lib/blocklet/status.js +5 -27
  19. package/lib/blocklet/util.js +0 -22
  20. package/lib/blocklet/version.js +7 -45
  21. package/lib/card-selector.js +9 -22
  22. package/lib/click-to-copy.js +3 -18
  23. package/lib/confirm.js +2 -28
  24. package/lib/contexts/audit-log.js +2 -16
  25. package/lib/contexts/deleting-blocklets.js +2 -15
  26. package/lib/contexts/node.js +0 -6
  27. package/lib/contexts/session.js +1 -3
  28. package/lib/contexts/team.js +0 -3
  29. package/lib/did-address.js +6 -26
  30. package/lib/dot.js +0 -7
  31. package/lib/form/form-text-input.js +12 -38
  32. package/lib/form/form-wrapper.js +0 -7
  33. package/lib/form/required.js +0 -6
  34. package/lib/hooks/mobile-width.js +0 -5
  35. package/lib/hooks/use-passport-id.js +0 -5
  36. package/lib/index.js +0 -3
  37. package/lib/invitation/invitation-app.js +3 -21
  38. package/lib/invitation/invitation-passport.js +2 -16
  39. package/lib/invitation/invitation-receive.js +2 -19
  40. package/lib/invitation/invitation-user.js +0 -16
  41. package/lib/invitation/invitation.js +0 -23
  42. package/lib/issue-passport.js +2 -31
  43. package/lib/launch-blocklet/content-layout.js +3 -19
  44. package/lib/launch-blocklet/page-header.js +0 -9
  45. package/lib/layout/addon.js +0 -24
  46. package/lib/locales/index.js +0 -3
  47. package/lib/logs/clock.js +0 -6
  48. package/lib/logs/log-terminal.js +17 -43
  49. package/lib/lost-passport.js +6 -51
  50. package/lib/nav-logo.js +12 -33
  51. package/lib/passport-tag.js +4 -21
  52. package/lib/permission.js +0 -16
  53. package/lib/relative-time.js +0 -13
  54. package/lib/schema-form/color-input.js +2 -15
  55. package/lib/schema-form/common-prop-types.js +0 -3
  56. package/lib/schema-form/index.js +8 -45
  57. package/lib/schema-form/passport-input.js +6 -24
  58. package/lib/schema-form/text-input.js +9 -26
  59. package/lib/table-icons.js +0 -17
  60. package/lib/table.js +0 -6
  61. package/lib/tag.js +4 -17
  62. package/lib/team/members/actions.js +2 -18
  63. package/lib/team/members/index.js +1 -69
  64. package/lib/team/members/invitations.js +0 -33
  65. package/lib/team/members/invite-member.js +0 -29
  66. package/lib/team/members/issue-passport.js +0 -23
  67. package/lib/team/members/member.js +1 -43
  68. package/lib/team/members/passport-issuances.js +3 -30
  69. package/lib/team/members/passports.js +0 -48
  70. package/lib/team/members/toggle-user-approval.js +0 -26
  71. package/lib/team/members/transfer-node.js +0 -33
  72. package/lib/team/members/util.js +2 -9
  73. package/lib/team/passports/detail.js +2 -45
  74. package/lib/team/passports/index.js +0 -36
  75. package/lib/team/passports/mutate-role.js +0 -26
  76. package/lib/team/passports/trusted-issuer.js +0 -44
  77. package/lib/team/passports/trusted-issuers.js +0 -46
  78. package/lib/team/search-input.js +3 -18
  79. package/lib/team/styles/dialog.js +0 -6
  80. package/lib/team/styles/list-header.js +0 -6
  81. package/lib/toast.js +4 -19
  82. package/lib/util/index.js +14 -184
  83. package/lib/who-can-access/config.js +0 -6
  84. package/lib/wrap-locale.js +0 -7
  85. package/package.json +27 -27
@@ -4,17 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _Lock = _interopRequireDefault(require("@mui/icons-material/Lock"));
9
-
10
8
  var _ContactMail = _interopRequireDefault(require("@mui/icons-material/ContactMail"));
11
-
12
9
  var _Group = _interopRequireDefault(require("@mui/icons-material/Group"));
13
-
14
10
  var _constant = require("@abtnode/constant");
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
12
  var _default = [{
19
13
  value: _constant.WHO_CAN_ACCESS.OWNER,
20
14
  icon: _Lock.default,
@@ -4,19 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = wrapLocale;
7
-
8
7
  var _context = require("@arcblock/ux/lib/Locale/context");
9
-
10
8
  var _locales = require("./locales");
11
-
12
9
  var _jsxRuntime = require("react/jsx-runtime");
13
-
14
10
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
15
-
16
11
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17
-
18
12
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
-
20
13
  function wrapLocale(Component) {
21
14
  return function LocaleWrapper(props) {
22
15
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.LocaleProvider, {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.27",
6
+ "version": "1.8.28",
7
7
  "description": "UX components shared across abtnode packages",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -21,29 +21,29 @@
21
21
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@abtnode/auth": "1.8.27",
25
- "@abtnode/constant": "1.8.27",
26
- "@abtnode/util": "1.8.27",
27
- "@arcblock/did-connect": "^2.4.35",
24
+ "@abtnode/auth": "1.8.28",
25
+ "@abtnode/constant": "1.8.28",
26
+ "@abtnode/util": "1.8.28",
27
+ "@arcblock/did-connect": "^2.4.39",
28
28
  "@arcblock/did-motif": "^1.1.10",
29
- "@arcblock/icons": "^2.4.35",
30
- "@arcblock/terminal": "^2.4.35",
31
- "@arcblock/ux": "^2.4.35",
32
- "@blocklet/constant": "1.8.27",
33
- "@blocklet/launcher-layout": "^1.9.0",
34
- "@blocklet/meta": "1.8.27",
35
- "@emotion/react": "^11.10.0",
36
- "@emotion/styled": "^11.10.0",
37
- "@material-table/core": "^0.2.35",
38
- "@mui/icons-material": "^5.8.4",
39
- "@mui/lab": "^5.0.0-alpha.94",
40
- "@mui/material": "^5.10.0",
41
- "@mui/styles": "^5.9.3",
29
+ "@arcblock/icons": "^2.4.39",
30
+ "@arcblock/terminal": "^2.4.39",
31
+ "@arcblock/ux": "^2.4.39",
32
+ "@blocklet/constant": "1.8.28",
33
+ "@blocklet/launcher-layout": "^1.9.4",
34
+ "@blocklet/meta": "1.8.28",
35
+ "@emotion/react": "^11.10.4",
36
+ "@emotion/styled": "^11.10.4",
37
+ "@material-table/core": "^0.2.48",
38
+ "@mui/icons-material": "^5.10.6",
39
+ "@mui/lab": "^5.0.0-alpha.102",
40
+ "@mui/material": "^5.10.8",
41
+ "@mui/styles": "^5.10.8",
42
42
  "@uiw/react-markdown-preview": "4.0.6",
43
- "ahooks": "^3.7.0",
43
+ "ahooks": "^3.7.1",
44
44
  "axios": "^0.27.2",
45
- "classnames": "^2.3.1",
46
- "dayjs": "^1.11.4",
45
+ "classnames": "^2.3.2",
46
+ "dayjs": "^1.11.5",
47
47
  "file-saver": "^2.0.5",
48
48
  "filesize": "^6.4.0",
49
49
  "flat": "^5.0.2",
@@ -60,18 +60,18 @@
60
60
  "prop-types": "^15.8.1",
61
61
  "react": "^18.2.0",
62
62
  "react-color": "^2.19.3",
63
- "react-router-dom": "^6.3.0",
63
+ "react-router-dom": "^6.4.2",
64
64
  "react-use": "^17.4.0",
65
- "semver": "^7.3.7",
65
+ "semver": "^7.3.8",
66
66
  "url-join": "^4.0.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@babel/cli": "^7.18.10",
70
- "@babel/core": "^7.18.10",
69
+ "@babel/cli": "^7.19.3",
70
+ "@babel/core": "^7.19.3",
71
71
  "@babel/plugin-proposal-class-properties": "^7.18.6",
72
- "@babel/preset-env": "^7.18.10",
72
+ "@babel/preset-env": "^7.19.4",
73
73
  "@babel/preset-react": "^7.18.6",
74
74
  "babel-plugin-inline-react-svg": "^1.1.2"
75
75
  },
76
- "gitHead": "84b2cb3ee703479f17e88c91650ecf3015cbf6af"
76
+ "gitHead": "af7aacf5507177600ae563ab597cb42d7223b113"
77
77
  }