@legalplace/models-v3-types 5.11.12 → 5.12.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/index.ts +15 -3
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.12.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.11.12...@legalplace/models-v3-types@5.12.0) (2024-07-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * documentation and selectValues initialisation ([d93df3c](https://git.legalplace.eu/legalplace/monorepo/commits/d93df3c32535211106261e3fe247719360f5ed62)), closes [api#86bz73w7](https://git.legalplace.eu/api/issues/86bz73w7)
12
+
13
+
14
+ ### Features
15
+
16
+ * add selectedValuesByIndex in ListVariableComponent ([519cf7e](https://git.legalplace.eu/legalplace/monorepo/commits/519cf7e790a51187cf29e2866165cdf00a777411)), closes [api#86bz73w7](https://git.legalplace.eu/api/issues/86bz73w7)
17
+ * update multiple list options in wizard-core ([29298fa](https://git.legalplace.eu/legalplace/monorepo/commits/29298faf8ef1214b271b179f424bb16bcb218b71)), closes [api#86bz73w7](https://git.legalplace.eu/api/issues/86bz73w7)
18
+
19
+
20
+
21
+
22
+
6
23
  ## [5.11.12](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.11.11...@legalplace/models-v3-types@5.11.12) (2024-07-18)
7
24
 
8
25
  **Note:** Version bump only for package @legalplace/models-v3-types
package/index.ts CHANGED
@@ -606,11 +606,23 @@ export interface VariableV3 {
606
606
  };
607
607
 
608
608
  /**
609
- * ExtraInformations (used for disabled with multiple)
609
+ * ExtraInformations (for managing multiple datas associated with a single variable)
610
610
  */
611
- extraInformations?: Record<string, boolean[]>;
611
+ extraInformations?: ExtraInformations
612
+ }
613
+ /**
614
+ * ExtraInformations (for managing multiple datas associated with a single variable)
615
+ */
616
+ interface ExtraInformations {
617
+ /**
618
+ * List of the inputs to check if it's disabled or not
619
+ */
620
+ disabledIndexes: boolean[];
621
+ /**
622
+ * List of defined options for each dropdown menu associated with a specific variable
623
+ */
624
+ selectedValuesIndexes?: string[][];
612
625
  }
613
-
614
626
  /**
615
627
  * A Prefilling, is a conditionned text placeholder/example used to fill a textarea according to different conditions
616
628
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/models-v3-types",
3
- "version": "5.11.12",
3
+ "version": "5.12.0",
4
4
  "main": "",
5
5
  "types": "index",
6
6
  "author": "Moncef Hammou <moncef@legalplace.fr>",
@@ -9,7 +9,7 @@
9
9
  "write-schema": "typescript-json-schema tsconfig.json ModelV3 -o schema.json"
10
10
  },
11
11
  "dependencies": {
12
- "@legalplace/typeorm-constants": "^3.36.1"
12
+ "@legalplace/typeorm-constants": "^3.36.2"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@legalplace/eslint-config": "^2.2.0",
@@ -17,5 +17,5 @@
17
17
  "typescript-json-schema": "^0.43.0"
18
18
  },
19
19
  "prettier": "@legalplace/prettier-config",
20
- "gitHead": "dcbf8d56d6c00ba15f1cf8ca800ea7a52d610e51"
20
+ "gitHead": "a42feaa8c5545c9c2d40e2fe5a02aaae887af43e"
21
21
  }