@progress/kendo-angular-buttons 17.0.0-develop.9 → 17.0.1-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 (94) hide show
  1. package/README.md +27 -106
  2. package/button/button.component.d.ts +1 -1
  3. package/button/selection-settings.d.ts +1 -1
  4. package/buttongroup/buttongroup.component.d.ts +1 -1
  5. package/chip/chip-list.component.d.ts +8 -7
  6. package/chip/chip.component.d.ts +8 -7
  7. package/chip/models/avatar-settings.interface.d.ts +33 -0
  8. package/chip/models/selection.d.ts +1 -1
  9. package/common/models/fillmode.d.ts +2 -2
  10. package/common/models/rounded.d.ts +2 -2
  11. package/common/models/size.d.ts +2 -6
  12. package/common/models/theme-color.d.ts +2 -2
  13. package/direction.d.ts +1 -1
  14. package/dropdownbutton/dropdownbutton.component.d.ts +7 -10
  15. package/{esm2020 → esm2022}/button/button.component.mjs +63 -52
  16. package/{esm2020 → esm2022}/button/button.module.mjs +4 -4
  17. package/{esm2020 → esm2022}/button/button.service.mjs +5 -7
  18. package/{esm2020 → esm2022}/buttongroup/buttongroup.component.mjs +76 -51
  19. package/{esm2020 → esm2022}/buttongroup/buttongroup.module.mjs +4 -4
  20. package/{esm2020 → esm2022}/buttons.module.mjs +4 -4
  21. package/{esm2020 → esm2022}/chip/chip-list.component.mjs +65 -48
  22. package/{esm2020 → esm2022}/chip/chip.component.mjs +160 -93
  23. package/{esm2020 → esm2022}/chip/chip.module.mjs +4 -4
  24. package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.component.mjs +125 -117
  25. package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.module.mjs +4 -4
  26. package/{esm2020 → esm2022}/floatingactionbutton/dial-item.component.mjs +21 -11
  27. package/{esm2020 → esm2022}/floatingactionbutton/dial-list.component.mjs +16 -11
  28. package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.component.mjs +145 -102
  29. package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.module.mjs +4 -4
  30. package/{esm2020 → esm2022}/floatingactionbutton/templates/dial-item-template.directive.mjs +4 -3
  31. package/{esm2020 → esm2022}/floatingactionbutton/templates/fab-template.directive.mjs +4 -3
  32. package/{esm2020 → esm2022}/focusable/focus.service.mjs +5 -6
  33. package/{esm2020 → esm2022}/focusable/focusable.directive.mjs +8 -4
  34. package/{esm2020 → esm2022}/index.mjs +0 -1
  35. package/{esm2020 → esm2022}/listbutton/button-item-template.directive.mjs +4 -3
  36. package/{esm2020 → esm2022}/listbutton/container.service.mjs +5 -3
  37. package/{esm2020 → esm2022}/listbutton/list-button.mjs +88 -51
  38. package/{esm2020 → esm2022}/listbutton/list.component.mjs +13 -10
  39. package/esm2022/listbutton/popup-settings.mjs +5 -0
  40. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +12 -11
  41. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  42. package/{esm2020 → esm2022}/preventable-event.mjs +1 -3
  43. package/{esm2020 → esm2022}/splitbutton/localization/custom-messages.component.mjs +7 -6
  44. package/{esm2020 → esm2022}/splitbutton/localization/localized-messages.directive.mjs +9 -8
  45. package/esm2022/splitbutton/localization/messages.mjs +45 -0
  46. package/{esm2020 → esm2022}/splitbutton/splitbutton.component.mjs +214 -188
  47. package/{esm2020 → esm2022}/splitbutton/splitbutton.module.mjs +4 -4
  48. package/{esm2020 → esm2022}/util.mjs +6 -0
  49. package/{fesm2020 → fesm2022}/progress-kendo-angular-buttons.mjs +1318 -1056
  50. package/floatingactionbutton/dial-item.component.d.ts +1 -1
  51. package/floatingactionbutton/dial-list.component.d.ts +1 -1
  52. package/floatingactionbutton/floatingactionbutton.component.d.ts +1 -1
  53. package/floatingactionbutton/models/position-mode.d.ts +1 -1
  54. package/focusable/focusable.directive.d.ts +1 -1
  55. package/index.d.ts +1 -1
  56. package/listbutton/list-button.d.ts +9 -4
  57. package/listbutton/list.component.d.ts +1 -1
  58. package/package.json +15 -21
  59. package/schematics/ngAdd/index.js +1 -1
  60. package/splitbutton/localization/messages.d.ts +1 -1
  61. package/splitbutton/splitbutton.component.d.ts +8 -16
  62. package/util.d.ts +6 -0
  63. package/esm2020/listbutton/list.module.mjs +0 -33
  64. package/esm2020/splitbutton/localization/messages.mjs +0 -23
  65. package/fesm2015/progress-kendo-angular-buttons.mjs +0 -5551
  66. package/listbutton/list.module.d.ts +0 -13
  67. /package/{esm2020 → esm2022}/button/selection-settings.mjs +0 -0
  68. /package/{esm2020 → esm2022}/chip/chip-content-click-event-args.interface.mjs +0 -0
  69. /package/{esm2020 → esm2022}/chip/chip-list-remove-event-args.interface.mjs +0 -0
  70. /package/{esm2020 → esm2022}/chip/chip-remove-event-args.interface.mjs +0 -0
  71. /package/{esm2020/chip/models/selection.mjs → esm2022/chip/models/avatar-settings.interface.mjs} +0 -0
  72. /package/{esm2020/common/models/arrow-settings.mjs → esm2022/chip/models/selection.mjs} +0 -0
  73. /package/{esm2020/common/models/fillmode.mjs → esm2022/common/models/arrow-settings.mjs} +0 -0
  74. /package/{esm2020/common/models/rounded.mjs → esm2022/common/models/fillmode.mjs} +0 -0
  75. /package/{esm2020/common/models/size.mjs → esm2022/common/models/rounded.mjs} +0 -0
  76. /package/{esm2020/common/models/styling-classes.mjs → esm2022/common/models/size.mjs} +0 -0
  77. /package/{esm2020/common/models/theme-color.mjs → esm2022/common/models/styling-classes.mjs} +0 -0
  78. /package/{esm2020/direction.mjs → esm2022/common/models/theme-color.mjs} +0 -0
  79. /package/{esm2020 → esm2022}/common/models.mjs +0 -0
  80. /package/{esm2020/floatingactionbutton/models/align.mjs → esm2022/direction.mjs} +0 -0
  81. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  82. /package/{esm2020 → esm2022}/floatingactionbutton/animations/animations.mjs +0 -0
  83. /package/{esm2020/floatingactionbutton/models/item-animation.interface.mjs → esm2022/floatingactionbutton/models/align.mjs} +0 -0
  84. /package/{esm2020/floatingactionbutton/models/item-click.event.mjs → esm2022/floatingactionbutton/models/item-animation.interface.mjs} +0 -0
  85. /package/{esm2020/floatingactionbutton/models/item.interface.mjs → esm2022/floatingactionbutton/models/item-click.event.mjs} +0 -0
  86. /package/{esm2020/floatingactionbutton/models/offset.mjs → esm2022/floatingactionbutton/models/item.interface.mjs} +0 -0
  87. /package/{esm2020/floatingactionbutton/models/position-mode.mjs → esm2022/floatingactionbutton/models/offset.mjs} +0 -0
  88. /package/{esm2020/listbutton/list-item-model.mjs → esm2022/floatingactionbutton/models/position-mode.mjs} +0 -0
  89. /package/{esm2020 → esm2022}/floatingactionbutton/utils.mjs +0 -0
  90. /package/{esm2020/listbutton/popup-settings.mjs → esm2022/listbutton/list-item-model.mjs} +0 -0
  91. /package/{esm2020 → esm2022}/navigation/key-events.mjs +0 -0
  92. /package/{esm2020 → esm2022}/navigation/navigation-action.mjs +0 -0
  93. /package/{esm2020 → esm2022}/navigation/navigation-config.mjs +0 -0
  94. /package/{esm2020 → esm2022}/progress-kendo-angular-buttons.mjs +0 -0
