@tachybase/plugin-i18n-editor 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/externalVersion.js +7 -7
- package/dist/node_modules/deepmerge/package.json +1 -1
- package/dist/server/migrations/20230706200900-roles-add-translation.js +4 -1
- package/dist/server/migrations/20231206161851-fix-module.js +4 -1
- package/dist/server/plugin.js +0 -1
- package/dist/server/resources.js +0 -2
- package/package.json +10 -10
package/dist/externalVersion.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"react": "18.3.1",
|
|
3
|
-
"@tachybase/client": "0.23.
|
|
4
|
-
"@tachybase/schema": "0.23.
|
|
3
|
+
"@tachybase/client": "0.23.47",
|
|
4
|
+
"@tachybase/schema": "0.23.47",
|
|
5
5
|
"@ant-design/icons": "5.5.2",
|
|
6
6
|
"ahooks": "3.8.4",
|
|
7
7
|
"antd": "5.22.5",
|
|
8
|
-
"@tachybase/database": "0.23.
|
|
9
|
-
"@tachybase/module-ui-schema": "0.23.
|
|
10
|
-
"@tachybase/server": "0.23.
|
|
11
|
-
"@tachybase/cache": "0.23.
|
|
8
|
+
"@tachybase/database": "0.23.47",
|
|
9
|
+
"@tachybase/module-ui-schema": "0.23.47",
|
|
10
|
+
"@tachybase/server": "0.23.47",
|
|
11
|
+
"@tachybase/cache": "0.23.47",
|
|
12
12
|
"react-i18next": "15.2.0",
|
|
13
|
-
"@tachybase/actions": "0.23.
|
|
13
|
+
"@tachybase/actions": "0.23.47"
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"deepmerge","description":"A library for deep (recursive) merging of Javascript objects","keywords":["merge","deep","extend","copy","clone","recursive"],"version":"4.3.1","homepage":"https://github.com/TehShrike/deepmerge","repository":{"type":"git","url":"git://github.com/TehShrike/deepmerge.git"},"main":"dist/cjs.js","engines":{"node":">=0.10.0"},"scripts":{"build":"rollup -c","test":"npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript","test:typescript":"tsc --noEmit test/typescript.ts && ts-node test/typescript.ts","size":"npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c"},"devDependencies":{"@types/node":"^8.10.54","is-mergeable-object":"1.1.0","is-plain-object":"^5.0.0","jsmd":"^1.0.2","rollup":"^1.23.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","tape":"^4.11.0","ts-node":"7.0.1","typescript":"=2.2.2","uglify-js":"^3.6.1"},"license":"MIT","_lastModified":"2025-
|
|
1
|
+
{"name":"deepmerge","description":"A library for deep (recursive) merging of Javascript objects","keywords":["merge","deep","extend","copy","clone","recursive"],"version":"4.3.1","homepage":"https://github.com/TehShrike/deepmerge","repository":{"type":"git","url":"git://github.com/TehShrike/deepmerge.git"},"main":"dist/cjs.js","engines":{"node":">=0.10.0"},"scripts":{"build":"rollup -c","test":"npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript","test:typescript":"tsc --noEmit test/typescript.ts && ts-node test/typescript.ts","size":"npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c"},"devDependencies":{"@types/node":"^8.10.54","is-mergeable-object":"1.1.0","is-plain-object":"^5.0.0","jsmd":"^1.0.2","rollup":"^1.23.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","tape":"^4.11.0","ts-node":"7.0.1","typescript":"=2.2.2","uglify-js":"^3.6.1"},"license":"MIT","_lastModified":"2025-02-21T02:30:13.499Z"}
|
|
@@ -22,7 +22,10 @@ __export(roles_add_translation_exports, {
|
|
|
22
22
|
module.exports = __toCommonJS(roles_add_translation_exports);
|
|
23
23
|
var import_server = require("@tachybase/server");
|
|
24
24
|
class AddTranslationToRoleTitleMigration extends import_server.Migration {
|
|
25
|
-
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.appVersion = "<0.11.1-alpha.1";
|
|
28
|
+
}
|
|
26
29
|
async up() {
|
|
27
30
|
const repo = this.context.db.getRepository("fields");
|
|
28
31
|
const field = await repo.findOne({
|
|
@@ -25,7 +25,10 @@ var import_server = require("@tachybase/server");
|
|
|
25
25
|
var import_localization = require("../actions/localization");
|
|
26
26
|
var import_constans = require("../constans");
|
|
27
27
|
class FixModuleMigration extends import_server.Migration {
|
|
28
|
-
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.appVersion = "<0.17.0-alpha.3";
|
|
31
|
+
}
|
|
29
32
|
async up() {
|
|
30
33
|
const result = await this.app.version.satisfies("<=0.17.0-alpha.4");
|
|
31
34
|
if (!result) {
|
package/dist/server/plugin.js
CHANGED
|
@@ -39,7 +39,6 @@ var import_constans = require("./constans");
|
|
|
39
39
|
var import_resources = __toESM(require("./resources"));
|
|
40
40
|
var import_utils = require("./utils");
|
|
41
41
|
class LocalizationManagementPlugin extends import_server.Plugin {
|
|
42
|
-
resources;
|
|
43
42
|
registerUISchemahook(plugin) {
|
|
44
43
|
const uiSchemaStoragePlugin = plugin || this.app.getPlugin("ui-schema");
|
|
45
44
|
if (!uiSchemaStoragePlugin) {
|
package/dist/server/resources.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-i18n-editor",
|
|
3
3
|
"displayName": "Localization",
|
|
4
|
-
"version": "0.23.
|
|
4
|
+
"version": "0.23.47",
|
|
5
5
|
"description": "Allows to manage localization resources of the application.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"System management"
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"antd": "5.22.5",
|
|
16
16
|
"deepmerge": "^4.3.1",
|
|
17
17
|
"react-i18next": "^15.2.0",
|
|
18
|
-
"@tachybase/schema": "0.23.
|
|
18
|
+
"@tachybase/schema": "0.23.47"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@tachybase/actions": "0.23.
|
|
22
|
-
"@tachybase/
|
|
23
|
-
"@tachybase/
|
|
24
|
-
"@tachybase/
|
|
25
|
-
"@tachybase/module-ui-schema": "0.23.
|
|
26
|
-
"@tachybase/module-web": "0.23.
|
|
27
|
-
"@tachybase/
|
|
28
|
-
"@tachybase/
|
|
21
|
+
"@tachybase/actions": "0.23.47",
|
|
22
|
+
"@tachybase/client": "0.23.47",
|
|
23
|
+
"@tachybase/cache": "0.23.47",
|
|
24
|
+
"@tachybase/database": "0.23.47",
|
|
25
|
+
"@tachybase/module-ui-schema": "0.23.47",
|
|
26
|
+
"@tachybase/module-web": "0.23.47",
|
|
27
|
+
"@tachybase/server": "0.23.47",
|
|
28
|
+
"@tachybase/test": "0.23.47"
|
|
29
29
|
},
|
|
30
30
|
"description.zh-CN": "支持管理应用程序的本地化资源。",
|
|
31
31
|
"displayName.zh-CN": "本地化",
|