devextreme-schematics 1.12.2 → 1.13.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devextreme-schematics",
3
- "version": "1.12.2",
3
+ "version": "1.13.0",
4
4
  "description": "DevExtreme schematics",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.json",
@@ -38,5 +38,5 @@
38
38
  "tslint": "^5.20.1",
39
39
  "typescript": "~5.2.1"
40
40
  },
41
- "gitHead": "d8919cf6f14386254ace295b651ce3f532833ba8"
41
+ "gitHead": "51bbc8d2fbfa40b741792c6921e27429cdb04c6f"
42
42
  }
@@ -39,7 +39,7 @@
39
39
  "dxversion": {
40
40
  "type": "string",
41
41
  "description": "The DevExtreme version",
42
- "default": "25.1.7"
42
+ "default": "25.2.3"
43
43
  },
44
44
  "globalNgCliVersion": {
45
45
  "type":"string",
@@ -1,4 +1,4 @@
1
- <ng-container *ngIf="isAuthenticated(); else unauthenticated">
1
+ @if (isAuthenticated()) {
2
2
  <app-<%= layout %> title="{{appInfo.title}}">
3
3
  <router-outlet></router-outlet>
4
4
  <app-footer>
@@ -7,8 +7,6 @@
7
7
  All trademarks or registered trademarks are property of their respective owners.
8
8
  </app-footer>
9
9
  </app-<%= layout %>>
10
- </ng-container>
11
-
12
- <ng-template #unauthenticated>
10
+ } @else {
13
11
  <app-unauthenticated-content></app-unauthenticated-content>
14
- </ng-template>
12
+ }
@@ -11,13 +11,13 @@
11
11
  <app-side-navigation-menu
12
12
  [compactMode]="!menuOpened"
13
13
  [selectedItem]="selectedRoute"
14
- [ngClass]="swatchClassName"
14
+ [class]="swatchClassName"
15
15
  *dxTemplate="let dataMenu of 'panel'"
16
16
  (selectedItemChanged)="navigationChanged($event)"
17
17
  (openMenu)="navigationClick()">
18
18
  <dx-toolbar id="navigation-header">
19
+ @if (minMenuSize !== 0) {
19
20
  <dxi-toolbar-item
20
- *ngIf="minMenuSize !== 0"
21
21
  location="before"
22
22
  cssClass="menu-button"
23
23
  widget="dxButton"
@@ -27,6 +27,7 @@
27
27
  onClick: toggleMenu
28
28
  }">
29
29
  </dxi-toolbar-item>
30
+ }
30
31
  <dxi-toolbar-item
31
32
  location="before"
32
33
  cssClass="header-title"
@@ -18,7 +18,7 @@
18
18
  <app-side-navigation-menu
19
19
  [compactMode]="!menuOpened"
20
20
  [selectedItem]="selectedRoute"
21
- [ngClass]="swatchClassName"
21
+ [class]="swatchClassName"
22
22
  *dxTemplate="let dataMenu of 'panel'"
23
23
  (selectedItemChanged)="navigationChanged($event)"
24
24
  (openMenu)="navigationClick()">
@@ -23,10 +23,11 @@
23
23
  <ng-container *dxTemplate="let item of 'changePasswordTemplate'">
24
24
  <div>
25
25
  <span class="dx-button-text">
26
- <ng-container *ngIf="loading; else notLoading">
26
+ @if (loading) {
27
27
  <dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
28
- </ng-container>
29
- <ng-template #notLoading>Continue</ng-template>
28
+ } @else {
29
+ <div>Continue</div>
30
+ }
30
31
  </span>
31
32
  </div>
32
33
  </ng-container>
@@ -37,11 +37,11 @@
37
37
  <ng-container *dxTemplate="let item of 'createAccountTemplate'">
38
38
  <div>
39
39
  <span class="dx-button-text">
40
- <ng-container *ngIf="loading; else notLoading">
40
+ @if (loading) {
41
41
  <dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
42
- </ng-container>
43
-
44
- <ng-template #notLoading>Create a new account</ng-template>
42
+ } @else {
43
+ <div>Create a new account</div>
44
+ }
45
45
  </span>
46
46
  </div>
