@progress/kendo-angular-intl 16.5.0 → 16.6.0-develop.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/date.pipe.d.ts CHANGED
@@ -37,5 +37,5 @@ export declare class DatePipe implements PipeTransform {
37
37
  transform(value: any, format?: string | DateFormatOptions, localeId?: string): any;
38
38
  private normalize;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePipe, never>;
40
- static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "kendoDate", false>;
40
+ static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "kendoDate", true>;
41
41
  }
@@ -0,0 +1,18 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { DatePipe } from "./date.pipe";
6
+ import { NumberPipe } from "./number.pipe";
7
+ /**
8
+ * Utility array that contains all `kendoNumber` related components and directives
9
+ */
10
+ export declare const KENDO_NUMBER: readonly [typeof NumberPipe];
11
+ /**
12
+ * Utility array that contains all `kendoDate` related components and directives
13
+ */
14
+ export declare const KENDO_DATE: readonly [typeof DatePipe];
15
+ /**
16
+ * Utility array that contains all `@progress/kendo-angular-intl` related components and directives
17
+ */
18
+ export declare const KENDO_INTL: readonly [typeof NumberPipe, typeof DatePipe];
@@ -54,10 +54,11 @@ export class DatePipe {
54
54
  }
55
55
  }
56
56
  DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
