@banch0u/core-project-test-repository 1.9.4 → 1.9.5
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 +18 -2
- package/dist/pages/Questionnnaires/QuestionnairesContractcurrenciesContent/constant.js +58 -0
- package/dist/pages/Questionnnaires/QuestionnairesContractcurrenciesContent/index.js +250 -0
- package/dist/pages/Questionnnaires/QuestionnairesContracttypesContent/constant.js +64 -0
- package/dist/pages/Questionnnaires/QuestionnairesContracttypesContent/index.js +251 -0
- package/dist/pages/Questionnnaires/QuestionnairesContragenttypesContent/constant.js +64 -0
- package/dist/pages/Questionnnaires/QuestionnairesContragenttypesContent/index.js +278 -0
- package/dist/pages/Questionnnaires/QuestionnairesOrdersContent/constant.js +58 -0
- package/dist/pages/Questionnnaires/QuestionnairesOrdersContent/index.js +250 -0
- package/dist/routes/QuestionnaireRoutes.js +29 -1
- package/dist/store/slices/global/index.js +27 -3
- package/dist/store/slices/questionnaire/index.js +1030 -213
- package/dist/store/slices/questionnaire/service.js +475 -0
- package/dist/utils/path.js +9 -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 } 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 } from "../global";
|
|
6
6
|
import { errorMessage } from "../../../utils/message";
|
|
7
7
|
var initialState = {
|
|
8
8
|
questionnaires: []
|
|
@@ -9643,7 +9643,7 @@ export var drivingcategoriesVisibility = createAsyncThunk("/drivingcategoriesVis
|
|
|
9643
9643
|
return _ref588.apply(this, arguments);
|
|
9644
9644
|
};
|
|
9645
9645
|
}());
|
|
9646
|
-
export var
|
|
9646
|
+
export var getContractcurrencies = createAsyncThunk("/getContractcurrencies", /*#__PURE__*/function () {
|
|
9647
9647
|
var _ref590 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee295(data, _ref589) {
|
|
9648
9648
|
var dispatch, _response$data31, response, _error$response115;
|
|
9649
9649
|
return _regeneratorRuntime.wrap(function _callee295$(_context295) {
|
|
@@ -9653,7 +9653,7 @@ export var getEmployeeConfigurations = createAsyncThunk("/getEmployeeConfigurati
|
|
|
9653
9653
|
_context295.prev = 1;
|
|
9654
9654
|
dispatch(setLoading(true));
|
|
9655
9655
|
_context295.next = 5;
|
|
9656
|
-
return Services.
|
|
9656
|
+
return Services.getContractcurrencies(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);
|
|
9657
9657
|
case 5:
|
|
9658
9658
|
response = _context295.sent;
|
|
9659
9659
|
dispatch(setLoading(false));
|
|
@@ -9673,7 +9673,7 @@ export var getEmployeeConfigurations = createAsyncThunk("/getEmployeeConfigurati
|
|
|
9673
9673
|
return _ref590.apply(this, arguments);
|
|
9674
9674
|
};
|
|
9675
9675
|
}());
|
|
9676
|
-
export var
|
|
9676
|
+
export var getContractcurrenciesAll = createAsyncThunk("/getContractcurrenciesAll", /*#__PURE__*/function () {
|
|
9677
9677
|
var _ref592 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee296(visibility, _ref591) {
|
|
9678
9678
|
var dispatch, _response$data32, response, _error$response116;
|
|
9679
9679
|
return _regeneratorRuntime.wrap(function _callee296$(_context296) {
|
|
@@ -9683,7 +9683,7 @@ export var getEmployeeConfigurationsAll = createAsyncThunk("/getEmployeeConfigur
|
|
|
9683
9683
|
_context296.prev = 1;
|
|
9684
9684
|
dispatch(setLoading(true));
|
|
9685
9685
|
_context296.next = 5;
|
|
9686
|
-
return Services.
|
|
9686
|
+
return Services.getContractcurrenciesAll(visibility);
|
|
9687
9687
|
case 5:
|
|
9688
9688
|
response = _context296.sent;
|
|
9689
9689
|
dispatch(setLoading(false));
|
|
@@ -9703,7 +9703,7 @@ export var getEmployeeConfigurationsAll = createAsyncThunk("/getEmployeeConfigur
|
|
|
9703
9703
|
return _ref592.apply(this, arguments);
|
|
9704
9704
|
};
|
|
9705
9705
|
}());
|
|
9706
|
-
export var
|
|
9706
|
+
export var addContractcurrencies = createAsyncThunk("/addContractcurrencies", /*#__PURE__*/function () {
|
|
9707
9707
|
var _ref594 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee297(data, _ref593) {
|
|
9708
9708
|
var dispatch, _error$response117;
|
|
9709
9709
|
return _regeneratorRuntime.wrap(function _callee297$(_context297) {
|
|
@@ -9713,11 +9713,11 @@ export var addEmployeeConfigurations = createAsyncThunk("/addEmployeeConfigurati
|
|
|
9713
9713
|
_context297.prev = 1;
|
|
9714
9714
|
dispatch(setLoading(true));
|
|
9715
9715
|
_context297.next = 5;
|
|
9716
|
-
return Services.
|
|
9716
|
+
return Services.addContractcurrencies(data);
|
|
9717
9717
|
case 5:
|
|
9718
9718
|
dispatch(setLoading(false));
|
|
9719
9719
|
dispatch(setViewModalVisible(true));
|
|
9720
|
-
dispatch(
|
|
9720
|
+
dispatch(setContractcurrenciesRender(function (prev) {
|
|
9721
9721
|
return !prev;
|
|
9722
9722
|
}));
|
|
9723
9723
|
_context297.next = 14;
|
|
@@ -9737,7 +9737,7 @@ export var addEmployeeConfigurations = createAsyncThunk("/addEmployeeConfigurati
|
|
|
9737
9737
|
return _ref594.apply(this, arguments);
|
|
9738
9738
|
};
|
|
9739
9739
|
}());
|
|
9740
|
-
export var
|
|
9740
|
+
export var editContractcurrencies = createAsyncThunk("/editContractcurrencies", /*#__PURE__*/function () {
|
|
9741
9741
|
var _ref596 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee298(data, _ref595) {
|
|
9742
9742
|
var dispatch, response, _error$response118;
|
|
9743
9743
|
return _regeneratorRuntime.wrap(function _callee298$(_context298) {
|
|
@@ -9747,11 +9747,11 @@ export var editEmployeeConfigurations = createAsyncThunk("/editEmployeeConfigura
|
|
|
9747
9747
|
_context298.prev = 1;
|
|
9748
9748
|
dispatch(setLoading(true));
|
|
9749
9749
|
_context298.next = 5;
|
|
9750
|
-
return Services.
|
|
9750
|
+
return Services.editContractcurrencies(data);
|
|
9751
9751
|
case 5:
|
|
9752
9752
|
response = _context298.sent;
|
|
9753
9753
|
dispatch(setLoading(false));
|
|
9754
|
-
dispatch(
|
|
9754
|
+
dispatch(setContractcurrenciesRender(function (prev) {
|
|
9755
9755
|
return !prev;
|
|
9756
9756
|
}));
|
|
9757
9757
|
return _context298.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9770,7 +9770,7 @@ export var editEmployeeConfigurations = createAsyncThunk("/editEmployeeConfigura
|
|
|
9770
9770
|
return _ref596.apply(this, arguments);
|
|
9771
9771
|
};
|
|
9772
9772
|
}());
|
|
9773
|
-
export var
|
|
9773
|
+
export var deleteContractcurrencies = createAsyncThunk("/deleteContractcurrencies", /*#__PURE__*/function () {
|
|
9774
9774
|
var _ref598 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee299(id, _ref597) {
|
|
9775
9775
|
var dispatch, _error$response119;
|
|
9776
9776
|
return _regeneratorRuntime.wrap(function _callee299$(_context299) {
|
|
@@ -9780,11 +9780,11 @@ export var deleteEmployeeConfigurations = createAsyncThunk("/deleteEmployeeConfi
|
|
|
9780
9780
|
_context299.prev = 1;
|
|
9781
9781
|
dispatch(setLoading(true));
|
|
9782
9782
|
_context299.next = 5;
|
|
9783
|
-
return Services.
|
|
9783
|
+
return Services.deleteContractcurrencies(id);
|
|
9784
9784
|
case 5:
|
|
9785
9785
|
dispatch(setLoading(false));
|
|
9786
9786
|
dispatch(setDeleteModalVisible(false));
|
|
9787
|
-
dispatch(
|
|
9787
|
+
dispatch(setContractcurrenciesRender(function (prev) {
|
|
9788
9788
|
return !prev;
|
|
9789
9789
|
}));
|
|
9790
9790
|
_context299.next = 15;
|
|
@@ -9805,7 +9805,7 @@ export var deleteEmployeeConfigurations = createAsyncThunk("/deleteEmployeeConfi
|
|
|
9805
9805
|
return _ref598.apply(this, arguments);
|
|
9806
9806
|
};
|
|
9807
9807
|
}());
|
|
9808
|
-
export var
|
|
9808
|
+
export var contractcurrenciesVisibility = createAsyncThunk("/contractcurrenciesVisibility", /*#__PURE__*/function () {
|
|
9809
9809
|
var _ref600 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee300(data, _ref599) {
|
|
9810
9810
|
var dispatch, response, _error$response120;
|
|
9811
9811
|
return _regeneratorRuntime.wrap(function _callee300$(_context300) {
|
|
@@ -9815,11 +9815,11 @@ export var employeeConfigurationsVisibility = createAsyncThunk("/employeeConfigu
|
|
|
9815
9815
|
_context300.prev = 1;
|
|
9816
9816
|
dispatch(setLoading(true));
|
|
9817
9817
|
_context300.next = 5;
|
|
9818
|
-
return Services.
|
|
9818
|
+
return Services.contractcurrenciesVisibility(data);
|
|
9819
9819
|
case 5:
|
|
9820
9820
|
response = _context300.sent;
|
|
9821
9821
|
dispatch(setLoading(false));
|
|
9822
|
-
dispatch(
|
|
9822
|
+
dispatch(setContractcurrenciesRender(function (prev) {
|
|
9823
9823
|
return !prev;
|
|
9824
9824
|
}));
|
|
9825
9825
|
return _context300.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9838,402 +9838,1219 @@ export var employeeConfigurationsVisibility = createAsyncThunk("/employeeConfigu
|
|
|
9838
9838
|
return _ref600.apply(this, arguments);
|
|
9839
9839
|
};
|
|
9840
9840
|
}());
|
|
9841
|
+
|
|
9842
|
+
// Orders
|
|
9843
|
+
|
|
9844
|
+
export var getOrders = createAsyncThunk("/getOrders", /*#__PURE__*/function () {
|
|
9845
|
+
var _ref602 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee301(data, _ref601) {
|
|
9846
|
+
var dispatch, _response$data33, response, _error$response121;
|
|
9847
|
+
return _regeneratorRuntime.wrap(function _callee301$(_context301) {
|
|
9848
|
+
while (1) switch (_context301.prev = _context301.next) {
|
|
9849
|
+
case 0:
|
|
9850
|
+
dispatch = _ref601.dispatch;
|
|
9851
|
+
_context301.prev = 1;
|
|
9852
|
+
dispatch(setLoading(true));
|
|
9853
|
+
_context301.next = 5;
|
|
9854
|
+
return Services.getOrders(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);
|
|
9855
|
+
case 5:
|
|
9856
|
+
response = _context301.sent;
|
|
9857
|
+
dispatch(setLoading(false));
|
|
9858
|
+
return _context301.abrupt("return", response === null || response === void 0 || (_response$data33 = response.data) === null || _response$data33 === void 0 ? void 0 : _response$data33.data);
|
|
9859
|
+
case 10:
|
|
9860
|
+
_context301.prev = 10;
|
|
9861
|
+
_context301.t0 = _context301["catch"](1);
|
|
9862
|
+
errorMessage((_error$response121 = _context301.t0.response) === null || _error$response121 === void 0 || (_error$response121 = _error$response121.data) === null || _error$response121 === void 0 ? void 0 : _error$response121.message);
|
|
9863
|
+
dispatch(setLoading(false));
|
|
9864
|
+
case 14:
|
|
9865
|
+
case "end":
|
|
9866
|
+
return _context301.stop();
|
|
9867
|
+
}
|
|
9868
|
+
}, _callee301, null, [[1, 10]]);
|
|
9869
|
+
}));
|
|
9870
|
+
return function (_x601, _x602) {
|
|
9871
|
+
return _ref602.apply(this, arguments);
|
|
9872
|
+
};
|
|
9873
|
+
}());
|
|
9874
|
+
export var getOrdersAll = createAsyncThunk("/getOrdersAll", /*#__PURE__*/function () {
|
|
9875
|
+
var _ref604 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee302(visibility, _ref603) {
|
|
9876
|
+
var dispatch, _response$data34, response, _error$response122;
|
|
9877
|
+
return _regeneratorRuntime.wrap(function _callee302$(_context302) {
|
|
9878
|
+
while (1) switch (_context302.prev = _context302.next) {
|
|
9879
|
+
case 0:
|
|
9880
|
+
dispatch = _ref603.dispatch;
|
|
9881
|
+
_context302.prev = 1;
|
|
9882
|
+
dispatch(setLoading(true));
|
|
9883
|
+
_context302.next = 5;
|
|
9884
|
+
return Services.getOrdersAll(visibility);
|
|
9885
|
+
case 5:
|
|
9886
|
+
response = _context302.sent;
|
|
9887
|
+
dispatch(setLoading(false));
|
|
9888
|
+
return _context302.abrupt("return", response === null || response === void 0 || (_response$data34 = response.data) === null || _response$data34 === void 0 ? void 0 : _response$data34.data);
|
|
9889
|
+
case 10:
|
|
9890
|
+
_context302.prev = 10;
|
|
9891
|
+
_context302.t0 = _context302["catch"](1);
|
|
9892
|
+
errorMessage((_error$response122 = _context302.t0.response) === null || _error$response122 === void 0 || (_error$response122 = _error$response122.data) === null || _error$response122 === void 0 ? void 0 : _error$response122.message);
|
|
9893
|
+
dispatch(setLoading(false));
|
|
9894
|
+
case 14:
|
|
9895
|
+
case "end":
|
|
9896
|
+
return _context302.stop();
|
|
9897
|
+
}
|
|
9898
|
+
}, _callee302, null, [[1, 10]]);
|
|
9899
|
+
}));
|
|
9900
|
+
return function (_x603, _x604) {
|
|
9901
|
+
return _ref604.apply(this, arguments);
|
|
9902
|
+
};
|
|
9903
|
+
}());
|
|
9904
|
+
export var addOrders = createAsyncThunk("/addOrders", /*#__PURE__*/function () {
|
|
9905
|
+
var _ref606 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee303(data, _ref605) {
|
|
9906
|
+
var dispatch, _error$response123;
|
|
9907
|
+
return _regeneratorRuntime.wrap(function _callee303$(_context303) {
|
|
9908
|
+
while (1) switch (_context303.prev = _context303.next) {
|
|
9909
|
+
case 0:
|
|
9910
|
+
dispatch = _ref605.dispatch;
|
|
9911
|
+
_context303.prev = 1;
|
|
9912
|
+
dispatch(setLoading(true));
|
|
9913
|
+
_context303.next = 5;
|
|
9914
|
+
return Services.addOrders(data);
|
|
9915
|
+
case 5:
|
|
9916
|
+
dispatch(setLoading(false));
|
|
9917
|
+
dispatch(setViewModalVisible(true));
|
|
9918
|
+
dispatch(setOrdersRender(function (prev) {
|
|
9919
|
+
return !prev;
|
|
9920
|
+
}));
|
|
9921
|
+
_context303.next = 14;
|
|
9922
|
+
break;
|
|
9923
|
+
case 10:
|
|
9924
|
+
_context303.prev = 10;
|
|
9925
|
+
_context303.t0 = _context303["catch"](1);
|
|
9926
|
+
errorMessage((_error$response123 = _context303.t0.response) === null || _error$response123 === void 0 || (_error$response123 = _error$response123.data) === null || _error$response123 === void 0 ? void 0 : _error$response123.message);
|
|
9927
|
+
dispatch(setLoading(false));
|
|
9928
|
+
case 14:
|
|
9929
|
+
case "end":
|
|
9930
|
+
return _context303.stop();
|
|
9931
|
+
}
|
|
9932
|
+
}, _callee303, null, [[1, 10]]);
|
|
9933
|
+
}));
|
|
9934
|
+
return function (_x605, _x606) {
|
|
9935
|
+
return _ref606.apply(this, arguments);
|
|
9936
|
+
};
|
|
9937
|
+
}());
|
|
9938
|
+
export var editOrders = createAsyncThunk("/editOrders", /*#__PURE__*/function () {
|
|
9939
|
+
var _ref608 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee304(data, _ref607) {
|
|
9940
|
+
var dispatch, response, _error$response124;
|
|
9941
|
+
return _regeneratorRuntime.wrap(function _callee304$(_context304) {
|
|
9942
|
+
while (1) switch (_context304.prev = _context304.next) {
|
|
9943
|
+
case 0:
|
|
9944
|
+
dispatch = _ref607.dispatch;
|
|
9945
|
+
_context304.prev = 1;
|
|
9946
|
+
dispatch(setLoading(true));
|
|
9947
|
+
_context304.next = 5;
|
|
9948
|
+
return Services.editOrders(data);
|
|
9949
|
+
case 5:
|
|
9950
|
+
response = _context304.sent;
|
|
9951
|
+
dispatch(setLoading(false));
|
|
9952
|
+
dispatch(setOrdersRender(function (prev) {
|
|
9953
|
+
return !prev;
|
|
9954
|
+
}));
|
|
9955
|
+
return _context304.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
9956
|
+
case 11:
|
|
9957
|
+
_context304.prev = 11;
|
|
9958
|
+
_context304.t0 = _context304["catch"](1);
|
|
9959
|
+
errorMessage((_error$response124 = _context304.t0.response) === null || _error$response124 === void 0 || (_error$response124 = _error$response124.data) === null || _error$response124 === void 0 ? void 0 : _error$response124.message);
|
|
9960
|
+
dispatch(setLoading(false));
|
|
9961
|
+
case 15:
|
|
9962
|
+
case "end":
|
|
9963
|
+
return _context304.stop();
|
|
9964
|
+
}
|
|
9965
|
+
}, _callee304, null, [[1, 11]]);
|
|
9966
|
+
}));
|
|
9967
|
+
return function (_x607, _x608) {
|
|
9968
|
+
return _ref608.apply(this, arguments);
|
|
9969
|
+
};
|
|
9970
|
+
}());
|
|
9971
|
+
export var deleteOrders = createAsyncThunk("/deleteOrders", /*#__PURE__*/function () {
|
|
9972
|
+
var _ref610 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee305(id, _ref609) {
|
|
9973
|
+
var dispatch, _error$response125;
|
|
9974
|
+
return _regeneratorRuntime.wrap(function _callee305$(_context305) {
|
|
9975
|
+
while (1) switch (_context305.prev = _context305.next) {
|
|
9976
|
+
case 0:
|
|
9977
|
+
dispatch = _ref609.dispatch;
|
|
9978
|
+
_context305.prev = 1;
|
|
9979
|
+
dispatch(setLoading(true));
|
|
9980
|
+
_context305.next = 5;
|
|
9981
|
+
return Services.deleteOrders(id);
|
|
9982
|
+
case 5:
|
|
9983
|
+
dispatch(setLoading(false));
|
|
9984
|
+
dispatch(setDeleteModalVisible(false));
|
|
9985
|
+
dispatch(setOrdersRender(function (prev) {
|
|
9986
|
+
return !prev;
|
|
9987
|
+
}));
|
|
9988
|
+
_context305.next = 15;
|
|
9989
|
+
break;
|
|
9990
|
+
case 10:
|
|
9991
|
+
_context305.prev = 10;
|
|
9992
|
+
_context305.t0 = _context305["catch"](1);
|
|
9993
|
+
dispatch(setDeleteModalVisible(false));
|
|
9994
|
+
errorMessage((_error$response125 = _context305.t0.response) === null || _error$response125 === void 0 || (_error$response125 = _error$response125.data) === null || _error$response125 === void 0 ? void 0 : _error$response125.message);
|
|
9995
|
+
dispatch(setLoading(false));
|
|
9996
|
+
case 15:
|
|
9997
|
+
case "end":
|
|
9998
|
+
return _context305.stop();
|
|
9999
|
+
}
|
|
10000
|
+
}, _callee305, null, [[1, 10]]);
|
|
10001
|
+
}));
|
|
10002
|
+
return function (_x609, _x610) {
|
|
10003
|
+
return _ref610.apply(this, arguments);
|
|
10004
|
+
};
|
|
10005
|
+
}());
|
|
10006
|
+
export var ordersVisibility = createAsyncThunk("/ordersVisibility", /*#__PURE__*/function () {
|
|
10007
|
+
var _ref612 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee306(data, _ref611) {
|
|
10008
|
+
var dispatch, response, _error$response126;
|
|
10009
|
+
return _regeneratorRuntime.wrap(function _callee306$(_context306) {
|
|
10010
|
+
while (1) switch (_context306.prev = _context306.next) {
|
|
10011
|
+
case 0:
|
|
10012
|
+
dispatch = _ref611.dispatch;
|
|
10013
|
+
_context306.prev = 1;
|
|
10014
|
+
dispatch(setLoading(true));
|
|
10015
|
+
_context306.next = 5;
|
|
10016
|
+
return Services.ordersVisibility(data);
|
|
10017
|
+
case 5:
|
|
10018
|
+
response = _context306.sent;
|
|
10019
|
+
dispatch(setLoading(false));
|
|
10020
|
+
dispatch(setOrdersRender(function (prev) {
|
|
10021
|
+
return !prev;
|
|
10022
|
+
}));
|
|
10023
|
+
return _context306.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10024
|
+
case 11:
|
|
10025
|
+
_context306.prev = 11;
|
|
10026
|
+
_context306.t0 = _context306["catch"](1);
|
|
10027
|
+
errorMessage((_error$response126 = _context306.t0.response) === null || _error$response126 === void 0 || (_error$response126 = _error$response126.data) === null || _error$response126 === void 0 ? void 0 : _error$response126.message);
|
|
10028
|
+
dispatch(setLoading(false));
|
|
10029
|
+
case 15:
|
|
10030
|
+
case "end":
|
|
10031
|
+
return _context306.stop();
|
|
10032
|
+
}
|
|
10033
|
+
}, _callee306, null, [[1, 11]]);
|
|
10034
|
+
}));
|
|
10035
|
+
return function (_x611, _x612) {
|
|
10036
|
+
return _ref612.apply(this, arguments);
|
|
10037
|
+
};
|
|
10038
|
+
}());
|
|
10039
|
+
export var getContragenttypes = createAsyncThunk("/getContragenttypes", /*#__PURE__*/function () {
|
|
10040
|
+
var _ref614 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee307(data, _ref613) {
|
|
10041
|
+
var dispatch, _response$data35, response, _error$response127;
|
|
10042
|
+
return _regeneratorRuntime.wrap(function _callee307$(_context307) {
|
|
10043
|
+
while (1) switch (_context307.prev = _context307.next) {
|
|
10044
|
+
case 0:
|
|
10045
|
+
dispatch = _ref613.dispatch;
|
|
10046
|
+
_context307.prev = 1;
|
|
10047
|
+
dispatch(setLoading(true));
|
|
10048
|
+
_context307.next = 5;
|
|
10049
|
+
return Services.getContragenttypes(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);
|
|
10050
|
+
case 5:
|
|
10051
|
+
response = _context307.sent;
|
|
10052
|
+
dispatch(setLoading(false));
|
|
10053
|
+
return _context307.abrupt("return", response === null || response === void 0 || (_response$data35 = response.data) === null || _response$data35 === void 0 ? void 0 : _response$data35.data);
|
|
10054
|
+
case 10:
|
|
10055
|
+
_context307.prev = 10;
|
|
10056
|
+
_context307.t0 = _context307["catch"](1);
|
|
10057
|
+
errorMessage((_error$response127 = _context307.t0.response) === null || _error$response127 === void 0 || (_error$response127 = _error$response127.data) === null || _error$response127 === void 0 ? void 0 : _error$response127.message);
|
|
10058
|
+
dispatch(setLoading(false));
|
|
10059
|
+
case 14:
|
|
10060
|
+
case "end":
|
|
10061
|
+
return _context307.stop();
|
|
10062
|
+
}
|
|
10063
|
+
}, _callee307, null, [[1, 10]]);
|
|
10064
|
+
}));
|
|
10065
|
+
return function (_x613, _x614) {
|
|
10066
|
+
return _ref614.apply(this, arguments);
|
|
10067
|
+
};
|
|
10068
|
+
}());
|
|
10069
|
+
export var getContragenttypesAll = createAsyncThunk("/getContragenttypesAll", /*#__PURE__*/function () {
|
|
10070
|
+
var _ref616 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee308(visibility, _ref615) {
|
|
10071
|
+
var dispatch, _response$data36, response, _error$response128;
|
|
10072
|
+
return _regeneratorRuntime.wrap(function _callee308$(_context308) {
|
|
10073
|
+
while (1) switch (_context308.prev = _context308.next) {
|
|
10074
|
+
case 0:
|
|
10075
|
+
dispatch = _ref615.dispatch;
|
|
10076
|
+
_context308.prev = 1;
|
|
10077
|
+
dispatch(setLoading(true));
|
|
10078
|
+
_context308.next = 5;
|
|
10079
|
+
return Services.getContragenttypesAll(visibility);
|
|
10080
|
+
case 5:
|
|
10081
|
+
response = _context308.sent;
|
|
10082
|
+
dispatch(setLoading(false));
|
|
10083
|
+
return _context308.abrupt("return", response === null || response === void 0 || (_response$data36 = response.data) === null || _response$data36 === void 0 ? void 0 : _response$data36.data);
|
|
10084
|
+
case 10:
|
|
10085
|
+
_context308.prev = 10;
|
|
10086
|
+
_context308.t0 = _context308["catch"](1);
|
|
10087
|
+
errorMessage((_error$response128 = _context308.t0.response) === null || _error$response128 === void 0 || (_error$response128 = _error$response128.data) === null || _error$response128 === void 0 ? void 0 : _error$response128.message);
|
|
10088
|
+
dispatch(setLoading(false));
|
|
10089
|
+
case 14:
|
|
10090
|
+
case "end":
|
|
10091
|
+
return _context308.stop();
|
|
10092
|
+
}
|
|
10093
|
+
}, _callee308, null, [[1, 10]]);
|
|
10094
|
+
}));
|
|
10095
|
+
return function (_x615, _x616) {
|
|
10096
|
+
return _ref616.apply(this, arguments);
|
|
10097
|
+
};
|
|
10098
|
+
}());
|
|
10099
|
+
export var addContragenttypes = createAsyncThunk("/addContragenttypes", /*#__PURE__*/function () {
|
|
10100
|
+
var _ref618 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee309(data, _ref617) {
|
|
10101
|
+
var dispatch, _error$response129;
|
|
10102
|
+
return _regeneratorRuntime.wrap(function _callee309$(_context309) {
|
|
10103
|
+
while (1) switch (_context309.prev = _context309.next) {
|
|
10104
|
+
case 0:
|
|
10105
|
+
dispatch = _ref617.dispatch;
|
|
10106
|
+
_context309.prev = 1;
|
|
10107
|
+
dispatch(setLoading(true));
|
|
10108
|
+
_context309.next = 5;
|
|
10109
|
+
return Services.addContragenttypes(data);
|
|
10110
|
+
case 5:
|
|
10111
|
+
dispatch(setLoading(false));
|
|
10112
|
+
dispatch(setViewModalVisible(true));
|
|
10113
|
+
dispatch(setContragenttypesRender(function (prev) {
|
|
10114
|
+
return !prev;
|
|
10115
|
+
}));
|
|
10116
|
+
_context309.next = 14;
|
|
10117
|
+
break;
|
|
10118
|
+
case 10:
|
|
10119
|
+
_context309.prev = 10;
|
|
10120
|
+
_context309.t0 = _context309["catch"](1);
|
|
10121
|
+
errorMessage((_error$response129 = _context309.t0.response) === null || _error$response129 === void 0 || (_error$response129 = _error$response129.data) === null || _error$response129 === void 0 ? void 0 : _error$response129.message);
|
|
10122
|
+
dispatch(setLoading(false));
|
|
10123
|
+
case 14:
|
|
10124
|
+
case "end":
|
|
10125
|
+
return _context309.stop();
|
|
10126
|
+
}
|
|
10127
|
+
}, _callee309, null, [[1, 10]]);
|
|
10128
|
+
}));
|
|
10129
|
+
return function (_x617, _x618) {
|
|
10130
|
+
return _ref618.apply(this, arguments);
|
|
10131
|
+
};
|
|
10132
|
+
}());
|
|
10133
|
+
export var editContragenttypes = createAsyncThunk("/editContragenttypes", /*#__PURE__*/function () {
|
|
10134
|
+
var _ref620 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee310(data, _ref619) {
|
|
10135
|
+
var dispatch, response, _error$response130;
|
|
10136
|
+
return _regeneratorRuntime.wrap(function _callee310$(_context310) {
|
|
10137
|
+
while (1) switch (_context310.prev = _context310.next) {
|
|
10138
|
+
case 0:
|
|
10139
|
+
dispatch = _ref619.dispatch;
|
|
10140
|
+
_context310.prev = 1;
|
|
10141
|
+
dispatch(setLoading(true));
|
|
10142
|
+
_context310.next = 5;
|
|
10143
|
+
return Services.editContragenttypes(data);
|
|
10144
|
+
case 5:
|
|
10145
|
+
response = _context310.sent;
|
|
10146
|
+
dispatch(setLoading(false));
|
|
10147
|
+
dispatch(setContragenttypesRender(function (prev) {
|
|
10148
|
+
return !prev;
|
|
10149
|
+
}));
|
|
10150
|
+
return _context310.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10151
|
+
case 11:
|
|
10152
|
+
_context310.prev = 11;
|
|
10153
|
+
_context310.t0 = _context310["catch"](1);
|
|
10154
|
+
errorMessage((_error$response130 = _context310.t0.response) === null || _error$response130 === void 0 || (_error$response130 = _error$response130.data) === null || _error$response130 === void 0 ? void 0 : _error$response130.message);
|
|
10155
|
+
dispatch(setLoading(false));
|
|
10156
|
+
case 15:
|
|
10157
|
+
case "end":
|
|
10158
|
+
return _context310.stop();
|
|
10159
|
+
}
|
|
10160
|
+
}, _callee310, null, [[1, 11]]);
|
|
10161
|
+
}));
|
|
10162
|
+
return function (_x619, _x620) {
|
|
10163
|
+
return _ref620.apply(this, arguments);
|
|
10164
|
+
};
|
|
10165
|
+
}());
|
|
10166
|
+
export var deleteContragenttypes = createAsyncThunk("/deleteContragenttypes", /*#__PURE__*/function () {
|
|
10167
|
+
var _ref622 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee311(id, _ref621) {
|
|
10168
|
+
var dispatch, _error$response131;
|
|
10169
|
+
return _regeneratorRuntime.wrap(function _callee311$(_context311) {
|
|
10170
|
+
while (1) switch (_context311.prev = _context311.next) {
|
|
10171
|
+
case 0:
|
|
10172
|
+
dispatch = _ref621.dispatch;
|
|
10173
|
+
_context311.prev = 1;
|
|
10174
|
+
dispatch(setLoading(true));
|
|
10175
|
+
_context311.next = 5;
|
|
10176
|
+
return Services.deleteContragenttypes(id);
|
|
10177
|
+
case 5:
|
|
10178
|
+
dispatch(setLoading(false));
|
|
10179
|
+
dispatch(setDeleteModalVisible(false));
|
|
10180
|
+
dispatch(setContragenttypesRender(function (prev) {
|
|
10181
|
+
return !prev;
|
|
10182
|
+
}));
|
|
10183
|
+
_context311.next = 15;
|
|
10184
|
+
break;
|
|
10185
|
+
case 10:
|
|
10186
|
+
_context311.prev = 10;
|
|
10187
|
+
_context311.t0 = _context311["catch"](1);
|
|
10188
|
+
dispatch(setDeleteModalVisible(false));
|
|
10189
|
+
errorMessage((_error$response131 = _context311.t0.response) === null || _error$response131 === void 0 || (_error$response131 = _error$response131.data) === null || _error$response131 === void 0 ? void 0 : _error$response131.message);
|
|
10190
|
+
dispatch(setLoading(false));
|
|
10191
|
+
case 15:
|
|
10192
|
+
case "end":
|
|
10193
|
+
return _context311.stop();
|
|
10194
|
+
}
|
|
10195
|
+
}, _callee311, null, [[1, 10]]);
|
|
10196
|
+
}));
|
|
10197
|
+
return function (_x621, _x622) {
|
|
10198
|
+
return _ref622.apply(this, arguments);
|
|
10199
|
+
};
|
|
10200
|
+
}());
|
|
10201
|
+
export var contragenttypesVisibility = createAsyncThunk("/contragenttypesVisibility", /*#__PURE__*/function () {
|
|
10202
|
+
var _ref624 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee312(data, _ref623) {
|
|
10203
|
+
var dispatch, response, _error$response132;
|
|
10204
|
+
return _regeneratorRuntime.wrap(function _callee312$(_context312) {
|
|
10205
|
+
while (1) switch (_context312.prev = _context312.next) {
|
|
10206
|
+
case 0:
|
|
10207
|
+
dispatch = _ref623.dispatch;
|
|
10208
|
+
_context312.prev = 1;
|
|
10209
|
+
dispatch(setLoading(true));
|
|
10210
|
+
_context312.next = 5;
|
|
10211
|
+
return Services.contragenttypesVisibility(data);
|
|
10212
|
+
case 5:
|
|
10213
|
+
response = _context312.sent;
|
|
10214
|
+
dispatch(setLoading(false));
|
|
10215
|
+
dispatch(setContragenttypesRender(function (prev) {
|
|
10216
|
+
return !prev;
|
|
10217
|
+
}));
|
|
10218
|
+
return _context312.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10219
|
+
case 11:
|
|
10220
|
+
_context312.prev = 11;
|
|
10221
|
+
_context312.t0 = _context312["catch"](1);
|
|
10222
|
+
errorMessage((_error$response132 = _context312.t0.response) === null || _error$response132 === void 0 || (_error$response132 = _error$response132.data) === null || _error$response132 === void 0 ? void 0 : _error$response132.message);
|
|
10223
|
+
dispatch(setLoading(false));
|
|
10224
|
+
case 15:
|
|
10225
|
+
case "end":
|
|
10226
|
+
return _context312.stop();
|
|
10227
|
+
}
|
|
10228
|
+
}, _callee312, null, [[1, 11]]);
|
|
10229
|
+
}));
|
|
10230
|
+
return function (_x623, _x624) {
|
|
10231
|
+
return _ref624.apply(this, arguments);
|
|
10232
|
+
};
|
|
10233
|
+
}());
|
|
10234
|
+
|
|
10235
|
+
// Contracttypes
|
|
10236
|
+
export var getContracttypes = createAsyncThunk("/getContracttypes", /*#__PURE__*/function () {
|
|
10237
|
+
var _ref626 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee313(data, _ref625) {
|
|
10238
|
+
var dispatch, _response$data37, response, _error$response133;
|
|
10239
|
+
return _regeneratorRuntime.wrap(function _callee313$(_context313) {
|
|
10240
|
+
while (1) switch (_context313.prev = _context313.next) {
|
|
10241
|
+
case 0:
|
|
10242
|
+
dispatch = _ref625.dispatch;
|
|
10243
|
+
_context313.prev = 1;
|
|
10244
|
+
dispatch(setLoading(true));
|
|
10245
|
+
_context313.next = 5;
|
|
10246
|
+
return Services.getContracttypes(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);
|
|
10247
|
+
case 5:
|
|
10248
|
+
response = _context313.sent;
|
|
10249
|
+
dispatch(setLoading(false));
|
|
10250
|
+
return _context313.abrupt("return", response === null || response === void 0 || (_response$data37 = response.data) === null || _response$data37 === void 0 ? void 0 : _response$data37.data);
|
|
10251
|
+
case 10:
|
|
10252
|
+
_context313.prev = 10;
|
|
10253
|
+
_context313.t0 = _context313["catch"](1);
|
|
10254
|
+
errorMessage((_error$response133 = _context313.t0.response) === null || _error$response133 === void 0 || (_error$response133 = _error$response133.data) === null || _error$response133 === void 0 ? void 0 : _error$response133.message);
|
|
10255
|
+
dispatch(setLoading(false));
|
|
10256
|
+
case 14:
|
|
10257
|
+
case "end":
|
|
10258
|
+
return _context313.stop();
|
|
10259
|
+
}
|
|
10260
|
+
}, _callee313, null, [[1, 10]]);
|
|
10261
|
+
}));
|
|
10262
|
+
return function (_x625, _x626) {
|
|
10263
|
+
return _ref626.apply(this, arguments);
|
|
10264
|
+
};
|
|
10265
|
+
}());
|
|
10266
|
+
export var getContracttypesAll = createAsyncThunk("/getContracttypesAll", /*#__PURE__*/function () {
|
|
10267
|
+
var _ref628 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee314(visibility, _ref627) {
|
|
10268
|
+
var dispatch, _response$data38, response, _error$response134;
|
|
10269
|
+
return _regeneratorRuntime.wrap(function _callee314$(_context314) {
|
|
10270
|
+
while (1) switch (_context314.prev = _context314.next) {
|
|
10271
|
+
case 0:
|
|
10272
|
+
dispatch = _ref627.dispatch;
|
|
10273
|
+
_context314.prev = 1;
|
|
10274
|
+
dispatch(setLoading(true));
|
|
10275
|
+
_context314.next = 5;
|
|
10276
|
+
return Services.getContracttypesAll(visibility);
|
|
10277
|
+
case 5:
|
|
10278
|
+
response = _context314.sent;
|
|
10279
|
+
dispatch(setLoading(false));
|
|
10280
|
+
return _context314.abrupt("return", response === null || response === void 0 || (_response$data38 = response.data) === null || _response$data38 === void 0 ? void 0 : _response$data38.data);
|
|
10281
|
+
case 10:
|
|
10282
|
+
_context314.prev = 10;
|
|
10283
|
+
_context314.t0 = _context314["catch"](1);
|
|
10284
|
+
errorMessage((_error$response134 = _context314.t0.response) === null || _error$response134 === void 0 || (_error$response134 = _error$response134.data) === null || _error$response134 === void 0 ? void 0 : _error$response134.message);
|
|
10285
|
+
dispatch(setLoading(false));
|
|
10286
|
+
case 14:
|
|
10287
|
+
case "end":
|
|
10288
|
+
return _context314.stop();
|
|
10289
|
+
}
|
|
10290
|
+
}, _callee314, null, [[1, 10]]);
|
|
10291
|
+
}));
|
|
10292
|
+
return function (_x627, _x628) {
|
|
10293
|
+
return _ref628.apply(this, arguments);
|
|
10294
|
+
};
|
|
10295
|
+
}());
|
|
10296
|
+
export var addContracttypes = createAsyncThunk("/addContracttypes", /*#__PURE__*/function () {
|
|
10297
|
+
var _ref630 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee315(data, _ref629) {
|
|
10298
|
+
var dispatch, _error$response135;
|
|
10299
|
+
return _regeneratorRuntime.wrap(function _callee315$(_context315) {
|
|
10300
|
+
while (1) switch (_context315.prev = _context315.next) {
|
|
10301
|
+
case 0:
|
|
10302
|
+
dispatch = _ref629.dispatch;
|
|
10303
|
+
_context315.prev = 1;
|
|
10304
|
+
dispatch(setLoading(true));
|
|
10305
|
+
_context315.next = 5;
|
|
10306
|
+
return Services.addContracttypes(data);
|
|
10307
|
+
case 5:
|
|
10308
|
+
dispatch(setLoading(false));
|
|
10309
|
+
dispatch(setViewModalVisible(true));
|
|
10310
|
+
dispatch(setContracttypesRender(function (prev) {
|
|
10311
|
+
return !prev;
|
|
10312
|
+
}));
|
|
10313
|
+
_context315.next = 14;
|
|
10314
|
+
break;
|
|
10315
|
+
case 10:
|
|
10316
|
+
_context315.prev = 10;
|
|
10317
|
+
_context315.t0 = _context315["catch"](1);
|
|
10318
|
+
errorMessage((_error$response135 = _context315.t0.response) === null || _error$response135 === void 0 || (_error$response135 = _error$response135.data) === null || _error$response135 === void 0 ? void 0 : _error$response135.message);
|
|
10319
|
+
dispatch(setLoading(false));
|
|
10320
|
+
case 14:
|
|
10321
|
+
case "end":
|
|
10322
|
+
return _context315.stop();
|
|
10323
|
+
}
|
|
10324
|
+
}, _callee315, null, [[1, 10]]);
|
|
10325
|
+
}));
|
|
10326
|
+
return function (_x629, _x630) {
|
|
10327
|
+
return _ref630.apply(this, arguments);
|
|
10328
|
+
};
|
|
10329
|
+
}());
|
|
10330
|
+
export var editContracttypes = createAsyncThunk("/editContracttypes", /*#__PURE__*/function () {
|
|
10331
|
+
var _ref632 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee316(data, _ref631) {
|
|
10332
|
+
var dispatch, response, _error$response136;
|
|
10333
|
+
return _regeneratorRuntime.wrap(function _callee316$(_context316) {
|
|
10334
|
+
while (1) switch (_context316.prev = _context316.next) {
|
|
10335
|
+
case 0:
|
|
10336
|
+
dispatch = _ref631.dispatch;
|
|
10337
|
+
_context316.prev = 1;
|
|
10338
|
+
dispatch(setLoading(true));
|
|
10339
|
+
_context316.next = 5;
|
|
10340
|
+
return Services.editContracttypes(data);
|
|
10341
|
+
case 5:
|
|
10342
|
+
response = _context316.sent;
|
|
10343
|
+
dispatch(setLoading(false));
|
|
10344
|
+
dispatch(setContracttypesRender(function (prev) {
|
|
10345
|
+
return !prev;
|
|
10346
|
+
}));
|
|
10347
|
+
return _context316.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10348
|
+
case 11:
|
|
10349
|
+
_context316.prev = 11;
|
|
10350
|
+
_context316.t0 = _context316["catch"](1);
|
|
10351
|
+
errorMessage((_error$response136 = _context316.t0.response) === null || _error$response136 === void 0 || (_error$response136 = _error$response136.data) === null || _error$response136 === void 0 ? void 0 : _error$response136.message);
|
|
10352
|
+
dispatch(setLoading(false));
|
|
10353
|
+
case 15:
|
|
10354
|
+
case "end":
|
|
10355
|
+
return _context316.stop();
|
|
10356
|
+
}
|
|
10357
|
+
}, _callee316, null, [[1, 11]]);
|
|
10358
|
+
}));
|
|
10359
|
+
return function (_x631, _x632) {
|
|
10360
|
+
return _ref632.apply(this, arguments);
|
|
10361
|
+
};
|
|
10362
|
+
}());
|
|
10363
|
+
export var deleteContracttypes = createAsyncThunk("/deleteContracttypes", /*#__PURE__*/function () {
|
|
10364
|
+
var _ref634 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee317(id, _ref633) {
|
|
10365
|
+
var dispatch, _error$response137;
|
|
10366
|
+
return _regeneratorRuntime.wrap(function _callee317$(_context317) {
|
|
10367
|
+
while (1) switch (_context317.prev = _context317.next) {
|
|
10368
|
+
case 0:
|
|
10369
|
+
dispatch = _ref633.dispatch;
|
|
10370
|
+
_context317.prev = 1;
|
|
10371
|
+
dispatch(setLoading(true));
|
|
10372
|
+
_context317.next = 5;
|
|
10373
|
+
return Services.deleteContracttypes(id);
|
|
10374
|
+
case 5:
|
|
10375
|
+
dispatch(setLoading(false));
|
|
10376
|
+
dispatch(setDeleteModalVisible(false));
|
|
10377
|
+
dispatch(setContracttypesRender(function (prev) {
|
|
10378
|
+
return !prev;
|
|
10379
|
+
}));
|
|
10380
|
+
_context317.next = 15;
|
|
10381
|
+
break;
|
|
10382
|
+
case 10:
|
|
10383
|
+
_context317.prev = 10;
|
|
10384
|
+
_context317.t0 = _context317["catch"](1);
|
|
10385
|
+
dispatch(setDeleteModalVisible(false));
|
|
10386
|
+
errorMessage((_error$response137 = _context317.t0.response) === null || _error$response137 === void 0 || (_error$response137 = _error$response137.data) === null || _error$response137 === void 0 ? void 0 : _error$response137.message);
|
|
10387
|
+
dispatch(setLoading(false));
|
|
10388
|
+
case 15:
|
|
10389
|
+
case "end":
|
|
10390
|
+
return _context317.stop();
|
|
10391
|
+
}
|
|
10392
|
+
}, _callee317, null, [[1, 10]]);
|
|
10393
|
+
}));
|
|
10394
|
+
return function (_x633, _x634) {
|
|
10395
|
+
return _ref634.apply(this, arguments);
|
|
10396
|
+
};
|
|
10397
|
+
}());
|
|
10398
|
+
export var contracttypesVisibility = createAsyncThunk("/contracttypesVisibility", /*#__PURE__*/function () {
|
|
10399
|
+
var _ref636 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee318(data, _ref635) {
|
|
10400
|
+
var dispatch, response, _error$response138;
|
|
10401
|
+
return _regeneratorRuntime.wrap(function _callee318$(_context318) {
|
|
10402
|
+
while (1) switch (_context318.prev = _context318.next) {
|
|
10403
|
+
case 0:
|
|
10404
|
+
dispatch = _ref635.dispatch;
|
|
10405
|
+
_context318.prev = 1;
|
|
10406
|
+
dispatch(setLoading(true));
|
|
10407
|
+
_context318.next = 5;
|
|
10408
|
+
return Services.contracttypesVisibility(data);
|
|
10409
|
+
case 5:
|
|
10410
|
+
response = _context318.sent;
|
|
10411
|
+
dispatch(setLoading(false));
|
|
10412
|
+
dispatch(setContracttypesRender(function (prev) {
|
|
10413
|
+
return !prev;
|
|
10414
|
+
}));
|
|
10415
|
+
return _context318.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10416
|
+
case 11:
|
|
10417
|
+
_context318.prev = 11;
|
|
10418
|
+
_context318.t0 = _context318["catch"](1);
|
|
10419
|
+
errorMessage((_error$response138 = _context318.t0.response) === null || _error$response138 === void 0 || (_error$response138 = _error$response138.data) === null || _error$response138 === void 0 ? void 0 : _error$response138.message);
|
|
10420
|
+
dispatch(setLoading(false));
|
|
10421
|
+
case 15:
|
|
10422
|
+
case "end":
|
|
10423
|
+
return _context318.stop();
|
|
10424
|
+
}
|
|
10425
|
+
}, _callee318, null, [[1, 11]]);
|
|
10426
|
+
}));
|
|
10427
|
+
return function (_x635, _x636) {
|
|
10428
|
+
return _ref636.apply(this, arguments);
|
|
10429
|
+
};
|
|
10430
|
+
}());
|
|
10431
|
+
export var getEmployeeConfigurations = createAsyncThunk("/getEmployeeConfigurations", /*#__PURE__*/function () {
|
|
10432
|
+
var _ref638 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee319(data, _ref637) {
|
|
10433
|
+
var dispatch, _response$data39, response, _error$response139;
|
|
10434
|
+
return _regeneratorRuntime.wrap(function _callee319$(_context319) {
|
|
10435
|
+
while (1) switch (_context319.prev = _context319.next) {
|
|
10436
|
+
case 0:
|
|
10437
|
+
dispatch = _ref637.dispatch;
|
|
10438
|
+
_context319.prev = 1;
|
|
10439
|
+
dispatch(setLoading(true));
|
|
10440
|
+
_context319.next = 5;
|
|
10441
|
+
return Services.getEmployeeConfigurations(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);
|
|
10442
|
+
case 5:
|
|
10443
|
+
response = _context319.sent;
|
|
10444
|
+
dispatch(setLoading(false));
|
|
10445
|
+
return _context319.abrupt("return", response === null || response === void 0 || (_response$data39 = response.data) === null || _response$data39 === void 0 ? void 0 : _response$data39.data);
|
|
10446
|
+
case 10:
|
|
10447
|
+
_context319.prev = 10;
|
|
10448
|
+
_context319.t0 = _context319["catch"](1);
|
|
10449
|
+
errorMessage((_error$response139 = _context319.t0.response) === null || _error$response139 === void 0 || (_error$response139 = _error$response139.data) === null || _error$response139 === void 0 ? void 0 : _error$response139.message);
|
|
10450
|
+
dispatch(setLoading(false));
|
|
10451
|
+
case 14:
|
|
10452
|
+
case "end":
|
|
10453
|
+
return _context319.stop();
|
|
10454
|
+
}
|
|
10455
|
+
}, _callee319, null, [[1, 10]]);
|
|
10456
|
+
}));
|
|
10457
|
+
return function (_x637, _x638) {
|
|
10458
|
+
return _ref638.apply(this, arguments);
|
|
10459
|
+
};
|
|
10460
|
+
}());
|
|
10461
|
+
export var getEmployeeConfigurationsAll = createAsyncThunk("/getEmployeeConfigurationsAll", /*#__PURE__*/function () {
|
|
10462
|
+
var _ref640 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee320(visibility, _ref639) {
|
|
10463
|
+
var dispatch, _response$data40, response, _error$response140;
|
|
10464
|
+
return _regeneratorRuntime.wrap(function _callee320$(_context320) {
|
|
10465
|
+
while (1) switch (_context320.prev = _context320.next) {
|
|
10466
|
+
case 0:
|
|
10467
|
+
dispatch = _ref639.dispatch;
|
|
10468
|
+
_context320.prev = 1;
|
|
10469
|
+
dispatch(setLoading(true));
|
|
10470
|
+
_context320.next = 5;
|
|
10471
|
+
return Services.getEmployeeConfigurationsAll(visibility);
|
|
10472
|
+
case 5:
|
|
10473
|
+
response = _context320.sent;
|
|
10474
|
+
dispatch(setLoading(false));
|
|
10475
|
+
return _context320.abrupt("return", response === null || response === void 0 || (_response$data40 = response.data) === null || _response$data40 === void 0 ? void 0 : _response$data40.data);
|
|
10476
|
+
case 10:
|
|
10477
|
+
_context320.prev = 10;
|
|
10478
|
+
_context320.t0 = _context320["catch"](1);
|
|
10479
|
+
errorMessage((_error$response140 = _context320.t0.response) === null || _error$response140 === void 0 || (_error$response140 = _error$response140.data) === null || _error$response140 === void 0 ? void 0 : _error$response140.message);
|
|
10480
|
+
dispatch(setLoading(false));
|
|
10481
|
+
case 14:
|
|
10482
|
+
case "end":
|
|
10483
|
+
return _context320.stop();
|
|
10484
|
+
}
|
|
10485
|
+
}, _callee320, null, [[1, 10]]);
|
|
10486
|
+
}));
|
|
10487
|
+
return function (_x639, _x640) {
|
|
10488
|
+
return _ref640.apply(this, arguments);
|
|
10489
|
+
};
|
|
10490
|
+
}());
|
|
10491
|
+
export var addEmployeeConfigurations = createAsyncThunk("/addEmployeeConfigurations", /*#__PURE__*/function () {
|
|
10492
|
+
var _ref642 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee321(data, _ref641) {
|
|
10493
|
+
var dispatch, _error$response141;
|
|
10494
|
+
return _regeneratorRuntime.wrap(function _callee321$(_context321) {
|
|
10495
|
+
while (1) switch (_context321.prev = _context321.next) {
|
|
10496
|
+
case 0:
|
|
10497
|
+
dispatch = _ref641.dispatch;
|
|
10498
|
+
_context321.prev = 1;
|
|
10499
|
+
dispatch(setLoading(true));
|
|
10500
|
+
_context321.next = 5;
|
|
10501
|
+
return Services.addEmployeeConfigurations(data);
|
|
10502
|
+
case 5:
|
|
10503
|
+
dispatch(setLoading(false));
|
|
10504
|
+
dispatch(setViewModalVisible(true));
|
|
10505
|
+
dispatch(setEmployeeConfigurationsRender(function (prev) {
|
|
10506
|
+
return !prev;
|
|
10507
|
+
}));
|
|
10508
|
+
_context321.next = 14;
|
|
10509
|
+
break;
|
|
10510
|
+
case 10:
|
|
10511
|
+
_context321.prev = 10;
|
|
10512
|
+
_context321.t0 = _context321["catch"](1);
|
|
10513
|
+
errorMessage((_error$response141 = _context321.t0.response) === null || _error$response141 === void 0 || (_error$response141 = _error$response141.data) === null || _error$response141 === void 0 ? void 0 : _error$response141.message);
|
|
10514
|
+
dispatch(setLoading(false));
|
|
10515
|
+
case 14:
|
|
10516
|
+
case "end":
|
|
10517
|
+
return _context321.stop();
|
|
10518
|
+
}
|
|
10519
|
+
}, _callee321, null, [[1, 10]]);
|
|
10520
|
+
}));
|
|
10521
|
+
return function (_x641, _x642) {
|
|
10522
|
+
return _ref642.apply(this, arguments);
|
|
10523
|
+
};
|
|
10524
|
+
}());
|
|
10525
|
+
export var editEmployeeConfigurations = createAsyncThunk("/editEmployeeConfigurations", /*#__PURE__*/function () {
|
|
10526
|
+
var _ref644 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee322(data, _ref643) {
|
|
10527
|
+
var dispatch, response, _error$response142;
|
|
10528
|
+
return _regeneratorRuntime.wrap(function _callee322$(_context322) {
|
|
10529
|
+
while (1) switch (_context322.prev = _context322.next) {
|
|
10530
|
+
case 0:
|
|
10531
|
+
dispatch = _ref643.dispatch;
|
|
10532
|
+
_context322.prev = 1;
|
|
10533
|
+
dispatch(setLoading(true));
|
|
10534
|
+
_context322.next = 5;
|
|
10535
|
+
return Services.editEmployeeConfigurations(data);
|
|
10536
|
+
case 5:
|
|
10537
|
+
response = _context322.sent;
|
|
10538
|
+
dispatch(setLoading(false));
|
|
10539
|
+
dispatch(setEmployeeConfigurationsRender(function (prev) {
|
|
10540
|
+
return !prev;
|
|
10541
|
+
}));
|
|
10542
|
+
return _context322.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10543
|
+
case 11:
|
|
10544
|
+
_context322.prev = 11;
|
|
10545
|
+
_context322.t0 = _context322["catch"](1);
|
|
10546
|
+
errorMessage((_error$response142 = _context322.t0.response) === null || _error$response142 === void 0 || (_error$response142 = _error$response142.data) === null || _error$response142 === void 0 ? void 0 : _error$response142.message);
|
|
10547
|
+
dispatch(setLoading(false));
|
|
10548
|
+
case 15:
|
|
10549
|
+
case "end":
|
|
10550
|
+
return _context322.stop();
|
|
10551
|
+
}
|
|
10552
|
+
}, _callee322, null, [[1, 11]]);
|
|
10553
|
+
}));
|
|
10554
|
+
return function (_x643, _x644) {
|
|
10555
|
+
return _ref644.apply(this, arguments);
|
|
10556
|
+
};
|
|
10557
|
+
}());
|
|
10558
|
+
export var deleteEmployeeConfigurations = createAsyncThunk("/deleteEmployeeConfigurations", /*#__PURE__*/function () {
|
|
10559
|
+
var _ref646 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee323(id, _ref645) {
|
|
10560
|
+
var dispatch, _error$response143;
|
|
10561
|
+
return _regeneratorRuntime.wrap(function _callee323$(_context323) {
|
|
10562
|
+
while (1) switch (_context323.prev = _context323.next) {
|
|
10563
|
+
case 0:
|
|
10564
|
+
dispatch = _ref645.dispatch;
|
|
10565
|
+
_context323.prev = 1;
|
|
10566
|
+
dispatch(setLoading(true));
|
|
10567
|
+
_context323.next = 5;
|
|
10568
|
+
return Services.deleteEmployeeConfigurations(id);
|
|
10569
|
+
case 5:
|
|
10570
|
+
dispatch(setLoading(false));
|
|
10571
|
+
dispatch(setDeleteModalVisible(false));
|
|
10572
|
+
dispatch(setEmployeeConfigurationsRender(function (prev) {
|
|
10573
|
+
return !prev;
|
|
10574
|
+
}));
|
|
10575
|
+
_context323.next = 15;
|
|
10576
|
+
break;
|
|
10577
|
+
case 10:
|
|
10578
|
+
_context323.prev = 10;
|
|
10579
|
+
_context323.t0 = _context323["catch"](1);
|
|
10580
|
+
dispatch(setDeleteModalVisible(false));
|
|
10581
|
+
errorMessage((_error$response143 = _context323.t0.response) === null || _error$response143 === void 0 || (_error$response143 = _error$response143.data) === null || _error$response143 === void 0 ? void 0 : _error$response143.message);
|
|
10582
|
+
dispatch(setLoading(false));
|
|
10583
|
+
case 15:
|
|
10584
|
+
case "end":
|
|
10585
|
+
return _context323.stop();
|
|
10586
|
+
}
|
|
10587
|
+
}, _callee323, null, [[1, 10]]);
|
|
10588
|
+
}));
|
|
10589
|
+
return function (_x645, _x646) {
|
|
10590
|
+
return _ref646.apply(this, arguments);
|
|
10591
|
+
};
|
|
10592
|
+
}());
|
|
10593
|
+
export var employeeConfigurationsVisibility = createAsyncThunk("/employeeConfigurationsVisibility", /*#__PURE__*/function () {
|
|
10594
|
+
var _ref648 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee324(data, _ref647) {
|
|
10595
|
+
var dispatch, response, _error$response144;
|
|
10596
|
+
return _regeneratorRuntime.wrap(function _callee324$(_context324) {
|
|
10597
|
+
while (1) switch (_context324.prev = _context324.next) {
|
|
10598
|
+
case 0:
|
|
10599
|
+
dispatch = _ref647.dispatch;
|
|
10600
|
+
_context324.prev = 1;
|
|
10601
|
+
dispatch(setLoading(true));
|
|
10602
|
+
_context324.next = 5;
|
|
10603
|
+
return Services.employeeConfigurationsVisibility(data);
|
|
10604
|
+
case 5:
|
|
10605
|
+
response = _context324.sent;
|
|
10606
|
+
dispatch(setLoading(false));
|
|
10607
|
+
dispatch(setEmployeeConfigurationsRender(function (prev) {
|
|
10608
|
+
return !prev;
|
|
10609
|
+
}));
|
|
10610
|
+
return _context324.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
10611
|
+
case 11:
|
|
10612
|
+
_context324.prev = 11;
|
|
10613
|
+
_context324.t0 = _context324["catch"](1);
|
|
10614
|
+
errorMessage((_error$response144 = _context324.t0.response) === null || _error$response144 === void 0 || (_error$response144 = _error$response144.data) === null || _error$response144 === void 0 ? void 0 : _error$response144.message);
|
|
10615
|
+
dispatch(setLoading(false));
|
|
10616
|
+
case 15:
|
|
10617
|
+
case "end":
|
|
10618
|
+
return _context324.stop();
|
|
10619
|
+
}
|
|
10620
|
+
}, _callee324, null, [[1, 11]]);
|
|
10621
|
+
}));
|
|
10622
|
+
return function (_x647, _x648) {
|
|
10623
|
+
return _ref648.apply(this, arguments);
|
|
10624
|
+
};
|
|
10625
|
+
}());
|
|
9841
10626
|
export var questionnaire = createSlice({
|
|
9842
10627
|
name: "questionnaire",
|
|
9843
10628
|
initialState: initialState,
|
|
9844
10629
|
extraReducers: function extraReducers(builder) {
|
|
9845
|
-
builder.addCase(getTopics.fulfilled, function (state,
|
|
9846
|
-
var payload =
|
|
10630
|
+
builder.addCase(getTopics.fulfilled, function (state, _ref649) {
|
|
10631
|
+
var payload = _ref649.payload;
|
|
9847
10632
|
state.topics = payload;
|
|
9848
10633
|
});
|
|
9849
|
-
builder.addCase(getTopicsAll.fulfilled, function (state,
|
|
9850
|
-
var payload =
|
|
10634
|
+
builder.addCase(getTopicsAll.fulfilled, function (state, _ref650) {
|
|
10635
|
+
var payload = _ref650.payload;
|
|
9851
10636
|
state.topicsAll = payload;
|
|
9852
10637
|
});
|
|
9853
|
-
builder.addCase(getSubtopics.fulfilled, function (state,
|
|
9854
|
-
var payload =
|
|
10638
|
+
builder.addCase(getSubtopics.fulfilled, function (state, _ref651) {
|
|
10639
|
+
var payload = _ref651.payload;
|
|
9855
10640
|
state.subtopics = payload;
|
|
9856
10641
|
});
|
|
9857
|
-
builder.addCase(getSubtopicsAll.fulfilled, function (state,
|
|
9858
|
-
var payload =
|
|
10642
|
+
builder.addCase(getSubtopicsAll.fulfilled, function (state, _ref652) {
|
|
10643
|
+
var payload = _ref652.payload;
|
|
9859
10644
|
state.subtopicsAll = payload;
|
|
9860
10645
|
});
|
|
9861
|
-
builder.addCase(getExecutionRules.fulfilled, function (state,
|
|
9862
|
-
var payload =
|
|
10646
|
+
builder.addCase(getExecutionRules.fulfilled, function (state, _ref653) {
|
|
10647
|
+
var payload = _ref653.payload;
|
|
9863
10648
|
state.executionRules = payload;
|
|
9864
10649
|
});
|
|
9865
|
-
builder.addCase(getExecutionRulesAll.fulfilled, function (state,
|
|
9866
|
-
var payload =
|
|
10650
|
+
builder.addCase(getExecutionRulesAll.fulfilled, function (state, _ref654) {
|
|
10651
|
+
var payload = _ref654.payload;
|
|
9867
10652
|
state.executionRulesAll = payload;
|
|
9868
10653
|
});
|
|
9869
|
-
builder.addCase(getDocumentRecieveMethods.fulfilled, function (state,
|
|
9870
|
-
var payload =
|
|
10654
|
+
builder.addCase(getDocumentRecieveMethods.fulfilled, function (state, _ref655) {
|
|
10655
|
+
var payload = _ref655.payload;
|
|
9871
10656
|
state.documentRecieveMethods = payload;
|
|
9872
10657
|
});
|
|
9873
|
-
builder.addCase(getDocumentRecieveMethodsAll.fulfilled, function (state,
|
|
9874
|
-
var payload =
|
|
10658
|
+
builder.addCase(getDocumentRecieveMethodsAll.fulfilled, function (state, _ref656) {
|
|
10659
|
+
var payload = _ref656.payload;
|
|
9875
10660
|
state.documentRecieveMethodsAll = payload;
|
|
9876
10661
|
});
|
|
9877
|
-
builder.addCase(getDocumentTypes.fulfilled, function (state,
|
|
9878
|
-
var payload =
|
|
10662
|
+
builder.addCase(getDocumentTypes.fulfilled, function (state, _ref657) {
|
|
10663
|
+
var payload = _ref657.payload;
|
|
9879
10664
|
state.documentTypes = payload;
|
|
9880
10665
|
});
|
|
9881
|
-
builder.addCase(getDocumentTypesAllOne.fulfilled, function (state,
|
|
9882
|
-
var payload =
|
|
10666
|
+
builder.addCase(getDocumentTypesAllOne.fulfilled, function (state, _ref658) {
|
|
10667
|
+
var payload = _ref658.payload;
|
|
9883
10668
|
state.documentTypesAllOne = payload;
|
|
9884
10669
|
});
|
|
9885
|
-
builder.addCase(getDocumentTypesAllTwo.fulfilled, function (state,
|
|
9886
|
-
var payload =
|
|
10670
|
+
builder.addCase(getDocumentTypesAllTwo.fulfilled, function (state, _ref659) {
|
|
10671
|
+
var payload = _ref659.payload;
|
|
9887
10672
|
state.documentTypesAllTwo = payload;
|
|
9888
10673
|
});
|
|
9889
|
-
builder.addCase(getCountries.fulfilled, function (state,
|
|
9890
|
-
var payload =
|
|
10674
|
+
builder.addCase(getCountries.fulfilled, function (state, _ref660) {
|
|
10675
|
+
var payload = _ref660.payload;
|
|
9891
10676
|
state.countries = payload;
|
|
9892
10677
|
});
|
|
9893
|
-
builder.addCase(getCountriesAll.fulfilled, function (state,
|
|
9894
|
-
var payload =
|
|
10678
|
+
builder.addCase(getCountriesAll.fulfilled, function (state, _ref661) {
|
|
10679
|
+
var payload = _ref661.payload;
|
|
9895
10680
|
state.countriesAll = payload;
|
|
9896
10681
|
});
|
|
9897
|
-
builder.addCase(getOrganizations.fulfilled, function (state,
|
|
9898
|
-
var payload =
|
|
10682
|
+
builder.addCase(getOrganizations.fulfilled, function (state, _ref662) {
|
|
10683
|
+
var payload = _ref662.payload;
|
|
9899
10684
|
state.organizations = payload;
|
|
9900
10685
|
});
|
|
9901
|
-
builder.addCase(getStructures.fulfilled, function (state,
|
|
9902
|
-
var payload =
|
|
10686
|
+
builder.addCase(getStructures.fulfilled, function (state, _ref663) {
|
|
10687
|
+
var payload = _ref663.payload;
|
|
9903
10688
|
state.structures = payload;
|
|
9904
10689
|
});
|
|
9905
|
-
builder.addCase(getApplicationForms.fulfilled, function (state,
|
|
9906
|
-
var payload =
|
|
10690
|
+
builder.addCase(getApplicationForms.fulfilled, function (state, _ref664) {
|
|
10691
|
+
var payload = _ref664.payload;
|
|
9907
10692
|
state.applicationForms = payload;
|
|
9908
10693
|
});
|
|
9909
|
-
builder.addCase(getApplicationFormsAll.fulfilled, function (state,
|
|
9910
|
-
var payload =
|
|
10694
|
+
builder.addCase(getApplicationFormsAll.fulfilled, function (state, _ref665) {
|
|
10695
|
+
var payload = _ref665.payload;
|
|
9911
10696
|
state.applicationFormsAll = payload;
|
|
9912
10697
|
});
|
|
9913
|
-
builder.addCase(getDocumentWhom.fulfilled, function (state,
|
|
9914
|
-
var payload =
|
|
10698
|
+
builder.addCase(getDocumentWhom.fulfilled, function (state, _ref666) {
|
|
10699
|
+
var payload = _ref666.payload;
|
|
9915
10700
|
state.documentWhom = payload;
|
|
9916
10701
|
});
|
|
9917
|
-
builder.addCase(getDocumentWhomAll.fulfilled, function (state,
|
|
9918
|
-
var payload =
|
|
10702
|
+
builder.addCase(getDocumentWhomAll.fulfilled, function (state, _ref667) {
|
|
10703
|
+
var payload = _ref667.payload;
|
|
9919
10704
|
state.documentWhomAll = payload;
|
|
9920
10705
|
});
|
|
9921
|
-
builder.addCase(getMarginNoteText.fulfilled, function (state,
|
|
9922
|
-
var payload =
|
|
10706
|
+
builder.addCase(getMarginNoteText.fulfilled, function (state, _ref668) {
|
|
10707
|
+
var payload = _ref668.payload;
|
|
9923
10708
|
state.marginNoteText = payload;
|
|
9924
10709
|
});
|
|
9925
|
-
builder.addCase(getDeliveryMethod.fulfilled, function (state,
|
|
9926
|
-
var payload =
|
|
10710
|
+
builder.addCase(getDeliveryMethod.fulfilled, function (state, _ref669) {
|
|
10711
|
+
var payload = _ref669.payload;
|
|
9927
10712
|
state.deliveryMethod = payload;
|
|
9928
10713
|
});
|
|
9929
|
-
builder.addCase(getDeliveryMethodAll.fulfilled, function (state,
|
|
9930
|
-
var payload =
|
|
10714
|
+
builder.addCase(getDeliveryMethodAll.fulfilled, function (state, _ref670) {
|
|
10715
|
+
var payload = _ref670.payload;
|
|
9931
10716
|
state.deliveryMethodAll = payload;
|
|
9932
10717
|
});
|
|
9933
|
-
builder.addCase(getGeneralStructuresAll.fulfilled, function (state,
|
|
9934
|
-
var payload =
|
|
10718
|
+
builder.addCase(getGeneralStructuresAll.fulfilled, function (state, _ref671) {
|
|
10719
|
+
var payload = _ref671.payload;
|
|
9935
10720
|
state.generalStructuresAll = payload;
|
|
9936
10721
|
});
|
|
9937
|
-
builder.addCase(getBrands.fulfilled, function (state,
|
|
9938
|
-
var payload =
|
|
10722
|
+
builder.addCase(getBrands.fulfilled, function (state, _ref672) {
|
|
10723
|
+
var payload = _ref672.payload;
|
|
9939
10724
|
state.brands = payload;
|
|
9940
10725
|
});
|
|
9941
|
-
builder.addCase(getBrandsAll.fulfilled, function (state,
|
|
9942
|
-
var payload =
|
|
10726
|
+
builder.addCase(getBrandsAll.fulfilled, function (state, _ref673) {
|
|
10727
|
+
var payload = _ref673.payload;
|
|
9943
10728
|
state.brandsAll = payload;
|
|
9944
10729
|
});
|
|
9945
|
-
builder.addCase(getChassisTypes.fulfilled, function (state,
|
|
9946
|
-
var payload =
|
|
10730
|
+
builder.addCase(getChassisTypes.fulfilled, function (state, _ref674) {
|
|
10731
|
+
var payload = _ref674.payload;
|
|
9947
10732
|
state.chassisTypes = payload;
|
|
9948
10733
|
});
|
|
9949
|
-
builder.addCase(getChassisTypesAll.fulfilled, function (state,
|
|
9950
|
-
var payload =
|
|
10734
|
+
builder.addCase(getChassisTypesAll.fulfilled, function (state, _ref675) {
|
|
10735
|
+
var payload = _ref675.payload;
|
|
9951
10736
|
state.chassisTypesAll = payload;
|
|
9952
10737
|
});
|
|
9953
|
-
builder.addCase(getColor.fulfilled, function (state,
|
|
9954
|
-
var payload =
|
|
10738
|
+
builder.addCase(getColor.fulfilled, function (state, _ref676) {
|
|
10739
|
+
var payload = _ref676.payload;
|
|
9955
10740
|
state.color = payload;
|
|
9956
10741
|
});
|
|
9957
|
-
builder.addCase(getColorAll.fulfilled, function (state,
|
|
9958
|
-
var payload =
|
|
10742
|
+
builder.addCase(getColorAll.fulfilled, function (state, _ref677) {
|
|
10743
|
+
var payload = _ref677.payload;
|
|
9959
10744
|
state.colorAll = payload;
|
|
9960
10745
|
});
|
|
9961
|
-
builder.addCase(getEnginetype.fulfilled, function (state,
|
|
9962
|
-
var payload =
|
|
10746
|
+
builder.addCase(getEnginetype.fulfilled, function (state, _ref678) {
|
|
10747
|
+
var payload = _ref678.payload;
|
|
9963
10748
|
state.enginetype = payload;
|
|
9964
10749
|
});
|
|
9965
|
-
builder.addCase(getEnginetypeAll.fulfilled, function (state,
|
|
9966
|
-
var payload =
|
|
10750
|
+
builder.addCase(getEnginetypeAll.fulfilled, function (state, _ref679) {
|
|
10751
|
+
var payload = _ref679.payload;
|
|
9967
10752
|
state.enginetypeAll = payload;
|
|
9968
10753
|
});
|
|
9969
|
-
builder.addCase(getGearboxtype.fulfilled, function (state,
|
|
9970
|
-
var payload =
|
|
10754
|
+
builder.addCase(getGearboxtype.fulfilled, function (state, _ref680) {
|
|
10755
|
+
var payload = _ref680.payload;
|
|
9971
10756
|
state.gearboxtype = payload;
|
|
9972
10757
|
});
|
|
9973
|
-
builder.addCase(getGearboxtypeAll.fulfilled, function (state,
|
|
9974
|
-
var payload =
|
|
10758
|
+
builder.addCase(getGearboxtypeAll.fulfilled, function (state, _ref681) {
|
|
10759
|
+
var payload = _ref681.payload;
|
|
9975
10760
|
state.gearboxtypeAll = payload;
|
|
9976
10761
|
});
|
|
9977
|
-
builder.addCase(getIssuedauthoritie.fulfilled, function (state,
|
|
9978
|
-
var payload =
|
|
10762
|
+
builder.addCase(getIssuedauthoritie.fulfilled, function (state, _ref682) {
|
|
10763
|
+
var payload = _ref682.payload;
|
|
9979
10764
|
state.issuedauthoritie = payload;
|
|
9980
10765
|
});
|
|
9981
|
-
builder.addCase(getIssuedauthoritieAll.fulfilled, function (state,
|
|
9982
|
-
var payload =
|
|
10766
|
+
builder.addCase(getIssuedauthoritieAll.fulfilled, function (state, _ref683) {
|
|
10767
|
+
var payload = _ref683.payload;
|
|
9983
10768
|
state.issuedauthoritieAll = payload;
|
|
9984
10769
|
});
|
|
9985
|
-
builder.addCase(getModel.fulfilled, function (state,
|
|
9986
|
-
var payload =
|
|
10770
|
+
builder.addCase(getModel.fulfilled, function (state, _ref684) {
|
|
10771
|
+
var payload = _ref684.payload;
|
|
9987
10772
|
state.model = payload;
|
|
9988
10773
|
});
|
|
9989
|
-
builder.addCase(getModelAll.fulfilled, function (state,
|
|
9990
|
-
var payload =
|
|
10774
|
+
builder.addCase(getModelAll.fulfilled, function (state, _ref685) {
|
|
10775
|
+
var payload = _ref685.payload;
|
|
9991
10776
|
state.modelAll = payload;
|
|
9992
10777
|
});
|
|
9993
|
-
builder.addCase(getOwnershiptype.fulfilled, function (state,
|
|
9994
|
-
var payload =
|
|
10778
|
+
builder.addCase(getOwnershiptype.fulfilled, function (state, _ref686) {
|
|
10779
|
+
var payload = _ref686.payload;
|
|
9995
10780
|
state.ownershiptype = payload;
|
|
9996
10781
|
});
|
|
9997
|
-
builder.addCase(getOwnershiptypeAll.fulfilled, function (state,
|
|
9998
|
-
var payload =
|
|
10782
|
+
builder.addCase(getOwnershiptypeAll.fulfilled, function (state, _ref687) {
|
|
10783
|
+
var payload = _ref687.payload;
|
|
9999
10784
|
state.ownershiptypeAll = payload;
|
|
10000
10785
|
});
|
|
10001
|
-
builder.addCase(getOrganisationrecord.fulfilled, function (state,
|
|
10002
|
-
var payload =
|
|
10786
|
+
builder.addCase(getOrganisationrecord.fulfilled, function (state, _ref688) {
|
|
10787
|
+
var payload = _ref688.payload;
|
|
10003
10788
|
state.organisationrecord = payload;
|
|
10004
10789
|
});
|
|
10005
|
-
builder.addCase(getOrganisationrecordAll.fulfilled, function (state,
|
|
10006
|
-
var payload =
|
|
10790
|
+
builder.addCase(getOrganisationrecordAll.fulfilled, function (state, _ref689) {
|
|
10791
|
+
var payload = _ref689.payload;
|
|
10007
10792
|
state.organisationrecordAll = payload;
|
|
10008
10793
|
});
|
|
10009
|
-
builder.addCase(getTransmittertype.fulfilled, function (state,
|
|
10010
|
-
var payload =
|
|
10794
|
+
builder.addCase(getTransmittertype.fulfilled, function (state, _ref690) {
|
|
10795
|
+
var payload = _ref690.payload;
|
|
10011
10796
|
state.transmittertype = payload;
|
|
10012
10797
|
});
|
|
10013
|
-
builder.addCase(getTransmittertypeAll.fulfilled, function (state,
|
|
10014
|
-
var payload =
|
|
10798
|
+
builder.addCase(getTransmittertypeAll.fulfilled, function (state, _ref691) {
|
|
10799
|
+
var payload = _ref691.payload;
|
|
10015
10800
|
state.transmittertypeAll = payload;
|
|
10016
10801
|
});
|
|
10017
|
-
builder.addCase(getVehicle.fulfilled, function (state,
|
|
10018
|
-
var payload =
|
|
10802
|
+
builder.addCase(getVehicle.fulfilled, function (state, _ref692) {
|
|
10803
|
+
var payload = _ref692.payload;
|
|
10019
10804
|
state.vehicle = payload;
|
|
10020
10805
|
});
|
|
10021
|
-
builder.addCase(getVehicleAll.fulfilled, function (state,
|
|
10022
|
-
var payload =
|
|
10806
|
+
builder.addCase(getVehicleAll.fulfilled, function (state, _ref693) {
|
|
10807
|
+
var payload = _ref693.payload;
|
|
10023
10808
|
state.vehicleAll = payload;
|
|
10024
10809
|
});
|
|
10025
|
-
builder.addCase(getVehicletype.fulfilled, function (state,
|
|
10026
|
-
var payload =
|
|
10810
|
+
builder.addCase(getVehicletype.fulfilled, function (state, _ref694) {
|
|
10811
|
+
var payload = _ref694.payload;
|
|
10027
10812
|
state.vehicletype = payload;
|
|
10028
10813
|
});
|
|
10029
|
-
builder.addCase(getVehicletypeAll.fulfilled, function (state,
|
|
10030
|
-
var payload =
|
|
10814
|
+
builder.addCase(getVehicletypeAll.fulfilled, function (state, _ref695) {
|
|
10815
|
+
var payload = _ref695.payload;
|
|
10031
10816
|
state.vehicletypeAll = payload;
|
|
10032
10817
|
});
|
|
10033
|
-
builder.addCase(getVrc.fulfilled, function (state,
|
|
10034
|
-
var payload =
|
|
10818
|
+
builder.addCase(getVrc.fulfilled, function (state, _ref696) {
|
|
10819
|
+
var payload = _ref696.payload;
|
|
10035
10820
|
state.vrc = payload;
|
|
10036
10821
|
});
|
|
10037
|
-
builder.addCase(getVrcAll.fulfilled, function (state,
|
|
10038
|
-
var payload =
|
|
10822
|
+
builder.addCase(getVrcAll.fulfilled, function (state, _ref697) {
|
|
10823
|
+
var payload = _ref697.payload;
|
|
10039
10824
|
state.vrcAll = payload;
|
|
10040
10825
|
});
|
|
10041
|
-
builder.addCase(getAcademicdegrees.fulfilled, function (state,
|
|
10042
|
-
var payload =
|
|
10826
|
+
builder.addCase(getAcademicdegrees.fulfilled, function (state, _ref698) {
|
|
10827
|
+
var payload = _ref698.payload;
|
|
10043
10828
|
state.academicdegrees = payload;
|
|
10044
10829
|
});
|
|
10045
|
-
builder.addCase(getAcademicdegreesAll.fulfilled, function (state,
|
|
10046
|
-
var payload =
|
|
10830
|
+
builder.addCase(getAcademicdegreesAll.fulfilled, function (state, _ref699) {
|
|
10831
|
+
var payload = _ref699.payload;
|
|
10047
10832
|
state.academicdegreesAll = payload;
|
|
10048
10833
|
});
|
|
10049
|
-
builder.addCase(getDisabilitystatuses.fulfilled, function (state,
|
|
10050
|
-
var payload =
|
|
10834
|
+
builder.addCase(getDisabilitystatuses.fulfilled, function (state, _ref700) {
|
|
10835
|
+
var payload = _ref700.payload;
|
|
10051
10836
|
state.disabilitystatuses = payload;
|
|
10052
10837
|
});
|
|
10053
|
-
builder.addCase(getDisabilitystatusesAll.fulfilled, function (state,
|
|
10054
|
-
var payload =
|
|
10838
|
+
builder.addCase(getDisabilitystatusesAll.fulfilled, function (state, _ref701) {
|
|
10839
|
+
var payload = _ref701.payload;
|
|
10055
10840
|
state.disabilitystatusesAll = payload;
|
|
10056
10841
|
});
|
|
10057
|
-
builder.addCase(getHonorarytitles.fulfilled, function (state,
|
|
10058
|
-
var payload =
|
|
10842
|
+
builder.addCase(getHonorarytitles.fulfilled, function (state, _ref702) {
|
|
10843
|
+
var payload = _ref702.payload;
|
|
10059
10844
|
state.honorarytitles = payload;
|
|
10060
10845
|
});
|
|
10061
|
-
builder.addCase(getHonorarytitlesAll.fulfilled, function (state,
|
|
10062
|
-
var payload =
|
|
10846
|
+
builder.addCase(getHonorarytitlesAll.fulfilled, function (state, _ref703) {
|
|
10847
|
+
var payload = _ref703.payload;
|
|
10063
10848
|
state.honorarytitlesAll = payload;
|
|
10064
10849
|
});
|
|
10065
|
-
builder.addCase(getMilitarystaffs.fulfilled, function (state,
|
|
10066
|
-
var payload =
|
|
10850
|
+
builder.addCase(getMilitarystaffs.fulfilled, function (state, _ref704) {
|
|
10851
|
+
var payload = _ref704.payload;
|
|
10067
10852
|
state.militaryStaffs = payload;
|
|
10068
10853
|
});
|
|
10069
|
-
builder.addCase(getMilitarystaffsAll.fulfilled, function (state,
|
|
10070
|
-
var payload =
|
|
10854
|
+
builder.addCase(getMilitarystaffsAll.fulfilled, function (state, _ref705) {
|
|
10855
|
+
var payload = _ref705.payload;
|
|
10071
10856
|
state.militaryStaffsAll = payload;
|
|
10072
10857
|
});
|
|
10073
|
-
builder.addCase(getMilitarycategories.fulfilled, function (state,
|
|
10074
|
-
var payload =
|
|
10858
|
+
builder.addCase(getMilitarycategories.fulfilled, function (state, _ref706) {
|
|
10859
|
+
var payload = _ref706.payload;
|
|
10075
10860
|
state.militaryCategories = payload;
|
|
10076
10861
|
});
|
|
10077
|
-
builder.addCase(getMilitarycategoriesAll.fulfilled, function (state,
|
|
10078
|
-
var payload =
|
|
10862
|
+
builder.addCase(getMilitarycategoriesAll.fulfilled, function (state, _ref707) {
|
|
10863
|
+
var payload = _ref707.payload;
|
|
10079
10864
|
state.militaryCategoriesAll = payload;
|
|
10080
10865
|
});
|
|
10081
|
-
builder.addCase(getMilitaryranks.fulfilled, function (state,
|
|
10082
|
-
var payload =
|
|
10866
|
+
builder.addCase(getMilitaryranks.fulfilled, function (state, _ref708) {
|
|
10867
|
+
var payload = _ref708.payload;
|
|
10083
10868
|
state.militaryranks = payload;
|
|
10084
10869
|
});
|
|
10085
|
-
builder.addCase(getMilitaryranksAll.fulfilled, function (state,
|
|
10086
|
-
var payload =
|
|
10870
|
+
builder.addCase(getMilitaryranksAll.fulfilled, function (state, _ref709) {
|
|
10871
|
+
var payload = _ref709.payload;
|
|
10087
10872
|
state.militaryranksAll = payload;
|
|
10088
10873
|
});
|
|
10089
|
-
builder.addCase(getMilitarygroups.fulfilled, function (state,
|
|
10090
|
-
var payload =
|
|
10874
|
+
builder.addCase(getMilitarygroups.fulfilled, function (state, _ref710) {
|
|
10875
|
+
var payload = _ref710.payload;
|
|
10091
10876
|
state.militarygroups = payload;
|
|
10092
10877
|
});
|
|
10093
|
-
builder.addCase(getMilitarygroupsAll.fulfilled, function (state,
|
|
10094
|
-
var payload =
|
|
10878
|
+
builder.addCase(getMilitarygroupsAll.fulfilled, function (state, _ref711) {
|
|
10879
|
+
var payload = _ref711.payload;
|
|
10095
10880
|
state.militarygroupsAll = payload;
|
|
10096
10881
|
});
|
|
10097
|
-
builder.addCase(getGeneralstructurestatuses.fulfilled, function (state,
|
|
10098
|
-
var payload =
|
|
10882
|
+
builder.addCase(getGeneralstructurestatuses.fulfilled, function (state, _ref712) {
|
|
10883
|
+
var payload = _ref712.payload;
|
|
10099
10884
|
state.generalstructurestatuses = payload;
|
|
10100
10885
|
});
|
|
10101
|
-
builder.addCase(getGeneralstructurestatusesAll.fulfilled, function (state,
|
|
10102
|
-
var payload =
|
|
10886
|
+
builder.addCase(getGeneralstructurestatusesAll.fulfilled, function (state, _ref713) {
|
|
10887
|
+
var payload = _ref713.payload;
|
|
10103
10888
|
state.generalstructurestatusesAll = payload;
|
|
10104
10889
|
});
|
|
10105
|
-
builder.addCase(getWorkschedules.fulfilled, function (state,
|
|
10106
|
-
var payload =
|
|
10890
|
+
builder.addCase(getWorkschedules.fulfilled, function (state, _ref714) {
|
|
10891
|
+
var payload = _ref714.payload;
|
|
10107
10892
|
state.workschedules = payload;
|
|
10108
10893
|
});
|
|
10109
|
-
builder.addCase(getWorkschedulesAll.fulfilled, function (state,
|
|
10110
|
-
var payload =
|
|
10894
|
+
builder.addCase(getWorkschedulesAll.fulfilled, function (state, _ref715) {
|
|
10895
|
+
var payload = _ref715.payload;
|
|
10111
10896
|
state.workschedulesAll = payload;
|
|
10112
10897
|
});
|
|
10113
|
-
builder.addCase(getSpecializations.fulfilled, function (state,
|
|
10114
|
-
var payload =
|
|
10898
|
+
builder.addCase(getSpecializations.fulfilled, function (state, _ref716) {
|
|
10899
|
+
var payload = _ref716.payload;
|
|
10115
10900
|
state.specializations = payload;
|
|
10116
10901
|
});
|
|
10117
|
-
builder.addCase(getSpecializationsAll.fulfilled, function (state,
|
|
10118
|
-
var payload =
|
|
10902
|
+
builder.addCase(getSpecializationsAll.fulfilled, function (state, _ref717) {
|
|
10903
|
+
var payload = _ref717.payload;
|
|
10119
10904
|
state.specializationsAll = payload;
|
|
10120
10905
|
});
|
|
10121
|
-
builder.addCase(getWarparticipants.fulfilled, function (state,
|
|
10122
|
-
var payload =
|
|
10906
|
+
builder.addCase(getWarparticipants.fulfilled, function (state, _ref718) {
|
|
10907
|
+
var payload = _ref718.payload;
|
|
10123
10908
|
state.warparticipants = payload;
|
|
10124
10909
|
});
|
|
10125
|
-
builder.addCase(getWarparticipantsAll.fulfilled, function (state,
|
|
10126
|
-
var payload =
|
|
10910
|
+
builder.addCase(getWarparticipantsAll.fulfilled, function (state, _ref719) {
|
|
10911
|
+
var payload = _ref719.payload;
|
|
10127
10912
|
state.warparticipantsAll = payload;
|
|
10128
10913
|
});
|
|
10129
|
-
builder.addCase(getGeneralstructuretypes.fulfilled, function (state,
|
|
10130
|
-
var payload =
|
|
10914
|
+
builder.addCase(getGeneralstructuretypes.fulfilled, function (state, _ref720) {
|
|
10915
|
+
var payload = _ref720.payload;
|
|
10131
10916
|
state.generalstructuretypes = payload;
|
|
10132
10917
|
});
|
|
10133
|
-
builder.addCase(getGeneralstructuretypesAll.fulfilled, function (state,
|
|
10134
|
-
var payload =
|
|
10918
|
+
builder.addCase(getGeneralstructuretypesAll.fulfilled, function (state, _ref721) {
|
|
10919
|
+
var payload = _ref721.payload;
|
|
10135
10920
|
state.generalstructuretypesAll = payload;
|
|
10136
10921
|
});
|
|
10137
|
-
builder.addCase(getEducationinstitutions.fulfilled, function (state,
|
|
10138
|
-
var payload =
|
|
10922
|
+
builder.addCase(getEducationinstitutions.fulfilled, function (state, _ref722) {
|
|
10923
|
+
var payload = _ref722.payload;
|
|
10139
10924
|
state.educationinstitutions = payload;
|
|
10140
10925
|
});
|
|
10141
|
-
builder.addCase(getEducationinstitutionsAll.fulfilled, function (state,
|
|
10142
|
-
var payload =
|
|
10926
|
+
builder.addCase(getEducationinstitutionsAll.fulfilled, function (state, _ref723) {
|
|
10927
|
+
var payload = _ref723.payload;
|
|
10143
10928
|
state.educationinstitutionsAll = payload;
|
|
10144
10929
|
});
|
|
10145
|
-
builder.addCase(getEducationpayments.fulfilled, function (state,
|
|
10146
|
-
var payload =
|
|
10930
|
+
builder.addCase(getEducationpayments.fulfilled, function (state, _ref724) {
|
|
10931
|
+
var payload = _ref724.payload;
|
|
10147
10932
|
state.educationPayments = payload;
|
|
10148
10933
|
});
|
|
10149
|
-
builder.addCase(getEducationpaymentsAll.fulfilled, function (state,
|
|
10150
|
-
var payload =
|
|
10934
|
+
builder.addCase(getEducationpaymentsAll.fulfilled, function (state, _ref725) {
|
|
10935
|
+
var payload = _ref725.payload;
|
|
10151
10936
|
state.educationPaymentsAll = payload;
|
|
10152
10937
|
});
|
|
10153
|
-
builder.addCase(getEducationlevels.fulfilled, function (state,
|
|
10154
|
-
var payload =
|
|
10938
|
+
builder.addCase(getEducationlevels.fulfilled, function (state, _ref726) {
|
|
10939
|
+
var payload = _ref726.payload;
|
|
10155
10940
|
state.educationlevels = payload;
|
|
10156
10941
|
});
|
|
10157
|
-
builder.addCase(getEducationlevelsAll.fulfilled, function (state,
|
|
10158
|
-
var payload =
|
|
10942
|
+
builder.addCase(getEducationlevelsAll.fulfilled, function (state, _ref727) {
|
|
10943
|
+
var payload = _ref727.payload;
|
|
10159
10944
|
state.educationlevelsAll = payload;
|
|
10160
10945
|
});
|
|
10161
|
-
builder.addCase(getReprimandtypes.fulfilled, function (state,
|
|
10162
|
-
var payload =
|
|
10946
|
+
builder.addCase(getReprimandtypes.fulfilled, function (state, _ref728) {
|
|
10947
|
+
var payload = _ref728.payload;
|
|
10163
10948
|
state.reprimandTypes = payload;
|
|
10164
10949
|
});
|
|
10165
|
-
builder.addCase(getReprimandtypesAll.fulfilled, function (state,
|
|
10166
|
-
var payload =
|
|
10950
|
+
builder.addCase(getReprimandtypesAll.fulfilled, function (state, _ref729) {
|
|
10951
|
+
var payload = _ref729.payload;
|
|
10167
10952
|
state.reprimandTypesAll = payload;
|
|
10168
10953
|
});
|
|
10169
|
-
builder.addCase(getSpecialdays.fulfilled, function (state,
|
|
10170
|
-
var payload =
|
|
10954
|
+
builder.addCase(getSpecialdays.fulfilled, function (state, _ref730) {
|
|
10955
|
+
var payload = _ref730.payload;
|
|
10171
10956
|
state.specialdays = payload;
|
|
10172
10957
|
});
|
|
10173
|
-
builder.addCase(getSpecialdaysAll.fulfilled, function (state,
|
|
10174
|
-
var payload =
|
|
10958
|
+
builder.addCase(getSpecialdaysAll.fulfilled, function (state, _ref731) {
|
|
10959
|
+
var payload = _ref731.payload;
|
|
10175
10960
|
state.specialdaysAll = payload;
|
|
10176
10961
|
});
|
|
10177
|
-
builder.addCase(getCategories.fulfilled, function (state,
|
|
10178
|
-
var payload =
|
|
10962
|
+
builder.addCase(getCategories.fulfilled, function (state, _ref732) {
|
|
10963
|
+
var payload = _ref732.payload;
|
|
10179
10964
|
state.categories = payload;
|
|
10180
10965
|
});
|
|
10181
|
-
builder.addCase(getCategoriesAll.fulfilled, function (state,
|
|
10182
|
-
var payload =
|
|
10966
|
+
builder.addCase(getCategoriesAll.fulfilled, function (state, _ref733) {
|
|
10967
|
+
var payload = _ref733.payload;
|
|
10183
10968
|
state.categoriesAll = payload;
|
|
10184
10969
|
});
|
|
10185
|
-
builder.addCase(getRegions.fulfilled, function (state,
|
|
10186
|
-
var payload =
|
|
10970
|
+
builder.addCase(getRegions.fulfilled, function (state, _ref734) {
|
|
10971
|
+
var payload = _ref734.payload;
|
|
10187
10972
|
state.regions = payload;
|
|
10188
10973
|
});
|
|
10189
|
-
builder.addCase(getRegionsAll.fulfilled, function (state,
|
|
10190
|
-
var payload =
|
|
10974
|
+
builder.addCase(getRegionsAll.fulfilled, function (state, _ref735) {
|
|
10975
|
+
var payload = _ref735.payload;
|
|
10191
10976
|
state.regionsAll = payload;
|
|
10192
10977
|
});
|
|
10193
|
-
builder.addCase(getRegionsChildren.fulfilled, function (state,
|
|
10194
|
-
var payload =
|
|
10978
|
+
builder.addCase(getRegionsChildren.fulfilled, function (state, _ref736) {
|
|
10979
|
+
var payload = _ref736.payload;
|
|
10195
10980
|
state.regionChildren = payload;
|
|
10196
10981
|
});
|
|
10197
|
-
builder.addCase(getAreas.fulfilled, function (state,
|
|
10198
|
-
var payload =
|
|
10982
|
+
builder.addCase(getAreas.fulfilled, function (state, _ref737) {
|
|
10983
|
+
var payload = _ref737.payload;
|
|
10199
10984
|
state.areas = payload;
|
|
10200
10985
|
});
|
|
10201
|
-
builder.addCase(getAreasAll.fulfilled, function (state,
|
|
10202
|
-
var payload =
|
|
10986
|
+
builder.addCase(getAreasAll.fulfilled, function (state, _ref738) {
|
|
10987
|
+
var payload = _ref738.payload;
|
|
10203
10988
|
state.areasAll = payload;
|
|
10204
10989
|
});
|
|
10205
|
-
builder.addCase(getCompanies.fulfilled, function (state,
|
|
10206
|
-
var payload =
|
|
10990
|
+
builder.addCase(getCompanies.fulfilled, function (state, _ref739) {
|
|
10991
|
+
var payload = _ref739.payload;
|
|
10207
10992
|
state.companies = payload;
|
|
10208
10993
|
});
|
|
10209
|
-
builder.addCase(getCompaniesAll.fulfilled, function (state,
|
|
10210
|
-
var payload =
|
|
10994
|
+
builder.addCase(getCompaniesAll.fulfilled, function (state, _ref740) {
|
|
10995
|
+
var payload = _ref740.payload;
|
|
10211
10996
|
state.companiesAll = payload;
|
|
10212
10997
|
});
|
|
10213
|
-
builder.addCase(getPositions.fulfilled, function (state,
|
|
10214
|
-
var payload =
|
|
10998
|
+
builder.addCase(getPositions.fulfilled, function (state, _ref741) {
|
|
10999
|
+
var payload = _ref741.payload;
|
|
10215
11000
|
state.positions = payload;
|
|
10216
11001
|
});
|
|
10217
|
-
builder.addCase(getPositionsAll.fulfilled, function (state,
|
|
10218
|
-
var payload =
|
|
11002
|
+
builder.addCase(getPositionsAll.fulfilled, function (state, _ref742) {
|
|
11003
|
+
var payload = _ref742.payload;
|
|
10219
11004
|
state.positionsAll = payload;
|
|
10220
11005
|
});
|
|
10221
|
-
builder.addCase(getHalls.fulfilled, function (state,
|
|
10222
|
-
var payload =
|
|
11006
|
+
builder.addCase(getHalls.fulfilled, function (state, _ref743) {
|
|
11007
|
+
var payload = _ref743.payload;
|
|
10223
11008
|
state.halls = payload;
|
|
10224
11009
|
});
|
|
10225
|
-
builder.addCase(getHallsAll.fulfilled, function (state,
|
|
10226
|
-
var payload =
|
|
11010
|
+
builder.addCase(getHallsAll.fulfilled, function (state, _ref744) {
|
|
11011
|
+
var payload = _ref744.payload;
|
|
10227
11012
|
state.hallsAll = payload;
|
|
10228
11013
|
});
|
|
10229
|
-
builder.addCase(getEmployeeConfigurations.fulfilled, function (state,
|
|
10230
|
-
var payload =
|
|
11014
|
+
builder.addCase(getEmployeeConfigurations.fulfilled, function (state, _ref745) {
|
|
11015
|
+
var payload = _ref745.payload;
|
|
10231
11016
|
state.employeeConfigurations = payload;
|
|
10232
11017
|
});
|
|
10233
|
-
builder.addCase(getEmployeeConfigurationsAll.fulfilled, function (state,
|
|
10234
|
-
var payload =
|
|
11018
|
+
builder.addCase(getEmployeeConfigurationsAll.fulfilled, function (state, _ref746) {
|
|
11019
|
+
var payload = _ref746.payload;
|
|
10235
11020
|
state.employeeConfigurationsAll = payload;
|
|
10236
11021
|
});
|
|
11022
|
+
builder.addCase(getContragenttypes.fulfilled, function (state, _ref747) {
|
|
11023
|
+
var payload = _ref747.payload;
|
|
11024
|
+
state.contragenttypes = payload;
|
|
11025
|
+
});
|
|
11026
|
+
builder.addCase(getContragenttypesAll.fulfilled, function (state, _ref748) {
|
|
11027
|
+
var payload = _ref748.payload;
|
|
11028
|
+
state.contragenttypesAll = payload;
|
|
11029
|
+
});
|
|
11030
|
+
builder.addCase(getContracttypes.fulfilled, function (state, _ref749) {
|
|
11031
|
+
var payload = _ref749.payload;
|
|
11032
|
+
state.contracttypes = payload;
|
|
11033
|
+
});
|
|
11034
|
+
builder.addCase(getContracttypesAll.fulfilled, function (state, _ref750) {
|
|
11035
|
+
var payload = _ref750.payload;
|
|
11036
|
+
state.contracttypesAll = payload;
|
|
11037
|
+
});
|
|
11038
|
+
builder.addCase(getContractcurrencies.fulfilled, function (state, _ref751) {
|
|
11039
|
+
var payload = _ref751.payload;
|
|
11040
|
+
state.contractcurrencies = payload;
|
|
11041
|
+
});
|
|
11042
|
+
builder.addCase(getContractcurrenciesAll.fulfilled, function (state, _ref752) {
|
|
11043
|
+
var payload = _ref752.payload;
|
|
11044
|
+
state.contractcurrenciesAll = payload;
|
|
11045
|
+
});
|
|
11046
|
+
builder.addCase(getOrders.fulfilled, function (state, _ref753) {
|
|
11047
|
+
var payload = _ref753.payload;
|
|
11048
|
+
state.orders = payload;
|
|
11049
|
+
});
|
|
11050
|
+
builder.addCase(getOrdersAll.fulfilled, function (state, _ref754) {
|
|
11051
|
+
var payload = _ref754.payload;
|
|
11052
|
+
state.ordersAll = payload;
|
|
11053
|
+
});
|
|
10237
11054
|
}
|
|
10238
11055
|
});
|
|
10239
11056
|
var setPage = questionnaire.actions.setPage;
|