@banch0u/core-project-test-repository 2.1.2 → 2.1.3
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 +19 -3
- package/dist/pages/Questionnnaires/QuestionnairesContractTopicsContent/constant.js +58 -0
- package/dist/pages/Questionnnaires/QuestionnairesContractTopicsContent/index.js +247 -0
- package/dist/pages/Questionnnaires/QuestionnairesContractTypesSubtypesContent/constant.js +58 -0
- package/dist/pages/Questionnnaires/QuestionnairesContractTypesSubtypesContent/index.js +288 -0
- package/dist/pages/Questionnnaires/QuestionnairesVehicleTypesContent/index.js +1 -1
- package/dist/routes/QuestionnaireRoutes.js +13 -1
- package/dist/store/slices/global/index.js +154 -142
- package/dist/store/slices/questionnaire/index.js +695 -277
- package/dist/store/slices/questionnaire/service.js +256 -0
- package/dist/tools/questionnaireGenerator.js +55 -148
- package/dist/utils/path.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
|
+
import React from "react";
|
|
9
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
10
|
+
import Cookies from "js-cookie";
|
|
11
|
+
import style from "../Questionnaires.module.scss";
|
|
12
|
+
import { Form, Input, Layout, Select as AntdSelect } from "antd";
|
|
13
|
+
import { PlusIcon } from "../../../assets/icons";
|
|
14
|
+
import FormModal from "../../../components/FormModal";
|
|
15
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
16
|
+
import Delete from "../../../components/Delete/Delete";
|
|
17
|
+
import DeleteModal from "../../../components/DeleteModal/DeleteModal";
|
|
18
|
+
import Success from "../../../components/Success/Success";
|
|
19
|
+
import { setDeleteModalVisible, setViewModalVisible } from "../../../store/slices/global";
|
|
20
|
+
import ViewModal from "../../../components/ViewModal";
|
|
21
|
+
import { getStreetColumns } from "./constant";
|
|
22
|
+
import Pagination from "../../../components/Pagination";
|
|
23
|
+
import ColSort from "../../../components/ColSort";
|
|
24
|
+
import { setPaginationLength } from "../../../helpers/paginationLength";
|
|
25
|
+
import Button from "../../../components/Button";
|
|
26
|
+
import Loading from "../../../components/Loading";
|
|
27
|
+
import Table from "../../../components/Table";
|
|
28
|
+
import Filter from "../../../components/Filter";
|
|
29
|
+
import { addContractTypesSubtypes, deleteContractTypesSubtypes, editContractTypesSubtypes, getContractTypesSubtypes, contractTypesSubtypesVisibility, getContracttypesAll } from "../../../store/slices/questionnaire";
|
|
30
|
+
import Select from "../../../components/Select";
|
|
31
|
+
var Content = Layout.Content;
|
|
32
|
+
var Item = Form.Item;
|
|
33
|
+
var Option = AntdSelect.Option;
|
|
34
|
+
var QuestionnairesContractTypesSubtypesContent = function QuestionnairesContractTypesSubtypesContent() {
|
|
35
|
+
var _useState = useState(null),
|
|
36
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
37
|
+
innerW = _useState2[0],
|
|
38
|
+
setInnerW = _useState2[1];
|
|
39
|
+
var ref = useRef();
|
|
40
|
+
var dispatch = useDispatch();
|
|
41
|
+
var _useState3 = useState(0),
|
|
42
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
43
|
+
id = _useState4[0],
|
|
44
|
+
setId = _useState4[1];
|
|
45
|
+
var _useState5 = useState(1),
|
|
46
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
47
|
+
page = _useState6[0],
|
|
48
|
+
setPage = _useState6[1];
|
|
49
|
+
var _useState7 = useState(Cookies.get("pagination-size-questionnaire-contracttypessubtypes") ? JSON.parse(Cookies.get("pagination-size-questionnaire-contracttypessubtypes")) : 20),
|
|
50
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
51
|
+
size = _useState8[0],
|
|
52
|
+
setSize = _useState8[1];
|
|
53
|
+
var _useState9 = useState({
|
|
54
|
+
name: ""
|
|
55
|
+
}),
|
|
56
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
57
|
+
query = _useState10[0],
|
|
58
|
+
setQuery = _useState10[1];
|
|
59
|
+
var _useState11 = useState(null),
|
|
60
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
61
|
+
subtopicSelect = _useState12[0],
|
|
62
|
+
setSubtopicSelect = _useState12[1];
|
|
63
|
+
var _useSelector = useSelector(function (state) {
|
|
64
|
+
return state.global;
|
|
65
|
+
}),
|
|
66
|
+
loading = _useSelector.loading,
|
|
67
|
+
ContractTypesSubtypesRender = _useSelector.ContractTypesSubtypesRender;
|
|
68
|
+
var contracttypesAll = useSelector(function (state) {
|
|
69
|
+
return state.questionnaire.contracttypesAll;
|
|
70
|
+
});
|
|
71
|
+
var ContractTypesSubtypes = useSelector(function (state) {
|
|
72
|
+
return state.questionnaire.contractTypesSubtypes;
|
|
73
|
+
});
|
|
74
|
+
var paginationLength = setPaginationLength(ContractTypesSubtypes === null || ContractTypesSubtypes === void 0 ? void 0 : ContractTypesSubtypes.count, ContractTypesSubtypes === null || ContractTypesSubtypes === void 0 ? void 0 : ContractTypesSubtypes.size);
|
|
75
|
+
var onSubmit = useCallback(/*#__PURE__*/function () {
|
|
76
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
|
|
77
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
78
|
+
while (1) switch (_context.prev = _context.next) {
|
|
79
|
+
case 0:
|
|
80
|
+
dispatch(addContractTypesSubtypes(_objectSpread(_objectSpread({}, data), {}, {
|
|
81
|
+
contractTypeId: subtopicSelect
|
|
82
|
+
})));
|
|
83
|
+
case 1:
|
|
84
|
+
case "end":
|
|
85
|
+
return _context.stop();
|
|
86
|
+
}
|
|
87
|
+
}, _callee);
|
|
88
|
+
}));
|
|
89
|
+
return function (_x) {
|
|
90
|
+
return _ref.apply(this, arguments);
|
|
91
|
+
};
|
|
92
|
+
}(), [dispatch, subtopicSelect]);
|
|
93
|
+
var onEdit = useCallback(function (id, record) {
|
|
94
|
+
var data = {
|
|
95
|
+
id: id,
|
|
96
|
+
name: record === null || record === void 0 ? void 0 : record.name,
|
|
97
|
+
contractTypeId: subtopicSelect
|
|
98
|
+
};
|
|
99
|
+
dispatch(editContractTypesSubtypes(data));
|
|
100
|
+
}, [dispatch, subtopicSelect]);
|
|
101
|
+
var onStatusChange = useCallback(function (data, checked) {
|
|
102
|
+
var data_ = {
|
|
103
|
+
id: data === null || data === void 0 ? void 0 : data.id,
|
|
104
|
+
checked: checked
|
|
105
|
+
};
|
|
106
|
+
dispatch(contractTypesSubtypesVisibility(data_));
|
|
107
|
+
}, [dispatch]);
|
|
108
|
+
var closeOnViewModal = useCallback(function () {
|
|
109
|
+
dispatch(setViewModalVisible(false));
|
|
110
|
+
}, [dispatch]);
|
|
111
|
+
var onClickModal = function onClickModal() {
|
|
112
|
+
var _ref$current;
|
|
113
|
+
ref === null || ref === void 0 || (_ref$current = ref.current) === null || _ref$current === void 0 || _ref$current.open();
|
|
114
|
+
};
|
|
115
|
+
var onEditClick = useCallback(function (data) {
|
|
116
|
+
var _ref$current2;
|
|
117
|
+
ref === null || ref === void 0 || (_ref$current2 = ref.current) === null || _ref$current2 === void 0 || _ref$current2.setEdit(data);
|
|
118
|
+
}, []);
|
|
119
|
+
var onDelete = useCallback(function (id) {
|
|
120
|
+
setId(id);
|
|
121
|
+
}, []);
|
|
122
|
+
var handleColumnToggle = function handleColumnToggle(checked, dataIndex) {
|
|
123
|
+
setSelectedColumns(function (prevSelected) {
|
|
124
|
+
if (checked) {
|
|
125
|
+
return [].concat(_toConsumableArray(prevSelected), [dataIndex]);
|
|
126
|
+
} else {
|
|
127
|
+
return prevSelected.filter(function (col) {
|
|
128
|
+
return col !== dataIndex;
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
var data = [];
|
|
134
|
+
if (ContractTypesSubtypes !== null && ContractTypesSubtypes !== void 0 && ContractTypesSubtypes.items) {
|
|
135
|
+
var _ContractTypesSubtype;
|
|
136
|
+
data = ContractTypesSubtypes === null || ContractTypesSubtypes === void 0 || (_ContractTypesSubtype = ContractTypesSubtypes.items) === null || _ContractTypesSubtype === void 0 ? void 0 : _ContractTypesSubtype.map(function (dataObj, i) {
|
|
137
|
+
return {
|
|
138
|
+
num: (ContractTypesSubtypes === null || ContractTypesSubtypes === void 0 ? void 0 : ContractTypesSubtypes.size) * (ContractTypesSubtypes === null || ContractTypesSubtypes === void 0 ? void 0 : ContractTypesSubtypes.page) + i + 1 - (ContractTypesSubtypes === null || ContractTypesSubtypes === void 0 ? void 0 : ContractTypesSubtypes.size),
|
|
139
|
+
id: dataObj === null || dataObj === void 0 ? void 0 : dataObj.id,
|
|
140
|
+
name: dataObj === null || dataObj === void 0 ? void 0 : dataObj.name,
|
|
141
|
+
isActive: dataObj === null || dataObj === void 0 ? void 0 : dataObj.isActive,
|
|
142
|
+
className: "rowClassName1"
|
|
143
|
+
};
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
var columns = useMemo(function () {
|
|
147
|
+
return getStreetColumns(onEditClick, onDelete, onStatusChange, dispatch);
|
|
148
|
+
}, [onEditClick, onDelete, onStatusChange, dispatch]);
|
|
149
|
+
var _useState13 = useState(columns.map(function (col) {
|
|
150
|
+
return col.dataIndex;
|
|
151
|
+
})),
|
|
152
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
153
|
+
selectedColumns = _useState14[0],
|
|
154
|
+
setSelectedColumns = _useState14[1];
|
|
155
|
+
useEffect(function () {
|
|
156
|
+
if (contracttypesAll) {
|
|
157
|
+
var _contracttypesAll$;
|
|
158
|
+
setSubtopicSelect(contracttypesAll === null || contracttypesAll === void 0 || (_contracttypesAll$ = contracttypesAll[0]) === null || _contracttypesAll$ === void 0 ? void 0 : _contracttypesAll$.id);
|
|
159
|
+
}
|
|
160
|
+
}, [contracttypesAll]);
|
|
161
|
+
useEffect(function () {
|
|
162
|
+
dispatch(getContracttypesAll("nondeleted"));
|
|
163
|
+
}, [dispatch]);
|
|
164
|
+
useEffect(function () {
|
|
165
|
+
if (window.innerWidth >= 1900) {
|
|
166
|
+
setInnerW(210);
|
|
167
|
+
} else {
|
|
168
|
+
setInnerW(155);
|
|
169
|
+
}
|
|
170
|
+
var data = {
|
|
171
|
+
page: page,
|
|
172
|
+
size: size,
|
|
173
|
+
query: query,
|
|
174
|
+
visibility: "nondeleted",
|
|
175
|
+
contractTypeId: subtopicSelect
|
|
176
|
+
};
|
|
177
|
+
if (subtopicSelect !== null) {
|
|
178
|
+
dispatch(getContractTypesSubtypes(data));
|
|
179
|
+
}
|
|
180
|
+
}, [dispatch, page, ContractTypesSubtypesRender, query, size, subtopicSelect]);
|
|
181
|
+
var updateSize = function updateSize(newSize) {
|
|
182
|
+
setSize(newSize);
|
|
183
|
+
Cookies.set("pagination-size-questionnaire-contracttypessubtypes", JSON.stringify(newSize), {
|
|
184
|
+
expires: 7
|
|
185
|
+
});
|
|
186
|
+
};
|
|
187
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, loading ? /*#__PURE__*/React.createElement(Loading, null) : null, /*#__PURE__*/React.createElement(Layout, {
|
|
188
|
+
className: style.layout
|
|
189
|
+
}, /*#__PURE__*/React.createElement(Content, {
|
|
190
|
+
className: style.content
|
|
191
|
+
}, /*#__PURE__*/React.createElement("header", {
|
|
192
|
+
className: style.header
|
|
193
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
194
|
+
onClick: onClickModal,
|
|
195
|
+
color: "green"
|
|
196
|
+
}, /*#__PURE__*/React.createElement(PlusIcon, null), " Soraq\xE7a \u0259lav\u0259 et"), /*#__PURE__*/React.createElement(Filter, {
|
|
197
|
+
columns: columns,
|
|
198
|
+
selectedColumns: selectedColumns,
|
|
199
|
+
setQuery: setQuery,
|
|
200
|
+
disabledElementCount: 3,
|
|
201
|
+
setPage: setPage
|
|
202
|
+
}))), /*#__PURE__*/React.createElement(Layout, {
|
|
203
|
+
className: style.layout1
|
|
204
|
+
}, /*#__PURE__*/React.createElement(Content, {
|
|
205
|
+
className: style.content
|
|
206
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
207
|
+
className: style.table_header
|
|
208
|
+
}, /*#__PURE__*/React.createElement("h2", null, "M\xFCqavil\u0259 alt n\xF6v\xFC"), /*#__PURE__*/React.createElement("div", {
|
|
209
|
+
className: style.buttons
|
|
210
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
211
|
+
size: "sm",
|
|
212
|
+
width: 200,
|
|
213
|
+
allowClear: false,
|
|
214
|
+
value: subtopicSelect,
|
|
215
|
+
defaultValue: "",
|
|
216
|
+
onChange: function onChange(value) {
|
|
217
|
+
setSubtopicSelect(value);
|
|
218
|
+
}
|
|
219
|
+
}, contracttypesAll === null || contracttypesAll === void 0 ? void 0 : contracttypesAll.map(function (item) {
|
|
220
|
+
return /*#__PURE__*/React.createElement(Option, {
|
|
221
|
+
key: item.id,
|
|
222
|
+
value: item.id
|
|
223
|
+
}, item.name);
|
|
224
|
+
})), /*#__PURE__*/React.createElement(ColSort, {
|
|
225
|
+
columns: columns,
|
|
226
|
+
selectedColumns: selectedColumns,
|
|
227
|
+
handleColumnToggle: handleColumnToggle
|
|
228
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
229
|
+
className: "bigTable"
|
|
230
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
231
|
+
selectedColumns: selectedColumns,
|
|
232
|
+
innerW: innerW,
|
|
233
|
+
dataSource: data,
|
|
234
|
+
columns: columns,
|
|
235
|
+
disableDrag: true
|
|
236
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
237
|
+
className: style.pagination
|
|
238
|
+
}, /*#__PURE__*/React.createElement(Pagination, {
|
|
239
|
+
size: size,
|
|
240
|
+
setSize: updateSize,
|
|
241
|
+
total: paginationLength,
|
|
242
|
+
page: page,
|
|
243
|
+
onChange: setPage
|
|
244
|
+
})), /*#__PURE__*/React.createElement(FormModal, {
|
|
245
|
+
ref: ref,
|
|
246
|
+
width: 454,
|
|
247
|
+
title: "Yeni soraqça yaratma",
|
|
248
|
+
titleEdit: "Soraqça redaktə etmə",
|
|
249
|
+
okText: "Yadda saxla",
|
|
250
|
+
cancelText: "Bağla",
|
|
251
|
+
onSubmit: onSubmit,
|
|
252
|
+
onEdit: onEdit,
|
|
253
|
+
className: "absolute",
|
|
254
|
+
centered: false
|
|
255
|
+
}, /*#__PURE__*/React.createElement(Item, {
|
|
256
|
+
rules: [{
|
|
257
|
+
required: true,
|
|
258
|
+
message: ""
|
|
259
|
+
}, {
|
|
260
|
+
min: 3,
|
|
261
|
+
message: "Ən azından 3 simvol olmalıdır"
|
|
262
|
+
}],
|
|
263
|
+
name: "name",
|
|
264
|
+
label: "Ad"
|
|
265
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
266
|
+
className: style.modal_input
|
|
267
|
+
}))), /*#__PURE__*/React.createElement(DeleteModal, {
|
|
268
|
+
onCancel: function onCancel() {
|
|
269
|
+
return dispatch(setDeleteModalVisible(false));
|
|
270
|
+
},
|
|
271
|
+
width: 280
|
|
272
|
+
}, /*#__PURE__*/React.createElement(Delete, {
|
|
273
|
+
onDelete: function onDelete() {
|
|
274
|
+
return dispatch(deleteContractTypesSubtypes(id));
|
|
275
|
+
},
|
|
276
|
+
onCancel: function onCancel() {
|
|
277
|
+
return dispatch(setDeleteModalVisible(false));
|
|
278
|
+
},
|
|
279
|
+
value: "Soraqçanı"
|
|
280
|
+
})), /*#__PURE__*/React.createElement(ViewModal, {
|
|
281
|
+
onCancel: closeOnViewModal,
|
|
282
|
+
width: 695
|
|
283
|
+
}, /*#__PURE__*/React.createElement(Success, {
|
|
284
|
+
onClick: closeOnViewModal,
|
|
285
|
+
value: "Soraqça"
|
|
286
|
+
}))))));
|
|
287
|
+
};
|
|
288
|
+
export default QuestionnairesContractTypesSubtypesContent;
|
|
@@ -178,7 +178,7 @@ var QuestionnairesVehicleTypesContent = function QuestionnairesVehicleTypesConte
|
|
|
178
178
|
className: style.content
|
|
179
179
|
}, /*#__PURE__*/React.createElement("div", {
|
|
180
180
|
className: style.table_header
|
|
181
|
-
}, /*#__PURE__*/React.createElement("h2", null, "N\u0259qliyyat
|
|
181
|
+
}, /*#__PURE__*/React.createElement("h2", null, "N\u0259qliyyat tipi"), /*#__PURE__*/React.createElement("div", {
|
|
182
182
|
className: style.buttons
|
|
183
183
|
}, /*#__PURE__*/React.createElement(ColSort, {
|
|
184
184
|
columns: columns,
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
// ---- generated import by questionnaireGenerator: ContractTopics ----
|
|
2
|
+
import QuestionnairesContractTopicsContent from "../pages/Questionnnaires/QuestionnairesContractTopicsContent";
|
|
3
|
+
|
|
4
|
+
// ---- generated import by questionnaireGenerator: ContractTypesSubtypes ----
|
|
5
|
+
import QuestionnairesContractTypesSubtypesContent from "../pages/Questionnnaires/QuestionnairesContractTypesSubtypesContent";
|
|
6
|
+
|
|
1
7
|
// ---- generated import by questionnaireGenerator: Owners ----
|
|
2
8
|
import QuestionnairesOwnersContent from "../pages/Questionnnaires/QuestionnairesOwnersContent";
|
|
3
9
|
import React from "react";
|
|
@@ -18,7 +24,7 @@ import QuestionnairesMarginNoteTextsContent from "../pages/Questionnnaires/Quest
|
|
|
18
24
|
import QuestionnairesBrandsContent from "../pages/Questionnnaires/QuestionnairesBrandsContent";
|
|
19
25
|
import QuestionnairesChassisTypesContent from "../pages/Questionnnaires/QuestionnairesChassisTypesContent";
|
|
20
26
|
import QuestionnairesColorsContent from "../pages/Questionnnaires/QuestionnairesColorsContent";
|
|
21
|
-
import { QUESTIONNAIRES_TOPIC, QUESTIONNAIRES_SUBTOPIC, QUESTIONNAIRES_EXECUTION_RULES, QUESTIONNAIRES_DOCUMENT_RECIEVE_METHODS, QUESTIONNAIRES_DOCUMENT_TYPES, QUESTIONNAIRES_COUNTRIES, QUESTIONNAIRES_ORGANIZATIONS, QUESTIONNAIRES_STRUCTURES, QUESTIONNAIRES_APPLICATION_FORMS, QUESTIONNAIRES_DOCUMENT_WHOM, QUESTIONNAIRES_MARGIN_NOTE_TEXTS, QUESTIONNAIRES_BRANDS, QUESTIONNAIRES_CHASSIS_TYPES, QUESTIONNAIRES_COLORS, QUESTIONNAIRES_ENGINE_TYPES, QUESTIONNAIRES_GEARBOX_TYPES, QUESTIONNAIRES_ISSUED_AUTHORITIES, QUESTIONNAIRES_MODELS, QUESTIONNAIRES_OWNERSHIP_TYPES, QUESTIONNAIRES_TRANSMITTER_TYPES, QUESTIONNAIRES_VEHICLE_TYPES, QUESTIONNAIRES_ACADEMIC_DEGREES, QUESTIONNAIRES_DISABILITY_STATUSES, QUESTIONNAIRES_HONORARY_TITLES, QUESTIONNAIRES_MILITARY_STAFFS, QUESTIONNAIRES_MILITARY_CATEGORIES, QUESTIONNAIRES_MILITARY_RANKS, QUESTIONNAIRES_MILITARY_GROUPS, QUESTIONNAIRES_GENERAL_STRUCTURE_STATUSES, QUESTIONNAIRES_WORK_SCHEDULES, QUESTIONNAIRES_SPECIALIZATIONS, QUESTIONNAIRES_WAR_PARTICIPANTS, QUESTIONNAIRES_GENERAL_STRUCTURE_TYPES, QUESTIONNAIRES_EDUCATION_INSTITUTIONS, QUESTIONNAIRES_EDUCATION_PAYMENTS, QUESTIONNAIRES_EDUCATION_LEVELS, QUESTIONNAIRES_REPRIMAND_TYPES, QUESTIONNAIRES_SPECIAL_DAYS, QUESTIONNAIRES_CATEGORIES, QUESTIONNAIRES_REGIONS, QUESTIONNAIRES_AREAS, QUESTIONNAIRES_COMPANIES, QUESTIONNAIRES_POSITIONS, QUESTIONNAIRES_HALLS, QUESTIONNAIRES_DRIVING_CATEGORIES, QUESTIONNAIRES_EMPLOYEE_CONFIGURATIONS, QUESTIONNAIRES_CONTRAGENTTYPES, QUESTIONNAIRES_CONTRACTTYPES, QUESTIONNAIRES_CONTRACTCURRENCIES, QUESTIONNAIRES_ORDERS, QUESTIONNAIRES_WORK_MODES, QUESTIONNAIRES_VEHICLE_CATEGORIES, QUESTIONNAIRES_CHEMICALS, QUESTIONNAIRES_REPAIR_TYPES, QUESTIONNAIRES_DETAIL_PARTS, QUESTIONNAIRES_MEASUREMENT_TYPES, QUESTIONNAIRES_REPAIRMENT_WORK_TYPES, QUESTIONNAIRES_PENALTY_TYPES, QUESTIONNAIRES_CRUSH_REASONS, QUESTIONNAIRES_INSURANCE_TYPES, QUESTIONNAIRES_EXTRA_SERVICES, QUESTIONNAIRES_FUEL_TYPES, QUESTIONNAIRES_OIL_FIELDS, QUESTIONNAIRES_VEHICLE_GROUPS, QUESTIONNAIRES_OWNERS } from "../utils/path";
|
|
27
|
+
import { QUESTIONNAIRES_TOPIC, QUESTIONNAIRES_SUBTOPIC, QUESTIONNAIRES_EXECUTION_RULES, QUESTIONNAIRES_DOCUMENT_RECIEVE_METHODS, QUESTIONNAIRES_DOCUMENT_TYPES, QUESTIONNAIRES_COUNTRIES, QUESTIONNAIRES_ORGANIZATIONS, QUESTIONNAIRES_STRUCTURES, QUESTIONNAIRES_APPLICATION_FORMS, QUESTIONNAIRES_DOCUMENT_WHOM, QUESTIONNAIRES_MARGIN_NOTE_TEXTS, QUESTIONNAIRES_BRANDS, QUESTIONNAIRES_CHASSIS_TYPES, QUESTIONNAIRES_COLORS, QUESTIONNAIRES_ENGINE_TYPES, QUESTIONNAIRES_GEARBOX_TYPES, QUESTIONNAIRES_ISSUED_AUTHORITIES, QUESTIONNAIRES_MODELS, QUESTIONNAIRES_OWNERSHIP_TYPES, QUESTIONNAIRES_TRANSMITTER_TYPES, QUESTIONNAIRES_VEHICLE_TYPES, QUESTIONNAIRES_ACADEMIC_DEGREES, QUESTIONNAIRES_DISABILITY_STATUSES, QUESTIONNAIRES_HONORARY_TITLES, QUESTIONNAIRES_MILITARY_STAFFS, QUESTIONNAIRES_MILITARY_CATEGORIES, QUESTIONNAIRES_MILITARY_RANKS, QUESTIONNAIRES_MILITARY_GROUPS, QUESTIONNAIRES_GENERAL_STRUCTURE_STATUSES, QUESTIONNAIRES_WORK_SCHEDULES, QUESTIONNAIRES_SPECIALIZATIONS, QUESTIONNAIRES_WAR_PARTICIPANTS, QUESTIONNAIRES_GENERAL_STRUCTURE_TYPES, QUESTIONNAIRES_EDUCATION_INSTITUTIONS, QUESTIONNAIRES_EDUCATION_PAYMENTS, QUESTIONNAIRES_EDUCATION_LEVELS, QUESTIONNAIRES_REPRIMAND_TYPES, QUESTIONNAIRES_SPECIAL_DAYS, QUESTIONNAIRES_CATEGORIES, QUESTIONNAIRES_REGIONS, QUESTIONNAIRES_AREAS, QUESTIONNAIRES_COMPANIES, QUESTIONNAIRES_POSITIONS, QUESTIONNAIRES_HALLS, QUESTIONNAIRES_DRIVING_CATEGORIES, QUESTIONNAIRES_EMPLOYEE_CONFIGURATIONS, QUESTIONNAIRES_CONTRAGENTTYPES, QUESTIONNAIRES_CONTRACTTYPES, QUESTIONNAIRES_CONTRACTCURRENCIES, QUESTIONNAIRES_ORDERS, QUESTIONNAIRES_WORK_MODES, QUESTIONNAIRES_VEHICLE_CATEGORIES, QUESTIONNAIRES_CHEMICALS, QUESTIONNAIRES_REPAIR_TYPES, QUESTIONNAIRES_DETAIL_PARTS, QUESTIONNAIRES_MEASUREMENT_TYPES, QUESTIONNAIRES_REPAIRMENT_WORK_TYPES, QUESTIONNAIRES_PENALTY_TYPES, QUESTIONNAIRES_CRUSH_REASONS, QUESTIONNAIRES_INSURANCE_TYPES, QUESTIONNAIRES_EXTRA_SERVICES, QUESTIONNAIRES_FUEL_TYPES, QUESTIONNAIRES_OIL_FIELDS, QUESTIONNAIRES_VEHICLE_GROUPS, QUESTIONNAIRES_OWNERS, QUESTIONNAIRES_CONTRACTTOPICS, QUESTIONNAIRES_CONTRACTTYPESSUBTYPES } from "../utils/path";
|
|
22
28
|
import QuestionnairesEngineTypesContent from "../pages/Questionnnaires/QuestionnairesEngineTypesContent";
|
|
23
29
|
import QuestionnairesGearboxTypesContent from "../pages/Questionnnaires/QuestionnairesGearboxTypesContent";
|
|
24
30
|
import QuestionnairesModelsContent from "../pages/Questionnnaires/QuestionnairesModelsContent";
|
|
@@ -273,5 +279,11 @@ export var questionnairesRoutes = function questionnairesRoutes(allowed) {
|
|
|
273
279
|
}), /*#__PURE__*/React.createElement(Route, {
|
|
274
280
|
path: QUESTIONNAIRES_OWNERS,
|
|
275
281
|
element: /*#__PURE__*/React.createElement(QuestionnairesOwnersContent, null)
|
|
282
|
+
}), /*#__PURE__*/React.createElement(Route, {
|
|
283
|
+
path: QUESTIONNAIRES_CONTRACTTOPICS,
|
|
284
|
+
element: /*#__PURE__*/React.createElement(QuestionnairesContractTopicsContent, null)
|
|
285
|
+
}), /*#__PURE__*/React.createElement(Route, {
|
|
286
|
+
path: QUESTIONNAIRES_CONTRACTTYPESSUBTYPES,
|
|
287
|
+
element: /*#__PURE__*/React.createElement(QuestionnairesContractTypesSubtypesContent, null)
|
|
276
288
|
})));
|
|
277
289
|
};
|