treege 2.0.1 → 3.0.0-beta.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.
- package/README.md +378 -64
- package/dist/ThemeContext-BIvs8Kw-.js +758 -0
- package/dist/TreegeEditor-BSPfQQk3.js +2151 -0
- package/dist/TreegeRenderer-D3EvsEfJ.js +1413 -0
- package/dist/_name_.css +1 -0
- package/dist/editor/components/data-display/logo.d.ts +5 -0
- package/dist/editor/components/input/ComboboxWithCreate.d.ts +21 -0
- package/dist/editor/constants/defaultNode.d.ts +11 -0
- package/dist/editor/constants/edgeTypes.d.ts +3 -0
- package/dist/editor/constants/nodeTypes.d.ts +6 -0
- package/dist/editor/context/TreegeEditorContext.d.ts +12 -0
- package/dist/editor/features/TreegeEditor/TreegeEditor.d.ts +3 -0
- package/dist/editor/features/TreegeEditor/edges/ConditionalEdge.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/forms/FlowNodeForm.d.ts +2 -0
- package/dist/editor/features/TreegeEditor/forms/GroupNodeForm.d.ts +2 -0
- package/dist/editor/features/TreegeEditor/forms/HttpConfigForm.d.ts +7 -0
- package/dist/editor/features/TreegeEditor/forms/InputNodeForm.d.ts +2 -0
- package/dist/editor/features/TreegeEditor/forms/UINodeForm.d.ts +2 -0
- package/dist/editor/features/TreegeEditor/inputs/ComboboxPattern.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/inputs/SelectInputType.d.ts +7 -0
- package/dist/editor/features/TreegeEditor/inputs/SelectLanguage.d.ts +7 -0
- package/dist/editor/features/TreegeEditor/inputs/SelectNodeGroup.d.ts +2 -0
- package/dist/editor/features/TreegeEditor/inputs/SelectNodeType.d.ts +2 -0
- package/dist/editor/features/TreegeEditor/nodes/FlowNode.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/nodes/GroupNode.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/nodes/InputNode.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/nodes/UINode.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/nodes/layout/NodeWrapper.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/panel/ActionsPanel.d.ts +7 -0
- package/dist/editor/features/TreegeEditor/sheets/NodeActionsSheet.d.ts +2 -0
- package/dist/editor/hooks/useAvailableParentFields.d.ts +7 -0
- package/dist/editor/hooks/useEdgesSelection.d.ts +11 -0
- package/dist/editor/hooks/useFlowActions.d.ts +12 -0
- package/dist/editor/hooks/useFlowConnections.d.ts +15 -0
- package/dist/editor/hooks/useNodesSelection.d.ts +54 -0
- package/dist/editor/hooks/useTranslate.d.ts +19 -0
- package/dist/editor/index.d.ts +4 -0
- package/dist/editor/types/editor.d.ts +37 -0
- package/dist/editor.d.ts +2 -0
- package/dist/editor.js +7 -0
- package/dist/favicon.svg +12 -0
- package/dist/main.d.ts +7 -4
- package/dist/main.js +50 -7460
- package/dist/renderer/context/TreegeConfigContext.d.ts +39 -0
- package/dist/renderer/context/TreegeRendererContext.d.ts +25 -0
- package/dist/renderer/features/TreegeRenderer/native/TreegeRenderer.d.ts +13 -0
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultFormWrapper.d.ts +7 -0
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultGroup.d.ts +7 -0
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultHttpInput.d.ts +15 -0
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultInputs.d.ts +15 -0
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultSubmitButton.d.ts +7 -0
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultUI.d.ts +7 -0
- package/dist/renderer/features/TreegeRenderer/useTreegeRenderer.d.ts +50 -0
- package/dist/renderer/features/TreegeRenderer/web/TreegeRenderer.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultFormWrapper.d.ts +6 -0
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultGroup.d.ts +6 -0
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultInputs.d.ts +20 -0
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultSubmitButton.d.ts +9 -0
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultSubmitButtonWrapper.d.ts +10 -0
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultUI.d.ts +7 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultAddressInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultAutocompleteInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultCheckboxInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultDateInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultDateRangeInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultFileInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultHiddenInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultHttpInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultNumberInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultPasswordInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultRadioInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultSelectInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultSwitchInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTextAreaInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTextInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTimeInput.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTimeRangeInput.d.ts +3 -0
- package/dist/renderer/hooks/useTranslate.d.ts +24 -0
- package/dist/renderer/index.d.ts +17 -0
- package/dist/renderer/types/renderer.d.ts +187 -0
- package/dist/renderer/utils/conditions.d.ts +14 -0
- package/dist/renderer/utils/file.d.ts +22 -0
- package/dist/renderer/utils/flow.d.ts +91 -0
- package/dist/renderer/utils/form.d.ts +26 -0
- package/dist/renderer/utils/node.d.ts +16 -0
- package/dist/renderer.d.ts +2 -0
- package/dist/renderer.js +45 -0
- package/dist/shared/components/ui/badge.d.ts +9 -0
- package/dist/shared/components/ui/button.d.ts +10 -0
- package/dist/shared/components/ui/calendar.d.ts +8 -0
- package/dist/shared/components/ui/checkbox.d.ts +4 -0
- package/dist/shared/components/ui/collapsible.d.ts +5 -0
- package/dist/shared/components/ui/command.d.ts +18 -0
- package/dist/shared/components/ui/dialog.d.ts +15 -0
- package/dist/shared/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/shared/components/ui/form.d.ts +5 -0
- package/dist/shared/components/ui/input.d.ts +3 -0
- package/dist/shared/components/ui/label.d.ts +4 -0
- package/dist/shared/components/ui/popover.d.ts +7 -0
- package/dist/shared/components/ui/radio-group.d.ts +5 -0
- package/dist/shared/components/ui/scroll-area.d.ts +5 -0
- package/dist/shared/components/ui/select.d.ts +15 -0
- package/dist/shared/components/ui/separator.d.ts +4 -0
- package/dist/shared/components/ui/sheet.d.ts +13 -0
- package/dist/shared/components/ui/sonner.d.ts +3 -0
- package/dist/shared/components/ui/switch.d.ts +4 -0
- package/dist/shared/components/ui/textarea.d.ts +3 -0
- package/dist/shared/components/ui/tooltip.d.ts +7 -0
- package/dist/shared/constants/inputType.d.ts +19 -0
- package/dist/shared/constants/languages.d.ts +10 -0
- package/dist/shared/constants/node.d.ts +6 -0
- package/dist/shared/constants/operator.d.ts +4 -0
- package/dist/shared/constants/pattern.d.ts +7 -0
- package/dist/shared/constants/uiType.d.ts +4 -0
- package/dist/shared/context/ThemeContext.d.ts +15 -0
- package/dist/shared/hooks/useTranslate.d.ts +23 -0
- package/dist/shared/lib/utils.d.ts +2 -0
- package/dist/shared/locales/ar.json.d.ts +229 -0
- package/dist/shared/locales/de.json.d.ts +229 -0
- package/dist/shared/locales/en.json.d.ts +229 -0
- package/dist/shared/locales/es.json.d.ts +229 -0
- package/dist/shared/locales/fr.json.d.ts +229 -0
- package/dist/shared/locales/it.json.d.ts +229 -0
- package/dist/shared/locales/pt.json.d.ts +229 -0
- package/dist/shared/types/edge.d.ts +34 -0
- package/dist/shared/types/languages.d.ts +5 -0
- package/dist/shared/types/node.d.ts +171 -0
- package/dist/shared/types/operator.d.ts +9 -0
- package/dist/shared/types/translate.d.ts +9 -0
- package/dist/shared/utils/nodeTypeGuards.d.ts +22 -0
- package/dist/shared/utils/translations.d.ts +30 -0
- package/package.json +67 -41
- package/CHANGELOG.md +0 -8
- package/dist/components/DataDisplay/Icons/TreePlusIcon.d.ts +0 -7
- package/dist/components/DataDisplay/Logo/Logo.d.ts +0 -2
- package/dist/components/DataDisplay/Tree/Tree.d.ts +0 -14
- package/dist/components/DataDisplay/Tree/useTree.d.ts +0 -12
- package/dist/components/DataDisplay/TreeCard/TreeCard.d.ts +0 -14
- package/dist/components/DataDisplay/ViewerJSON/ViewerJSON.d.ts +0 -6
- package/dist/components/DataDisplay/ViewerJSON/useViewerJSON.d.ts +0 -4
- package/dist/components/DataDisplay/ViewerJSONAction/ViewerJSONAction.d.ts +0 -6
- package/dist/components/DataDisplay/ViewerJSONAction/useViewerJSONAction.d.ts +0 -11
- package/dist/components/FeedBack/MainModal/MainModal.d.ts +0 -10
- package/dist/components/FeedBack/TreeModal/TreeModal.d.ts +0 -13
- package/dist/components/Layouts/Action/Action.d.ts +0 -6
- package/dist/components/Layouts/Header/Header.d.ts +0 -6
- package/dist/components/Layouts/Main/Main.d.ts +0 -6
- package/dist/components/Layouts/MosaicLayout/MosaicLayout.d.ts +0 -6
- package/dist/components/Layouts/Sidebar/Sidebar.d.ts +0 -6
- package/dist/components/Theme/DarkTheme/DarkTheme.d.ts +0 -6
- package/dist/config/i18n.config.d.ts +0 -2
- package/dist/config/query.config.d.ts +0 -3
- package/dist/config/test.config.d.ts +0 -0
- package/dist/config/theme.config.d.ts +0 -3
- package/dist/constants/colors.d.ts +0 -10
- package/dist/constants/fields.d.ts +0 -152
- package/dist/context/Auth/AuthContext.d.ts +0 -7
- package/dist/context/Auth/AuthProvider.d.ts +0 -7
- package/dist/features/Treege/Treege.d.ts +0 -24
- package/dist/features/Treege/components/Feedback/EndPointWarning.d.ts +0 -8
- package/dist/features/Treege/components/Forms/AssignValueToChildren/AssignValueToChildren.d.ts +0 -10
- package/dist/features/Treege/components/Forms/AssignValueToChildren/Examples/ObjectMappingExample.d.ts +0 -2
- package/dist/features/Treege/components/Forms/FormTreeCardDelete/FormTreeCardDelete.d.ts +0 -5
- package/dist/features/Treege/components/Forms/FormTreeCardDelete/useFormTreeCardDelete.d.ts +0 -5
- package/dist/features/Treege/components/Forms/FormTreeCardMutation/ExtraField.d.ts +0 -15
- package/dist/features/Treege/components/Forms/FormTreeCardMutation/FormTreeCardMutation.d.ts +0 -7
- package/dist/features/Treege/components/Forms/FormTreeCardMutation/useFormTreeCardMutation.d.ts +0 -115
- package/dist/features/Treege/components/Forms/ReceiveValueFromAncestor.d.ts +0 -11
- package/dist/features/Treege/components/Inputs/AutocompleteSelectType/AutocompleteSelectType.d.ts +0 -12
- package/dist/features/Treege/components/Inputs/AutocompleteSelectType/index.d.ts +0 -3
- package/dist/features/Treege/components/Inputs/AutocompleteSelectType/useAutocompleteSelectType.d.ts +0 -305
- package/dist/features/Treege/components/Inputs/ButtonCreateTree/ButtonCreateTree.d.ts +0 -2
- package/dist/features/Treege/components/Inputs/ButtonCreateTree/useButtonCreateTree.d.ts +0 -4
- package/dist/features/Treege/components/Inputs/FieldSelectAutocompleteCreatable.d.ts +0 -12
- package/dist/features/Treege/components/TreeCardContainer/TreeCardContainer.d.ts +0 -8
- package/dist/features/Treege/components/TreeCardContainer/useTreeCardContainer.d.ts +0 -10
- package/dist/features/Treege/components/TreeGrid/TreeGrid.d.ts +0 -2
- package/dist/features/Treege/components/TreeGrid/useTreeGrid.d.ts +0 -11
- package/dist/features/Treege/components/TreeNameTextField/TreeNameTextField.d.ts +0 -2
- package/dist/features/Treege/components/TreeNameTextField/index.d.ts +0 -2
- package/dist/features/Treege/components/TreeNameTextField/useTreeNameTextField.d.ts +0 -9
- package/dist/features/Treege/components/TreeSelect/TreeSelect.d.ts +0 -12
- package/dist/features/Treege/components/TreeSelect/index.d.ts +0 -2
- package/dist/features/Treege/components/TreeSelect/useTreeSelect.d.ts +0 -16
- package/dist/features/Treege/context/TreegeProvider.d.ts +0 -90
- package/dist/features/Treege/reducer/treeReducer.d.ts +0 -35
- package/dist/hooks/useTreegeContext/index.d.ts +0 -3
- package/dist/hooks/useTreegeContext/useTreegeContext.d.ts +0 -2
- package/dist/locales/en/button-en.d.ts +0 -11
- package/dist/locales/en/form-en.d.ts +0 -85
- package/dist/locales/en/modal-en.d.ts +0 -9
- package/dist/locales/en/snackMessage-en.d.ts +0 -13
- package/dist/locales/en/translation-en.d.ts +0 -28
- package/dist/locales/fr/button-fr.d.ts +0 -11
- package/dist/locales/fr/form-fr.d.ts +0 -85
- package/dist/locales/fr/modal-fr.d.ts +0 -9
- package/dist/locales/fr/snackMessage-fr.d.ts +0 -13
- package/dist/locales/fr/translation-fr.d.ts +0 -28
- package/dist/main.umd.cjs +0 -97
- package/dist/services/workflows/mutation/usePatchWorkflowsMutation.d.ts +0 -12
- package/dist/services/workflows/mutation/usePostWorkflowMutation.d.ts +0 -11
- package/dist/services/workflows/query/useWorkflowQuery.d.ts +0 -10
- package/dist/services/workflows/query/useWorkflowsQuery.d.ts +0 -10
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/tree/appendNode/appendNode.d.ts +0 -83
- package/dist/utils/tree/appendNode/test/mock.d.ts +0 -16
- package/dist/utils/tree/findNodeByUUIDInTree/findNodeByUUIDInTree.d.ts +0 -8
- package/dist/utils/tree/findNodeByUUIDInTree/test/mock.d.ts +0 -12
- package/dist/utils/tree/findParentNodeByUUIDInTree/findParentNodeByUUIDInTree.d.ts +0 -9
- package/dist/utils/tree/findParentNodeByUUIDInTree/test/mock.d.ts +0 -11
- package/dist/utils/tree/getAllAncestorFromTree/getAllAncestorFromTree.d.ts +0 -12
- package/dist/utils/tree/getAllAncestorFromTree/test/mock.d.ts +0 -3
- package/dist/utils/tree/getNode/getNode.d.ts +0 -9
- package/dist/utils/tree/getNode/test/mock.d.ts +0 -12
- package/dist/utils/tree/getTree/getTree.d.ts +0 -9
- package/dist/utils/tree/getTree/test/mock.d.ts +0 -13
- package/dist/utils/tree/getUniqueTagsInTree/getUniqueTagsInTree.d.ts +0 -7
- package/dist/utils/tree/getUniqueTagsInTree/test/getUniqueTagsInTree.d.ts +0 -1
- package/dist/utils/tree/getUniqueTagsInTree/test/mock.d.ts +0 -10
- package/dist/utils/tree/index.d.ts +0 -9
- package/dist/utils/tree/removeNode/removeNode.d.ts +0 -14
- package/dist/utils/tree/removeNode/test/mock.d.ts +0 -14
- package/dist/utils/tree/updateNodeInTree/test/mock.d.ts +0 -14
- package/dist/utils/tree/updateNodeInTree/updateNodeInTree.d.ts +0 -16
- package/dist/utils/uuid/getUUID.d.ts +0 -5
package/dist/features/Treege/components/Inputs/AutocompleteSelectType/useAutocompleteSelectType.d.ts
DELETED
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
declare const useAutocompleteSelectType: (value: any) => {
|
|
2
|
-
currentValue: {
|
|
3
|
-
readonly isBooleanField: false;
|
|
4
|
-
readonly isDecisionField: false;
|
|
5
|
-
readonly isPatternEnabled: true;
|
|
6
|
-
readonly isRepeatableDisabled: false;
|
|
7
|
-
readonly isRequiredDisabled: false;
|
|
8
|
-
readonly type: "text";
|
|
9
|
-
} | {
|
|
10
|
-
readonly isBooleanField: false;
|
|
11
|
-
readonly isDecisionField: false;
|
|
12
|
-
readonly isPatternEnabled: true;
|
|
13
|
-
readonly isRepeatableDisabled: false;
|
|
14
|
-
readonly isRequiredDisabled: false;
|
|
15
|
-
readonly type: "number";
|
|
16
|
-
} | {
|
|
17
|
-
readonly isBooleanField: false;
|
|
18
|
-
readonly isDecisionField: false;
|
|
19
|
-
readonly isPatternEnabled: true;
|
|
20
|
-
readonly isRepeatableDisabled: false;
|
|
21
|
-
readonly isRequiredDisabled: false;
|
|
22
|
-
readonly type: "email";
|
|
23
|
-
} | {
|
|
24
|
-
readonly isBooleanField: false;
|
|
25
|
-
readonly isDecisionField: false;
|
|
26
|
-
readonly isMultiple: false;
|
|
27
|
-
readonly isPatternEnabled: true;
|
|
28
|
-
readonly isRepeatableDisabled: false;
|
|
29
|
-
readonly isRequiredDisabled: false;
|
|
30
|
-
readonly type: "file";
|
|
31
|
-
} | {
|
|
32
|
-
readonly isBooleanField: false;
|
|
33
|
-
readonly isDecisionField: false;
|
|
34
|
-
readonly isPatternEnabled: true;
|
|
35
|
-
readonly isRepeatableDisabled: false;
|
|
36
|
-
readonly isRequiredDisabled: false;
|
|
37
|
-
readonly type: "password";
|
|
38
|
-
} | {
|
|
39
|
-
readonly isBooleanField: false;
|
|
40
|
-
readonly isDecisionField: false;
|
|
41
|
-
readonly isPatternEnabled: true;
|
|
42
|
-
readonly isRepeatableDisabled: false;
|
|
43
|
-
readonly isRequiredDisabled: false;
|
|
44
|
-
readonly type: "tel";
|
|
45
|
-
} | {
|
|
46
|
-
readonly isBooleanField: false;
|
|
47
|
-
readonly isDecisionField: false;
|
|
48
|
-
readonly isPatternEnabled: true;
|
|
49
|
-
readonly isRepeatableDisabled: false;
|
|
50
|
-
readonly isRequiredDisabled: false;
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
} | {
|
|
53
|
-
readonly isBooleanField: false;
|
|
54
|
-
readonly isDecisionField: false;
|
|
55
|
-
readonly isPatternEnabled: true;
|
|
56
|
-
readonly isRepeatableDisabled: false;
|
|
57
|
-
readonly isRequiredDisabled: false;
|
|
58
|
-
readonly type: "url";
|
|
59
|
-
} | {
|
|
60
|
-
readonly isBooleanField: false;
|
|
61
|
-
readonly isDecisionField: false;
|
|
62
|
-
readonly isPatternEnabled: true;
|
|
63
|
-
readonly isRepeatableDisabled: false;
|
|
64
|
-
readonly isRequiredDisabled: false;
|
|
65
|
-
readonly type: "date";
|
|
66
|
-
} | {
|
|
67
|
-
readonly isBooleanField: false;
|
|
68
|
-
readonly isDecisionField: false;
|
|
69
|
-
readonly isPatternEnabled: true;
|
|
70
|
-
readonly isRepeatableDisabled: false;
|
|
71
|
-
readonly isRequiredDisabled: false;
|
|
72
|
-
readonly type: "dateRange";
|
|
73
|
-
} | {
|
|
74
|
-
readonly isBooleanField: false;
|
|
75
|
-
readonly isDecisionField: false;
|
|
76
|
-
readonly isPatternEnabled: true;
|
|
77
|
-
readonly isRepeatableDisabled: false;
|
|
78
|
-
readonly isRequiredDisabled: false;
|
|
79
|
-
readonly type: "time";
|
|
80
|
-
} | {
|
|
81
|
-
readonly isBooleanField: false;
|
|
82
|
-
readonly isDecisionField: false;
|
|
83
|
-
readonly isPatternEnabled: true;
|
|
84
|
-
readonly isRepeatableDisabled: false;
|
|
85
|
-
readonly isRequiredDisabled: false;
|
|
86
|
-
readonly type: "timeRange";
|
|
87
|
-
} | {
|
|
88
|
-
readonly isBooleanField: true;
|
|
89
|
-
readonly isDecisionField: false;
|
|
90
|
-
readonly isPatternEnabled: false;
|
|
91
|
-
readonly isRepeatableDisabled: true;
|
|
92
|
-
readonly isRequiredDisabled: true;
|
|
93
|
-
readonly type: "switch";
|
|
94
|
-
} | {
|
|
95
|
-
readonly isBooleanField: true;
|
|
96
|
-
readonly isDecisionField: false;
|
|
97
|
-
readonly isPatternEnabled: false;
|
|
98
|
-
readonly isRepeatableDisabled: true;
|
|
99
|
-
readonly isRequiredDisabled: true;
|
|
100
|
-
readonly type: "checkbox";
|
|
101
|
-
} | {
|
|
102
|
-
readonly isBooleanField: false;
|
|
103
|
-
readonly isDecisionField: false;
|
|
104
|
-
readonly isPatternEnabled: false;
|
|
105
|
-
readonly isRepeatableDisabled: true;
|
|
106
|
-
readonly isRequiredDisabled: true;
|
|
107
|
-
readonly type: "hidden";
|
|
108
|
-
} | {
|
|
109
|
-
readonly isBooleanField: false;
|
|
110
|
-
readonly isDecisionField: false;
|
|
111
|
-
readonly isPatternEnabled: false;
|
|
112
|
-
readonly isRepeatableDisabled: true;
|
|
113
|
-
readonly isRequiredDisabled: true;
|
|
114
|
-
readonly type: "tree";
|
|
115
|
-
} | {
|
|
116
|
-
readonly isBooleanField: false;
|
|
117
|
-
readonly isDecisionField: true;
|
|
118
|
-
readonly isPatternEnabled: false;
|
|
119
|
-
readonly isRepeatableDisabled: true;
|
|
120
|
-
readonly isRequiredDisabled: false;
|
|
121
|
-
readonly type: "radio";
|
|
122
|
-
} | {
|
|
123
|
-
readonly isBooleanField: false;
|
|
124
|
-
readonly isDecisionField: true;
|
|
125
|
-
readonly isPatternEnabled: false;
|
|
126
|
-
readonly isRepeatableDisabled: true;
|
|
127
|
-
readonly isRequiredDisabled: false;
|
|
128
|
-
readonly type: "select";
|
|
129
|
-
} | {
|
|
130
|
-
readonly initialQueryEnable: true;
|
|
131
|
-
readonly isBooleanField: false;
|
|
132
|
-
readonly isDecisionField: false;
|
|
133
|
-
readonly isPatternEnabled: false;
|
|
134
|
-
readonly isRepeatableDisabled: true;
|
|
135
|
-
readonly isRequiredDisabled: false;
|
|
136
|
-
readonly type: "autocomplete";
|
|
137
|
-
} | {
|
|
138
|
-
readonly isBooleanField: false;
|
|
139
|
-
readonly isDecisionField: false;
|
|
140
|
-
readonly isMultiple: false;
|
|
141
|
-
readonly isPatternEnabled: false;
|
|
142
|
-
readonly isRepeatableDisabled: false;
|
|
143
|
-
readonly isRequiredDisabled: false;
|
|
144
|
-
readonly type: "dynamicSelect";
|
|
145
|
-
} | {
|
|
146
|
-
readonly isBooleanField: false;
|
|
147
|
-
readonly isDecisionField: false;
|
|
148
|
-
readonly isPatternEnabled: false;
|
|
149
|
-
readonly isRepeatableDisabled: true;
|
|
150
|
-
readonly isRequiredDisabled: true;
|
|
151
|
-
readonly type: "title";
|
|
152
|
-
};
|
|
153
|
-
options: ({
|
|
154
|
-
readonly isBooleanField: false;
|
|
155
|
-
readonly isDecisionField: false;
|
|
156
|
-
readonly isPatternEnabled: true;
|
|
157
|
-
readonly isRepeatableDisabled: false;
|
|
158
|
-
readonly isRequiredDisabled: false;
|
|
159
|
-
readonly type: "text";
|
|
160
|
-
} | {
|
|
161
|
-
readonly isBooleanField: false;
|
|
162
|
-
readonly isDecisionField: false;
|
|
163
|
-
readonly isPatternEnabled: true;
|
|
164
|
-
readonly isRepeatableDisabled: false;
|
|
165
|
-
readonly isRequiredDisabled: false;
|
|
166
|
-
readonly type: "number";
|
|
167
|
-
} | {
|
|
168
|
-
readonly isBooleanField: false;
|
|
169
|
-
readonly isDecisionField: false;
|
|
170
|
-
readonly isPatternEnabled: true;
|
|
171
|
-
readonly isRepeatableDisabled: false;
|
|
172
|
-
readonly isRequiredDisabled: false;
|
|
173
|
-
readonly type: "email";
|
|
174
|
-
} | {
|
|
175
|
-
readonly isBooleanField: false;
|
|
176
|
-
readonly isDecisionField: false;
|
|
177
|
-
readonly isMultiple: false;
|
|
178
|
-
readonly isPatternEnabled: true;
|
|
179
|
-
readonly isRepeatableDisabled: false;
|
|
180
|
-
readonly isRequiredDisabled: false;
|
|
181
|
-
readonly type: "file";
|
|
182
|
-
} | {
|
|
183
|
-
readonly isBooleanField: false;
|
|
184
|
-
readonly isDecisionField: false;
|
|
185
|
-
readonly isPatternEnabled: true;
|
|
186
|
-
readonly isRepeatableDisabled: false;
|
|
187
|
-
readonly isRequiredDisabled: false;
|
|
188
|
-
readonly type: "password";
|
|
189
|
-
} | {
|
|
190
|
-
readonly isBooleanField: false;
|
|
191
|
-
readonly isDecisionField: false;
|
|
192
|
-
readonly isPatternEnabled: true;
|
|
193
|
-
readonly isRepeatableDisabled: false;
|
|
194
|
-
readonly isRequiredDisabled: false;
|
|
195
|
-
readonly type: "tel";
|
|
196
|
-
} | {
|
|
197
|
-
readonly isBooleanField: false;
|
|
198
|
-
readonly isDecisionField: false;
|
|
199
|
-
readonly isPatternEnabled: true;
|
|
200
|
-
readonly isRepeatableDisabled: false;
|
|
201
|
-
readonly isRequiredDisabled: false;
|
|
202
|
-
readonly type: "address";
|
|
203
|
-
} | {
|
|
204
|
-
readonly isBooleanField: false;
|
|
205
|
-
readonly isDecisionField: false;
|
|
206
|
-
readonly isPatternEnabled: true;
|
|
207
|
-
readonly isRepeatableDisabled: false;
|
|
208
|
-
readonly isRequiredDisabled: false;
|
|
209
|
-
readonly type: "url";
|
|
210
|
-
} | {
|
|
211
|
-
readonly isBooleanField: false;
|
|
212
|
-
readonly isDecisionField: false;
|
|
213
|
-
readonly isPatternEnabled: true;
|
|
214
|
-
readonly isRepeatableDisabled: false;
|
|
215
|
-
readonly isRequiredDisabled: false;
|
|
216
|
-
readonly type: "date";
|
|
217
|
-
} | {
|
|
218
|
-
readonly isBooleanField: false;
|
|
219
|
-
readonly isDecisionField: false;
|
|
220
|
-
readonly isPatternEnabled: true;
|
|
221
|
-
readonly isRepeatableDisabled: false;
|
|
222
|
-
readonly isRequiredDisabled: false;
|
|
223
|
-
readonly type: "dateRange";
|
|
224
|
-
} | {
|
|
225
|
-
readonly isBooleanField: false;
|
|
226
|
-
readonly isDecisionField: false;
|
|
227
|
-
readonly isPatternEnabled: true;
|
|
228
|
-
readonly isRepeatableDisabled: false;
|
|
229
|
-
readonly isRequiredDisabled: false;
|
|
230
|
-
readonly type: "time";
|
|
231
|
-
} | {
|
|
232
|
-
readonly isBooleanField: false;
|
|
233
|
-
readonly isDecisionField: false;
|
|
234
|
-
readonly isPatternEnabled: true;
|
|
235
|
-
readonly isRepeatableDisabled: false;
|
|
236
|
-
readonly isRequiredDisabled: false;
|
|
237
|
-
readonly type: "timeRange";
|
|
238
|
-
} | {
|
|
239
|
-
readonly isBooleanField: true;
|
|
240
|
-
readonly isDecisionField: false;
|
|
241
|
-
readonly isPatternEnabled: false;
|
|
242
|
-
readonly isRepeatableDisabled: true;
|
|
243
|
-
readonly isRequiredDisabled: true;
|
|
244
|
-
readonly type: "switch";
|
|
245
|
-
} | {
|
|
246
|
-
readonly isBooleanField: true;
|
|
247
|
-
readonly isDecisionField: false;
|
|
248
|
-
readonly isPatternEnabled: false;
|
|
249
|
-
readonly isRepeatableDisabled: true;
|
|
250
|
-
readonly isRequiredDisabled: true;
|
|
251
|
-
readonly type: "checkbox";
|
|
252
|
-
} | {
|
|
253
|
-
readonly isBooleanField: false;
|
|
254
|
-
readonly isDecisionField: false;
|
|
255
|
-
readonly isPatternEnabled: false;
|
|
256
|
-
readonly isRepeatableDisabled: true;
|
|
257
|
-
readonly isRequiredDisabled: true;
|
|
258
|
-
readonly type: "hidden";
|
|
259
|
-
} | {
|
|
260
|
-
readonly isBooleanField: false;
|
|
261
|
-
readonly isDecisionField: false;
|
|
262
|
-
readonly isPatternEnabled: false;
|
|
263
|
-
readonly isRepeatableDisabled: true;
|
|
264
|
-
readonly isRequiredDisabled: true;
|
|
265
|
-
readonly type: "tree";
|
|
266
|
-
} | {
|
|
267
|
-
readonly isBooleanField: false;
|
|
268
|
-
readonly isDecisionField: true;
|
|
269
|
-
readonly isPatternEnabled: false;
|
|
270
|
-
readonly isRepeatableDisabled: true;
|
|
271
|
-
readonly isRequiredDisabled: false;
|
|
272
|
-
readonly type: "radio";
|
|
273
|
-
} | {
|
|
274
|
-
readonly isBooleanField: false;
|
|
275
|
-
readonly isDecisionField: true;
|
|
276
|
-
readonly isPatternEnabled: false;
|
|
277
|
-
readonly isRepeatableDisabled: true;
|
|
278
|
-
readonly isRequiredDisabled: false;
|
|
279
|
-
readonly type: "select";
|
|
280
|
-
} | {
|
|
281
|
-
readonly initialQueryEnable: true;
|
|
282
|
-
readonly isBooleanField: false;
|
|
283
|
-
readonly isDecisionField: false;
|
|
284
|
-
readonly isPatternEnabled: false;
|
|
285
|
-
readonly isRepeatableDisabled: true;
|
|
286
|
-
readonly isRequiredDisabled: false;
|
|
287
|
-
readonly type: "autocomplete";
|
|
288
|
-
} | {
|
|
289
|
-
readonly isBooleanField: false;
|
|
290
|
-
readonly isDecisionField: false;
|
|
291
|
-
readonly isMultiple: false;
|
|
292
|
-
readonly isPatternEnabled: false;
|
|
293
|
-
readonly isRepeatableDisabled: false;
|
|
294
|
-
readonly isRequiredDisabled: false;
|
|
295
|
-
readonly type: "dynamicSelect";
|
|
296
|
-
} | {
|
|
297
|
-
readonly isBooleanField: false;
|
|
298
|
-
readonly isDecisionField: false;
|
|
299
|
-
readonly isPatternEnabled: false;
|
|
300
|
-
readonly isRepeatableDisabled: true;
|
|
301
|
-
readonly isRequiredDisabled: true;
|
|
302
|
-
readonly type: "title";
|
|
303
|
-
})[];
|
|
304
|
-
};
|
|
305
|
-
export default useAutocompleteSelectType;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
interface TagOption {
|
|
3
|
-
inputValue: string;
|
|
4
|
-
label: string;
|
|
5
|
-
}
|
|
6
|
-
interface FieldSelectAutocompleteCreatableProps {
|
|
7
|
-
id: string;
|
|
8
|
-
value: string | null;
|
|
9
|
-
onChange?: (_: SyntheticEvent<Element, Event>, newValue: string | TagOption | null) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const FieldSelectAutocompleteCreatable: ({ id, value, onChange }: FieldSelectAutocompleteCreatableProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default FieldSelectAutocompleteCreatable;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TreeNode } from '@tracktor/types-treege';
|
|
2
|
-
import { HierarchyPointNode } from 'd3-hierarchy';
|
|
3
|
-
import { CustomNodeElementProps } from 'react-d3-tree/lib/types/types/common';
|
|
4
|
-
export interface TreeCustomNodeElementProps extends Omit<CustomNodeElementProps, "hierarchyPointNode"> {
|
|
5
|
-
hierarchyPointNode: HierarchyPointNode<TreeNode>;
|
|
6
|
-
}
|
|
7
|
-
declare const TreeCardContainer: ({ nodeDatum, hierarchyPointNode, toggleNode, onNodeClick, onNodeMouseOver, onNodeMouseOut, addChildren, }: TreeCustomNodeElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default TreeCardContainer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TreeNode } from '@tracktor/types-treege';
|
|
2
|
-
import { HierarchyPointNode } from 'd3-hierarchy';
|
|
3
|
-
declare const useTreeCardContainer: () => {
|
|
4
|
-
handleAddChildren: (hierarchyPointNode: HierarchyPointNode<TreeNode>) => void;
|
|
5
|
-
handleCloseTreeModal: () => void;
|
|
6
|
-
handleDeleteChildren: (hierarchyPointNode: HierarchyPointNode<TreeNode>) => void;
|
|
7
|
-
handleEditChildren: (hierarchyPointNode: HierarchyPointNode<TreeNode>) => void;
|
|
8
|
-
handleOpenTreeModal: (hierarchyPointNode: HierarchyPointNode<TreeNode>) => void;
|
|
9
|
-
};
|
|
10
|
-
export default useTreeCardContainer;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const useTreeGrid: () => {
|
|
2
|
-
closeModal: () => void;
|
|
3
|
-
getTitleModalDelete: () => "Are you sure to delete « {{name}} »";
|
|
4
|
-
getTitleModalMutation: () => "Add a field" | "Add a field to « {{name}} »" | "Edit field « {{name}} »";
|
|
5
|
-
handleChangeTree: (tree: string) => false | undefined;
|
|
6
|
-
isDeleteModal: boolean;
|
|
7
|
-
isLargeView: boolean;
|
|
8
|
-
isModalMutationOpen: boolean;
|
|
9
|
-
setIsLargeView: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
10
|
-
};
|
|
11
|
-
export default useTreeGrid;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
declare const useTreeNameTextField: () => {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
errorName: string | undefined;
|
|
5
|
-
handleChangeName: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
-
id: string | undefined;
|
|
7
|
-
name: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
export default useTreeNameTextField;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FormControlProps, SelectChangeEvent } from '@tracktor/design-system';
|
|
2
|
-
interface TreeSelectProps {
|
|
3
|
-
arrowOnly?: boolean;
|
|
4
|
-
size?: FormControlProps["size"];
|
|
5
|
-
required?: boolean;
|
|
6
|
-
showBtnAddNewTree?: boolean;
|
|
7
|
-
value?: string;
|
|
8
|
-
onChange?: (event: SelectChangeEvent) => void;
|
|
9
|
-
fetchWorkflowsOnOpen?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const TreeSelect: ({ arrowOnly, required, size, showBtnAddNewTree, onChange, value, fetchWorkflowsOnOpen }: TreeSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default TreeSelect;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SelectChangeEvent } from '@tracktor/design-system';
|
|
2
|
-
interface useTreeSelectProps {
|
|
3
|
-
isControlled: boolean;
|
|
4
|
-
fetchWorkflowsOnOpen?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const useTreeSelect: ({ isControlled, fetchWorkflowsOnOpen }: useTreeSelectProps) => {
|
|
7
|
-
currentTree: import('@tracktor/types-treege').CurrentTree;
|
|
8
|
-
fetchWorkflowSuggestions: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<import('../../../../src/services/workflows/query/useWorkflowsQuery').WorkflowsResponse[], Error>>;
|
|
9
|
-
handleChangeTree: ({ target }: SelectChangeEvent) => Promise<void>;
|
|
10
|
-
handleOnOpen: () => Promise<void>;
|
|
11
|
-
setTreeSelected: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
12
|
-
treeSelected: string;
|
|
13
|
-
workflowsSuggestions: import('../../../../src/services/workflows/query/useWorkflowsQuery').WorkflowsResponse[] | undefined;
|
|
14
|
-
workflowsSuggestionsLoading: boolean;
|
|
15
|
-
};
|
|
16
|
-
export default useTreeSelect;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { CurrentTree, ModalType, TreeNode, TreePath } from '@tracktor/types-treege';
|
|
2
|
-
import { HierarchyPointNode } from 'd3-hierarchy';
|
|
3
|
-
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
4
|
-
import { TreeReducerAction } from '../../../src/features/Treege/reducer/treeReducer';
|
|
5
|
-
import { BackendConfig } from '../../../src/features/Treege/Treege';
|
|
6
|
-
interface TreegeProviderProps {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
initialTree?: TreeNode;
|
|
9
|
-
initialTreeId?: string;
|
|
10
|
-
backendConfig?: BackendConfig;
|
|
11
|
-
}
|
|
12
|
-
export interface TreeDefaultValue {
|
|
13
|
-
/**
|
|
14
|
-
* This is the backend configuration
|
|
15
|
-
*/
|
|
16
|
-
backendConfig?: BackendConfig;
|
|
17
|
-
/**
|
|
18
|
-
* CurrentHierarchyPointNode is the current node selected
|
|
19
|
-
*/
|
|
20
|
-
currentHierarchyPointNode: null | HierarchyPointNode<TreeNode>;
|
|
21
|
-
/**
|
|
22
|
-
* This is the current tree information
|
|
23
|
-
* {
|
|
24
|
-
* "id": "treeId",
|
|
25
|
-
* "name": "Tree name"
|
|
26
|
-
* }
|
|
27
|
-
*/
|
|
28
|
-
currentTree: CurrentTree;
|
|
29
|
-
/**
|
|
30
|
-
* This is the tree node object
|
|
31
|
-
*/
|
|
32
|
-
tree: null | TreeNode;
|
|
33
|
-
/**
|
|
34
|
-
* This is the tree modal open state
|
|
35
|
-
*/
|
|
36
|
-
treeModalOpen: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* This is the tree path
|
|
39
|
-
* [
|
|
40
|
-
* {
|
|
41
|
-
* "label": "Tree name",
|
|
42
|
-
* "path": "uuid"
|
|
43
|
-
* }
|
|
44
|
-
* ]
|
|
45
|
-
*/
|
|
46
|
-
treePath: TreePath[] | [];
|
|
47
|
-
/**
|
|
48
|
-
* This is the modal open state
|
|
49
|
-
*/
|
|
50
|
-
modalOpen: ModalType;
|
|
51
|
-
/**
|
|
52
|
-
* This is the version of Treege
|
|
53
|
-
*/
|
|
54
|
-
version: string;
|
|
55
|
-
/**
|
|
56
|
-
* This is the tree node dispatch function
|
|
57
|
-
* @param state
|
|
58
|
-
*/
|
|
59
|
-
dispatchTree: Dispatch<TreeReducerAction>;
|
|
60
|
-
/**
|
|
61
|
-
* This is the function to set the modal open state
|
|
62
|
-
* @param state
|
|
63
|
-
*/
|
|
64
|
-
setCurrentHierarchyPointNode(state: SetStateAction<null | HierarchyPointNode<TreeNode>>): void;
|
|
65
|
-
/**
|
|
66
|
-
* This is the function to set the current tree information,
|
|
67
|
-
* Not the node to display a tree
|
|
68
|
-
* @param state
|
|
69
|
-
*/
|
|
70
|
-
setCurrentTree(state: SetStateAction<CurrentTree>): void;
|
|
71
|
-
/**
|
|
72
|
-
* This is the function to set the modal open state
|
|
73
|
-
* @param state
|
|
74
|
-
*/
|
|
75
|
-
setModalOpen(state: SetStateAction<ModalType>): void;
|
|
76
|
-
/**
|
|
77
|
-
* This is the function to set the modal open state
|
|
78
|
-
* @param state
|
|
79
|
-
*/
|
|
80
|
-
setTreeModalOpen(state: SetStateAction<boolean>): void;
|
|
81
|
-
/**
|
|
82
|
-
* This is the function to set the tree path
|
|
83
|
-
* @param state
|
|
84
|
-
*/
|
|
85
|
-
setTreePath(state: SetStateAction<TreePath[] | []>): void;
|
|
86
|
-
}
|
|
87
|
-
export declare const treeDefaultValue: TreeDefaultValue;
|
|
88
|
-
export declare const TreegeContext: import('react').Context<TreeDefaultValue>;
|
|
89
|
-
declare const TreegeProvider: ({ children, initialTree, initialTreeId, backendConfig }: TreegeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
|
-
export default TreegeProvider;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { TreeNode } from '@tracktor/types-treege';
|
|
2
|
-
export declare const treeReducerActionType: {
|
|
3
|
-
readonly appendTreeCard: "appendTreeCard";
|
|
4
|
-
readonly deleteTreeCard: "deleteTreeCard";
|
|
5
|
-
readonly replaceTreeCard: "replaceTreeCard";
|
|
6
|
-
readonly resetTree: "resetTree";
|
|
7
|
-
readonly setTree: "setTree";
|
|
8
|
-
};
|
|
9
|
-
export type TreeReducerAction = {
|
|
10
|
-
type: typeof treeReducerActionType.appendTreeCard;
|
|
11
|
-
path: string | null;
|
|
12
|
-
uuid: string;
|
|
13
|
-
children: TreeNode;
|
|
14
|
-
} | {
|
|
15
|
-
type: typeof treeReducerActionType.deleteTreeCard;
|
|
16
|
-
path: string | "";
|
|
17
|
-
uuid: string;
|
|
18
|
-
} | {
|
|
19
|
-
type: typeof treeReducerActionType.replaceTreeCard;
|
|
20
|
-
path: string | null;
|
|
21
|
-
uuid: string;
|
|
22
|
-
children: TreeNode;
|
|
23
|
-
} | {
|
|
24
|
-
type: typeof treeReducerActionType.resetTree;
|
|
25
|
-
} | {
|
|
26
|
-
type: typeof treeReducerActionType.setTree;
|
|
27
|
-
tree: TreeNode | null;
|
|
28
|
-
};
|
|
29
|
-
export declare const appendTreeCard: (path: string | null, uuid: string, children: TreeNode) => TreeReducerAction;
|
|
30
|
-
export declare const replaceTreeCard: (path: string | null, uuid: string, children: TreeNode) => TreeReducerAction;
|
|
31
|
-
export declare const deleteTreeCard: (path: string | "", uuid: string) => TreeReducerAction;
|
|
32
|
-
export declare const resetTree: () => TreeReducerAction;
|
|
33
|
-
export declare const setTree: (tree: TreeNode | null) => TreeReducerAction;
|
|
34
|
-
declare const treeReducer: (tree: TreeNode | null, action: any) => any;
|
|
35
|
-
export default treeReducer;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const BUTTON_EN: {
|
|
2
|
-
readonly close: "Close";
|
|
3
|
-
readonly copyToClipboard: "Copy tree to clipboard";
|
|
4
|
-
readonly createTree: "Create Tree";
|
|
5
|
-
readonly downloadJSONFile: "Download JSON File";
|
|
6
|
-
readonly reset: "Reset";
|
|
7
|
-
readonly resetTree: "Reset tree";
|
|
8
|
-
readonly save: "Save";
|
|
9
|
-
readonly update: "Update";
|
|
10
|
-
};
|
|
11
|
-
export default BUTTON_EN;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
declare const FORM_EN: {
|
|
2
|
-
readonly additionalParams: "Api parameters";
|
|
3
|
-
readonly addressStructureHint: "An address type must be:";
|
|
4
|
-
readonly ancestor: "Ancestor";
|
|
5
|
-
readonly ancestorValue: "Get value from: {{ancestorName}}";
|
|
6
|
-
readonly apiRoute: "Api route";
|
|
7
|
-
readonly cardNumber: "Card number";
|
|
8
|
-
readonly dataMapping: "Option mapping";
|
|
9
|
-
readonly decisionField: "Decision field";
|
|
10
|
-
readonly disabledPast: "Disabled Past";
|
|
11
|
-
readonly dynamicSelectStructureHint: "Make sure the field accepts the ancestor value.";
|
|
12
|
-
readonly email: "Email";
|
|
13
|
-
readonly firstNameAndLastName: "First name and last name";
|
|
14
|
-
readonly helperText: "Helper text";
|
|
15
|
-
readonly hiddenValue: "Hidden value";
|
|
16
|
-
readonly key: "Key";
|
|
17
|
-
readonly keyPath: "Key path (string | number)";
|
|
18
|
-
readonly keyPathApiDescription: "(Option) To insert a value in a URL, use the syntax {paramName}. For example: http://api.com/userId={userId}, add {userId} in params.";
|
|
19
|
-
readonly keyPathAssignment: "Key path to value: {{keyPath}}";
|
|
20
|
-
readonly keyPathObject: "Key path to value";
|
|
21
|
-
readonly label: "Label";
|
|
22
|
-
readonly letter: "Letter";
|
|
23
|
-
readonly mapObject: "Map object";
|
|
24
|
-
readonly message: "Message";
|
|
25
|
-
readonly mustBeUnique: "Must be unique";
|
|
26
|
-
readonly newTree: "Nouvel arbre";
|
|
27
|
-
readonly noAncestorFound: "No parents found";
|
|
28
|
-
readonly number: "Nombre";
|
|
29
|
-
readonly numberAndLetter: "Number and letter";
|
|
30
|
-
readonly objectDemo: "Example of object mapping";
|
|
31
|
-
readonly offMessage: "Message (disable)";
|
|
32
|
-
readonly onMessage: "Message (enable)";
|
|
33
|
-
readonly pattern: "Pattern";
|
|
34
|
-
readonly patternMessage: "Pattern message";
|
|
35
|
-
readonly phoneNumber: "Phone number";
|
|
36
|
-
readonly receiveValueFromParent: "Default value from ancestor";
|
|
37
|
-
readonly repeatable: "Repeatable";
|
|
38
|
-
readonly searchKeyPlaceholder: "text";
|
|
39
|
-
readonly selectStructureHint: "Must be an value existing in the values option.";
|
|
40
|
-
readonly staticFields: "Static fields";
|
|
41
|
-
readonly staticValue: "(Option) Static value";
|
|
42
|
-
readonly staticValueDescription: "By default, it will use the ancestor value, but you can assign a static value.";
|
|
43
|
-
readonly step: "Step";
|
|
44
|
-
readonly tree: "Tree";
|
|
45
|
-
readonly treeName: "Tree name";
|
|
46
|
-
readonly type: {
|
|
47
|
-
readonly address: "Address";
|
|
48
|
-
readonly autocomplete: "Autocomplete";
|
|
49
|
-
readonly checkbox: "Checkbox";
|
|
50
|
-
readonly date: "Date";
|
|
51
|
-
readonly dateRange: "Date range";
|
|
52
|
-
readonly dynamicSelect: "Dynamic select";
|
|
53
|
-
readonly email: "Email";
|
|
54
|
-
readonly file: "File";
|
|
55
|
-
readonly hidden: "Hidden field";
|
|
56
|
-
readonly number: "Number";
|
|
57
|
-
readonly password: "Password";
|
|
58
|
-
readonly radio: "Radio";
|
|
59
|
-
readonly select: "Select";
|
|
60
|
-
readonly switch: "Switch";
|
|
61
|
-
readonly tel: "Tel";
|
|
62
|
-
readonly text: "Text";
|
|
63
|
-
readonly time: "Time";
|
|
64
|
-
readonly timeRange: "Time range";
|
|
65
|
-
readonly title: "Title";
|
|
66
|
-
readonly tree: "Tree";
|
|
67
|
-
readonly url: "URL";
|
|
68
|
-
};
|
|
69
|
-
readonly typeStructureWarning: "Type structure must be: {{type}}";
|
|
70
|
-
readonly url: "URL";
|
|
71
|
-
readonly urlConstruction: "URL construction";
|
|
72
|
-
readonly useAncestorValueAsParam: "Use Ancestor value";
|
|
73
|
-
readonly value: "Value";
|
|
74
|
-
readonly values: "Values";
|
|
75
|
-
readonly warningApiAutocomplete: {
|
|
76
|
-
readonly response: "should have as a response";
|
|
77
|
-
readonly url: "The API Route";
|
|
78
|
-
};
|
|
79
|
-
readonly warningApiSelect: {
|
|
80
|
-
readonly response: "at the location specified in the API URL.";
|
|
81
|
-
readonly url: "To automatically include the parent value in the API URL: add";
|
|
82
|
-
readonly warning: "{{}}";
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
export default FORM_EN;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const MODAL_EN: {
|
|
2
|
-
readonly addFirstTitle: "Add a field";
|
|
3
|
-
readonly addTitle: "Add a field to « {{name}} »";
|
|
4
|
-
readonly deleteTitle: "Are you sure to delete « {{name}} »";
|
|
5
|
-
readonly editTitle: "Edit field « {{name}} »";
|
|
6
|
-
readonly resetTreeContent: "Are you sure you want reset this tree ?";
|
|
7
|
-
readonly saveTree: "Save a Tree";
|
|
8
|
-
};
|
|
9
|
-
export default MODAL_EN;
|