@banch0u/core-project-test-repository 2.2.3 → 2.2.8

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.
Files changed (134) hide show
  1. package/README.md +104 -104
  2. package/dist/assets/css/antd.css +842 -842
  3. package/dist/assets/css/variables.css +16 -16
  4. package/dist/assets/fonts/fonts.css +52 -52
  5. package/dist/components/Button/index.module.scss +154 -154
  6. package/dist/components/ColSort/index.module.scss +62 -62
  7. package/dist/components/Delete/Delete.module.scss +22 -22
  8. package/dist/components/DeleteModal/DeleteModal.module.scss +11 -11
  9. package/dist/components/Filter/index.module.scss +99 -99
  10. package/dist/components/FormModal/index.js +16 -16
  11. package/dist/components/FormModal/index.module.scss +14 -14
  12. package/dist/components/ImagePreviewModal/index.js +23 -23
  13. package/dist/components/ImagePreviewModal/index.module.scss +27 -27
  14. package/dist/components/Input/index.module.scss +111 -111
  15. package/dist/components/Loading/index.module.scss +18 -18
  16. package/dist/components/NotificationDropdown/index.js +8 -8
  17. package/dist/components/NotificationDropdown/index.module.scss +83 -83
  18. package/dist/components/NotificationSettingsContent/index.module.scss +70 -70
  19. package/dist/components/Pagination/Pagination.module.scss +8 -8
  20. package/dist/components/ProfileOptions/index.js +21 -21
  21. package/dist/components/ProfileOptions/index.module.scss +265 -265
  22. package/dist/components/Select/index.module.scss +72 -72
  23. package/dist/components/Success/Success.module.scss +26 -26
  24. package/dist/components/Table/index.module.scss +76 -76
  25. package/dist/helpers/enums.js +10 -0
  26. package/dist/index.css +32 -32
  27. package/dist/layout/Header/AppSelect/index.module.scss +72 -72
  28. package/dist/layout/Header/index.module.scss +12 -12
  29. package/dist/layout/QuestionnairesLayout/index.module.scss +3 -3
  30. package/dist/layout/QuestionnairesSidebar/index.js +26 -2
  31. package/dist/layout/QuestionnairesSidebar/index.module.scss +77 -77
  32. package/dist/layout/Sidebar/index.js +15 -15
  33. package/dist/layout/Sidebar/index.module.scss +67 -67
  34. package/dist/pages/Login/index.js +15 -15
  35. package/dist/pages/Login/index.module.scss +123 -123
  36. package/dist/pages/NotFound/index.module.scss +50 -50
  37. package/dist/pages/Platform/index.js +15 -15
  38. package/dist/pages/Platform/index.module.scss +125 -125
  39. package/dist/pages/Questionnnaires/Questionnaires.module.scss +211 -211
  40. package/dist/pages/Questionnnaires/QuestionnairesAcademicdegreesContent/index.js +12 -12
  41. package/dist/pages/Questionnnaires/QuestionnairesApplicationFormContent/index.js +8 -8
  42. package/dist/pages/Questionnnaires/QuestionnairesAreasContent/index.js +8 -8
  43. package/dist/pages/Questionnnaires/QuestionnairesBarrelContent/constant.js +64 -0
  44. package/dist/pages/Questionnnaires/QuestionnairesBarrelContent/index.js +292 -0
  45. package/dist/pages/Questionnnaires/QuestionnairesBrandsContent/index.js +8 -8
  46. package/dist/pages/Questionnnaires/QuestionnairesCategoriesContent/index.js +8 -8
  47. package/dist/pages/Questionnnaires/QuestionnairesChassisTypesContent/index.js +8 -8
  48. package/dist/pages/Questionnnaires/QuestionnairesChemicalsContent/index.js +12 -12
  49. package/dist/pages/Questionnnaires/QuestionnairesColorsContent/index.js +8 -8
  50. package/dist/pages/Questionnnaires/QuestionnairesCompaniesContent/index.js +8 -8
  51. package/dist/pages/Questionnnaires/QuestionnairesContractTopicsContent/index.js +8 -8
  52. package/dist/pages/Questionnnaires/QuestionnairesContractTypesSubtypesContent/index.js +12 -12
  53. package/dist/pages/Questionnnaires/QuestionnairesContractcurrenciesContent/index.js +8 -8
  54. package/dist/pages/Questionnnaires/QuestionnairesContracttypesContent/index.js +8 -8
  55. package/dist/pages/Questionnnaires/QuestionnairesContragenttypesContent/index.js +8 -8
  56. package/dist/pages/Questionnnaires/QuestionnairesCountriesContent/index.js +8 -8
  57. package/dist/pages/Questionnnaires/QuestionnairesCrushReasonsContent/index.js +8 -8
  58. package/dist/pages/Questionnnaires/QuestionnairesDefaultAgreementPlansContent/index.js +23 -23
  59. package/dist/pages/Questionnnaires/QuestionnairesDeliveryMethodContent/index.js +8 -8
  60. package/dist/pages/Questionnnaires/QuestionnairesDetailPartsContent/index.js +8 -8
  61. package/dist/pages/Questionnnaires/QuestionnairesDisabilitystatusesContent/index.js +12 -12
  62. package/dist/pages/Questionnnaires/QuestionnairesDocumentRecieveMethodsContent/index.js +8 -8
  63. package/dist/pages/Questionnnaires/QuestionnairesDocumentTypeContent/index.js +12 -12
  64. package/dist/pages/Questionnnaires/QuestionnairesDocumentWhomContent/index.js +12 -12
  65. package/dist/pages/Questionnnaires/QuestionnairesDrivingcategoriesContent/index.js +8 -8
  66. package/dist/pages/Questionnnaires/QuestionnairesEducationinstitutionsContent/index.js +12 -12
  67. package/dist/pages/Questionnnaires/QuestionnairesEducationlevelsContent/index.js +12 -12
  68. package/dist/pages/Questionnnaires/QuestionnairesEducationpaymentsContent/index.js +12 -12
  69. package/dist/pages/Questionnnaires/QuestionnairesEmployeeConfigurations/index.js +13 -13
  70. package/dist/pages/Questionnnaires/QuestionnairesEngineTypesContent/index.js +8 -8
  71. package/dist/pages/Questionnnaires/QuestionnairesExecutionRulesContent/index.js +8 -8
  72. package/dist/pages/Questionnnaires/QuestionnairesExtraServicesContent/index.js +8 -8
  73. package/dist/pages/Questionnnaires/QuestionnairesFieldContent/constant.js +64 -0
  74. package/dist/pages/Questionnnaires/QuestionnairesFieldContent/index.js +275 -0
  75. package/dist/pages/Questionnnaires/QuestionnairesFuelTypesContent/index.js +8 -8
  76. package/dist/pages/Questionnnaires/QuestionnairesGearboxTypesContent/index.js +8 -8
  77. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructurestatusesContent/index.js +12 -12
  78. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructuretypesContent/index.js +12 -12
  79. package/dist/pages/Questionnnaires/QuestionnairesHallsContent/index.js +8 -8
  80. package/dist/pages/Questionnnaires/QuestionnairesHonorarytitlesContent/index.js +12 -12
  81. package/dist/pages/Questionnnaires/QuestionnairesInsurancetypesContent/index.js +8 -8
  82. package/dist/pages/Questionnnaires/QuestionnairesInternalStructureContent/index.js +8 -8
  83. package/dist/pages/Questionnnaires/QuestionnairesIssuedAuthoritiesContent/index.js +8 -8
  84. package/dist/pages/Questionnnaires/QuestionnairesMarginNoteTextsContent/index.js +8 -8
  85. package/dist/pages/Questionnnaires/QuestionnairesMeasurementTypesContent/index.js +8 -8
  86. package/dist/pages/Questionnnaires/QuestionnairesMilitarycategoriesContent/index.js +12 -12
  87. package/dist/pages/Questionnnaires/QuestionnairesMilitarygroupsContent/index.js +12 -12
  88. package/dist/pages/Questionnnaires/QuestionnairesMilitaryranksContent/index.js +12 -12
  89. package/dist/pages/Questionnnaires/QuestionnairesMilitarystaffsContent/index.js +12 -12
  90. package/dist/pages/Questionnnaires/QuestionnairesModelsContent/index.js +13 -13
  91. package/dist/pages/Questionnnaires/QuestionnairesOilFieldsContent/index.js +8 -8
  92. package/dist/pages/Questionnnaires/QuestionnairesOrdersContent/index.js +8 -8
  93. package/dist/pages/Questionnnaires/QuestionnairesOrganizationsContent/index.js +8 -8
  94. package/dist/pages/Questionnnaires/QuestionnairesOwnersContent/index.js +8 -8
  95. package/dist/pages/Questionnnaires/QuestionnairesOwnershipTypesContent/index.js +8 -8
  96. package/dist/pages/Questionnnaires/QuestionnairesPenaltyTypesContent/index.js +8 -8
  97. package/dist/pages/Questionnnaires/QuestionnairesPositionsContent/index.js +12 -12
  98. package/dist/pages/Questionnnaires/QuestionnairesRegionsContent/index.js +8 -8
  99. package/dist/pages/Questionnnaires/QuestionnairesRepairTypesContent/index.js +8 -8
  100. package/dist/pages/Questionnnaires/QuestionnairesRepairmentWorkTypesContent/index.js +8 -8
  101. package/dist/pages/Questionnnaires/QuestionnairesReprimandtypesContent/index.js +12 -12
  102. package/dist/pages/Questionnnaires/QuestionnairesRouteLocationsContent/index.js +8 -8
  103. package/dist/pages/Questionnnaires/QuestionnairesSpecialdaysContent/index.js +12 -12
  104. package/dist/pages/Questionnnaires/QuestionnairesSpecializationsContent/index.js +12 -12
  105. package/dist/pages/Questionnnaires/QuestionnairesStructuresContent/index.js +8 -8
  106. package/dist/pages/Questionnnaires/QuestionnairesSubtopicContent/index.js +15 -15
  107. package/dist/pages/Questionnnaires/QuestionnairesTopicContent/index.js +12 -12
  108. package/dist/pages/Questionnnaires/QuestionnairesTransmitterTypesContent/index.js +8 -8
  109. package/dist/pages/Questionnnaires/QuestionnairesVehicleCategoriesContent/index.js +8 -8
  110. package/dist/pages/Questionnnaires/QuestionnairesVehicleGroupsContent/index.js +8 -8
  111. package/dist/pages/Questionnnaires/QuestionnairesVehicleTypesContent/index.js +8 -8
  112. package/dist/pages/Questionnnaires/QuestionnairesWarparticipantsContent/index.js +12 -12
  113. package/dist/pages/Questionnnaires/QuestionnairesWellContent/constant.js +64 -0
  114. package/dist/pages/Questionnnaires/QuestionnairesWellContent/index.js +280 -0
  115. package/dist/pages/Questionnnaires/QuestionnairesWorkModesContent/index.js +8 -8
  116. package/dist/pages/Questionnnaires/QuestionnairesWorkschedulesContent/index.js +12 -12
  117. package/dist/routes/QuestionnaireRoutes.js +19 -1
  118. package/dist/store/slices/auth/index.js +60 -60
  119. package/dist/store/slices/auth/service.js +20 -20
  120. package/dist/store/slices/companyInfo/index.js +10 -10
  121. package/dist/store/slices/companyInfo/service.js +4 -4
  122. package/dist/store/slices/employees/index.js +30 -30
  123. package/dist/store/slices/employees/service.js +12 -12
  124. package/dist/store/slices/global/index.js +170 -152
  125. package/dist/store/slices/notification/index.js +73 -73
  126. package/dist/store/slices/notification/service.js +24 -24
  127. package/dist/store/slices/questionnaire/index.js +9154 -8527
  128. package/dist/store/slices/questionnaire/service.js +3467 -3083
  129. package/dist/tools/questionnaireGenerator.js +12 -12
  130. package/dist/translations/index.json +364 -364
  131. package/dist/utils/axios.js +27 -141
  132. package/dist/utils/message.js +2 -2
  133. package/dist/utils/path.js +12 -0
  134. package/package.json +1 -1
