@undp/carbon-library 1.0.174-carbon-lib-test.2 → 1.0.174-carbon-lib-test.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ import type { StoryObj } from "@storybook/react";
3
3
  import "antd/dist/antd.css";
4
4
  declare const meta: {
5
5
  title: string;
6
- component: (props: any) => import("react").JSX.Element;
6
+ component: import("react").FC;
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ import "react-phone-number-input/style.css";
3
+ import "./addNewUserComponent.scss";
4
+ import "../Styles/app.scss";
5
+ export interface AddNewUserComponent {
6
+ onNavigateToUserManagement?: any;
7
+ onNavigateLogin?: any;
8
+ themeColor?: any;
9
+ }
10
+ export declare const AddNewUserComponent: FC;
package/dist/esm/index.js CHANGED
@@ -26780,11 +26780,12 @@ var getValidNdcActions = function (programme) {
26780
26780
  var _a;
26781
26781
  var actionCreditsArray = [];
26782
26782
  (_a = programme.mitigationActions) === null || _a === void 0 ? void 0 : _a.map(function (action) {
26783
+ var _a;
26783
26784
  var verfiedAction = false;
26784
26785
  if (action.projectMaterial) {
26785
- for (var _i = 0, _a = action.projectMaterial; _i < _a.length; _i++) {
26786
- var document = _a[_i];
26787
- if (document.includes("VERIFICATION_REPORT")) {
26786
+ for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
26787
+ var document = _b[_i];
26788
+ if (document.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
26788
26789
  verfiedAction = true;
26789
26790
  break;
26790
26791
  }