datastake-daf 0.6.723 → 0.6.724
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/build/favicon.ico +0 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/dist/components/index.js +4 -3
- package/dist/hooks/index.js +4658 -19
- package/dist/pages/index.js +160 -23
- package/package.json +1 -1
- package/src/@daf/core/components/EditForm/form.jsx +7 -3
- package/src/@daf/pages/dashboards/SupplyChain/components/TradeRelationships/index.js +3 -2
- package/src/@daf/pages/dashboards/SupplyChain/index.jsx +1 -2
- package/src/@daf/pages/dashboards/UserDashboard/components/DataChainOfCustody/index.jsx +29 -5
- package/src/@daf/pages/dashboards/UserDashboard/index.jsx +15 -2
- package/src/@daf/pages/dashboards/helper.js +79 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"short_name": "React App",
|
|
3
|
+
"name": "Create React App Sample",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "logo192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "logo512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"start_url": ".",
|
|
22
|
+
"display": "standalone",
|
|
23
|
+
"theme_color": "#000000",
|
|
24
|
+
"background_color": "#ffffff"
|
|
25
|
+
}
|
package/build/robots.txt
ADDED
package/dist/components/index.js
CHANGED
|
@@ -30014,7 +30014,8 @@ const EditForm = _ref => {
|
|
|
30014
30014
|
changeErrors = () => {},
|
|
30015
30015
|
evaluationConfig = [],
|
|
30016
30016
|
staticWidth = "614px",
|
|
30017
|
-
fullWidth = false
|
|
30017
|
+
fullWidth = false,
|
|
30018
|
+
noConvert = false
|
|
30018
30019
|
} = _ref;
|
|
30019
30020
|
const [isSubmitting] = React.useState(false);
|
|
30020
30021
|
const formData = JSON.parse(JSON.stringify(convertUndefinedToNull(data) || {}));
|
|
@@ -30246,8 +30247,8 @@ const EditForm = _ref => {
|
|
|
30246
30247
|
allValues[key] = _objectSpread2(_objectSpread2({}, values[key]), _allValues[key]);
|
|
30247
30248
|
}
|
|
30248
30249
|
});
|
|
30249
|
-
const cleanedChangeValue = changedValue
|
|
30250
|
-
const cleanedAllValues = _objectSpread2(_objectSpread2({}, values), allValues);
|
|
30250
|
+
const cleanedChangeValue = noConvert ? changedValue : convertUndefinedToNull(changedValue);
|
|
30251
|
+
const cleanedAllValues = noConvert ? _objectSpread2(_objectSpread2({}, values), allValues) : convertUndefinedToNull(_objectSpread2(_objectSpread2({}, values), allValues));
|
|
30251
30252
|
if ("associatedMine" in cleanedChangeValue && cleanedChangeValue.associatedMine === null && values.associatedMine != null) {
|
|
30252
30253
|
cleanedChangeValue.associatedMine = values.associatedMine;
|
|
30253
30254
|
cleanedAllValues.associatedMine = values.associatedMine;
|