@undp/data-viz 1.4.0 → 1.4.2
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/AreaChart.cjs +1 -1
- package/dist/AreaChart.js +21 -21
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.js +7 -7
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.js +2 -2
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.js +5 -5
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.js +14 -14
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.js +9 -9
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.js +9 -9
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/CopyTextButton.cjs +7 -7
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +4 -4
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/DataCards.cjs +9 -9
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.js +93 -93
- package/dist/DataCards.js.map +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.js +18 -18
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.js +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.js +8 -8
- package/dist/{DropdownSelect-0I2QxaVy.cjs → DropdownSelect-BmE5JaeE.cjs} +6 -6
- package/dist/{DropdownSelect-0I2QxaVy.cjs.map → DropdownSelect-BmE5JaeE.cjs.map} +1 -1
- package/dist/{DropdownSelect-CDC9lEqU.js → DropdownSelect-CeHog_ih.js} +4 -4
- package/dist/{DropdownSelect-CDC9lEqU.js.map → DropdownSelect-CeHog_ih.js.map} +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.js +15 -15
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.js +13 -13
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.js +2 -2
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +2 -2
- package/dist/{GraphEl-B6SoGRFW.cjs → GraphEl-B5gAX1IQ.cjs} +2 -2
- package/dist/{GraphEl-B6SoGRFW.cjs.map → GraphEl-B5gAX1IQ.cjs.map} +1 -1
- package/dist/{GraphEl-Cw2tDUb3.js → GraphEl-BdIyscdt.js} +3 -3
- package/dist/{GraphEl-Cw2tDUb3.js.map → GraphEl-BdIyscdt.js.map} +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +4 -4
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.js +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.js +10 -10
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.js +21 -21
- package/dist/{Modal-CUU6ZK3U.js → Modal-DVVwpKhP.js} +2 -2
- package/dist/{Modal-CUU6ZK3U.js.map → Modal-DVVwpKhP.js.map} +1 -1
- package/dist/{Modal-C_dl0EtQ.cjs → Modal-tXZlLE5s.cjs} +4 -4
- package/dist/{Modal-C_dl0EtQ.cjs.map → Modal-tXZlLE5s.cjs.map} +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.js +3 -3
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +3 -3
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.js +21 -21
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.js +19 -19
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +12 -12
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +3 -3
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
- package/dist/PerformanceIntensiveScrollStory.js +2 -2
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.js +8 -8
- package/dist/{ReferenceLine-CuFMk0cI.cjs → ReferenceLine-CFVBBN__.cjs} +2 -2
- package/dist/{ReferenceLine-CuFMk0cI.cjs.map → ReferenceLine-CFVBBN__.cjs.map} +1 -1
- package/dist/{ReferenceLine-C1GpoG9d.js → ReferenceLine-CfAW3vKJ.js} +2 -2
- package/dist/{ReferenceLine-C1GpoG9d.js.map → ReferenceLine-CfAW3vKJ.js.map} +1 -1
- package/dist/{RegressionLine-BFwDCTUU.js → RegressionLine-mH7UKOPi.js} +3 -3
- package/dist/{RegressionLine-BFwDCTUU.js.map → RegressionLine-mH7UKOPi.js.map} +1 -1
- package/dist/{RegressionLine-7_rKTHN_.cjs → RegressionLine-xKdiJ8sw.cjs} +2 -2
- package/dist/{RegressionLine-7_rKTHN_.cjs.map → RegressionLine-xKdiJ8sw.cjs.map} +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.js +4 -4
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.js +13 -13
- package/dist/ScrollStory.cjs +1 -1
- package/dist/ScrollStory.js +2 -2
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.js +20 -20
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +4 -4
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.js +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +3 -3
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +7 -7
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.js +9 -9
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.js +2 -2
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.js +4 -4
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.js +3 -3
- package/dist/{XAxesLabels-DQFo_z2R.js → XAxesLabels-CaV2q-6H.js} +2 -2
- package/dist/{XAxesLabels-DQFo_z2R.js.map → XAxesLabels-CaV2q-6H.js.map} +1 -1
- package/dist/{XAxesLabels-CJMQbfVy.cjs → XAxesLabels-OjBNl_lS.cjs} +2 -2
- package/dist/{XAxesLabels-CJMQbfVy.cjs.map → XAxesLabels-OjBNl_lS.cjs.map} +1 -1
- package/dist/{YAxesLabels-H5-002X5.js → YAxesLabels-CPGZjmZJ.js} +2 -2
- package/dist/{YAxesLabels-H5-002X5.js.map → YAxesLabels-CPGZjmZJ.js.map} +1 -1
- package/dist/{YAxesLabels-BXLTX7AI.cjs → YAxesLabels-D8IydyZj.cjs} +2 -2
- package/dist/{YAxesLabels-BXLTX7AI.cjs.map → YAxesLabels-D8IydyZj.cjs.map} +1 -1
- package/dist/{checkIfMultiple-Do4kADNr.cjs → checkIfMultiple-BXbHUCWM.cjs} +6 -6
- package/dist/{checkIfMultiple-Do4kADNr.cjs.map → checkIfMultiple-BXbHUCWM.cjs.map} +1 -1
- package/dist/{checkIfMultiple-CYp3vADF.js → checkIfMultiple-ChTJk2Tk.js} +5 -5
- package/dist/{checkIfMultiple-CYp3vADF.js.map → checkIfMultiple-ChTJk2Tk.js.map} +1 -1
- package/dist/{customArea-CaxScFmW.js → customArea-B-dWU0zZ.js} +2 -2
- package/dist/{customArea-CaxScFmW.js.map → customArea-B-dWU0zZ.js.map} +1 -1
- package/dist/{customArea-BYNyxAkm.cjs → customArea-CK768gCn.cjs} +2 -2
- package/dist/{customArea-BYNyxAkm.cjs.map → customArea-CK768gCn.cjs.map} +1 -1
- package/dist/{fetchAndParseData-Bcmr659B.js → fetchAndParseData-4gsYTy6_.js} +3 -3
- package/dist/fetchAndParseData-4gsYTy6_.js.map +1 -0
- package/dist/{fetchAndParseData-DmgQtB9n.cjs → fetchAndParseData-CQyVGCul.cjs} +6 -6
- package/dist/fetchAndParseData-CQyVGCul.cjs.map +1 -0
- package/dist/fetchAndParseData.cjs +1 -1
- package/dist/fetchAndParseData.js +1 -1
- package/dist/index-BW8iNx7E.cjs +10 -0
- package/dist/index-BW8iNx7E.cjs.map +1 -0
- package/dist/index-CNvov0eg.js +122 -0
- package/dist/index-CNvov0eg.js.map +1 -0
- package/dist/{index-D_n8aamX.cjs → index-CZLvTu6p.cjs} +2 -2
- package/dist/{index-D_n8aamX.cjs.map → index-CZLvTu6p.cjs.map} +1 -1
- package/dist/{index-n_RI8T0n.js → index-Cdcfp4nk.js} +2 -2
- package/dist/{index-n_RI8T0n.js.map → index-Cdcfp4nk.js.map} +1 -1
- package/dist/{index-BVnYktl4.js → index-DGAaLNu9.js} +2 -2
- package/dist/{index-BVnYktl4.js.map → index-DGAaLNu9.js.map} +1 -1
- package/dist/{index-CylX-pWB.cjs → index-DNj994Pv.cjs} +2 -2
- package/dist/{index-CylX-pWB.cjs.map → index-DNj994Pv.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/proxy-BHRoeZgd.cjs +2 -0
- package/dist/proxy-BHRoeZgd.cjs.map +1 -0
- package/dist/{proxy-DJxJg1kD.js → proxy-CkpFesk1.js} +4123 -4075
- package/dist/proxy-CkpFesk1.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.js +2 -2
- package/dist/{transformDataForGraphFromFile-D9G3ToQf.cjs → transformDataForGraphFromFile-B1A0AS-Z.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-D9G3ToQf.cjs.map → transformDataForGraphFromFile-B1A0AS-Z.cjs.map} +1 -1
- package/dist/{transformDataForGraphFromFile-CA0rw80A.js → transformDataForGraphFromFile-BCjsizvb.js} +2 -2
- package/dist/{transformDataForGraphFromFile-CA0rw80A.js.map → transformDataForGraphFromFile-BCjsizvb.js.map} +1 -1
- package/dist/{use-in-view-BCmzDU2O.cjs → use-in-view-sQJZ_xDO.cjs} +2 -2
- package/dist/use-in-view-sQJZ_xDO.cjs.map +1 -0
- package/dist/{use-in-view-BAHrBy6b.js → use-in-view-yS6jzJAp.js} +2 -2
- package/dist/use-in-view-yS6jzJAp.js.map +1 -0
- package/dist/x-BBpi7a_7-Dz2vKSfu.cjs +27 -0
- package/dist/x-BBpi7a_7-Dz2vKSfu.cjs.map +1 -0
- package/dist/x-BBpi7a_7-WVdj1j6r.js +106 -0
- package/dist/x-BBpi7a_7-WVdj1j6r.js.map +1 -0
- package/package.json +50 -51
- package/dist/fetchAndParseData-Bcmr659B.js.map +0 -1
- package/dist/fetchAndParseData-DmgQtB9n.cjs.map +0 -1
- package/dist/index-BxAUvrua.js +0 -120
- package/dist/index-BxAUvrua.js.map +0 -1
- package/dist/index-DVOJ7vxH.cjs +0 -10
- package/dist/index-DVOJ7vxH.cjs.map +0 -1
- package/dist/proxy-DJxJg1kD.js.map +0 -1
- package/dist/proxy-PQd2AItT.cjs +0 -2
- package/dist/proxy-PQd2AItT.cjs.map +0 -1
- package/dist/use-in-view-BAHrBy6b.js.map +0 -1
- package/dist/use-in-view-BCmzDU2O.cjs.map +0 -1
- package/dist/x-CnsEH4Ox-CGGXQl4M.cjs +0 -27
- package/dist/x-CnsEH4Ox-CGGXQl4M.cjs.map +0 -1
- package/dist/x-CnsEH4Ox-DDvAJndW.js +0 -101
- package/dist/x-CnsEH4Ox-DDvAJndW.js.map +0 -1
package/dist/transformData.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./transformDataForAggregation-Du-Hei-W.cjs"),a=require("./fetchAndParseData-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./transformDataForAggregation-Du-Hei-W.cjs"),a=require("./fetchAndParseData-CQyVGCul.cjs"),o=require("./transformDataForGraphFromFile-B1A0AS-Z.cjs");exports.transformDataForAggregation=r.transformDataForAggregation;exports.transformDataForGraph=r.transformDataForGraph;exports.transformColumnsToArray=a.transformColumnsToArray;exports.transformDataForGraphFromFile=o.transformDataForGraphFromFile;
|
|
2
2
|
//# sourceMappingURL=transformData.cjs.map
|
package/dist/transformData.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as o, a as t } from "./transformDataForAggregation-CdcwlnNe.js";
|
|
2
|
-
import { t as s } from "./fetchAndParseData-
|
|
3
|
-
import { t as n } from "./transformDataForGraphFromFile-
|
|
2
|
+
import { t as s } from "./fetchAndParseData-4gsYTy6_.js";
|
|
3
|
+
import { t as n } from "./transformDataForGraphFromFile-BCjsizvb.js";
|
|
4
4
|
export {
|
|
5
5
|
s as transformColumnsToArray,
|
|
6
6
|
o as transformDataForAggregation,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./fetchAndParseData-
|
|
2
|
-
//# sourceMappingURL=transformDataForGraphFromFile-
|
|
1
|
+
"use strict";const t=require("./fetchAndParseData-CQyVGCul.cjs"),D=require("./transformDataForAggregation-Du-Hei-W.cjs");async function F(r,n,c,s,f,e,h,a,i){try{const o=await(typeof r=="string"?s==="json"?t.fetchAndParseJSON(r,e,a,!1):s==="api"?t.fetchAndTransformDataFromAPI(r,h,e,a,!1):t.fetchAndParseCSV(r,a,e,!1,f,!0):t.fetchAndParseMultipleDataSources(r,i));return D.transformDataForGraph(o,c,n)}catch(o){return console.error("Error fetching or processing data",o),null}}exports.transformDataForGraphFromFile=F;
|
|
2
|
+
//# sourceMappingURL=transformDataForGraphFromFile-B1A0AS-Z.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformDataForGraphFromFile-
|
|
1
|
+
{"version":3,"file":"transformDataForGraphFromFile-B1A0AS-Z.cjs","sources":["../src/Utils/transformData/transformDataForGraphFromFile.ts"],"sourcesContent":["import {\r\n fetchAndParseJSON,\r\n fetchAndParseCSV,\r\n fetchAndTransformDataFromAPI,\r\n fetchAndParseMultipleDataSources,\r\n} from '../fetchAndParseData';\r\n\r\nimport { transformDataForGraph } from './transformDataForGraph';\r\n\r\nimport {\r\n ColumnConfigurationDataType,\r\n FileSettingsDataType,\r\n GraphConfigurationDataType,\r\n GraphType,\r\n} from '@/Types';\r\n/**\r\n * Fetches data from a given URL or multiple data sources, processes it according to the specified graph configuration,\r\n * and formats it for use in a graph.\r\n *\r\n * This function supports different file types (CSV, JSON, and API), and can handle multiple data sources. It applies\r\n * any necessary data transformations and column formatting, then prepares the data for visualization in the specified graph.\r\n *\r\n * @param dataURL - The URL or array of data sources to fetch data from. If it's a string, it represents the URL to fetch data from.\r\n * If it's an array, it represents multiple data sources with different types (CSV, JSON, API).\r\n * @param dataConfiguration - The graph configuration data used to determine how the data should be formatted for the graph.\r\n * @param graph - The type of graph to be used (e.g., lineChart, barChart).\r\n * @param fileType - The type of the file being fetched. Can be 'csv', 'json', or 'api'. This parameter is ignored if `dataURL` is an array.\r\n * @param delimiter - The delimiter used in CSV files (default is ',' if not provided).\r\n * @param columnsToArray - Configuration for columns that need to be transformed into arrays (optional).\r\n * @param apiHeaders - Headers for the API request (optional).\r\n * @param dataTransformation - A Handlebars template used for transforming the data (optional).\r\n * @param idColumnTitle - The title of the ID column when merging multiple data sources (optional).\r\n *\r\n * @returns A Promise that resolves to the transformed data ready for the graph, or null if an error occurs.\r\n *\r\n * @throws {Error} Throws an error if the data fetching or processing fails.\r\n *\r\n * @example\r\n * const dataURL = 'https://example.com/data.json';\r\n * const dataConfiguration = [\r\n * { column: 'value', chartConfigId: 'size' },\r\n * { column: 'category', chartConfigId: 'label' },\r\n * ];\r\n * const graph = 'barChart';\r\n * transformDataForGraphFromFile(dataURL, dataConfiguration, graph, 'json')\r\n * .then(data => {\r\n * console.log('Formatted Data:', data);\r\n * })\r\n * .catch(error => {\r\n * console.error('Error:', error);\r\n * });\r\n */\r\nexport async function transformDataForGraphFromFile(\r\n dataURL: string | FileSettingsDataType[],\r\n dataConfiguration: GraphConfigurationDataType[],\r\n graph: GraphType,\r\n fileType?: 'csv' | 'json' | 'api',\r\n delimiter?: string,\r\n columnsToArray?: ColumnConfigurationDataType[],\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n apiHeaders?: any,\r\n dataTransformation?: string,\r\n idColumnTitle?: string,\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n): Promise<any> {\r\n // Ensure the function returns a Promise\r\n try {\r\n const fetchedData = await (typeof dataURL === 'string'\r\n ? fileType === 'json'\r\n ? fetchAndParseJSON(dataURL, columnsToArray, dataTransformation, false)\r\n : fileType === 'api'\r\n ? fetchAndTransformDataFromAPI(\r\n dataURL,\r\n apiHeaders,\r\n columnsToArray,\r\n dataTransformation,\r\n false,\r\n )\r\n : fetchAndParseCSV(dataURL, dataTransformation, columnsToArray, false, delimiter, true)\r\n : fetchAndParseMultipleDataSources(dataURL, idColumnTitle));\r\n\r\n const formattedData = transformDataForGraph(\r\n fetchedData,\r\n graph,\r\n dataConfiguration as GraphConfigurationDataType[],\r\n );\r\n return formattedData;\r\n } catch (error) {\r\n console.error('Error fetching or processing data', error);\r\n return null; // Return null in case of any errors\r\n }\r\n}\r\n"],"names":["transformDataForGraphFromFile","dataURL","dataConfiguration","graph","fileType","delimiter","columnsToArray","apiHeaders","dataTransformation","idColumnTitle","fetchedData","fetchAndParseJSON","fetchAndTransformDataFromAPI","fetchAndParseCSV","fetchAndParseMultipleDataSources","transformDataForGraph","error"],"mappings":"yHAoDA,eAAsBA,EACpBC,EACAC,EACAC,EACAC,EACAC,EACAC,EAEAC,EACAC,EACAC,EAEc,CAEd,GAAI,CACF,MAAMC,EAAc,MAAO,OAAOT,GAAY,SAC1CG,IAAa,OACXO,EAAAA,kBAAkBV,EAASK,EAAgBE,EAAoB,EAAK,EACpEJ,IAAa,MACXQ,EAAAA,6BACEX,EACAM,EACAD,EACAE,EACA,EAAA,EAEFK,mBAAiBZ,EAASO,EAAoBF,EAAgB,GAAOD,EAAW,EAAI,EACxFS,EAAAA,iCAAiCb,EAASQ,CAAa,GAO3D,OALsBM,EAAAA,sBACpBL,EACAP,EACAD,CAAA,CAGJ,OAASc,EAAO,CACd,eAAQ,MAAM,oCAAqCA,CAAK,EACjD,IACT,CACF"}
|
package/dist/{transformDataForGraphFromFile-CA0rw80A.js → transformDataForGraphFromFile-BCjsizvb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as p, a as i, b as m, c as D } from "./fetchAndParseData-
|
|
1
|
+
import { f as p, a as i, b as m, c as D } from "./fetchAndParseData-4gsYTy6_.js";
|
|
2
2
|
import { a as l } from "./transformDataForAggregation-CdcwlnNe.js";
|
|
3
3
|
async function g(r, o, f, s, c, t, n, e, h) {
|
|
4
4
|
try {
|
|
@@ -21,4 +21,4 @@ async function g(r, o, f, s, c, t, n, e, h) {
|
|
|
21
21
|
export {
|
|
22
22
|
g as t
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=transformDataForGraphFromFile-
|
|
24
|
+
//# sourceMappingURL=transformDataForGraphFromFile-BCjsizvb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformDataForGraphFromFile-
|
|
1
|
+
{"version":3,"file":"transformDataForGraphFromFile-BCjsizvb.js","sources":["../src/Utils/transformData/transformDataForGraphFromFile.ts"],"sourcesContent":["import {\r\n fetchAndParseJSON,\r\n fetchAndParseCSV,\r\n fetchAndTransformDataFromAPI,\r\n fetchAndParseMultipleDataSources,\r\n} from '../fetchAndParseData';\r\n\r\nimport { transformDataForGraph } from './transformDataForGraph';\r\n\r\nimport {\r\n ColumnConfigurationDataType,\r\n FileSettingsDataType,\r\n GraphConfigurationDataType,\r\n GraphType,\r\n} from '@/Types';\r\n/**\r\n * Fetches data from a given URL or multiple data sources, processes it according to the specified graph configuration,\r\n * and formats it for use in a graph.\r\n *\r\n * This function supports different file types (CSV, JSON, and API), and can handle multiple data sources. It applies\r\n * any necessary data transformations and column formatting, then prepares the data for visualization in the specified graph.\r\n *\r\n * @param dataURL - The URL or array of data sources to fetch data from. If it's a string, it represents the URL to fetch data from.\r\n * If it's an array, it represents multiple data sources with different types (CSV, JSON, API).\r\n * @param dataConfiguration - The graph configuration data used to determine how the data should be formatted for the graph.\r\n * @param graph - The type of graph to be used (e.g., lineChart, barChart).\r\n * @param fileType - The type of the file being fetched. Can be 'csv', 'json', or 'api'. This parameter is ignored if `dataURL` is an array.\r\n * @param delimiter - The delimiter used in CSV files (default is ',' if not provided).\r\n * @param columnsToArray - Configuration for columns that need to be transformed into arrays (optional).\r\n * @param apiHeaders - Headers for the API request (optional).\r\n * @param dataTransformation - A Handlebars template used for transforming the data (optional).\r\n * @param idColumnTitle - The title of the ID column when merging multiple data sources (optional).\r\n *\r\n * @returns A Promise that resolves to the transformed data ready for the graph, or null if an error occurs.\r\n *\r\n * @throws {Error} Throws an error if the data fetching or processing fails.\r\n *\r\n * @example\r\n * const dataURL = 'https://example.com/data.json';\r\n * const dataConfiguration = [\r\n * { column: 'value', chartConfigId: 'size' },\r\n * { column: 'category', chartConfigId: 'label' },\r\n * ];\r\n * const graph = 'barChart';\r\n * transformDataForGraphFromFile(dataURL, dataConfiguration, graph, 'json')\r\n * .then(data => {\r\n * console.log('Formatted Data:', data);\r\n * })\r\n * .catch(error => {\r\n * console.error('Error:', error);\r\n * });\r\n */\r\nexport async function transformDataForGraphFromFile(\r\n dataURL: string | FileSettingsDataType[],\r\n dataConfiguration: GraphConfigurationDataType[],\r\n graph: GraphType,\r\n fileType?: 'csv' | 'json' | 'api',\r\n delimiter?: string,\r\n columnsToArray?: ColumnConfigurationDataType[],\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n apiHeaders?: any,\r\n dataTransformation?: string,\r\n idColumnTitle?: string,\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n): Promise<any> {\r\n // Ensure the function returns a Promise\r\n try {\r\n const fetchedData = await (typeof dataURL === 'string'\r\n ? fileType === 'json'\r\n ? fetchAndParseJSON(dataURL, columnsToArray, dataTransformation, false)\r\n : fileType === 'api'\r\n ? fetchAndTransformDataFromAPI(\r\n dataURL,\r\n apiHeaders,\r\n columnsToArray,\r\n dataTransformation,\r\n false,\r\n )\r\n : fetchAndParseCSV(dataURL, dataTransformation, columnsToArray, false, delimiter, true)\r\n : fetchAndParseMultipleDataSources(dataURL, idColumnTitle));\r\n\r\n const formattedData = transformDataForGraph(\r\n fetchedData,\r\n graph,\r\n dataConfiguration as GraphConfigurationDataType[],\r\n );\r\n return formattedData;\r\n } catch (error) {\r\n console.error('Error fetching or processing data', error);\r\n return null; // Return null in case of any errors\r\n }\r\n}\r\n"],"names":["transformDataForGraphFromFile","dataURL","dataConfiguration","graph","fileType","delimiter","columnsToArray","apiHeaders","dataTransformation","idColumnTitle","fetchedData","fetchAndParseJSON","fetchAndTransformDataFromAPI","fetchAndParseCSV","fetchAndParseMultipleDataSources","transformDataForGraph","error"],"mappings":";;AAoDA,eAAsBA,EACpBC,GACAC,GACAC,GACAC,GACAC,GACAC,GAEAC,GACAC,GACAC,GAEc;AAEd,MAAI;AACF,UAAMC,IAAc,OAAO,OAAOT,KAAY,WAC1CG,MAAa,SACXO,EAAkBV,GAASK,GAAgBE,GAAoB,EAAK,IACpEJ,MAAa,QACXQ;AAAA,MACEX;AAAA,MACAM;AAAA,MACAD;AAAA,MACAE;AAAA,MACA;AAAA,IAAA,IAEFK,EAAiBZ,GAASO,GAAoBF,GAAgB,IAAOD,GAAW,EAAI,IACxFS,EAAiCb,GAASQ,CAAa;AAO3D,WALsBM;AAAA,MACpBL;AAAA,MACAP;AAAA,MACAD;AAAA,IAAA;AAAA,EAGJ,SAASc,GAAO;AACd,mBAAQ,MAAM,qCAAqCA,CAAK,GACjD;AAAA,EACT;AACF;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const g=require("react"),I=require("./proxy-
|
|
2
|
-
//# sourceMappingURL=use-in-view-
|
|
1
|
+
"use strict";const g=require("react"),I=require("./proxy-BHRoeZgd.cjs"),w={some:0,all:1};function h(s,r,{root:c,margin:u,amount:n="some"}={}){const a=I.resolveElements(s),t=new WeakMap,f=i=>{i.forEach(e=>{const l=t.get(e.target);if(e.isIntersecting!==!!l)if(e.isIntersecting){const d=r(e.target,e);typeof d=="function"?t.set(e.target,d):o.unobserve(e.target)}else typeof l=="function"&&(l(e),t.delete(e.target))})},o=new IntersectionObserver(f,{root:c,rootMargin:u,threshold:typeof n=="number"?n:w[n]});return a.forEach(i=>o.observe(i)),()=>o.disconnect()}function E(s,{root:r,margin:c,amount:u,once:n=!1,initial:a=!1}={}){const[t,f]=g.useState(a);return g.useEffect(()=>{if(!s.current||n&&t)return;const o=()=>(f(!0),n?void 0:()=>f(!1)),i={root:r&&r.current||void 0,margin:c,amount:u};return h(s.current,o,i)},[r,s,c,n,u]),t}exports.useInView=E;
|
|
2
|
+
//# sourceMappingURL=use-in-view-sQJZ_xDO.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-in-view-sQJZ_xDO.cjs","sources":["../node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs","../node_modules/framer-motion/dist/es/utils/use-in-view.mjs"],"sourcesContent":["import { resolveElements } from 'motion-dom';\n\nconst thresholds = {\n some: 0,\n all: 1,\n};\nfunction inView(elementOrSelector, onStart, { root, margin: rootMargin, amount = \"some\" } = {}) {\n const elements = resolveElements(elementOrSelector);\n const activeIntersections = new WeakMap();\n const onIntersectionChange = (entries) => {\n entries.forEach((entry) => {\n const onEnd = activeIntersections.get(entry.target);\n /**\n * If there's no change to the intersection, we don't need to\n * do anything here.\n */\n if (entry.isIntersecting === Boolean(onEnd))\n return;\n if (entry.isIntersecting) {\n const newOnEnd = onStart(entry.target, entry);\n if (typeof newOnEnd === \"function\") {\n activeIntersections.set(entry.target, newOnEnd);\n }\n else {\n observer.unobserve(entry.target);\n }\n }\n else if (typeof onEnd === \"function\") {\n onEnd(entry);\n activeIntersections.delete(entry.target);\n }\n });\n };\n const observer = new IntersectionObserver(onIntersectionChange, {\n root,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholds[amount],\n });\n elements.forEach((element) => observer.observe(element));\n return () => observer.disconnect();\n}\n\nexport { inView };\n","import { useState, useEffect } from 'react';\nimport { inView } from '../render/dom/viewport/index.mjs';\n\nfunction useInView(ref, { root, margin, amount, once = false, initial = false, } = {}) {\n const [isInView, setInView] = useState(initial);\n useEffect(() => {\n if (!ref.current || (once && isInView))\n return;\n const onEnter = () => {\n setInView(true);\n return once ? undefined : () => setInView(false);\n };\n const options = {\n root: (root && root.current) || undefined,\n margin,\n amount,\n };\n return inView(ref.current, onEnter, options);\n }, [root, ref, margin, once, amount]);\n return isInView;\n}\n\nexport { useInView };\n"],"names":["thresholds","inView","elementOrSelector","onStart","root","rootMargin","amount","elements","resolveElements","activeIntersections","onIntersectionChange","entries","entry","onEnd","newOnEnd","observer","element","useInView","ref","margin","once","initial","isInView","setInView","useState","useEffect","onEnter","options"],"mappings":"wEAEMA,EAAa,CACf,KAA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B,EAAI,QAASQ,EAASC,CAAO,CAC/C,EAAG,CAACvB,EAAMc,EAAKC,EAAQC,EAAMd,CAAM,CAAC,EAC7BgB,CACX","x_google_ignoreList":[0,1]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as g, useEffect as p } from "react";
|
|
2
|
-
import { r as I } from "./proxy-
|
|
2
|
+
import { r as I } from "./proxy-CkpFesk1.js";
|
|
3
3
|
const h = {
|
|
4
4
|
some: 0,
|
|
5
5
|
all: 1
|
|
@@ -37,4 +37,4 @@ function v(s, { root: r, margin: c, amount: f, once: t = !1, initial: a = !1 } =
|
|
|
37
37
|
export {
|
|
38
38
|
v as u
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=use-in-view-
|
|
40
|
+
//# sourceMappingURL=use-in-view-yS6jzJAp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-in-view-yS6jzJAp.js","sources":["../node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs","../node_modules/framer-motion/dist/es/utils/use-in-view.mjs"],"sourcesContent":["import { resolveElements } from 'motion-dom';\n\nconst thresholds = {\n some: 0,\n all: 1,\n};\nfunction inView(elementOrSelector, onStart, { root, margin: rootMargin, amount = \"some\" } = {}) {\n const elements = resolveElements(elementOrSelector);\n const activeIntersections = new WeakMap();\n const onIntersectionChange = (entries) => {\n entries.forEach((entry) => {\n const onEnd = activeIntersections.get(entry.target);\n /**\n * If there's no change to the intersection, we don't need to\n * do anything here.\n */\n if (entry.isIntersecting === Boolean(onEnd))\n return;\n if (entry.isIntersecting) {\n const newOnEnd = onStart(entry.target, entry);\n if (typeof newOnEnd === \"function\") {\n activeIntersections.set(entry.target, newOnEnd);\n }\n else {\n observer.unobserve(entry.target);\n }\n }\n else if (typeof onEnd === \"function\") {\n onEnd(entry);\n activeIntersections.delete(entry.target);\n }\n });\n };\n const observer = new IntersectionObserver(onIntersectionChange, {\n root,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholds[amount],\n });\n elements.forEach((element) => observer.observe(element));\n return () => observer.disconnect();\n}\n\nexport { inView };\n","import { useState, useEffect } from 'react';\nimport { inView } from '../render/dom/viewport/index.mjs';\n\nfunction useInView(ref, { root, margin, amount, once = false, initial = false, } = {}) {\n const [isInView, setInView] = useState(initial);\n useEffect(() => {\n if (!ref.current || (once && isInView))\n return;\n const onEnter = () => {\n setInView(true);\n return once ? undefined : () => setInView(false);\n };\n const options = {\n root: (root && root.current) || undefined,\n margin,\n amount,\n };\n return inView(ref.current, onEnter, options);\n }, [root, ref, margin, once, amount]);\n return isInView;\n}\n\nexport { useInView };\n"],"names":["thresholds","inView","elementOrSelector","onStart","root","rootMargin","amount","elements","resolveElements","activeIntersections","onIntersectionChange","entries","entry","onEnd","newOnEnd","observer","element","useInView","ref","margin","once","initial","isInView","setInView","useState","useEffect","onEnter","options"],"mappings":";;AAEA,MAAMA,IAAa;AAAA,EACf,MAAM;AAAA,EACN,KAAK;AACT;AACA,SAASC,EAAOC,GAAmBC,GAAS,EAAE,MAAAC,GAAM,QAAQC,GAAY,QAAAC,IAAS,OAAM,IAAK,IAAI;AAC5F,QAAMC,IAAWC,EAAgBN,CAAiB,GAC5CO,IAAsB,oBAAI,QAAO,GACjCC,IAAuB,CAACC,MAAY;AACtC,IAAAA,EAAQ,QAAQ,CAACC,MAAU;AACvB,YAAMC,IAAQJ,EAAoB,IAAIG,EAAM,MAAM;AAKlD,UAAIA,EAAM,mBAAmB,EAAQC;AAErC,YAAID,EAAM,gBAAgB;AACtB,gBAAME,IAAWX,EAAQS,EAAM,QAAQA,CAAK;AAC5C,UAAI,OAAOE,KAAa,aACpBL,EAAoB,IAAIG,EAAM,QAAQE,CAAQ,IAG9CC,EAAS,UAAUH,EAAM,MAAM;AAAA,QAEvC,MACK,CAAI,OAAOC,KAAU,eACtBA,EAAMD,CAAK,GACXH,EAAoB,OAAOG,EAAM,MAAM;AAAA,IAE/C,CAAC;AAAA,EACL,GACMG,IAAW,IAAI,qBAAqBL,GAAsB;AAAA,IAC5D,MAAAN;AAAA,IACA,YAAAC;AAAA,IACA,WAAW,OAAOC,KAAW,WAAWA,IAASN,EAAWM,CAAM;AAAA,EAC1E,CAAK;AACD,SAAAC,EAAS,QAAQ,CAACS,MAAYD,EAAS,QAAQC,CAAO,CAAC,GAChD,MAAMD,EAAS,WAAU;AACpC;ACrCA,SAASE,EAAUC,GAAK,EAAE,MAAAd,GAAM,QAAAe,GAAQ,QAAAb,GAAQ,MAAAc,IAAO,IAAO,SAAAC,IAAU,GAAK,IAAM,CAAA,GAAI;AACnF,QAAM,CAACC,GAAUC,CAAS,IAAIC,EAASH,CAAO;AAC9C,SAAAI,EAAU,MAAM;AACZ,QAAI,CAACP,EAAI,WAAYE,KAAQE;AACzB;AACJ,UAAMI,IAAU,OACZH,EAAU,EAAI,GACPH,IAAO,SAAY,MAAMG,EAAU,EAAK,IAE7CI,IAAU;AAAA,MACZ,MAAOvB,KAAQA,EAAK,WAAY;AAAA,MAChC,QAAAe;AAAA,MACA,QAAAb;AAAA,IACZ;AACQ,WAAOL,EAAOiB,EAAI,SAASQ,GAASC,CAAO;AAAA,EAC/C,GAAG,CAACvB,GAAMc,GAAKC,GAAQC,GAAMd,CAAM,CAAC,GAC7BgB;AACX;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";const i=require("react");/**
|
|
2
|
+
* @license lucide-react v0.542.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const k=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),w=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,o)=>o?o.toUpperCase():t.toLowerCase()),c=r=>{const e=w(r);return e.charAt(0).toUpperCase()+e.slice(1)},l=(...r)=>r.filter((e,t,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===t).join(" ").trim(),p=r=>{for(const e in r)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/**
|
|
7
|
+
* @license lucide-react v0.542.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/var N={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
12
|
+
* @license lucide-react v0.542.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const g=i.forwardRef(({color:r="currentColor",size:e=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:a="",children:s,iconNode:u,...n},h)=>i.createElement("svg",{ref:h,...N,width:e,height:e,stroke:r,strokeWidth:o?Number(t)*24/Number(e):t,className:l("lucide",a),...!s&&!p(n)&&{"aria-hidden":"true"},...n},[...u.map(([m,f])=>i.createElement(m,f)),...Array.isArray(s)?s:[s]]));/**
|
|
17
|
+
* @license lucide-react v0.542.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const d=(r,e)=>{const t=i.forwardRef(({className:o,...a},s)=>i.createElement(g,{ref:s,iconNode:e,className:l(`lucide-${k(c(r))}`,`lucide-${r}`,o),...a}));return t.displayName=c(r),t};/**
|
|
22
|
+
* @license lucide-react v0.542.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/const A=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],C=d("x",A);exports.k=d;exports.t=C;
|
|
27
|
+
//# sourceMappingURL=x-BBpi7a_7-Dz2vKSfu.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-BBpi7a_7-Dz2vKSfu.cjs","sources":["../node_modules/@undp/design-system-react/dist/createLucideIcon-CI1yJrZf.js","../node_modules/@undp/design-system-react/dist/x-BBpi7a_7.js"],"sourcesContent":["import { forwardRef as l, createElement as n } from \"react\";\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst w = (t) => t.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase(), h = (t) => t.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (e, r, o) => o ? o.toUpperCase() : r.toLowerCase()\n), i = (t) => {\n const e = h(t);\n return e.charAt(0).toUpperCase() + e.slice(1);\n}, u = (...t) => t.filter((e, r, o) => !!e && e.trim() !== \"\" && o.indexOf(e) === r).join(\" \").trim(), f = (t) => {\n for (const e in t)\n if (e.startsWith(\"aria-\") || e === \"role\" || e === \"title\")\n return !0;\n};\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nvar g = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst A = l(\n ({\n color: t = \"currentColor\",\n size: e = 24,\n strokeWidth: r = 2,\n absoluteStrokeWidth: o,\n className: s = \"\",\n children: a,\n iconNode: p,\n ...c\n }, m) => n(\n \"svg\",\n {\n ref: m,\n ...g,\n width: e,\n height: e,\n stroke: t,\n strokeWidth: o ? Number(r) * 24 / Number(e) : r,\n className: u(\"lucide\", s),\n ...!a && !f(c) && { \"aria-hidden\": \"true\" },\n ...c\n },\n [\n ...p.map(([C, d]) => n(C, d)),\n ...Array.isArray(a) ? a : [a]\n ]\n )\n);\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst k = (t, e) => {\n const r = l(\n ({ className: o, ...s }, a) => n(A, {\n ref: a,\n iconNode: e,\n className: u(\n `lucide-${w(i(t))}`,\n `lucide-${t}`,\n o\n ),\n ...s\n })\n );\n return r.displayName = i(t), r;\n};\nexport {\n k as c\n};\n//# sourceMappingURL=createLucideIcon-CI1yJrZf.js.map\n","import { c as o } from \"./createLucideIcon-CI1yJrZf.js\";\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst c = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n], t = o(\"x\", c);\nexport {\n t as X\n};\n//# sourceMappingURL=x-BBpi7a_7.js.map\n"],"names":["w","t","h","r","i","u","f","g","A","l","s","a","p","c","m","n","C","d","k","o"],"mappings":"sCACA;AAAA;AAAA;AAAA;AAAA;AAAA,GAMA,MAAMA,EAAKC,GAAMA,EAAE,QAAQ,qBAAsB,OAAO,EAAE,YAAW,EAAIC,EAAKD,GAAMA,EAAE,QACpF,wBACA,CAAC,EAAGE,EAAG,IAAM,EAAI,EAAE,YAAW,EAAKA,EAAE,YAAW,CAClD,EAAGC,EAAKH,GAAM,CACZ,MAAM,EAAIC,EAAED,CAAC,EACb,OAAO,EAAE,OAAO,CAAC,EAAE,YAAW,EAAK,EAAE,MAAM,CAAC,CAC9C,EAAGI,EAAI,IAAIJ,IAAMA,EAAE,OAAO,CAAC,EAAGE,EAAG,IAAM,CAAC,CAAC,GAAK,EAAE,SAAW,IAAM,EAAE,QAAQ,CAAC,IAAMA,CAAC,EAAE,KAAK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,CAAK,CACL,EACE,OAAOP,EAAE,YAAcC,EAAEH,CAAC,EAAGE,CAC/B,ECzFA;AAAA;AAAA;AAAA;AAAA;AAAA,GAMK,MAACU,EAAI,CACR,CAAC,OAAQ,CAAE,EAAG,aAAc,IAAK,QAAQ,CAAE,EAC3C,CAAC,OAAQ,CAAE,EAAG,aAAc,IAAK,QAAQ,CAAE,CAC7C,EAAGZ,EAAIkB,EAAE,IAAKN,CAAC","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { forwardRef as l, createElement as a } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.542.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const f = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), k = (r) => r.replace(
|
|
9
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
10
|
+
(e, t, o) => o ? o.toUpperCase() : t.toLowerCase()
|
|
11
|
+
), c = (r) => {
|
|
12
|
+
const e = k(r);
|
|
13
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
14
|
+
}, d = (...r) => r.filter((e, t, o) => !!e && e.trim() !== "" && o.indexOf(e) === t).join(" ").trim(), w = (r) => {
|
|
15
|
+
for (const e in r)
|
|
16
|
+
if (e.startsWith("aria-") || e === "role" || e === "title")
|
|
17
|
+
return !0;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @license lucide-react v0.542.0 - ISC
|
|
21
|
+
*
|
|
22
|
+
* This source code is licensed under the ISC license.
|
|
23
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
24
|
+
*/
|
|
25
|
+
var N = {
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: 24,
|
|
28
|
+
height: 24,
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
fill: "none",
|
|
31
|
+
stroke: "currentColor",
|
|
32
|
+
strokeWidth: 2,
|
|
33
|
+
strokeLinecap: "round",
|
|
34
|
+
strokeLinejoin: "round"
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @license lucide-react v0.542.0 - ISC
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the ISC license.
|
|
40
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/
|
|
42
|
+
const g = l(
|
|
43
|
+
({
|
|
44
|
+
color: r = "currentColor",
|
|
45
|
+
size: e = 24,
|
|
46
|
+
strokeWidth: t = 2,
|
|
47
|
+
absoluteStrokeWidth: o,
|
|
48
|
+
className: s = "",
|
|
49
|
+
children: i,
|
|
50
|
+
iconNode: h,
|
|
51
|
+
...n
|
|
52
|
+
}, u) => a(
|
|
53
|
+
"svg",
|
|
54
|
+
{
|
|
55
|
+
ref: u,
|
|
56
|
+
...N,
|
|
57
|
+
width: e,
|
|
58
|
+
height: e,
|
|
59
|
+
stroke: r,
|
|
60
|
+
strokeWidth: o ? Number(t) * 24 / Number(e) : t,
|
|
61
|
+
className: d("lucide", s),
|
|
62
|
+
...!i && !w(n) && { "aria-hidden": "true" },
|
|
63
|
+
...n
|
|
64
|
+
},
|
|
65
|
+
[
|
|
66
|
+
...h.map(([m, p]) => a(m, p)),
|
|
67
|
+
...Array.isArray(i) ? i : [i]
|
|
68
|
+
]
|
|
69
|
+
)
|
|
70
|
+
);
|
|
71
|
+
/**
|
|
72
|
+
* @license lucide-react v0.542.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/
|
|
77
|
+
const A = (r, e) => {
|
|
78
|
+
const t = l(
|
|
79
|
+
({ className: o, ...s }, i) => a(g, {
|
|
80
|
+
ref: i,
|
|
81
|
+
iconNode: e,
|
|
82
|
+
className: d(
|
|
83
|
+
`lucide-${f(c(r))}`,
|
|
84
|
+
`lucide-${r}`,
|
|
85
|
+
o
|
|
86
|
+
),
|
|
87
|
+
...s
|
|
88
|
+
})
|
|
89
|
+
);
|
|
90
|
+
return t.displayName = c(r), t;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @license lucide-react v0.542.0 - ISC
|
|
94
|
+
*
|
|
95
|
+
* This source code is licensed under the ISC license.
|
|
96
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
+
*/
|
|
98
|
+
const C = [
|
|
99
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
100
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
101
|
+
], v = A("x", C);
|
|
102
|
+
export {
|
|
103
|
+
A as k,
|
|
104
|
+
v as t
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=x-BBpi7a_7-WVdj1j6r.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-BBpi7a_7-WVdj1j6r.js","sources":["../node_modules/@undp/design-system-react/dist/createLucideIcon-CI1yJrZf.js","../node_modules/@undp/design-system-react/dist/x-BBpi7a_7.js"],"sourcesContent":["import { forwardRef as l, createElement as n } from \"react\";\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst w = (t) => t.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase(), h = (t) => t.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (e, r, o) => o ? o.toUpperCase() : r.toLowerCase()\n), i = (t) => {\n const e = h(t);\n return e.charAt(0).toUpperCase() + e.slice(1);\n}, u = (...t) => t.filter((e, r, o) => !!e && e.trim() !== \"\" && o.indexOf(e) === r).join(\" \").trim(), f = (t) => {\n for (const e in t)\n if (e.startsWith(\"aria-\") || e === \"role\" || e === \"title\")\n return !0;\n};\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nvar g = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst A = l(\n ({\n color: t = \"currentColor\",\n size: e = 24,\n strokeWidth: r = 2,\n absoluteStrokeWidth: o,\n className: s = \"\",\n children: a,\n iconNode: p,\n ...c\n }, m) => n(\n \"svg\",\n {\n ref: m,\n ...g,\n width: e,\n height: e,\n stroke: t,\n strokeWidth: o ? Number(r) * 24 / Number(e) : r,\n className: u(\"lucide\", s),\n ...!a && !f(c) && { \"aria-hidden\": \"true\" },\n ...c\n },\n [\n ...p.map(([C, d]) => n(C, d)),\n ...Array.isArray(a) ? a : [a]\n ]\n )\n);\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst k = (t, e) => {\n const r = l(\n ({ className: o, ...s }, a) => n(A, {\n ref: a,\n iconNode: e,\n className: u(\n `lucide-${w(i(t))}`,\n `lucide-${t}`,\n o\n ),\n ...s\n })\n );\n return r.displayName = i(t), r;\n};\nexport {\n k as c\n};\n//# sourceMappingURL=createLucideIcon-CI1yJrZf.js.map\n","import { c as o } from \"./createLucideIcon-CI1yJrZf.js\";\n/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\nconst c = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n], t = o(\"x\", c);\nexport {\n t as X\n};\n//# sourceMappingURL=x-BBpi7a_7.js.map\n"],"names":["w","t","h","r","i","u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.4.2",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"browser": "./dist/index.umd.js",
|
|
@@ -456,8 +456,8 @@
|
|
|
456
456
|
"lodash.sortby": "^4.7.0",
|
|
457
457
|
"lodash.sum": "^4.0.2",
|
|
458
458
|
"lodash.uniqby": "^4.7.0",
|
|
459
|
-
"motion": "^12.
|
|
460
|
-
"papaparse": "^5.5.
|
|
459
|
+
"motion": "^12.23.12",
|
|
460
|
+
"papaparse": "^5.5.3",
|
|
461
461
|
"react-csv": "^2.2.2",
|
|
462
462
|
"simple-statistics": "^7.8.8",
|
|
463
463
|
"xss": "^1.0.15"
|
|
@@ -465,22 +465,22 @@
|
|
|
465
465
|
"peerDependencies": {
|
|
466
466
|
"@dnd-kit/core": "^6.3.1",
|
|
467
467
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
468
|
-
"@undp/design-system-react": "^1.2.
|
|
468
|
+
"@undp/design-system-react": "^1.2.8",
|
|
469
469
|
"ajv": "^8.17.1",
|
|
470
470
|
"dom-to-svg": "^0.12.2",
|
|
471
471
|
"file-saver": "^2.0.5",
|
|
472
472
|
"handlebars": "^4.7.8",
|
|
473
|
-
"maplibre-gl": "^5.
|
|
474
|
-
"marked": "^
|
|
475
|
-
"math-expression-evaluator": "^2.0.
|
|
473
|
+
"maplibre-gl": "^5.7.0",
|
|
474
|
+
"marked": "^16.2.1",
|
|
475
|
+
"math-expression-evaluator": "^2.0.7",
|
|
476
476
|
"pmtiles": "^4.3.0",
|
|
477
477
|
"react": "^19.1.0",
|
|
478
478
|
"react-dom": "^19.1.0",
|
|
479
479
|
"react-globe.gl": "^2.35.0",
|
|
480
480
|
"tailwind-animate": "^0.2.10",
|
|
481
|
-
"tailwind-merge": "^3.3.
|
|
481
|
+
"tailwind-merge": "^3.3.1",
|
|
482
482
|
"tailwindcss-animate": "^1.0.7",
|
|
483
|
-
"three": "^0.
|
|
483
|
+
"three": "^0.180.0"
|
|
484
484
|
},
|
|
485
485
|
"peerDependenciesMeta": {
|
|
486
486
|
"react": {
|
|
@@ -542,70 +542,69 @@
|
|
|
542
542
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
|
|
543
543
|
},
|
|
544
544
|
"devDependencies": {
|
|
545
|
-
"@chromatic-com/storybook": "^4.1.
|
|
546
|
-
"@mdx-js/loader": "^3.1.
|
|
547
|
-
"@mdx-js/rollup": "^3.1.
|
|
545
|
+
"@chromatic-com/storybook": "^4.1.1",
|
|
546
|
+
"@mdx-js/loader": "^3.1.1",
|
|
547
|
+
"@mdx-js/rollup": "^3.1.1",
|
|
548
548
|
"@nabla/vite-plugin-eslint": "^2.0.6",
|
|
549
549
|
"@storybook/addon-backgrounds": "^9.0.8",
|
|
550
550
|
"@storybook/addon-controls": "^9.0.8",
|
|
551
|
-
"@storybook/addon-docs": "^9.1.
|
|
551
|
+
"@storybook/addon-docs": "^9.1.4",
|
|
552
552
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
553
|
-
"@storybook/react": "^9.1.
|
|
554
|
-
"@storybook/react-vite": "^9.1.
|
|
555
|
-
"@tailwindcss/postcss": "^4.1.
|
|
553
|
+
"@storybook/react": "^9.1.4",
|
|
554
|
+
"@storybook/react-vite": "^9.1.4",
|
|
555
|
+
"@tailwindcss/postcss": "^4.1.12",
|
|
556
556
|
"@tailwindcss/vite": "^4.1.12",
|
|
557
|
-
"@types/d3-array": "^3.
|
|
557
|
+
"@types/d3-array": "^3.2.1",
|
|
558
558
|
"@types/d3-delaunay": "^6.0.4",
|
|
559
559
|
"@types/d3-force": "^3.0.10",
|
|
560
|
-
"@types/d3-format": "^3.0.
|
|
561
|
-
"@types/d3-geo": "^3.0
|
|
560
|
+
"@types/d3-format": "^3.0.4",
|
|
561
|
+
"@types/d3-geo": "^3.1.0",
|
|
562
562
|
"@types/d3-hierarchy": "^3.1.7",
|
|
563
563
|
"@types/d3-sankey": "^0.12.4",
|
|
564
|
-
"@types/d3-scale": "^4.0.
|
|
565
|
-
"@types/d3-selection": "^3.0.
|
|
566
|
-
"@types/d3-shape": "^3.1.
|
|
567
|
-
"@types/d3-zoom": "^3.0.
|
|
568
|
-
"@types/file-saver": "^2.0.
|
|
564
|
+
"@types/d3-scale": "^4.0.9",
|
|
565
|
+
"@types/d3-selection": "^3.0.11",
|
|
566
|
+
"@types/d3-shape": "^3.1.7",
|
|
567
|
+
"@types/d3-zoom": "^3.0.8",
|
|
568
|
+
"@types/file-saver": "^2.0.7",
|
|
569
569
|
"@types/geojson": "^7946.0.16",
|
|
570
570
|
"@types/lodash.flattendeep": "^4.4.9",
|
|
571
571
|
"@types/lodash.groupby": "^4.6.9",
|
|
572
572
|
"@types/lodash.intersection": "^4.4.9",
|
|
573
573
|
"@types/lodash.orderby": "^4.6.9",
|
|
574
|
-
"@types/lodash.sortby": "^4.7.
|
|
575
|
-
"@types/lodash.sum": "^4.0.
|
|
574
|
+
"@types/lodash.sortby": "^4.7.9",
|
|
575
|
+
"@types/lodash.sum": "^4.0.9",
|
|
576
576
|
"@types/lodash.uniq": "^4.5.9",
|
|
577
|
-
"@types/lodash.uniqby": "^4.7.
|
|
578
|
-
"@types/
|
|
579
|
-
"@types/
|
|
580
|
-
"@types/
|
|
581
|
-
"@types/react": "^
|
|
582
|
-
"@types/react-
|
|
583
|
-
"@types/
|
|
584
|
-
"@
|
|
585
|
-
"@typescript-eslint/
|
|
586
|
-
"@
|
|
587
|
-
"@vitejs/plugin-react": "^5.0.1",
|
|
577
|
+
"@types/lodash.uniqby": "^4.7.9",
|
|
578
|
+
"@types/node": "^24.3.0",
|
|
579
|
+
"@types/papaparse": "^5.3.16",
|
|
580
|
+
"@types/react": "^19.1.12",
|
|
581
|
+
"@types/react-csv": "^1.1.10",
|
|
582
|
+
"@types/react-dom": "^19.1.9",
|
|
583
|
+
"@types/three": "^0.180.0",
|
|
584
|
+
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
585
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
586
|
+
"@vitejs/plugin-react": "^5.0.2",
|
|
588
587
|
"autoprefixer": "^10.4.21",
|
|
589
|
-
"eslint": "^9.
|
|
590
|
-
"eslint-config-love": "^
|
|
591
|
-
"eslint-config-prettier": "^10.1.
|
|
592
|
-
"eslint-plugin-import": "^2.
|
|
588
|
+
"eslint": "^9.34.0",
|
|
589
|
+
"eslint-config-love": "^122.0.0",
|
|
590
|
+
"eslint-config-prettier": "^10.1.8",
|
|
591
|
+
"eslint-plugin-import": "^2.32.0",
|
|
593
592
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
594
|
-
"eslint-plugin-n": "^17.
|
|
595
|
-
"eslint-plugin-prettier": "^5.
|
|
593
|
+
"eslint-plugin-n": "^17.21.3",
|
|
594
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
596
595
|
"eslint-plugin-promise": "^7.2.1",
|
|
597
596
|
"eslint-plugin-react": "^7.37.5",
|
|
598
597
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
599
|
-
"eslint-plugin-storybook": "^9.1.
|
|
600
|
-
"postcss": "^8.5.
|
|
601
|
-
"prettier": "^3.
|
|
602
|
-
"react-docgen-typescript": "^2.
|
|
598
|
+
"eslint-plugin-storybook": "^9.1.4",
|
|
599
|
+
"postcss": "^8.5.6",
|
|
600
|
+
"prettier": "^3.6.2",
|
|
601
|
+
"react-docgen-typescript": "^2.4.0",
|
|
603
602
|
"rimraf": "^6.0.1",
|
|
604
603
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
605
|
-
"storybook": "^9.1.
|
|
606
|
-
"tailwindcss": "^4.1.
|
|
607
|
-
"typescript": "^5.
|
|
608
|
-
"vite": "^7.1.
|
|
604
|
+
"storybook": "^9.1.4",
|
|
605
|
+
"tailwindcss": "^4.1.12",
|
|
606
|
+
"typescript": "^5.9.2",
|
|
607
|
+
"vite": "^7.1.4",
|
|
609
608
|
"vite-plugin-dts": "^4.5.4"
|
|
610
609
|
}
|
|
611
610
|
}
|