@progress/kendo-angular-buttons 21.4.1-develop.1 → 22.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 (73) hide show
  1. package/fesm2022/progress-kendo-angular-buttons.mjs +105 -105
  2. package/listbutton/list-button.d.ts +1 -1
  3. package/package.json +11 -19
  4. package/splitbutton/localization/messages.d.ts +1 -1
  5. package/esm2022/button/button-settings.mjs +0 -5
  6. package/esm2022/button/button.component.mjs +0 -558
  7. package/esm2022/button/button.module.mjs +0 -43
  8. package/esm2022/button/button.service.mjs +0 -22
  9. package/esm2022/button/selection-settings.mjs +0 -5
  10. package/esm2022/buttongroup/buttongroup.component.mjs +0 -340
  11. package/esm2022/buttongroup/buttongroup.module.mjs +0 -49
  12. package/esm2022/buttons.module.mjs +0 -58
  13. package/esm2022/chip/chip-content-click-event-args.interface.mjs +0 -5
  14. package/esm2022/chip/chip-list-remove-event-args.interface.mjs +0 -5
  15. package/esm2022/chip/chip-list.component.mjs +0 -360
  16. package/esm2022/chip/chip-remove-event-args.interface.mjs +0 -5
  17. package/esm2022/chip/chip.component.mjs +0 -585
  18. package/esm2022/chip/chip.module.mjs +0 -45
  19. package/esm2022/chip/models/avatar-settings.interface.mjs +0 -5
  20. package/esm2022/chip/models/selection.mjs +0 -5
  21. package/esm2022/common/models/arrow-settings.mjs +0 -5
  22. package/esm2022/common/models/fillmode.mjs +0 -5
  23. package/esm2022/common/models/rounded.mjs +0 -5
  24. package/esm2022/common/models/size.mjs +0 -5
  25. package/esm2022/common/models/styling-classes.mjs +0 -5
  26. package/esm2022/common/models/theme-color.mjs +0 -5
  27. package/esm2022/common/models.mjs +0 -10
  28. package/esm2022/direction.mjs +0 -5
  29. package/esm2022/directives.mjs +0 -176
  30. package/esm2022/dropdownbutton/dropdownbutton.component.mjs +0 -482
  31. package/esm2022/dropdownbutton/dropdownbutton.module.mjs +0 -50
  32. package/esm2022/floatingactionbutton/animations/animations.mjs +0 -33
  33. package/esm2022/floatingactionbutton/dial-item.component.mjs +0 -161
  34. package/esm2022/floatingactionbutton/dial-list.component.mjs +0 -98
  35. package/esm2022/floatingactionbutton/floatingactionbutton.component.mjs +0 -954
  36. package/esm2022/floatingactionbutton/floatingactionbutton.module.mjs +0 -47
  37. package/esm2022/floatingactionbutton/models/align.mjs +0 -5
  38. package/esm2022/floatingactionbutton/models/item-animation.interface.mjs +0 -5
  39. package/esm2022/floatingactionbutton/models/item-click.event.mjs +0 -5
  40. package/esm2022/floatingactionbutton/models/item.interface.mjs +0 -5
  41. package/esm2022/floatingactionbutton/models/offset.mjs +0 -5
  42. package/esm2022/floatingactionbutton/models/position-mode.mjs +0 -5
  43. package/esm2022/floatingactionbutton/templates/dial-item-template.directive.mjs +0 -37
  44. package/esm2022/floatingactionbutton/templates/fab-template.directive.mjs +0 -38
  45. package/esm2022/floatingactionbutton/utils.mjs +0 -38
  46. package/esm2022/focusable/focus.service.mjs +0 -38
  47. package/esm2022/focusable/focusable.directive.mjs +0 -67
  48. package/esm2022/index.mjs +0 -33
  49. package/esm2022/listbutton/button-item-template.directive.mjs +0 -47
  50. package/esm2022/listbutton/container.service.mjs +0 -18
  51. package/esm2022/listbutton/list-button.mjs +0 -461
  52. package/esm2022/listbutton/list-item-model.mjs +0 -5
  53. package/esm2022/listbutton/list.component.mjs +0 -177
  54. package/esm2022/listbutton/popup-settings.mjs +0 -5
  55. package/esm2022/navigation/key-events.mjs +0 -13
  56. package/esm2022/navigation/navigation-action.mjs +0 -20
  57. package/esm2022/navigation/navigation-config.mjs +0 -9
  58. package/esm2022/navigation/navigation.service.mjs +0 -111
  59. package/esm2022/package-metadata.mjs +0 -16
  60. package/esm2022/preventable-event.mjs +0 -25
  61. package/esm2022/progress-kendo-angular-buttons.mjs +0 -8
  62. package/esm2022/speechtotextbutton/models/error-event.mjs +0 -5
  63. package/esm2022/speechtotextbutton/models/integration-mode.mjs +0 -5
  64. package/esm2022/speechtotextbutton/models/result-event.mjs +0 -5
  65. package/esm2022/speechtotextbutton/models/speechtotextbutton-settings.mjs +0 -5
  66. package/esm2022/speechtotextbutton/speechtotextbutton.component.mjs +0 -532
  67. package/esm2022/speechtotextbutton/speechtotextbutton.module.mjs +0 -31
  68. package/esm2022/splitbutton/localization/custom-messages.component.mjs +0 -40
  69. package/esm2022/splitbutton/localization/localized-messages.directive.mjs +0 -39
  70. package/esm2022/splitbutton/localization/messages.mjs +0 -50
  71. package/esm2022/splitbutton/splitbutton.component.mjs +0 -761
  72. package/esm2022/splitbutton/splitbutton.module.mjs +0 -37
  73. package/esm2022/util.mjs +0 -108
