@nocobase/plugin-theme-editor 0.17.0-alpha.2 → 0.17.0-alpha.3
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 +4 -4
- package/dist/locale/en-US.json +22 -0
- package/dist/locale/fr-FR.json +22 -0
- package/dist/locale/zh-CN.json +34 -0
- package/package.json +2 -2
- package/dist/locale/en-US.d.ts +0 -23
- package/dist/locale/en-US.js +0 -46
- package/dist/locale/fr-FR.d.ts +0 -23
- package/dist/locale/fr-FR.js +0 -46
- package/dist/locale/zh-CN.d.ts +0 -35
- package/dist/locale/zh-CN.js +0 -58
package/dist/externalVersion.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@nocobase/client": "0.17.0-alpha.
|
|
2
|
+
"@nocobase/client": "0.17.0-alpha.3",
|
|
3
3
|
"react": "18.2.0",
|
|
4
4
|
"antd": "5.8.6",
|
|
5
5
|
"lodash": "4.17.21",
|
|
6
|
-
"@nocobase/server": "0.17.0-alpha.
|
|
6
|
+
"@nocobase/server": "0.17.0-alpha.3",
|
|
7
7
|
"@ant-design/cssinjs": "1.13.2",
|
|
8
8
|
"@ant-design/icons": "5.1.4",
|
|
9
|
-
"@nocobase/utils": "0.17.0-alpha.
|
|
9
|
+
"@nocobase/utils": "0.17.0-alpha.3",
|
|
10
10
|
"react-i18next": "11.18.6",
|
|
11
|
-
"@nocobase/database": "0.17.0-alpha.
|
|
11
|
+
"@nocobase/database": "0.17.0-alpha.3",
|
|
12
12
|
"@emotion/css": "11.11.2"
|
|
13
13
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Theme": "Theme",
|
|
3
|
+
"Local": "Local",
|
|
4
|
+
"Dark theme": "Dark theme",
|
|
5
|
+
"Optional": "Optional",
|
|
6
|
+
"Non-optional": "Non-optional",
|
|
7
|
+
"Current": "Current",
|
|
8
|
+
"Default": "Default",
|
|
9
|
+
"Theme Editor": "Theme Editor",
|
|
10
|
+
"Save": "Save",
|
|
11
|
+
"Close": "Close",
|
|
12
|
+
"Edit": "Edit",
|
|
13
|
+
"Export": "Export",
|
|
14
|
+
"edit Theme Config": "edit Theme Config",
|
|
15
|
+
"The theme of the JSON format is incorrect": "The theme of the JSON format is incorrect",
|
|
16
|
+
"Edited successfully": "Edited successfully",
|
|
17
|
+
"Saved successfully": "Saved successfully",
|
|
18
|
+
"Initializing Editor...": "Initializing Editor...",
|
|
19
|
+
"Save theme": "Save theme",
|
|
20
|
+
"Please set a name for this theme": "Please set a name for this theme",
|
|
21
|
+
"Please input the theme name": "Please input the theme name"
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Theme": "Thème",
|
|
3
|
+
"Local": "Local",
|
|
4
|
+
"Dark theme": "Thème sombre",
|
|
5
|
+
"Optional": "Optionnel",
|
|
6
|
+
"Non-optional": "Non-optionnel",
|
|
7
|
+
"Current": "Actuel",
|
|
8
|
+
"Default": "Par défaut",
|
|
9
|
+
"Theme Editor": "Éditeur de thème",
|
|
10
|
+
"Save": "Enregistrer",
|
|
11
|
+
"Close": "Fermer",
|
|
12
|
+
"Edit": "Modifier",
|
|
13
|
+
"Export": "Exporter",
|
|
14
|
+
"edit Theme Config": "Modifier la configuration du thème",
|
|
15
|
+
"The theme of the JSON format is incorrect": "Le thème au format JSON est incorrect",
|
|
16
|
+
"Edited successfully": "Modifié avec succès",
|
|
17
|
+
"Saved successfully": "Enregistré avec succès",
|
|
18
|
+
"Initializing Editor...": "Initialisation de l'éditeur...",
|
|
19
|
+
"Save theme": "Enregistrer le thème",
|
|
20
|
+
"Please set a name for this theme": "Veuillez définir un nom pour ce thème",
|
|
21
|
+
"Please input the theme name": "Veuillez saisir le nom du thème"
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Theme editor": "主题编辑器",
|
|
3
|
+
"Themes": "主题",
|
|
4
|
+
"Dark theme": "暗黑主题",
|
|
5
|
+
"Optional": "可选",
|
|
6
|
+
"Non-optional": "不可选",
|
|
7
|
+
"Current": "当前主题",
|
|
8
|
+
"Default": "默认",
|
|
9
|
+
"Delete theme": "删除主题",
|
|
10
|
+
"Deletion is unrecoverable. Confirm deletion?": "删除后不可恢复,确认删除?",
|
|
11
|
+
"Deleted successfully": "删除成功",
|
|
12
|
+
"Updated successfully": "更新成功",
|
|
13
|
+
"User selectable": "可被用户选择",
|
|
14
|
+
"Default theme": "默认主题",
|
|
15
|
+
"Add new theme": "添加新主题",
|
|
16
|
+
"Edit based on current theme": "基于当前主题进行编辑",
|
|
17
|
+
"Create a brand new theme": "创建一个全新的主题",
|
|
18
|
+
"Dark": "暗黑",
|
|
19
|
+
"Compact": "紧凑",
|
|
20
|
+
"Compact dark": "紧凑暗黑",
|
|
21
|
+
"Theme Editor": "主题编辑器",
|
|
22
|
+
"Save": "保存",
|
|
23
|
+
"Close": "关闭",
|
|
24
|
+
"Edit": "编辑",
|
|
25
|
+
"Export": "导出",
|
|
26
|
+
"edit Theme Config": "编辑主题配置",
|
|
27
|
+
"The theme of the JSON format is incorrect": "主题 JSON 格式错误",
|
|
28
|
+
"Edited successfully": "编辑成功",
|
|
29
|
+
"Saved successfully": "保存成功",
|
|
30
|
+
"Initializing Editor...": "正在初始化编辑器...",
|
|
31
|
+
"Save theme": "保存主题",
|
|
32
|
+
"Please set a name for this theme": "请为该主题设置一个名字",
|
|
33
|
+
"Please input the theme name": "请输入主题名字"
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-theme-editor",
|
|
3
|
-
"version": "0.17.0-alpha.
|
|
3
|
+
"version": "0.17.0-alpha.3",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"displayName": "Theme editor",
|
|
6
6
|
"displayName.zh-CN": "主题编辑器",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"@nocobase/test": "0.x",
|
|
31
31
|
"@nocobase/utils": "0.x"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "8fb3aace819722ceb845ea63ec3009f324a897a9"
|
|
34
34
|
}
|
package/dist/locale/en-US.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const locale: {
|
|
2
|
-
Theme: string;
|
|
3
|
-
Local: string;
|
|
4
|
-
'Dark theme': string;
|
|
5
|
-
Optional: string;
|
|
6
|
-
'Non-optional': string;
|
|
7
|
-
Current: string;
|
|
8
|
-
Default: string;
|
|
9
|
-
'Theme Editor': string;
|
|
10
|
-
Save: string;
|
|
11
|
-
Close: string;
|
|
12
|
-
Edit: string;
|
|
13
|
-
Export: string;
|
|
14
|
-
'edit Theme Config': string;
|
|
15
|
-
'The theme of the JSON format is incorrect': string;
|
|
16
|
-
'Edited successfully': string;
|
|
17
|
-
'Saved successfully': string;
|
|
18
|
-
'Initializing Editor...': string;
|
|
19
|
-
'Save theme': string;
|
|
20
|
-
'Please set a name for this theme': string;
|
|
21
|
-
'Please input the theme name': string;
|
|
22
|
-
};
|
|
23
|
-
export default locale;
|
package/dist/locale/en-US.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var en_US_exports = {};
|
|
19
|
-
__export(en_US_exports, {
|
|
20
|
-
default: () => en_US_default
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(en_US_exports);
|
|
23
|
-
const locale = {
|
|
24
|
-
Theme: "Theme",
|
|
25
|
-
Local: "Local",
|
|
26
|
-
"Dark theme": "Dark theme",
|
|
27
|
-
Optional: "Optional",
|
|
28
|
-
"Non-optional": "Non-optional",
|
|
29
|
-
Current: "Current",
|
|
30
|
-
Default: "Default",
|
|
31
|
-
// 主题编辑器
|
|
32
|
-
"Theme Editor": "Theme Editor",
|
|
33
|
-
Save: "Save",
|
|
34
|
-
Close: "Close",
|
|
35
|
-
Edit: "Edit",
|
|
36
|
-
Export: "Export",
|
|
37
|
-
"edit Theme Config": "edit Theme Config",
|
|
38
|
-
"The theme of the JSON format is incorrect": "The theme of the JSON format is incorrect",
|
|
39
|
-
"Edited successfully": "Edited successfully",
|
|
40
|
-
"Saved successfully": "Saved successfully",
|
|
41
|
-
"Initializing Editor...": "Initializing Editor...",
|
|
42
|
-
"Save theme": "Save theme",
|
|
43
|
-
"Please set a name for this theme": "Please set a name for this theme",
|
|
44
|
-
"Please input the theme name": "Please input the theme name"
|
|
45
|
-
};
|
|
46
|
-
var en_US_default = locale;
|
package/dist/locale/fr-FR.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const locale: {
|
|
2
|
-
Theme: string;
|
|
3
|
-
Local: string;
|
|
4
|
-
'Dark theme': string;
|
|
5
|
-
Optional: string;
|
|
6
|
-
'Non-optional': string;
|
|
7
|
-
Current: string;
|
|
8
|
-
Default: string;
|
|
9
|
-
'Theme Editor': string;
|
|
10
|
-
Save: string;
|
|
11
|
-
Close: string;
|
|
12
|
-
Edit: string;
|
|
13
|
-
Export: string;
|
|
14
|
-
'edit Theme Config': string;
|
|
15
|
-
'The theme of the JSON format is incorrect': string;
|
|
16
|
-
'Edited successfully': string;
|
|
17
|
-
'Saved successfully': string;
|
|
18
|
-
'Initializing Editor...': string;
|
|
19
|
-
'Save theme': string;
|
|
20
|
-
'Please set a name for this theme': string;
|
|
21
|
-
'Please input the theme name': string;
|
|
22
|
-
};
|
|
23
|
-
export default locale;
|
package/dist/locale/fr-FR.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var fr_FR_exports = {};
|
|
19
|
-
__export(fr_FR_exports, {
|
|
20
|
-
default: () => fr_FR_default
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(fr_FR_exports);
|
|
23
|
-
const locale = {
|
|
24
|
-
Theme: "Th\xE8me",
|
|
25
|
-
Local: "Local",
|
|
26
|
-
"Dark theme": "Th\xE8me sombre",
|
|
27
|
-
Optional: "Optionnel",
|
|
28
|
-
"Non-optional": "Non-optionnel",
|
|
29
|
-
Current: "Actuel",
|
|
30
|
-
Default: "Par d\xE9faut",
|
|
31
|
-
// 主题编辑器
|
|
32
|
-
"Theme Editor": "\xC9diteur de th\xE8me",
|
|
33
|
-
Save: "Enregistrer",
|
|
34
|
-
Close: "Fermer",
|
|
35
|
-
Edit: "Modifier",
|
|
36
|
-
Export: "Exporter",
|
|
37
|
-
"edit Theme Config": "Modifier la configuration du th\xE8me",
|
|
38
|
-
"The theme of the JSON format is incorrect": "Le th\xE8me au format JSON est incorrect",
|
|
39
|
-
"Edited successfully": "Modifi\xE9 avec succ\xE8s",
|
|
40
|
-
"Saved successfully": "Enregistr\xE9 avec succ\xE8s",
|
|
41
|
-
"Initializing Editor...": "Initialisation de l'\xE9diteur...",
|
|
42
|
-
"Save theme": "Enregistrer le th\xE8me",
|
|
43
|
-
"Please set a name for this theme": "Veuillez d\xE9finir un nom pour ce th\xE8me",
|
|
44
|
-
"Please input the theme name": "Veuillez saisir le nom du th\xE8me"
|
|
45
|
-
};
|
|
46
|
-
var fr_FR_default = locale;
|
package/dist/locale/zh-CN.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const locale: {
|
|
2
|
-
'Theme editor': string;
|
|
3
|
-
Themes: string;
|
|
4
|
-
'Dark theme': string;
|
|
5
|
-
Optional: string;
|
|
6
|
-
'Non-optional': string;
|
|
7
|
-
Current: string;
|
|
8
|
-
Default: string;
|
|
9
|
-
'Delete theme': string;
|
|
10
|
-
'Deletion is unrecoverable. Confirm deletion?': string;
|
|
11
|
-
'Deleted successfully': string;
|
|
12
|
-
'Updated successfully': string;
|
|
13
|
-
'User selectable': string;
|
|
14
|
-
'Default theme': string;
|
|
15
|
-
'Add new theme': string;
|
|
16
|
-
'Edit based on current theme': string;
|
|
17
|
-
'Create a brand new theme': string;
|
|
18
|
-
Dark: string;
|
|
19
|
-
Compact: string;
|
|
20
|
-
'Compact dark': string;
|
|
21
|
-
'Theme Editor': string;
|
|
22
|
-
Save: string;
|
|
23
|
-
Close: string;
|
|
24
|
-
Edit: string;
|
|
25
|
-
Export: string;
|
|
26
|
-
'edit Theme Config': string;
|
|
27
|
-
'The theme of the JSON format is incorrect': string;
|
|
28
|
-
'Edited successfully': string;
|
|
29
|
-
'Saved successfully': string;
|
|
30
|
-
'Initializing Editor...': string;
|
|
31
|
-
'Save theme': string;
|
|
32
|
-
'Please set a name for this theme': string;
|
|
33
|
-
'Please input the theme name': string;
|
|
34
|
-
};
|
|
35
|
-
export default locale;
|
package/dist/locale/zh-CN.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var zh_CN_exports = {};
|
|
19
|
-
__export(zh_CN_exports, {
|
|
20
|
-
default: () => zh_CN_default
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(zh_CN_exports);
|
|
23
|
-
const locale = {
|
|
24
|
-
"Theme editor": "\u4E3B\u9898\u7F16\u8F91\u5668",
|
|
25
|
-
Themes: "\u4E3B\u9898",
|
|
26
|
-
"Dark theme": "\u6697\u9ED1\u4E3B\u9898",
|
|
27
|
-
Optional: "\u53EF\u9009",
|
|
28
|
-
"Non-optional": "\u4E0D\u53EF\u9009",
|
|
29
|
-
Current: "\u5F53\u524D\u4E3B\u9898",
|
|
30
|
-
Default: "\u9ED8\u8BA4",
|
|
31
|
-
"Delete theme": "\u5220\u9664\u4E3B\u9898",
|
|
32
|
-
"Deletion is unrecoverable. Confirm deletion?": "\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u786E\u8BA4\u5220\u9664\uFF1F",
|
|
33
|
-
"Deleted successfully": "\u5220\u9664\u6210\u529F",
|
|
34
|
-
"Updated successfully": "\u66F4\u65B0\u6210\u529F",
|
|
35
|
-
"User selectable": "\u53EF\u88AB\u7528\u6237\u9009\u62E9",
|
|
36
|
-
"Default theme": "\u9ED8\u8BA4\u4E3B\u9898",
|
|
37
|
-
"Add new theme": "\u6DFB\u52A0\u65B0\u4E3B\u9898",
|
|
38
|
-
"Edit based on current theme": "\u57FA\u4E8E\u5F53\u524D\u4E3B\u9898\u8FDB\u884C\u7F16\u8F91",
|
|
39
|
-
"Create a brand new theme": "\u521B\u5EFA\u4E00\u4E2A\u5168\u65B0\u7684\u4E3B\u9898",
|
|
40
|
-
Dark: "\u6697\u9ED1",
|
|
41
|
-
Compact: "\u7D27\u51D1",
|
|
42
|
-
"Compact dark": "\u7D27\u51D1\u6697\u9ED1",
|
|
43
|
-
// 主题编辑器
|
|
44
|
-
"Theme Editor": "\u4E3B\u9898\u7F16\u8F91\u5668",
|
|
45
|
-
Save: "\u4FDD\u5B58",
|
|
46
|
-
Close: "\u5173\u95ED",
|
|
47
|
-
Edit: "\u7F16\u8F91",
|
|
48
|
-
Export: "\u5BFC\u51FA",
|
|
49
|
-
"edit Theme Config": "\u7F16\u8F91\u4E3B\u9898\u914D\u7F6E",
|
|
50
|
-
"The theme of the JSON format is incorrect": "\u4E3B\u9898 JSON \u683C\u5F0F\u9519\u8BEF",
|
|
51
|
-
"Edited successfully": "\u7F16\u8F91\u6210\u529F",
|
|
52
|
-
"Saved successfully": "\u4FDD\u5B58\u6210\u529F",
|
|
53
|
-
"Initializing Editor...": "\u6B63\u5728\u521D\u59CB\u5316\u7F16\u8F91\u5668...",
|
|
54
|
-
"Save theme": "\u4FDD\u5B58\u4E3B\u9898",
|
|
55
|
-
"Please set a name for this theme": "\u8BF7\u4E3A\u8BE5\u4E3B\u9898\u8BBE\u7F6E\u4E00\u4E2A\u540D\u5B57",
|
|
56
|
-
"Please input the theme name": "\u8BF7\u8F93\u5165\u4E3B\u9898\u540D\u5B57"
|
|
57
|
-
};
|
|
58
|
-
var zh_CN_default = locale;
|