ecotransac-shared-js 1.2.10 → 1.2.11

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.d.mts CHANGED
@@ -797,6 +797,7 @@ declare const renovationProjectFormFields: Field[];
797
797
  declare const renovationFormFields: Field[];
798
798
 
799
799
  declare const RENOVATION_TYPES: SelectOption<RenovationType>[];
800
+ declare const INSULATION_LEVELS: SelectOption<InsulationLevel>[];
800
801
 
801
802
  type StateType$1 = Pick<Renovation, "hasDPE">;
802
803
  declare const getRenovationState: (renovation: StateType$1) => State;
@@ -858,4 +859,4 @@ declare const COUNTRIES: SelectOption<string>[];
858
859
 
859
860
  declare const LEGAL_STATUS: SelectOption<LegalStatus>[];
860
861
 
861
- export { COMPANY_INFO, CONDITIONS, COUNTRIES, type Condition, ESTATE_CONDITION, EXPOSURES, type Field, GENDER, HEATING_ENERGY, KITCHEN_TYPE, LEASE_ESTABLISHMENT, LEASE_TRANSFERT_PERMISSIONS, LEGAL_NATURE, LEGAL_STATUS, MANDATE_EXCLUSIVITY, MARITAL_STATUS, PRENUP_TYPES, RENOVATION_TYPES, SHARING_CONFIGURATION, STANDINGS, type SelectOption, type State, VIEWS, and, contactFormFields, featuresFormFields, formatAddress, formatAgentLegalData, formatDate, formatMandateNumber, formatNumber, formatPhone, formatPrice, formatReference, formatRegistrationNumber, formatSeconds, getAgencyFees, getContactState, getDisplayedPrice, getFeesPercentage, getIsLowPrice, getLabel, getLowThreshold, getNetPrice, getPropertyState, getPropertyTitle, getRenovationState, getValue, mandateFormFields, not, only, or, propertyFields, renovationFormFields, renovationProjectFormFields, renovationPropertyFormFields, shouldRender, surfacesFormFields, technicalFormFields };
862
+ export { COMPANY_INFO, CONDITIONS, COUNTRIES, type Condition, ESTATE_CONDITION, EXPOSURES, type Field, GENDER, HEATING_ENERGY, INSULATION_LEVELS, KITCHEN_TYPE, LEASE_ESTABLISHMENT, LEASE_TRANSFERT_PERMISSIONS, LEGAL_NATURE, LEGAL_STATUS, MANDATE_EXCLUSIVITY, MARITAL_STATUS, PRENUP_TYPES, RENOVATION_TYPES, SHARING_CONFIGURATION, STANDINGS, type SelectOption, type State, VIEWS, and, contactFormFields, featuresFormFields, formatAddress, formatAgentLegalData, formatDate, formatMandateNumber, formatNumber, formatPhone, formatPrice, formatReference, formatRegistrationNumber, formatSeconds, getAgencyFees, getContactState, getDisplayedPrice, getFeesPercentage, getIsLowPrice, getLabel, getLowThreshold, getNetPrice, getPropertyState, getPropertyTitle, getRenovationState, getValue, mandateFormFields, not, only, or, propertyFields, renovationFormFields, renovationProjectFormFields, renovationPropertyFormFields, shouldRender, surfacesFormFields, technicalFormFields };
package/dist/index.d.ts CHANGED
@@ -797,6 +797,7 @@ declare const renovationProjectFormFields: Field[];
797
797
  declare const renovationFormFields: Field[];
798
798
 
799
799
  declare const RENOVATION_TYPES: SelectOption<RenovationType>[];
800
+ declare const INSULATION_LEVELS: SelectOption<InsulationLevel>[];
800
801
 
801
802
  type StateType$1 = Pick<Renovation, "hasDPE">;
802
803
  declare const getRenovationState: (renovation: StateType$1) => State;
@@ -858,4 +859,4 @@ declare const COUNTRIES: SelectOption<string>[];
858
859
 
859
860
  declare const LEGAL_STATUS: SelectOption<LegalStatus>[];
860
861
 
