@hestia-earth/ui-components 0.4.4 → 0.4.5
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/bundles/hestia-earth-ui-components.umd.js +4 -4
- package/bundles/hestia-earth-ui-components.umd.js.map +1 -1
- package/esm2015/node/node-logs-models/node-logs-models.component.js +4 -4
- package/esm2015/node/node-logs-models/node-logs-models.model.js +2 -2
- package/fesm2015/hestia-earth-ui-components.js +4 -4
- package/fesm2015/hestia-earth-ui-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -5700,7 +5700,7 @@
|
|
|
5700
5700
|
return [
|
|
5701
5701
|
exports.LogStatus.success,
|
|
5702
5702
|
exports.LogStatus.error
|
|
5703
|
-
].includes(logStatus(data, logs)) && ((logs === null || logs === void 0 ? void 0 : logs.requirements) || (logs === null || logs === void 0 ? void 0 : logs.logs) || ((_a = logs === null || logs === void 0 ? void 0 : logs.missingLookups) === null || _a === void 0 ? void 0 : _a.length));
|
|
5703
|
+
].includes(logStatus(data, logs)) && (!!(logs === null || logs === void 0 ? void 0 : logs.requirements) || !!(logs === null || logs === void 0 ? void 0 : logs.logs) || ((_a = logs === null || logs === void 0 ? void 0 : logs.missingLookups) === null || _a === void 0 ? void 0 : _a.length) > 0);
|
|
5704
5704
|
};
|
|
5705
5705
|
var logStatus = function (data, logs) { return hasLog(logs)
|
|
5706
5706
|
? (!data.isRequired
|
|
@@ -6045,7 +6045,7 @@
|
|
|
6045
6045
|
_c$1[exports.LogStatus.dataProvided] = 'dark',
|
|
6046
6046
|
_c$1[exports.LogStatus.notRequired] = 'grey',
|
|
6047
6047
|
_c$1);
|
|
6048
|
-
var methodIdLabel = function (methodId, model) { return (model === null || model === void 0 ? void 0 : model.modelKey) && methodId === 'cycle'
|
|
6048
|
+
var methodIdLabel = function (methodId, model) { return ((model === null || model === void 0 ? void 0 : model.modelKey) && methodId === 'cycle'
|
|
6049
6049
|
? ({
|
|
6050
6050
|
transformation: 'Data From Transformation'
|
|
6051
6051
|
})[model.modelKey]
|
|
@@ -6053,8 +6053,8 @@
|
|
|
6053
6053
|
? ({
|
|
6054
6054
|
transformation: 'Data From Transformation',
|
|
6055
6055
|
impact_assessment: 'Data From Cycle'
|
|
6056
|
-
})[methodId]
|
|
6057
|
-
: ''; };
|
|
6056
|
+
})[methodId]
|
|
6057
|
+
: '') || utils.keyToLabel(methodId); };
|
|
6058
6058
|
var getModelsAt = function (log, index) { return ('modelsInSubValues' in log ? !log.modelsInSubValues || !log.isOpen : true) && log.configModels[index]; };
|
|
6059
6059
|
var requirementKeys = function (requirements) { return Object.keys(requirements).filter(function (k) { return !nodeTypesLowerCase.includes(k); }); };
|
|
6060
6060
|
var requirementColor = function (value) { return !value || ['None', 'False', '0', '0.0'].includes(value) ? 'danger' : 'white'; };
|