@@ -9,27 +9,27 @@ var initialState = {
9
9
  };
10
10
  export var getNotifications = createAsyncThunk("/getNotifications", /*#__PURE__*/function () {
11
11
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data, _ref) {
12
- var dispatch, response;
13
- return _regeneratorRuntime.wrap(function _callee$(_context) {
12
+ var dispatch, response, _t;
13
+ return _regeneratorRuntime.wrap(function (_context) {
14
14
  while (1) switch (_context.prev = _context.next) {
15
15
  case 0:
16
16
  dispatch = _ref.dispatch;
17
17
  _context.prev = 1;
18
- _context.next = 4;
18
+ _context.next = 2;
19
19
  return Services.getNotifications(data === null || data === void 0 ? void 0 : data.size, data === null || data === void 0 ? void 0 : data.page);
20
- case 4:
20
+ case 2:
21
21
  response = _context.sent;
22
22
  return _context.abrupt("return", response);
23
- case 8:
24
- _context.prev = 8;
25
- _context.t0 = _context["catch"](1);
26
- errorMessage(_context.t0.response.data.message);
23
+ case 3:
24
+ _context.prev = 3;
25
+ _t = _context["catch"](1);
26
+ errorMessage(_t.response.data.message);
27
27
  // dispatch(setLoading(false));
28
- case 11:
28
+ case 4:
29
29
  case "end":
30
30
  return _context.stop();
31
31
  }
32
- }, _callee, null, [[1, 8]]);
32
+ }, _callee, null, [[1, 3]]);
33
33
  }));
