devextreme-schematics 1.5.1 → 1.6.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 +10 -10
- package/src/add-app-template/schema.json +1 -1
- package/src/add-layout/files/src/app/layouts/side-nav-inner-toolbar/side-nav-inner-toolbar.component.ts +4 -5
- package/src/add-layout/files/src/app/layouts/side-nav-outer-toolbar/side-nav-outer-toolbar.component.ts +2 -2
- package/src/add-layout/files/src/app/shared/components/change-password-form/change-password-form.component.ts +1 -1
- package/src/add-layout/files/src/app/shared/components/create-account-form/create-account-form.component.ts +1 -1
- package/src/add-layout/files/src/app/shared/components/side-navigation-menu/side-navigation-menu.component.ts +3 -4
- package/src/install/schema.json +1 -1
- package/src/utility/latest-versions.js +2 -2
- package/src/utility/latest-versions.ts +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "devextreme-schematics",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.6.1",
|
4
4
|
"description": "DevExtreme schematics",
|
5
5
|
"scripts": {
|
6
6
|
"build": "tsc -p tsconfig.json",
|
@@ -22,18 +22,18 @@
|
|
22
22
|
],
|
23
23
|
"schematics": "./src/collection.json",
|
24
24
|
"dependencies": {
|
25
|
-
"@angular-devkit/core": "^12.
|
26
|
-
"@angular-devkit/schematics": "^12.
|
27
|
-
"@schematics/angular": "^12.
|
25
|
+
"@angular-devkit/core": "^12.2.18",
|
26
|
+
"@angular-devkit/schematics": "^12.2.18",
|
27
|
+
"@schematics/angular": "^12.2.18"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@types/jasmine": "~3.10.
|
30
|
+
"@types/jasmine": "~3.10.13",
|
31
31
|
"@types/node": "ts4.3",
|
32
|
-
"@types/semver": "^7.
|
33
|
-
"jasmine": "^2.
|
34
|
-
"rxjs": "^6.
|
35
|
-
"tslint": "^5.
|
32
|
+
"@types/semver": "^7.5.2",
|
33
|
+
"jasmine": "^2.99.0",
|
34
|
+
"rxjs": "^6.6.7",
|
35
|
+
"tslint": "^5.20.1",
|
36
36
|
"typescript": "^4.3.1"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "a18bca062ee354ea47ad90df2c18e87e03d0db7e"
|
39
39
|
}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { Component, OnInit, NgModule, Input, ViewChild } from '@angular/core';
|
2
2
|
import { SideNavigationMenuModule, HeaderModule } from '../../shared/components';
|
3
3
|
import { ScreenService } from '../../shared/services';
|
4
|
-
import {
|
5
|
-
import { ItemClickEvent as ToolbarItemClickEvent } from 'devextreme/ui/toolbar';
|
4
|
+
import { DxTreeViewTypes } from 'devextreme-angular/ui/tree-view';
|
6
5
|
import { DxDrawerModule } from 'devextreme-angular/ui/drawer';
|
7
6
|
import { DxScrollViewModule, DxScrollViewComponent } from 'devextreme-angular/ui/scroll-view';
|
8
|
-
import { DxToolbarModule } from 'devextreme-angular/ui/toolbar';
|
7
|
+
import { DxToolbarModule, DxToolbarTypes } from 'devextreme-angular/ui/toolbar';
|
9
8
|
import { CommonModule } from '@angular/common';
|
10
9
|
|
11
10
|
import { Router, NavigationEnd } from '@angular/router';
|
@@ -56,7 +55,7 @@ export class SideNavInnerToolbarComponent implements OnInit {
|
|
56
55
|
this.shaderEnabled = !isLarge;
|
57
56
|
}
|
58
57
|
|
59
|
-
toggleMenu = (e:
|
58
|
+
toggleMenu = (e: DxToolbarTypes.ItemClickEvent) => {
|
60
59
|
this.menuOpened = !this.menuOpened;
|
61
60
|
e.event?.stopPropagation();
|
62
61
|
}
|
@@ -69,7 +68,7 @@ export class SideNavInnerToolbarComponent implements OnInit {
|
|
69
68
|
return !this.menuOpened;
|
70
69
|
}
|
71
70
|
|
72
|
-
navigationChanged(event:
|
71
|
+
navigationChanged(event: DxTreeViewTypes.ItemClickEvent) {
|
73
72
|
const path = (event.itemData as any).path;
|
74
73
|
const pointerEvent = event.event;
|
75
74
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Component, OnInit, NgModule, Input, ViewChild } from '@angular/core';
|
2
2
|
import { SideNavigationMenuModule, HeaderModule } from '../../shared/components';
|
3
3
|
import { ScreenService } from '../../shared/services';
|
4
|
-
import {
|
4
|
+
import { DxTreeViewTypes } from 'devextreme-angular/ui/tree-view';
|
5
5
|
import { DxDrawerModule } from 'devextreme-angular/ui/drawer';
|
6
6
|
import { DxScrollViewModule, DxScrollViewComponent } from 'devextreme-angular/ui/scroll-view';
|
7
7
|
import { CommonModule } from '@angular/common';
|
@@ -62,7 +62,7 @@ export class SideNavOuterToolbarComponent implements OnInit {
|
|
62
62
|
return !this.menuOpened;
|
63
63
|
}
|
64
64
|
|
65
|
-
navigationChanged(event: ItemClickEvent) {
|
65
|
+
navigationChanged(event: DxTreeViewTypes.ItemClickEvent) {
|
66
66
|
const path = (event.itemData as any).path;
|
67
67
|
const pointerEvent = event.event;
|
68
68
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
2
2
|
import { Component, NgModule, OnInit } from '@angular/core';
|
3
3
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
4
|
-
import { ValidationCallbackData } from 'devextreme/
|
4
|
+
import { ValidationCallbackData } from 'devextreme-angular/common';
|
5
5
|
import { DxFormModule } from 'devextreme-angular/ui/form';
|
6
6
|
import { DxLoadIndicatorModule } from 'devextreme-angular/ui/load-indicator';
|
7
7
|
import notify from 'devextreme/ui/notify';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
2
2
|
import { Component, NgModule } from '@angular/core';
|
3
3
|
import { Router, RouterModule } from '@angular/router';
|
4
|
-
import { ValidationCallbackData } from 'devextreme/
|
4
|
+
import { ValidationCallbackData } from 'devextreme-angular/common';
|
5
5
|
import { DxFormModule } from 'devextreme-angular/ui/form';
|
6
6
|
import { DxLoadIndicatorModule } from 'devextreme-angular/ui/load-indicator';
|
7
7
|
import notify from 'devextreme/ui/notify';
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { Component, NgModule, Output, Input, EventEmitter, ViewChild, ElementRef, AfterViewInit, OnDestroy } from '@angular/core';
|
2
|
-
import {
|
3
|
-
import { DxTreeViewModule, DxTreeViewComponent } from 'devextreme-angular/ui/tree-view';
|
2
|
+
import { DxTreeViewModule, DxTreeViewComponent, DxTreeViewTypes } from 'devextreme-angular/ui/tree-view';
|
4
3
|
import { navigation } from '../../../app-navigation';
|
5
4
|
|
6
5
|
import * as events from 'devextreme/events';
|
@@ -15,7 +14,7 @@ export class SideNavigationMenuComponent implements AfterViewInit, OnDestroy {
|
|
15
14
|
menu!: DxTreeViewComponent;
|
16
15
|
|
17
16
|
@Output()
|
18
|
-
selectedItemChanged = new EventEmitter<ItemClickEvent>();
|
17
|
+
selectedItemChanged = new EventEmitter<DxTreeViewTypes.ItemClickEvent>();
|
19
18
|
|
20
19
|
@Output()
|
21
20
|
openMenu = new EventEmitter<any>();
|
@@ -66,7 +65,7 @@ export class SideNavigationMenuComponent implements AfterViewInit, OnDestroy {
|
|
66
65
|
|
67
66
|
constructor(private elementRef: ElementRef) { }
|
68
67
|
|
69
|
-
onItemClick(event: ItemClickEvent) {
|
68
|
+
onItemClick(event: DxTreeViewTypes.ItemClickEvent) {
|
70
69
|
this.selectedItemChanged.emit(event);
|
71
70
|
}
|
72
71
|
|
package/src/install/schema.json
CHANGED
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.latestVersions = void 0;
|
4
4
|
// TODO: implement
|
5
5
|
exports.latestVersions = {
|
6
|
-
'devextreme': '^
|
7
|
-
'devextreme-angular': '^
|
6
|
+
'devextreme': '^23.1.5',
|
7
|
+
'devextreme-angular': '^23.1.5',
|
8
8
|
'devextreme-cli': 'latest'
|
9
9
|
};
|
10
10
|
//# sourceMappingURL=latest-versions.js.map
|