@progress/kendo-angular-intl 20.1.2-develop.2 → 21.0.0-develop.3

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.
@@ -53,13 +53,13 @@ export class DatePipe {
53
53
  }
54
54
  return value;
55
55
  }
56
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
57
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DatePipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
57
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
58
58
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePipe, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DatePipe, decorators: [{
60
60
  type: Pipe,
61
61
  args: [{
62
62
  name: 'kendoDate',
63
63
  standalone: true
64
64
  }]
65
- }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
65
+ }], ctorParameters: () => [{ type: i1.IntlService }] });
@@ -9,7 +9,6 @@ function formatMessage(error) {
9
9
  const errorSolution = errorSolutions[Object.keys(errorSolutions).filter(key => message.indexOf(key) === 0)[0]];
10
10
  return errorSolution ? `${message} ${errorSolution}` : message;
11
11
  }
12
- // eslint-disable-next-line @typescript-eslint/ban-types
13
12
  function intlMethod(fn) {
14
13
  return function (...values) {
15
14
  try {
@@ -13,11 +13,11 @@ import * as i2 from "./date.pipe";
13
13
  * definition for the Intl services.
14
14
  */
15
15
  export class IntlModule {
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
17
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IntlModule, imports: [i1.NumberPipe, i2.DatePipe], exports: [i1.NumberPipe, i2.DatePipe] });
18
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlModule });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
17
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: IntlModule, imports: [i1.NumberPipe, i2.DatePipe], exports: [i1.NumberPipe, i2.DatePipe] });
18
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlModule });
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlModule, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlModule, decorators: [{
21
21
  type: NgModule,
22
22
  args: [{
23
23
  imports: [...KENDO_INTL],
@@ -37,17 +37,17 @@ export class IntlService {
37
37
  notify() {
38
38
  this.changes.emit();
39
39
  }
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
41
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlService, providedIn: 'root', useFactory: cldrServiceFactory, deps: [{ token: LOCALE_ID }] });
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
41
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlService, providedIn: 'root', useFactory: cldrServiceFactory, deps: [{ token: LOCALE_ID }] });
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlService, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlService, decorators: [{
44
44
  type: Injectable,
45
45
  args: [{
46
46
  providedIn: 'root',
47
47
  useFactory: cldrServiceFactory,
48
48
  deps: [LOCALE_ID]
49
49
  }]
50
- }], ctorParameters: function () { return []; } });
50
+ }], ctorParameters: () => [] });
51
51
  /**
52
52
  * Represents the Internationalization service implemented using the CLDR Database via the `@progress/kendo-intl` package.
53
53
  * Provides locale-aware formatting and parsing for dates, numbers, and strings.
@@ -246,12 +246,12 @@ export class CldrIntlService extends IntlService {
246
246
  weekendRange(localeId) {
247
247
  return weekendRange(localeId || this.localeId);
248
248
  }
249
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CldrIntlService, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
250
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CldrIntlService });
249
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CldrIntlService, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
250
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CldrIntlService });
251
251
  }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CldrIntlService, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CldrIntlService, decorators: [{
253
253
  type: Injectable
254
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
254
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
255
255
  type: Inject,
256
256
  args: [LOCALE_ID]
257
- }] }]; } });
257
+ }] }] });
@@ -46,13 +46,13 @@ export class NumberPipe {
46
46
  }
47
47
  return value;
48
48
  }
49
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberPipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
50
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberPipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
50
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberPipe, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberPipe, decorators: [{
53
53
  type: Pipe,
54
54
  args: [{
55
55
  name: 'kendoNumber',
56
56
  standalone: true
57
57
  }]
58
- }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
58
+ }], ctorParameters: () => [{ type: i1.IntlService }] });
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1761309721,
14
- version: '20.1.2-develop.2',
13
+ publishDate: 1761757534,
14
+ version: '21.0.0-develop.3',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -15,8 +15,8 @@ const packageMetadata = {
15
15
  productName: 'Kendo UI for Angular',
16
16
  productCode: 'KENDOUIANGULAR',
17
17
  productCodes: ['KENDOUIANGULAR'],
18
- publishDate: 1761309721,
19
- version: '20.1.2-develop.2',
18
+ publishDate: 1761757534,
19
+ version: '21.0.0-develop.3',
20
20
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
21
21
  };
22
22
 
@@ -41,7 +41,6 @@ function formatMessage(error) {
41
41
  const errorSolution = errorSolutions[Object.keys(errorSolutions).filter(key => message.indexOf(key) === 0)[0]];
42
42
  return errorSolution ? `${message} ${errorSolution}` : message;
43
43
  }
44
- // eslint-disable-next-line @typescript-eslint/ban-types
45
44
  function intlMethod(fn) {
46
45
  return function (...values) {
47
46
  try {
@@ -168,17 +167,17 @@ class IntlService {
168
167
  notify() {
169
168
  this.changes.emit();
170
169
  }
171
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
172
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlService, providedIn: 'root', useFactory: cldrServiceFactory, deps: [{ token: LOCALE_ID }] });
170
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
171
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlService, providedIn: 'root', useFactory: cldrServiceFactory, deps: [{ token: LOCALE_ID }] });
173
172
  }
174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlService, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlService, decorators: [{
175
174
  type: Injectable,
176
175
  args: [{
177
176
  providedIn: 'root',
178
177
  useFactory: cldrServiceFactory,
179
178
  deps: [LOCALE_ID]
180
179
  }]
181
- }], ctorParameters: function () { return []; } });
180
+ }], ctorParameters: () => [] });
182
181
  /**
183
182
  * Represents the Internationalization service implemented using the CLDR Database via the `@progress/kendo-intl` package.
184
183
  * Provides locale-aware formatting and parsing for dates, numbers, and strings.
@@ -377,15 +376,15 @@ class CldrIntlService extends IntlService {
377
376
  weekendRange(localeId) {
378
377
  return weekendRange(localeId || this.localeId);
379
378
  }
380
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CldrIntlService, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
381
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CldrIntlService });
379
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CldrIntlService, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
380
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CldrIntlService });
382
381
  }
383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CldrIntlService, decorators: [{
382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CldrIntlService, decorators: [{
384
383
  type: Injectable
385
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
384
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
386
385
  type: Inject,
387
386
  args: [LOCALE_ID]
388
- }] }]; } });
387
+ }] }] });
389
388
 
390
389
  const isNumeric = (value) => !isNaN(value - parseFloat(value));
391
390
  /**
@@ -434,16 +433,16 @@ class DatePipe {
434
433
  }
435
434
  return value;
436
435
  }
437
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
438
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
436
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DatePipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
437
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
439
438
  }
440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePipe, decorators: [{
439
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DatePipe, decorators: [{
441
440
  type: Pipe,
442
441
  args: [{
443
442
  name: 'kendoDate',
444
443
  standalone: true
445
444
  }]
446
- }], ctorParameters: function () { return [{ type: IntlService }]; } });
445
+ }], ctorParameters: () => [{ type: IntlService }] });
447
446
 
448
447
  /**
449
448
  * Formats a number value to a string based on the requested format.
@@ -485,16 +484,16 @@ class NumberPipe {
485
484
  }
486
485
  return value;
487
486
  }
488
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberPipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
489
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
487
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberPipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
488
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
490
489
  }
491
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumberPipe, decorators: [{
490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberPipe, decorators: [{
492
491
  type: Pipe,
493
492
  args: [{
494
493
  name: 'kendoNumber',
495
494
  standalone: true
496
495
  }]
497
- }], ctorParameters: function () { return [{ type: IntlService }]; } });
496
+ }], ctorParameters: () => [{ type: IntlService }] });
498
497
 
499
498
  /**
500
499
  * Utility array that contains all `kendoNumber` related components and directives.
@@ -522,11 +521,11 @@ const KENDO_INTL = [
522
521
  * definition for the Intl services.
523
522
  */
