@progress/kendo-vue-inputs 3.6.4 → 3.6.5-dev.202210181442

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 (74) hide show
  1. package/dist/cdn/js/kendo-vue-inputs.js +1 -1
  2. package/dist/es/checkbox/Checkbox.js +17 -35
  3. package/dist/es/colors/ColorContrastLabels.js +0 -2
  4. package/dist/es/colors/ColorContrastSvg.js +6 -20
  5. package/dist/es/colors/ColorGradient.js +2 -28
  6. package/dist/es/colors/ColorInput.js +12 -20
  7. package/dist/es/colors/ColorPalette.js +0 -19
  8. package/dist/es/colors/ColorPicker.js +28 -52
  9. package/dist/es/colors/FlatColorPicker.js +14 -24
  10. package/dist/es/colors/HexInput.js +0 -4
  11. package/dist/es/colors/Picker.js +6 -9
  12. package/dist/es/input/Input.js +15 -29
  13. package/dist/es/input-separator/InputSeparator.js +0 -2
  14. package/dist/es/maskedtextbox/MaskedTextBox.js +13 -32
  15. package/dist/es/numerictextbox/NumericTextBox.js +15 -48
  16. package/dist/es/numerictextbox/utils/main.js +33 -132
  17. package/dist/es/package-metadata.js +1 -1
  18. package/dist/es/radiobutton/RadioButton.js +11 -16
  19. package/dist/es/radiobutton/RadioGroup.js +9 -12
  20. package/dist/es/range-slider/RangeSlider.js +9 -32
  21. package/dist/es/range-slider/range-raducer.js +0 -26
  22. package/dist/es/slider/Slider.js +8 -20
  23. package/dist/es/slider/SliderLabel.js +2 -12
  24. package/dist/es/switch/Switch.js +6 -18
  25. package/dist/es/textarea/TextArea.js +27 -40
  26. package/dist/esm/checkbox/Checkbox.js +17 -35
  27. package/dist/esm/colors/ColorContrastLabels.js +0 -2
  28. package/dist/esm/colors/ColorContrastSvg.js +6 -20
  29. package/dist/esm/colors/ColorGradient.js +2 -28
  30. package/dist/esm/colors/ColorInput.js +12 -20
  31. package/dist/esm/colors/ColorPalette.js +0 -19
  32. package/dist/esm/colors/ColorPicker.js +28 -52
  33. package/dist/esm/colors/FlatColorPicker.js +14 -24
  34. package/dist/esm/colors/HexInput.js +0 -4
  35. package/dist/esm/colors/Picker.js +6 -9
  36. package/dist/esm/input/Input.js +15 -29
  37. package/dist/esm/input-separator/InputSeparator.js +0 -2
  38. package/dist/esm/maskedtextbox/MaskedTextBox.js +13 -32
  39. package/dist/esm/numerictextbox/NumericTextBox.js +15 -48
  40. package/dist/esm/numerictextbox/utils/main.js +33 -132
  41. package/dist/esm/package-metadata.js +1 -1
  42. package/dist/esm/radiobutton/RadioButton.js +11 -16
  43. package/dist/esm/radiobutton/RadioGroup.js +9 -12
  44. package/dist/esm/range-slider/RangeSlider.js +9 -32
  45. package/dist/esm/range-slider/range-raducer.js +0 -26
  46. package/dist/esm/slider/Slider.js +8 -20
  47. package/dist/esm/slider/SliderLabel.js +2 -12
  48. package/dist/esm/switch/Switch.js +6 -18
  49. package/dist/esm/textarea/TextArea.js +27 -40
  50. package/dist/npm/checkbox/Checkbox.js +19 -43
  51. package/dist/npm/colors/ColorContrastLabels.js +2 -9
  52. package/dist/npm/colors/ColorContrastSvg.js +8 -26
  53. package/dist/npm/colors/ColorGradient.js +4 -44
  54. package/dist/npm/colors/ColorInput.js +12 -29
  55. package/dist/npm/colors/ColorPalette.js +2 -29
  56. package/dist/npm/colors/ColorPicker.js +26 -59
  57. package/dist/npm/colors/FlatColorPicker.js +14 -35
  58. package/dist/npm/colors/HexInput.js +2 -11
  59. package/dist/npm/colors/Picker.js +8 -15
  60. package/dist/npm/input/Input.js +15 -34
  61. package/dist/npm/input-separator/InputSeparator.js +2 -8
  62. package/dist/npm/maskedtextbox/MaskedTextBox.js +15 -40
  63. package/dist/npm/numerictextbox/NumericTextBox.js +17 -59
  64. package/dist/npm/numerictextbox/utils/main.js +33 -160
  65. package/dist/npm/package-metadata.js +1 -1
  66. package/dist/npm/radiobutton/RadioButton.js +13 -23
  67. package/dist/npm/radiobutton/RadioGroup.js +11 -19
  68. package/dist/npm/range-slider/RangeSlider.js +7 -38
  69. package/dist/npm/range-slider/range-raducer.js +0 -27
  70. package/dist/npm/slider/Slider.js +10 -30
  71. package/dist/npm/slider/SliderLabel.js +2 -15
  72. package/dist/npm/switch/Switch.js +8 -26
  73. package/dist/npm/textarea/TextArea.js +25 -43
  74. package/package.json +11 -11
