@progress/kendo-vue-inputs 3.7.4-dev.202212300853 → 3.7.4-dev.202301120847
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/cdn/js/kendo-vue-inputs.js +1 -1
- package/dist/es/colors/ColorContrastLabels.js +23 -12
- package/dist/es/colors/ColorInput.js +4 -1
- package/dist/es/colors/ColorPicker.js +3 -0
- package/dist/es/colors/FlatColorPicker.js +45 -24
- package/dist/es/input/Input.js +12 -5
- package/dist/es/maskedtextbox/MaskedTextBox.js +12 -5
- package/dist/es/numerictextbox/NumericTextBox.js +16 -5
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/signature/Signature.js +9 -2
- package/dist/es/slider/Slider.js +5 -0
- package/dist/es/textarea/TextArea.js +5 -2
- package/dist/esm/colors/ColorContrastLabels.js +23 -12
- package/dist/esm/colors/ColorInput.js +4 -1
- package/dist/esm/colors/ColorPicker.js +3 -0
- package/dist/esm/colors/FlatColorPicker.js +45 -24
- package/dist/esm/input/Input.js +12 -5
- package/dist/esm/maskedtextbox/MaskedTextBox.js +12 -5
- package/dist/esm/numerictextbox/NumericTextBox.js +16 -5
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/signature/Signature.js +9 -2
- package/dist/esm/slider/Slider.js +5 -0
- package/dist/esm/textarea/TextArea.js +5 -2
- package/dist/npm/colors/ColorContrastLabels.js +23 -12
- package/dist/npm/colors/ColorInput.js +4 -1
- package/dist/npm/colors/ColorPicker.js +3 -0
- package/dist/npm/colors/FlatColorPicker.js +45 -24
- package/dist/npm/input/Input.js +12 -5
- package/dist/npm/maskedtextbox/MaskedTextBox.js +12 -5
- package/dist/npm/numerictextbox/NumericTextBox.js +16 -5
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/signature/Signature.js +9 -2
- package/dist/npm/slider/Slider.js +5 -0
- package/dist/npm/textarea/TextArea.js +5 -2
- package/package.json +17 -15
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
7
|
+
import { checkIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { messages, colorGradientContrastRatio, colorGradientAALevel, colorGradientAAALevel, colorGradientPass, colorGradientFail } from '../messages/main';
|
|
8
9
|
import { getContrastFromTwoRGBAs } from './utils/color-parser';
|
|
9
10
|
import { Icon } from '@progress/kendo-vue-common';
|
|
@@ -51,17 +52,21 @@ var ColorContrastLabelsVue2 = {
|
|
|
51
52
|
}, [passMessage, " ", h(Icon, {
|
|
52
53
|
name: "check",
|
|
53
54
|
attrs: this.v3 ? undefined : {
|
|
54
|
-
name: "check"
|
|
55
|
-
|
|
55
|
+
name: "check",
|
|
56
|
+
icon: checkIcon
|
|
57
|
+
},
|
|
58
|
+
icon: checkIcon
|
|
56
59
|
})]);
|
|
57
60
|
var error = h("span", {
|
|
58
61
|
key: 2,
|
|
59
62
|
"class": "k-contrast-validation k-text-error"
|
|
60
63
|
}, [failMessage, " ", h(Icon, {
|
|
61
|
-
name: "
|
|
64
|
+
name: "x",
|
|
62
65
|
attrs: this.v3 ? undefined : {
|
|
63
|
-
name: "
|
|
64
|
-
|
|
66
|
+
name: "x",
|
|
67
|
+
icon: xIcon
|
|
68
|
+
},
|
|
69
|
+
icon: xIcon
|
|
65
70
|
})]);
|
|
66
71
|
return h("div", {
|
|
67
72
|
"class": "k-vbox k-colorgradient-color-contrast"
|
|
@@ -74,20 +79,26 @@ var ColorContrastLabelsVue2 = {
|
|
|
74
79
|
}, [h(Icon, {
|
|
75
80
|
name: "check",
|
|
76
81
|
attrs: this.v3 ? undefined : {
|
|
77
|
-
name: "check"
|
|
78
|
-
|
|
82
|
+
name: "check",
|
|
83
|
+
icon: checkIcon
|
|
84
|
+
},
|
|
85
|
+
icon: checkIcon
|
|
79
86
|
}), aaaPass && h(Icon, {
|
|
80
87
|
name: "check",
|
|
81
88
|
attrs: this.v3 ? undefined : {
|
|
82
|
-
name: "check"
|
|
83
|
-
|
|
89
|
+
name: "check",
|
|
90
|
+
icon: checkIcon
|
|
91
|
+
},
|
|
92
|
+
icon: checkIcon
|
|
84
93
|
})]) : h("span", {
|
|
85
94
|
"class": "k-contrast-validation k-text-error"
|
|
86
95
|
}, [h(Icon, {
|
|
87
|
-
name: "
|
|
96
|
+
name: "x",
|
|
88
97
|
attrs: this.v3 ? undefined : {
|
|
89
|
-
name: "
|
|
90
|
-
|
|
98
|
+
name: "x",
|
|
99
|
+
icon: xIcon
|
|
100
|
+
},
|
|
101
|
+
icon: xIcon
|
|
91
102
|
})])]), h("div", [h("span", [aaText]), aaPass ? success : error]), h("div", [h("span", [aaaText]), aaaPass ? success : error])]);
|
|
92
103
|
}
|
|
93
104
|
};
|
|
@@ -22,6 +22,7 @@ import { Label } from '@progress/kendo-vue-labels';
|
|
|
22
22
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
23
23
|
import { messages, colorGradientR, colorGradientHex, colorGradientA, colorGradientB, colorGradientG, colorGradientRLabel, colorGradientGLabel, colorGradientBLabel, colorGradientALabel, colorGradientInputColorButton } from '../messages/main';
|
|
24
24
|
import { guid, Keys } from '@progress/kendo-vue-common';
|
|
25
|
+
import { caretAltExpandIcon } from '@progress/kendo-svg-icons';
|
|
25
26
|
/**
|
|
26
27
|
* @hidden
|
|
27
28
|
*/
|
|
@@ -99,12 +100,14 @@ var ColorInputVue2 = {
|
|
|
99
100
|
tabIndex: this.tabIndex,
|
|
100
101
|
type: "button",
|
|
101
102
|
fillMode: 'flat',
|
|
102
|
-
icon: 'caret-alt-expand'
|
|
103
|
+
icon: 'caret-alt-expand',
|
|
104
|
+
svgIcon: caretAltExpandIcon
|
|
103
105
|
},
|
|
104
106
|
tabIndex: this.tabIndex,
|
|
105
107
|
type: "button",
|
|
106
108
|
fillMode: 'flat',
|
|
107
109
|
icon: 'caret-alt-expand',
|
|
110
|
+
svgIcon: caretAltExpandIcon,
|
|
108
111
|
"class": "k-colorgradient-toggle-mode k-icon-button",
|
|
109
112
|
onClick: this.onToggleModeChange,
|
|
110
113
|
on: this.v3 ? undefined : {
|
|
@@ -25,6 +25,7 @@ import { FlatColorPicker } from './FlatColorPicker';
|
|
|
25
25
|
import { DEFAULT_GRADIENT_SETTINGS, DEFAULT_PALETTE_SETTINGS } from './utils/color-cache';
|
|
26
26
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
27
27
|
import { messages, colorPickerDropdownButtonAriaLabel } from '../messages/main';
|
|
28
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
28
29
|
/**
|
|
29
30
|
* @hidden
|
|
30
31
|
*/
|
|
@@ -318,6 +319,7 @@ var ColorPickerVue2 = {
|
|
|
318
319
|
tabindex: -1,
|
|
319
320
|
rounded: null,
|
|
320
321
|
icon: 'caret-alt-down',
|
|
322
|
+
svgIcon: caretAltDownIcon,
|
|
321
323
|
"aria-label": colorPickerLabelMessage
|
|
322
324
|
},
|
|
323
325
|
tabindex: -1,
|
|
@@ -331,6 +333,7 @@ var ColorPickerVue2 = {
|
|
|
331
333
|
rounded: null,
|
|
332
334
|
"class": "k-input-button",
|
|
333
335
|
icon: 'caret-alt-down',
|
|
336
|
+
svgIcon: caretAltDownIcon,
|
|
334
337
|
"aria-label": colorPickerLabelMessage
|
|
335
338
|
}),
|
|
336
339
|
// @ts-ignore function children
|
|
@@ -15,6 +15,7 @@ import * as Vue from 'vue';
|
|
|
15
15
|
var allVue = Vue;
|
|
16
16
|
var gh = allVue.h;
|
|
17
17
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
18
|
+
import { dropletSlashIcon, dropletSliderIcon, paletteIcon } from '@progress/kendo-svg-icons';
|
|
18
19
|
import { classNames, validatePackage, getTabIndex, setRef, focusContainer, focusFirstFocusableChild, Keys, templateRendering, getListeners, getTemplate, Icon } from '@progress/kendo-vue-common';
|
|
19
20
|
import { ButtonGroup, Button } from '@progress/kendo-vue-buttons';
|
|
20
21
|
import { ColorPalette } from './ColorPalette';
|
|
@@ -251,16 +252,20 @@ var FlatColorPickerVue2 = {
|
|
|
251
252
|
}
|
|
252
253
|
}, _this2.v3 ? function () {
|
|
253
254
|
return [h(Icon, {
|
|
254
|
-
name: "
|
|
255
|
+
name: "droplet-slider",
|
|
255
256
|
attrs: _this2.v3 ? undefined : {
|
|
256
|
-
name: "
|
|
257
|
-
|
|
257
|
+
name: "droplet-slider",
|
|
258
|
+
icon: dropletSliderIcon
|
|
259
|
+
},
|
|
260
|
+
icon: dropletSliderIcon
|
|
258
261
|
})];
|
|
259
262
|
} : [h(Icon, {
|
|
260
|
-
name: "
|
|
263
|
+
name: "droplet-slider",
|
|
261
264
|
attrs: _this2.v3 ? undefined : {
|
|
262
|
-
name: "
|
|
263
|
-
|
|
265
|
+
name: "droplet-slider",
|
|
266
|
+
icon: dropletSliderIcon
|
|
267
|
+
},
|
|
268
|
+
icon: dropletSliderIcon
|
|
264
269
|
})]),
|
|
265
270
|
// @ts-ignore function children
|
|
266
271
|
h(Button, {
|
|
@@ -292,14 +297,18 @@ var FlatColorPickerVue2 = {
|
|
|
292
297
|
return [h(Icon, {
|
|
293
298
|
name: "palette",
|
|
294
299
|
attrs: _this2.v3 ? undefined : {
|
|
295
|
-
name: "palette"
|
|
296
|
-
|
|
300
|
+
name: "palette",
|
|
301
|
+
icon: paletteIcon
|
|
302
|
+
},
|
|
303
|
+
icon: paletteIcon
|
|
297
304
|
})];
|
|
298
305
|
} : [h(Icon, {
|
|
299
306
|
name: "palette",
|
|
300
307
|
attrs: _this2.v3 ? undefined : {
|
|
301
|
-
name: "palette"
|
|
302
|
-
|
|
308
|
+
name: "palette",
|
|
309
|
+
icon: paletteIcon
|
|
310
|
+
},
|
|
311
|
+
icon: paletteIcon
|
|
303
312
|
})])];
|
|
304
313
|
} : [h(Button, {
|
|
305
314
|
tabIndex: _this2.computedTabIndex,
|
|
@@ -328,16 +337,20 @@ var FlatColorPickerVue2 = {
|
|
|
328
337
|
}
|
|
329
338
|
}, _this2.v3 ? function () {
|
|
330
339
|
return [h(Icon, {
|
|
331
|
-
name: "
|
|
340
|
+
name: "droplet-slider",
|
|
332
341
|
attrs: _this2.v3 ? undefined : {
|
|
333
|
-
name: "
|
|
334
|
-
|
|
342
|
+
name: "droplet-slider",
|
|
343
|
+
icon: dropletSliderIcon
|
|
344
|
+
},
|
|
345
|
+
icon: dropletSliderIcon
|
|
335
346
|
})];
|
|
336
347
|
} : [h(Icon, {
|
|
337
|
-
name: "
|
|
348
|
+
name: "droplet-slider",
|
|
338
349
|
attrs: _this2.v3 ? undefined : {
|
|
339
|
-
name: "
|
|
340
|
-
|
|
350
|
+
name: "droplet-slider",
|
|
351
|
+
icon: dropletSliderIcon
|
|
352
|
+
},
|
|
353
|
+
icon: dropletSliderIcon
|
|
341
354
|
})]), h(Button, {
|
|
342
355
|
tabIndex: _this2.computedTabIndex,
|
|
343
356
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -367,14 +380,18 @@ var FlatColorPickerVue2 = {
|
|
|
367
380
|
return [h(Icon, {
|
|
368
381
|
name: "palette",
|
|
369
382
|
attrs: _this2.v3 ? undefined : {
|
|
370
|
-
name: "palette"
|
|
371
|
-
|
|
383
|
+
name: "palette",
|
|
384
|
+
icon: paletteIcon
|
|
385
|
+
},
|
|
386
|
+
icon: paletteIcon
|
|
372
387
|
})];
|
|
373
388
|
} : [h(Icon, {
|
|
374
389
|
name: "palette",
|
|
375
390
|
attrs: _this2.v3 ? undefined : {
|
|
376
|
-
name: "palette"
|
|
377
|
-
|
|
391
|
+
name: "palette",
|
|
392
|
+
icon: paletteIcon
|
|
393
|
+
},
|
|
394
|
+
icon: paletteIcon
|
|
378
395
|
})])])]), h("div", {
|
|
379
396
|
"class": "k-spacer"
|
|
380
397
|
}), h("div", {
|
|
@@ -402,14 +419,18 @@ var FlatColorPickerVue2 = {
|
|
|
402
419
|
return [h(Icon, {
|
|
403
420
|
name: "droplet-slash",
|
|
404
421
|
attrs: _this2.v3 ? undefined : {
|
|
405
|
-
name: "droplet-slash"
|
|
406
|
-
|
|
422
|
+
name: "droplet-slash",
|
|
423
|
+
icon: dropletSlashIcon
|
|
424
|
+
},
|
|
425
|
+
icon: dropletSlashIcon
|
|
407
426
|
})];
|
|
408
427
|
} : [h(Icon, {
|
|
409
428
|
name: "droplet-slash",
|
|
410
429
|
attrs: _this2.v3 ? undefined : {
|
|
411
|
-
name: "droplet-slash"
|
|
412
|
-
|
|
430
|
+
name: "droplet-slash",
|
|
431
|
+
icon: dropletSlashIcon
|
|
432
|
+
},
|
|
433
|
+
icon: dropletSlashIcon
|
|
413
434
|
})]), this.$props.showPreview && h("div", {
|
|
414
435
|
"class": "k-coloreditor-preview k-vstack"
|
|
415
436
|
}, [h("span", {
|
package/dist/es/input/Input.js
CHANGED
|
@@ -19,6 +19,7 @@ var ref = allVue.ref;
|
|
|
19
19
|
import { guid, templateDefinition, validatePackage, kendoThemeMaps, templateRendering, getListeners, getTemplate, Icon } from '@progress/kendo-vue-common';
|
|
20
20
|
import { packageMetadata } from '../package-metadata';
|
|
21
21
|
import { FloatingLabel } from '@progress/kendo-vue-labels';
|
|
22
|
+
import { checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
@@ -243,14 +244,18 @@ var InputVue2 = {
|
|
|
243
244
|
}, [inputSuffix]), showValidationIcon && isValid && h(Icon, {
|
|
244
245
|
name: 'check',
|
|
245
246
|
attrs: this.v3 ? undefined : {
|
|
246
|
-
name: 'check'
|
|
247
|
+
name: 'check',
|
|
248
|
+
icon: checkIcon
|
|
247
249
|
},
|
|
250
|
+
icon: checkIcon,
|
|
248
251
|
"class": "k-input-validation-icon"
|
|
249
252
|
}), showValidationIcon && !isValid && h(Icon, {
|
|
250
|
-
name: '
|
|
253
|
+
name: 'exclamation-circle',
|
|
251
254
|
attrs: this.v3 ? undefined : {
|
|
252
|
-
name: '
|
|
255
|
+
name: 'exclamation-circle',
|
|
256
|
+
icon: exclamationCircleIcon
|
|
253
257
|
},
|
|
258
|
+
icon: exclamationCircleIcon,
|
|
254
259
|
"class": "k-input-validation-icon"
|
|
255
260
|
}), showLoadingIcon && h("span", {
|
|
256
261
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
@@ -263,8 +268,10 @@ var InputVue2 = {
|
|
|
263
268
|
}, [h(Icon, {
|
|
264
269
|
name: 'x',
|
|
265
270
|
attrs: this.v3 ? undefined : {
|
|
266
|
-
name: 'x'
|
|
267
|
-
|
|
271
|
+
name: 'x',
|
|
272
|
+
icon: xIcon
|
|
273
|
+
},
|
|
274
|
+
icon: xIcon
|
|
268
275
|
})])]);
|
|
269
276
|
return label ?
|
|
270
277
|
// @ts-ignore function children
|
|
@@ -8,6 +8,7 @@ import { MaskingService } from './masking.service';
|
|
|
8
8
|
import { defaultRules, maskingChanged, returnFalse } from './utils';
|
|
9
9
|
import { guid, getTabIndex, validatePackage, kendoThemeMaps, templateDefinition, templateRendering, getListeners, getTemplate, setRef, Icon } from '@progress/kendo-vue-common';
|
|
10
10
|
import { packageMetadata } from '../package-metadata';
|
|
11
|
+
import { checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -466,14 +467,18 @@ var MaskedTextBoxVue2 = {
|
|
|
466
467
|
}, [inputSuffix]), showValidationIcon && isValid && h(Icon, {
|
|
467
468
|
name: 'check',
|
|
468
469
|
attrs: this.v3 ? undefined : {
|
|
469
|
-
name: 'check'
|
|
470
|
+
name: 'check',
|
|
471
|
+
icon: checkIcon
|
|
470
472
|
},
|
|
473
|
+
icon: checkIcon,
|
|
471
474
|
"class": "k-input-validation-icon"
|
|
472
475
|
}), showValidationIcon && !isValid && h(Icon, {
|
|
473
|
-
name: '
|
|
476
|
+
name: 'exclamation-circle',
|
|
474
477
|
attrs: this.v3 ? undefined : {
|
|
475
|
-
name: '
|
|
478
|
+
name: 'exclamation-circle',
|
|
479
|
+
icon: exclamationCircleIcon
|
|
476
480
|
},
|
|
481
|
+
icon: exclamationCircleIcon,
|
|
477
482
|
"class": "k-input-validation-icon"
|
|
478
483
|
}), showLoadingIcon && h("span", {
|
|
479
484
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
@@ -486,8 +491,10 @@ var MaskedTextBoxVue2 = {
|
|
|
486
491
|
}, [h(Icon, {
|
|
487
492
|
name: 'x',
|
|
488
493
|
attrs: this.v3 ? undefined : {
|
|
489
|
-
name: 'x'
|
|
490
|
-
|
|
494
|
+
name: 'x',
|
|
495
|
+
icon: xIcon
|
|
496
|
+
},
|
|
497
|
+
icon: xIcon
|
|
491
498
|
})])]);
|
|
492
499
|
return this.$props.label ? h("span", {
|
|
493
500
|
"class": this.spanClassNames,
|
|
@@ -12,6 +12,7 @@ import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
|
12
12
|
import { messages, numericIncreaseValue, numericDecreaseValue } from '../messages/main';
|
|
13
13
|
import { formatValue, sanitizeNumber, rangeValue, increaseValue, decreaseValue, getStateOrPropsValue } from './utils/main';
|
|
14
14
|
import { packageMetadata } from '../package-metadata';
|
|
15
|
+
import { caretAltDownIcon, caretAltUpIcon, checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
15
16
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
@@ -571,14 +572,18 @@ var NumericTextBoxVue2 = {
|
|
|
571
572
|
}, [inputSuffix]), showValidationIcon && isValid && h(Icon, {
|
|
572
573
|
name: 'check',
|
|
573
574
|
attrs: this.v3 ? undefined : {
|
|
574
|
-
name: 'check'
|
|
575
|
+
name: 'check',
|
|
576
|
+
icon: checkIcon
|
|
575
577
|
},
|
|
578
|
+
icon: checkIcon,
|
|
576
579
|
"class": "k-input-validation-icon"
|
|
577
580
|
}), showValidationIcon && !isValid && h(Icon, {
|
|
578
|
-
name: '
|
|
581
|
+
name: 'exclamation-circle',
|
|
579
582
|
attrs: this.v3 ? undefined : {
|
|
580
|
-
name: '
|
|
583
|
+
name: 'exclamation-circle',
|
|
584
|
+
icon: exclamationCircleIcon
|
|
581
585
|
},
|
|
586
|
+
icon: exclamationCircleIcon,
|
|
582
587
|
"class": "k-input-validation-icon"
|
|
583
588
|
}), showLoadingIcon && h("span", {
|
|
584
589
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
@@ -591,8 +596,10 @@ var NumericTextBoxVue2 = {
|
|
|
591
596
|
}, [h(Icon, {
|
|
592
597
|
name: 'x',
|
|
593
598
|
attrs: this.v3 ? undefined : {
|
|
594
|
-
name: 'x'
|
|
595
|
-
|
|
599
|
+
name: 'x',
|
|
600
|
+
icon: xIcon
|
|
601
|
+
},
|
|
602
|
+
icon: xIcon
|
|
596
603
|
})]), defaultSlot, this.$props.spinners && h("span", {
|
|
597
604
|
"class": "k-input-spinner k-spin-button",
|
|
598
605
|
onMousedown: this.spinnersWrapperMouseDown,
|
|
@@ -607,12 +614,14 @@ var NumericTextBoxVue2 = {
|
|
|
607
614
|
type: "button",
|
|
608
615
|
tabIndex: -1,
|
|
609
616
|
icon: 'caret-alt-up',
|
|
617
|
+
svgIcon: caretAltUpIcon,
|
|
610
618
|
rounded: null,
|
|
611
619
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
612
620
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue])
|
|
613
621
|
},
|
|
614
622
|
tabIndex: -1,
|
|
615
623
|
icon: 'caret-alt-up',
|
|
624
|
+
svgIcon: caretAltUpIcon,
|
|
616
625
|
"class": "k-spinner-increase",
|
|
617
626
|
rounded: null,
|
|
618
627
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
@@ -629,6 +638,7 @@ var NumericTextBoxVue2 = {
|
|
|
629
638
|
type: "button",
|
|
630
639
|
tabIndex: -1,
|
|
631
640
|
icon: 'caret-alt-down',
|
|
641
|
+
svgIcon: caretAltDownIcon,
|
|
632
642
|
rounded: null,
|
|
633
643
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
634
644
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue])
|
|
@@ -636,6 +646,7 @@ var NumericTextBoxVue2 = {
|
|
|
636
646
|
tabIndex: -1,
|
|
637
647
|
"class": "k-spinner-decrease",
|
|
638
648
|
icon: 'caret-alt-down',
|
|
649
|
+
svgIcon: caretAltDownIcon,
|
|
639
650
|
rounded: null,
|
|
640
651
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
641
652
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
@@ -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:
|
|
8
|
+
publishDate: 1673512136,
|
|
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
|
};
|
|
@@ -141,6 +141,7 @@ import { messages, signatureClear, signatureMaximize, signatureMinimize } from '
|
|
|
141
141
|
import { packageMetadata } from '../package-metadata';
|
|
142
142
|
import { SignatureCanvas } from './SignatureCanvas';
|
|
143
143
|
import { hasParent } from './utils';
|
|
144
|
+
import { hyperlinkOpenIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
144
145
|
var DEFAULT_WIDTH = 250;
|
|
145
146
|
var DEFAULT_HEIGHT = 84;
|
|
146
147
|
var DEFAULT_POPUP_SCALE = 3;
|
|
@@ -355,12 +356,14 @@ var SignatureVue2 = {
|
|
|
355
356
|
icon: 'hyperlink-open',
|
|
356
357
|
attrs: this.v3 ? undefined : {
|
|
357
358
|
icon: 'hyperlink-open',
|
|
359
|
+
svgIcon: hyperlinkOpenIcon,
|
|
358
360
|
shape: null,
|
|
359
361
|
fillMode: 'flat',
|
|
360
362
|
size: this.$props.size,
|
|
361
363
|
"aria-label": maximizeTitle,
|
|
362
364
|
title: maximizeTitle
|
|
363
365
|
},
|
|
366
|
+
svgIcon: hyperlinkOpenIcon,
|
|
364
367
|
shape: null,
|
|
365
368
|
fillMode: 'flat',
|
|
366
369
|
size: this.$props.size,
|
|
@@ -378,12 +381,14 @@ var SignatureVue2 = {
|
|
|
378
381
|
icon: 'hyperlink-open',
|
|
379
382
|
attrs: this.v3 ? undefined : {
|
|
380
383
|
icon: 'hyperlink-open',
|
|
384
|
+
svgIcon: hyperlinkOpenIcon,
|
|
381
385
|
shape: null,
|
|
382
386
|
fillMode: 'flat',
|
|
383
387
|
size: this.$props.size,
|
|
384
388
|
"aria-label": minimizeTitle,
|
|
385
389
|
title: minimizeTitle
|
|
386
390
|
},
|
|
391
|
+
svgIcon: hyperlinkOpenIcon,
|
|
387
392
|
shape: null,
|
|
388
393
|
fillMode: 'flat',
|
|
389
394
|
size: this.$props.size,
|
|
@@ -407,15 +412,17 @@ var SignatureVue2 = {
|
|
|
407
412
|
// @ts-ignore
|
|
408
413
|
h(Button, {
|
|
409
414
|
"class": 'k-signature-action k-signature-clear',
|
|
410
|
-
icon: '
|
|
415
|
+
icon: 'x',
|
|
411
416
|
attrs: this.v3 ? undefined : {
|
|
412
|
-
icon: '
|
|
417
|
+
icon: 'x',
|
|
418
|
+
svgIcon: xIcon,
|
|
413
419
|
shape: null,
|
|
414
420
|
fillMode: 'flat',
|
|
415
421
|
size: this.$props.size,
|
|
416
422
|
"aria-label": clearTitle,
|
|
417
423
|
title: clearTitle
|
|
418
424
|
},
|
|
425
|
+
svgIcon: xIcon,
|
|
419
426
|
shape: null,
|
|
420
427
|
fillMode: 'flat',
|
|
421
428
|
size: this.$props.size,
|
package/dist/es/slider/Slider.js
CHANGED
|
@@ -11,6 +11,7 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
|
11
11
|
import { messages, sliderIncreaseValue, sliderDecreaseValue, sliderDragTitle } from '../messages/main';
|
|
12
12
|
import { SLIDER_LABEL_ATTRIBUTE } from './SliderLabel';
|
|
13
13
|
import { packageMetadata } from '../package-metadata';
|
|
14
|
+
import { caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
|
|
14
15
|
/**
|
|
15
16
|
* @hidden
|
|
16
17
|
*/
|
|
@@ -169,11 +170,13 @@ var SliderVue2 = {
|
|
|
169
170
|
type: "button",
|
|
170
171
|
tabindex: -1,
|
|
171
172
|
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
173
|
+
svgIcon: this.$props.vertical ? caretAltDownIcon : caretAltLeftIcon,
|
|
172
174
|
rounded: 'full',
|
|
173
175
|
title: lS.toLanguageString(sliderDecreaseValue, messages[sliderDecreaseValue])
|
|
174
176
|
},
|
|
175
177
|
tabindex: -1,
|
|
176
178
|
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
179
|
+
svgIcon: this.$props.vertical ? caretAltDownIcon : caretAltLeftIcon,
|
|
177
180
|
style: {
|
|
178
181
|
position: 'relative'
|
|
179
182
|
},
|
|
@@ -286,11 +289,13 @@ var SliderVue2 = {
|
|
|
286
289
|
type: "button",
|
|
287
290
|
tabindex: -1,
|
|
288
291
|
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
292
|
+
svgIcon: this.$props.vertical ? caretAltUpIcon : caretAltRightIcon,
|
|
289
293
|
rounded: 'full',
|
|
290
294
|
title: lS.toLanguageString(sliderIncreaseValue, messages[sliderIncreaseValue])
|
|
291
295
|
},
|
|
292
296
|
tabindex: -1,
|
|
293
297
|
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
298
|
+
svgIcon: this.$props.vertical ? caretAltUpIcon : caretAltRightIcon,
|
|
294
299
|
rounded: 'full',
|
|
295
300
|
style: {
|
|
296
301
|
position: 'relative'
|
|
@@ -19,6 +19,7 @@ import { guid, isRtl, getTabIndex, validatePackage, kendoThemeMaps, templateDefi
|
|
|
19
19
|
// useDir,
|
|
20
20
|
} from '@progress/kendo-vue-common';
|
|
21
21
|
import { packageMetadata } from '../package-metadata';
|
|
22
|
+
import { exclamationCircleIcon } from '@progress/kendo-svg-icons';
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
@@ -304,10 +305,12 @@ var TextAreaVue2 = {
|
|
|
304
305
|
})]), showValidationIcon && !this.isValid && h("span", {
|
|
305
306
|
"class": this.suffixIconWrapClass
|
|
306
307
|
}, [h(Icon, {
|
|
307
|
-
name: '
|
|
308
|
+
name: 'exclamation-circle',
|
|
308
309
|
attrs: this.v3 ? undefined : {
|
|
309
|
-
name: '
|
|
310
|
+
name: 'exclamation-circle',
|
|
311
|
+
icon: exclamationCircleIcon
|
|
310
312
|
},
|
|
313
|
+
icon: exclamationCircleIcon,
|
|
311
314
|
"class": "k-input-validation-icon"
|
|
312
315
|
})]), showLoadingIcon && h("span", {
|
|
313
316
|
"class": this.suffixIconWrapClass
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
7
|
+
import { checkIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { messages, colorGradientContrastRatio, colorGradientAALevel, colorGradientAAALevel, colorGradientPass, colorGradientFail } from '../messages/main.js';
|
|
8
9
|
import { getContrastFromTwoRGBAs } from './utils/color-parser.js';
|
|
9
10
|
import { Icon } from '@progress/kendo-vue-common';
|
|
@@ -51,17 +52,21 @@ var ColorContrastLabelsVue2 = {
|
|
|
51
52
|
}, [passMessage, " ", h(Icon, {
|
|
52
53
|
name: "check",
|
|
53
54
|
attrs: this.v3 ? undefined : {
|
|
54
|
-
name: "check"
|
|
55
|
-
|
|
55
|
+
name: "check",
|
|
56
|
+
icon: checkIcon
|
|
57
|
+
},
|
|
58
|
+
icon: checkIcon
|
|
56
59
|
})]);
|
|
57
60
|
var error = h("span", {
|
|
58
61
|
key: 2,
|
|
59
62
|
"class": "k-contrast-validation k-text-error"
|
|
60
63
|
}, [failMessage, " ", h(Icon, {
|
|
61
|
-
name: "
|
|
64
|
+
name: "x",
|
|
62
65
|
attrs: this.v3 ? undefined : {
|
|
63
|
-
name: "
|
|
64
|
-
|
|
66
|
+
name: "x",
|
|
67
|
+
icon: xIcon
|
|
68
|
+
},
|
|
69
|
+
icon: xIcon
|
|
65
70
|
})]);
|
|
66
71
|
return h("div", {
|
|
67
72
|
"class": "k-vbox k-colorgradient-color-contrast"
|
|
@@ -74,20 +79,26 @@ var ColorContrastLabelsVue2 = {
|
|
|
74
79
|
}, [h(Icon, {
|
|
75
80
|
name: "check",
|
|
76
81
|
attrs: this.v3 ? undefined : {
|
|
77
|
-
name: "check"
|
|
78
|
-
|
|
82
|
+
name: "check",
|
|
83
|
+
icon: checkIcon
|
|
84
|
+
},
|
|
85
|
+
icon: checkIcon
|
|
79
86
|
}), aaaPass && h(Icon, {
|
|
80
87
|
name: "check",
|
|
81
88
|
attrs: this.v3 ? undefined : {
|
|
82
|
-
name: "check"
|
|
83
|
-
|
|
89
|
+
name: "check",
|
|
90
|
+
icon: checkIcon
|
|
91
|
+
},
|
|
92
|
+
icon: checkIcon
|
|
84
93
|
})]) : h("span", {
|
|
85
94
|
"class": "k-contrast-validation k-text-error"
|
|
86
95
|
}, [h(Icon, {
|
|
87
|
-
name: "
|
|
96
|
+
name: "x",
|
|
88
97
|
attrs: this.v3 ? undefined : {
|
|
89
|
-
name: "
|
|
90
|
-
|
|
98
|
+
name: "x",
|
|
99
|
+
icon: xIcon
|
|
100
|
+
},
|
|
101
|
+
icon: xIcon
|
|
91
102
|
})])]), h("div", [h("span", [aaText]), aaPass ? success : error]), h("div", [h("span", [aaaText]), aaaPass ? success : error])]);
|
|
92
103
|
}
|
|
93
104
|
};
|
|
@@ -22,6 +22,7 @@ import { Label } from '@progress/kendo-vue-labels';
|
|
|
22
22
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
23
23
|
import { messages, colorGradientR, colorGradientHex, colorGradientA, colorGradientB, colorGradientG, colorGradientRLabel, colorGradientGLabel, colorGradientBLabel, colorGradientALabel, colorGradientInputColorButton } from '../messages/main.js';
|
|
24
24
|
import { guid, Keys } from '@progress/kendo-vue-common';
|
|
25
|
+
import { caretAltExpandIcon } from '@progress/kendo-svg-icons';
|
|
25
26
|
/**
|
|
26
27
|
* @hidden
|
|
27
28
|
*/
|
|
@@ -99,12 +100,14 @@ var ColorInputVue2 = {
|
|
|
99
100
|
tabIndex: this.tabIndex,
|
|
100
101
|
type: "button",
|
|
101
102
|
fillMode: 'flat',
|
|
102
|
-
icon: 'caret-alt-expand'
|
|
103
|
+
icon: 'caret-alt-expand',
|
|
104
|
+
svgIcon: caretAltExpandIcon
|
|
103
105
|
},
|
|
104
106
|
tabIndex: this.tabIndex,
|
|
105
107
|
type: "button",
|
|
106
108
|
fillMode: 'flat',
|
|
107
109
|
icon: 'caret-alt-expand',
|
|
110
|
+
svgIcon: caretAltExpandIcon,
|
|
108
111
|
"class": "k-colorgradient-toggle-mode k-icon-button",
|
|
109
112
|
onClick: this.onToggleModeChange,
|
|
110
113
|
on: this.v3 ? undefined : {
|
|
@@ -25,6 +25,7 @@ import { FlatColorPicker } from './FlatColorPicker.js';
|
|
|
25
25
|
import { DEFAULT_GRADIENT_SETTINGS, DEFAULT_PALETTE_SETTINGS } from './utils/color-cache.js';
|
|
26
26
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
27
27
|
import { messages, colorPickerDropdownButtonAriaLabel } from '../messages/main.js';
|
|
28
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
28
29
|
/**
|
|
29
30
|
* @hidden
|
|
30
31
|
*/
|
|
@@ -318,6 +319,7 @@ var ColorPickerVue2 = {
|
|
|
318
319
|
tabindex: -1,
|
|
319
320
|
rounded: null,
|
|
320
321
|
icon: 'caret-alt-down',
|
|
322
|
+
svgIcon: caretAltDownIcon,
|
|
321
323
|
"aria-label": colorPickerLabelMessage
|
|
322
324
|
},
|
|
323
325
|
tabindex: -1,
|
|
@@ -331,6 +333,7 @@ var ColorPickerVue2 = {
|
|
|
331
333
|
rounded: null,
|
|
332
334
|
"class": "k-input-button",
|
|
333
335
|
icon: 'caret-alt-down',
|
|
336
|
+
svgIcon: caretAltDownIcon,
|
|
334
337
|
"aria-label": colorPickerLabelMessage
|
|
335
338
|
}),
|
|
336
339
|
// @ts-ignore function children
|