vineanova-redux-artifacts 1.93.0 → 1.94.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 +3 -1
- package/dist/actions/commonActions.js +499 -0
- package/dist/reducers/createNamedReducer.js +5 -2
- package/dist/reducers/index.js +10 -1
- package/dist/sagas/vineaNovaApi.sagas.js +9241 -9059
- package/dist/selectors/assignSampleHeadersSelector.js +4 -1
- package/dist/selectors/blockVintageSelector.js +4 -1
- package/dist/selectors/cLearCacheSelector.js +4 -1
- package/dist/selectors/chartFiltersSelector.js +4 -1
- package/dist/selectors/chartsByChartFiltersSelector.js +4 -1
- package/dist/selectors/chartsByPageFiltersSelector.js +4 -1
- package/dist/selectors/chartsSelector.js +4 -1
- package/dist/selectors/contactMethodSelector.js +4 -1
- package/dist/selectors/cropBlockNotesSelector.js +4 -1
- package/dist/selectors/cropBlockPhenologySelector.js +4 -1
- package/dist/selectors/cropBlockSettingSelector.js +4 -1
- package/dist/selectors/cropBlockVintageSelector.js +4 -1
- package/dist/selectors/dashboardPageFiltersSelector.js +4 -1
- package/dist/selectors/dashboardPagesSelector.js +4 -1
- package/dist/selectors/deAssignSampleHeadersSelector.js +4 -1
- package/dist/selectors/demoExcelDataSelector.js +4 -1
- package/dist/selectors/getLookUpSelector.js +4 -1
- package/dist/selectors/gridVineyardBlocksSelector.js +4 -1
- package/dist/selectors/healthcheckSelector.js +4 -1
- package/dist/selectors/identityAccommodationSelector.js +4 -1
- package/dist/selectors/identityActivitySelector.js +61 -0
- package/dist/selectors/identityClassificationSelector.js +4 -1
- package/dist/selectors/identityConsumableSelector.js +4 -1
- package/dist/selectors/identityContactMethodAddressSelector.js +4 -1
- package/dist/selectors/identityContactMethodSelector.js +4 -1
- package/dist/selectors/identityCourseSelector.js +4 -1
- package/dist/selectors/identityDataConnectorSelector.js +4 -1
- package/dist/selectors/identityDetailsSelector.js +4 -1
- package/dist/selectors/identityNoteImageSelector.js +4 -1
- package/dist/selectors/identityNoteSelector.js +4 -1
- package/dist/selectors/identityNotesSelector.js +4 -1
- package/dist/selectors/identityOrganisationSelector.js +4 -1
- package/dist/selectors/identityPersonSelector.js +4 -1
- package/dist/selectors/identityReferenceSelector.js +4 -1
- package/dist/selectors/identityRelationshipSelector.js +4 -1
- package/dist/selectors/identityRelationshipTypeSelector.js +4 -1
- package/dist/selectors/identityRoleSelector.js +4 -1
- package/dist/selectors/identitySelector.js +4 -1
- package/dist/selectors/identityServiceProviderSelector.js +4 -1
- package/dist/selectors/identityStatusSelector.js +4 -1
- package/dist/selectors/identityUserPersonSelector.js +4 -1
- package/dist/selectors/identityVehicleSelector.js +4 -1
- package/dist/selectors/identityVineyardBlockRowSelector.js +4 -1
- package/dist/selectors/identityVineyardBlockRowsSelector.js +4 -1
- package/dist/selectors/identityVineyardBlockSelector.js +4 -1
- package/dist/selectors/identityVineyardBlocksSelector.js +4 -1
- package/dist/selectors/identityVineyardSelector.js +4 -1
- package/dist/selectors/index.js +99 -0
- package/dist/selectors/linkedDocumentSelector.js +4 -1
- package/dist/selectors/linkedDocumentsSelector.js +4 -1
- package/dist/selectors/lookupActivityGroupSelector.js +61 -0
- package/dist/selectors/lookupActivitySelector.js +4 -1
- package/dist/selectors/lookupBlockVintageStatusSelector.js +4 -1
- package/dist/selectors/lookupBusinessUnitSelector.js +4 -1
- package/dist/selectors/lookupChartFiltersSelector.js +4 -1
- package/dist/selectors/lookupClassificationGroupIdentityTypeSelector.js +4 -1
- package/dist/selectors/lookupClassificationGroupSelector.js +4 -1
- package/dist/selectors/lookupClassificationSelector.js +4 -1
- package/dist/selectors/lookupConsumableTypeSelector.js +4 -1
- package/dist/selectors/lookupContactMethodSelector.js +4 -1
- package/dist/selectors/lookupCostingUnitSelector.js +61 -0
- package/dist/selectors/lookupCountrySelector.js +4 -1
- package/dist/selectors/lookupCropSettingInstanceSelector.js +4 -1
- package/dist/selectors/lookupCropSettingOptionSelector.js +4 -1
- package/dist/selectors/lookupDashboardPageFiltersSelector.js +4 -1
- package/dist/selectors/lookupDataProviderSelector.js +4 -1
- package/dist/selectors/lookupDataProviderTypeSelector.js +4 -1
- package/dist/selectors/lookupDisplayAttributeSelector.js +61 -0
- package/dist/selectors/lookupDocumentStatusSelector.js +4 -1
- package/dist/selectors/lookupDocumentTypeSelector.js +4 -1
- package/dist/selectors/lookupDurationSelector.js +61 -0
- package/dist/selectors/lookupEthnicitySelector.js +4 -1
- package/dist/selectors/lookupGenderSelector.js +4 -1
- package/dist/selectors/lookupGrowingRegionSelector.js +4 -1
- package/dist/selectors/lookupGrowingSubRegionSelector.js +4 -1
- package/dist/selectors/lookupIdentityTypeSelector.js +4 -1
- package/dist/selectors/lookupInactiveReasonSelector.js +4 -1
- package/dist/selectors/lookupKeywordSelector.js +4 -1
- package/dist/selectors/lookupLanguageSelector.js +4 -1
- package/dist/selectors/lookupMeasureGroupSelector.js +4 -1
- package/dist/selectors/lookupMeasureInstanceSelector.js +4 -1
- package/dist/selectors/lookupMeasureSelector.js +4 -1
- package/dist/selectors/lookupNationalitySelector.js +4 -1
- package/dist/selectors/lookupNoteStatusSelector.js +4 -1
- package/dist/selectors/lookupPayrollSystemSelector.js +4 -1
- package/dist/selectors/lookupPhenologyMeasureOptionSelector.js +4 -1
- package/dist/selectors/lookupPhenologyMeasureSelector.js +4 -1
- package/dist/selectors/lookupPhenologyMeasureSetSelector.js +4 -1
- package/dist/selectors/lookupPhenologyMeasureTypeSelector.js +4 -1
- package/dist/selectors/lookupReferenceTypeIdentityTypeSelector.js +4 -1
- package/dist/selectors/lookupReferenceTypeSelector.js +4 -1
- package/dist/selectors/lookupRelationshipSubTypeSelector.js +4 -1
- package/dist/selectors/lookupRelationshipTypeSelector.js +4 -1
- package/dist/selectors/lookupResourceTypeSelector.js +61 -0
- package/dist/selectors/lookupResourceTypeUnitSelector.js +61 -0
- package/dist/selectors/lookupRoleTypeIdentityTypeSelector.js +4 -1
- package/dist/selectors/lookupRoleTypeSelector.js +4 -1
- package/dist/selectors/lookupRootStockSelector.js +4 -1
- package/dist/selectors/lookupRowSpecialAttributeSelector.js +4 -1
- package/dist/selectors/lookupSalutationSelector.js +4 -1
- package/dist/selectors/lookupSampleRequestStatusSelector.js +4 -1
- package/dist/selectors/lookupSensorStatusSelector.js +4 -1
- package/dist/selectors/lookupSensorTypeMeasureUnitSelector.js +4 -1
- package/dist/selectors/lookupSensorTypeSelector.js +4 -1
- package/dist/selectors/lookupStatusSelector.js +39 -4
- package/dist/selectors/lookupTownSelector.js +4 -1
- package/dist/selectors/lookupTrellisSelector.js +4 -1
- package/dist/selectors/lookupVarietyCloneSelector.js +4 -1
- package/dist/selectors/lookupVarietySelector.js +4 -1
- package/dist/selectors/lookupVehicleMakeSelector.js +4 -1
- package/dist/selectors/lookupVehicleTypeSelector.js +4 -1
- package/dist/selectors/lookupVintageSelector.js +4 -1
- package/dist/selectors/lookupWorkUnitSelector.js +61 -0
- package/dist/selectors/moveSampleLinesSelector.js +4 -1
- package/dist/selectors/objectLogoSelector.js +4 -1
- package/dist/selectors/processblocksamplingSelector.js +4 -1
- package/dist/selectors/queueMessageSelector.js +4 -1
- package/dist/selectors/recommendedSampleSizeSelector.js +4 -1
- package/dist/selectors/regionActivityProgressSelector.js +4 -1
- package/dist/selectors/regionVineyardGeometrySelector.js +4 -1
- package/dist/selectors/reportFileSelector.js +4 -1
- package/dist/selectors/reportsSelector.js +4 -1
- package/dist/selectors/sampleBlockVintagesSelector.js +4 -1
- package/dist/selectors/sampleHeaderLinesSelector.js +4 -1
- package/dist/selectors/sampleHeaderSelector.js +4 -1
- package/dist/selectors/sampleHeaderStatusSelector.js +4 -1
- package/dist/selectors/sampleHeadersSelector.js +4 -1
- package/dist/selectors/sampleIdentitySelector.js +4 -1
- package/dist/selectors/sampleSetSelector.js +4 -1
- package/dist/selectors/sampleSetsSelector.js +4 -1
- package/dist/selectors/samplingUsersSelector.js +4 -1
- package/dist/selectors/searchIdentitySelector.js +4 -1
- package/dist/selectors/searchTrackingBlockVintagesSelector.js +4 -1
- package/dist/selectors/searchTrackingVineyardsSelector.js +4 -1
- package/dist/selectors/sensorBlocksSelector.js +4 -1
- package/dist/selectors/sensorsSelector.js +4 -1
- package/dist/selectors/sitesSelector.js +4 -1
- package/dist/selectors/triggerSensorSummaryDataSyncSelector.js +4 -1
- package/dist/selectors/triggerVintraceMetricDataSyncSelector.js +61 -0
- package/dist/selectors/vineyardBlockActivityProgressSelector.js +4 -1
- package/dist/selectors/vineyardBlocksGeometrySelector.js +4 -1
- package/dist/selectors/vineyardGeometrySelector.js +4 -1
- package/dist/services/apiServices.js +6757 -6659
- package/dist/services/config/serviceConfig.js +4 -1
- package/package.json +1 -1
- package/src/actions/commonActions.js +109 -0
- package/src/reducers/index.js +9 -0
- package/src/sagas/vineaNovaApi.sagas.js +433 -0
- package/src/selectors/identityActivitySelector.js +64 -0
- package/src/selectors/index.js +9 -0
- package/src/selectors/lookupActivityGroupSelector.js +64 -0
- package/src/selectors/lookupCostingUnitSelector.js +64 -0
- package/src/selectors/lookupDisplayAttributeSelector.js +64 -0
- package/src/selectors/lookupDurationSelector.js +64 -0
- package/src/selectors/lookupResourceTypeSelector.js +64 -0
- package/src/selectors/lookupResourceTypeUnitSelector.js +64 -0
- package/src/selectors/lookupStatusSelector.js +63 -0
- package/src/selectors/lookupWorkUnitSelector.js +64 -0
- package/src/selectors/triggerVintraceMetricDataSyncSelector.js +64 -0
- package/src/services/apiServices.js +319 -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.94.0 (2023-01-19)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
@@ -105,6 +105,8 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
105
105
|
* **trellisLookup:** created lookup api for trellis ([4e68faa](https://infopowernz.visualstudio.com///commit/4e68faacb5f10f49f6e69f9a61c1ae581d2231dd))
|
|
106
106
|
* **typescript:** updated typescripts ([5b31866](https://infopowernz.visualstudio.com///commit/5b31866f360da01fa84226db91e4ca67c3961238))
|
|
107
107
|
* **unittests:** updated unittests ([99e19bf](https://infopowernz.visualstudio.com///commit/99e19bf21c65f88e50dea5b657eed2a2b52786df))
|
|
108
|
+
* updated frappe grantt work ([e566dcd](https://infopowernz.visualstudio.com///commit/e566dcd48a8325092d10ad35403d960097f8cc98))
|
|
109
|
+
* updated frappe grantt work ([b9b4ec9](https://infopowernz.visualstudio.com///commit/b9b4ec9f562edc002d5c70264bad10a09e725359))
|
|
108
110
|
* updated the delete func of identities ([81b45c0](https://infopowernz.visualstudio.com///commit/81b45c01fcf76397214de2ece200c5f321a70977))
|
|
109
111
|
* **vineyard and serviceProvider:** created insert and update methods for vineyard and serviceProvider ([01ac804](https://infopowernz.visualstudio.com///commit/01ac80423643325ee5b807f1defbd23abb4f08ec))
|
|
110
112
|
* **vineyardblocks:** updated vineyard blocks ([f3d7f12](https://infopowernz.visualstudio.com///commit/f3d7f125fc0a73f6398353f9946c7ecb22198b2b))
|
|
@@ -8,6 +8,156 @@ var _reduxActions = require("redux-actions");
|
|
|
8
8
|
var ducksActions = (0, _reduxActions.createActions)({
|
|
9
9
|
api: {
|
|
10
10
|
v1: {
|
|
11
|
+
identityActivity: {
|
|
12
|
+
get: {
|
|
13
|
+
REQUEST: [function (payload) {
|
|
14
|
+
return payload;
|
|
15
|
+
}, function () {
|
|
16
|
+
return {
|
|
17
|
+
reducerName: 'identityActivity'
|
|
18
|
+
};
|
|
19
|
+
}],
|
|
20
|
+
RECEIVE: [function (payload) {
|
|
21
|
+
return payload;
|
|
22
|
+
}, function () {
|
|
23
|
+
return {
|
|
24
|
+
reducerName: 'identityActivity'
|
|
25
|
+
};
|
|
26
|
+
}],
|
|
27
|
+
ERROR: [function (payload) {
|
|
28
|
+
return payload;
|
|
29
|
+
}, function () {
|
|
30
|
+
return {
|
|
31
|
+
reducerName: 'identityActivity'
|
|
32
|
+
};
|
|
33
|
+
}],
|
|
34
|
+
CLEARDATA: [function (payload) {
|
|
35
|
+
return payload;
|
|
36
|
+
}, function () {
|
|
37
|
+
return {
|
|
38
|
+
reducerName: 'identityActivity'
|
|
39
|
+
};
|
|
40
|
+
}],
|
|
41
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
42
|
+
return payload;
|
|
43
|
+
}, function () {
|
|
44
|
+
return {
|
|
45
|
+
reducerName: 'identityActivity'
|
|
46
|
+
};
|
|
47
|
+
}]
|
|
48
|
+
},
|
|
49
|
+
post: {
|
|
50
|
+
REQUEST: [function (payload) {
|
|
51
|
+
return payload;
|
|
52
|
+
}, function () {
|
|
53
|
+
return {
|
|
54
|
+
reducerName: 'identityActivity'
|
|
55
|
+
};
|
|
56
|
+
}],
|
|
57
|
+
RECEIVE: [function (payload) {
|
|
58
|
+
return payload;
|
|
59
|
+
}, function () {
|
|
60
|
+
return {
|
|
61
|
+
reducerName: 'identityActivity'
|
|
62
|
+
};
|
|
63
|
+
}],
|
|
64
|
+
ERROR: [function (payload) {
|
|
65
|
+
return payload;
|
|
66
|
+
}, function () {
|
|
67
|
+
return {
|
|
68
|
+
reducerName: 'identityActivity'
|
|
69
|
+
};
|
|
70
|
+
}],
|
|
71
|
+
CLEARDATA: [function (payload) {
|
|
72
|
+
return payload;
|
|
73
|
+
}, function () {
|
|
74
|
+
return {
|
|
75
|
+
reducerName: 'identityActivity'
|
|
76
|
+
};
|
|
77
|
+
}],
|
|
78
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
79
|
+
return payload;
|
|
80
|
+
}, function () {
|
|
81
|
+
return {
|
|
82
|
+
reducerName: 'identityActivity'
|
|
83
|
+
};
|
|
84
|
+
}]
|
|
85
|
+
},
|
|
86
|
+
put: {
|
|
87
|
+
REQUEST: [function (payload) {
|
|
88
|
+
return payload;
|
|
89
|
+
}, function () {
|
|
90
|
+
return {
|
|
91
|
+
reducerName: 'identityActivity'
|
|
92
|
+
};
|
|
93
|
+
}],
|
|
94
|
+
RECEIVE: [function (payload) {
|
|
95
|
+
return payload;
|
|
96
|
+
}, function () {
|
|
97
|
+
return {
|
|
98
|
+
reducerName: 'identityActivity'
|
|
99
|
+
};
|
|
100
|
+
}],
|
|
101
|
+
ERROR: [function (payload) {
|
|
102
|
+
return payload;
|
|
103
|
+
}, function () {
|
|
104
|
+
return {
|
|
105
|
+
reducerName: 'identityActivity'
|
|
106
|
+
};
|
|
107
|
+
}],
|
|
108
|
+
CLEARDATA: [function (payload) {
|
|
109
|
+
return payload;
|
|
110
|
+
}, function () {
|
|
111
|
+
return {
|
|
112
|
+
reducerName: 'identityActivity'
|
|
113
|
+
};
|
|
114
|
+
}],
|
|
115
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
116
|
+
return payload;
|
|
117
|
+
}, function () {
|
|
118
|
+
return {
|
|
119
|
+
reducerName: 'identityActivity'
|
|
120
|
+
};
|
|
121
|
+
}]
|
|
122
|
+
},
|
|
123
|
+
"delete": {
|
|
124
|
+
REQUEST: [function (payload) {
|
|
125
|
+
return payload;
|
|
126
|
+
}, function () {
|
|
127
|
+
return {
|
|
128
|
+
reducerName: 'identityActivity'
|
|
129
|
+
};
|
|
130
|
+
}],
|
|
131
|
+
RECEIVE: [function (payload) {
|
|
132
|
+
return payload;
|
|
133
|
+
}, function () {
|
|
134
|
+
return {
|
|
135
|
+
reducerName: 'identityActivity'
|
|
136
|
+
};
|
|
137
|
+
}],
|
|
138
|
+
ERROR: [function (payload) {
|
|
139
|
+
return payload;
|
|
140
|
+
}, function () {
|
|
141
|
+
return {
|
|
142
|
+
reducerName: 'identityActivity'
|
|
143
|
+
};
|
|
144
|
+
}],
|
|
145
|
+
CLEARDATA: [function (payload) {
|
|
146
|
+
return payload;
|
|
147
|
+
}, function () {
|
|
148
|
+
return {
|
|
149
|
+
reducerName: 'identityActivity'
|
|
150
|
+
};
|
|
151
|
+
}],
|
|
152
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
153
|
+
return payload;
|
|
154
|
+
}, function () {
|
|
155
|
+
return {
|
|
156
|
+
reducerName: 'identityActivity'
|
|
157
|
+
};
|
|
158
|
+
}]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
11
161
|
blockVintage: {
|
|
12
162
|
get: {
|
|
13
163
|
REQUEST: [function (payload) {
|
|
@@ -4932,6 +5082,43 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4932
5082
|
reducerName: 'sampleHeader'
|
|
4933
5083
|
};
|
|
4934
5084
|
}]
|
|
5085
|
+
},
|
|
5086
|
+
put: {
|
|
5087
|
+
REQUEST: [function (payload) {
|
|
5088
|
+
return payload;
|
|
5089
|
+
}, function () {
|
|
5090
|
+
return {
|
|
5091
|
+
reducerName: 'sampleHeader'
|
|
5092
|
+
};
|
|
5093
|
+
}],
|
|
5094
|
+
RECEIVE: [function (payload) {
|
|
5095
|
+
return payload;
|
|
5096
|
+
}, function () {
|
|
5097
|
+
return {
|
|
5098
|
+
reducerName: 'sampleHeader'
|
|
5099
|
+
};
|
|
5100
|
+
}],
|
|
5101
|
+
ERROR: [function (payload) {
|
|
5102
|
+
return payload;
|
|
5103
|
+
}, function () {
|
|
5104
|
+
return {
|
|
5105
|
+
reducerName: 'sampleHeader'
|
|
5106
|
+
};
|
|
5107
|
+
}],
|
|
5108
|
+
CLEARDATA: [function (payload) {
|
|
5109
|
+
return payload;
|
|
5110
|
+
}, function () {
|
|
5111
|
+
return {
|
|
5112
|
+
reducerName: 'sampleHeader'
|
|
5113
|
+
};
|
|
5114
|
+
}],
|
|
5115
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5116
|
+
return payload;
|
|
5117
|
+
}, function () {
|
|
5118
|
+
return {
|
|
5119
|
+
reducerName: 'sampleHeader'
|
|
5120
|
+
};
|
|
5121
|
+
}]
|
|
4935
5122
|
}
|
|
4936
5123
|
},
|
|
4937
5124
|
sampleIdentity: {
|
|
@@ -5821,6 +6008,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5821
6008
|
}]
|
|
5822
6009
|
}
|
|
5823
6010
|
},
|
|
6011
|
+
triggerVintraceMetricDataSync: {
|
|
6012
|
+
get: {
|
|
6013
|
+
REQUEST: [function (payload) {
|
|
6014
|
+
return payload;
|
|
6015
|
+
}, function () {
|
|
6016
|
+
return {
|
|
6017
|
+
reducerName: 'triggerVintraceMetricDataSync'
|
|
6018
|
+
};
|
|
6019
|
+
}],
|
|
6020
|
+
RECEIVE: [function (payload) {
|
|
6021
|
+
return payload;
|
|
6022
|
+
}, function () {
|
|
6023
|
+
return {
|
|
6024
|
+
reducerName: 'triggerVintraceMetricDataSync'
|
|
6025
|
+
};
|
|
6026
|
+
}],
|
|
6027
|
+
ERROR: [function (payload) {
|
|
6028
|
+
return payload;
|
|
6029
|
+
}, function () {
|
|
6030
|
+
return {
|
|
6031
|
+
reducerName: 'triggerVintraceMetricDataSync'
|
|
6032
|
+
};
|
|
6033
|
+
}],
|
|
6034
|
+
CLEARDATA: [function (payload) {
|
|
6035
|
+
return payload;
|
|
6036
|
+
}, function () {
|
|
6037
|
+
return {
|
|
6038
|
+
reducerName: 'triggerVintraceMetricDataSync'
|
|
6039
|
+
};
|
|
6040
|
+
}],
|
|
6041
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6042
|
+
return payload;
|
|
6043
|
+
}, function () {
|
|
6044
|
+
return {
|
|
6045
|
+
reducerName: 'triggerVintraceMetricDataSync'
|
|
6046
|
+
};
|
|
6047
|
+
}]
|
|
6048
|
+
}
|
|
6049
|
+
},
|
|
5824
6050
|
lookupClassification: {
|
|
5825
6051
|
get: {
|
|
5826
6052
|
REQUEST: [function (payload) {
|
|
@@ -7966,6 +8192,279 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
7966
8192
|
}]
|
|
7967
8193
|
}
|
|
7968
8194
|
},
|
|
8195
|
+
lookupDisplayAttribute: {
|
|
8196
|
+
get: {
|
|
8197
|
+
REQUEST: [function (payload) {
|
|
8198
|
+
return payload;
|
|
8199
|
+
}, function () {
|
|
8200
|
+
return {
|
|
8201
|
+
reducerName: 'lookupDisplayAttribute'
|
|
8202
|
+
};
|
|
8203
|
+
}],
|
|
8204
|
+
RECEIVE: [function (payload) {
|
|
8205
|
+
return payload;
|
|
8206
|
+
}, function () {
|
|
8207
|
+
return {
|
|
8208
|
+
reducerName: 'lookupDisplayAttribute'
|
|
8209
|
+
};
|
|
8210
|
+
}],
|
|
8211
|
+
ERROR: [function (payload) {
|
|
8212
|
+
return payload;
|
|
8213
|
+
}, function () {
|
|
8214
|
+
return {
|
|
8215
|
+
reducerName: 'lookupDisplayAttribute'
|
|
8216
|
+
};
|
|
8217
|
+
}],
|
|
8218
|
+
CLEARDATA: [function (payload) {
|
|
8219
|
+
return payload;
|
|
8220
|
+
}, function () {
|
|
8221
|
+
return {
|
|
8222
|
+
reducerName: 'lookupDisplayAttribute'
|
|
8223
|
+
};
|
|
8224
|
+
}],
|
|
8225
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8226
|
+
return payload;
|
|
8227
|
+
}, function () {
|
|
8228
|
+
return {
|
|
8229
|
+
reducerName: 'lookupDisplayAttribute'
|
|
8230
|
+
};
|
|
8231
|
+
}]
|
|
8232
|
+
}
|
|
8233
|
+
},
|
|
8234
|
+
lookupDuration: {
|
|
8235
|
+
get: {
|
|
8236
|
+
REQUEST: [function (payload) {
|
|
8237
|
+
return payload;
|
|
8238
|
+
}, function () {
|
|
8239
|
+
return {
|
|
8240
|
+
reducerName: 'lookupDuration'
|
|
8241
|
+
};
|
|
8242
|
+
}],
|
|
8243
|
+
RECEIVE: [function (payload) {
|
|
8244
|
+
return payload;
|
|
8245
|
+
}, function () {
|
|
8246
|
+
return {
|
|
8247
|
+
reducerName: 'lookupDuration'
|
|
8248
|
+
};
|
|
8249
|
+
}],
|
|
8250
|
+
ERROR: [function (payload) {
|
|
8251
|
+
return payload;
|
|
8252
|
+
}, function () {
|
|
8253
|
+
return {
|
|
8254
|
+
reducerName: 'lookupDuration'
|
|
8255
|
+
};
|
|
8256
|
+
}],
|
|
8257
|
+
CLEARDATA: [function (payload) {
|
|
8258
|
+
return payload;
|
|
8259
|
+
}, function () {
|
|
8260
|
+
return {
|
|
8261
|
+
reducerName: 'lookupDuration'
|
|
8262
|
+
};
|
|
8263
|
+
}],
|
|
8264
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8265
|
+
return payload;
|
|
8266
|
+
}, function () {
|
|
8267
|
+
return {
|
|
8268
|
+
reducerName: 'lookupDuration'
|
|
8269
|
+
};
|
|
8270
|
+
}]
|
|
8271
|
+
}
|
|
8272
|
+
},
|
|
8273
|
+
lookupWorkUnit: {
|
|
8274
|
+
get: {
|
|
8275
|
+
REQUEST: [function (payload) {
|
|
8276
|
+
return payload;
|
|
8277
|
+
}, function () {
|
|
8278
|
+
return {
|
|
8279
|
+
reducerName: 'lookupWorkUnit'
|
|
8280
|
+
};
|
|
8281
|
+
}],
|
|
8282
|
+
RECEIVE: [function (payload) {
|
|
8283
|
+
return payload;
|
|
8284
|
+
}, function () {
|
|
8285
|
+
return {
|
|
8286
|
+
reducerName: 'lookupWorkUnit'
|
|
8287
|
+
};
|
|
8288
|
+
}],
|
|
8289
|
+
ERROR: [function (payload) {
|
|
8290
|
+
return payload;
|
|
8291
|
+
}, function () {
|
|
8292
|
+
return {
|
|
8293
|
+
reducerName: 'lookupWorkUnit'
|
|
8294
|
+
};
|
|
8295
|
+
}],
|
|
8296
|
+
CLEARDATA: [function (payload) {
|
|
8297
|
+
return payload;
|
|
8298
|
+
}, function () {
|
|
8299
|
+
return {
|
|
8300
|
+
reducerName: 'lookupWorkUnit'
|
|
8301
|
+
};
|
|
8302
|
+
}],
|
|
8303
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8304
|
+
return payload;
|
|
8305
|
+
}, function () {
|
|
8306
|
+
return {
|
|
8307
|
+
reducerName: 'lookupWorkUnit'
|
|
8308
|
+
};
|
|
8309
|
+
}]
|
|
8310
|
+
}
|
|
8311
|
+
},
|
|
8312
|
+
lookupResourceType: {
|
|
8313
|
+
get: {
|
|
8314
|
+
REQUEST: [function (payload) {
|
|
8315
|
+
return payload;
|
|
8316
|
+
}, function () {
|
|
8317
|
+
return {
|
|
8318
|
+
reducerName: 'lookupResourceType'
|
|
8319
|
+
};
|
|
8320
|
+
}],
|
|
8321
|
+
RECEIVE: [function (payload) {
|
|
8322
|
+
return payload;
|
|
8323
|
+
}, function () {
|
|
8324
|
+
return {
|
|
8325
|
+
reducerName: 'lookupResourceType'
|
|
8326
|
+
};
|
|
8327
|
+
}],
|
|
8328
|
+
ERROR: [function (payload) {
|
|
8329
|
+
return payload;
|
|
8330
|
+
}, function () {
|
|
8331
|
+
return {
|
|
8332
|
+
reducerName: 'lookupResourceType'
|
|
8333
|
+
};
|
|
8334
|
+
}],
|
|
8335
|
+
CLEARDATA: [function (payload) {
|
|
8336
|
+
return payload;
|
|
8337
|
+
}, function () {
|
|
8338
|
+
return {
|
|
8339
|
+
reducerName: 'lookupResourceType'
|
|
8340
|
+
};
|
|
8341
|
+
}],
|
|
8342
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8343
|
+
return payload;
|
|
8344
|
+
}, function () {
|
|
8345
|
+
return {
|
|
8346
|
+
reducerName: 'lookupResourceType'
|
|
8347
|
+
};
|
|
8348
|
+
}]
|
|
8349
|
+
}
|
|
8350
|
+
},
|
|
8351
|
+
lookupResourceTypeUnit: {
|
|
8352
|
+
get: {
|
|
8353
|
+
REQUEST: [function (payload) {
|
|
8354
|
+
return payload;
|
|
8355
|
+
}, function () {
|
|
8356
|
+
return {
|
|
8357
|
+
reducerName: 'lookupResourceTypeUnit'
|
|
8358
|
+
};
|
|
8359
|
+
}],
|
|
8360
|
+
RECEIVE: [function (payload) {
|
|
8361
|
+
return payload;
|
|
8362
|
+
}, function () {
|
|
8363
|
+
return {
|
|
8364
|
+
reducerName: 'lookupResourceTypeUnit'
|
|
8365
|
+
};
|
|
8366
|
+
}],
|
|
8367
|
+
ERROR: [function (payload) {
|
|
8368
|
+
return payload;
|
|
8369
|
+
}, function () {
|
|
8370
|
+
return {
|
|
8371
|
+
reducerName: 'lookupResourceTypeUnit'
|
|
8372
|
+
};
|
|
8373
|
+
}],
|
|
8374
|
+
CLEARDATA: [function (payload) {
|
|
8375
|
+
return payload;
|
|
8376
|
+
}, function () {
|
|
8377
|
+
return {
|
|
8378
|
+
reducerName: 'lookupResourceTypeUnit'
|
|
8379
|
+
};
|
|
8380
|
+
}],
|
|
8381
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8382
|
+
return payload;
|
|
8383
|
+
}, function () {
|
|
8384
|
+
return {
|
|
8385
|
+
reducerName: 'lookupResourceTypeUnit'
|
|
8386
|
+
};
|
|
8387
|
+
}]
|
|
8388
|
+
}
|
|
8389
|
+
},
|
|
8390
|
+
lookupCostingUnit: {
|
|
8391
|
+
get: {
|
|
8392
|
+
REQUEST: [function (payload) {
|
|
8393
|
+
return payload;
|
|
8394
|
+
}, function () {
|
|
8395
|
+
return {
|
|
8396
|
+
reducerName: 'lookupCostingUnit'
|
|
8397
|
+
};
|
|
8398
|
+
}],
|
|
8399
|
+
RECEIVE: [function (payload) {
|
|
8400
|
+
return payload;
|
|
8401
|
+
}, function () {
|
|
8402
|
+
return {
|
|
8403
|
+
reducerName: 'lookupCostingUnit'
|
|
8404
|
+
};
|
|
8405
|
+
}],
|
|
8406
|
+
ERROR: [function (payload) {
|
|
8407
|
+
return payload;
|
|
8408
|
+
}, function () {
|
|
8409
|
+
return {
|
|
8410
|
+
reducerName: 'lookupCostingUnit'
|
|
8411
|
+
};
|
|
8412
|
+
}],
|
|
8413
|
+
CLEARDATA: [function (payload) {
|
|
8414
|
+
return payload;
|
|
8415
|
+
}, function () {
|
|
8416
|
+
return {
|
|
8417
|
+
reducerName: 'lookupCostingUnit'
|
|
8418
|
+
};
|
|
8419
|
+
}],
|
|
8420
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8421
|
+
return payload;
|
|
8422
|
+
}, function () {
|
|
8423
|
+
return {
|
|
8424
|
+
reducerName: 'lookupCostingUnit'
|
|
8425
|
+
};
|
|
8426
|
+
}]
|
|
8427
|
+
}
|
|
8428
|
+
},
|
|
8429
|
+
lookupActivityGroup: {
|
|
8430
|
+
get: {
|
|
8431
|
+
REQUEST: [function (payload) {
|
|
8432
|
+
return payload;
|
|
8433
|
+
}, function () {
|
|
8434
|
+
return {
|
|
8435
|
+
reducerName: 'lookupActivityGroup'
|
|
8436
|
+
};
|
|
8437
|
+
}],
|
|
8438
|
+
RECEIVE: [function (payload) {
|
|
8439
|
+
return payload;
|
|
8440
|
+
}, function () {
|
|
8441
|
+
return {
|
|
8442
|
+
reducerName: 'lookupActivityGroup'
|
|
8443
|
+
};
|
|
8444
|
+
}],
|
|
8445
|
+
ERROR: [function (payload) {
|
|
8446
|
+
return payload;
|
|
8447
|
+
}, function () {
|
|
8448
|
+
return {
|
|
8449
|
+
reducerName: 'lookupActivityGroup'
|
|
8450
|
+
};
|
|
8451
|
+
}],
|
|
8452
|
+
CLEARDATA: [function (payload) {
|
|
8453
|
+
return payload;
|
|
8454
|
+
}, function () {
|
|
8455
|
+
return {
|
|
8456
|
+
reducerName: 'lookupActivityGroup'
|
|
8457
|
+
};
|
|
8458
|
+
}],
|
|
8459
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
8460
|
+
return payload;
|
|
8461
|
+
}, function () {
|
|
8462
|
+
return {
|
|
8463
|
+
reducerName: 'lookupActivityGroup'
|
|
8464
|
+
};
|
|
8465
|
+
}]
|
|
8466
|
+
}
|
|
8467
|
+
},
|
|
7969
8468
|
fetchAllLookups: {
|
|
7970
8469
|
REQUEST: [function (payload) {
|
|
7971
8470
|
return payload;
|
|
@@ -6,15 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _omit = _interopRequireDefault(require("lodash/omit"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
9
10
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10
11
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
13
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
13
14
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
14
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
15
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15
16
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
17
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
17
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
20
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
21
|
var initialState = {
|
|
19
22
|
isLoading: false,
|
|
20
23
|
hasError: false,
|
package/dist/reducers/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var _createNamedReducer = _interopRequireDefault(require("./createNamedReducer")
|
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
10
|
var rootReducer = {
|
|
11
11
|
entities: (0, _redux.combineReducers)({
|
|
12
|
+
identityActivity: (0, _createNamedReducer["default"])('identityActivity'),
|
|
12
13
|
blockVintage: (0, _createNamedReducer["default"])('blockVintage'),
|
|
13
14
|
charts: (0, _createNamedReducer["default"])('charts'),
|
|
14
15
|
chartsByChartFilters: (0, _createNamedReducer["default"])('chartsByChartFilters'),
|
|
@@ -85,6 +86,7 @@ var rootReducer = {
|
|
|
85
86
|
vineyardBlockActivityProgress: (0, _createNamedReducer["default"])('vineyardBlockActivityProgress'),
|
|
86
87
|
regionActivityProgress: (0, _createNamedReducer["default"])('regionActivityProgress'),
|
|
87
88
|
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|
|
89
|
+
triggerVintraceMetricDataSync: (0, _createNamedReducer["default"])('triggerVintraceMetricDataSync'),
|
|
88
90
|
lookupClassification: (0, _createNamedReducer["default"])('lookupClassification'),
|
|
89
91
|
lookupClassificationGroup: (0, _createNamedReducer["default"])('lookupClassificationGroup'),
|
|
90
92
|
lookupClassificationGroupIdentityType: (0, _createNamedReducer["default"])('lookupClassificationGroupIdentityType'),
|
|
@@ -139,7 +141,14 @@ var rootReducer = {
|
|
|
139
141
|
lookupSensorStatus: (0, _createNamedReducer["default"])('lookupSensorStatus'),
|
|
140
142
|
lookupSensorType: (0, _createNamedReducer["default"])('lookupSensorType'),
|
|
141
143
|
lookupSensorTypeMeasureUnit: (0, _createNamedReducer["default"])('lookupSensorTypeMeasureUnit'),
|
|
142
|
-
lookupActivity: (0, _createNamedReducer["default"])('lookupActivity')
|
|
144
|
+
lookupActivity: (0, _createNamedReducer["default"])('lookupActivity'),
|
|
145
|
+
lookupDisplayAttribute: (0, _createNamedReducer["default"])('lookupDisplayAttribute'),
|
|
146
|
+
lookupDuration: (0, _createNamedReducer["default"])('lookupDuration'),
|
|
147
|
+
lookupWorkUnit: (0, _createNamedReducer["default"])('lookupWorkUnit'),
|
|
148
|
+
lookupResourceType: (0, _createNamedReducer["default"])('lookupResourceType'),
|
|
149
|
+
lookupResourceTypeUnit: (0, _createNamedReducer["default"])('lookupResourceTypeUnit'),
|
|
150
|
+
lookupCostingUnit: (0, _createNamedReducer["default"])('lookupCostingUnit'),
|
|
151
|
+
lookupActivityGroup: (0, _createNamedReducer["default"])('lookupActivityGroup')
|
|
143
152
|
})
|
|
144
153
|
};
|
|
145
154
|
var _default = rootReducer;
|