diff --git a/samples/charts/category-chart/annotations-all/package.json b/samples/charts/category-chart/annotations-all/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/annotations-all/package.json +++ b/samples/charts/category-chart/annotations-all/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/annotations-callouts/package.json b/samples/charts/category-chart/annotations-callouts/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/annotations-callouts/package.json +++ b/samples/charts/category-chart/annotations-callouts/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/annotations-crosshairs/package.json b/samples/charts/category-chart/annotations-crosshairs/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/annotations-crosshairs/package.json +++ b/samples/charts/category-chart/annotations-crosshairs/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/annotations-custom/package.json b/samples/charts/category-chart/annotations-custom/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/annotations-custom/package.json +++ b/samples/charts/category-chart/annotations-custom/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/annotations-final-value/package.json b/samples/charts/category-chart/annotations-final-value/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/annotations-final-value/package.json +++ b/samples/charts/category-chart/annotations-final-value/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/annotations-highlighting/package.json b/samples/charts/category-chart/annotations-highlighting/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/annotations-highlighting/package.json +++ b/samples/charts/category-chart/annotations-highlighting/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-gap/package.json b/samples/charts/category-chart/axis-gap/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-gap/package.json +++ b/samples/charts/category-chart/axis-gap/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-gridlines/package.json b/samples/charts/category-chart/axis-gridlines/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-gridlines/package.json +++ b/samples/charts/category-chart/axis-gridlines/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-inverted/package.json b/samples/charts/category-chart/axis-inverted/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-inverted/package.json +++ b/samples/charts/category-chart/axis-inverted/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-labels/package.json b/samples/charts/category-chart/axis-labels/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-labels/package.json +++ b/samples/charts/category-chart/axis-labels/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-locations/package.json b/samples/charts/category-chart/axis-locations/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-locations/package.json +++ b/samples/charts/category-chart/axis-locations/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-overlap/package.json b/samples/charts/category-chart/axis-overlap/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-overlap/package.json +++ b/samples/charts/category-chart/axis-overlap/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-range/package.json b/samples/charts/category-chart/axis-range/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-range/package.json +++ b/samples/charts/category-chart/axis-range/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/axis-tickmarks/package.json b/samples/charts/category-chart/axis-tickmarks/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/axis-tickmarks/package.json +++ b/samples/charts/category-chart/axis-tickmarks/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/chart-highlight-filter/package.json b/samples/charts/category-chart/chart-highlight-filter/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/chart-highlight-filter/package.json +++ b/samples/charts/category-chart/chart-highlight-filter/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/column-chart-with-tooltips/package.json b/samples/charts/category-chart/column-chart-with-tooltips/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/column-chart-with-tooltips/package.json +++ b/samples/charts/category-chart/column-chart-with-tooltips/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/data-aggregations/package.json b/samples/charts/category-chart/data-aggregations/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/data-aggregations/package.json +++ b/samples/charts/category-chart/data-aggregations/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/data-filter/package.json b/samples/charts/category-chart/data-filter/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/data-filter/package.json +++ b/samples/charts/category-chart/data-filter/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/data-tooltip-positioning/package.json b/samples/charts/category-chart/data-tooltip-positioning/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/data-tooltip-positioning/package.json +++ b/samples/charts/category-chart/data-tooltip-positioning/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/highlighting-behavior/package.json b/samples/charts/category-chart/highlighting-behavior/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/highlighting-behavior/package.json +++ b/samples/charts/category-chart/highlighting-behavior/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/highlighting-mode/package.json b/samples/charts/category-chart/highlighting-mode/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/highlighting-mode/package.json +++ b/samples/charts/category-chart/highlighting-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/marker-options/package.json b/samples/charts/category-chart/marker-options/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/marker-options/package.json +++ b/samples/charts/category-chart/marker-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/selection-multiple-modes/package.json b/samples/charts/category-chart/selection-multiple-modes/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/selection-multiple-modes/package.json +++ b/samples/charts/category-chart/selection-multiple-modes/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/category-chart/value-lines/package.json b/samples/charts/category-chart/value-lines/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/category-chart/value-lines/package.json +++ b/samples/charts/category-chart/value-lines/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-chart/axis-label-rotation/package.json b/samples/charts/data-chart/axis-label-rotation/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-chart/axis-label-rotation/package.json +++ b/samples/charts/data-chart/axis-label-rotation/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/package.json b/samples/charts/data-chart/chart-highlight-filter-datasource/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/package.json +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-chart/chart-highlight-filter/package.json b/samples/charts/data-chart/chart-highlight-filter/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-chart/chart-highlight-filter/package.json +++ b/samples/charts/data-chart/chart-highlight-filter/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-chart/radial-label-mode/package.json b/samples/charts/data-chart/radial-label-mode/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-chart/radial-label-mode/package.json +++ b/samples/charts/data-chart/radial-label-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-chart/transition-event/package.json b/samples/charts/data-chart/transition-event/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-chart/transition-event/package.json +++ b/samples/charts/data-chart/transition-event/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-pie-chart/animation/package.json b/samples/charts/data-pie-chart/animation/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-pie-chart/animation/package.json +++ b/samples/charts/data-pie-chart/animation/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-pie-chart/highlighting/package.json b/samples/charts/data-pie-chart/highlighting/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-pie-chart/highlighting/package.json +++ b/samples/charts/data-pie-chart/highlighting/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-pie-chart/others/package.json b/samples/charts/data-pie-chart/others/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-pie-chart/others/package.json +++ b/samples/charts/data-pie-chart/others/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/data-pie-chart/selection/package.json b/samples/charts/data-pie-chart/selection/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/data-pie-chart/selection/package.json +++ b/samples/charts/data-pie-chart/selection/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/sparkline/markers/package.json b/samples/charts/sparkline/markers/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/sparkline/markers/package.json +++ b/samples/charts/sparkline/markers/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/sparkline/normal-range/package.json b/samples/charts/sparkline/normal-range/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/sparkline/normal-range/package.json +++ b/samples/charts/sparkline/normal-range/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/sparkline/trendlines/package.json b/samples/charts/sparkline/trendlines/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/sparkline/trendlines/package.json +++ b/samples/charts/sparkline/trendlines/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/sparkline/unknown-values/package.json b/samples/charts/sparkline/unknown-values/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/sparkline/unknown-values/package.json +++ b/samples/charts/sparkline/unknown-values/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/toolbar/theming/package.json b/samples/charts/toolbar/theming/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/toolbar/theming/package.json +++ b/samples/charts/toolbar/theming/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/tree-map/highlighting/package.json b/samples/charts/tree-map/highlighting/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/tree-map/highlighting/package.json +++ b/samples/charts/tree-map/highlighting/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/charts/tree-map/layout/package.json b/samples/charts/tree-map/layout/package.json index 8a1edd5bd3..3265726c77 100644 --- a/samples/charts/tree-map/layout/package.json +++ b/samples/charts/tree-map/layout/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-charts": "5.0.3-beta.0", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/action-strip/src/NwindData.ts b/samples/grids/grid/action-strip/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/action-strip/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/advanced-filtering-options/src/NwindData.ts b/samples/grids/grid/advanced-filtering-options/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/advanced-filtering-options/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/advanced-filtering-style/src/NwindData.ts b/samples/grids/grid/advanced-filtering-style/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/advanced-filtering-style/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/binding-composite-data/package.json b/samples/grids/grid/binding-composite-data/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/binding-composite-data/package.json +++ b/samples/grids/grid/binding-composite-data/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/binding-nested-data-1/package.json b/samples/grids/grid/binding-nested-data-1/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/binding-nested-data-1/package.json +++ b/samples/grids/grid/binding-nested-data-1/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/cascading-combo/package.json b/samples/grids/grid/cascading-combo/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/cascading-combo/package.json +++ b/samples/grids/grid/cascading-combo/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/cell-editing-sample/package.json b/samples/grids/grid/cell-editing-sample/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/cell-editing-sample/package.json +++ b/samples/grids/grid/cell-editing-sample/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/cell-editing-styling/src/NwindData.ts b/samples/grids/grid/cell-editing-styling/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/cell-editing-styling/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/cell-selection-mode/package.json b/samples/grids/grid/cell-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/cell-selection-mode/package.json +++ b/samples/grids/grid/cell-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/cell-selection-mode/src/NwindData.ts b/samples/grids/grid/cell-selection-mode/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/cell-selection-mode/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/column-moving-options/package.json b/samples/grids/grid/column-moving-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/column-moving-options/package.json +++ b/samples/grids/grid/column-moving-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/column-moving-styles/package.json b/samples/grids/grid/column-moving-styles/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/column-moving-styles/package.json +++ b/samples/grids/grid/column-moving-styles/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/column-pinning-right-side/package.json b/samples/grids/grid/column-pinning-right-side/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/column-pinning-right-side/package.json +++ b/samples/grids/grid/column-pinning-right-side/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/column-selection-mode/package.json b/samples/grids/grid/column-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/column-selection-mode/package.json +++ b/samples/grids/grid/column-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/column-sorting-options/package.json b/samples/grids/grid/column-sorting-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/column-sorting-options/package.json +++ b/samples/grids/grid/column-sorting-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/data-batch-editing-actions/package.json b/samples/grids/grid/data-batch-editing-actions/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/data-batch-editing-actions/package.json +++ b/samples/grids/grid/data-batch-editing-actions/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/data-batch-editing-actions/src/NwindData.ts b/samples/grids/grid/data-batch-editing-actions/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-batch-editing-actions/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-performance-virtualization/package.json b/samples/grids/grid/data-performance-virtualization/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/data-performance-virtualization/package.json +++ b/samples/grids/grid/data-performance-virtualization/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/data-summary-formatter/src/NwindData.ts b/samples/grids/grid/data-summary-formatter/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-summary-formatter/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-summary-options/src/NwindData.ts b/samples/grids/grid/data-summary-options/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-summary-options/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-summary-template/package.json b/samples/grids/grid/data-summary-template/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/data-summary-template/package.json +++ b/samples/grids/grid/data-summary-template/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/data-summary-template/src/NwindData.ts b/samples/grids/grid/data-summary-template/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-summary-template/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-validation-style/src/NwindData.ts b/samples/grids/grid/data-validation-style/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-validation-style/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-validator-service-cross-field/src/NwindData.ts b/samples/grids/grid/data-validator-service-cross-field/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-validator-service-cross-field/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-validator-service-extended/package.json b/samples/grids/grid/data-validator-service-extended/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/data-validator-service-extended/package.json +++ b/samples/grids/grid/data-validator-service-extended/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/data-validator-service-extended/src/NwindData.ts b/samples/grids/grid/data-validator-service-extended/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/data-validator-service-extended/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/data-validator-service/package.json b/samples/grids/grid/data-validator-service/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/data-validator-service/package.json +++ b/samples/grids/grid/data-validator-service/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/editing-columns/src/NwindData.ts b/samples/grids/grid/editing-columns/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/editing-columns/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/editing-events/src/NwindData.ts b/samples/grids/grid/editing-events/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/editing-events/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/editing-excel-style/src/NwindData.ts b/samples/grids/grid/editing-excel-style/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/editing-excel-style/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/editing-lifecycle/src/NwindData.ts b/samples/grids/grid/editing-lifecycle/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/editing-lifecycle/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/excel-style-filtering-sample-1/package.json b/samples/grids/grid/excel-style-filtering-sample-1/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/excel-style-filtering-sample-1/package.json +++ b/samples/grids/grid/excel-style-filtering-sample-1/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/excel-style-filtering-sample-1/src/NwindData.ts b/samples/grids/grid/excel-style-filtering-sample-1/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/excel-style-filtering-sample-1/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/excel-style-filtering-sample-2/src/NwindData.ts b/samples/grids/grid/excel-style-filtering-sample-2/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/excel-style-filtering-sample-2/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/excel-style-filtering-sample-3/src/NwindData.ts b/samples/grids/grid/excel-style-filtering-sample-3/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/excel-style-filtering-sample-3/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/excel-style-filtering-style/src/NwindData.ts b/samples/grids/grid/excel-style-filtering-style/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/excel-style-filtering-style/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/external-advanced-filtering/src/NwindData.ts b/samples/grids/grid/external-advanced-filtering/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/external-advanced-filtering/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/filtering-options/src/NwindData.ts b/samples/grids/grid/filtering-options/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/filtering-options/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/filtering-strategy/src/NwindData.ts b/samples/grids/grid/filtering-strategy/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/filtering-strategy/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/filtering-style/package.json b/samples/grids/grid/filtering-style/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/filtering-style/package.json +++ b/samples/grids/grid/filtering-style/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/filtering-style/src/NwindData.ts b/samples/grids/grid/filtering-style/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/filtering-style/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/groupby-summary-options/package.json b/samples/grids/grid/groupby-summary-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/groupby-summary-options/package.json +++ b/samples/grids/grid/groupby-summary-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/groupby-summary-styling/package.json b/samples/grids/grid/groupby-summary-styling/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/groupby-summary-styling/package.json +++ b/samples/grids/grid/groupby-summary-styling/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/keyboard-custom-navigation/src/NwindData.ts b/samples/grids/grid/keyboard-custom-navigation/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/keyboard-custom-navigation/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/layout-display-density/package.json b/samples/grids/grid/layout-display-density/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/layout-display-density/package.json +++ b/samples/grids/grid/layout-display-density/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/multi-column-headers-overview/package.json b/samples/grids/grid/multi-column-headers-overview/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/multi-column-headers-overview/package.json +++ b/samples/grids/grid/multi-column-headers-overview/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/overview/src/NwindData.ts b/samples/grids/grid/overview/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/overview/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/paste/package.json b/samples/grids/grid/paste/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/paste/package.json +++ b/samples/grids/grid/paste/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/remote-paging-data/src/NwindData.ts b/samples/grids/grid/remote-paging-data/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/remote-paging-data/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/row-adding/src/NwindData.ts b/samples/grids/grid/row-adding/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/row-adding/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/row-classes/src/NwindData.ts b/samples/grids/grid/row-classes/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/row-classes/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/row-editing-options/src/NwindData.ts b/samples/grids/grid/row-editing-options/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/row-editing-options/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/row-editing-style/src/NwindData.ts b/samples/grids/grid/row-editing-style/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/grid/row-editing-style/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/grid/row-editing-style/src/index.css b/samples/grids/grid/row-editing-style/src/index.css index a9393efcbb..cc7b8709b5 100644 --- a/samples/grids/grid/row-editing-style/src/index.css +++ b/samples/grids/grid/row-editing-style/src/index.css @@ -2,7 +2,10 @@ /* https://static.infragistics.com/xplatform/css/samples */ #grid { - --ig-banner-banner-background: #e3e3e3; - --ig-banner-banner-message-color: #423589; + --ig-banner-banner-background: #292826; + --ig-banner-banner-message-color: #ffcd0f; + --ig-button-foreground: #ffcd0f; + --ig-button-hover-foreground: white; + --ig-button-font-weight: 600; } diff --git a/samples/grids/grid/row-paging-basic/package.json b/samples/grids/grid/row-paging-basic/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/row-paging-basic/package.json +++ b/samples/grids/grid/row-paging-basic/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/row-paging-options/package.json b/samples/grids/grid/row-paging-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/row-paging-options/package.json +++ b/samples/grids/grid/row-paging-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/row-pinning-options/package.json b/samples/grids/grid/row-pinning-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/row-pinning-options/package.json +++ b/samples/grids/grid/row-pinning-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/row-selection-mode/package.json b/samples/grids/grid/row-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/row-selection-mode/package.json +++ b/samples/grids/grid/row-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/row-selection-template-numbers/package.json b/samples/grids/grid/row-selection-template-numbers/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/row-selection-template-numbers/package.json +++ b/samples/grids/grid/row-selection-template-numbers/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/grid/row-styles/package.json b/samples/grids/grid/row-styles/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/grid/row-styles/package.json +++ b/samples/grids/grid/row-styles/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/cell-editing-sample/package.json b/samples/grids/hierarchical-grid/cell-editing-sample/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/cell-editing-sample/package.json +++ b/samples/grids/hierarchical-grid/cell-editing-sample/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/cell-editing-styling/src/NwindData.ts b/samples/grids/hierarchical-grid/cell-editing-styling/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/hierarchical-grid/cell-editing-styling/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/hierarchical-grid/cell-selection-mode/package.json b/samples/grids/hierarchical-grid/cell-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/cell-selection-mode/package.json +++ b/samples/grids/hierarchical-grid/cell-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/cell-selection-overview/package.json b/samples/grids/hierarchical-grid/cell-selection-overview/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/cell-selection-overview/package.json +++ b/samples/grids/hierarchical-grid/cell-selection-overview/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/cell-selection-style/package.json b/samples/grids/hierarchical-grid/cell-selection-style/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/cell-selection-style/package.json +++ b/samples/grids/hierarchical-grid/cell-selection-style/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/column-selection-mode/package.json b/samples/grids/hierarchical-grid/column-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/column-selection-mode/package.json +++ b/samples/grids/hierarchical-grid/column-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/data-summary-template/package.json b/samples/grids/hierarchical-grid/data-summary-template/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/data-summary-template/package.json +++ b/samples/grids/hierarchical-grid/data-summary-template/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/editing-columns/src/NwindData.ts b/samples/grids/hierarchical-grid/editing-columns/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/hierarchical-grid/editing-columns/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/hierarchical-grid/editing-events/src/NwindData.ts b/samples/grids/hierarchical-grid/editing-events/src/NwindData.ts deleted file mode 100644 index f59afd0b79..0000000000 --- a/samples/grids/hierarchical-grid/editing-events/src/NwindData.ts +++ /dev/null @@ -1,550 +0,0 @@ -export class NwindDataItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public ProductID: number; - public ProductName: string; - public SupplierID: number; - public CategoryID: number; - public QuantityPerUnit: string; - public UnitPrice: number; - public UnitsInStock: number; - public UnitsOnOrder: number; - public ReorderLevel: number; - public Discontinued: boolean; - public OrderDate: string; - public Rating: number; - public Locations: NwindDataItem_LocationsItem[]; - -} -export class NwindDataItem_LocationsItem { - public constructor(init: Partial) { - Object.assign(this, init); - } - - public Shop: string; - public LastInventory: string; - -} -export class NwindData extends Array { - public constructor(items: Array | number = -1) { - if (Array.isArray(items)) { - super(...items); - } else { - const newItems = [ - new NwindDataItem( - { - ProductID: 1, - ProductName: `Chai`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `10 boxes x 20 bags`, - UnitPrice: 18, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2012-02-12`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 2, - ProductName: `Chang`, - SupplierID: 1, - CategoryID: 1, - QuantityPerUnit: `24 - 12 oz bottles`, - UnitPrice: 19, - UnitsInStock: 17, - UnitsOnOrder: 40, - ReorderLevel: 25, - Discontinued: true, - OrderDate: `2003-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 3, - ProductName: `Aniseed Syrup`, - SupplierID: 1, - CategoryID: 2, - QuantityPerUnit: `12 - 550 ml bottles`, - UnitPrice: 10, - UnitsInStock: 13, - UnitsOnOrder: 70, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2006-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 4, - ProductName: `Chef Antons Cajun Seasoning`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `48 - 6 oz jars`, - UnitPrice: 22, - UnitsInStock: 53, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2016-03-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 5, - ProductName: `Chef Antons Gumbo Mix`, - SupplierID: 2, - CategoryID: 2, - QuantityPerUnit: `36 boxes`, - UnitPrice: 21.35, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2011-11-11`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 6, - ProductName: `Grandmas Boysenberry Spread`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 8 oz jars`, - UnitPrice: 25, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 25, - Discontinued: false, - OrderDate: `2017-12-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 7, - ProductName: `Uncle Bobs Organic Dried Pears`, - SupplierID: 3, - CategoryID: 7, - QuantityPerUnit: `12 - 1 lb pkgs.`, - UnitPrice: 30, - UnitsInStock: 150, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2016-07-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 8, - ProductName: `Northwoods Cranberry Sauce`, - SupplierID: 3, - CategoryID: 2, - QuantityPerUnit: `12 - 12 oz jars`, - UnitPrice: 40, - UnitsInStock: 6, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2018-01-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 9, - ProductName: `Mishi Kobe Niku`, - SupplierID: 4, - CategoryID: 6, - QuantityPerUnit: `18 - 500 g pkgs.`, - UnitPrice: 97, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2010-02-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 10, - ProductName: `Ikura`, - SupplierID: 4, - CategoryID: 8, - QuantityPerUnit: `12 - 200 ml jars`, - UnitPrice: 31, - UnitsInStock: 31, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2008-05-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 11, - ProductName: `Queso Cabrales`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `1 kg pkg.`, - UnitPrice: 21, - UnitsInStock: 22, - UnitsOnOrder: 30, - ReorderLevel: 30, - Discontinued: false, - OrderDate: `2009-01-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Fun-Tasty Co.`, - LastInventory: `2018-06-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 12, - ProductName: `Queso Manchego La Pastora`, - SupplierID: 5, - CategoryID: 4, - QuantityPerUnit: `10 - 500 g pkgs.`, - UnitPrice: 38, - UnitsInStock: 86, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2015-11-17`, - Rating: 3, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 13, - ProductName: `Konbu`, - SupplierID: 6, - CategoryID: 8, - QuantityPerUnit: `2 kg box`, - UnitPrice: 6, - UnitsInStock: 24, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2015-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 14, - ProductName: `Tofu`, - SupplierID: 6, - CategoryID: 7, - QuantityPerUnit: `40 - 100 g pkgs.`, - UnitPrice: 23.25, - UnitsInStock: 35, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2017-06-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - })] - - }), - new NwindDataItem( - { - ProductID: 15, - ProductName: `Genen Shouyu`, - SupplierID: 6, - CategoryID: 2, - QuantityPerUnit: `24 - 250 ml bottles`, - UnitPrice: 15.5, - UnitsInStock: 39, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2014-03-17`, - Rating: 4, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Wall Market`, - LastInventory: `2018-12-06` - })] - - }), - new NwindDataItem( - { - ProductID: 16, - ProductName: `Pavlova`, - SupplierID: 7, - CategoryID: 3, - QuantityPerUnit: `32 - 500 g boxes`, - UnitPrice: 17.45, - UnitsInStock: 29, - UnitsOnOrder: 30, - ReorderLevel: 10, - Discontinued: false, - OrderDate: `2018-03-28`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Street Market`, - LastInventory: `2018-12-12` - }), - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - })] - - }), - new NwindDataItem( - { - ProductID: 17, - ProductName: `Alice Mutton`, - SupplierID: 7, - CategoryID: 6, - QuantityPerUnit: `20 - 1 kg tins`, - UnitPrice: 39, - UnitsInStock: 0, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: true, - OrderDate: `2015-08-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Farmer Market`, - LastInventory: `2018-04-04` - })] - - }), - new NwindDataItem( - { - ProductID: 18, - ProductName: `Carnarvon Tigers`, - SupplierID: 7, - CategoryID: 8, - QuantityPerUnit: `16 kg pkg.`, - UnitPrice: 62.5, - UnitsInStock: 42, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-09-27`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `24/7 Market`, - LastInventory: `2018-11-11` - }), - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - new NwindDataItem( - { - ProductID: 19, - ProductName: `Teatime Chocolate Biscuits`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: ``, - UnitPrice: 9.2, - UnitsInStock: 25, - UnitsOnOrder: 30, - ReorderLevel: 5, - Discontinued: false, - OrderDate: `2001-03-17`, - Rating: 2, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Local Market`, - LastInventory: `2018-07-03` - })] - - }), - new NwindDataItem( - { - ProductID: 20, - ProductName: `Sir Rodneys Marmalade`, - SupplierID: 8, - CategoryID: 3, - QuantityPerUnit: `4 - 100 ml jars`, - UnitPrice: 4.5, - UnitsInStock: 40, - UnitsOnOrder: 30, - ReorderLevel: 0, - Discontinued: false, - OrderDate: `2005-03-17`, - Rating: 5, - Locations: [ - new NwindDataItem_LocationsItem( - { - Shop: `Super Market`, - LastInventory: `2018-09-09` - })] - - }), - ]; - super(...newItems.slice(0)); - } - } -} diff --git a/samples/grids/hierarchical-grid/layout-display-density/package.json b/samples/grids/hierarchical-grid/layout-display-density/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/layout-display-density/package.json +++ b/samples/grids/hierarchical-grid/layout-display-density/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/multi-column-headers-overview/package.json b/samples/grids/hierarchical-grid/multi-column-headers-overview/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/multi-column-headers-overview/package.json +++ b/samples/grids/hierarchical-grid/multi-column-headers-overview/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/row-pinning-extra-column/package.json b/samples/grids/hierarchical-grid/row-pinning-extra-column/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/row-pinning-extra-column/package.json +++ b/samples/grids/hierarchical-grid/row-pinning-extra-column/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/row-pinning-options/package.json b/samples/grids/hierarchical-grid/row-pinning-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/row-pinning-options/package.json +++ b/samples/grids/hierarchical-grid/row-pinning-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/row-selection-mode/package.json b/samples/grids/hierarchical-grid/row-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/row-selection-mode/package.json +++ b/samples/grids/hierarchical-grid/row-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/hierarchical-grid/row-selection-template-numbers/package.json b/samples/grids/hierarchical-grid/row-selection-template-numbers/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/hierarchical-grid/row-selection-template-numbers/package.json +++ b/samples/grids/hierarchical-grid/row-selection-template-numbers/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/cell-editing-sample/package.json b/samples/grids/tree-grid/cell-editing-sample/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/cell-editing-sample/package.json +++ b/samples/grids/tree-grid/cell-editing-sample/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/cell-editing-sample/src/index.ts b/samples/grids/tree-grid/cell-editing-sample/src/index.ts index e5e2a82c05..241e650bc3 100644 --- a/samples/grids/tree-grid/cell-editing-sample/src/index.ts +++ b/samples/grids/tree-grid/cell-editing-sample/src/index.ts @@ -59,7 +59,8 @@ export class Sample { public webTreeGridCellEditCellTemplate = (ctx: IgcCellTemplateContext) => { let cellValues: any = []; let uniqueValues: any = []; - for(const i of (this.roleplayTreeGridData as any)){ + let roleplayData = this.roleplayTreeGridData + for (const i of (roleplayData as any)){ const field: string = ctx.cell.column.field; if(uniqueValues.indexOf(i[field]) === -1 ) { diff --git a/samples/grids/tree-grid/cell-selection-mode/package.json b/samples/grids/tree-grid/cell-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/cell-selection-mode/package.json +++ b/samples/grids/tree-grid/cell-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/column-selection-mode/package.json b/samples/grids/tree-grid/column-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/column-selection-mode/package.json +++ b/samples/grids/tree-grid/column-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/column-sorting-options/package.json b/samples/grids/tree-grid/column-sorting-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/column-sorting-options/package.json +++ b/samples/grids/tree-grid/column-sorting-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/data-summary-children/package.json b/samples/grids/tree-grid/data-summary-children/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/data-summary-children/package.json +++ b/samples/grids/tree-grid/data-summary-children/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/data-summary-template/package.json b/samples/grids/tree-grid/data-summary-template/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/data-summary-template/package.json +++ b/samples/grids/tree-grid/data-summary-template/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/excel-style-filtering-sample-1/package.json b/samples/grids/tree-grid/excel-style-filtering-sample-1/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/excel-style-filtering-sample-1/package.json +++ b/samples/grids/tree-grid/excel-style-filtering-sample-1/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/layout-display-density/package.json b/samples/grids/tree-grid/layout-display-density/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/layout-display-density/package.json +++ b/samples/grids/tree-grid/layout-display-density/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/multi-column-headers-overview/package.json b/samples/grids/tree-grid/multi-column-headers-overview/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/multi-column-headers-overview/package.json +++ b/samples/grids/tree-grid/multi-column-headers-overview/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/row-editing-style/src/index.css b/samples/grids/tree-grid/row-editing-style/src/index.css index a9393efcbb..cc7b8709b5 100644 --- a/samples/grids/tree-grid/row-editing-style/src/index.css +++ b/samples/grids/tree-grid/row-editing-style/src/index.css @@ -2,7 +2,10 @@ /* https://static.infragistics.com/xplatform/css/samples */ #grid { - --ig-banner-banner-background: #e3e3e3; - --ig-banner-banner-message-color: #423589; + --ig-banner-banner-background: #292826; + --ig-banner-banner-message-color: #ffcd0f; + --ig-button-foreground: #ffcd0f; + --ig-button-hover-foreground: white; + --ig-button-font-weight: 600; } diff --git a/samples/grids/tree-grid/row-paging-options/package.json b/samples/grids/tree-grid/row-paging-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/row-paging-options/package.json +++ b/samples/grids/tree-grid/row-paging-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/row-pinning-options/package.json b/samples/grids/tree-grid/row-pinning-options/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/row-pinning-options/package.json +++ b/samples/grids/tree-grid/row-pinning-options/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/row-selection-mode/package.json b/samples/grids/tree-grid/row-selection-mode/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/row-selection-mode/package.json +++ b/samples/grids/tree-grid/row-selection-mode/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/toolbar-sample-1/package.json b/samples/grids/tree-grid/toolbar-sample-1/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/toolbar-sample-1/package.json +++ b/samples/grids/tree-grid/toolbar-sample-1/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/toolbar-sample-3/package.json b/samples/grids/tree-grid/toolbar-sample-3/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/toolbar-sample-3/package.json +++ b/samples/grids/tree-grid/toolbar-sample-3/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0", diff --git a/samples/grids/tree-grid/toolbar-style/package.json b/samples/grids/tree-grid/toolbar-style/package.json index 8ab82339e8..5ea7de964d 100644 --- a/samples/grids/tree-grid/toolbar-style/package.json +++ b/samples/grids/tree-grid/toolbar-style/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "igniteui-webcomponents": "5.1.1", + "igniteui-webcomponents": "5.1.2", "igniteui-webcomponents-core": "5.0.3-beta.0", "igniteui-webcomponents-grids": "5.0.3-beta.0", "igniteui-webcomponents-inputs": "5.0.3-beta.0",