@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.
Files changed (44) hide show
  1. package/dist/cdn/js/kendo-vue-intl.js +1 -1
  2. package/dist/es/Intl/IntlProviderProps.js +1 -0
  3. package/dist/es/Localization/LocalizationProviderProps.js +1 -0
  4. package/dist/es/Localization/loadMessages.js +9 -7
  5. package/dist/es/intlUtils.js +2 -2
  6. package/dist/es/package-metadata.js +1 -1
  7. package/dist/esm/Intl/IntlProvider.d.ts +49 -0
  8. package/dist/esm/Intl/IntlProvider.js +95 -0
  9. package/dist/esm/Intl/IntlProviderProps.d.ts +9 -0
  10. package/dist/esm/Intl/IntlProviderProps.js +1 -0
  11. package/dist/esm/Intl/IntlService.d.ts +98 -0
  12. package/dist/esm/Intl/IntlService.js +134 -0
  13. package/dist/esm/Intl/main.d.ts +4 -0
  14. package/dist/esm/Intl/main.js +8 -0
  15. package/dist/esm/Localization/LocalizationProvider.d.ts +49 -0
  16. package/dist/esm/Localization/LocalizationProvider.js +92 -0
  17. package/dist/esm/Localization/LocalizationProviderProps.d.ts +9 -0
  18. package/dist/esm/Localization/LocalizationProviderProps.js +1 -0
  19. package/dist/esm/Localization/LocalizationService.d.ts +18 -0
  20. package/dist/esm/Localization/LocalizationService.js +39 -0
  21. package/dist/esm/Localization/loadMessages.d.ts +7 -0
  22. package/dist/esm/Localization/loadMessages.js +35 -0
  23. package/dist/esm/Localization/main.d.ts +5 -0
  24. package/dist/esm/Localization/main.js +9 -0
  25. package/dist/esm/Localization/messages.d.ts +4 -0
  26. package/dist/esm/Localization/messages.js +4 -0
  27. package/dist/esm/additionalTypes.ts +21 -0
  28. package/dist/esm/coreExports.d.ts +1 -0
  29. package/dist/esm/coreExports.js +1 -0
  30. package/dist/esm/intlUtils.d.ts +21 -0
  31. package/dist/esm/intlUtils.js +37 -0
  32. package/dist/esm/main.d.ts +4 -0
  33. package/dist/esm/main.js +4 -0
  34. package/dist/esm/package-metadata.d.ts +5 -0
  35. package/dist/esm/package-metadata.js +11 -0
  36. package/dist/esm/package.json +3 -0
  37. package/dist/npm/Intl/IntlProvider.js +2 -2
  38. package/dist/npm/Localization/LocalizationProvider.js +1 -1
  39. package/dist/npm/Localization/loadMessages.js +9 -7
  40. package/dist/npm/coreExports.js +1 -0
  41. package/dist/npm/intlUtils.js +2 -2
  42. package/dist/npm/main.js +6 -2
  43. package/dist/npm/package-metadata.js +1 -1
  44. 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 __spreadArrays = (this && this.__spreadArrays) || function () {
3
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
5
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
6
- r[k] = a[j];
7
- return r;
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 = __spreadArrays(acc);
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);
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.load = void 0;
3
4
  var kendo_intl_1 = require("@progress/kendo-intl");
4
5
  Object.defineProperty(exports, "load", { enumerable: true, get: function () { return kendo_intl_1.load; } });
@@ -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 - " + component + " is invalid.";
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 - " + component + " is invalid.";
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
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: 1659428745,
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.0",
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.0"
36
+ "@progress/kendo-vue-common": "3.5.1-dev.202208150613"
31
37
  },
32
38
  "devDependencies": {
33
39
  "@progress/kendo-licensing": "^1.1.0"