@progress/kendo-angular-l10n 3.0.4-dev.202202251002 → 4.0.0-dev.202204131625

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.
Files changed (32) hide show
  1. package/bundles/kendo-angular-l10n.umd.js +5 -0
  2. package/{dist/es2015/component-messages.d.ts → component-messages.d.ts} +4 -1
  3. package/{dist/es2015 → esm2015}/component-messages.js +8 -0
  4. package/{dist/es/index.js → esm2015/kendo-angular-l10n.js} +0 -0
  5. package/{dist/es2015 → esm2015}/localization.service.js +19 -12
  6. package/{dist/es → esm2015}/main.js +0 -0
  7. package/{dist/es2015 → esm2015}/message.service.js +11 -14
  8. package/{dist/es2015 → esm2015}/rtl.js +0 -0
  9. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-l10n.js} +37 -24
  10. package/{dist/es2015/index.js → kendo-angular-l10n.d.ts} +1 -0
  11. package/{dist/es2015/localization.service.d.ts → localization.service.d.ts} +4 -1
  12. package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
  13. package/{dist/es2015/message.service.d.ts → message.service.d.ts} +9 -2
  14. package/package.json +31 -102
  15. package/{dist/es2015/rtl.d.ts → rtl.d.ts} +0 -0
  16. package/dist/cdn/js/kendo-angular-l10n.js +0 -20
  17. package/dist/cdn/main.js +0 -5
  18. package/dist/es/component-messages.js +0 -44
  19. package/dist/es/localization.service.js +0 -94
  20. package/dist/es/message.service.js +0 -43
  21. package/dist/es/rtl.js +0 -15
  22. package/dist/es2015/index.d.ts +0 -8
  23. package/dist/es2015/index.metadata.json +0 -1
  24. package/dist/es2015/main.js +0 -8
  25. package/dist/fesm5/index.js +0 -184
  26. package/dist/npm/component-messages.js +0 -46
  27. package/dist/npm/index.js +0 -11
  28. package/dist/npm/localization.service.js +0 -96
  29. package/dist/npm/main.js +0 -11
  30. package/dist/npm/message.service.js +0 -45
  31. package/dist/npm/rtl.js +0 -17
  32. package/dist/systemjs/kendo-angular-l10n.js +0 -5
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("KendoAngularL10N",["exports","@angular/core","rxjs","rxjs/operators"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularL10N={},e.ng.core,e.rxjs,e.rxjs.operators)}(this,function(e,t,i,o){"use strict";function r(r){if(r&&r.__esModule)return r;var n=Object.create(null);return r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n)}var n=r(t),s=(a.prototype.notify=function(e){this.changes.next({rtl:e})},a.prototype.get=function(e){},a);function a(){this.changes=new i.BehaviorSubject({rtl:void 0})}s.ɵfac=n.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:s,deps:[],target:n.ɵɵFactoryTarget.Injectable}),s.ɵprov=n.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:s}),n.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:s,decorators:[{type:t.Injectable}],ctorParameters:function(){return[]}});Object.defineProperty(p.prototype,"override",{get:function(){return!1},enumerable:!1,configurable:!0}),p.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some(function(e){return!t[e].isFirstChange()})&&this.service.notifyChanges()},p.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(o.skip(1)).subscribe(function(){return e.register(e)})},p.prototype.register=function(e){var t=this;Object.keys(e).forEach(function(e){return t.service.register(e,t[e],t.override)})},p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};var c=p;function p(){}c.ɵfac=n.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:c,deps:[],target:n.ɵɵFactoryTarget.Directive}),c.ɵdir=n.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:c,usesOnChanges:!0,ngImport:n}),n.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:c,decorators:[{type:t.Directive,args:[{}]}]});var u=new t.InjectionToken("Kendo UI Right-to-Left token"),g=new t.InjectionToken("Localization key prefix"),f=(Object.defineProperty(y.prototype,"rtl",{get:function(){return this._rtl},enumerable:!1,configurable:!0}),y.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},y.prototype.get=function(e){e=this.key(e);return this.dictionary[e]},y.prototype.register=function(e,t,r){void 0===r&&(r=!1);var e=this.key(e),n=t;if(!r){if(this.dictionary.hasOwnProperty(e))return;n=this.defaultValue(e,t)}this.dictionary[e]=n},y.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},y.prototype.key=function(e){return this.prefix+"."+e},y.prototype.defaultValue=function(e,t){if(!this.messageService)return t;e=this.messageService.get(e);return void 0===e?t:e},y);function y(e,t,r){var n=this;this.prefix=e,this.messageService=t,this._rtl=r,this.changes=new i.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(o.map(function(e){e=e.rtl;return void 0!==e?e:n._rtl}),o.tap(function(e){return n._rtl=e})).subscribe(function(e){n.dictionary={},n.changes.next({rtl:e})}))}f.ɵfac=n.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:f,deps:[{token:g},{token:s,optional:!0},{token:u,optional:!0}],target:n.ɵɵFactoryTarget.Injectable}),f.ɵprov=n.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:f}),n.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:n,type:f,decorators:[{type:t.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:t.Inject,args:[g]}]},{type:s,decorators:[{type:t.Optional}]},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[u]}]}]}}),e.ComponentMessages=c,e.L10N_PREFIX=g,e.LocalizationService=f,e.MessageService=s,e.RTL=u,Object.defineProperty(e,"__esModule",{value:!0})});
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { OnChanges, SimpleChanges, OnInit, OnDestroy } from '@angular/core';
6
6
  import { LocalizationService } from './localization.service';