34
34
  return function (_x, _x2) {
35
35
  return _ref2.apply(this, arguments);
@@ -37,31 +37,31 @@ export var getNotifications = createAsyncThunk("/getNotifications", /*#__PURE__*
37
37
  }());
38
38
  export var readNotification = createAsyncThunk("/readNotification", /*#__PURE__*/function () {
39
39
  var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, _ref3) {
40
- var dispatch, response;
41
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
40
+ var dispatch, response, _t2;
41
+ return _regeneratorRuntime.wrap(function (_context2) {
42
42
  while (1) switch (_context2.prev = _context2.next) {
43
43
  case 0:
44
44
  dispatch = _ref3.dispatch;
45
45
  _context2.prev = 1;
46
- _context2.next = 4;
46
+ _context2.next = 2;
47
47
  return Services.readNotification(data);
48
- case 4:
48
+ case 2:
49
49
  response = _context2.sent;
50
50
  // dispatch(setLoading(false));
51
51
  dispatch(setNotificationsRender(function (prev) {
52
52
  return !prev;
53
53
  }));
54
54
  return _context2.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
55
- case 9:
56
- _context2.prev = 9;
57
- _context2.t0 = _context2["catch"](1);
58
- errorMessage(_context2.t0.response.data.message);
55
+ case 3:
56
+ _context2.prev = 3;
57
+ _t2 = _context2["catch"](1);
58
+ errorMessage(_t2.response.data.message);
59
59
  // dispatch(setLoading(false));
60
- case 12:
60
+ case 4:
61
61
  case "end":
62
62
  return _context2.stop();
63
63
  }
64
- }, _callee2, null, [[1, 9]]);
64
+ }, _callee2, null, [[1, 3]]);
65
65
  }));
