@abtnode/ux 1.8.35 → 1.8.36
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/component/environment.js +1 -1
- package/lib/blocklet/component/index.js +2 -2
- package/lib/blocklet/component/setting.js +1 -1
- package/lib/blocklet/configuration.js +1 -1
- package/lib/blocklet/router/rule-list.js +1 -1
- package/lib/blocklet/version.js +1 -1
- package/package.json +7 -7
|
@@ -232,7 +232,7 @@ function ComponentEnvironment(_ref) {
|
|
|
232
232
|
severity: "info",
|
|
233
233
|
children: t('blocklet.config.environment.tip')
|
|
234
234
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_permission.default, {
|
|
235
|
-
permission: inService ? '' : '
|
|
235
|
+
permission: inService ? '' : 'mutate_blocklets',
|
|
236
236
|
role: inService ? _util2.BlockletAdminRoles : [],
|
|
237
237
|
children: hasPermission => /*#__PURE__*/(0, _jsxRuntime.jsx)(_table.default, {
|
|
238
238
|
className: (0, _util2.isBlockletDev)(blocklet) ? 'readonly-block config-table' : 'config-table',
|
|
@@ -586,7 +586,7 @@ function BlockletComponent(_ref4) {
|
|
|
586
586
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
587
587
|
className: "title",
|
|
588
588
|
children: [t('common.components'), /*#__PURE__*/(0, _jsxRuntime.jsx)(_permission.default, {
|
|
589
|
-
permission: inService ? '' : '
|
|
589
|
+
permission: inService ? '' : 'mutate_blocklets',
|
|
590
590
|
role: inService ? _util2.BlockletAdminRoles : [],
|
|
591
591
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledBadge, {
|
|
592
592
|
top: 1.2,
|
|
@@ -617,7 +617,7 @@ function BlockletComponent(_ref4) {
|
|
|
617
617
|
})
|
|
618
618
|
})]
|
|
619
619
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_permission.default, {
|
|
620
|
-
permission: inService ? '' : '
|
|
620
|
+
permission: inService ? '' : 'mutate_blocklets',
|
|
621
621
|
role: inService ? _util2.BlockletAdminRoles : [],
|
|
622
622
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, {
|
|
623
623
|
display: "flex",
|
|
@@ -112,7 +112,7 @@ function ComponentSetting(_ref) {
|
|
|
112
112
|
})
|
|
113
113
|
}));
|
|
114
114
|
}
|
|
115
|
-
const ComponentSettingInDaemon = (0, _permission.withPermission)(ComponentSetting, '
|
|
115
|
+
const ComponentSettingInDaemon = (0, _permission.withPermission)(ComponentSetting, 'mutate_blocklets');
|
|
116
116
|
const ComponentSettingInService = (0, _permission.withPermission)(ComponentSetting, '', _util.BlockletAdminRoles);
|
|
117
117
|
function ComponentSettingWithPermission(props) {
|
|
118
118
|
const {
|
|
@@ -611,7 +611,7 @@ function BlockletEnvironment(_ref) {
|
|
|
611
611
|
})]
|
|
612
612
|
}));
|
|
613
613
|
}
|
|
614
|
-
const BlockletEnvironmentInDaemon = (0, _permission.withPermission)(BlockletEnvironment, '
|
|
614
|
+
const BlockletEnvironmentInDaemon = (0, _permission.withPermission)(BlockletEnvironment, 'mutate_blocklets');
|
|
615
615
|
const BlockletEnvironmentInService = (0, _permission.withPermission)(BlockletEnvironment, '', _util2.BlockletAdminRoles);
|
|
616
616
|
function BlockletEnvironmentWithPermission(props) {
|
|
617
617
|
const {
|
|
@@ -166,7 +166,7 @@ RuleList.propTypes = {
|
|
|
166
166
|
RuleList.defaultProps = {
|
|
167
167
|
hasPermission: false
|
|
168
168
|
};
|
|
169
|
-
const RuleListInDaemon = (0, _permission.withPermission)(RuleList, '
|
|
169
|
+
const RuleListInDaemon = (0, _permission.withPermission)(RuleList, 'mutate_blocklets');
|
|
170
170
|
const RuleListInService = (0, _permission.withPermission)(RuleList, '', _util.BlockletAdminRoles);
|
|
171
171
|
function RuleListWithPermission(props) {
|
|
172
172
|
const {
|
package/lib/blocklet/version.js
CHANGED
|
@@ -165,7 +165,7 @@ Version.defaultProps = {
|
|
|
165
165
|
checkUpgrade: true,
|
|
166
166
|
hasPermission: false
|
|
167
167
|
};
|
|
168
|
-
const BlockletVersionInDaemon = (0, _permission.withPermission)(Version, '
|
|
168
|
+
const BlockletVersionInDaemon = (0, _permission.withPermission)(Version, 'mutate_blocklets');
|
|
169
169
|
const BlockletVersionInService = (0, _permission.withPermission)(Version, '', _util2.BlockletAdminRoles);
|
|
170
170
|
function BlockletVersion(props) {
|
|
171
171
|
const {
|
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.36",
|
|
7
7
|
"description": "UX components shared across abtnode packages",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -21,17 +21,17 @@
|
|
|
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.
|
|
24
|
+
"@abtnode/auth": "1.8.36",
|
|
25
|
+
"@abtnode/constant": "1.8.36",
|
|
26
|
+
"@abtnode/util": "1.8.36",
|
|
27
27
|
"@arcblock/did-connect": "^2.4.52",
|
|
28
28
|
"@arcblock/did-motif": "^1.1.10",
|
|
29
29
|
"@arcblock/icons": "^2.4.52",
|
|
30
30
|
"@arcblock/terminal": "^2.4.52",
|
|
31
31
|
"@arcblock/ux": "^2.4.52",
|
|
32
|
-
"@blocklet/constant": "1.8.
|
|
32
|
+
"@blocklet/constant": "1.8.36",
|
|
33
33
|
"@blocklet/launcher-layout": "^1.9.10",
|
|
34
|
-
"@blocklet/meta": "1.8.
|
|
34
|
+
"@blocklet/meta": "1.8.36",
|
|
35
35
|
"@emotion/react": "^11.10.4",
|
|
36
36
|
"@emotion/styled": "^11.10.4",
|
|
37
37
|
"@material-table/core": "^0.2.48",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@babel/preset-react": "^7.18.6",
|
|
74
74
|
"babel-plugin-inline-react-svg": "^1.1.2"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "507e974ce88bad1aa002c593130b32982207f803"
|
|
77
77
|
}
|