@rsuci/shared-form-components 1.0.126 → 1.0.127

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.
@@ -615,7 +615,7 @@ export class ConditionEngine {
615
615
  // ÉTAPE 4: Remplacer les références aux variables par leurs valeurs
616
616
  // CORRIGÉ: Pour les variables itératives dont l'itération courante n'a pas de valeur,
617
617
  // retourner null au lieu de tomber sur le code brut (contamination inter-membres)
618
- return condition.replace(/\$\{([A-Z_][A-Z0-9_]*)(?:_(\d+))?\}/g, (match, varCode, iteration) => {
618
+ return condition.replace(/\$\{([A-Z_][A-Z0-9_]*?)(?:_(\d+))?\}/g, (match, varCode, iteration) => {
619
619
  if (iteration) {
620
620
  // Référence à une itération spécifique (ex: ${VAR_2})
621
621
  const value = this.context[`${varCode}_${iteration}`];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsuci/shared-form-components",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "description": "Composants partagés de rendu de formulaires RSU v2 - Package local pour frontend Admin et Public",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",