vineanova-redux-artifacts 1.112.0 → 1.114.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 +1 -1
- package/dist/actions/commonActions.js +302 -0
- package/dist/reducers/createNamedReducer.js +2 -2
- package/dist/reducers/index.js +3 -0
- package/dist/sagas/vineaNovaApi.sagas.js +1069 -709
- package/dist/selectors/activityDefaultRatesSelector.js +2 -2
- package/dist/selectors/assignSampleHeadersSelector.js +2 -2
- package/dist/selectors/blockVintageSelector.js +2 -2
- package/dist/selectors/blocksForSupplyContractSelector.js +59 -0
- package/dist/selectors/bulkPlanBlocksSelector.js +2 -2
- package/dist/selectors/cLearCacheSelector.js +2 -2
- package/dist/selectors/chartFiltersSelector.js +2 -2
- package/dist/selectors/chartsByChartFiltersSelector.js +2 -2
- package/dist/selectors/chartsByPageFiltersSelector.js +2 -2
- package/dist/selectors/chartsSelector.js +2 -2
- package/dist/selectors/contactMethodSelector.js +2 -2
- package/dist/selectors/cropBlockNotesSelector.js +2 -2
- package/dist/selectors/cropBlockPhenologySelector.js +2 -2
- package/dist/selectors/cropBlockSettingSelector.js +2 -2
- package/dist/selectors/cropBlockVintageSelector.js +2 -2
- package/dist/selectors/dashboardPageFiltersSelector.js +2 -2
- package/dist/selectors/dashboardPagesSelector.js +2 -2
- package/dist/selectors/deAssignSampleHeadersSelector.js +2 -2
- package/dist/selectors/demoExcelDataSelector.js +2 -2
- package/dist/selectors/getAvailablePlanBlocksSelector.js +2 -2
- package/dist/selectors/getLookUpSelector.js +2 -2
- package/dist/selectors/getServiceProviderActivityMappingsSelector.js +2 -2
- package/dist/selectors/gridVineyardBlocksSelector.js +2 -2
- package/dist/selectors/healthcheckSelector.js +2 -2
- package/dist/selectors/identityAccommodationSelector.js +2 -2
- package/dist/selectors/identityActivitySelector.js +2 -2
- package/dist/selectors/identityClassificationSelector.js +2 -2
- package/dist/selectors/identityConsumableSelector.js +2 -2
- package/dist/selectors/identityContactMethodAddressSelector.js +2 -2
- package/dist/selectors/identityContactMethodSelector.js +2 -2
- package/dist/selectors/identityCourseSelector.js +2 -2
- package/dist/selectors/identityDataConnectorSelector.js +2 -2
- package/dist/selectors/identityDetailsSelector.js +2 -2
- package/dist/selectors/identityNoteImageSelector.js +2 -2
- package/dist/selectors/identityNoteSelector.js +2 -2
- package/dist/selectors/identityNotesSelector.js +2 -2
- package/dist/selectors/identityOrganisationSelector.js +2 -2
- package/dist/selectors/identityPersonSelector.js +2 -2
- package/dist/selectors/identityReferenceSelector.js +2 -2
- package/dist/selectors/identityRelationshipSelector.js +2 -2
- package/dist/selectors/identityRelationshipTypeSelector.js +2 -2
- package/dist/selectors/identityRoleSelector.js +2 -2
- package/dist/selectors/identitySelector.js +2 -2
- package/dist/selectors/identityServiceProviderSelector.js +2 -2
- package/dist/selectors/identityStatusSelector.js +2 -2
- package/dist/selectors/identitySupplyContractSelector.js +59 -0
- package/dist/selectors/identityUserPersonSelector.js +2 -2
- package/dist/selectors/identityVehicleSelector.js +2 -2
- package/dist/selectors/identityVineyardBlockRowSelector.js +2 -2
- package/dist/selectors/identityVineyardBlockRowsSelector.js +2 -2
- package/dist/selectors/identityVineyardBlockSelector.js +2 -2
- package/dist/selectors/identityVineyardBlocksSelector.js +2 -2
- package/dist/selectors/identityVineyardSelector.js +2 -2
- package/dist/selectors/index.js +33 -0
- package/dist/selectors/linkedDocumentSelector.js +2 -2
- package/dist/selectors/linkedDocumentsSelector.js +2 -2
- package/dist/selectors/lookupActivityGroupSelector.js +2 -2
- package/dist/selectors/lookupActivitySelector.js +2 -2
- package/dist/selectors/lookupBlockVintageStatusSelector.js +2 -2
- package/dist/selectors/lookupBusinessUnitSelector.js +2 -2
- package/dist/selectors/lookupChartFiltersSelector.js +2 -2
- package/dist/selectors/lookupClassificationGroupIdentityTypeSelector.js +2 -2
- package/dist/selectors/lookupClassificationGroupSelector.js +2 -2
- package/dist/selectors/lookupClassificationSelector.js +2 -2
- package/dist/selectors/lookupConsumableTypeSelector.js +2 -2
- package/dist/selectors/lookupContactMethodSelector.js +2 -2
- package/dist/selectors/lookupCostingUnitSelector.js +2 -2
- package/dist/selectors/lookupCountrySelector.js +2 -2
- package/dist/selectors/lookupCropSettingInstanceSelector.js +2 -2
- package/dist/selectors/lookupCropSettingOptionSelector.js +2 -2
- package/dist/selectors/lookupDashboardPageFiltersSelector.js +2 -2
- package/dist/selectors/lookupDataProviderSelector.js +2 -2
- package/dist/selectors/lookupDataProviderTypeSelector.js +2 -2
- package/dist/selectors/lookupDisplayAttributeSelector.js +2 -2
- package/dist/selectors/lookupDocumentStatusSelector.js +2 -2
- package/dist/selectors/lookupDocumentTypeSelector.js +2 -2
- package/dist/selectors/lookupDurationSelector.js +2 -2
- package/dist/selectors/lookupEthnicitySelector.js +2 -2
- package/dist/selectors/lookupGenderSelector.js +2 -2
- package/dist/selectors/lookupGrowingRegionSelector.js +2 -2
- package/dist/selectors/lookupGrowingSubRegionSelector.js +2 -2
- package/dist/selectors/lookupIdentityTypeSelector.js +2 -2
- package/dist/selectors/lookupInactiveReasonSelector.js +2 -2
- package/dist/selectors/lookupKeywordSelector.js +2 -2
- package/dist/selectors/lookupLanguageSelector.js +2 -2
- package/dist/selectors/lookupMeasureGroupSelector.js +2 -2
- package/dist/selectors/lookupMeasureInstanceSelector.js +2 -2
- package/dist/selectors/lookupMeasureSelector.js +2 -2
- package/dist/selectors/lookupNationalitySelector.js +2 -2
- package/dist/selectors/lookupNoteStatusSelector.js +2 -2
- package/dist/selectors/lookupPayrollSystemSelector.js +2 -2
- package/dist/selectors/lookupPhenologyMeasureOptionSelector.js +2 -2
- package/dist/selectors/lookupPhenologyMeasureSelector.js +2 -2
- package/dist/selectors/lookupPhenologyMeasureSetSelector.js +2 -2
- package/dist/selectors/lookupPhenologyMeasureTypeSelector.js +2 -2
- package/dist/selectors/lookupPlanStatusSelector.js +2 -2
- package/dist/selectors/lookupPlanTypeSelector.js +2 -2
- package/dist/selectors/lookupReferenceTypeIdentityTypeSelector.js +2 -2
- package/dist/selectors/lookupReferenceTypeSelector.js +2 -2
- package/dist/selectors/lookupRelationshipSubTypeSelector.js +2 -2
- package/dist/selectors/lookupRelationshipTypeSelector.js +2 -2
- package/dist/selectors/lookupResourceTypeSelector.js +2 -2
- package/dist/selectors/lookupResourceTypeUnitSelector.js +2 -2
- package/dist/selectors/lookupRoleTypeIdentityTypeSelector.js +2 -2
- package/dist/selectors/lookupRoleTypeSelector.js +2 -2
- package/dist/selectors/lookupRootStockSelector.js +2 -2
- package/dist/selectors/lookupRowSpecialAttributeSelector.js +2 -2
- package/dist/selectors/lookupSalutationSelector.js +2 -2
- package/dist/selectors/lookupSampleRequestStatusSelector.js +2 -2
- package/dist/selectors/lookupSensorStatusSelector.js +2 -2
- package/dist/selectors/lookupSensorTypeMeasureUnitSelector.js +2 -2
- package/dist/selectors/lookupSensorTypeSelector.js +2 -2
- package/dist/selectors/lookupTownSelector.js +2 -2
- package/dist/selectors/lookupTrellisSelector.js +2 -2
- package/dist/selectors/lookupVarietyCloneSelector.js +2 -2
- package/dist/selectors/lookupVarietySelector.js +2 -2
- package/dist/selectors/lookupVehicleMakeSelector.js +2 -2
- package/dist/selectors/lookupVehicleTypeSelector.js +2 -2
- package/dist/selectors/lookupVintageSelector.js +2 -2
- package/dist/selectors/lookupWorkUnitSelector.js +2 -2
- package/dist/selectors/moveSampleLinesSelector.js +2 -2
- package/dist/selectors/objectLogoSelector.js +2 -2
- package/dist/selectors/planActivitiesByPlanSelector.js +2 -2
- package/dist/selectors/planActivitiesSelector.js +2 -2
- package/dist/selectors/planActivityTotalWorkUnitsSelector.js +2 -2
- package/dist/selectors/planBlocksSelector.js +2 -2
- package/dist/selectors/plansSelector.js +2 -2
- package/dist/selectors/processblocksamplingSelector.js +2 -2
- package/dist/selectors/queueMessageSelector.js +2 -2
- package/dist/selectors/recommendedSampleSizeSelector.js +2 -2
- package/dist/selectors/regionActivityProgressSelector.js +2 -2
- package/dist/selectors/regionVineyardGeometrySelector.js +2 -2
- package/dist/selectors/reportFileSelector.js +2 -2
- package/dist/selectors/reportsSelector.js +2 -2
- package/dist/selectors/sampleBlockVintagesSelector.js +2 -2
- package/dist/selectors/sampleHeaderInstructionsSelector.js +2 -2
- package/dist/selectors/sampleHeaderLinesSelector.js +2 -2
- package/dist/selectors/sampleHeaderSelector.js +2 -2
- package/dist/selectors/sampleHeaderStatusSelector.js +2 -2
- package/dist/selectors/sampleHeadersSelector.js +2 -2
- package/dist/selectors/sampleIdentitySelector.js +2 -2
- package/dist/selectors/sampleSetSelector.js +2 -2
- package/dist/selectors/sampleSetsSelector.js +2 -2
- package/dist/selectors/samplingUsersSelector.js +2 -2
- package/dist/selectors/searchIdentitySelector.js +2 -2
- package/dist/selectors/searchPlansSelector.js +2 -2
- package/dist/selectors/searchTrackingBlockVintagesSelector.js +2 -2
- package/dist/selectors/searchTrackingVineyardsSelector.js +2 -2
- package/dist/selectors/sensorBlocksSelector.js +2 -2
- package/dist/selectors/sensorsSelector.js +2 -2
- package/dist/selectors/sitesSelector.js +2 -2
- package/dist/selectors/supplyContractBlockSelector.js +59 -0
- package/dist/selectors/syncVineyardGeometrySelector.js +2 -2
- package/dist/selectors/triggerSensorSummaryDataSyncSelector.js +2 -2
- package/dist/selectors/triggerVintraceMetricDataSyncSelector.js +2 -2
- package/dist/selectors/updateServiceProviderActivityMappingsSelector.js +2 -2
- package/dist/selectors/vineyardBlockActivityProgressSelector.js +2 -2
- package/dist/selectors/vineyardBlocksGeometrySelector.js +2 -2
- package/dist/selectors/vineyardGeometrySelector.js +2 -2
- package/dist/services/apiServices.js +843 -542
- package/dist/services/config/serviceConfig.js +2 -2
- package/package.json +1 -1
- package/src/actions/commonActions.js +62 -0
- package/src/reducers/index.js +3 -0
- package/src/sagas/vineaNovaApi.sagas.js +251 -0
- package/src/selectors/blocksForSupplyContractSelector.js +65 -0
- package/src/selectors/identitySupplyContractSelector.js +65 -0
- package/src/selectors/index.js +3 -0
- package/src/selectors/supplyContractBlockSelector.js +65 -0
- package/src/services/apiServices.js +192 -0
package/CHANGELOG.md
CHANGED
|
@@ -4090,6 +4090,119 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4090
4090
|
}]
|
|
4091
4091
|
}
|
|
4092
4092
|
},
|
|
4093
|
+
identitySupplyContract: {
|
|
4094
|
+
get: {
|
|
4095
|
+
REQUEST: [function (payload) {
|
|
4096
|
+
return payload;
|
|
4097
|
+
}, function () {
|
|
4098
|
+
return {
|
|
4099
|
+
reducerName: 'identitySupplyContract'
|
|
4100
|
+
};
|
|
4101
|
+
}],
|
|
4102
|
+
RECEIVE: [function (payload) {
|
|
4103
|
+
return payload;
|
|
4104
|
+
}, function () {
|
|
4105
|
+
return {
|
|
4106
|
+
reducerName: 'identitySupplyContract'
|
|
4107
|
+
};
|
|
4108
|
+
}],
|
|
4109
|
+
ERROR: [function (payload) {
|
|
4110
|
+
return payload;
|
|
4111
|
+
}, function () {
|
|
4112
|
+
return {
|
|
4113
|
+
reducerName: 'identitySupplyContract'
|
|
4114
|
+
};
|
|
4115
|
+
}],
|
|
4116
|
+
CLEARDATA: [function (payload) {
|
|
4117
|
+
return payload;
|
|
4118
|
+
}, function () {
|
|
4119
|
+
return {
|
|
4120
|
+
reducerName: 'identitySupplyContract'
|
|
4121
|
+
};
|
|
4122
|
+
}],
|
|
4123
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
4124
|
+
return payload;
|
|
4125
|
+
}, function () {
|
|
4126
|
+
return {
|
|
4127
|
+
reducerName: 'identitySupplyContract'
|
|
4128
|
+
};
|
|
4129
|
+
}]
|
|
4130
|
+
},
|
|
4131
|
+
post: {
|
|
4132
|
+
REQUEST: [function (payload) {
|
|
4133
|
+
return payload;
|
|
4134
|
+
}, function () {
|
|
4135
|
+
return {
|
|
4136
|
+
reducerName: 'identitySupplyContract'
|
|
4137
|
+
};
|
|
4138
|
+
}],
|
|
4139
|
+
RECEIVE: [function (payload) {
|
|
4140
|
+
return payload;
|
|
4141
|
+
}, function () {
|
|
4142
|
+
return {
|
|
4143
|
+
reducerName: 'identitySupplyContract'
|
|
4144
|
+
};
|
|
4145
|
+
}],
|
|
4146
|
+
ERROR: [function (payload) {
|
|
4147
|
+
return payload;
|
|
4148
|
+
}, function () {
|
|
4149
|
+
return {
|
|
4150
|
+
reducerName: 'identitySupplyContract'
|
|
4151
|
+
};
|
|
4152
|
+
}],
|
|
4153
|
+
CLEARDATA: [function (payload) {
|
|
4154
|
+
return payload;
|
|
4155
|
+
}, function () {
|
|
4156
|
+
return {
|
|
4157
|
+
reducerName: 'identitySupplyContract'
|
|
4158
|
+
};
|
|
4159
|
+
}],
|
|
4160
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
4161
|
+
return payload;
|
|
4162
|
+
}, function () {
|
|
4163
|
+
return {
|
|
4164
|
+
reducerName: 'identitySupplyContract'
|
|
4165
|
+
};
|
|
4166
|
+
}]
|
|
4167
|
+
},
|
|
4168
|
+
put: {
|
|
4169
|
+
REQUEST: [function (payload) {
|
|
4170
|
+
return payload;
|
|
4171
|
+
}, function () {
|
|
4172
|
+
return {
|
|
4173
|
+
reducerName: 'identitySupplyContract'
|
|
4174
|
+
};
|
|
4175
|
+
}],
|
|
4176
|
+
RECEIVE: [function (payload) {
|
|
4177
|
+
return payload;
|
|
4178
|
+
}, function () {
|
|
4179
|
+
return {
|
|
4180
|
+
reducerName: 'identitySupplyContract'
|
|
4181
|
+
};
|
|
4182
|
+
}],
|
|
4183
|
+
ERROR: [function (payload) {
|
|
4184
|
+
return payload;
|
|
4185
|
+
}, function () {
|
|
4186
|
+
return {
|
|
4187
|
+
reducerName: 'identitySupplyContract'
|
|
4188
|
+
};
|
|
4189
|
+
}],
|
|
4190
|
+
CLEARDATA: [function (payload) {
|
|
4191
|
+
return payload;
|
|
4192
|
+
}, function () {
|
|
4193
|
+
return {
|
|
4194
|
+
reducerName: 'identitySupplyContract'
|
|
4195
|
+
};
|
|
4196
|
+
}],
|
|
4197
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
4198
|
+
return payload;
|
|
4199
|
+
}, function () {
|
|
4200
|
+
return {
|
|
4201
|
+
reducerName: 'identitySupplyContract'
|
|
4202
|
+
};
|
|
4203
|
+
}]
|
|
4204
|
+
}
|
|
4205
|
+
},
|
|
4093
4206
|
identityUserPerson: {
|
|
4094
4207
|
put: {
|
|
4095
4208
|
REQUEST: [function (payload) {
|
|
@@ -6920,6 +7033,195 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6920
7033
|
}]
|
|
6921
7034
|
}
|
|
6922
7035
|
},
|
|
7036
|
+
supplyContractBlock: {
|
|
7037
|
+
get: {
|
|
7038
|
+
REQUEST: [function (payload) {
|
|
7039
|
+
return payload;
|
|
7040
|
+
}, function () {
|
|
7041
|
+
return {
|
|
7042
|
+
reducerName: 'supplyContractBlock'
|
|
7043
|
+
};
|
|
7044
|
+
}],
|
|
7045
|
+
RECEIVE: [function (payload) {
|
|
7046
|
+
return payload;
|
|
7047
|
+
}, function () {
|
|
7048
|
+
return {
|
|
7049
|
+
reducerName: 'supplyContractBlock'
|
|
7050
|
+
};
|
|
7051
|
+
}],
|
|
7052
|
+
ERROR: [function (payload) {
|
|
7053
|
+
return payload;
|
|
7054
|
+
}, function () {
|
|
7055
|
+
return {
|
|
7056
|
+
reducerName: 'supplyContractBlock'
|
|
7057
|
+
};
|
|
7058
|
+
}],
|
|
7059
|
+
CLEARDATA: [function (payload) {
|
|
7060
|
+
return payload;
|
|
7061
|
+
}, function () {
|
|
7062
|
+
return {
|
|
7063
|
+
reducerName: 'supplyContractBlock'
|
|
7064
|
+
};
|
|
7065
|
+
}],
|
|
7066
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7067
|
+
return payload;
|
|
7068
|
+
}, function () {
|
|
7069
|
+
return {
|
|
7070
|
+
reducerName: 'supplyContractBlock'
|
|
7071
|
+
};
|
|
7072
|
+
}]
|
|
7073
|
+
},
|
|
7074
|
+
post: {
|
|
7075
|
+
REQUEST: [function (payload) {
|
|
7076
|
+
return payload;
|
|
7077
|
+
}, function () {
|
|
7078
|
+
return {
|
|
7079
|
+
reducerName: 'supplyContractBlock'
|
|
7080
|
+
};
|
|
7081
|
+
}],
|
|
7082
|
+
RECEIVE: [function (payload) {
|
|
7083
|
+
return payload;
|
|
7084
|
+
}, function () {
|
|
7085
|
+
return {
|
|
7086
|
+
reducerName: 'supplyContractBlock'
|
|
7087
|
+
};
|
|
7088
|
+
}],
|
|
7089
|
+
ERROR: [function (payload) {
|
|
7090
|
+
return payload;
|
|
7091
|
+
}, function () {
|
|
7092
|
+
return {
|
|
7093
|
+
reducerName: 'supplyContractBlock'
|
|
7094
|
+
};
|
|
7095
|
+
}],
|
|
7096
|
+
CLEARDATA: [function (payload) {
|
|
7097
|
+
return payload;
|
|
7098
|
+
}, function () {
|
|
7099
|
+
return {
|
|
7100
|
+
reducerName: 'supplyContractBlock'
|
|
7101
|
+
};
|
|
7102
|
+
}],
|
|
7103
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7104
|
+
return payload;
|
|
7105
|
+
}, function () {
|
|
7106
|
+
return {
|
|
7107
|
+
reducerName: 'supplyContractBlock'
|
|
7108
|
+
};
|
|
7109
|
+
}]
|
|
7110
|
+
},
|
|
7111
|
+
put: {
|
|
7112
|
+
REQUEST: [function (payload) {
|
|
7113
|
+
return payload;
|
|
7114
|
+
}, function () {
|
|
7115
|
+
return {
|
|
7116
|
+
reducerName: 'supplyContractBlock'
|
|
7117
|
+
};
|
|
7118
|
+
}],
|
|
7119
|
+
RECEIVE: [function (payload) {
|
|
7120
|
+
return payload;
|
|
7121
|
+
}, function () {
|
|
7122
|
+
return {
|
|
7123
|
+
reducerName: 'supplyContractBlock'
|
|
7124
|
+
};
|
|
7125
|
+
}],
|
|
7126
|
+
ERROR: [function (payload) {
|
|
7127
|
+
return payload;
|
|
7128
|
+
}, function () {
|
|
7129
|
+
return {
|
|
7130
|
+
reducerName: 'supplyContractBlock'
|
|
7131
|
+
};
|
|
7132
|
+
}],
|
|
7133
|
+
CLEARDATA: [function (payload) {
|
|
7134
|
+
return payload;
|
|
7135
|
+
}, function () {
|
|
7136
|
+
return {
|
|
7137
|
+
reducerName: 'supplyContractBlock'
|
|
7138
|
+
};
|
|
7139
|
+
}],
|
|
7140
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7141
|
+
return payload;
|
|
7142
|
+
}, function () {
|
|
7143
|
+
return {
|
|
7144
|
+
reducerName: 'supplyContractBlock'
|
|
7145
|
+
};
|
|
7146
|
+
}]
|
|
7147
|
+
},
|
|
7148
|
+
"delete": {
|
|
7149
|
+
REQUEST: [function (payload) {
|
|
7150
|
+
return payload;
|
|
7151
|
+
}, function () {
|
|
7152
|
+
return {
|
|
7153
|
+
reducerName: 'supplyContractBlock'
|
|
7154
|
+
};
|
|
7155
|
+
}],
|
|
7156
|
+
RECEIVE: [function (payload) {
|
|
7157
|
+
return payload;
|
|
7158
|
+
}, function () {
|
|
7159
|
+
return {
|
|
7160
|
+
reducerName: 'supplyContractBlock'
|
|
7161
|
+
};
|
|
7162
|
+
}],
|
|
7163
|
+
ERROR: [function (payload) {
|
|
7164
|
+
return payload;
|
|
7165
|
+
}, function () {
|
|
7166
|
+
return {
|
|
7167
|
+
reducerName: 'supplyContractBlock'
|
|
7168
|
+
};
|
|
7169
|
+
}],
|
|
7170
|
+
CLEARDATA: [function (payload) {
|
|
7171
|
+
return payload;
|
|
7172
|
+
}, function () {
|
|
7173
|
+
return {
|
|
7174
|
+
reducerName: 'supplyContractBlock'
|
|
7175
|
+
};
|
|
7176
|
+
}],
|
|
7177
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7178
|
+
return payload;
|
|
7179
|
+
}, function () {
|
|
7180
|
+
return {
|
|
7181
|
+
reducerName: 'supplyContractBlock'
|
|
7182
|
+
};
|
|
7183
|
+
}]
|
|
7184
|
+
}
|
|
7185
|
+
},
|
|
7186
|
+
blocksForSupplyContract: {
|
|
7187
|
+
get: {
|
|
7188
|
+
REQUEST: [function (payload) {
|
|
7189
|
+
return payload;
|
|
7190
|
+
}, function () {
|
|
7191
|
+
return {
|
|
7192
|
+
reducerName: 'blocksForSupplyContract'
|
|
7193
|
+
};
|
|
7194
|
+
}],
|
|
7195
|
+
RECEIVE: [function (payload) {
|
|
7196
|
+
return payload;
|
|
7197
|
+
}, function () {
|
|
7198
|
+
return {
|
|
7199
|
+
reducerName: 'blocksForSupplyContract'
|
|
7200
|
+
};
|
|
7201
|
+
}],
|
|
7202
|
+
ERROR: [function (payload) {
|
|
7203
|
+
return payload;
|
|
7204
|
+
}, function () {
|
|
7205
|
+
return {
|
|
7206
|
+
reducerName: 'blocksForSupplyContract'
|
|
7207
|
+
};
|
|
7208
|
+
}],
|
|
7209
|
+
CLEARDATA: [function (payload) {
|
|
7210
|
+
return payload;
|
|
7211
|
+
}, function () {
|
|
7212
|
+
return {
|
|
7213
|
+
reducerName: 'blocksForSupplyContract'
|
|
7214
|
+
};
|
|
7215
|
+
}],
|
|
7216
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7217
|
+
return payload;
|
|
7218
|
+
}, function () {
|
|
7219
|
+
return {
|
|
7220
|
+
reducerName: 'blocksForSupplyContract'
|
|
7221
|
+
};
|
|
7222
|
+
}]
|
|
7223
|
+
}
|
|
7224
|
+
},
|
|
6923
7225
|
identityVineyard: {
|
|
6924
7226
|
get: {
|
|
6925
7227
|
REQUEST: [function (payload) {
|
|
@@ -16,8 +16,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
16
16
|
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; }
|
|
17
17
|
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; }
|
|
18
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(
|
|
20
|
-
function _toPrimitive(
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
20
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
21
21
|
var initialState = {
|
|
22
22
|
isLoading: false,
|
|
23
23
|
hasError: false,
|
package/dist/reducers/index.js
CHANGED
|
@@ -52,6 +52,7 @@ var rootReducer = {
|
|
|
52
52
|
identityServiceProvider: (0, _createNamedReducer["default"])('identityServiceProvider'),
|
|
53
53
|
getServiceProviderActivityMappings: (0, _createNamedReducer["default"])('getServiceProviderActivityMappings'),
|
|
54
54
|
updateServiceProviderActivityMappings: (0, _createNamedReducer["default"])('updateServiceProviderActivityMappings'),
|
|
55
|
+
identitySupplyContract: (0, _createNamedReducer["default"])('identitySupplyContract'),
|
|
55
56
|
identityUserPerson: (0, _createNamedReducer["default"])('identityUserPerson'),
|
|
56
57
|
identityVehicle: (0, _createNamedReducer["default"])('identityVehicle'),
|
|
57
58
|
gridVineyardBlocks: (0, _createNamedReducer["default"])('gridVineyardBlocks'),
|
|
@@ -98,6 +99,8 @@ var rootReducer = {
|
|
|
98
99
|
vineyardBlockActivityProgress: (0, _createNamedReducer["default"])('vineyardBlockActivityProgress'),
|
|
99
100
|
regionActivityProgress: (0, _createNamedReducer["default"])('regionActivityProgress'),
|
|
100
101
|
syncVineyardGeometry: (0, _createNamedReducer["default"])('syncVineyardGeometry'),
|
|
102
|
+
supplyContractBlock: (0, _createNamedReducer["default"])('supplyContractBlock'),
|
|
103
|
+
blocksForSupplyContract: (0, _createNamedReducer["default"])('blocksForSupplyContract'),
|
|
101
104
|
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|
|
102
105
|
triggerVintraceMetricDataSync: (0, _createNamedReducer["default"])('triggerVintraceMetricDataSync'),
|
|
103
106
|
lookupClassification: (0, _createNamedReducer["default"])('lookupClassification'),
|