66
66
  return function (_x3, _x4) {
67
67
  return _ref4.apply(this, arguments);
@@ -69,31 +69,31 @@ export var readNotification = createAsyncThunk("/readNotification", /*#__PURE__*
69
69
  }());
70
70
  export var readNotificationAll = createAsyncThunk("/readNotificationAll", /*#__PURE__*/function () {
71
71
  var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_, _ref5) {
72
- var dispatch, response;
73
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
72
+ var dispatch, response, _t3;
73
+ return _regeneratorRuntime.wrap(function (_context3) {
74
74
  while (1) switch (_context3.prev = _context3.next) {
75
75
  case 0:
76
76
  dispatch = _ref5.dispatch;
77
77
  _context3.prev = 1;
78
- _context3.next = 4;
78
+ _context3.next = 2;
79
79
  return Services.readNotificationAll();
80
- case 4:
80
+ case 2:
81
81
  response = _context3.sent;
82
82
  // dispatch(setLoading(false));
83
83
  dispatch(setNotificationsRender(function (prev) {
84
84
  return !prev;
85
85
  }));
86
86
  return _context3.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
87
- case 9:
88
- _context3.prev = 9;
89
- _context3.t0 = _context3["catch"](1);
90
- errorMessage(_context3.t0.response.data.message);
87
+ case 3:
88
+ _context3.prev = 3;
89
+ _t3 = _context3["catch"](1);
90
+ errorMessage(_t3.response.data.message);
91
91
  // dispatch(setLoading(false));
92
- case 12:
92
+ case 4:
93
93
  case "end":
94
94
  return _context3.stop();
95
95
  }
96
- }, _callee3, null, [[1, 9]]);
96
+ }, _callee3, null, [[1, 3]]);
97
97
  }));
