kui-crm_actions 0.0.142 → 0.0.143
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 +10 -4
- package/cjs/index.js.map +1 -1
- package/index.d.ts +20 -8
- package/index.js +10 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
@@ -242,6 +242,12 @@ var inspectionsRequestBody = {
|
|
242
242
|
distance_car_kilometers: station.carDistance,
|
243
243
|
time_car_minutes: station.carTime,
|
244
244
|
}); }),
|
245
|
+
used_resources: {
|
246
|
+
electricity: inspection.availableResources.electricity,
|
247
|
+
water: inspection.availableResources.water,
|
248
|
+
gas: inspection.availableResources.gas,
|
249
|
+
heating: inspection.availableResources.heating,
|
250
|
+
},
|
245
251
|
};
|
246
252
|
},
|
247
253
|
getPostBodyRegularInspection: function (inspection, roomsImages) {
|
@@ -892,10 +898,10 @@ var SecurityApartmentInfoFieldsSchema = {
|
|
892
898
|
var SecurityApartmentInfoStepSchema = yup__namespace.object(SecurityApartmentInfoFieldsSchema);
|
893
899
|
|
894
900
|
var getAvailableResourcesFields = function (settings) { return [
|
895
|
-
__assign({ label: "Water", name: "water", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.water),
|
896
|
-
__assign({ label: "Electricity", name: "electricity", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.electricity),
|
897
|
-
__assign({ label: "Gas", name: "gas", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.gas),
|
898
|
-
__assign({ label: "Heating", name: "heating", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.heating),
|
901
|
+
__assign({ label: "Water", name: "availableResources.water", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.water),
|
902
|
+
__assign({ label: "Electricity", name: "availableResources.electricity", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.electricity),
|
903
|
+
__assign({ label: "Gas", name: "availableResources.gas", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.gas),
|
904
|
+
__assign({ label: "Heating", name: "availableResources.heating", variant: "custom", CustomInput: kuiCrm.BigCheckbox }, settings === null || settings === void 0 ? void 0 : settings.heating),
|
899
905
|
]; };
|
900
906
|
|
901
907
|
var checkboxLabelProps = {
|