@progress/kendo-angular-schematics 17.0.0-develop.9 → 17.0.1-develop.1
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 +6 -6
- package/src/chart/schema.d.ts +1 -1
- package/src/chart/schema.js +4 -4
- package/src/chart/schema.js.map +1 -1
- package/src/grid/schema.js +1 -1
- package/src/grid/schema.js.map +1 -1
- package/src/ngAdd/theming.d.ts +1 -1
- package/src/ngAdd/theming.js +1 -1
- package/src/rules/index.d.ts +1 -1
- package/src/utils/ast-utils.d.ts +1 -1
- package/src/utils/test/create-main-bootstrap.js +1 -1
- package/src/utils/workspace.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-schematics",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.1-develop.1",
|
|
4
4
|
"description": "Kendo UI Schematics for Angular",
|
|
5
5
|
"license": "SEE LICENSE in LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
],
|
|
23
23
|
"schematics": "./collection.json",
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@angular/core": "
|
|
26
|
-
"@angular-devkit/core": "
|
|
27
|
-
"@angular-devkit/schematics": "
|
|
28
|
-
"@schematics/angular": "
|
|
25
|
+
"@angular/core": "16 - 18",
|
|
26
|
+
"@angular-devkit/core": "16 - 18",
|
|
27
|
+
"@angular-devkit/schematics": "16 - 18",
|
|
28
|
+
"@schematics/angular": "16 - 18",
|
|
29
29
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@progress/kendo-angular-schematics": "17.0.
|
|
32
|
+
"@progress/kendo-angular-schematics": "17.0.1-develop.1",
|
|
33
33
|
"semver": "^7.5.3",
|
|
34
34
|
"@types/semver": "^7.5.0"
|
|
35
35
|
},
|
package/src/chart/schema.d.ts
CHANGED
|
@@ -228,4 +228,4 @@ export interface DonutChartSchema extends CircularChartSchema {
|
|
|
228
228
|
category: string;
|
|
229
229
|
categories: string[];
|
|
230
230
|
}
|
|
231
|
-
export
|
|
231
|
+
export type KendoAngularChartSchema = CategoricalChartSchema | CategoricalRangeChartSchema | ScatterChartSchema | StockChartSchema | PieChartSchema | DonutChartSchema;
|
package/src/chart/schema.js
CHANGED
|
@@ -24,7 +24,7 @@ var DataSource;
|
|
|
24
24
|
* but in general the user will have to author some code to connect the data.
|
|
25
25
|
*/
|
|
26
26
|
DataSource["Existing App Data"] = "Existing App Data";
|
|
27
|
-
})(DataSource
|
|
27
|
+
})(DataSource || (exports.DataSource = DataSource = {}));
|
|
28
28
|
var CategoricalChartType;
|
|
29
29
|
(function (CategoricalChartType) {
|
|
30
30
|
CategoricalChartType["area"] = "area";
|
|
@@ -40,17 +40,17 @@ var CategoricalChartType;
|
|
|
40
40
|
CategoricalChartType["rangeBar"] = "rangeBar";
|
|
41
41
|
CategoricalChartType["rangeColumn"] = "rangeColumn";
|
|
42
42
|
CategoricalChartType["waterfall"] = "waterfall";
|
|
43
|
-
})(CategoricalChartType
|
|
43
|
+
})(CategoricalChartType || (exports.CategoricalChartType = CategoricalChartType = {}));
|
|
44
44
|
var ValueAxisType;
|
|
45
45
|
(function (ValueAxisType) {
|
|
46
46
|
ValueAxisType["numeric"] = "numeric";
|
|
47
47
|
ValueAxisType["log"] = "log";
|
|
48
|
-
})(ValueAxisType
|
|
48
|
+
})(ValueAxisType || (exports.ValueAxisType = ValueAxisType = {}));
|
|
49
49
|
var CategoryAxisType;
|
|
50
50
|
(function (CategoryAxisType) {
|
|
51
51
|
CategoryAxisType["category"] = "category";
|
|
52
52
|
CategoryAxisType["date"] = "date";
|
|
53
|
-
})(CategoryAxisType
|
|
53
|
+
})(CategoryAxisType || (exports.CategoryAxisType = CategoryAxisType = {}));
|
|
54
54
|
function isCategorical(chart) {
|
|
55
55
|
return chart.chartType == "area" ||
|
|
56
56
|
chart.chartType == "bar" ||
|
package/src/chart/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/schematics/src/chart/schema.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAoBX;AApBD,WAAY,UAAU;IAClB;;;;;OAKG;IACH,iCAAqB,CAAA;IAErB;;;OAGG;IACH,qCAAyB,CAAA;IAEzB;;;OAGG;IACH,qDAAyC,CAAA;AAC7C,CAAC,EApBW,UAAU,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/schematics/src/chart/schema.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAoBX;AApBD,WAAY,UAAU;IAClB;;;;;OAKG;IACH,iCAAqB,CAAA;IAErB;;;OAGG;IACH,qCAAyB,CAAA;IAEzB;;;OAGG;IACH,qDAAyC,CAAA;AAC7C,CAAC,EApBW,UAAU,0BAAV,UAAU,QAoBrB;AA4ID,IAAY,oBAcX;AAdD,WAAY,oBAAoB;IAC5B,qCAAe,CAAA;IACf,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,mEAA6C,CAAA;IAC7C,qCAAe,CAAA;IACf,+CAAyB,CAAA;IACzB,mDAA6B,CAAA;IAC7B,+CAAyB,CAAA;IACzB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,mDAA6B,CAAA;IAC7B,+CAAyB,CAAA;AAC7B,CAAC,EAdW,oBAAoB,oCAApB,oBAAoB,QAc/B;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,oCAAqB,CAAA;IACrB,4BAAa,CAAA;AACjB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,yCAAuB,CAAA;IACvB,iCAAe,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AAoCD,SAAgB,aAAa,CAAC,KAA8B;IACxD,OAAO,KAAK,CAAC,SAAS,IAAI,MAAM;QAC5B,KAAK,CAAC,SAAS,IAAI,KAAK;QACxB,KAAK,CAAC,SAAS,IAAI,QAAQ;QAC3B,KAAK,CAAC,SAAS,IAAI,QAAQ;QAC3B,KAAK,CAAC,SAAS,IAAI,qBAAqB;QACxC,KAAK,CAAC,SAAS,IAAI,MAAM;QACzB,KAAK,CAAC,SAAS,IAAI,WAAW;QAC9B,KAAK,CAAC,SAAS,IAAI,aAAa;QAChC,KAAK,CAAC,SAAS,IAAI,WAAW;QAC9B,KAAK,CAAC,SAAS,IAAI,WAAW,CAAC;AACvC,CAAC;AAXD,sCAWC;AAMD,SAAgB,kBAAkB,CAAC,KAA8B;IAC7D,OAAO,KAAK,CAAC,SAAS,IAAI,WAAW,IAAI,KAAK,CAAC,SAAS,IAAI,UAAU,IAAI,KAAK,CAAC,SAAS,IAAI,aAAa,CAAC;AAC/G,CAAC;AAFD,gDAEC"}
|
package/src/grid/schema.js
CHANGED
|
@@ -24,7 +24,7 @@ var DataSource;
|
|
|
24
24
|
// * but in general the user will have to author some code to connect the data.
|
|
25
25
|
// */
|
|
26
26
|
// "Existing App Data" = "Existing App Data"
|
|
27
|
-
})(DataSource
|
|
27
|
+
})(DataSource || (exports.DataSource = DataSource = {}));
|
|
28
28
|
// export interface Column {
|
|
29
29
|
// field?: string,
|
|
30
30
|
// title?: string,
|
package/src/grid/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/schematics/src/grid/schema.ts"],"names":[],"mappings":";;;AAEA,IAAY,UAoBX;AApBD,WAAY,UAAU;IACpB;;;;;OAKG;IACH,iCAAqB,CAAA;IAErB;;;OAGG;IACH,qCAAyB,CAAA;IAEzB,MAAM;IACN,oFAAoF;IACpF,gFAAgF;IAChF,MAAM;IACN,4CAA4C;AAC9C,CAAC,EApBW,UAAU,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/schematics/src/grid/schema.ts"],"names":[],"mappings":";;;AAEA,IAAY,UAoBX;AApBD,WAAY,UAAU;IACpB;;;;;OAKG;IACH,iCAAqB,CAAA;IAErB;;;OAGG;IACH,qCAAyB,CAAA;IAEzB,MAAM;IACN,oFAAoF;IACpF,gFAAgF;IAChF,MAAM;IACN,4CAA4C;AAC9C,CAAC,EApBW,UAAU,0BAAV,UAAU,QAoBrB;AAoCD,4BAA4B;AAC5B,oBAAoB;AACpB,oBAAoB;AACpB,sBAAsB;AACtB,sBAAsB;AACtB,sBAAsB;AACtB,0BAA0B;AAC1B,wBAAwB;AACxB,oBAAoB;AACpB,IAAI;AAEJ,0GAA0G"}
|
package/src/ngAdd/theming.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Rule } from '@angular-devkit/schematics';
|
|
6
6
|
import { Schema as RegisterSchema } from './schema';
|
|
7
|
-
export declare const themeVersion = "^
|
|
7
|
+
export declare const themeVersion = "^10.0.1";
|
|
8
8
|
export declare function importTheme(options: RegisterSchema): Rule;
|
package/src/ngAdd/theming.js
CHANGED
|
@@ -14,7 +14,7 @@ const themePackageName = (options) => {
|
|
|
14
14
|
return `@progress/kendo-theme-${options.theme}`;
|
|
15
15
|
};
|
|
16
16
|
const themePath = (name) => `node_modules/${name}/dist/all.css`;
|
|
17
|
-
exports.themeVersion = '^
|
|
17
|
+
exports.themeVersion = '^10.0.1';
|
|
18
18
|
function importTheme(options) {
|
|
19
19
|
const theme = themePackageName(options);
|
|
20
20
|
if (!theme)
|
package/src/rules/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ import { Observable } from 'rxjs';
|
|
|
7
7
|
export declare function applyChanges(host: Tree, path: string, changes: any[]): void;
|
|
8
8
|
export declare function addDeclarationToNgModule(options: any): Rule;
|
|
9
9
|
export declare function addToPackageJson(options: any): Rule;
|
|
10
|
-
export
|
|
10
|
+
export type ComponentTemplate = (context: SchematicContext) => Observable<{}>;
|
|
11
11
|
export declare function withBase(componentTemplate: ComponentTemplate, rules: Rule): any;
|
package/src/utils/ast-utils.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as ts from 'typescript';
|
|
6
|
-
|
|
6
|
+
type ModuleOptions = {
|
|
7
7
|
source: ts.SourceFile;
|
|
8
8
|
symbolName: string;
|
|
9
9
|
modulePath?: string;
|
package/src/utils/workspace.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { workspaces } from '@angular-devkit/core';
|
|
6
6
|
import { Tree } from '@angular-devkit/schematics';
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type WorkspaceSchema = workspaces.WorkspaceDefinition;
|
|
8
|
+
export type WorkspaceProject = workspaces.ProjectDefinition;
|
|
9
9
|
export declare function getWorkspace(host: Tree): WorkspaceSchema;
|
|
10
10
|
export declare function getWorkspacePath(host: Tree): string;
|
|
11
11
|
/**
|