7
+ import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Base class that acts as a component messages container.
9
10
  *
@@ -13,9 +14,11 @@ import { LocalizationService } from './localization.service';
13
14
  export declare abstract class ComponentMessages implements OnChanges, OnInit, OnDestroy {
14
15
  protected service: LocalizationService;
15
16
  private subscription;
16
- protected readonly override: boolean;
17
+ protected get override(): boolean;
17
18
  ngOnChanges(changes: SimpleChanges): void;
18
19
  ngOnInit(): void;
19
20
  protected register(changes: Object): void;
20
21
  ngOnDestroy(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentMessages, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentMessages, never, never, {}, {}, never>;
21
24
  }
@@ -2,7 +2,9 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { Directive } from '@angular/core';
5
6
  import { skip } from "rxjs/operators";
7
+ import * as i0 from "@angular/core";
6
8
  /**
7
9
  * Base class that acts as a component messages container.
8
10
  *
@@ -32,3 +34,9 @@ export class ComponentMessages {
32
34
  }
33
35
  }
34
36
  }
37
+ ComponentMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
+ ComponentMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ComponentMessages, usesOnChanges: true, ngImport: i0 });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, decorators: [{
40
+ type: Directive,
41
+ args: [{}]
42
+ }] });
@@ -2,12 +2,12 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
5
  import { Inject, Injectable, Optional, InjectionToken } from '@angular/core';
7
- import { MessageService } from './message.service';
8
6
  import { RTL } from './rtl';
9
7
  import { BehaviorSubject } from 'rxjs';
10
8
  import { map, tap } from 'rxjs/operators';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "./message.service";
11
11
  /**
12
12
  * Localization prefix for the component messages.
13
13
  *
@@ -21,7 +21,7 @@ export const L10N_PREFIX = new InjectionToken('Localization key prefix');
21
21
  * For internal use.
22
22
  * @hidden
23
23
  */
24
- let LocalizationService = class LocalizationService {
24
+ export class LocalizationService {
25
25
  constructor(prefix, messageService, _rtl) {
26
26
  this.prefix = prefix;
27
27
  this.messageService = messageService;
@@ -73,12 +73,19 @@ let LocalizationService = class LocalizationService {
73
73
  const alt = this.messageService.get(key);
74
74
  return (alt === undefined) ? value : alt;
75
75
  }
76
- };
77
- LocalizationService = tslib_1.__decorate([
78
- Injectable(),
79
- tslib_1.__param(0, Inject(L10N_PREFIX)),
80
- tslib_1.__param(1, Optional()),
81
- tslib_1.__param(2, Optional()), tslib_1.__param(2, Inject(RTL)),
82
- tslib_1.__metadata("design:paramtypes", [String, MessageService, Boolean])
83
- ], LocalizationService);
84
- export { LocalizationService };
76
+ }
77
+ LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
78
+ LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizationService });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizationService, decorators: [{
80
+ type: Injectable
81
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
82
+ type: Inject,
83
+ args: [L10N_PREFIX]
84
+ }] }, { type: i1.MessageService, decorators: [{
85
+ type: Optional
86
+ }] }, { type: undefined, decorators: [{
87
+ type: Optional
88
+ }, {
89
+ type: Inject,
90
+ args: [RTL]
91
+ }] }]; } });
File without changes
@@ -2,21 +2,17 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
5
  import { Injectable } from '@angular/core';
