ng-alain 16.2.0 → 16.2.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/application/files/root/.eslintrc.js +3 -1
- package/application/files/src/app/app.component.ts +1 -1
- package/application/files/src/app/layout/basic/widgets/user.component.ts +1 -1
- package/application/files/src/app/layout/blank/blank.component.ts +1 -1
- package/application/files/src/app/routes/exception/exception.component.ts +1 -1
- package/application/files/src/app/routes/passport/lock/lock.component.html +1 -1
- package/application/files/src/app/routes/passport/login/login.component.html +1 -1
- package/application/files/src/app/routes/passport/register/register.component.html +4 -9
- package/package.json +1 -1
- package/utils/lib-versions.js +1 -1
- package/utils/lib-versions.ts +1 -1
|
@@ -7,7 +7,7 @@ import { SettingsService, User } from '@delon/theme';
|
|
|
7
7
|
selector: 'header-user',
|
|
8
8
|
template: `
|
|
9
9
|
<div class="alain-default__nav-item d-flex align-items-center px-sm" nz-dropdown nzPlacement="bottomRight" [nzDropdownMenu]="userMenu">
|
|
10
|
-
<nz-avatar [nzSrc]="user.avatar" nzSize="small" class="mr-sm"
|
|
10
|
+
<nz-avatar [nzSrc]="user.avatar" nzSize="small" class="mr-sm" />
|
|
11
11
|
{{ user.name }}
|
|
12
12
|
</div>
|
|
13
13
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
@@ -4,7 +4,7 @@ import { ExceptionType } from '@delon/abc/exception';
|
|
|
4
4
|
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'app-exception',
|
|
7
|
-
template: ` <exception [type]="type" style="min-height: 500px; height: 80%;"
|
|
7
|
+
template: ` <exception [type]="type" style="min-height: 500px; height: 80%;" />`,
|
|
8
8
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
9
9
|
})
|
|
10
10
|
export class ExceptionComponent {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="ant-card width-lg" style="margin: 0 auto">
|
|
2
2
|
<div class="ant-card-body">
|
|
3
3
|
<div class="avatar">
|
|
4
|
-
<nz-avatar [nzSrc]="user.avatar" nzIcon="user" nzSize="large"
|
|
4
|
+
<nz-avatar [nzSrc]="user.avatar" nzIcon="user" nzSize="large" />
|
|
5
5
|
</div>
|
|
6
6
|
<form nz-form [formGroup]="f" (ngSubmit)="submit()" role="form" class="mt-md">
|
|
7
7
|
<nz-form-item>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<form nz-form [formGroup]="form" (ngSubmit)="submit()" role="form">
|
|
2
2
|
<nz-tabset [nzAnimated]="false" class="tabs" (nzSelectChange)="switch($event)">
|
|
3
3
|
<nz-tab [nzTitle]="'app.login.tab-login-credentials' | i18n">
|
|
4
|
-
<nz-alert *ngIf="error" [nzType]="'error'" [nzMessage]="error" [nzShowIcon]="true" class="mb-lg"
|
|
4
|
+
<nz-alert *ngIf="error" [nzType]="'error'" [nzMessage]="error" [nzShowIcon]="true" class="mb-lg" />
|
|
5
5
|
<nz-form-item>
|
|
6
6
|
<nz-form-control nzErrorTip="Please enter mobile number, muse be: admin or user">
|
|
7
7
|
<nz-input-group nzSize="large" nzPrefixIcon="user">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<h3>{{ 'app.register.register' | i18n }}</h3>
|
|
2
2
|
<form nz-form [formGroup]="form" (ngSubmit)="submit()" role="form">
|
|
3
|
-
<nz-alert *ngIf="error" [nzType]="'error'" [nzMessage]="error" [nzShowIcon]="true" class="mb-lg"
|
|
3
|
+
<nz-alert *ngIf="error" [nzType]="'error'" [nzMessage]="error" [nzShowIcon]="true" class="mb-lg" />
|
|
4
4
|
<nz-form-item>
|
|
5
5
|
<nz-form-control [nzErrorTip]="mailErrorTip">
|
|
6
6
|
<nz-input-group nzSize="large" nzAddonBeforeIcon="user">
|
|
@@ -35,12 +35,7 @@
|
|
|
35
35
|
<div *ngSwitchDefault class="error">{{ 'validation.password.strength.short' | i18n }}</div>
|
|
36
36
|
</ng-container>
|
|
37
37
|
<div class="progress-{{ status }}">
|
|
38
|
-
<nz-progress
|
|
39
|
-
[nzPercent]="progress"
|
|
40
|
-
[nzStatus]="passwordProgressMap[status]"
|
|
41
|
-
[nzStrokeWidth]="6"
|
|
42
|
-
[nzShowInfo]="false"
|
|
43
|
-
></nz-progress>
|
|
38
|
+
<nz-progress [nzPercent]="progress" [nzStatus]="passwordProgressMap[status]" [nzStrokeWidth]="6" [nzShowInfo]="false" />
|
|
44
39
|
</div>
|
|
45
40
|
<p class="mt-sm">{{ 'validation.password.strength.msg' | i18n }}</p>
|
|
46
41
|
</div>
|
|
@@ -63,8 +58,8 @@
|
|
|
63
58
|
<nz-input-group nzSize="large" [nzAddOnBefore]="addOnBeforeTemplate">
|
|
64
59
|
<ng-template #addOnBeforeTemplate>
|
|
65
60
|
<nz-select formControlName="mobilePrefix" style="width: 100px">
|
|
66
|
-
<nz-option [nzLabel]="'+86'" [nzValue]="'+86'"
|
|
67
|
-
<nz-option [nzLabel]="'+87'" [nzValue]="'+87'"
|
|
61
|
+
<nz-option [nzLabel]="'+86'" [nzValue]="'+86'" />
|
|
62
|
+
<nz-option [nzLabel]="'+87'" [nzValue]="'+87'" />
|
|
68
63
|
</nz-select>
|
|
69
64
|
</ng-template>
|
|
70
65
|
<input formControlName="mobile" nz-input placeholder="Phone number" />
|
package/package.json
CHANGED
package/utils/lib-versions.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ZORROVERSION = exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '^16.2.
|
|
4
|
+
exports.VERSION = '^16.2.1';
|
|
5
5
|
exports.ZORROVERSION = '^16.1.0';
|
|
6
6
|
//# sourceMappingURL=lib-versions.js.map
|
package/utils/lib-versions.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '^16.2.
|
|
1
|
+
export const VERSION = '^16.2.1';
|
|
2
2
|
export const ZORROVERSION = '^16.1.0';
|