@progress/kendo-angular-toolbar 22.1.0-develop.9 → 23.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/fillmode.d.ts +1 -1
- package/common/overflow-settings.d.ts +2 -2
- package/common/size.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-toolbar.mjs +122 -124
- package/group-selection-settings.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/toolbar.component.d.ts +5 -5
- package/tools/toolbar-button.component.d.ts +9 -9
- package/tools/toolbar-buttongroup.component.d.ts +2 -2
- package/tools/toolbar-dropdownbutton.component.d.ts +7 -7
- 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 +9 -9
- package/tools/toolbar-tool.component.d.ts +1 -1
package/common/fillmode.d.ts
CHANGED
|
@@ -35,11 +35,11 @@ export interface ToolbarOverflowSettings {
|
|
|
35
35
|
*/
|
|
36
36
|
nextButtonIcon?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Sets an `SVGIcon` for the previous button icon. Accepts an [existing Kendo SVG icon](
|
|
38
|
+
* Sets an `SVGIcon` for the previous button icon. Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one. Applies when the overflow mode is set to `'scroll'`.
|
|
39
39
|
*/
|
|
40
40
|
prevSVGButtonIcon?: SVGIcon;
|
|
41
41
|
/**
|
|
42
|
-
* Sets an `SVGIcon` for the next button icon. Accepts an [existing Kendo SVG icon](
|
|
42
|
+
* Sets an `SVGIcon` for the next button icon. Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one. Applies when the overflow mode is set to `'scroll'`.
|
|
43
43
|
*/
|
|
44
44
|
nextSVGButtonIcon?: SVGIcon;
|
|
45
45
|
}
|
package/common/size.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ const packageMetadata = {
|
|
|
27
27
|
productCode: 'KENDOUIANGULAR',
|
|
28
28
|
productCodes: ['KENDOUIANGULAR'],
|
|
29
29
|
publishDate: 0,
|
|
30
|
-
version: '
|
|
30
|
+
version: '23.0.0-develop.1',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -247,16 +247,18 @@ const SIZES = {
|
|
|
247
247
|
*/
|
|
248
248
|
const getStylingClasses = (componentType, stylingOption, previousValue, newValue) => {
|
|
249
249
|
switch (stylingOption) {
|
|
250
|
-
case 'size':
|
|
250
|
+
case 'size': {
|
|
251
251
|
return {
|
|
252
|
-
toRemove: `k-${componentType}-${SIZES[previousValue]}
|
|
253
|
-
toAdd: newValue
|
|
252
|
+
toRemove: previousValue ? `k-${componentType}-${SIZES[previousValue]}` : null,
|
|
253
|
+
toAdd: newValue ? `k-${componentType}-${SIZES[newValue]}` : null
|
|
254
254
|
};
|
|
255
|
-
|
|
255
|
+
}
|
|
256
|
+
case 'fillMode': {
|
|
256
257
|
return {
|
|
257
|
-
toRemove: `k-${componentType}-${previousValue}
|
|
258
|
-
toAdd: newValue
|
|
258
|
+
toRemove: previousValue ? `k-${componentType}-${previousValue}` : null,
|
|
259
|
+
toAdd: newValue ? `k-${componentType}-${newValue}` : null
|
|
259
260
|
};
|
|
261
|
+
}
|
|
260
262
|
default:
|
|
261
263
|
break;
|
|
262
264
|
}
|
|
@@ -511,7 +513,7 @@ class ToolBarToolComponent {
|
|
|
511
513
|
/**
|
|
512
514
|
* Called when the tool is focused and an arrow key is pressed.
|
|
513
515
|
* Returns a boolean value that determines if the `ToolBarComponent` moves focus to the next or previous tool
|
|
514
|
-
* ([see example](
|
|
516
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/custom-control-types#adding-keyboard-navigation)).
|
|
515
517
|
* @param {KeyboardEvent} _ev - The last pressed arrow key.
|
|
516
518
|
* @returns `true` if focus moves to another tool.
|
|
517
519
|
*/
|
|
@@ -1111,8 +1113,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1111
1113
|
}] } });
|
|
1112
1114
|
|
|
1113
1115
|
/* eslint-disable no-case-declarations */
|
|
1114
|
-
const DEFAULT_SIZE = 'medium';
|
|
1115
|
-
const DEFAULT_FILL_MODE = 'solid';
|
|
1116
1116
|
const immediateResizeThreshold = 300;
|
|
1117
1117
|
const getInitialPopupSettings = (isRtl) => ({
|
|
1118
1118
|
animate: true,
|
|
@@ -1120,7 +1120,7 @@ const getInitialPopupSettings = (isRtl) => ({
|
|
|
1120
1120
|
popupAlign: { horizontal: isRtl ? 'left' : 'right', vertical: 'top' }
|
|
1121
1121
|
});
|
|
1122
1122
|
/**
|
|
1123
|
-
* Represents the [Kendo UI ToolBar component for Angular](
|
|
1123
|
+
* Represents the [Kendo UI ToolBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar).
|
|
1124
1124
|
*
|
|
1125
1125
|
* @example
|
|
1126
1126
|
* ```html
|
|
@@ -1158,7 +1158,7 @@ class ToolBarComponent {
|
|
|
1158
1158
|
toolsService;
|
|
1159
1159
|
scrollService;
|
|
1160
1160
|
get overflowClass() {
|
|
1161
|
-
return `k-button-${SIZES[this.size]}
|
|
1161
|
+
return this.size ? `k-button-${SIZES[this.size]}` : '';
|
|
1162
1162
|
}
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Sets the overflow mode for the ToolBar.
|
|
@@ -1226,7 +1226,7 @@ class ToolBarComponent {
|
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Configures the popup for the ToolBar overflow button.
|
|
1228
1228
|
* Use this property to customize the overflow popup appearance and behavior
|
|
1229
|
-
* ([see example](
|
|
1229
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/responsive-toolbar#customizing-the-popup)).
|
|
1230
1230
|
*/
|
|
1231
1231
|
set popupSettings(settings) {
|
|
1232
1232
|
this._popupSettings = Object.assign({}, getInitialPopupSettings(this.localization.rtl), settings);
|
|
@@ -1237,13 +1237,12 @@ class ToolBarComponent {
|
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Sets the fill mode for the ToolBar.
|
|
1239
1239
|
* This property controls the background and border styles of the ToolBar
|
|
1240
|
-
* ([see example](
|
|
1241
|
-
* @default
|
|
1240
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)).
|
|
1241
|
+
* @default undefined
|
|
1242
1242
|
*/
|
|
1243
1243
|
set fillMode(fillMode) {
|
|
1244
|
-
|
|
1245
|
-
this.
|
|
1246
|
-
this._fillMode = newFillMode;
|
|
1244
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
1245
|
+
this._fillMode = fillMode;
|
|
1247
1246
|
}
|
|
1248
1247
|
get fillMode() {
|
|
1249
1248
|
return this._fillMode;
|
|
@@ -1257,12 +1256,11 @@ class ToolBarComponent {
|
|
|
1257
1256
|
/**
|
|
1258
1257
|
* Sets the size for all ToolBar elements.
|
|
1259
1258
|
* Use this property to control the padding of the ToolBar elements.
|
|
1260
|
-
* @default
|
|
1259
|
+
* @default undefined
|
|
1261
1260
|
*/
|
|
1262
1261
|
set size(size) {
|
|
1263
|
-
|
|
1264
|
-
this.
|
|
1265
|
-
this._size = newSize;
|
|
1262
|
+
this.handleClasses(size, 'size');
|
|
1263
|
+
this._size = size;
|
|
1266
1264
|
}
|
|
1267
1265
|
get size() {
|
|
1268
1266
|
return this._size;
|
|
@@ -1384,8 +1382,8 @@ class ToolBarComponent {
|
|
|
1384
1382
|
sectionKeydownListener;
|
|
1385
1383
|
cancelRenderedToolsSubscription$ = new Subject();
|
|
1386
1384
|
cachedGap;
|
|
1387
|
-
_size =
|
|
1388
|
-
_fillMode =
|
|
1385
|
+
_size = undefined;
|
|
1386
|
+
_fillMode = undefined;
|
|
1389
1387
|
_showText = 'always';
|
|
1390
1388
|
_showIcon = 'always';
|
|
1391
1389
|
overflowButtonClickedTime = null;
|
|
@@ -1539,10 +1537,6 @@ class ToolBarComponent {
|
|
|
1539
1537
|
}
|
|
1540
1538
|
}));
|
|
1541
1539
|
this.navigationService.setRenderedTools(this.toolsService.renderedTools);
|
|
1542
|
-
const stylingOptions = ['size', 'fillMode'];
|
|
1543
|
-
stylingOptions.forEach(option => {
|
|
1544
|
-
this.handleClasses(this[option], option);
|
|
1545
|
-
});
|
|
1546
1540
|
}
|
|
1547
1541
|
ngOnInit() {
|
|
1548
1542
|
this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
@@ -1591,7 +1585,7 @@ class ToolBarComponent {
|
|
|
1591
1585
|
* @hidden
|
|
1592
1586
|
*/
|
|
1593
1587
|
get sectionSizeClass() {
|
|
1594
|
-
return
|
|
1588
|
+
return `k-toolbar-items-list-${SIZES[this.size]}`;
|
|
1595
1589
|
}
|
|
1596
1590
|
/**
|
|
1597
1591
|
* @hidden
|
|
@@ -2132,26 +2126,26 @@ class ToolBarComponent {
|
|
|
2132
2126
|
[prev]="true"
|
|
2133
2127
|
[overflow]="normalizedOverflow"
|
|
2134
2128
|
[title]="getScrollButtonTitle('prev')"
|
|
2135
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2129
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2136
2130
|
[ngClass]="{
|
|
2137
2131
|
'k-button-sm': size === 'small',
|
|
2138
|
-
'k-button-md': size === 'medium'
|
|
2132
|
+
'k-button-md': size === 'medium',
|
|
2139
2133
|
'k-button-lg': size === 'large'
|
|
2140
2134
|
}"
|
|
2141
2135
|
(onClick)="scrollTools($event)">
|
|
2142
2136
|
</span>
|
|
2143
2137
|
}
|
|
2144
2138
|
@if (hasScrollButtons.position === 'start') {
|
|
2145
|
-
<div class="k-button-group
|
|
2139
|
+
<div class="k-button-group" #startButtonGroup>
|
|
2146
2140
|
<span #prevScrollButton
|
|
2147
2141
|
kendoToolbarScrollableButton
|
|
2148
2142
|
[prev]="true"
|
|
2149
2143
|
[overflow]="normalizedOverflow"
|
|
2150
2144
|
[title]="getScrollButtonTitle('prev')"
|
|
2151
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2145
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2152
2146
|
[ngClass]="{
|
|
2153
2147
|
'k-button-sm': size === 'small',
|
|
2154
|
-
'k-button-md': size === 'medium'
|
|
2148
|
+
'k-button-md': size === 'medium',
|
|
2155
2149
|
'k-button-lg': size === 'large'
|
|
2156
2150
|
}"
|
|
2157
2151
|
(onClick)="scrollTools($event)">
|
|
@@ -2161,10 +2155,10 @@ class ToolBarComponent {
|
|
|
2161
2155
|
[prev]="false"
|
|
2162
2156
|
[overflow]="normalizedOverflow"
|
|
2163
2157
|
[title]="getScrollButtonTitle('next')"
|
|
2164
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2158
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2165
2159
|
[ngClass]="{
|
|
2166
2160
|
'k-button-sm': size === 'small',
|
|
2167
|
-
'k-button-md': size === 'medium'
|
|
2161
|
+
'k-button-md': size === 'medium',
|
|
2168
2162
|
'k-button-lg': size === 'large'
|
|
2169
2163
|
}"
|
|
2170
2164
|
(onClick)="scrollTools($event)">
|
|
@@ -2241,26 +2235,26 @@ class ToolBarComponent {
|
|
|
2241
2235
|
[prev]="false"
|
|
2242
2236
|
[overflow]="normalizedOverflow"
|
|
2243
2237
|
[title]="getScrollButtonTitle('next')"
|
|
2244
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2238
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2245
2239
|
[ngClass]="{
|
|
2246
2240
|
'k-button-sm': size === 'small',
|
|
2247
|
-
'k-button-md': size === 'medium'
|
|
2241
|
+
'k-button-md': size === 'medium',
|
|
2248
2242
|
'k-button-lg': size === 'large'
|
|
2249
2243
|
}"
|
|
2250
2244
|
(onClick)="scrollTools($event)">
|
|
2251
2245
|
</span>
|
|
2252
2246
|
}
|
|
2253
2247
|
@if (hasScrollButtons.position === 'end') {
|
|
2254
|
-
<div class="k-button-group
|
|
2248
|
+
<div class="k-button-group" #endButtonGroup>
|
|
2255
2249
|
<span #prevScrollButton
|
|
2256
2250
|
kendoToolbarScrollableButton
|
|
2257
2251
|
[prev]="true"
|
|
2258
2252
|
[overflow]="normalizedOverflow"
|
|
2259
2253
|
[title]="getScrollButtonTitle('prev')"
|
|
2260
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2254
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2261
2255
|
[ngClass]="{
|
|
2262
2256
|
'k-button-sm': size === 'small',
|
|
2263
|
-
'k-button-md': size === 'medium'
|
|
2257
|
+
'k-button-md': size === 'medium',
|
|
2264
2258
|
'k-button-lg': size === 'large'
|
|
2265
2259
|
}"
|
|
2266
2260
|
(onClick)="scrollTools($event)">
|
|
@@ -2270,10 +2264,10 @@ class ToolBarComponent {
|
|
|
2270
2264
|
[prev]="false"
|
|
2271
2265
|
[overflow]="normalizedOverflow"
|
|
2272
2266
|
[title]="getScrollButtonTitle('next')"
|
|
2273
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2267
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2274
2268
|
[ngClass]="{
|
|
2275
2269
|
'k-button-sm': size === 'small',
|
|
2276
|
-
'k-button-md': size === 'medium'
|
|
2270
|
+
'k-button-md': size === 'medium',
|
|
2277
2271
|
'k-button-lg': size === 'large'
|
|
2278
2272
|
}"
|
|
2279
2273
|
(onClick)="scrollTools($event)">
|
|
@@ -2283,7 +2277,7 @@ class ToolBarComponent {
|
|
|
2283
2277
|
}
|
|
2284
2278
|
<ng-template #popupTemplate>
|
|
2285
2279
|
<div
|
|
2286
|
-
class="k-menu-group
|
|
2280
|
+
class="k-menu-group"
|
|
2287
2281
|
role="menu"
|
|
2288
2282
|
[id]="popupId"
|
|
2289
2283
|
[attr.dir]="direction === 'rtl' ? 'rtl' : null"
|
|
@@ -2369,26 +2363,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2369
2363
|
[prev]="true"
|
|
2370
2364
|
[overflow]="normalizedOverflow"
|
|
2371
2365
|
[title]="getScrollButtonTitle('prev')"
|
|
2372
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2366
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2373
2367
|
[ngClass]="{
|
|
2374
2368
|
'k-button-sm': size === 'small',
|
|
2375
|
-
'k-button-md': size === 'medium'
|
|
2369
|
+
'k-button-md': size === 'medium',
|
|
2376
2370
|
'k-button-lg': size === 'large'
|
|
2377
2371
|
}"
|
|
2378
2372
|
(onClick)="scrollTools($event)">
|
|
2379
2373
|
</span>
|
|
2380
2374
|
}
|
|
2381
2375
|
@if (hasScrollButtons.position === 'start') {
|
|
2382
|
-
<div class="k-button-group
|
|
2376
|
+
<div class="k-button-group" #startButtonGroup>
|
|
2383
2377
|
<span #prevScrollButton
|
|
2384
2378
|
kendoToolbarScrollableButton
|
|
2385
2379
|
[prev]="true"
|
|
2386
2380
|
[overflow]="normalizedOverflow"
|
|
2387
2381
|
[title]="getScrollButtonTitle('prev')"
|
|
2388
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2382
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2389
2383
|
[ngClass]="{
|
|
2390
2384
|
'k-button-sm': size === 'small',
|
|
2391
|
-
'k-button-md': size === 'medium'
|
|
2385
|
+
'k-button-md': size === 'medium',
|
|
2392
2386
|
'k-button-lg': size === 'large'
|
|
2393
2387
|
}"
|
|
2394
2388
|
(onClick)="scrollTools($event)">
|
|
@@ -2398,10 +2392,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2398
2392
|
[prev]="false"
|
|
2399
2393
|
[overflow]="normalizedOverflow"
|
|
2400
2394
|
[title]="getScrollButtonTitle('next')"
|
|
2401
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2395
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2402
2396
|
[ngClass]="{
|
|
2403
2397
|
'k-button-sm': size === 'small',
|
|
2404
|
-
'k-button-md': size === 'medium'
|
|
2398
|
+
'k-button-md': size === 'medium',
|
|
2405
2399
|
'k-button-lg': size === 'large'
|
|
2406
2400
|
}"
|
|
2407
2401
|
(onClick)="scrollTools($event)">
|
|
@@ -2478,26 +2472,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2478
2472
|
[prev]="false"
|
|
2479
2473
|
[overflow]="normalizedOverflow"
|
|
2480
2474
|
[title]="getScrollButtonTitle('next')"
|
|
2481
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2475
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2482
2476
|
[ngClass]="{
|
|
2483
2477
|
'k-button-sm': size === 'small',
|
|
2484
|
-
'k-button-md': size === 'medium'
|
|
2478
|
+
'k-button-md': size === 'medium',
|
|
2485
2479
|
'k-button-lg': size === 'large'
|
|
2486
2480
|
}"
|
|
2487
2481
|
(onClick)="scrollTools($event)">
|
|
2488
2482
|
</span>
|
|
2489
2483
|
}
|
|
2490
2484
|
@if (hasScrollButtons.position === 'end') {
|
|
2491
|
-
<div class="k-button-group
|
|
2485
|
+
<div class="k-button-group" #endButtonGroup>
|
|
2492
2486
|
<span #prevScrollButton
|
|
2493
2487
|
kendoToolbarScrollableButton
|
|
2494
2488
|
[prev]="true"
|
|
2495
2489
|
[overflow]="normalizedOverflow"
|
|
2496
2490
|
[title]="getScrollButtonTitle('prev')"
|
|
2497
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2491
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2498
2492
|
[ngClass]="{
|
|
2499
2493
|
'k-button-sm': size === 'small',
|
|
2500
|
-
'k-button-md': size === 'medium'
|
|
2494
|
+
'k-button-md': size === 'medium',
|
|
2501
2495
|
'k-button-lg': size === 'large'
|
|
2502
2496
|
}"
|
|
2503
2497
|
(onClick)="scrollTools($event)">
|
|
@@ -2507,10 +2501,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2507
2501
|
[prev]="false"
|
|
2508
2502
|
[overflow]="normalizedOverflow"
|
|
2509
2503
|
[title]="getScrollButtonTitle('next')"
|
|
2510
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2504
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2511
2505
|
[ngClass]="{
|
|
2512
2506
|
'k-button-sm': size === 'small',
|
|
2513
|
-
'k-button-md': size === 'medium'
|
|
2507
|
+
'k-button-md': size === 'medium',
|
|
2514
2508
|
'k-button-lg': size === 'large'
|
|
2515
2509
|
}"
|
|
2516
2510
|
(onClick)="scrollTools($event)">
|
|
@@ -2520,7 +2514,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2520
2514
|
}
|
|
2521
2515
|
<ng-template #popupTemplate>
|
|
2522
2516
|
<div
|
|
2523
|
-
class="k-menu-group
|
|
2517
|
+
class="k-menu-group"
|
|
2524
2518
|
role="menu"
|
|
2525
2519
|
[id]="popupId"
|
|
2526
2520
|
[attr.dir]="direction === 'rtl' ? 'rtl' : null"
|
|
@@ -2659,7 +2653,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2659
2653
|
}] } });
|
|
2660
2654
|
|
|
2661
2655
|
/**
|
|
2662
|
-
* Represents the [Kendo UI ToolBar Button tool for Angular](
|
|
2656
|
+
* Represents the [Kendo UI ToolBar Button tool for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons).
|
|
2663
2657
|
*
|
|
2664
2658
|
* Use this component to render a button inside the ToolBar.
|
|
2665
2659
|
*
|
|
@@ -2702,7 +2696,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2702
2696
|
}
|
|
2703
2697
|
/**
|
|
2704
2698
|
* Specifies the text of the Button
|
|
2705
|
-
* ([see example](
|
|
2699
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
2706
2700
|
*/
|
|
2707
2701
|
set text(text) {
|
|
2708
2702
|
this._text = text;
|
|
@@ -2731,12 +2725,12 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2731
2725
|
title;
|
|
2732
2726
|
/**
|
|
2733
2727
|
* Disables the Button when set to `true`
|
|
2734
|
-
* ([see example](
|
|
2728
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
2735
2729
|
*/
|
|
2736
2730
|
disabled;
|
|
2737
2731
|
/**
|
|
2738
2732
|
* Provides visual styling to indicate if the Button is active
|
|
2739
|
-
* ([see example](
|
|
2733
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#toggle-buttons)).
|
|
2740
2734
|
* For toggleable buttons, set this to `true`.
|
|
2741
2735
|
* @default false
|
|
2742
2736
|
*/
|
|
@@ -2767,25 +2761,25 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2767
2761
|
/**
|
|
2768
2762
|
* Specifies the background and border styles of the Button.
|
|
2769
2763
|
* Accepts a `ButtonFillMode` value.
|
|
2770
|
-
* @default
|
|
2764
|
+
* @default undefined
|
|
2771
2765
|
*/
|
|
2772
|
-
fillMode =
|
|
2766
|
+
fillMode = undefined;
|
|
2773
2767
|
/**
|
|
2774
2768
|
* Specifies the border radius of the Button.
|
|
2775
2769
|
* Accepts a `ButtonRounded` value.
|
|
2776
2770
|
*
|
|
2777
|
-
* @default
|
|
2771
|
+
* @default undefined
|
|
2778
2772
|
*/
|
|
2779
|
-
rounded =
|
|
2773
|
+
rounded = undefined;
|
|
2780
2774
|
/**
|
|
2781
2775
|
* Specifies the predefined theme color of the Button.
|
|
2782
2776
|
* Accepts a `ButtonThemeColor` value.
|
|
2783
|
-
* @default
|
|
2777
|
+
* @default undefined
|
|
2784
2778
|
*/
|
|
2785
|
-
themeColor =
|
|
2779
|
+
themeColor = undefined;
|
|
2786
2780
|
/**
|
|
2787
2781
|
* Defines the name for an existing icon in a Kendo UI theme
|
|
2788
|
-
* ([see example](
|
|
2782
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
2789
2783
|
* The icon is rendered inside the Button by a `span.k-icon` element.
|
|
2790
2784
|
*/
|
|
2791
2785
|
set icon(icon) {
|
|
@@ -2802,7 +2796,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2802
2796
|
}
|
|
2803
2797
|
/**
|
|
2804
2798
|
* Defines an SVGIcon to be rendered within the button.
|
|
2805
|
-
* Accepts either an [existing Kendo SVG icon](
|
|
2799
|
+
* Accepts either an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
2806
2800
|
*/
|
|
2807
2801
|
set svgIcon(icon) {
|
|
2808
2802
|
const isIconSet = this.toolbarOptions.icon || this.overflowOptions.icon;
|
|
@@ -2973,7 +2967,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2973
2967
|
[disabled]="disabled"
|
|
2974
2968
|
[toggleable]="toggleable"
|
|
2975
2969
|
[fillMode]="fillMode"
|
|
2976
|
-
[themeColor]="
|
|
2970
|
+
[themeColor]="themeColor"
|
|
2977
2971
|
[rounded]="rounded"
|
|
2978
2972
|
[selected]="selected"
|
|
2979
2973
|
[icon]="toolbarOptions.icon"
|
|
@@ -3008,7 +3002,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3008
3002
|
[disabled]="disabled"
|
|
3009
3003
|
[toggleable]="toggleable"
|
|
3010
3004
|
[fillMode]="fillMode"
|
|
3011
|
-
[themeColor]="
|
|
3005
|
+
[themeColor]="themeColor"
|
|
3012
3006
|
[rounded]="rounded"
|
|
3013
3007
|
[selected]="selected"
|
|
3014
3008
|
[icon]="toolbarOptions.icon"
|
|
@@ -3073,7 +3067,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3073
3067
|
[disabled]="disabled"
|
|
3074
3068
|
[toggleable]="toggleable"
|
|
3075
3069
|
[fillMode]="fillMode"
|
|
3076
|
-
[themeColor]="
|
|
3070
|
+
[themeColor]="themeColor"
|
|
3077
3071
|
[rounded]="rounded"
|
|
3078
3072
|
[selected]="selected"
|
|
3079
3073
|
[icon]="toolbarOptions.icon"
|
|
@@ -3107,7 +3101,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3107
3101
|
[disabled]="disabled"
|
|
3108
3102
|
[toggleable]="toggleable"
|
|
3109
3103
|
[fillMode]="fillMode"
|
|
3110
|
-
[themeColor]="
|
|
3104
|
+
[themeColor]="themeColor"
|
|
3111
3105
|
[rounded]="rounded"
|
|
3112
3106
|
[selected]="selected"
|
|
3113
3107
|
[icon]="toolbarOptions.icon"
|
|
@@ -3149,7 +3143,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3149
3143
|
[disabled]="disabled"
|
|
3150
3144
|
[toggleable]="toggleable"
|
|
3151
3145
|
[fillMode]="fillMode"
|
|
3152
|
-
[themeColor]="
|
|
3146
|
+
[themeColor]="themeColor"
|
|
3153
3147
|
[rounded]="rounded"
|
|
3154
3148
|
[selected]="selected"
|
|
3155
3149
|
[icon]="toolbarOptions.icon"
|
|
@@ -3184,7 +3178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3184
3178
|
[disabled]="disabled"
|
|
3185
3179
|
[toggleable]="toggleable"
|
|
3186
3180
|
[fillMode]="fillMode"
|
|
3187
|
-
[themeColor]="
|
|
3181
|
+
[themeColor]="themeColor"
|
|
3188
3182
|
[rounded]="rounded"
|
|
3189
3183
|
[selected]="selected"
|
|
3190
3184
|
[icon]="toolbarOptions.icon"
|
|
@@ -3249,7 +3243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3249
3243
|
[disabled]="disabled"
|
|
3250
3244
|
[toggleable]="toggleable"
|
|
3251
3245
|
[fillMode]="fillMode"
|
|
3252
|
-
[themeColor]="
|
|
3246
|
+
[themeColor]="themeColor"
|
|
3253
3247
|
[rounded]="rounded"
|
|
3254
3248
|
[selected]="selected"
|
|
3255
3249
|
[icon]="toolbarOptions.icon"
|
|
@@ -3283,7 +3277,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3283
3277
|
[disabled]="disabled"
|
|
3284
3278
|
[toggleable]="toggleable"
|
|
3285
3279
|
[fillMode]="fillMode"
|
|
3286
|
-
[themeColor]="
|
|
3280
|
+
[themeColor]="themeColor"
|
|
3287
3281
|
[rounded]="rounded"
|
|
3288
3282
|
[selected]="selected"
|
|
3289
3283
|
[icon]="toolbarOptions.icon"
|
|
@@ -3357,7 +3351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3357
3351
|
}] } });
|
|
3358
3352
|
|
|
3359
3353
|
/**
|
|
3360
|
-
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](
|
|
3354
|
+
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#button-groups).
|
|
3361
3355
|
*
|
|
3362
3356
|
* Use this component to group buttons in a ButtonGroup inside the ToolBar.
|
|
3363
3357
|
*
|
|
@@ -3387,9 +3381,9 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3387
3381
|
* @hidden
|
|
3388
3382
|
*
|
|
3389
3383
|
* Used to set different fillmode in Spreadsheet and Toolbar to comply with referent rendering.
|
|
3390
|
-
* @default
|
|
3384
|
+
* @default undefined
|
|
3391
3385
|
*/
|
|
3392
|
-
fillMode =
|
|
3386
|
+
fillMode = undefined;
|
|
3393
3387
|
/**
|
|
3394
3388
|
* Sets the selection mode of the ButtonGroup.
|
|
3395
3389
|
* @default 'multiple'
|
|
@@ -3544,7 +3538,8 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3544
3538
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolBarButtonGroupComponent, isStandalone: true, selector: "kendo-toolbar-buttongroup", inputs: { disabled: "disabled", fillMode: "fillMode", selection: "selection", width: "width", look: "look" }, providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonGroupComponent) }], queries: [{ propertyName: "buttonComponents", predicate: i0.forwardRef(() => ToolBarButtonComponent) }], viewQueries: [{ propertyName: "toolbarButtonGroup", first: true, predicate: ["toolbarButtonGroup"], descendants: true }, { propertyName: "sectionButtonGroup", first: true, predicate: ["sectionButtonGroup"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarButtonGroup"], usesInheritance: true, ngImport: i0, template: `
|
|
3545
3539
|
<ng-template #toolbarTemplate>
|
|
3546
3540
|
<kendo-buttongroup
|
|
3547
|
-
class="k-toolbar-button-group
|
|
3541
|
+
class="k-toolbar-button-group"
|
|
3542
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3548
3543
|
#toolbarButtonGroup
|
|
3549
3544
|
[tabIndex]="-1"
|
|
3550
3545
|
[selection]="selection"
|
|
@@ -3566,7 +3561,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3566
3561
|
[selected]="button.selected"
|
|
3567
3562
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3568
3563
|
[fillMode]="button.fillMode"
|
|
3569
|
-
[themeColor]="button.
|
|
3564
|
+
[themeColor]="button.themeColor"
|
|
3570
3565
|
[icon]="button.toolbarOptions.icon"
|
|
3571
3566
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3572
3567
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3611,7 +3606,8 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3611
3606
|
</ng-template>
|
|
3612
3607
|
<ng-template #sectionTemplate>
|
|
3613
3608
|
<kendo-buttongroup
|
|
3614
|
-
class="k-toolbar-button-group
|
|
3609
|
+
class="k-toolbar-button-group"
|
|
3610
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3615
3611
|
#sectionButtonGroup
|
|
3616
3612
|
[tabIndex]="-1"
|
|
3617
3613
|
[selection]="selection"
|
|
@@ -3633,7 +3629,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3633
3629
|
[selected]="button.selected"
|
|
3634
3630
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3635
3631
|
[fillMode]="button.fillMode"
|
|
3636
|
-
[themeColor]="button.
|
|
3632
|
+
[themeColor]="button.themeColor"
|
|
3637
3633
|
[icon]="button.toolbarOptions.icon"
|
|
3638
3634
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3639
3635
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3658,7 +3654,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3658
3654
|
template: `
|
|
3659
3655
|
<ng-template #toolbarTemplate>
|
|
3660
3656
|
<kendo-buttongroup
|
|
3661
|
-
class="k-toolbar-button-group
|
|
3657
|
+
class="k-toolbar-button-group"
|
|
3658
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3662
3659
|
#toolbarButtonGroup
|
|
3663
3660
|
[tabIndex]="-1"
|
|
3664
3661
|
[selection]="selection"
|
|
@@ -3680,7 +3677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3680
3677
|
[selected]="button.selected"
|
|
3681
3678
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3682
3679
|
[fillMode]="button.fillMode"
|
|
3683
|
-
[themeColor]="button.
|
|
3680
|
+
[themeColor]="button.themeColor"
|
|
3684
3681
|
[icon]="button.toolbarOptions.icon"
|
|
3685
3682
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3686
3683
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3725,7 +3722,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3725
3722
|
</ng-template>
|
|
3726
3723
|
<ng-template #sectionTemplate>
|
|
3727
3724
|
<kendo-buttongroup
|
|
3728
|
-
class="k-toolbar-button-group
|
|
3725
|
+
class="k-toolbar-button-group"
|
|
3726
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3729
3727
|
#sectionButtonGroup
|
|
3730
3728
|
[tabIndex]="-1"
|
|
3731
3729
|
[selection]="selection"
|
|
@@ -3747,7 +3745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3747
3745
|
[selected]="button.selected"
|
|
3748
3746
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3749
3747
|
[fillMode]="button.fillMode"
|
|
3750
|
-
[themeColor]="button.
|
|
3748
|
+
[themeColor]="button.themeColor"
|
|
3751
3749
|
[icon]="button.toolbarOptions.icon"
|
|
3752
3750
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3753
3751
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3790,7 +3788,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3790
3788
|
}] } });
|
|
3791
3789
|
|
|
3792
3790
|
/**
|
|
3793
|
-
* Represents the [Kendo UI ToolBar DropDownButton for Angular](
|
|
3791
|
+
* Represents the [Kendo UI ToolBar DropDownButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons).
|
|
3794
3792
|
*
|
|
3795
3793
|
* Use this component to add a button that opens a popup with a list of items in the ToolBar.
|
|
3796
3794
|
*
|
|
@@ -3841,7 +3839,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3841
3839
|
}
|
|
3842
3840
|
/**
|
|
3843
3841
|
* Sets the text of the DropDownButton
|
|
3844
|
-
* ([see example](
|
|
3842
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
3845
3843
|
*/
|
|
3846
3844
|
set text(text) {
|
|
3847
3845
|
this._text = text;
|
|
@@ -3859,7 +3857,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3859
3857
|
}
|
|
3860
3858
|
/**
|
|
3861
3859
|
* Sets the `SVGIcon` rendered in the button.
|
|
3862
|
-
* Accepts an [existing Kendo SVG icon](
|
|
3860
|
+
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
3863
3861
|
*/
|
|
3864
3862
|
set svgIcon(icon) {
|
|
3865
3863
|
const isIconSet = this.toolbarOptions.icon || this.overflowOptions.icon;
|
|
@@ -3914,16 +3912,16 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3914
3912
|
/**
|
|
3915
3913
|
* Sets the fill mode for the button.
|
|
3916
3914
|
* The fill mode represents the background and border styles.
|
|
3917
|
-
* @default
|
|
3915
|
+
* @default undefined
|
|
3918
3916
|
*/
|
|
3919
|
-
fillMode =
|
|
3917
|
+
fillMode = undefined;
|
|
3920
3918
|
/**
|
|
3921
3919
|
* Sets the predefined theme color for the button.
|
|
3922
3920
|
* The theme color applies to the background, border, and text
|
|
3923
|
-
* ([see example](
|
|
3924
|
-
* @default
|
|
3921
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)).
|
|
3922
|
+
* @default undefined
|
|
3925
3923
|
*/
|
|
3926
|
-
themeColor =
|
|
3924
|
+
themeColor = undefined;
|
|
3927
3925
|
/**
|
|
3928
3926
|
* Sets the CSS classes for the main button.
|
|
3929
3927
|
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
@@ -3940,7 +3938,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3940
3938
|
disabled;
|
|
3941
3939
|
/**
|
|
3942
3940
|
* Sets the data of the DropDownButton
|
|
3943
|
-
* ([see example](
|
|
3941
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
3944
3942
|
*
|
|
3945
3943
|
* > Provide the data as an array-like list.
|
|
3946
3944
|
*/
|
|
@@ -4125,7 +4123,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4125
4123
|
[textField]="textField"
|
|
4126
4124
|
[popupSettings]="popupSettings"
|
|
4127
4125
|
[fillMode]="fillMode"
|
|
4128
|
-
[themeColor]="
|
|
4126
|
+
[themeColor]="themeColor"
|
|
4129
4127
|
(open)="open.emit($event)"
|
|
4130
4128
|
(close)="close.emit($event)"
|
|
4131
4129
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4133,7 +4131,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4133
4131
|
{{ toolbarOptions.text }}
|
|
4134
4132
|
</kendo-dropdownbutton>
|
|
4135
4133
|
</ng-template>
|
|
4136
|
-
|
|
4134
|
+
|
|
4137
4135
|
<ng-template #popupTemplate>
|
|
4138
4136
|
<div
|
|
4139
4137
|
tabindex="-1"
|
|
@@ -4180,7 +4178,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4180
4178
|
</div>
|
|
4181
4179
|
}
|
|
4182
4180
|
</ng-template>
|
|
4183
|
-
|
|
4181
|
+
|
|
4184
4182
|
<ng-template #sectionTemplate>
|
|
4185
4183
|
<kendo-dropdownbutton #sectionDropDownButton
|
|
4186
4184
|
[icon]="toolbarOptions.icon"
|
|
@@ -4197,7 +4195,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4197
4195
|
[textField]="textField"
|
|
4198
4196
|
[popupSettings]="popupSettings"
|
|
4199
4197
|
[fillMode]="fillMode"
|
|
4200
|
-
[themeColor]="
|
|
4198
|
+
[themeColor]="themeColor"
|
|
4201
4199
|
(open)="open.emit($event)"
|
|
4202
4200
|
(close)="close.emit($event)"
|
|
4203
4201
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4230,7 +4228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4230
4228
|
[textField]="textField"
|
|
4231
4229
|
[popupSettings]="popupSettings"
|
|
4232
4230
|
[fillMode]="fillMode"
|
|
4233
|
-
[themeColor]="
|
|
4231
|
+
[themeColor]="themeColor"
|
|
4234
4232
|
(open)="open.emit($event)"
|
|
4235
4233
|
(close)="close.emit($event)"
|
|
4236
4234
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4238,7 +4236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4238
4236
|
{{ toolbarOptions.text }}
|
|
4239
4237
|
</kendo-dropdownbutton>
|
|
4240
4238
|
</ng-template>
|
|
4241
|
-
|
|
4239
|
+
|
|
4242
4240
|
<ng-template #popupTemplate>
|
|
4243
4241
|
<div
|
|
4244
4242
|
tabindex="-1"
|
|
@@ -4285,7 +4283,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4285
4283
|
</div>
|
|
4286
4284
|
}
|
|
4287
4285
|
</ng-template>
|
|
4288
|
-
|
|
4286
|
+
|
|
4289
4287
|
<ng-template #sectionTemplate>
|
|
4290
4288
|
<kendo-dropdownbutton #sectionDropDownButton
|
|
4291
4289
|
[icon]="toolbarOptions.icon"
|
|
@@ -4302,7 +4300,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4302
4300
|
[textField]="textField"
|
|
4303
4301
|
[popupSettings]="popupSettings"
|
|
4304
4302
|
[fillMode]="fillMode"
|
|
4305
|
-
[themeColor]="
|
|
4303
|
+
[themeColor]="themeColor"
|
|
4306
4304
|
(open)="open.emit($event)"
|
|
4307
4305
|
(close)="close.emit($event)"
|
|
4308
4306
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4371,7 +4369,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4371
4369
|
}] } });
|
|
4372
4370
|
|
|
4373
4371
|
/**
|
|
4374
|
-
* Represents the [Kendo UI ToolBar SplitButton for Angular](
|
|
4372
|
+
* Represents the [Kendo UI ToolBar SplitButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons).
|
|
4375
4373
|
*
|
|
4376
4374
|
* Use the ToolBar SplitButton to create a split button with a main button and a drop-down list of actions in the ToolBar.
|
|
4377
4375
|
*
|
|
@@ -4409,7 +4407,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4409
4407
|
return this._showIcon;
|
|
4410
4408
|
}
|
|
4411
4409
|
/**
|
|
4412
|
-
* Sets the text of the SplitButton ([see example](
|
|
4410
|
+
* Sets the text of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
4413
4411
|
*/
|
|
4414
4412
|
set text(text) {
|
|
4415
4413
|
this._text = text;
|
|
@@ -4420,7 +4418,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4420
4418
|
}
|
|
4421
4419
|
/**
|
|
4422
4420
|
* Sets the icon rendered next to the button text
|
|
4423
|
-
* ([see example](
|
|
4421
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
4424
4422
|
*/
|
|
4425
4423
|
set icon(icon) {
|
|
4426
4424
|
this.toolbarOptions.icon = getValueForLocation(icon, this.showIcon, false);
|
|
@@ -4428,7 +4426,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4428
4426
|
}
|
|
4429
4427
|
/**
|
|
4430
4428
|
* Sets the `SVGIcon` rendered in the main button.
|
|
4431
|
-
* Accepts an [existing Kendo SVG icon](
|
|
4429
|
+
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
4432
4430
|
*/
|
|
4433
4431
|
set svgIcon(icon) {
|
|
4434
4432
|
const isIconSet = this.toolbarOptions.icon || this.overflowOptions.icon;
|
|
@@ -4477,15 +4475,15 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4477
4475
|
/**
|
|
4478
4476
|
* Sets the fill mode for the button.
|
|
4479
4477
|
* The fill mode represents the background and border styles.
|
|
4480
|
-
* @default
|
|
4478
|
+
* @default undefined
|
|
4481
4479
|
*/
|
|
4482
|
-
fillMode =
|
|
4480
|
+
fillMode = undefined;
|
|
4483
4481
|
/**
|
|
4484
4482
|
* Sets the predefined theme color for the button.
|
|
4485
4483
|
* The theme color applies to the background, border, and text.
|
|
4486
|
-
* @default
|
|
4484
|
+
* @default undefined
|
|
4487
4485
|
*/
|
|
4488
|
-
themeColor =
|
|
4486
|
+
themeColor = undefined;
|
|
4489
4487
|
/**
|
|
4490
4488
|
* @hidden
|
|
4491
4489
|
*/
|
|
@@ -4505,11 +4503,11 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4505
4503
|
*/
|
|
4506
4504
|
arrowButtonClass;
|
|
4507
4505
|
/**
|
|
4508
|
-
* Sets the name of the [font icon](
|
|
4506
|
+
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
4509
4507
|
*/
|
|
4510
4508
|
arrowButtonIcon = 'caret-alt-down';
|
|
4511
4509
|
/**
|
|
4512
|
-
* Sets the [`SVGIcon`](
|
|
4510
|
+
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
4513
4511
|
*/
|
|
4514
4512
|
arrowButtonSvgIcon = caretAltDownIcon;
|
|
4515
4513
|
/**
|
|
@@ -4518,7 +4516,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4518
4516
|
*/
|
|
4519
4517
|
textField = 'text';
|
|
4520
4518
|
/**
|
|
4521
|
-
* Sets the data of the SplitButton ([see example](
|
|
4519
|
+
* Sets the data of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
4522
4520
|
*
|
|
4523
4521
|
* > Provide the data as an array-like list.
|
|
4524
4522
|
*/
|
|
@@ -4706,7 +4704,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4706
4704
|
[textField]="textField"
|
|
4707
4705
|
[popupSettings]="popupSettings"
|
|
4708
4706
|
[fillMode]="fillMode"
|
|
4709
|
-
[themeColor]="
|
|
4707
|
+
[themeColor]="themeColor"
|
|
4710
4708
|
(buttonClick)="buttonClick.emit($event)"
|
|
4711
4709
|
(open)="open.emit($event)"
|
|
4712
4710
|
(close)="close.emit($event)"
|
|
@@ -4782,7 +4780,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4782
4780
|
[textField]="textField"
|
|
4783
4781
|
[popupSettings]="popupSettings"
|
|
4784
4782
|
[fillMode]="fillMode"
|
|
4785
|
-
[themeColor]="
|
|
4783
|
+
[themeColor]="themeColor"
|
|
4786
4784
|
(buttonClick)="buttonClick.emit($event)"
|
|
4787
4785
|
(open)="open.emit($event)"
|
|
4788
4786
|
(close)="close.emit($event)"
|
|
@@ -4818,7 +4816,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4818
4816
|
[textField]="textField"
|
|
4819
4817
|
[popupSettings]="popupSettings"
|
|
4820
4818
|
[fillMode]="fillMode"
|
|
4821
|
-
[themeColor]="
|
|
4819
|
+
[themeColor]="themeColor"
|
|
4822
4820
|
(buttonClick)="buttonClick.emit($event)"
|
|
4823
4821
|
(open)="open.emit($event)"
|
|
4824
4822
|
(close)="close.emit($event)"
|
|
@@ -4894,7 +4892,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4894
4892
|
[textField]="textField"
|
|
4895
4893
|
[popupSettings]="popupSettings"
|
|
4896
4894
|
[fillMode]="fillMode"
|
|
4897
|
-
[themeColor]="
|
|
4895
|
+
[themeColor]="themeColor"
|
|
4898
4896
|
(buttonClick)="buttonClick.emit($event)"
|
|
4899
4897
|
(open)="open.emit($event)"
|
|
4900
4898
|
(close)="close.emit($event)"
|
|
@@ -4964,7 +4962,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4964
4962
|
}] } });
|
|
4965
4963
|
|
|
4966
4964
|
/**
|
|
4967
|
-
* Represents the [Kendo UI ToolBar Separator for Angular](
|
|
4965
|
+
* Represents the [Kendo UI ToolBar Separator for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
4968
4966
|
*
|
|
4969
4967
|
* Use this component to add a visual separator between ToolBar tools.
|
|
4970
4968
|
*
|
|
@@ -5054,7 +5052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5054
5052
|
}] } });
|
|
5055
5053
|
|
|
5056
5054
|
/**
|
|
5057
|
-
* Represents the [Kendo UI ToolBar Spacer for Angular](
|
|
5055
|
+
* Represents the [Kendo UI ToolBar Spacer for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
5058
5056
|
*
|
|
5059
5057
|
* Use the ToolBar Spacer to add flexible space between ToolBar tools.
|
|
5060
5058
|
*
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Тhe selection mode for the ToolBar ButtonGroup.
|
|
7
|
-
* For more information, see [`ToolBarButtonGroupComponent`](
|
|
7
|
+
* For more information, see [`ToolBarButtonGroupComponent`](https://www.telerik.com/kendo-angular-ui/components/toolbar/api/toolbarbuttongroupcomponent).
|
|
8
8
|
*/
|
|
9
9
|
export type ButtonGroupSelection = "single" | "multiple";
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1770286899,
|
|
11
|
+
"version": "23.0.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"package": {
|
|
46
46
|
"productName": "Kendo UI for Angular",
|
|
47
47
|
"productCode": "KENDOUIANGULAR",
|
|
48
|
-
"publishDate":
|
|
48
|
+
"publishDate": 1770286899,
|
|
49
49
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"@angular/core": "19 - 21",
|
|
56
56
|
"@angular/platform-browser": "19 - 21",
|
|
57
57
|
"@progress/kendo-licensing": "^1.10.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "
|
|
59
|
-
"@progress/kendo-angular-common": "
|
|
60
|
-
"@progress/kendo-angular-l10n": "
|
|
61
|
-
"@progress/kendo-angular-icons": "
|
|
62
|
-
"@progress/kendo-angular-indicators": "
|
|
63
|
-
"@progress/kendo-angular-popup": "
|
|
58
|
+
"@progress/kendo-angular-buttons": "23.0.0-develop.1",
|
|
59
|
+
"@progress/kendo-angular-common": "23.0.0-develop.1",
|
|
60
|
+
"@progress/kendo-angular-l10n": "23.0.0-develop.1",
|
|
61
|
+
"@progress/kendo-angular-icons": "23.0.0-develop.1",
|
|
62
|
+
"@progress/kendo-angular-indicators": "23.0.0-develop.1",
|
|
63
|
+
"@progress/kendo-angular-popup": "23.0.0-develop.1",
|
|
64
64
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"tslib": "^2.3.1",
|
|
68
|
-
"@progress/kendo-angular-schematics": "
|
|
68
|
+
"@progress/kendo-angular-schematics": "23.0.0-develop.1"
|
|
69
69
|
},
|
|
70
70
|
"schematics": "./schematics/collection.json",
|
|
71
71
|
"module": "fesm2022/progress-kendo-angular-toolbar.mjs",
|
package/toolbar.component.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { ScrollService } from './scroll.service';
|
|
|
24
24
|
import { DisplayMode } from './display-mode';
|
|
25
25
|
import * as i0 from "@angular/core";
|
|
26
26
|
/**
|
|
27
|
-
* Represents the [Kendo UI ToolBar component for Angular](
|
|
27
|
+
* Represents the [Kendo UI ToolBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar).
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* ```html
|
|
@@ -97,15 +97,15 @@ export declare class ToolBarComponent {
|
|
|
97
97
|
/**
|
|
98
98
|
* Configures the popup for the ToolBar overflow button.
|
|
99
99
|
* Use this property to customize the overflow popup appearance and behavior
|
|
100
|
-
* ([see example](
|
|
100
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/responsive-toolbar#customizing-the-popup)).
|
|
101
101
|
*/
|
|
102
102
|
set popupSettings(settings: PopupSettings);
|
|
103
103
|
get popupSettings(): PopupSettings;
|
|
104
104
|
/**
|
|
105
105
|
* Sets the fill mode for the ToolBar.
|
|
106
106
|
* This property controls the background and border styles of the ToolBar
|
|
107
|
-
* ([see example](
|
|
108
|
-
* @default
|
|
107
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)).
|
|
108
|
+
* @default undefined
|
|
109
109
|
*/
|
|
110
110
|
set fillMode(fillMode: ToolbarFillMode);
|
|
111
111
|
get fillMode(): ToolbarFillMode;
|
|
@@ -118,7 +118,7 @@ export declare class ToolBarComponent {
|
|
|
118
118
|
/**
|
|
119
119
|
* Sets the size for all ToolBar elements.
|
|
120
120
|
* Use this property to control the padding of the ToolBar elements.
|
|
121
|
-
* @default
|
|
121
|
+
* @default undefined
|
|
122
122
|
*/
|
|
123
123
|
set size(size: ToolbarSize);
|
|
124
124
|
get size(): ToolbarSize;
|
|
@@ -11,7 +11,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
11
11
|
import { ToolBarComponent } from '../toolbar.component';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
* Represents the [Kendo UI ToolBar Button tool for Angular](
|
|
14
|
+
* Represents the [Kendo UI ToolBar Button tool for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons).
|
|
15
15
|
*
|
|
16
16
|
* Use this component to render a button inside the ToolBar.
|
|
17
17
|
*
|
|
@@ -43,7 +43,7 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
43
43
|
get showIcon(): DisplayMode;
|
|
44
44
|
/**
|
|
45
45
|
* Specifies the text of the Button
|
|
46
|
-
* ([see example](
|
|
46
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
47
47
|
*/
|
|
48
48
|
set text(text: string);
|
|
49
49
|
get text(): string;
|
|
@@ -69,12 +69,12 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
69
69
|
title: string;
|
|
70
70
|
/**
|
|
71
71
|
* Disables the Button when set to `true`
|
|
72
|
-
* ([see example](
|
|
72
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
73
73
|
*/
|
|
74
74
|
disabled: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Provides visual styling to indicate if the Button is active
|
|
77
|
-
* ([see example](
|
|
77
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#toggle-buttons)).
|
|
78
78
|
* For toggleable buttons, set this to `true`.
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
@@ -97,25 +97,25 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
97
97
|
/**
|
|
98
98
|
* Specifies the background and border styles of the Button.
|
|
99
99
|
* Accepts a `ButtonFillMode` value.
|
|
100
|
-
* @default
|
|
100
|
+
* @default undefined
|
|
101
101
|
*/
|
|
102
102
|
fillMode: ButtonFillMode;
|
|
103
103
|
/**
|
|
104
104
|
* Specifies the border radius of the Button.
|
|
105
105
|
* Accepts a `ButtonRounded` value.
|
|
106
106
|
*
|
|
107
|
-
* @default
|
|
107
|
+
* @default undefined
|
|
108
108
|
*/
|
|
109
109
|
rounded: ButtonRounded;
|
|
110
110
|
/**
|
|
111
111
|
* Specifies the predefined theme color of the Button.
|
|
112
112
|
* Accepts a `ButtonThemeColor` value.
|
|
113
|
-
* @default
|
|
113
|
+
* @default undefined
|
|
114
114
|
*/
|
|
115
115
|
themeColor: ButtonThemeColor;
|
|
116
116
|
/**
|
|
117
117
|
* Defines the name for an existing icon in a Kendo UI theme
|
|
118
|
-
* ([see example](
|
|
118
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
119
119
|
* The icon is rendered inside the Button by a `span.k-icon` element.
|
|
120
120
|
*/
|
|
121
121
|
set icon(icon: string);
|
|
@@ -126,7 +126,7 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
126
126
|
set iconClass(iconClass: string);
|
|
127
127
|
/**
|
|
128
128
|
* Defines an SVGIcon to be rendered within the button.
|
|
129
|
-
* Accepts either an [existing Kendo SVG icon](
|
|
129
|
+
* Accepts either an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
130
130
|
*/
|
|
131
131
|
set svgIcon(icon: SVGIcon);
|
|
132
132
|
/**
|
|
@@ -11,7 +11,7 @@ import { PreventableEvent } from '@progress/kendo-angular-buttons';
|
|
|
11
11
|
import { ToolBarComponent } from '../toolbar.component';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](
|
|
14
|
+
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#button-groups).
|
|
15
15
|
*
|
|
16
16
|
* Use this component to group buttons in a ButtonGroup inside the ToolBar.
|
|
17
17
|
*
|
|
@@ -41,7 +41,7 @@ export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
41
41
|
* @hidden
|
|
42
42
|
*
|
|
43
43
|
* Used to set different fillmode in Spreadsheet and Toolbar to comply with referent rendering.
|
|
44
|
-
* @default
|
|
44
|
+
* @default undefined
|
|
45
45
|
*/
|
|
46
46
|
fillMode: 'solid' | 'flat';
|
|
47
47
|
/**
|
|
@@ -13,7 +13,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
13
13
|
import { ToolBarComponent } from '../toolbar.component';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
/**
|
|
16
|
-
* Represents the [Kendo UI ToolBar DropDownButton for Angular](
|
|
16
|
+
* Represents the [Kendo UI ToolBar DropDownButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons).
|
|
17
17
|
*
|
|
18
18
|
* Use this component to add a button that opens a popup with a list of items in the ToolBar.
|
|
19
19
|
*
|
|
@@ -54,7 +54,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
54
54
|
get showIcon(): DisplayMode;
|
|
55
55
|
/**
|
|
56
56
|
* Sets the text of the DropDownButton
|
|
57
|
-
* ([see example](
|
|
57
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
58
58
|
*/
|
|
59
59
|
set text(text: string);
|
|
60
60
|
get text(): string;
|
|
@@ -64,7 +64,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
64
64
|
set icon(icon: string);
|
|
65
65
|
/**
|
|
66
66
|
* Sets the `SVGIcon` rendered in the button.
|
|
67
|
-
* Accepts an [existing Kendo SVG icon](
|
|
67
|
+
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
68
68
|
*/
|
|
69
69
|
set svgIcon(icon: SVGIcon);
|
|
70
70
|
/**
|
|
@@ -92,14 +92,14 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
92
92
|
/**
|
|
93
93
|
* Sets the fill mode for the button.
|
|
94
94
|
* The fill mode represents the background and border styles.
|
|
95
|
-
* @default
|
|
95
|
+
* @default undefined
|
|
96
96
|
*/
|
|
97
97
|
fillMode: ButtonFillMode;
|
|
98
98
|
/**
|
|
99
99
|
* Sets the predefined theme color for the button.
|
|
100
100
|
* The theme color applies to the background, border, and text
|
|
101
|
-
* ([see example](
|
|
102
|
-
* @default
|
|
101
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)).
|
|
102
|
+
* @default undefined
|
|
103
103
|
*/
|
|
104
104
|
themeColor: ButtonThemeColor;
|
|
105
105
|
/**
|
|
@@ -118,7 +118,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
118
118
|
disabled: boolean;
|
|
119
119
|
/**
|
|
120
120
|
* Sets the data of the DropDownButton
|
|
121
|
-
* ([see example](
|
|
121
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
122
122
|
*
|
|
123
123
|
* > Provide the data as an array-like list.
|
|
124
124
|
*/
|
|
@@ -6,7 +6,7 @@ import { ElementRef, AfterViewInit } from '@angular/core';
|
|
|
6
6
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* Represents the [Kendo UI ToolBar Separator for Angular](
|
|
9
|
+
* Represents the [Kendo UI ToolBar Separator for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
10
10
|
*
|
|
11
11
|
* Use this component to add a visual separator between ToolBar tools.
|
|
12
12
|
*
|
|
@@ -6,7 +6,7 @@ import { AfterViewInit } from '@angular/core';
|
|
|
6
6
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* Represents the [Kendo UI ToolBar Spacer for Angular](
|
|
9
|
+
* Represents the [Kendo UI ToolBar Spacer for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
10
10
|
*
|
|
11
11
|
* Use the ToolBar Spacer to add flexible space between ToolBar tools.
|
|
12
12
|
*
|
|
@@ -13,7 +13,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
13
13
|
import { ToolBarComponent } from '../toolbar.component';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
/**
|
|
16
|
-
* Represents the [Kendo UI ToolBar SplitButton for Angular](
|
|
16
|
+
* Represents the [Kendo UI ToolBar SplitButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons).
|
|
17
17
|
*
|
|
18
18
|
* Use the ToolBar SplitButton to create a split button with a main button and a drop-down list of actions in the ToolBar.
|
|
19
19
|
*
|
|
@@ -40,18 +40,18 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
40
40
|
set showIcon(value: DisplayMode);
|
|
41
41
|
get showIcon(): DisplayMode;
|
|
42
42
|
/**
|
|
43
|
-
* Sets the text of the SplitButton ([see example](
|
|
43
|
+
* Sets the text of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
44
44
|
*/
|
|
45
45
|
set text(text: string);
|
|
46
46
|
get text(): string;
|
|
47
47
|
/**
|
|
48
48
|
* Sets the icon rendered next to the button text
|
|
49
|
-
* ([see example](
|
|
49
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
50
50
|
*/
|
|
51
51
|
set icon(icon: string);
|
|
52
52
|
/**
|
|
53
53
|
* Sets the `SVGIcon` rendered in the main button.
|
|
54
|
-
* Accepts an [existing Kendo SVG icon](
|
|
54
|
+
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
55
55
|
*/
|
|
56
56
|
set svgIcon(icon: SVGIcon);
|
|
57
57
|
/**
|
|
@@ -76,13 +76,13 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
76
76
|
/**
|
|
77
77
|
* Sets the fill mode for the button.
|
|
78
78
|
* The fill mode represents the background and border styles.
|
|
79
|
-
* @default
|
|
79
|
+
* @default undefined
|
|
80
80
|
*/
|
|
81
81
|
fillMode: ButtonFillMode;
|
|
82
82
|
/**
|
|
83
83
|
* Sets the predefined theme color for the button.
|
|
84
84
|
* The theme color applies to the background, border, and text.
|
|
85
|
-
* @default
|
|
85
|
+
* @default undefined
|
|
86
86
|
*/
|
|
87
87
|
themeColor: ButtonThemeColor;
|
|
88
88
|
/**
|
|
@@ -100,11 +100,11 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
100
100
|
*/
|
|
101
101
|
arrowButtonClass: any;
|
|
102
102
|
/**
|
|
103
|
-
* Sets the name of the [font icon](
|
|
103
|
+
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
104
104
|
*/
|
|
105
105
|
arrowButtonIcon: string;
|
|
106
106
|
/**
|
|
107
|
-
* Sets the [`SVGIcon`](
|
|
107
|
+
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
108
108
|
*/
|
|
109
109
|
arrowButtonSvgIcon: SVGIcon;
|
|
110
110
|
/**
|
|
@@ -113,7 +113,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
113
113
|
*/
|
|
114
114
|
textField: string;
|
|
115
115
|
/**
|
|
116
|
-
* Sets the data of the SplitButton ([see example](
|
|
116
|
+
* Sets the data of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
117
117
|
*
|
|
118
118
|
* > Provide the data as an array-like list.
|
|
119
119
|
*/
|
|
@@ -67,7 +67,7 @@ export declare class ToolBarToolComponent {
|
|
|
67
67
|
/**
|
|
68
68
|
* Called when the tool is focused and an arrow key is pressed.
|
|
69
69
|
* Returns a boolean value that determines if the `ToolBarComponent` moves focus to the next or previous tool
|
|
70
|
-
* ([see example](
|
|
70
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/custom-control-types#adding-keyboard-navigation)).
|
|
71
71
|
* @param {KeyboardEvent} _ev - The last pressed arrow key.
|
|
72
72
|
* @returns `true` if focus moves to another tool.
|
|
73
73
|
*/
|