@progress/kendo-angular-inputs 22.1.0-develop.9 → 23.0.0-develop.1

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 (38) hide show
  1. package/checkbox/checkbox.component.d.ts +1 -1
  2. package/checkbox/checkbox.directive.d.ts +3 -3
  3. package/colorpicker/color-gradient.component.d.ts +2 -2
  4. package/colorpicker/color-palette.component.d.ts +1 -1
  5. package/colorpicker/colorpicker.component.d.ts +5 -5
  6. package/colorpicker/flatcolorpicker.component.d.ts +1 -1
  7. package/common/models/fillmode.d.ts +1 -1
  8. package/common/models/size.d.ts +1 -1
  9. package/common/utils.d.ts +1 -0
  10. package/fesm2022/progress-kendo-angular-inputs.mjs +526 -576
  11. package/formfield/models/show-options.d.ts +1 -1
  12. package/maskedtextbox/maskedtextbox.component.d.ts +12 -12
  13. package/numerictextbox/constants.d.ts +2 -2
  14. package/numerictextbox/numerictextbox.component.d.ts +16 -16
  15. package/otpinput/otpinput.component.d.ts +1 -1
  16. package/package-metadata.mjs +2 -2
  17. package/package.json +13 -13
  18. package/radiobutton/radiobutton.directive.d.ts +1 -1
  19. package/rating/directives/rating-hovered-item.directive.d.ts +1 -1
  20. package/rating/directives/rating-item.directive.d.ts +1 -1
  21. package/rating/directives/rating-selected-item.directive.d.ts +1 -1
  22. package/rating/models/selection.d.ts +1 -1
  23. package/rating/rating.component.d.ts +10 -10
  24. package/shared/input-separator.component.d.ts +2 -2
  25. package/signature/signature.component.d.ts +8 -8
  26. package/slider/slider.component.d.ts +4 -4
  27. package/sliders-common/slider-base.d.ts +10 -10
  28. package/sliders-common/title-callback.d.ts +1 -1
  29. package/switch/switch.component.d.ts +11 -11
  30. package/text-fields-common/text-fields-base.d.ts +1 -1
  31. package/textarea/models/textarea-settings.d.ts +1 -1
  32. package/textarea/textarea.component.d.ts +4 -4
  33. package/textarea/textarea.directive.d.ts +1 -1
  34. package/textbox/models/icon-show-options.d.ts +1 -1
  35. package/textbox/textbox-prefix.directive.d.ts +1 -1
  36. package/textbox/textbox-suffix.directive.d.ts +1 -1
  37. package/textbox/textbox.component.d.ts +7 -7
  38. package/textbox/textbox.directive.d.ts +1 -1
@@ -8,7 +8,7 @@ import { NgControl, NG_VALUE_ACCESSOR, NG_VALIDATORS, RadioControlValueAccessor
8
8
  import { Subscription, fromEvent, interval, merge, BehaviorSubject, Subject } from 'rxjs';
9
9
  import { take, tap, filter, concatMap, startWith, takeUntil, skip, debounceTime, throttleTime } from 'rxjs/operators';
10
10
  import * as i8 from '@progress/kendo-angular-common';
11
- import { isDocumentAvailable, Keys, guid, anyChanged, normalizeKeys, hasObservers, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, SuffixTemplateDirective, PrefixTemplateDirective, isChanged, isPresent as isPresent$1, isSafari, PreventableEvent, findFocusableChild, parseCSSClassNames, closest as closest$1, processCssValue, replaceMessagePlaceholder, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, SeparatorComponent, ResizeBatchService, KENDO_ADORNMENTS } from '@progress/kendo-angular-common';
11
+ import { isDocumentAvailable, Keys, guid, anyChanged, normalizeKeys, hasObservers, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent, KendoInput, hasFocusableParent, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, SuffixTemplateDirective, PrefixTemplateDirective, isChanged, isPresent as isPresent$1, isSafari, PreventableEvent, findFocusableChild, parseCSSClassNames, closest as closest$1, processCssValue, replaceMessagePlaceholder, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, SeparatorComponent, ResizeBatchService, KENDO_ADORNMENTS } from '@progress/kendo-angular-common';
12
12
  export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective } from '@progress/kendo-angular-common';
13
13
  import * as i1 from '@progress/kendo-angular-l10n';
14
14
  import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
@@ -73,7 +73,8 @@ const ROUNDED_MAP = {
73
73
  small: 'sm',
74
74
  medium: 'md',
75
75
  large: 'lg',
76
- full: 'full'
76
+ full: 'full',
77
+ none: 'none'
77
78
  };
78
79
  /**
79
80
  * @hidden
@@ -86,21 +87,33 @@ const isNone = (style) => style === 'none';
86
87
  */
87
88
  const getStylingClasses = (componentType, stylingOption, previousValue, newValue) => {
88
89
  switch (stylingOption) {
89
- case 'size':
90
+ case 'size': {
90
91
  return {
91
- toRemove: `k-${componentType}-${SIZE_MAP[previousValue]}`,
92
- toAdd: newValue !== 'none' ? `k-${componentType}-${SIZE_MAP[newValue]}` : ''
92
+ toRemove: previousValue ? `k-${componentType}-${SIZE_MAP[previousValue]}` : null,
93
+ toAdd: newValue ? `k-${componentType}-${SIZE_MAP[newValue]}` : null
93
94
  };
94
- case 'rounded':
95
+ }
96
+ case 'rounded': {
97
+ let roundedClassToAdd;
98
+ if (newValue) {
99
+ if (newValue !== 'none') {
100
+ roundedClassToAdd = `k-rounded-${ROUNDED_MAP[newValue]}`;
101
+ }
102
+ else {
103
+ roundedClassToAdd = 'k-rounded-none';
104
+ }
105
+ }
95
106
  return {
96
- toRemove: `k-rounded-${ROUNDED_MAP[previousValue]}`,
97
- toAdd: newValue !== 'none' ? `k-rounded-${ROUNDED_MAP[newValue]}` : ''
107
+ toRemove: previousValue ? `k-rounded-${ROUNDED_MAP[previousValue]}` : null,
108
+ toAdd: roundedClassToAdd || null
98
109
  };
99
- case 'fillMode':
110
+ }
111
+ case 'fillMode': {
100
112
  return {
101
- toRemove: `k-${componentType}-${previousValue}`,
102
- toAdd: newValue !== 'none' ? `k-${componentType}-${newValue}` : ''
113
+ toRemove: previousValue ? `k-${componentType}-${previousValue}` : null,
114
+ toAdd: newValue ? `k-${componentType}-${newValue}` : null
103
115
  };
116
+ }
104
117
  default:
105
118
  break;
106
119
  }
@@ -554,7 +567,7 @@ const packageMetadata = {
554
567
  productCode: 'KENDOUIANGULAR',
555
568
  productCodes: ['KENDOUIANGULAR'],
556
569
  publishDate: 0,
557
- version: '22.1.0-develop.9',
570
+ version: '23.0.0-develop.1',
558
571
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
559
572
  };
560
573
 
@@ -603,11 +616,11 @@ class SliderBase {
603
616
  /**
604
617
  * Sets the title for the ticks.
605
618
  * The default title for each tick is its Slider value.
606
- * If you use a callback function, the function receives the component value and returns a string for the new title [see example]({% slug ticks_slider %}#toc-titles).
619
+ * If you use a callback function, the function receives the component value and returns a string for the new title [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/ticks#titles).
607
620
  */
608
621
  title = identity;
609
622
  /**
610
- * Sets the location of the tick marks in the Slider [see example]({% slug ticks_slider %}#toc-placement).
623
+ * Sets the location of the tick marks in the Slider [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/ticks#placement).
611
624
  *
612
625
  * The options are:
613
626
  * - `before` – Shows tick marks above a horizontal track or left of a vertical track.
@@ -619,21 +632,21 @@ class SliderBase {
619
632
  */
620
633
  tickPlacement = 'both';
621
634
  /**
622
- * When `true`. renders a vertical Slider [see example]({% slug orientation_slider %}).
635
+ * When `true`. renders a vertical Slider [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/orientation).
623
636
  *
624
637
  * @default false
625
638
  */
626
639
  vertical = false;
627
640
  /**
628
641
  * Sets the minimum value of the Slider.
629
- * Accepts integers and floating-point numbers [see example]({% slug predefinedsteps_slider %}#toc-small-steps).
642
+ * Accepts integers and floating-point numbers [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/predefined-steps#small-steps).
630
643
  *
631
644
  * @default 0
632
645
  */
633
646
  min = 0;
634
647
  /**
635
648
  * Sets the maximum value of the Slider.
636
- * Accepts integers and floating-point numbers [see example]({% slug predefinedsteps_slider %}#toc-small-steps).
649
+ * Accepts integers and floating-point numbers [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/predefined-steps#small-steps).
637
650
  *
638
651
  * @default 10
639
652
  */
@@ -641,32 +654,32 @@ class SliderBase {
641
654
  /**
642
655
  * Sets the step value of the Slider.
643
656
  * Accepts only positive values.
644
- * Can be an integer or a floating-point number [see example]({% slug predefinedsteps_slider %}#toc-small-steps).
657
+ * Can be an integer or a floating-point number [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/predefined-steps#small-steps).
645
658
  *
646
659
  * @default 1
647
660
  */
648
661
  smallStep = 1;
649
662
  /**
650
- * Sets every n<sup>th</sup> tick as large and shows a label for it [see example]({% slug predefinedsteps_slider %}#toc-large-steps).
663
+ * Sets every n<sup>th</sup> tick as large and shows a label for it [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/predefined-steps#large-steps).
651
664
  *
652
665
  * @default null
653
666
  */
654
667
  largeStep = null;
655
668
  /**
656
669
  * Sets the width between two ticks along the track, in pixels.
657
- * If you do not set `fixedTickWidth`, the Slider adjusts the tick width automatically [see example]({% slug ticks_slider %}#toc-width).
670
+ * If you do not set `fixedTickWidth`, the Slider adjusts the tick width automatically [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/ticks#width).
658
671
  *
659
672
  */
660
673
  fixedTickWidth;
661
674
  /**
662
675
  * When `true`, disables the Slider.
663
- * To disable the component in reactive forms, see [Forms Support](slug:formssupport_slider#toc-managing-the-slider-disabled-state-in-reactive-forms) [see example]({% slug disabledstate_slider %}).
676
+ * To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/forms#managing-the-slider-disabled-state-in-reactive-forms) [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/disabled-state).
664
677
  *
665
678
  * @default false
666
679
  */
667
680
  disabled = false;
668
681
  /**
669
- * When `true`, sets the Slider to read-only [see example]({% slug readonly_slider %}).
682
+ * When `true`, sets the Slider to read-only [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/readonly-state).
670
683
  *
671
684
  * @default false
672
685
  */
@@ -1083,7 +1096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1083
1096
  /* eslint-disable @typescript-eslint/no-explicit-any */
1084
1097
  const PRESSED$1 = 'k-pressed';
1085
1098
  /**
1086
- * Represents the [Kendo UI Slider component for Angular]({% slug overview_slider %}).
1099
+ * Represents the [Kendo UI Slider component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/slider).
1087
1100
  *
1088
1101
  * @example
1089
1102
  * ```html
@@ -1109,7 +1122,7 @@ class SliderComponent extends SliderBase {
1109
1122
  */
1110
1123
  dragHandleTitle;
1111
1124
  /**
1112
- * Sets the title of the **Increase** button of the Slider ([see example]({% slug sidebuttons_slider %}#toc-titles)).
1125
+ * Sets the title of the **Increase** button of the Slider ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/side-buttons#titles)).
1113
1126
  */
1114
1127
  incrementTitle;
1115
1128
  /**
@@ -1119,11 +1132,11 @@ class SliderComponent extends SliderBase {
1119
1132
  */
1120
1133
  animate = true;
1121
1134
  /**
1122
- * Sets the title of the **Decrease** button of the Slider ([see example]({% slug sidebuttons_slider %}#toc-titles)).
1135
+ * Sets the title of the **Decrease** button of the Slider ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/side-buttons#titles)).
1123
1136
  */
1124
1137
  decrementTitle;
1125
1138
  /**
1126
- * Shows or hides the arrow side buttons of the Slider ([see example]({% slug sidebuttons_slider %}#toc-hidden-state)).
1139
+ * Shows or hides the arrow side buttons of the Slider ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/side-buttons#hidden-state)).
1127
1140
  * When you set `showButtons` to `false`, the component does not display the buttons.
1128
1141
  * @default true
1129
1142
  */
@@ -2499,11 +2512,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
2499
2512
  }], ctorParameters: () => [{ type: i1.LocalizationService }] });
2500
2513
 
2501
2514
  const FOCUSED$5 = 'k-focus';
