@undp/carbon-library 1.0.179 → 1.0.180
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/dist/cjs/index.js +5 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -26805,8 +26805,10 @@ var getValidNdcActions = function (programme) {
|
|
|
26805
26805
|
var verfiedAction = false;
|
|
26806
26806
|
if (action.projectMaterial) {
|
|
26807
26807
|
for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
|
|
26808
|
-
var
|
|
26809
|
-
|
|
26808
|
+
var documentDetails = _b[_i];
|
|
26809
|
+
var document_1 = void 0;
|
|
26810
|
+
documentDetails.url ? document_1 = documentDetails.url : document_1 = documentDetails;
|
|
26811
|
+
if (document_1.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
|
|
26810
26812
|
verfiedAction = true;
|
|
26811
26813
|
break;
|
|
26812
26814
|
}
|
|
@@ -27460,7 +27462,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
|
27460
27462
|
React.createElement(antd.Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
|
27461
27463
|
};
|
|
27462
27464
|
|
|
27463
|
-
var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items:
|
|
27465
|
+
var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n align-items: center;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
|
|
27464
27466
|
styleInject(css_248z$2);
|
|
27465
27467
|
|
|
27466
27468
|
var NdcActionBody = function (props) {
|