@progress/kendo-angular-l10n 4.0.0 → 4.0.1-dev.202211170802
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/bundles/kendo-angular-l10n.umd.js +1 -1
- package/esm2015/rtl.js +2 -0
- package/fesm2015/kendo-angular-l10n.js +2 -0
- package/package.json +10 -10
- package/rtl.d.ts +2 -0
|
@@ -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("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
|
|
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,o,i){"use strict";function r(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 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 o.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(i.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){return!this.messageService||void 0===(e=this.messageService.get(e))?t:e},y);function y(e,t,r){var n=this;this.prefix=e,this.messageService=t,this._rtl=r,this.changes=new o.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})}))}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})});
|
package/esm2015/rtl.js
CHANGED
|
@@ -7,9 +7,11 @@ import { InjectionToken } from '@angular/core';
|
|
|
7
7
|
* A token that specifies the text direction of Kendo UI for Angular components.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
|
+
* {% meta height:230 %}
|
|
10
11
|
* {% embed_file rtl/app.module.ts preview %}
|
|
11
12
|
* {% embed_file rtl/app.component.ts %}
|
|
12
13
|
* {% embed_file shared/main.ts hidden %}
|
|
14
|
+
* {% endmeta %}
|
|
13
15
|
*
|
|
14
16
|
*/
|
|
15
17
|
export const RTL = new InjectionToken("Kendo UI Right-to-Left token");
|
|
@@ -86,9 +86,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
86
86
|
* A token that specifies the text direction of Kendo UI for Angular components.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
|
+
* {% meta height:230 %}
|
|
89
90
|
* {% embed_file rtl/app.module.ts preview %}
|
|
90
91
|
* {% embed_file rtl/app.component.ts %}
|
|
91
92
|
* {% embed_file shared/main.ts hidden %}
|
|
93
|
+
* {% endmeta %}
|
|
92
94
|
*
|
|
93
95
|
*/
|
|
94
96
|
const RTL = new InjectionToken("Kendo UI Right-to-Left token");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-l10n",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1-dev.202211170802",
|
|
4
4
|
"description": "Localization Services - Kendo UI Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"friendlyName": "Localization"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
24
|
+
"tslib": "^2.3.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/common": "12 -
|
|
28
|
-
"@angular/core": "12 -
|
|
27
|
+
"@angular/common": "12 - 15",
|
|
28
|
+
"@angular/core": "12 - 15",
|
|
29
29
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"config": {
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"fallbackTags": {
|
|
61
61
|
"dev": "latest"
|
|
62
62
|
},
|
|
63
|
-
"analyzeCommits": "@
|
|
64
|
-
"generateNotes": "@
|
|
65
|
-
"getLastRelease": "@
|
|
66
|
-
"verifyConditions": "@
|
|
67
|
-
"verifyRelease": "@
|
|
63
|
+
"analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
|
|
64
|
+
"generateNotes": "@progress/semantic-prerelease/generateNotes",
|
|
65
|
+
"getLastRelease": "@progress/semantic-prerelease/getLastRelease",
|
|
66
|
+
"verifyConditions": "@progress/semantic-prerelease/verifyConditions",
|
|
67
|
+
"verifyRelease": "@progress/semantic-prerelease/verifyRelease"
|
|
68
68
|
},
|
|
69
69
|
"main": "bundles/kendo-angular-l10n.umd.js",
|
|
70
70
|
"module": "fesm2015/kendo-angular-l10n.js",
|
package/rtl.d.ts
CHANGED
|
@@ -7,9 +7,11 @@ import { InjectionToken } from '@angular/core';
|
|
|
7
7
|
* A token that specifies the text direction of Kendo UI for Angular components.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
|
+
* {% meta height:230 %}
|
|
10
11
|
* {% embed_file rtl/app.module.ts preview %}
|
|
11
12
|
* {% embed_file rtl/app.component.ts %}
|
|
12
13
|
* {% embed_file shared/main.ts hidden %}
|
|
14
|
+
* {% endmeta %}
|
|
13
15
|
*
|
|
14
16
|
*/
|
|
15
17
|
export declare const RTL: InjectionToken<string>;
|