@progress/kendo-vue-inputs 5.0.2 → 5.1.0-dev.202406111323

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.
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-inputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1716272963,
8
+ publishDate: 1718111577,
9
9
  version: '',
10
10
  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'
11
11
  };
@@ -19,7 +19,7 @@ var ref = allVue.ref;
19
19
  import { Keys, classNames, getListeners, getTabIndex, templateRendering, validatePackage } from '@progress/kendo-vue-common';
20
20
  import { packageMetadata } from '../package-metadata';
21
21
  import { RatingItem } from './RatingItem';
22
- import { calcIsFirstHalf, getRemainder, isHalf, isSelected, toRound } from './utils';
22
+ import { calcIsFirstHalf, getRemainder, isHalf, isSelected, toRound } from './utils/main';
23
23
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
24
24
  import { messages, ratingAriaLabel } from '../messages/main';
25
25
  import { RATING_ACTION, ratingReducer } from './utils/rating-reducer';
@@ -1,4 +1,4 @@
1
- import { toRound } from './index';
1
+ import { toRound } from './main';
2
2
  /**
3
3
  * @hidden
4
4
  */
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-inputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1716272963,
8
+ publishDate: 1718111577,
9
9
  version: '',
10
10
  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'
11
11
  };
@@ -19,7 +19,7 @@ var ref = allVue.ref;
19
19
  import { Keys, classNames, getListeners, getTabIndex, templateRendering, validatePackage } from '@progress/kendo-vue-common';
20
20
  import { packageMetadata } from '../package-metadata.js';
21
21
  import { RatingItem } from './RatingItem.js';
22
- import { calcIsFirstHalf, getRemainder, isHalf, isSelected, toRound } from './utils.js';
22
+ import { calcIsFirstHalf, getRemainder, isHalf, isSelected, toRound } from './utils/main.js';
23
23
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
24
24
  import { messages, ratingAriaLabel } from '../messages/main.js';
25
25
  import { RATING_ACTION, ratingReducer } from './utils/rating-reducer.js';
@@ -1,4 +1,4 @@
1
- import { toRound } from './index.js';
1
+ import { toRound } from './main.js';
2
2
  /**
3
3
  * @hidden
4
4
  */
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-inputs',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1716272963,
11
+ publishDate: 1718111577,
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
  };
@@ -25,9 +25,9 @@ var ref = allVue.ref;
25
25
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
26
26
  var package_metadata_1 = require("../package-metadata");
27
27
  var RatingItem_1 = require("./RatingItem");
28
- var utils_1 = require("./utils");
28
+ var main_1 = require("./utils/main");
29
29
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
30
- var main_1 = require("../messages/main");
30
+ var main_2 = require("../messages/main");
31
31
  var rating_reducer_1 = require("./utils/rating-reducer");
