igniteui-cli 13.1.13-beta.4 → 13.1.13-beta.6
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/lib/MultiTemplateComponent.js +5 -5
- package/lib/cli.js +2 -2
- package/lib/project-utility/GridHelper.js +1 -1
- package/lib/templates/IgniteUIForWebComponentsTemplate.js +3 -3
- package/package.json +4 -4
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +1 -1
- package/templates/angular/ig-ts/grid/basic/index.js +1 -1
- package/templates/angular/ig-ts/grid/grid-custom/index.js +1 -1
- package/templates/angular/ig-ts/grid/grid-editing/index.js +1 -1
- package/templates/angular/ig-ts/grid/grid-export/index.js +1 -1
- package/templates/angular/ig-ts/grid/grid-templating/index.js +1 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +1 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +1 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +1 -1
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +1 -1
- package/templates/angular/ig-ts/projects/empty/index.js +1 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +1 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +1 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +1 -1
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +1 -1
- package/templates/jquery/js/custom-templates/file-explorer/index.js +1 -1
- package/templates/jquery/js/grid/grid/index.js +1 -1
- package/templates/jquery/js/grid/grid-custom/index.js +1 -1
- package/templates/jquery/js/grid/grid-editing/index.js +1 -1
- package/templates/jquery/js/grid/grid-export/index.js +1 -1
- package/templates/jquery/js/grid/grid-templating/index.js +1 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +1 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid-custom/index.js +1 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid-editing/index.js +1 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid-export/index.js +1 -1
- package/templates/jquery/js/tree-grid/tree-grid/index.js +1 -1
- package/templates/jquery/js/tree-grid/tree-grid-custom/index.js +1 -1
- package/templates/jquery/js/tree-grid/tree-grid-editing/index.js +1 -1
- package/templates/jquery/js/tree-grid/tree-grid-export/index.js +1 -1
- package/templates/react/ReactTypeScriptFileUpdate.js +1 -1
- package/templates/react/es6/grid/basic/index.js +1 -1
- package/templates/react/es6/grid/grid-custom/index.js +1 -1
- package/templates/react/es6/grid/grid-editing/index.js +1 -1
- package/templates/react/es6/grid/grid-export/index.js +1 -1
- package/templates/react/es6/grid/grid-templating/index.js +1 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +1 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +1 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +1 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +1 -1
- package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +6 -0
- package/templates/react/es6/projects/empty/files/package.json +0 -6
- package/templates/react/es6/tree-grid/tree-grid/index.js +1 -1
- package/templates/react/es6/tree-grid/tree-grid-custom/index.js +1 -1
- package/templates/react/es6/tree-grid/tree-grid-editing/index.js +1 -1
- package/templates/react/es6/tree-grid/tree-grid-export/index.js +1 -1
- package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +3 -0
- package/templates/react/igr-es6/projects/_base/files/package.json +0 -3
- package/templates/react/igr-ts/bullet-graph/default/index.js +1 -1
- package/templates/react/igr-ts/category-chart/default/index.js +1 -1
- package/templates/react/igr-ts/doughnut-chart/default/index.js +1 -1
- package/templates/react/igr-ts/financial-chart/default/index.js +1 -1
- package/templates/react/igr-ts/grid/basic/index.js +2 -2
- package/templates/react/igr-ts/linear-gauge/default/index.js +1 -1
- package/templates/react/igr-ts/pie-chart/default/index.js +1 -1
- package/templates/react/igr-ts/projects/_base/files/__dot__eslintrc.json +3 -0
- package/templates/react/igr-ts/projects/_base/files/package.json +3 -3
- package/templates/react/igr-ts/radial-gauge/default/index.js +1 -1
- package/templates/webcomponents/TypeScriptFileUpdate.js +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/.npmrc +0 -2
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MultiTemplateComponent = void 0;
|
|
4
4
|
class MultiTemplateComponent {
|
|
5
|
-
constructor(testType, templatesMap) {
|
|
6
|
-
this.testType = testType;
|
|
7
|
-
this.templatesMap = templatesMap;
|
|
8
|
-
this.groupPriority = 0;
|
|
9
|
-
}
|
|
10
5
|
get templates() {
|
|
11
6
|
// TODO: prop-full
|
|
12
7
|
const templates = [];
|
|
@@ -15,6 +10,11 @@ class MultiTemplateComponent {
|
|
|
15
10
|
});
|
|
16
11
|
return templates;
|
|
17
12
|
}
|
|
13
|
+
constructor(testType, templatesMap) {
|
|
14
|
+
this.testType = testType;
|
|
15
|
+
this.templatesMap = templatesMap;
|
|
16
|
+
this.groupPriority = 0;
|
|
17
|
+
}
|
|
18
18
|
create(c) {
|
|
19
19
|
return new c();
|
|
20
20
|
}
|
package/lib/cli.js
CHANGED
|
@@ -32,8 +32,8 @@ function logHelp() {
|
|
|
32
32
|
cd: "$ig help"
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
function run(
|
|
36
|
-
return __awaiter(this,
|
|
35
|
+
function run() {
|
|
36
|
+
return __awaiter(this, arguments, void 0, function* (args = null) {
|
|
37
37
|
// we are subscribing on process.exit to catch when help is executed
|
|
38
38
|
process.on("exit", logHelp);
|
|
39
39
|
cli_core_1.App.initialize();
|
|
@@ -7,7 +7,7 @@ var FeatureOutputType;
|
|
|
7
7
|
FeatureOutputType[FeatureOutputType["JS"] = 0] = "JS";
|
|
8
8
|
/** XML-like output for AngularJS. */
|
|
9
9
|
FeatureOutputType[FeatureOutputType["AngularJS"] = 1] = "AngularJS";
|
|
10
|
-
})(FeatureOutputType
|
|
10
|
+
})(FeatureOutputType || (exports.FeatureOutputType = FeatureOutputType = {}));
|
|
11
11
|
class GridHelper {
|
|
12
12
|
/**
|
|
13
13
|
* Creates a new grid feature helper
|
|
@@ -5,6 +5,9 @@ const cli_core_1 = require("@igniteui/cli-core");
|
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const TypeScriptFileUpdate_1 = require("../../templates/webcomponents/TypeScriptFileUpdate");
|
|
7
7
|
class IgniteUIForWebComponentsTemplate {
|
|
8
|
+
get templatePaths() {
|
|
9
|
+
return [path.join(this.rootPath, "files")];
|
|
10
|
+
}
|
|
8
11
|
constructor(rootPath) {
|
|
9
12
|
this.rootPath = rootPath;
|
|
10
13
|
this.listInComponentTemplates = true;
|
|
@@ -16,9 +19,6 @@ class IgniteUIForWebComponentsTemplate {
|
|
|
16
19
|
this.dependencies = [];
|
|
17
20
|
this.delimiters = cli_core_1.defaultDelimiters;
|
|
18
21
|
}
|
|
19
|
-
get templatePaths() {
|
|
20
|
-
return [path.join(this.rootPath, "files")];
|
|
21
|
-
}
|
|
22
22
|
generateConfig(name, options) {
|
|
23
23
|
if (options["modulePath"] && !cli_core_1.Util.fileExists(path.join(process.cwd(), `src\\app`, options["modulePath"]))) {
|
|
24
24
|
cli_core_1.Util.error(`Wrong module path provided: ${options["modulePath"]}. No components were added!`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "13.1.13-beta.
|
|
3
|
+
"version": "13.1.13-beta.6",
|
|
4
4
|
"description": "CLI tool for creating Ignite UI projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"all": true
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@igniteui/angular-templates": "
|
|
76
|
-
"@igniteui/cli-core": "
|
|
75
|
+
"@igniteui/angular-templates": "~17.1.13113-beta.6",
|
|
76
|
+
"@igniteui/cli-core": "~13.1.13-beta.6",
|
|
77
77
|
"chalk": "^2.3.2",
|
|
78
78
|
"fs-extra": "^3.0.1",
|
|
79
79
|
"glob": "^7.1.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"opn": "^5.3.0",
|
|
82
82
|
"resolve": "^1.6.0",
|
|
83
83
|
"through2": "^2.0.3",
|
|
84
|
-
"typescript": "~4.
|
|
84
|
+
"typescript": "~5.4.3",
|
|
85
85
|
"yargs": "^8.0.2"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
@@ -24,7 +24,7 @@ class TreeGridFileExplorerTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
24
24
|
default: "",
|
|
25
25
|
key: "features",
|
|
26
26
|
message: "Select features for the igTreeGrid",
|
|
27
|
-
type: 1 /* MultiChoice */
|
|
27
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
28
28
|
};
|
|
29
29
|
this.extraConfigurations.push(featureConfiguration);
|
|
30
30
|
}
|
|
@@ -22,7 +22,7 @@ class GridTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
};
|
|
27
27
|
this.extraConfigurations.push(featureConfiguration);
|
|
28
28
|
}
|
|
@@ -25,7 +25,7 @@ class GridCustomTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
25
25
|
default: "",
|
|
26
26
|
key: "features",
|
|
27
27
|
message: "Select features for the igGrid",
|
|
28
|
-
type: 1 /* MultiChoice */
|
|
28
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
29
29
|
};
|
|
30
30
|
this.extraConfigurations.push(featureConfiguration);
|
|
31
31
|
}
|
|
@@ -22,7 +22,7 @@ class GridEditingTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
};
|
|
27
27
|
this.extraConfigurations.push(featureConfiguration);
|
|
28
28
|
}
|
|
@@ -23,7 +23,7 @@ class GridExportTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -22,7 +22,7 @@ class GridTemplatingTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
};
|
|
27
27
|
this.extraConfigurations.push(featureConfiguration);
|
|
28
28
|
}
|
|
@@ -23,7 +23,7 @@ class HierarchicalGridTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igHierarchicalGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -26,7 +26,7 @@ class HierarchicalGridCustomTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
26
26
|
default: "",
|
|
27
27
|
key: "features",
|
|
28
28
|
message: "Select features for the igHierarchicalGrid",
|
|
29
|
-
type: 1 /* MultiChoice */
|
|
29
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
30
30
|
};
|
|
31
31
|
this.extraConfigurations.push(featureConfiguration);
|
|
32
32
|
}
|
|
@@ -23,7 +23,7 @@ class HierarchicalGridEditingTemplate extends AngularTemplate_1.AngularTemplate
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igHierarchicalGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -24,7 +24,7 @@ class HierarchicalGridExportTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
24
24
|
default: "",
|
|
25
25
|
key: "features",
|
|
26
26
|
message: "Select features for the igHierarchicalGrid",
|
|
27
|
-
type: 1 /* MultiChoice */
|
|
27
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
28
28
|
};
|
|
29
29
|
this.extraConfigurations.push(featureConfiguration);
|
|
30
30
|
}
|
|
@@ -30,8 +30,8 @@ class EmptyAngularProject {
|
|
|
30
30
|
throw new Error("Method not implemented.");
|
|
31
31
|
}
|
|
32
32
|
upgradeIgniteUIPackages(projectPath, packagePath) {
|
|
33
|
-
var _a, _b, _c, _d;
|
|
34
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
var _a, _b, _c, _d;
|
|
35
35
|
const config = cli_core_1.ProjectConfig.getConfig();
|
|
36
36
|
const files = config.project.sourceFiles;
|
|
37
37
|
config.project.sourceFiles = files.map(x => {
|
|
@@ -23,7 +23,7 @@ class TreeGridTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -23,7 +23,7 @@ class TreeGridCustomTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -23,7 +23,7 @@ class TreeGridEditingTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select optional features for the editing template",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -24,7 +24,7 @@ class TreeGridExportTemplate extends AngularTemplate_1.AngularTemplate {
|
|
|
24
24
|
default: "",
|
|
25
25
|
key: "features",
|
|
26
26
|
message: "Select features for the igTreeGrid",
|
|
27
|
-
type: 1 /* MultiChoice */
|
|
27
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
28
28
|
};
|
|
29
29
|
this.extraConfigurations.push(featureConfiguration);
|
|
30
30
|
}
|
|
@@ -22,7 +22,7 @@ class FileExplorerTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igTreeGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
};
|
|
27
27
|
this.extraConfigurations.push(featureConfiguration);
|
|
28
28
|
}
|
|
@@ -23,7 +23,7 @@ class GridTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -27,7 +27,7 @@ class GridCustomTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
27
27
|
default: "",
|
|
28
28
|
key: "features",
|
|
29
29
|
message: "Select features for the custom igGrid",
|
|
30
|
-
type: 1 /* MultiChoice */
|
|
30
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
31
31
|
};
|
|
32
32
|
this.extraConfigurations.push(featureConfiguration);
|
|
33
33
|
}
|
|
@@ -25,7 +25,7 @@ class GridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
25
25
|
default: "",
|
|
26
26
|
key: "features",
|
|
27
27
|
message: "Select features for the igGrid",
|
|
28
|
-
type: 1 /* MultiChoice */
|
|
28
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
29
29
|
};
|
|
30
30
|
this.extraConfigurations.push(featureConfiguration);
|
|
31
31
|
}
|
|
@@ -24,7 +24,7 @@ class GridExportTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
24
24
|
default: "",
|
|
25
25
|
key: "features",
|
|
26
26
|
message: "Select features for the igGrid",
|
|
27
|
-
type: 1 /* MultiChoice */
|
|
27
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
28
28
|
};
|
|
29
29
|
this.extraConfigurations.push(featureConfiguration);
|
|
30
30
|
}
|
|
@@ -21,7 +21,7 @@ class GridTemplatingTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
21
21
|
default: "",
|
|
22
22
|
key: "features",
|
|
23
23
|
message: "Select features for the igGrid",
|
|
24
|
-
type: 1 /* MultiChoice */
|
|
24
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
25
25
|
};
|
|
26
26
|
this.extraConfigurations.push(featureConfiguration);
|
|
27
27
|
}
|
|
@@ -23,7 +23,7 @@ class HierarchicalGridTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igHierarchicalGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -28,7 +28,7 @@ class HierarchicalGridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
28
28
|
default: "",
|
|
29
29
|
key: "features",
|
|
30
30
|
message: "Select features for the igHierarchicalGrid",
|
|
31
|
-
type: 1 /* MultiChoice */
|
|
31
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
32
32
|
};
|
|
33
33
|
this.extraConfigurations.push(featureConfiguration);
|
|
34
34
|
}
|
|
@@ -25,7 +25,7 @@ class HierarchicalGridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
25
25
|
default: "",
|
|
26
26
|
key: "features",
|
|
27
27
|
message: "Select features for the igHierarchicalGrid",
|
|
28
|
-
type: 1 /* MultiChoice */
|
|
28
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
29
29
|
};
|
|
30
30
|
this.extraConfigurations.push(featureConfiguration);
|
|
31
31
|
}
|
|
@@ -26,7 +26,7 @@ class HierarchicalGridExportTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
26
26
|
default: "",
|
|
27
27
|
key: "features",
|
|
28
28
|
message: "Select features for the igHierarchicalGrid",
|
|
29
|
-
type: 1 /* MultiChoice */
|
|
29
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
30
30
|
};
|
|
31
31
|
this.extraConfigurations.push(featureConfiguration);
|
|
32
32
|
}
|
|
@@ -23,7 +23,7 @@ class TreeGridBasicTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -23,7 +23,7 @@ class TreeGridCustomTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -23,7 +23,7 @@ class TreeGridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select optional features for the editing template",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
};
|
|
28
28
|
this.extraConfigurations.push(featureConfiguration);
|
|
29
29
|
}
|
|
@@ -22,7 +22,7 @@ class TreeGridExportTemplate extends jQueryTemplate_1.jQueryTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select optional features for the export template",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
};
|
|
27
27
|
this.extraConfigurations.push(featureConfiguration);
|
|
28
28
|
}
|
|
@@ -197,7 +197,7 @@ class ReactTypeScriptFileUpdate {
|
|
|
197
197
|
importClause = ts.factory.createImportClause(false, ts.factory.createIdentifier(component), undefined);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
const importDeclaration = ts.factory.createImportDeclaration(undefined,
|
|
200
|
+
const importDeclaration = ts.factory.createImportDeclaration(undefined, importClause, ts.factory.createStringLiteral(importPath, true), undefined);
|
|
201
201
|
return importDeclaration;
|
|
202
202
|
}
|
|
203
203
|
//#endregion ts.TransformerFactory
|
|
@@ -22,7 +22,7 @@ class GridTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
generateConfig(name, ...options) {
|
|
@@ -25,7 +25,7 @@ class GridCustomTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
25
25
|
default: "",
|
|
26
26
|
key: "features",
|
|
27
27
|
message: "Select features for the igGrid",
|
|
28
|
-
type: 1 /* MultiChoice */
|
|
28
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
generateConfig(name, ...options) {
|
|
@@ -22,7 +22,7 @@ class GridEditingTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
generateConfig(name, ...options) {
|
|
@@ -23,7 +23,7 @@ class GridExportTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
generateConfig(name, ...options) {
|
|
@@ -22,7 +22,7 @@ class GridTemplatingTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
22
22
|
default: "",
|
|
23
23
|
key: "features",
|
|
24
24
|
message: "Select features for the igGrid",
|
|
25
|
-
type: 1 /* MultiChoice */
|
|
25
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
generateConfig(name, ...options) {
|
|
@@ -23,7 +23,7 @@ class HierarchicalGridTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igHierarchicalGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
generateConfig(name, ...options) {
|
|
@@ -26,7 +26,7 @@ class HierarchicalGridCustomTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
26
26
|
default: "",
|
|
27
27
|
key: "features",
|
|
28
28
|
message: "Select features for the igHierarchicalGrid",
|
|
29
|
-
type: 1 /* MultiChoice */
|
|
29
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
generateConfig(name, ...options) {
|
|
@@ -23,7 +23,7 @@ class HierarchicalGridEditingTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igHierarchicalGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
generateConfig(name, ...options) {
|
|
@@ -24,7 +24,7 @@ class HierarchicalGridExportTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
24
24
|
default: "",
|
|
25
25
|
key: "features",
|
|
26
26
|
message: "Select features for the igHierarchicalGrid",
|
|
27
|
-
type: 1 /* MultiChoice */
|
|
27
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
generateConfig(name, ...options) {
|
|
@@ -23,7 +23,7 @@ class TreeGridTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
generateConfig(name, ...options) {
|
|
@@ -23,7 +23,7 @@ class TreeGridCustomTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
generateConfig(name, ...options) {
|
|
@@ -23,7 +23,7 @@ class TreeGridEditingTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
23
23
|
default: "",
|
|
24
24
|
key: "features",
|
|
25
25
|
message: "Select features for the igTreeGrid",
|
|
26
|
-
type: 1 /* MultiChoice */
|
|
26
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
generateConfig(name, ...options) {
|
|
@@ -24,7 +24,7 @@ class TreeGridExportTemplate extends ReactTemplate_1.ReactTemplate {
|
|
|
24
24
|
default: "",
|
|
25
25
|
key: "features",
|
|
26
26
|
message: "Select features for the igTreeGrid",
|
|
27
|
-
type: 1 /* MultiChoice */
|
|
27
|
+
type: 1 /* ControlExtraConfigType.MultiChoice */
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
generateConfig(name, ...options) {
|
|
@@ -12,7 +12,7 @@ class IgrTsBulletGraphTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
|
|
|
12
12
|
this.name = "Bullet Graph";
|
|
13
13
|
this.description = `allows for a linear and concise view of measures compared against a scale.`;
|
|
14
14
|
// TODO: read version from igniteui-react-core in package.json
|
|
15
|
-
this.packages = ["igniteui-react-gauges
|
|
15
|
+
this.packages = ["igniteui-react-gauges@18.3.0"];
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
module.exports = new IgrTsBulletGraphTemplate();
|
|
@@ -13,7 +13,7 @@ class IgrTsCategoryChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForR
|
|
|
13
13
|
this.description = `makes visualizing category data easy. Simplifies the complexities
|
|
14
14
|
of the data visualization domain into manageable API`;
|
|
15
15
|
// TODO: read version from igniteui-react-core in package.json
|
|
16
|
-
this.packages = ["igniteui-react-charts
|
|
16
|
+
this.packages = ["igniteui-react-charts@18.3.0"];
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
module.exports = new IgrTsCategoryChartTemplate();
|
|
@@ -12,7 +12,7 @@ class IgrTsDoughnutChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForR
|
|
|
12
12
|
this.name = "Doughnut Chart";
|
|
13
13
|
this.description = `proportionally illustrate the occurrences of variables.`;
|
|
14
14
|
// TODO: read version from igniteui-react-core in package.json
|
|
15
|
-
this.packages = ["igniteui-react-charts
|
|
15
|
+
this.packages = ["igniteui-react-charts@18.3.0"];
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
module.exports = new IgrTsDoughnutChartTemplate();
|
|
@@ -14,7 +14,7 @@ class IgrTsFinancialChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIFor
|
|
|
14
14
|
this.description = `charting component that makes it easy to visualize financial data by
|
|
15
15
|
using a simple and intuitive API.`;
|
|
16
16
|
// TODO: read version from igniteui-react-core in package.json
|
|
17
|
-
this.packages = ["igniteui-react-charts
|
|
17
|
+
this.packages = ["igniteui-react-charts@18.3.0"];
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
module.exports = new IgrTsFinancialChartTemplate();
|
|
@@ -15,8 +15,8 @@ class GridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
|
15
15
|
this.components = ["Grid"];
|
|
16
16
|
this.controlGroup = "Data Grids";
|
|
17
17
|
// TODO: read version from igniteui-react-core in package.json
|
|
18
|
-
this.packages = ["igniteui-react-grids
|
|
19
|
-
"igniteui-react-layouts
|
|
18
|
+
this.packages = ["igniteui-react-grids@18.3.0", "igniteui-react-inputs@18.3.0",
|
|
19
|
+
"igniteui-react-layouts@18.3.0"];
|
|
20
20
|
this.hasExtraConfiguration = false;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -12,7 +12,7 @@ class IgrTsLinearGaugeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
|
|
|
12
12
|
this.name = "Linear Gauge";
|
|
13
13
|
this.description = `value compared against a scale and one or more ranges.`;
|
|
14
14
|
// TODO: read version from igniteui-react-core in package.json
|
|
15
|
-
this.packages = ["igniteui-react-gauges
|
|
15
|
+
this.packages = ["igniteui-react-gauges@18.3.0"];
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
module.exports = new IgrTsLinearGaugeTemplate();
|
|
@@ -12,7 +12,7 @@ class IgrTsPieChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactT
|
|
|
12
12
|
this.name = "Pie Chart";
|
|
13
13
|
this.description = `easily illustate the proportions of data entries`;
|
|
14
14
|
// TODO: read version from igniteui-react-core in package.json
|
|
15
|
-
this.packages = ["igniteui-react-charts
|
|
15
|
+
this.packages = ["igniteui-react-charts@18.3.0"];
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
module.exports = new IgrTsPieChartTemplate();
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"@testing-library/react": "^14.0.0",
|
|
9
9
|
"element-internals-polyfill": "^1.3.10",
|
|
10
10
|
"functions-have-names": "^1.2.3",
|
|
11
|
+
"igniteui-dockmanager": "^1.13.0",
|
|
12
|
+
"igniteui-react": "18.3.0",
|
|
13
|
+
"igniteui-react-core": "18.3.0",
|
|
11
14
|
"react": "^18.2.0",
|
|
12
15
|
"react-app-polyfill": "^0.2.0",
|
|
13
16
|
"react-dom": "^18.2.0",
|
|
@@ -37,9 +40,6 @@
|
|
|
37
40
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
38
41
|
"test": "vitest"
|
|
39
42
|
},
|
|
40
|
-
"eslintConfig": {
|
|
41
|
-
"extends": "react-app"
|
|
42
|
-
},
|
|
43
43
|
"browserslist": [
|
|
44
44
|
">0.2%",
|
|
45
45
|
"not dead",
|
|
@@ -13,7 +13,7 @@ class IgrTsRadialGaugeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
|
|
|
13
13
|
this.description = `provides a number of visual elements, like a needle, tick marks, ranges
|
|
14
14
|
and labels, in order to create a predefined shape and scale.`;
|
|
15
15
|
// TODO: read version from igniteui-react-core in package.json
|
|
16
|
-
this.packages = ["igniteui-react-gauges
|
|
16
|
+
this.packages = ["igniteui-react-gauges@18.3.0"];
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
module.exports = new IgrTsRadialGaugeTemplate();
|
|
@@ -188,7 +188,7 @@ class TypeScriptFileUpdate {
|
|
|
188
188
|
else {
|
|
189
189
|
importClause = undefined;
|
|
190
190
|
}
|
|
191
|
-
const importDeclaration = ts.factory.createImportDeclaration(undefined,
|
|
191
|
+
const importDeclaration = ts.factory.createImportDeclaration(undefined, importClause, ts.factory.createStringLiteral(importPath, true), undefined);
|
|
192
192
|
return importDeclaration;
|
|
193
193
|
}
|
|
194
194
|
//#endregion ts.TransformerFactory
|