@undp/carbon-library 1.0.90 → 1.0.92
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/types/Components/Programme/ProgrammeView/programmeViewComponent.d.ts +0 -3
- package/dist/esm/types/Components/Programme/ProgrammeView/programmeViewComponent.d.ts +0 -3
@@ -106,7 +106,7 @@ export declare const addCommSep: (value: any) => string;
|
|
106
106
|
export declare const addCommSepRound: (value: any) => string;
|
107
107
|
export declare const addRoundNumber: (value: any) => number;
|
108
108
|
export declare const addSpaces: (text: string) => string;
|
109
|
-
export declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR) => {
|
109
|
+
export declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR | ProgrammeT) => {
|
110
110
|
estimatedProgrammeCostUSD: string;
|
111
111
|
creditEst: string;
|
112
112
|
financingType: string;
|
package/dist/esm/index.js
CHANGED
@@ -344,7 +344,7 @@ var getFinancialFields = function (programme) {
|
|
344
344
|
estimatedProgrammeCostUSD: addCommSep(programme.programmeProperties.estimatedProgrammeCostUSD),
|
345
345
|
creditEst: addCommSep(programme.creditEst),
|
346
346
|
financingType: addSpaces(programme.programmeProperties.sourceOfFunding),
|
347
|
-
grantEquivalent: new UnitField(
|
347
|
+
grantEquivalent: new UnitField("USD", addCommSep(programme.programmeProperties.grantEquivalentAmount)),
|
348
348
|
carbonPriceUSDPerTon: addCommSep(programme.programmeProperties.carbonPriceUSDPerTon),
|
349
349
|
};
|
350
350
|
};
|