@progress/kendo-angular-intl 4.1.0 → 4.1.1-dev.202211170757
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.
|
@@ -2,4 +2,4 @@
|
|
|
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
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-licensing"),require("@progress/kendo-intl")):"function"==typeof define&&define.amd?define("KendoAngularIntl",["exports","@angular/core","@progress/kendo-licensing","@progress/kendo-intl"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularIntl={},e.ng.core,e.KendoLicensing,e.KendoIntl)}(this,function(e,t,r,n){"use strict";function o(r){
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-licensing"),require("@progress/kendo-intl")):"function"==typeof define&&define.amd?define("KendoAngularIntl",["exports","@angular/core","@progress/kendo-licensing","@progress/kendo-intl"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularIntl={},e.ng.core,e.KendoLicensing,e.KendoIntl)}(this,function(e,t,r,n){"use strict";function o(r){var n;return r&&r.__esModule?r:(n=Object.create(null),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 a=o(t),i=o(n),c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};Object.create;Object.create;var s={name:"@progress/kendo-angular-intl",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1668671820,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},n="http://www.telerik.com/kendo-angular-ui/components/internationalization/troubleshooting/",l={NoCurrency:"Solution: "+n+"#toc-no-currency",NoCurrencyDisplay:"Solution: "+n+"#toc-no-currency-display",NoCurrencyRegion:"Solution: "+n+"#toc-no-currency-region",NoDateFieldNames:"Solution: "+n+"#toc-no-date-filed-names",NoFirstDay:"Solution: "+n+"#toc-no-first-day",NoGMTInfo:"Solution: "+n+"#toc-no-gmt-info",NoLocale:"Solution: "+n+"#toc-no-locale",NoValidCurrency:"Solution: "+n+"#toc-no-valid-currency",NoWeekData:"Solution: "+n+"#toc-no-week-data"};function u(e){var t=e.message,e=l[Object.keys(l).filter(function(e){return 0===t.indexOf(e)})[0]];return e?t+" "+e:t}function p(r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return r.apply(null,e)}catch(e){throw e.message=u(e),e}}}var d=p(i.dateFormatNames),m=p(i.dateFieldName),f=p(i.firstDay),g=p(i.format),y=p(i.formatDate),I=p(i.formatNumber),n=p(i.load),v=p(i.numberSymbols),D=p(i.parseDate),h=p(i.parseNumber),b=p(i.splitDateFormat),N=p(i.toString),k=p(i.weekendRange),F=/_/g;function S(e){return new w(e)}j.prototype.notify=function(){this.changes.emit()};var O=j;function j(){this.changes=new t.EventEmitter,r.validatePackage(s)}O.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:O,deps:[],target:a.ɵɵFactoryTarget.Injectable}),O.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:O,providedIn:"root",useFactory:S,deps:[{token:t.LOCALE_ID}]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:O,decorators:[{type:t.Injectable,args:[{providedIn:"root",useFactory:S,deps:[t.LOCALE_ID]}]}],ctorParameters:function(){return[]}});var w=function(r){var e=o,t=r;if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}function o(e){var t=r.call(this)||this;return t.localeId=e,t}return c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n),Object.defineProperty(o.prototype,"localeId",{get:function(){return this.locale},set:function(e){e=e.replace(F,"-");e!==this.locale&&(this.locale=e,this.notify())},enumerable:!1,configurable:!0}),o.prototype.format=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return g(e,t,this.localeId)},o.prototype.toString=function(e,t,r){return N(e,t,r||this.localeId)},o.prototype.formatDate=function(e,t,r){return y(e,t,r||this.localeId)},o.prototype.parseDate=function(e,t,r){return D(e,t,r||this.localeId)},o.prototype.parseNumber=function(e,t,r){return h(e,r||this.localeId,t)},o.prototype.formatNumber=function(e,t,r){return I(e,t,r||this.localeId)},o.prototype.dateFieldName=function(e,t){return m(e,t||this.localeId)},o.prototype.dateFormatNames=function(e,t){return d(t||this.localeId,e)},o.prototype.splitDateFormat=function(e,t){return b(e,t||this.localeId)},o.prototype.numberSymbols=function(e){return v(e||this.localeId)},o.prototype.firstDay=function(e){return f(e||this.localeId)},o.prototype.weekendRange=function(e){return k(e||this.localeId)},o}(O),P=(w.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,deps:[{token:t.LOCALE_ID}],target:a.ɵɵFactoryTarget.Injectable}),w.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,decorators:[{type:t.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:t.Inject,args:[t.LOCALE_ID]}]}]}}),_.prototype.transform=function(e,t,r){return void 0===t&&(t=""),(e=this.normalize(e))&&this.intlService.formatDate(e,t,r)},_.prototype.normalize=function(e){return e&&"string"==typeof e?e=this.intlService.parseDate(e):e&&!isNaN(e-parseFloat(e))&&(e=new Date(parseFloat(e))),e},_);function _(e){this.intlService=e}P.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,deps:[{token:O}],target:a.ɵɵFactoryTarget.Pipe}),P.ɵpipe=a.ɵɵngDeclarePipe({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,name:"kendoDate"}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,decorators:[{type:t.Pipe,args:[{name:"kendoDate"}]}],ctorParameters:function(){return[{type:O}]}});V.prototype.transform=function(e,t,r){return null!=(e="string"==typeof e?this.intlService.parseNumber(e):e)?this.intlService.formatNumber(e,t,r):e};var C=V;function V(e){this.intlService=e}C.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,deps:[{token:O}],target:a.ɵɵFactoryTarget.Pipe}),C.ɵpipe=a.ɵɵngDeclarePipe({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,name:"kendoNumber"}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,decorators:[{type:t.Pipe,args:[{name:"kendoNumber"}]}],ctorParameters:function(){return[{type:O}]}});var M=[P,C],E=function(){};E.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:E,deps:[],target:a.ɵɵFactoryTarget.NgModule}),E.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:E,declarations:[P,C],exports:[P,C]}),E.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:E}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:E,decorators:[{type:t.NgModule,args:[{declarations:[M],exports:[M]}]}]}),e.CldrIntlService=w,e.DatePipe=P,e.IntlModule=E,e.IntlService=O,e.NumberPipe=C,e.cldrServiceFactory=S,e.dateFieldName=m,e.dateFormatNames=d,e.firstDay=f,e.format=g,e.formatDate=y,e.formatNumber=I,e.load=n,e.localeData=function(e){try{return i.localeInfo(e)}catch(e){throw e.message=u(e),e}},e.numberSymbols=v,e.parseDate=D,e.parseNumber=h,e.setData=function(e){return i.setData(e)},e.splitDateFormat=b,e.toString=N,e.weekendRange=k,Object.defineProperty(e,"__esModule",{value:!0})});
|
package/esm2015/intl.module.js
CHANGED
|
@@ -11,7 +11,7 @@ const pipes = [
|
|
|
11
11
|
NumberPipe
|
|
12
12
|
];
|
|
13
13
|
/**
|
|
14
|
-
* Represents the [NgModule](
|
|
14
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']docs/ts/latest/guide/ngmodule.html)
|
|
15
15
|
* definition for the Intl services.
|
|
16
16
|
*/
|
|
17
17
|
export class IntlModule {
|
|
@@ -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:
|
|
12
|
+
publishDate: 1668671820,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -14,7 +14,7 @@ const packageMetadata = {
|
|
|
14
14
|
name: '@progress/kendo-angular-intl',
|
|
15
15
|
productName: 'Kendo UI for Angular',
|
|
16
16
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
17
|
-
publishDate:
|
|
17
|
+
publishDate: 1668671820,
|
|
18
18
|
version: '',
|
|
19
19
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
20
20
|
};
|
|
@@ -476,7 +476,7 @@ const pipes = [
|
|
|
476
476
|
NumberPipe
|
|
477
477
|
];
|
|
478
478
|
/**
|
|
479
|
-
* Represents the [NgModule](
|
|
479
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']docs/ts/latest/guide/ngmodule.html)
|
|
480
480
|
* definition for the Intl services.
|
|
481
481
|
*/
|
|
482
482
|
class IntlModule {
|
package/intl.module.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "./date.pipe";
|
|
7
7
|
import * as i2 from "./number.pipe";
|
|
8
8
|
/**
|
|
9
|
-
* Represents the [NgModule](
|
|
9
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']docs/ts/latest/guide/ngmodule.html)
|
|
10
10
|
* definition for the Intl services.
|
|
11
11
|
*/
|
|
12
12
|
export declare class IntlModule {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-intl",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1-dev.202211170757",
|
|
4
4
|
"description": "Kendo UI Internationalization for Angular components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"tslib": "^2.3.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@angular/common": "12 -
|
|
37
|
-
"@angular/core": "12 -
|
|
36
|
+
"@angular/common": "12 - 15",
|
|
37
|
+
"@angular/core": "12 - 15",
|
|
38
38
|
"@progress/kendo-licensing": "^1.0.2",
|
|
39
39
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
40
40
|
},
|