32
32
  /**
33
33
  * @hidden
@@ -144,7 +144,7 @@ var RatingVue2 = {
144
144
  }, function (_, i) {
145
145
  return min + i;
146
146
  });
147
- var remainder = (0, utils_1.getRemainder)((0, utils_1.toRound)(max - min, this.base), step);
147
+ var remainder = (0, main_1.getRemainder)((0, main_1.toRound)(max - min, this.base), step);
148
148
  var stateValue = this.computedValue;
149
149
  var stateHover = this.$data.currentHovered;
150
150
  return h("span", {
@@ -158,7 +158,7 @@ var RatingVue2 = {
158
158
  "aria-valuemax": max,
159
159
  "aria-valuenow": value !== null ? value : undefined,
160
160
  "aria-disabled": disabled ? 'true' : undefined,
161
- "aria-label": ls.toLanguageString(main_1.ratingAriaLabel, main_1.messages[main_1.ratingAriaLabel]),
161
+ "aria-label": ls.toLanguageString(main_2.ratingAriaLabel, main_2.messages[main_2.ratingAriaLabel]),
162
162
  "aria-labelledby": ariaLabelledBy,
163
163
  "aria-describedby": ariaDescribedBy
164
164
  },
@@ -189,7 +189,7 @@ var RatingVue2 = {
189
189
  "aria-valuemax": max,
190
190
  "aria-valuenow": value !== null ? value : undefined,
191
191
  "aria-disabled": disabled ? 'true' : undefined,
192
- "aria-label": ls.toLanguageString(main_1.ratingAriaLabel, main_1.messages[main_1.ratingAriaLabel]),
192
+ "aria-label": ls.toLanguageString(main_2.ratingAriaLabel, main_2.messages[main_2.ratingAriaLabel]),
193
193
  "aria-labelledby": ariaLabelledBy,
194
194
  "aria-describedby": ariaDescribedBy
195
195
  }, [h("input", {
@@ -205,11 +205,11 @@ var RatingVue2 = {
205
205
  }), h("span", {
206
206
  "class": 'k-rating-container'
207
207
  }, [items.map(function (_itemRating) {
208
- var itemValue = (0, utils_1.toRound)(_itemRating + remainder, this.base);
209
- var half = precision === 'half' ? (0, utils_1.isHalf)(itemValue, stateHover !== null ? stateHover : stateValue !== null ? stateValue : 0, step) : false;
210
- var haveSelectedValue = (0, utils_1.isSelected)(itemValue, stateValue, step, selection);
211
- var selected = (0, utils_1.isSelected)(itemValue, stateHover !== null ? stateHover : stateValue, step, selection);
212
- var hovered = (0, utils_1.isSelected)(itemValue, stateHover, step, selection);
208
+ var itemValue = (0, main_1.toRound)(_itemRating + remainder, this.base);
209
+ var half = precision === 'half' ? (0, main_1.isHalf)(itemValue, stateHover !== null ? stateHover : stateValue !== null ? stateValue : 0, step) : false;
210
+ var haveSelectedValue = (0, main_1.isSelected)(itemValue, stateValue, step, selection);
211
+ var selected = (0, main_1.isSelected)(itemValue, stateHover !== null ? stateHover : stateValue, step, selection);
212
+ var hovered = (0, main_1.isSelected)(itemValue, stateHover, step, selection);
213
213
  var itemTemplate = kendo_vue_common_1.templateRendering.call(this, item, kendo_vue_common_1.getListeners.call(this));
214
214
  var defaultItemTemplate = h(RatingItem_1.RatingItem, {
215
215
  afterHovered: stateHover,
@@ -217,7 +217,7 @@ var RatingVue2 = {
217
217
  afterHovered: stateHover,
218
218
  value: itemValue,
219
219
  dir: dir,
220
- title: String(half ? (0, utils_1.toRound)(itemValue - step / 2, this.base) : itemValue),
220
+ title: String(half ? (0, main_1.toRound)(itemValue - step / 2, this.base) : itemValue),
221
221
  icon: icon,
222
222
  svgIcon: svgIcon,
223
223
  svgIconOutline: svgIconOutline,
@@ -231,7 +231,7 @@ var RatingVue2 = {
231
231
  key: itemValue,
232
232
  value: itemValue,
233
233
  dir: dir,
234
- title: String(half ? (0, utils_1.toRound)(itemValue - step / 2, this.base) : itemValue),
234
+ title: String(half ? (0, main_1.toRound)(itemValue - step / 2, this.base) : itemValue),
235
235
  icon: icon,
236
236
  svgIcon: svgIcon,
237
237
  svgIconOutline: svgIconOutline,
@@ -326,8 +326,8 @@ var RatingVue2 = {
326
326
  }
327
327
  if (this.$props.precision === 'half') {
328
328
  var rect = target.getBoundingClientRect();
329
- var isFirstHalf = (0, utils_1.calcIsFirstHalf)(this.$props.dir ? this.$props.dir : 'ltr', rect, eventData.event.clientX);
330
- var payload = isFirstHalf ? (0, utils_1.toRound)(value - this.$props.step / 2, this.base) : value;
329
+ var isFirstHalf = (0, main_1.calcIsFirstHalf)(this.$props.dir ? this.$props.dir : 'ltr', rect, eventData.event.clientX);
330
+ var payload = isFirstHalf ? (0, main_1.toRound)(value - this.$props.step / 2, this.base) : value;
331
331
  this.dispatchValue({
332
332
  type: rating_reducer_1.RATING_ACTION.select,
333
333
  payload: payload,
@@ -351,7 +351,7 @@ var RatingVue2 = {
351
351
  }
352
352
  if (this.$props.precision === 'half') {
353
353
  var rect = target.getBoundingClientRect();
354
- var isFirstHalf = (0, utils_1.calcIsFirstHalf)(this.$props.dir ? this.$props.dir : 'ltr', rect, event.clientX);
354
+ var isFirstHalf = (0, main_1.calcIsFirstHalf)(this.$props.dir ? this.$props.dir : 'ltr', rect, event.clientX);
355
355
  var payload = isFirstHalf ? value - this.$props.step / 2 : value;
356
356
  this.dispatchHover({
357
357
  type: rating_reducer_1.RATING_ACTION.select,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ratingReducer = exports.RATING_ACTION = void 0;
4
- var index_1 = require("./index");
4
+ var main_1 = require("./main");
5
5
  /**
6
6
  * @hidden
7
7
  */