524
523
  class IntlModule {
525
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
526
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IntlModule, imports: [NumberPipe, DatePipe], exports: [NumberPipe, DatePipe] });
527
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlModule });
524
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
525
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: IntlModule, imports: [NumberPipe, DatePipe], exports: [NumberPipe, DatePipe] });
526
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlModule });
528
527
  }
529
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IntlModule, decorators: [{
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IntlModule, decorators: [{
530
529
  type: NgModule,
531
530
  args: [{
532
531
  imports: [...KENDO_INTL],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-intl",
3
- "version": "20.1.2-develop.2",
3
+ "version": "21.0.0-develop.3",
4
4
  "description": "Kendo UI Internationalization for Angular components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1761309721,
22
+ "publishDate": 1761757534,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
24
24
  }
25
25
  },
@@ -30,17 +30,17 @@
30
30
  "./locales/**/*"
31
31
  ],
32
32
  "peerDependencies": {
33
- "@angular/animations": "16 - 20",
34
- "@angular/common": "16 - 20",
35
- "@angular/core": "16 - 20",
36
- "@angular/platform-browser": "16 - 20",
37
- "@progress/kendo-angular-common": "20.1.2-develop.2",
33
+ "@angular/animations": "18 - 20",
34
+ "@angular/common": "18 - 20",
35
+ "@angular/core": "18 - 20",
36
+ "@angular/platform-browser": "18 - 20",
37
+ "@progress/kendo-angular-common": "21.0.0-develop.3",
38
38
  "@progress/kendo-licensing": "^1.7.0",
39
39
  "rxjs": "^6.5.3 || ^7.0.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "tslib": "^2.3.1",
43
- "@progress/kendo-angular-schematics": "20.1.2-develop.2",
43
+ "@progress/kendo-angular-schematics": "21.0.0-develop.3",
44
44
  "@progress/kendo-intl": "^3.1.0"
45
45
  },
46
46
  "schematics": "./schematics/collection.json",
@@ -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: 'IntlModule', package: 'intl' });
6
7
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
7
8
  }
8
- exports.default = default_1;