@banch0u/core-project-test-repository 1.9.12 → 1.10.0
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/layout/QuestionnairesSidebar/index.js +11 -3
- package/dist/pages/Platform/constant.js +2 -2
- package/dist/pages/Questionnnaires/QuestionnairesModelsContent/constant.js +13 -4
- package/dist/pages/Questionnnaires/QuestionnairesModelsContent/index.js +37 -16
- package/dist/pages/Questionnnaires/QuestionnairesVehicleCategoriesContent/constant.js +58 -0
- package/dist/pages/Questionnnaires/QuestionnairesVehicleCategoriesContent/index.js +244 -0
- package/dist/pages/Questionnnaires/QuestionnairesWorkModesContent/constant.js +58 -0
- package/dist/pages/Questionnnaires/QuestionnairesWorkModesContent/index.js +244 -0
- package/dist/routes/QuestionnaireRoutes.js +15 -1
- package/dist/store/slices/global/index.js +15 -3
- package/dist/store/slices/questionnaire/index.js +621 -215
- package/dist/store/slices/questionnaire/service.js +238 -0
- package/dist/utils/path.js +5 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
|
|
4
4
|
import Services from "./service";
|
|
5
|
-
import { setApplicationFormsRender, setCountryRender, setDeleteModalVisible, setDeliveryMethodRender, setDocumentRecieveMethodsRender, setDocumentTypesRender, setDocumentWhomRender, setExecutionRulesRender, setLoading, setMarginNoteTextRender, setOrganizationRender, setStructureRender, setSubtopicsRender, setTopicsRender, setViewModalVisible, setBrandRender, setChassisTypeRender, setColorRender, setEnginetypeRender, setGearboxtypeRender, setIssuedauthoritieRender, setModelRender, setOwnershiptypeRender, setOrganisationrecordRender, setTransmittertypeRender, setVehicleRender, setVehicletypeRender, setVrcRender, setAcademicdegreesRender, setDisabilitystatusesRender, setHonorarytitlesRender, setMilitarystaffsRender, setMilitarycategoriesRender, setMilitaryranksRender, setMilitarygroupsRender, setGeneralstructurestatusesRender, setWorkschedulesRender, setSpecializationsRender, setWarparticipantsRender, setGeneralstructuretypesRender, setEducationinstitutionsRender, setEducationpaymentsRender, setEducationlevelsRender, setReprimandtypesRender, setSpecialdaysRender, setCategoriesRender, setRegionsRender, setAreasRender, setCompaniesRender, setPositionsRender, setHallsRender, setDrivingcategoriesRender, setEmployeeConfigurationsRender, setContracttypesRender, setContragenttypesRender, setOrdersRender, setContractcurrenciesRender } from "../global";
|
|
5
|
+
import { setApplicationFormsRender, setCountryRender, setDeleteModalVisible, setDeliveryMethodRender, setDocumentRecieveMethodsRender, setDocumentTypesRender, setDocumentWhomRender, setExecutionRulesRender, setLoading, setMarginNoteTextRender, setOrganizationRender, setStructureRender, setSubtopicsRender, setTopicsRender, setViewModalVisible, setBrandRender, setChassisTypeRender, setColorRender, setEnginetypeRender, setGearboxtypeRender, setIssuedauthoritieRender, setModelRender, setOwnershiptypeRender, setOrganisationrecordRender, setTransmittertypeRender, setVehicleRender, setVehicletypeRender, setVrcRender, setAcademicdegreesRender, setDisabilitystatusesRender, setHonorarytitlesRender, setMilitarystaffsRender, setMilitarycategoriesRender, setMilitaryranksRender, setMilitarygroupsRender, setGeneralstructurestatusesRender, setWorkschedulesRender, setSpecializationsRender, setWarparticipantsRender, setGeneralstructuretypesRender, setEducationinstitutionsRender, setEducationpaymentsRender, setEducationlevelsRender, setReprimandtypesRender, setSpecialdaysRender, setCategoriesRender, setRegionsRender, setAreasRender, setCompaniesRender, setPositionsRender, setHallsRender, setDrivingcategoriesRender, setEmployeeConfigurationsRender, setContracttypesRender, setContragenttypesRender, setOrdersRender, setContractcurrenciesRender, setWorkModesRender, setVehicleCategoriesRender } from "../global";
|
|
6
6
|
import { errorMessage } from "../../../utils/message";
|
|
7
7
|
var initialState = {
|
|
8
8
|
questionnaires: []
|
|
@@ -10623,438 +10623,844 @@ export var employeeConfigurationsVisibility = createAsyncThunk("/employeeConfigu
|
|
|
10623
10623
|
return _ref648.apply(this, arguments);
|
|
10624
10624
|
};
|
|
10625
10625
|
}());
|
|
10626
|
+
export var getWorkModes = createAsyncThunk("/getWorkModes", /*#__PURE__*/function () {
|
|
10627
|
+
var _ref650 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee325(data, _ref649) {
|
|
10628
|
+
var dispatch, _response$data41, response, _error$response145;
|
|
10629
|
+
return _regeneratorRuntime.wrap(function _callee325$(_context325) {
|
|
10630
|
+
while (1) switch (_context325.prev = _context325.next) {
|
|
10631
|
+
case 0:
|
|
10632
|
+
dispatch = _ref649.dispatch;
|
|
10633
|
+
_context325.prev = 1;
|
|
10634
|
+
dispatch(setLoading(true));
|
|
10635
|
+
_context325.next = 5;
|
|
10636
|
+
return Services.getWorkModes(data === null || data === void 0 ? void 0 : data.size, data === null || data === void 0 ? void 0 : data.page, data === null || data === void 0 ? void 0 : data.query, data === null || data === void 0 ? void 0 : data.visibility);
|
|
10637
|
+
case 5:
|
|
10638
|
+
response = _context325.sent;
|
|
10639
|
+
dispatch(setLoading(false));
|
|
10640
|
+
return _context325.abrupt("return", response === null || response === void 0 || (_response$data41 = response.data) === null || _response$data41 === void 0 ? void 0 : _response$data41.data);
|
|
10641
|
+
case 10:
|
|
10642
|
+
_context325.prev = 10;
|
|
10643
|
+
_context325.t0 = _context325["catch"](1);
|
|
10644
|
+
errorMessage((_error$response145 = _context325.t0.response) === null || _error$response145 === void 0 || (_error$response145 = _error$response145.data) === null || _error$response145 === void 0 ? void 0 : _error$response145.message);
|
|
10645
|
+
dispatch(setLoading(false));
|
|
10646
|
+
case 14:
|
|
10647
|
+
case "end":
|
|
10648
|
+
return _context325.stop();
|
|
10649
|
+
}
|
|
10650
|
+
}, _callee325, null, [[1, 10]]);
|
|
10651
|
+
}));
|
|
10652
|
+
return function (_x649, _x650) {
|
|
10653
|
+
return _ref650.apply(this, arguments);
|
|
10654
|
+
};
|
|
10655
|
+
}());
|
|
10656
|
+
export var getWorkModesAll = createAsyncThunk("/getWorkModesAll", /*#__PURE__*/function () {
|
|
10657
|
+
var _ref652 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee326(visibility, _ref651) {
|
|
10658
|
+
var dispatch, _response$data42, response, _error$response146;
|
|
10659
|
+
return _regeneratorRuntime.wrap(function _callee326$(_context326) {
|
|
10660
|
+
while (1) switch (_context326.prev = _context326.next) {
|
|
10661
|
+
case 0:
|
|
10662
|
+
dispatch = _ref651.dispatch;
|
|
10663
|
+
_context326.prev = 1;
|
|
10664
|
+
dispatch(setLoading(true));
|
|
10665
|
+
_context326.next = 5;
|
|
10666
|
+
return Services.getWorkModesAll(visibility === null || visibility === void 0 ? void 0 : visibility.visibility);
|
|
10667
|
+
case 5:
|
|
10668
|
+
response = _context326.sent;
|
|
10669
|
+
dispatch(setLoading(false));
|
|
10670
|
+
return _context326.abrupt("return", response === null || response === void 0 || (_response$data42 = response.data) === null || _response$data42 === void 0 ? void 0 : _response$data42.data);
|
|
10671
|
+
case 10:
|
|
10672
|
+
_context326.prev = 10;
|
|
10673
|
+
_context326.t0 = _context326["catch"](1);
|
|
10674
|
+
errorMessage((_error$response146 = _context326.t0.response) === null || _error$response146 === void 0 || (_error$response146 = _error$response146.data) === null || _error$response146 === void 0 ? void 0 : _error$response146.message);
|
|
10675
|
+
dispatch(setLoading(false));
|
|
10676
|
+
case 14:
|
|
10677
|
+
case "end":
|
|
10678
|
+
return _context326.stop();
|
|
10679
|
+
}
|
|
10680
|
+
}, _callee326, null, [[1, 10]]);
|
|
10681
|
+
}));
|
|
10682
|
+
return function (_x651, _x652) {
|
|
10683
|
+
return _ref652.apply(this, arguments);
|
|
10684
|
+
};
|
|
10685
|
+
}());
|
|
10686
|
+
export var addWorkModes = createAsyncThunk("/addWorkModes", /*#__PURE__*/function () {
|
|
10687
|
+
var _ref654 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee327(data, _ref653) {
|
|
10688
|
+
var dispatch, _error$response147;
|
|
10689
|
+
return _regeneratorRuntime.wrap(function _callee327$(_context327) {
|
|
10690
|
+
while (1) switch (_context327.prev = _context327.next) {
|
|
10691
|
+
case 0:
|
|
10692
|
+
dispatch = _ref653.dispatch;
|
|
10693
|
+
_context327.prev = 1;
|
|
10694
|
+
dispatch(setLoading(true));
|
|
10695
|
+
_context327.next = 5;
|
|
10696
|
+
return Services.addWorkModes(data);
|
|
10697
|
+
case 5:
|
|
10698
|
+
dispatch(setLoading(false));
|
|
10699
|
+
dispatch(setViewModalVisible(true));
|
|
10700
|
+
dispatch(setWorkModesRender(function (prev) {
|
|
10701
|
+
return !prev;
|
|
10702
|
+
}));
|
|
10703
|
+
_context327.next = 14;
|
|
10704
|
+
break;
|
|
10705
|
+
case 10:
|
|
10706
|
+
_context327.prev = 10;
|
|
10707
|
+
_context327.t0 = _context327["catch"](1);
|
|
10708
|
+
errorMessage((_error$response147 = _context327.t0.response) === null || _error$response147 === void 0 || (_error$response147 = _error$response147.data) === null || _error$response147 === void 0 ? void 0 : _error$response147.message);
|
|
10709
|
+
dispatch(setLoading(false));
|
|
10710
|
+
case 14:
|
|
10711
|
+
case "end":
|
|
10712
|
+
return _context327.stop();
|
|
10713
|
+
}
|
|
10714
|
+
}, _callee327, null, [[1, 10]]);
|
|
10715
|
+
}));
|
|
10716
|
+
return function (_x653, _x654) {
|
|
10717
|
+
return _ref654.apply(this, arguments);
|
|
10718
|
+
};
|
|
10719
|
+
}());
|
|
10720
|
+
export var editWorkModes = createAsyncThunk("/editWorkModes", /*#__PURE__*/function () {
|
|
10721
|
+
var _ref656 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee328(data, _ref655) {
|
|
10722
|
+
var dispatch, response, _error$response148;
|
|
10723
|
+
return _regeneratorRuntime.wrap(function _callee328$(_context328) {
|
|
10724
|
+
while (1) switch (_context328.prev = _context328.next) {
|
|
10725
|
+
case 0:
|
|
10726
|
+
dispatch = _ref655.dispatch;
|
|
10727
|
+
_context328.prev = 1;
|
|
10728
|
+
dispatch(setLoading(true));
|
|
10729
|
+
_context328.next = 5;
|
|
10730
|
+
return Services.editWorkModes(data);
|
|
10731
|
+
case 5:
|
|
10732
|
+
response = _context328.sent;
|
|
10733
|
+
dispatch(setLoading(false));
|
|
10734
|
+
dispatch(setWorkModesRender(function (prev) {
|
|
10735
|
+
return !prev;
|
|
10736
|
+
}));
|
|
10737
|
+
return _context328.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10738
|
+
case 11:
|
|
10739
|
+
_context328.prev = 11;
|
|
10740
|
+
_context328.t0 = _context328["catch"](1);
|
|
10741
|
+
errorMessage((_error$response148 = _context328.t0.response) === null || _error$response148 === void 0 || (_error$response148 = _error$response148.data) === null || _error$response148 === void 0 ? void 0 : _error$response148.message);
|
|
10742
|
+
dispatch(setLoading(false));
|
|
10743
|
+
case 15:
|
|
10744
|
+
case "end":
|
|
10745
|
+
return _context328.stop();
|
|
10746
|
+
}
|
|
10747
|
+
}, _callee328, null, [[1, 11]]);
|
|
10748
|
+
}));
|
|
10749
|
+
return function (_x655, _x656) {
|
|
10750
|
+
return _ref656.apply(this, arguments);
|
|
10751
|
+
};
|
|
10752
|
+
}());
|
|
10753
|
+
export var deleteWorkModes = createAsyncThunk("/deleteWorkModes", /*#__PURE__*/function () {
|
|
10754
|
+
var _ref658 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee329(id, _ref657) {
|
|
10755
|
+
var dispatch, _error$response149;
|
|
10756
|
+
return _regeneratorRuntime.wrap(function _callee329$(_context329) {
|
|
10757
|
+
while (1) switch (_context329.prev = _context329.next) {
|
|
10758
|
+
case 0:
|
|
10759
|
+
dispatch = _ref657.dispatch;
|
|
10760
|
+
_context329.prev = 1;
|
|
10761
|
+
dispatch(setLoading(true));
|
|
10762
|
+
_context329.next = 5;
|
|
10763
|
+
return Services.deleteWorkModes(id);
|
|
10764
|
+
case 5:
|
|
10765
|
+
dispatch(setLoading(false));
|
|
10766
|
+
dispatch(setDeleteModalVisible(false));
|
|
10767
|
+
dispatch(setWorkModesRender(function (prev) {
|
|
10768
|
+
return !prev;
|
|
10769
|
+
}));
|
|
10770
|
+
_context329.next = 15;
|
|
10771
|
+
break;
|
|
10772
|
+
case 10:
|
|
10773
|
+
_context329.prev = 10;
|
|
10774
|
+
_context329.t0 = _context329["catch"](1);
|
|
10775
|
+
dispatch(setDeleteModalVisible(false));
|
|
10776
|
+
errorMessage((_error$response149 = _context329.t0.response) === null || _error$response149 === void 0 || (_error$response149 = _error$response149.data) === null || _error$response149 === void 0 ? void 0 : _error$response149.message);
|
|
10777
|
+
dispatch(setLoading(false));
|
|
10778
|
+
case 15:
|
|
10779
|
+
case "end":
|
|
10780
|
+
return _context329.stop();
|
|
10781
|
+
}
|
|
10782
|
+
}, _callee329, null, [[1, 10]]);
|
|
10783
|
+
}));
|
|
10784
|
+
return function (_x657, _x658) {
|
|
10785
|
+
return _ref658.apply(this, arguments);
|
|
10786
|
+
};
|
|
10787
|
+
}());
|
|
10788
|
+
export var workModesVisibility = createAsyncThunk("/workModesVisibility", /*#__PURE__*/function () {
|
|
10789
|
+
var _ref660 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee330(data, _ref659) {
|
|
10790
|
+
var dispatch, response, _error$response150;
|
|
10791
|
+
return _regeneratorRuntime.wrap(function _callee330$(_context330) {
|
|
10792
|
+
while (1) switch (_context330.prev = _context330.next) {
|
|
10793
|
+
case 0:
|
|
10794
|
+
dispatch = _ref659.dispatch;
|
|
10795
|
+
_context330.prev = 1;
|
|
10796
|
+
dispatch(setLoading(true));
|
|
10797
|
+
_context330.next = 5;
|
|
10798
|
+
return Services.workModesVisibility(data);
|
|
10799
|
+
case 5:
|
|
10800
|
+
response = _context330.sent;
|
|
10801
|
+
dispatch(setLoading(false));
|
|
10802
|
+
dispatch(setWorkModesRender(function (prev) {
|
|
10803
|
+
return !prev;
|
|
10804
|
+
}));
|
|
10805
|
+
return _context330.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10806
|
+
case 11:
|
|
10807
|
+
_context330.prev = 11;
|
|
10808
|
+
_context330.t0 = _context330["catch"](1);
|
|
10809
|
+
errorMessage((_error$response150 = _context330.t0.response) === null || _error$response150 === void 0 || (_error$response150 = _error$response150.data) === null || _error$response150 === void 0 ? void 0 : _error$response150.message);
|
|
10810
|
+
dispatch(setLoading(false));
|
|
10811
|
+
case 15:
|
|
10812
|
+
case "end":
|
|
10813
|
+
return _context330.stop();
|
|
10814
|
+
}
|
|
10815
|
+
}, _callee330, null, [[1, 11]]);
|
|
10816
|
+
}));
|
|
10817
|
+
return function (_x659, _x660) {
|
|
10818
|
+
return _ref660.apply(this, arguments);
|
|
10819
|
+
};
|
|
10820
|
+
}());
|
|
10821
|
+
export var getVehicleCategories = createAsyncThunk("/getVehicleCategories", /*#__PURE__*/function () {
|
|
10822
|
+
var _ref662 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee331(data, _ref661) {
|
|
10823
|
+
var dispatch, _response$data43, response, _error$response151;
|
|
10824
|
+
return _regeneratorRuntime.wrap(function _callee331$(_context331) {
|
|
10825
|
+
while (1) switch (_context331.prev = _context331.next) {
|
|
10826
|
+
case 0:
|
|
10827
|
+
dispatch = _ref661.dispatch;
|
|
10828
|
+
_context331.prev = 1;
|
|
10829
|
+
dispatch(setLoading(true));
|
|
10830
|
+
_context331.next = 5;
|
|
10831
|
+
return Services.getVehicleCategories(data === null || data === void 0 ? void 0 : data.size, data === null || data === void 0 ? void 0 : data.page, data === null || data === void 0 ? void 0 : data.query, data === null || data === void 0 ? void 0 : data.visibility);
|
|
10832
|
+
case 5:
|
|
10833
|
+
response = _context331.sent;
|
|
10834
|
+
dispatch(setLoading(false));
|
|
10835
|
+
return _context331.abrupt("return", response === null || response === void 0 || (_response$data43 = response.data) === null || _response$data43 === void 0 ? void 0 : _response$data43.data);
|
|
10836
|
+
case 10:
|
|
10837
|
+
_context331.prev = 10;
|
|
10838
|
+
_context331.t0 = _context331["catch"](1);
|
|
10839
|
+
errorMessage((_error$response151 = _context331.t0.response) === null || _error$response151 === void 0 || (_error$response151 = _error$response151.data) === null || _error$response151 === void 0 ? void 0 : _error$response151.message);
|
|
10840
|
+
dispatch(setLoading(false));
|
|
10841
|
+
case 14:
|
|
10842
|
+
case "end":
|
|
10843
|
+
return _context331.stop();
|
|
10844
|
+
}
|
|
10845
|
+
}, _callee331, null, [[1, 10]]);
|
|
10846
|
+
}));
|
|
10847
|
+
return function (_x661, _x662) {
|
|
10848
|
+
return _ref662.apply(this, arguments);
|
|
10849
|
+
};
|
|
10850
|
+
}());
|
|
10851
|
+
export var getVehicleCategoriesAll = createAsyncThunk("/getVehicleCategoriesAll", /*#__PURE__*/function () {
|
|
10852
|
+
var _ref664 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee332(visibility, _ref663) {
|
|
10853
|
+
var dispatch, _response$data44, response, _error$response152;
|
|
10854
|
+
return _regeneratorRuntime.wrap(function _callee332$(_context332) {
|
|
10855
|
+
while (1) switch (_context332.prev = _context332.next) {
|
|
10856
|
+
case 0:
|
|
10857
|
+
dispatch = _ref663.dispatch;
|
|
10858
|
+
_context332.prev = 1;
|
|
10859
|
+
dispatch(setLoading(true));
|
|
10860
|
+
_context332.next = 5;
|
|
10861
|
+
return Services.getVehicleCategoriesAll(visibility === null || visibility === void 0 ? void 0 : visibility.visibility);
|
|
10862
|
+
case 5:
|
|
10863
|
+
response = _context332.sent;
|
|
10864
|
+
dispatch(setLoading(false));
|
|
10865
|
+
return _context332.abrupt("return", response === null || response === void 0 || (_response$data44 = response.data) === null || _response$data44 === void 0 ? void 0 : _response$data44.data);
|
|
10866
|
+
case 10:
|
|
10867
|
+
_context332.prev = 10;
|
|
10868
|
+
_context332.t0 = _context332["catch"](1);
|
|
10869
|
+
errorMessage((_error$response152 = _context332.t0.response) === null || _error$response152 === void 0 || (_error$response152 = _error$response152.data) === null || _error$response152 === void 0 ? void 0 : _error$response152.message);
|
|
10870
|
+
dispatch(setLoading(false));
|
|
10871
|
+
case 14:
|
|
10872
|
+
case "end":
|
|
10873
|
+
return _context332.stop();
|
|
10874
|
+
}
|
|
10875
|
+
}, _callee332, null, [[1, 10]]);
|
|
10876
|
+
}));
|
|
10877
|
+
return function (_x663, _x664) {
|
|
10878
|
+
return _ref664.apply(this, arguments);
|
|
10879
|
+
};
|
|
10880
|
+
}());
|
|
10881
|
+
export var addVehicleCategories = createAsyncThunk("/addVehicleCategories", /*#__PURE__*/function () {
|
|
10882
|
+
var _ref666 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee333(data, _ref665) {
|
|
10883
|
+
var dispatch, _error$response153;
|
|
10884
|
+
return _regeneratorRuntime.wrap(function _callee333$(_context333) {
|
|
10885
|
+
while (1) switch (_context333.prev = _context333.next) {
|
|
10886
|
+
case 0:
|
|
10887
|
+
dispatch = _ref665.dispatch;
|
|
10888
|
+
_context333.prev = 1;
|
|
10889
|
+
dispatch(setLoading(true));
|
|
10890
|
+
_context333.next = 5;
|
|
10891
|
+
return Services.addVehicleCategories(data);
|
|
10892
|
+
case 5:
|
|
10893
|
+
dispatch(setLoading(false));
|
|
10894
|
+
dispatch(setViewModalVisible(true));
|
|
10895
|
+
dispatch(setVehicleCategoriesRender(function (prev) {
|
|
10896
|
+
return !prev;
|
|
10897
|
+
}));
|
|
10898
|
+
_context333.next = 14;
|
|
10899
|
+
break;
|
|
10900
|
+
case 10:
|
|
10901
|
+
_context333.prev = 10;
|
|
10902
|
+
_context333.t0 = _context333["catch"](1);
|
|
10903
|
+
errorMessage((_error$response153 = _context333.t0.response) === null || _error$response153 === void 0 || (_error$response153 = _error$response153.data) === null || _error$response153 === void 0 ? void 0 : _error$response153.message);
|
|
10904
|
+
dispatch(setLoading(false));
|
|
10905
|
+
case 14:
|
|
10906
|
+
case "end":
|
|
10907
|
+
return _context333.stop();
|
|
10908
|
+
}
|
|
10909
|
+
}, _callee333, null, [[1, 10]]);
|
|
10910
|
+
}));
|
|
10911
|
+
return function (_x665, _x666) {
|
|
10912
|
+
return _ref666.apply(this, arguments);
|
|
10913
|
+
};
|
|
10914
|
+
}());
|
|
10915
|
+
export var editVehicleCategories = createAsyncThunk("/editVehicleCategories", /*#__PURE__*/function () {
|
|
10916
|
+
var _ref668 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee334(data, _ref667) {
|
|
10917
|
+
var dispatch, response, _error$response154;
|
|
10918
|
+
return _regeneratorRuntime.wrap(function _callee334$(_context334) {
|
|
10919
|
+
while (1) switch (_context334.prev = _context334.next) {
|
|
10920
|
+
case 0:
|
|
10921
|
+
dispatch = _ref667.dispatch;
|
|
10922
|
+
_context334.prev = 1;
|
|
10923
|
+
dispatch(setLoading(true));
|
|
10924
|
+
_context334.next = 5;
|
|
10925
|
+
return Services.editVehicleCategories(data);
|
|
10926
|
+
case 5:
|
|
10927
|
+
response = _context334.sent;
|
|
10928
|
+
dispatch(setLoading(false));
|
|
10929
|
+
dispatch(setVehicleCategoriesRender(function (prev) {
|
|
10930
|
+
return !prev;
|
|
10931
|
+
}));
|
|
10932
|
+
return _context334.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10933
|
+
case 11:
|
|
10934
|
+
_context334.prev = 11;
|
|
10935
|
+
_context334.t0 = _context334["catch"](1);
|
|
10936
|
+
errorMessage((_error$response154 = _context334.t0.response) === null || _error$response154 === void 0 || (_error$response154 = _error$response154.data) === null || _error$response154 === void 0 ? void 0 : _error$response154.message);
|
|
10937
|
+
dispatch(setLoading(false));
|
|
10938
|
+
case 15:
|
|
10939
|
+
case "end":
|
|
10940
|
+
return _context334.stop();
|
|
10941
|
+
}
|
|
10942
|
+
}, _callee334, null, [[1, 11]]);
|
|
10943
|
+
}));
|
|
10944
|
+
return function (_x667, _x668) {
|
|
10945
|
+
return _ref668.apply(this, arguments);
|
|
10946
|
+
};
|
|
10947
|
+
}());
|
|
10948
|
+
export var deleteVehicleCategories = createAsyncThunk("/deleteVehicleCategories", /*#__PURE__*/function () {
|
|
10949
|
+
var _ref670 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee335(id, _ref669) {
|
|
10950
|
+
var dispatch, _error$response155;
|
|
10951
|
+
return _regeneratorRuntime.wrap(function _callee335$(_context335) {
|
|
10952
|
+
while (1) switch (_context335.prev = _context335.next) {
|
|
10953
|
+
case 0:
|
|
10954
|
+
dispatch = _ref669.dispatch;
|
|
10955
|
+
_context335.prev = 1;
|
|
10956
|
+
dispatch(setLoading(true));
|
|
10957
|
+
_context335.next = 5;
|
|
10958
|
+
return Services.deleteVehicleCategories(id);
|
|
10959
|
+
case 5:
|
|
10960
|
+
dispatch(setLoading(false));
|
|
10961
|
+
dispatch(setDeleteModalVisible(false));
|
|
10962
|
+
dispatch(setVehicleCategoriesRender(function (prev) {
|
|
10963
|
+
return !prev;
|
|
10964
|
+
}));
|
|
10965
|
+
_context335.next = 15;
|
|
10966
|
+
break;
|
|
10967
|
+
case 10:
|
|
10968
|
+
_context335.prev = 10;
|
|
10969
|
+
_context335.t0 = _context335["catch"](1);
|
|
10970
|
+
dispatch(setDeleteModalVisible(false));
|
|
10971
|
+
errorMessage((_error$response155 = _context335.t0.response) === null || _error$response155 === void 0 || (_error$response155 = _error$response155.data) === null || _error$response155 === void 0 ? void 0 : _error$response155.message);
|
|
10972
|
+
dispatch(setLoading(false));
|
|
10973
|
+
case 15:
|
|
10974
|
+
case "end":
|
|
10975
|
+
return _context335.stop();
|
|
10976
|
+
}
|
|
10977
|
+
}, _callee335, null, [[1, 10]]);
|
|
10978
|
+
}));
|
|
10979
|
+
return function (_x669, _x670) {
|
|
10980
|
+
return _ref670.apply(this, arguments);
|
|
10981
|
+
};
|
|
10982
|
+
}());
|
|
10983
|
+
export var vehicleCategoriesVisibility = createAsyncThunk("/vehicleCategoriesVisibility", /*#__PURE__*/function () {
|
|
10984
|
+
var _ref672 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee336(data, _ref671) {
|
|
10985
|
+
var dispatch, response, _error$response156;
|
|
10986
|
+
return _regeneratorRuntime.wrap(function _callee336$(_context336) {
|
|
10987
|
+
while (1) switch (_context336.prev = _context336.next) {
|
|
10988
|
+
case 0:
|
|
10989
|
+
dispatch = _ref671.dispatch;
|
|
10990
|
+
_context336.prev = 1;
|
|
10991
|
+
dispatch(setLoading(true));
|
|
10992
|
+
_context336.next = 5;
|
|
10993
|
+
return Services.vehicleCategoriesVisibility(data);
|
|
10994
|
+
case 5:
|
|
10995
|
+
response = _context336.sent;
|
|
10996
|
+
dispatch(setLoading(false));
|
|
10997
|
+
dispatch(setVehicleCategoriesRender(function (prev) {
|
|
10998
|
+
return !prev;
|
|
10999
|
+
}));
|
|
11000
|
+
return _context336.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
11001
|
+
case 11:
|
|
11002
|
+
_context336.prev = 11;
|
|
11003
|
+
_context336.t0 = _context336["catch"](1);
|
|
11004
|
+
errorMessage((_error$response156 = _context336.t0.response) === null || _error$response156 === void 0 || (_error$response156 = _error$response156.data) === null || _error$response156 === void 0 ? void 0 : _error$response156.message);
|
|
11005
|
+
dispatch(setLoading(false));
|
|
11006
|
+
case 15:
|
|
11007
|
+
case "end":
|
|
11008
|
+
return _context336.stop();
|
|
11009
|
+
}
|
|
11010
|
+
}, _callee336, null, [[1, 11]]);
|
|
11011
|
+
}));
|
|
11012
|
+
return function (_x671, _x672) {
|
|
11013
|
+
return _ref672.apply(this, arguments);
|
|
11014
|
+
};
|
|
11015
|
+
}());
|
|
10626
11016
|
export var questionnaire = createSlice({
|
|
10627
11017
|
name: "questionnaire",
|
|
10628
11018
|
initialState: initialState,
|
|
10629
11019
|
extraReducers: function extraReducers(builder) {
|
|
10630
|
-
builder.addCase(getTopics.fulfilled, function (state,
|
|
10631
|
-
var payload =
|
|
11020
|
+
builder.addCase(getTopics.fulfilled, function (state, _ref673) {
|
|
11021
|
+
var payload = _ref673.payload;
|
|
10632
11022
|
state.topics = payload;
|
|
10633
11023
|
});
|
|
10634
|
-
builder.addCase(getTopicsAll.fulfilled, function (state,
|
|
10635
|
-
var payload =
|
|
11024
|
+
builder.addCase(getTopicsAll.fulfilled, function (state, _ref674) {
|
|
11025
|
+
var payload = _ref674.payload;
|
|
10636
11026
|
state.topicsAll = payload;
|
|
10637
11027
|
});
|
|
10638
|
-
builder.addCase(getSubtopics.fulfilled, function (state,
|
|
10639
|
-
var payload =
|
|
11028
|
+
builder.addCase(getSubtopics.fulfilled, function (state, _ref675) {
|
|
11029
|
+
var payload = _ref675.payload;
|
|
10640
11030
|
state.subtopics = payload;
|
|
10641
11031
|
});
|
|
10642
|
-
builder.addCase(getSubtopicsAll.fulfilled, function (state,
|
|
10643
|
-
var payload =
|
|
11032
|
+
builder.addCase(getSubtopicsAll.fulfilled, function (state, _ref676) {
|
|
11033
|
+
var payload = _ref676.payload;
|
|
10644
11034
|
state.subtopicsAll = payload;
|
|
10645
11035
|
});
|
|
10646
|
-
builder.addCase(getExecutionRules.fulfilled, function (state,
|
|
10647
|
-
var payload =
|
|
11036
|
+
builder.addCase(getExecutionRules.fulfilled, function (state, _ref677) {
|
|
11037
|
+
var payload = _ref677.payload;
|
|
10648
11038
|
state.executionRules = payload;
|
|
10649
11039
|
});
|
|
10650
|
-
builder.addCase(getExecutionRulesAll.fulfilled, function (state,
|
|
10651
|
-
var payload =
|
|
11040
|
+
builder.addCase(getExecutionRulesAll.fulfilled, function (state, _ref678) {
|
|
11041
|
+
var payload = _ref678.payload;
|
|
10652
11042
|
state.executionRulesAll = payload;
|
|
10653
11043
|
});
|
|
10654
|
-
builder.addCase(getDocumentRecieveMethods.fulfilled, function (state,
|
|
10655
|
-
var payload =
|
|
11044
|
+
builder.addCase(getDocumentRecieveMethods.fulfilled, function (state, _ref679) {
|
|
11045
|
+
var payload = _ref679.payload;
|
|
10656
11046
|
state.documentRecieveMethods = payload;
|
|
10657
11047
|
});
|
|
10658
|
-
builder.addCase(getDocumentRecieveMethodsAll.fulfilled, function (state,
|
|
10659
|
-
var payload =
|
|
11048
|
+
builder.addCase(getDocumentRecieveMethodsAll.fulfilled, function (state, _ref680) {
|
|
11049
|
+
var payload = _ref680.payload;
|
|
10660
11050
|
state.documentRecieveMethodsAll = payload;
|
|
10661
11051
|
});
|
|
10662
|
-
builder.addCase(getDocumentTypes.fulfilled, function (state,
|
|
10663
|
-
var payload =
|
|
11052
|
+
builder.addCase(getDocumentTypes.fulfilled, function (state, _ref681) {
|
|
11053
|
+
var payload = _ref681.payload;
|
|
10664
11054
|
state.documentTypes = payload;
|
|
10665
11055
|
});
|
|
10666
|
-
builder.addCase(getDocumentTypesAllOne.fulfilled, function (state,
|
|
10667
|
-
var payload =
|
|
11056
|
+
builder.addCase(getDocumentTypesAllOne.fulfilled, function (state, _ref682) {
|
|
11057
|
+
var payload = _ref682.payload;
|
|
10668
11058
|
state.documentTypesAllOne = payload;
|
|
10669
11059
|
});
|
|
10670
|
-
builder.addCase(getDocumentTypesAllTwo.fulfilled, function (state,
|
|
10671
|
-
var payload =
|
|
11060
|
+
builder.addCase(getDocumentTypesAllTwo.fulfilled, function (state, _ref683) {
|
|
11061
|
+
var payload = _ref683.payload;
|
|
10672
11062
|
state.documentTypesAllTwo = payload;
|
|
10673
11063
|
});
|
|
10674
|
-
builder.addCase(getCountries.fulfilled, function (state,
|
|
10675
|
-
var payload =
|
|
11064
|
+
builder.addCase(getCountries.fulfilled, function (state, _ref684) {
|
|
11065
|
+
var payload = _ref684.payload;
|
|
10676
11066
|
state.countries = payload;
|
|
10677
11067
|
});
|
|
10678
|
-
builder.addCase(getCountriesAll.fulfilled, function (state,
|
|
10679
|
-
var payload =
|
|
11068
|
+
builder.addCase(getCountriesAll.fulfilled, function (state, _ref685) {
|
|
11069
|
+
var payload = _ref685.payload;
|
|
10680
11070
|
state.countriesAll = payload;
|
|
10681
11071
|
});
|
|
10682
|
-
builder.addCase(getOrganizations.fulfilled, function (state,
|
|
10683
|
-
var payload =
|
|
11072
|
+
builder.addCase(getOrganizations.fulfilled, function (state, _ref686) {
|
|
11073
|
+
var payload = _ref686.payload;
|
|
10684
11074
|
state.organizations = payload;
|
|
10685
11075
|
});
|
|
10686
|
-
builder.addCase(getStructures.fulfilled, function (state,
|
|
10687
|
-
var payload =
|
|
11076
|
+
builder.addCase(getStructures.fulfilled, function (state, _ref687) {
|
|
11077
|
+
var payload = _ref687.payload;
|
|
10688
11078
|
state.structures = payload;
|
|
10689
11079
|
});
|
|
10690
|
-
builder.addCase(getApplicationForms.fulfilled, function (state,
|
|
10691
|
-
var payload =
|
|
11080
|
+
builder.addCase(getApplicationForms.fulfilled, function (state, _ref688) {
|
|
11081
|
+
var payload = _ref688.payload;
|
|
10692
11082
|
state.applicationForms = payload;
|
|
10693
11083
|
});
|
|
10694
|
-
builder.addCase(getApplicationFormsAll.fulfilled, function (state,
|
|
10695
|
-
var payload =
|
|
11084
|
+
builder.addCase(getApplicationFormsAll.fulfilled, function (state, _ref689) {
|
|
11085
|
+
var payload = _ref689.payload;
|
|
10696
11086
|
state.applicationFormsAll = payload;
|
|
10697
11087
|
});
|
|
10698
|
-
builder.addCase(getDocumentWhom.fulfilled, function (state,
|
|
10699
|
-
var payload =
|
|
11088
|
+
builder.addCase(getDocumentWhom.fulfilled, function (state, _ref690) {
|
|
11089
|
+
var payload = _ref690.payload;
|
|
10700
11090
|
state.documentWhom = payload;
|
|
10701
11091
|
});
|
|
10702
|
-
builder.addCase(getDocumentWhomAll.fulfilled, function (state,
|
|
10703
|
-
var payload =
|
|
11092
|
+
builder.addCase(getDocumentWhomAll.fulfilled, function (state, _ref691) {
|
|
11093
|
+
var payload = _ref691.payload;
|
|
10704
11094
|
state.documentWhomAll = payload;
|
|
10705
11095
|
});
|
|
10706
|
-
builder.addCase(getMarginNoteText.fulfilled, function (state,
|
|
10707
|
-
var payload =
|
|
11096
|
+
builder.addCase(getMarginNoteText.fulfilled, function (state, _ref692) {
|
|
11097
|
+
var payload = _ref692.payload;
|
|
10708
11098
|
state.marginNoteText = payload;
|
|
10709
11099
|
});
|
|
10710
|
-
builder.addCase(getDeliveryMethod.fulfilled, function (state,
|
|
10711
|
-
var payload =
|
|
11100
|
+
builder.addCase(getDeliveryMethod.fulfilled, function (state, _ref693) {
|
|
11101
|
+
var payload = _ref693.payload;
|
|
10712
11102
|
state.deliveryMethod = payload;
|
|
10713
11103
|
});
|
|
10714
|
-
builder.addCase(getDeliveryMethodAll.fulfilled, function (state,
|
|
10715
|
-
var payload =
|
|
11104
|
+
builder.addCase(getDeliveryMethodAll.fulfilled, function (state, _ref694) {
|
|
11105
|
+
var payload = _ref694.payload;
|
|
10716
11106
|
state.deliveryMethodAll = payload;
|
|
10717
11107
|
});
|
|
10718
|
-
builder.addCase(getGeneralStructuresAll.fulfilled, function (state,
|
|
10719
|
-
var payload =
|
|
11108
|
+
builder.addCase(getGeneralStructuresAll.fulfilled, function (state, _ref695) {
|
|
11109
|
+
var payload = _ref695.payload;
|
|
10720
11110
|
state.generalStructuresAll = payload;
|
|
10721
11111
|
});
|
|
10722
|
-
builder.addCase(getBrands.fulfilled, function (state,
|
|
10723
|
-
var payload =
|
|
11112
|
+
builder.addCase(getBrands.fulfilled, function (state, _ref696) {
|
|
11113
|
+
var payload = _ref696.payload;
|
|
10724
11114
|
state.brands = payload;
|
|
10725
11115
|
});
|
|
10726
|
-
builder.addCase(getBrandsAll.fulfilled, function (state,
|
|
10727
|
-
var payload =
|
|
11116
|
+
builder.addCase(getBrandsAll.fulfilled, function (state, _ref697) {
|
|
11117
|
+
var payload = _ref697.payload;
|
|
10728
11118
|
state.brandsAll = payload;
|
|
10729
11119
|
});
|
|
10730
|
-
builder.addCase(getChassisTypes.fulfilled, function (state,
|
|
10731
|
-
var payload =
|
|
11120
|
+
builder.addCase(getChassisTypes.fulfilled, function (state, _ref698) {
|
|
11121
|
+
var payload = _ref698.payload;
|
|
10732
11122
|
state.chassisTypes = payload;
|
|
10733
11123
|
});
|
|
10734
|
-
builder.addCase(getChassisTypesAll.fulfilled, function (state,
|
|
10735
|
-
var payload =
|
|
11124
|
+
builder.addCase(getChassisTypesAll.fulfilled, function (state, _ref699) {
|
|
11125
|
+
var payload = _ref699.payload;
|
|
10736
11126
|
state.chassisTypesAll = payload;
|
|
10737
11127
|
});
|
|
10738
|
-
builder.addCase(getColor.fulfilled, function (state,
|
|
10739
|
-
var payload =
|
|
11128
|
+
builder.addCase(getColor.fulfilled, function (state, _ref700) {
|
|
11129
|
+
var payload = _ref700.payload;
|
|
10740
11130
|
state.color = payload;
|
|
10741
11131
|
});
|
|
10742
|
-
builder.addCase(getColorAll.fulfilled, function (state,
|
|
10743
|
-
var payload =
|
|
11132
|
+
builder.addCase(getColorAll.fulfilled, function (state, _ref701) {
|
|
11133
|
+
var payload = _ref701.payload;
|
|
10744
11134
|
state.colorAll = payload;
|
|
10745
11135
|
});
|
|
10746
|
-
builder.addCase(getEnginetype.fulfilled, function (state,
|
|
10747
|
-
var payload =
|
|
11136
|
+
builder.addCase(getEnginetype.fulfilled, function (state, _ref702) {
|
|
11137
|
+
var payload = _ref702.payload;
|
|
10748
11138
|
state.enginetype = payload;
|
|
10749
11139
|
});
|
|
10750
|
-
builder.addCase(getEnginetypeAll.fulfilled, function (state,
|
|
10751
|
-
var payload =
|
|
11140
|
+
builder.addCase(getEnginetypeAll.fulfilled, function (state, _ref703) {
|
|
11141
|
+
var payload = _ref703.payload;
|
|
10752
11142
|
state.enginetypeAll = payload;
|
|
10753
11143
|
});
|
|
10754
|
-
builder.addCase(getGearboxtype.fulfilled, function (state,
|
|
10755
|
-
var payload =
|
|
11144
|
+
builder.addCase(getGearboxtype.fulfilled, function (state, _ref704) {
|
|
11145
|
+
var payload = _ref704.payload;
|
|
10756
11146
|
state.gearboxtype = payload;
|
|
10757
11147
|
});
|
|
10758
|
-
builder.addCase(getGearboxtypeAll.fulfilled, function (state,
|
|
10759
|
-
var payload =
|
|
11148
|
+
builder.addCase(getGearboxtypeAll.fulfilled, function (state, _ref705) {
|
|
11149
|
+
var payload = _ref705.payload;
|
|
10760
11150
|
state.gearboxtypeAll = payload;
|
|
10761
11151
|
});
|
|
10762
|
-
builder.addCase(getIssuedauthoritie.fulfilled, function (state,
|
|
10763
|
-
var payload =
|
|
11152
|
+
builder.addCase(getIssuedauthoritie.fulfilled, function (state, _ref706) {
|
|
11153
|
+
var payload = _ref706.payload;
|
|
10764
11154
|
state.issuedauthoritie = payload;
|
|
10765
11155
|
});
|
|
10766
|
-
builder.addCase(getIssuedauthoritieAll.fulfilled, function (state,
|
|
10767
|
-
var payload =
|
|
11156
|
+
builder.addCase(getIssuedauthoritieAll.fulfilled, function (state, _ref707) {
|
|
11157
|
+
var payload = _ref707.payload;
|
|
10768
11158
|
state.issuedauthoritieAll = payload;
|
|
10769
11159
|
});
|
|
10770
|
-
builder.addCase(getModel.fulfilled, function (state,
|
|
10771
|
-
var payload =
|
|
11160
|
+
builder.addCase(getModel.fulfilled, function (state, _ref708) {
|
|
11161
|
+
var payload = _ref708.payload;
|
|
10772
11162
|
state.model = payload;
|
|
10773
11163
|
});
|
|
10774
|
-
builder.addCase(getModelAll.fulfilled, function (state,
|
|
10775
|
-
var payload =
|
|
11164
|
+
builder.addCase(getModelAll.fulfilled, function (state, _ref709) {
|
|
11165
|
+
var payload = _ref709.payload;
|
|
10776
11166
|
state.modelAll = payload;
|
|
10777
11167
|
});
|
|
10778
|
-
builder.addCase(getOwnershiptype.fulfilled, function (state,
|
|
10779
|
-
var payload =
|
|
11168
|
+
builder.addCase(getOwnershiptype.fulfilled, function (state, _ref710) {
|
|
11169
|
+
var payload = _ref710.payload;
|
|
10780
11170
|
state.ownershiptype = payload;
|
|
10781
11171
|
});
|
|
10782
|
-
builder.addCase(getOwnershiptypeAll.fulfilled, function (state,
|
|
10783
|
-
var payload =
|
|
11172
|
+
builder.addCase(getOwnershiptypeAll.fulfilled, function (state, _ref711) {
|
|
11173
|
+
var payload = _ref711.payload;
|
|
10784
11174
|
state.ownershiptypeAll = payload;
|
|
10785
11175
|
});
|
|
10786
|
-
builder.addCase(getOrganisationrecord.fulfilled, function (state,
|
|
10787
|
-
var payload =
|
|
11176
|
+
builder.addCase(getOrganisationrecord.fulfilled, function (state, _ref712) {
|
|
11177
|
+
var payload = _ref712.payload;
|
|
10788
11178
|
state.organisationrecord = payload;
|
|
10789
11179
|
});
|
|
10790
|
-
builder.addCase(getOrganisationrecordAll.fulfilled, function (state,
|
|
10791
|
-
var payload =
|
|
11180
|
+
builder.addCase(getOrganisationrecordAll.fulfilled, function (state, _ref713) {
|
|
11181
|
+
var payload = _ref713.payload;
|
|
10792
11182
|
state.organisationrecordAll = payload;
|
|
10793
11183
|
});
|
|
10794
|
-
builder.addCase(getTransmittertype.fulfilled, function (state,
|
|
10795
|
-
var payload =
|
|
11184
|
+
builder.addCase(getTransmittertype.fulfilled, function (state, _ref714) {
|
|
11185
|
+
var payload = _ref714.payload;
|
|
10796
11186
|
state.transmittertype = payload;
|
|
10797
11187
|
});
|
|
10798
|
-
builder.addCase(getTransmittertypeAll.fulfilled, function (state,
|
|
10799
|
-
var payload =
|
|
11188
|
+
builder.addCase(getTransmittertypeAll.fulfilled, function (state, _ref715) {
|
|
11189
|
+
var payload = _ref715.payload;
|
|
10800
11190
|
state.transmittertypeAll = payload;
|
|
10801
11191
|
});
|
|
10802
|
-
builder.addCase(getVehicle.fulfilled, function (state,
|
|
10803
|
-
var payload =
|
|
11192
|
+
builder.addCase(getVehicle.fulfilled, function (state, _ref716) {
|
|
11193
|
+
var payload = _ref716.payload;
|
|
10804
11194
|
state.vehicle = payload;
|
|
10805
11195
|
});
|
|
10806
|
-
builder.addCase(getVehicleAll.fulfilled, function (state,
|
|
10807
|
-
var payload =
|
|
11196
|
+
builder.addCase(getVehicleAll.fulfilled, function (state, _ref717) {
|
|
11197
|
+
var payload = _ref717.payload;
|
|
10808
11198
|
state.vehicleAll = payload;
|
|
10809
11199
|
});
|
|
10810
|
-
builder.addCase(getVehicletype.fulfilled, function (state,
|
|
10811
|
-
var payload =
|
|
11200
|
+
builder.addCase(getVehicletype.fulfilled, function (state, _ref718) {
|
|
11201
|
+
var payload = _ref718.payload;
|
|
10812
11202
|
state.vehicletype = payload;
|
|
10813
11203
|
});
|
|
10814
|
-
builder.addCase(getVehicletypeAll.fulfilled, function (state,
|
|
10815
|
-
var payload =
|
|
11204
|
+
builder.addCase(getVehicletypeAll.fulfilled, function (state, _ref719) {
|
|
11205
|
+
var payload = _ref719.payload;
|
|
10816
11206
|
state.vehicletypeAll = payload;
|
|
10817
11207
|
});
|
|
10818
|
-
builder.addCase(getVrc.fulfilled, function (state,
|
|
10819
|
-
var payload =
|
|
11208
|
+
builder.addCase(getVrc.fulfilled, function (state, _ref720) {
|
|
11209
|
+
var payload = _ref720.payload;
|
|
10820
11210
|
state.vrc = payload;
|
|
10821
11211
|
});
|
|
10822
|
-
builder.addCase(getVrcAll.fulfilled, function (state,
|
|
10823
|
-
var payload =
|
|
11212
|
+
builder.addCase(getVrcAll.fulfilled, function (state, _ref721) {
|
|
11213
|
+
var payload = _ref721.payload;
|
|
10824
11214
|
state.vrcAll = payload;
|
|
10825
11215
|
});
|
|
10826
|
-
builder.addCase(getAcademicdegrees.fulfilled, function (state,
|
|
10827
|
-
var payload =
|
|
11216
|
+
builder.addCase(getAcademicdegrees.fulfilled, function (state, _ref722) {
|
|
11217
|
+
var payload = _ref722.payload;
|
|
10828
11218
|
state.academicdegrees = payload;
|
|
10829
11219
|
});
|
|
10830
|
-
builder.addCase(getAcademicdegreesAll.fulfilled, function (state,
|
|
10831
|
-
var payload =
|
|
11220
|
+
builder.addCase(getAcademicdegreesAll.fulfilled, function (state, _ref723) {
|
|
11221
|
+
var payload = _ref723.payload;
|
|
10832
11222
|
state.academicdegreesAll = payload;
|
|
10833
11223
|
});
|
|
10834
|
-
builder.addCase(getDisabilitystatuses.fulfilled, function (state,
|
|
10835
|
-
var payload =
|
|
11224
|
+
builder.addCase(getDisabilitystatuses.fulfilled, function (state, _ref724) {
|
|
11225
|
+
var payload = _ref724.payload;
|
|
10836
11226
|
state.disabilitystatuses = payload;
|
|
10837
11227
|
});
|
|
10838
|
-
builder.addCase(getDisabilitystatusesAll.fulfilled, function (state,
|
|
10839
|
-
var payload =
|
|
11228
|
+
builder.addCase(getDisabilitystatusesAll.fulfilled, function (state, _ref725) {
|
|
11229
|
+
var payload = _ref725.payload;
|
|
10840
11230
|
state.disabilitystatusesAll = payload;
|
|
10841
11231
|
});
|
|
10842
|
-
builder.addCase(getHonorarytitles.fulfilled, function (state,
|
|
10843
|
-
var payload =
|
|
11232
|
+
builder.addCase(getHonorarytitles.fulfilled, function (state, _ref726) {
|
|
11233
|
+
var payload = _ref726.payload;
|
|
10844
11234
|
state.honorarytitles = payload;
|
|
10845
11235
|
});
|
|
10846
|
-
builder.addCase(getHonorarytitlesAll.fulfilled, function (state,
|
|
10847
|
-
var payload =
|
|
11236
|
+
builder.addCase(getHonorarytitlesAll.fulfilled, function (state, _ref727) {
|
|
11237
|
+
var payload = _ref727.payload;
|
|
10848
11238
|
state.honorarytitlesAll = payload;
|
|
10849
11239
|
});
|
|
10850
|
-
builder.addCase(getMilitarystaffs.fulfilled, function (state,
|
|
10851
|
-
var payload =
|
|
11240
|
+
builder.addCase(getMilitarystaffs.fulfilled, function (state, _ref728) {
|
|
11241
|
+
var payload = _ref728.payload;
|
|
10852
11242
|
state.militaryStaffs = payload;
|
|
10853
11243
|
});
|
|
10854
|
-
builder.addCase(getMilitarystaffsAll.fulfilled, function (state,
|
|
10855
|
-
var payload =
|
|
11244
|
+
builder.addCase(getMilitarystaffsAll.fulfilled, function (state, _ref729) {
|
|
11245
|
+
var payload = _ref729.payload;
|
|
10856
11246
|
state.militaryStaffsAll = payload;
|
|
10857
11247
|
});
|
|
10858
|
-
builder.addCase(getMilitarycategories.fulfilled, function (state,
|
|
10859
|
-
var payload =
|
|
11248
|
+
builder.addCase(getMilitarycategories.fulfilled, function (state, _ref730) {
|
|
11249
|
+
var payload = _ref730.payload;
|
|
10860
11250
|
state.militaryCategories = payload;
|
|
10861
11251
|
});
|
|
10862
|
-
builder.addCase(getMilitarycategoriesAll.fulfilled, function (state,
|
|
10863
|
-
var payload =
|
|
11252
|
+
builder.addCase(getMilitarycategoriesAll.fulfilled, function (state, _ref731) {
|
|
11253
|
+
var payload = _ref731.payload;
|
|
10864
11254
|
state.militaryCategoriesAll = payload;
|
|
10865
11255
|
});
|
|
10866
|
-
builder.addCase(getMilitaryranks.fulfilled, function (state,
|
|
10867
|
-
var payload =
|
|
11256
|
+
builder.addCase(getMilitaryranks.fulfilled, function (state, _ref732) {
|
|
11257
|
+
var payload = _ref732.payload;
|
|
10868
11258
|
state.militaryranks = payload;
|
|
10869
11259
|
});
|
|
10870
|
-
builder.addCase(getMilitaryranksAll.fulfilled, function (state,
|
|
10871
|
-
var payload =
|
|
11260
|
+
builder.addCase(getMilitaryranksAll.fulfilled, function (state, _ref733) {
|
|
11261
|
+
var payload = _ref733.payload;
|
|
10872
11262
|
state.militaryranksAll = payload;
|
|
10873
11263
|
});
|
|
10874
|
-
builder.addCase(getMilitarygroups.fulfilled, function (state,
|
|
10875
|
-
var payload =
|
|
11264
|
+
builder.addCase(getMilitarygroups.fulfilled, function (state, _ref734) {
|
|
11265
|
+
var payload = _ref734.payload;
|
|
10876
11266
|
state.militarygroups = payload;
|
|
10877
11267
|
});
|
|
10878
|
-
builder.addCase(getMilitarygroupsAll.fulfilled, function (state,
|
|
10879
|
-
var payload =
|
|
11268
|
+
builder.addCase(getMilitarygroupsAll.fulfilled, function (state, _ref735) {
|
|
11269
|
+
var payload = _ref735.payload;
|
|
10880
11270
|
state.militarygroupsAll = payload;
|
|
10881
11271
|
});
|
|
10882
|
-
builder.addCase(getGeneralstructurestatuses.fulfilled, function (state,
|
|
10883
|
-
var payload =
|
|
11272
|
+
builder.addCase(getGeneralstructurestatuses.fulfilled, function (state, _ref736) {
|
|
11273
|
+
var payload = _ref736.payload;
|
|
10884
11274
|
state.generalstructurestatuses = payload;
|
|
10885
11275
|
});
|
|
10886
|
-
builder.addCase(getGeneralstructurestatusesAll.fulfilled, function (state,
|
|
10887
|
-
var payload =
|
|
11276
|
+
builder.addCase(getGeneralstructurestatusesAll.fulfilled, function (state, _ref737) {
|
|
11277
|
+
var payload = _ref737.payload;
|
|
10888
11278
|
state.generalstructurestatusesAll = payload;
|
|
10889
11279
|
});
|
|
10890
|
-
builder.addCase(getWorkschedules.fulfilled, function (state,
|
|
10891
|
-
var payload =
|
|
11280
|
+
builder.addCase(getWorkschedules.fulfilled, function (state, _ref738) {
|
|
11281
|
+
var payload = _ref738.payload;
|
|
10892
11282
|
state.workschedules = payload;
|
|
10893
11283
|
});
|
|
10894
|
-
builder.addCase(getWorkschedulesAll.fulfilled, function (state,
|
|
10895
|
-
var payload =
|
|
11284
|
+
builder.addCase(getWorkschedulesAll.fulfilled, function (state, _ref739) {
|
|
11285
|
+
var payload = _ref739.payload;
|
|
10896
11286
|
state.workschedulesAll = payload;
|
|
10897
11287
|
});
|
|
10898
|
-
builder.addCase(getSpecializations.fulfilled, function (state,
|
|
10899
|
-
var payload =
|
|
11288
|
+
builder.addCase(getSpecializations.fulfilled, function (state, _ref740) {
|
|
11289
|
+
var payload = _ref740.payload;
|
|
10900
11290
|
state.specializations = payload;
|
|
10901
11291
|
});
|
|
10902
|
-
builder.addCase(getSpecializationsAll.fulfilled, function (state,
|
|
10903
|
-
var payload =
|
|
11292
|
+
builder.addCase(getSpecializationsAll.fulfilled, function (state, _ref741) {
|
|
11293
|
+
var payload = _ref741.payload;
|
|
10904
11294
|
state.specializationsAll = payload;
|
|
10905
11295
|
});
|
|
10906
|
-
builder.addCase(getWarparticipants.fulfilled, function (state,
|
|
10907
|
-
var payload =
|
|
11296
|
+
builder.addCase(getWarparticipants.fulfilled, function (state, _ref742) {
|
|
11297
|
+
var payload = _ref742.payload;
|
|
10908
11298
|
state.warparticipants = payload;
|
|
10909
11299
|
});
|
|
10910
|
-
builder.addCase(getWarparticipantsAll.fulfilled, function (state,
|
|
10911
|
-
var payload =
|
|
11300
|
+
builder.addCase(getWarparticipantsAll.fulfilled, function (state, _ref743) {
|
|
11301
|
+
var payload = _ref743.payload;
|
|
10912
11302
|
state.warparticipantsAll = payload;
|
|
10913
11303
|
});
|
|
10914
|
-
builder.addCase(getGeneralstructuretypes.fulfilled, function (state,
|
|
10915
|
-
var payload =
|
|
11304
|
+
builder.addCase(getGeneralstructuretypes.fulfilled, function (state, _ref744) {
|
|
11305
|
+
var payload = _ref744.payload;
|
|
10916
11306
|
state.generalstructuretypes = payload;
|
|
10917
11307
|
});
|
|
10918
|
-
builder.addCase(getGeneralstructuretypesAll.fulfilled, function (state,
|
|
10919
|
-
var payload =
|
|
11308
|
+
builder.addCase(getGeneralstructuretypesAll.fulfilled, function (state, _ref745) {
|
|
11309
|
+
var payload = _ref745.payload;
|
|
10920
11310
|
state.generalstructuretypesAll = payload;
|
|
10921
11311
|
});
|
|
10922
|
-
builder.addCase(getEducationinstitutions.fulfilled, function (state,
|
|
10923
|
-
var payload =
|
|
11312
|
+
builder.addCase(getEducationinstitutions.fulfilled, function (state, _ref746) {
|
|
11313
|
+
var payload = _ref746.payload;
|
|
10924
11314
|
state.educationinstitutions = payload;
|
|
10925
11315
|
});
|
|
10926
|
-
builder.addCase(getEducationinstitutionsAll.fulfilled, function (state,
|
|
10927
|
-
var payload =
|
|
11316
|
+
builder.addCase(getEducationinstitutionsAll.fulfilled, function (state, _ref747) {
|
|
11317
|
+
var payload = _ref747.payload;
|
|
10928
11318
|
state.educationinstitutionsAll = payload;
|
|
10929
11319
|
});
|
|
10930
|
-
builder.addCase(getEducationpayments.fulfilled, function (state,
|
|
10931
|
-
var payload =
|
|
11320
|
+
builder.addCase(getEducationpayments.fulfilled, function (state, _ref748) {
|
|
11321
|
+
var payload = _ref748.payload;
|
|
10932
11322
|
state.educationPayments = payload;
|
|
10933
11323
|
});
|
|
10934
|
-
builder.addCase(getEducationpaymentsAll.fulfilled, function (state,
|
|
10935
|
-
var payload =
|
|
11324
|
+
builder.addCase(getEducationpaymentsAll.fulfilled, function (state, _ref749) {
|
|
11325
|
+
var payload = _ref749.payload;
|
|
10936
11326
|
state.educationPaymentsAll = payload;
|
|
10937
11327
|
});
|
|
10938
|
-
builder.addCase(getEducationlevels.fulfilled, function (state,
|
|
10939
|
-
var payload =
|
|
11328
|
+
builder.addCase(getEducationlevels.fulfilled, function (state, _ref750) {
|
|
11329
|
+
var payload = _ref750.payload;
|
|
10940
11330
|
state.educationlevels = payload;
|
|
10941
11331
|
});
|
|
10942
|
-
builder.addCase(getEducationlevelsAll.fulfilled, function (state,
|
|
10943
|
-
var payload =
|
|
11332
|
+
builder.addCase(getEducationlevelsAll.fulfilled, function (state, _ref751) {
|
|
11333
|
+
var payload = _ref751.payload;
|
|
10944
11334
|
state.educationlevelsAll = payload;
|
|
10945
11335
|
});
|
|
10946
|
-
builder.addCase(getReprimandtypes.fulfilled, function (state,
|
|
10947
|
-
var payload =
|
|
11336
|
+
builder.addCase(getReprimandtypes.fulfilled, function (state, _ref752) {
|
|
11337
|
+
var payload = _ref752.payload;
|
|
10948
11338
|
state.reprimandTypes = payload;
|
|
10949
11339
|
});
|
|
10950
|
-
builder.addCase(getReprimandtypesAll.fulfilled, function (state,
|
|
10951
|
-
var payload =
|
|
11340
|
+
builder.addCase(getReprimandtypesAll.fulfilled, function (state, _ref753) {
|
|
11341
|
+
var payload = _ref753.payload;
|
|
10952
11342
|
state.reprimandTypesAll = payload;
|
|
10953
11343
|
});
|
|
10954
|
-
builder.addCase(getSpecialdays.fulfilled, function (state,
|
|
10955
|
-
var payload =
|
|
11344
|
+
builder.addCase(getSpecialdays.fulfilled, function (state, _ref754) {
|
|
11345
|
+
var payload = _ref754.payload;
|
|
10956
11346
|
state.specialdays = payload;
|
|
10957
11347
|
});
|
|
10958
|
-
builder.addCase(getSpecialdaysAll.fulfilled, function (state,
|
|
10959
|
-
var payload =
|
|
11348
|
+
builder.addCase(getSpecialdaysAll.fulfilled, function (state, _ref755) {
|
|
11349
|
+
var payload = _ref755.payload;
|
|
10960
11350
|
state.specialdaysAll = payload;
|
|
10961
11351
|
});
|
|
10962
|
-
builder.addCase(getCategories.fulfilled, function (state,
|
|
10963
|
-
var payload =
|
|
11352
|
+
builder.addCase(getCategories.fulfilled, function (state, _ref756) {
|
|
11353
|
+
var payload = _ref756.payload;
|
|
10964
11354
|
state.categories = payload;
|
|
10965
11355
|
});
|
|
10966
|
-
builder.addCase(getCategoriesAll.fulfilled, function (state,
|
|
10967
|
-
var payload =
|
|
11356
|
+
builder.addCase(getCategoriesAll.fulfilled, function (state, _ref757) {
|
|
11357
|
+
var payload = _ref757.payload;
|
|
10968
11358
|
state.categoriesAll = payload;
|
|
10969
11359
|
});
|
|
10970
|
-
builder.addCase(getRegions.fulfilled, function (state,
|
|
10971
|
-
var payload =
|
|
11360
|
+
builder.addCase(getRegions.fulfilled, function (state, _ref758) {
|
|
11361
|
+
var payload = _ref758.payload;
|
|
10972
11362
|
state.regions = payload;
|
|
10973
11363
|
});
|
|
10974
|
-
builder.addCase(getRegionsAll.fulfilled, function (state,
|
|
10975
|
-
var payload =
|
|
11364
|
+
builder.addCase(getRegionsAll.fulfilled, function (state, _ref759) {
|
|
11365
|
+
var payload = _ref759.payload;
|
|
10976
11366
|
state.regionsAll = payload;
|
|
10977
11367
|
});
|
|
10978
|
-
builder.addCase(getRegionsChildren.fulfilled, function (state,
|
|
10979
|
-
var payload =
|
|
11368
|
+
builder.addCase(getRegionsChildren.fulfilled, function (state, _ref760) {
|
|
11369
|
+
var payload = _ref760.payload;
|
|
10980
11370
|
state.regionChildren = payload;
|
|
10981
11371
|
});
|
|
10982
|
-
builder.addCase(getAreas.fulfilled, function (state,
|
|
10983
|
-
var payload =
|
|
11372
|
+
builder.addCase(getAreas.fulfilled, function (state, _ref761) {
|
|
11373
|
+
var payload = _ref761.payload;
|
|
10984
11374
|
state.areas = payload;
|
|
10985
11375
|
});
|
|
10986
|
-
builder.addCase(getAreasAll.fulfilled, function (state,
|
|
10987
|
-
var payload =
|
|
11376
|
+
builder.addCase(getAreasAll.fulfilled, function (state, _ref762) {
|
|
11377
|
+
var payload = _ref762.payload;
|
|
10988
11378
|
state.areasAll = payload;
|
|
10989
11379
|
});
|
|
10990
|
-
builder.addCase(getCompanies.fulfilled, function (state,
|
|
10991
|
-
var payload =
|
|
11380
|
+
builder.addCase(getCompanies.fulfilled, function (state, _ref763) {
|
|
11381
|
+
var payload = _ref763.payload;
|
|
10992
11382
|
state.companies = payload;
|
|
10993
11383
|
});
|
|
10994
|
-
builder.addCase(getCompaniesAll.fulfilled, function (state,
|
|
10995
|
-
var payload =
|
|
11384
|
+
builder.addCase(getCompaniesAll.fulfilled, function (state, _ref764) {
|
|
11385
|
+
var payload = _ref764.payload;
|
|
10996
11386
|
state.companiesAll = payload;
|
|
10997
11387
|
});
|
|
10998
|
-
builder.addCase(getPositions.fulfilled, function (state,
|
|
10999
|
-
var payload =
|
|
11388
|
+
builder.addCase(getPositions.fulfilled, function (state, _ref765) {
|
|
11389
|
+
var payload = _ref765.payload;
|
|
11000
11390
|
state.positions = payload;
|
|
11001
11391
|
});
|
|
11002
|
-
builder.addCase(getPositionsAll.fulfilled, function (state,
|
|
11003
|
-
var payload =
|
|
11392
|
+
builder.addCase(getPositionsAll.fulfilled, function (state, _ref766) {
|
|
11393
|
+
var payload = _ref766.payload;
|
|
11004
11394
|
state.positionsAll = payload;
|
|
11005
11395
|
});
|
|
11006
|
-
builder.addCase(getHalls.fulfilled, function (state,
|
|
11007
|
-
var payload =
|
|
11396
|
+
builder.addCase(getHalls.fulfilled, function (state, _ref767) {
|
|
11397
|
+
var payload = _ref767.payload;
|
|
11008
11398
|
state.halls = payload;
|
|
11009
11399
|
});
|
|
11010
|
-
builder.addCase(getHallsAll.fulfilled, function (state,
|
|
11011
|
-
var payload =
|
|
11400
|
+
builder.addCase(getHallsAll.fulfilled, function (state, _ref768) {
|
|
11401
|
+
var payload = _ref768.payload;
|
|
11012
11402
|
state.hallsAll = payload;
|
|
11013
11403
|
});
|
|
11014
|
-
builder.addCase(getEmployeeConfigurations.fulfilled, function (state,
|
|
11015
|
-
var payload =
|
|
11404
|
+
builder.addCase(getEmployeeConfigurations.fulfilled, function (state, _ref769) {
|
|
11405
|
+
var payload = _ref769.payload;
|
|
11016
11406
|
state.employeeConfigurations = payload;
|
|
11017
11407
|
});
|
|
11018
|
-
builder.addCase(getEmployeeConfigurationsAll.fulfilled, function (state,
|
|
11019
|
-
var payload =
|
|
11408
|
+
builder.addCase(getEmployeeConfigurationsAll.fulfilled, function (state, _ref770) {
|
|
11409
|
+
var payload = _ref770.payload;
|
|
11020
11410
|
state.employeeConfigurationsAll = payload;
|
|
11021
11411
|
});
|
|
11022
|
-
builder.addCase(getContragenttypes.fulfilled, function (state,
|
|
11023
|
-
var payload =
|
|
11412
|
+
builder.addCase(getContragenttypes.fulfilled, function (state, _ref771) {
|
|
11413
|
+
var payload = _ref771.payload;
|
|
11024
11414
|
state.contragenttypes = payload;
|
|
11025
11415
|
});
|
|
11026
|
-
builder.addCase(getContragenttypesAll.fulfilled, function (state,
|
|
11027
|
-
var payload =
|
|
11416
|
+
builder.addCase(getContragenttypesAll.fulfilled, function (state, _ref772) {
|
|
11417
|
+
var payload = _ref772.payload;
|
|
11028
11418
|
state.contragenttypesAll = payload;
|
|
11029
11419
|
});
|
|
11030
|
-
builder.addCase(getContracttypes.fulfilled, function (state,
|
|
11031
|
-
var payload =
|
|
11420
|
+
builder.addCase(getContracttypes.fulfilled, function (state, _ref773) {
|
|
11421
|
+
var payload = _ref773.payload;
|
|
11032
11422
|
state.contracttypes = payload;
|
|
11033
11423
|
});
|
|
11034
|
-
builder.addCase(getContracttypesAll.fulfilled, function (state,
|
|
11035
|
-
var payload =
|
|
11424
|
+
builder.addCase(getContracttypesAll.fulfilled, function (state, _ref774) {
|
|
11425
|
+
var payload = _ref774.payload;
|
|
11036
11426
|
state.contracttypesAll = payload;
|
|
11037
11427
|
});
|
|
11038
|
-
builder.addCase(getContractcurrencies.fulfilled, function (state,
|
|
11039
|
-
var payload =
|
|
11428
|
+
builder.addCase(getContractcurrencies.fulfilled, function (state, _ref775) {
|
|
11429
|
+
var payload = _ref775.payload;
|
|
11040
11430
|
state.contractcurrencies = payload;
|
|
11041
11431
|
});
|
|
11042
|
-
builder.addCase(getContractcurrenciesAll.fulfilled, function (state,
|
|
11043
|
-
var payload =
|
|
11432
|
+
builder.addCase(getContractcurrenciesAll.fulfilled, function (state, _ref776) {
|
|
11433
|
+
var payload = _ref776.payload;
|
|
11044
11434
|
state.contractcurrenciesAll = payload;
|
|
11045
11435
|
});
|
|
11046
|
-
builder.addCase(getOrders.fulfilled, function (state,
|
|
11047
|
-
var payload =
|
|
11436
|
+
builder.addCase(getOrders.fulfilled, function (state, _ref777) {
|
|
11437
|
+
var payload = _ref777.payload;
|
|
11048
11438
|
state.orders = payload;
|
|
11049
11439
|
});
|
|
11050
|
-
builder.addCase(getOrdersAll.fulfilled, function (state,
|
|
11051
|
-
var payload =
|
|
11440
|
+
builder.addCase(getOrdersAll.fulfilled, function (state, _ref778) {
|
|
11441
|
+
var payload = _ref778.payload;
|
|
11052
11442
|
state.ordersAll = payload;
|
|
11053
11443
|
});
|
|
11054
|
-
builder.addCase(getDrivingcategoriesAll.fulfilled, function (state,
|
|
11055
|
-
var payload =
|
|
11444
|
+
builder.addCase(getDrivingcategoriesAll.fulfilled, function (state, _ref779) {
|
|
11445
|
+
var payload = _ref779.payload;
|
|
11056
11446
|
state.drivingcategoriesAll = payload;
|
|
11057
11447
|
});
|
|
11448
|
+
builder.addCase(getWorkModes.fulfilled, function (state, _ref780) {
|
|
11449
|
+
var payload = _ref780.payload;
|
|
11450
|
+
state.workModes = payload;
|
|
11451
|
+
});
|
|
11452
|
+
builder.addCase(getWorkModesAll.fulfilled, function (state, _ref781) {
|
|
11453
|
+
var payload = _ref781.payload;
|
|
11454
|
+
state.workModesAll = payload;
|
|
11455
|
+
});
|
|
11456
|
+
builder.addCase(getVehicleCategories.fulfilled, function (state, _ref782) {
|
|
11457
|
+
var payload = _ref782.payload;
|
|
11458
|
+
state.vehicleCategories = payload;
|
|
11459
|
+
});
|
|
11460
|
+
builder.addCase(getVehicleCategoriesAll.fulfilled, function (state, _ref783) {
|
|
11461
|
+
var payload = _ref783.payload;
|
|
11462
|
+
state.vehicleCategoriesAll = payload;
|
|
11463
|
+
});
|
|
11058
11464
|
}
|
|
11059
11465
|
});
|
|
11060
11466
|
var setPage = questionnaire.actions.setPage;
|