2502
- const DEFAULT_SIZE$e = 'medium';
2503
- const DEFAULT_THUMB_ROUNDED = 'full';
2504
- const DEFAULT_TRACK_ROUNDED = 'full';
2505
2515
  /**
2506
- * Represents the [Kendo UI Switch component for Angular]({% slug overview_switch %}).
2516
+ * Represents the [Kendo UI Switch component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/switch).
2507
2517
  *
2508
2518
  * @example
2509
2519
  * ```html
@@ -2531,14 +2541,14 @@ class SwitchComponent {
2531
2541
  }
2532
2542
  /**
2533
2543
  * Set the **On** label.
2534
- * This label takes precedence over the [custom messages component]({% slug api_inputs_switchcustommessagescomponent %}).
2535
- * [See example]({% slug labels_switch %}).
2544
+ * This label takes precedence over the [custom messages component](https://www.telerik.com/kendo-angular-ui/components/inputs/api/switchcustommessagescomponent).
2545
+ * [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/labels).
2536
2546
  */
2537
2547
  onLabel;
2538
2548
  /**
2539
2549
  * Set the **Off** label.
2540
- * This label takes precedence over the [custom messages component]({% slug api_inputs_switchcustommessagescomponent %}).
2541
- * [See example]({% slug labels_switch %}).
2550
+ * This label takes precedence over the [custom messages component](https://www.telerik.com/kendo-angular-ui/components/inputs/api/switchcustommessagescomponent).
2551
+ * [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/labels).
2542
2552
  */
2543
2553
  offLabel;
2544
2554
  /**
@@ -2553,14 +2563,14 @@ class SwitchComponent {
2553
2563
  }
2554
2564
  /**
2555
2565
  * When `true`, disables the Switch.
2556
- * [See example]({% slug disabled_switch %}).
2557
- * To disable the component in reactive forms, see [Forms Support](slug:formssupport_switch#toc-managing-the-switch-disabled-state-in-reactive-forms).
2566
+ * [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/disabled-state).
2567
+ * To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/forms#managing-the-switch-disabled-state-in-reactive-forms).
2558
2568
  * @default false
2559
2569
  */
2560
2570
  disabled = false;
2561
2571
  /**
2562
2572
  * When `true`, sets the Switch to read-only.
2563
- * [See example]({% slug readonly_switch %}).
2573
+ * [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/readonly-state).
2564
2574
  * @default false
2565
2575
  */
2566
2576
  readonly = false;
@@ -2572,12 +2582,11 @@ class SwitchComponent {
2572
2582
  /**
2573
2583
  * Sets the size of the Switch.
2574
2584
  *
2575
- * @default "medium"
2585
+ * @default undefined
2576
2586
  */
2577
2587
  set size(size) {
2578
- const newSize = size || DEFAULT_SIZE$e;
2579
- this.handleClasses(newSize, 'size');
2580
- this._size = newSize;
2588
+ this.handleClasses(size, 'size');
2589
+ this._size = size;
2581
2590
  }
2582
2591
  get size() {
2583
2592
  return this._size;
@@ -2585,12 +2594,11 @@ class SwitchComponent {
2585
2594
  /**
2586
2595
  * Sets the border radius of the Switch.
2587
2596
  *
2588
- * @default "full"
2597
+ * @default undefined
2589
2598
  */
2590
2599
  set thumbRounded(thumbRounded) {
2591
- const newThumbRounded = thumbRounded || DEFAULT_THUMB_ROUNDED;
2592
- this.handleThumbClasses(newThumbRounded);
2593
- this._thumbRounded = newThumbRounded;
2600
+ this.handleThumbClasses(thumbRounded);
2601
+ this._thumbRounded = thumbRounded;
2594
2602
  }
2595
2603
  get thumbRounded() {
2596
2604
  return this._thumbRounded;
@@ -2598,12 +2606,11 @@ class SwitchComponent {
2598
2606
  /**
2599
2607
  * Sets the border radius of the Switch track.
2600
2608
  *
2601
- * @default "full"
2609
+ * @default undefined
2602
2610
  */
2603
2611
  set trackRounded(trackRounded) {
2604
- const newTrackRounded = trackRounded || DEFAULT_TRACK_ROUNDED;
2605
- this.handleTrackClasses(newTrackRounded);
2606
- this._trackRounded = newTrackRounded;
2612
+ this.handleTrackClasses(trackRounded);
2613
+ this._trackRounded = trackRounded;
2607
2614
  }
2608
2615
  get trackRounded() {
2609
2616
  return this._trackRounded;
@@ -2664,9 +2671,9 @@ class SwitchComponent {
2664
2671
  control;
2665
2672
  domSubscriptions = [];
2666
2673
  _checked = false;
2667
- _size = 'medium';
2668
- _trackRounded = 'full';
2669
- _thumbRounded = 'full';
2674
+ _size;
2675
+ _trackRounded;
2676
+ _thumbRounded;
2670
2677
  constructor(renderer, hostElement, localizationService, injector, changeDetector, ngZone) {
2671
2678
  this.renderer = renderer;
2672
2679
  this.hostElement = hostElement;
@@ -3070,7 +3077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3070
3077
  }] } });
3071
3078
 
3072
3079
  /**
3073
- * Represents the [Kendo UI TextBox directive]({% slug overview_textbox %}) for the Inputs components for Angular.
3080
+ * Represents the [Kendo UI TextBox directive](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox) for the Inputs components for Angular.
3074
3081
  * Use this directive to style the textbox of any `input` element.
3075
3082
  *
3076
3083
  * @example
@@ -3154,7 +3161,7 @@ class TextBoxDirective {
3154
3161
  this.listeners.forEach(listener => listener());
3155
3162
  }
3156
3163
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TextBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
3157
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextBoxDirective, isStandalone: true, selector: "input[kendoTextBox]", inputs: { value: "value" }, host: { properties: { "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-input-md": "this.hostClasses", "class.k-rounded-md": "this.hostClasses", "class.k-input-solid": "this.hostClasses" } }, providers: [{
3164
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextBoxDirective, isStandalone: true, selector: "input[kendoTextBox]", inputs: { value: "value" }, host: { properties: { "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses" } }, providers: [{
3158
3165
  provide: KendoInput,
3159
3166
  useExisting: forwardRef(() => TextBoxDirective)
3160
3167
  }], ngImport: i0 });
@@ -3175,15 +3182,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3175
3182
  }, {
3176
3183
  type: HostBinding,
3177
3184
  args: ['class.k-input']
3178
- }, {
3179
- type: HostBinding,
3180
- args: ['class.k-input-md']
3181
- }, {
3182
- type: HostBinding,
3183
- args: ['class.k-rounded-md']
3184
- }, {
3185
- type: HostBinding,
3186
- args: ['class.k-input-solid']
3187
3185
  }], value: [{
3188
3186
  type: Input
3189
3187
  }] } });
@@ -3211,7 +3209,7 @@ class TextAreaDirective {
3211
3209
  valueChange = new EventEmitter();
3212
3210
  /**
3213
3211
  * Sets whether the `textarea` element resizes its height automatically
3214
- * ([see example](slug:textarea_sizing#toc-auto-resizing)).
3212
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/sizing#auto-resizing)).
3215
3213
  *
3216
3214
  * @default false
3217
3215
  */
@@ -3408,7 +3406,7 @@ class TextAreaDirective {
3408
3406
  }
3409
3407
  }
3410
3408
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TextAreaDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3411
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextAreaDirective, isStandalone: true, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-input-md": "this.elementClasses", "class.k-rounded-md": "this.elementClasses", "class.k-input-solid": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
3409
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextAreaDirective, isStandalone: true, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
3412
3410
  provide: NG_VALUE_ACCESSOR,
3413
3411
  useExisting: forwardRef(() => TextAreaDirective),
3414
3412
  multi: true
@@ -3442,15 +3440,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3442
3440
  }, {
3443
3441
  type: HostBinding,
3444
3442
  args: ['class.k-input']
3445
- }, {
3446
- type: HostBinding,
3447
- args: ['class.k-input-md']
3448
- }, {
3449
- type: HostBinding,
3450
- args: ['class.k-rounded-md']
3451
- }, {
3452
- type: HostBinding,
3453
- args: ['class.k-input-solid']
3454
3443
  }], autofillClass: [{
3455
3444
  type: HostBinding,
3456
3445
  args: ['class.k-autofill']
@@ -3502,11 +3491,11 @@ const createMinValidator = (minValue) => {
3502
3491
  /**
3503
3492
  * @hidden
3504
3493
  */
3505
- const MIN_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent/#toc-min';
3494
+ const MIN_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent#min';
3506
3495
  /**
3507
3496
  * @hidden
3508
3497
  */
3509
- const MAX_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent/#toc-max';
3498
+ const MAX_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent#max';
3510
3499
  /**
3511
3500
  * @hidden
3512
3501
  */
@@ -3623,7 +3612,7 @@ var ArrowDirection;
3623
3612
  })(ArrowDirection || (ArrowDirection = {}));
3624
3613
 
3625
3614
  /**
3626
- * Represents a separator in the content of components like TextArea and TextBox. ([see examples]({% slug adornments_textbox %}#toc-separator)).
3615
+ * Represents a separator in the content of components like TextArea and TextBox. ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#separator)).
3627
3616
  *
3628
3617
  * @example
3629
3618
  * ```html
@@ -3637,7 +3626,7 @@ var ArrowDirection;
3637
3626
  */
3638
3627
  class InputSeparatorComponent {
3639
3628
  /**
3640
- * Sets the orientation of the separator. Use this for the adornments of the [`TextAreaComponent`](slug:api_inputs_textareacomponent).
3629
+ * Sets the orientation of the separator. Use this for the adornments of the [`TextAreaComponent`](https://www.telerik.com/kendo-angular-ui/components/inputs/api/textareacomponent).
3641
3630
  *
3642
3631
  * @default 'vertical'
3643
3632
  */
@@ -3724,6 +3713,19 @@ class SharedInputEventsDirective {
3724
3713
  }
3725
3714
  }
3726
3715
  }));
3716
+ this.subscriptions.add(this.renderer.listen(hostElement, 'click', (args) => {
3717
+ if (!this.isFocused) {
3718
+ return;
3719
+ }
3720
+ const element = args.target;
3721
+ const adornmentContainer = element.closest('.k-input-prefix') || element.closest('.k-input-suffix');
3722
+ if (adornmentContainer) {
3723
+ const isFocusable = hasFocusableParent(element, adornmentContainer);
3724
+ if (!isFocusable) {
3725
+ this.handleBlur.emit();
3726
+ }
3727
+ }
3728
+ }));
3727
3729
  this.subscriptions.add(this.renderer.listen(hostElement, 'mouseenter', () => {
3728
3730
  cursorInsideWrapper = true;
3729
3731
  }));
@@ -3833,11 +3835,8 @@ const PARSABLE_DEFAULTS = {
3833
3835
  step: 1
3834
3836
  };
3835
3837
  const FOCUSED$4 = 'k-focus';
3836
- const DEFAULT_SIZE$d = 'medium';
3837
- const DEFAULT_ROUNDED$8 = 'medium';
3838
- const DEFAULT_FILL_MODE$6 = 'solid';
3839
3838
  /**
3840
- * Represents the [Kendo UI NumericTextBox component for Angular]({% slug overview_numerictextbox %}).
3839
+ * Represents the [Kendo UI NumericTextBox component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox).
3841
3840
  *
3842
3841
  * Use this component to allow users to input numeric values.
3843
3842
  *
@@ -3863,7 +3862,7 @@ class NumericTextBoxComponent {
3863
3862
  focusableId = `k-${guid()}`;
3864
3863
  /**
3865
3864
  * When `true`, disables the `NumericTextBox`.
3866
- * To disable the component in reactive forms, see [Forms Support](slug:formssupport_numerictextbox#toc-managing-the-numerictextbox-disabled-state-in-reactive-forms).
3865
+ * To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/forms#managing-the-numerictextbox-disabled-state-in-reactive-forms).
3867
3866
  *
3868
3867
  * @default false
3869
3868
  */
