igniteui-cli 14.3.14-beta.8 → 14.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/templates/angular/ig-ts/line-chart/default/files/src/app/assets/line-chart-data.ts +1 -1
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/index.js +2 -2
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/index.js +2 -2
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/index.js +2 -2
- package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.tsx +1 -1
- package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.tsx +3 -3
- package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.tsx +1 -1
- package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.tsx +3 -3
- package/templates/react/igr-ts/projects/top-nav/files/src/components/navigation-header/index.tsx +4 -4
- package/templates/webcomponents/igc-ts/grid/grid-editing/files/src/app/__path__/DataGridSharedData.ts +0 -1
- package/templates/webcomponents/igc-ts/grid/grid-summaries/files/src/app/__path__/NwindData.ts +0 -1
- package/templates/webcomponents/igc-ts/grid/grid-summaries/files/src/app/__path__/__filePrefix__.ts +1 -11
- package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app.test.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts +0 -5
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +1 -1
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "14.3.14
|
|
3
|
+
"version": "14.3.14",
|
|
4
4
|
"description": "CLI tool for creating Ignite UI projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"all": true
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@igniteui/angular-templates": "~19.0.14314
|
|
74
|
-
"@igniteui/cli-core": "~14.3.14
|
|
73
|
+
"@igniteui/angular-templates": "~19.0.14314",
|
|
74
|
+
"@igniteui/cli-core": "~14.3.14",
|
|
75
75
|
"@inquirer/prompts": "^5.4.0",
|
|
76
76
|
"@types/yargs": "^17.0.33",
|
|
77
77
|
"chalk": "^5.3.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const data = [
|
|
1
|
+
const data: any = [
|
|
2
2
|
{ "CountryName": "China", "Pop1995": 1216, "Pop2005": 1297, "Pop2015": 1361, "Pop2025": 1394 },
|
|
3
3
|
{ "CountryName": "India", "Pop1995": 920, "Pop2005": 1090, "Pop2015": 1251, "Pop2025": 1396 },
|
|
4
4
|
{ "CountryName": "United States", "Pop1995": 266, "Pop2005": 295, "Pop2015": 322, "Pop2025": 351 },
|
|
@@ -14,7 +14,7 @@ IgrDoughnutChartModule.register();
|
|
|
14
14
|
IgrRingSeriesModule.register();
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
const data = [
|
|
17
|
+
const data: any = [
|
|
18
18
|
{ MarketShare: 30, Company: "Google", },
|
|
19
19
|
{ MarketShare: 15, Company: "Microsoft", },
|
|
20
20
|
{ MarketShare: 30, Company: "Apple", },
|
|
@@ -82,4 +82,4 @@ export default class $(ClassName) extends Component {
|
|
|
82
82
|
</div>
|
|
83
83
|
)
|
|
84
84
|
}
|
|
85
|
-
}
|
|
85
|
+
}
|
|
@@ -5,7 +5,7 @@ import style from './style.css';
|
|
|
5
5
|
|
|
6
6
|
IgrFinancialChartModule.register();
|
|
7
7
|
|
|
8
|
-
const data = [
|
|
8
|
+
const data: any = [
|
|
9
9
|
{ time: new Date(2013, 1, 1), open: 268.93, high: 268.93, low: 262.80, close: 265.00, volume: 6118146 },
|
|
10
10
|
{ time: new Date(2013, 1, 4), open: 262.78, high: 264.68, low: 259.07, close: 259.98, volume: 3723793 },
|
|
11
11
|
{ time: new Date(2013, 1, 5), open: 262.00, high: 268.03, low: 261.46, close: 266.89, volume: 4013780 },
|
|
@@ -52,4 +52,4 @@ export default class $(ClassName) extends Component {
|
|
|
52
52
|
</div >
|
|
53
53
|
)
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
}
|
|
@@ -9,7 +9,7 @@ import style from './style.css';
|
|
|
9
9
|
IgrPieChartModule.register();
|
|
10
10
|
IgrItemLegendModule.register();
|
|
11
11
|
|
|
12
|
-
const data = [
|
|
12
|
+
const data: any = [
|
|
13
13
|
{ MarketShare: 30, Company: "Google", },
|
|
14
14
|
{ MarketShare: 15, Company: "Microsoft", },
|
|
15
15
|
{ MarketShare: 30, Company: "Apple", },
|
|
@@ -80,4 +80,4 @@ export default class $(ClassName) extends Component {
|
|
|
80
80
|
</div>
|
|
81
81
|
)
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|
package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import style from './style.module.css';
|
|
|
5
5
|
|
|
6
6
|
IgrCategoryChartModule.register();
|
|
7
7
|
|
|
8
|
-
const data = [
|
|
8
|
+
const data: any = [
|
|
9
9
|
{ 'CountryName': 'China', 'Pop1995': 1216, 'Pop2005': 1297, 'Pop2015': 1361, 'Pop2025': 1394 },
|
|
10
10
|
{ 'CountryName': 'India', 'Pop1995': 920, 'Pop2005': 1090, 'Pop2015': 1251, 'Pop2025': 1396 },
|
|
11
11
|
{ 'CountryName': 'United States', 'Pop1995': 266, 'Pop2005': 295, 'Pop2015': 322, 'Pop2025': 351 },
|
package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.tsx
CHANGED
|
@@ -13,7 +13,7 @@ IgrDoughnutChartModule.register();
|
|
|
13
13
|
IgrRingSeriesModule.register();
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
const data = [
|
|
16
|
+
const data: any = [
|
|
17
17
|
{ MarketShare: 30, Company: "Google", },
|
|
18
18
|
{ MarketShare: 15, Company: "Microsoft", },
|
|
19
19
|
{ MarketShare: 30, Company: "Apple", },
|
|
@@ -24,8 +24,8 @@ const data = [
|
|
|
24
24
|
export default function $(ClassName)() {
|
|
25
25
|
const title = 'Doughnut Chart';
|
|
26
26
|
const [chartData, setChartData] = useState([]);
|
|
27
|
-
const legendRef = useRef();
|
|
28
|
-
const chartRef = useRef();
|
|
27
|
+
const legendRef: any = useRef();
|
|
28
|
+
const chartRef: any = useRef();
|
|
29
29
|
|
|
30
30
|
useEffect(() => {
|
|
31
31
|
setChartData(data);
|
package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import style from './style.module.css';
|
|
|
5
5
|
|
|
6
6
|
IgrFinancialChartModule.register();
|
|
7
7
|
|
|
8
|
-
const data = [
|
|
8
|
+
const data: any = [
|
|
9
9
|
{ time: new Date(2013, 1, 1), open: 268.93, high: 268.93, low: 262.80, close: 265.00, volume: 6118146 },
|
|
10
10
|
{ time: new Date(2013, 1, 4), open: 262.78, high: 264.68, low: 259.07, close: 259.98, volume: 3723793 },
|
|
11
11
|
{ time: new Date(2013, 1, 5), open: 262.00, high: 268.03, low: 261.46, close: 266.89, volume: 4013780 },
|
|
@@ -8,7 +8,7 @@ import style from './style.module.css';
|
|
|
8
8
|
IgrPieChartModule.register();
|
|
9
9
|
IgrItemLegendModule.register();
|
|
10
10
|
|
|
11
|
-
const data = [
|
|
11
|
+
const data: any = [
|
|
12
12
|
{ MarketShare: 30, Company: "Google", },
|
|
13
13
|
{ MarketShare: 15, Company: "Microsoft", },
|
|
14
14
|
{ MarketShare: 30, Company: "Apple", },
|
|
@@ -19,8 +19,8 @@ const data = [
|
|
|
19
19
|
export default function $(ClassName)() {
|
|
20
20
|
const title = 'Pie Chart';
|
|
21
21
|
const [chartData, setChartData] = useState([]);
|
|
22
|
-
const legendRef = useRef();
|
|
23
|
-
const chartRef = useRef();
|
|
22
|
+
const legendRef: any = useRef();
|
|
23
|
+
const chartRef: any = useRef();
|
|
24
24
|
|
|
25
25
|
useEffect(() => {
|
|
26
26
|
setChartData(data);
|
package/templates/react/igr-ts/projects/top-nav/files/src/components/navigation-header/index.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
2
|
import { Link } from 'react-router-dom';
|
|
3
3
|
|
|
4
|
-
export default function NavigationHeader({ routes }) {
|
|
4
|
+
export default function NavigationHeader({ routes }: any) {
|
|
5
5
|
const [state, setState] = useState({ activeItem: null });
|
|
6
6
|
|
|
7
|
-
function handleClick(index) {
|
|
7
|
+
function handleClick(index: any) {
|
|
8
8
|
setState({ activeItem: index });
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ export default function NavigationHeader({ routes }) {
|
|
|
13
13
|
if (!currentRoute) {
|
|
14
14
|
currentRoute = '/'
|
|
15
15
|
}
|
|
16
|
-
const activeItem = routes.findIndex((route) => route.path === currentRoute);
|
|
16
|
+
const activeItem = routes.findIndex((route: any) => route.path === currentRoute);
|
|
17
17
|
setState({ activeItem });
|
|
18
18
|
}, [routes]);
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ export default function NavigationHeader({ routes }) {
|
|
|
21
21
|
<nav>
|
|
22
22
|
<ul>
|
|
23
23
|
{routes.map(
|
|
24
|
-
(route, i) => <li key={i} className={state.activeItem === i ? 'active' : ''}><Link onClick={() => handleClick(i)} to={route.path}>{route.text}</Link></li>
|
|
24
|
+
(route: any, i: any) => <li key={i} className={state.activeItem === i ? 'active' : ''}><Link onClick={() => handleClick(i)} to={route.path}>{route.text}</Link></li>
|
|
25
25
|
)}
|
|
26
26
|
</ul>
|
|
27
27
|
</nav>
|
package/templates/webcomponents/igc-ts/grid/grid-summaries/files/src/app/__path__/__filePrefix__.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { css, html, LitElement } from 'lit';
|
|
2
2
|
import { customElement } from 'lit/decorators.js';
|
|
3
3
|
import 'igniteui-webcomponents-grids/grids/combined';
|
|
4
|
-
import {
|
|
5
|
-
IgcGridComponent,
|
|
6
|
-
IgcColumnComponent,
|
|
7
|
-
} from 'igniteui-webcomponents-grids/grids';
|
|
4
|
+
import { IgcGridComponent } from 'igniteui-webcomponents-grids/grids';
|
|
8
5
|
import {
|
|
9
6
|
ComponentRenderer,
|
|
10
7
|
WebGridDescriptionModule,
|
|
@@ -47,13 +44,6 @@ export default class $(ClassName) extends LitElement {
|
|
|
47
44
|
const grid = this.shadowRoot?.getElementById('grid') as IgcGridComponent;
|
|
48
45
|
const nwindData = NwindData;
|
|
49
46
|
|
|
50
|
-
const productID = this.shadowRoot?.getElementById('ProductID') as IgcColumnComponent;
|
|
51
|
-
const productName = this.shadowRoot?.getElementById('ProductName') as IgcColumnComponent;
|
|
52
|
-
const unitPrice = this.shadowRoot?.getElementById('UnitPrice') as IgcColumnComponent;
|
|
53
|
-
const unitsInStock = this.shadowRoot?.getElementById('UnitsInStock') as IgcColumnComponent;
|
|
54
|
-
const discontinued = this.shadowRoot?.getElementById('Discontinued') as IgcColumnComponent;
|
|
55
|
-
const orderDate = this.shadowRoot?.getElementById('OrderDate') as IgcColumnComponent;
|
|
56
|
-
|
|
57
47
|
grid.data = new nwindData();
|
|
58
48
|
|
|
59
49
|
const _componentRenderer = new ComponentRenderer();
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"start": "tsc && concurrently -k -r \"tsc --watch\" \"wds\"",
|
|
17
17
|
"build": "rimraf dist && tsc && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build",
|
|
18
18
|
"start:build": "web-dev-server --root-dir dist --app-index index.html --open",
|
|
19
|
-
"lint": "eslint \"**/*.{js,ts}\" --ignore-
|
|
19
|
+
"lint": "eslint \"**/*.{js,ts}\" --ignore-pattern .gitignore",
|
|
20
20
|
"test": "tsc --project tsconfig.test.json && wtr"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|