treege 0.2.0 → 0.4.0
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/CHANGELOG.md +2 -4
- package/dist/main.js +2320 -2898
- package/dist/main.umd.cjs +33 -35
- package/package.json +3 -3
- package/dist/locales/en/button.json +0 -5
- package/dist/locales/en/form.json +0 -30
- package/dist/locales/en/modal.json +0 -6
- package/dist/locales/en/translation.json +0 -19
- package/dist/locales/fr/button.json +0 -5
- package/dist/locales/fr/form.json +0 -30
- package/dist/locales/fr/modal.json +0 -6
- package/dist/locales/fr/translation.json +0 -19
- package/dist/style.css +0 -1
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.
|
|
5
|
+
"version": "0.4.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
8
8
|
"main": "dist/main.umd.cjs",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@codemirror/lang-json": "^6.0.0",
|
|
37
|
+
"@emotion/react": "^11.10.4",
|
|
37
38
|
"@mui/icons-material": "^5.8.4",
|
|
38
39
|
"@uiw/codemirror-theme-dracula": "^4.11.4",
|
|
39
40
|
"@uiw/react-codemirror": "^4.11.4",
|
|
40
|
-
"design-system-tracktor": "^1.0.
|
|
41
|
+
"design-system-tracktor": "^1.0.8",
|
|
41
42
|
"i18next": "^21.8.14",
|
|
42
43
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
43
|
-
"i18next-http-backend": "^1.4.1",
|
|
44
44
|
"react": "^18.2.0",
|
|
45
45
|
"react-d3-tree": "^3.3.4",
|
|
46
46
|
"react-dom": "^18.2.0",
|
|
@@ -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,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,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,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
|
-
}
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Box_1y66x_10{border:solid 1px rgba(255,255,255,.1);flex-grow:0}._Box_sajv4_10{border:solid 1px rgba(255,255,255,.1);flex-grow:1}._Stack_1r1jf_10{width:100%}._Box_1qs6r_10{border:solid 1px rgba(255,255,255,.1);flex-grow:1;overflow:auto}._Box_rbf6h_10{background-color:#0a1929;border:1px solid rgba(255,255,255,.1)}._Container_1qz45_10{height:100%;width:100%}._Link_1qz45_15{stroke:#ffffff80!important}._Toolbar_ntq7z_10{display:flex;background-color:#0364a8;box-shadow:none}._Dialog_ntq7z_16{background-color:#0a1929}._MainContainer_ntq7z_20{border:solid 1px rgba(255,255,255,.1);height:100%}.cm-activeLine.cm-line,.cm-gutterElement.cm-activeLineGutter{background-color:transparent}._Container_14edg_6,._Viewer_14edg_7{height:100%}._IconButton_lt38r_10,._IconButtonDelete_lt38r_10{min-width:auto!important;margin-right:-20px!important}._IconButtonDelete_lt38r_10{position:absolute!important;top:50%;right:0;transform:translateY(-50%)}._IconButtonDelete_lt38r_10:before{content:"";position:absolute;width:20px;height:20px;z-index:-1;border-radius:50%;background-color:#0a1929}.rd3t-node svg{stroke:transparent!important}._Container_iyvp8_14,._ContainerTree_iyvp8_14,._ContainerValue_iyvp8_14,._ContainerField_iyvp8_14{background:#0a1929;border-radius:1rem}._ContainerField_iyvp8_14{border:solid 1px #0ed3b4}._ContainerValue_iyvp8_14{border:solid 1px #007ef6}._ContainerTree_iyvp8_14{background:#0f353e;border:solid 1px #0ed3b4}._Title_iyvp8_32{margin:0;text-align:right;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}._ActionButton_iyvp8_42{min-width:auto!important}._StepChip_iyvp8_46{height:20px!important;font-size:.7rem!important;font-weight:700}
|