From 071423aad81dc9fe411fbf6e0c4447771239622c Mon Sep 17 00:00:00 2001 From: HUSSAR-mtrela Date: Thu, 23 May 2024 13:02:14 -0400 Subject: [PATCH 1/7] enable fetching large data files --- code-gen-library/AirplaneSeats/XPLAT-CONFIG.json | 3 +++ code-gen-library/AnalyzeSales/XPLAT-CONFIG.json | 3 +++ code-gen-library/AthletesData/XPLAT-CONFIG.json | 3 +++ .../AthletesDataExtended/XPLAT-CONFIG.json | 3 +++ code-gen-library/CountryStats/XPLAT-CONFIG.json | 3 +++ .../CountyHierarchicalData/XPLAT-CONFIG.json | 3 +++ code-gen-library/EmployeesData/XPLAT-CONFIG.json | 3 +++ code-gen-library/FinancialDataAll/XPLAT-CONFIG.json | 3 +++ .../FinancialDataCurrencies/XPLAT-CONFIG.json | 3 +++ code-gen-library/FinancialDataFuel/XPLAT-CONFIG.json | 3 +++ code-gen-library/FinancialDataMetals/XPLAT-CONFIG.json | 3 +++ .../HierarchicalCustomers/XPLAT-CONFIG.json | 10 +++------- .../HierarchicalCustomersData/XPLAT-CONFIG.json | 10 +++------- code-gen-library/InvoicesData/XPLAT-CONFIG.json | 3 +++ code-gen-library/InvoicesWorldData/XPLAT-CONFIG.json | 3 +++ code-gen-library/PivotData/XPLAT-CONFIG.json | 3 +++ code-gen-library/PivotDataFlat/XPLAT-CONFIG.json | 3 +++ code-gen-library/PivotSalesData/XPLAT-CONFIG.json | 3 +++ code-gen-library/SalesData/XPLAT-CONFIG.json | 3 +++ code-gen-library/SingersCustomers/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockAmazon/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockGoogle/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockMarket100/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockMarket1000/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockMarket2000/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockMarket500/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockMicrosoft/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockSP500Cap/XPLAT-CONFIG.json | 3 +++ code-gen-library/StockTesla/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldAustralianData/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldCapitals/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldCities/XPLAT-CONFIG.json | 3 +++ .../WorldCitiesAbove100K/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldCitiesAbove15K/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldCitiesAbove1M/XPLAT-CONFIG.json | 3 +++ .../WorldCitiesAbove500K/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldCountries/XPLAT-CONFIG.json | 3 +++ code-gen-library/WorldStats/XPLAT-CONFIG.json | 3 +++ 38 files changed, 114 insertions(+), 14 deletions(-) create mode 100644 code-gen-library/AirplaneSeats/XPLAT-CONFIG.json create mode 100644 code-gen-library/AnalyzeSales/XPLAT-CONFIG.json create mode 100644 code-gen-library/AthletesData/XPLAT-CONFIG.json create mode 100644 code-gen-library/AthletesDataExtended/XPLAT-CONFIG.json create mode 100644 code-gen-library/CountryStats/XPLAT-CONFIG.json create mode 100644 code-gen-library/CountyHierarchicalData/XPLAT-CONFIG.json create mode 100644 code-gen-library/EmployeesData/XPLAT-CONFIG.json create mode 100644 code-gen-library/FinancialDataAll/XPLAT-CONFIG.json create mode 100644 code-gen-library/FinancialDataCurrencies/XPLAT-CONFIG.json create mode 100644 code-gen-library/FinancialDataFuel/XPLAT-CONFIG.json create mode 100644 code-gen-library/FinancialDataMetals/XPLAT-CONFIG.json create mode 100644 code-gen-library/InvoicesData/XPLAT-CONFIG.json create mode 100644 code-gen-library/InvoicesWorldData/XPLAT-CONFIG.json create mode 100644 code-gen-library/PivotData/XPLAT-CONFIG.json create mode 100644 code-gen-library/PivotDataFlat/XPLAT-CONFIG.json create mode 100644 code-gen-library/PivotSalesData/XPLAT-CONFIG.json create mode 100644 code-gen-library/SalesData/XPLAT-CONFIG.json create mode 100644 code-gen-library/SingersCustomers/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockAmazon/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockGoogle/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockMarket100/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockMarket1000/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockMarket2000/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockMarket500/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockMicrosoft/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockSP500Cap/XPLAT-CONFIG.json create mode 100644 code-gen-library/StockTesla/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldAustralianData/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCapitals/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCities/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCitiesAbove100K/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCitiesAbove15K/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCitiesAbove1M/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCitiesAbove500K/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldCountries/XPLAT-CONFIG.json create mode 100644 code-gen-library/WorldStats/XPLAT-CONFIG.json diff --git a/code-gen-library/AirplaneSeats/XPLAT-CONFIG.json b/code-gen-library/AirplaneSeats/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/AirplaneSeats/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/AnalyzeSales/XPLAT-CONFIG.json b/code-gen-library/AnalyzeSales/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/AnalyzeSales/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/AthletesData/XPLAT-CONFIG.json b/code-gen-library/AthletesData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/AthletesData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/AthletesDataExtended/XPLAT-CONFIG.json b/code-gen-library/AthletesDataExtended/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/AthletesDataExtended/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/CountryStats/XPLAT-CONFIG.json b/code-gen-library/CountryStats/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/CountryStats/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/CountyHierarchicalData/XPLAT-CONFIG.json b/code-gen-library/CountyHierarchicalData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/CountyHierarchicalData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/EmployeesData/XPLAT-CONFIG.json b/code-gen-library/EmployeesData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/EmployeesData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/FinancialDataAll/XPLAT-CONFIG.json b/code-gen-library/FinancialDataAll/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/FinancialDataAll/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/FinancialDataCurrencies/XPLAT-CONFIG.json b/code-gen-library/FinancialDataCurrencies/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/FinancialDataCurrencies/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/FinancialDataFuel/XPLAT-CONFIG.json b/code-gen-library/FinancialDataFuel/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/FinancialDataFuel/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/FinancialDataMetals/XPLAT-CONFIG.json b/code-gen-library/FinancialDataMetals/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/FinancialDataMetals/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/HierarchicalCustomers/XPLAT-CONFIG.json b/code-gen-library/HierarchicalCustomers/XPLAT-CONFIG.json index c4834c37..6f7f1c3a 100644 --- a/code-gen-library/HierarchicalCustomers/XPLAT-CONFIG.json +++ b/code-gen-library/HierarchicalCustomers/XPLAT-CONFIG.json @@ -1,7 +1,3 @@ -[{ - "platform": "WebComponents", - "location": "jsonFile" -},{ - "platform": "React", - "location": "jsonFile" -}] \ No newline at end of file +{ + "location": "CDN" +} diff --git a/code-gen-library/HierarchicalCustomersData/XPLAT-CONFIG.json b/code-gen-library/HierarchicalCustomersData/XPLAT-CONFIG.json index c4834c37..6f7f1c3a 100644 --- a/code-gen-library/HierarchicalCustomersData/XPLAT-CONFIG.json +++ b/code-gen-library/HierarchicalCustomersData/XPLAT-CONFIG.json @@ -1,7 +1,3 @@ -[{ - "platform": "WebComponents", - "location": "jsonFile" -},{ - "platform": "React", - "location": "jsonFile" -}] \ No newline at end of file +{ + "location": "CDN" +} diff --git a/code-gen-library/InvoicesData/XPLAT-CONFIG.json b/code-gen-library/InvoicesData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/InvoicesData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/InvoicesWorldData/XPLAT-CONFIG.json b/code-gen-library/InvoicesWorldData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/InvoicesWorldData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/PivotData/XPLAT-CONFIG.json b/code-gen-library/PivotData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/PivotData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/PivotDataFlat/XPLAT-CONFIG.json b/code-gen-library/PivotDataFlat/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/PivotDataFlat/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/PivotSalesData/XPLAT-CONFIG.json b/code-gen-library/PivotSalesData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/PivotSalesData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/SalesData/XPLAT-CONFIG.json b/code-gen-library/SalesData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/SalesData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/SingersCustomers/XPLAT-CONFIG.json b/code-gen-library/SingersCustomers/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/SingersCustomers/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockAmazon/XPLAT-CONFIG.json b/code-gen-library/StockAmazon/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockAmazon/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockGoogle/XPLAT-CONFIG.json b/code-gen-library/StockGoogle/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockGoogle/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockMarket100/XPLAT-CONFIG.json b/code-gen-library/StockMarket100/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockMarket100/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockMarket1000/XPLAT-CONFIG.json b/code-gen-library/StockMarket1000/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockMarket1000/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockMarket2000/XPLAT-CONFIG.json b/code-gen-library/StockMarket2000/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockMarket2000/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockMarket500/XPLAT-CONFIG.json b/code-gen-library/StockMarket500/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockMarket500/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockMicrosoft/XPLAT-CONFIG.json b/code-gen-library/StockMicrosoft/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockMicrosoft/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockSP500Cap/XPLAT-CONFIG.json b/code-gen-library/StockSP500Cap/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockSP500Cap/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/StockTesla/XPLAT-CONFIG.json b/code-gen-library/StockTesla/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/StockTesla/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldAustralianData/XPLAT-CONFIG.json b/code-gen-library/WorldAustralianData/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldAustralianData/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCapitals/XPLAT-CONFIG.json b/code-gen-library/WorldCapitals/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCapitals/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCities/XPLAT-CONFIG.json b/code-gen-library/WorldCities/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCities/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCitiesAbove100K/XPLAT-CONFIG.json b/code-gen-library/WorldCitiesAbove100K/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCitiesAbove100K/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCitiesAbove15K/XPLAT-CONFIG.json b/code-gen-library/WorldCitiesAbove15K/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCitiesAbove15K/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCitiesAbove1M/XPLAT-CONFIG.json b/code-gen-library/WorldCitiesAbove1M/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCitiesAbove1M/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCitiesAbove500K/XPLAT-CONFIG.json b/code-gen-library/WorldCitiesAbove500K/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCitiesAbove500K/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldCountries/XPLAT-CONFIG.json b/code-gen-library/WorldCountries/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldCountries/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} diff --git a/code-gen-library/WorldStats/XPLAT-CONFIG.json b/code-gen-library/WorldStats/XPLAT-CONFIG.json new file mode 100644 index 00000000..6f7f1c3a --- /dev/null +++ b/code-gen-library/WorldStats/XPLAT-CONFIG.json @@ -0,0 +1,3 @@ +{ + "location": "CDN" +} From 551e23fc06ab5597fb8f4c2916effed33cba4cde Mon Sep 17 00:00:00 2001 From: HUSSAR-mtrela Date: Fri, 24 May 2024 12:37:41 -0400 Subject: [PATCH 2/7] no data casing for remote data sources --- samples/charts/data-chart/scatter-bubble-chart-fill-scale.json | 1 + .../charts/data-chart/scatter-bubble-chart-single-source.json | 1 + samples/charts/data-chart/scatter-point-with-callouts.json | 1 + samples/charts/financial-chart/data-legend-styling-props.json | 1 + samples/charts/financial-chart/data-tooltip-styling-props.json | 1 + samples/charts/tree-map/highlighting.json | 1 + samples/charts/tree-map/layout.json | 1 + samples/charts/tree-map/overview.json | 1 + samples/charts/tree-map/styling.json | 1 + samples/maps/geo-map/geo-symbol-map-with-callouts.json | 1 + 10 files changed, 10 insertions(+) diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale.json index d93e4091..67d2b25e 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale.json +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "descriptions": { "content": { "type": "DataChart", diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source.json b/samples/charts/data-chart/scatter-bubble-chart-single-source.json index 1ddd961b..6daf6b50 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source.json +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "strings": { "legendTitle": "Total Population of Selected Countries" }, diff --git a/samples/charts/data-chart/scatter-point-with-callouts.json b/samples/charts/data-chart/scatter-point-with-callouts.json index b2c83460..e5a822d5 100644 --- a/samples/charts/data-chart/scatter-point-with-callouts.json +++ b/samples/charts/data-chart/scatter-point-with-callouts.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "export": false, "descriptions": { "legend": { diff --git a/samples/charts/financial-chart/data-legend-styling-props.json b/samples/charts/financial-chart/data-legend-styling-props.json index aaf259cb..cb2ff3fe 100644 --- a/samples/charts/financial-chart/data-legend-styling-props.json +++ b/samples/charts/financial-chart/data-legend-styling-props.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "descriptions": { "legend": { "type": "DataLegend", diff --git a/samples/charts/financial-chart/data-tooltip-styling-props.json b/samples/charts/financial-chart/data-tooltip-styling-props.json index 60fd82f6..05dc4d2c 100644 --- a/samples/charts/financial-chart/data-tooltip-styling-props.json +++ b/samples/charts/financial-chart/data-tooltip-styling-props.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "descriptions": { "content": { "type": "FinancialChart", diff --git a/samples/charts/tree-map/highlighting.json b/samples/charts/tree-map/highlighting.json index aa798ee2..16e58499 100644 --- a/samples/charts/tree-map/highlighting.json +++ b/samples/charts/tree-map/highlighting.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "export": false, "strings": { "legendTitle": "Comparing Population of Countries" diff --git a/samples/charts/tree-map/layout.json b/samples/charts/tree-map/layout.json index 28139198..025b909c 100644 --- a/samples/charts/tree-map/layout.json +++ b/samples/charts/tree-map/layout.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "strings": { "legendTitle": "Comparing Population of Countries" }, diff --git a/samples/charts/tree-map/overview.json b/samples/charts/tree-map/overview.json index 7d4e8f59..a77ed4a3 100644 --- a/samples/charts/tree-map/overview.json +++ b/samples/charts/tree-map/overview.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "strings": { "legendTitle": "Comparing Population of Countries" }, diff --git a/samples/charts/tree-map/styling.json b/samples/charts/tree-map/styling.json index f8405f3a..c3c05130 100644 --- a/samples/charts/tree-map/styling.json +++ b/samples/charts/tree-map/styling.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "strings": { "legendTitle": "Comparing Population of Countries" }, diff --git a/samples/maps/geo-map/geo-symbol-map-with-callouts.json b/samples/maps/geo-map/geo-symbol-map-with-callouts.json index 89c689af..223c71f1 100644 --- a/samples/maps/geo-map/geo-symbol-map-with-callouts.json +++ b/samples/maps/geo-map/geo-symbol-map-with-callouts.json @@ -1,5 +1,6 @@ { "export": false, + "skipAlterDataCasing": true, "descriptions": { "legend": { "type": "Legend", From 2806e9c7d9734330cbf31da48b3ce78a04716083 Mon Sep 17 00:00:00 2001 From: HUSSAR-mtrela Date: Fri, 24 May 2024 12:45:18 -0400 Subject: [PATCH 3/7] skip casing for remote data sources --- samples/charts/data-chart/data-legend.json | 1 + samples/charts/data-chart/data-tooltip.json | 1 + .../charts/data-chart/scatter-bubble-chart-multiple-sources.json | 1 + samples/charts/data-chart/scatter-bubble-chart-styling.json | 1 + samples/charts/data-chart/scatter-point-chart.json | 1 + 5 files changed, 5 insertions(+) diff --git a/samples/charts/data-chart/data-legend.json b/samples/charts/data-chart/data-legend.json index aab37306..07db867d 100644 --- a/samples/charts/data-chart/data-legend.json +++ b/samples/charts/data-chart/data-legend.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "todo1": "replace CountryDemographicEurope with CountryStatsEurope", "todo2": "replace CountryDemographicAfrican with CountryStatsAfrica", "strings": { diff --git a/samples/charts/data-chart/data-tooltip.json b/samples/charts/data-chart/data-tooltip.json index 14a64aa3..7bee4a9b 100644 --- a/samples/charts/data-chart/data-tooltip.json +++ b/samples/charts/data-chart/data-tooltip.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "todo1": "replace CountryDemographicEurope with CountryStatsEurope", "todo2": "replace CountryDemographicAfrican with CountryStatsAfrica", "strings": { diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources.json index 21fa7b9f..ff8b88de 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources.json +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "strings": { "legendTitle": "Total Population of Selected Countries" }, diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling.json b/samples/charts/data-chart/scatter-bubble-chart-styling.json index be39c9ca..35353eaa 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-styling.json +++ b/samples/charts/data-chart/scatter-bubble-chart-styling.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "strings": { "legendTitle": "Total Population of Selected Countries" }, diff --git a/samples/charts/data-chart/scatter-point-chart.json b/samples/charts/data-chart/scatter-point-chart.json index b109d141..dd9fabb6 100644 --- a/samples/charts/data-chart/scatter-point-chart.json +++ b/samples/charts/data-chart/scatter-point-chart.json @@ -1,4 +1,5 @@ { + "skipAlterDataCasing": true, "todo1": "replace CountryDemographicEurope with CountryStatsEurope", "todo2": "replace CountryDemographicAfrican with CountryStatsAfrica", "strings": { From a2912ab326c0242d80e8ba896aa262022583d8b9 Mon Sep 17 00:00:00 2001 From: HUSSAR-mtrela Date: Tue, 28 May 2024 10:35:36 -0400 Subject: [PATCH 4/7] add findDataFiles --- code-gen-tools/gulpfile.js | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/code-gen-tools/gulpfile.js b/code-gen-tools/gulpfile.js index 9f37b525..aca23231 100644 --- a/code-gen-tools/gulpfile.js +++ b/code-gen-tools/gulpfile.js @@ -154,6 +154,77 @@ exports.filterJSON = function filterJSON(cb) { cb(); } +exports.findDataFiles = function findDataFiles(cb) +{ + var largeDataSources = [ 'SingersData', + "AirplaneSeats", + "AnalyzeSales", + "AthletesData", + "AthletesDataExtended", + "CountryStats", + "CountyHierarchicalData", + "EmployeesData", + "FinancialDataAll", + "FinancialDataCurrencies", + "FinancialDataFuel", + "FinancialDataMetals", + "HierarchicalCustomers", + "HierarchicalCustomersData", + "InvoicesData", + "InvoicesWorldData", + "PivotData", + "PivotDataFlat", + "PivotSalesData", + "SalesData", + "SingersCustomers", + "StockAmazon", + "StockGoogle", + "StockMarket100", + "StockMarket1000", + "StockMarket2000", + "StockMarket500", + "StockSP500Cap", + "StockMicrosoft", + "StockTesla", + "WorldAustralianData", + "WorldCapitals", + "WorldCities", + "WorldCitiesAbove100K", + "WorldCitiesAbove15K", + "WorldCitiesAbove1M", + "WorldCitiesAbove500K", + "WorldCountries", + "WorldStats"]; + gulp.src([ '../samples/**/*.json']) + .pipe(es.map(function(file, fileCallback) { + let content = file.contents.toString(); + if (content.indexOf("skipAlterDataCasing") <= 0) { + + for (let i = 0; i < largeDataSources.length; i++) { + const ds = largeDataSources[i]; + if (content.indexOf(ds) >= 0) { + console.log(file.dirname + '/' + file.basename + " \t" + ds); + break; + } + } + + // let lines = content.split('\n'); + // var dataSource = ""; + // for (let i = 0; i < lines.length; i++) { + // const item = lines[i]; + // if (item.indexOf("dataSource") >= 0) { + // dataSource = item; + // } + // } + // console.log(file.dirname + '/' + file.basename + " \t" + dataSource); + } + fileCallback(null, file); + })) + .on("end", function() { + cb(); + }); +} + exports.copyCDN = function copyCDN(cb) { var cdnTable = []; From ebb83347bb565aff392c00d5b7b6f0b1637d1c63 Mon Sep 17 00:00:00 2001 From: "HUSSAR-mtrela (Martin Trela)" Date: Mon, 15 Jul 2024 16:48:21 -0400 Subject: [PATCH 5/7] update copyCDN --- code-gen-tools/gulpfile.js | 55 ++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/code-gen-tools/gulpfile.js b/code-gen-tools/gulpfile.js index 8e065ea8..b308db72 100644 --- a/code-gen-tools/gulpfile.js +++ b/code-gen-tools/gulpfile.js @@ -239,14 +239,15 @@ exports.findDataFiles = function findDataFiles(cb) exports.copyCDN = function copyCDN(cb) { var cdnTable = []; - var cdnWebsite = 'https://static.infragistics.com/xplatform/library/'; - var cdnServer = '//s0706dl2.igweb.local/download.infragistics.com/xplatform/library'; + var cdnWebsite = 'https://static.infragistics.com/xplatform/cdn/'; + var cdnServer = ' \\\\s0706dl2.igweb.local\\download.infragistics.com\\xplatform\\cdn'; var cdnOutput = './CDN'; - // del(cdnOutput); console.log('--------------------------------------------------------------------'); console.log('copying large data files from code-gen-library to: ' + cdnOutput); console.log('--------------------------------------------------------------------'); + // del(cdnOutput); + gulp.src([ // process all files and determine large files based on number of data items and data columns CodeGenLib + '/**/XPLAT.json', @@ -301,36 +302,53 @@ exports.copyCDN = function copyCDN(cb) let dirname = file.dirname.split('code-gen-library\\')[1]; // copy only files that have many items and/or many data columns - if (items.length >= 100 || (items.length * columns.length >= 500)) { + if (items.length >= 100 || (items.length * columns.length >= 500) || dirname === "SingersData") { console.log(CodeGenLib + '/' + dirname + '/XPLAT.json copied with ' + items.length + ' items'); // console.log('CodeGenLib + "/' + dirname + '/XPLAT.json",'); var itemsCount = items.length.toString(); var columnsCount = columns.length.toString(); var row = " " + itemsCount.padStart(Math.max(10, itemsCount.length), ' ') + " " + - " " + columnsCount.padStart(Math.max(12, columnsCount.length), ' ') + " " + - " " + "" + dirname + " \r\n"; + " " + columnsCount.padStart(Math.max(12, columnsCount.length), ' ') + " " + + " " + "" + dirname + " \r\n"; cdnTable += row; // copy to cdn output saveFile(cdnOutput + "/" + dirname + ".json", content, true); // create config file that enables remote location for data file saveFile(CodeGenLib + '/' + dirname + '/XPLAT-CONFIG.json', '{\r\n' + '\t"location": "CDN"\r\n' + '}\r\n', true); } + // console.log(items.length + " " + (items.length * columns.length) + " " + dirname); fileCallback(null, file); })) // .pipe(gulp.dest(cdnOutput, {overwrite: true})) .on("end", function() { var repo = 'https://github.com/IgniteUI/igniteui-xplat-examples/tree/23.2.x'; - var readme = '

Data Library for XPLAT Samples

\r\n\r\n' + - '

This CDN folder contains data files used by XPLAT samples.

\r\n\r\n' + - '

Use copyCDN script to prepare data files in CodeGen library for manual upload to the CDN. This way, files on CDN stay in-sync with files in CodeGen library.

\r\n\r\n' + + var angular = 'https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext'; + var blazor = 'https://github.com/IgniteUI/igniteui-blazor-examples/tree/vnext'; + var react = 'https://github.com/IgniteUI/igniteui-react-examples/tree/vnext'; + var wc = 'https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext'; + var readme = '

Data Files for Cross-Platform Samples

\r\n\r\n' + + '

This CDN folder contains data files used by ' + + 'xplat, ' + + 'angular, ' + + 'blazor, ' + + 'react, and ' + + 'web-component samples' + + '

\r\n\r\n' + + '

Use the copyCDN gulp script to collect data files from CodeGen library before manually uploading them to the CDN network location. This way, files on CDN stay in-sync with files in CodeGen library.

\r\n\r\n' + '

CodeGen Library

\r\n\r\n' + '

The CodeGen library is located on GitHub and CDN has a copy of these files:

\r\n\r\n' + '\r\n' + - ' \r\n' + + ' \r\n' + cdnTable + '
Data Items Data Columns Data Link
Data Items Data Columns Data Link
'; + var css = ' ' + // saveFile(cdnOutput + "/_Readme.md", readme, true); - saveFile(cdnOutput + "/_Readme.html", '\r\n' + readme + '\r\n\r\n', true); + saveFile(cdnOutput + "/.Readme.html", ' ' + css + '\r\n' + readme + '\r\n\r\n', true); // if (cdnOutput.indexOf('igweb.local/download.infragistics.com') < 0) { console.log("\n WARNING: You must copy content of the this CDN folder to:\n" + cdnServer + "\n") @@ -342,12 +360,15 @@ exports.copyCDN = function copyCDN(cb) exports.compactJSON = function compactJSON(cb) { let filePaths = [ // "/AnalyzeOrders/XPLAT.json", - "/CompanyEmployees/XPLAT.json", - "/CompanyData/XPLAT.json", - "/InvoicesData/XPLAT.json", - "/PivotDataFlat/XPLAT.json", - "/PivotSalesData/XPLAT.json", - "/ProductSales/XPLAT.json", + // "/AnalyzeSales/XPLAT.json", + "/InvoicesWorldData/XPLAT.json", + "/PivotData/XPLAT.json", + // "/CompanyEmployees/XPLAT.json", + // "/CompanyData/XPLAT.json", + // "/InvoicesData/XPLAT.json", + // "/PivotDataFlat/XPLAT.json", + // "/PivotSalesData/XPLAT.json", + // "/ProductSales/XPLAT.json", // "/NwindLocations/XPLAT.json", // "/ProductSales/XPLAT.json", // "/FinancialDataCurrencies/XPLAT.json", From ca0ef497494c79162ad4116a6302c8233fc44d94 Mon Sep 17 00:00:00 2001 From: "HUSSAR-mtrela (Martin Trela)" Date: Mon, 15 Jul 2024 16:51:05 -0400 Subject: [PATCH 6/7] enable remote-data --- code-gen-library/SingersData/XPLAT-CONFIG.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/code-gen-library/SingersData/XPLAT-CONFIG.json b/code-gen-library/SingersData/XPLAT-CONFIG.json index c4834c37..6f7f1c3a 100644 --- a/code-gen-library/SingersData/XPLAT-CONFIG.json +++ b/code-gen-library/SingersData/XPLAT-CONFIG.json @@ -1,7 +1,3 @@ -[{ - "platform": "WebComponents", - "location": "jsonFile" -},{ - "platform": "React", - "location": "jsonFile" -}] \ No newline at end of file +{ + "location": "CDN" +} From f3ed1f195582c8083c6dacd7d9273889d3283e4b Mon Sep 17 00:00:00 2001 From: "HUSSAR-mtrela (Martin Trela)" Date: Fri, 19 Jul 2024 11:07:40 -0400 Subject: [PATCH 7/7] fix gulp script --- code-gen-tools/gulpfile.js | 40 ++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/code-gen-tools/gulpfile.js b/code-gen-tools/gulpfile.js index b308db72..7b158adf 100644 --- a/code-gen-tools/gulpfile.js +++ b/code-gen-tools/gulpfile.js @@ -48,11 +48,27 @@ function saveJSON(filePath, dataItems, mode) { } let jsonStr = "[\r\n" + lines.join('\r\n') + "\r\n]"; - jsonStr = utils.strReplace(jsonStr, ":", ": ") + // jsonStr = utils.strReplace(jsonStr, ":", ": ") + // jsonStr = utils.strReplace(jsonStr, ": ", ":") + // jsonStr = utils.strReplace(jsonStr, '": ', '": ') + // jsonStr = utils.strReplace(jsonStr, '": ', '": ') + jsonStr = utils.strReplace(jsonStr, '":0', '": 0') + jsonStr = utils.strReplace(jsonStr, '":1', '": 1') + jsonStr = utils.strReplace(jsonStr, '":2', '": 2') + jsonStr = utils.strReplace(jsonStr, '":3', '": 3') + jsonStr = utils.strReplace(jsonStr, '":4', '": 4') + jsonStr = utils.strReplace(jsonStr, '":5', '": 5') + jsonStr = utils.strReplace(jsonStr, '":6', '": 6') + jsonStr = utils.strReplace(jsonStr, '":7', '": 7') + jsonStr = utils.strReplace(jsonStr, '":8', '": 8') + jsonStr = utils.strReplace(jsonStr, '":9', '": 9') + jsonStr = utils.strReplace(jsonStr, '":"', '": "') + jsonStr = utils.strReplace(jsonStr, '00: 00', '00:00') + // jsonStr = utils.strReplace(jsonStr, ' -1', '-1') jsonStr = utils.strReplace(jsonStr, ',"', ', "') jsonStr = utils.strReplace(jsonStr, '{', '{ ') jsonStr = utils.strReplace(jsonStr, '}', ' }') - + saveFile(filePath, jsonStr); } } @@ -110,12 +126,15 @@ exports.cleanJSON = function cleanJSON(input, cb) { function sortJSON(cb) { // let filePath = CodeGenLib + "/WorldCitiesAbove500K/XPLAT.json"; - let filePath = CodeGenLib + "/WorldCountries/XPLAT.json"; + let filePath = CodeGenLib + "/AthletesData/XPLAT.json"; + // let filePath = CodeGenLib + "/AthletesDataExtended/XPLAT.json"; + // let filePath = CodeGenLib + "/WorldCountries/XPLAT.json"; let file = fs.readFileSync(filePath, "utf8"); let dataItems = JSON.parse(file); // dataItems = dataItems.sort((a, b) => a.Pop < b.Pop ? 1 : -1); - dataItems = dataItems.sort((a, b) => a.Population < b.Population ? 1 : -1); + // dataItems = dataItems.sort((a, b) => a.Population < b.Population ? 1 : -1); + dataItems = dataItems.sort((a, b) => a.Id > b.Id ? 1 : -1); for (let i = 0; i < dataItems.length; i++) { // dataItems[i].ID = 10000 + i; @@ -374,6 +393,19 @@ exports.compactJSON = function compactJSON(cb) { // "/FinancialDataCurrencies/XPLAT.json", // "/FinancialDataFuel/XPLAT.json", // "/FinancialDataMetals/XPLAT.json", + // "/InvoicesData/XPLAT.json", + // "/InvoicesWorldData/XPLAT.json", + // "/EmployeesData/XPLAT.json", + // "/EmployeesFlatAvatars/XPLAT.json", + // "/EmployeesFlatData/XPLAT.json", + // "/EmployeesFlatDetails/XPLAT.json", + // "/ProductSales/XPLAT.json", + // "/ProductInventory/XPLAT.json", + // "/RoleplayDataStats/XPLAT.json", + // "/RoleplayTreeGridData/XPLAT.json", + // "/NwindData/XPLAT.json", + // "/AnalyzeSales/XPLAT.json", + "/AthletesData/XPLAT.json", ]; for (const filePath of filePaths) { let file = fs.readFileSync(CodeGenLib + filePath, "utf8");