@inseefr/lunatic 3.6.3 → 3.6.5
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/components/Input/Input.d.ts +1 -0
- package/components/Input/Input.js +2 -2
- package/components/Input/Input.js.map +1 -1
- package/components/shared/Checkbox/CheckboxOption.js +1 -1
- package/components/shared/Checkbox/CheckboxOption.js.map +1 -1
- package/components/shared/Radio/RadioOption.js +2 -8
- package/components/shared/Radio/RadioOption.js.map +1 -1
- package/esm/components/Input/Input.d.ts +1 -0
- package/esm/components/Input/Input.js +2 -2
- package/esm/components/Input/Input.js.map +1 -1
- package/esm/components/shared/Checkbox/CheckboxOption.js +1 -1
- package/esm/components/shared/Checkbox/CheckboxOption.js.map +1 -1
- package/esm/components/shared/Radio/RadioOption.js +3 -9
- package/esm/components/shared/Radio/RadioOption.js.map +1 -1
- package/esm/type.source.d.ts +1 -0
- package/esm/type.source.js +1 -0
- package/esm/type.source.js.map +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js +2 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Input/Input.tsx +3 -0
- package/src/components/shared/Checkbox/CheckboxOption.tsx +1 -0
- package/src/components/shared/Radio/RadioOption.tsx +2 -12
- package/src/type.source.ts +2 -0
- package/src/use-lunatic/commons/variables/lunatic-variables-store.spec.ts +1 -1
- package/src/use-lunatic/commons/variables/lunatic-variables-store.ts +3 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/type.source.d.ts +1 -0
- package/type.source.js +1 -0
- package/type.source.js.map +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.js +2 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.spec.js +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
|
@@ -384,7 +384,9 @@ class LunaticVariable {
|
|
|
384
384
|
if (hasNoBinding) {
|
|
385
385
|
iteration = undefined;
|
|
386
386
|
}
|
|
387
|
-
|
|
387
|
+
|
|
388
|
+
const checkCache = this.shapeFrom || iteration === undefined;
|
|
389
|
+
if (checkCache && !this.isOutdated(iteration)) {
|
|
388
390
|
return this.getSavedValue(iteration);
|
|
389
391
|
}
|
|
390
392
|
if (isTestEnv()) {
|