treege 0.3.0 → 0.4.1

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.
@@ -1,3 +1,2 @@
1
1
  // / <reference types="vite/client" />
2
- declare module "*.module.scss";
3
2
  declare module "*.svg";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "treege",
3
3
  "description": "Form decision tree generator",
4
4
  "license": "ISC",
5
- "version": "0.3.0",
5
+ "version": "0.4.1",
6
6
  "type": "module",
7
7
  "types": "dist/main.d.ts",
8
8
  "main": "dist/main.umd.cjs",
@@ -34,19 +34,16 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@codemirror/lang-json": "^6.0.0",
37
- "@emotion/react": "^11.10.4",
38
37
  "@mui/icons-material": "^5.8.4",
39
38
  "@uiw/codemirror-theme-dracula": "^4.11.4",
40
39
  "@uiw/react-codemirror": "^4.11.4",
41
40
  "design-system-tracktor": "^1.0.8",
42
41
  "i18next": "^21.8.14",
43
42
  "i18next-browser-languagedetector": "^6.1.4",
44
- "i18next-http-backend": "^1.4.1",
45
43
  "react": "^18.2.0",
46
44
  "react-d3-tree": "^3.3.4",
47
45
  "react-dom": "^18.2.0",
48
- "react-i18next": "^11.18.2",
49
- "sass": "^1.54.0"
46
+ "react-i18next": "^11.18.2"
50
47
  },
51
48
  "devDependencies": {
52
49
  "@testing-library/jest-dom": "^5.16.5",
@@ -1,5 +0,0 @@
1
- {
2
- "createTree": "Create Tree",
3
- "downloadJSONFile": "Download JSON File",
4
- "save": "Save"
5
- }
@@ -1,30 +0,0 @@
1
- {
2
- "decisionFields": "Decision fields",
3
- "helperText": "Helper text",
4
- "label": "Label",
5
- "mustBeUnique": "Must be unique",
6
- "offMessage": "Message (disable)",
7
- "onMessage": "Message (enable)",
8
- "staticFields": "Static fields",
9
- "step": "Step",
10
- "tree": "Tree",
11
- "type": {
12
- "address": "Address",
13
- "checkbox": "Checkbox",
14
- "date": "Date",
15
- "email": "Email",
16
- "file": "File",
17
- "number": "Number",
18
- "password": "Password",
19
- "radio": "Radio",
20
- "select": "Select",
21
- "switch": "Switch",
22
- "tel": "Tel",
23
- "time": "Time",
24
- "text": "Text",
25
- "tree": "Tree",
26
- "url": "URL"
27
- },
28
- "value": "Value",
29
- "values": "Values"
30
- }
@@ -1,6 +0,0 @@
1
- {
2
- "addFirstTitle": "Add a field",
3
- "addTitle": "Add a field to « {{name}} »",
4
- "deleteTitle": "Are you sure to delete « {{name}} »",
5
- "editTitle": "Edit field « {{name}} »"
6
- }
@@ -1,19 +0,0 @@
1
- {
2
- "add": "Add",
3
- "cancel": "Cancel",
4
- "disabled": "Disabled",
5
- "edit": "Edit",
6
- "isALeaf": "Is a leaf",
7
- "isABranch": "Is a branch",
8
- "isATree": "Is a tree",
9
- "isTheRoot": "Is the root",
10
- "label": "Label",
11
- "name": "Name",
12
- "remove": "Remove",
13
- "required": "Required",
14
- "show": "Show",
15
- "type": "Type",
16
- "validate": "Validate",
17
- "value": "Value",
18
- "values": "Values"
19
- }
@@ -1,5 +0,0 @@
1
- {
2
- "createTree": "Créer un arbre",
3
- "downloadJSONFile": "Télécharger le fichier JSON",
4
- "save": "Enregistrer"
5
- }
@@ -1,30 +0,0 @@
1
- {
2
- "decisionField": "Champs de décision",
3
- "helperText": "Texte d'information",
4
- "label": "Label",
5
- "mustBeUnique": "Doit être unique",
6
- "offMessage": "Message (désactiver)",
7
- "onMessage": "Message (activer)",
8
- "staticFields": "Champs statiques",
9
- "step": "Étape",
10
- "tree": "Arbre",
11
- "type": {
12
- "address": "Adresse",
13
- "checkbox": "Case à cocher",
14
- "date": "Date",
15
- "email": "Email",
16
- "file": "Fichier",
17
- "number": "Nombre",
18
- "password": "Mot de passe",
19
- "radio": "Radio",
20
- "select": "Select",
21
- "switch": "Switch",
22
- "tel": "Téléphone",
23
- "time": "Temps",
24
- "text": "Texte",
25
- "tree": "Arbre",
26
- "url": "URL"
27
- },
28
- "value": "Valeur",
29
- "values": "Valeurs"
30
- }
@@ -1,6 +0,0 @@
1
- {
2
- "addFirstTitle": "Ajouter un champ",
3
- "addTitle": "Ajouter un champ à « {{name}} »",
4
- "deleteTitle": "Voulez vraiment supprimer « {{name}} »",
5
- "editTitle": "Éditer le champ « {{name}} »"
6
- }
@@ -1,19 +0,0 @@
1
- {
2
- "add": "Ajouter",
3
- "cancel": "Annuler",
4
- "disabled": "Désactivé",
5
- "edit": "Éditer",
6
- "isALeaf": "Est une feuille",
7
- "isABranch": "Est une branche",
8
- "isATree": "Est un arbre",
9
- "isTheRoot": "Est la racine",
10
- "label": "Label",
11
- "name": "Nom",
12
- "remove": "Supprimer",
13
- "required": "Requis",
14
- "show": "Afficher",
15
- "type": "Type",
16
- "validate": "Valider",
17
- "value": "Valeur",
18
- "values": "Valeurs"
19
- }