@abtnode/ux 1.8.66-beta-b56e3b54 → 1.8.66
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/access/config-access.js +3 -3
- package/lib/blocklet/actions.js +3 -3
- package/lib/blocklet/audit-logs.js +2 -5
- package/lib/blocklet/component/add.js +15 -12
- package/lib/blocklet/component/index.js +7 -6
- package/lib/blocklet/component/select-store.js +1 -3
- package/lib/blocklet/component/setting.js +13 -2
- package/lib/blocklet/component/store-blocklet-list.js +3 -3
- package/lib/blocklet/install-from-url.js +82 -125
- package/lib/blocklet/overview.js +3 -3
- package/lib/blocklet/router/action/add-domain-alias.js +3 -3
- package/lib/blocklet/router/action/add-rule.js +11 -5
- package/lib/blocklet/router/action/delete-domain-alias.js +3 -3
- package/lib/blocklet/router/action/delete-rule.js +3 -3
- package/lib/blocklet/router/action/update-rule.js +11 -5
- package/lib/blocklet/status.js +3 -3
- package/lib/blocklet/version.js +3 -3
- package/lib/confirm.js +3 -3
- package/lib/form/form-text-input.js +13 -5
- package/lib/invitation/invitation.js +2 -2
- package/lib/issue-passport.js +1 -0
- package/lib/locales/en.js +2 -7
- package/lib/locales/zh.js +2 -7
- package/lib/logs/download.js +5 -5
- package/lib/lost-passport.js +2 -0
- package/lib/store/add.js +3 -3
- package/lib/team/members/invite-member.js +3 -3
- package/lib/team/members/issue-passport.js +3 -3
- package/lib/team/members/member.js +2 -2
- package/lib/team/members/transfer-node.js +4 -4
- package/lib/team/passports/color.js +3 -3
- package/lib/team/passports/detail.js +4 -4
- package/lib/team/passports/index.js +3 -3
- package/lib/team/passports/mutate-role.js +3 -3
- package/lib/team/passports/trusted-issuer.js +3 -3
- package/lib/util/index.js +6 -8
- package/package.json +14 -14
|
@@ -9,7 +9,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
9
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
10
|
var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
|
|
11
11
|
var _Dialog = _interopRequireDefault(require("@arcblock/ux/lib/Dialog"));
|
|
12
|
-
var
|
|
12
|
+
var _Spinner = _interopRequireDefault(require("@arcblock/ux/lib/Spinner"));
|
|
13
13
|
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
14
14
|
var _ArrowBack = _interopRequireDefault(require("@mui/icons-material/ArrowBack"));
|
|
15
15
|
var _IconButton = _interopRequireDefault(require("@mui/material/IconButton"));
|
|
@@ -138,8 +138,8 @@ function TrustedIssuer(_ref) {
|
|
|
138
138
|
variant: "contained",
|
|
139
139
|
autoFocus: true,
|
|
140
140
|
"data-cy": "save-mapping",
|
|
141
|
-
children: [loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
142
|
-
size: 16
|
|
141
|
+
children: [loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Spinner.default, {
|
|
142
|
+
size: [16, 10]
|
|
143
143
|
}), t('common.save')]
|
|
144
144
|
})]
|
|
145
145
|
}),
|
package/lib/util/index.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.extractStatusUrlFromNextWorkflow = extractStatusUrlFromNextWorkflow;
|
|
|
9
9
|
exports.formatDateTime = formatDateTime;
|
|
10
10
|
exports.formatError = exports.formatDiskSize = void 0;
|
|
11
11
|
exports.formatFactoryPrice = formatFactoryPrice;
|
|
12
|
-
exports.formatRegistryScreenshotPath = exports.formatRegistryLogoPath = exports.formatPerson = exports.formatLocale = void 0;
|
|
12
|
+
exports.formatRegistryScreenshotPath = exports.formatRegistryLogoPath = exports.formatPerson = exports.formatMountPoint = exports.formatLocale = void 0;
|
|
13
13
|
exports.formatTime = formatTime;
|
|
14
14
|
exports.formatTimeFromNow = formatTimeFromNow;
|
|
15
15
|
exports.formatTimestamp = formatTimestamp;
|
|
@@ -57,6 +57,8 @@ var _constant2 = require("@blocklet/constant");
|
|
|
57
57
|
var _urlEvaluation = require("@abtnode/util/lib/url-evaluation");
|
|
58
58
|
var _checkAccessibleBrowser = _interopRequireDefault(require("@abtnode/util/lib/url-evaluation/check-accessible-browser"));
|
|
59
59
|
var _axios = _interopRequireDefault(require("@abtnode/util/lib/axios"));
|
|
60
|
+
var _normalizePathPrefix = _interopRequireDefault(require("@abtnode/util/lib/normalize-path-prefix"));
|
|
61
|
+
var _urlFriendly = _interopRequireDefault(require("@blocklet/meta/lib/url-friendly"));
|
|
60
62
|
var _window$env;
|
|
61
63
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
62
64
|
function sleep(t) {
|
|
@@ -375,12 +377,6 @@ const stringSortHandlerAsc = function stringSortHandlerAsc() {
|
|
|
375
377
|
}
|
|
376
378
|
return 0;
|
|
377
379
|
};
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
*
|
|
381
|
-
* @param {ABTNode} nodeInfo
|
|
382
|
-
* @returns {string} like http://localhost:3000, http://localhost:3000/admin
|
|
383
|
-
*/
|
|
384
380
|
exports.stringSortHandlerAsc = stringSortHandlerAsc;
|
|
385
381
|
const getEndPoint = nodeInfo => {
|
|
386
382
|
const {
|
|
@@ -719,4 +715,6 @@ const sortDomains = domains => {
|
|
|
719
715
|
return 1;
|
|
720
716
|
});
|
|
721
717
|
};
|
|
722
|
-
exports.sortDomains = sortDomains;
|
|
718
|
+
exports.sortDomains = sortDomains;
|
|
719
|
+
const formatMountPoint = value => (0, _normalizePathPrefix.default)((0, _urlFriendly.default)(value));
|
|
720
|
+
exports.formatMountPoint = formatMountPoint;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.66
|
|
6
|
+
"version": "1.8.66",
|
|
7
7
|
"description": "UX components shared across abtnode packages",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@abtnode/auth": "1.8.66
|
|
25
|
-
"@abtnode/constant": "1.8.66
|
|
26
|
-
"@abtnode/util": "1.8.66
|
|
27
|
-
"@arcblock/did-connect": "^2.
|
|
24
|
+
"@abtnode/auth": "1.8.66",
|
|
25
|
+
"@abtnode/constant": "1.8.66",
|
|
26
|
+
"@abtnode/util": "1.8.66",
|
|
27
|
+
"@arcblock/did-connect": "^2.4.71",
|
|
28
28
|
"@arcblock/did-motif": "^1.1.10",
|
|
29
|
-
"@arcblock/icons": "^2.
|
|
30
|
-
"@arcblock/terminal": "^2.
|
|
31
|
-
"@arcblock/ux": "^2.
|
|
32
|
-
"@blocklet/constant": "1.8.66
|
|
33
|
-
"@blocklet/launcher-layout": "^1.9.
|
|
34
|
-
"@blocklet/list": "^0.
|
|
35
|
-
"@blocklet/meta": "1.8.66
|
|
36
|
-
"@blocklet/ui-react": "^2.
|
|
29
|
+
"@arcblock/icons": "^2.4.71",
|
|
30
|
+
"@arcblock/terminal": "^2.4.71",
|
|
31
|
+
"@arcblock/ux": "^2.4.71",
|
|
32
|
+
"@blocklet/constant": "1.8.66",
|
|
33
|
+
"@blocklet/launcher-layout": "^1.9.58",
|
|
34
|
+
"@blocklet/list": "^0.10.50",
|
|
35
|
+
"@blocklet/meta": "1.8.66",
|
|
36
|
+
"@blocklet/ui-react": "^2.4.71",
|
|
37
37
|
"@emotion/react": "^11.10.4",
|
|
38
38
|
"@emotion/styled": "^11.10.4",
|
|
39
39
|
"@iconify/react": "^4.0.0",
|
|
@@ -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": "
|
|
89
|
+
"gitHead": "282247fd0ce6702e1d6920e90e2b3be0408cf879"
|
|
90
90
|
}
|