@@ -12,22 +12,18 @@ import { parseColor } from './utils/color-parser.js';
12
12
  /**
13
13
  * @hidden
14
14
  */
15
-
16
15
  export var DEFAULT_TILE_SIZE = 24;
17
16
  /**
18
17
  * @hidden
19
18
  */
20
-
21
19
  export var DEFAULT_COLUMNS_COUNT = 10;
22
20
  /**
23
21
  * @hidden
24
22
  */
25
-
26
23
  export var DEFAULT_PRESET = 'office';
27
24
  /**
28
25
  * @hidden
29
26
  */
30
-
31
27
  var ColorPaletteVue2 = {
32
28
  name: 'KendoColorPalette',
33
29
  model: {
@@ -108,7 +104,6 @@ var ColorPaletteVue2 = {
108
104
  var className = classNames('k-colorpalette', {
109
105
  'k-disabled': this.$props.disabled
110
106
  });
111
-
112
107
  var renderColumns = function renderColumns(columns, rowIndex, cSelectedCellCoords, cFocusedCellCoords) {
113
108
  var rowIsSelected = cSelectedCellCoords !== undefined && cSelectedCellCoords.row === rowIndex;
114
109
  var selectedColumn = cSelectedCellCoords && cSelectedCellCoords.col;
@@ -122,7 +117,6 @@ var ColorPaletteVue2 = {
122
117
  var height = tileSize.height + 'px';
123
118
  return columns.map(function (color, i) {
124
119
  var _this = this;
125
-
126
120
  var isSelected = rowIsSelected && selectedColumn === i;
127
121
  var tdClassName = classNames('k-colorpalette-tile', {
128
122
  'k-selected': isSelected,
@@ -164,7 +158,6 @@ var ColorPaletteVue2 = {
164
158
  });
165
159
  }, this);
166
160
  };
167
-
168
161
  var renderRows = function renderRows(rows, rSelectedCellCoords, rFocusedCellCoords) {
169
162
  return rows.map(function (row, i) {
170
163
  return h("tr", {
@@ -176,7 +169,6 @@ var ColorPaletteVue2 = {
176
169
  }, [renderColumns.call(this, row, i, rSelectedCellCoords, rFocusedCellCoords)]);
177
170
  }, this);
178
171
  };
179
-
180
172
  if (paletteInfo.colors.length) {
181
173
  return h("div", {
182
174
  id: this.$props.id,
@@ -231,28 +223,22 @@ var ColorPaletteVue2 = {
231
223
  case Keys.down:
232
224
  this.handleCellNavigation(event, 0, 1);
233
225
  break;
234
-
235
226
  case Keys.up:
236
227
  this.handleCellNavigation(event, 0, -1);
237
228
  break;
238
-
239
229
  case Keys.right:
240
230
  this.handleCellNavigation(event, 1, 0);
241
231
  break;
242
-
243
232
  case Keys.left:
244
233
  this.handleCellNavigation(event, -1, 0);
245
234
  break;
246
-
247
235
  case Keys.enter:
248
236
  this.handleEnter(event);
249
237
  break;
250
-
251
238
  default:
252
239
  this.$emit('keydown', event);
253
240
  return;
254
241
  }
255
-
256
242
  this.$emit('keydown', event);
257
243
  },
258
244
  onColorClick: function onColorClick(color, event) {
@@ -262,7 +248,6 @@ var ColorPaletteVue2 = {
262
248
  } else {
263
249
  this.focusedColor = color;
264
250
  }
265
-
266
251
  this.dispatchChangeEvent(color, event);
267
252
  },
268
253
  onFocus: function onFocus(event) {
@@ -281,7 +266,6 @@ var ColorPaletteVue2 = {
281
266
  },
282
267
  handleCellNavigation: function handleCellNavigation(event, horizontalStep, verticalStep) {
283
268
  event.preventDefault();
284
-
285
269
  if (this.focusedColorCooridanates) {
286
270
  var newCoords = this.paletteService.getNextCell(this.focusedColorCooridanates, horizontalStep, verticalStep);
287
271
  this.focusedColor = this.paletteService.getColorAt(newCoords);
@@ -293,7 +277,6 @@ var ColorPaletteVue2 = {
293
277
  if (this.isUncontrolled) {
294
278
  this.currentValue = this.focusedColor;
295
279
  }
296
-
297
280
  this.dispatchChangeEvent(this.focusedColor, event);
298
281
  },
299
282
  dispatchChangeEvent: function dispatchChangeEvent(value, event) {
@@ -311,7 +294,6 @@ var ColorPaletteVue2 = {
311
294
  getPaletteInfo: function getPaletteInfo() {
312
295
  if (typeof this.$props.palette === 'string') {
313
296
  var preset = PALETTEPRESETS[this.$props.palette];
314
-
315
297
  if (isPresent(preset)) {
316
298
  return {
317
299
  colors: preset.colors,
@@ -338,6 +320,5 @@ var ColorPaletteVue2 = {
338
320
  /**
339
321
  * @hidden
340
322
  */
341
-
342
323
  var ColorPalette = ColorPaletteVue2;
343
324
  export { ColorPalette, ColorPaletteVue2 };
@@ -2,25 +2,22 @@ var __assign = this && this.__assign || function () {
2
2
  __assign = Object.assign || function (t) {
3
3
  for (var s, i = 1, n = arguments.length; i < n; i++) {
4
4
  s = arguments[i];
5
-
6
5
  for (var p in s) {
7
6
  if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
7
  }
9
8
  }
10
-
11
9
  return t;
12
10
  };
13
-
14
11
  return __assign.apply(this, arguments);
15
- }; // @ts-ignore
16
-
17
-
12
+ };
13
+ // @ts-ignore
18
14
  import * as Vue from 'vue';
19
15
  var allVue = Vue;
20
16
  var gh = allVue.h;
21
17
  var isV3 = allVue.version && allVue.version[0] === '3';
22
18
  import { Button } from '@progress/kendo-vue-buttons';
23
- import { classNames, Keys, // useDir,
19
+ import { classNames, Keys,
20
+ // useDir,
24
21
  getTabIndex, guid, kendoThemeMaps, validatePackage, setRef, getRef } from '@progress/kendo-vue-common';
25
22
  import { packageMetadata } from '../package-metadata.js';
26
23
  import { Picker } from './Picker.js';
@@ -29,15 +26,12 @@ import { DEFAULT_GRADIENT_SETTINGS, DEFAULT_PALETTE_SETTINGS } from './utils/col
29
26
  /**
30
27
  * @hidden
31
28
  */
32
-
33
29
  var isControlled = function isControlled(prop) {
34
30
  return prop !== undefined;
35
31
  };
36
32
  /**
37
33
  * @hidden
38
34
  */
39
-
40
-
41
35
  var ColorPickerVue2 = {
42
36
  name: 'KendoColorPicker',
43
37
  model: {
@@ -179,11 +173,10 @@ var ColorPickerVue2 = {
179
173
  },
180
174
  wrapperClassName: function wrapperClassName() {
181
175
  var _a;
182
-
183
176
  var _b = this.$props,
184
- size = _b.size,
185
- fillMode = _b.fillMode,
186
- rounded = _b.rounded;
177
+ size = _b.size,
178
+ fillMode = _b.fillMode,
179
+ rounded = _b.rounded;
187
180
  return _a = {
188
181
  'k-picker': true,
189
182
  'k-colorpicker': true,
@@ -199,7 +192,8 @@ var ColorPickerVue2 = {
199
192
  mounted: function mounted() {
200
193
  this.button = getRef(this, 'button');
201
194
  },
202
- updated: function updated() {// this.button = getRef(this, 'button');
195
+ updated: function updated() {
196
+ // this.button = getRef(this, 'button');
203
197
  },
204
198
  // @ts-ignore
205
199
  setup: !isV3 ? undefined : function () {
@@ -211,23 +205,19 @@ var ColorPickerVue2 = {
211
205
  // @ts-ignore
212
206
  render: function render(createElement) {
213
207
  var _this2 = this;
214
-
215
208
  var _a;
216
-
217
209
  var _this = this;
218
-
219
210
  var h = gh || createElement;
220
211
  var _b = this.$props,
221
- disabled = _b.disabled,
222
- tabIndex = _b.tabIndex,
223
- dir = _b.dir,
224
- view = _b.view,
225
- selectedView = _b.selectedView,
226
- showClearButton = _b.showClearButton,
227
- showPreview = _b.showPreview,
228
- showButtons = _b.showButtons,
229
- popupSettings = _b.popupSettings;
230
-
212
+ disabled = _b.disabled,
213
+ tabIndex = _b.tabIndex,
214
+ dir = _b.dir,
215
+ view = _b.view,
216
+ selectedView = _b.selectedView,
217
+ showClearButton = _b.showClearButton,
218
+ showPreview = _b.showPreview,
219
+ showButtons = _b.showButtons,
220
+ popupSettings = _b.popupSettings;
231
221
  var renderFlatColorPicker = function renderFlatColorPicker() {
232
222
  return h(FlatColorPicker, __assign({
233
223
  onKeydown: this.onKeyDownHandler,
@@ -260,9 +250,8 @@ var ColorPickerVue2 = {
260
250
  paletteSettings: this.paletteSettings,
261
251
  gradientSettings: this.gradientSettings
262
252
  }, this.flatColorPickerSettings));
263
- }; // const dir = useDir(focusableElementGuid, props.dir);
264
-
265
-
253
+ };
254
+ // const dir = useDir(focusableElementGuid, props.dir);
266
255
  return h("span", {
267
256
  "class": this.wrapperClassName,
268
257
  dir: dir,
@@ -306,7 +295,8 @@ var ColorPickerVue2 = {
306
295
  style: {
307
296
  backgroundColor: this.computedValue
308
297
  }
309
- })])]), // @ts-ignore
298
+ })])]),
299
+ // @ts-ignore
310
300
  h(Button, {
311
301
  type: "button",
312
302
  attrs: this.v3 ? undefined : {
@@ -326,7 +316,8 @@ var ColorPickerVue2 = {
326
316
  rounded: null,
327
317
  "class": "k-input-button",
328
318
  icon: 'caret-alt-down'
329
- }), // @ts-ignore function children
319
+ }),
320
+ // @ts-ignore function children
330
321
  h(Picker, {
331
322
  dir: dir,
332
323
  attrs: this.v3 ? undefined : {
@@ -358,28 +349,24 @@ var ColorPickerVue2 = {
358
349
  if (!nextOpen && !isBlur && this.$el) {
359
350
  this.$el.focus();
360
351
  }
361
-
362
352
  this.currentOpen = nextOpen;
363
353
  this.$emit(nextOpen ? 'open' : 'close');
364
354
  },
365
355
  onButtonKeyDown: function onButtonKeyDown(event) {
366
356
  var altKey = event.altKey,
367
- keyCode = event.keyCode;
368
-
357
+ keyCode = event.keyCode;
369
358
  if (keyCode === Keys.esc) {
370
359
  event.preventDefault();
371
360
  event.stopPropagation();
372
361
  this.setOpen(false);
373
362
  return;
374
363
  }
375
-
376
364
  if (keyCode === Keys.enter) {
377
365
  event.preventDefault();
378
366
  event.stopPropagation();
379
367
  this.setOpen(!this.computedOpen);
380
368
  return;
381
369
  }
382
-
383
370
  if (altKey && keyCode === Keys.down) {
384
371
  event.preventDefault();
385
372
  event.stopPropagation();
@@ -388,22 +375,19 @@ var ColorPickerVue2 = {
388
375
  },
389
376
  onKeyDownHandler: function onKeyDownHandler(event) {
390
377
  var altKey = event.altKey,
391
- keyCode = event.keyCode;
392
-
378
+ keyCode = event.keyCode;
393
379
  if (keyCode === Keys.esc) {
394
380
  event.preventDefault();
395
381
  event.stopPropagation();
396
382
  this.setOpen(false);
397
383
  return;
398
384
  }
399
-
400
385
  if (keyCode === Keys.enter) {
401
386
  event.preventDefault();
402
387
  event.stopPropagation();
403
388
  this.focusElement();
404
389
  return;
405
390
  }
406
-
407
391
  if (altKey && keyCode === Keys.up) {
408
392
  event.preventDefault();
409
393
  event.stopPropagation();
@@ -414,7 +398,6 @@ var ColorPickerVue2 = {
414
398
  onOpenHandler: function onOpenHandler() {
415
399
  // Skip content autofocus when in controlled mode
416
400
  var flatcolorpicker = getRef(this, 'flatcolorpicker');
417
-
418
401
  if (flatcolorpicker) {
419
402
  flatcolorpicker.focus();
420
403
  }
@@ -440,26 +423,23 @@ var ColorPickerVue2 = {
440
423
  onFocusHandler: function onFocusHandler(event) {
441
424
  if (this.blurTimeoutRef) {
442
425
  clearTimeout(this.blurTimeoutRef);
443
- this.blurTimeoutRef = undefined; // case where moving back to input from popup
444
-
426
+ this.blurTimeoutRef = undefined;
427
+ // case where moving back to input from popup
445
428
  if (event.target === this.$el) {
446
429
  this.setOpen(false); // in this case we should focus input on keydown
447
430
  }
448
431
  } else {
449
432
  this.focused = true;
450
433
  }
451
-
452
434
  this.$emit('focus', {
453
435
  event: event
454
436
  });
455
437
  },
456
438
  onBlurTimeout: function onBlurTimeout() {
457
439
  var viewIsFocused = this.isViewFocused();
458
-
459
440
  if (!viewIsFocused) {
460
441
  this.setOpen(false, true);
461
442
  }
462
-
463
443
  this.focused = viewIsFocused;
464
444
  this.blurTimeoutRef = undefined;
465
445
  },
@@ -474,15 +454,12 @@ var ColorPickerVue2 = {
474
454
  },
475
455
  onChangeHandler: function onChangeHandler(event, isPalette) {
476
456
  var currentValue = event.value;
477
-
478
457
  if (!this.isValueControlled) {
479
458
  this.currentValue = currentValue;
480
459
  }
481
-
482
460
  if (isPalette) {
483
461
  this.setOpen(false);
484
462
  }
485
-
486
463
  this.$emit('changemodel', currentValue);
487
464
  this.$emit('update:modelRgbaValue', event.rgbaValue);
488
465
  this.$emit('update:modelValue', currentValue);
@@ -500,6 +477,5 @@ var ColorPickerVue2 = {
500
477
  /**
501
478
  * @hidden
502
479
  */
503
-
504
480
  var ColorPicker = ColorPickerVue2;
505
481
  export { ColorPicker, ColorPickerVue2 };
@@ -2,19 +2,15 @@ var __assign = this && this.__assign || function () {
2
2
  __assign = Object.assign || function (t) {
3
3
  for (var s, i = 1, n = arguments.length; i < n; i++) {
4
4
  s = arguments[i];
5
-
6
5
  for (var p in s) {
7
6
  if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
7
  }
9
8
  }
10
-
11
9
  return t;
12
10
  };
13
-
14
11
  return __assign.apply(this, arguments);
15
- }; // @ts-ignore
16
-
17
-
12
+ };
13
+ // @ts-ignore
18
14
  import * as Vue from 'vue';
19
15
  var allVue = Vue;
20
16
  var gh = allVue.h;
@@ -31,7 +27,6 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
31
27
  /**
32
28
  * @hidden
33
29
  */
34
-
35
30
  var FlatColorPickerVue2 = {
36
31
  name: 'KendoFlatColorPicker',
37
32
  // @ts-ignore
@@ -146,9 +141,7 @@ var FlatColorPickerVue2 = {
146
141
  // @ts-ignore
147
142
  render: function render(createElement) {
148
143
  var _this2 = this;
149
-
150
144
  var _this = this;
151
-
152
145
  var h = gh || createElement;
153
146
  var localizationService = provideLocalizationService(this);
154
147
  var gradientMessage = localizationService.toLanguageString(flatColorPickerGradientBtn, messages[flatColorPickerGradientBtn]);
@@ -166,7 +159,6 @@ var FlatColorPickerVue2 = {
166
159
  h: h,
167
160
  template: footerTemplate
168
161
  });
169
-
170
162
  var renderGradiente = function renderGradiente() {
171
163
  return h(ColorGradient, __assign({
172
164
  attrs: this.v3 ? undefined : __assign({
@@ -186,7 +178,6 @@ var FlatColorPickerVue2 = {
186
178
  }
187
179
  }, this.gradientSettings));
188
180
  };
189
-
190
181
  var renderPalette = function renderPalette() {
191
182
  return h(ColorPalette, __assign({
192
183
  on: this.v3 ? undefined : {
@@ -204,7 +195,6 @@ var FlatColorPickerVue2 = {
204
195
  onKeydown: this.gradientKeyDown
205
196
  }, this.paletteSettings));
206
197
  };
207
-
208
198
  return h("div", {
209
199
  tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled),
210
200
  attrs: this.v3 ? undefined : {
@@ -229,9 +219,11 @@ var FlatColorPickerVue2 = {
229
219
  "class": "k-coloreditor-header k-hstack"
230
220
  }, [this.$props.view === 'combo' && h("div", {
231
221
  "class": "k-coloreditor-header-actions k-hstack"
232
- }, [// @ts-ignore function children
222
+ }, [
223
+ // @ts-ignore function children
233
224
  h(ButtonGroup, this.v3 ? function () {
234
- return [// @ts-ignore function children
225
+ return [
226
+ // @ts-ignore function children
235
227
  h(Button, {
236
228
  tabIndex: _this2.computedTabIndex,
237
229
  attrs: _this2.v3 ? undefined : {
@@ -263,7 +255,8 @@ var FlatColorPickerVue2 = {
263
255
  })];
264
256
  } : [h("span", {
265
257
  "class": "k-icon k-i-color-canvas"
266
- })]), // @ts-ignore function children
258
+ })]),
259
+ // @ts-ignore function children
267
260
  h(Button, {
268
261
  tabIndex: _this2.computedTabIndex,
269
262
  attrs: _this2.v3 ? undefined : {
@@ -362,7 +355,8 @@ var FlatColorPickerVue2 = {
362
355
  "class": "k-spacer"
363
356
  }), h("div", {
364
357
  "class": "k-coloreditor-header-actions k-hstack"
365
- }, [this.$props.showClearButton && // @ts-ignore function children
358
+ }, [this.$props.showClearButton &&
359
+ // @ts-ignore function children
366
360
  h(Button, {
367
361
  tabIndex: this.computedTabIndex,
368
362
  attrs: this.v3 ? undefined : {
@@ -410,7 +404,8 @@ var FlatColorPickerVue2 = {
410
404
  "class": "k-coloreditor-views k-vstack"
411
405
  }, [this.isColorGradient ? renderGradiente.call(this) : renderPalette.call(this)]), this.$props.showButtons && h("div", {
412
406
  "class": "k-coloreditor-footer k-actions k-actions-end"
413
- }, [// @ts-ignore function children
407
+ }, [
408
+ // @ts-ignore function children
414
409
  h(Button, {
415
410
  tabIndex: this.computedTabIndex,
416
411
  attrs: this.v3 ? undefined : {
@@ -427,7 +422,8 @@ var FlatColorPickerVue2 = {
427
422
  onClick: this.handleCancelBtnClick
428
423
  }, this.v3 ? function () {
429
424
  return [cancelMessage];
430
- } : [cancelMessage]), // @ts-ignore function children
425
+ } : [cancelMessage]),
426
+ // @ts-ignore function children
431
427
  h(Button, {
432
428
  tabIndex: this.computedTabIndex,
433
429
  attrs: this.v3 ? undefined : {
@@ -449,7 +445,6 @@ var FlatColorPickerVue2 = {
449
445
  methods: {
450
446
  focus: function focus() {
451
447
  var _this = this;
452
-
453
448
  this.focused = true;
454
449
  setTimeout(function () {
455
450
  focusFirstFocusableChild(_this.$el);
@@ -469,21 +464,18 @@ var FlatColorPickerVue2 = {
469
464
  },
470
465
  handleResetColor: function handleResetColor() {
471
466
  this.colorValue = null;
472
-
473
467
  if (!this.showButtons) {
474
468
  this.triggerChange();
475
469
  }
476
470
  },
477
471
  handleColorChange: function handleColorChange(event) {
478
472
  this.colorValue = event.value;
479
-
480
473
  if (!this.showButtons) {
481
474
  this.triggerChange(event);
482
475
  }
483
476
  },
484
477
  handlePaletteColorChange: function handlePaletteColorChange(event) {
485
478
  this.colorValue = event.value;
486
-
487
479
  if (!this.showButtons) {
488
480
  this.triggerChange(event);
489
481
  }
@@ -507,7 +499,6 @@ var FlatColorPickerVue2 = {
507
499
  },
508
500
  gradientKeyDown: function gradientKeyDown(event) {
509
501
  event.stopPropagation();
510
-
511
502
  if (!this.showButtons && event.keyCode === Keys.enter) {
512
503
  this.triggerChange(event);
513
504
  }
@@ -546,6 +537,5 @@ var FlatColorPickerVue2 = {
546
537
  /**
547
538
  * @hidden
548
539
  */
549
-
550
540
  var FlatColorPicker = FlatColorPickerVue2;
551
541
  export { FlatColorPicker, FlatColorPickerVue2 };
@@ -9,7 +9,6 @@ import { Input as KInput } from '../input/Input.js';
9
9
  /**
10
10
  * @hidden
11
11
  */
12
-
13
12
  var HexInputVue2 = {
14
13
  name: 'KendoHexInput',
15
14
  // @ts-ignore
@@ -81,7 +80,6 @@ var HexInputVue2 = {
81
80
  var hex = event.target.value;
82
81
  var value = parseColor(hex, 'rgba');
83
82
  this.currentHex = hex;
84
-
85
83
  if (isPresent(value)) {
86
84
  this.$emit('hexchange', {
87
85
  hex: hex,
@@ -94,7 +92,6 @@ var HexInputVue2 = {
94
92
  if (!isPresent(parseColor(this.hex, 'rgba'))) {
95
93
  this.currentHex = this.originalHex;
96
94
  }
97
-
98
95
  this.$emit('blur', event);
99
96
  },
100
97
  onFocus: function onFocus(event) {
@@ -105,6 +102,5 @@ var HexInputVue2 = {
105
102
  /**
106
103
  * @hidden
107
104
  */
108
-
109
105
  var HexInput = HexInputVue2;
110
106
  export { HexInput, HexInputVue2 };
@@ -8,17 +8,14 @@ import { classNames, getDefaultSlots } from '@progress/kendo-vue-common';
8
8
  /**
9
9
  * @hidden
10
10
  */
11
-
12
11
  var ANCHOR_VERTICAL_ALIGN = 'bottom';
13
12
  /**
14
13
  * @hidden
15
14
  */
16
-
17
15
  var POPUP_VERTICAL_ALIGN = 'top';
18
16
  /**
19
17
  * @hidden
20
18
  */
21
-
22
19
  var PickerVue2 = {
23
20
  name: 'KendoPicker',
24
21
  props: {
@@ -57,11 +54,12 @@ var PickerVue2 = {
57
54
  var h = gh || createElement;
58
55
  var defaultSlot = getDefaultSlots(this);
59
56
  var _a = this.$props.popupSettings,
60
- popupClass = _a.popupClass,
61
- appendTo = _a.appendTo,
62
- animate = _a.animate,
63
- className = _a.className;
64
- return (// @ts-ignore function children
57
+ popupClass = _a.popupClass,
58
+ appendTo = _a.appendTo,
59
+ animate = _a.animate,
60
+ className = _a.className;
61
+ return (
62
+ // @ts-ignore function children
65
63
  h(Popup, {
66
64
  id: this.id,
67
65
  attrs: this.v3 ? undefined : {
@@ -105,6 +103,5 @@ var PickerVue2 = {
105
103
  /**
106
104
  * @hidden
107
105
  */
108
-
109
106
  var Picker = PickerVue2;
110
107
  export { Picker, PickerVue2 };