@@ -32,5 +32,5 @@ export declare class DialItemComponent implements AfterViewInit {
32
32
  ngAfterViewInit(): void;
33
33
  private getTextDirectionClass;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<DialItemComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<DialItemComponent, "[kendoDialItem]", never, { "cssClass": "cssClass"; "cssStyle": "cssStyle"; "isFocused": "isFocused"; "index": "index"; "item": "item"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialItemComponent, "[kendoDialItem]", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "index": { "alias": "index"; "required": false; }; "item": { "alias": "item"; "required": false; }; "dialItemTemplate": { "alias": "dialItemTemplate"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
@@ -23,5 +23,5 @@ export declare class DialListComponent implements OnDestroy {
23
23
  isFocused(index: number): boolean;
24
24
  ngOnDestroy(): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<DialListComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<DialListComponent, "[kendoDialList]", never, { "dialItems": "dialItems"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never, true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialListComponent, "[kendoDialList]", never, { "dialItems": { "alias": "dialItems"; "required": false; }; "dialItemTemplate": { "alias": "dialItemTemplate"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
27
27
  }
@@ -335,5 +335,5 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
335
335
  private animationGap;
336
336
  private animationDuration;
337
337
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonComponent, never>;
338
- static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never, true, never>;
338
+ static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": { "alias": "themeColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "align": { "alias": "align"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "positionMode": { "alias": "positionMode"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "dialClass": { "alias": "dialClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; "dialItemAnimation": { "alias": "dialItemAnimation"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "dialItems": { "alias": "dialItems"; "required": false; }; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never, true, never>;
339
339
  }
@@ -10,4 +10,4 @@
10
10
  * * `absolute`&mdash;Positions the FloatingActionButton absolutely to its first positioned parent element.
11
11
  * * `fixed` (Default)&mdash;Positions the FloatingActionButton relative to the viewport. It always stays in the same place even if the page is scrolled.
12
12
  */
13
- export declare type FabPositionMode = 'absolute' | 'fixed';
13
+ export type FabPositionMode = 'absolute' | 'fixed';
@@ -22,5 +22,5 @@ export declare class FocusableDirective implements OnInit, OnDestroy {
22
22
  ngOnDestroy(): void;
23
23
  private subscribeEvents;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": "index"; }, {}, never, never, true, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
26
26
  }
package/index.d.ts CHANGED
@@ -18,13 +18,13 @@ export { ListItemModel } from './listbutton/list-item-model';
18
18
  export { PopupSettings } from './listbutton/popup-settings';
19
19
  export { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
20
20
  export { ListComponent } from './listbutton/list.component';
21
- export { ListModule } from './listbutton/list.module';
22
21
  export { ChipComponent } from './chip/chip.component';
23
22
  export { ChipListComponent } from './chip/chip-list.component';
24
23
  export { ChipModule } from './chip/chip.module';
25
24
  export { ChipListSelection } from './chip/models/selection';
26
25
  export { ChipRemoveEvent } from './chip/chip-remove-event-args.interface';
27
26
  export { ChipListRemoveEvent } from './chip/chip-list-remove-event-args.interface';
27
+ export { ChipAvatarSettings } from './chip/models/avatar-settings.interface';
28
28
  export { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
29
29
  export { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
30
30
  export { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { EventEmitter, ElementRef, OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges } from '@angular/core';
5
+ import { EventEmitter, ElementRef, OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges, ViewContainerRef, TemplateRef } from '@angular/core';
6
6
  import { Subscription } from 'rxjs';
7
7
  import { PopupSettings } from './popup-settings';
8
8
  import { FocusService } from './../focusable/focus.service';
@@ -14,6 +14,7 @@ import { PreventableEvent } from '../preventable-event';
14
14
  import { Align, PopupRef, PopupService } from '@progress/kendo-angular-popup';
15
15
  import { PopupContainerService } from './container.service';
16
16
  import { MultiTabStop } from '@progress/kendo-angular-common';
17
+ import { ListComponent } from './list.component';
17
18
  import * as i0 from "@angular/core";
18
19
  /**
19
20
  * @hidden
@@ -27,21 +28,25 @@ export declare class ListButton extends MultiTabStop implements OnDestroy {
27
28
  private elRef;
28
29
  protected cdr: ChangeDetectorRef;
29
30
  protected containerService: PopupContainerService;
31
+ protected listId: string;
32
+ protected buttonId: string;
30
33
  protected _data: any;
31
34
  protected _open: boolean;
32
35
  protected _disabled: boolean;
33
36
  protected _active: boolean;
34
37
  protected _popupSettings: PopupSettings;
35
- protected listId: string;
36
38
  protected _isFocused: boolean;
37
39
  protected _itemClick: EventEmitter<any>;
38
40
  protected _blur: EventEmitter<any>;
39
41
  protected wrapper: HTMLElement;
40
- protected button: ElementRef;
41
42
  protected subs: Subscription;
42
43
  protected direction: Direction;
43
44
  protected popupRef: PopupRef;
44
45
  private popupSubs;
46
+ button: ElementRef<HTMLButtonElement>;
47
+ buttonList: ListComponent;
48
+ popupTemplate: TemplateRef<any>;
49
+ container: ViewContainerRef;
45
50
  /**
46
51
  * Sets the disabled state of the DropDownButton.
47
52
  */
@@ -157,5 +162,5 @@ export declare class ListButton extends MultiTabStop implements OnDestroy {
157
162
  private createPopup;
158
163
  private destroyPopup;
159
164
  static ɵfac: i0.ɵɵFactoryDeclaration<ListButton, never>;
160
- static ɵcmp: i0.ɵɵComponentDeclaration<ListButton, "ng-component", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "buttonClass": "buttonClass"; "popupSettings": "popupSettings"; }, { "open": "open"; "close": "close"; "escape": "escape"; }, never, never, false, never>;
165
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListButton, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; }, { "open": "open"; "close": "close"; "escape": "escape"; }, never, never, false, never>;
161
166
  }
@@ -24,5 +24,5 @@ export declare class ListComponent {
24
24
  onClick(index: number): void;
25
25
  onBlur(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": "data"; "textField": "textField"; "itemTemplate": "itemTemplate"; "size": "size"; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never, true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": { "alias": "data"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never, true, never>;
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-buttons",
3
- "version": "17.0.0-develop.9",
3
+ "version": "17.0.1-develop.1",
4
4
  "description": "Buttons Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -20,28 +20,24 @@
20
20
  "friendlyName": "Buttons"
21
21
  },
22
22
  "peerDependencies": {
23
- "@angular/animations": "15 - 18",
24
- "@angular/common": "15 - 18",
25
- "@angular/core": "15 - 18",
26
- "@angular/platform-browser": "15 - 18",
23
+ "@angular/animations": "16 - 18",
24
+ "@angular/common": "16 - 18",
25
+ "@angular/core": "16 - 18",
26
+ "@angular/platform-browser": "16 - 18",
27
27
  "@progress/kendo-licensing": "^1.0.2",
28
- "@progress/kendo-angular-common": "17.0.0-develop.9",
29
- "@progress/kendo-angular-l10n": "17.0.0-develop.9",
30
- "@progress/kendo-angular-popup": "17.0.0-develop.9",
31
- "@progress/kendo-angular-icons": "17.0.0-develop.9",
28
+ "@progress/kendo-angular-common": "17.0.1-develop.1",
29
+ "@progress/kendo-angular-l10n": "17.0.1-develop.1",
30
+ "@progress/kendo-angular-popup": "17.0.1-develop.1",
31
+ "@progress/kendo-angular-icons": "17.0.1-develop.1",
32
32
  "rxjs": "^6.5.3 || ^7.0.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "tslib": "^2.3.1",
36
- "@progress/kendo-angular-schematics": "17.0.0-develop.9",
37
- "@progress/kendo-common": "^0.2.1"
36
+ "@progress/kendo-angular-schematics": "17.0.1-develop.1",
37
+ "@progress/kendo-common": "^1.0.1"
38
38
  },
39
39
  "schematics": "./schematics/collection.json",
40
- "module": "fesm2015/progress-kendo-angular-buttons.mjs",
41
- "es2020": "fesm2020/progress-kendo-angular-buttons.mjs",
42
- "esm2020": "esm2020/progress-kendo-angular-buttons.mjs",
43
- "fesm2020": "fesm2020/progress-kendo-angular-buttons.mjs",
44
- "fesm2015": "fesm2015/progress-kendo-angular-buttons.mjs",
40
+ "module": "fesm2022/progress-kendo-angular-buttons.mjs",
45
41
  "typings": "index.d.ts",
46
42
  "exports": {
47
43
  "./package.json": {
@@ -49,11 +45,9 @@
49
45
  },
50
46
  ".": {
51
47
  "types": "./index.d.ts",
52
- "esm2020": "./esm2020/progress-kendo-angular-buttons.mjs",
53
- "es2020": "./fesm2020/progress-kendo-angular-buttons.mjs",
54
- "es2015": "./fesm2015/progress-kendo-angular-buttons.mjs",
55
- "node": "./fesm2015/progress-kendo-angular-buttons.mjs",
56
- "default": "./fesm2020/progress-kendo-angular-buttons.mjs"
48
+ "esm2022": "./esm2022/progress-kendo-angular-buttons.mjs",
49
+ "esm": "./esm2022/progress-kendo-angular-buttons.mjs",
50
+ "default": "./fesm2022/progress-kendo-angular-buttons.mjs"
57
51
  }
58
52
  },
59
53
  "sideEffects": false
@@ -4,7 +4,7 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ButtonsModule', package: 'buttons', peerDependencies: {
6
6
  // peer dep of the icons
7
- '@progress/kendo-svg-icons': '^3.0.0',
7
+ '@progress/kendo-svg-icons': '^4.0.0',
8
8
  } });
9
9
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
10
10
  }
@@ -31,5 +31,5 @@ export declare class Messages extends ComponentMessages {
31
31
  */
32
32
  splitButtonLabel: string;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-splitbutton-messages-base", never, { "splitButtonLabel": "splitButtonLabel"; }, {}, never, never, false, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-splitbutton-messages-base", never, { "splitButtonLabel": { "alias": "splitButtonLabel"; "required": false; }; }, {}, never, never, false, never>;
35
35
  }
@@ -2,9 +2,9 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef, TemplateRef, EventEmitter, ViewContainerRef, AfterViewInit, OnChanges, SimpleChanges, NgZone, ChangeDetectorRef, Renderer2 } from '@angular/core';
5
+ import { ElementRef, EventEmitter, AfterViewInit, OnChanges, SimpleChanges, NgZone, ChangeDetectorRef, Renderer2 } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { Align, PopupService, PopupRef } from '@progress/kendo-angular-popup';
7
+ import { Align, PopupService } from '@progress/kendo-angular-popup';
8
8
  import { ListButton } from './../listbutton/list-button';
9
9
  import { PopupSettings } from './../listbutton/popup-settings';
10
10
  import { ButtonItemTemplateDirective } from './../listbutton/button-item-template.directive';
@@ -174,11 +174,6 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
174
174
  */
175
175
  set data(data: any);
176
176
  get data(): any;
177
- /**
178
- * The CSS classes that will be rendered on the main button.
179
- * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
180
- */
181
- buttonClass: any;
182
177
  /**
183
178
  * The CSS classes that will be rendered on the button which opens the popup.
184
179
  * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
@@ -275,15 +270,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
275
270
  * An item template that helps to customize the item content.
276
271
  */
277
272
  itemTemplate: ButtonItemTemplateDirective;
278
- button: ElementRef<HTMLButtonElement>;
279
- arrowButton: ElementRef<HTMLButtonElement>;
280
- popupTemplate: TemplateRef<any>;
281
- containerRef: ViewContainerRef;
282
- /**
283
- * @hidden
284
- */
285
273
  activeArrow: boolean;
286
- popupRef: PopupRef;
287
274
  listId: string;
288
275
  /**
289
276
  * @hidden
@@ -302,6 +289,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
302
289
  private _rounded;
303
290
  private _fillMode;
304
291
  private _buttonAttributes;
292
+ private documentMouseUpSub;
305
293
  set isFocused(value: boolean);
306
294
  get isFocused(): boolean;
307
295
  get widgetClasses(): boolean;
@@ -350,6 +338,10 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
350
338
  * @hidden
351
339
  */
352
340
  ngOnChanges(changes: SimpleChanges): void;
341
+ /**
342
+ * @hidden
343
+ */
344
+ ngOnDestroy(): void;
353
345
  /**
354
346
  * @hidden
355
347
  */
@@ -392,5 +384,5 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
392
384
  private toggleButtonIconClass;
393
385
  private handleButtonAttributes;
394
386
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
395
- static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": "text"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "type": "type"; "imageUrl": "imageUrl"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "disabled": "disabled"; "popupSettings": "popupSettings"; "tabIndex": "tabIndex"; "textField": "textField"; "data": "data"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; "arrowButtonSvgIcon": "arrowButtonSvgIcon"; "buttonAttributes": "buttonAttributes"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"], true, never>;
387
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "type": { "alias": "type"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "data": { "alias": "data"; "required": false; }; "arrowButtonClass": { "alias": "arrowButtonClass"; "required": false; }; "arrowButtonIcon": { "alias": "arrowButtonIcon"; "required": false; }; "arrowButtonSvgIcon": { "alias": "arrowButtonSvgIcon"; "required": false; }; "buttonAttributes": { "alias": "buttonAttributes"; "required": false; }; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"], true, never>;
396
388
  }
package/util.d.ts CHANGED
@@ -39,3 +39,9 @@ export declare const getStylingClasses: (componentType: any, stylingOption: stri
39
39
  * Returns the themeColor classes to be added and removed
40
40
  */
41
41
  export declare const getThemeColorClasses: (componentType: any, prevFillMode: any, fillMode: any, previousValue: any, newValue: any) => ButtonStylingClasses;
42
+ /**
43
+ * @hidden
44
+ *
45
+ * Checks for an empty object - {}
46
+ */
47
+ export declare const isObjectEmpty: (obj: any) => boolean;
@@ -1,33 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NgModule } from '@angular/core';
6
- import { ListComponent } from './list.component';
7
- import { FocusableDirective } from './../focusable/focusable.directive';
8
- import { ButtonItemTemplateDirective } from './button-item-template.directive';
9
- import { IconsService } from '@progress/kendo-angular-icons';
10
- import * as i0 from "@angular/core";
11
- const EXPORTED_DIRECTIVES = [
12
- ListComponent,
13
- FocusableDirective,
14
- ButtonItemTemplateDirective
15
- ];
16
- //IMPORTANT: NgModule export kept for backwards compatibility
17
- export class ListModule {
18
- }
19
- ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ListModule, imports: [ListComponent,
21
- FocusableDirective,
22
- ButtonItemTemplateDirective], exports: [ListComponent,
23
- FocusableDirective,
24
- ButtonItemTemplateDirective] });
25
- ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListModule, providers: [IconsService], imports: [ListComponent] });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListModule, decorators: [{
27
- type: NgModule,
28
- args: [{
29
- imports: [...EXPORTED_DIRECTIVES],
30
- exports: [...EXPORTED_DIRECTIVES],
31
- providers: [IconsService]
32
- }]
33
- }] });
@@ -1,23 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Input } from '@angular/core';
6
- import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class Messages extends ComponentMessages {
12
- }
13
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-splitbutton-messages-base", inputs: { splitButtonLabel: "splitButtonLabel" }, usesInheritance: true, ngImport: i0 });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
16
- type: Directive,
17
- args: [{
18
- // eslint-disable-next-line @angular-eslint/directive-selector
19
- selector: 'kendo-splitbutton-messages-base'
20
- }]
21
- }], propDecorators: { splitButtonLabel: [{
22
- type: Input
23
- }] } });