@nocobase/plugin-theme-editor 0.11.1-alpha.1 → 0.11.1-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.
@@ -0,0 +1,3 @@
1
+ import type { Locale } from './interface';
2
+ declare const locale: Locale;
3
+ export default locale;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ const locale = {
8
+ _lang: 'fr-FR',
9
+ followPrimary: 'Suivre la couleur du branding',
10
+ reset: 'Réinitialiser',
11
+ next: 'Suivant',
12
+ groupView: 'Vue groupe',
13
+ fill: 'Remplir',
14
+ border: 'Bordure',
15
+ background: 'Arrière-plan',
16
+ text: 'Texte',
17
+ demo: {
18
+ overview: 'Aperçu',
19
+ components: 'Composants',
20
+ relatedTokens: 'Jetons associés'
21
+ }
22
+ };
23
+ var _default = locale;
24
+ exports.default = _default;
@@ -0,0 +1,23 @@
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;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ const locale = {
8
+ Theme: 'Thème',
9
+ Local: 'Local',
10
+ 'Dark theme': 'Thème sombre',
11
+ Optional: 'Optionnel',
12
+ 'Non-optional': 'Non-optionnel',
13
+ Current: 'Actuel',
14
+ Default: 'Par défaut',
15
+ // 主题编辑器
16
+ 'Theme Editor': 'Éditeur de thème',
17
+ Save: 'Enregistrer',
18
+ Close: 'Fermer',
19
+ Edit: 'Modifier',
20
+ Export: 'Exporter',
21
+ 'edit Theme Config': 'Modifier la configuration du thème',
22
+ 'The theme of the JSON format is incorrect': 'Le thème au format JSON est incorrect',
23
+ 'Edited successfully': 'Modifié avec succès',
24
+ 'Saved successfully': 'Enregistré avec succès',
25
+ 'Initializing Editor...': "Initialisation de l'éditeur...",
26
+ 'Save theme': 'Enregistrer le thème',
27
+ 'Please set a name for this theme': 'Veuillez définir un nom pour ce thème',
28
+ 'Please input the theme name': 'Veuillez saisir le nom du thème'
29
+ };
30
+ var _default = locale;
31
+ exports.default = _default;
package/package.json CHANGED
@@ -1,23 +1,34 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-theme-editor",
3
- "version": "0.11.1-alpha.1",
3
+ "version": "0.11.1-alpha.3",
4
4
  "main": "lib/server/index.js",
5
5
  "displayName": "Theme editor",
6
6
  "displayName.zh-CN": "主题编辑器",
7
7
  "description": "Allows you to customize UI colors, sizes, etc.",
8
8
  "description.zh-CN": "允许你自定义 UI 的颜色、尺寸等。",
9
9
  "dependencies": {
10
- "@emotion/css": "^11.11.2",
11
- "@nocobase/client": "0.11.1-alpha.1",
12
- "antd": "^5.6.4",
13
- "react": "^18.2.0",
10
+ "@arvinxu/layout-kit": "^1",
11
+ "@ctrl/tinycolor": "^3.6.0",
12
+ "antd-token-previewer": "2.0.0-alpha.8",
13
+ "classnames": "^2.3.1",
14
+ "rc-util": "^5.32.0",
15
+ "react-colorful": "^5.5.1",
14
16
  "tinycolor2": "^1.6.0",
17
+ "use-debouncy": "^4.3.0",
15
18
  "vanilla-jsoneditor": "^0.17.8"
16
19
  },
17
20
  "devDependencies": {
18
- "@ctrl/tinycolor": "^3.6.0",
19
- "@nocobase/server": "0.11.1-alpha.1",
20
- "@nocobase/test": "0.11.1-alpha.1"
21
+ "@ant-design/cssinjs": "^1.11.1",
22
+ "@ant-design/icons": "^5.1.4",
23
+ "@emotion/css": "^11.11.2",
24
+ "@nocobase/client": "0.11.1-alpha.3",
25
+ "@nocobase/database": "0.11.1-alpha.3",
26
+ "@nocobase/server": "0.11.1-alpha.3",
27
+ "@nocobase/test": "0.11.1-alpha.3",
28
+ "@nocobase/utils": "0.11.1-alpha.3",
29
+ "antd": "^5.6.4",
30
+ "lodash": "4.17.21",
31
+ "react": "^18.2.0"
21
32
  },
22
- "gitHead": "9ed1dba520bc5f3a7cb1255ea8d92ccbefc11bc8"
33
+ "gitHead": "5ed3bd7d5b16bd38d268961b34875d5cd45799ef"
23
34
  }
@@ -0,0 +1,20 @@
1
+ import type { Locale } from './interface';
2
+
3
+ const locale: Locale = {
4
+ _lang: 'fr-FR',
5
+ followPrimary: 'Suivre la couleur du branding',
6
+ reset: 'Réinitialiser',
7
+ next: 'Suivant',
8
+ groupView: 'Vue groupe',
9
+ fill: 'Remplir',
10
+ border: 'Bordure',
11
+ background: 'Arrière-plan',
12
+ text: 'Texte',
13
+ demo: {
14
+ overview: 'Aperçu',
15
+ components: 'Composants',
16
+ relatedTokens: 'Jetons associés',
17
+ },
18
+ };
19
+
20
+ export default locale;
@@ -0,0 +1,26 @@
1
+ const locale = {
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
+
10
+ // 主题编辑器
11
+ 'Theme Editor': 'Éditeur de thème',
12
+ Save: 'Enregistrer',
13
+ Close: 'Fermer',
14
+ Edit: 'Modifier',
15
+ Export: 'Exporter',
16
+ 'edit Theme Config': 'Modifier la configuration du thème',
17
+ 'The theme of the JSON format is incorrect': 'Le thème au format JSON est incorrect',
18
+ 'Edited successfully': 'Modifié avec succès',
19
+ 'Saved successfully': 'Enregistré avec succès',
20
+ 'Initializing Editor...': "Initialisation de l'éditeur...",
21
+ 'Save theme': 'Enregistrer le thème',
22
+ 'Please set a name for this theme': 'Veuillez définir un nom pour ce thème',
23
+ 'Please input the theme name': 'Veuillez saisir le nom du thème',
24
+ };
25
+
26
+ export default locale;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes