mountain-ui 1.0.75 → 1.0.76

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mountain-ui",
3
3
  "private": false,
4
- "version": "1.0.75",
4
+ "version": "1.0.76",
5
5
  "description": "A comprehensive UI component library for ERP systems with field types, entities, and registry management built with Svelte",
6
6
  "type": "module",
7
7
  "module": "index.js",
@@ -30,7 +30,7 @@
30
30
  bindings: []
31
31
  };
32
32
 
33
- const field = entityRegistry.getField(toFieldId);
33
+ const field = entityRegistry.getField(fromFieldId);
34
34
  const fieldType = fieldTypeRegistry.get(field.type);
35
35
 
36
36
  // verifier si il y a du bindings
@@ -64,6 +64,8 @@
64
64
 
65
65
  for (const allowedBind of allowedTypes) {
66
66
  if (field.type.startsWith(allowedBind)) {
67
+ console.log(field.entity_id);
68
+
67
69
  return true;
68
70
  }
69
71
  }
@@ -32,6 +32,8 @@ console.log(props);
32
32
 
33
33
  const field = entityRegistry.getField(toFieldId);
34
34
  const fieldType = fieldTypeRegistry.get(field.type);
35
+ console.log(field.type);
36
+ console.log(field.name);
35
37
 
36
38
  // verifier si il y a du bindings
37
39
  const childFieldIds = fieldType.getChildsBindings(field);