57
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, name: "kendoDate" });
57
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
58
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, decorators: [{
59
59
  type: Pipe,
60
60
  args: [{
61
- name: 'kendoDate'
61
+ name: 'kendoDate',
62
+ standalone: true
62
63
  }]
63
64
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
@@ -0,0 +1,25 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { DatePipe } from "./date.pipe";
6
+ import { NumberPipe } from "./number.pipe";
7
+ /**
8
+ * Utility array that contains all `kendoNumber` related components and directives
9
+ */
10
+ export const KENDO_NUMBER = [
11
+ NumberPipe
12
+ ];
13
+ /**
14
+ * Utility array that contains all `kendoDate` related components and directives
15
+ */
16
+ export const KENDO_DATE = [
17
+ DatePipe
18
+ ];
19
+ /**
20
+ * Utility array that contains all `@progress/kendo-angular-intl` related components and directives
21
+ */
22
+ export const KENDO_INTL = [
23
+ ...KENDO_NUMBER,
24
+ ...KENDO_DATE
25
+ ];
package/esm2020/index.mjs CHANGED
@@ -8,3 +8,4 @@ export * from './number.pipe';
8
8
  export * from './intl.module';
9
9
  export * from './intl-members';
10
10
  export * from './locale-data.interface';
11
+ export * from './directives';
@@ -3,13 +3,11 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { DatePipe } from './date.pipe';
7
- import { NumberPipe } from './number.pipe';
6
+ import { KENDO_INTL } from './directives';
8
7
  import * as i0 from "@angular/core";
9
- const pipes = [
10
- DatePipe,
11
- NumberPipe
12
- ];
8
+ import * as i1 from "./number.pipe";
9
+ import * as i2 from "./date.pipe";
10
+ //IMPORTANT: NgModule export kept for backwards compatibility
13
11
  /**
14
12
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
13
  * definition for the Intl services.
@@ -17,14 +15,12 @@ const pipes = [
17
15
  export class IntlModule {
18
16
  }
19
17
  IntlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- IntlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, declarations: [DatePipe,
21
- NumberPipe], exports: [DatePipe,
22
- NumberPipe] });
18
+ IntlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, imports: [i1.NumberPipe, i2.DatePipe], exports: [i1.NumberPipe, i2.DatePipe] });
23
19
  IntlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule });
24
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, decorators: [{
25
21
  type: NgModule,
26
22
  args: [{
27
- declarations: [pipes],
28
- exports: [pipes]
23
+ imports: [...KENDO_INTL],
24
+ exports: [...KENDO_INTL]
29
25
  }]
30
26
  }] });
@@ -47,10 +47,11 @@ export class NumberPipe {
47
47
  }
48
48
  }
49
49
  NumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
50
- NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, name: "kendoNumber" });
50
+ NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
51
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, decorators: [{
52
52
  type: Pipe,
53
53
  args: [{
54
- name: 'kendoNumber'
54
+ name: 'kendoNumber',
55
+ standalone: true
55
56
  }]
56
57
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-intl',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721813956,
13
- version: '16.5.0',
12
+ publishDate: 1721827521,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -14,8 +14,8 @@ const packageMetadata = {
14
14
  name: '@progress/kendo-angular-intl',
15
15
  productName: 'Kendo UI for Angular',
16
16
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
17
- publishDate: 1721813956,
18
- version: '16.5.0',
17
+ publishDate: 1721827521,
18
+ version: '16.6.0-develop.1',
19
19
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
20
20
  };
21
21
 
@@ -417,11 +417,12 @@ class DatePipe {
417
417
  }
418
418
  }
419
419
  DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
420
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, name: "kendoDate" });
420
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
421
421
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, decorators: [{
422
422
  type: Pipe,
423
423
  args: [{
424
- name: 'kendoDate'
424
+ name: 'kendoDate',
425
+ standalone: true
425
426
  }]
426
427
  }], ctorParameters: function () { return [{ type: IntlService }]; } });
427
428
 
@@ -466,18 +467,36 @@ class NumberPipe {
466
467
  }
467
468
  }
468
469
  NumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
469
- NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, name: "kendoNumber" });
470
+ NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
470
471
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, decorators: [{
471
472
  type: Pipe,
472
473
  args: [{
473
- name: 'kendoNumber'
474
+ name: 'kendoNumber',
475
+ standalone: true
474
476
  }]
475
477
  }], ctorParameters: function () { return [{ type: IntlService }]; } });
476
478
 
477
- const pipes = [
478
- DatePipe,
479
+ /**
480
+ * Utility array that contains all `kendoNumber` related components and directives
481
+ */
482
+ const KENDO_NUMBER = [
479
483
  NumberPipe
480
484
  ];
485
+ /**
486
+ * Utility array that contains all `kendoDate` related components and directives
487
+ */
488
+ const KENDO_DATE = [
489
+ DatePipe
490
+ ];
491
+ /**
492
+ * Utility array that contains all `@progress/kendo-angular-intl` related components and directives
493
+ */
494
+ const KENDO_INTL = [
495
+ ...KENDO_NUMBER,
496
+ ...KENDO_DATE
497
+ ];
498
+
499
+ //IMPORTANT: NgModule export kept for backwards compatibility
481
500
  /**
482
501
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
483
502
  * definition for the Intl services.
@@ -485,15 +504,13 @@ const pipes = [
485
504
  class IntlModule {
486
505
  }
487
506
  IntlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
488
- IntlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, declarations: [DatePipe,
489
- NumberPipe], exports: [DatePipe,
490
- NumberPipe] });
507
+ IntlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, imports: [NumberPipe, DatePipe], exports: [NumberPipe, DatePipe] });
491
508
  IntlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule });
492
509
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, decorators: [{
493
510
  type: NgModule,
494
511
  args: [{
495
- declarations: [pipes],
496
- exports: [pipes]
512
+ imports: [...KENDO_INTL],
513
+ exports: [...KENDO_INTL]
497
514
  }]
498
515
  }] });
499
516
 
@@ -501,5 +518,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
501
518
  * Generated bundle index. Do not edit.
502
519
  */
503
520
 
504
- export { CldrIntlService, DatePipe, IntlModule, IntlService, NumberPipe, cldrServiceFactory, dateFieldName, dateFormatNames, firstDay, format, formatDate, formatNumber, load, localeData, numberSymbols, parseDate, parseNumber, setData, splitDateFormat, toString, weekendRange };
521
+ export { CldrIntlService, DatePipe, IntlModule, IntlService, KENDO_DATE, KENDO_INTL, KENDO_NUMBER, NumberPipe, cldrServiceFactory, dateFieldName, dateFormatNames, firstDay, format, formatDate, formatNumber, load, localeData, numberSymbols, parseDate, parseNumber, setData, splitDateFormat, toString, weekendRange };
505
522
 
@@ -14,8 +14,8 @@ const packageMetadata = {
14
14
  name: '@progress/kendo-angular-intl',
15
15
  productName: 'Kendo UI for Angular',
16
16
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
17
- publishDate: 1721813956,
18
- version: '16.5.0',
17
+ publishDate: 1721827521,
18
+ version: '16.6.0-develop.1',
19
19
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
20
20
  };
21
21
 
@@ -415,11 +415,12 @@ class DatePipe {
415
415
  }
416
416
  }
417
417
  DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
418
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, name: "kendoDate" });
418
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, isStandalone: true, name: "kendoDate" });
419
419
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePipe, decorators: [{
420
420
  type: Pipe,
421
421
  args: [{
422
- name: 'kendoDate'
422
+ name: 'kendoDate',
423
+ standalone: true
423
424
  }]
424
425
  }], ctorParameters: function () { return [{ type: IntlService }]; } });
425
426
 
@@ -464,18 +465,36 @@ class NumberPipe {
464
465
  }
465
466
  }
466
467
  NumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, deps: [{ token: IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
467
- NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, name: "kendoNumber" });
468
+ NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, isStandalone: true, name: "kendoNumber" });
468
469
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberPipe, decorators: [{
469
470
  type: Pipe,
470
471
  args: [{
471
- name: 'kendoNumber'
472
+ name: 'kendoNumber',
473
+ standalone: true
472
474
  }]
473
475
  }], ctorParameters: function () { return [{ type: IntlService }]; } });
