@progress/kendo-angular-l10n
Advanced tools
Comparing version 4.0.0-next.202202031527 to 4.0.0-next.202202031612
@@ -5,2 +5,2 @@ /**----------------------------------------------------------------------------------------- | ||
*-------------------------------------------------------------------------------------------*/ | ||
!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,u,o){"use strict";function g(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 r=g(t),n=(i.prototype.notify=function(e){this.changes.next({rtl:e})},i.prototype.get=function(e){},i);function i(){this.changes=new u.BehaviorSubject({rtl:void 0})}n.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n,deps:[],target:r.ɵɵFactoryTarget.Injectable}),n.ɵprov=r.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n,decorators:[{type:t.Injectable}],ctorParameters:function(){return[]}});Object.defineProperty(a.prototype,"override",{get:function(){return!1},enumerable:!1,configurable:!0}),a.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some(function(e){return!t[e].isFirstChange()})&&this.service.notifyChanges()},a.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(o.skip(1)).subscribe(function(){return e.register(e)})},a.prototype.register=function(e){var t=this;Object.keys(e).forEach(function(e){return t.service.register(e,t[e],t.override)})},a.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};var s=a;function a(){}s.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:s,deps:[],target:r.ɵɵFactoryTarget.Component}),s.ɵcmp=r.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:s,selector:"ng-component",usesOnChanges:!0,ngImport:r,template:"",isInline:!0}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:s,decorators:[{type:t.Component,args:[{template:""}]}]});var f=new t.InjectionToken("Kendo UI Right-to-Left token"),l=new t.InjectionToken("Localization key prefix"),c=(Object.defineProperty(p.prototype,"rtl",{get:function(){return this._rtl},enumerable:!1,configurable:!0}),p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},p.prototype.get=function(e){e=this.key(e);return this.dictionary[e]},p.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},p.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},p.prototype.key=function(e){return this.prefix+"."+e},p.prototype.defaultValue=function(e,t){if(!this.messageService)return t;e=this.messageService.get(e);return void 0===e?t:e},p);function p(e,t,r){var n=this;this.prefix=e,this.messageService=t,this._rtl=r,this.changes=new u.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})}))}c.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c,deps:[{token:l},{token:n,optional:!0},{token:f,optional:!0}],target:r.ɵɵFactoryTarget.Injectable}),c.ɵprov=r.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c,decorators:[{type:t.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:t.Inject,args:[l]}]},{type:n,decorators:[{type:t.Optional}]},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[f]}]}]}}),e.ComponentMessages=s,e.L10N_PREFIX=l,e.LocalizationService=c,e.MessageService=n,e.RTL=f,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!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,u,i){"use strict";function g(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 r=g(t),n=(o.prototype.notify=function(e){this.changes.next({rtl:e})},o.prototype.get=function(e){},o);function o(){this.changes=new u.BehaviorSubject({rtl:void 0})}n.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n,deps:[],target:r.ɵɵFactoryTarget.Injectable}),n.ɵprov=r.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n,decorators:[{type:t.Injectable}],ctorParameters:function(){return[]}});Object.defineProperty(a.prototype,"override",{get:function(){return!1},enumerable:!1,configurable:!0}),a.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some(function(e){return!t[e].isFirstChange()})&&this.service.notifyChanges()},a.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(i.skip(1)).subscribe(function(){return e.register(e)})},a.prototype.register=function(e){var t=this;Object.keys(e).forEach(function(e){return t.service.register(e,t[e],t.override)})},a.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};var s=a;function a(){}s.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:s,deps:[],target:r.ɵɵFactoryTarget.Directive}),s.ɵdir=r.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:s,usesOnChanges:!0,ngImport:r}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:s,decorators:[{type:t.Directive,args:[{}]}]});var f=new t.InjectionToken("Kendo UI Right-to-Left token"),y=new t.InjectionToken("Localization key prefix"),c=(Object.defineProperty(p.prototype,"rtl",{get:function(){return this._rtl},enumerable:!1,configurable:!0}),p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},p.prototype.get=function(e){e=this.key(e);return this.dictionary[e]},p.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},p.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},p.prototype.key=function(e){return this.prefix+"."+e},p.prototype.defaultValue=function(e,t){if(!this.messageService)return t;e=this.messageService.get(e);return void 0===e?t:e},p);function p(e,t,r){var n=this;this.prefix=e,this.messageService=t,this._rtl=r,this.changes=new u.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(i.map(function(e){e=e.rtl;return void 0!==e?e:n._rtl}),i.tap(function(e){return n._rtl=e})).subscribe(function(e){n.dictionary={},n.changes.next({rtl:e})}))}c.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c,deps:[{token:y},{token:n,optional:!0},{token:f,optional:!0}],target:r.ɵɵFactoryTarget.Injectable}),c.ɵprov=r.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c,decorators:[{type:t.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:t.Inject,args:[y]}]},{type:n,decorators:[{type:t.Optional}]},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[f]}]}]}}),e.ComponentMessages=s,e.L10N_PREFIX=y,e.LocalizationService=c,e.MessageService=n,e.RTL=f,Object.defineProperty(e,"__esModule",{value:!0})}); |
@@ -23,3 +23,3 @@ /**----------------------------------------------------------------------------------------- | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentMessages, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentMessages, "ng-component", never, {}, {}, never, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentMessages, never, never, {}, {}, never>; | ||
} |
@@ -5,3 +5,3 @@ /**----------------------------------------------------------------------------------------- | ||
*-------------------------------------------------------------------------------------------*/ | ||
import { Component } from '@angular/core'; | ||
import { Directive } from '@angular/core'; | ||
import { skip } from "rxjs/operators"; | ||
@@ -38,9 +38,7 @@ import * as i0 from "@angular/core"; | ||
} | ||
ComponentMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Component }); | ||
ComponentMessages.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ComponentMessages, selector: "ng-component", usesOnChanges: true, ngImport: i0, template: '', isInline: true }); | ||
ComponentMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Directive }); | ||
ComponentMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ComponentMessages, usesOnChanges: true, ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, decorators: [{ | ||
type: Component, | ||
args: [{ | ||
template: '' | ||
}] | ||
type: Directive, | ||
args: [{}] | ||
}] }); |
@@ -6,3 +6,3 @@ /**----------------------------------------------------------------------------------------- | ||
import * as i0 from '@angular/core'; | ||
import { Injectable, Component, InjectionToken, Inject, Optional } from '@angular/core'; | ||
import { Injectable, Directive, InjectionToken, Inject, Optional } from '@angular/core'; | ||
import { BehaviorSubject } from 'rxjs'; | ||
@@ -80,9 +80,7 @@ import { skip, map, tap } from 'rxjs/operators'; | ||
} | ||
ComponentMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Component }); | ||
ComponentMessages.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ComponentMessages, selector: "ng-component", usesOnChanges: true, ngImport: i0, template: '', isInline: true }); | ||
ComponentMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, deps: [], target: i0.ɵɵFactoryTarget.Directive }); | ||
ComponentMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ComponentMessages, usesOnChanges: true, ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComponentMessages, decorators: [{ | ||
type: Component, | ||
args: [{ | ||
template: '' | ||
}] | ||
type: Directive, | ||
args: [{}] | ||
}] }); | ||
@@ -89,0 +87,0 @@ |
{ | ||
"name": "@progress/kendo-angular-l10n", | ||
"version": "4.0.0-next.202202031527", | ||
"version": "4.0.0-next.202202031612", | ||
"description": "Localization Services - Kendo UI Angular", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
66280
528
5