ecotransac-shared-js 1.2.33 → 1.2.34

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/dist/index.js CHANGED
@@ -1263,7 +1263,13 @@ var surfacesFormFields = [
1263
1263
  name: "floorCount",
1264
1264
  fieldType: "select-number",
1265
1265
  label: "Nombre de niveau(x) de l'appartement",
1266
- condition: only("isApartment"),
1266
+ // condition: only("isApartment"),
1267
+ condition: and(
1268
+ not("isLand"),
1269
+ not("isParking"),
1270
+ not("isHouse"),
1271
+ not("isBuilding")
1272
+ ),
1267
1273
  props: { options: APARTMENT_FLOOR_COUNT },
1268
1274
  requiredFor: ["DIFFUSION"]
1269
1275
  },
package/dist/index.mjs CHANGED
@@ -1168,7 +1168,13 @@ var surfacesFormFields = [
1168
1168
  name: "floorCount",
1169
1169
  fieldType: "select-number",
1170
1170
  label: "Nombre de niveau(x) de l'appartement",
1171
- condition: only("isApartment"),
1171
+ // condition: only("isApartment"),
1172
+ condition: and(
1173
+ not("isLand"),
1174
+ not("isParking"),
1175
+ not("isHouse"),
1176
+ not("isBuilding")
1177
+ ),
1172
1178
  props: { options: APARTMENT_FLOOR_COUNT },
1173
1179
  requiredFor: ["DIFFUSION"]
1174
1180
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecotransac-shared-js",
3
- "version": "1.2.33",
3
+ "version": "1.2.34",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "modules": "dist/index.mjs",