47
47
  </ng-container>
@@ -1,7 +1,7 @@
1
1
  <header>
2
2
  <dx-toolbar class="header-toolbar">
3
+ @if (menuToggleEnabled) {
3
4
  <dxi-toolbar-item
4
- *ngIf="menuToggleEnabled"
5
5
  location="before"
6
6
  widget="dxButton"
7
7
  cssClass="menu-button"
@@ -11,18 +11,20 @@
11
11
  onClick: toggleMenu
12
12
  }">
13
13
  </dxi-toolbar-item>
14
+ }
15
+ @if (title) {
14
16
  <dxi-toolbar-item
15
17
  location="before"
16
18
  cssClass="header-title"
17
- *ngIf="title"
18
19
  [text]="title">
19
20
  </dxi-toolbar-item>
21
+ }
20
22
  <dxi-toolbar-item
21
23
  location="after"
22
24
  >
23
- <ng-container *dxTemplate>
25
+ <div *dxTemplate>
24
26
  <theme-switcher></theme-switcher>
25
- </ng-container>
27
+ </div>
26
28
  </dxi-toolbar-item>
27
29
  <dxi-toolbar-item
28
30
  location="after"
@@ -27,10 +27,11 @@
27
27
  <ng-container *dxTemplate="let item of 'signInTemplate'">
28
28
  <div>
29
29
  <span class="dx-button-text">
30
- <ng-container *ngIf="loading; else notLoading">
30
+ @if (loading) {
31
31
  <dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
32
- </ng-container>
33
- <ng-template #notLoading>Sign In</ng-template>
32
+ } @else {
33
+ <div>Sign In</div>
34
+ }
34
35
  </span>
35
36
  </div>
36
37
  </ng-container>
@@ -17,10 +17,11 @@
17
17
  <ng-container *dxTemplate="let item of 'resetPasswordTemplate'">
18
18
  <div>
19
19
  <span class="dx-button-text">
20
- <ng-container *ngIf="loading; else notLoading">
20
+ @if (loading) {
21
21
  <dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
22
- </ng-container>
23
- <ng-template #notLoading>Reset my password</ng-template>
22
+ } @else {
23
+ <div>Reset my password</div>
24
+ }
24
25
  </span>
25
26
  </div>>
26
27
  </ng-container>
@@ -1,6 +1,6 @@
1
1
  <div class="user-panel">
2
+ @if (menuMode !== 'list') {
2
3
  <dx-drop-down-button
3
- *ngIf="menuMode !== 'list'"
4
4
  stylingMode="text"
5
5
  [icon]="'https://js.devexpress.com/Demos/WidgetsGallery/JSDemos/images/employees/06.png'"
6
6
  [showArrowIcon]="false"
@@ -10,11 +10,12 @@
10
10
  [elementAttr]="{class: 'user-button'}"
11
11
  [dropDownOptions]="{width: '150px'}">
12
12
  </dx-drop-down-button>
13
+ } @else {
13
14
  <dx-list
14
- *ngIf="menuMode === 'list'"
15
15
  displayExpr="text"
16
16
  keyExpr="id"
17
17
  width="130"
18
18
  [items]="menuItems">
19
19
  </dx-list>
20
+ }
20
21
  </div>
@@ -7,7 +7,7 @@
7
7
  "dxversion": {
8
8
  "type": "string",
9
9
  "description": "The DevExtreme version",
10
- "default": "25.1.7"
10
+ "default": "25.2.3"
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': '25.1.7',
7
- 'devextreme-angular': '25.1.7',
6
+ 'devextreme': '25.2.3',
7
+ 'devextreme-angular': '25.2.3',
8
8
  'devextreme-cli': 'latest',
9
9
  'sass-embedded': '1.66.0'
10
10
  };
@@ -1,7 +1,7 @@
1
1
  // TODO: implement
2
2
  export const latestVersions = {
3
- 'devextreme': '25.1.7',
4
- 'devextreme-angular': '25.1.7',
3
+ 'devextreme': '25.2.3',
4
+ 'devextreme-angular': '25.2.3',
5
5
  'devextreme-cli': 'latest',
6
6
  'sass-embedded': '1.66.0'
7
7
  };