kui-crm_actions 0.0.135 → 0.0.137

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/cjs/index.js CHANGED
@@ -677,7 +677,7 @@ var apartmentFields = {
677
677
  };
678
678
  },
679
679
  getInspectionPaymentInfo: function (inspection) {
680
- return __assign(__assign({}, this.getApartmentPaymentInfo(inspection)), { countryOfResidence: inspection.country_of_residence, taxesType: inspection.taxes_type });
680
+ return __assign(__assign({}, this.getApartmentPaymentInfo(inspection)), { countryOfResidence: inspection.country_of_residence, taxesType: inspection.tax_type });
681
681
  },
682
682
  getMeterInfo: function (meter, resource) {
683
683
  var _a;
@@ -871,6 +871,13 @@ var SecurityApartmentInfoFieldsSchema = {
871
871
  };
872
872
  var SecurityApartmentInfoStepSchema = yup__namespace.object(SecurityApartmentInfoFieldsSchema);
873
873
 
874
+ var getAvailableResourcesFields = function (settings) { return [
875
+ __assign({ label: "Water", name: "water", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.water),
876
+ __assign({ label: "Electricity", name: "electricity", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.electricity),
877
+ __assign({ label: "Gas", name: "gas", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.gas),
878
+ __assign({ label: "Heating", name: "heating", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.heating),
879
+ ]; };
880
+
874
881
  var checkboxLabelProps = {
875
882
  size: "s",
876
883
  };
@@ -1473,6 +1480,7 @@ exports.TelecommunicationsInfoStepSchema = TelecommunicationsInfoStepSchema;
1473
1480
  exports.WaterMeterFieldsSchema = WaterMeterFieldsSchema;
1474
1481
  exports.apartmentFields = apartmentFields;
1475
1482
  exports.getAdditionalInfoStepFields = getAdditionalInfoStepFields;
1483
+ exports.getAvailableResourcesFields = getAvailableResourcesFields;
1476
1484
  exports.getBasicApartmentInfoFields = getBasicApartmentInfoFields;
1477
1485
  exports.getDetailApartmentInfoFields = getDetailApartmentInfoFields;
1478
1486
  exports.getFillingInfoFields = getFillingInfoFields;