@undp/carbon-library 1.0.87 → 1.0.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,7 @@ export interface ProgrammeProperties {
30
30
  }
31
31
  export interface ProgrammePropertiesR extends ProgrammeProperties {
32
32
  programmeCostUSD: number;
33
+ estimatedProgrammeCostUSD: number;
33
34
  }
34
35
  export interface ProgrammePropertiesT extends ProgrammeProperties {
35
36
  estimatedProgrammeCostUSD: number;
@@ -105,7 +106,7 @@ export declare const addCommSep: (value: any) => string;
105
106
  export declare const addCommSepRound: (value: any) => string;
106
107
  export declare const addRoundNumber: (value: any) => number;
107
108
  export declare const addSpaces: (text: string) => string;
108
- export declare const getFinancialFields: (programme: ProgrammeU) => {
109
+ export declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR) => {
109
110
  estimatedProgrammeCostUSD: string;
110
111
  creditEst: string;
111
112
  financingType: string;
package/dist/esm/index.js CHANGED
@@ -19572,8 +19572,7 @@ var MapStatsComponent = function (props) {
19572
19572
 
19573
19573
  var RangePicker$1 = DatePicker.RangePicker;
19574
19574
  var MrvDashboardComponent = function (props) {
19575
- var useConnection = props.useConnection, useUserContext = props.useUserContext, Link = props.Link, Chart = props.Chart, translator = props.translator, ButtonGroup = props.ButtonGroup;
19576
- var t = translator.t;
19575
+ var useConnection = props.useConnection, useUserContext = props.useUserContext, Link = props.Link, Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup;
19577
19576
  var _a = useConnection(); _a.get; var post = _a.post; _a.delete;
19578
19577
  var _b = useState({}), data = _b[0], setData = _b[1];
19579
19578
  var _c = useState(false), loading = _c[0], setLoading = _c[1];
@@ -21317,8 +21316,7 @@ var RegistryBarChartsStatComponent = function (props) {
21317
21316
 
21318
21317
  var RangePicker = DatePicker.RangePicker;
21319
21318
  var RegistryDashboardComponent = function (props) {
21320
- var useUserContext = props.useUserContext, useConnection = props.useConnection, Chart = props.Chart, translator = props.translator, ButtonGroup = props.ButtonGroup, Link = props.Link;
21321
- var t = translator.t;
21319
+ var useUserContext = props.useUserContext, useConnection = props.useConnection, Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, Link = props.Link;
21322
21320
  var _a = useConnection(); _a.get; var post = _a.post; _a.delete;
21323
21321
  var userInfoState = useUserContext().userInfoState;
21324
21322
  var _b = useState(false), loadingWithoutTimeRange = _b[0], setLoadingWithoutTimeRange = _b[1];