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 +2 -2
- package/src/add-app-template/schema.json +1 -1
- package/src/add-layout/files/src/app/__name__.html +3 -5
- package/src/add-layout/files/src/app/layouts/side-nav-inner-toolbar/side-nav-inner-toolbar.component.html +3 -2
- package/src/add-layout/files/src/app/layouts/side-nav-outer-toolbar/side-nav-outer-toolbar.component.html +1 -1
- package/src/add-layout/files/src/app/shared/components/change-password-form/change-password-form.component.html +4 -3
- package/src/add-layout/files/src/app/shared/components/create-account-form/create-account-form.component.html +4 -4
- package/src/add-layout/files/src/app/shared/components/header/header.component.html +6 -4
- package/src/add-layout/files/src/app/shared/components/login-form/login-form.component.html +4 -3
- package/src/add-layout/files/src/app/shared/components/reset-password-form/reset-password-form.component.html +4 -3
- package/src/add-layout/files/src/app/shared/components/user-panel/user-panel.component.html +3 -2
- 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.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": "
|
|
41
|
+
"gitHead": "51bbc8d2fbfa40b741792c6921e27429cdb04c6f"
|
|
42
42
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
<ng-template #unauthenticated>
|
|
10
|
+
} @else {
|
|
13
11
|
<app-unauthenticated-content></app-unauthenticated-content>
|
|
14
|
-
|
|
12
|
+
}
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
<app-side-navigation-menu
|
|
12
12
|
[compactMode]="!menuOpened"
|
|
13
13
|
[selectedItem]="selectedRoute"
|
|
14
|
-
[
|
|
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
|
-
[
|
|
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
|
-
|
|
26
|
+
@if (loading) {
|
|
27
27
|
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
40
|
+
@if (loading) {
|
|
41
41
|
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
<
|
|
25
|
+
<div *dxTemplate>
|
|
24
26
|
<theme-switcher></theme-switcher>
|
|
25
|
-
</
|
|
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
|
-
|
|
30
|
+
@if (loading) {
|
|
31
31
|
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
20
|
+
@if (loading) {
|
|
21
21
|
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
|
|
22
|
-
|
|
23
|
-
|
|
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>
|
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': '25.
|
|
7
|
-
'devextreme-angular': '25.
|
|
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
|
};
|