vineanova-redux-artifacts 1.48.0 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -1
- package/dist/actions/commonActions.js +234 -0
- package/dist/reducers/index.js +7 -1
- package/dist/sagas/vineaNovaApi.sagas.js +1132 -782
- package/dist/selectors/chartFiltersSelector.js +71 -0
- package/dist/selectors/chartsSelector.js +71 -0
- package/dist/selectors/dashboardPageFiltersSelector.js +71 -0
- package/dist/selectors/dashboardPagesSelector.js +71 -0
- package/dist/selectors/index.js +78 -0
- package/dist/selectors/lookupChartFiltersSelector.js +71 -0
- package/dist/selectors/lookupDashboardPageFiltersSelector.js +71 -0
- package/dist/selectors/lookupStatusSelector.js +16 -4
- package/dist/services/apiServices.js +1026 -706
- package/package.json +1 -1
- package/src/actions/commonActions.js +54 -0
- package/src/reducers/index.js +6 -0
- package/src/sagas/vineaNovaApi.sagas.js +198 -0
- package/src/selectors/chartFiltersSelector.js +64 -0
- package/src/selectors/chartsSelector.js +64 -0
- package/src/selectors/dashboardPageFiltersSelector.js +64 -0
- package/src/selectors/dashboardPagesSelector.js +64 -0
- package/src/selectors/index.js +6 -0
- package/src/selectors/lookupChartFiltersSelector.js +64 -0
- package/src/selectors/lookupDashboardPageFiltersSelector.js +64 -0
- package/src/selectors/lookupStatusSelector.js +18 -0
- package/src/services/apiServices.js +164 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## 1.
|
|
5
|
+
## 1.51.0 (2022-04-11)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
@@ -45,6 +45,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
45
45
|
* **duplicate:** rows duplicate ([0a8ef1e](https://infopowernz.visualstudio.com///commit/0a8ef1e9498012a2e3a640bf056192d8c6d612bf))
|
|
46
46
|
* **errorboundary:** updated error boundary ([1596079](https://infopowernz.visualstudio.com///commit/15960793c127e4fc22f04b21a903a7ee5c58a9cb))
|
|
47
47
|
* **filegen:** generate feature file generations ([8024c53](https://infopowernz.visualstudio.com///commit/8024c532307dd44b3529cda56918a89df4478198))
|
|
48
|
+
* **filters:** updated filters for dashboards ([e8b68f7](https://infopowernz.visualstudio.com///commit/e8b68f7cfc7254336a976f8fcc24a38fcaad7683))
|
|
48
49
|
* **identity overview header:** Added organisation overview header ([be215cc](https://infopowernz.visualstudio.com///commit/be215cce88ce1c4f215edc85c281871ca6627bca))
|
|
49
50
|
* **identity:** updated identity screens ([75f298c](https://infopowernz.visualstudio.com///commit/75f298c67c6b4b011bce43b065f5bdf0214aa62a))
|
|
50
51
|
* **idle:** usertime out ([3cbf4ed](https://infopowernz.visualstudio.com///commit/3cbf4ed2e49f70135f4ef2580aa5de8f8e2b3d0c))
|
|
@@ -160,6 +160,162 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
160
160
|
}]
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
+
charts: {
|
|
164
|
+
get: {
|
|
165
|
+
REQUEST: [function (payload) {
|
|
166
|
+
return payload;
|
|
167
|
+
}, function () {
|
|
168
|
+
return {
|
|
169
|
+
reducerName: 'charts'
|
|
170
|
+
};
|
|
171
|
+
}],
|
|
172
|
+
RECEIVE: [function (payload) {
|
|
173
|
+
return payload;
|
|
174
|
+
}, function () {
|
|
175
|
+
return {
|
|
176
|
+
reducerName: 'charts'
|
|
177
|
+
};
|
|
178
|
+
}],
|
|
179
|
+
ERROR: [function (payload) {
|
|
180
|
+
return payload;
|
|
181
|
+
}, function () {
|
|
182
|
+
return {
|
|
183
|
+
reducerName: 'charts'
|
|
184
|
+
};
|
|
185
|
+
}],
|
|
186
|
+
CLEARDATA: [function (payload) {
|
|
187
|
+
return payload;
|
|
188
|
+
}, function () {
|
|
189
|
+
return {
|
|
190
|
+
reducerName: 'charts'
|
|
191
|
+
};
|
|
192
|
+
}],
|
|
193
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
194
|
+
return payload;
|
|
195
|
+
}, function () {
|
|
196
|
+
return {
|
|
197
|
+
reducerName: 'charts'
|
|
198
|
+
};
|
|
199
|
+
}]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
chartFilters: {
|
|
203
|
+
get: {
|
|
204
|
+
REQUEST: [function (payload) {
|
|
205
|
+
return payload;
|
|
206
|
+
}, function () {
|
|
207
|
+
return {
|
|
208
|
+
reducerName: 'chartFilters'
|
|
209
|
+
};
|
|
210
|
+
}],
|
|
211
|
+
RECEIVE: [function (payload) {
|
|
212
|
+
return payload;
|
|
213
|
+
}, function () {
|
|
214
|
+
return {
|
|
215
|
+
reducerName: 'chartFilters'
|
|
216
|
+
};
|
|
217
|
+
}],
|
|
218
|
+
ERROR: [function (payload) {
|
|
219
|
+
return payload;
|
|
220
|
+
}, function () {
|
|
221
|
+
return {
|
|
222
|
+
reducerName: 'chartFilters'
|
|
223
|
+
};
|
|
224
|
+
}],
|
|
225
|
+
CLEARDATA: [function (payload) {
|
|
226
|
+
return payload;
|
|
227
|
+
}, function () {
|
|
228
|
+
return {
|
|
229
|
+
reducerName: 'chartFilters'
|
|
230
|
+
};
|
|
231
|
+
}],
|
|
232
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
233
|
+
return payload;
|
|
234
|
+
}, function () {
|
|
235
|
+
return {
|
|
236
|
+
reducerName: 'chartFilters'
|
|
237
|
+
};
|
|
238
|
+
}]
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
dashboardPages: {
|
|
242
|
+
get: {
|
|
243
|
+
REQUEST: [function (payload) {
|
|
244
|
+
return payload;
|
|
245
|
+
}, function () {
|
|
246
|
+
return {
|
|
247
|
+
reducerName: 'dashboardPages'
|
|
248
|
+
};
|
|
249
|
+
}],
|
|
250
|
+
RECEIVE: [function (payload) {
|
|
251
|
+
return payload;
|
|
252
|
+
}, function () {
|
|
253
|
+
return {
|
|
254
|
+
reducerName: 'dashboardPages'
|
|
255
|
+
};
|
|
256
|
+
}],
|
|
257
|
+
ERROR: [function (payload) {
|
|
258
|
+
return payload;
|
|
259
|
+
}, function () {
|
|
260
|
+
return {
|
|
261
|
+
reducerName: 'dashboardPages'
|
|
262
|
+
};
|
|
263
|
+
}],
|
|
264
|
+
CLEARDATA: [function (payload) {
|
|
265
|
+
return payload;
|
|
266
|
+
}, function () {
|
|
267
|
+
return {
|
|
268
|
+
reducerName: 'dashboardPages'
|
|
269
|
+
};
|
|
270
|
+
}],
|
|
271
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
272
|
+
return payload;
|
|
273
|
+
}, function () {
|
|
274
|
+
return {
|
|
275
|
+
reducerName: 'dashboardPages'
|
|
276
|
+
};
|
|
277
|
+
}]
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
dashboardPageFilters: {
|
|
281
|
+
get: {
|
|
282
|
+
REQUEST: [function (payload) {
|
|
283
|
+
return payload;
|
|
284
|
+
}, function () {
|
|
285
|
+
return {
|
|
286
|
+
reducerName: 'dashboardPageFilters'
|
|
287
|
+
};
|
|
288
|
+
}],
|
|
289
|
+
RECEIVE: [function (payload) {
|
|
290
|
+
return payload;
|
|
291
|
+
}, function () {
|
|
292
|
+
return {
|
|
293
|
+
reducerName: 'dashboardPageFilters'
|
|
294
|
+
};
|
|
295
|
+
}],
|
|
296
|
+
ERROR: [function (payload) {
|
|
297
|
+
return payload;
|
|
298
|
+
}, function () {
|
|
299
|
+
return {
|
|
300
|
+
reducerName: 'dashboardPageFilters'
|
|
301
|
+
};
|
|
302
|
+
}],
|
|
303
|
+
CLEARDATA: [function (payload) {
|
|
304
|
+
return payload;
|
|
305
|
+
}, function () {
|
|
306
|
+
return {
|
|
307
|
+
reducerName: 'dashboardPageFilters'
|
|
308
|
+
};
|
|
309
|
+
}],
|
|
310
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
311
|
+
return payload;
|
|
312
|
+
}, function () {
|
|
313
|
+
return {
|
|
314
|
+
reducerName: 'dashboardPageFilters'
|
|
315
|
+
};
|
|
316
|
+
}]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
163
319
|
cropBlockNotes: {
|
|
164
320
|
get: {
|
|
165
321
|
REQUEST: [function (payload) {
|
|
@@ -5935,6 +6091,84 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5935
6091
|
}]
|
|
5936
6092
|
}
|
|
5937
6093
|
},
|
|
6094
|
+
lookupDashboardPageFilters: {
|
|
6095
|
+
get: {
|
|
6096
|
+
REQUEST: [function (payload) {
|
|
6097
|
+
return payload;
|
|
6098
|
+
}, function () {
|
|
6099
|
+
return {
|
|
6100
|
+
reducerName: 'lookupDashboardPageFilters'
|
|
6101
|
+
};
|
|
6102
|
+
}],
|
|
6103
|
+
RECEIVE: [function (payload) {
|
|
6104
|
+
return payload;
|
|
6105
|
+
}, function () {
|
|
6106
|
+
return {
|
|
6107
|
+
reducerName: 'lookupDashboardPageFilters'
|
|
6108
|
+
};
|
|
6109
|
+
}],
|
|
6110
|
+
ERROR: [function (payload) {
|
|
6111
|
+
return payload;
|
|
6112
|
+
}, function () {
|
|
6113
|
+
return {
|
|
6114
|
+
reducerName: 'lookupDashboardPageFilters'
|
|
6115
|
+
};
|
|
6116
|
+
}],
|
|
6117
|
+
CLEARDATA: [function (payload) {
|
|
6118
|
+
return payload;
|
|
6119
|
+
}, function () {
|
|
6120
|
+
return {
|
|
6121
|
+
reducerName: 'lookupDashboardPageFilters'
|
|
6122
|
+
};
|
|
6123
|
+
}],
|
|
6124
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6125
|
+
return payload;
|
|
6126
|
+
}, function () {
|
|
6127
|
+
return {
|
|
6128
|
+
reducerName: 'lookupDashboardPageFilters'
|
|
6129
|
+
};
|
|
6130
|
+
}]
|
|
6131
|
+
}
|
|
6132
|
+
},
|
|
6133
|
+
lookupChartFilters: {
|
|
6134
|
+
get: {
|
|
6135
|
+
REQUEST: [function (payload) {
|
|
6136
|
+
return payload;
|
|
6137
|
+
}, function () {
|
|
6138
|
+
return {
|
|
6139
|
+
reducerName: 'lookupChartFilters'
|
|
6140
|
+
};
|
|
6141
|
+
}],
|
|
6142
|
+
RECEIVE: [function (payload) {
|
|
6143
|
+
return payload;
|
|
6144
|
+
}, function () {
|
|
6145
|
+
return {
|
|
6146
|
+
reducerName: 'lookupChartFilters'
|
|
6147
|
+
};
|
|
6148
|
+
}],
|
|
6149
|
+
ERROR: [function (payload) {
|
|
6150
|
+
return payload;
|
|
6151
|
+
}, function () {
|
|
6152
|
+
return {
|
|
6153
|
+
reducerName: 'lookupChartFilters'
|
|
6154
|
+
};
|
|
6155
|
+
}],
|
|
6156
|
+
CLEARDATA: [function (payload) {
|
|
6157
|
+
return payload;
|
|
6158
|
+
}, function () {
|
|
6159
|
+
return {
|
|
6160
|
+
reducerName: 'lookupChartFilters'
|
|
6161
|
+
};
|
|
6162
|
+
}],
|
|
6163
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6164
|
+
return payload;
|
|
6165
|
+
}, function () {
|
|
6166
|
+
return {
|
|
6167
|
+
reducerName: 'lookupChartFilters'
|
|
6168
|
+
};
|
|
6169
|
+
}]
|
|
6170
|
+
}
|
|
6171
|
+
},
|
|
5938
6172
|
fetchAllLookups: {
|
|
5939
6173
|
REQUEST: [function (payload) {
|
|
5940
6174
|
return payload;
|
package/dist/reducers/index.js
CHANGED
|
@@ -14,6 +14,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
14
14
|
var rootReducer = {
|
|
15
15
|
entities: (0, _redux.combineReducers)({
|
|
16
16
|
blockVintage: (0, _createNamedReducer["default"])('blockVintage'),
|
|
17
|
+
charts: (0, _createNamedReducer["default"])('charts'),
|
|
18
|
+
chartFilters: (0, _createNamedReducer["default"])('chartFilters'),
|
|
19
|
+
dashboardPages: (0, _createNamedReducer["default"])('dashboardPages'),
|
|
20
|
+
dashboardPageFilters: (0, _createNamedReducer["default"])('dashboardPageFilters'),
|
|
17
21
|
cropBlockNotes: (0, _createNamedReducer["default"])('cropBlockNotes'),
|
|
18
22
|
cropBlockPhenology: (0, _createNamedReducer["default"])('cropBlockPhenology'),
|
|
19
23
|
cropBlockSetting: (0, _createNamedReducer["default"])('cropBlockSetting'),
|
|
@@ -107,7 +111,9 @@ var rootReducer = {
|
|
|
107
111
|
lookupCropSettingOption: (0, _createNamedReducer["default"])('lookupCropSettingOption'),
|
|
108
112
|
lookupInactiveReason: (0, _createNamedReducer["default"])('lookupInactiveReason'),
|
|
109
113
|
lookupDocumentType: (0, _createNamedReducer["default"])('lookupDocumentType'),
|
|
110
|
-
lookupDocumentStatus: (0, _createNamedReducer["default"])('lookupDocumentStatus')
|
|
114
|
+
lookupDocumentStatus: (0, _createNamedReducer["default"])('lookupDocumentStatus'),
|
|
115
|
+
lookupDashboardPageFilters: (0, _createNamedReducer["default"])('lookupDashboardPageFilters'),
|
|
116
|
+
lookupChartFilters: (0, _createNamedReducer["default"])('lookupChartFilters')
|
|
111
117
|
})
|
|
112
118
|
};
|
|
113
119
|
var _default = rootReducer;
|