@nocobase/plugin-data-visualization
Advanced tools
Comparing version 0.16.0-alpha.4 to 0.16.0-alpha.5
module.exports = { | ||
"@nocobase/client": "0.16.0-alpha.4", | ||
"@nocobase/client": "0.16.0-alpha.5", | ||
"react": "18.2.0", | ||
"@formily/react": "2.2.27", | ||
"@formily/shared": "2.2.27", | ||
"@nocobase/cache": "0.16.0-alpha.4", | ||
"@nocobase/server": "0.16.0-alpha.4", | ||
"@nocobase/cache": "0.16.0-alpha.5", | ||
"@nocobase/server": "0.16.0-alpha.5", | ||
"@ant-design/icons": "5.1.4", | ||
@@ -17,5 +17,5 @@ "dayjs": "1.11.9", | ||
"ahooks": "3.7.8", | ||
"@nocobase/actions": "0.16.0-alpha.4", | ||
"@nocobase/database": "0.16.0-alpha.4", | ||
"@nocobase/utils": "0.16.0-alpha.4" | ||
"@nocobase/actions": "0.16.0-alpha.5", | ||
"@nocobase/database": "0.16.0-alpha.5", | ||
"@nocobase/utils": "0.16.0-alpha.5" | ||
}; |
@@ -1,1 +0,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":"2023-11-24T15:22:41.139Z"} | ||
{"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":"2023-11-30T04:53:29.371Z"} |
@@ -148,6 +148,5 @@ var __create = Object.create; | ||
const fields = collection.fields; | ||
const underscored = collection.options.underscored; | ||
const models = {}; | ||
const parseField = (selected) => { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
let target; | ||
@@ -162,4 +161,5 @@ let name; | ||
} | ||
let field = underscored ? (0, import_database.snakeCase)(name) : name; | ||
let fieldType = (_a = fields.get(name)) == null ? void 0 : _a.type; | ||
const rawAttributes = collection.model.getAttributes(); | ||
let field = ((_a = rawAttributes[name]) == null ? void 0 : _a.field) || name; | ||
let fieldType = (_b = fields.get(name)) == null ? void 0 : _b.type; | ||
if (target) { | ||
@@ -169,6 +169,6 @@ const targetField = fields.get(target); | ||
const targetFields = targetCollection.fields; | ||
fieldType = (_b = targetFields.get(name)) == null ? void 0 : _b.type; | ||
fieldType = (_c = targetFields.get(name)) == null ? void 0 : _c.type; | ||
field = `${target}.${field}`; | ||
name = `${target}.${name}`; | ||
const targetType = (_c = fields.get(target)) == null ? void 0 : _c.type; | ||
const targetType = (_d = fields.get(target)) == null ? void 0 : _d.type; | ||
if (!models[target]) { | ||
@@ -175,0 +175,0 @@ models[target] = { type: targetType }; |
{ | ||
"name": "@nocobase/plugin-data-visualization", | ||
"version": "0.16.0-alpha.4", | ||
"version": "0.16.0-alpha.5", | ||
"displayName": "Data Visualization", | ||
@@ -36,3 +36,3 @@ "displayName.zh-CN": "数据可视化", | ||
}, | ||
"gitHead": "98d65186a22281e59209d11a6756712a62667c07" | ||
"gitHead": "3badd2569e4658023897fa381ac4dd30e64d5bce" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1137744