7
6
  import { BehaviorSubject } from 'rxjs';
8
- /* tslint:disable:max-line-length */
7
+ import * as i0 from "@angular/core";
9
8
  /**
10
9
  * A base class for a service that returns localized messages.
11
10
  *
12
11
  * For more information, refer to the section on [using the message service]({% slug messages_l10n %}#toc-using-the-message-service).
13
12
  */
14
- let MessageService = class MessageService {
15
- /* tslint:disable:max-line-length */
13
+ export class MessageService {
16
14
  /**
17
- * A base class for a service that returns localized messages.
18
- *
19
- * For more information, refer to the section on [using the message service]({% slug messages_l10n %}#toc-using-the-message-service).
15
+ * @hidden
20
16
  */
21
17
  constructor() {
22
18
  /**
@@ -35,14 +31,15 @@ let MessageService = class MessageService {
35
31
  /**
36
32
  * Returns a localized message for the supplied key.
37
33
  *
38
- * @param key - The message key. For example, `"kendo.grid.noRecords"`.
34
+ * @param _key - The message key. For example, `"kendo.grid.noRecords"`.
39
35
  * @return - The localized message for this key or `undefined` if not found.
40
36
  */
41
- get(key) {
37
+ get(_key) {
42
38
  return undefined;
43
39
  }
44
- };
45
- MessageService = tslib_1.__decorate([
46
- Injectable()
47
- ], MessageService);
48
- export { MessageService };
40
+ }
41
+ MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
42
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MessageService });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MessageService, decorators: [{
44
+ type: Injectable
45
+ }], ctorParameters: function () { return []; } });
File without changes
@@ -2,23 +2,19 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { __decorate, __param, __metadata } from 'tslib';
6
- import { Injectable, InjectionToken, Inject, Optional } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { Injectable, Directive, InjectionToken, Inject, Optional } from '@angular/core';
7
7
  import { BehaviorSubject } from 'rxjs';
8
8
  import { skip, map, tap } from 'rxjs/operators';
9
9
 
10
- /* tslint:disable:max-line-length */
11
10
  /**
12
11
  * A base class for a service that returns localized messages.
13
12
  *
14
13
  * For more information, refer to the section on [using the message service]({% slug messages_l10n %}#toc-using-the-message-service).
15
14
  */
