devextreme-schematics 1.5.1 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devextreme-schematics",
3
- "version": "1.5.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.0.0",
26
- "@angular-devkit/schematics": "^12.0.0",
27
- "@schematics/angular": "^12.0.0"
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.6",
30
+ "@types/jasmine": "~3.10.13",
31
31
  "@types/node": "ts4.3",
32
- "@types/semver": "^7.3.10",
33
- "jasmine": "^2.8.0",
34
- "rxjs": "^6.0.0",
35
- "tslint": "^5.15.0",
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": "bebd9a5ab2b2f012e8234c909f8fd7b77fc79d96"
38
+ "gitHead": "a18bca062ee354ea47ad90df2c18e87e03d0db7e"
39
39
  }
@@ -39,7 +39,7 @@
39
39
  "dxversion": {
40
40
  "type": "string",
41
41
  "description": "The DevExtreme version",
42
- "default": "^22.2.4"
42
+ "default": "^23.1.5"
43
43
  },
44
44
  "globalNgCliVersion": {
45
45
  "type":"string",
@@ -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 { ItemClickEvent as TreeViewItemClickEvent } from 'devextreme/ui/tree_view';
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: ToolbarItemClickEvent) => {
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: TreeViewItemClickEvent) {
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 { ItemClickEvent } from 'devextreme/ui/tree_view';
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/ui/validation_rules';
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/ui/validation_rules';
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 { ItemClickEvent } from 'devextreme/ui/tree_view';
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
 
@@ -7,7 +7,7 @@
7
7
  "dxversion": {
8
8
  "type": "string",
9
9
  "description": "The DevExtreme version",
10
- "default": "^22.2.4"
10
+ "default": "^23.1.5"
11
11
  },
12
12
  "project": {
13
13
  "type": "string",
@@ -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': '^22.2.4',
7
- 'devextreme-angular': '^22.2.4',
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
@@ -1,6 +1,6 @@
1
1
  // TODO: implement
2
2
  export const latestVersions = {
3
- 'devextreme': '^22.2.4',
4
- 'devextreme-angular': '^22.2.4',
3
+ 'devextreme': '^23.1.5',
4
+ 'devextreme-angular': '^23.1.5',
5
5
  'devextreme-cli': 'latest'
6
6
  };