Skip to content

Commit c1a9e1a

Browse files
CDN update (#1107)
* cdn update * update cdn image path * cdn update * cdn update * Update index.html * fix names * fixed names
1 parent f1d58cd commit c1a9e1a

File tree

2,059 files changed

+7027
-12240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,059 files changed

+7027
-12240
lines changed

browser/public/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<base href="/webcomponents-demos/">
1313

1414
<link href="https://fonts.googleapis.com/css?family=Kanit&display=swap" rel="stylesheet">
15-
<link href="https://static.infragistics.com/xplatform/images/browsers/wc.png" rel="shortcut icon" >
16-
<link href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css" rel="stylesheet" type="text/css" />
17-
<link href="https://static.infragistics.com/xplatform/css/samples/custom-legend.css" rel="stylesheet" type="text/css" />
15+
<link href="https://dl.infragistics.com/x/img/browser/wc.png" rel="shortcut icon" >
16+
<link href="https://dl.infragistics.com/x/css/samples/shared.v8.css" rel="stylesheet" type="text/css" />
17+
<link href="https://dl.infragistics.com/x/css/samples/custom-legend.css" rel="stylesheet" type="text/css" />
1818

1919
<!-- <link href="<%= htmlWebpackPlugin.options.publicPath %>assets/css/index.css" rel="stylesheet" /> -->
2020
<link href="<%= htmlWebpackPlugin.options.publicPath %>assets/css/browser.css" rel="stylesheet" />
@@ -26,7 +26,7 @@
2626
<div class="nav-content" >
2727

2828
<!-- <div class="nav-logo">
29-
<img src="https://static.infragistics.com/xplatform/images/browsers/wc.png" width="20px" height="20px">
29+
<img src="https://dl.infragistics.com/x/img/browser/wc.png" width="20px" height="20px">
3030
<div >SAMPLES BROWSER</div>
3131
</div> -->
3232

browser/src/assets/css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/* shared styles are loaded from: */
2-
/* https://static.infragistics.com/xplatform/css/samples */
2+
/* https://dl.infragistics.com/x/css/samples/shared.v8.css */

browser/src/core/SampleFallback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class SampleFallback extends SampleBase {
2020

2121
this.innerHTML = `
2222
<div class="container sample vertical" style="width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden;">
23-
<img style="max-height: calc(100% - 6rem); max-width: 30rem" src="https://static.infragistics.com/xplatform/images/browsers/comingSoon.svg" >
23+
<img style="max-height: calc(100% - 6rem); max-width: 30rem" src="https://dl.infragistics.com/x/img/browsers/comingSoon.svg" >
2424
2525
<div style="background: #f2f2f2; width: 100%; padding-bottom: 1rem; margin-top: -0.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden;">
2626
<div style="font-size: 1.5rem; font-weight: bold; text-align: center;">Coming Soon</div>

browser/src/templates/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<base href="/webcomponents-demos/">
1313

1414
<link href="https://fonts.googleapis.com/css?family=Kanit&display=swap" rel="stylesheet">
15-
<link href="https://static.infragistics.com/xplatform/images/browsers/wc.png" rel="shortcut icon" >
16-
<link href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css" rel="stylesheet" type="text/css" />
17-
<link href="https://static.infragistics.com/xplatform/css/samples/custom-legend.css" rel="stylesheet" type="text/css" />
15+
<link href="https://dl.infragistics.com/x/img/browser/wc.png" rel="shortcut icon" >
16+
<link href="https://dl.infragistics.com/x/css/samples/shared.v8.css" rel="stylesheet" type="text/css" />
17+
<link href="https://dl.infragistics.com/x/css/samples/custom-legend.css" rel="stylesheet" type="text/css" />
1818

1919
<!-- <link href="<%= htmlWebpackPlugin.options.publicPath %>assets/css/index.css" rel="stylesheet" /> -->
2020
<link href="<%= htmlWebpackPlugin.options.publicPath %>assets/css/browser.css" rel="stylesheet" />
@@ -26,7 +26,7 @@
2626
<div class="nav-content" >
2727

2828
<!-- <div class="nav-logo">
29-
<img src="https://static.infragistics.com/xplatform/images/browsers/wc.png" width="20px" height="20px">
29+
<img src="https://dl.infragistics.com/x/img/browser/wc.png" width="20px" height="20px">
3030
<div >SAMPLES BROWSER</div>
3131
</div> -->
3232

browser/src/utilities/AssetsUtils.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// // gets path to excel file (e.g. .xlsx) with specified file name and file extension
1313
// public static getExcelPath(fileName: string): string {
14-
// return this.getAssetsPath() + "https://static.infragistics.com/xplatform/excel/" + fileName;
14+
// return this.getAssetsPath() + "https://dl.infragistics.com/x/excel/" + fileName;
1515
// // return this.getAssetsPath() + "/excel/" + fileName;
1616
// }
1717

@@ -29,17 +29,7 @@
2929

3030
// // gets path to image file with specified country name (without file extension)
3131
// public static getFlagImage(countryName: string): string {
32-
// return this.getAssetsPath() + "https://static.infragistics.com/xplatform/images/flags/" + countryName + ".png";
33-
// }
34-
35-
// // gets path to image file with specified gender type (without file extension)
36-
// public static getGenderImage(gender: string): string {
37-
// return this.getAssetsPath() + "https://static.infragistics.com/xplatform/images/genders/" + gender.toLowerCase() + ".png";
38-
// }
39-
40-
// // gets path to image file with specified person ID (without file extension)
41-
// public static getPersonImage(personID: string): string {
42-
// return this.getAssetsPath() + "https://static.infragistics.com/xplatform/people/" + personID + ".png";
32+
// return this.getAssetsPath() + "https://dl.infragistics.com/x/img/flags/" + countryName + ".png";
4333
// }
4434

4535
// public static stringEndsWith(str: string, check: string): boolean {

browser/src/utilities/Products.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class Products {
88
"Samsung SSD", "WD SSD", "Seagate SSD", "Intel SSD", "Asus SSD",
99
"Samsung Monitor", "Asus Monitor", "LG Monitor", "HP Monitor" ];
1010

11-
public static countries: string[] = ["USA", "UK", "France", "Canada", "Poland",
11+
public static countries: string[] = ["United-States", "United-Kingdom", "France", "Canada", "Poland",
1212
"Denmark", "Croatia", "Australia", "Seychelles",
1313
"Sweden", "Germany", "Japan", "Ireland",
1414
"Barbados", "Jamaica", "Cuba", "Spain" ];
@@ -61,17 +61,7 @@ export class Products {
6161

6262
// gets path to image file with specified country name (without file extension)
6363
public static getFlagImage(countryName: string): string {
64-
return "https://static.infragistics.com/xplatform/images/flags/" + countryName + ".png";
65-
}
66-
67-
// gets path to image file with specified gender type (without file extension)
68-
public getGenderImage(gender: string): string {
69-
return "https://static.infragistics.com/xplatform/images/genders/" + gender.toLowerCase() + ".png";
70-
}
71-
72-
// gets path to image file with specified person ID (without file extension)
73-
public getPersonImage(personID: string): string {
74-
return "https://static.infragistics.com/xplatform/people/" + personID + ".png";
64+
return "https://dl.infragistics.com/x/img/flags/" + countryName + ".png";
7565
}
7666

7767
public static getOrderHistory(weekCount?: number): any[] {

browser/src/utilities/WorldCities.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class WorldCities {
1818
{ Cap: true, Pop: 0.582, Lat: 54.6885681152344, Lon: 25.2759666442871, Country: "Lithuania", Name: "Vilnius" },
1919
{ Cap: false, Pop: 0.685, Lat: 54.5869255065918, Lon: -5.90966033935547, Country: "UK", Name: "Belfast" },
2020
{ Cap: false, Pop: 0.909, Lat: 54.3662033081055, Lon: 18.624942779541, Country: "Poland", Name: "Gdansk" },
21-
{ Cap: true, Pop: 1.650, Lat: 53.8999366760254, Lon: 27.5755672454834, Country: "Byelarus", Name: "Minsk" },
21+
{ Cap: true, Pop: 1.650, Lat: 53.8999366760254, Lon: 27.5755672454834, Country: "Belarus", Name: "Minsk" },
2222
{ Cap: false, Pop: 1.540, Lat: 53.8087120056152, Lon: -1.49752748012543, Country: "UK", Name: "Leeds" },
2323
{ Cap: false, Pop: 2.225, Lat: 53.5711212158203, Lon: 10.027606010437, Country: "Germany", Name: "Hamburg" },
2424
{ Cap: false, Pop: 2.775, Lat: 53.479663848877, Lon: -2.26177859306335, Country: "UK", Name: "Manchester" },
@@ -50,12 +50,12 @@ export class WorldCities {
5050
{ Cap: false, Pop: 0.750, Lat: 50.6225280761719, Lon: 5.56943559646606, Country: "Belgium", Name: "Liege" },
5151
{ Cap: true, Pop: 2.900, Lat: 50.4481582641602, Lon: 30.5021114349365, Country: "Ukraine", Name: "Kiev" },
5252
{ Cap: false, Pop: 1.855, Lat: 50.129997253418, Lon: 8.66816711425781, Country: "Germany", Name: "Frankfurt am Main" },
53-
{ Cap: true, Pop: 1.325, Lat: 50.1058959960938, Lon: 14.4565200805664, Country: "Czech Repub", Name: "Prague" },
53+
{ Cap: true, Pop: 1.325, Lat: 50.1058959960938, Lon: 14.4565200805664, Country: "Czechia", Name: "Prague" },
5454
{ Cap: false, Pop: 0.828, Lat: 50.0622406005859, Lon: 19.9450569152832, Country: "Poland", Name: "Krakow" },
5555
{ Cap: false, Pop: 0.625, Lat: 49.9211692810059, Lon: -97.1244430541992, Country: "Canada", Name: "Winnipeg" },
5656
{ Cap: false, Pop: 0.614, Lat: 49.879207611084, Lon: 73.20263671875, Country: "Kazakhstan", Name: "Karaganda" },
5757
{ Cap: false, Pop: 0.790, Lat: 49.8373107910156, Lon: 24.0345211029053, Country: "Ukraine", Name: "Lvov" },
58-
{ Cap: false, Pop: 0.450, Lat: 49.2029800415039, Lon: 16.6162452697754, Country: "Czech Repub", Name: "Brno" },
58+
{ Cap: false, Pop: 0.450, Lat: 49.2029800415039, Lon: 16.6162452697754, Country: "Czechia", Name: "Brno" },
5959
{ Cap: true, Pop: 9.775, Lat: 48.8815536499023, Lon: 2.43283271789551, Country: "France", Name: "Paris" },
6060
{ Cap: false, Pop: 1.360, Lat: 48.7102470397949, Lon: 44.4836311340332, Country: "Russia", Name: "Volgograd" },
6161
{ Cap: false, Pop: 0.400, Lat: 48.5834350585938, Lon: 7.76799440383911, Country: "France", Name: "Strasbourg" },
@@ -134,7 +134,7 @@ export class WorldCities {
134134
{ Cap: false, Pop: 1.190, Lat: 38.0770950317383, Lon: 114.559707641602, Country: "China", Name: "Shijiazhuang" },
135135
{ Cap: true, Pop: 0.398, Lat: 37.9504203796387, Lon: 58.3901329040527, Country: "Turkmenistan", Name: "Ashkhabad" },
136136
{ Cap: false, Pop: 1.660, Lat: 37.8930549621582, Lon: 112.551704406738, Country: "China", Name: "Taiyuan" },
137-
{ Cap: true, Pop: 15.850, Lat: 37.542350769043, Lon: 126.935249328613, Country: "Korea Rep", Name: "Seoul" },
137+
{ Cap: true, Pop: 15.850, Lat: 37.542350769043, Lon: 126.935249328613, Country: "South-Korea", Name: "Seoul" },
138138
{ Cap: false, Pop: 0.945, Lat: 37.3726463317871, Lon: -5.97083187103271, Country: "Spain", Name: "Sevilla" },
139139
{ Cap: false, Pop: 0.778, Lat: 36.9999809265137, Lon: 35.3243637084961, Country: "Turkey", Name: "Adana" },
140140
{ Cap: false, Pop: 0.796, Lat: 36.8792915344238, Lon: -76.2685699462891, Country: "USA", Name: "Norfolk" },
@@ -145,14 +145,14 @@ export class WorldCities {
145145
{ Cap: false, Pop: 1.464, Lat: 36.2900695800781, Lon: 59.596851348877, Country: "Iran", Name: "Mashhad" },
146146
{ Cap: false, Pop: 1.216, Lat: 36.2155456542969, Lon: 37.1592826843262, Country: "Syria", Name: "Aleppo" },
147147
{ Cap: false, Pop: 1.270, Lat: 36.1134300231934, Lon: 103.599594116211, Country: "China", Name: "Lanzhou" },
148-
{ Cap: false, Pop: 2.206, Lat: 35.8635368347168, Lon: 128.591384887695, Country: "Korea Rep", Name: "Taegu" },
148+
{ Cap: false, Pop: 2.206, Lat: 35.8635368347168, Lon: 128.591384887695, Country: "South-Korea", Name: "Taegu" },
149149
{ Cap: true, Pop: 6.400, Lat: 35.7744750976563, Lon: 51.4476509094238, Country: "Iran", Name: "Tehran" },
150150
{ Cap: true, Pop: 23.620, Lat: 35.6830558776855, Lon: 139.809188842773, Country: "Japan", Name: "Tokyo" },
151151
{ Cap: false, Pop: 1.089, Lat: 35.5045700073242, Lon: 139.72721862793, Country: "Japan", Name: "Kawasaki" },
152152
{ Cap: false, Pop: 0.742, Lat: 35.4895896911621, Lon: -97.5302963256836, Country: "USA", Name: "Oklahoma City" },
153153
{ Cap: false, Pop: 2.993, Lat: 35.437385559082, Lon: 139.619659423828, Country: "Japan", Name: "Yokohama" },
154154
{ Cap: false, Pop: 0.479, Lat: 35.2058143615723, Lon: -80.8356857299805, Country: "USA", Name: "Charlotte" },
155-
{ Cap: false, Pop: 3.800, Lat: 35.1578674316406, Lon: 129.0546875, Country: "Korea Rep", Name: "Pusan" },
155+
{ Cap: false, Pop: 3.800, Lat: 35.1578674316406, Lon: 129.0546875, Country: "South-Korea", Name: "Pusan" },
156156
{ Cap: false, Pop: 4.800, Lat: 35.1549224853516, Lon: 136.920593261719, Country: "Japan", Name: "Nagoya" },
157157
{ Cap: false, Pop: 0.853, Lat: 35.1147270202637, Lon: -90.0003280639648, Country: "USA", Name: "Memphis" },
158158
{ Cap: false, Pop: 1.479, Lat: 35.0091285705566, Lon: 135.754821777344, Country: "Japan", Name: "Kyoto" },
@@ -379,7 +379,7 @@ export class WorldCities {
379379
{ Cap: false, Pop: 1.030, Lat: 4.13665008544922, Lon: 9.706374168396, Country: "Cameroon", Name: "Douala" },
380380
{ Cap: false, Pop: 0.708, Lat: -5.19043016433716, Lon: 119.722793579102, Country: "Indonesia", Name: "Vjuag Padang" },
381381
{ Cap: false, Pop: 0.112, Lat: -3.3865532875061, Lon: 129.312927246094, Country: "Indonesia", Name: "Ambon" },
382-
{ Cap: false, Pop: 1.604, Lat: 37.5894508361816, Lon: 126.767440795898, Country: "Korea Rep", Name: "Inch`on" },
382+
{ Cap: false, Pop: 1.604, Lat: 37.5894508361816, Lon: 126.767440795898, Country: "South-Korea", Name: "Inch`on" },
383383
{ Cap: false, Pop: 1.680, Lat: 39.0317153930664, Lon: 121.598197937012, Country: "China", Name: "Dalian" },
384384
{ Cap: false, Pop: 1.227, Lat: 45.4421310424805, Lon: -122.641677856445, Country: "USA", Name: "Portland" },
385385
{ Cap: false, Pop: 0.810, Lat: -3.12230491638184, Lon: -60.0146179199219, Country: "Brazil", Name: "Manaus" },
@@ -619,7 +619,7 @@ export class WorldCities {
619619

620620
// gets path to image file with specified country name (without file extension)
621621
public static getFlagImage(countryName: string): string {
622-
return "https://static.infragistics.com/xplatform/images/flags/" + countryName + ".png";
622+
return "https://dl.infragistics.com/x/img/flags/" + countryName + ".png";
623623
}
624624

625625
}

browser/src/utilities/WorldHierarchicalData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class WorldHierarchicalData {
6262
{ name: "Cuba", pop: 11253665, id: "Cuba", parent: "Central_America_and_the_Caribbean" },
6363
{ name: "Curacao", pop: 145619, id: "Curacao", parent: "Central_America_and_the_Caribbean" },
6464
{ name: "Cyprus", pop: 1116564, id: "Cyprus", parent: "Europe" },
65-
{ name: "Czech Republic", pop: 10496088, id: "Czech_Republic", parent: "Europe" },
65+
{ name: "Czechia", pop: 10496088, id: "Czechia", parent: "Europe" },
6666
{ name: "Denmark", pop: 5570572, id: "Denmark", parent: "Europe" },
6767
{ name: "Djibouti", pop: 905564, id: "Djibouti", parent: "Africa" },
6868
{ name: "Dominica", pop: 67675, id: "Dominica", parent: "Central_America_and_the_Caribbean" },

0 commit comments

Comments
 (0)