@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
|
@@ -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.js';
|
|
@@ -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/esm/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.js';
|
|
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.js';
|
|
|
8
8
|
import { defaultRules, maskingChanged, returnFalse } from './utils.js';
|
|
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.js';
|
|
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.js';
|
|
13
13
|
import { formatValue, sanitizeNumber, rangeValue, increaseValue, decreaseValue, getStateOrPropsValue } from './utils/main.js';
|
|
14
14
|
import { packageMetadata } from '../package-metadata.js';
|
|
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.js';
|
|
142
142
|
import { SignatureCanvas } from './SignatureCanvas.js';
|
|
143
143
|
import { hasParent } from './utils.js';
|
|
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,
|
|
@@ -11,6 +11,7 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
|
11
11
|
import { messages, sliderIncreaseValue, sliderDecreaseValue, sliderDragTitle } from '../messages/main.js';
|
|
12
12
|
import { SLIDER_LABEL_ATTRIBUTE } from './SliderLabel.js';
|
|
13
13
|
import { packageMetadata } from '../package-metadata.js';
|
|
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.js';
|
|
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
|
|
@@ -10,6 +10,7 @@ var allVue = Vue;
|
|
|
10
10
|
var gh = allVue.h;
|
|
11
11
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
12
12
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
13
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
13
14
|
var main_1 = require("../messages/main");
|
|
14
15
|
var color_parser_1 = require("./utils/color-parser");
|
|
15
16
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
@@ -57,17 +58,21 @@ var ColorContrastLabelsVue2 = {
|
|
|
57
58
|
}, [passMessage, " ", h(kendo_vue_common_1.Icon, {
|
|
58
59
|
name: "check",
|
|
59
60
|
attrs: this.v3 ? undefined : {
|
|
60
|
-
name: "check"
|
|
61
|
-
|
|
61
|
+
name: "check",
|
|
62
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
63
|
+
},
|
|
64
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
62
65
|
})]);
|
|
63
66
|
var error = h("span", {
|
|
64
67
|
key: 2,
|
|
65
68
|
"class": "k-contrast-validation k-text-error"
|
|
66
69
|
}, [failMessage, " ", h(kendo_vue_common_1.Icon, {
|
|
67
|
-
name: "
|
|
70
|
+
name: "x",
|
|
68
71
|
attrs: this.v3 ? undefined : {
|
|
69
|
-
name: "
|
|
70
|
-
|
|
72
|
+
name: "x",
|
|
73
|
+
icon: kendo_svg_icons_1.xIcon
|
|
74
|
+
},
|
|
75
|
+
icon: kendo_svg_icons_1.xIcon
|
|
71
76
|
})]);
|
|
72
77
|
return h("div", {
|
|
73
78
|
"class": "k-vbox k-colorgradient-color-contrast"
|
|
@@ -80,20 +85,26 @@ var ColorContrastLabelsVue2 = {
|
|
|
80
85
|
}, [h(kendo_vue_common_1.Icon, {
|
|
81
86
|
name: "check",
|
|
82
87
|
attrs: this.v3 ? undefined : {
|
|
83
|
-
name: "check"
|
|
84
|
-
|
|
88
|
+
name: "check",
|
|
89
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
90
|
+
},
|
|
91
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
85
92
|
}), aaaPass && h(kendo_vue_common_1.Icon, {
|
|
86
93
|
name: "check",
|
|
87
94
|
attrs: this.v3 ? undefined : {
|
|
88
|
-
name: "check"
|
|
89
|
-
|
|
95
|
+
name: "check",
|
|
96
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
97
|
+
},
|
|
98
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
90
99
|
})]) : h("span", {
|
|
91
100
|
"class": "k-contrast-validation k-text-error"
|
|
92
101
|
}, [h(kendo_vue_common_1.Icon, {
|
|
93
|
-
name: "
|
|
102
|
+
name: "x",
|
|
94
103
|
attrs: this.v3 ? undefined : {
|
|
95
|
-
name: "
|
|
96
|
-
|
|
104
|
+
name: "x",
|
|
105
|
+
icon: kendo_svg_icons_1.xIcon
|
|
106
|
+
},
|
|
107
|
+
icon: kendo_svg_icons_1.xIcon
|
|
97
108
|
})])]), h("div", [h("span", [aaText]), aaPass ? success : error]), h("div", [h("span", [aaaText]), aaaPass ? success : error])]);
|
|
98
109
|
}
|
|
99
110
|
};
|
|
@@ -28,6 +28,7 @@ var kendo_vue_labels_1 = require("@progress/kendo-vue-labels");
|
|
|
28
28
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
29
29
|
var main_2 = require("../messages/main");
|
|
30
30
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
31
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
31
32
|
/**
|
|
32
33
|
* @hidden
|
|
33
34
|
*/
|
|
@@ -105,12 +106,14 @@ var ColorInputVue2 = {
|
|
|
105
106
|
tabIndex: this.tabIndex,
|
|
106
107
|
type: "button",
|
|
107
108
|
fillMode: 'flat',
|
|
108
|
-
icon: 'caret-alt-expand'
|
|
109
|
+
icon: 'caret-alt-expand',
|
|
110
|
+
svgIcon: kendo_svg_icons_1.caretAltExpandIcon
|
|
109
111
|
},
|
|
110
112
|
tabIndex: this.tabIndex,
|
|
111
113
|
type: "button",
|
|
112
114
|
fillMode: 'flat',
|
|
113
115
|
icon: 'caret-alt-expand',
|
|
116
|
+
svgIcon: kendo_svg_icons_1.caretAltExpandIcon,
|
|
114
117
|
"class": "k-colorgradient-toggle-mode k-icon-button",
|
|
115
118
|
onClick: this.onToggleModeChange,
|
|
116
119
|
on: this.v3 ? undefined : {
|
|
@@ -29,6 +29,7 @@ var FlatColorPicker_1 = require("./FlatColorPicker");
|
|
|
29
29
|
var color_cache_1 = require("./utils/color-cache");
|
|
30
30
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
31
31
|
var main_1 = require("../messages/main");
|
|
32
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
34
35
|
*/
|
|
@@ -322,6 +323,7 @@ var ColorPickerVue2 = {
|
|
|
322
323
|
tabindex: -1,
|
|
323
324
|
rounded: null,
|
|
324
325
|
icon: 'caret-alt-down',
|
|
326
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
325
327
|
"aria-label": colorPickerLabelMessage
|
|
326
328
|
},
|
|
327
329
|
tabindex: -1,
|
|
@@ -335,6 +337,7 @@ var ColorPickerVue2 = {
|
|
|
335
337
|
rounded: null,
|
|
336
338
|
"class": "k-input-button",
|
|
337
339
|
icon: 'caret-alt-down',
|
|
340
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
338
341
|
"aria-label": colorPickerLabelMessage
|
|
339
342
|
}),
|
|
340
343
|
// @ts-ignore function children
|
|
@@ -21,6 +21,7 @@ var Vue = require("vue");
|
|
|
21
21
|
var allVue = Vue;
|
|
22
22
|
var gh = allVue.h;
|
|
23
23
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
24
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
24
25
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
25
26
|
var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
|
|
26
27
|
var ColorPalette_1 = require("./ColorPalette");
|
|
@@ -257,16 +258,20 @@ var FlatColorPickerVue2 = {
|
|
|
257
258
|
}
|
|
258
259
|
}, _this2.v3 ? function () {
|
|
259
260
|
return [h(kendo_vue_common_1.Icon, {
|
|
260
|
-
name: "
|
|
261
|
+
name: "droplet-slider",
|
|
261
262
|
attrs: _this2.v3 ? undefined : {
|
|
262
|
-
name: "
|
|
263
|
-
|
|
263
|
+
name: "droplet-slider",
|
|
264
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
265
|
+
},
|
|
266
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
264
267
|
})];
|
|
265
268
|
} : [h(kendo_vue_common_1.Icon, {
|
|
266
|
-
name: "
|
|
269
|
+
name: "droplet-slider",
|
|
267
270
|
attrs: _this2.v3 ? undefined : {
|
|
268
|
-
name: "
|
|
269
|
-
|
|
271
|
+
name: "droplet-slider",
|
|
272
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
273
|
+
},
|
|
274
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
270
275
|
})]),
|
|
271
276
|
// @ts-ignore function children
|
|
272
277
|
h(kendo_vue_buttons_1.Button, {
|
|
@@ -298,14 +303,18 @@ var FlatColorPickerVue2 = {
|
|
|
298
303
|
return [h(kendo_vue_common_1.Icon, {
|
|
299
304
|
name: "palette",
|
|
300
305
|
attrs: _this2.v3 ? undefined : {
|
|
301
|
-
name: "palette"
|
|
302
|
-
|
|
306
|
+
name: "palette",
|
|
307
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
308
|
+
},
|
|
309
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
303
310
|
})];
|
|
304
311
|
} : [h(kendo_vue_common_1.Icon, {
|
|
305
312
|
name: "palette",
|
|
306
313
|
attrs: _this2.v3 ? undefined : {
|
|
307
|
-
name: "palette"
|
|
308
|
-
|
|
314
|
+
name: "palette",
|
|
315
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
316
|
+
},
|
|
317
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
309
318
|
})])];
|
|
310
319
|
} : [h(kendo_vue_buttons_1.Button, {
|
|
311
320
|
tabIndex: _this2.computedTabIndex,
|
|
@@ -334,16 +343,20 @@ var FlatColorPickerVue2 = {
|
|
|
334
343
|
}
|
|
335
344
|
}, _this2.v3 ? function () {
|
|
336
345
|
return [h(kendo_vue_common_1.Icon, {
|
|
337
|
-
name: "
|
|
346
|
+
name: "droplet-slider",
|
|
338
347
|
attrs: _this2.v3 ? undefined : {
|
|
339
|
-
name: "
|
|
340
|
-
|
|
348
|
+
name: "droplet-slider",
|
|
349
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
350
|
+
},
|
|
351
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
341
352
|
})];
|
|
342
353
|
} : [h(kendo_vue_common_1.Icon, {
|
|
343
|
-
name: "
|
|
354
|
+
name: "droplet-slider",
|
|
344
355
|
attrs: _this2.v3 ? undefined : {
|
|
345
|
-
name: "
|
|
346
|
-
|
|
356
|
+
name: "droplet-slider",
|
|
357
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
358
|
+
},
|
|
359
|
+
icon: kendo_svg_icons_1.dropletSliderIcon
|
|
347
360
|
})]), h(kendo_vue_buttons_1.Button, {
|
|
348
361
|
tabIndex: _this2.computedTabIndex,
|
|
349
362
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -373,14 +386,18 @@ var FlatColorPickerVue2 = {
|
|
|
373
386
|
return [h(kendo_vue_common_1.Icon, {
|
|
374
387
|
name: "palette",
|
|
375
388
|
attrs: _this2.v3 ? undefined : {
|
|
376
|
-
name: "palette"
|
|
377
|
-
|
|
389
|
+
name: "palette",
|
|
390
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
391
|
+
},
|
|
392
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
378
393
|
})];
|
|
379
394
|
} : [h(kendo_vue_common_1.Icon, {
|
|
380
395
|
name: "palette",
|
|
381
396
|
attrs: _this2.v3 ? undefined : {
|
|
382
|
-
name: "palette"
|
|
383
|
-
|
|
397
|
+
name: "palette",
|
|
398
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
399
|
+
},
|
|
400
|
+
icon: kendo_svg_icons_1.paletteIcon
|
|
384
401
|
})])])]), h("div", {
|
|
385
402
|
"class": "k-spacer"
|
|
386
403
|
}), h("div", {
|
|
@@ -408,14 +425,18 @@ var FlatColorPickerVue2 = {
|
|
|
408
425
|
return [h(kendo_vue_common_1.Icon, {
|
|
409
426
|
name: "droplet-slash",
|
|
410
427
|
attrs: _this2.v3 ? undefined : {
|
|
411
|
-
name: "droplet-slash"
|
|
412
|
-
|
|
428
|
+
name: "droplet-slash",
|
|
429
|
+
icon: kendo_svg_icons_1.dropletSlashIcon
|
|
430
|
+
},
|
|
431
|
+
icon: kendo_svg_icons_1.dropletSlashIcon
|
|
413
432
|
})];
|
|
414
433
|
} : [h(kendo_vue_common_1.Icon, {
|
|
415
434
|
name: "droplet-slash",
|
|
416
435
|
attrs: _this2.v3 ? undefined : {
|
|
417
|
-
name: "droplet-slash"
|
|
418
|
-
|
|
436
|
+
name: "droplet-slash",
|
|
437
|
+
icon: kendo_svg_icons_1.dropletSlashIcon
|
|
438
|
+
},
|
|
439
|
+
icon: kendo_svg_icons_1.dropletSlashIcon
|
|
419
440
|
})]), this.$props.showPreview && h("div", {
|
|
420
441
|
"class": "k-coloreditor-preview k-vstack"
|
|
421
442
|
}, [h("span", {
|