@progress/kendo-angular-inputs 9.0.0-next.202204011519 → 9.0.0

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.
@@ -21,6 +21,9 @@ import * as i2 from "./localization/localized-textbox-messages.directive";
21
21
  import * as i3 from "@angular/common";
22
22
  import * as i4 from "@progress/kendo-angular-common";
23
23
  const FOCUSED = 'k-focus';
24
+ const DEFAULT_SIZE = 'medium';
25
+ const DEFAULT_ROUNDED = 'medium';
26
+ const DEFAULT_FILL_MODE = 'solid';
24
27
  export class TextBoxComponent {
25
28
  constructor(localizationService, ngZone, changeDetector, renderer, injector, hostElement) {
26
29
  this.localizationService = localizationService;
@@ -224,14 +227,15 @@ export class TextBoxComponent {
224
227
  * ([see example]({% slug appearance_textbox %}#toc-size)).
225
228
  *
226
229
  * The possible values are:
227
- * * `'small'`
228
- * * `'medium'` (default)
229
- * * `'large'`
230
- * * `null`
230
+ * * `small`
231
+ * * `medium` (default)
232
+ * * `large`
233
+ * * `none`
231
234
  */
232
235
  set size(size) {
233
- this.handleClasses(size, 'size');
234
- this._size = size;
236
+ const newSize = size ? size : DEFAULT_SIZE;
237
+ this.handleClasses(newSize, 'size');
238
+ this._size = newSize;
235
239
  }
236
240
  get size() {
237
241
  return this._size;
@@ -241,15 +245,16 @@ export class TextBoxComponent {
241
245
  * ([see example]({% slug appearance_textbox %}#toc-rounded)).
242
246
  *
243
247
  * The possible values are:
244
- * * `'small'`
245
- * * `'medium'` (default)
246
- * * `'large'`
247
- * * `'full'`
248
- * * `null`
248
+ * * `small`
249
+ * * `medium` (default)
250
+ * * `large`
251
+ * * `full`
252
+ * * `none`
249
253
  */
250
254
  set rounded(rounded) {
251
- this.handleClasses(rounded, 'rounded');
252
- this._rounded = rounded;
255
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
256
+ this.handleClasses(newRounded, 'rounded');
257
+ this._rounded = newRounded;
253
258
  }
254
259
  get rounded() {
255
260
  return this._rounded;
@@ -259,14 +264,15 @@ export class TextBoxComponent {
259
264
  * ([see example]({% slug appearance_textbox %}#toc-fillMode)).
260
265
  *
261
266
  * The possible values are:
262
- * * `'flat'`
263
- * * `'solid'` (default)
264
- * * `'outline'`
265
- * * `null`
267
+ * * `flat`
268
+ * * `solid` (default)
269
+ * * `outline`
270
+ * * `none`
266
271
  */
267
272
  set fillMode(fillMode) {
268
- this.handleClasses(fillMode, 'fillMode');
269
- this._fillMode = fillMode;
273
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
274
+ this.handleClasses(newFillMode, 'fillMode');
275
+ this._fillMode = newFillMode;
270
276
  }
271
277
  get fillMode() {
272
278
  return this._fillMode;
@@ -71,17 +71,17 @@ const getStylingClasses = (componentType, stylingOption, previousValue, newValue
71
71
  case 'size':
72
72
  return {
73
73
  toRemove: `k-${componentType}-${SIZES[previousValue]}`,
74
- toAdd: newValue ? `k-${componentType}-${SIZES[newValue]}` : null
74
+ toAdd: newValue !== 'none' ? `k-${componentType}-${SIZES[newValue]}` : ''
75
75
  };
76
76
  case 'rounded':
77
77
  return {
78
78
  toRemove: `k-rounded-${ROUNDNESS[previousValue]}`,
79
- toAdd: newValue ? `k-rounded-${ROUNDNESS[newValue]}` : null
79
+ toAdd: newValue !== 'none' ? `k-rounded-${ROUNDNESS[newValue]}` : ''
80
80
  };
81
81
  case 'fillMode':
82
82
  return {
83
83
  toRemove: `k-${componentType}-${previousValue}`,
84
- toAdd: newValue ? `k-${componentType}-${newValue}` : null
84
+ toAdd: newValue !== 'none' ? `k-${componentType}-${newValue}` : ''
85
85
  };
86
86
  default:
87
87
  break;
@@ -519,7 +519,7 @@ const packageMetadata = {
519
519
  name: '@progress/kendo-angular-inputs',
520
520
  productName: 'Kendo UI for Angular',
521
521
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
522
- publishDate: 1648826206,
522
+ publishDate: 1650440790,
523
523
  version: '',
524
524
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
525
525
  };
@@ -1348,7 +1348,7 @@ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
1348
1348
  i18n-dragHandle="kendo.slider.dragHandle|The title of the drag handle of the Slider."
1349
1349
  dragHandle="Drag"
1350
1350
  >
1351
- <div class="k-slider-track-wrap" #wrap
1351
+ <div class="k-slider-wrap" #wrap
1352
1352
  [class.k-slider-buttons]="showButtons"
1353
1353
  [class.k-slider-topleft]="tickPlacement === 'before'"
1354
1354
  [class.k-slider-bottomright]="tickPlacement === 'after'"
@@ -1437,7 +1437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1437
1437
  i18n-dragHandle="kendo.slider.dragHandle|The title of the drag handle of the Slider."
1438
1438
  dragHandle="Drag"
1439
1439
  >
1440
- <div class="k-slider-track-wrap" #wrap
1440
+ <div class="k-slider-wrap" #wrap
1441
1441
  [class.k-slider-buttons]="showButtons"
1442
1442
  [class.k-slider-topleft]="tickPlacement === 'before'"
1443
1443
  [class.k-slider-bottomright]="tickPlacement === 'after'"
@@ -2251,6 +2251,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2251
2251
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2252
2252
 
2253
2253
  const FOCUSED$4 = 'k-focus';
2254
+ const DEFAULT_SIZE$7 = 'medium';
2255
+ const DEFAULT_THUMB_ROUNDED = 'full';
2256
+ const DEFAULT_TRACK_ROUNDED = 'full';
2254
2257
  /**
2255
2258
  * Represents the [Kendo UI Switch component for Angular]({% slug overview_switch %}).
2256
2259
  */
@@ -2352,14 +2355,15 @@ class SwitchComponent {
2352
2355
  * Specifies the width and height of the Switch.
2353
2356
  *
2354
2357
  * The possible values are:
2355
- * * `'small'`
2356
- * * `'medium'` (default)
2357
- * * `'large'`
2358
- * * `null`
2358
+ * * `small`
2359
+ * * `medium` (default)
2360
+ * * `large`
2361
+ * * `none`
2359
2362
  */
2360
2363
  set size(size) {
2361
- this.handleClasses(size, 'size');
2362
- this._size = size;
2364
+ const newSize = size ? size : DEFAULT_SIZE$7;
2365
+ this.handleClasses(newSize, 'size');
2366
+ this._size = newSize;
2363
2367
  }
2364
2368
  get size() {
2365
2369
  return this._size;
@@ -2368,15 +2372,16 @@ class SwitchComponent {
2368
2372
  * Specifies the border radius of the Switch thumb.
2369
2373
  *
2370
2374
  * The possible values are:
2371
- * * `'full'` (default)
2372
- * * `'small'`
2373
- * * `'medium'`
2374
- * * `'large'`
2375
- * * `null`
2375
+ * * `full` (default)
2376
+ * * `small`
2377
+ * * `medium`
2378
+ * * `large`
2379
+ * * `none`
2376
2380
  */
2377
2381
  set thumbRounded(thumbRounded) {
2378
- this.handleThumbClasses(thumbRounded);
2379
- this._thumbRounded = thumbRounded;
2382
+ const newThumbRounded = thumbRounded ? thumbRounded : DEFAULT_THUMB_ROUNDED;
2383
+ this.handleThumbClasses(newThumbRounded);
2384
+ this._thumbRounded = newThumbRounded;
2380
2385
  }
2381
2386
  get thumbRounded() {
2382
2387
  return this._thumbRounded;
@@ -2385,15 +2390,16 @@ class SwitchComponent {
2385
2390
  * Specifies the border radius of the Switch track.
2386
2391
  *
2387
2392
  * The possible values are:
2388
- * * `'full'` (default)
2389
- * * `'small'`
2390
- * * `'medium'`
2391
- * * `'large'`
2392
- * * `null`
2393
+ * * `full` (default)
2394
+ * * `small`
2395
+ * * `medium`
2396
+ * * `large`
2397
+ * * `none`
2393
2398
  */
2394
2399
  set trackRounded(trackRounded) {
2395
- this.handleTrackClasses(trackRounded);
2396
- this._trackRounded = trackRounded;
2400
+ const newTrackRounded = trackRounded ? trackRounded : DEFAULT_TRACK_ROUNDED;
2401
+ this.handleTrackClasses(newTrackRounded);
2402
+ this._trackRounded = newTrackRounded;
2397
2403
  }
2398
2404
  get trackRounded() {
2399
2405
  return this._trackRounded;
@@ -3357,6 +3363,9 @@ const PARSABLE_DEFAULTS = {
3357
3363
  step: 1
3358
3364
  };
3359
3365
  const FOCUSED$3 = 'k-focus';
3366
+ const DEFAULT_SIZE$6 = 'medium';
3367
+ const DEFAULT_ROUNDED$5 = 'medium';
3368
+ const DEFAULT_FILL_MODE$4 = 'solid';
3360
3369
  /**
3361
3370
  * Represents the [Kendo UI NumericTextBox component for Angular]({% slug overview_numerictextbox %}).
3362
3371
  */
@@ -3654,14 +3663,15 @@ class NumericTextBoxComponent {
3654
3663
  * The size property specifies padding of the NumericTextBox internal input element
3655
3664
  * ([see example]({% slug appearance_numerictextbox %}#toc-size)).
3656
3665
  * The possible values are:
3657
- * * `'small'`
3658
- * * `'medium'` (default)
3659
- * * `'large'`
3660
- * * `null`
3666
+ * * `small`
3667
+ * * `medium` (default)
3668
+ * * `large`
3669
+ * * `none`
3661
3670
  */
3662
3671
  set size(size) {
3663
- this.handleClasses(size, 'size');
3664
- this._size = size;
3672
+ const newSize = size ? size : DEFAULT_SIZE$6;
3673
+ this.handleClasses(newSize, 'size');
3674
+ this._size = newSize;
3665
3675
  }
3666
3676
  get size() {
3667
3677
  return this._size;
@@ -3670,14 +3680,15 @@ class NumericTextBoxComponent {
3670
3680
  * The rounded property specifies the border radius of the NumericTextBox
3671
3681
  * ([see example]({% slug appearance_numerictextbox %}#toc-rounded)).
3672
3682
  * The possible values are:
3673
- * * `'small'`
3674
- * * `'medium'` (default)
3675
- * * `'large'`
3676
- * * `null`
3683
+ * * `small`
3684
+ * * `medium` (default)
3685
+ * * `large`
3686
+ * * `none`
3677
3687
  */
3678
3688
  set rounded(rounded) {
3679
- this.handleClasses(rounded, 'rounded');
3680
- this._rounded = rounded;
3689
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED$5;
3690
+ this.handleClasses(newRounded, 'rounded');
3691
+ this._rounded = newRounded;
3681
3692
  }
3682
3693
  get rounded() {
3683
3694
  return this._rounded;
@@ -3686,14 +3697,15 @@ class NumericTextBoxComponent {
3686
3697
  * The fillMode property specifies the background and border styles of the NumericTextBox
3687
3698
  * ([see example]({% slug appearance_numerictextbox %}#toc-fillMode)).
3688
3699
  * The possible values are:
3689
- * * `'flat'`
3690
- * * `'solid'` (default)
3691
- * * `'outline'`
3692
- * * `null`
3700
+ * * `flat`
3701
+ * * `solid` (default)
3702
+ * * `outline`
3703
+ * * `none`
3693
3704
  */
3694
3705
  set fillMode(fillMode) {
3695
- this.handleClasses(fillMode, 'fillMode');
3696
- this._fillMode = fillMode;
3706
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE$4;
3707
+ this.handleClasses(newFillMode, 'fillMode');
3708
+ this._fillMode = newFillMode;
3697
3709
  }
3698
3710
  get fillMode() {
3699
3711
  return this._fillMode;
@@ -4844,6 +4856,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4844
4856
 
4845
4857
  const resolvedPromise = Promise.resolve(null);
4846
4858
  const FOCUSED$2 = 'k-focus';
4859
+ const DEFAULT_SIZE$5 = 'medium';
4860
+ const DEFAULT_ROUNDED$4 = 'medium';
4861
+ const DEFAULT_FILL_MODE$3 = 'solid';
4847
4862
  /**
4848
4863
  * Represents the [Kendo UI MaskedTextBox component for Angular]({% slug overview_maskedtextbox %}).
4849
4864
  *
@@ -5035,14 +5050,15 @@ class MaskedTextBoxComponent {
5035
5050
  * The size property specifies the padding of the MaskedTextBox internal input element
5036
5051
  * ([see example]({% slug appearance_maskedtextbox %}#toc-size)).
5037
5052
  * The possible values are:
5038
- * * `'small'`
5039
- * * `'medium'` (default)
5040
- * * `'large'`
5041
- * * `null`
5053
+ * * `small`
5054
+ * * `medium` (default)
5055
+ * * `large`
5056
+ * * `none`
5042
5057
  */
5043
5058
  set size(size) {
5044
- this.handleClasses(size, 'size');
5045
- this._size = size;
5059
+ const newSize = size ? size : DEFAULT_SIZE$5;
5060
+ this.handleClasses(newSize, 'size');
5061
+ this._size = newSize;
5046
5062
  }
5047
5063
  get size() {
5048
5064
  return this._size;
@@ -5051,14 +5067,15 @@ class MaskedTextBoxComponent {
5051
5067
  * The rounded property specifies the border radius of the MaskedTextBox
5052
5068
  * ([see example]({% slug appearance_maskedtextbox %}#toc-rounded)).
5053
5069
  * The possible values are:
5054
- * * `'small'`
5055
- * * `'medium'` (default)
5056
- * * `'large'`
5057
- * * `null`
5070
+ * * `small`
5071
+ * * `medium` (default)
5072
+ * * `large`
5073
+ * * `none`
5058
5074
  */
5059
5075
  set rounded(rounded) {
5060
- this.handleClasses(rounded, 'rounded');
5061
- this._rounded = rounded;
5076
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED$4;
5077
+ this.handleClasses(newRounded, 'rounded');
5078
+ this._rounded = newRounded;
5062
5079
  }
5063
5080
  get rounded() {
5064
5081
  return this._rounded;
@@ -5070,11 +5087,12 @@ class MaskedTextBoxComponent {
5070
5087
  * * `flat`
5071
5088
  * * `solid` (default)
5072
5089
  * * `outline`
5073
- * * `null`
5090
+ * * `none`
5074
5091
  */
5075
5092
  set fillMode(fillMode) {
5076
- this.handleClasses(fillMode, 'fillMode');
5077
- this._fillMode = fillMode;
5093
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE$3;
5094
+ this.handleClasses(newFillMode, 'fillMode');
5095
+ this._fillMode = newFillMode;
5078
5096
  }
5079
5097
  get fillMode() {
5080
5098
  return this._fillMode;
@@ -6063,6 +6081,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
6063
6081
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
6064
6082
 
6065
6083
  const FOCUSED$1 = 'k-focus';
6084
+ const DEFAULT_SIZE$4 = 'medium';
6085
+ const DEFAULT_ROUNDED$3 = 'medium';
6086
+ const DEFAULT_FILL_MODE$2 = 'solid';
6066
6087
  class TextBoxComponent {
6067
6088
  constructor(localizationService, ngZone, changeDetector, renderer, injector, hostElement) {
6068
6089
  this.localizationService = localizationService;
@@ -6266,14 +6287,15 @@ class TextBoxComponent {
6266
6287
  * ([see example]({% slug appearance_textbox %}#toc-size)).
6267
6288
  *
6268
6289
  * The possible values are:
6269
- * * `'small'`
6270
- * * `'medium'` (default)
6271
- * * `'large'`
6272
- * * `null`
6290
+ * * `small`
6291
+ * * `medium` (default)
6292
+ * * `large`
6293
+ * * `none`
6273
6294
  */
6274
6295
  set size(size) {
6275
- this.handleClasses(size, 'size');
6276
- this._size = size;
6296
+ const newSize = size ? size : DEFAULT_SIZE$4;
6297
+ this.handleClasses(newSize, 'size');
6298
+ this._size = newSize;
6277
6299
  }
6278
6300
  get size() {
6279
6301
  return this._size;
@@ -6283,15 +6305,16 @@ class TextBoxComponent {
6283
6305
  * ([see example]({% slug appearance_textbox %}#toc-rounded)).
6284
6306
  *
6285
6307
  * The possible values are:
6286
- * * `'small'`
6287
- * * `'medium'` (default)
6288
- * * `'large'`
6289
- * * `'full'`
6290
- * * `null`
6308
+ * * `small`
6309
+ * * `medium` (default)
6310
+ * * `large`
6311
+ * * `full`
6312
+ * * `none`
6291
6313
  */
6292
6314
  set rounded(rounded) {
6293
- this.handleClasses(rounded, 'rounded');
6294
- this._rounded = rounded;
6315
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED$3;
6316
+ this.handleClasses(newRounded, 'rounded');
6317
+ this._rounded = newRounded;
6295
6318
  }
6296
6319
  get rounded() {
6297
6320
  return this._rounded;
@@ -6301,14 +6324,15 @@ class TextBoxComponent {
6301
6324
  * ([see example]({% slug appearance_textbox %}#toc-fillMode)).
6302
6325
  *
6303
6326
  * The possible values are:
6304
- * * `'flat'`
6305
- * * `'solid'` (default)
6306
- * * `'outline'`
6307
- * * `null`
6327
+ * * `flat`
6328
+ * * `solid` (default)
6329
+ * * `outline`
6330
+ * * `none`
6308
6331
  */
6309
6332
  set fillMode(fillMode) {
6310
- this.handleClasses(fillMode, 'fillMode');
6311
- this._fillMode = fillMode;
6333
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE$2;
6334
+ this.handleClasses(newFillMode, 'fillMode');
6335
+ this._fillMode = newFillMode;
6312
6336
  }
6313
6337
  get fillMode() {
6314
6338
  return this._fillMode;
@@ -7091,6 +7115,9 @@ const resizeClasses = {
7091
7115
  'auto': 'k-resize-none'
7092
7116
  };
7093
7117
  const FOCUSED = 'k-focus';
7118
+ const DEFAULT_SIZE$3 = 'medium';
7119
+ const DEFAULT_ROUNDED$2 = 'medium';
7120
+ const DEFAULT_FILL_MODE$1 = 'solid';
7094
7121
  /**
7095
7122
  * Represents the [Kendo UI TextArea component for Angular]({% slug overview_textarea %}).
7096
7123
  */
@@ -7244,14 +7271,15 @@ class TextAreaComponent extends TextFieldsBase {
7244
7271
  * ([see example]({% slug appearance_textarea %}#toc-size)).
7245
7272
  *
7246
7273
  * The possible values are:
7247
- * * `'small'`
7248
- * * `'medium'` (default)
7249
- * * `'large'`
7250
- * * `null`
7274
+ * * `small`
7275
+ * * `medium` (default)
7276
+ * * `large`
7277
+ * * `none`
7251
7278
  */
7252
7279
  set size(size) {
7253
- this.handleClasses(size, 'size');
7254
- this._size = size;
7280
+ const newSize = size ? size : DEFAULT_SIZE$3;
7281
+ this.handleClasses(newSize, 'size');
7282
+ this._size = newSize;
7255
7283
  }
7256
7284
  get size() {
7257
7285
  return this._size;
@@ -7261,14 +7289,15 @@ class TextAreaComponent extends TextFieldsBase {
7261
7289
  * ([see example]({% slug appearance_textarea %}#toc-rounded)).
7262
7290
  *
7263
7291
  * The possible values are:
7264
- * * `'small'`
7265
- * * `'medium'` (default)
7266
- * * `'large'`
7267
- * * `null`
7292
+ * * `small`
7293
+ * * `medium` (default)
7294
+ * * `large`
7295
+ * * `none`
7268
7296
  */
7269
7297
  set rounded(rounded) {
7270
- this.handleClasses(rounded, 'rounded');
7271
- this._rounded = rounded;
7298
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED$2;
7299
+ this.handleClasses(newRounded, 'rounded');
7300
+ this._rounded = newRounded;
7272
7301
  }
7273
7302
  get rounded() {
7274
7303
  return this._rounded;
@@ -7278,14 +7307,15 @@ class TextAreaComponent extends TextFieldsBase {
7278
7307
  * ([see example]({% slug appearance_textarea %}#toc-fillMode)).
7279
7308
  *
7280
7309
  * The possible values are:
7281
- * * `'flat'`
7282
- * * `'solid'` (default)
7283
- * * `'outline'`
7284
- * * `null`
7310
+ * * `flat`
7311
+ * * `solid` (default)
7312
+ * * `outline`
7313
+ * * `none`
7285
7314
  */
7286
7315
  set fillMode(fillMode) {
7287
- this.handleClasses(fillMode, 'fillMode');
7288
- this._fillMode = fillMode;
7316
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE$1;
7317
+ this.handleClasses(newFillMode, 'fillMode');
7318
+ this._fillMode = newFillMode;
7289
7319
  }
7290
7320
  get fillMode() {
7291
7321
  return this._fillMode;
@@ -11217,6 +11247,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
11217
11247
  }] } });
11218
11248
 
11219
11249
  const DOM_FOCUS_EVENTS = ['focus', 'blur'];
11250
+ const DEFAULT_SIZE$2 = 'medium';
11251
+ const DEFAULT_ROUNDED$1 = 'medium';
11252
+ const DEFAULT_FILL_MODE = 'solid';
11220
11253
  /**
11221
11254
  * Represents the [Kendo UI ColorPicker component for Angular]({% slug overview_colorpicker %}).
11222
11255
  *
@@ -11426,14 +11459,15 @@ class ColorPickerComponent {
11426
11459
  * ([see example]({% slug appearance_colorpicker %}#toc-size)).
11427
11460
  *
11428
11461
  * The possible values are:
11429
- * * `'small'`
11430
- * * `'medium'` (default)
11431
- * * `'large'`
11432
- * * `null`
11462
+ * * `small`
11463
+ * * `medium` (default)
11464
+ * * `large`
11465
+ * * `none`
11433
11466
  */
11434
11467
  set size(size) {
11435
- this.handleClasses(size, 'size');
11436
- this._size = size;
11468
+ const newSize = size ? size : DEFAULT_SIZE$2;
11469
+ this.handleClasses(newSize, 'size');
11470
+ this._size = newSize;
11437
11471
  }
11438
11472
  get size() {
11439
11473
  return this._size;
@@ -11443,15 +11477,16 @@ class ColorPickerComponent {
11443
11477
  * ([see example]({% slug appearance_colorpicker %}#toc-rounded)).
11444
11478
  *
11445
11479
  * The possible values are:
11446
- * * `'small'`
11447
- * * `'medium'` (default)
11448
- * * `'large'`
11449
- * * `'full'`
11450
- * * `null`
11480
+ * * `small`
11481
+ * * `medium` (default)
11482
+ * * `large`
11483
+ * * `full`
11484
+ * * `none`
11451
11485
  */
11452
11486
  set rounded(rounded) {
11453
- this.handleClasses(rounded, 'rounded');
11454
- this._rounded = rounded;
11487
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED$1;
11488
+ this.handleClasses(newRounded, 'rounded');
11489
+ this._rounded = newRounded;
11455
11490
  }
11456
11491
  get rounded() {
11457
11492
  return this._rounded;
@@ -11461,14 +11496,15 @@ class ColorPickerComponent {
11461
11496
  * ([see example]({% slug appearance_colorpicker %}#toc-fillMode)).
11462
11497
  *
11463
11498
  * The possible values are:
11464
- * * `'flat'`
11465
- * * `'solid'` (default)
11466
- * * `'outline'`
11467
- * * `null`
11499
+ * * `flat`
11500
+ * * `solid` (default)
11501
+ * * `outline`
11502
+ * * `none`
11468
11503
  */
11469
11504
  set fillMode(fillMode) {
11470
- this.handleClasses(fillMode, 'fillMode');
11471
- this._fillMode = fillMode;
11505
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
11506
+ this.handleClasses(newFillMode, 'fillMode');
11507
+ this._fillMode = newFillMode;
11472
11508
  }
11473
11509
  get fillMode() {
11474
11510
  return this._fillMode;
@@ -12250,6 +12286,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
12250
12286
  }]
12251
12287
  }] });
12252
12288
 
12289
+ const DEFAULT_SIZE$1 = 'medium';
12290
+ const DEFAULT_ROUNDED = 'medium';
12253
12291
  /**
12254
12292
  * Represents the directive that renders the [Kendo UI CheckBox]({% slug overview_checkbox %}) input component.
12255
12293
  * The directive is placed on input type="checkbox" elements.
@@ -12272,14 +12310,15 @@ class CheckBoxDirective {
12272
12310
  * ([see example]({% slug appearance_checkboxdirective %}#toc-size)).
12273
12311
  *
12274
12312
  * The possible values are:
12275
- * * `'small'`
12276
- * * `'medium'` (default)
12277
- * * `'large'`
12278
- * * `null`
12313
+ * * `small`
12314
+ * * `medium` (default)
12315
+ * * `large`
12316
+ * * `none`
12279
12317
  */
12280
12318
  set size(size) {
12281
- this.handleClasses(size, 'size');
12282
- this._size = size;
12319
+ const newSize = size ? size : DEFAULT_SIZE$1;
12320
+ this.handleClasses(newSize, 'size');
12321
+ this._size = newSize;
12283
12322
  }
12284
12323
  get size() {
12285
12324
  return this._size;
@@ -12289,14 +12328,15 @@ class CheckBoxDirective {
12289
12328
  * ([see example]({% slug appearance_checkboxdirective %}#toc-rounded)).
12290
12329
  *
12291
12330
  * The possible values are:
12292
- * * `'small'`
12293
- * * `'medium'` (default)
12294
- * * `'large'`
12295
- * * `null`
12331
+ * * `small`
12332
+ * * `medium` (default)
12333
+ * * `large`
12334
+ * * `none`
12296
12335
  */
12297
12336
  set rounded(rounded) {
12298
- this.handleClasses(rounded, 'rounded');
12299
- this._rounded = rounded;
12337
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
12338
+ this.handleClasses(newRounded, 'rounded');
12339
+ this._rounded = newRounded;
12300
12340
  }
12301
12341
  get rounded() {
12302
12342
  return this._rounded;
@@ -12379,6 +12419,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
12379
12419
  }]
12380
12420
  }] });
12381
12421
 
12422
+ const DEFAULT_SIZE = 'medium';
12382
12423
  /**
12383
12424
  * Represents the directive that renders the [Kendo UI RadioButton]({% slug overview_checkbox %}) input component.
12384
12425
  * The directive is placed on input type="radio" elements.
@@ -12400,14 +12441,15 @@ class RadioButtonDirective {
12400
12441
  * The size property specifies the width and height of the RadioButton
12401
12442
  * ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
12402
12443
  * The possible values are:
12403
- * * `'small'`
12404
- * * `'medium'` (default)
12405
- * * `'large'`
12406
- * * `null`
12444
+ * * `small`
12445
+ * * `medium` (default)
12446
+ * * `large`
12447
+ * * `none`
12407
12448
  */
12408
12449
  set size(size) {
12409
- this.handleClasses(size, 'size');
12410
- this._size = size;
12450
+ const newSize = size ? size : DEFAULT_SIZE;
12451
+ this.handleClasses(newSize, 'size');
12452
+ this._size = newSize;
12411
12453
  }
12412
12454
  get size() {
12413
12455
  return this._size;
@@ -4,10 +4,6 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Specifies the layout orientation of the form fields.
7
- *
8
- * The possible values are:
9
- *
10
- * * (Default) `vertical`
11
- * * `horizontal`
7
+ * @default `vertical`
12
8
  */
13
9
  export declare type Orientation = 'vertical' | 'horizontal';