@@ -29,7 +29,7 @@ var ratingReducer = function (state, action) {
29
29
  }
30
30
  return action.payload >= action.min
31
31
  ? action.payload < action.max
32
- ? (0, index_1.toRound)(action.payload, action.step)
32
+ ? (0, main_1.toRound)(action.payload, action.step)
33
33
  : action.max
34
34
  : action.min;
35
35
  case RATING_ACTION.deselect:
@@ -42,14 +42,14 @@ var ratingReducer = function (state, action) {
42
42
  return action.min;
43
43
  }
44
44
  return state + action.step < action.max
45
- ? (0, index_1.toRound)(state + action.step, action.step)
45
+ ? (0, main_1.toRound)(state + action.step, action.step)
46
46
  : action.max;
47
47
  case RATING_ACTION.decrease:
48
48
  if (action.step === undefined) {
49
49
  return state;
50
50
  }
51
- return (0, index_1.toRound)(state - action.step, action.step) >= action.min
52
- ? (0, index_1.toRound)(state - action.step, action.step)
51
+ return (0, main_1.toRound)(state - action.step, action.step) >= action.min
52
+ ? (0, main_1.toRound)(state - action.step, action.step)
53
53
  : action.min;
54
54
  case RATING_ACTION.min:
55
55
  if (action.step === undefined) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-inputs",
3
3
  "description": "Kendo UI for Vue Input package",
4
- "version": "5.0.2",
4
+ "version": "5.1.0-dev.202406111323",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -47,11 +47,11 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@progress/kendo-inputs-common": "^3.1.0",
50
- "@progress/kendo-vue-buttons": "5.0.2",
51
- "@progress/kendo-vue-common": "5.0.2",
52
- "@progress/kendo-vue-dialogs": "5.0.2",
53
- "@progress/kendo-vue-labels": "5.0.2",
54
- "@progress/kendo-vue-popup": "5.0.2"
50
+ "@progress/kendo-vue-buttons": "5.1.0-dev.202406111323",
51
+ "@progress/kendo-vue-common": "5.1.0-dev.202406111323",
52
+ "@progress/kendo-vue-dialogs": "5.1.0-dev.202406111323",
53
+ "@progress/kendo-vue-labels": "5.1.0-dev.202406111323",
54
+ "@progress/kendo-vue-popup": "5.1.0-dev.202406111323"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@progress/kendo-data-query": "^1.7.0",
@@ -60,13 +60,13 @@
60
60
  "@progress/kendo-file-saver": "^1.1.1",
61
61
  "@progress/kendo-licensing": "^1.3.0",
62
62
  "@progress/kendo-svg-icons": "^3.0.0",
63
- "@progress/kendo-vue-buttons": "5.0.2",
64
- "@progress/kendo-vue-dropdowns": "5.0.2",
65
- "@progress/kendo-vue-form": "5.0.2",
66
- "@progress/kendo-vue-intl": "5.0.2",
67
- "@progress/kendo-vue-labels": "5.0.2",
68
- "@progress/kendo-vue-tooltip": "5.0.2",
69
- "@progress/kendo-vue-upload": "5.0.2",
63
+ "@progress/kendo-vue-buttons": "5.1.0-dev.202406111323",
64
+ "@progress/kendo-vue-dropdowns": "5.1.0-dev.202406111323",
65
+ "@progress/kendo-vue-form": "5.1.0-dev.202406111323",
66
+ "@progress/kendo-vue-intl": "5.1.0-dev.202406111323",
67
+ "@progress/kendo-vue-labels": "5.1.0-dev.202406111323",
68
+ "@progress/kendo-vue-tooltip": "5.1.0-dev.202406111323",
69
+ "@progress/kendo-vue-upload": "5.1.0-dev.202406111323",
70
70
  "cldr-core": "^41.0.0",
71
71
  "cldr-dates-full": "^41.0.0",
72
72
  "cldr-numbers-full": "^41.0.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes