ng-alain 16.2.1 → 16.3.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/application/files/src/app/routes/passport/callback.component.ts +3 -6
- package/application/files/src/app/routes/routes-routing.module.ts +1 -0
- package/application/index.js +4 -4
- package/application/index.ts +4 -4
- package/package.json +1 -1
- package/utils/lib-versions.js +1 -1
- package/utils/lib-versions.ts +1 -1
- package/utils/versions.js +15 -15
- package/utils/versions.ts +15 -15
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
1
|
+
import { Component, Input, OnInit } from '@angular/core';
|
|
3
2
|
import { SocialService } from '@delon/auth';
|
|
4
3
|
import { SettingsService } from '@delon/theme';
|
|
5
4
|
|
|
@@ -9,16 +8,14 @@ import { SettingsService } from '@delon/theme';
|
|
|
9
8
|
providers: [SocialService]
|
|
10
9
|
})
|
|
11
10
|
export class CallbackComponent implements OnInit {
|
|
12
|
-
type = '';
|
|
11
|
+
@Input() type = '';
|
|
13
12
|
|
|
14
13
|
constructor(
|
|
15
14
|
private socialService: SocialService,
|
|
16
|
-
private settingsSrv: SettingsService
|
|
17
|
-
private route: ActivatedRoute
|
|
15
|
+
private settingsSrv: SettingsService
|
|
18
16
|
) {}
|
|
19
17
|
|
|
20
18
|
ngOnInit(): void {
|
|
21
|
-
this.type = this.route.snapshot.params['type'];
|
|
22
19
|
this.mockModel();
|
|
23
20
|
}
|
|
24
21
|
|
|
@@ -60,6 +60,7 @@ const routes: Routes = [
|
|
|
60
60
|
// NOTICE: If you use `reuse-tab` component and turn on keepingScroll you can set to `disabled`
|
|
61
61
|
// Pls refer to https://ng-alain.com/components/reuse-tab
|
|
62
62
|
scrollPositionRestoration: 'top',
|
|
63
|
+
bindToComponentInputs: true
|
|
63
64
|
}
|
|
64
65
|
)],
|
|
65
66
|
exports: [RouterModule],
|
package/application/index.js
CHANGED
|
@@ -146,10 +146,10 @@ function addCodeStylesToPackageJson() {
|
|
|
146
146
|
}
|
|
147
147
|
// dependencies
|
|
148
148
|
(0, utils_1.addPackage)(tree, [
|
|
149
|
-
`husky@^
|
|
150
|
-
`lint-staged@^
|
|
151
|
-
`prettier@^3.0.
|
|
152
|
-
`stylelint@^15.10.
|
|
149
|
+
`husky@^8.0.3`,
|
|
150
|
+
`lint-staged@^14.0.1`,
|
|
151
|
+
`prettier@^3.0.2`,
|
|
152
|
+
`stylelint@^15.10.3`,
|
|
153
153
|
`stylelint-config-rational-order@^0.1.2`,
|
|
154
154
|
`stylelint-config-standard@^34.0.0`,
|
|
155
155
|
`stylelint-declaration-block-no-ignored-properties@^2.7.0`,
|
package/application/index.ts
CHANGED
|
@@ -183,10 +183,10 @@ function addCodeStylesToPackageJson(): Rule {
|
|
|
183
183
|
addPackage(
|
|
184
184
|
tree,
|
|
185
185
|
[
|
|
186
|
-
`husky@^
|
|
187
|
-
`lint-staged@^
|
|
188
|
-
`prettier@^3.0.
|
|
189
|
-
`stylelint@^15.10.
|
|
186
|
+
`husky@^8.0.3`,
|
|
187
|
+
`lint-staged@^14.0.1`,
|
|
188
|
+
`prettier@^3.0.2`,
|
|
189
|
+
`stylelint@^15.10.3`,
|
|
190
190
|
`stylelint-config-rational-order@^0.1.2`,
|
|
191
191
|
`stylelint-config-standard@^34.0.0`,
|
|
192
192
|
`stylelint-declaration-block-no-ignored-properties@^2.7.0`,
|
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.
|
|
4
|
+
exports.VERSION = '^16.3.0';
|
|
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.
|
|
1
|
+
export const VERSION = '^16.3.0';
|
|
2
2
|
export const ZORROVERSION = '^16.1.0';
|
package/utils/versions.js
CHANGED
|
@@ -21,26 +21,26 @@ const workspace_2 = require("./workspace");
|
|
|
21
21
|
function UpgradeMainVersions(tree, version = lib_versions_1.VERSION) {
|
|
22
22
|
(0, package_1.addPackage)(tree, ['abc', 'acl', 'auth', 'cache', 'form', 'mock', 'theme', 'util', 'chart'].map(name => `@delon/${name}@${version}`));
|
|
23
23
|
(0, package_1.addPackage)(tree, [
|
|
24
|
-
`@angular-eslint/builder@~16.1.
|
|
25
|
-
`@angular-eslint/eslint-plugin@~16.1.
|
|
26
|
-
`@angular-eslint/eslint-plugin-template@~16.1.
|
|
27
|
-
`@angular-eslint/schematics@~16.1.
|
|
28
|
-
`@angular-eslint/template-parser@~16.1.
|
|
29
|
-
`@typescript-eslint/eslint-plugin@~6.1
|
|
30
|
-
`@typescript-eslint/parser@~6.1
|
|
31
|
-
`eslint@^8.
|
|
32
|
-
`eslint-config-prettier@~
|
|
33
|
-
`eslint-plugin-import@~2.
|
|
34
|
-
`eslint-plugin-jsdoc@~46.
|
|
24
|
+
`@angular-eslint/builder@~16.1.1`,
|
|
25
|
+
`@angular-eslint/eslint-plugin@~16.1.1`,
|
|
26
|
+
`@angular-eslint/eslint-plugin-template@~16.1.1`,
|
|
27
|
+
`@angular-eslint/schematics@~16.1.1`,
|
|
28
|
+
`@angular-eslint/template-parser@~16.1.1`,
|
|
29
|
+
`@typescript-eslint/eslint-plugin@~6.4.1`,
|
|
30
|
+
`@typescript-eslint/parser@~6.4.1`,
|
|
31
|
+
`eslint@^8.48.0`,
|
|
32
|
+
`eslint-config-prettier@~9.0.0`,
|
|
33
|
+
`eslint-plugin-import@~2.28.1`,
|
|
34
|
+
`eslint-plugin-jsdoc@~46.5.0`,
|
|
35
35
|
`eslint-plugin-prefer-arrow@~1.2.3`,
|
|
36
36
|
`eslint-plugin-prettier@~5.0.0`,
|
|
37
|
-
`eslint-plugin-deprecation@~1.
|
|
38
|
-
`prettier@^3.0.
|
|
39
|
-
`husky@^
|
|
37
|
+
`eslint-plugin-deprecation@~1.5.0`,
|
|
38
|
+
`prettier@^3.0.2`,
|
|
39
|
+
`husky@^8.0.3`,
|
|
40
40
|
`ng-alain@${version}`,
|
|
41
41
|
`ng-alain-plugin-theme@^15.0.1`,
|
|
42
42
|
`source-map-explorer@^2.5.3`,
|
|
43
|
-
`@angular/language-service@^16.
|
|
43
|
+
`@angular/language-service@^16.2.0`,
|
|
44
44
|
`@delon/testing@${version}`
|
|
45
45
|
], 'devDependencies');
|
|
46
46
|
(0, package_1.addPackage)(tree, [`rxjs@~7.8.0`, `ng-zorro-antd@^16.1.0`]);
|
package/utils/versions.ts
CHANGED
|
@@ -17,26 +17,26 @@ export function UpgradeMainVersions(tree: Tree, version: string = VERSION): void
|
|
|
17
17
|
addPackage(
|
|
18
18
|
tree,
|
|
19
19
|
[
|
|
20
|
-
`@angular-eslint/builder@~16.1.
|
|
21
|
-
`@angular-eslint/eslint-plugin@~16.1.
|
|
22
|
-
`@angular-eslint/eslint-plugin-template@~16.1.
|
|
23
|
-
`@angular-eslint/schematics@~16.1.
|
|
24
|
-
`@angular-eslint/template-parser@~16.1.
|
|
25
|
-
`@typescript-eslint/eslint-plugin@~6.1
|
|
26
|
-
`@typescript-eslint/parser@~6.1
|
|
27
|
-
`eslint@^8.
|
|
28
|
-
`eslint-config-prettier@~
|
|
29
|
-
`eslint-plugin-import@~2.
|
|
30
|
-
`eslint-plugin-jsdoc@~46.
|
|
20
|
+
`@angular-eslint/builder@~16.1.1`,
|
|
21
|
+
`@angular-eslint/eslint-plugin@~16.1.1`,
|
|
22
|
+
`@angular-eslint/eslint-plugin-template@~16.1.1`,
|
|
23
|
+
`@angular-eslint/schematics@~16.1.1`,
|
|
24
|
+
`@angular-eslint/template-parser@~16.1.1`,
|
|
25
|
+
`@typescript-eslint/eslint-plugin@~6.4.1`,
|
|
26
|
+
`@typescript-eslint/parser@~6.4.1`,
|
|
27
|
+
`eslint@^8.48.0`,
|
|
28
|
+
`eslint-config-prettier@~9.0.0`,
|
|
29
|
+
`eslint-plugin-import@~2.28.1`,
|
|
30
|
+
`eslint-plugin-jsdoc@~46.5.0`,
|
|
31
31
|
`eslint-plugin-prefer-arrow@~1.2.3`,
|
|
32
32
|
`eslint-plugin-prettier@~5.0.0`,
|
|
33
|
-
`eslint-plugin-deprecation@~1.
|
|
34
|
-
`prettier@^3.0.
|
|
35
|
-
`husky@^
|
|
33
|
+
`eslint-plugin-deprecation@~1.5.0`,
|
|
34
|
+
`prettier@^3.0.2`,
|
|
35
|
+
`husky@^8.0.3`,
|
|
36
36
|
`ng-alain@${version}`,
|
|
37
37
|
`ng-alain-plugin-theme@^15.0.1`,
|
|
38
38
|
`source-map-explorer@^2.5.3`,
|
|
39
|
-
`@angular/language-service@^16.
|
|
39
|
+
`@angular/language-service@^16.2.0`,
|
|
40
40
|
`@delon/testing@${version}`
|
|
41
41
|
],
|
|
42
42
|
'devDependencies'
|