devextreme-schematics 1.10.0 → 1.10.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 +5 -5
- package/src/add-layout/files/src/app/layouts/side-nav-inner-toolbar/side-nav-inner-toolbar.component.html +4 -4
- package/src/add-layout/files/src/app/shared/components/change-password-form/change-password-form.component.html +14 -14
- package/src/add-layout/files/src/app/shared/components/create-account-form/create-account-form.component.html +21 -21
- package/src/add-layout/files/src/app/shared/components/header/header.component.html +8 -8
- package/src/add-layout/files/src/app/shared/components/login-form/login-form.component.html +16 -16
- package/src/add-layout/files/src/app/shared/components/reset-password-form/reset-password-form.component.html +9 -9
- package/src/add-sample-views/files/pages/tasks/tasks.component.html +24 -24
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "devextreme-schematics",
|
3
|
-
"version": "1.10.
|
3
|
+
"version": "1.10.1",
|
4
4
|
"description": "DevExtreme schematics",
|
5
5
|
"scripts": {
|
6
6
|
"build": "tsc -p tsconfig.json",
|
@@ -22,9 +22,9 @@
|
|
22
22
|
],
|
23
23
|
"schematics": "./src/collection.json",
|
24
24
|
"dependencies": {
|
25
|
-
"@angular-devkit/core": "^17.3.
|
26
|
-
"@angular-devkit/schematics": "^17.3.
|
27
|
-
"@schematics/angular": "^17.3.
|
25
|
+
"@angular-devkit/core": "^17.3.15",
|
26
|
+
"@angular-devkit/schematics": "^17.3.15",
|
27
|
+
"@schematics/angular": "^17.3.15"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
30
|
"@types/jasmine": "~3.10.18",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
"tslint": "^5.20.1",
|
36
36
|
"typescript": "~5.2.1"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "c8a1d6b0ae5e608f67ed1fbbd1fba3427f3cbfcf"
|
39
39
|
}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
(selectedItemChanged)="navigationChanged($event)"
|
17
17
|
(openMenu)="navigationClick()">
|
18
18
|
<dx-toolbar id="navigation-header">
|
19
|
-
<dxi-item
|
19
|
+
<dxi-toolbar-item
|
20
20
|
*ngIf="minMenuSize !== 0"
|
21
21
|
location="before"
|
22
22
|
cssClass="menu-button"
|
@@ -26,12 +26,12 @@
|
|
26
26
|
stylingMode: 'text',
|
27
27
|
onClick: toggleMenu
|
28
28
|
}">
|
29
|
-
</dxi-item>
|
30
|
-
<dxi-item
|
29
|
+
</dxi-toolbar-item>
|
30
|
+
<dxi-toolbar-item
|
31
31
|
location="before"
|
32
32
|
cssClass="header-title"
|
33
33
|
[text]="title">
|
34
|
-
</dxi-item>
|
34
|
+
</dxi-toolbar-item>
|
35
35
|
</dx-toolbar>
|
36
36
|
</app-side-navigation-menu>
|
37
37
|
|
@@ -1,24 +1,24 @@
|
|
1
1
|
<form (submit)="onSubmit($event)">
|
2
2
|
<dx-form [formData]="formData" [disabled]="loading">
|
3
3
|
|
4
|
-
<dxi-item dataField="password" editorType="dxTextBox"
|
4
|
+
<dxi-form-item dataField="password" editorType="dxTextBox"
|
5
5
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Password', mode: 'password' }">
|
6
|
-
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
|
7
|
-
<dxo-label [visible]="false"></dxo-label>
|
8
|
-
</dxi-item>
|
6
|
+
<dxi-form-validation-rule type="required" message="Password is required"></dxi-form-validation-rule>
|
7
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
8
|
+
</dxi-form-item>
|
9
9
|
|
10
|
-
<dxi-item dataField="confirmedPassword" editorType="dxTextBox"
|
10
|
+
<dxi-form-item dataField="confirmedPassword" editorType="dxTextBox"
|
11
11
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Confirm Password', mode: 'password' }">
|
12
|
-
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
|
13
|
-
<dxi-validation-rule type="custom" message="Passwords do not match" [validationCallback]="confirmPassword">
|
14
|
-
</dxi-validation-rule>
|
15
|
-
<dxo-label [visible]="false"></dxo-label>
|
16
|
-
</dxi-item>
|
12
|
+
<dxi-form-validation-rule type="required" message="Password is required"></dxi-form-validation-rule>
|
13
|
+
<dxi-form-validation-rule type="custom" message="Passwords do not match" [validationCallback]="confirmPassword">
|
14
|
+
</dxi-form-validation-rule>
|
15
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
16
|
+
</dxi-form-item>
|
17
17
|
|
18
|
-
<dxi-item itemType="button">
|
19
|
-
<dxo-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'changePasswordTemplate'">
|
20
|
-
</dxo-button-options>
|
21
|
-
</dxi-item>
|
18
|
+
<dxi-form-item itemType="button">
|
19
|
+
<dxo-form-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'changePasswordTemplate'">
|
20
|
+
</dxo-form-button-options>
|
21
|
+
</dxi-form-item>
|
22
22
|
|
23
23
|
<ng-container *dxTemplate="let item of 'changePasswordTemplate'">
|
24
24
|
<div>
|
@@ -1,38 +1,38 @@
|
|
1
1
|
<form class="create-account-form" (submit)="onSubmit($event)">
|
2
2
|
<dx-form [formData]="formData" [disabled]="loading">
|
3
3
|
|
4
|
-
<dxi-item dataField="email" editorType="dxTextBox"
|
4
|
+
<dxi-form-item dataField="email" editorType="dxTextBox"
|
5
5
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Email', mode: 'email' }">
|
6
|
-
<dxi-validation-rule type="required" message="Email is required"></dxi-validation-rule>
|
7
|
-
<dxi-validation-rule type="email" message="Email is invalid"></dxi-validation-rule>
|
8
|
-
<dxo-label [visible]="false"></dxo-label>
|
9
|
-
</dxi-item>
|
6
|
+
<dxi-form-validation-rule type="required" message="Email is required"></dxi-form-validation-rule>
|
7
|
+
<dxi-form-validation-rule type="email" message="Email is invalid"></dxi-form-validation-rule>
|
8
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
9
|
+
</dxi-form-item>
|
10
10
|
|
11
|
-
<dxi-item dataField="password" editorType="dxTextBox"
|
11
|
+
<dxi-form-item dataField="password" editorType="dxTextBox"
|
12
12
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Password', mode: 'password' }">
|
13
|
-
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
|
14
|
-
<dxo-label [visible]="false"></dxo-label>
|
15
|
-
</dxi-item>
|
13
|
+
<dxi-form-validation-rule type="required" message="Password is required"></dxi-form-validation-rule>
|
14
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
15
|
+
</dxi-form-item>
|
16
16
|
|
17
|
-
<dxi-item dataField="confirmedPassword" editorType="dxTextBox"
|
17
|
+
<dxi-form-item dataField="confirmedPassword" editorType="dxTextBox"
|
18
18
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Confirm Password', mode: 'password' }">
|
19
|
-
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
|
20
|
-
<dxi-validation-rule type="custom" message="Passwords do not match" [validationCallback]="confirmPassword">
|
21
|
-
</dxi-validation-rule>
|
22
|
-
<dxo-label [visible]="false"></dxo-label>
|
23
|
-
</dxi-item>
|
19
|
+
<dxi-form-validation-rule type="required" message="Password is required"></dxi-form-validation-rule>
|
20
|
+
<dxi-form-validation-rule type="custom" message="Passwords do not match" [validationCallback]="confirmPassword">
|
21
|
+
</dxi-form-validation-rule>
|
22
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
23
|
+
</dxi-form-item>
|
24
24
|
|
25
|
-
<dxi-item>
|
25
|
+
<dxi-form-item>
|
26
26
|
<div class='policy-info'>
|
27
27
|
By creating an account, you agree to the <a routerLink="#">Terms of Service</a> and <a routerLink="#">Privacy
|
28
28
|
Policy</a>
|
29
29
|
</div>
|
30
|
-
</dxi-item>
|
30
|
+
</dxi-form-item>
|
31
31
|
|
32
|
-
<dxi-item itemType="button">
|
33
|
-
<dxo-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'createAccountTemplate'">
|
34
|
-
</dxo-button-options>
|
35
|
-
</dxi-item>
|
32
|
+
<dxi-form-item itemType="button">
|
33
|
+
<dxo-form-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'createAccountTemplate'">
|
34
|
+
</dxo-form-button-options>
|
35
|
+
</dxi-form-item>
|
36
36
|
|
37
37
|
<ng-container *dxTemplate="let item of 'createAccountTemplate'">
|
38
38
|
<div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<header>
|
2
2
|
<dx-toolbar class="header-toolbar">
|
3
|
-
<dxi-item
|
3
|
+
<dxi-toolbar-item
|
4
4
|
*ngIf="menuToggleEnabled"
|
5
5
|
location="before"
|
6
6
|
widget="dxButton"
|
@@ -10,28 +10,28 @@
|
|
10
10
|
stylingMode: 'text',
|
11
11
|
onClick: toggleMenu
|
12
12
|
}">
|
13
|
-
</dxi-item>
|
14
|
-
<dxi-item
|
13
|
+
</dxi-toolbar-item>
|
14
|
+
<dxi-toolbar-item
|
15
15
|
location="before"
|
16
16
|
cssClass="header-title"
|
17
17
|
*ngIf="title"
|
18
18
|
[text]="title">
|
19
|
-
</dxi-item>
|
20
|
-
<dxi-item
|
19
|
+
</dxi-toolbar-item>
|
20
|
+
<dxi-toolbar-item
|
21
21
|
location="after"
|
22
22
|
>
|
23
23
|
<ng-container *dxTemplate>
|
24
24
|
<theme-switcher></theme-switcher>
|
25
25
|
</ng-container>
|
26
|
-
</dxi-item>
|
27
|
-
<dxi-item
|
26
|
+
</dxi-toolbar-item>
|
27
|
+
<dxi-toolbar-item
|
28
28
|
location="after"
|
29
29
|
locateInMenu="auto"
|
30
30
|
menuItemTemplate="menuItem">
|
31
31
|
<div *dxTemplate="let data of 'item'">
|
32
32
|
<app-user-panel [menuItems]="userMenuItems"></app-user-panel>
|
33
33
|
</div>
|
34
|
-
</dxi-item>
|
34
|
+
</dxi-toolbar-item>
|
35
35
|
<div *dxTemplate="let data of 'menuItem'">
|
36
36
|
<app-user-panel [menuItems]="userMenuItems" menuMode="list"></app-user-panel>
|
37
37
|
</div>
|
@@ -1,28 +1,28 @@
|
|
1
1
|
<form class="login-form" (submit)="onSubmit($event)">
|
2
2
|
<dx-form [formData]="formData" [disabled]="loading">
|
3
3
|
|
4
|
-
<dxi-item dataField="email" editorType="dxTextBox"
|
4
|
+
<dxi-form-item dataField="email" editorType="dxTextBox"
|
5
5
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Email', mode: 'email' }">
|
6
|
-
<dxi-validation-rule type="required" message="Email is required"></dxi-validation-rule>
|
7
|
-
<dxi-validation-rule type="email" message="Email is invalid"></dxi-validation-rule>
|
8
|
-
<dxo-label [visible]="false"></dxo-label>
|
9
|
-
</dxi-item>
|
6
|
+
<dxi-form-validation-rule type="required" message="Email is required"></dxi-form-validation-rule>
|
7
|
+
<dxi-form-validation-rule type="email" message="Email is invalid"></dxi-form-validation-rule>
|
8
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
9
|
+
</dxi-form-item>
|
10
10
|
|
11
|
-
<dxi-item dataField="password" editorType="dxTextBox"
|
11
|
+
<dxi-form-item dataField="password" editorType="dxTextBox"
|
12
12
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Password', mode: 'password' }">
|
13
|
-
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
|
14
|
-
<dxo-label [visible]="false"></dxo-label>
|
15
|
-
</dxi-item>
|
13
|
+
<dxi-form-validation-rule type="required" message="Password is required"></dxi-form-validation-rule>
|
14
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
15
|
+
</dxi-form-item>
|
16
16
|
|
17
|
-
<dxi-item dataField="rememberMe" editorType="dxCheckBox"
|
17
|
+
<dxi-form-item dataField="rememberMe" editorType="dxCheckBox"
|
18
18
|
[editorOptions]="{ text: 'Remember me', elementAttr: { class: 'form-text' } }">
|
19
|
-
<dxo-label [visible]="false"></dxo-label>
|
20
|
-
</dxi-item>
|
19
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
20
|
+
</dxi-form-item>
|
21
21
|
|
22
|
-
<dxi-item itemType="button">
|
23
|
-
<dxo-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'signInTemplate'">
|
24
|
-
</dxo-button-options>
|
25
|
-
</dxi-item>
|
22
|
+
<dxi-form-item itemType="button">
|
23
|
+
<dxo-form-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'signInTemplate'">
|
24
|
+
</dxo-form-button-options>
|
25
|
+
</dxi-form-item>
|
26
26
|
|
27
27
|
<ng-container *dxTemplate="let item of 'signInTemplate'">
|
28
28
|
<div>
|
@@ -1,18 +1,18 @@
|
|
1
1
|
<form class="reset-password-form" (submit)="onSubmit($event)">
|
2
2
|
<dx-form [formData]="formData" [disabled]="loading">
|
3
3
|
|
4
|
-
<dxi-item dataField="email" editorType="dxTextBox"
|
4
|
+
<dxi-form-item dataField="email" editorType="dxTextBox"
|
5
5
|
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Email', mode: 'email' }">
|
6
|
-
<dxi-validation-rule type="required" message="Email is required"></dxi-validation-rule>
|
7
|
-
<dxi-validation-rule type="email" message="Email is invalid"></dxi-validation-rule>
|
8
|
-
<dxo-label [visible]="false"></dxo-label>
|
9
|
-
</dxi-item>
|
6
|
+
<dxi-form-validation-rule type="required" message="Email is required"></dxi-form-validation-rule>
|
7
|
+
<dxi-form-validation-rule type="email" message="Email is invalid"></dxi-form-validation-rule>
|
8
|
+
<dxo-form-label [visible]="false"></dxo-form-label>
|
9
|
+
</dxi-form-item>
|
10
10
|
|
11
|
-
<dxi-item itemType="button">
|
12
|
-
<dxo-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'resetPasswordTemplate'"
|
11
|
+
<dxi-form-item itemType="button">
|
12
|
+
<dxo-form-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'resetPasswordTemplate'"
|
13
13
|
[elementAttr]="{ class: 'submit-button' }">
|
14
|
-
</dxo-button-options>
|
15
|
-
</dxi-item>
|
14
|
+
</dxo-form-button-options>
|
15
|
+
</dxi-form-item>
|
16
16
|
|
17
17
|
<ng-container *dxTemplate="let item of 'resetPasswordTemplate'">
|
18
18
|
<div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<h2>Tasks</h2>
|
2
2
|
|
3
|
-
<dx-data-grid
|
3
|
+
<dx-data-grid
|
4
4
|
class="dx-card content-block"
|
5
5
|
[dataSource]="dataSource"
|
6
6
|
[showBorders]="false"
|
@@ -9,63 +9,63 @@
|
|
9
9
|
[columnAutoWidth]="true"
|
10
10
|
[columnHidingEnabled]="true">
|
11
11
|
|
12
|
-
<dxo-paging [pageSize]="10"></dxo-paging>
|
13
|
-
<dxo-pager [showPageSizeSelector]="true" [showInfo]="true"></dxo-pager>
|
14
|
-
<dxo-filter-row [visible]="true"></dxo-filter-row>
|
12
|
+
<dxo-data-grid-paging [pageSize]="10"></dxo-data-grid-paging>
|
13
|
+
<dxo-data-grid-pager [showPageSizeSelector]="true" [showInfo]="true"></dxo-data-grid-pager>
|
14
|
+
<dxo-data-grid-filter-row [visible]="true"></dxo-data-grid-filter-row>
|
15
15
|
|
16
|
-
<dxi-column
|
16
|
+
<dxi-data-grid-column
|
17
17
|
dataField="Task_ID"
|
18
18
|
[width]="90"
|
19
19
|
[hidingPriority]="2">
|
20
|
-
</dxi-column>
|
21
|
-
<dxi-column
|
20
|
+
</dxi-data-grid-column>
|
21
|
+
<dxi-data-grid-column
|
22
22
|
dataField="Task_Subject"
|
23
23
|
[width]="190"
|
24
24
|
caption="Subject"
|
25
25
|
[hidingPriority]="8">
|
26
|
-
</dxi-column>
|
27
|
-
<dxi-column
|
26
|
+
</dxi-data-grid-column>
|
27
|
+
<dxi-data-grid-column
|
28
28
|
dataField="Task_Status"
|
29
29
|
caption="Status"
|
30
30
|
[hidingPriority]="6">
|
31
|
-
</dxi-column>
|
32
|
-
<dxi-column
|
31
|
+
</dxi-data-grid-column>
|
32
|
+
<dxi-data-grid-column
|
33
33
|
dataField="Task_Priority"
|
34
34
|
caption="Priority"
|
35
35
|
[hidingPriority]="5">
|
36
|
-
<dxo-lookup
|
36
|
+
<dxo-data-grid-lookup
|
37
37
|
[dataSource]="priority"
|
38
38
|
valueExpr="value"
|
39
39
|
displayExpr="name">
|
40
|
-
</dxo-lookup>
|
41
|
-
</dxi-column>
|
42
|
-
<dxi-column
|
40
|
+
</dxo-data-grid-lookup>
|
41
|
+
</dxi-data-grid-column>
|
42
|
+
<dxi-data-grid-column
|
43
43
|
dataField="ResponsibleEmployee.Employee_Full_Name"
|
44
44
|
caption="Assigned To"
|
45
45
|
[allowSorting]="false"
|
46
46
|
[hidingPriority]="7">
|
47
|
-
</dxi-column>
|
48
|
-
<dxi-column
|
47
|
+
</dxi-data-grid-column>
|
48
|
+
<dxi-data-grid-column
|
49
49
|
dataField="Task_Start_Date"
|
50
50
|
caption="Start Date"
|
51
51
|
dataType="date"
|
52
52
|
[hidingPriority]="3">
|
53
|
-
</dxi-column>
|
54
|
-
<dxi-column
|
53
|
+
</dxi-data-grid-column>
|
54
|
+
<dxi-data-grid-column
|
55
55
|
dataField="Task_Due_Date"
|
56
56
|
caption="Due Date"
|
57
57
|
dataType="date"
|
58
58
|
[hidingPriority]="4">
|
59
|
-
</dxi-column>
|
60
|
-
<dxi-column
|
59
|
+
</dxi-data-grid-column>
|
60
|
+
<dxi-data-grid-column
|
61
61
|
dataField="Task_Priority"
|
62
62
|
caption="Priority"
|
63
63
|
name="Priority"
|
64
64
|
[hidingPriority]="1">
|
65
|
-
</dxi-column>
|
66
|
-
<dxi-column
|
65
|
+
</dxi-data-grid-column>
|
66
|
+
<dxi-data-grid-column
|
67
67
|
dataField="Task_Completion"
|
68
68
|
caption="Completion"
|
69
69
|
[hidingPriority]="0">
|
70
|
-
</dxi-column>
|
70
|
+
</dxi-data-grid-column>
|
71
71
|
</dx-data-grid>
|