@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.
- 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
|
@@ -5,21 +5,17 @@
|
|
|
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
7
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
+
import { Keys, guid, isDocumentAvailable, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import * as i1 from '@progress/kendo-angular-l10n';
|
|
12
11
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
13
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
13
|
import { take, filter, takeUntil } from 'rxjs/operators';
|
|
14
|
+
import { NgIf, NgTemplateOutlet, NgFor, NgClass, NgStyle } from '@angular/common';
|
|
15
15
|
import { Subject, Subscription, merge, fromEvent } from 'rxjs';
|
|
16
16
|
import { moreVerticalIcon, caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
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 { ButtonComponent, ButtonGroupComponent, DropDownButtonComponent, SplitButtonComponent } from '@progress/kendo-angular-buttons';
|
|
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';
|
|
@@ -1250,8 +1250,8 @@ class ToolBarComponent {
|
|
|
1250
1250
|
return classes;
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
|
-
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1
|
|
1254
|
-
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: [
|
|
1253
|
+
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 });
|
|
1254
|
+
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: [
|
|
1255
1255
|
RefreshService,
|
|
1256
1256
|
NavigationService,
|
|
1257
1257
|
LocalizationService,
|
|
@@ -1315,7 +1315,7 @@ ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
1315
1315
|
</ng-template>
|
|
1316
1316
|
<ng-container #container></ng-container>
|
|
1317
1317
|
<kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
|
|
1318
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1318
|
+
`, 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"] }] });
|
|
1319
1319
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
1320
1320
|
type: Component,
|
|
1321
1321
|
args: [{
|
|
@@ -1386,9 +1386,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1386
1386
|
</ng-template>
|
|
1387
1387
|
<ng-container #container></ng-container>
|
|
1388
1388
|
<kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>
|
|
1389
|
-
|
|
1389
|
+
`,
|
|
1390
|
+
standalone: true,
|
|
1391
|
+
imports: [LocalizedToolbarMessagesDirective, NgFor, ToolBarRendererComponent, NgIf, ButtonComponent, NgClass, ResizeSensorComponent]
|
|
1390
1392
|
}]
|
|
1391
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
1393
|
+
}], 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: [{
|
|
1392
1394
|
type: Input
|
|
1393
1395
|
}], resizable: [{
|
|
1394
1396
|
type: Input
|
|
@@ -1673,7 +1675,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
1673
1675
|
}
|
|
1674
1676
|
}
|
|
1675
1677
|
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 });
|
|
1676
|
-
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: `
|
|
1678
|
+
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: `
|
|
1677
1679
|
<ng-template #toolbarTemplate>
|
|
1678
1680
|
<button
|
|
1679
1681
|
#toolbarButton
|
|
@@ -1725,7 +1727,7 @@ ToolBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1725
1727
|
</span>
|
|
1726
1728
|
</div>
|
|
1727
1729
|
</ng-template>
|
|
1728
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
1730
|
+
`, 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"] }] });
|
|
1729
1731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
|
|
1730
1732
|
type: Component,
|
|
1731
1733
|
args: [{
|
|
@@ -1784,7 +1786,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1784
1786
|
</span>
|
|
1785
1787
|
</div>
|
|
1786
1788
|
</ng-template>
|
|
1787
|
-
|
|
1789
|
+
`,
|
|
1790
|
+
standalone: true,
|
|
1791
|
+
imports: [ButtonComponent, NgStyle, NgClass, NgIf, IconWrapperComponent]
|
|
1788
1792
|
}]
|
|
1789
1793
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { showText: [{
|
|
1790
1794
|
type: Input
|
|
@@ -1970,8 +1974,8 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
1970
1974
|
}
|
|
1971
1975
|
}
|
|
1972
1976
|
}
|
|
1973
|
-
ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, deps: [{ token: i1
|
|
1974
|
-
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: `
|
|
1977
|
+
ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1978
|
+
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: `
|
|
1975
1979
|
<ng-template #toolbarTemplate>
|
|
1976
1980
|
<kendo-buttongroup
|
|
1977
1981
|
class="k-toolbar-button-group"
|
|
@@ -2033,7 +2037,7 @@ ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2033
2037
|
</div>
|
|
2034
2038
|
</ng-container>
|
|
2035
2039
|
</ng-template>
|
|
2036
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2040
|
+
`, 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"] }] });
|
|
2037
2041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
|
|
2038
2042
|
type: Component,
|
|
2039
2043
|
args: [{
|
|
@@ -2102,9 +2106,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2102
2106
|
</div>
|
|
2103
2107
|
</ng-container>
|
|
2104
2108
|
</ng-template>
|
|
2105
|
-
|
|
2109
|
+
`,
|
|
2110
|
+
standalone: true,
|
|
2111
|
+
imports: [ButtonGroupComponent, NgFor, ButtonComponent, NgStyle, NgClass, NgIf, IconWrapperComponent]
|
|
2106
2112
|
}]
|
|
2107
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
2113
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { disabled: [{
|
|
2108
2114
|
type: Input
|
|
2109
2115
|
}], selection: [{
|
|
2110
2116
|
type: Input
|
|
@@ -2228,7 +2234,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2228
2234
|
}
|
|
2229
2235
|
/**
|
|
2230
2236
|
* Sets the text of the DropDownButton
|
|
2231
|
-
* ([see example](
|
|
2237
|
+
* ([see example](slug:controltypes_toolbar#toc-drop-down-buttons).
|
|
2232
2238
|
*/
|
|
2233
2239
|
set text(text) {
|
|
2234
2240
|
this._text = text;
|
|
@@ -2396,7 +2402,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2396
2402
|
}
|
|
2397
2403
|
}
|
|
2398
2404
|
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2399
|
-
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: `
|
|
2405
|
+
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: `
|
|
2400
2406
|
<ng-template #toolbarTemplate>
|
|
2401
2407
|
<kendo-dropdownbutton
|
|
2402
2408
|
#toolbarDropDownButton
|
|
@@ -2462,7 +2468,7 @@ ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2462
2468
|
</div>
|
|
2463
2469
|
</ng-container>
|
|
2464
2470
|
</ng-template>
|
|
2465
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2471
|
+
`, 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"] }] });
|
|
2466
2472
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, decorators: [{
|
|
2467
2473
|
type: Component,
|
|
2468
2474
|
args: [{
|
|
@@ -2535,7 +2541,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2535
2541
|
</div>
|
|
2536
2542
|
</ng-container>
|
|
2537
2543
|
</ng-template>
|
|
2538
|
-
|
|
2544
|
+
`,
|
|
2545
|
+
standalone: true,
|
|
2546
|
+
imports: [DropDownButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
2539
2547
|
}]
|
|
2540
2548
|
}], ctorParameters: function () { return []; }, propDecorators: { arrowIcon: [{
|
|
2541
2549
|
type: Input
|
|
@@ -2704,7 +2712,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2704
2712
|
return this._showText;
|
|
2705
2713
|
}
|
|
2706
2714
|
/**
|
|
2707
|
-
* Sets the text of the SplitButton ([see example](
|
|
2715
|
+
* Sets the text of the SplitButton ([see example](slug:controltypes_toolbar#toc-split-buttons).
|
|
2708
2716
|
*/
|
|
2709
2717
|
set text(text) {
|
|
2710
2718
|
this._text = text;
|
|
@@ -2715,7 +2723,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2715
2723
|
}
|
|
2716
2724
|
/**
|
|
2717
2725
|
* Defines the icon that will be rendered next to the button text
|
|
2718
|
-
* ([see example](
|
|
2726
|
+
* ([see example](slug:controltypes_toolbar#toc-split-buttons)).
|
|
2719
2727
|
*/
|
|
2720
2728
|
set icon(icon) {
|
|
2721
2729
|
this.toolbarOptions.icon = getValueForLocation(icon, this.showIcon, false);
|
|
@@ -2874,7 +2882,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
2874
2882
|
}
|
|
2875
2883
|
}
|
|
2876
2884
|
ToolBarSplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2877
|
-
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: `
|
|
2885
|
+
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: `
|
|
2878
2886
|
<ng-template #toolbarTemplate>
|
|
2879
2887
|
<kendo-splitbutton
|
|
2880
2888
|
#toolbarSplitButton
|
|
@@ -2944,7 +2952,7 @@ ToolBarSplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2944
2952
|
</div>
|
|
2945
2953
|
</ng-container>
|
|
2946
2954
|
</ng-template>
|
|
2947
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2955
|
+
`, 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"] }] });
|
|
2948
2956
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSplitButtonComponent, decorators: [{
|
|
2949
2957
|
type: Component,
|
|
2950
2958
|
args: [{
|
|
@@ -3021,7 +3029,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3021
3029
|
</div>
|
|
3022
3030
|
</ng-container>
|
|
3023
3031
|
</ng-template>
|
|
3024
|
-
|
|
3032
|
+
`,
|
|
3033
|
+
standalone: true,
|
|
3034
|
+
imports: [SplitButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
3025
3035
|
}]
|
|
3026
3036
|
}], ctorParameters: function () { return []; }, propDecorators: { showText: [{
|
|
3027
3037
|
type: Input
|
|
@@ -3118,7 +3128,7 @@ class ToolBarSeparatorComponent extends ToolBarToolComponent {
|
|
|
3118
3128
|
}
|
|
3119
3129
|
}
|
|
3120
3130
|
ToolBarSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3121
|
-
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: `
|
|
3131
|
+
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: `
|
|
3122
3132
|
<ng-template #toolbarTemplate>
|
|
3123
3133
|
<div class="k-separator"></div>
|
|
3124
3134
|
</ng-template>
|
|
@@ -3145,7 +3155,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3145
3155
|
<div class="k-separator k-separator-horizontal"></div>
|
|
3146
3156
|
</div>
|
|
3147
3157
|
</ng-template>
|
|
3148
|
-
|
|
3158
|
+
`,
|
|
3159
|
+
standalone: true
|
|
3149
3160
|
}]
|
|
3150
3161
|
}], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
|
|
3151
3162
|
type: ViewChild,
|
|
@@ -3196,14 +3207,15 @@ class ToolBarSpacerComponent extends ToolBarToolComponent {
|
|
|
3196
3207
|
}
|
|
3197
3208
|
}
|
|
3198
3209
|
ToolBarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3199
|
-
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 });
|
|
3210
|
+
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 });
|
|
3200
3211
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarSpacerComponent, decorators: [{
|
|
3201
3212
|
type: Component,
|
|
3202
3213
|
args: [{
|
|
3203
3214
|
exportAs: 'kendoToolBarSpacer',
|
|
3204
3215
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarSpacerComponent) }],
|
|
3205
3216
|
selector: 'kendo-toolbar-spacer',
|
|
3206
|
-
template:
|
|
3217
|
+
template: ``,
|
|
3218
|
+
standalone: true
|
|
3207
3219
|
}]
|
|
3208
3220
|
}], ctorParameters: function () { return []; }, propDecorators: { toolbarTemplate: [{
|
|
3209
3221
|
type: ViewChild,
|
|
@@ -3213,95 +3225,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3213
3225
|
args: ['popupTemplate', { static: true }]
|
|
3214
3226
|
}] } });
|
|
3215
3227
|
|
|
3216
|
-
/**
|
|
3217
|
-
* @hidden
|
|
3218
|
-
*/
|
|
3219
|
-
class ToolBarButtonListComponent {
|
|
3220
|
-
constructor() {
|
|
3221
|
-
this.disabled = false;
|
|
3222
|
-
this.fillMode = 'solid';
|
|
3223
|
-
this.themeColor = 'base';
|
|
3224
|
-
this.itemClick = new EventEmitter();
|
|
3225
|
-
}
|
|
3226
|
-
getText(dataItem) {
|
|
3227
|
-
if (dataItem) {
|
|
3228
|
-
return this.textField ? dataItem[this.textField] : dataItem.text || dataItem;
|
|
3229
|
-
}
|
|
3230
|
-
return undefined;
|
|
3231
|
-
}
|
|
3232
|
-
onClick(item, index) {
|
|
3233
|
-
const dataItem = this.data[index];
|
|
3234
|
-
if (item.click) {
|
|
3235
|
-
item.click(dataItem);
|
|
3236
|
-
}
|
|
3237
|
-
this.itemClick.emit(dataItem);
|
|
3238
|
-
}
|
|
3239
|
-
}
|
|
3240
|
-
ToolBarButtonListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3241
|
-
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: `
|
|
3242
|
-
<button
|
|
3243
|
-
#button
|
|
3244
|
-
type="button"
|
|
3245
|
-
tabindex="-1"
|
|
3246
|
-
kendoButton
|
|
3247
|
-
[style.padding-left.px]="16"
|
|
3248
|
-
class="k-overflow-button"
|
|
3249
|
-
*ngFor="let item of data; let i = index"
|
|
3250
|
-
[disabled]="disabled || item.disabled"
|
|
3251
|
-
[icon]="item.icon"
|
|
3252
|
-
[iconClass]="item.iconClass"
|
|
3253
|
-
[svgIcon]="item.svgIcon"
|
|
3254
|
-
[imageUrl]="item.imageUrl"
|
|
3255
|
-
[fillMode]="fillMode"
|
|
3256
|
-
[themeColor]="fillMode ? themeColor : null"
|
|
3257
|
-
(click)="onClick(item, i)"
|
|
3258
|
-
>
|
|
3259
|
-
{{ getText(item) }}
|
|
3260
|
-
</button>
|
|
3261
|
-
`, 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"] }] });
|
|
3262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonListComponent, decorators: [{
|
|
3263
|
-
type: Component,
|
|
3264
|
-
args: [{
|
|
3265
|
-
selector: 'kendo-toolbar-buttonlist',
|
|
3266
|
-
template: `
|
|
3267
|
-
<button
|
|
3268
|
-
#button
|
|
3269
|
-
type="button"
|
|
3270
|
-
tabindex="-1"
|
|
3271
|
-
kendoButton
|
|
3272
|
-
[style.padding-left.px]="16"
|
|
3273
|
-
class="k-overflow-button"
|
|
3274
|
-
*ngFor="let item of data; let i = index"
|
|
3275
|
-
[disabled]="disabled || item.disabled"
|
|
3276
|
-
[icon]="item.icon"
|
|
3277
|
-
[iconClass]="item.iconClass"
|
|
3278
|
-
[svgIcon]="item.svgIcon"
|
|
3279
|
-
[imageUrl]="item.imageUrl"
|
|
3280
|
-
[fillMode]="fillMode"
|
|
3281
|
-
[themeColor]="fillMode ? themeColor : null"
|
|
3282
|
-
(click)="onClick(item, i)"
|
|
3283
|
-
>
|
|
3284
|
-
{{ getText(item) }}
|
|
3285
|
-
</button>
|
|
3286
|
-
`
|
|
3287
|
-
}]
|
|
3288
|
-
}], propDecorators: { data: [{
|
|
3289
|
-
type: Input
|
|
3290
|
-
}], textField: [{
|
|
3291
|
-
type: Input
|
|
3292
|
-
}], disabled: [{
|
|
3293
|
-
type: Input
|
|
3294
|
-
}], fillMode: [{
|
|
3295
|
-
type: Input
|
|
3296
|
-
}], themeColor: [{
|
|
3297
|
-
type: Input
|
|
3298
|
-
}], itemClick: [{
|
|
3299
|
-
type: Output
|
|
3300
|
-
}], buttons: [{
|
|
3301
|
-
type: ViewChildren,
|
|
3302
|
-
args: ['button', { read: ElementRef }]
|
|
3303
|
-
}] } });
|
|
3304
|
-
|
|
3305
3228
|
/**
|
|
3306
3229
|
* Custom component messages override default component messages.
|
|
3307
3230
|
*/
|
|
@@ -3314,8 +3237,8 @@ class ToolbarCustomMessagesComponent extends ToolbarMessages {
|
|
|
3314
3237
|
return true;
|
|
3315
3238
|
}
|
|
3316
3239
|
}
|
|
3317
|
-
ToolbarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarCustomMessagesComponent, deps: [{ token: i1
|
|
3318
|
-
ToolbarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarCustomMessagesComponent, selector: "kendo-toolbar-messages", providers: [
|
|
3240
|
+
ToolbarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3241
|
+
ToolbarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarCustomMessagesComponent, isStandalone: true, selector: "kendo-toolbar-messages", providers: [
|
|
3319
3242
|
{
|
|
3320
3243
|
provide: ToolbarMessages,
|
|
3321
3244
|
useExisting: forwardRef(() => ToolbarCustomMessagesComponent)
|
|
@@ -3331,25 +3254,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3331
3254
|
}
|
|
3332
3255
|
],
|
|
3333
3256
|
selector: 'kendo-toolbar-messages',
|
|
3334
|
-
template:
|
|
3257
|
+
template: ``,
|
|
3258
|
+
standalone: true
|
|
3335
3259
|
}]
|
|
3336
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
3260
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
3337
3261
|
|
|
3338
|
-
|
|
3339
|
-
|
|
3262
|
+
/**
|
|
3263
|
+
* Utility array that contains all `@progress/kendo-angular-toolbar` related components and directives
|
|
3264
|
+
*/
|
|
3265
|
+
const KENDO_TOOLBAR = [
|
|
3266
|
+
ToolBarComponent,
|
|
3267
|
+
ToolbarCustomMessagesComponent,
|
|
3340
3268
|
ToolBarButtonComponent,
|
|
3341
3269
|
ToolBarButtonGroupComponent,
|
|
3342
3270
|
ToolBarDropDownButtonComponent,
|
|
3343
|
-
ToolBarSplitButtonComponent,
|
|
3344
3271
|
ToolBarSeparatorComponent,
|
|
3345
|
-
ToolBarSpacerComponent
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
ToolBarRendererComponent,
|
|
3349
|
-
ToolBarButtonListComponent,
|
|
3350
|
-
ToolbarCustomMessagesComponent,
|
|
3351
|
-
LocalizedToolbarMessagesDirective
|
|
3272
|
+
ToolBarSpacerComponent,
|
|
3273
|
+
ToolBarSplitButtonComponent,
|
|
3274
|
+
ToolBarToolComponent
|
|
3352
3275
|
];
|
|
3276
|
+
|
|
3277
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
3353
3278
|
/**
|
|
3354
3279
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the ToolBar component.
|
|
3355
3280
|
*
|
|
@@ -3365,29 +3290,14 @@ const TOOLBAR_COMMON = [
|
|
|
3365
3290
|
class ToolBarModule {
|
|
3366
3291
|
}
|
|
3367
3292
|
ToolBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3368
|
-
ToolBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule,
|
|
3369
|
-
|
|
3370
|
-
ToolBarButtonGroupComponent,
|
|
3371
|
-
ToolBarDropDownButtonComponent,
|
|
3372
|
-
ToolBarSplitButtonComponent,
|
|
3373
|
-
ToolBarSeparatorComponent,
|
|
3374
|
-
ToolBarSpacerComponent, ToolBarRendererComponent,
|
|
3375
|
-
ToolBarButtonListComponent,
|
|
3376
|
-
ToolbarCustomMessagesComponent,
|
|
3377
|
-
LocalizedToolbarMessagesDirective], imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule], exports: [ToolBarComponent, ToolBarToolComponent,
|
|
3378
|
-
ToolBarButtonComponent,
|
|
3379
|
-
ToolBarButtonGroupComponent,
|
|
3380
|
-
ToolBarDropDownButtonComponent,
|
|
3381
|
-
ToolBarSplitButtonComponent,
|
|
3382
|
-
ToolBarSeparatorComponent,
|
|
3383
|
-
ToolBarSpacerComponent, ToolbarCustomMessagesComponent, LocalizedToolbarMessagesDirective] });
|
|
3384
|
-
ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, imports: [CommonModule, ButtonsModule, PopupModule, ResizeSensorModule, IconsModule] });
|
|
3293
|
+
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] });
|
|
3294
|
+
ToolBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [KENDO_TOOLBAR] });
|
|
3385
3295
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarModule, decorators: [{
|
|
3386
3296
|
type: NgModule,
|
|
3387
3297
|
args: [{
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3298
|
+
exports: [...KENDO_TOOLBAR],
|
|
3299
|
+
imports: [...KENDO_TOOLBAR],
|
|
3300
|
+
providers: [IconsService, PopupService, ResizeBatchService]
|
|
3391
3301
|
}]
|
|
3392
3302
|
}] });
|
|
3393
3303
|
|
|
@@ -3395,5 +3305,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3395
3305
|
* Generated bundle index. Do not edit.
|
|
3396
3306
|
*/
|
|
3397
3307
|
|
|
3398
|
-
export { LocalizedToolbarMessagesDirective, RefreshService, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarComponent, ToolBarDropDownButtonComponent, ToolBarModule, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent, ToolbarCustomMessagesComponent };
|
|
3308
|
+
export { KENDO_TOOLBAR, LocalizedToolbarMessagesDirective, RefreshService, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarComponent, ToolBarDropDownButtonComponent, ToolBarModule, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent, ToolbarCustomMessagesComponent };
|
|
3399
3309
|
|
package/index.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export { LocalizedToolbarMessagesDirective } from './localization/localized-tool
|
|
|
18
18
|
export { ToolbarCustomMessagesComponent } from './localization/custom-messages.component';
|
|
19
19
|
export { RefreshService } from './refresh.service';
|
|
20
20
|
export { ToolbarSize } from './common/size';
|
|
21
|
+
export * from './directives';
|
|
@@ -13,5 +13,5 @@ export declare class ToolbarCustomMessagesComponent extends ToolbarMessages {
|
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarCustomMessagesComponent, "kendo-toolbar-messages", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarCustomMessagesComponent, "kendo-toolbar-messages", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class LocalizedToolbarMessagesDirective extends ToolbarMessages {
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedToolbarMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedToolbarMessagesDirective, "[kendoToolbarLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedToolbarMessagesDirective, "[kendoToolbarLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|