861
- export { COMPANY_INFO, CONDITIONS, COUNTRIES, type Condition, ESTATE_CONDITION, EXPOSURES, type Field, GENDER, HEATING_ENERGY, KITCHEN_TYPE, LEASE_ESTABLISHMENT, LEASE_TRANSFERT_PERMISSIONS, LEGAL_NATURE, LEGAL_STATUS, MANDATE_EXCLUSIVITY, MARITAL_STATUS, PRENUP_TYPES, RENOVATION_TYPES, SHARING_CONFIGURATION, STANDINGS, type SelectOption, type State, VIEWS, and, contactFormFields, featuresFormFields, formatAddress, formatAgentLegalData, formatDate, formatMandateNumber, formatNumber, formatPhone, formatPrice, formatReference, formatRegistrationNumber, formatSeconds, getAgencyFees, getContactState, getDisplayedPrice, getFeesPercentage, getIsLowPrice, getLabel, getLowThreshold, getNetPrice, getPropertyState, getPropertyTitle, getRenovationState, getValue, mandateFormFields, not, only, or, propertyFields, renovationFormFields, renovationProjectFormFields, renovationPropertyFormFields, shouldRender, surfacesFormFields, technicalFormFields };
862
+ export { COMPANY_INFO, CONDITIONS, COUNTRIES, type Condition, ESTATE_CONDITION, EXPOSURES, type Field, GENDER, HEATING_ENERGY, INSULATION_LEVELS, KITCHEN_TYPE, LEASE_ESTABLISHMENT, LEASE_TRANSFERT_PERMISSIONS, LEGAL_NATURE, LEGAL_STATUS, MANDATE_EXCLUSIVITY, MARITAL_STATUS, PRENUP_TYPES, RENOVATION_TYPES, SHARING_CONFIGURATION, STANDINGS, type SelectOption, type State, VIEWS, and, contactFormFields, featuresFormFields, formatAddress, formatAgentLegalData, formatDate, formatMandateNumber, formatNumber, formatPhone, formatPrice, formatReference, formatRegistrationNumber, formatSeconds, getAgencyFees, getContactState, getDisplayedPrice, getFeesPercentage, getIsLowPrice, getLabel, getLowThreshold, getNetPrice, getPropertyState, getPropertyTitle, getRenovationState, getValue, mandateFormFields, not, only, or, propertyFields, renovationFormFields, renovationProjectFormFields, renovationPropertyFormFields, shouldRender, surfacesFormFields, technicalFormFields };
package/dist/index.js CHANGED
@@ -37,6 +37,7 @@ __export(src_exports, {
37
37
  EXPOSURES: () => EXPOSURES,
38
38
  GENDER: () => GENDER,
39
39
  HEATING_ENERGY: () => HEATING_ENERGY,
40
+ INSULATION_LEVELS: () => INSULATION_LEVELS,
40
41
  KITCHEN_TYPE: () => KITCHEN_TYPE,
41
42
  LEASE_ESTABLISHMENT: () => LEASE_ESTABLISHMENT,
42
43
  LEASE_TRANSFERT_PERMISSIONS: () => LEASE_TRANSFERT_PERMISSIONS,
@@ -1298,6 +1299,11 @@ var RENOVATION_TYPES = [
1298
1299
  { value: "RENOVATION", label: "R\xE9novation \xE9nerg\xE9tique" },
1299
1300
  { value: "UPGRADE", label: "Am\xE9lioration \xE9nerg\xE9tique" }
1300
1301
  ];
1302
+ var INSULATION_LEVELS = [
1303
+ { value: "POOR", label: "Peu isol\xE9" },
1304
+ { value: "AVERAGE", label: "Isol\xE9" },
1305
+ { value: "GOOD", label: "Bien isol\xE9" }
1306
+ ];
1301
1307
 
1302
1308
  // src/static/renovation/fields.ts
1303
1309
  var renovationPropertyFormFields = [
@@ -1385,6 +1391,7 @@ var renovationProjectFormFields = [
1385
1391
  name: "insulationLevel",
1386
1392
  fieldType: "select",
1387
1393
  label: "Niveau d\u2019isolation actuel",
1394
+ props: { options: INSULATION_LEVELS },
1388
1395
  requiredFor: []
1389
1396
  },
1390
1397
  {
@@ -1830,6 +1837,7 @@ var COMPANY_INFO = {
1830
1837
  EXPOSURES,
1831
1838
  GENDER,
1832
1839
  HEATING_ENERGY,
1840
+ INSULATION_LEVELS,
1833
1841
  KITCHEN_TYPE,
1834
1842
  LEASE_ESTABLISHMENT,
1835
1843
  LEASE_TRANSFERT_PERMISSIONS,
package/dist/index.mjs CHANGED
@@ -1208,6 +1208,11 @@ var RENOVATION_TYPES = [
1208
1208
  { value: "RENOVATION", label: "R\xE9novation \xE9nerg\xE9tique" },
1209
1209
  { value: "UPGRADE", label: "Am\xE9lioration \xE9nerg\xE9tique" }
1210
1210
  ];
1211
+ var INSULATION_LEVELS = [
1212
+ { value: "POOR", label: "Peu isol\xE9" },
1213
+ { value: "AVERAGE", label: "Isol\xE9" },
1214
+ { value: "GOOD", label: "Bien isol\xE9" }
1215
+ ];
1211
1216
 
1212
1217
  // src/static/renovation/fields.ts
1213
1218
  var renovationPropertyFormFields = [
@@ -1295,6 +1300,7 @@ var renovationProjectFormFields = [
1295
1300
  name: "insulationLevel",
1296
1301
  fieldType: "select",
1297
1302
  label: "Niveau d\u2019isolation actuel",
1303
+ props: { options: INSULATION_LEVELS },
1298
1304
  requiredFor: []
1299
1305
  },
1300
1306
  {
@@ -1739,6 +1745,7 @@ export {
1739
1745
  EXPOSURES,
1740
1746
  GENDER,
1741
1747
  HEATING_ENERGY,
1748
+ INSULATION_LEVELS,
1742
1749
  KITCHEN_TYPE,
1743
1750
  LEASE_ESTABLISHMENT,
1744
1751
  LEASE_TRANSFERT_PERMISSIONS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecotransac-shared-js",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "modules": "dist/index.mjs",