474
476
 
475
- const pipes = [
476
- DatePipe,
477
+ /**
478
+ * Utility array that contains all `kendoNumber` related components and directives
479
+ */
480
+ const KENDO_NUMBER = [
477
481
  NumberPipe
478
482
  ];
483
+ /**
484
+ * Utility array that contains all `kendoDate` related components and directives
485
+ */
486
+ const KENDO_DATE = [
487
+ DatePipe
488
+ ];
489
+ /**
490
+ * Utility array that contains all `@progress/kendo-angular-intl` related components and directives
491
+ */
492
+ const KENDO_INTL = [
493
+ ...KENDO_NUMBER,
494
+ ...KENDO_DATE
495
+ ];
496
+
497
+ //IMPORTANT: NgModule export kept for backwards compatibility
479
498
  /**
480
499
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
481
500
  * definition for the Intl services.
@@ -483,15 +502,13 @@ const pipes = [
483
502
  class IntlModule {
484
503
  }
485
504
  IntlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
486
- IntlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, declarations: [DatePipe,
487
- NumberPipe], exports: [DatePipe,
488
- NumberPipe] });
505
+ IntlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, imports: [NumberPipe, DatePipe], exports: [NumberPipe, DatePipe] });
489
506
  IntlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule });
490
507
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IntlModule, decorators: [{
491
508
  type: NgModule,
492
509
  args: [{
493
- declarations: [pipes],
494
- exports: [pipes]
510
+ imports: [...KENDO_INTL],
511
+ exports: [...KENDO_INTL]
495
512
  }]
496
513
  }] });
497
514
 
@@ -499,5 +516,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
499
516
  * Generated bundle index. Do not edit.
500
517
  */
501
518
 
502
- export { CldrIntlService, DatePipe, IntlModule, IntlService, NumberPipe, cldrServiceFactory, dateFieldName, dateFormatNames, firstDay, format, formatDate, formatNumber, load, localeData, numberSymbols, parseDate, parseNumber, setData, splitDateFormat, toString, weekendRange };
519
+ export { CldrIntlService, DatePipe, IntlModule, IntlService, KENDO_DATE, KENDO_INTL, KENDO_NUMBER, NumberPipe, cldrServiceFactory, dateFieldName, dateFormatNames, firstDay, format, formatDate, formatNumber, load, localeData, numberSymbols, parseDate, parseNumber, setData, splitDateFormat, toString, weekendRange };
503
520
 
package/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from './number.pipe';
8
8
  export * from './intl.module';
9
9
  export * from './intl-members';
10
10
  export * from './locale-data.interface';
11
+ export * from './directives';
package/intl.module.d.ts CHANGED
@@ -3,14 +3,14 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
- import * as i1 from "./date.pipe";
7
- import * as i2 from "./number.pipe";
6
+ import * as i1 from "./number.pipe";
7
+ import * as i2 from "./date.pipe";
8
8
  /**
9
9
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
10
  * definition for the Intl services.
11
11
  */
12
12
  export declare class IntlModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<IntlModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<IntlModule, [typeof i1.DatePipe, typeof i2.NumberPipe], never, [typeof i1.DatePipe, typeof i2.NumberPipe]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IntlModule, never, [typeof i1.NumberPipe, typeof i2.DatePipe], [typeof i1.NumberPipe, typeof i2.DatePipe]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<IntlModule>;
16
16
  }
package/number.pipe.d.ts CHANGED
@@ -37,5 +37,5 @@ export declare class NumberPipe implements PipeTransform {
37
37
  */
38
38
  transform(value: any, format?: string | NumberFormatOptions, localeId?: string): any;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberPipe, never>;
40
- static ɵpipe: i0.ɵɵPipeDeclaration<NumberPipe, "kendoNumber", false>;
40
+ static ɵpipe: i0.ɵɵPipeDeclaration<NumberPipe, "kendoNumber", true>;
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-intl",
3
- "version": "16.5.0",
3
+ "version": "16.6.0-develop.1",
4
4
  "description": "Kendo UI Internationalization for Angular components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -28,13 +28,13 @@
28
28
  "@angular/common": "15 - 18",
29
29
  "@angular/core": "15 - 18",
30
30
  "@angular/platform-browser": "15 - 18",
31
- "@progress/kendo-angular-common": "16.5.0",
31
+ "@progress/kendo-angular-common": "16.6.0-develop.1",
32
32
  "@progress/kendo-licensing": "^1.0.2",
33
33
  "rxjs": "^6.5.3 || ^7.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "tslib": "^2.3.1",
37
- "@progress/kendo-angular-schematics": "16.5.0",
37
+ "@progress/kendo-angular-schematics": "16.6.0-develop.1",
38
38
  "@progress/kendo-intl": "^3.1.0"
39
39
  },
40
40
  "schematics": "./schematics/collection.json",