@progress/kendo-vue-common 3.5.1-dev.202208100944 → 3.5.1

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/es/getter.js CHANGED
@@ -1,4 +1,4 @@
1
- import { FIELD_REGEX } from './constants';
1
+ import { FIELD_REGEX } from './constants/index';
2
2
  var getterCache = {};
3
3
  getterCache.undefined = function () { return undefined; };
4
4
  /**
package/dist/es/setter.js CHANGED
@@ -1,4 +1,4 @@
1
- import { FIELD_REGEX } from './constants';
1
+ import { FIELD_REGEX } from './constants/index';
2
2
  var setterCache = {};
3
3
  setterCache.undefined = function (obj) { return obj; };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { FIELD_REGEX } from './constants.js';
1
+ import { FIELD_REGEX } from './constants/index.js';
2
2
  var getterCache = {};
3
3
  getterCache.undefined = function () { return undefined; };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { FIELD_REGEX } from './constants.js';
1
+ import { FIELD_REGEX } from './constants/index.js';
2
2
  var setterCache = {};
3
3
  setterCache.undefined = function (obj) { return obj; };
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getter = void 0;
4
- var constants_1 = require("./constants");
4
+ var index_1 = require("./constants/index");
5
5
  var getterCache = {};
6
6
  getterCache.undefined = function () { return undefined; };
7
7
  /**
@@ -12,7 +12,7 @@ function getter(field) {
12
12
  return getterCache[field];
13
13
  }
14
14
  var fields = [];
15
- field.replace(constants_1.FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
15
+ field.replace(index_1.FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
16
16
  fields.push(index !== undefined ? index : (indexAccessor || fieldName));
17
17
  });
18
18
  getterCache[field] = function (obj) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.setter = void 0;
4
- var constants_1 = require("./constants");
4
+ var index_1 = require("./constants/index");
5
5
  var setterCache = {};
6
6
  setterCache.undefined = function (obj) { return obj; };
7
7
  /**
@@ -12,7 +12,7 @@ function setter(field) {
12
12
  return setterCache[field];
13
13
  }
14
14
  var fields = [];
15
- field.replace(constants_1.FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
15
+ field.replace(index_1.FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
16
16
  fields.push(index !== undefined ? index : (indexAccessor || fieldName));
17
17
  });
18
18
  setterCache[field] = function (obj, value) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-common",
3
3
  "description": "Kendo UI for Vue Common Utilities package",
4
- "version": "3.5.1-dev.202208100944",
4
+ "version": "3.5.1",
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/utils/.*",
15
21
  "start": "gulp start",