@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.
- package/lib/actions.js +16 -44
- package/lib/blocklet/actions.js +14 -78
- package/lib/blocklet/audit-logs.js +0 -32
- package/lib/blocklet/avatar.js +6 -33
- package/lib/blocklet/blocklet-source.js +0 -13
- package/lib/blocklet/component/configuration.js +2 -28
- package/lib/blocklet/component/delete.js +0 -23
- package/lib/blocklet/component/environment.js +2 -59
- package/lib/blocklet/component/index.js +10 -105
- package/lib/blocklet/component/setting.js +5 -44
- package/lib/blocklet/configuration.js +11 -79
- package/lib/blocklet/disk-info.js +3 -29
- package/lib/blocklet/icons.js +0 -10
- package/lib/blocklet/log.js +3 -18
- package/lib/blocklet/mode.js +3 -17
- package/lib/blocklet/overview.js +3 -37
- package/lib/blocklet/runtime-info.js +4 -30
- package/lib/blocklet/status.js +5 -27
- package/lib/blocklet/util.js +0 -22
- package/lib/blocklet/version.js +7 -45
- package/lib/card-selector.js +9 -22
- package/lib/click-to-copy.js +3 -18
- package/lib/confirm.js +2 -28
- package/lib/contexts/audit-log.js +2 -16
- package/lib/contexts/deleting-blocklets.js +2 -15
- package/lib/contexts/node.js +0 -6
- package/lib/contexts/session.js +1 -3
- package/lib/contexts/team.js +0 -3
- package/lib/did-address.js +6 -26
- package/lib/dot.js +0 -7
- package/lib/form/form-text-input.js +12 -38
- package/lib/form/form-wrapper.js +0 -7
- package/lib/form/required.js +0 -6
- package/lib/hooks/mobile-width.js +0 -5
- package/lib/hooks/use-passport-id.js +0 -5
- package/lib/index.js +0 -3
- package/lib/invitation/invitation-app.js +3 -21
- package/lib/invitation/invitation-passport.js +2 -16
- package/lib/invitation/invitation-receive.js +2 -19
- package/lib/invitation/invitation-user.js +0 -16
- package/lib/invitation/invitation.js +0 -23
- package/lib/issue-passport.js +2 -31
- package/lib/launch-blocklet/content-layout.js +3 -19
- package/lib/launch-blocklet/page-header.js +0 -9
- package/lib/layout/addon.js +0 -24
- package/lib/locales/index.js +0 -3
- package/lib/logs/clock.js +0 -6
- package/lib/logs/log-terminal.js +17 -43
- package/lib/lost-passport.js +6 -51
- package/lib/nav-logo.js +12 -33
- package/lib/passport-tag.js +4 -21
- package/lib/permission.js +0 -16
- package/lib/relative-time.js +0 -13
- package/lib/schema-form/color-input.js +2 -15
- package/lib/schema-form/common-prop-types.js +0 -3
- package/lib/schema-form/index.js +8 -45
- package/lib/schema-form/passport-input.js +6 -24
- package/lib/schema-form/text-input.js +9 -26
- package/lib/table-icons.js +0 -17
- package/lib/table.js +0 -6
- package/lib/tag.js +4 -17
- package/lib/team/members/actions.js +2 -18
- package/lib/team/members/index.js +1 -69
- package/lib/team/members/invitations.js +0 -33
- package/lib/team/members/invite-member.js +0 -29
- package/lib/team/members/issue-passport.js +0 -23
- package/lib/team/members/member.js +1 -43
- package/lib/team/members/passport-issuances.js +3 -30
- package/lib/team/members/passports.js +0 -48
- package/lib/team/members/toggle-user-approval.js +0 -26
- package/lib/team/members/transfer-node.js +0 -33
- package/lib/team/members/util.js +2 -9
- package/lib/team/passports/detail.js +2 -45
- package/lib/team/passports/index.js +0 -36
- package/lib/team/passports/mutate-role.js +0 -26
- package/lib/team/passports/trusted-issuer.js +0 -44
- package/lib/team/passports/trusted-issuers.js +0 -46
- package/lib/team/search-input.js +3 -18
- package/lib/team/styles/dialog.js +0 -6
- package/lib/team/styles/list-header.js +0 -6
- package/lib/toast.js +4 -19
- package/lib/util/index.js +14 -184
- package/lib/who-can-access/config.js +0 -6
- package/lib/wrap-locale.js +0 -7
- 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,
|
package/lib/wrap-locale.js
CHANGED
|
@@ -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.
|
|
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.
|
|
25
|
-
"@abtnode/constant": "1.8.
|
|
26
|
-
"@abtnode/util": "1.8.
|
|
27
|
-
"@arcblock/did-connect": "^2.4.
|
|
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.
|
|
30
|
-
"@arcblock/terminal": "^2.4.
|
|
31
|
-
"@arcblock/ux": "^2.4.
|
|
32
|
-
"@blocklet/constant": "1.8.
|
|
33
|
-
"@blocklet/launcher-layout": "^1.9.
|
|
34
|
-
"@blocklet/meta": "1.8.
|
|
35
|
-
"@emotion/react": "^11.10.
|
|
36
|
-
"@emotion/styled": "^11.10.
|
|
37
|
-
"@material-table/core": "^0.2.
|
|
38
|
-
"@mui/icons-material": "^5.
|
|
39
|
-
"@mui/lab": "^5.0.0-alpha.
|
|
40
|
-
"@mui/material": "^5.10.
|
|
41
|
-
"@mui/styles": "^5.
|
|
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.
|
|
43
|
+
"ahooks": "^3.7.1",
|
|
44
44
|
"axios": "^0.27.2",
|
|
45
|
-
"classnames": "^2.3.
|
|
46
|
-
"dayjs": "^1.11.
|
|
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.
|
|
63
|
+
"react-router-dom": "^6.4.2",
|
|
64
64
|
"react-use": "^17.4.0",
|
|
65
|
-
"semver": "^7.3.
|
|
65
|
+
"semver": "^7.3.8",
|
|
66
66
|
"url-join": "^4.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@babel/cli": "^7.
|
|
70
|
-
"@babel/core": "^7.
|
|
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.
|
|
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": "
|
|
76
|
+
"gitHead": "af7aacf5507177600ae563ab597cb42d7223b113"
|
|
77
77
|
}
|