@progress/kendo-angular-toolbar 16.5.0-develop.6 → 16.6.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 (34) hide show
  1. package/directives.d.ts +17 -0
  2. package/esm2020/directives.mjs +27 -0
  3. package/esm2020/index.mjs +1 -0
  4. package/esm2020/localization/custom-messages.component.mjs +3 -2
  5. package/esm2020/localization/localized-toolbar-messages.directive.mjs +3 -2
  6. package/esm2020/package-metadata.mjs +2 -2
  7. package/esm2020/renderer.component.mjs +6 -4
  8. package/esm2020/toolbar.component.mjs +9 -8
  9. package/esm2020/toolbar.module.mjs +19 -52
  10. package/esm2020/tools/toolbar-button.component.mjs +8 -6
  11. package/esm2020/tools/toolbar-buttongroup.component.mjs +8 -7
  12. package/esm2020/tools/toolbar-dropdownbutton.component.mjs +8 -7
  13. package/esm2020/tools/toolbar-separator.component.mjs +3 -2
  14. package/esm2020/tools/toolbar-spacer.component.mjs +3 -2
  15. package/esm2020/tools/toolbar-splitbutton.component.mjs +9 -8
  16. package/esm2020/tools/toolbar-tool.component.mjs +3 -2
  17. package/fesm2015/progress-kendo-angular-toolbar.mjs +81 -171
  18. package/fesm2020/progress-kendo-angular-toolbar.mjs +81 -171
  19. package/index.d.ts +1 -0
  20. package/localization/custom-messages.component.d.ts +1 -1
  21. package/localization/localized-toolbar-messages.directive.d.ts +1 -1
  22. package/package.json +7 -7
  23. package/renderer.component.d.ts +1 -1
  24. package/toolbar.component.d.ts +1 -1
  25. package/toolbar.module.d.ts +6 -14
  26. package/tools/toolbar-button.component.d.ts +1 -1
  27. package/tools/toolbar-buttongroup.component.d.ts +1 -1
  28. package/tools/toolbar-dropdownbutton.component.d.ts +2 -2
  29. package/tools/toolbar-separator.component.d.ts +1 -1
  30. package/tools/toolbar-spacer.component.d.ts +1 -1
  31. package/tools/toolbar-splitbutton.component.d.ts +3 -3
  32. package/tools/toolbar-tool.component.d.ts +1 -1
  33. package/esm2020/tools/toolbar-buttonlist.component.mjs +0 -96
  34. package/tools/toolbar-buttonlist.component.d.ts +0 -23
@@ -0,0 +1,17 @@
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 { ToolbarCustomMessagesComponent } from "./localization/custom-messages.component";
6
+ import { ToolBarComponent } from "./toolbar.component";
7
+ import { ToolBarButtonComponent } from "./tools/toolbar-button.component";
8
+ import { ToolBarButtonGroupComponent } from "./tools/toolbar-buttongroup.component";
9
+ import { ToolBarDropDownButtonComponent } from "./tools/toolbar-dropdownbutton.component";
10
+ import { ToolBarSeparatorComponent } from "./tools/toolbar-separator.component";
11
+ import { ToolBarSpacerComponent } from "./tools/toolbar-spacer.component";
12
+ import { ToolBarSplitButtonComponent } from "./tools/toolbar-splitbutton.component";
13
+ import { ToolBarToolComponent } from "./tools/toolbar-tool.component";
14
+ /**
15
+ * Utility array that contains all `@progress/kendo-angular-toolbar` related components and directives
16
+ */
17
+ export declare const KENDO_TOOLBAR: readonly [typeof ToolBarComponent, typeof ToolbarCustomMessagesComponent, typeof ToolBarButtonComponent, typeof ToolBarButtonGroupComponent, typeof ToolBarDropDownButtonComponent, typeof ToolBarSeparatorComponent, typeof ToolBarSpacerComponent, typeof ToolBarSplitButtonComponent, typeof ToolBarToolComponent];
@@ -0,0 +1,27 @@
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 { ToolbarCustomMessagesComponent } from "./localization/custom-messages.component";
6
+ import { ToolBarComponent } from "./toolbar.component";
7
+ import { ToolBarButtonComponent } from "./tools/toolbar-button.component";
8
+ import { ToolBarButtonGroupComponent } from "./tools/toolbar-buttongroup.component";
9
+ import { ToolBarDropDownButtonComponent } from "./tools/toolbar-dropdownbutton.component";
10
+ import { ToolBarSeparatorComponent } from "./tools/toolbar-separator.component";
11
+ import { ToolBarSpacerComponent } from "./tools/toolbar-spacer.component";
12
+ import { ToolBarSplitButtonComponent } from "./tools/toolbar-splitbutton.component";
13
+ import { ToolBarToolComponent } from "./tools/toolbar-tool.component";
14
+ /**
15
+ * Utility array that contains all `@progress/kendo-angular-toolbar` related components and directives
16
+ */
17
+ export const KENDO_TOOLBAR = [
18
+ ToolBarComponent,
19
+ ToolbarCustomMessagesComponent,
20
+ ToolBarButtonComponent,
21
+ ToolBarButtonGroupComponent,
22
+ ToolBarDropDownButtonComponent,
23
+ ToolBarSeparatorComponent,
24
+ ToolBarSpacerComponent,
25
+ ToolBarSplitButtonComponent,
26
+ ToolBarToolComponent
27
+ ];
package/esm2020/index.mjs CHANGED
@@ -14,3 +14,4 @@ export { ToolBarModule } from './toolbar.module';
14
14
  export { LocalizedToolbarMessagesDirective } from './localization/localized-toolbar-messages.directive';
