@progress/kendo-angular-toolbar 16.5.0 → 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.
- package/directives.d.ts +17 -0
- package/esm2020/directives.mjs +27 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-toolbar-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/renderer.component.mjs +6 -4
- package/esm2020/toolbar.component.mjs +9 -8
- package/esm2020/toolbar.module.mjs +19 -52
- package/esm2020/tools/toolbar-button.component.mjs +8 -6
- package/esm2020/tools/toolbar-buttongroup.component.mjs +8 -7
- package/esm2020/tools/toolbar-dropdownbutton.component.mjs +8 -7
- package/esm2020/tools/toolbar-separator.component.mjs +3 -2
- package/esm2020/tools/toolbar-spacer.component.mjs +3 -2
- package/esm2020/tools/toolbar-splitbutton.component.mjs +9 -8
- package/esm2020/tools/toolbar-tool.component.mjs +3 -2
- package/fesm2015/progress-kendo-angular-toolbar.mjs +81 -171
- package/fesm2020/progress-kendo-angular-toolbar.mjs +81 -171
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-toolbar-messages.directive.d.ts +1 -1
- package/package.json +7 -7
- package/renderer.component.d.ts +1 -1
- package/toolbar.component.d.ts +1 -1
- package/toolbar.module.d.ts +6 -14
- package/tools/toolbar-button.component.d.ts +1 -1
- package/tools/toolbar-buttongroup.component.d.ts +1 -1
- package/tools/toolbar-dropdownbutton.component.d.ts +2 -2
- package/tools/toolbar-separator.component.d.ts +1 -1
- package/tools/toolbar-spacer.component.d.ts +1 -1
- package/tools/toolbar-splitbutton.component.d.ts +3 -3
- package/tools/toolbar-tool.component.d.ts +1 -1
- package/esm2020/tools/toolbar-buttonlist.component.mjs +0 -96
- package/tools/toolbar-buttonlist.component.d.ts +0 -23
|
@@ -52,13 +52,14 @@ export class ToolBarToolComponent {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
ToolBarToolComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
-
ToolBarToolComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarToolComponent, selector: "toolbar-tool", inputs: { responsive: "responsive" }, ngImport: i0, template: ``, isInline: true });
|
|
55
|
+
ToolBarToolComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarToolComponent, isStandalone: true, selector: "toolbar-tool", inputs: { responsive: "responsive" }, ngImport: i0, template: ``, isInline: true });
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarToolComponent, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{
|
|
59
59
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
60
60
|
selector: 'toolbar-tool',
|
|
61
|
-
template:
|
|
61
|
+
template: ``,
|
|
62
|
+
standalone: true
|
|
62
63
|
}]
|
|
63
64
|
}], propDecorators: { responsive: [{
|
|
64
65
|
type: Input
|
|
@@ -4,22 +4,18 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, Injectable, Component, Input, Output, HostBinding, HostListener, Directive, forwardRef, ElementRef, ViewContainerRef, ContentChildren, ViewChild, ViewChildren, isDevMode, NgModule } from '@angular/core';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { Keys, guid, isDocumentAvailable, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
|
+
import * as i1 from '@progress/kendo-angular-l10n';
|
|
10
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
11
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
11
|
import { take, filter, takeUntil } from 'rxjs/operators';
|
|
12
|
+
import { NgIf, NgTemplateOutlet, NgFor, NgClass, NgStyle } from '@angular/common';
|
|
13
13
|
import { Subject, Subscription, merge, fromEvent } from 'rxjs';
|
|
14
14
|
import { moreVerticalIcon, caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
15
|
+
import { ButtonComponent, ButtonGroupComponent, DropDownButtonComponent, SplitButtonComponent } from '@progress/kendo-angular-buttons';
|
|
15
16
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import { CommonModule } from '@angular/common';
|
|
19
|
-
import * as i2$1 from '@progress/kendo-angular-buttons';
|
|
20
|
-
import { DropDownButtonComponent, ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
21
|
-
import * as i3 from '@progress/kendo-angular-icons';
|
|
22
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
17
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
18
|
+
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
23
19
|
|
|
24
20
|
/**
|
|
25
21
|
* @hidden
|
|
@@ -28,8 +24,8 @@ const packageMetadata = {
|
|
|
28
24
|
name: '@progress/kendo-angular-toolbar',
|
|
29
25
|
productName: 'Kendo UI for Angular',
|
|
30
26
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
32
|
-
version: '16.
|
|
27
|
+
publishDate: 1721827618,
|
|
28
|
+
version: '16.6.0-develop.1',
|
|
33
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
30
|
};
|
|
35
31
|
|
|
@@ -453,13 +449,14 @@ class ToolBarToolComponent {
|
|
|
453
449
|
}
|
|
454
450
|
}
|
|
455
451
|
ToolBarToolComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
456
|
-
ToolBarToolComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarToolComponent, selector: "toolbar-tool", inputs: { responsive: "responsive" }, ngImport: i0, template: ``, isInline: true });
|
|
452
|
+
ToolBarToolComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarToolComponent, isStandalone: true, selector: "toolbar-tool", inputs: { responsive: "responsive" }, ngImport: i0, template: ``, isInline: true });
|
|
457
453
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarToolComponent, decorators: [{
|
|
458
454
|
type: Component,
|
|
459
455
|
args: [{
|
|
460
456
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
461
457
|
selector: 'toolbar-tool',
|
|
462
|
-
template:
|
|
458
|
+
template: ``,
|
|
459
|
+
standalone: true
|
|
463
460
|
}]
|
|
464
461
|
}], propDecorators: { responsive: [{
|
|
465
462
|
type: Input
|
|
@@ -626,14 +623,14 @@ class ToolBarRendererComponent {
|
|
|
626
623
|
}
|
|
627
624
|
}
|
|
628
625
|
ToolBarRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarRendererComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: RendererService }, { token: RefreshService }], target: i0.ɵɵFactoryTarget.Component });
|
|
629
|
-
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: `
|
|
626
|
+
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: `
|
|
630
627
|
<ng-container *ngIf="location === 'toolbar'">
|
|
631
628
|
<ng-template [ngTemplateOutlet]="template"></ng-template>
|
|
632
629
|
</ng-container>
|
|
633
630
|
<ng-container *ngIf="location === 'overflow' && tool.responsive">
|
|
634
631
|
<ng-template [ngTemplateOutlet]="template"></ng-template>
|
|
635
632
|
</ng-container>
|
|
636
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
633
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
637
634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarRendererComponent, decorators: [{
|
|
638
635
|
type: Component,
|
|
639
636
|
args: [{
|
|
@@ -647,7 +644,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
647
644
|
<ng-container *ngIf="location === 'overflow' && tool.responsive">
|
|
648
645
|
<ng-template [ngTemplateOutlet]="template"></ng-template>
|
|
649
646
|
</ng-container>
|
|
650
|
-
|
|
647
|
+
`,
|
|
648
|
+
standalone: true,
|
|
649
|
+
imports: [NgIf, NgTemplateOutlet]
|
|
651
650
|
}]
|
|
652
651
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: RendererService }, { type: RefreshService }]; }, propDecorators: { tool: [{
|
|
653
652
|
type: Input
|
|
@@ -694,8 +693,8 @@ class LocalizedToolbarMessagesDirective extends ToolbarMessages {
|
|
|
694
693
|
this.service = service;
|
|
695
694
|
}
|
|
696
695
|
}
|
|
697
|
-
LocalizedToolbarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedToolbarMessagesDirective, deps: [{ token: i1
|
|
698
|
-
LocalizedToolbarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]", providers: [
|
|
696
|
+
LocalizedToolbarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedToolbarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
697
|
+
LocalizedToolbarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedToolbarMessagesDirective, isStandalone: true, selector: "[kendoToolbarLocalizedMessages]", providers: [
|
|
699
698
|
{
|
|
700
699
|
provide: ToolbarMessages,
|
|
701
700
|
useExisting: forwardRef(() => LocalizedToolbarMessagesDirective)
|
|
@@ -710,9 +709,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
710
709
|
useExisting: forwardRef(() => LocalizedToolbarMessagesDirective)
|
|
711
710
|
}
|
|
712
711
|
],
|
|
713
|
-
selector: '[kendoToolbarLocalizedMessages]'
|
|
712
|
+
selector: '[kendoToolbarLocalizedMessages]',
|
|
713
|
+
standalone: true
|
|
714
714
|
}]
|
|
715
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
715
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
716
716
|
|
|
717
717
|
/* eslint-disable no-case-declarations */
|
|
718
718
|
const DEFAULT_SIZE = 'medium';
|
|
@@ -1251,8 +1251,8 @@ class ToolBarComponent {
|
|
|
1251
1251
|
return classes;
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
|
-
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1
|
|
1255
|
-
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: [
|
|
1254
|
+
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: RefreshService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1255
|
+
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: [
|
|
1256
1256
|
RefreshService,
|
|
1257
1257
|
NavigationService,
|
|
1258
1258
|
LocalizationService,
|
|
@@ -1316,7 +1316,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
1316
1316
|
</ng-template>
|
|
1317
1317
|
<ng-container #container></ng-container>
|
|
1318
1318
|
<kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
|
|
1319
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1319
|
+
`, 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"] }] });
|
|
1320
1320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
1321
1321
|
type: Component,
|
|
1322
1322
|
args: [{
|
|
@@ -1387,9 +1387,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1387
1387
|
</ng-template>
|
|
1388
1388
|
<ng-container #container></ng-container>
|
|
1389
1389
|
<kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
|
|
1390
|
-
|
|
1390
|
+
`,
|
|
1391
|
+
standalone: true,
|
|
1392
|
+
imports: [LocalizedToolbarMessagesDirective, NgFor, ToolBarRendererComponent, NgIf, ButtonComponent, NgClass, ResizeSensorComponent]
|
|
1391
1393
|
}]
|
|
1392
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
1394
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: RefreshService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { overflow: [{
|
|
1393
1395
|
type: Input
|
|
1394
1396
|
}], resizable: [{
|
|
1395
1397
|
type: Input
|
|
@@ -1674,7 +1676,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
1674
1676
|
}
|
|
1675
1677
|
}
|
|
1676
1678
|
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 });
|
|
1677
|
-
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: `
|
|
1679
|
+
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: `
|
|
1678
1680
|
<ng-template #toolbarTemplate>
|
|
1679
1681
|
<button
|
|
1680
1682
|
#toolbarButton
|
|
@@ -1726,7 +1728,7 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1726
1728
|
</span>
|
|
1727
1729
|
</div>
|
|
1728
1730
|
</ng-template>
|
|
1729
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
1731
|
+
`, 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"] }] });
|
|
1730
1732
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
|
|
1731
1733
|
type: Component,
|
|
1732
1734
|
args: [{
|
|
@@ -1785,7 +1787,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1785
1787
|
</span>
|
|
1786
1788
|
</div>
|
|
1787
1789
|
</ng-template>
|
|
1788
|
-
|
|
1790
|
+
`,
|
|
1791
|
+
standalone: true,
|
|
1792
|
+
imports: [ButtonComponent, NgStyle, NgClass, NgIf, IconWrapperComponent]
|
|
1789
1793
|
}]
|
|
1790
1794
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { showText: [{
|
|
1791
1795
|
type: Input
|
|
@@ -1972,8 +1976,8 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
1972
1976
|
}
|
|
1973
1977
|
}
|
|
1974
1978
|
}
|
|
1975
|
-
ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, deps: [{ token: i1
|
|
1976
|
-
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: `
|
|
1979
|
+
ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1980
|
+
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: `
|
|
1977
1981
|
<ng-template #toolbarTemplate>
|
|
1978
1982
|
<kendo-buttongroup
|
|
1979
1983
|
class="k-toolbar-button-group"
|
|
@@ -2035,7 +2039,7 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2035
2039
|
</div>
|
|
2036
2040
|
</ng-container>
|
|
2037
2041
|
</ng-template>
|
|
2038
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2042
|
+
`, 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"] }] });
|
|
2039
2043
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
|
|
2040
2044
|
type: Component,
|
|
2041
2045
|
args: [{
|
|
@@ -2104,9 +2108,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2104
2108
|
</div>
|
|
2105
2109
|
</ng-container>
|
|
2106
2110
|
</ng-template>
|
|
2107
|
-
|
|
2111
|
+
`,
|
|
2112
|
+
standalone: true,
|
|
2113
|
+
imports: [ButtonGroupComponent, NgFor, ButtonComponent, NgStyle, NgClass, NgIf, IconWrapperComponent]
|
|
2108
2114
|
}]
|
|
2109
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
2115
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { disabled: [{
|
|
2110
2116
|
type: Input
|
|
2111
2117
|
}], selection: [{
|
|
2112
2118
|
type: Input
|
|
@@ -2230,7 +2236,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2230
2236
|
}
|
|
2231
2237
|
/**
|
|
2232
2238
|
* Sets the text of the DropDownButton
|
|
2233
|
-
* ([see example](
|
|
2239
|
+
* ([see example](slug:controltypes_toolbar#toc-drop-down-buttons).
|
|
2234
2240
|
*/
|
|
2235
2241
|
set text(text) {
|
|
2236
2242
|
this._text = text;
|
|
@@ -2398,7 +2404,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2398
2404
|
}
|
|
2399
2405
|
}
|
|
2400
2406
|
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2401
|
-
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: `
|
|
2407
|
+
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: `
|
|
2402
2408
|
<ng-template #toolbarTemplate>
|
|
2403
2409
|
<kendo-dropdownbutton
|
|
2404
2410
|
#toolbarDropDownButton
|
|
@@ -2464,7 +2470,7 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2464
2470
|
</div>
|
|
2465
2471
|
</ng-container>
|
|
2466
2472
|
</ng-template>
|
|
2467
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2473
|
+
`, 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"] }] });
|
|
2468
2474
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, decorators: [{
|
|
2469
2475
|
type: Component,
|
|
2470
2476
|
args: [{
|
|
@@ -2537,7 +2543,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2537
2543
|
</div>
|
|
2538
2544
|
</ng-container>
|
|
2539
2545
|
</ng-template>
|
|
2540
|
-
|
|
2546
|
+
`,
|
|
2547
|
+
standalone: true,
|
|
2548
|
+
imports: [DropDownButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
2541
2549
|
}]
|
|
2542
2550
|
}], ctorParameters: function () { return []; }, propDecorators: { arrowIcon: [{
|
|
2543
2551
|
type: Input
|
|
@@ -2706,7 +2714,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2706
2714
|
return this._showText;
|
|
2707
2715
|
}
|
|
2708
2716
|
/**
|
|
2709
|
-
* Sets the text of the SplitButton ([see example](
|
|
2717
|
+
* Sets the text of the SplitButton ([see example](slug:controltypes_toolbar#toc-split-buttons).
|
|
2710
2718
|
*/
|
|
2711
2719
|
set text(text) {
|
|
2712
2720
|
this._text = text;
|
|
@@ -2717,7 +2725,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2717
2725
|
}
|
|
2718
2726
|
/**
|
|
2719
2727
|
* Defines the icon that will be rendered next to the button text
|
|
2720
|
-
* ([see example](
|
|
2728
|
+
* ([see example](slug:controltypes_toolbar#toc-split-buttons)).
|
|
2721
2729
|
*/
|
|
2722
2730
|
set icon(icon) {
|
|
2723
2731
|
this.toolbarOptions.icon = getValueForLocation(icon, this.showIcon, false);
|
|
@@ -2876,7 +2884,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2876
2884
|
}
|
|
2877
2885
|
}
|
|
2878
2886
|
ToolBarSplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2879
|
-
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: `
|
|
2887
|
+
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: `
|
|
2880
2888
|
<ng-template #toolbarTemplate>
|
|
2881
2889
|
<kendo-splitbutton
|
|
2882
2890
|
#toolbarSplitButton
|
|
@@ -2946,7 +2954,7 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2946
2954
|
</div>
|
|
2947
2955
|
</ng-container>
|
|
2948
2956
|
</ng-template>
|
|
2949
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2957
|
+
`, 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"] }] });
|
|
2950
2958
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSplitButtonComponent, decorators: [{
|
|
2951
2959
|
type: Component,
|
|
2952
2960
|
args: [{
|
|
@@ -3023,7 +3031,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3023
3031
|
</div>
|
|
3024
3032
|
</ng-container>
|
|
3025
3033
|
</ng-template>
|
|
3026
|
-
|
|
3034
|
+
`,
|
|
3035
|
+
standalone: true,
|
|
3036
|
+
imports: [SplitButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
3027
3037
|
}]
|
|
3028
3038
|
}], ctorParameters: function () { return []; }, propDecorators: { showText: [{
|
|
3029
3039
|
type: Input
|
|
@@ -3120,7 +3130,7 @@ class ToolBarSeparatorComponent extends ToolBarToolComponent {
|
|
|
3120
3130
|
}
|
|
3121
3131
|
}
|
|
3122
3132
|
ToolBarSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3123
|
-
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: `
|
|
3133
|
+
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: `
|
|
3124
3134
|
<ng-template #toolbarTemplate>
|
|
3125
3135
|
<div class="k-separator"></div>
|
|
3126
3136
|
</ng-template>
|
|
@@ -3147,7 +3157,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3147
3157
|
<div class="k-separator k-separator-horizontal"></div>
|
|
3148
3158
|
</div>
|
|
3149
3159
|
</ng-template>
|
|
3150
|
-
|
|
3160
|
+
`,
|
|
3161
|
+
standalone: true
|
|
3151
3162
|
}]
|
|
3152
3163
|
}], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
|
|
3153
3164
|
type: ViewChild,
|
|
@@ -3198,14 +3209,15 @@ class ToolBarSpacerComponent extends ToolBarToolComponent {
|
|
|
3198
3209
|
}
|
|
3199
3210
|
}
|
|
3200
3211
|
ToolBarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3201
|
-
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 });
|
|
3212
|
+
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 });
|
|
3202
3213
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSpacerComponent, decorators: [{
|
|
3203
3214
|
type: Component,
|
|
3204
3215
|
args: [{
|
|
3205
3216
|
exportAs: 'kendoToolBarSpacer',
|
|
3206
3217
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSpacerComponent) }],
|
|
3207
3218
|
selector: 'kendo-toolbar-spacer',
|
|
3208
|
-
template:
|
|
3219
|
+
template: ``,
|
|
3220
|
+
standalone: true
|
|
3209
3221
|
}]
|
|
3210
3222
|
}], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
|
|
3211
3223
|
type: ViewChild,
|
|
@@ -3215,95 +3227,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3215
3227
|
args: ['popupTemplate', { static: true }]
|
|
3216
3228
|
}] } });
|
|
3217
3229
|
|
|
3218
|
-
/**
|
|
3219
|
-
* @hidden
|
|
3220
|
-
*/
|
|
3221
|
-
class ToolBarButtonListComponent {
|
|
3222
|
-
constructor() {
|
|
3223
|
-
this.disabled = false;
|
|
3224
|
-
this.fillMode = 'solid';
|
|
3225
|
-
this.themeColor = 'base';
|
|
3226
|
-
this.itemClick = new EventEmitter();
|
|
3227
|
-
}
|
|
3228
|
-
getText(dataItem) {
|
|
3229
|
-
if (dataItem) {
|
|
3230
|
-
return this.textField ? dataItem[this.textField] : dataItem.text || dataItem;
|
|
3231
|
-
}
|
|
3232
|
-
return undefined;
|
|
3233
|
-
}
|
|
3234
|
-
onClick(item, index) {
|
|
3235
|
-
const dataItem = this.data[index];
|
|
3236
|
-
if (item.click) {
|
|
3237
|
-
item.click(dataItem);
|
|
3238
|
-
}
|
|
3239
|
-
this.itemClick.emit(dataItem);
|
|
3240
|
-
}
|
|
3241
|
-
}
|
|
3242
|
-
ToolBarButtonListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3243
|
-
ToolBarButtonListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonListComponent, selector: "kendo-toolbar-buttonlist", inputs: { data: "data", textField: "textField", disabled: "disabled", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "buttons", predicate: ["button"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
3244
|
-
<button
|
|
3245
|
-
#button
|
|
3246
|
-
type="button"
|
|
3247
|
-
tabindex="-1"
|
|
3248
|
-
kendoButton
|
|
3249
|
-
[style.padding-left.px]="16"
|
|
3250
|
-
class="k-overflow-button"
|
|
3251
|
-
*ngFor="let item of data; let i = index"
|
|
3252
|
-
[disabled]="disabled || item.disabled"
|
|
3253
|
-
[icon]="item.icon"
|
|
3254
|
-
[iconClass]="item.iconClass"
|
|
3255
|
-
[svgIcon]="item.svgIcon"
|
|
3256
|
-
[imageUrl]="item.imageUrl"
|
|
3257
|
-
[fillMode]="fillMode"
|
|
3258
|
-
[themeColor]="fillMode ? themeColor : null"
|
|
3259
|
-
(click)="onClick(item, i)"
|
|
3260
|
-
>
|
|
3261
|
-
{{ getText(item) }}
|
|
3262
|
-
</button>
|
|
3263
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2$1.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"] }] });
|
|
3264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonListComponent, decorators: [{
|
|
3265
|
-
type: Component,
|
|
3266
|
-
args: [{
|
|
3267
|
-
selector: 'kendo-toolbar-buttonlist',
|
|
3268
|
-
template: `
|
|
3269
|
-
<button
|
|
3270
|
-
#button
|
|
3271
|
-
type="button"
|
|
3272
|
-
tabindex="-1"
|
|
3273
|
-
kendoButton
|
|
3274
|
-
[style.padding-left.px]="16"
|
|
3275
|
-
class="k-overflow-button"
|
|
3276
|
-
*ngFor="let item of data; let i = index"
|
|
3277
|
-
[disabled]="disabled || item.disabled"
|
|
3278
|
-
[icon]="item.icon"
|
|
3279
|
-
[iconClass]="item.iconClass"
|
|
3280
|
-
[svgIcon]="item.svgIcon"
|
|
3281
|
-
[imageUrl]="item.imageUrl"
|
|
3282
|
-
[fillMode]="fillMode"
|
|
3283
|
-
[themeColor]="fillMode ? themeColor : null"
|
|
3284
|
-
(click)="onClick(item, i)"
|
|
3285
|
-
>
|
|
3286
|
-
{{ getText(item) }}
|
|
3287
|
-
</button>
|
|
3288
|
-
`
|
|
3289
|
-
}]
|
|
3290
|
-
}], propDecorators: { data: [{
|
|
3291
|
-
type: Input
|
|
3292
|
-
}], textField: [{
|
|
3293
|
-
type: Input
|
|
3294
|
-
}], disabled: [{
|
|
3295
|
-
type: Input
|
|
3296
|
-
}], fillMode: [{
|
|
3297
|
-
type: Input
|
|
3298
|
-
}], themeColor: [{
|
|
3299
|
-
type: Input
|
|
3300
|
-
}], itemClick: [{
|
|
3301
|
-
type: Output
|
|
3302
|
-
}], buttons: [{
|
|
3303
|
-
type: ViewChildren,
|
|
3304
|
-
args: ['button', { read: ElementRef }]
|
|
3305
|
-
}] } });
|
|
3306
|
-
|
|
3307
3230
|
/**
|
|
3308
3231
|
* Custom component messages override default component messages.
|
|
3309
3232
|
*/
|
|
@@ -3316,8 +3239,8 @@ class ToolbarCustomMessagesComponent extends ToolbarMessages {
|
|
|
3316
3239
|
return true;
|
|
3317
3240
|
}
|
|
3318
3241
|
}
|
|
3319
|
-
ToolbarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarCustomMessagesComponent, deps: [{ token: i1
|
|
3320
|
-
ToolbarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarCustomMessagesComponent, selector: "kendo-toolbar-messages", providers: [
|
|
3242
|
+
ToolbarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3243
|
+
ToolbarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarCustomMessagesComponent, isStandalone: true, selector: "kendo-toolbar-messages", providers: [
|
|
3321
3244
|
{
|
|
3322
3245
|
provide: ToolbarMessages,
|
|
3323
3246
|
useExisting: forwardRef(() => ToolbarCustomMessagesComponent)
|
|
@@ -3333,25 +3256,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3333
3256
|
}
|
|
3334
3257
|
],
|
|
3335
3258
|
selector: 'kendo-toolbar-messages',
|
|
3336
|
-
template:
|
|
3259
|
+
template: ``,
|
|
3260
|
+
standalone: true
|
|
3337
3261
|
}]
|
|
3338
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
3262
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
3339
3263
|
|
|
3340
|
-
|
|
3341
|
-
|
|
3264
|
+
/**
|
|
3265
|
+
* Utility array that contains all `@progress/kendo-angular-toolbar` related components and directives
|
|
3266
|
+
*/
|
|
3267
|
+
const KENDO_TOOLBAR = [
|
|
3268
|
+
ToolBarComponent,
|
|
3269
|
+
ToolbarCustomMessagesComponent,
|
|
3342
3270
|
ToolBarButtonComponent,
|
|
3343
3271
|
ToolBarButtonGroupComponent,
|
|
3344
3272
|
ToolBarDropDownButtonComponent,
|
|
3345
|
-
ToolBarSplitButtonComponent,
|
|
3346
3273
|
ToolBarSeparatorComponent,
|
|
3347
|
-
ToolBarSpacerComponent
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
ToolBarRendererComponent,
|
|
3351
|
-
ToolBarButtonListComponent,
|
|
3352
|
-
ToolbarCustomMessagesComponent,
|
|
3353
|
-
LocalizedToolbarMessagesDirective
|
|
3274
|
+
ToolBarSpacerComponent,
|
|
3275
|
+
ToolBarSplitButtonComponent,
|
|
3276
|
+
ToolBarToolComponent
|
|
3354
3277
|
];
|
|
3278
|
+
|
|
3279
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
3355
3280
|
/**
|
|
3356
3281
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the ToolBar component.
|
|
3357
3282
|
*
|
|
@@ -3367,29 +3292,14 @@ const TOOLBAR_COMMON = [
|
|
|
3367
3292
|
class ToolBarModule {
|
|
3368
3293
|
}
|
|
3369
3294
|
ToolBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3370
|
-
ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule,
|
|
3371
|
-
|
|
3372
|
-
ToolBarButtonGroupComponent,
|
|
3373
|
-
ToolBarDropDownButtonComponent,
|
|
3374
|
-
ToolBarSplitButtonComponent,
|
|
3375
|
-
ToolBarSeparatorComponent,
|
|
3376
|
-
ToolBarSpacerComponent, ToolBarRendererComponent,
|
|
3377
|
-
ToolBarButtonListComponent,
|
|
3378
|
-
ToolbarCustomMessagesComponent,
|
|
3379
|
-
LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule], exports: [ToolBarComponent, ToolBarToolComponent,
|
|
3380
|
-
ToolBarButtonComponent,
|
|
3381
|
-
ToolBarButtonGroupComponent,
|
|
3382
|
-
ToolBarDropDownButtonComponent,
|
|
3383
|
-
ToolBarSplitButtonComponent,
|
|
3384
|
-
ToolBarSeparatorComponent,
|
|
3385
|
-
ToolBarSpacerComponent, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective] });
|
|
3386
|
-
ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule] });
|
|
3295
|
+
ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, imports: [ToolBarComponent, ToolbarCustomMessagesComponent, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarDropDownButtonComponent, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent], exports: [ToolBarComponent, ToolbarCustomMessagesComponent, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarDropDownButtonComponent, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent] });
|
|
3296
|
+
ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [KENDO_TOOLBAR] });
|
|
3387
3297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, decorators: [{
|
|
3388
3298
|
type: NgModule,
|
|
3389
3299
|
args: [{
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3300
|
+
exports: [...KENDO_TOOLBAR],
|
|
3301
|
+
imports: [...KENDO_TOOLBAR],
|
|
3302
|
+
providers: [IconsService, PopupService, ResizeBatchService]
|
|
3393
3303
|
}]
|
|
3394
3304
|
}] });
|
|
3395
3305
|
|
|
@@ -3397,5 +3307,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3397
3307
|
* Generated bundle index. Do not edit.
|
|
3398
3308
|
*/
|
|
3399
3309
|
|
|
3400
|
-
export { LocalizedToolbarMessagesDirective, RefreshService, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarComponent, ToolBarDropDownButtonComponent, ToolBarModule, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent, ToolbarCustomMessagesComponent };
|
|
3310
|
+
export { KENDO_TOOLBAR, LocalizedToolbarMessagesDirective, RefreshService, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarComponent, ToolBarDropDownButtonComponent, ToolBarModule, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent, ToolbarCustomMessagesComponent };
|
|
3401
3311
|
|