@nocobase/plugin-data-visualization 2.1.0-beta.2 → 2.1.0-beta.6
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/LICENSE +201 -661
- package/README.md +79 -10
- package/dist/client/{2ba6e739852f8f86.js → 3f66fc107a17e7ea.js} +1 -1
- package/dist/client/ce13620920bd4d48.js +47 -0
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +10 -10
- package/dist/node_modules/koa-compose/package.json +1 -1
- package/dist/node_modules/moment-timezone/package.json +1 -1
- package/dist/server/actions/query.js +2 -2
- package/package.json +4 -3
- package/dist/client/70e51b7ab3f56bfb.js +0 -47
package/dist/externalVersion.js
CHANGED
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.1.0-beta.
|
|
11
|
+
"@nocobase/client": "2.1.0-beta.6",
|
|
12
12
|
"@formily/react": "2.3.7",
|
|
13
|
-
"@nocobase/plugin-ai": "2.1.0-beta.
|
|
14
|
-
"@nocobase/flow-engine": "2.1.0-beta.
|
|
13
|
+
"@nocobase/plugin-ai": "2.1.0-beta.6",
|
|
14
|
+
"@nocobase/flow-engine": "2.1.0-beta.6",
|
|
15
15
|
"react-i18next": "11.18.6",
|
|
16
16
|
"dayjs": "1.11.13",
|
|
17
17
|
"@formily/shared": "2.3.7",
|
|
18
18
|
"lodash": "4.17.21",
|
|
19
|
-
"@nocobase/cache": "2.1.0-beta.
|
|
20
|
-
"@nocobase/server": "2.1.0-beta.
|
|
21
|
-
"@nocobase/test": "2.1.0-beta.
|
|
22
|
-
"@nocobase/utils": "2.1.0-beta.
|
|
19
|
+
"@nocobase/cache": "2.1.0-beta.6",
|
|
20
|
+
"@nocobase/server": "2.1.0-beta.6",
|
|
21
|
+
"@nocobase/test": "2.1.0-beta.6",
|
|
22
|
+
"@nocobase/utils": "2.1.0-beta.6",
|
|
23
23
|
"react": "18.2.0",
|
|
24
24
|
"@emotion/css": "11.13.0",
|
|
25
25
|
"@ant-design/icons": "5.6.1",
|
|
@@ -27,9 +27,9 @@ module.exports = {
|
|
|
27
27
|
"antd": "5.24.2",
|
|
28
28
|
"@formily/antd-v5": "1.2.3",
|
|
29
29
|
"@formily/core": "2.3.7",
|
|
30
|
-
"@nocobase/actions": "2.1.0-beta.
|
|
31
|
-
"@nocobase/database": "2.1.0-beta.
|
|
32
|
-
"@nocobase/acl": "2.1.0-beta.
|
|
30
|
+
"@nocobase/actions": "2.1.0-beta.6",
|
|
31
|
+
"@nocobase/database": "2.1.0-beta.6",
|
|
32
|
+
"@nocobase/acl": "2.1.0-beta.6",
|
|
33
33
|
"sequelize": "6.35.2",
|
|
34
34
|
"@formily/reactive": "2.3.7"
|
|
35
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2026-02-
|
|
1
|
+
{"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2026-02-27T11:49:06.327Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"moment-timezone","version":"0.5.43","description":"Parse and display moments in any timezone.","homepage":"http://momentjs.com/timezone/","author":"Tim Wood <washwithcare@gmail.com> (http://timwoodcreates.com/)","keywords":["moment","date","time","timezone","olson","iana","zone","tz"],"main":"./index.js","typings":"./index.d.ts","engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/moment/moment-timezone.git"},"bugs":{"url":"https://github.com/moment/moment-timezone/issues"},"license":"MIT","dependencies":{"moment":"^2.29.4"},"devDependencies":{"grunt":"^1.5.3","grunt-contrib-clean":"^2.0.1","grunt-contrib-jshint":"^3.2.0","grunt-contrib-nodeunit":"^4.0.0","grunt-contrib-uglify":"^5.2.2","grunt-exec":"^3.0.0","typescript":"^3.5.1"},"jspm":{"main":"builds/moment-timezone-with-data","shim":{"moment-timezone":{"deps":["moment"]}}},"scripts":{"test":"grunt"},"_lastModified":"2026-02-
|
|
1
|
+
{"name":"moment-timezone","version":"0.5.43","description":"Parse and display moments in any timezone.","homepage":"http://momentjs.com/timezone/","author":"Tim Wood <washwithcare@gmail.com> (http://timwoodcreates.com/)","keywords":["moment","date","time","timezone","olson","iana","zone","tz"],"main":"./index.js","typings":"./index.d.ts","engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/moment/moment-timezone.git"},"bugs":{"url":"https://github.com/moment/moment-timezone/issues"},"license":"MIT","dependencies":{"moment":"^2.29.4"},"devDependencies":{"grunt":"^1.5.3","grunt-contrib-clean":"^2.0.1","grunt-contrib-jshint":"^3.2.0","grunt-contrib-nodeunit":"^4.0.0","grunt-contrib-uglify":"^5.2.2","grunt-exec":"^3.0.0","typescript":"^3.5.1"},"jspm":{"main":"builds/moment-timezone-with-data","shim":{"moment-timezone":{"deps":["moment"]}}},"scripts":{"test":"grunt"},"_lastModified":"2026-02-27T11:49:07.019Z"}
|
|
@@ -220,7 +220,7 @@ const cacheMiddleware = async (ctx, next) => {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
const checkPermission = async (ctx, next) => {
|
|
223
|
-
var _a, _b;
|
|
223
|
+
var _a, _b, _c;
|
|
224
224
|
const { collection, dataSource } = ctx.action.params.values;
|
|
225
225
|
const roleNames = ctx.state.currentRoles || ["anonymous"];
|
|
226
226
|
const acl = ((_a = ctx.app.dataSourceManager.get(dataSource)) == null ? void 0 : _a.acl) || ctx.app.acl;
|
|
@@ -230,7 +230,7 @@ const checkPermission = async (ctx, next) => {
|
|
|
230
230
|
}
|
|
231
231
|
if ((_b = can == null ? void 0 : can.params) == null ? void 0 : _b.filter) {
|
|
232
232
|
try {
|
|
233
|
-
|
|
233
|
+
(0, import_acl.checkFilterParams)(ctx.database.getCollection(collection), (_c = can.params) == null ? void 0 : _c.filter);
|
|
234
234
|
} catch (e) {
|
|
235
235
|
if (e instanceof import_acl.NoPermissionError) {
|
|
236
236
|
ctx.throw(403, "No permissions");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-data-visualization",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.6",
|
|
4
4
|
"displayName": "Data visualization",
|
|
5
5
|
"displayName.ru-RU": "Визуализация данных",
|
|
6
6
|
"displayName.zh-CN": "数据可视化",
|
|
@@ -46,8 +46,9 @@
|
|
|
46
46
|
"@nocobase/test": "2.x",
|
|
47
47
|
"@nocobase/utils": "2.x"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "439e45f32ee5f34d771e7f4751ef57eb7d4a82a8",
|
|
50
50
|
"keywords": [
|
|
51
51
|
"Blocks"
|
|
52
|
-
]
|
|
52
|
+
],
|
|
53
|
+
"license": "Apache-2.0"
|
|
53
54
|
}
|