@progress/kendo-angular-dropdowns 7.0.0-next.202204040550 → 7.0.1-dev.202204281135

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 (32) hide show
  1. package/autocomplete/autocomplete.component.d.ts +13 -13
  2. package/bundles/kendo-angular-dropdowns.umd.js +1 -1
  3. package/comboboxes/combobox.component.d.ts +13 -13
  4. package/common/models/fillmode.d.ts +1 -7
  5. package/common/models/remove-tag-event.d.ts +4 -1
  6. package/common/models/rounded.d.ts +1 -8
  7. package/common/models/size.d.ts +1 -7
  8. package/dropdownlist/dropdownlist.component.d.ts +13 -13
  9. package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +8 -0
  10. package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +8 -0
  11. package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +8 -0
  12. package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +8 -0
  13. package/dropdowntrees/dropdowntree.component.d.ts +13 -13
  14. package/dropdowntrees/multiselecttree.component.d.ts +14 -14
  15. package/esm2015/autocomplete/autocomplete.component.js +33 -27
  16. package/esm2015/comboboxes/combobox.component.js +32 -26
  17. package/esm2015/dropdownlist/dropdownlist.component.js +31 -25
  18. package/esm2015/dropdowntrees/checked-state/check-all.directive.js +12 -5
  19. package/esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +12 -0
  20. package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +34 -0
  21. package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +12 -0
  22. package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +12 -0
  23. package/esm2015/dropdowntrees/dropdowntree.component.js +37 -28
  24. package/esm2015/dropdowntrees/multiselecttree.component.js +49 -34
  25. package/esm2015/main.js +4 -0
  26. package/esm2015/multiselect/multiselect.component.js +34 -28
  27. package/esm2015/package-metadata.js +1 -1
  28. package/fesm2015/kendo-angular-dropdowns.js +298 -174
  29. package/main.d.ts +4 -0
  30. package/multiselect/multiselect.component.d.ts +14 -14
  31. package/package.json +10 -12
  32. package/schematics/ngAdd/index.js +2 -2
@@ -54,6 +54,9 @@ const MULTISELECT_VALUE_ACCESSOR = {
54
54
  provide: NG_VALUE_ACCESSOR,
55
55
  useExisting: forwardRef(() => MultiSelectComponent)
56
56
  };
57
+ const DEFAULT_SIZE = 'medium';
58
+ const DEFAULT_ROUNDED = 'medium';
59
+ const DEFAULT_FILL_MODE = 'solid';
57
60
  /**
58
61
  * Represents the [Kendo UI MultiSelect component for Angular]({% slug overview_multiselect %}).
59
62
  *
@@ -240,7 +243,7 @@ export class MultiSelectComponent {
240
243
  */
241
244
  this.onBlur = new EventEmitter();
242
245
  /**
243
- * Fires each time a tag is about to be removed.
246
+ * Fires each time a tag is about to be removed([see examples]({% slug summarytagmode_multiselecttree %}#toc-notifying-on-removing-group-tags)).
244
247
  * This event is preventable. If you cancel it, the tag will not be removed.
245
248
  */
246
249
  this.removeTag = new EventEmitter();
@@ -421,18 +424,19 @@ export class MultiSelectComponent {
421
424
  * Sets the size of the component.
422
425
  *
423
426
  * The possible values are:
424
- * * `'small'`
425
- * * `'medium'` (default)
426
- * * `'large'`
427
- * * `null`
427
+ * * `small`
428
+ * * `medium` (default)
429
+ * * `large`
430
+ * * `none`
428
431
  *
429
432
  */
430
433
  set size(size) {
434
+ const newSize = size ? size : DEFAULT_SIZE;
431
435
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
432
- if (size) {
433
- this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', size));
436
+ if (size !== 'none') {
437
+ this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
434
438
  }
435
- this._size = size;
439
+ this._size = newSize;
436
440
  }
437
441
  get size() {
438
442
  return this._size;
@@ -441,19 +445,20 @@ export class MultiSelectComponent {
441
445
  * Sets the border radius of the component.
442
446
  *
443
447
  * The possible values are:
444
- * * `'small'`
445
- * * `'medium'` (default)
446
- * * `'large'`
447
- * * `'full'`
448
- * * `null`
448
+ * * `small`
449
+ * * `medium` (default)
450
+ * * `large`
451
+ * * `full`
452
+ * * `none`
449
453
  *
450
454
  */
451
455
  set rounded(rounded) {
456
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
452
457
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
453
- if (rounded) {
454
- this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(rounded));
458
+ if (rounded !== 'none') {
459
+ this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
455
460
  }
456
- this._rounded = rounded;
461
+ this._rounded = newRounded;
457
462
  }
458
463
  get rounded() {
459
464
  return this._rounded;
@@ -462,18 +467,19 @@ export class MultiSelectComponent {
462
467
  * Sets the fillMode of the component.
463
468
  *
464
469
  * The possible values are:
465
- * * `'flat'`
466
- * * `'solid'` (default)
467
- * * `'outline'`
468
- * * `null`
470
+ * * `flat`
471
+ * * `solid` (default)
472
+ * * `outline`
473
+ * * `none`
469
474
  *
470
475
  */
471
476
  set fillMode(fillMode) {
477
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
472
478
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
473
- if (fillMode) {
474
- this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
479
+ if (fillMode !== 'none') {
480
+ this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
475
481
  }
476
- this._fillMode = fillMode;
482
+ this._fillMode = newFillMode;
477
483
  }
478
484
  get fillMode() {
479
485
  return this._fillMode;
@@ -1325,13 +1331,13 @@ export class MultiSelectComponent {
1325
1331
  });
1326
1332
  }
1327
1333
  setComponentClasses() {
1328
- if (this.size) {
1334
+ if (this.size !== 'none') {
1329
1335
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
1330
1336
  }
1331
- if (this.rounded) {
1337
+ if (this.rounded !== 'none') {
1332
1338
  this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
1333
1339
  }
1334
- if (this.fillMode) {
1340
+ if (this.fillMode !== 'none') {
1335
1341
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
1336
1342
  }
1337
1343
  }
@@ -1413,7 +1419,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
1413
1419
  </span>
1414
1420
  <span
1415
1421
  *ngIf="loading"
1416
- class="k-icon k-i-loading"
1422
+ class="k-icon k-i-loading k-input-loading-icon"
1417
1423
  >
1418
1424
  </span>
1419
1425
  <ng-template #popupTemplate>
@@ -1566,7 +1572,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1566
1572
  </span>
1567
1573
  <span
1568
1574
  *ngIf="loading"
1569
- class="k-icon k-i-loading"
1575
+ class="k-icon k-i-loading k-input-loading-icon"
1570
1576
  >
1571
1577
  </span>
1572
1578
  <ng-template #popupTemplate>
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dropdowns',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1649051159,
12
+ publishDate: 1651145664,
13
13
  version: '',
14
14
  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'
15
15
  };