@@ -1,47 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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 { KENDO_FLOATINGACTIONBUTTON } from '../directives';
7
- import { IconsService } from '@progress/kendo-angular-icons';
8
- import { PopupService } from '@progress/kendo-angular-popup';
9
- import { ResizeBatchService } from '@progress/kendo-angular-common';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "./floatingactionbutton.component";
12
- import * as i2 from "./templates/dial-item-template.directive";
13
- import * as i3 from "./templates/fab-template.directive";
14
- /**
15
- * Represents the NgModule definition for the FloatingActionButton component.
16
- *
17
- * Required for adding FloatingActionButton features in NgModule-based Angular applications.
18
- *
19
- * @example
20
- * ```ts
21
- * import { FloatingActionButtonModule } from '@progress/kendo-angular-buttons';
22
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
23
- * import { NgModule } from '@angular/core';
24
- * import { AppComponent } from './app.component';
25
- * import { BrowserModule } from '@angular/platform-browser';
26
- *
27
- * @NgModule({
28
- * declarations: [AppComponent],
29
- * imports: [BrowserModule, FloatingActionButtonModule],
30
- * bootstrap: [AppComponent]
31
- * })
32
- * export class AppModule {}
33
- * ```
34
- */
35
- export class FloatingActionButtonModule {
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FloatingActionButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: FloatingActionButtonModule, imports: [i1.FloatingActionButtonComponent, i2.DialItemTemplateDirective, i3.FloatingActionButtonTemplateDirective], exports: [i1.FloatingActionButtonComponent, i2.DialItemTemplateDirective, i3.FloatingActionButtonTemplateDirective] });
38
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FloatingActionButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.FloatingActionButtonComponent] });
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FloatingActionButtonModule, decorators: [{
41
- type: NgModule,
42
- args: [{
43
- exports: [...KENDO_FLOATINGACTIONBUTTON],
44
- imports: [...KENDO_FLOATINGACTIONBUTTON],
45
- providers: [IconsService, PopupService, ResizeBatchService]
46
- }]
47
- }] });
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,37 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Optional, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents a template that defines the content of a dial item.
9
- * To define the template, nest an `<ng-template>` tag with the `kendoDialItemTemplate` directive inside the `<kendo-floatingactionbutton>` tag
10
- *([see example]({% slug templates_floatingactionbutton %}#dial-item-template)).
11
- *
12
- * @example
13
- * ```html
14
- * <kendo-floatingactionbutton>
15
- * <ng-template kendoDialItemTemplate let-item="item">
16
- * {{ item.label }}
17
- * </ng-template>
18
- * </kendo-floatingactionbutton>
19
- * ```
20
- */
21
- export class DialItemTemplateDirective {
22
- templateRef;
23
- constructor(templateRef) {
24
- this.templateRef = templateRef;
25
- }
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DialItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
27
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DialItemTemplateDirective, isStandalone: true, selector: "[kendoDialItemTemplate]", ngImport: i0 });
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DialItemTemplateDirective, decorators: [{
30
- type: Directive,
31
- args: [{
32
- selector: '[kendoDialItemTemplate]',
33
- standalone: true
34
- }]
35
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
36
- type: Optional
37
- }] }] });
@@ -1,38 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Optional, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents a template that defines the content of the FloatingActionButton.
9
- * To define the template, nest an `<ng-template>` tag with the `kendoFloatingActionButtonTemplate` directive inside the `<kendo-floatingactionbutton>` tag
10
- *
11
- * ([see example](slug:templates_floatingactionbutton#floatingactionbutton-template)).
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-floatingactionbutton>
16
- * <ng-template kendoFloatingActionButtonTemplate>
17
- * Custom Content
18
- * </ng-template>
19
- * </kendo-floatingactionbutton>
20
- * ```
21
- */
22
- export class FloatingActionButtonTemplateDirective {
23
- templateRef;
24
- constructor(templateRef) {
25
- this.templateRef = templateRef;
26
- }
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FloatingActionButtonTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
28
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: FloatingActionButtonTemplateDirective, isStandalone: true, selector: "[kendoFloatingActionButtonTemplate]", ngImport: i0 });
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FloatingActionButtonTemplateDirective, decorators: [{
31
- type: Directive,
32
- args: [{
33
- selector: '[kendoFloatingActionButtonTemplate]',
34
- standalone: true
35
- }]
36
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
37
- type: Optional
38
- }] }] });
@@ -1,38 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export function getAnchorAlign(fabAlign, rtl) {
9
- const align = { horizontal: (rtl ? 'right' : 'left'), vertical: 'bottom' };
10
- if (fabAlign.horizontal === 'end') {
11
- align.horizontal = rtl ? 'left' : 'right';
12
- }
13
- if (fabAlign.vertical === 'bottom') {
14
- align.vertical = 'top';
15
- }
16
- if (fabAlign.vertical === 'bottom' && fabAlign.horizontal === 'end') {
17
- align.horizontal = rtl ? 'left' : 'right';
18
- align.vertical = 'top';
19
- }
20
- return align;
21
- }
22
- /**
23
- * @hidden
24
- */
25
- export function getPopupAlign(fabAlign, rtl) {
26
- const align = { horizontal: (rtl ? 'right' : 'left'), vertical: 'top' };
27
- if (fabAlign.horizontal === 'end') {
28
- align.horizontal = rtl ? 'left' : 'right';
29
- }
30
- if (fabAlign.vertical === 'bottom') {
31
- align.vertical = 'bottom';
32
- }
33
- if (fabAlign.vertical === 'bottom' && fabAlign.horizontal === 'end') {
34
- align.horizontal = rtl ? 'left' : 'right';
35
- align.vertical = 'bottom';
36
- }
37
- return align;
38
- }
@@ -1,38 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable, EventEmitter } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export class FocusService {
11
- onFocus = new EventEmitter();
12
- focusedIndex;
13
- isFocused(index) {
14
- return index === this.focused;
15
- }
16
- focus(index) {
17
- if (this.isFocused(index)) {
18
- return;
19
- }
20
- this.focused = index;
21
- this.onFocus.emit(index);
22
- }
23
- resetFocus() {
24
- this.focused = -1;
25
- }
26
- get focused() {
27
- return this.focusedIndex;
28
- }
29
- set focused(index) {
30
- this.focusedIndex = index;
31
- this.onFocus.emit(index);
32
- }
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FocusService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
34
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FocusService });
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FocusService, decorators: [{
37
- type: Injectable
38
- }] });
@@ -1,67 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, ElementRef, Renderer2 } from '@angular/core';
6
- import { FocusService } from './focus.service';
7
- import { Subscription } from 'rxjs';
8
- import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "./focus.service";
11
- /**
12
- * @hidden
13
- */
14
- export class FocusableDirective {
15
- focusService;
16
- renderer;
17
- index;
18
- element;
19
- subs = new Subscription();
20
- constructor(focusService, elementRef, renderer) {
21
- this.focusService = focusService;
22
- this.renderer = renderer;
23
- this.element = elementRef.nativeElement;
24
- this.subscribeEvents();
25
- }
26
- ngOnInit() {
27
- if (this.index === this.focusService.focused) {
28
- this.renderer.addClass(this.element, 'k-focus');
29
- }
30
- else {
31
- this.renderer.removeClass(this.element, 'k-focus');
32
- }
33
- }
34
- /**
35
- * @hidden
36
- */
37
- ngOnDestroy() {
38
- this.subs.unsubscribe();
39
- }
40
- subscribeEvents() {
41
- if (!isDocumentAvailable()) {
42
- return;
43
- }
44
- this.subs.add(this.focusService.onFocus.subscribe((index) => {
45
- if (this.index === index) {
46
- this.renderer.addClass(this.element, 'k-focus');
47
- this.renderer.setAttribute(this.element, 'tabindex', '0');
48
- this.element.focus();
49
- }
50
- else {
51
- this.renderer.setAttribute(this.element, 'tabindex', '-1');
52
- this.renderer.removeClass(this.element, 'k-focus');
53
- }
54
- }));
55
- }
56
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FocusableDirective, deps: [{ token: i1.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
57
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: FocusableDirective, isStandalone: true, selector: "[kendoButtonFocusable]", inputs: { index: "index" }, ngImport: i0 });
58
- }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FocusableDirective, decorators: [{
60
- type: Directive,
61
- args: [{
62
- selector: '[kendoButtonFocusable]',
63
- standalone: true
64
- }]
65
- }], ctorParameters: () => [{ type: i1.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { index: [{
66
- type: Input
67
- }] } });
package/esm2022/index.mjs DELETED
@@ -1,33 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { ButtonComponent as ButtonDirective, ButtonComponent as Button, ButtonComponent } from './button/button.component';
6
- export { ButtonGroupComponent, ButtonGroupComponent as ButtonGroup } from './buttongroup/buttongroup.component';
7
- export { ButtonGroupModule } from './buttongroup/buttongroup.module';
8
- export { ButtonModule } from './button/button.module';
9
- export { ButtonsModule } from './buttons.module';
10
- export { KendoButtonService } from './button/button.service';
11
- export { SplitButtonComponent, SplitButtonComponent as SplitButton } from './splitbutton/splitbutton.component';
12
- export { SplitButtonModule } from './splitbutton/splitbutton.module';
13
- export { SplitButtonCustomMessagesComponent } from './splitbutton/localization/custom-messages.component';
14
- export { LocalizedSplitButtonMessagesDirective } from './splitbutton/localization/localized-messages.directive';
15
- export { DropDownButtonComponent, DropDownButtonComponent as DropDownButton } from './dropdownbutton/dropdownbutton.component';
16
- export { DropDownButtonModule } from './dropdownbutton/dropdownbutton.module';
17
- export { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
18
- export { ListComponent } from './listbutton/list.component';
19
- export { ChipComponent } from './chip/chip.component';
20
- export { ChipListComponent } from './chip/chip-list.component';
21
- export { ChipModule } from './chip/chip.module';
22
- // Floating Action Button
23
- export { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
24
- export { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
25
- export { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
26
- export { DialItemTemplateDirective } from './floatingactionbutton/templates/dial-item-template.directive';
27
- // SpeechToTextButton
28
- export { SpeechToTextButtonComponent } from './speechtotextbutton/speechtotextbutton.component';
29
- export { SpeechToTextButtonModule } from './speechtotextbutton/speechtotextbutton.module';
30
- export { FocusableDirective } from './focusable/focusable.directive';
31
- export { PreventableEvent } from './preventable-event';
32
- export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
33
- export * from './directives';
@@ -1,47 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Renders the list item content.
9
- *
10
- * To define the item template, nest a `<ng-template>` tag with the `kendo<ComponentName>ItemTemplate` directive inside the component tag.
11
- *
12
- * - Use the `kendoDropDownButtonItemTemplate` directive for the DropDownButton.
13
- * - Use the `kendoSplitButtonItemTemplate` directive for the SplitButton.
14
- *
15
- * The template context is set to the current component. Use the `let-dataItem` directive to reference the current data item.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-splitbutton [data]="listItems">
20
- * <ng-template kendoSplitButtonItemTemplate let-dataItem>
21
- * <span>{{dataItem}} option</span>
22
- * </ng-template>
23
- * </kendo-splitbutton>
24
- * <kendo-dropdownbutton [data]="listItems">
25
- * <ng-template kendoDropDownButtonItemTemplate let-dataItem>
26
- * <span>{{dataItem}} option</span>
27
- * </ng-template>
28
- * </kendo-dropdownbutton>
29
- * ```
30
- *
31
- * For more examples, refer to the article on the [DropDownButton templates](slug:itemstemplates_dropdownbutton).
32
- */
33
- export class ButtonItemTemplateDirective {
34
- templateRef;
35
- constructor(templateRef) {
36
- this.templateRef = templateRef;
37
- }
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ButtonItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
39
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ButtonItemTemplateDirective, isStandalone: true, selector: "[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]", ngImport: i0 });
40
- }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ButtonItemTemplateDirective, decorators: [{
42
- type: Directive,
43
- args: [{
44
- selector: '[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]',
45
- standalone: true
46
- }]
47
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
@@ -1,18 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export class PopupContainerService {
11
- container;
12
- template;
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupContainerService });
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupContainerService, decorators: [{
17
- type: Injectable
18
- }] });