98
98
  return function (_x5, _x6) {
99
99
  return _ref6.apply(this, arguments);
@@ -101,104 +101,104 @@ export var readNotificationAll = createAsyncThunk("/readNotificationAll", /*#__P
101
101
  }());
102
102
  export var checkNotification = createAsyncThunk("/checkNotification", /*#__PURE__*/function () {
103
103
  var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(_, _ref7) {
104
- var dispatch, response;
105
- return _regeneratorRuntime.wrap(function _callee4$(_context4) {
104
+ var dispatch, response, _t4;
105
+ return _regeneratorRuntime.wrap(function (_context4) {
106
106
  while (1) switch (_context4.prev = _context4.next) {
107
107
  case 0:
108
108
  dispatch = _ref7.dispatch;
109
109
  _context4.prev = 1;
110
- _context4.next = 4;
110
+ _context4.next = 2;
111
111
  return Services.checkNotification();
112
- case 4:
112
+ case 2:
113
113
  response = _context4.sent;
114
114
  return _context4.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
115
- case 8:
116
- _context4.prev = 8;
117
- _context4.t0 = _context4["catch"](1);
118
- errorMessage(_context4.t0.response.data.message);
115
+ case 3:
116
+ _context4.prev = 3;
117
+ _t4 = _context4["catch"](1);
118
+ errorMessage(_t4.response.data.message);
119
119
  // dispatch(setLoading(false));
120
- case 11:
120
+ case 4:
121
121
  case "end":
122
122
  return _context4.stop();
123
123
  }
124
- }, _callee4, null, [[1, 8]]);
124
+ }, _callee4, null, [[1, 3]]);
125
125
  }));
126
126
  return function (_x7, _x8) {
127
127
  return _ref8.apply(this, arguments);
128
128
  };
129
129
  }());
130
130
  export var getNotificationSettings = createAsyncThunk("/getNotificationSettings", /*#__PURE__*/function () {
131
- var _ref10 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_, _ref9) {
132
- var dispatch, response;
133
- return _regeneratorRuntime.wrap(function _callee5$(_context5) {
131
+ var _ref0 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_, _ref9) {
132
+ var dispatch, response, _t5;
133
+ return _regeneratorRuntime.wrap(function (_context5) {
134
134
  while (1) switch (_context5.prev = _context5.next) {
135
135
  case 0:
136
136
  dispatch = _ref9.dispatch;
137
137
  _context5.prev = 1;
138
- _context5.next = 4;
138
+ _context5.next = 2;
139
139
  return Services.getNotificationSettings();
140
- case 4:
140
+ case 2:
141
141
  response = _context5.sent;
142
142
  return _context5.abrupt("return", response);
143
- case 8:
144
- _context5.prev = 8;
145
- _context5.t0 = _context5["catch"](1);
146
- errorMessage(_context5.t0.response.data.message);
143
+ case 3:
144
+ _context5.prev = 3;
145
+ _t5 = _context5["catch"](1);
146
+ errorMessage(_t5.response.data.message);
147
147
  // dispatch(setLoading(false));
148
- case 11:
148
+ case 4:
149
149
  case "end":
150
150
  return _context5.stop();
151
151
  }
152
- }, _callee5, null, [[1, 8]]);
152
+ }, _callee5, null, [[1, 3]]);
153
153
  }));