@@ -3879,11 +3878,11 @@ class NumericTextBoxComponent {
3879
3878
  */
3880
3879
  title = '';
3881
3880
  /**
3882
- * When `true`, the value is automatically corrected based on the minimum and maximum values ([see example]({% slug precision_numerictextbox %})).
3881
+ * When `true`, the value is automatically corrected based on the minimum and maximum values ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision)).
3883
3882
  */
3884
3883
  autoCorrect = false;
3885
3884
  /**
3886
- * Specifies the number format used when the NumericTextBox is not focused ([see example]({% slug formats_numerictextbox %})).
3885
+ * Specifies the number format used when the NumericTextBox is not focused ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/formats)).
3887
3886
  * If `format` is `null` or `undefined`, the default format is used.
3888
3887
  */
3889
3888
  get format() {
@@ -3894,15 +3893,15 @@ class NumericTextBoxComponent {
3894
3893
  this._format = value;
3895
3894
  }
3896
3895
  /**
3897
- * Sets the maximum valid value ([see example]({% slug precision_numerictextbox %}#toc-value-ranges)).
3896
+ * Sets the maximum valid value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges)).
3898
3897
  */
3899
3898
  max;
3900
3899
  /**
3901
- * Sets the minimum valid value ([see example]({% slug precision_numerictextbox %}#toc-value-ranges)).
3900
+ * Sets the minimum valid value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges)).
3902
3901
  */
3903
3902
  min;
3904
3903
  /**
3905
- * Specifies the number of decimals the user can enter when the input is focused ([see example]({% slug precision_numerictextbox %})).
3904
+ * Specifies the number of decimals the user can enter when the input is focused ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision)).
3906
3905
  */
3907
3906
  decimals = null;
3908
3907
  /**
@@ -3910,13 +3909,13 @@ class NumericTextBoxComponent {
3910
3909
  */
3911
3910
  placeholder;
3912
3911
  /**
3913
- * Specifies the value used to increment or decrement the component value ([see example]({% slug predefinedsteps_numerictextbox %})).
3912
+ * Specifies the value used to increment or decrement the component value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/predefined-step)).
3914
3913
  *
3915
3914
  * @default 1
3916
3915
  */
3917
3916
  step = 1;
3918
3917
  /**
3919
- * When `true`, renders the **Up** and **Down** spin buttons ([see example]({% slug spinbuttons_numerictextbox %})).
3918
+ * When `true`, renders the **Up** and **Down** spin buttons ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/spin-buttons)).
3920
3919
  *
3921
3920
  * @default true
3922
3921
  */
@@ -3953,7 +3952,7 @@ class NumericTextBoxComponent {
3953
3952
  */
3954
3953
  selectOnFocus = true;
3955
3954
  /**
3956
- * Sets the value of the NumericTextBox ([see example]({% slug formats_numerictextbox %})).
3955
+ * Sets the value of the NumericTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/formats)).
3957
3956
  */
3958
3957
  value = null;
3959
3958
  /**
@@ -3963,40 +3962,37 @@ class NumericTextBoxComponent {
3963
3962
  */
3964
3963
  maxlength;
3965
3964
  /**
3966
- * Sets the padding of the internal input element ([see example]({% slug appearance_numerictextbox %}#toc-size)).
3965
+ * Sets the padding of the internal input element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/appearance#size)).
3967
3966
  *
3968
3967
  * @default 'medium'
3969
3968
  */
3970
3969
  set size(size) {
3971
- const newSize = size || DEFAULT_SIZE$d;
3972
- this.handleClasses(newSize, 'size');
3973
- this._size = newSize;
3970
+ this.handleClasses(size, 'size');
3971
+ this._size = size;
3974
3972
  }
3975
3973
  get size() {
3976
3974
  return this._size;
3977
3975
  }
3978
3976
  /**
3979
- * Sets the border radius of the NumericTextBox ([see example](slug:appearance_numerictextbox#toc-roundness)).
3977
+ * Sets the border radius of the NumericTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/appearance#roundness)).
3980
3978
  *
3981
3979
  * @default 'medium'
3982
3980
  */
3983
3981
  set rounded(rounded) {
3984
- const newRounded = rounded || DEFAULT_ROUNDED$8;
3985
- this.handleClasses(newRounded, 'rounded');
3986
- this._rounded = newRounded;
3982
+ this.handleClasses(rounded, 'rounded');
3983
+ this._rounded = rounded;
3987
3984
  }
3988
3985
  get rounded() {
3989
3986
  return this._rounded;
3990
3987
  }
3991
3988
  /**
3992
- * Sets the background and border styles of the NumericTextBox ([see example](slug:appearance_numerictextbox#toc-fill-mode)).
3989
+ * Sets the background and border styles of the NumericTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/appearance#fill-mode)).
3993
3990
  *
3994
3991
  * @default 'solid'
3995
3992
  */
3996
3993
  set fillMode(fillMode) {
3997
- const newFillMode = fillMode || DEFAULT_FILL_MODE$6;
3998
- this.handleClasses(newFillMode, 'fillMode');
3999
- this._fillMode = newFillMode;
3994
+ this.handleClasses(fillMode, 'fillMode');
3995
+ this._fillMode = fillMode;
4000
3996
  }
4001
3997
  get fillMode() {
4002
3998
  return this._fillMode;
@@ -4019,15 +4015,15 @@ class NumericTextBoxComponent {
4019
4015
  return this._inputAttributes;
4020
4016
  }
4021
4017
  /**
4022
- * Fires when the user selects a new value ([see example](slug:events_numerictextbox)).
4018
+ * Fires when the user selects a new value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/events)).
4023
4019
  */
4024
4020
  valueChange = new EventEmitter();
4025
4021
  /**
4026
- * Fires when the NumericTextBox element is focused ([see example](slug:events_numerictextbox)).
4022
+ * Fires when the NumericTextBox element is focused ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/events)).
4027
4023
  */
4028
4024
  onFocus = new EventEmitter();
4029
4025
  /**
4030
- * Fires when the `NumericTextBox` component gets blurred ([see example](slug:events_numerictextbox)).
4026
+ * Fires when the `NumericTextBox` component gets blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/events)).
4031
4027
  */
4032
4028
  onBlur = new EventEmitter();
4033
4029
  /**
@@ -4084,9 +4080,9 @@ class NumericTextBoxComponent {
4084
4080
  control;
4085
4081
  isPasted = false;
4086
4082
  mouseDown = false;
4087
- _size = 'medium';
4088
- _rounded = 'medium';
4089
- _fillMode = 'solid';
4083
+ _size = undefined;
4084
+ _rounded = undefined;
4085
+ _fillMode = undefined;
4090
4086
  ngChange = noop$1;
4091
4087
  ngTouched = noop$1;
4092
4088
  ngValidatorChange = noop$1;
@@ -4291,6 +4287,11 @@ class NumericTextBoxComponent {
4291
4287
  this.setSelection(selectionStart - 1, selectionEnd - 1);
4292
4288
  return;
4293
4289
  }
4290
+ if (this.hasTrailingZeros(inputValue) && !this.isPasted) {
4291
+ input.value = this.inputValue;
4292
+ this.setSelection(selectionStart - 1, selectionEnd - 1);
4293
+ return;
4294
+ }
4294
4295
  const parsedValue = this.intl.parseNumber(inputValue);
4295
4296
  let value = this.restrictDecimals(parsedValue);
4296
4297
  if (this.autoCorrect) {
@@ -4667,7 +4668,7 @@ class NumericTextBoxComponent {
4667
4668
  }
4668
4669
  restrictDecimals(value, round) {
4669
4670
  let result = value;
4670
- if (value && this.hasDecimals) {
4671
+ if (this.hasDecimals && isPresent(value)) {
4671
4672
  const decimals = this.decimals;
4672
4673
  const stringValue = String(value);
4673
4674
  if (round || EXPONENT_REGEX.test(stringValue)) {
@@ -4876,7 +4877,7 @@ class NumericTextBoxComponent {
4876
4877
  [attr.aria-hidden]="true"
4877
4878
  [attr.aria-label]="incrementTitle"
4878
4879
  [title]="incrementTitle"
4879
- class="k-spinner-increase k-button k-button-md k-icon-button k-button-solid k-button-solid-base"
4880
+ class="k-spinner-increase k-button k-icon-button"
4880
4881
  [class.k-active]="arrowDirection === ArrowDirection.Up"
4881
4882
  tabindex="-1"
4882
4883
  >
@@ -4894,7 +4895,7 @@ class NumericTextBoxComponent {
4894
4895
  [attr.aria-label]="decrementTitle"
4895
4896
  [title]="decrementTitle"
4896
4897
  [class.k-active]="arrowDirection === ArrowDirection.Down"
4897
- class="k-spinner-decrease k-button k-button-md k-icon-button k-button-solid k-button-solid-base"
4898
+ class="k-spinner-decrease k-button k-icon-button"
4898
4899
  tabindex="-1"
4899
4900
  >
4900
4901
  <kendo-icon-wrapper
@@ -4991,7 +4992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
4991
4992
  [attr.aria-hidden]="true"
4992
4993
  [attr.aria-label]="incrementTitle"
4993
4994
  [title]="incrementTitle"
4994
- class="k-spinner-increase k-button k-button-md k-icon-button k-button-solid k-button-solid-base"
4995
+ class="k-spinner-increase k-button k-icon-button"
4995
4996
  [class.k-active]="arrowDirection === ArrowDirection.Up"
4996
4997
  tabindex="-1"
4997
4998
  >
@@ -5009,7 +5010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
5009
5010
  [attr.aria-label]="decrementTitle"
5010
5011
  [title]="decrementTitle"
5011
5012
  [class.k-active]="arrowDirection === ArrowDirection.Down"
5012
- class="k-spinner-decrease k-button k-button-md k-icon-button k-button-solid k-button-solid-base"
5013
+ class="k-spinner-decrease k-button k-icon-button"
5013
5014
  tabindex="-1"
5014
5015
  >
5015
5016
  <kendo-icon-wrapper
@@ -5588,11 +5589,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
5588
5589
 
5589
5590
  const resolvedPromise = Promise.resolve(null);
5590
5591
  const FOCUSED$3 = 'k-focus';
5591
- const DEFAULT_SIZE$c = 'medium';
5592
- const DEFAULT_ROUNDED$7 = 'medium';
5593
- const DEFAULT_FILL_MODE$5 = 'solid';
5594
5592
  /**
5595
- * Represents the [Kendo UI MaskedTextBox component for Angular]({% slug overview_maskedtextbox %}).
5593
+ * Represents the [Kendo UI MaskedTextBox component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox).
5596
5594
  *
5597
5595
  * @example
5598
5596
  * ```typescript
@@ -5625,13 +5623,13 @@ class MaskedTextBoxComponent {
5625
5623
  */
5626
5624
  focusableId = `k-${guid()}`;
5627
5625
  /**
5628
- * Disables the MaskedTextBox when you set it to `true` ([see example]({% slug disabled_maskedtextbox %})).
5629
- * To disable the component in reactive forms, see [Forms Support](slug:formssupport_maskedtextbox#toc-managing-the-maskedtextbox-disabled-state-in-reactive-forms).
5626
+ * Disables the MaskedTextBox when you set it to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/disabled-state)).
5627
+ * To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/forms#managing-the-maskedtextbox-disabled-state-in-reactive-forms).
5630
5628
  * @default false
5631
5629
  */
5632
5630
  disabled = false;
5633
5631
  /**
5634
- * When `true`, sets the MaskedTextBox to read-only mode ([see example]({% slug readonly_maskedtextbox %})).
5632
+ * When `true`, sets the MaskedTextBox to read-only mode ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/readonly-state)).
5635
5633
  * @default false
5636
5634
  */
5637
5635
  readonly = false;
@@ -5640,46 +5638,43 @@ class MaskedTextBoxComponent {
5640
5638
  */
5641
5639
  title;
5642
5640
  /**
5643
- * Sets the padding size of the MaskedTextBox input element ([see example]({% slug appearance_maskedtextbox %}#toc-size)).
5641
+ * Sets the padding size of the MaskedTextBox input element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/appearance#size)).
5644
5642
  * @default 'medium'
5645
5643
  */
5646
5644
  set size(size) {
5647
- const newSize = size || DEFAULT_SIZE$c;
5648
- this.handleClasses(newSize, 'size');
5649
- this._size = newSize;
5645
+ this.handleClasses(size, 'size');
5646
+ this._size = size;
5650
5647
  }
5651
5648
  get size() {
5652
5649
  return this._size;
5653
5650
  }
5654
5651
  /**
5655
- * Sets the border radius of the MaskedTextBox ([see example](slug:appearance_maskedtextbox#toc-roundness)).
5652
+ * Sets the border radius of the MaskedTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/appearance#roundness)).
5656
5653
  * @default 'medium'
5657
5654
  */
5658
5655
  set rounded(rounded) {
5659
- const newRounded = rounded || DEFAULT_ROUNDED$7;
5660
- this.handleClasses(newRounded, 'rounded');
5661
- this._rounded = newRounded;
5656
+ this.handleClasses(rounded, 'rounded');
5657
+ this._rounded = rounded;
5662
5658
  }
5663
5659
  get rounded() {
5664
5660
  return this._rounded;
5665
5661
  }
5666
5662
  /**
5667
- * Sets the background and border style of the MaskedTextBox ([see example]({% slug appearance_maskedtextbox %}#toc-fill-mode)).
5663
+ * Sets the background and border style of the MaskedTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/appearance#fill-mode)).
5668
5664
  * @default 'solid'
5669
5665
  */
5670
5666
  set fillMode(fillMode) {
5671
- const newFillMode = fillMode || DEFAULT_FILL_MODE$5;
5672
- this.handleClasses(newFillMode, 'fillMode');
5673
- this._fillMode = newFillMode;
5667
+ this.handleClasses(fillMode, 'fillMode');
5668
+ this._fillMode = fillMode;
5674
5669
  }
5675
5670
  get fillMode() {
5676
5671
  return this._fillMode;
5677
5672
  }
5678
5673
  /**
5679
- * Sets the mask pattern for the MaskedTextBox ([see example]({% slug value_maskedtextbox %})).
5674
+ * Sets the mask pattern for the MaskedTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/value)).
5680
5675
  * If you do not set a mask, the component acts as a standard `type="text"` input.
5681
5676
  *
5682
- * If the mask allows spaces, set the [`promptPlaceholder`]({% slug api_inputs_maskedtextboxcomponent %}#toc-promptplaceholder)
5677
+ * If the mask allows spaces, set the [`promptPlaceholder`](https://www.telerik.com/kendo-angular-ui/components/inputs/api/maskedtextboxcomponent#promptplaceholder)
5683
5678
  * to a character that the mask does not accept.
5684
5679
  */
5685
5680
  mask;
@@ -5688,7 +5683,7 @@ class MaskedTextBoxComponent {
5688
5683
  */
5689
5684
  value;
5690
5685
  /**
5691
- * Sets the RegExp-based mask validation rules ([see example]({% slug masks_maskedtextbox %})).
5686
+ * Sets the RegExp-based mask validation rules ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/masks)).
5692
5687
  */
5693
5688
  set rules(value) {
5694
5689
  this._rules = { ...this.defaultRules, ...value };
@@ -5707,7 +5702,7 @@ class MaskedTextBoxComponent {
5707
5702
  */
5708
5703
  promptPlaceholder = ' ';
5709
5704
  /**
5710
- * When `true` includes literals in the raw value ([see example]({% slug value_maskedtextbox %})).
5705
+ * When `true` includes literals in the raw value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/value)).
5711
5706
  * @default false
5712
5707
  */
5713
5708
  includeLiterals = false;
@@ -5716,7 +5711,7 @@ class MaskedTextBoxComponent {
5716
5711
  */
5717
5712
  maskOnFocus = false;
5718
5713
  /**
5719
- * Enables the built-in mask validator when you set it to `true` ([see example]({% slug validation_maskedtextbox %})).
5714
+ * Enables the built-in mask validator when you set it to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/validation)).
5720
5715
  * @default true
5721
5716
  */
5722
5717
  maskValidation = true;
@@ -5831,9 +5826,9 @@ class MaskedTextBoxComponent {
5831
5826
  isPasted = false;
5832
5827
  selection = [0, 0];
5833
5828
  control;
5834
- _size = 'medium';
5835
- _rounded = 'medium';
5836
- _fillMode = 'solid';
5829
+ _size = undefined;
5830
+ _rounded = undefined;
5831
+ _fillMode = undefined;
5837
5832
  _inputAttributes;
5838
5833
  parsedAttributes = {};
5839
5834
  constructor(service, renderer, hostElement, ngZone, injector, changeDetector, rtl) {
@@ -6446,7 +6441,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
6446
6441
  }] } });
6447
6442
 
6448
6443
  const FOCUSED$2 = 'k-focus';
6449
- const DEFAULT_SIZE$b = 'medium';
6450
6444
  /**
6451
6445
  * @hidden
6452
6446
  */
@@ -6501,9 +6495,8 @@ class RadioCheckBoxBase {
6501
6495
  *
6502
6496
  */
6503
6497
  set size(size) {
6504
- const newSize = size ? size : DEFAULT_SIZE$b;
6505
- this.handleClasses(newSize, 'size');
6506
- this._size = newSize;
6498
+ this.handleClasses(size, 'size');
6499
+ this._size = size;
6507
6500
  }
6508
6501
  get size() {
6509
6502
  return this._size;
@@ -6663,7 +6656,7 @@ class RadioCheckBoxBase {
6663
6656
  ngChange = (_) => { };
6664
6657
  ngTouched = () => { };
6665
6658
  _isFocused = false;
6666
- _size = DEFAULT_SIZE$b;
6659
+ _size = undefined;
6667
6660
  constructor(componentType, hostElement, renderer, cdr, ngZone, injector) {
6668
6661
  this.componentType = componentType;
6669
6662
  this.hostElement = hostElement;
@@ -6732,7 +6725,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
6732
6725
  args: ['input', { static: true }]
6733
6726
  }] } });
6734
6727
 
6735
- const DEFAULT_ROUNDED$6 = 'medium';
6736
6728
  /**
6737
6729
  * Represents the Kendo UI CheckBox component for Angular.
6738
6730
  * Use this component to create a styled checkbox with support for indeterminate state.
@@ -6768,14 +6760,13 @@ class CheckBoxComponent extends RadioCheckBoxBase {
6768
6760
  }
6769
6761
  /**
6770
6762
  * Sets the `rounded` property to specify the border radius of the CheckBox
6771
- * ([see example](slug:appearance_checkboxdirective#toc-roundness)).
6763
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox/appearance#roundness)).
6772
6764
  *
6773
6765
  * @default 'medium'
6774
6766
  */
6775
6767
  set rounded(rounded) {
6776
- const newRounded = rounded || DEFAULT_ROUNDED$6;
6777
- this.handleClasses(newRounded, 'rounded');
6778
- this._rounded = newRounded;
6768
+ this.handleClasses(rounded, 'rounded');
6769
+ this._rounded = rounded;
6779
6770
  }
6780
6771
  get rounded() {
6781
6772
  return this._rounded;
@@ -6811,7 +6802,7 @@ class CheckBoxComponent extends RadioCheckBoxBase {
6811
6802
  'aria-invalid': this.isControlInvalid
6812
6803
  };
6813
6804
  }
6814
- _rounded = DEFAULT_ROUNDED$6;
6805
+ _rounded = undefined;
6815
6806
  _checkedState = false;
6816
6807
  constructor(renderer, hostElement, cdr, ngZone, injector) {
6817
6808
  super('checkbox', hostElement, renderer, cdr, ngZone, injector);
@@ -6947,10 +6938,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
6947
6938
  type: Output
6948
6939
  }] } });
6949
6940
 
6950
- const DEFAULT_SIZE$a = 'medium';
6951
- const DEFAULT_ROUNDED$5 = 'medium';
6952
6941
  /**
6953
- * Renders the [Kendo UI CheckBox]({% slug overview_checkbox %}) input component.
6942
+ * Renders the [Kendo UI CheckBox](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox) input component.
6954
6943
  * Apply this directive to `input type="checkbox"` HTML elements.
6955
6944
  *
6956
6945
  * @example
@@ -6967,35 +6956,33 @@ class CheckBoxDirective {
6967
6956
  }
6968
6957
  /**
6969
6958
  * Sets the `size` property to specify the width and height of the CheckBox
6970
- * ([see example]({% slug appearance_checkboxdirective %}#toc-size)).
6959
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox/appearance#size)).
6971
6960
  *
6972
6961
  * @default 'medium'
6973
6962
  */
6974
6963
  set size(size) {
6975
- const newSize = size ? size : DEFAULT_SIZE$a;
6976
- this.handleClasses(newSize, 'size');
6977
- this._size = newSize;
6964
+ this.handleClasses(size, 'size');
6965
+ this._size = size;
6978
6966
  }
6979
6967
  get size() {
6980
6968
  return this._size;
6981
6969
  }
6982
6970
  /**
6983
6971
  * Sets the `rounded` property to specify the border radius of the CheckBox
6984
- * ([see example](slug:appearance_checkboxdirective#toc-roundness)).
6972
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox/appearance#roundness)).
6985
6973
  *
6986
6974
  * @default 'medium'
6987
6975
  *
6988
6976
  */
6989
6977
  set rounded(rounded) {
6990
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED$5;
6991
- this.handleClasses(newRounded, 'rounded');
6992
- this._rounded = newRounded;
6978
+ this.handleClasses(rounded, 'rounded');
6979
+ this._rounded = rounded;
6993
6980
  }
6994
6981
  get rounded() {
6995
6982
  return this._rounded;
6996
6983
  }
6997
- _size = 'medium';
6998
- _rounded = 'medium';
6984
+ _size = undefined;
6985
+ _rounded = undefined;
6999
6986
  constructor(renderer, hostElement) {
7000
6987
  this.renderer = renderer;
7001
6988
  this.hostElement = hostElement;
@@ -7416,7 +7403,7 @@ const isJapanese = (input) => {
7416
7403
  };
7417
7404
 
7418
7405
  /**
7419
- * Represents a template for suffix adornments in the TextBox component ([see examples](slug:adornments_textbox#toc-suffix-adornments)).
7406
+ * Represents a template for suffix adornments in the TextBox component ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#suffix-adornments)).
7420
7407
  *
7421
7408
  * @example
7422
7409
  * ```html
@@ -7460,7 +7447,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
7460
7447
  }] } });
7461
7448
 
7462
7449
  /**
7463
- * Represents a template for prefix adornments in the TextBox component ([see examples](slug:adornments_textbox#toc-prefix-adornments)).
7450
+ * Represents a template for prefix adornments in the TextBox component ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#prefix-adornments)).
7464
7451
  *
7465
7452
  * @example
7466
7453
  * ```html
@@ -7558,9 +7545,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
7558
7545
 
7559
7546
  /* eslint-disable @typescript-eslint/no-explicit-any */
7560
7547
  const FOCUSED$1 = 'k-focus';
7561
- const DEFAULT_SIZE$9 = 'medium';
7562
- const DEFAULT_ROUNDED$4 = 'medium';
7563
- const DEFAULT_FILL_MODE$4 = 'solid';
7564
7548
  const iconsMap$1 = { checkIcon, exclamationCircleIcon, xIcon };
7565
7549
  /**
7566
7550
  * Represents the Kendo UI TextBox component for Angular.
@@ -7595,7 +7579,7 @@ class TextBoxComponent {
7595
7579
  */
7596
7580
  type = 'text';
7597
7581
  /**
7598
- * Sets the disabled state of the TextBox. To disable the component in reactive forms, see [Forms Support](slug:formssupport_textbox#toc-managing-the-textbox-disabled-state-in-reactive-forms).
7582
+ * Sets the disabled state of the TextBox. To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/forms#managing-the-textbox-disabled-state-in-reactive-forms).
7599
7583
  * @default false
7600
7584
  */
7601
7585
  disabled = false;
@@ -7619,13 +7603,13 @@ class TextBoxComponent {
7619
7603
  */
7620
7604
  selectOnFocus = false;
7621
7605
  /**
7622
- * Specifies when to show the Success icon ([see example]({% slug validation_textbox %})).
7606
+ * Specifies when to show the Success icon ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/validation-icons)).
7623
7607
  *
7624
7608
  * @default false
7625
7609
  */
7626
7610
  showSuccessIcon = false;
7627
7611
  /**
7628
- * Specifies when to show the Error icon ([see example]({% slug validation_textbox %})).
7612
+ * Specifies when to show the Error icon ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/validation-icons)).
7629
7613
  *
7630
7614
  * @default false
7631
7615
  */
@@ -7660,37 +7644,34 @@ class TextBoxComponent {
7660
7644
  */
7661
7645
  clearButtonSvgIcon;
7662
7646
  /**
7663
- * Sets the padding of the TextBox internal input element ([see example]({% slug appearance_textbox %}#toc-size)).
7647
+ * Sets the padding of the TextBox internal input element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/appearance#size)).
7664
7648
  * @default 'medium'
7665
7649
  */
7666
7650
  set size(size) {
7667
- const newSize = size ? size : DEFAULT_SIZE$9;
7668
- this.handleClasses(newSize, 'size');
7669
- this._size = newSize;
7651
+ this.handleClasses(size, 'size');
7652
+ this._size = size;
7670
7653
  }
7671
7654
  get size() {
7672
7655
  return this._size;
7673
7656
  }
7674
7657
  /**
7675
- * Sets the border radius of the TextBox ([see example](slug:appearance_textbox#toc-roundness)).
7658
+ * Sets the border radius of the TextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/appearance#roundness)).
7676
7659
  * @default 'medium'
7677
7660
  */
7678
7661
  set rounded(rounded) {
7679
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED$4;
7680
- this.handleClasses(newRounded, 'rounded');
7681
- this._rounded = newRounded;
7662
+ this.handleClasses(rounded, 'rounded');
7663
+ this._rounded = rounded;
7682
7664
  }
7683
7665
  get rounded() {
7684
7666
  return this._rounded;
7685
7667
  }
7686
7668
  /**
7687
- * Sets the background and border styles of the TextBox ([see example]({% slug appearance_textbox %}#toc-fill-mode)).
7669
+ * Sets the background and border styles of the TextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/appearance#fill-mode)).
7688
7670
  * @default 'solid'
7689
7671
  */
7690
7672
  set fillMode(fillMode) {
7691
- const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE$4;
7692
- this.handleClasses(newFillMode, 'fillMode');
7693
- this._fillMode = newFillMode;
7673
+ this.handleClasses(fillMode, 'fillMode');
7674
+ this._fillMode = fillMode;
7694
7675
  }
7695
7676
  get fillMode() {
7696
7677
  return this._fillMode;
@@ -7729,7 +7710,7 @@ class TextBoxComponent {
7729
7710
  return this._inputAttributes;
7730
7711
  }
7731
7712
  /**
7732
- * Fires when the value changes—when the component is blurred or the value is cleared through the **Clear** button ([see example](slug:events_textbox)).
7713
+ * Fires when the value changes—when the component is blurred or the value is cleared through the **Clear** button ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/events)).
7733
7714
  * Does not fire when you change the value programmatically through `ngModel` or `formControl`.
7734
7715
  */
7735
7716
  valueChange = new EventEmitter();
@@ -7797,9 +7778,9 @@ class TextBoxComponent {
7797
7778
  _isFocused = false;
7798
7779
  focusChangedProgrammatically = false;
7799
7780
  _inputAttributes;
7800
- _size = 'medium';
7801
- _rounded = 'medium';
7802
- _fillMode = 'solid';
7781
+ _size = undefined;
7782
+ _rounded = undefined;
7783
+ _fillMode = undefined;
7803
7784
  parsedAttributes = {};
7804
7785
  get defaultAttributes() {
7805
7786
  return {
@@ -8495,7 +8476,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
8495
8476
  }] } });
8496
8477
 
8497
8478
  /* eslint-disable @typescript-eslint/no-explicit-any */
8498
- const DEFAULT_SIZE$8 = 'medium';
8499
8479
  /**
8500
8480
  * @hidden
8501
8481
  */
@@ -8517,7 +8497,7 @@ class ColorInputComponent {
8517
8497
  *
8518
8498
  * @default 'medium'
8519
8499
  */
8520
- size = DEFAULT_SIZE$8;
8500
+ size = undefined;
8521
8501
  /**
8522
8502
  * Sets the `tabindex` of the inputs.
8523
8503
  * @default -1
@@ -9513,7 +9493,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
9513
9493
 
9514
9494
  /* eslint-disable @typescript-eslint/no-explicit-any */
9515
9495
  let serial$3 = 0;
9516
- const DEFAULT_SIZE$7 = 'medium';
9517
9496
  /**
9518
9497
  * Represents the Kendo UI ColorGradient component.
9519
9498
  *
@@ -9603,15 +9582,14 @@ class ColorGradientComponent {
9603
9582
  * @default 'medium'
9604
9583
  */
9605
9584
  set size(size) {
9606
- const newSize = size || DEFAULT_SIZE$7;
9607
- this.handleClasses(newSize, 'size');
9608
- this._size = newSize;
9585
+ this.handleClasses(size, 'size');
9586
+ this._size = size;
9609
9587
  }
9610
9588
  get size() {
9611
9589
  return this._size;
9612
9590
  }
9613
9591
  /**
9614
- * Disables the ColorGradient. To disable it in reactive forms, see [Forms Support](slug:formssupport_colorgradient#toc-managing-the-colorgradient-disabled-state-in-reactive-forms).
9592
+ * Disables the ColorGradient. To disable it in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/forms#managing-the-colorgradient-disabled-state-in-reactive-forms).
9615
9593
  *
9616
9594
  * @default false
9617
9595
  */
@@ -9644,7 +9622,7 @@ class ColorGradientComponent {
9644
9622
  return this._value;
9645
9623
  }
9646
9624
  /**
9647
- * Enables the color contrast tool that checks the contrast ratio of the selected color against a predefined background color. [See example](slug:contrasttool_colorgradient).
9625
+ * Enables the color contrast tool that checks the contrast ratio of the selected color against a predefined background color. [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/contrast-tool).
9648
9626
  */
9649
9627
  set contrastTool(value) {
9650
9628
  this._contrastTool = parseColor(value, this.format, this.opacity);
@@ -9750,7 +9728,7 @@ class ColorGradientComponent {
9750
9728
  listeners = [];
9751
9729
  hueSliderTouched = false;
9752
9730
  alphaSliderTouched = false;
9753
- _size = 'medium';
9731
+ _size = undefined;
9754
9732
  updateValues = new Subject();
9755
9733
  changeRequestsSubscription;
9756
9734
  dynamicRTLSubscription;
@@ -10754,7 +10732,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
10754
10732
  const DEFAULT_COLUMNS_COUNT = 10;
10755
10733
  const DEFAULT_PRESET = 'office';
10756
10734
  const DEFAULT_ACCESSIBLE_PRESET = 'accessible';
10757
- const DEFAULT_SIZE$6 = 'medium';
10758
10735
  let serial$2 = 0;
10759
10736
  /**
10760
10737
  * Represents the Kendo UI ColorPalette component.
@@ -10851,9 +10828,8 @@ class ColorPaletteComponent {
10851
10828
  * @default 'medium'
10852
10829
  */
10853
10830
  set size(size) {
10854
- const newSize = size || DEFAULT_SIZE$6;
10855
- this.handleClasses(newSize, 'size');
10856
- this._size = newSize;
10831
+ this.handleClasses(size, 'size');
10832
+ this._size = size;
10857
10833
  }
10858
10834
  get size() {
10859
10835
  return this._size;
@@ -10872,7 +10848,7 @@ class ColorPaletteComponent {
10872
10848
  return !this.disabled ? this._tabindex : undefined;
10873
10849
  }
10874
10850
  /**
10875
- * Disables the ColorPalette. To disable it in reactive forms, see [Forms Support](slug:formssupport_colorpalette#toc-managing-the-colorpalette-disabled-state-in-reactive-forms).
10851
+ * Disables the ColorPalette. To disable it in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpalette/forms#managing-the-colorpalette-disabled-state-in-reactive-forms).
10876
10852
  */
10877
10853
  disabled = false;
10878
10854
  /**
@@ -10951,7 +10927,7 @@ class ColorPaletteComponent {
10951
10927
  */
10952
10928
  uniqueId = guid();
10953
10929
  selection;
10954
- _size = 'medium';
10930
+ _size = undefined;
10955
10931
  _value;
10956
10932
  _columns;
10957
10933
  _palette;
@@ -11808,7 +11784,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
11808
11784
 
11809
11785
  /* eslint-disable @typescript-eslint/no-explicit-any */
11810
11786
  /* eslint-disable no-unused-expressions */
11811
- const DEFAULT_SIZE$5 = 'medium';
11812
11787
  /**
11813
11788
  * Represents the Kendo UI FlatColorPicker component for Angular.
11814
11789
  *
@@ -11879,7 +11854,7 @@ class FlatColorPickerComponent {
11879
11854
  */
11880
11855
  readonly = false;
11881
11856
  /**
11882
- * Sets the disabled state of the FlatColorPicker. To disable it in reactive forms, see [Forms Support](slug:formssupport_flatcolorpicker#toc-managing-the-flatcolorpicker-disabled-state-in-reactive-forms).
11857
+ * Sets the disabled state of the FlatColorPicker. To disable it in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/flatcolorpicker/forms#managing-the-flatcolorpicker-disabled-state-in-reactive-forms).
11883
11858
  *
11884
11859
  * @default false
11885
11860
  */
@@ -11979,9 +11954,8 @@ class FlatColorPickerComponent {
11979
11954
  * @default 'medium'
11980
11955
  */
11981
11956
  set size(size) {
11982
- const newSize = size || DEFAULT_SIZE$5;
11983
- this.handleClasses(newSize, 'size');
11984
- this._size = newSize;
11957
+ this.handleClasses(size, 'size');
11958
+ this._size = size;
11985
11959
  }
11986
11960
  get size() {
11987
11961
  return this._size;
@@ -12033,7 +12007,7 @@ class FlatColorPickerComponent {
12033
12007
  dynamicRTLSubscription;
12034
12008
  subscriptions = new Subscription();
12035
12009
  internalNavigation = false;
12036
- _size = 'medium';
12010
+ _size = undefined;
12037
12011
  control;
12038
12012
  /**
12039
12013
  * @hidden
@@ -12988,9 +12962,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
12988
12962
 
12989
12963
  /* eslint-disable @typescript-eslint/no-explicit-any */
12990
12964
  const DOM_FOCUS_EVENTS = ['focus', 'blur'];
12991
- const DEFAULT_SIZE$4 = 'medium';
12992
- const DEFAULT_ROUNDED$3 = 'medium';
12993
- const DEFAULT_FILL_MODE$3 = 'solid';
12994
12965
  /**
12995
12966
  * @hidden
12996
12967
  */
@@ -13074,7 +13045,7 @@ class ColorPickerComponent {
13074
13045
  */
13075
13046
  readonly = false;
13076
13047
  /**
13077
- * Sets the disabled state of the ColorPicker. To disable it in reactive forms, see [Forms Support](slug:formssupport_colorpicker#toc-managing-the-colorpicker-disabled-state-in-reactive-forms).
13048
+ * Sets the disabled state of the ColorPicker. To disable it in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/forms#managing-the-colorpicker-disabled-state-in-reactive-forms).
13078
13049
  *
13079
13050
  * @default false
13080
13051
  */
@@ -13196,42 +13167,39 @@ class ColorPickerComponent {
13196
13167
  actionsLayout = 'end';
13197
13168
  /**
13198
13169
  * The size property specifies the padding of the ColorPicker internal elements
13199
- * ([see example]({% slug appearance_colorpicker %}#toc-size)).
13170
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/appearance#size)).
13200
13171
  *
13201
13172
  * @default 'medium'
13202
13173
  */
13203
13174
  set size(size) {
13204
- const newSize = size || DEFAULT_SIZE$4;
13205
- this.handleClasses(newSize, 'size');
13206
- this._size = newSize;
13175
+ this.handleClasses(size, 'size');
13176
+ this._size = size;
13207
13177
  }
13208
13178
  get size() {
13209
13179
  return this._size;
13210
13180
  }
13211
13181
  /**
13212
13182
  * The rounded property specifies the border radius of the ColorPicker
13213
- * ([see example](slug:appearance_colorpicker#toc-roundness)).
13183
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/appearance#roundness)).
13214
13184
  *
13215
13185
  * @default 'medium'
13216
13186
  */
13217
13187
  set rounded(rounded) {
13218
- const newRounded = rounded || DEFAULT_ROUNDED$3;
13219
- this.handleClasses(newRounded, 'rounded');
13220
- this._rounded = newRounded;
13188
+ this.handleClasses(rounded, 'rounded');
13189
+ this._rounded = rounded;
13221
13190
  }
13222
13191
  get rounded() {
13223
13192
  return this._rounded;
13224
13193
  }
13225
13194
  /**
13226
13195
  * The fillMode property specifies the background and border styles of the ColorPicker
13227
- * ([see example]({% slug appearance_colorpicker %}#toc-fill-mode)).
13196
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/appearance#fill-mode)).
13228
13197
  *
13229
13198
  * @default 'solid'
13230
13199
  */
13231
13200
  set fillMode(fillMode) {
13232
- const newFillMode = fillMode || DEFAULT_FILL_MODE$3;
13233
- this.handleClasses(newFillMode, 'fillMode');
13234
- this._fillMode = newFillMode;
13201
+ this.handleClasses(fillMode, 'fillMode');
13202
+ this._fillMode = fillMode;
13235
13203
  }
13236
13204
  get fillMode() {
13237
13205
  return this._fillMode;
@@ -13268,7 +13236,7 @@ class ColorPickerComponent {
13268
13236
  * Fires when the left side of the ColorPicker wrapper is clicked.
13269
13237
  * The event is triggered regardless of whether a ColorPicker icon is set or not.
13270
13238
  *
13271
- * The [`ActiveColorClickEvent`]({% slug api_inputs_activecolorclickevent %}) event provides the option to prevent the popup opening.
13239
+ * The [`ActiveColorClickEvent`](https://www.telerik.com/kendo-angular-ui/components/inputs/api/activecolorclickevent) event provides the option to prevent the popup opening.
13272
13240
  */
13273
13241
  activeColorClick = new EventEmitter();
13274
13242
  /**
@@ -13365,9 +13333,9 @@ class ColorPickerComponent {
13365
13333
  _popupSettings = { animate: true };
13366
13334
  _paletteSettings = {};
13367
13335
  _gradientSettings = { opacity: true, delay: 0 };
13368
- _size = 'medium';
13369
- _rounded = 'medium';
13370
- _fillMode = 'solid';
13336
+ _size = undefined;
13337
+ _rounded = undefined;
13338
+ _fillMode = undefined;
13371
13339
  dynamicRTLSubscription;
13372
13340
  subscriptions = new Subscription();
13373
13341
  popupSubs = new Subscription();
@@ -13948,7 +13916,6 @@ class ColorPickerComponent {
13948
13916
  [svgIcon]="arrowDownIcon"
13949
13917
  [fillMode]="fillMode"
13950
13918
  [disabled]="disabled"
13951
- rounded="none"
13952
13919
  class="k-input-button"
13953
13920
  [attr.aria-label]="messageFor('toggleButtonLabel')"
13954
13921
  >
@@ -14098,7 +14065,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
14098
14065
  [svgIcon]="arrowDownIcon"
14099
14066
  [fillMode]="fillMode"
14100
14067
  [disabled]="disabled"
14101
- rounded="none"
14102
14068
  class="k-input-button"
14103
14069
  [attr.aria-label]="messageFor('toggleButtonLabel')"
14104
14070
  >
@@ -15129,7 +15095,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
15129
15095
  type: Output
15130
15096
  }] } });
15131
15097
 
15132
- const DEFAULT_SIZE$3 = 'medium';
15133
15098
  /**
15134
15099
  * Represents the directive that renders the Kendo UI RadioButton input component.
15135
15100
  * Place the directive on `input type="radio"` HTML elements.
@@ -15147,19 +15112,18 @@ class RadioButtonDirective {
15147
15112
  return this.hostElement.nativeElement.disabled;
15148
15113
  }
15149
15114
  /**
15150
- * Specifies the `size` of the RadioButton. The `size` property changes the width and height of the RadioButton ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
15115
+ * Specifies the `size` of the RadioButton. The `size` property changes the width and height of the RadioButton ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/radiobutton/appearance#size)).
15151
15116
  *
15152
15117
  * @default "medium"
15153
15118
  */
15154
15119
  set size(size) {
15155
- const newSize = size ? size : DEFAULT_SIZE$3;
15156
- this.handleClasses(newSize, 'size');
15157
- this._size = newSize;
15120
+ this.handleClasses(size, 'size');
15121
+ this._size = size;
15158
15122
  }
15159
15123
  get size() {
15160
15124
  return this._size;
15161
15125
  }
15162
- _size = 'medium';
15126
+ _size = undefined;
15163
15127
  constructor(renderer, hostElement) {
15164
15128
  this.renderer = renderer;
15165
15129
  this.hostElement = hostElement;
@@ -15249,7 +15213,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
15249
15213
 
15250
15214
  /**
15251
15215
  * Renders the hovered rating item content.
15252
- * To define an item template, nest an `<ng-template>` tag with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
15216
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/templates)).
15253
15217
  *
15254
15218
  * The index of the currently hovered item is available as an implicit context using the `let-index="index"` syntax.
15255
15219
  * @example
@@ -15279,7 +15243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
15279
15243
 
15280
15244
  /**
15281
15245
  * Renders the rating item content.
15282
- * To define an item template, nest an `<ng-template>` tag with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
15246
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/templates)).
15283
15247
  * The index of the current item is available as an implicit context using the `let-index="index"` syntax.
15284
15248
  * * @example
15285
15249
  * ```html
@@ -15308,7 +15272,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
15308
15272
 
15309
15273
  /**
15310
15274
  * Renders the selected rating item content.
15311
- * To define an item template, nest an `<ng-template>` tag with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
15275
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/templates)).
15312
15276
  *
15313
15277
  * The index of the currently selected item is available as an implicit context using the `let-index="index"` syntax.
15314
15278
  *
@@ -15356,15 +15320,15 @@ class RatingComponent {
15356
15320
  hoveredItemTemplate;
15357
15321
  selectedItemTemplate;
15358
15322
  /**
15359
- * When `true`, disables the Rating ([see example]({% slug disabledstate_rating %})).
15323
+ * When `true`, disables the Rating ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/disabled)).
15360
15324
 
15361
- * To disable the component in reactive forms, see [Forms Support](slug:formssupport_rating#toc-managing-the-rating-disabled-state-in-reactive-forms).
15325
+ * To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/forms#managing-the-rating-disabled-state-in-reactive-forms).
15362
15326
  *
15363
15327
  * @default false
15364
15328
  */
15365
15329
  disabled = false;
15366
15330
  /**
15367
- * When `true`, sets the Rating to read-only ([see example]({% slug readonly_rating %})).
15331
+ * When `true`, sets the Rating to read-only ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/readonly)).
15368
15332
 
15369
15333
  *
15370
15334
  * @default false
@@ -15378,7 +15342,7 @@ class RatingComponent {
15378
15342
  */
15379
15343
  tabindex = 0;
15380
15344
  /**
15381
- * Sets the number of Rating items ([see example]({% slug itemscount_rating %})).
15345
+ * Sets the number of Rating items ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/items)).
15382
15346
  *
15383
15347
  * @default 5
15384
15348
  */
@@ -15395,7 +15359,7 @@ class RatingComponent {
15395
15359
  return this._value;
15396
15360
  }
15397
15361
  /**
15398
- * Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
15362
+ * Sets the selection mode of the Rating ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/selection)).
15399
15363
  *
15400
15364
  * @default 'continuous'
15401
15365
  */
@@ -15407,7 +15371,7 @@ class RatingComponent {
15407
15371
  return this._selection;
15408
15372
  }
15409
15373
  /**
15410
- * Sets the precision of the Rating ([see example]({% slug precision_rating %})).
15374
+ * Sets the precision of the Rating ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/precision)).
15411
15375
  *
15412
15376
  * @default 'item'
15413
15377
  */
@@ -15419,19 +15383,19 @@ class RatingComponent {
15419
15383
  return this._precision;
15420
15384
  }
15421
15385
  /**
15422
- * Sets the label text for the Rating. The text renders in a `<span>` element ([see example]({% slug label_rating %})).
15386
+ * Sets the label text for the Rating. The text renders in a `<span>` element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/label)).
15423
15387
  */
15424
15388
  label;
15425
15389
  /**
15426
- * Sets a custom font icon for the Rating items ([see example]({% slug icon_rating %})).
15390
+ * Sets a custom font icon for the Rating items ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/icon)).
15427
15391
  */
15428
15392
  icon;
15429
15393
  /**
15430
- * Sets a custom SVG icon for the selected or hovered state of the Rating items ([see example]({% slug icon_rating %})).
15394
+ * Sets a custom SVG icon for the selected or hovered state of the Rating items ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/icon)).
15431
15395
  */
15432
15396
  svgIcon = starIcon;
15433
15397
  /**
15434
- * Sets a custom SVG icon for the default state of the Rating items when not hovered or selected ([see example]({% slug icon_rating %})).
15398
+ * Sets a custom SVG icon for the default state of the Rating items when not hovered or selected ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/icon)).
15435
15399
  */
15436
15400
  svgIconOutline = starOutlineIcon;
15437
15401
  /**
@@ -15701,144 +15665,144 @@ class RatingComponent {
15701
15665
  provide: KendoInput,
15702
15666
  useExisting: forwardRef(() => RatingComponent)
15703
15667
  }
15704
- ], queries: [{ propertyName: "itemTemplate", first: true, predicate: RatingItemTemplateDirective, descendants: true }, { propertyName: "hoveredItemTemplate", first: true, predicate: RatingHoveredItemTemplateDirective, descendants: true }, { propertyName: "selectedItemTemplate", first: true, predicate: RatingSelectedItemTemplateDirective, descendants: true }], exportAs: ["kendoRating"], ngImport: i0, template: `
15705
- <span class="k-rating-container">
15706
- @for (item of ratingItems; track item; let i = $index) {
15707
- <span
15708
- class="k-rating-item"
15709
- [title]="item.title"
15668
+ ], queries: [{ propertyName: "itemTemplate", first: true, predicate: RatingItemTemplateDirective, descendants: true }, { propertyName: "hoveredItemTemplate", first: true, predicate: RatingHoveredItemTemplateDirective, descendants: true }, { propertyName: "selectedItemTemplate", first: true, predicate: RatingSelectedItemTemplateDirective, descendants: true }], exportAs: ["kendoRating"], ngImport: i0, template: `
15669
+ <span class="k-rating-container">
15670
+ @for (item of ratingItems; track item; let i = $index) {
15671
+ <span
15672
+ class="k-rating-item"
15673
+ [title]="item.title"
15710
15674
  [ngClass]="{
15711
15675
  'k-selected': item.selected || item.selectedIndicator,
15712
15676
  'k-hover': item.hovered
15713
15677
  }"
15714
- (mouseenter)="onMouseEnter($event)"
15715
- (mouseout)="onMouseOut()"
15716
- (click)="changeValue(i, $event)"
15717
- >
15718
- @if (!item.half) {
15719
- @if (!itemTemplate) {
15720
- @if (!icon) {
15721
- <kendo-icon-wrapper
15722
- size="xlarge"
15723
- [name]="item.selected || item.hovered ? 'star' : 'star-outline'"
15724
- [svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
15725
- >
15726
- </kendo-icon-wrapper>
15727
- }
15728
- @if (icon) {
15729
- <kendo-icon-wrapper
15730
- size="xlarge"
15731
- [name]="item.selected || item.hovered ? icon : icon + '-outline'"
15732
- >
15733
- </kendo-icon-wrapper>
15734
- }
15735
- }
15736
- @if (itemTemplate && (!item.selected && !item.hovered)) {
15737
- <ng-template
15738
- [ngTemplateOutlet]="itemTemplate?.templateRef"
15739
- [ngTemplateOutletContext]="{index: i}"
15740
- >
15741
- </ng-template>
15742
- }
15743
- @if (hoveredItemTemplate && item.hovered) {
15744
- <ng-template
15745
- [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15746
- [ngTemplateOutletContext]="{index: i}"
15747
- >
15748
- </ng-template>
15749
- }
15750
- @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15751
- <ng-template
15752
- [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15753
- [ngTemplateOutletContext]="{index: i}"
15754
- >
15755
- </ng-template>
15756
- }
15757
- }
15758
- @if (item.half) {
15759
- @if (!itemTemplate) {
15760
- <span class="k-rating-precision-complement">
15761
- @if (!icon) {
15762
- <kendo-icon-wrapper
15763
- size="xlarge"
15764
- [name]="'star-outline'"
15765
- [svgIcon]="svgIconOutline"
15766
- >
15767
- </kendo-icon-wrapper>
15768
- }
15769
- @if (icon) {
15770
- <kendo-icon-wrapper
15771
- size="xlarge"
15772
- [name]="icon + '-outline'"
15773
- >
15774
- </kendo-icon-wrapper>
15775
- }
15776
- </span>
15777
- <span
15778
- class="k-rating-precision-part"
15779
- [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15780
- >
15781
- @if (!icon) {
15782
- <kendo-icon-wrapper
15783
- size="xlarge"
15784
- [name]="'star'"
15785
- [svgIcon]="svgIcon"
15786
- >
15787
- </kendo-icon-wrapper>
15788
- }
15789
- @if (icon) {
15790
- <kendo-icon-wrapper
15791
- size="xlarge"
15792
- [name]="icon"
15793
- >
15794
- </kendo-icon-wrapper>
15795
- }
15796
- </span>
15797
- }
15798
- <span
15799
- class="k-rating-precision-complement"
15800
- >
15801
- <ng-template
15802
- [ngTemplateOutlet]="itemTemplate?.templateRef"
15803
- [ngTemplateOutletContext]="{index: i}"
15804
- >
15805
- </ng-template>
15806
- </span>
15807
- @if (hoveredItemTemplate && item.hovered) {
15808
- <span
15809
- class="k-rating-precision-part"
15810
- [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15811
- >
15812
- <ng-template
15813
- [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15814
- [ngTemplateOutletContext]="{index: i}"
15815
- >
15816
- </ng-template>
15817
- </span>
15818
- }
15819
- @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15820
- <span
15821
- class="k-rating-precision-part"
15822
- [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15823
- >
15824
- <ng-template
15825
- [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15826
- [ngTemplateOutletContext]="{index: i}"
15827
- >
15828
- </ng-template>
15829
- </span>
15830
- }
15831
- <span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
15832
- }
15833
- </span>
15834
- }
15835
- </span>
15836
-
15837
- @if (label) {
15838
- <span
15839
- class="k-rating-label"
15840
- >{{ label }}</span>
15841
- }
15678
+ (mouseenter)="onMouseEnter($event)"
15679
+ (mouseout)="onMouseOut()"
15680
+ (click)="changeValue(i, $event)"
15681
+ >
15682
+ @if (!item.half) {
15683
+ @if (!itemTemplate) {
15684
+ @if (!icon) {
15685
+ <kendo-icon-wrapper
15686
+ size="xlarge"
15687
+ [name]="item.selected || item.hovered ? 'star' : 'star-outline'"
15688
+ [svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
15689
+ >
15690
+ </kendo-icon-wrapper>
15691
+ }
15692
+ @if (icon) {
15693
+ <kendo-icon-wrapper
15694
+ size="xlarge"
15695
+ [name]="item.selected || item.hovered ? icon : icon + '-outline'"
15696
+ >
15697
+ </kendo-icon-wrapper>
15698
+ }
15699
+ }
15700
+ @if (itemTemplate && (!item.selected && !item.hovered)) {
15701
+ <ng-template
15702
+ [ngTemplateOutlet]="itemTemplate?.templateRef"
15703
+ [ngTemplateOutletContext]="{index: i}"
15704
+ >
15705
+ </ng-template>
15706
+ }
15707
+ @if (hoveredItemTemplate && item.hovered) {
15708
+ <ng-template
15709
+ [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15710
+ [ngTemplateOutletContext]="{index: i}"
15711
+ >
15712
+ </ng-template>
15713
+ }
15714
+ @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15715
+ <ng-template
15716
+ [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15717
+ [ngTemplateOutletContext]="{index: i}"
15718
+ >
15719
+ </ng-template>
15720
+ }
15721
+ }
15722
+ @if (item.half) {
15723
+ @if (!itemTemplate) {
15724
+ <span class="k-rating-precision-complement">
15725
+ @if (!icon) {
15726
+ <kendo-icon-wrapper
15727
+ size="xlarge"
15728
+ [name]="'star-outline'"
15729
+ [svgIcon]="svgIconOutline"
15730
+ >
15731
+ </kendo-icon-wrapper>
15732
+ }
15733
+ @if (icon) {
15734
+ <kendo-icon-wrapper
15735
+ size="xlarge"
15736
+ [name]="icon + '-outline'"
15737
+ >
15738
+ </kendo-icon-wrapper>
15739
+ }
15740
+ </span>
15741
+ <span
15742
+ class="k-rating-precision-part"
15743
+ [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15744
+ >
15745
+ @if (!icon) {
15746
+ <kendo-icon-wrapper
15747
+ size="xlarge"
15748
+ [name]="'star'"
15749
+ [svgIcon]="svgIcon"
15750
+ >
15751
+ </kendo-icon-wrapper>
15752
+ }
15753
+ @if (icon) {
15754
+ <kendo-icon-wrapper
15755
+ size="xlarge"
15756
+ [name]="icon"
15757
+ >
15758
+ </kendo-icon-wrapper>
15759
+ }
15760
+ </span>
15761
+ }
15762
+ <span
15763
+ class="k-rating-precision-complement"
15764
+ >
15765
+ <ng-template
15766
+ [ngTemplateOutlet]="itemTemplate?.templateRef"
15767
+ [ngTemplateOutletContext]="{index: i}"
15768
+ >
15769
+ </ng-template>
15770
+ </span>
15771
+ @if (hoveredItemTemplate && item.hovered) {
15772
+ <span
15773
+ class="k-rating-precision-part"
15774
+ [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15775
+ >
15776
+ <ng-template
15777
+ [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15778
+ [ngTemplateOutletContext]="{index: i}"
15779
+ >
15780
+ </ng-template>
15781
+ </span>
15782
+ }
15783
+ @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15784
+ <span
15785
+ class="k-rating-precision-part"
15786
+ [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15787
+ >
15788
+ <ng-template
15789
+ [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15790
+ [ngTemplateOutletContext]="{index: i}"
15791
+ >
15792
+ </ng-template>
15793
+ </span>
15794
+ }
15795
+ <span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
15796
+ }
15797
+ </span>
15798
+ }
15799
+ </span>
15800
+
15801
+ @if (label) {
15802
+ <span
15803
+ class="k-rating-label"
15804
+ >{{ label }}</span>
15805
+ }
15842
15806
  `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
15843
15807
  }
15844
15808
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RatingComponent, decorators: [{
@@ -15859,144 +15823,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
15859
15823
  }
15860
15824
  ],
15861
15825
  selector: 'kendo-rating',
15862
- template: `
15863
- <span class="k-rating-container">
15864
- @for (item of ratingItems; track item; let i = $index) {
15865
- <span
15866
- class="k-rating-item"
15867
- [title]="item.title"
15826
+ template: `
15827
+ <span class="k-rating-container">
15828
+ @for (item of ratingItems; track item; let i = $index) {
15829
+ <span
15830
+ class="k-rating-item"
15831
+ [title]="item.title"
15868
15832
  [ngClass]="{
15869
15833
  'k-selected': item.selected || item.selectedIndicator,
15870
15834
  'k-hover': item.hovered
15871
15835
  }"
15872
- (mouseenter)="onMouseEnter($event)"
15873
- (mouseout)="onMouseOut()"
15874
- (click)="changeValue(i, $event)"
15875
- >
15876
- @if (!item.half) {
15877
- @if (!itemTemplate) {
15878
- @if (!icon) {
15879
- <kendo-icon-wrapper
15880
- size="xlarge"
15881
- [name]="item.selected || item.hovered ? 'star' : 'star-outline'"
15882
- [svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
15883
- >
15884
- </kendo-icon-wrapper>
15885
- }
15886
- @if (icon) {
15887
- <kendo-icon-wrapper
15888
- size="xlarge"
15889
- [name]="item.selected || item.hovered ? icon : icon + '-outline'"
15890
- >
15891
- </kendo-icon-wrapper>
15892
- }
15893
- }
15894
- @if (itemTemplate && (!item.selected && !item.hovered)) {
15895
- <ng-template
15896
- [ngTemplateOutlet]="itemTemplate?.templateRef"
15897
- [ngTemplateOutletContext]="{index: i}"
15898
- >
15899
- </ng-template>
15900
- }
15901
- @if (hoveredItemTemplate && item.hovered) {
15902
- <ng-template
15903
- [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15904
- [ngTemplateOutletContext]="{index: i}"
15905
- >
15906
- </ng-template>
15907
- }
15908
- @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15909
- <ng-template
15910
- [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15911
- [ngTemplateOutletContext]="{index: i}"
15912
- >
15913
- </ng-template>
15914
- }
15915
- }
15916
- @if (item.half) {
15917
- @if (!itemTemplate) {
15918
- <span class="k-rating-precision-complement">
15919
- @if (!icon) {
15920
- <kendo-icon-wrapper
15921
- size="xlarge"
15922
- [name]="'star-outline'"
15923
- [svgIcon]="svgIconOutline"
15924
- >
15925
- </kendo-icon-wrapper>
15926
- }
15927
- @if (icon) {
15928
- <kendo-icon-wrapper
15929
- size="xlarge"
15930
- [name]="icon + '-outline'"
15931
- >
15932
- </kendo-icon-wrapper>
15933
- }
15934
- </span>
15935
- <span
15936
- class="k-rating-precision-part"
15937
- [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15938
- >
15939
- @if (!icon) {
15940
- <kendo-icon-wrapper
15941
- size="xlarge"
15942
- [name]="'star'"
15943
- [svgIcon]="svgIcon"
15944
- >
15945
- </kendo-icon-wrapper>
15946
- }
15947
- @if (icon) {
15948
- <kendo-icon-wrapper
15949
- size="xlarge"
15950
- [name]="icon"
15951
- >
15952
- </kendo-icon-wrapper>
15953
- }
15954
- </span>
15955
- }
15956
- <span
15957
- class="k-rating-precision-complement"
15958
- >
15959
- <ng-template
15960
- [ngTemplateOutlet]="itemTemplate?.templateRef"
15961
- [ngTemplateOutletContext]="{index: i}"
15962
- >
15963
- </ng-template>
15964
- </span>
15965
- @if (hoveredItemTemplate && item.hovered) {
15966
- <span
15967
- class="k-rating-precision-part"
15968
- [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15969
- >
15970
- <ng-template
15971
- [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15972
- [ngTemplateOutletContext]="{index: i}"
15973
- >
15974
- </ng-template>
15975
- </span>
15976
- }
15977
- @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15978
- <span
15979
- class="k-rating-precision-part"
15980
- [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15981
- >
15982
- <ng-template
15983
- [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15984
- [ngTemplateOutletContext]="{index: i}"
15985
- >
15986
- </ng-template>
15987
- </span>
15988
- }
15989
- <span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
15990
- }
15991
- </span>
15992
- }
15993
- </span>
15994
-
15995
- @if (label) {
15996
- <span
15997
- class="k-rating-label"
15998
- >{{ label }}</span>
15999
- }
15836
+ (mouseenter)="onMouseEnter($event)"
15837
+ (mouseout)="onMouseOut()"
15838
+ (click)="changeValue(i, $event)"
15839
+ >
15840
+ @if (!item.half) {
15841
+ @if (!itemTemplate) {
15842
+ @if (!icon) {
15843
+ <kendo-icon-wrapper
15844
+ size="xlarge"
15845
+ [name]="item.selected || item.hovered ? 'star' : 'star-outline'"
15846
+ [svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
15847
+ >
15848
+ </kendo-icon-wrapper>
15849
+ }
15850
+ @if (icon) {
15851
+ <kendo-icon-wrapper
15852
+ size="xlarge"
15853
+ [name]="item.selected || item.hovered ? icon : icon + '-outline'"
15854
+ >
15855
+ </kendo-icon-wrapper>
15856
+ }
15857
+ }
15858
+ @if (itemTemplate && (!item.selected && !item.hovered)) {
15859
+ <ng-template
15860
+ [ngTemplateOutlet]="itemTemplate?.templateRef"
15861
+ [ngTemplateOutletContext]="{index: i}"
15862
+ >
15863
+ </ng-template>
15864
+ }
15865
+ @if (hoveredItemTemplate && item.hovered) {
15866
+ <ng-template
15867
+ [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15868
+ [ngTemplateOutletContext]="{index: i}"
15869
+ >
15870
+ </ng-template>
15871
+ }
15872
+ @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15873
+ <ng-template
15874
+ [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15875
+ [ngTemplateOutletContext]="{index: i}"
15876
+ >
15877
+ </ng-template>
15878
+ }
15879
+ }
15880
+ @if (item.half) {
15881
+ @if (!itemTemplate) {
15882
+ <span class="k-rating-precision-complement">
15883
+ @if (!icon) {
15884
+ <kendo-icon-wrapper
15885
+ size="xlarge"
15886
+ [name]="'star-outline'"
15887
+ [svgIcon]="svgIconOutline"
15888
+ >
15889
+ </kendo-icon-wrapper>
15890
+ }
15891
+ @if (icon) {
15892
+ <kendo-icon-wrapper
15893
+ size="xlarge"
15894
+ [name]="icon + '-outline'"
15895
+ >
15896
+ </kendo-icon-wrapper>
15897
+ }
15898
+ </span>
15899
+ <span
15900
+ class="k-rating-precision-part"
15901
+ [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15902
+ >
15903
+ @if (!icon) {
15904
+ <kendo-icon-wrapper
15905
+ size="xlarge"
15906
+ [name]="'star'"
15907
+ [svgIcon]="svgIcon"
15908
+ >
15909
+ </kendo-icon-wrapper>
15910
+ }
15911
+ @if (icon) {
15912
+ <kendo-icon-wrapper
15913
+ size="xlarge"
15914
+ [name]="icon"
15915
+ >
15916
+ </kendo-icon-wrapper>
15917
+ }
15918
+ </span>
15919
+ }
15920
+ <span
15921
+ class="k-rating-precision-complement"
15922
+ >
15923
+ <ng-template
15924
+ [ngTemplateOutlet]="itemTemplate?.templateRef"
15925
+ [ngTemplateOutletContext]="{index: i}"
15926
+ >
15927
+ </ng-template>
15928
+ </span>
15929
+ @if (hoveredItemTemplate && item.hovered) {
15930
+ <span
15931
+ class="k-rating-precision-part"
15932
+ [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15933
+ >
15934
+ <ng-template
15935
+ [ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
15936
+ [ngTemplateOutletContext]="{index: i}"
15937
+ >
15938
+ </ng-template>
15939
+ </span>
15940
+ }
15941
+ @if (selectedItemTemplate && (item.selected && !item.hovered)) {
15942
+ <span
15943
+ class="k-rating-precision-part"
15944
+ [ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
15945
+ >
15946
+ <ng-template
15947
+ [ngTemplateOutlet]="selectedItemTemplate?.templateRef"
15948
+ [ngTemplateOutletContext]="{index: i}"
15949
+ >
15950
+ </ng-template>
15951
+ </span>
15952
+ }
15953
+ <span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
15954
+ }
15955
+ </span>
15956
+ }
15957
+ </span>
15958
+
15959
+ @if (label) {
15960
+ <span
15961
+ class="k-rating-label"
15962
+ >{{ label }}</span>
15963
+ }
16000
15964
  `,
16001
15965
  standalone: true,
16002
15966
  imports: [NgClass, IconWrapperComponent, NgTemplateOutlet, NgStyle]
@@ -16244,16 +16208,13 @@ const noop = () => { };
16244
16208
  let _id = 0;
16245
16209
  const nextId = () => 'k-signature-focusable-' + _id++;
16246
16210
  const FOCUSED_CLASS = 'k-focus';
16247
- const DEFAULT_SIZE$2 = 'medium';
16248
- const DEFAULT_ROUNDED$2 = 'medium';
16249
- const DEFAULT_FILL_MODE$2 = 'solid';
16250
16211
  const DEFAULT_POPUP_SCALE = 3;
16251
16212
  const DEFAULT_EXPORT_SCALE = 2;
16252
16213
  const DEFAULT_COLOR = '#000000';
16253
16214
  const DEFAULT_BACKGROUND_COLOR = '#ffffff';
16254
16215
  const iconsMap = { xIcon, hyperlinkOpenIcon };
16255
16216
  /**
16256
- * Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
16217
+ * Represents the [Kendo UI Signature component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/signature).
16257
16218
  *
16258
16219
  * Use the Signature to let users add a hand-drawn signature to forms.
16259
16220
  *
@@ -16290,7 +16251,7 @@ class SignatureComponent {
16290
16251
  * Sets the disabled state of the Signature.
16291
16252
  *
16292
16253
  * Set to `true` to disable the component and prevent any user interaction.
16293
- * To disable the component in reactive forms, see [Managing the Signature Disabled State in Reactive Forms](slug:formssupport_signature#toc-managing-the-signature-disabled-state-in-reactive-forms).
16254
+ * To disable the component in reactive forms, see [Managing the Signature Disabled State in Reactive Forms](https://www.telerik.com/kendo-angular-ui/components/inputs/signature/forms#managing-the-signature-disabled-state-in-reactive-forms).
16294
16255
  *
16295
16256
  * @default false
16296
16257
  */
@@ -16344,25 +16305,25 @@ class SignatureComponent {
16344
16305
  }
16345
16306
  /**
16346
16307
  * Sets the padding of the Signature internal controls
16347
- * ([ee example]({% slug appearance_signature %}#toc-size)).
16308
+ * ([ee example](https://www.telerik.com/kendo-angular-ui/components/inputs/signature/appearance#size)).
16348
16309
  *
16349
- * @default 'medium'
16310
+ * @default undefined
16350
16311
  */
16351
- size = DEFAULT_SIZE$2;
16312
+ size;
16352
16313
  /**
16353
16314
  * Sets the border radius of the Signature
16354
- * ([see example](slug:appearance_signature#rounded-corners)).
16315
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/signature/appearance#rounded-corners)).
16355
16316
  *
16356
- * @default 'medium'
16317
+ * @default undefined
16357
16318
  */
16358
- rounded = DEFAULT_ROUNDED$2;
16319
+ rounded;
16359
16320
  /**
16360
16321
  * Sets the background and border styles of the Signature
16361
- * ([see example](slug:appearance_signature#toc-fill-mode)).
16322
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/signature/appearance#fill-mode)).
16362
16323
  *
16363
- * @default 'solid'
16324
+ * @default undefined
16364
16325
  */
16365
- fillMode = DEFAULT_FILL_MODE$2;
16326
+ fillMode;
16366
16327
  /**
16367
16328
  * Sets the stroke color of the Signature.
16368
16329
  *
@@ -16755,9 +16716,9 @@ class SignatureComponent {
16755
16716
  const classList = this.element.nativeElement.classList;
16756
16717
  this.hostClasses.forEach(([name]) => classList.remove(name));
16757
16718
  this.hostClasses = [
16758
- [`k-signature-${SIZE_MAP[this.size || DEFAULT_SIZE$2]}`, !isNone(this.size)],
16759
- [`k-input-${this.fillMode || DEFAULT_FILL_MODE$2}`, !isNone(this.fillMode)],
16760
- [`k-rounded-${ROUNDED_MAP[this.rounded || DEFAULT_ROUNDED$2]}`, !isNone(this.rounded)]
16719
+ [`k-signature-${SIZE_MAP[this.size]}`, isPresent(this.size)],
16720
+ [`k-input-${this.fillMode}`, isPresent(this.fillMode)],
16721
+ [`k-rounded-${ROUNDED_MAP[this.rounded]}`, isPresent(this.rounded)],
16761
16722
  ];
16762
16723
  this.hostClasses.forEach(([name, enabled]) => classList.toggle(name, enabled));
16763
16724
  }
@@ -17410,7 +17371,7 @@ class TextFieldsBase {
17410
17371
  */
17411
17372
  title;
17412
17373
  /**
17413
- * Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_textarea#toc-managing-the-textarea-disabled-state-in-reactive-forms).
17374
+ * Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/forms#managing-the-textarea-disabled-state-in-reactive-forms).
17414
17375
  *
17415
17376
  * @default false
17416
17377
  */
@@ -17543,9 +17504,6 @@ const resizeClasses = {
17543
17504
  'auto': 'k-resize-none'
17544
17505
  };
17545
17506
  const FOCUSED = 'k-focus';
17546
- const DEFAULT_SIZE$1 = 'medium';
17547
- const DEFAULT_ROUNDED$1 = 'medium';
17548
- const DEFAULT_FILL_MODE$1 = 'solid';
17549
17507
  /**
17550
17508
  * Represents the Kendo UI TextArea component for Angular.
17551
17509
  *
@@ -17663,37 +17621,34 @@ class TextAreaComponent extends TextFieldsBase {
17663
17621
  */
17664
17622
  resizable = 'vertical';
17665
17623
  /**
17666
- * Sets the size of the TextArea. Controls the padding of the text area element ([see example]({% slug appearance_textarea %}#toc-size)).
17624
+ * Sets the size of the TextArea. Controls the padding of the text area element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/appearance#size)).
17667
17625
  * @default 'medium'
17668
17626
  */
17669
17627
  set size(size) {
17670
- const newSize = size ? size : DEFAULT_SIZE$1;
17671
- this.handleClasses(newSize, 'size');
17672
- this._size = newSize;
17628
+ this.handleClasses(size, 'size');
17629
+ this._size = size;
17673
17630
  }
17674
17631
  get size() {
17675
17632
  return this._size;
17676
17633
  }
17677
17634
  /**
17678
- * Sets the border radius of the TextArea ([see example](slug:appearance_textarea#toc-roundness)).
17635
+ * Sets the border radius of the TextArea ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/appearance#roundness)).
17679
17636
  * @default 'medium'
17680
17637
  */
17681
17638
  set rounded(rounded) {
17682
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED$1;
17683
- this.handleClasses(newRounded, 'rounded');
17684
- this._rounded = newRounded;
17639
+ this.handleClasses(rounded, 'rounded');
17640
+ this._rounded = rounded;
17685
17641
  }
17686
17642
  get rounded() {
17687
17643
  return this._rounded;
17688
17644
  }
17689
17645
  /**
17690
- * Sets the background and border styles of the TextArea ([see example](slug:appearance_textarea#toc-fill-mode)).
17646
+ * Sets the background and border styles of the TextArea ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/appearance#fill-mode)).
17691
17647
  * @default 'solid'
17692
17648
  */
17693
17649
  set fillMode(fillMode) {
17694
- const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE$1;
17695
- this.handleClasses(newFillMode, 'fillMode');
17696
- this._fillMode = newFillMode;
17650
+ this.handleClasses(fillMode, 'fillMode');
17651
+ this._fillMode = fillMode;
17697
17652
  }
17698
17653
  get fillMode() {
17699
17654
  return this._fillMode;
@@ -17725,7 +17680,7 @@ class TextAreaComponent extends TextFieldsBase {
17725
17680
  */
17726
17681
  onBlur = new EventEmitter();
17727
17682
  /**
17728
- * Fires when the value changes or the TextArea is blurred ([see example](slug:events_textarea)).
17683
+ * Fires when the value changes or the TextArea is blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/events)).
17729
17684
  *
17730
17685
  * The event does not fire when the value changes programmatically or through form control binding.
17731
17686
  */
@@ -17734,9 +17689,9 @@ class TextAreaComponent extends TextFieldsBase {
17734
17689
  maxResizableHeight;
17735
17690
  resizeSubscription;
17736
17691
  resizeObserver;
17737
- _size = 'medium';
17738
- _rounded = 'medium';
17739
- _fillMode = 'solid';
17692
+ _size = undefined;
17693
+ _rounded = undefined;
17694
+ _fillMode = undefined;
17740
17695
  _adornmentsOrientation = 'horizontal';
17741
17696
  _inputAttributes;
17742
17697
  parsedAttributes = {};
@@ -18433,9 +18388,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
18433
18388
  }]
18434
18389
  }], ctorParameters: () => [{ type: i1.LocalizationService }] });
18435
18390
 
18436
- const DEFAULT_SIZE = 'medium';
18437
- const DEFAULT_ROUNDED = 'medium';
18438
- const DEFAULT_FILL_MODE = 'solid';
18439
18391
  const DEFAULT_OTPINPUT_LENGTH = 4;
18440
18392
  /**
18441
18393
  * Represents the Kendo UI OTP Input component for Angular.
@@ -18565,14 +18517,15 @@ class OTPInputComponent {
18565
18517
  /**
18566
18518
  * Sets the padding of the input fields.
18567
18519
  *
18568
- * @default 'medium'
18520
+ * @default undefined
18569
18521
  */
18570
18522
  set size(size) {
18571
- const newSize = size || DEFAULT_SIZE;
18572
18523
  const elem = this.hostElement.nativeElement;
18573
18524
  this.renderer.removeClass(elem, `k-otp-${SIZE_MAP[this._size]}`);
18574
- this.renderer.addClass(elem, `k-otp-${SIZE_MAP[newSize]}`);
18575
- this._size = newSize;
18525
+ if (size) {
18526
+ this.renderer.addClass(elem, `k-otp-${SIZE_MAP[size]}`);
18527
+ }
18528
+ this._size = size;
18576
18529
  }
18577
18530
  get size() {
18578
18531
  return this._size;
@@ -18583,7 +18536,7 @@ class OTPInputComponent {
18583
18536
  * @default 'medium'
18584
18537
  */
18585
18538
  set rounded(rounded) {
18586
- this._rounded = rounded || DEFAULT_ROUNDED;
18539
+ this._rounded = rounded;
18587
18540
  }
18588
18541
  get rounded() {
18589
18542
  return this._rounded;
@@ -18594,9 +18547,8 @@ class OTPInputComponent {
18594
18547
  * @default 'solid'
18595
18548
  */
18596
18549
  set fillMode(fillMode) {
18597
- const newFillMode = fillMode || DEFAULT_FILL_MODE;
18598
- this.setGroupFillMode(newFillMode, this._fillMode);
18599
- this._fillMode = newFillMode;
18550
+ this.setGroupFillMode(fillMode, this._fillMode);
18551
+ this._fillMode = fillMode;
18600
18552
  }
18601
18553
  get fillMode() {
18602
18554
  return this._fillMode;
@@ -18669,9 +18621,9 @@ class OTPInputComponent {
18669
18621
  _inputGroups;
18670
18622
  separatorPositions = new Set();
18671
18623
  _value = null;
18672
- _size = DEFAULT_SIZE;
18673
- _rounded = DEFAULT_ROUNDED;
18674
- _fillMode = DEFAULT_FILL_MODE;
18624
+ _size = undefined;
18625
+ _rounded = undefined;
18626
+ _fillMode = undefined;
18675
18627
  _isFocused = false;
18676
18628
  focusChangedProgrammatically = false;
18677
18629
  inputFieldValueChanged = false;
@@ -18708,8 +18660,6 @@ class OTPInputComponent {
18708
18660
  ngAfterViewInit() {
18709
18661
  this.subscriptions.add(this.inputFields.changes.subscribe(this.handleInputChanges.bind(this)));
18710
18662
  this.handleInputChanges();
18711
- this.renderer.addClass(this.hostElement.nativeElement, `k-otp-${SIZE_MAP[this._size]}`);
18712
- this.setGroupFillMode(this.fillMode);
18713
18663
  this.zone.onStable.pipe(take(1)).subscribe(() => {
18714
18664
  this.fillInputs(this.value);
18715
18665
  });
@@ -19083,10 +19033,10 @@ class OTPInputComponent {
19083
19033
  }
19084
19034
  setGroupFillMode(fillMode, previousFillMode) {
19085
19035
  this.inputGroups?.forEach(element => {
19086
- if (previousFillMode !== 'none') {
19036
+ if (previousFillMode) {
19087
19037
  this.renderer.removeClass(element.nativeElement, `k-input-group-${previousFillMode}`);
19088
19038
  }
19089
- if (fillMode !== 'none') {
19039
+ if (fillMode) {
19090
19040
  this.renderer.addClass(element.nativeElement, `k-input-group-${fillMode}`);
19091
19041
  }
19092
19042
  });
@@ -19172,7 +19122,7 @@ class OTPInputComponent {
19172
19122
  (onFocus)="handleFocus()"
19173
19123
  >
19174
19124
  @if (spacing) {
19175
- @for (input of inputsArray; track input; let i = $index) {
19125
+ @for (input of inputsArray; track $index; let i = $index) {
19176
19126
  <kendo-textbox
19177
19127
  class="k-otp-input"
19178
19128
  [class.k-invalid]="isControlInvalid"
@@ -19249,7 +19199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
19249
19199
  (onFocus)="handleFocus()"
19250
19200
  >
19251
19201
  @if (spacing) {
19252
- @for (input of inputsArray; track input; let i = $index) {
19202
+ @for (input of inputsArray; track $index; let i = $index) {
19253
19203
  <kendo-textbox
19254
19204
  class="k-otp-input"
19255
19205
  [class.k-invalid]="isControlInvalid"