15
15
  export { ToolbarCustomMessagesComponent } from './localization/custom-messages.component';
16
16
  export { RefreshService } from './refresh.service';
17
+ export * from './directives';
@@ -20,7 +20,7 @@ export class ToolbarCustomMessagesComponent extends ToolbarMessages {
20
20
  }
21
21
  }
22
22
  ToolbarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- ToolbarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarCustomMessagesComponent, selector: "kendo-toolbar-messages", providers: [
23
+ ToolbarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarCustomMessagesComponent, isStandalone: true, selector: "kendo-toolbar-messages", providers: [
24
24
  {
25
25
  provide: ToolbarMessages,
26
26
  useExisting: forwardRef(() => ToolbarCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-toolbar-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedToolbarMessagesDirective extends ToolbarMessages {
17
17
  }
18
18
  }
19
19
  LocalizedToolbarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedToolbarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedToolbarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]", providers: [
20
+ LocalizedToolbarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedToolbarMessagesDirective, isStandalone: true, selector: "[kendoToolbarLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: ToolbarMessages,
23
23
  useExisting: forwardRef(() => LocalizedToolbarMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedToolbarMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoToolbarLocalizedMessages]'
35
+ selector: '[kendoToolbarLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-toolbar',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721765986,
13
- version: '16.5.0-develop.6',
12
+ publishDate: 1721827618,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -7,10 +7,10 @@ import { outerWidth } from './util';
7
7
  import { ToolBarToolComponent } from './tools/toolbar-tool.component';
8
8
  import { RefreshService } from './refresh.service';
9
9
  import { RendererService } from './renderer.service';
10
+ import { NgIf, NgTemplateOutlet } from '@angular/common';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "./renderer.service";
12
13
  import * as i2 from "./refresh.service";
13
- import * as i3 from "@angular/common";
14
14
  const MIN_SPACER_WIDTH = 18;
15
15
  /**
16
16
  * @hidden
@@ -104,14 +104,14 @@ export class ToolBarRendererComponent {
104
104
  }
105
105
  }
106
106
  ToolBarRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarRendererComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.RendererService }, { token: i2.RefreshService }], target: i0.ɵɵFactoryTarget.Component });
107
- ToolBarRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarRendererComponent, selector: "kendo-toolbar-renderer", inputs: { tool: "tool", location: "location", resizable: "resizable" }, outputs: { rendererClick: "rendererClick" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-spacer": "this.spacerClass", "class.k-toolbar-renderer": "this.hostClass" } }, providers: [RendererService], exportAs: ["kendoToolBarRenderer"], ngImport: i0, template: `
107
+ ToolBarRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarRendererComponent, isStandalone: true, selector: "kendo-toolbar-renderer", inputs: { tool: "tool", location: "location", resizable: "resizable" }, outputs: { rendererClick: "rendererClick" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-spacer": "this.spacerClass", "class.k-toolbar-renderer": "this.hostClass" } }, providers: [RendererService], exportAs: ["kendoToolBarRenderer"], ngImport: i0, template: `
108
108
  <ng-container *ngIf="location === 'toolbar'">
109
109
  <ng-template [ngTemplateOutlet]="template"></ng-template>
110
110
  </ng-container>
111
111
  <ng-container *ngIf="location === 'overflow' && tool.responsive">
112
112
  <ng-template [ngTemplateOutlet]="template"></ng-template>
113
113
  </ng-container>
114
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
114
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
115
115
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarRendererComponent, decorators: [{
116
116
  type: Component,
117
117
  args: [{
@@ -125,7 +125,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
125
125
  <ng-container *ngIf="location === 'overflow' && tool.responsive">
126
126
  <ng-template [ngTemplateOutlet]="template"></ng-template>
127
127
  </ng-container>
128
- `
128
+ `,
129
+ standalone: true,
130
+ imports: [NgIf, NgTemplateOutlet]
129
131
  }]
130
132
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.RendererService }, { type: i2.RefreshService }]; }, propDecorators: { tool: [{
131
133
  type: Input
@@ -15,21 +15,20 @@ import { ToolBarToolComponent } from './tools/toolbar-tool.component';
15
15
  import { innerWidth, closest, isPresent, getStylingClasses, SIZES } from './util';
16
16
  import { Keys } from '@progress/kendo-angular-common';
17
17
  import { PreventableEvent } from './common/preventable-event';
18
+ import { ToolBarRendererComponent } from './renderer.component';
18
19
  import { Subscription, fromEvent, Subject, merge } from 'rxjs';
19
20
  import { take, takeUntil } from 'rxjs/operators';
20
21
  import { filter } from 'rxjs/operators';
21
22
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
22
23
  import { moreVerticalIcon } from '@progress/kendo-svg-icons';
24
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
25
+ import { NgFor, NgIf, NgClass } from '@angular/common';
26
+ import { LocalizedToolbarMessagesDirective } from './localization/localized-toolbar-messages.directive';
23
27
  import * as i0 from "@angular/core";
24
28
  import * as i1 from "@progress/kendo-angular-l10n";
25
29
  import * as i2 from "@progress/kendo-angular-popup";
26
30
  import * as i3 from "./refresh.service";
27
31
  import * as i4 from "./navigation.service";
28
- import * as i5 from "@angular/common";
29
- import * as i6 from "@progress/kendo-angular-buttons";
30
- import * as i7 from "@progress/kendo-angular-common";
31
- import * as i8 from "./renderer.component";
32
- import * as i9 from "./localization/localized-toolbar-messages.directive";
33
32
  const DEFAULT_SIZE = 'medium';
34
33
  const immediateResizeThreshold = 300;
35
34
  const getInitialPopupSettings = (isRtl) => ({
@@ -566,7 +565,7 @@ export class ToolBarComponent {
566
565
  }
567
566
  }
568
567
  ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.RefreshService }, { token: i4.NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
569
- ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
568
+ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
570
569
  RefreshService,
571
570
  NavigationService,
572
571
  LocalizationService,
@@ -630,7 +629,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
630
629
  </ng-template>
631
630
  <ng-container #container></ng-container>
632
631
  <kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
633
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i8.ToolBarRendererComponent, selector: "kendo-toolbar-renderer", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"], exportAs: ["kendoToolBarRenderer"] }, { kind: "directive", type: i9.LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }] });
632
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ToolBarRendererComponent, selector: "kendo-toolbar-renderer", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"], exportAs: ["kendoToolBarRenderer"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
634
633
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, decorators: [{
635
634
  type: Component,
636
635
  args: [{
@@ -701,7 +700,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
701
700
  </ng-template>
702
701
  <ng-container #container></ng-container>
703
702
  <kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
704
- `
703
+ `,
704
+ standalone: true,
705
+ imports: [LocalizedToolbarMessagesDirective, NgFor, ToolBarRendererComponent, NgIf, ButtonComponent, NgClass, ResizeSensorComponent]
705
706
  }]
706
707
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: i3.RefreshService }, { type: i4.NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { overflow: [{
707
708
  type: Input
@@ -3,39 +3,21 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { ButtonsModule } from '@progress/kendo-angular-buttons';
8
- import { PopupModule } from '@progress/kendo-angular-popup';
9
- import { ResizeSensorModule } from '@progress/kendo-angular-common';
10
- import { ToolBarComponent } from './toolbar.component';
11
- import { ToolBarToolComponent } from './tools/toolbar-tool.component';
12
- import { ToolBarButtonComponent } from './tools/toolbar-button.component';
13
- import { ToolBarButtonGroupComponent } from './tools/toolbar-buttongroup.component';
14
- import { ToolBarDropDownButtonComponent } from './tools/toolbar-dropdownbutton.component';
15
- import { ToolBarSplitButtonComponent } from './tools/toolbar-splitbutton.component';
16
- import { ToolBarSeparatorComponent } from './tools/toolbar-separator.component';
17
- import { ToolBarSpacerComponent } from './tools/toolbar-spacer.component';
18
- import { ToolBarRendererComponent } from './renderer.component';
19
- import { ToolBarButtonListComponent } from './tools/toolbar-buttonlist.component';
20
- import { LocalizedToolbarMessagesDirective } from './localization/localized-toolbar-messages.directive';
21
- import { ToolbarCustomMessagesComponent } from './localization/custom-messages.component';
22
- import { IconsModule } from '@progress/kendo-angular-icons';
6
+ import { KENDO_TOOLBAR } from './directives';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
8
+ import { IconsService } from '@progress/kendo-angular-icons';
9
+ import { PopupService } from '@progress/kendo-angular-popup';
23
10
  import * as i0 from "@angular/core";
24
- const TOOLBAR_TOOLS = [
25
- ToolBarToolComponent,
26
- ToolBarButtonComponent,
27
- ToolBarButtonGroupComponent,
28
- ToolBarDropDownButtonComponent,
29
- ToolBarSplitButtonComponent,
30
- ToolBarSeparatorComponent,
31
- ToolBarSpacerComponent
32
- ];
33
- const TOOLBAR_COMMON = [
34
- ToolBarRendererComponent,
35
- ToolBarButtonListComponent,
36
- ToolbarCustomMessagesComponent,
37
- LocalizedToolbarMessagesDirective
38
- ];
11
+ import * as i1 from "./toolbar.component";
12
+ import * as i2 from "./localization/custom-messages.component";
13
+ import * as i3 from "./tools/toolbar-button.component";
14
+ import * as i4 from "./tools/toolbar-buttongroup.component";
15
+ import * as i5 from "./tools/toolbar-dropdownbutton.component";
16
+ import * as i6 from "./tools/toolbar-separator.component";
17
+ import * as i7 from "./tools/toolbar-spacer.component";
18
+ import * as i8 from "./tools/toolbar-splitbutton.component";
19
+ import * as i9 from "./tools/toolbar-tool.component";
20
+ // IMPORTANT: NgModule export kept for backwards compatibility
39
21
  /**
40
22
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the ToolBar component.
41
23
  *
@@ -51,28 +33,13 @@ const TOOLBAR_COMMON = [
51
33
  export class ToolBarModule {
52
34
  }
53
35
  ToolBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54
- ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, declarations: [ToolBarComponent, ToolBarToolComponent,
55
- ToolBarButtonComponent,
56
- ToolBarButtonGroupComponent,
57
- ToolBarDropDownButtonComponent,
58
- ToolBarSplitButtonComponent,
59
- ToolBarSeparatorComponent,
60
- ToolBarSpacerComponent, ToolBarRendererComponent,
61
- ToolBarButtonListComponent,
62
- ToolbarCustomMessagesComponent,
63
- LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule], exports: [ToolBarComponent, ToolBarToolComponent,
64
- ToolBarButtonComponent,
65
- ToolBarButtonGroupComponent,
66
- ToolBarDropDownButtonComponent,
67
- ToolBarSplitButtonComponent,
68
- ToolBarSeparatorComponent,
69
- ToolBarSpacerComponent, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective] });
70
- ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule] });
36
+ ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, imports: [i1.ToolBarComponent, i2.ToolbarCustomMessagesComponent, i3.ToolBarButtonComponent, i4.ToolBarButtonGroupComponent, i5.ToolBarDropDownButtonComponent, i6.ToolBarSeparatorComponent, i7.ToolBarSpacerComponent, i8.ToolBarSplitButtonComponent, i9.ToolBarToolComponent], exports: [i1.ToolBarComponent, i2.ToolbarCustomMessagesComponent, i3.ToolBarButtonComponent, i4.ToolBarButtonGroupComponent, i5.ToolBarDropDownButtonComponent, i6.ToolBarSeparatorComponent, i7.ToolBarSpacerComponent, i8.ToolBarSplitButtonComponent, i9.ToolBarToolComponent] });
37
+ ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [KENDO_TOOLBAR] });
71
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, decorators: [{
72
39
  type: NgModule,
73
40
  args: [{
74
- declarations: [ToolBarComponent, TOOLBAR_TOOLS, TOOLBAR_COMMON],
75
- exports: [ToolBarComponent, TOOLBAR_TOOLS, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective],
76
- imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule]
41
+ exports: [...KENDO_TOOLBAR],
42
+ imports: [...KENDO_TOOLBAR],
43
+ providers: [IconsService, PopupService, ResizeBatchService]
77
44
  }]
78
45
  }] });
@@ -5,11 +5,11 @@
5
5
  import { Component, TemplateRef, forwardRef, ViewChild, Input, Output, EventEmitter, ElementRef, isDevMode, NgZone } from '@angular/core';
6
6
  import { ToolBarToolComponent } from './toolbar-tool.component';
7
7
  import { getValueForLocation } from '../util';
8
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
8
9
  import { take } from 'rxjs/operators';
10
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
11
+ import { NgStyle, NgClass, NgIf } from '@angular/common';
9
12
  import * as i0 from "@angular/core";
10
- import * as i1 from "@angular/common";
11
- import * as i2 from "@progress/kendo-angular-buttons";
12
- import * as i3 from "@progress/kendo-angular-icons";
13
13
  /**
14
14
  * Represents the [Kendo UI ToolBar Button tool for Angular]({% slug controltypes_toolbar %}#toc-buttons).
15
15
  */
@@ -237,7 +237,7 @@ export class ToolBarButtonComponent extends ToolBarToolComponent {
237
237
  }
238
238
  }
239
239
  ToolBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
240
- ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: { showText: "showText", showIcon: "showIcon", text: "text", style: "style", className: "className", title: "title", disabled: "disabled", toggleable: "toggleable", look: "look", togglable: "togglable", selected: "selected", fillMode: "fillMode", themeColor: "themeColor", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon", imageUrl: "imageUrl" }, outputs: { click: "click", pointerdown: "pointerdown", selectedChange: "selectedChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonElement", first: true, predicate: ["toolbarButton"], descendants: true, read: ElementRef }, { propertyName: "overflowButtonElement", first: true, predicate: ["overflowButton"], descendants: true, read: ElementRef }], exportAs: ["kendoToolBarButton"], usesInheritance: true, ngImport: i0, template: `
240
+ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonComponent, isStandalone: true, selector: "kendo-toolbar-button", inputs: { showText: "showText", showIcon: "showIcon", text: "text", style: "style", className: "className", title: "title", disabled: "disabled", toggleable: "toggleable", look: "look", togglable: "togglable", selected: "selected", fillMode: "fillMode", themeColor: "themeColor", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon", imageUrl: "imageUrl" }, outputs: { click: "click", pointerdown: "pointerdown", selectedChange: "selectedChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonElement", first: true, predicate: ["toolbarButton"], descendants: true, read: ElementRef }, { propertyName: "overflowButtonElement", first: true, predicate: ["overflowButton"], descendants: true, read: ElementRef }], exportAs: ["kendoToolBarButton"], usesInheritance: true, ngImport: i0, template: `
241
241
  <ng-template #toolbarTemplate>
242
242
  <button
243
243
  #toolbarButton
@@ -289,7 +289,7 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
289
289
  </span>
290
290
  </div>
291
291
  </ng-template>
292
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
292
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
293
293
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
294
294
  type: Component,
295
295
  args: [{
@@ -348,7 +348,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
348
348
  </span>
349
349
  </div>
350
350
  </ng-template>
351
- `
351
+ `,
352
+ standalone: true,
353
+ imports: [ButtonComponent, NgStyle, NgClass, NgIf, IconWrapperComponent]
352
354
  }]
353
355
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { showText: [{
354
356
  type: Input
@@ -7,12 +7,11 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { ToolBarToolComponent } from './toolbar-tool.component';
8
8
  import { ToolBarButtonComponent } from './toolbar-button.component';
9
9
  import { makePeeker, getIndexOfFocused, seekFocusedIndex, getNextKey, getPrevKey, areEqual } from '../util';
10
- import { ButtonGroupComponent } from '@progress/kendo-angular-buttons';
10
+ import { ButtonGroupComponent, ButtonComponent } from '@progress/kendo-angular-buttons';
11
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
12
+ import { NgFor, NgStyle, NgClass, NgIf } from '@angular/common';
11
13
  import * as i0 from "@angular/core";
12
14
  import * as i1 from "@progress/kendo-angular-l10n";
13
- import * as i2 from "@angular/common";
14
- import * as i3 from "@progress/kendo-angular-buttons";
15
- import * as i4 from "@progress/kendo-angular-icons";
16
15
  /**
17
16
  * Represents the Kendo UI Toolbar ButtonGroup for Angular.
18
17
  */
@@ -144,7 +143,7 @@ export class ToolBarButtonGroupComponent extends ToolBarToolComponent {
144
143
  }
145
144
  }
146
145
  ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
147
- ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", look: "look" }, providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonGroupComponent) }], queries: [{ propertyName: "buttonComponents", predicate: i0.forwardRef(function () { return ToolBarButtonComponent; }) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonGroup", first: true, predicate: ["toolbarButtonGroup"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarButtonGroup"], usesInheritance: true, ngImport: i0, template: `
146
+ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonGroupComponent, isStandalone: true, selector: "kendo-toolbar-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", look: "look" }, providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonGroupComponent) }], queries: [{ propertyName: "buttonComponents", predicate: i0.forwardRef(function () { return ToolBarButtonComponent; }) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonGroup", first: true, predicate: ["toolbarButtonGroup"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarButtonGroup"], usesInheritance: true, ngImport: i0, template: `
148
147
  <ng-template #toolbarTemplate>
149
148
  <kendo-buttongroup
150
149
  class="k-toolbar-button-group"
@@ -206,7 +205,7 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
206
205
  </div>
207
206
  </ng-container>
208
207
  </ng-template>
209
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
208
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
210
209
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
211
210
  type: Component,
212
211
  args: [{
@@ -275,7 +274,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
275
274
  </div>
276
275
  </ng-container>
277
276
  </ng-template>
278
- `
277
+ `,
278
+ standalone: true,
279
+ imports: [ButtonGroupComponent, NgFor, ButtonComponent, NgStyle, NgClass, NgIf, IconWrapperComponent]
279
280
  }]
280
281
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { disabled: [{
281
282
  type: Input
@@ -6,10 +6,9 @@ import { Component, ElementRef, TemplateRef, forwardRef, ViewChild, Input, Event
6
6
  import { ToolBarToolComponent } from './toolbar-tool.component';
7
7
  import { DropDownButtonComponent } from '@progress/kendo-angular-buttons';
8
8
  import { getValueForLocation, makePeeker, getIndexOfFocused, getPrevKey, getNextKey, seekFocusedIndex, areEqual } from '../util';
9
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
10
+ import { NgClass, NgIf, NgFor } from '@angular/common';
9
11
  import * as i0 from "@angular/core";
10
- import * as i1 from "@angular/common";
11
- import * as i2 from "@progress/kendo-angular-buttons";
12
- import * as i3 from "@progress/kendo-angular-icons";
13
12
  /**
14
13
  * Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
15
14
  */
@@ -109,7 +108,7 @@ export class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
109
108
  }
110
109
  /**
111
110
  * Sets the text of the DropDownButton
112
- * ([see example]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
111
+ * ([see example](slug:controltypes_toolbar#toc-drop-down-buttons).
113
112
  */
114
113
  set text(text) {
115
114
  this._text = text;
@@ -277,7 +276,7 @@ export class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
277
276
  }
278
277
  }
279
278
  ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
280
- ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarDropDownButtonComponent, selector: "kendo-toolbar-dropdownbutton", inputs: { arrowIcon: "arrowIcon", title: "title", showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", look: "look", primary: "primary", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", textField: "textField", disabled: "disabled", data: "data" }, outputs: { itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarDropDownButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "dropdownButton", first: true, predicate: ["dropdownButton"], descendants: true, read: ElementRef, static: true }, { propertyName: "dropDownButtonComponent", first: true, predicate: DropDownButtonComponent, descendants: true }, { propertyName: "toolbarDropDownButton", first: true, predicate: ["toolbarDropDownButton"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarDropDownButton"], usesInheritance: true, ngImport: i0, template: `
279
+ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarDropDownButtonComponent, isStandalone: true, selector: "kendo-toolbar-dropdownbutton", inputs: { arrowIcon: "arrowIcon", title: "title", showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", look: "look", primary: "primary", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", textField: "textField", disabled: "disabled", data: "data" }, outputs: { itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarDropDownButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "dropdownButton", first: true, predicate: ["dropdownButton"], descendants: true, read: ElementRef, static: true }, { propertyName: "dropDownButtonComponent", first: true, predicate: DropDownButtonComponent, descendants: true }, { propertyName: "toolbarDropDownButton", first: true, predicate: ["toolbarDropDownButton"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarDropDownButton"], usesInheritance: true, ngImport: i0, template: `
281
280
  <ng-template #toolbarTemplate>
282
281
  <kendo-dropdownbutton
283
282
  #toolbarDropDownButton
@@ -343,7 +342,7 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
343
342
  </div>
344
343
  </ng-container>
345
344
  </ng-template>
346
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
345
+ `, isInline: true, dependencies: [{ kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
347
346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, decorators: [{
348
347
  type: Component,
349
348
  args: [{
@@ -416,7 +415,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
416
415
  </div>
417
416
  </ng-container>
418
417
  </ng-template>
419
- `
418
+ `,
419
+ standalone: true,
420
+ imports: [DropDownButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
420
421
  }]
421
422
  }], ctorParameters: function () { return []; }, propDecorators: { arrowIcon: [{
422
423
  type: Input
@@ -39,7 +39,7 @@ export class ToolBarSeparatorComponent extends ToolBarToolComponent {
39
39
  }
40
40
  }
41
41
  ToolBarSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
- ToolBarSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarSeparatorComponent, selector: "kendo-toolbar-separator", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSeparatorComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "separator", first: true, predicate: ["separator"], descendants: true }], exportAs: ["kendoToolBarSeparator"], usesInheritance: true, ngImport: i0, template: `
42
+ ToolBarSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarSeparatorComponent, isStandalone: true, selector: "kendo-toolbar-separator", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSeparatorComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "separator", first: true, predicate: ["separator"], descendants: true }], exportAs: ["kendoToolBarSeparator"], usesInheritance: true, ngImport: i0, template: `
43
43
  <ng-template #toolbarTemplate>
44
44
  <div class="k-separator"></div>
45
45
  </ng-template>
@@ -66,7 +66,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
66
66
  <div class="k-separator k-separator-horizontal"></div>
67
67
  </div>
68
68
  </ng-template>
69
- `
69
+ `,
70
+ standalone: true
70
71
  }]
71
72
  }], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
72
73
  type: ViewChild,
@@ -43,14 +43,15 @@ export class ToolBarSpacerComponent extends ToolBarToolComponent {
43
43
  }
44
44
  }
45
45
  ToolBarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
- ToolBarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarSpacerComponent, selector: "kendo-toolbar-spacer", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSpacerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], exportAs: ["kendoToolBarSpacer"], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
46
+ ToolBarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarSpacerComponent, isStandalone: true, selector: "kendo-toolbar-spacer", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSpacerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], exportAs: ["kendoToolBarSpacer"], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
47
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSpacerComponent, decorators: [{
48
48
  type: Component,
49
49
  args: [{
50
50
  exportAs: 'kendoToolBarSpacer',
51
51
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSpacerComponent) }],
52
52
  selector: 'kendo-toolbar-spacer',
53
- template: ``
53
+ template: ``,
54
+ standalone: true
54
55
  }]
55
56
  }], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
56
57
  type: ViewChild,
@@ -7,10 +7,9 @@ import { SplitButtonComponent } from '@progress/kendo-angular-buttons';
7
7
  import { ToolBarToolComponent } from './toolbar-tool.component';
8
8
  import { getValueForLocation, makePeeker, getIndexOfFocused, getPrevKey, getNextKey, seekFocusedIndex, areEqual } from '../util';
9
9
  import { caretAltDownIcon } from '@progress/kendo-svg-icons';
10
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
11
+ import { NgClass, NgIf, NgFor } from '@angular/common';
10
12
  import * as i0 from "@angular/core";
11
- import * as i1 from "@angular/common";
12
- import * as i2 from "@progress/kendo-angular-buttons";
13
- import * as i3 from "@progress/kendo-angular-icons";
14
13
  /**
15
14
  * Represents the [Kendo UI ToolBar SplitButton for Angular]({% slug controltypes_toolbar %}#toc-splitbuttons).
16
15
  */
@@ -116,7 +115,7 @@ export class ToolBarSplitButtonComponent extends ToolBarToolComponent {
116
115
  return this._showText;
117
116
  }
118
117
  /**
119
- * Sets the text of the SplitButton ([see example]({% slug controltypes_toolbar %}#toc-splitbuttons).
118
+ * Sets the text of the SplitButton ([see example](slug:controltypes_toolbar#toc-split-buttons).
120
119
  */
121
120
  set text(text) {
122
121
  this._text = text;
@@ -127,7 +126,7 @@ export class ToolBarSplitButtonComponent extends ToolBarToolComponent {
127
126
  }
128
127
  /**
129
128
  * Defines the icon that will be rendered next to the button text
130
- * ([see example]({% slug controltypes_toolbar %}#toc-splitbuttons)).
129
+ * ([see example](slug:controltypes_toolbar#toc-split-buttons)).
131
130
  */
132
131
  set icon(icon) {
133
132
  this.toolbarOptions.icon = getValueForLocation(icon, this.showIcon, false);
@@ -286,7 +285,7 @@ export class ToolBarSplitButtonComponent extends ToolBarToolComponent {
286
285
  }
287
286
  }
288
287
  ToolBarSplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
289
- ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarSplitButtonComponent, selector: "kendo-toolbar-splitbutton", inputs: { showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", disabled: "disabled", popupSettings: "popupSettings", fillMode: "fillMode", themeColor: "themeColor", look: "look", buttonClass: "buttonClass", arrowButtonClass: "arrowButtonClass", arrowButtonIcon: "arrowButtonIcon", arrowButtonSvgIcon: "arrowButtonSvgIcon", textField: "textField", data: "data" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSplitButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarSplitButton", first: true, predicate: ["toolbarSplitButton"], descendants: true }, { propertyName: "overflowMainButton", first: true, predicate: ["overflowMainButton"], descendants: true, read: ElementRef }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarSplitButton"], usesInheritance: true, ngImport: i0, template: `
288
+ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarSplitButtonComponent, isStandalone: true, selector: "kendo-toolbar-splitbutton", inputs: { showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", disabled: "disabled", popupSettings: "popupSettings", fillMode: "fillMode", themeColor: "themeColor", look: "look", buttonClass: "buttonClass", arrowButtonClass: "arrowButtonClass", arrowButtonIcon: "arrowButtonIcon", arrowButtonSvgIcon: "arrowButtonSvgIcon", textField: "textField", data: "data" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSplitButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarSplitButton", first: true, predicate: ["toolbarSplitButton"], descendants: true }, { propertyName: "overflowMainButton", first: true, predicate: ["overflowMainButton"], descendants: true, read: ElementRef }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarSplitButton"], usesInheritance: true, ngImport: i0, template: `
290
289
  <ng-template #toolbarTemplate>
291
290
  <kendo-splitbutton
292
291
  #toolbarSplitButton
@@ -356,7 +355,7 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
356
355
  </div>
357
356
  </ng-container>
358
357
  </ng-template>
359
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.SplitButtonComponent, selector: "kendo-splitbutton", inputs: ["text", "icon", "svgIcon", "iconClass", "type", "imageUrl", "size", "rounded", "fillMode", "themeColor", "disabled", "popupSettings", "tabIndex", "textField", "data", "buttonClass", "arrowButtonClass", "arrowButtonIcon", "arrowButtonSvgIcon", "buttonAttributes"], outputs: ["buttonClick", "itemClick", "focus", "blur", "open", "close"], exportAs: ["kendoSplitButton"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
358
+ `, isInline: true, dependencies: [{ kind: "component", type: SplitButtonComponent, selector: "kendo-splitbutton", inputs: ["text", "icon", "svgIcon", "iconClass", "type", "imageUrl", "size", "rounded", "fillMode", "themeColor", "disabled", "popupSettings", "tabIndex", "textField", "data", "buttonClass", "arrowButtonClass", "arrowButtonIcon", "arrowButtonSvgIcon", "buttonAttributes"], outputs: ["buttonClick", "itemClick", "focus", "blur", "open", "close"], exportAs: ["kendoSplitButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
360
359
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSplitButtonComponent, decorators: [{
361
360
  type: Component,
362
361
  args: [{
@@ -433,7 +432,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
433
432
  </div>
434
433
  </ng-container>
435
434
  </ng-template>
436
- `
435
+ `,
436
+ standalone: true,
437
+ imports: [SplitButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
437
438
  }]
438
439
  }], ctorParameters: function () { return []; }, propDecorators: { showText: [{
439
440
  type: Input