@tachybase/plugin-block-charts 0.23.40 → 0.23.47
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/dist/client/chart/antd/GroupedTable.d.ts +1 -1
- package/dist/client/chart/antd/tools/renderText.d.ts +3 -1
- package/dist/client/filter/FilterCheckbox.d.ts +1 -1
- package/dist/client/index.js +40 -40
- package/dist/externalVersion.js +8 -8
- package/dist/locale/zh-CN.json +1 -0
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/koa-compose/package.json +1 -1
- package/dist/server/migrations/20230926211750-rename-charttype.js +4 -1
- package/dist/server/plugin.js +0 -1
- package/dist/server/services/sql-loader.js +2 -3
- package/package.json +10 -10
package/dist/externalVersion.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "0.23.
|
|
3
|
-
"@tachybase/schema": "0.23.
|
|
2
|
+
"@tachybase/client": "0.23.47",
|
|
3
|
+
"@tachybase/schema": "0.23.47",
|
|
4
4
|
"lodash": "4.17.21",
|
|
5
|
-
"@tachybase/cache": "0.23.
|
|
6
|
-
"@tachybase/server": "0.23.
|
|
7
|
-
"@tachybase/utils": "0.23.
|
|
5
|
+
"@tachybase/cache": "0.23.47",
|
|
6
|
+
"@tachybase/server": "0.23.47",
|
|
7
|
+
"@tachybase/utils": "0.23.47",
|
|
8
8
|
"react": "18.3.1",
|
|
9
9
|
"@ant-design/icons": "5.3.7",
|
|
10
10
|
"ahooks": "3.8.4",
|
|
11
11
|
"antd": "5.22.5",
|
|
12
12
|
"dayjs": "1.11.13",
|
|
13
|
-
"@tachybase/components": "0.23.
|
|
13
|
+
"@tachybase/components": "0.23.47",
|
|
14
14
|
"react-i18next": "15.2.0",
|
|
15
15
|
"sequelize": "6.37.5",
|
|
16
|
-
"@tachybase/actions": "0.23.
|
|
17
|
-
"@tachybase/database": "0.23.
|
|
16
|
+
"@tachybase/actions": "0.23.47",
|
|
17
|
+
"@tachybase/database": "0.23.47"
|
|
18
18
|
};
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fs-extra","version":"11.2.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=14.14"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^10.1.0","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^17.0.0"},"main":"./lib/index.js","exports":{".":"./lib/index.js","./esm":"./lib/esm.mjs"},"files":["lib/","!lib/**/__tests__/"],"scripts":{"lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit && npm run unit-esm","unit":"nyc node test.js","unit-esm":"node test.mjs"},"sideEffects":false,"_lastModified":"2025-
|
|
1
|
+
{"name":"fs-extra","version":"11.2.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=14.14"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^10.1.0","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^17.0.0"},"main":"./lib/index.js","exports":{".":"./lib/index.js","./esm":"./lib/esm.mjs"},"files":["lib/","!lib/**/__tests__/"],"scripts":{"lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit && npm run unit-esm","unit":"nyc node test.js","unit-esm":"node test.mjs"},"sideEffects":false,"_lastModified":"2025-02-21T02:29:18.382Z"}
|
|
@@ -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":"2025-
|
|
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":"2025-02-21T02:29:18.031Z"}
|
|
@@ -22,7 +22,10 @@ __export(rename_charttype_exports, {
|
|
|
22
22
|
module.exports = __toCommonJS(rename_charttype_exports);
|
|
23
23
|
var import_server = require("@tachybase/server");
|
|
24
24
|
class RenameChartTypeMigration extends import_server.Migration {
|
|
25
|
-
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.appVersion = "<0.14.0-alpha.7";
|
|
28
|
+
}
|
|
26
29
|
async up() {
|
|
27
30
|
const result = await this.app.version.satisfies("<=0.14.0-alpha.7");
|
|
28
31
|
if (!result) {
|
package/dist/server/plugin.js
CHANGED
|
@@ -37,7 +37,6 @@ var import_utils = require("@tachybase/utils");
|
|
|
37
37
|
var import_query = require("./actions/query");
|
|
38
38
|
var import_sql_loader = require("./services/sql-loader");
|
|
39
39
|
class DataVisualizationPlugin extends import_server.Plugin {
|
|
40
|
-
cache;
|
|
41
40
|
afterAdd() {
|
|
42
41
|
}
|
|
43
42
|
beforeLoad() {
|
|
@@ -64,7 +64,6 @@ var __decorateElement = (array, flags, name, decorators, target, extra) => {
|
|
|
64
64
|
}
|
|
65
65
|
return k || __decoratorMetadata(array, target), desc && __defProp(target, name, desc), p ? k ^ 4 ? extra : desc : target;
|
|
66
66
|
};
|
|
67
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
68
67
|
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
69
68
|
var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use the "in" operator on this value') : member.has(obj);
|
|
70
69
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
@@ -83,8 +82,8 @@ var _db_dec, _SqlLoader_decorators, _init;
|
|
|
83
82
|
_SqlLoader_decorators = [(0, import_utils.Service)()], _db_dec = [(0, import_utils.Db)()];
|
|
84
83
|
class SqlLoader {
|
|
85
84
|
constructor() {
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
this.sqlFiles = {};
|
|
86
|
+
this.db = __runInitializers(_init, 8, this), __runInitializers(_init, 11, this);
|
|
88
87
|
}
|
|
89
88
|
async loadSqlFiles(directory) {
|
|
90
89
|
try {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-block-charts",
|
|
3
3
|
"displayName": "Block: charts",
|
|
4
|
-
"version": "0.23.
|
|
4
|
+
"version": "0.23.47",
|
|
5
5
|
"description": "Provides data visualization feature, including chart block and chart filter block, support line charts, area charts, bar charts and more than a dozen kinds of charts, you can also extend more chart types.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Blocks"
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"react-error-boundary": "^4.1.2",
|
|
24
24
|
"react-i18next": "^15.2.0",
|
|
25
25
|
"sequelize": "^6.37.5",
|
|
26
|
-
"@tachybase/components": "0.23.
|
|
27
|
-
"@tachybase/schema": "0.23.
|
|
26
|
+
"@tachybase/components": "0.23.47",
|
|
27
|
+
"@tachybase/schema": "0.23.47"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@tachybase/actions": "0.23.
|
|
31
|
-
"@tachybase/
|
|
32
|
-
"@tachybase/
|
|
33
|
-
"@tachybase/
|
|
34
|
-
"@tachybase/
|
|
35
|
-
"@tachybase/
|
|
36
|
-
"@tachybase/
|
|
30
|
+
"@tachybase/actions": "0.23.47",
|
|
31
|
+
"@tachybase/client": "0.23.47",
|
|
32
|
+
"@tachybase/database": "0.23.47",
|
|
33
|
+
"@tachybase/cache": "0.23.47",
|
|
34
|
+
"@tachybase/server": "0.23.47",
|
|
35
|
+
"@tachybase/test": "0.23.47",
|
|
36
|
+
"@tachybase/utils": "0.23.47"
|
|
37
37
|
},
|
|
38
38
|
"description.zh-CN": "提供数据可视化功能,包含图表卡片和图表筛选卡片,支持折线图、面积图、柱状图等十几种图表,你也可以扩展更多图表类型。",
|
|
39
39
|
"displayName.zh-CN": "卡片:图表",
|