data-primals-engine 1.3.4 → 1.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/README.md +797 -782
- package/client/README.md +20 -0
- package/client/package-lock.json +712 -147
- package/client/package.json +38 -37
- package/client/src/App.jsx +9 -10
- package/client/src/App.scss +7 -1
- package/client/src/Dashboard.jsx +349 -208
- package/client/src/DashboardView.jsx +569 -547
- package/client/src/DataEditor.jsx +20 -2
- package/client/src/DataLayout.jsx +24 -12
- package/client/src/DataTable.jsx +807 -760
- package/client/src/DataTable.scss +187 -90
- package/client/src/Field.jsx +1783 -1656
- package/client/src/ModelCreator.jsx +2 -2
- package/client/src/ModelCreatorField.jsx +906 -804
- package/client/src/ModelList.jsx +2 -2
- package/client/src/constants.js +16 -4
- package/client/src/translations.js +241 -3
- package/package.json +3 -3
- package/src/core.js +9 -0
- package/src/defaultModels.js +18 -10
- package/src/email.js +2 -1
- package/src/i18n.js +501 -28
- package/src/modules/data/data.core.js +5 -1
- package/src/modules/data/data.history.js +489 -489
- package/src/modules/data/data.js +75 -9
- package/src/modules/data/data.routes.js +3 -20
- package/src/modules/user.js +19 -0
- package/src/modules/workflow.js +2 -12
- package/client/public/demo/26899917-d1ba-4df4-bb33-48d09a8778da.jpg +0 -0
- package/client/public/demo/4b9894c7-12cd-466d-8fd3-a2757b09ec96.jpg +0 -0
- package/client/public/demo/7ed369ac-a1a2-4b45-b0cd-4fd5bcf5a75a.jpg +0 -0
|
@@ -235,7 +235,7 @@ const ModelCreator = forwardRef(({ initialPrompt = '', onModelGenerated, autoGen
|
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
237
|
case 'number':
|
|
238
|
-
otherFields = ['min', 'max', 'step', 'unit'];
|
|
238
|
+
otherFields = ['min', 'max', 'step', 'unit','delay', 'gauge', 'percent'];
|
|
239
239
|
break;
|
|
240
240
|
case 'string':
|
|
241
241
|
case 'string_t':
|
|
@@ -660,7 +660,7 @@ const ModelCreator = forwardRef(({ initialPrompt = '', onModelGenerated, autoGen
|
|
|
660
660
|
{/* Boutons d'action, visibles si un modèle est affiché ou en mode manuel */}
|
|
661
661
|
{(showModel || !useAI || initialModel) && (
|
|
662
662
|
<div className="actions flex">
|
|
663
|
-
{
|
|
663
|
+
{initialModel && (
|
|
664
664
|
<Button type="button" onClick={handleAddField}>
|
|
665
665
|
<FaPlus /> <Trans i18nKey={"btns.addField"}>Ajouter un champ</Trans>
|
|
666
666
|
</Button>
|