data-primals-engine 1.6.3 → 1.7.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/README.md +52 -900
- package/client/index.js +3 -0
- package/client/package-lock.json +7563 -8811
- package/client/package.json +11 -1
- package/client/src/App.scss +29 -0
- package/client/src/AssistantChat.jsx +369 -362
- package/client/src/DataEditor.jsx +383 -383
- package/client/src/DataLayout.jsx +54 -20
- package/client/src/ModelList.jsx +280 -280
- package/client/src/ViewSwitcher.scss +0 -31
- package/client/src/_variables.scss +3 -0
- package/client/src/constants.js +81 -100
- package/client/src/contexts/CommandContext.jsx +274 -259
- package/client/vite.config.js +30 -30
- package/doc/AI-assistance.md +93 -0
- package/doc/Advanced-workflows.md +90 -0
- package/doc/Event-system.md +79 -0
- package/doc/Packs-gallery.md +73 -0
- package/doc/automation-workflows.md +102 -0
- package/doc/core-concepts.md +33 -0
- package/doc/custom-api-endpoints.md +40 -0
- package/doc/dashboards-kpis-charts.md +49 -0
- package/doc/data-management.md +120 -0
- package/doc/data-models.md +75 -0
- package/doc/index.md +14 -0
- package/doc/roles-permissions.md +43 -0
- package/doc/users.md +30 -0
- package/package.json +20 -10
- package/src/client.js +6 -4
- package/src/constants.js +1 -1
- package/src/core.js +31 -12
- package/src/defaultModels.js +1 -1
- package/src/engine.js +342 -335
- package/src/filter.js +72 -173
- package/src/migrate.js +1 -1
- package/src/modules/assistant/assistant.js +30 -20
- package/src/modules/data/data.backup.js +4 -4
- package/src/modules/data/data.js +8 -7
- package/src/modules/data/data.operations.js +186 -133
- package/src/modules/data/data.relations.js +3 -2
- package/src/modules/data/data.scheduling.js +1 -1
- package/src/modules/mongodb.js +17 -8
- package/src/modules/swagger.js +25 -5
- package/src/modules/user.js +108 -79
- package/src/modules/workflow.js +138 -3
- package/src/packs.js +5697 -5697
- package/src/profiles.js +19 -0
- package/swagger-en.yml +3391 -1550
- package/swagger-fr.yml +3385 -2896
- package/test/assistant.test.js +2 -2
- package/test/core.test.js +341 -0
- package/test/data.backup.integration.test.js +3 -1
- package/test/data.history.integration.test.js +0 -1
- package/test/data.integration.test.js +137 -2
- package/test/user.test.js +33 -29
package/client/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"preinstall": "npx force-resolutions",
|
|
7
8
|
"dev": "vite",
|
|
8
9
|
"build": "vite build --mode development",
|
|
9
10
|
"build:ssr-client": "vite build --ssrManifest --outDir dist/client --mode development",
|
|
@@ -11,6 +12,15 @@
|
|
|
11
12
|
"lint": "eslint .",
|
|
12
13
|
"preview": "vite preview"
|
|
13
14
|
},
|
|
15
|
+
"resolutions": {
|
|
16
|
+
"body-parser": ">=2.2.1",
|
|
17
|
+
"js-yaml": ">=4.1.1",
|
|
18
|
+
"prismjs": ">=1.30.0",
|
|
19
|
+
"qs": ">=6.14.1",
|
|
20
|
+
"lodash": ">=4.17.23",
|
|
21
|
+
"react-router": ">=7.12.0",
|
|
22
|
+
"react-router-dom": ">=7.12.0"
|
|
23
|
+
},
|
|
14
24
|
"peerDependencies": {
|
|
15
25
|
"@tiptap/react": "^2.26.1",
|
|
16
26
|
"react-chartjs-2": "^5.3.0",
|
|
@@ -54,7 +64,7 @@
|
|
|
54
64
|
"react-color": "^2.19.3",
|
|
55
65
|
"react-dom": "^18.3.1",
|
|
56
66
|
"react-leaflet": "^4.2.1",
|
|
57
|
-
"react-router": "
|
|
67
|
+
"react-router": "7.12.0",
|
|
58
68
|
"react-switch": "^7.1.0",
|
|
59
69
|
"uniqid": "^5.4.0",
|
|
60
70
|
"yet-another-react-lightbox": "^3.25.0"
|
package/client/src/App.scss
CHANGED
|
@@ -5,6 +5,35 @@ img {
|
|
|
5
5
|
width: auto;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
/*
|
|
9
|
+
* Style global pour les barres de défilement (scrollbars)
|
|
10
|
+
* S'applique à toute l'application, y compris les blocs de code.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* Pour les navigateurs WebKit (Chrome, Safari, Edge, etc.) */
|
|
14
|
+
::-webkit-scrollbar {
|
|
15
|
+
width: 8px; /* Largeur de la scrollbar verticale */
|
|
16
|
+
height: 8px; /* Hauteur de la scrollbar horizontale */
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* La piste (le fond de la scrollbar) */
|
|
20
|
+
::-webkit-scrollbar-track {
|
|
21
|
+
background: $scrollbar-track-color;
|
|
22
|
+
border-radius: 10px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* La poignée (la partie mobile de la scrollbar) */
|
|
26
|
+
::-webkit-scrollbar-thumb {
|
|
27
|
+
background-color: $scrollbar-thumb-color;
|
|
28
|
+
border-radius: 10px;
|
|
29
|
+
border: 2px solid $scrollbar-track-color; /* Crée un petit espacement autour de la poignée */
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* La poignée au survol de la souris */
|
|
33
|
+
::-webkit-scrollbar-thumb:hover {
|
|
34
|
+
background-color: $scrollbar-thumb-hover-color;
|
|
35
|
+
}
|
|
36
|
+
|
|
8
37
|
body {
|
|
9
38
|
font-family: "Nunito Sans", sans-serif;
|
|
10
39
|
line-height: 1.6; // Améliore la lisibilité
|