treege 1.0.9 → 1.1.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.
@@ -16,6 +16,7 @@ declare const useFormTreeCardMutation: () => {
16
16
  handleChangeHiddenValue: (event: ChangeEvent<HTMLInputElement>) => void;
17
17
  handleChangeInitialQuery: (event: ChangeEvent<HTMLInputElement>) => void;
18
18
  handleChangeIsDecisionField: (event: ChangeEvent<HTMLInputElement>) => void;
19
+ handleChangeIsDisabledPast: (event: ChangeEvent<HTMLInputElement>) => void;
19
20
  handleChangeLabel: (event: ChangeEvent<HTMLInputElement>) => void;
20
21
  handleChangeMessage: (nameMessage: "on" | "off") => (event: ChangeEvent<HTMLInputElement>) => void;
21
22
  handleChangeMultiple: (event: ChangeEvent<HTMLInputElement>) => void;
@@ -46,8 +47,10 @@ declare const useFormTreeCardMutation: () => {
46
47
  initialQuery: boolean;
47
48
  isAutocomplete: boolean;
48
49
  isBooleanField: boolean;
50
+ isDateRangePicker: boolean;
49
51
  isDecision: boolean;
50
52
  isDecisionField: boolean;
53
+ isDisabledPast: boolean;
51
54
  isDynamicSelect: boolean;
52
55
  isEditModal: boolean;
53
56
  isHiddenField: boolean;
@@ -46,6 +46,7 @@ export interface TreeNode {
46
46
  treePath?: string;
47
47
  repeatable?: boolean;
48
48
  hiddenValue?: string;
49
+ isDisabledPast?: boolean;
49
50
  route?: Route;
50
51
  parentRef?: string;
51
52
  initialQuery?: boolean;
@@ -73,6 +74,7 @@ export interface TreeNode {
73
74
  treePath?: never;
74
75
  repeatable?: never;
75
76
  hiddenValue?: never;
77
+ isDisabledPast?: boolean;
76
78
  route?: Route;
77
79
  parentRef?: string;
78
80
  initialQuery?: boolean;
@@ -4,6 +4,7 @@ declare const FORM_EN: {
4
4
  readonly apiRoute: "Api route";
5
5
  readonly dataMapping: "Data mapping";
6
6
  readonly decisionField: "Decision field";
7
+ readonly disabledPast: "Disabled Past";
7
8
  readonly helperText: "Helper text";
8
9
  readonly hiddenValue: "Hidden value";
9
10
  readonly key: "Key";
@@ -4,6 +4,7 @@ declare const FORM_FR: {
4
4
  readonly apiRoute: "Api route";
5
5
  readonly dataMapping: "Mapping de données";
6
6
  readonly decisionField: "Champs de décision";
7
+ readonly disabledPast: "Passé désactivé";
7
8
  readonly helperText: "Texte d'information";
8
9
  readonly hiddenValue: "Valeur caché";
9
10
  readonly key: "Clé";
@@ -33,6 +33,7 @@ declare const appendNode: ({ tree, path, uuid, child }: AppendChildParams) => Tr
33
33
  treePath?: string | undefined;
34
34
  repeatable?: boolean | undefined;
35
35
  hiddenValue?: string | undefined;
36
+ isDisabledPast?: boolean | undefined;
36
37
  route?: import('../../../features/Treege/type/TreeNode').Route | undefined;
37
38
  parentRef?: string | undefined;
38
39
  initialQuery?: boolean | undefined;
@@ -60,6 +61,7 @@ declare const appendNode: ({ tree, path, uuid, child }: AppendChildParams) => Tr
60
61
  treePath?: undefined;
61
62
  repeatable?: undefined;
62
63
  hiddenValue?: undefined;
64
+ isDisabledPast?: boolean | undefined;
63
65
  route?: import('../../../features/Treege/type/TreeNode').Route | undefined;
64
66
  parentRef?: string | undefined;
65
67
  initialQuery?: boolean | undefined;
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": "1.0.9",
5
+ "version": "1.1.0",
6
6
  "type": "module",
7
7
  "types": "./dist/main.d.ts",
8
8
  "main": "./dist/main.umd.cjs",