@progress/kendo-angular-l10n 20.1.2-develop.2 → 21.0.0-develop.11
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/component-messages.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare abstract class ComponentMessages implements OnChanges, OnInit, On
|
|
|
17
17
|
protected get override(): boolean;
|
|
18
18
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
19
|
ngOnInit(): void;
|
|
20
|
-
protected register(changes:
|
|
20
|
+
protected register(changes: object): void;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentMessages, never>;
|
|
23
23
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentMessages, never, never, {}, {}, never, never, false, never>;
|
|
@@ -26,7 +26,6 @@ export class ComponentMessages {
|
|
|
26
26
|
ngOnInit() {
|
|
27
27
|
this.subscription = this.service.changes.pipe(skip(1)).subscribe(() => this.register(this));
|
|
28
28
|
}
|
|
29
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
30
29
|
register(changes) {
|
|
31
30
|
const keys = Object.keys(changes);
|
|
32
31
|
keys.forEach(key => this.service.register(key, this[key], this.override));
|
|
@@ -36,10 +35,10 @@ export class ComponentMessages {
|
|
|
36
35
|
this.subscription.unsubscribe();
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ComponentMessages, usesOnChanges: true, ngImport: i0 });
|
|
41
40
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ComponentMessages, decorators: [{
|
|
43
42
|
type: Directive,
|
|
44
43
|
args: [{}]
|
|
45
44
|
}] });
|
|
@@ -79,12 +79,12 @@ export class LocalizationService {
|
|
|
79
79
|
const alt = this.messageService.get(key);
|
|
80
80
|
return (alt === undefined) ? value : alt;
|
|
81
81
|
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
83
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
83
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizationService });
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizationService, decorators: [{
|
|
86
86
|
type: Injectable
|
|
87
|
-
}], ctorParameters:
|
|
87
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
88
88
|
type: Inject,
|
|
89
89
|
args: [L10N_PREFIX]
|
|
90
90
|
}] }, { type: i1.MessageService, decorators: [{
|
|
@@ -94,4 +94,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
94
94
|
}, {
|
|
95
95
|
type: Inject,
|
|
96
96
|
args: [RTL]
|
|
97
|
-
}] }]
|
|
97
|
+
}] }] });
|
|
@@ -47,9 +47,9 @@ export class MessageService {
|
|
|
47
47
|
get(_key) {
|
|
48
48
|
return undefined;
|
|
49
49
|
}
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
51
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageService });
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageService, decorators: [{
|
|
54
54
|
type: Injectable
|
|
55
|
-
}], ctorParameters:
|
|
55
|
+
}], ctorParameters: () => [] });
|
|
@@ -49,12 +49,12 @@ class MessageService {
|
|
|
49
49
|
get(_key) {
|
|
50
50
|
return undefined;
|
|
51
51
|
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
53
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageService });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageService, decorators: [{
|
|
56
56
|
type: Injectable
|
|
57
|
-
}], ctorParameters:
|
|
57
|
+
}], ctorParameters: () => [] });
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Base class that acts as a component messages container.
|
|
@@ -77,7 +77,6 @@ class ComponentMessages {
|
|
|
77
77
|
ngOnInit() {
|
|
78
78
|
this.subscription = this.service.changes.pipe(skip(1)).subscribe(() => this.register(this));
|
|
79
79
|
}
|
|
80
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
81
80
|
register(changes) {
|
|
82
81
|
const keys = Object.keys(changes);
|
|
83
82
|
keys.forEach(key => this.service.register(key, this[key], this.override));
|
|
@@ -87,10 +86,10 @@ class ComponentMessages {
|
|
|
87
86
|
this.subscription.unsubscribe();
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
91
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
89
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
90
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ComponentMessages, usesOnChanges: true, ngImport: i0 });
|
|
92
91
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ComponentMessages, decorators: [{
|
|
94
93
|
type: Directive,
|
|
95
94
|
args: [{}]
|
|
96
95
|
}] });
|
|
@@ -183,12 +182,12 @@ class LocalizationService {
|
|
|
183
182
|
const alt = this.messageService.get(key);
|
|
184
183
|
return (alt === undefined) ? value : alt;
|
|
185
184
|
}
|
|
186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
187
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizationService, deps: [{ token: L10N_PREFIX }, { token: MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
186
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizationService });
|
|
188
187
|
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizationService, decorators: [{
|
|
190
189
|
type: Injectable
|
|
191
|
-
}], ctorParameters:
|
|
190
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
192
191
|
type: Inject,
|
|
193
192
|
args: [L10N_PREFIX]
|
|
194
193
|
}] }, { type: MessageService, decorators: [{
|
|
@@ -198,7 +197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
198
197
|
}, {
|
|
199
198
|
type: Inject,
|
|
200
199
|
args: [RTL]
|
|
201
|
-
}] }]
|
|
200
|
+
}] }] });
|
|
202
201
|
|
|
203
202
|
/**
|
|
204
203
|
* Generated bundle index. Do not edit.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-l10n",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0-develop.11",
|
|
4
4
|
"description": "Kendo UI Angular l10n component - an easily customized popup from the most trusted provider of professional Angular components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"friendlyName": "Localization"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@angular/animations": "
|
|
22
|
-
"@angular/common": "
|
|
23
|
-
"@angular/core": "
|
|
24
|
-
"@angular/platform-browser": "
|
|
25
|
-
"@progress/kendo-angular-common": "
|
|
21
|
+
"@angular/animations": "18 - 20",
|
|
22
|
+
"@angular/common": "18 - 20",
|
|
23
|
+
"@angular/core": "18 - 20",
|
|
24
|
+
"@angular/platform-browser": "18 - 20",
|
|
25
|
+
"@progress/kendo-angular-common": "21.0.0-develop.11",
|
|
26
26
|
"@progress/kendo-licensing": "^1.7.0",
|
|
27
27
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"tslib": "^2.3.1",
|
|
31
|
-
"@progress/kendo-angular-schematics": "
|
|
31
|
+
"@progress/kendo-angular-schematics": "21.0.0-develop.11"
|
|
32
32
|
},
|
|
33
33
|
"schematics": "./schematics/collection.json",
|
|
34
34
|
"module": "fesm2022/progress-kendo-angular-l10n.mjs",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
5
|
function default_1(options) {
|
|
5
6
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'L10nModule', package: 'l10n' });
|
|
6
7
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
7
8
|
}
|
|
8
|
-
exports.default = default_1;
|