@progress/kendo-vue-intl
Advanced tools
Comparing version 0.1.5 to 0.1.6-dev.201901300754
import IntlProvider from './IntlProvider'; | ||
import { IntlService } from './IntlService'; | ||
export { IntlProvider, IntlService }; | ||
// Automatic installation if Vue has been added to the global scope. | ||
// @ts-ignore | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
// @ts-ignore | ||
window.Vue.component('kendo-intl-provider', IntlProvider); | ||
} |
@@ -5,1 +5,7 @@ import { loadMessages } from './loadMessages'; | ||
export { loadMessages, LocalizationProvider, LocalizationService }; | ||
// Automatic installation if Vue has been added to the global scope. | ||
// @ts-ignore | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
// @ts-ignore | ||
window.Vue.component('kendo-localization-provider', LocalizationProvider); | ||
} |
@@ -7,1 +7,7 @@ "use strict"; | ||
exports.IntlService = IntlService_1.IntlService; | ||
// Automatic installation if Vue has been added to the global scope. | ||
// @ts-ignore | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
// @ts-ignore | ||
window.Vue.component('kendo-intl-provider', IntlProvider_1.default); | ||
} |
@@ -9,1 +9,7 @@ "use strict"; | ||
exports.LocalizationService = LocalizationService_1.LocalizationService; | ||
// Automatic installation if Vue has been added to the global scope. | ||
// @ts-ignore | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
// @ts-ignore | ||
window.Vue.component('kendo-localization-provider', LocalizationProvider_1.LocalizationProvider); | ||
} |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-vue-intl",["@telerik/kendo-intl","vue-class-component","@progress/kendo-vue-common"],function(r){var o,n,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){n=t(e)},function(e){i=t(e)}],execute:function(){!function(o){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=o,r.c=n,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=function(){function e(e){this.locale=e}return e.prototype.format=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return 1===t.length&&Array.isArray(t[0])?n.format(e,t[0],this.locale):n.format(e,t,this.locale)},e.prototype.formatDate=function(e,t){return n.formatDate(e,t,this.locale)},e.prototype.toString=function(e,t){return n.toString(e,t,this.locale)},e.prototype.parseNumber=function(e,t){return n.parseNumber(e,this.locale,t)},e.prototype.parseDate=function(e,t){return n.parseDate(e,t,this.locale)},e.prototype.formatNumber=function(e,t){return n.formatNumber(e,t,this.locale)},e.prototype.dateFieldName=function(e){return n.dateFieldName(e,this.locale)},e.prototype.dateFormatNames=function(e){return n.dateFormatNames(this.locale,e)},e.prototype.splitDateFormat=function(e){return n.splitDateFormat(e,this.locale)},e.prototype.numberSymbols=function(){return n.numberSymbols(this.locale)},e.prototype.firstDay=function(){return n.firstDay(this.locale)},e}();t.IntlService=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5),r=function(){function e(e){this.language=e}return e.prototype.toLanguageString=function(e,t){return this.language&&n.messages[this.language]&&n.messages[this.language].hasOwnProperty(e)?n.messages[this.language][e]:t},e}();t.LocalizationService=r},function(e,t){e.exports=o},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messages=Object.create({})},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(7)),n(t(9)),n(t(12)),n(t(13)),function(e){for(var t in e)r(t,e[t])}(o)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(8);t.IntlProvider=n.default;var r=o(0);t.IntlService=r.IntlService},function(e,t,o){"use strict";var n,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),u=o(3),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getIntlService=function(){return new i.IntlService(this.$props.locale)},t.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},t.prototype.render=function(e){return e("div",[this.$slots.default])},function(e,t,o,n){var r,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":a(Reflect))&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;0<=c;c--)(r=e[c])&&(u=(i<3?r(u):3<i?r(t,o,u):r(t,o))||u);return 3<i&&u&&Object.defineProperty(t,o,u),u}([u.default({props:{locale:String},provide:function(){return this.getChildContext()}})],t)}(o(4).VueComponent);t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(10);t.loadMessages=n.loadMessages;var r=o(11);t.LocalizationProvider=r.LocalizationProvider;var i=o(1);t.LocalizationService=i.LocalizationService},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.loadMessages=function(e,t){!function e(t,o,n){for(var r in t)if(t.hasOwnProperty(r)){var i=n.slice();if(i.push(r),"string"!=typeof t[r])e(t[r],o,i);else{var u=t[r];Object.defineProperty(o,i.join("."),{value:u})}}}(e,n.messages[t]=n.messages[t]||{},[])}},function(e,t,o){"use strict";var n,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),u=o(3),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLocalizationService=function(){return new i.LocalizationService(this.$props.language)},t.prototype.getChildContext=function(){return{kendoLocalizationService:this.getLocalizationService()}},t.prototype.render=function(e){return e("div",[this.$slots.default])},function(e,t,o,n){var r,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":a(Reflect))&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;0<=c;c--)(r=e[c])&&(u=(i<3?r(u):3<i?r(t,o,u):r(t,o))||u);return 3<i&&u&&Object.defineProperty(t,o,u),u}([u.default({props:{language:String},provide:function(){return this.getChildContext()}})],t)}(o(4).VueComponent);t.LocalizationProvider=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2);t.load=n.load},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),r=o(1);t.provideIntlService=function(e){return e.kendoIntlService||new n.IntlService("en")},t.provideLocalizationService=function(e){return e.kendoLocalizationService||new r.LocalizationService}}])}}}); | ||
System.register("@progress/kendo-vue-intl",["@telerik/kendo-intl","vue-class-component","@progress/kendo-vue-common"],function(r){var o,n,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){n=t(e)},function(e){i=t(e)}],execute:function(){!function(o){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=o,r.c=n,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=function(){function e(e){this.locale=e}return e.prototype.format=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return 1===t.length&&Array.isArray(t[0])?n.format(e,t[0],this.locale):n.format(e,t,this.locale)},e.prototype.formatDate=function(e,t){return n.formatDate(e,t,this.locale)},e.prototype.toString=function(e,t){return n.toString(e,t,this.locale)},e.prototype.parseNumber=function(e,t){return n.parseNumber(e,this.locale,t)},e.prototype.parseDate=function(e,t){return n.parseDate(e,t,this.locale)},e.prototype.formatNumber=function(e,t){return n.formatNumber(e,t,this.locale)},e.prototype.dateFieldName=function(e){return n.dateFieldName(e,this.locale)},e.prototype.dateFormatNames=function(e){return n.dateFormatNames(this.locale,e)},e.prototype.splitDateFormat=function(e){return n.splitDateFormat(e,this.locale)},e.prototype.numberSymbols=function(){return n.numberSymbols(this.locale)},e.prototype.firstDay=function(){return n.firstDay(this.locale)},e}();t.IntlService=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5),r=function(){function e(e){this.language=e}return e.prototype.toLanguageString=function(e,t){return this.language&&n.messages[this.language]&&n.messages[this.language].hasOwnProperty(e)?n.messages[this.language][e]:t},e}();t.LocalizationService=r},function(e,t){e.exports=o},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messages=Object.create({})},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(7)),n(t(9)),n(t(12)),n(t(13)),function(e){for(var t in e)r(t,e[t])}(o)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(8);t.IntlProvider=n.default;var r=o(0);t.IntlService=r.IntlService,"undefined"!=typeof window&&window.Vue&&window.Vue.component("kendo-intl-provider",n.default)},function(e,t,o){"use strict";var n,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),u=o(3),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getIntlService=function(){return new i.IntlService(this.$props.locale)},t.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},t.prototype.render=function(e){return e("div",[this.$slots.default])},function(e,t,o,n){var r,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":a(Reflect))&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;0<=c;c--)(r=e[c])&&(u=(i<3?r(u):3<i?r(t,o,u):r(t,o))||u);return 3<i&&u&&Object.defineProperty(t,o,u),u}([u.default({props:{locale:String},provide:function(){return this.getChildContext()}})],t)}(o(4).VueComponent);t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(10);t.loadMessages=n.loadMessages;var r=o(11);t.LocalizationProvider=r.LocalizationProvider;var i=o(1);t.LocalizationService=i.LocalizationService,"undefined"!=typeof window&&window.Vue&&window.Vue.component("kendo-localization-provider",r.LocalizationProvider)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.loadMessages=function(e,t){!function e(t,o,n){for(var r in t)if(t.hasOwnProperty(r)){var i=n.slice();if(i.push(r),"string"!=typeof t[r])e(t[r],o,i);else{var u=t[r];Object.defineProperty(o,i.join("."),{value:u})}}}(e,n.messages[t]=n.messages[t]||{},[])}},function(e,t,o){"use strict";var n,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),u=o(3),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLocalizationService=function(){return new i.LocalizationService(this.$props.language)},t.prototype.getChildContext=function(){return{kendoLocalizationService:this.getLocalizationService()}},t.prototype.render=function(e){return e("div",[this.$slots.default])},function(e,t,o,n){var r,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":a(Reflect))&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;0<=c;c--)(r=e[c])&&(u=(i<3?r(u):3<i?r(t,o,u):r(t,o))||u);return 3<i&&u&&Object.defineProperty(t,o,u),u}([u.default({props:{language:String},provide:function(){return this.getChildContext()}})],t)}(o(4).VueComponent);t.LocalizationProvider=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2);t.load=n.load},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),r=o(1);t.provideIntlService=function(e){return e.kendoIntlService||new n.IntlService("en")},t.provideLocalizationService=function(e){return e.kendoLocalizationService||new r.LocalizationService}}])}}}); |
{ | ||
"name": "@progress/kendo-vue-intl", | ||
"description": "KendoVue Internationalization package", | ||
"version": "0.1.5", | ||
"version": "0.1.6-dev.201901300754", | ||
"repository": { | ||
@@ -30,3 +30,3 @@ "type": "git", | ||
"dependencies": { | ||
"@progress/kendo-vue-common": "0.1.5", | ||
"@progress/kendo-vue-common": "0.1.6-dev.201901300754", | ||
"@telerik/kendo-intl": "^1.3.0" | ||
@@ -33,0 +33,0 @@ }, |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173240
1583
+ Added@progress/kendo-vue-common@0.1.6-dev.201901300754(transitive)
- Removed@progress/kendo-vue-common@0.1.5(transitive)