treege 0.15.0 → 0.17.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 -2
- package/dist/main.js +2558 -2538
- package/dist/main.umd.cjs +36 -36
- package/dist/src/constants/fields.d.ts +2 -0
- package/dist/src/features/Treege/components/FieldSelect/useFieldSelect.d.ts +2 -0
- package/dist/src/features/Treege/components/Forms/FormTreeCardMutation/useFormTreeCardMutation.d.ts +3 -0
- package/dist/src/locales/en/translation-en.d.ts +1 -0
- package/dist/src/locales/fr/translation-fr.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ declare const fields: readonly [{
|
|
|
19
19
|
}, {
|
|
20
20
|
readonly isBooleanField: false;
|
|
21
21
|
readonly isDecisionField: false;
|
|
22
|
+
readonly isMultiple: false;
|
|
22
23
|
readonly isRepeatableDisabled: false;
|
|
23
24
|
readonly isRequiredDisabled: false;
|
|
24
25
|
readonly type: "file";
|
|
@@ -109,6 +110,7 @@ declare const fields: readonly [{
|
|
|
109
110
|
}, {
|
|
110
111
|
readonly isBooleanField: false;
|
|
111
112
|
readonly isDecisionField: false;
|
|
113
|
+
readonly isMultiple: false;
|
|
112
114
|
readonly isRepeatableDisabled: false;
|
|
113
115
|
readonly isRequiredDisabled: false;
|
|
114
116
|
readonly type: "dynamicSelect";
|
|
@@ -20,6 +20,7 @@ declare const useFieldSelect: () => {
|
|
|
20
20
|
} | {
|
|
21
21
|
readonly isBooleanField: false;
|
|
22
22
|
readonly isDecisionField: false;
|
|
23
|
+
readonly isMultiple: false;
|
|
23
24
|
readonly isRepeatableDisabled: false;
|
|
24
25
|
readonly isRequiredDisabled: false;
|
|
25
26
|
readonly type: "file";
|
|
@@ -110,6 +111,7 @@ declare const useFieldSelect: () => {
|
|
|
110
111
|
} | {
|
|
111
112
|
readonly isBooleanField: false;
|
|
112
113
|
readonly isDecisionField: false;
|
|
114
|
+
readonly isMultiple: false;
|
|
113
115
|
readonly isRepeatableDisabled: false;
|
|
114
116
|
readonly isRequiredDisabled: false;
|
|
115
117
|
readonly type: "dynamicSelect";
|
package/dist/src/features/Treege/components/Forms/FormTreeCardMutation/useFormTreeCardMutation.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const useFormTreeCardMutation: () => {
|
|
|
10
10
|
handleChangeIsDecisionField: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
11
11
|
handleChangeLabel: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
12
12
|
handleChangeMessage: (nameMessage: "on" | "off") => (event: ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
+
handleChangeMultiple: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
13
14
|
handleChangeName: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
14
15
|
handleChangeOptionLabel: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
15
16
|
handleChangeOptionMessage: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -42,6 +43,8 @@ declare const useFormTreeCardMutation: () => {
|
|
|
42
43
|
isEditModal: boolean;
|
|
43
44
|
isHiddenField: boolean;
|
|
44
45
|
isLeaf: boolean;
|
|
46
|
+
isMultiple: boolean;
|
|
47
|
+
isMultiplePossible: boolean;
|
|
45
48
|
isRepeatableDisabled: boolean;
|
|
46
49
|
isRequiredDisabled: boolean;
|
|
47
50
|
isTreeField: boolean;
|
|
@@ -10,6 +10,7 @@ declare const TRANSLATION_EN: {
|
|
|
10
10
|
readonly isATree: "Is a tree";
|
|
11
11
|
readonly isTheRoot: "Is the root";
|
|
12
12
|
readonly label: "Label";
|
|
13
|
+
readonly multiple: "Multiple";
|
|
13
14
|
readonly name: "Name";
|
|
14
15
|
readonly parentRef: "Parent element";
|
|
15
16
|
readonly remove: "Remove";
|
|
@@ -10,6 +10,7 @@ declare const TRANSLATION_FR: {
|
|
|
10
10
|
readonly isATree: "Est un arbre";
|
|
11
11
|
readonly isTheRoot: "Est la racine";
|
|
12
12
|
readonly label: "Label";
|
|
13
|
+
readonly multiple: "Multiple";
|
|
13
14
|
readonly name: "Nom";
|
|
14
15
|
readonly parentRef: "Element parent";
|
|
15
16
|
readonly remove: "Supprimer";
|