154
- return function (_x9, _x10) {
155
- return _ref10.apply(this, arguments);
154
+ return function (_x9, _x0) {
155
+ return _ref0.apply(this, arguments);
156
156
  };
157
157
  }());
158
158
  export var editNotificationSettings = createAsyncThunk("/editNotificationSettings", /*#__PURE__*/function () {
159
- var _ref12 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(data, _ref11) {
160
- var dispatch, response;
161
- return _regeneratorRuntime.wrap(function _callee6$(_context6) {
159
+ var _ref10 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(data, _ref1) {
160
+ var dispatch, response, _t6;
161
+ return _regeneratorRuntime.wrap(function (_context6) {
162
162
  while (1) switch (_context6.prev = _context6.next) {
163
163
  case 0:
164
- dispatch = _ref11.dispatch;
164
+ dispatch = _ref1.dispatch;
165
165
  _context6.prev = 1;
166
- _context6.next = 4;
166
+ _context6.next = 2;
167
167
  return Services.editNotificationSettings(data);
168
- case 4:
168
+ case 2:
169
169
  response = _context6.sent;
170
170
  // dispatch(setLoading(false));
171
171
  dispatch(setNotificationsRender(function (prev) {
172
172
  return !prev;
173
173
  }));
174
174
  return _context6.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
175
- case 9:
176
- _context6.prev = 9;
177
- _context6.t0 = _context6["catch"](1);
178
- errorMessage(_context6.t0.response.data.message);
175
+ case 3:
176
+ _context6.prev = 3;
177
+ _t6 = _context6["catch"](1);
178
+ errorMessage(_t6.response.data.message);
179
179
  // dispatch(setLoading(false));
180
- case 12:
180
+ case 4:
181
181
  case "end":
182
182
  return _context6.stop();
183
183
  }
184
- }, _callee6, null, [[1, 9]]);
184
+ }, _callee6, null, [[1, 3]]);
185
185
  }));
186
- return function (_x11, _x12) {
187
- return _ref12.apply(this, arguments);
186
+ return function (_x1, _x10) {
187
+ return _ref10.apply(this, arguments);
188
188
  };
189
189
  }());
