@progress/kendo-angular-toolbar 25.3.1-develop.1 → 25.4.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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { TemplateRef, ElementRef, EventEmitter, OnInit, OnDestroy, Renderer2, ViewContainerRef, NgZone, QueryList, ChangeDetectorRef,
|
|
6
|
+
import { TemplateRef, ElementRef, EventEmitter, OnInit, OnDestroy, Renderer2, ViewContainerRef, NgZone, Injector, QueryList, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
7
7
|
import { Align, PopupRef, PopupService, Collision, Margin, Offset } from '@progress/kendo-angular-popup';
|
|
8
8
|
export { Align, Margin, Offset } from '@progress/kendo-angular-popup';
|
|
9
9
|
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
@@ -45,11 +45,19 @@ declare class ToolBarToolComponent {
|
|
|
45
45
|
toolbarTemplate: TemplateRef<any>;
|
|
46
46
|
sectionTemplate: TemplateRef<any>;
|
|
47
47
|
popupTemplate: TemplateRef<any>;
|
|
48
|
-
tabIndex: number;
|
|
49
|
-
|
|
50
|
-
visibility: string;
|
|
48
|
+
set tabIndex(value: number);
|
|
49
|
+
get tabIndex(): number;
|
|
51
50
|
element: ElementRef;
|
|
52
|
-
|
|
51
|
+
set overflows(value: boolean);
|
|
52
|
+
get overflows(): boolean;
|
|
53
|
+
set visibility(value: string);
|
|
54
|
+
get visibility(): string;
|
|
55
|
+
set isBuiltInTool(value: boolean);
|
|
56
|
+
get isBuiltInTool(): boolean;
|
|
57
|
+
private _isBuiltInTool;
|
|
58
|
+
private _location;
|
|
59
|
+
private _overflows;
|
|
60
|
+
private _visibility;
|
|
53
61
|
/**
|
|
54
62
|
* @hidden
|
|
55
63
|
*/
|
|
@@ -57,7 +65,8 @@ declare class ToolBarToolComponent {
|
|
|
57
65
|
/**
|
|
58
66
|
* @hidden
|
|
59
67
|
*/
|
|
60
|
-
location: RenderLocation;
|
|
68
|
+
set location(value: RenderLocation);
|
|
69
|
+
get location(): RenderLocation;
|
|
61
70
|
constructor();
|
|
62
71
|
/**
|
|
63
72
|
* @hidden
|
|
@@ -85,6 +94,7 @@ declare class ToolBarToolComponent {
|
|
|
85
94
|
* @returns `true` if focus moves to another tool.
|
|
86
95
|
*/
|
|
87
96
|
handleKey(_ev: KeyboardEvent): boolean;
|
|
97
|
+
private _tabIndex;
|
|
88
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarToolComponent, never>;
|
|
89
99
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolBarToolComponent, never, never, { "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, never, true, never>;
|
|
90
100
|
}
|
|
@@ -131,9 +141,9 @@ interface RendererClickPayload {
|
|
|
131
141
|
declare class ToolbarToolsService {
|
|
132
142
|
renderedToolsChange: Subject<ToolBarRendererComponent[]>;
|
|
133
143
|
overflowToolsChange: Subject<ToolBarRendererComponent[]>;
|
|
134
|
-
renderedTools: ToolBarRendererComponent[]
|
|
135
|
-
overflowTools: ToolBarRendererComponent[]
|
|
136
|
-
allTools: ToolBarToolComponent[]
|
|
144
|
+
renderedTools: i0.WritableSignal<ToolBarRendererComponent[]>;
|
|
145
|
+
overflowTools: i0.WritableSignal<ToolBarRendererComponent[]>;
|
|
146
|
+
allTools: i0.WritableSignal<ToolBarToolComponent[]>;
|
|
137
147
|
reset(): void;
|
|
138
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarToolsService, never>;
|
|
139
149
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarToolsService>;
|
|
@@ -148,15 +158,21 @@ declare class ToolBarRendererComponent implements OnInit, OnDestroy {
|
|
|
148
158
|
private refreshService;
|
|
149
159
|
private toolsService;
|
|
150
160
|
private viewContainer;
|
|
151
|
-
tool: ToolBarToolComponent;
|
|
152
|
-
|
|
153
|
-
|
|
161
|
+
set tool(value: ToolBarToolComponent);
|
|
162
|
+
get tool(): ToolBarToolComponent;
|
|
163
|
+
set location(value: RenderLocation);
|
|
164
|
+
get location(): RenderLocation;
|
|
165
|
+
set resizable(value: boolean);
|
|
166
|
+
get resizable(): boolean;
|
|
154
167
|
rendererClick: EventEmitter<RendererClickPayload>;
|
|
155
168
|
template: TemplateRef<any>;
|
|
156
169
|
element: ElementRef;
|
|
157
170
|
private get isSpacer();
|
|
158
171
|
private refreshSubscription;
|
|
159
172
|
private internalComponentRef;
|
|
173
|
+
private _tool;
|
|
174
|
+
private _location;
|
|
175
|
+
private _resizable;
|
|
160
176
|
constructor(renderer: Renderer2, rendererService: RendererService, refreshService: RefreshService, toolsService: ToolbarToolsService, viewContainer: ViewContainerRef);
|
|
161
177
|
ngOnInit(): void;
|
|
162
178
|
ngOnDestroy(): void;
|
|
@@ -186,15 +202,15 @@ type ScrollButtonActiveStateChange = {
|
|
|
186
202
|
* @hidden
|
|
187
203
|
*/
|
|
188
204
|
declare class ScrollService {
|
|
189
|
-
private ngZone;
|
|
190
205
|
private localization;
|
|
206
|
+
private ngZone;
|
|
191
207
|
owner: ToolBarComponent;
|
|
192
208
|
position: number;
|
|
193
209
|
scrollButtonActiveStateChange: Subject<ScrollButtonActiveStateChange>;
|
|
194
210
|
get scrollElement(): HTMLElement;
|
|
195
211
|
get scrollContainerOverflowSize(): number;
|
|
196
212
|
get toolsOverflow(): boolean;
|
|
197
|
-
constructor(
|
|
213
|
+
constructor(localization: LocalizationService, ngZone: NgZone);
|
|
198
214
|
toggleScrollButtonsState(): void;
|
|
199
215
|
onScroll(e: Event): void;
|
|
200
216
|
scrollTools(direction: string): void;
|
|
@@ -211,14 +227,14 @@ declare class ScrollService {
|
|
|
211
227
|
* @hidden
|
|
212
228
|
*/
|
|
213
229
|
declare class NavigationService {
|
|
214
|
-
private zone;
|
|
215
230
|
private scrollService;
|
|
231
|
+
private injector;
|
|
216
232
|
overflowButton: ElementRef<HTMLButtonElement>;
|
|
217
233
|
private focused;
|
|
218
234
|
private renderedTools;
|
|
219
235
|
private isPopupFocused;
|
|
220
236
|
private isOverflowButtonFocused;
|
|
221
|
-
constructor(
|
|
237
|
+
constructor(scrollService: ScrollService, injector: Injector);
|
|
222
238
|
setRenderedTools(rts: ToolBarRendererComponent[]): void;
|
|
223
239
|
click({ context, event: ev }: RendererClickPayload): void;
|
|
224
240
|
moveFocusToToolBar(): void;
|
|
@@ -434,11 +450,12 @@ declare class ToolBarComponent {
|
|
|
434
450
|
refreshService: RefreshService;
|
|
435
451
|
private navigationService;
|
|
436
452
|
element: ElementRef;
|
|
437
|
-
private zone;
|
|
438
453
|
private renderer;
|
|
439
454
|
private _cdr;
|
|
440
455
|
private toolsService;
|
|
441
456
|
private scrollService;
|
|
457
|
+
private injector;
|
|
458
|
+
private zone;
|
|
442
459
|
get overflowClass(): string;
|
|
443
460
|
/**
|
|
444
461
|
* Sets the overflow mode for the ToolBar.
|
|
@@ -467,7 +484,7 @@ declare class ToolBarComponent {
|
|
|
467
484
|
/**
|
|
468
485
|
* @hidden
|
|
469
486
|
*/
|
|
470
|
-
scrollButtonClasses: string[];
|
|
487
|
+
get scrollButtonClasses(): string[];
|
|
471
488
|
/**
|
|
472
489
|
* @hidden
|
|
473
490
|
*/
|
|
@@ -496,7 +513,8 @@ declare class ToolBarComponent {
|
|
|
496
513
|
*
|
|
497
514
|
* @default 0
|
|
498
515
|
*/
|
|
499
|
-
tabindex: number;
|
|
516
|
+
set tabindex(value: number);
|
|
517
|
+
get tabindex(): number;
|
|
500
518
|
/**
|
|
501
519
|
* Sets the size for all ToolBar elements.
|
|
502
520
|
* Use this property to control the padding of the ToolBar elements. The default value is set by the Kendo theme.
|
|
@@ -548,8 +566,10 @@ declare class ToolBarComponent {
|
|
|
548
566
|
startButtonGroup: ElementRef;
|
|
549
567
|
endButtonGroup: ElementRef;
|
|
550
568
|
scrollSeparator: ElementRef;
|
|
551
|
-
popupRef: PopupRef;
|
|
552
|
-
|
|
569
|
+
set popupRef(value: PopupRef);
|
|
570
|
+
get popupRef(): PopupRef;
|
|
571
|
+
private _popupRef;
|
|
572
|
+
get direction(): Direction;
|
|
553
573
|
get appendTo(): ViewContainerRef;
|
|
554
574
|
set popupOpen(open: boolean);
|
|
555
575
|
get popupOpen(): boolean;
|
|
@@ -575,6 +595,8 @@ declare class ToolBarComponent {
|
|
|
575
595
|
private _popupSettings;
|
|
576
596
|
private cachedOverflowAnchorWidth;
|
|
577
597
|
private _open;
|
|
598
|
+
private _direction;
|
|
599
|
+
private _tabindex;
|
|
578
600
|
private toolbarKeydownListener;
|
|
579
601
|
private overflowKeydownListener;
|
|
580
602
|
private sectionKeydownListener;
|
|
@@ -582,10 +604,12 @@ declare class ToolBarComponent {
|
|
|
582
604
|
private cachedGap;
|
|
583
605
|
private _size;
|
|
584
606
|
private _fillMode;
|
|
607
|
+
private _scrollButtonClasses;
|
|
585
608
|
private _showText;
|
|
586
609
|
private _showIcon;
|
|
587
610
|
private overflowButtonClickedTime;
|
|
588
|
-
private
|
|
611
|
+
private _showAutoButtons;
|
|
612
|
+
private _showOverflowSeparator;
|
|
589
613
|
private scrollButtonStateChangeSub;
|
|
590
614
|
private scrollContainerScrollSub;
|
|
591
615
|
/**
|
|
@@ -614,16 +638,15 @@ declare class ToolBarComponent {
|
|
|
614
638
|
* @hidden
|
|
615
639
|
*/
|
|
616
640
|
licenseMessage?: LicenseMessage;
|
|
617
|
-
constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef,
|
|
641
|
+
constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, renderer: Renderer2, _cdr: ChangeDetectorRef, toolsService: ToolbarToolsService, scrollService: ScrollService, injector: Injector, zone: NgZone);
|
|
618
642
|
ngAfterContentInit(): void;
|
|
619
643
|
ngAfterViewInit(): void;
|
|
620
644
|
ngOnInit(): void;
|
|
621
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
622
645
|
ngOnDestroy(): void;
|
|
623
646
|
/**
|
|
624
647
|
* @hidden
|
|
625
648
|
*/
|
|
626
|
-
showOverflowSeparator: boolean;
|
|
649
|
+
get showOverflowSeparator(): boolean;
|
|
627
650
|
/**
|
|
628
651
|
* @hidden
|
|
629
652
|
*/
|
|
@@ -694,7 +717,6 @@ declare class ToolBarComponent {
|
|
|
694
717
|
private showFirstHiddenTool;
|
|
695
718
|
private setPopupContentDimensions;
|
|
696
719
|
private destroyPopup;
|
|
697
|
-
private updateScrollButtonClasses;
|
|
698
720
|
private handleClasses;
|
|
699
721
|
private normalizePopupClasses;
|
|
700
722
|
private setScrollableOverlayClasses;
|
|
@@ -731,8 +753,9 @@ interface ToolOptions {
|
|
|
731
753
|
*/
|
|
732
754
|
declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
733
755
|
element: ElementRef;
|
|
734
|
-
private
|
|
756
|
+
private injector;
|
|
735
757
|
host: ToolBarComponent;
|
|
758
|
+
private cdr;
|
|
736
759
|
/**
|
|
737
760
|
* Specifies the button text visibility.
|
|
738
761
|
* Accepts a `DisplayMode` value.
|
|
@@ -760,13 +783,19 @@ declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
760
783
|
/**
|
|
761
784
|
* Specifies custom inline CSS styles for the Button.
|
|
762
785
|
*/
|
|
763
|
-
style: {
|
|
786
|
+
set style(value: {
|
|
787
|
+
[key: string]: string | number;
|
|
788
|
+
});
|
|
789
|
+
get style(): {
|
|
764
790
|
[key: string]: string | number;
|
|
765
791
|
};
|
|
766
792
|
/**
|
|
767
793
|
* Specifies custom CSS class names to be added to the Button.
|
|
768
794
|
*/
|
|
769
|
-
className: string | Array<string> | {
|
|
795
|
+
set className(value: string | Array<string> | {
|
|
796
|
+
[key: string]: boolean;
|
|
797
|
+
});
|
|
798
|
+
get className(): string | Array<string> | {
|
|
770
799
|
[key: string]: boolean;
|
|
771
800
|
};
|
|
772
801
|
/**
|
|
@@ -775,19 +804,22 @@ declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
775
804
|
* @remarks
|
|
776
805
|
* This property is related to accessibility.
|
|
777
806
|
*/
|
|
778
|
-
title: string;
|
|
807
|
+
set title(value: string);
|
|
808
|
+
get title(): string;
|
|
779
809
|
/**
|
|
780
810
|
* Disables the Button when set to `true`
|
|
781
811
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
782
812
|
*/
|
|
783
|
-
disabled: boolean;
|
|
813
|
+
set disabled(value: boolean);
|
|
814
|
+
get disabled(): boolean;
|
|
784
815
|
/**
|
|
785
816
|
* Provides visual styling to indicate if the Button is active
|
|
786
817
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#toggle-buttons)).
|
|
787
818
|
* For toggleable buttons, set this to `true`.
|
|
788
819
|
* @default false
|
|
789
820
|
*/
|
|
790
|
-
toggleable: boolean;
|
|
821
|
+
set toggleable(value: boolean);
|
|
822
|
+
get toggleable(): boolean;
|
|
791
823
|
/**
|
|
792
824
|
* @hidden
|
|
793
825
|
*/
|
|
@@ -802,19 +834,23 @@ declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
802
834
|
* Use with the `toggleable` property.
|
|
803
835
|
* @default false
|
|
804
836
|
*/
|
|
805
|
-
selected: boolean;
|
|
837
|
+
set selected(value: boolean);
|
|
838
|
+
get selected(): boolean;
|
|
806
839
|
/**
|
|
807
840
|
* Specifies the background and border styles of the Button. The default value is set by the Kendo theme.
|
|
808
841
|
*/
|
|
809
|
-
fillMode: ButtonFillMode;
|
|
842
|
+
set fillMode(value: ButtonFillMode);
|
|
843
|
+
get fillMode(): ButtonFillMode;
|
|
810
844
|
/**
|
|
811
845
|
* Specifies the border radius of the Button. The default value is set by the Kendo theme.
|
|
812
846
|
*/
|
|
813
|
-
rounded: ButtonRounded;
|
|
847
|
+
set rounded(value: ButtonRounded);
|
|
848
|
+
get rounded(): ButtonRounded;
|
|
814
849
|
/**
|
|
815
850
|
* Specifies the predefined theme color of the Button. The default value is set by the Kendo theme.
|
|
816
851
|
*/
|
|
817
|
-
themeColor: ButtonThemeColor;
|
|
852
|
+
set themeColor(value: ButtonThemeColor);
|
|
853
|
+
get themeColor(): ButtonThemeColor;
|
|
818
854
|
/**
|
|
819
855
|
* Defines the name for an existing icon in a Kendo UI theme
|
|
820
856
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
@@ -849,8 +885,10 @@ declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
849
885
|
* The event argument is the new selected state (Boolean).
|
|
850
886
|
*/
|
|
851
887
|
selectedChange: EventEmitter<any>;
|
|
852
|
-
toolbarOptions: ToolOptions;
|
|
853
|
-
|
|
888
|
+
set toolbarOptions(value: ToolOptions);
|
|
889
|
+
get toolbarOptions(): ToolOptions;
|
|
890
|
+
set overflowOptions(value: ToolOptions);
|
|
891
|
+
get overflowOptions(): ToolOptions;
|
|
854
892
|
/**
|
|
855
893
|
* @hidden
|
|
856
894
|
*/
|
|
@@ -859,21 +897,39 @@ declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
859
897
|
* @hidden
|
|
860
898
|
*/
|
|
861
899
|
showBadge: boolean;
|
|
900
|
+
/**
|
|
901
|
+
* @hidden
|
|
902
|
+
*/
|
|
903
|
+
set location(value: RenderLocation);
|
|
904
|
+
/**
|
|
905
|
+
* @hidden
|
|
906
|
+
*/
|
|
907
|
+
get location(): RenderLocation;
|
|
862
908
|
toolbarButtonElement: ElementRef;
|
|
863
909
|
sectionButtonElement: ElementRef;
|
|
864
910
|
private overflowButtonElement;
|
|
865
|
-
private _showText;
|
|
866
|
-
private _showIcon;
|
|
867
|
-
private _text;
|
|
868
911
|
private _icon;
|
|
869
912
|
private _iconClass;
|
|
870
913
|
private _svgIcon;
|
|
871
914
|
private _imageUrl;
|
|
915
|
+
private _showText;
|
|
916
|
+
private _showIcon;
|
|
917
|
+
private _text;
|
|
918
|
+
private _style;
|
|
919
|
+
private _className;
|
|
920
|
+
private _title;
|
|
921
|
+
private _disabled;
|
|
922
|
+
private _toggleable;
|
|
923
|
+
private _selected;
|
|
924
|
+
private _fillMode;
|
|
925
|
+
private _rounded;
|
|
926
|
+
private _themeColor;
|
|
872
927
|
private propertyChangeSub;
|
|
873
|
-
|
|
928
|
+
private _overflowOptions;
|
|
929
|
+
private _toolbarOptions;
|
|
930
|
+
constructor(element: ElementRef, injector: Injector, host: ToolBarComponent, cdr: ChangeDetectorRef);
|
|
874
931
|
ngOnInit(): void;
|
|
875
932
|
ngOnDestroy(): void;
|
|
876
|
-
ngOnChanges(changes: any): void;
|
|
877
933
|
/**
|
|
878
934
|
* @hidden
|
|
879
935
|
*/
|
|
@@ -936,28 +992,33 @@ type ButtonGroupSelection = "single" | "multiple";
|
|
|
936
992
|
declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
937
993
|
private localization;
|
|
938
994
|
private host;
|
|
995
|
+
private cdr;
|
|
939
996
|
/**
|
|
940
997
|
* When `true`, disables the whole group of buttons.
|
|
941
998
|
* If you set the `disabled` property of the group, it overrides the `disabled` property of individual buttons.
|
|
942
999
|
*/
|
|
943
|
-
disabled: boolean;
|
|
1000
|
+
set disabled(value: boolean);
|
|
1001
|
+
get disabled(): boolean;
|
|
944
1002
|
/**
|
|
945
1003
|
* @hidden
|
|
946
1004
|
*
|
|
947
1005
|
* Used to set different fillmode in Spreadsheet and Toolbar to comply with referent rendering.
|
|
948
1006
|
* @default undefined
|
|
949
1007
|
*/
|
|
950
|
-
fillMode: 'solid' | 'flat';
|
|
1008
|
+
set fillMode(value: 'solid' | 'flat');
|
|
1009
|
+
get fillMode(): 'solid' | 'flat';
|
|
951
1010
|
/**
|
|
952
1011
|
* Sets the selection mode of the ButtonGroup.
|
|
953
1012
|
* @default 'multiple'
|
|
954
1013
|
*/
|
|
955
|
-
selection: ButtonGroupSelection;
|
|
1014
|
+
set selection(value: ButtonGroupSelection);
|
|
1015
|
+
get selection(): ButtonGroupSelection;
|
|
956
1016
|
/**
|
|
957
1017
|
* Sets the width of the ButtonGroup.
|
|
958
1018
|
* When you set the width of the ButtonGroup, the buttons have the same width and resize to fill the group wrapper.
|
|
959
1019
|
*/
|
|
960
|
-
width: string;
|
|
1020
|
+
set width(value: string);
|
|
1021
|
+
get width(): string;
|
|
961
1022
|
/**
|
|
962
1023
|
* @hidden
|
|
963
1024
|
*/
|
|
@@ -966,11 +1027,23 @@ declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
966
1027
|
private sectionButtonGroup;
|
|
967
1028
|
overflowListItems: QueryList<ElementRef>;
|
|
968
1029
|
buttonComponents: QueryList<ToolBarButtonComponent>;
|
|
1030
|
+
/**
|
|
1031
|
+
* @hidden
|
|
1032
|
+
*/
|
|
1033
|
+
set location(value: RenderLocation);
|
|
1034
|
+
/**
|
|
1035
|
+
* @hidden
|
|
1036
|
+
*/
|
|
1037
|
+
get location(): RenderLocation;
|
|
969
1038
|
private get buttonElements();
|
|
1039
|
+
private _disabled;
|
|
1040
|
+
private _fillMode;
|
|
1041
|
+
private _selection;
|
|
1042
|
+
private _width;
|
|
970
1043
|
private focusedIndex;
|
|
971
1044
|
private getNextKey;
|
|
972
1045
|
private getPrevKey;
|
|
973
|
-
constructor(localization: LocalizationService, host: ToolBarComponent);
|
|
1046
|
+
constructor(localization: LocalizationService, host: ToolBarComponent, cdr: ChangeDetectorRef);
|
|
974
1047
|
/**
|
|
975
1048
|
* @hidden
|
|
976
1049
|
*/
|
|
@@ -1035,14 +1108,14 @@ declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
1035
1108
|
*
|
|
1036
1109
|
*/
|
|
1037
1110
|
declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
1038
|
-
private zone;
|
|
1039
|
-
private renderer;
|
|
1040
1111
|
private host;
|
|
1112
|
+
private cdr;
|
|
1041
1113
|
/**
|
|
1042
1114
|
* Shows the default arrow icon or lets you provide a custom one.
|
|
1043
1115
|
* @default false
|
|
1044
1116
|
*/
|
|
1045
|
-
arrowIcon: boolean | ArrowIconSettings;
|
|
1117
|
+
set arrowIcon(value: boolean | ArrowIconSettings);
|
|
1118
|
+
get arrowIcon(): boolean | ArrowIconSettings;
|
|
1046
1119
|
/**
|
|
1047
1120
|
* Sets the `title` attribute of the underlying button element.
|
|
1048
1121
|
* @default ''
|
|
@@ -1050,7 +1123,8 @@ declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implem
|
|
|
1050
1123
|
* @remarks
|
|
1051
1124
|
* This property is related to accessibility.
|
|
1052
1125
|
*/
|
|
1053
|
-
title: string;
|
|
1126
|
+
set title(value: string);
|
|
1127
|
+
get title(): string;
|
|
1054
1128
|
/**
|
|
1055
1129
|
* Controls the button text visibility.
|
|
1056
1130
|
* @default 'always'
|
|
@@ -1104,27 +1178,32 @@ declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implem
|
|
|
1104
1178
|
* Sets the fill mode for the button.
|
|
1105
1179
|
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
1106
1180
|
*/
|
|
1107
|
-
fillMode: ButtonFillMode;
|
|
1181
|
+
set fillMode(value: ButtonFillMode);
|
|
1182
|
+
get fillMode(): ButtonFillMode;
|
|
1108
1183
|
/**
|
|
1109
1184
|
* Sets the predefined theme color for the button.
|
|
1110
1185
|
* The theme color applies to the background, border, and text
|
|
1111
1186
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
|
|
1112
1187
|
*/
|
|
1113
|
-
themeColor: ButtonThemeColor;
|
|
1188
|
+
set themeColor(value: ButtonThemeColor);
|
|
1189
|
+
get themeColor(): ButtonThemeColor;
|
|
1114
1190
|
/**
|
|
1115
1191
|
* Sets the CSS classes for the main button.
|
|
1116
1192
|
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
1117
1193
|
*/
|
|
1118
|
-
buttonClass: string;
|
|
1194
|
+
set buttonClass(value: string);
|
|
1195
|
+
get buttonClass(): string;
|
|
1119
1196
|
/**
|
|
1120
1197
|
* Sets the data item field that repesents the item text.
|
|
1121
1198
|
* If the data contains only primitive values, do not set this property.
|
|
1122
1199
|
*/
|
|
1123
|
-
textField: string;
|
|
1200
|
+
set textField(value: string);
|
|
1201
|
+
get textField(): string;
|
|
1124
1202
|
/**
|
|
1125
1203
|
* When `true`, disables the DropDownButton.
|
|
1126
1204
|
*/
|
|
1127
|
-
disabled: boolean;
|
|
1205
|
+
set disabled(value: boolean);
|
|
1206
|
+
get disabled(): boolean;
|
|
1128
1207
|
/**
|
|
1129
1208
|
* Sets the data of the DropDownButton
|
|
1130
1209
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
@@ -1155,12 +1234,27 @@ declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implem
|
|
|
1155
1234
|
toolbarOptions: ToolOptions;
|
|
1156
1235
|
overflowOptions: ToolOptions;
|
|
1157
1236
|
private get overflowButtons();
|
|
1237
|
+
/**
|
|
1238
|
+
* @hidden
|
|
1239
|
+
*/
|
|
1240
|
+
set location(value: RenderLocation);
|
|
1241
|
+
/**
|
|
1242
|
+
* @hidden
|
|
1243
|
+
*/
|
|
1244
|
+
get location(): RenderLocation;
|
|
1158
1245
|
private _data;
|
|
1159
1246
|
private _popupSettings;
|
|
1160
1247
|
private focusedIndex;
|
|
1161
1248
|
private _showText;
|
|
1162
1249
|
private _showIcon;
|
|
1163
1250
|
private _text;
|
|
1251
|
+
private _arrowIcon;
|
|
1252
|
+
private _title;
|
|
1253
|
+
private _fillMode;
|
|
1254
|
+
private _themeColor;
|
|
1255
|
+
private _buttonClass;
|
|
1256
|
+
private _textField;
|
|
1257
|
+
private _disabled;
|
|
1164
1258
|
private _icon;
|
|
1165
1259
|
private _iconClass;
|
|
1166
1260
|
private _svgIcon;
|
|
@@ -1168,10 +1262,10 @@ declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implem
|
|
|
1168
1262
|
private propertyChangeSub;
|
|
1169
1263
|
private getNextKey;
|
|
1170
1264
|
private getPrevKey;
|
|
1171
|
-
constructor(
|
|
1265
|
+
constructor(host: ToolBarComponent, cdr: ChangeDetectorRef);
|
|
1172
1266
|
ngOnInit(): void;
|
|
1173
1267
|
ngOnDestroy(): void;
|
|
1174
|
-
|
|
1268
|
+
get toolbarMenuButtonClass(): string;
|
|
1175
1269
|
/**
|
|
1176
1270
|
* @hidden
|
|
1177
1271
|
*/
|
|
@@ -1222,6 +1316,7 @@ declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implem
|
|
|
1222
1316
|
*/
|
|
1223
1317
|
declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
1224
1318
|
private host;
|
|
1319
|
+
private cdr;
|
|
1225
1320
|
/**
|
|
1226
1321
|
* Controls the button text visibility.
|
|
1227
1322
|
* @default 'always'
|
|
@@ -1260,7 +1355,8 @@ declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implement
|
|
|
1260
1355
|
/**
|
|
1261
1356
|
* When `true`, disables a SplitButton item.
|
|
1262
1357
|
*/
|
|
1263
|
-
disabled: boolean;
|
|
1358
|
+
set disabled(value: boolean);
|
|
1359
|
+
get disabled(): boolean;
|
|
1264
1360
|
/**
|
|
1265
1361
|
* Configures the popup of the SplitButton.
|
|
1266
1362
|
* Accepts a `PopupSettings` object that allows you to customize the popup behavior and appearance.
|
|
@@ -1272,12 +1368,14 @@ declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implement
|
|
|
1272
1368
|
* Sets the fill mode for the button.
|
|
1273
1369
|
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
1274
1370
|
*/
|
|
1275
|
-
fillMode: ButtonFillMode;
|
|
1371
|
+
set fillMode(value: ButtonFillMode);
|
|
1372
|
+
get fillMode(): ButtonFillMode;
|
|
1276
1373
|
/**
|
|
1277
1374
|
* Sets the predefined theme color for the button.
|
|
1278
1375
|
* The theme color applies to the background, border, and text. The default value is set by the Kendo theme.
|
|
1279
1376
|
*/
|
|
1280
|
-
themeColor: ButtonThemeColor;
|
|
1377
|
+
set themeColor(value: ButtonThemeColor);
|
|
1378
|
+
get themeColor(): ButtonThemeColor;
|
|
1281
1379
|
/**
|
|
1282
1380
|
* @hidden
|
|
1283
1381
|
*/
|
|
@@ -1286,25 +1384,30 @@ declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implement
|
|
|
1286
1384
|
* Sets the CSS classes for the main button.
|
|
1287
1385
|
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
1288
1386
|
*/
|
|
1289
|
-
buttonClass: string;
|
|
1387
|
+
set buttonClass(value: string);
|
|
1388
|
+
get buttonClass(): string;
|
|
1290
1389
|
/**
|
|
1291
1390
|
* Sets the CSS classes for the arrow button that opens the popup.
|
|
1292
1391
|
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
1293
1392
|
*/
|
|
1294
|
-
arrowButtonClass: any;
|
|
1393
|
+
set arrowButtonClass(value: any);
|
|
1394
|
+
get arrowButtonClass(): any;
|
|
1295
1395
|
/**
|
|
1296
1396
|
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
1297
1397
|
*/
|
|
1298
|
-
arrowButtonIcon: string;
|
|
1398
|
+
set arrowButtonIcon(value: string);
|
|
1399
|
+
get arrowButtonIcon(): string;
|
|
1299
1400
|
/**
|
|
1300
1401
|
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
1301
1402
|
*/
|
|
1302
|
-
arrowButtonSvgIcon: SVGIcon;
|
|
1403
|
+
set arrowButtonSvgIcon(value: SVGIcon);
|
|
1404
|
+
get arrowButtonSvgIcon(): SVGIcon;
|
|
1303
1405
|
/**
|
|
1304
1406
|
* Sets the text field for the button-list popup.
|
|
1305
1407
|
* @default 'text'
|
|
1306
1408
|
*/
|
|
1307
|
-
textField: string;
|
|
1409
|
+
set textField(value: string);
|
|
1410
|
+
get textField(): string;
|
|
1308
1411
|
/**
|
|
1309
1412
|
* Sets the data of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
1310
1413
|
*
|
|
@@ -1336,16 +1439,24 @@ declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implement
|
|
|
1336
1439
|
ngOnInit(): void;
|
|
1337
1440
|
ngOnDestroy(): void;
|
|
1338
1441
|
private get overflowButtons();
|
|
1442
|
+
private _icon;
|
|
1443
|
+
private _iconClass;
|
|
1444
|
+
private _svgIcon;
|
|
1445
|
+
private _imageUrl;
|
|
1339
1446
|
private _data;
|
|
1340
1447
|
private _popupSettings;
|
|
1341
1448
|
private focusedIndex;
|
|
1342
1449
|
private _showText;
|
|
1343
1450
|
private _showIcon;
|
|
1344
1451
|
private _text;
|
|
1345
|
-
private
|
|
1346
|
-
private
|
|
1347
|
-
private
|
|
1348
|
-
private
|
|
1452
|
+
private _disabled;
|
|
1453
|
+
private _fillMode;
|
|
1454
|
+
private _themeColor;
|
|
1455
|
+
private _buttonClass;
|
|
1456
|
+
private _arrowButtonClass;
|
|
1457
|
+
private _arrowButtonIcon;
|
|
1458
|
+
private _arrowButtonSvgIcon;
|
|
1459
|
+
private _textField;
|
|
1349
1460
|
private propertyChangeSub;
|
|
1350
1461
|
private getNextKey;
|
|
1351
1462
|
private getPrevKey;
|
|
@@ -1353,7 +1464,15 @@ declare class ToolBarSplitButtonComponent extends ToolBarToolComponent implement
|
|
|
1353
1464
|
private sectionSplitButton;
|
|
1354
1465
|
private overflowMainButton;
|
|
1355
1466
|
overflowListItems: QueryList<ElementRef>;
|
|
1356
|
-
|
|
1467
|
+
/**
|
|
1468
|
+
* @hidden
|
|
1469
|
+
*/
|
|
1470
|
+
set location(value: RenderLocation);
|
|
1471
|
+
/**
|
|
1472
|
+
* @hidden
|
|
1473
|
+
*/
|
|
1474
|
+
get location(): RenderLocation;
|
|
1475
|
+
constructor(host: ToolBarComponent, cdr: ChangeDetectorRef);
|
|
1357
1476
|
/**
|
|
1358
1477
|
* @hidden
|
|
1359
1478
|
*/
|
|
@@ -1471,15 +1590,21 @@ declare class ToolbarMessages extends ComponentMessages {
|
|
|
1471
1590
|
/**
|
|
1472
1591
|
* Sets the title of the **More Tools** button in a responsive ToolBar.
|
|
1473
1592
|
*/
|
|
1474
|
-
moreToolsTitle: string;
|
|
1593
|
+
set moreToolsTitle(value: string);
|
|
1594
|
+
get moreToolsTitle(): string;
|
|
1475
1595
|
/**
|
|
1476
1596
|
* Sets the title for the **Previous Tool** button when the ToolBar is scrollable.
|
|
1477
1597
|
*/
|
|
1478
|
-
previousToolButton: string;
|
|
1598
|
+
set previousToolButton(value: string);
|
|
1599
|
+
get previousToolButton(): string;
|
|
1479
1600
|
/**
|
|
1480
1601
|
* Sets the title for the **Next Tool** button when the ToolBar is scrollable.
|
|
1481
1602
|
*/
|
|
1482
|
-
nextToolButton: string;
|
|
1603
|
+
set nextToolButton(value: string);
|
|
1604
|
+
get nextToolButton(): string;
|
|
1605
|
+
private _moreToolsTitle;
|
|
1606
|
+
private _previousToolButton;
|
|
1607
|
+
private _nextToolButton;
|
|
1483
1608
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMessages, never>;
|
|
1484
1609
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarMessages, "kendo-toolbar-messages-base", never, { "moreToolsTitle": { "alias": "moreToolsTitle"; "required": false; }; "previousToolButton": { "alias": "previousToolButton"; "required": false; }; "nextToolButton": { "alias": "nextToolButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
1485
1610
|
}
|
|
@@ -1702,12 +1827,13 @@ declare class FloatingToolBarComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
1702
1827
|
value: any;
|
|
1703
1828
|
}>;
|
|
1704
1829
|
protected dragHandleIcon: SVGIcon;
|
|
1705
|
-
protected direction: 'ltr' | 'rtl';
|
|
1830
|
+
protected get direction(): 'ltr' | 'rtl';
|
|
1706
1831
|
protected moveMode: i0.Signal<boolean>;
|
|
1707
1832
|
protected popupClass: i0.Signal<string>;
|
|
1708
1833
|
protected popupPosition: i0.Signal<PopupPosition>;
|
|
1709
1834
|
protected popupPositionMode: i0.Signal<"absolute" | "fixed">;
|
|
1710
1835
|
protected get dragHandleTitle(): string;
|
|
1836
|
+
private _direction;
|
|
1711
1837
|
private _anchor;
|
|
1712
1838
|
private _position;
|
|
1713
1839
|
private _containerAlign;
|