@undp/carbon-library 1.0.57 → 1.0.59
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 +71 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Enums/mitigation.types.enum.d.ts +30 -0
- package/dist/cjs/types/Definitions/index.d.ts +1 -0
- package/dist/esm/index.js +71 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Enums/mitigation.types.enum.d.ts +30 -0
- package/dist/esm/types/Definitions/index.d.ts +1 -0
- package/dist/index.d.ts +32 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -1520,6 +1520,75 @@ exports.ProgrammeManagementColumns = void 0;
|
|
1520
1520
|
ProgrammeManagementColumns["emissionReductionAchieved"] = "emissionReductionAchieved";
|
1521
1521
|
})(exports.ProgrammeManagementColumns || (exports.ProgrammeManagementColumns = {}));
|
1522
1522
|
|
1523
|
+
exports.MitigationTypes = void 0;
|
1524
|
+
(function (MitigationTypes) {
|
1525
|
+
MitigationTypes["AGRICULTURE"] = "Agriculture";
|
1526
|
+
MitigationTypes["BIOMASS_ENERGY"] = "BiomassEnergy";
|
1527
|
+
MitigationTypes["CCS"] = "CCS";
|
1528
|
+
MitigationTypes["CEMENT"] = "Cement";
|
1529
|
+
MitigationTypes["COAL_MINE"] = "Coal/Mine";
|
1530
|
+
MitigationTypes["EE_HOUSEHOLDS"] = "EEHouseholds";
|
1531
|
+
MitigationTypes["EE_INDUSTRY"] = "EEIndustry";
|
1532
|
+
MitigationTypes["EE_OWN_GENERATION"] = "EEOwnGeneration";
|
1533
|
+
MitigationTypes["EE_SERVICE"] = "EEService";
|
1534
|
+
MitigationTypes["EE_SUPPLY_SIDE"] = "EESupplySide";
|
1535
|
+
MitigationTypes["ENERGY_DISTRIBUTION"] = "EnergyDistribution";
|
1536
|
+
MitigationTypes["FORESTRY"] = "Forestry";
|
1537
|
+
MitigationTypes["FOSSIL_FUEL"] = "FossilFuel";
|
1538
|
+
MitigationTypes["FUGITIVE"] = "Fugitive";
|
1539
|
+
MitigationTypes["GEOTHERMAL"] = "Geothermal";
|
1540
|
+
MitigationTypes["HFC_PFCS_SF6"] = "HFC_PFCs_SF6";
|
1541
|
+
MitigationTypes["HYDRO"] = "Hydro";
|
1542
|
+
MitigationTypes["LANDFILLS"] = "Landfills";
|
1543
|
+
MitigationTypes["MARINE"] = "Marine";
|
1544
|
+
MitigationTypes["METHANE_AVOIDANCE"] = "MethaneAvoidance";
|
1545
|
+
MitigationTypes["N20"] = "N20";
|
1546
|
+
MitigationTypes["SOLAR"] = "Solar";
|
1547
|
+
MitigationTypes["TRANSPORT"] = "Transport";
|
1548
|
+
MitigationTypes["WIND"] = "Wind";
|
1549
|
+
})(exports.MitigationTypes || (exports.MitigationTypes = {}));
|
1550
|
+
var mitigationTypeList = [
|
1551
|
+
{ value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
|
1552
|
+
{ value: exports.MitigationTypes.SOLAR.valueOf(), label: "Solar" },
|
1553
|
+
{ value: exports.MitigationTypes.BIOMASS_ENERGY.valueOf(), label: "Biomass energy" },
|
1554
|
+
{ value: exports.MitigationTypes.CCS.valueOf(), label: "CCS" },
|
1555
|
+
{ value: exports.MitigationTypes.CEMENT.valueOf(), label: "Cement" },
|
1556
|
+
{
|
1557
|
+
value: exports.MitigationTypes.COAL_MINE.valueOf(),
|
1558
|
+
label: "Coal bed/mine methane",
|
1559
|
+
},
|
1560
|
+
{ value: exports.MitigationTypes.EE_HOUSEHOLDS.valueOf(), label: "EE households" },
|
1561
|
+
{ value: exports.MitigationTypes.EE_INDUSTRY.valueOf(), label: "EE industry" },
|
1562
|
+
{
|
1563
|
+
value: exports.MitigationTypes.EE_OWN_GENERATION.valueOf(),
|
1564
|
+
label: "EE own generation",
|
1565
|
+
},
|
1566
|
+
{ value: exports.MitigationTypes.EE_SERVICE.valueOf(), label: "EE service" },
|
1567
|
+
{ value: exports.MitigationTypes.EE_SUPPLY_SIDE.valueOf(), label: "EE supply side" },
|
1568
|
+
{
|
1569
|
+
value: exports.MitigationTypes.ENERGY_DISTRIBUTION.valueOf(),
|
1570
|
+
label: "Energy distribution",
|
1571
|
+
},
|
1572
|
+
{ value: exports.MitigationTypes.FORESTRY.valueOf(), label: "Forestry" },
|
1573
|
+
{
|
1574
|
+
value: exports.MitigationTypes.FOSSIL_FUEL.valueOf(),
|
1575
|
+
label: "Fossil fuel switch",
|
1576
|
+
},
|
1577
|
+
{ value: exports.MitigationTypes.FUGITIVE.valueOf(), label: "Fugitive" },
|
1578
|
+
{ value: exports.MitigationTypes.GEOTHERMAL.valueOf(), label: "Geothermal" },
|
1579
|
+
{ value: exports.MitigationTypes.HFC_PFCS_SF6.valueOf(), label: "HFCs, PFCs, SF6" },
|
1580
|
+
{ value: exports.MitigationTypes.HYDRO.valueOf(), label: "Hydro" },
|
1581
|
+
{ value: exports.MitigationTypes.LANDFILLS.valueOf(), label: "Landfills" },
|
1582
|
+
{ value: exports.MitigationTypes.MARINE.valueOf(), label: "Marine" },
|
1583
|
+
{
|
1584
|
+
value: exports.MitigationTypes.METHANE_AVOIDANCE.valueOf(),
|
1585
|
+
label: "Methane avoidance",
|
1586
|
+
},
|
1587
|
+
{ value: exports.MitigationTypes.N20.valueOf(), label: "N2O" },
|
1588
|
+
{ value: exports.MitigationTypes.TRANSPORT.valueOf(), label: "Transport" },
|
1589
|
+
{ value: exports.MitigationTypes.WIND.valueOf(), label: "Wind" },
|
1590
|
+
];
|
1591
|
+
|
1523
1592
|
exports.ConfigurationSettingsType = void 0;
|
1524
1593
|
(function (ConfigurationSettingsType) {
|
1525
1594
|
ConfigurationSettingsType[ConfigurationSettingsType["isTransferFrozen"] = 0] = "isTransferFrozen";
|
@@ -2589,7 +2658,7 @@ var ProgrammeManagementComponent = function (props) {
|
|
2589
2658
|
page: currentPage,
|
2590
2659
|
size: pageSize,
|
2591
2660
|
filterAnd: filter,
|
2592
|
-
filterOr: filterOr,
|
2661
|
+
filterOr: (filterOr === null || filterOr === void 0 ? void 0 : filterOr.length) > 0 ? filterOr : undefined,
|
2593
2662
|
sort: sort,
|
2594
2663
|
})];
|
2595
2664
|
case 2:
|
@@ -5698,5 +5767,6 @@ exports.getStageTagTypeMRV = getStageTagTypeMRV;
|
|
5698
5767
|
exports.getStageTransferEnumVal = getStageTransferEnumVal;
|
5699
5768
|
exports.getTransferStageTagType = getTransferStageTagType;
|
5700
5769
|
exports.isBase64 = isBase64;
|
5770
|
+
exports.mitigationTypeList = mitigationTypeList;
|
5701
5771
|
exports.sumArray = sumArray;
|
5702
5772
|
//# sourceMappingURL=index.js.map
|