@progress/kendo-vue-dropdowns 3.2.9 → 3.3.0-dev.202205080814

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.
@@ -45,7 +45,6 @@ export interface ComboBoxState extends DropDownStateBase {
45
45
  virtualHasChanged: any;
46
46
  prevOpened: any;
47
47
  prevCurrentOpened: any;
48
- prevValue: any;
49
48
  prevCurrentValue: any;
50
49
  inputRef: any;
51
50
  elementRef: any;
@@ -190,6 +190,7 @@ var ComboBoxVue2 = {
190
190
  this.currentValue = undefined;
191
191
  this.currentFocused = undefined;
192
192
  this.currentOpened = undefined;
193
+ this.prevCurrentValue = this.computedValue();
193
194
  this.base = new DropDownBase(this);
194
195
  this.anchor = guid();
195
196
  this.inputId = guid();
@@ -253,7 +254,7 @@ var ComboBoxVue2 = {
253
254
  this.base.vs.reset();
254
255
  this.virtualTotalHasChanged = false;
255
256
  } else {
256
- var prevSelectedItem = this.prevValue !== undefined ? this.prevValue : this.prevCurrentValue;
257
+ var prevSelectedItem = this.prevCurrentValue;
257
258
  var selectedItemIndex = dataItems.findIndex(function (i) {
258
259
  return areSame(i, selectedItem, dataItemKey);
259
260
  });
@@ -274,6 +275,7 @@ var ComboBoxVue2 = {
274
275
  this.input.focus();
275
276
  }
276
277
 
278
+ this.prevCurrentValue = this.computedValue();
277
279
  this.setValidity();
278
280
  },
279
281
  watch: {
@@ -283,12 +285,6 @@ var ComboBoxVue2 = {
283
285
  opened: function opened(_, oldValue) {
284
286
  this.prevOpened = oldValue;
285
287
  },
286
- value: function value(_, oldValue) {
287
- this.prevValue = oldValue;
288
- },
289
- currentValue: function currentValue(_, oldValue) {
290
- this.prevCurrentValue = oldValue;
291
- },
292
288
  virtual: function virtual(newValue, oldValue) {
293
289
  if (newValue && oldValue && newValue.total !== oldValue.total) {
294
290
  this.virtualTotalHasChanged = true;
@@ -52,8 +52,7 @@ export interface DropDownListState {
52
52
  inputId: string;
53
53
  prevOpened: any;
54
54
  prevCurrentOpened: any;
55
- prevValue: any;
56
- prevCurrnetValue: any;
55
+ prevCurrentValue: any;
57
56
  selectRef: any;
58
57
  baseWrapperRef: any;
59
58
  listRef: any;
@@ -187,14 +187,6 @@ var DropDownListVue2 = {
187
187
  // @ts-ignore
188
188
  this.prevOpened = oldValue;
189
189
  },
190
- value: function value(_, oldValue) {
191
- // @ts-ignore
192
- this.prevValue = oldValue;
193
- },
194
- currentValue: function currentValue(_, oldValue) {
195
- // @ts-ignore
196
- this.prevCurrnetValue = oldValue;
197
- },
198
190
  virtual: function virtual(newValue, oldValue) {
199
191
  if (newValue && oldValue && newValue.total !== oldValue.total) {
200
192
  this.virtualTotalHasChanged = true;
@@ -207,6 +199,7 @@ var DropDownListVue2 = {
207
199
  this.valueDuringOnChange = undefined;
208
200
  this.currentText = undefined;
209
201
  this.currentValue = undefined;
202
+ this.prevCurrentValue = this.computedValue();
210
203
  this.currentFocused = undefined;
211
204
  this.currentOpened = undefined;
212
205
  this.base = new DropDownBase(this);
@@ -283,7 +276,7 @@ var DropDownListVue2 = {
283
276
  this.virtualTotalHasChanged = false;
284
277
  } else {
285
278
  var selectedItem_1 = this.computedValue();
286
- var prevSelectedItem = this.prevValue !== undefined ? this.prevValue : this.prevCurrnetValue;
279
+ var prevSelectedItem = this.prevCurrentValue;
287
280
  var selectedItemIndex = dataItems.findIndex(function (i) {
288
281
  return areSame(i, selectedItem_1, dataItemKey);
289
282
  });
@@ -307,6 +300,7 @@ var DropDownListVue2 = {
307
300
  }
308
301
 
309
302
  this._navigated = false;
303
+ this.prevCurrentValue = this.computedValue();
310
304
  this.setValidity();
311
305
  },
312
306
  computed: {
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dropdowns',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1651756978,
8
+ publishDate: 1651997067,
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
  };
@@ -45,7 +45,6 @@ export interface ComboBoxState extends DropDownStateBase {
45
45
  virtualHasChanged: any;
46
46
  prevOpened: any;
47
47
  prevCurrentOpened: any;
48
- prevValue: any;
49
48
  prevCurrentValue: any;
50
49
  inputRef: any;
51
50
  elementRef: any;
@@ -207,6 +207,7 @@ var ComboBoxVue2 = {
207
207
  this.currentValue = undefined;
208
208
  this.currentFocused = undefined;
209
209
  this.currentOpened = undefined;
210
+ this.prevCurrentValue = this.computedValue();
210
211
  this.base = new DropDownBase_1.default(this);
211
212
  this.anchor = kendo_vue_common_1.guid();
212
213
  this.inputId = kendo_vue_common_1.guid();
@@ -270,7 +271,7 @@ var ComboBoxVue2 = {
270
271
  this.base.vs.reset();
271
272
  this.virtualTotalHasChanged = false;
272
273
  } else {
273
- var prevSelectedItem = this.prevValue !== undefined ? this.prevValue : this.prevCurrentValue;
274
+ var prevSelectedItem = this.prevCurrentValue;
274
275
  var selectedItemIndex = dataItems.findIndex(function (i) {
275
276
  return utils_1.areSame(i, selectedItem, dataItemKey);
276
277
  });
@@ -291,6 +292,7 @@ var ComboBoxVue2 = {
291
292
  this.input.focus();
292
293
  }
293
294
 
295
+ this.prevCurrentValue = this.computedValue();
294
296
  this.setValidity();
295
297
  },
296
298
  watch: {
@@ -300,12 +302,6 @@ var ComboBoxVue2 = {
300
302
  opened: function opened(_, oldValue) {
301
303
  this.prevOpened = oldValue;
302
304
  },
303
- value: function value(_, oldValue) {
304
- this.prevValue = oldValue;
305
- },
306
- currentValue: function currentValue(_, oldValue) {
307
- this.prevCurrentValue = oldValue;
308
- },
309
305
  virtual: function virtual(newValue, oldValue) {
310
306
  if (newValue && oldValue && newValue.total !== oldValue.total) {
311
307
  this.virtualTotalHasChanged = true;
@@ -52,8 +52,7 @@ export interface DropDownListState {
52
52
  inputId: string;
53
53
  prevOpened: any;
54
54
  prevCurrentOpened: any;
55
- prevValue: any;
56
- prevCurrnetValue: any;
55
+ prevCurrentValue: any;
57
56
  selectRef: any;
58
57
  baseWrapperRef: any;
59
58
  listRef: any;
@@ -204,14 +204,6 @@ var DropDownListVue2 = {
204
204
  // @ts-ignore
205
205
  this.prevOpened = oldValue;
206
206
  },
207
- value: function value(_, oldValue) {
208
- // @ts-ignore
209
- this.prevValue = oldValue;
210
- },
211
- currentValue: function currentValue(_, oldValue) {
212
- // @ts-ignore
213
- this.prevCurrnetValue = oldValue;
214
- },
215
207
  virtual: function virtual(newValue, oldValue) {
216
208
  if (newValue && oldValue && newValue.total !== oldValue.total) {
217
209
  this.virtualTotalHasChanged = true;
@@ -224,6 +216,7 @@ var DropDownListVue2 = {
224
216
  this.valueDuringOnChange = undefined;
225
217
  this.currentText = undefined;
226
218
  this.currentValue = undefined;
219
+ this.prevCurrentValue = this.computedValue();
227
220
  this.currentFocused = undefined;
228
221
  this.currentOpened = undefined;
229
222
  this.base = new DropDownBase_1.default(this);
@@ -300,7 +293,7 @@ var DropDownListVue2 = {
300
293
  this.virtualTotalHasChanged = false;
301
294
  } else {
302
295
  var selectedItem_1 = this.computedValue();
303
- var prevSelectedItem = this.prevValue !== undefined ? this.prevValue : this.prevCurrnetValue;
296
+ var prevSelectedItem = this.prevCurrentValue;
304
297
  var selectedItemIndex = dataItems.findIndex(function (i) {
305
298
  return utils_1.areSame(i, selectedItem_1, dataItemKey);
306
299
  });
@@ -324,6 +317,7 @@ var DropDownListVue2 = {
324
317
  }
325
318
 
326
319
  this._navigated = false;
320
+ this.prevCurrentValue = this.computedValue();
327
321
  this.setValidity();
328
322
  },
329
323
  computed: {
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-dropdowns',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1651756978,
11
+ publishDate: 1651997067,
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-dropdowns",
3
3
  "description": "Kendo UI for Vue Dropdowns package",
4
- "version": "3.2.9",
4
+ "version": "3.3.0-dev.202205080814",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -43,14 +43,14 @@
43
43
  "vue": "^2.6.12 || ^3.0.2"
44
44
  },
45
45
  "dependencies": {
46
- "@progress/kendo-vue-buttons": "3.2.9",
47
- "@progress/kendo-vue-common": "3.2.9",
48
- "@progress/kendo-vue-popup": "3.2.9"
46
+ "@progress/kendo-vue-buttons": "3.3.0-dev.202205080814",
47
+ "@progress/kendo-vue-common": "3.3.0-dev.202205080814",
48
+ "@progress/kendo-vue-popup": "3.3.0-dev.202205080814"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@progress/kendo-data-query": "^1.5.4",
52
52
  "@progress/kendo-licensing": "^1.1.0",
53
- "@progress/kendo-vue-intl": "3.2.9"
53
+ "@progress/kendo-vue-intl": "3.3.0-dev.202205080814"
54
54
  },
55
55
  "author": "Progress",
56
56
  "license": "SEE LICENSE IN LICENSE.md",