16
- let MessageService = class MessageService {
17
- /* tslint:disable:max-line-length */
15
+ class MessageService {
18
16
  /**
19
- * A base class for a service that returns localized messages.
20
- *
21
- * For more information, refer to the section on [using the message service]({% slug messages_l10n %}#toc-using-the-message-service).
17
+ * @hidden
22
18
  */
23
19
  constructor() {
24
20
  /**
@@ -37,16 +33,18 @@ let MessageService = class MessageService {
37
33
  /**
38
34
  * Returns a localized message for the supplied key.
39
35
  *
40
- * @param key - The message key. For example, `"kendo.grid.noRecords"`.
36
+ * @param _key - The message key. For example, `"kendo.grid.noRecords"`.
41
37
  * @return - The localized message for this key or `undefined` if not found.
42
38
  */
43
- get(key) {
39
+ get(_key) {
44
40
  return undefined;
45
41
  }
46
- };
47
- MessageService = __decorate([
48
- Injectable()
49
- ], MessageService);
42
+ }
43
+ MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
44
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MessageService });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MessageService, decorators: [{
46
+ type: Injectable
47
+ }], ctorParameters: function () { return []; } });
50
48
 
51
49
  /**
52
50
  * Base class that acts as a component messages container.
@@ -77,6 +75,12 @@ class ComponentMessages {
77
75
  }
78
76
  }
79
77
  }
78
+ ComponentMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Directive });
79
+ ComponentMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ComponentMessages, usesOnChanges: true, ngImport: i0 });
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, decorators: [{
81
+ type: Directive,
82
+ args: [{}]
83
+ }] });
80
84
 
81
85
  /**
82
86
  * A token that specifies the text direction of Kendo UI for Angular components.
@@ -102,7 +106,7 @@ const L10N_PREFIX = new InjectionToken('Localization key prefix');
102
106
  * For internal use.
103
107
  * @hidden
104
108
  */
105
- let LocalizationService = class LocalizationService {
109
+ class LocalizationService {
106
110
  constructor(prefix, messageService, _rtl) {
107
111
  this.prefix = prefix;
108
112
  this.messageService = messageService;
@@ -154,17 +158,26 @@ let LocalizationService = class LocalizationService {
154
158
  const alt = this.messageService.get(key);
155
159
  return (alt === undefined) ? value : alt;
156
160
  }
157
- };
158
- LocalizationService = __decorate([
159
- Injectable(),
160
- __param(0, Inject(L10N_PREFIX)),
161
- __param(1, Optional()),
162
- __param(2, Optional()), __param(2, Inject(RTL)),
163
- __metadata("design:paramtypes", [String, MessageService, Boolean])
164
- ], LocalizationService);
161
+ }
162
+ LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizationService, deps: [{ token: L10N_PREFIX }, { token: MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
163
+ LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizationService });
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizationService, decorators: [{
165
+ type: Injectable
166
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
167
+ type: Inject,
168
+ args: [L10N_PREFIX]
169
+ }] }, { type: MessageService, decorators: [{
170
+ type: Optional
171
+ }] }, { type: undefined, decorators: [{
172
+ type: Optional
173
+ }, {
174
+ type: Inject,
175
+ args: [RTL]
176
+ }] }]; } });
165
177
 
166
178
  /**
167
179
  * Generated bundle index. Do not edit.
168
180
  */
169
181
 
170
- export { MessageService, ComponentMessages, L10N_PREFIX, LocalizationService, RTL };
182
+ export { ComponentMessages, L10N_PREFIX, LocalizationService, MessageService, RTL };
183
+
@@ -5,4 +5,5 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
+ /// <amd-module name="@progress/kendo-angular-l10n" />
8
9
  export * from './main';
@@ -5,6 +5,7 @@
5
5
  import { InjectionToken, OnDestroy } from '@angular/core';
6
6
  import { MessageService } from './message.service';
7
7
  import { Subject } from 'rxjs';
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Localization prefix for the component messages.
10
11
  *
@@ -28,11 +29,13 @@ export declare class LocalizationService implements OnDestroy {
28
29
  private subscription;
29
30
  private dictionary;
30
31
  constructor(prefix: string, messageService: MessageService, _rtl: boolean);
31
- readonly rtl: boolean;
32
+ get rtl(): boolean;
32
33
  ngOnDestroy(): void;
33
34
  get(shortKey: string): string;
34
35
  register(shortKey: string, value: string, override?: boolean): void;
35
36
  notifyChanges(): void;
36
37
  private key;
37
38
  private defaultValue;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, [null, { optional: true; }, { optional: true; }]>;
40
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
38
41
  }
File without changes
@@ -3,12 +3,17 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subject } from 'rxjs';
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * A base class for a service that returns localized messages.
8
9
  *
9
10
  * For more information, refer to the section on [using the message service]({% slug messages_l10n %}#toc-using-the-message-service).
10
11
  */
11
12
  export declare class MessageService {
13
+ /**
14
+ * @hidden
15
+ */
16
+ constructor();
12
17
  /**
13
18
  * @hidden
14
19
  */
@@ -24,8 +29,10 @@ export declare class MessageService {
24
29
  /**
25
30
  * Returns a localized message for the supplied key.
26
31
  *
27
- * @param key - The message key. For example, `"kendo.grid.noRecords"`.
32
+ * @param _key - The message key. For example, `"kendo.grid.noRecords"`.
28
33
  * @return - The localized message for this key or `undefined` if not found.
29
34
  */
30
- get(key: string): string | undefined;
35
+ get(_key: string): string | undefined;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
31
38
  }
package/package.json CHANGED
@@ -1,94 +1,32 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-l10n",
3
+ "version": "4.0.0-dev.202204131625",
3
4
  "description": "Localization Services - Kendo UI Angular",
4
- "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "3.0.4-dev.202202251002",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
14
- "jsdelivr": "dist/cdn/main.js",
15
- "unpkg": "dist/cdn/main.js",
16
- "sideEffects": false,
17
- "scripts": {
18
- "test": "jest",
19
- "test:watch": "jest --watch",
20
- "test:ci": "ci-angular-test",
21
- "start": "gulp start",
22
- "lint": "gulp lint && gulp lint-docs",
23
- "api-check": "gulp api-check",
24
- "build-package": "gulp build-package",
25
- "semantic-release": "semantic-release pre && semantic-prerelease publish && semantic-release post"
6
+ "author": "Progress",
7
+ "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/telerik/kendo-angular-l10n.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
26
14
  },
27
15
  "keywords": [
28
- "Kendo UI",
29
- "Angular"
16
+ "Angular",
17
+ "Kendo UI"
30
18
  ],
31
- "peerDependencies": {
32
- "@angular/common": "8 - 13",
33
- "@angular/core": "8 - 13",
34
- "rxjs": "^6.4.0 || ^7.0.0"
19
+ "@progress": {
20
+ "friendlyName": "Localization"
35
21
  },
36
22
  "dependencies": {
37
- "tslib": "^1.9.0"
23
+ "tslib": "^2.3.1",
24
+ "@progress/kendo-schematics": "^3.0.0"
38
25
  },
39
- "devDependencies": {
40
- "@angular-devkit/core": "^8.2.0",
41
- "@angular-devkit/schematics": "^8.2.0",
42
- "@angular/animations": "^8.2.0",
43
- "@angular/common": "^8.2.0",
44
- "@angular/compiler": "^8.2.0",
45
- "@angular/compiler-cli": "^8.2.0",
46
- "@angular/core": "^8.2.0",
47
- "@angular/forms": "^8.2.0",
48
- "@angular/platform-browser": "^8.2.0",
49
- "@angular/platform-browser-dynamic": "^8.2.0",
50
- "@angular/platform-server": "^8.2.0",
51
- "@angular/router": "^8.2.0",
52
- "@progress/kendo-angular-buttons": "^6.0.0",
53
- "@progress/kendo-angular-common": "^2.0.0",
54
- "@progress/kendo-angular-dateinputs": "^5.0.0",
55
- "@progress/kendo-angular-dropdowns": "^5.0.0",
56
- "@progress/kendo-angular-excel-export": "^4.0.0",
57
- "@progress/kendo-angular-grid": "^5.0.0",
58
- "@progress/kendo-angular-inputs": "^7.0.0",
59
- "@progress/kendo-angular-intl": "^3.0.0",
60
- "@progress/kendo-angular-jest-preset": "^2.0.0",
61
- "@progress/kendo-angular-l10n": "^3.0.0",
62
- "@progress/kendo-angular-label": "^3.0.0",
63
- "@progress/kendo-angular-layout": "^6.0.0",
64
- "@progress/kendo-angular-pdf-export": "^3.0.0",
65
- "@progress/kendo-angular-popup": "^4.0.0",
66
- "@progress/kendo-angular-progressbar": "^2.0.0",
67
- "@progress/kendo-angular-tasks": "cdn-bundle-v18",
68
- "@progress/kendo-angular-treeview": "^5.0.0",
69
- "@progress/kendo-data-query": "^1.5.2",
70
- "@progress/kendo-drawing": "^1.5.12",
71
- "@progress/kendo-licensing": "^1.0.2",
72
- "@progress/kendo-theme-default": "^2.0.0",
73
- "@telerik/semantic-prerelease": "^1.0.0",
74
- "@types/jasmine": "2.2.34",
75
- "@types/jest": "^21.1.8",
76
- "@types/node": "ts3.4",
77
- "@types/zone.js": "0.0.27",
78
- "codelyzer": "^5.0.0",
79
- "core-js": "^2.2.2",
80
- "cz-conventional-changelog": "^1.1.5",
81
- "ghooks": "^1.0.3",
82
- "gulp": "^4.0.0",
83
- "jest-cli": "^21.2.1",
84
- "jest-junit": "^8.0.0",
85
- "rxjs": "~6.4.0",
86
- "rxjs-tslint-rules": "^4.23.1",
87
- "semantic-release": "^6.3.6",
88
- "tslint": "^5.20.1",
89
- "typescript": "~3.4.5",
90
- "validate-commit-msg": "^1.1.1",
91
- "zone.js": "~0.9.1"
26
+ "peerDependencies": {
27
+ "@angular/common": "^12.0.0 || ^13.0.0",
28
+ "@angular/core": "^12.0.0 || ^13.0.0",
29
+ "rxjs": "^6.5.3 || ^7.0.0"
92
30
  },
93
31
  "config": {
94
32
  "commitizen": {
@@ -113,27 +51,16 @@
113
51
  "maxSubjectLength": 100
114
52
  }
115
53
  },
116
- "jest": {
117
- "preset": "@progress/kendo-angular-jest-preset"
118
- },
119
- "repository": {
120
- "type": "git",
121
- "url": "https://github.com/telerik/kendo-angular-l10n.git"
122
- },
123
- "bugs": {
124
- "url": "https://github.com/telerik/kendo-angular"
125
- },
126
- "@progress": {
127
- "friendlyName": "Localization"
128
- },
129
- "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
54
+ "schematics": "./schematics/collection.json",
130
55
  "release": {
131
56
  "debug": false,
132
57
  "branchTags": {
133
- "develop": "dev"
58
+ "develop": "dev",
59
+ "ng12-update": "next"
134
60
  },
135
61
  "fallbackTags": {
136
- "dev": "latest"
62
+ "dev": "latest",
63
+ "next": "latest"
137
64
  },
138
65
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
139
66
  "generateNotes": "@telerik/semantic-prerelease/generateNotes",
@@ -141,9 +68,11 @@
141
68
  "verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
142
69
  "verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
143
70
  },
144
- "schematics": "./schematics/collection.json",
145
- "files": [
146
- "dist",
147
- "schematics"
148
- ]
71
+ "main": "bundles/kendo-angular-l10n.umd.js",
72
+ "module": "fesm2015/kendo-angular-l10n.js",
73
+ "es2015": "fesm2015/kendo-angular-l10n.js",
74
+ "esm2015": "esm2015/kendo-angular-l10n.js",
75
+ "fesm2015": "fesm2015/kendo-angular-l10n.js",
76
+ "typings": "kendo-angular-l10n.d.ts",
77
+ "sideEffects": false
149
78
  }
File without changes