190
190
  export var notification = createSlice({
191
191
  name: "notification",
192
192
  initialState: initialState,
193
193
  extraReducers: function extraReducers(builder) {
194
- builder.addCase(getNotifications.fulfilled, function (state, _ref13) {
195
- var payload = _ref13.payload;
194
+ builder.addCase(getNotifications.fulfilled, function (state, _ref11) {
195
+ var payload = _ref11.payload;
196
196
  state.notifications = payload;
197
- }).addCase(checkNotification.fulfilled, function (state, _ref14) {
198
- var payload = _ref14.payload;
197
+ }).addCase(checkNotification.fulfilled, function (state, _ref12) {
198
+ var payload = _ref12.payload;
199
199
  state.checkNotification = payload;
200
- }).addCase(getNotificationSettings.fulfilled, function (state, _ref15) {
201
- var payload = _ref15.payload;
200
+ }).addCase(getNotificationSettings.fulfilled, function (state, _ref13) {
201
+ var payload = _ref13.payload;
202
202
  state.notificationSettings = payload;
203
203
  });
204
204
  }
@@ -10,15 +10,15 @@ var Services = /*#__PURE__*/_createClass(function Services() {
10
10
  _defineProperty(Services, "getNotifications", /*#__PURE__*/function () {
11
11
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(size, page) {
12
12
  var response;
13
- return _regeneratorRuntime.wrap(function _callee$(_context) {
13
+ return _regeneratorRuntime.wrap(function (_context) {
14
14
  while (1) switch (_context.prev = _context.next) {
15
15
  case 0:
16
- _context.next = 2;
16
+ _context.next = 1;
17
17
  return api.get("/NotificationDetails/".concat(size, "/page/").concat(page));
18
- case 2:
18
+ case 1:
19
19
  response = _context.sent;
20
20
  return _context.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
21
- case 4:
21
+ case 2:
22
22
  case "end":
23
23
  return _context.stop();
24
24
  }
@@ -31,15 +31,15 @@ _defineProperty(Services, "getNotifications", /*#__PURE__*/function () {
31
31
  _defineProperty(Services, "readNotification", /*#__PURE__*/function () {
32
32
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
33
33
  var response;
34
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
34
+ return _regeneratorRuntime.wrap(function (_context2) {
35
35
  while (1) switch (_context2.prev = _context2.next) {
36
36
  case 0:
37
- _context2.next = 2;
37
+ _context2.next = 1;
38
38
  return api.put("/NotificationDetails", data);
39
- case 2:
39
+ case 1:
40
40
  response = _context2.sent;
41
41
  return _context2.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
42
- case 4:
42
+ case 2:
43
43
  case "end":
44
44
  return _context2.stop();
45
45
  }
@@ -51,17 +51,17 @@ _defineProperty(Services, "readNotification", /*#__PURE__*/function () {
51
51
  }());
52
52
  _defineProperty(Services, "readNotificationAll", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
53
53
  var response;
54
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
54
+ return _regeneratorRuntime.wrap(function (_context3) {
55
55
  while (1) switch (_context3.prev = _context3.next) {
56
56
  case 0:
57
- _context3.next = 2;
57
+ _context3.next = 1;
58
58
  return api.put("/NotificationDetails/ReadAll", {
59
59
  id: ""
60
60
  });
61
- case 2:
61
+ case 1:
62
62
  response = _context3.sent;
63
63
  return _context3.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
64
- case 4:
64
+ case 2:
65
65
  case "end":
66
66
  return _context3.stop();
67
67
  }
@@ -69,15 +69,15 @@ _defineProperty(Services, "readNotificationAll", /*#__PURE__*/_asyncToGenerator(
69
69
  })));
70
70
  _defineProperty(Services, "checkNotification", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
71
71
  var response;
72
- return _regeneratorRuntime.wrap(function _callee4$(_context4) {
72
+ return _regeneratorRuntime.wrap(function (_context4) {
73
73
  while (1) switch (_context4.prev = _context4.next) {
74
74
  case 0:
75
- _context4.next = 2;
75
+ _context4.next = 1;
76
76
  return api.get("/notificationusersettings/check");
77
- case 2:
77
+ case 1:
78
78
  response = _context4.sent;
79
79
  return _context4.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
80
- case 4:
80
+ case 2:
81
81
  case "end":
82
82
  return _context4.stop();
83
83
  }
@@ -85,15 +85,15 @@ _defineProperty(Services, "checkNotification", /*#__PURE__*/_asyncToGenerator(/*
85
85
  })));
86
86
  _defineProperty(Services, "getNotificationSettings", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
87
87
  var response;
88
- return _regeneratorRuntime.wrap(function _callee5$(_context5) {
88
+ return _regeneratorRuntime.wrap(function (_context5) {
89
89
  while (1) switch (_context5.prev = _context5.next) {
90
90
  case 0:
91
- _context5.next = 2;
91
+ _context5.next = 1;
92
92
  return api.get("/notificationusersettings");
93
- case 2:
93
+ case 1:
94
94
  response = _context5.sent;
95
95
  return _context5.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
96
- case 4:
96
+ case 2:
97
97
  case "end":
98
98
  return _context5.stop();
99
99
  }
@@ -102,15 +102,15 @@ _defineProperty(Services, "getNotificationSettings", /*#__PURE__*/_asyncToGenera
102
102
  _defineProperty(Services, "editNotificationSettings", /*#__PURE__*/function () {
103
103
  var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(data) {
104
104
  var response;
105
- return _regeneratorRuntime.wrap(function _callee6$(_context6) {
105
+ return _regeneratorRuntime.wrap(function (_context6) {
106
106
  while (1) switch (_context6.prev = _context6.next) {
107
107
  case 0:
108
- _context6.next = 2;
108
+ _context6.next = 1;
109
109
  return api.put("/notificationusersettings", data);
110
- case 2:
110
+ case 1:
111
111
  response = _context6.sent;
112
112
  return _context6.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
113
- case 4:
113
+ case 2:
114
114
  case "end":
115
115
  return _context6.stop();
116
116
  }