@progress/kendo-vue-intl 3.5.0 → 3.5.1-dev.202208150613
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/dist/cdn/js/kendo-vue-intl.js +1 -1
- package/dist/es/Intl/IntlProviderProps.js +1 -0
- package/dist/es/Localization/LocalizationProviderProps.js +1 -0
- package/dist/es/Localization/loadMessages.js +9 -7
- package/dist/es/intlUtils.js +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/Intl/IntlProvider.d.ts +49 -0
- package/dist/esm/Intl/IntlProvider.js +95 -0
- package/dist/esm/Intl/IntlProviderProps.d.ts +9 -0
- package/dist/esm/Intl/IntlProviderProps.js +1 -0
- package/dist/esm/Intl/IntlService.d.ts +98 -0
- package/dist/esm/Intl/IntlService.js +134 -0
- package/dist/esm/Intl/main.d.ts +4 -0
- package/dist/esm/Intl/main.js +8 -0
- package/dist/esm/Localization/LocalizationProvider.d.ts +49 -0
- package/dist/esm/Localization/LocalizationProvider.js +92 -0
- package/dist/esm/Localization/LocalizationProviderProps.d.ts +9 -0
- package/dist/esm/Localization/LocalizationProviderProps.js +1 -0
- package/dist/esm/Localization/LocalizationService.d.ts +18 -0
- package/dist/esm/Localization/LocalizationService.js +39 -0
- package/dist/esm/Localization/loadMessages.d.ts +7 -0
- package/dist/esm/Localization/loadMessages.js +35 -0
- package/dist/esm/Localization/main.d.ts +5 -0
- package/dist/esm/Localization/main.js +9 -0
- package/dist/esm/Localization/messages.d.ts +4 -0
- package/dist/esm/Localization/messages.js +4 -0
- package/dist/esm/additionalTypes.ts +21 -0
- package/dist/esm/coreExports.d.ts +1 -0
- package/dist/esm/coreExports.js +1 -0
- package/dist/esm/intlUtils.d.ts +21 -0
- package/dist/esm/intlUtils.js +37 -0
- package/dist/esm/main.d.ts +4 -0
- package/dist/esm/main.js +4 -0
- package/dist/esm/package-metadata.d.ts +5 -0
- package/dist/esm/package-metadata.js +11 -0
- package/dist/esm/package.json +3 -0
- package/dist/npm/Intl/IntlProvider.js +2 -2
- package/dist/npm/Localization/LocalizationProvider.js +1 -1
- package/dist/npm/Localization/loadMessages.js +9 -7
- package/dist/npm/coreExports.js +1 -0
- package/dist/npm/intlUtils.js +2 -2
- package/dist/npm/main.js +6 -2
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +8 -2
|
@@ -69,7 +69,7 @@ var IntlProviderVue2 = {
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
created: function created() {
|
|
72
|
-
kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
|
|
72
|
+
(0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
|
|
73
73
|
},
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -79,7 +79,7 @@ var IntlProviderVue2 = {
|
|
|
79
79
|
render: function render(createElement) {
|
|
80
80
|
// @ts-ignore
|
|
81
81
|
var h = gh || createElement;
|
|
82
|
-
var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
|
|
82
|
+
var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
|
|
83
83
|
return h("div", [defaultSlot]);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
@@ -74,7 +74,7 @@ var LocalizationProviderVue2 = {
|
|
|
74
74
|
render: function render(createElement) {
|
|
75
75
|
// @ts-ignore
|
|
76
76
|
var h = gh || createElement;
|
|
77
|
-
var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
|
|
77
|
+
var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
|
|
78
78
|
return h("div", [defaultSlot]);
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
+
if (ar || !(i in from)) {
|
|
5
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
+
ar[i] = from[i];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
8
10
|
};
|
|
9
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
12
|
exports.loadMessages = void 0;
|
|
@@ -12,7 +14,7 @@ var messages_1 = require("./messages");
|
|
|
12
14
|
var traverse = function (iterable, langInfo, acc) {
|
|
13
15
|
for (var key in iterable) {
|
|
14
16
|
if (iterable.hasOwnProperty(key)) {
|
|
15
|
-
var accumulator =
|
|
17
|
+
var accumulator = __spreadArray([], acc, true);
|
|
16
18
|
accumulator.push(key);
|
|
17
19
|
if (typeof iterable[key] !== 'string') {
|
|
18
20
|
traverse(iterable[key], langInfo, accumulator);
|
package/dist/npm/coreExports.js
CHANGED
package/dist/npm/intlUtils.js
CHANGED
|
@@ -14,7 +14,7 @@ var LocalizationService_1 = require("./Localization/LocalizationService");
|
|
|
14
14
|
*/
|
|
15
15
|
function provideIntlService(component) {
|
|
16
16
|
if (!component && process.env.NODE_ENV !== 'production') {
|
|
17
|
-
throw "Passed component - "
|
|
17
|
+
throw "Passed component - ".concat(component, " is invalid.");
|
|
18
18
|
}
|
|
19
19
|
var intlServiceFromContext = component.kendoIntlService;
|
|
20
20
|
return (intlServiceFromContext &&
|
|
@@ -32,7 +32,7 @@ exports.provideIntlService = provideIntlService;
|
|
|
32
32
|
*/
|
|
33
33
|
function provideLocalizationService(component) {
|
|
34
34
|
if (!component && process.env.NODE_ENV !== 'production') {
|
|
35
|
-
throw "Passed component - "
|
|
35
|
+
throw "Passed component - ".concat(component, " is invalid.");
|
|
36
36
|
}
|
|
37
37
|
var localizationServiceFromContext = component.kendoLocalizationService;
|
|
38
38
|
return (localizationServiceFromContext &&
|
package/dist/npm/main.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
8
12
|
}));
|
|
9
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
17
|
__exportStar(require("./Intl/main"), exports);
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-intl',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1660543026,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-intl",
|
|
3
3
|
"description": "Kendo UI for Vue Internationalization package",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.1-dev.202208150613",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
"types": "dist/npm/main.d.ts",
|
|
11
11
|
"module": "dist/es/main.js",
|
|
12
12
|
"jsnext:main": "dist/es/main.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
"node": "./dist/esm/main.js",
|
|
15
|
+
"import": "./dist/es/main.js",
|
|
16
|
+
"require": "./dist/npm/main.js",
|
|
17
|
+
"default": "./dist/npm/main.js"
|
|
18
|
+
},
|
|
13
19
|
"scripts": {
|
|
14
20
|
"test": "cd ../../ && npm run test -- --testPathPattern=/packages/intl/.*",
|
|
15
21
|
"start": "gulp start",
|
|
@@ -27,7 +33,7 @@
|
|
|
27
33
|
},
|
|
28
34
|
"dependencies": {
|
|
29
35
|
"@progress/kendo-intl": "^3.0.2",
|
|
30
|
-
"@progress/kendo-vue-common": "3.5.
|
|
36
|
+
"@progress/kendo-vue-common": "3.5.1-dev.202208150613"
|
|
31
37
|
},
|
|
32
38
|
"devDependencies": {
|
|
33
39
|
"@progress/kendo-licensing": "^1.1.0"
|