@progress/kendo-angular-toolbar 22.1.0-develop.9 → 23.0.0-develop.10
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 -2
- package/fesm2022/progress-kendo-angular-toolbar.mjs +132 -137
- package/group-selection-settings.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/toolbar.component.d.ts +4 -6
- package/tools/toolbar-button.component.d.ts +9 -16
- package/tools/toolbar-buttongroup.component.d.ts +2 -2
- package/tools/toolbar-dropdownbutton.component.d.ts +6 -8
- 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 -11
- package/tools/toolbar-tool.component.d.ts +1 -1
- package/util.d.ts +4 -0
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
|
@@ -4,6 +4,5 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Represents the possible size options of the ToolBar.
|
|
7
|
-
* @default `medium`
|
|
8
7
|
*/
|
|
9
|
-
export type ToolbarSize = 'small' | 'medium' | 'large'
|
|
8
|
+
export type ToolbarSize = 'small' | 'medium' | 'large';
|
|
@@ -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.10',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -87,6 +87,12 @@ const closest = (node, predicate) => {
|
|
|
87
87
|
}
|
|
88
88
|
return node;
|
|
89
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* @hidden
|
|
92
|
+
*/
|
|
93
|
+
const isSmartBoxInput = (target) => {
|
|
94
|
+
return !!closest(target, (el) => el.classList?.contains('k-smart-box'));
|
|
95
|
+
};
|
|
90
96
|
/**
|
|
91
97
|
* @hidden
|
|
92
98
|
*/
|
|
@@ -247,16 +253,18 @@ const SIZES = {
|
|
|
247
253
|
*/
|
|
248
254
|
const getStylingClasses = (componentType, stylingOption, previousValue, newValue) => {
|
|
249
255
|
switch (stylingOption) {
|
|
250
|
-
case 'size':
|
|
256
|
+
case 'size': {
|
|
251
257
|
return {
|
|
252
|
-
toRemove: `k-${componentType}-${SIZES[previousValue]}
|
|
253
|
-
toAdd: newValue
|
|
258
|
+
toRemove: previousValue ? `k-${componentType}-${SIZES[previousValue]}` : null,
|
|
259
|
+
toAdd: newValue ? `k-${componentType}-${SIZES[newValue]}` : null
|
|
254
260
|
};
|
|
255
|
-
|
|
261
|
+
}
|
|
262
|
+
case 'fillMode': {
|
|
256
263
|
return {
|
|
257
|
-
toRemove: `k-${componentType}-${previousValue}
|
|
258
|
-
toAdd: newValue
|
|
264
|
+
toRemove: previousValue ? `k-${componentType}-${previousValue}` : null,
|
|
265
|
+
toAdd: newValue ? `k-${componentType}-${newValue}` : null
|
|
259
266
|
};
|
|
267
|
+
}
|
|
260
268
|
default:
|
|
261
269
|
break;
|
|
262
270
|
}
|
|
@@ -511,7 +519,7 @@ class ToolBarToolComponent {
|
|
|
511
519
|
/**
|
|
512
520
|
* Called when the tool is focused and an arrow key is pressed.
|
|
513
521
|
* Returns a boolean value that determines if the `ToolBarComponent` moves focus to the next or previous tool
|
|
514
|
-
* ([see example](
|
|
522
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/custom-control-types#adding-keyboard-navigation)).
|
|
515
523
|
* @param {KeyboardEvent} _ev - The last pressed arrow key.
|
|
516
524
|
* @returns `true` if focus moves to another tool.
|
|
517
525
|
*/
|
|
@@ -1111,8 +1119,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1111
1119
|
}] } });
|
|
1112
1120
|
|
|
1113
1121
|
/* eslint-disable no-case-declarations */
|
|
1114
|
-
const DEFAULT_SIZE = 'medium';
|
|
1115
|
-
const DEFAULT_FILL_MODE = 'solid';
|
|
1116
1122
|
const immediateResizeThreshold = 300;
|
|
1117
1123
|
const getInitialPopupSettings = (isRtl) => ({
|
|
1118
1124
|
animate: true,
|
|
@@ -1120,7 +1126,7 @@ const getInitialPopupSettings = (isRtl) => ({
|
|
|
1120
1126
|
popupAlign: { horizontal: isRtl ? 'left' : 'right', vertical: 'top' }
|
|
1121
1127
|
});
|
|
1122
1128
|
/**
|
|
1123
|
-
* Represents the [Kendo UI ToolBar component for Angular](
|
|
1129
|
+
* Represents the [Kendo UI ToolBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar).
|
|
1124
1130
|
*
|
|
1125
1131
|
* @example
|
|
1126
1132
|
* ```html
|
|
@@ -1158,7 +1164,7 @@ class ToolBarComponent {
|
|
|
1158
1164
|
toolsService;
|
|
1159
1165
|
scrollService;
|
|
1160
1166
|
get overflowClass() {
|
|
1161
|
-
return `k-button-${SIZES[this.size]}
|
|
1167
|
+
return this.size ? `k-button-${SIZES[this.size]}` : '';
|
|
1162
1168
|
}
|
|
1163
1169
|
/**
|
|
1164
1170
|
* Sets the overflow mode for the ToolBar.
|
|
@@ -1226,7 +1232,7 @@ class ToolBarComponent {
|
|
|
1226
1232
|
/**
|
|
1227
1233
|
* Configures the popup for the ToolBar overflow button.
|
|
1228
1234
|
* Use this property to customize the overflow popup appearance and behavior
|
|
1229
|
-
* ([see example](
|
|
1235
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/responsive-toolbar#customizing-the-popup)).
|
|
1230
1236
|
*/
|
|
1231
1237
|
set popupSettings(settings) {
|
|
1232
1238
|
this._popupSettings = Object.assign({}, getInitialPopupSettings(this.localization.rtl), settings);
|
|
@@ -1237,13 +1243,11 @@ class ToolBarComponent {
|
|
|
1237
1243
|
/**
|
|
1238
1244
|
* Sets the fill mode for the ToolBar.
|
|
1239
1245
|
* This property controls the background and border styles of the ToolBar
|
|
1240
|
-
* ([see example](
|
|
1241
|
-
* @default 'solid'
|
|
1246
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)). The default value is set by the Kendo theme.
|
|
1242
1247
|
*/
|
|
1243
1248
|
set fillMode(fillMode) {
|
|
1244
|
-
|
|
1245
|
-
this.
|
|
1246
|
-
this._fillMode = newFillMode;
|
|
1249
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
1250
|
+
this._fillMode = fillMode;
|
|
1247
1251
|
}
|
|
1248
1252
|
get fillMode() {
|
|
1249
1253
|
return this._fillMode;
|
|
@@ -1256,13 +1260,11 @@ class ToolBarComponent {
|
|
|
1256
1260
|
tabindex = 0;
|
|
1257
1261
|
/**
|
|
1258
1262
|
* Sets the size for all ToolBar elements.
|
|
1259
|
-
* Use this property to control the padding of the ToolBar elements.
|
|
1260
|
-
* @default 'medium'
|
|
1263
|
+
* Use this property to control the padding of the ToolBar elements. The default value is set by the Kendo theme.
|
|
1261
1264
|
*/
|
|
1262
1265
|
set size(size) {
|
|
1263
|
-
|
|
1264
|
-
this.
|
|
1265
|
-
this._size = newSize;
|
|
1266
|
+
this.handleClasses(size, 'size');
|
|
1267
|
+
this._size = size;
|
|
1266
1268
|
}
|
|
1267
1269
|
get size() {
|
|
1268
1270
|
return this._size;
|
|
@@ -1384,8 +1386,8 @@ class ToolBarComponent {
|
|
|
1384
1386
|
sectionKeydownListener;
|
|
1385
1387
|
cancelRenderedToolsSubscription$ = new Subject();
|
|
1386
1388
|
cachedGap;
|
|
1387
|
-
_size =
|
|
1388
|
-
_fillMode =
|
|
1389
|
+
_size = undefined;
|
|
1390
|
+
_fillMode = undefined;
|
|
1389
1391
|
_showText = 'always';
|
|
1390
1392
|
_showIcon = 'always';
|
|
1391
1393
|
overflowButtonClickedTime = null;
|
|
@@ -1474,7 +1476,9 @@ class ToolBarComponent {
|
|
|
1474
1476
|
switch (code) {
|
|
1475
1477
|
case Keys.ArrowLeft:
|
|
1476
1478
|
this.zone.run(() => {
|
|
1477
|
-
ev.
|
|
1479
|
+
if (!isSmartBoxInput(ev.target)) {
|
|
1480
|
+
ev.preventDefault();
|
|
1481
|
+
}
|
|
1478
1482
|
if (this.direction === 'ltr') {
|
|
1479
1483
|
this.navigationService.focusPrev(ev);
|
|
1480
1484
|
}
|
|
@@ -1487,7 +1491,9 @@ class ToolBarComponent {
|
|
|
1487
1491
|
break;
|
|
1488
1492
|
case Keys.ArrowRight:
|
|
1489
1493
|
this.zone.run(() => {
|
|
1490
|
-
ev.
|
|
1494
|
+
if (!isSmartBoxInput(ev.target)) {
|
|
1495
|
+
ev.preventDefault();
|
|
1496
|
+
}
|
|
1491
1497
|
if (this.direction === 'ltr') {
|
|
1492
1498
|
this.navigationService.focusNext(ev);
|
|
1493
1499
|
}
|
|
@@ -1539,10 +1545,6 @@ class ToolBarComponent {
|
|
|
1539
1545
|
}
|
|
1540
1546
|
}));
|
|
1541
1547
|
this.navigationService.setRenderedTools(this.toolsService.renderedTools);
|
|
1542
|
-
const stylingOptions = ['size', 'fillMode'];
|
|
1543
|
-
stylingOptions.forEach(option => {
|
|
1544
|
-
this.handleClasses(this[option], option);
|
|
1545
|
-
});
|
|
1546
1548
|
}
|
|
1547
1549
|
ngOnInit() {
|
|
1548
1550
|
this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
@@ -1591,7 +1593,7 @@ class ToolBarComponent {
|
|
|
1591
1593
|
* @hidden
|
|
1592
1594
|
*/
|
|
1593
1595
|
get sectionSizeClass() {
|
|
1594
|
-
return
|
|
1596
|
+
return `k-toolbar-items-list-${SIZES[this.size]}`;
|
|
1595
1597
|
}
|
|
1596
1598
|
/**
|
|
1597
1599
|
* @hidden
|
|
@@ -2132,26 +2134,26 @@ class ToolBarComponent {
|
|
|
2132
2134
|
[prev]="true"
|
|
2133
2135
|
[overflow]="normalizedOverflow"
|
|
2134
2136
|
[title]="getScrollButtonTitle('prev')"
|
|
2135
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2137
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2136
2138
|
[ngClass]="{
|
|
2137
2139
|
'k-button-sm': size === 'small',
|
|
2138
|
-
'k-button-md': size === 'medium'
|
|
2140
|
+
'k-button-md': size === 'medium',
|
|
2139
2141
|
'k-button-lg': size === 'large'
|
|
2140
2142
|
}"
|
|
2141
2143
|
(onClick)="scrollTools($event)">
|
|
2142
2144
|
</span>
|
|
2143
2145
|
}
|
|
2144
2146
|
@if (hasScrollButtons.position === 'start') {
|
|
2145
|
-
<div class="k-button-group
|
|
2147
|
+
<div class="k-button-group" #startButtonGroup>
|
|
2146
2148
|
<span #prevScrollButton
|
|
2147
2149
|
kendoToolbarScrollableButton
|
|
2148
2150
|
[prev]="true"
|
|
2149
2151
|
[overflow]="normalizedOverflow"
|
|
2150
2152
|
[title]="getScrollButtonTitle('prev')"
|
|
2151
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2153
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2152
2154
|
[ngClass]="{
|
|
2153
2155
|
'k-button-sm': size === 'small',
|
|
2154
|
-
'k-button-md': size === 'medium'
|
|
2156
|
+
'k-button-md': size === 'medium',
|
|
2155
2157
|
'k-button-lg': size === 'large'
|
|
2156
2158
|
}"
|
|
2157
2159
|
(onClick)="scrollTools($event)">
|
|
@@ -2161,10 +2163,10 @@ class ToolBarComponent {
|
|
|
2161
2163
|
[prev]="false"
|
|
2162
2164
|
[overflow]="normalizedOverflow"
|
|
2163
2165
|
[title]="getScrollButtonTitle('next')"
|
|
2164
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2166
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2165
2167
|
[ngClass]="{
|
|
2166
2168
|
'k-button-sm': size === 'small',
|
|
2167
|
-
'k-button-md': size === 'medium'
|
|
2169
|
+
'k-button-md': size === 'medium',
|
|
2168
2170
|
'k-button-lg': size === 'large'
|
|
2169
2171
|
}"
|
|
2170
2172
|
(onClick)="scrollTools($event)">
|
|
@@ -2241,26 +2243,26 @@ class ToolBarComponent {
|
|
|
2241
2243
|
[prev]="false"
|
|
2242
2244
|
[overflow]="normalizedOverflow"
|
|
2243
2245
|
[title]="getScrollButtonTitle('next')"
|
|
2244
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2246
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2245
2247
|
[ngClass]="{
|
|
2246
2248
|
'k-button-sm': size === 'small',
|
|
2247
|
-
'k-button-md': size === 'medium'
|
|
2249
|
+
'k-button-md': size === 'medium',
|
|
2248
2250
|
'k-button-lg': size === 'large'
|
|
2249
2251
|
}"
|
|
2250
2252
|
(onClick)="scrollTools($event)">
|
|
2251
2253
|
</span>
|
|
2252
2254
|
}
|
|
2253
2255
|
@if (hasScrollButtons.position === 'end') {
|
|
2254
|
-
<div class="k-button-group
|
|
2256
|
+
<div class="k-button-group" #endButtonGroup>
|
|
2255
2257
|
<span #prevScrollButton
|
|
2256
2258
|
kendoToolbarScrollableButton
|
|
2257
2259
|
[prev]="true"
|
|
2258
2260
|
[overflow]="normalizedOverflow"
|
|
2259
2261
|
[title]="getScrollButtonTitle('prev')"
|
|
2260
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2262
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2261
2263
|
[ngClass]="{
|
|
2262
2264
|
'k-button-sm': size === 'small',
|
|
2263
|
-
'k-button-md': size === 'medium'
|
|
2265
|
+
'k-button-md': size === 'medium',
|
|
2264
2266
|
'k-button-lg': size === 'large'
|
|
2265
2267
|
}"
|
|
2266
2268
|
(onClick)="scrollTools($event)">
|
|
@@ -2270,10 +2272,10 @@ class ToolBarComponent {
|
|
|
2270
2272
|
[prev]="false"
|
|
2271
2273
|
[overflow]="normalizedOverflow"
|
|
2272
2274
|
[title]="getScrollButtonTitle('next')"
|
|
2273
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2275
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2274
2276
|
[ngClass]="{
|
|
2275
2277
|
'k-button-sm': size === 'small',
|
|
2276
|
-
'k-button-md': size === 'medium'
|
|
2278
|
+
'k-button-md': size === 'medium',
|
|
2277
2279
|
'k-button-lg': size === 'large'
|
|
2278
2280
|
}"
|
|
2279
2281
|
(onClick)="scrollTools($event)">
|
|
@@ -2283,7 +2285,7 @@ class ToolBarComponent {
|
|
|
2283
2285
|
}
|
|
2284
2286
|
<ng-template #popupTemplate>
|
|
2285
2287
|
<div
|
|
2286
|
-
class="k-menu-group
|
|
2288
|
+
class="k-menu-group"
|
|
2287
2289
|
role="menu"
|
|
2288
2290
|
[id]="popupId"
|
|
2289
2291
|
[attr.dir]="direction === 'rtl' ? 'rtl' : null"
|
|
@@ -2369,26 +2371,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2369
2371
|
[prev]="true"
|
|
2370
2372
|
[overflow]="normalizedOverflow"
|
|
2371
2373
|
[title]="getScrollButtonTitle('prev')"
|
|
2372
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2374
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2373
2375
|
[ngClass]="{
|
|
2374
2376
|
'k-button-sm': size === 'small',
|
|
2375
|
-
'k-button-md': size === 'medium'
|
|
2377
|
+
'k-button-md': size === 'medium',
|
|
2376
2378
|
'k-button-lg': size === 'large'
|
|
2377
2379
|
}"
|
|
2378
2380
|
(onClick)="scrollTools($event)">
|
|
2379
2381
|
</span>
|
|
2380
2382
|
}
|
|
2381
2383
|
@if (hasScrollButtons.position === 'start') {
|
|
2382
|
-
<div class="k-button-group
|
|
2384
|
+
<div class="k-button-group" #startButtonGroup>
|
|
2383
2385
|
<span #prevScrollButton
|
|
2384
2386
|
kendoToolbarScrollableButton
|
|
2385
2387
|
[prev]="true"
|
|
2386
2388
|
[overflow]="normalizedOverflow"
|
|
2387
2389
|
[title]="getScrollButtonTitle('prev')"
|
|
2388
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2390
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2389
2391
|
[ngClass]="{
|
|
2390
2392
|
'k-button-sm': size === 'small',
|
|
2391
|
-
'k-button-md': size === 'medium'
|
|
2393
|
+
'k-button-md': size === 'medium',
|
|
2392
2394
|
'k-button-lg': size === 'large'
|
|
2393
2395
|
}"
|
|
2394
2396
|
(onClick)="scrollTools($event)">
|
|
@@ -2398,10 +2400,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2398
2400
|
[prev]="false"
|
|
2399
2401
|
[overflow]="normalizedOverflow"
|
|
2400
2402
|
[title]="getScrollButtonTitle('next')"
|
|
2401
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2403
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2402
2404
|
[ngClass]="{
|
|
2403
2405
|
'k-button-sm': size === 'small',
|
|
2404
|
-
'k-button-md': size === 'medium'
|
|
2406
|
+
'k-button-md': size === 'medium',
|
|
2405
2407
|
'k-button-lg': size === 'large'
|
|
2406
2408
|
}"
|
|
2407
2409
|
(onClick)="scrollTools($event)">
|
|
@@ -2478,26 +2480,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2478
2480
|
[prev]="false"
|
|
2479
2481
|
[overflow]="normalizedOverflow"
|
|
2480
2482
|
[title]="getScrollButtonTitle('next')"
|
|
2481
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2483
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2482
2484
|
[ngClass]="{
|
|
2483
2485
|
'k-button-sm': size === 'small',
|
|
2484
|
-
'k-button-md': size === 'medium'
|
|
2486
|
+
'k-button-md': size === 'medium',
|
|
2485
2487
|
'k-button-lg': size === 'large'
|
|
2486
2488
|
}"
|
|
2487
2489
|
(onClick)="scrollTools($event)">
|
|
2488
2490
|
</span>
|
|
2489
2491
|
}
|
|
2490
2492
|
@if (hasScrollButtons.position === 'end') {
|
|
2491
|
-
<div class="k-button-group
|
|
2493
|
+
<div class="k-button-group" #endButtonGroup>
|
|
2492
2494
|
<span #prevScrollButton
|
|
2493
2495
|
kendoToolbarScrollableButton
|
|
2494
2496
|
[prev]="true"
|
|
2495
2497
|
[overflow]="normalizedOverflow"
|
|
2496
2498
|
[title]="getScrollButtonTitle('prev')"
|
|
2497
|
-
class="k-toolbar-prev k-icon-button k-button
|
|
2499
|
+
class="k-toolbar-prev k-icon-button k-button"
|
|
2498
2500
|
[ngClass]="{
|
|
2499
2501
|
'k-button-sm': size === 'small',
|
|
2500
|
-
'k-button-md': size === 'medium'
|
|
2502
|
+
'k-button-md': size === 'medium',
|
|
2501
2503
|
'k-button-lg': size === 'large'
|
|
2502
2504
|
}"
|
|
2503
2505
|
(onClick)="scrollTools($event)">
|
|
@@ -2507,10 +2509,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2507
2509
|
[prev]="false"
|
|
2508
2510
|
[overflow]="normalizedOverflow"
|
|
2509
2511
|
[title]="getScrollButtonTitle('next')"
|
|
2510
|
-
class="k-toolbar-next k-icon-button k-button
|
|
2512
|
+
class="k-toolbar-next k-icon-button k-button"
|
|
2511
2513
|
[ngClass]="{
|
|
2512
2514
|
'k-button-sm': size === 'small',
|
|
2513
|
-
'k-button-md': size === 'medium'
|
|
2515
|
+
'k-button-md': size === 'medium',
|
|
2514
2516
|
'k-button-lg': size === 'large'
|
|
2515
2517
|
}"
|
|
2516
2518
|
(onClick)="scrollTools($event)">
|
|
@@ -2520,7 +2522,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2520
2522
|
}
|
|
2521
2523
|
<ng-template #popupTemplate>
|
|
2522
2524
|
<div
|
|
2523
|
-
class="k-menu-group
|
|
2525
|
+
class="k-menu-group"
|
|
2524
2526
|
role="menu"
|
|
2525
2527
|
[id]="popupId"
|
|
2526
2528
|
[attr.dir]="direction === 'rtl' ? 'rtl' : null"
|
|
@@ -2659,7 +2661,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2659
2661
|
}] } });
|
|
2660
2662
|
|
|
2661
2663
|
/**
|
|
2662
|
-
* Represents the [Kendo UI ToolBar Button tool for Angular](
|
|
2664
|
+
* Represents the [Kendo UI ToolBar Button tool for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons).
|
|
2663
2665
|
*
|
|
2664
2666
|
* Use this component to render a button inside the ToolBar.
|
|
2665
2667
|
*
|
|
@@ -2702,7 +2704,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2702
2704
|
}
|
|
2703
2705
|
/**
|
|
2704
2706
|
* Specifies the text of the Button
|
|
2705
|
-
* ([see example](
|
|
2707
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
2706
2708
|
*/
|
|
2707
2709
|
set text(text) {
|
|
2708
2710
|
this._text = text;
|
|
@@ -2731,12 +2733,12 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2731
2733
|
title;
|
|
2732
2734
|
/**
|
|
2733
2735
|
* Disables the Button when set to `true`
|
|
2734
|
-
* ([see example](
|
|
2736
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
2735
2737
|
*/
|
|
2736
2738
|
disabled;
|
|
2737
2739
|
/**
|
|
2738
2740
|
* Provides visual styling to indicate if the Button is active
|
|
2739
|
-
* ([see example](
|
|
2741
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#toggle-buttons)).
|
|
2740
2742
|
* For toggleable buttons, set this to `true`.
|
|
2741
2743
|
* @default false
|
|
2742
2744
|
*/
|
|
@@ -2765,27 +2767,20 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2765
2767
|
*/
|
|
2766
2768
|
selected = false;
|
|
2767
2769
|
/**
|
|
2768
|
-
* Specifies the background and border styles of the Button.
|
|
2769
|
-
* Accepts a `ButtonFillMode` value.
|
|
2770
|
-
* @default 'solid'
|
|
2770
|
+
* Specifies the background and border styles of the Button. The default value is set by the Kendo theme.
|
|
2771
2771
|
*/
|
|
2772
|
-
fillMode =
|
|
2772
|
+
fillMode = undefined;
|
|
2773
2773
|
/**
|
|
2774
|
-
* Specifies the border radius of the Button.
|
|
2775
|
-
* Accepts a `ButtonRounded` value.
|
|
2776
|
-
*
|
|
2777
|
-
* @default 'medium'
|
|
2774
|
+
* Specifies the border radius of the Button. The default value is set by the Kendo theme.
|
|
2778
2775
|
*/
|
|
2779
|
-
rounded =
|
|
2776
|
+
rounded = undefined;
|
|
2780
2777
|
/**
|
|
2781
|
-
* Specifies the predefined theme color of the Button.
|
|
2782
|
-
* Accepts a `ButtonThemeColor` value.
|
|
2783
|
-
* @default 'base'
|
|
2778
|
+
* Specifies the predefined theme color of the Button. The default value is set by the Kendo theme.
|
|
2784
2779
|
*/
|
|
2785
|
-
themeColor =
|
|
2780
|
+
themeColor = undefined;
|
|
2786
2781
|
/**
|
|
2787
2782
|
* Defines the name for an existing icon in a Kendo UI theme
|
|
2788
|
-
* ([see example](
|
|
2783
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
2789
2784
|
* The icon is rendered inside the Button by a `span.k-icon` element.
|
|
2790
2785
|
*/
|
|
2791
2786
|
set icon(icon) {
|
|
@@ -2802,7 +2797,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2802
2797
|
}
|
|
2803
2798
|
/**
|
|
2804
2799
|
* Defines an SVGIcon to be rendered within the button.
|
|
2805
|
-
* Accepts either an [existing Kendo SVG icon](
|
|
2800
|
+
* Accepts either an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
2806
2801
|
*/
|
|
2807
2802
|
set svgIcon(icon) {
|
|
2808
2803
|
const isIconSet = this.toolbarOptions.icon || this.overflowOptions.icon;
|
|
@@ -2973,7 +2968,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
2973
2968
|
[disabled]="disabled"
|
|
2974
2969
|
[toggleable]="toggleable"
|
|
2975
2970
|
[fillMode]="fillMode"
|
|
2976
|
-
[themeColor]="
|
|
2971
|
+
[themeColor]="themeColor"
|
|
2977
2972
|
[rounded]="rounded"
|
|
2978
2973
|
[selected]="selected"
|
|
2979
2974
|
[icon]="toolbarOptions.icon"
|
|
@@ -3008,7 +3003,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3008
3003
|
[disabled]="disabled"
|
|
3009
3004
|
[toggleable]="toggleable"
|
|
3010
3005
|
[fillMode]="fillMode"
|
|
3011
|
-
[themeColor]="
|
|
3006
|
+
[themeColor]="themeColor"
|
|
3012
3007
|
[rounded]="rounded"
|
|
3013
3008
|
[selected]="selected"
|
|
3014
3009
|
[icon]="toolbarOptions.icon"
|
|
@@ -3073,7 +3068,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3073
3068
|
[disabled]="disabled"
|
|
3074
3069
|
[toggleable]="toggleable"
|
|
3075
3070
|
[fillMode]="fillMode"
|
|
3076
|
-
[themeColor]="
|
|
3071
|
+
[themeColor]="themeColor"
|
|
3077
3072
|
[rounded]="rounded"
|
|
3078
3073
|
[selected]="selected"
|
|
3079
3074
|
[icon]="toolbarOptions.icon"
|
|
@@ -3107,7 +3102,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3107
3102
|
[disabled]="disabled"
|
|
3108
3103
|
[toggleable]="toggleable"
|
|
3109
3104
|
[fillMode]="fillMode"
|
|
3110
|
-
[themeColor]="
|
|
3105
|
+
[themeColor]="themeColor"
|
|
3111
3106
|
[rounded]="rounded"
|
|
3112
3107
|
[selected]="selected"
|
|
3113
3108
|
[icon]="toolbarOptions.icon"
|
|
@@ -3149,7 +3144,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3149
3144
|
[disabled]="disabled"
|
|
3150
3145
|
[toggleable]="toggleable"
|
|
3151
3146
|
[fillMode]="fillMode"
|
|
3152
|
-
[themeColor]="
|
|
3147
|
+
[themeColor]="themeColor"
|
|
3153
3148
|
[rounded]="rounded"
|
|
3154
3149
|
[selected]="selected"
|
|
3155
3150
|
[icon]="toolbarOptions.icon"
|
|
@@ -3184,7 +3179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3184
3179
|
[disabled]="disabled"
|
|
3185
3180
|
[toggleable]="toggleable"
|
|
3186
3181
|
[fillMode]="fillMode"
|
|
3187
|
-
[themeColor]="
|
|
3182
|
+
[themeColor]="themeColor"
|
|
3188
3183
|
[rounded]="rounded"
|
|
3189
3184
|
[selected]="selected"
|
|
3190
3185
|
[icon]="toolbarOptions.icon"
|
|
@@ -3249,7 +3244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3249
3244
|
[disabled]="disabled"
|
|
3250
3245
|
[toggleable]="toggleable"
|
|
3251
3246
|
[fillMode]="fillMode"
|
|
3252
|
-
[themeColor]="
|
|
3247
|
+
[themeColor]="themeColor"
|
|
3253
3248
|
[rounded]="rounded"
|
|
3254
3249
|
[selected]="selected"
|
|
3255
3250
|
[icon]="toolbarOptions.icon"
|
|
@@ -3283,7 +3278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3283
3278
|
[disabled]="disabled"
|
|
3284
3279
|
[toggleable]="toggleable"
|
|
3285
3280
|
[fillMode]="fillMode"
|
|
3286
|
-
[themeColor]="
|
|
3281
|
+
[themeColor]="themeColor"
|
|
3287
3282
|
[rounded]="rounded"
|
|
3288
3283
|
[selected]="selected"
|
|
3289
3284
|
[icon]="toolbarOptions.icon"
|
|
@@ -3357,7 +3352,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3357
3352
|
}] } });
|
|
3358
3353
|
|
|
3359
3354
|
/**
|
|
3360
|
-
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](
|
|
3355
|
+
* Represents the [Kendo UI Toolbar ButtonGroup for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#button-groups).
|
|
3361
3356
|
*
|
|
3362
3357
|
* Use this component to group buttons in a ButtonGroup inside the ToolBar.
|
|
3363
3358
|
*
|
|
@@ -3387,9 +3382,9 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3387
3382
|
* @hidden
|
|
3388
3383
|
*
|
|
3389
3384
|
* Used to set different fillmode in Spreadsheet and Toolbar to comply with referent rendering.
|
|
3390
|
-
* @default
|
|
3385
|
+
* @default undefined
|
|
3391
3386
|
*/
|
|
3392
|
-
fillMode =
|
|
3387
|
+
fillMode = undefined;
|
|
3393
3388
|
/**
|
|
3394
3389
|
* Sets the selection mode of the ButtonGroup.
|
|
3395
3390
|
* @default 'multiple'
|
|
@@ -3544,7 +3539,8 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3544
3539
|
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
3540
|
<ng-template #toolbarTemplate>
|
|
3546
3541
|
<kendo-buttongroup
|
|
3547
|
-
class="k-toolbar-button-group
|
|
3542
|
+
class="k-toolbar-button-group"
|
|
3543
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3548
3544
|
#toolbarButtonGroup
|
|
3549
3545
|
[tabIndex]="-1"
|
|
3550
3546
|
[selection]="selection"
|
|
@@ -3566,7 +3562,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3566
3562
|
[selected]="button.selected"
|
|
3567
3563
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3568
3564
|
[fillMode]="button.fillMode"
|
|
3569
|
-
[themeColor]="button.
|
|
3565
|
+
[themeColor]="button.themeColor"
|
|
3570
3566
|
[icon]="button.toolbarOptions.icon"
|
|
3571
3567
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3572
3568
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3611,7 +3607,8 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3611
3607
|
</ng-template>
|
|
3612
3608
|
<ng-template #sectionTemplate>
|
|
3613
3609
|
<kendo-buttongroup
|
|
3614
|
-
class="k-toolbar-button-group
|
|
3610
|
+
class="k-toolbar-button-group"
|
|
3611
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3615
3612
|
#sectionButtonGroup
|
|
3616
3613
|
[tabIndex]="-1"
|
|
3617
3614
|
[selection]="selection"
|
|
@@ -3633,7 +3630,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3633
3630
|
[selected]="button.selected"
|
|
3634
3631
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3635
3632
|
[fillMode]="button.fillMode"
|
|
3636
|
-
[themeColor]="button.
|
|
3633
|
+
[themeColor]="button.themeColor"
|
|
3637
3634
|
[icon]="button.toolbarOptions.icon"
|
|
3638
3635
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3639
3636
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3658,7 +3655,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3658
3655
|
template: `
|
|
3659
3656
|
<ng-template #toolbarTemplate>
|
|
3660
3657
|
<kendo-buttongroup
|
|
3661
|
-
class="k-toolbar-button-group
|
|
3658
|
+
class="k-toolbar-button-group"
|
|
3659
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3662
3660
|
#toolbarButtonGroup
|
|
3663
3661
|
[tabIndex]="-1"
|
|
3664
3662
|
[selection]="selection"
|
|
@@ -3680,7 +3678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3680
3678
|
[selected]="button.selected"
|
|
3681
3679
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3682
3680
|
[fillMode]="button.fillMode"
|
|
3683
|
-
[themeColor]="button.
|
|
3681
|
+
[themeColor]="button.themeColor"
|
|
3684
3682
|
[icon]="button.toolbarOptions.icon"
|
|
3685
3683
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3686
3684
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3725,7 +3723,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3725
3723
|
</ng-template>
|
|
3726
3724
|
<ng-template #sectionTemplate>
|
|
3727
3725
|
<kendo-buttongroup
|
|
3728
|
-
class="k-toolbar-button-group
|
|
3726
|
+
class="k-toolbar-button-group"
|
|
3727
|
+
[ngClass]="fillMode ? 'k-button-group-' + fillMode : ''"
|
|
3729
3728
|
#sectionButtonGroup
|
|
3730
3729
|
[tabIndex]="-1"
|
|
3731
3730
|
[selection]="selection"
|
|
@@ -3747,7 +3746,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3747
3746
|
[selected]="button.selected"
|
|
3748
3747
|
[attr.aria-pressed]="button.selected ? true : false"
|
|
3749
3748
|
[fillMode]="button.fillMode"
|
|
3750
|
-
[themeColor]="button.
|
|
3749
|
+
[themeColor]="button.themeColor"
|
|
3751
3750
|
[icon]="button.toolbarOptions.icon"
|
|
3752
3751
|
[iconClass]="button.toolbarOptions.iconClass"
|
|
3753
3752
|
[svgIcon]="button.toolbarOptions.svgIcon"
|
|
@@ -3790,7 +3789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3790
3789
|
}] } });
|
|
3791
3790
|
|
|
3792
3791
|
/**
|
|
3793
|
-
* Represents the [Kendo UI ToolBar DropDownButton for Angular](
|
|
3792
|
+
* Represents the [Kendo UI ToolBar DropDownButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons).
|
|
3794
3793
|
*
|
|
3795
3794
|
* Use this component to add a button that opens a popup with a list of items in the ToolBar.
|
|
3796
3795
|
*
|
|
@@ -3841,7 +3840,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3841
3840
|
}
|
|
3842
3841
|
/**
|
|
3843
3842
|
* Sets the text of the DropDownButton
|
|
3844
|
-
* ([see example](
|
|
3843
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
3845
3844
|
*/
|
|
3846
3845
|
set text(text) {
|
|
3847
3846
|
this._text = text;
|
|
@@ -3859,7 +3858,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3859
3858
|
}
|
|
3860
3859
|
/**
|
|
3861
3860
|
* Sets the `SVGIcon` rendered in the button.
|
|
3862
|
-
* Accepts an [existing Kendo SVG icon](
|
|
3861
|
+
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
3863
3862
|
*/
|
|
3864
3863
|
set svgIcon(icon) {
|
|
3865
3864
|
const isIconSet = this.toolbarOptions.icon || this.overflowOptions.icon;
|
|
@@ -3913,17 +3912,15 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3913
3912
|
}
|
|
3914
3913
|
/**
|
|
3915
3914
|
* Sets the fill mode for the button.
|
|
3916
|
-
* The fill mode represents the background and border styles.
|
|
3917
|
-
* @default 'solid'
|
|
3915
|
+
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
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 'base'
|
|
3921
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
|
|
3925
3922
|
*/
|
|
3926
|
-
themeColor =
|
|
3923
|
+
themeColor = undefined;
|
|
3927
3924
|
/**
|
|
3928
3925
|
* Sets the CSS classes for the main button.
|
|
3929
3926
|
* Accepts values supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
@@ -3940,7 +3937,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
3940
3937
|
disabled;
|
|
3941
3938
|
/**
|
|
3942
3939
|
* Sets the data of the DropDownButton
|
|
3943
|
-
* ([see example](
|
|
3940
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
3944
3941
|
*
|
|
3945
3942
|
* > Provide the data as an array-like list.
|
|
3946
3943
|
*/
|
|
@@ -4125,7 +4122,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4125
4122
|
[textField]="textField"
|
|
4126
4123
|
[popupSettings]="popupSettings"
|
|
4127
4124
|
[fillMode]="fillMode"
|
|
4128
|
-
[themeColor]="
|
|
4125
|
+
[themeColor]="themeColor"
|
|
4129
4126
|
(open)="open.emit($event)"
|
|
4130
4127
|
(close)="close.emit($event)"
|
|
4131
4128
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4133,7 +4130,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4133
4130
|
{{ toolbarOptions.text }}
|
|
4134
4131
|
</kendo-dropdownbutton>
|
|
4135
4132
|
</ng-template>
|
|
4136
|
-
|
|
4133
|
+
|
|
4137
4134
|
<ng-template #popupTemplate>
|
|
4138
4135
|
<div
|
|
4139
4136
|
tabindex="-1"
|
|
@@ -4180,7 +4177,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4180
4177
|
</div>
|
|
4181
4178
|
}
|
|
4182
4179
|
</ng-template>
|
|
4183
|
-
|
|
4180
|
+
|
|
4184
4181
|
<ng-template #sectionTemplate>
|
|
4185
4182
|
<kendo-dropdownbutton #sectionDropDownButton
|
|
4186
4183
|
[icon]="toolbarOptions.icon"
|
|
@@ -4197,7 +4194,7 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
4197
4194
|
[textField]="textField"
|
|
4198
4195
|
[popupSettings]="popupSettings"
|
|
4199
4196
|
[fillMode]="fillMode"
|
|
4200
|
-
[themeColor]="
|
|
4197
|
+
[themeColor]="themeColor"
|
|
4201
4198
|
(open)="open.emit($event)"
|
|
4202
4199
|
(close)="close.emit($event)"
|
|
4203
4200
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4230,7 +4227,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4230
4227
|
[textField]="textField"
|
|
4231
4228
|
[popupSettings]="popupSettings"
|
|
4232
4229
|
[fillMode]="fillMode"
|
|
4233
|
-
[themeColor]="
|
|
4230
|
+
[themeColor]="themeColor"
|
|
4234
4231
|
(open)="open.emit($event)"
|
|
4235
4232
|
(close)="close.emit($event)"
|
|
4236
4233
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4238,7 +4235,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4238
4235
|
{{ toolbarOptions.text }}
|
|
4239
4236
|
</kendo-dropdownbutton>
|
|
4240
4237
|
</ng-template>
|
|
4241
|
-
|
|
4238
|
+
|
|
4242
4239
|
<ng-template #popupTemplate>
|
|
4243
4240
|
<div
|
|
4244
4241
|
tabindex="-1"
|
|
@@ -4285,7 +4282,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4285
4282
|
</div>
|
|
4286
4283
|
}
|
|
4287
4284
|
</ng-template>
|
|
4288
|
-
|
|
4285
|
+
|
|
4289
4286
|
<ng-template #sectionTemplate>
|
|
4290
4287
|
<kendo-dropdownbutton #sectionDropDownButton
|
|
4291
4288
|
[icon]="toolbarOptions.icon"
|
|
@@ -4302,7 +4299,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4302
4299
|
[textField]="textField"
|
|
4303
4300
|
[popupSettings]="popupSettings"
|
|
4304
4301
|
[fillMode]="fillMode"
|
|
4305
|
-
[themeColor]="
|
|
4302
|
+
[themeColor]="themeColor"
|
|
4306
4303
|
(open)="open.emit($event)"
|
|
4307
4304
|
(close)="close.emit($event)"
|
|
4308
4305
|
(itemClick)="itemClick.emit($event)"
|
|
@@ -4371,7 +4368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4371
4368
|
}] } });
|
|
4372
4369
|
|
|
4373
4370
|
/**
|
|
4374
|
-
* Represents the [Kendo UI ToolBar SplitButton for Angular](
|
|
4371
|
+
* Represents the [Kendo UI ToolBar SplitButton for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons).
|
|
4375
4372
|
*
|
|
4376
4373
|
* Use the ToolBar SplitButton to create a split button with a main button and a drop-down list of actions in the ToolBar.
|
|
4377
4374
|
*
|
|
@@ -4409,7 +4406,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4409
4406
|
return this._showIcon;
|
|
4410
4407
|
}
|
|
4411
4408
|
/**
|
|
4412
|
-
* Sets the text of the SplitButton ([see example](
|
|
4409
|
+
* Sets the text of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
4413
4410
|
*/
|
|
4414
4411
|
set text(text) {
|
|
4415
4412
|
this._text = text;
|
|
@@ -4420,7 +4417,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4420
4417
|
}
|
|
4421
4418
|
/**
|
|
4422
4419
|
* Sets the icon rendered next to the button text
|
|
4423
|
-
* ([see example](
|
|
4420
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
4424
4421
|
*/
|
|
4425
4422
|
set icon(icon) {
|
|
4426
4423
|
this.toolbarOptions.icon = getValueForLocation(icon, this.showIcon, false);
|
|
@@ -4428,7 +4425,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4428
4425
|
}
|
|
4429
4426
|
/**
|
|
4430
4427
|
* Sets the `SVGIcon` rendered in the main button.
|
|
4431
|
-
* Accepts an [existing Kendo SVG icon](
|
|
4428
|
+
* Accepts an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
4432
4429
|
*/
|
|
4433
4430
|
set svgIcon(icon) {
|
|
4434
4431
|
const isIconSet = this.toolbarOptions.icon || this.overflowOptions.icon;
|
|
@@ -4476,16 +4473,14 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4476
4473
|
}
|
|
4477
4474
|
/**
|
|
4478
4475
|
* Sets the fill mode for the button.
|
|
4479
|
-
* The fill mode represents the background and border styles.
|
|
4480
|
-
* @default 'solid'
|
|
4476
|
+
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
4481
4477
|
*/
|
|
4482
|
-
fillMode =
|
|
4478
|
+
fillMode = undefined;
|
|
4483
4479
|
/**
|
|
4484
4480
|
* Sets the predefined theme color for the button.
|
|
4485
|
-
* The theme color applies to the background, border, and text.
|
|
4486
|
-
* @default 'base'
|
|
4481
|
+
* The theme color applies to the background, border, and text. The default value is set by the Kendo theme.
|
|
4487
4482
|
*/
|
|
4488
|
-
themeColor =
|
|
4483
|
+
themeColor = undefined;
|
|
4489
4484
|
/**
|
|
4490
4485
|
* @hidden
|
|
4491
4486
|
*/
|
|
@@ -4505,11 +4500,11 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4505
4500
|
*/
|
|
4506
4501
|
arrowButtonClass;
|
|
4507
4502
|
/**
|
|
4508
|
-
* Sets the name of the [font icon](
|
|
4503
|
+
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
4509
4504
|
*/
|
|
4510
4505
|
arrowButtonIcon = 'caret-alt-down';
|
|
4511
4506
|
/**
|
|
4512
|
-
* Sets the [`SVGIcon`](
|
|
4507
|
+
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
4513
4508
|
*/
|
|
4514
4509
|
arrowButtonSvgIcon = caretAltDownIcon;
|
|
4515
4510
|
/**
|
|
@@ -4518,7 +4513,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4518
4513
|
*/
|
|
4519
4514
|
textField = 'text';
|
|
4520
4515
|
/**
|
|
4521
|
-
* Sets the data of the SplitButton ([see example](
|
|
4516
|
+
* Sets the data of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
4522
4517
|
*
|
|
4523
4518
|
* > Provide the data as an array-like list.
|
|
4524
4519
|
*/
|
|
@@ -4706,7 +4701,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4706
4701
|
[textField]="textField"
|
|
4707
4702
|
[popupSettings]="popupSettings"
|
|
4708
4703
|
[fillMode]="fillMode"
|
|
4709
|
-
[themeColor]="
|
|
4704
|
+
[themeColor]="themeColor"
|
|
4710
4705
|
(buttonClick)="buttonClick.emit($event)"
|
|
4711
4706
|
(open)="open.emit($event)"
|
|
4712
4707
|
(close)="close.emit($event)"
|
|
@@ -4782,7 +4777,7 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4782
4777
|
[textField]="textField"
|
|
4783
4778
|
[popupSettings]="popupSettings"
|
|
4784
4779
|
[fillMode]="fillMode"
|
|
4785
|
-
[themeColor]="
|
|
4780
|
+
[themeColor]="themeColor"
|
|
4786
4781
|
(buttonClick)="buttonClick.emit($event)"
|
|
4787
4782
|
(open)="open.emit($event)"
|
|
4788
4783
|
(close)="close.emit($event)"
|
|
@@ -4818,7 +4813,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4818
4813
|
[textField]="textField"
|
|
4819
4814
|
[popupSettings]="popupSettings"
|
|
4820
4815
|
[fillMode]="fillMode"
|
|
4821
|
-
[themeColor]="
|
|
4816
|
+
[themeColor]="themeColor"
|
|
4822
4817
|
(buttonClick)="buttonClick.emit($event)"
|
|
4823
4818
|
(open)="open.emit($event)"
|
|
4824
4819
|
(close)="close.emit($event)"
|
|
@@ -4894,7 +4889,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4894
4889
|
[textField]="textField"
|
|
4895
4890
|
[popupSettings]="popupSettings"
|
|
4896
4891
|
[fillMode]="fillMode"
|
|
4897
|
-
[themeColor]="
|
|
4892
|
+
[themeColor]="themeColor"
|
|
4898
4893
|
(buttonClick)="buttonClick.emit($event)"
|
|
4899
4894
|
(open)="open.emit($event)"
|
|
4900
4895
|
(close)="close.emit($event)"
|
|
@@ -4964,7 +4959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4964
4959
|
}] } });
|
|
4965
4960
|
|
|
4966
4961
|
/**
|
|
4967
|
-
* Represents the [Kendo UI ToolBar Separator for Angular](
|
|
4962
|
+
* Represents the [Kendo UI ToolBar Separator for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
4968
4963
|
*
|
|
4969
4964
|
* Use this component to add a visual separator between ToolBar tools.
|
|
4970
4965
|
*
|
|
@@ -5054,7 +5049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5054
5049
|
}] } });
|
|
5055
5050
|
|
|
5056
5051
|
/**
|
|
5057
|
-
* Represents the [Kendo UI ToolBar Spacer for Angular](
|
|
5052
|
+
* Represents the [Kendo UI ToolBar Spacer for Angular](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#separators).
|
|
5058
5053
|
*
|
|
5059
5054
|
* Use the ToolBar Spacer to add flexible space between ToolBar tools.
|
|
5060
5055
|
*
|
|
@@ -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": 1770666657,
|
|
11
|
+
"version": "23.0.0-develop.10",
|
|
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.10",
|
|
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": 1770666657,
|
|
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.10",
|
|
59
|
+
"@progress/kendo-angular-common": "23.0.0-develop.10",
|
|
60
|
+
"@progress/kendo-angular-l10n": "23.0.0-develop.10",
|
|
61
|
+
"@progress/kendo-angular-icons": "23.0.0-develop.10",
|
|
62
|
+
"@progress/kendo-angular-indicators": "23.0.0-develop.10",
|
|
63
|
+
"@progress/kendo-angular-popup": "23.0.0-develop.10",
|
|
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.10"
|
|
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,14 @@ 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 'solid'
|
|
107
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)). The default value is set by the Kendo theme.
|
|
109
108
|
*/
|
|
110
109
|
set fillMode(fillMode: ToolbarFillMode);
|
|
111
110
|
get fillMode(): ToolbarFillMode;
|
|
@@ -117,8 +116,7 @@ export declare class ToolBarComponent {
|
|
|
117
116
|
tabindex: number;
|
|
118
117
|
/**
|
|
119
118
|
* Sets the size for all ToolBar elements.
|
|
120
|
-
* Use this property to control the padding of the ToolBar elements.
|
|
121
|
-
* @default 'medium'
|
|
119
|
+
* Use this property to control the padding of the ToolBar elements. The default value is set by the Kendo theme.
|
|
122
120
|
*/
|
|
123
121
|
set size(size: ToolbarSize);
|
|
124
122
|
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
|
*/
|
|
@@ -95,27 +95,20 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
95
95
|
*/
|
|
96
96
|
selected: boolean;
|
|
97
97
|
/**
|
|
98
|
-
* Specifies the background and border styles of the Button.
|
|
99
|
-
* Accepts a `ButtonFillMode` value.
|
|
100
|
-
* @default 'solid'
|
|
98
|
+
* Specifies the background and border styles of the Button. The default value is set by the Kendo theme.
|
|
101
99
|
*/
|
|
102
100
|
fillMode: ButtonFillMode;
|
|
103
101
|
/**
|
|
104
|
-
* Specifies the border radius of the Button.
|
|
105
|
-
* Accepts a `ButtonRounded` value.
|
|
106
|
-
*
|
|
107
|
-
* @default 'medium'
|
|
102
|
+
* Specifies the border radius of the Button. The default value is set by the Kendo theme.
|
|
108
103
|
*/
|
|
109
104
|
rounded: ButtonRounded;
|
|
110
105
|
/**
|
|
111
|
-
* Specifies the predefined theme color of the Button.
|
|
112
|
-
* Accepts a `ButtonThemeColor` value.
|
|
113
|
-
* @default 'base'
|
|
106
|
+
* Specifies the predefined theme color of the Button. The default value is set by the Kendo theme.
|
|
114
107
|
*/
|
|
115
108
|
themeColor: ButtonThemeColor;
|
|
116
109
|
/**
|
|
117
110
|
* Defines the name for an existing icon in a Kendo UI theme
|
|
118
|
-
* ([see example](
|
|
111
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#buttons)).
|
|
119
112
|
* The icon is rendered inside the Button by a `span.k-icon` element.
|
|
120
113
|
*/
|
|
121
114
|
set icon(icon: string);
|
|
@@ -126,7 +119,7 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
126
119
|
set iconClass(iconClass: string);
|
|
127
120
|
/**
|
|
128
121
|
* Defines an SVGIcon to be rendered within the button.
|
|
129
|
-
* Accepts either an [existing Kendo SVG icon](
|
|
122
|
+
* Accepts either an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
130
123
|
*/
|
|
131
124
|
set svgIcon(icon: SVGIcon);
|
|
132
125
|
/**
|
|
@@ -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
|
/**
|
|
@@ -91,15 +91,13 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
91
91
|
set primary(primary: boolean);
|
|
92
92
|
/**
|
|
93
93
|
* Sets the fill mode for the button.
|
|
94
|
-
* The fill mode represents the background and border styles.
|
|
95
|
-
* @default 'solid'
|
|
94
|
+
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
96
95
|
*/
|
|
97
96
|
fillMode: ButtonFillMode;
|
|
98
97
|
/**
|
|
99
98
|
* Sets the predefined theme color for the button.
|
|
100
99
|
* The theme color applies to the background, border, and text
|
|
101
|
-
* ([see example](
|
|
102
|
-
* @default 'base'
|
|
100
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
|
|
103
101
|
*/
|
|
104
102
|
themeColor: ButtonThemeColor;
|
|
105
103
|
/**
|
|
@@ -118,7 +116,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
118
116
|
disabled: boolean;
|
|
119
117
|
/**
|
|
120
118
|
* Sets the data of the DropDownButton
|
|
121
|
-
* ([see example](
|
|
119
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#drop-down-buttons)).
|
|
122
120
|
*
|
|
123
121
|
* > Provide the data as an array-like list.
|
|
124
122
|
*/
|
|
@@ -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
|
/**
|
|
@@ -75,14 +75,12 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
75
75
|
get popupSettings(): PopupSettings;
|
|
76
76
|
/**
|
|
77
77
|
* Sets the fill mode for the button.
|
|
78
|
-
* The fill mode represents the background and border styles.
|
|
79
|
-
* @default 'solid'
|
|
78
|
+
* The fill mode represents the background and border styles. The default value is set by the Kendo theme.
|
|
80
79
|
*/
|
|
81
80
|
fillMode: ButtonFillMode;
|
|
82
81
|
/**
|
|
83
82
|
* Sets the predefined theme color for the button.
|
|
84
|
-
* The theme color applies to the background, border, and text.
|
|
85
|
-
* @default 'base'
|
|
83
|
+
* The theme color applies to the background, border, and text. The default value is set by the Kendo theme.
|
|
86
84
|
*/
|
|
87
85
|
themeColor: ButtonThemeColor;
|
|
88
86
|
/**
|
|
@@ -100,11 +98,11 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
100
98
|
*/
|
|
101
99
|
arrowButtonClass: any;
|
|
102
100
|
/**
|
|
103
|
-
* Sets the name of the [font icon](
|
|
101
|
+
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
104
102
|
*/
|
|
105
103
|
arrowButtonIcon: string;
|
|
106
104
|
/**
|
|
107
|
-
* Sets the [`SVGIcon`](
|
|
105
|
+
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
108
106
|
*/
|
|
109
107
|
arrowButtonSvgIcon: SVGIcon;
|
|
110
108
|
/**
|
|
@@ -113,7 +111,7 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
113
111
|
*/
|
|
114
112
|
textField: string;
|
|
115
113
|
/**
|
|
116
|
-
* Sets the data of the SplitButton ([see example](
|
|
114
|
+
* Sets the data of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/control-types#split-buttons)).
|
|
117
115
|
*
|
|
118
116
|
* > Provide the data as an array-like list.
|
|
119
117
|
*/
|
|
@@ -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
|
*/
|
package/util.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export declare function outerHeight(element: any): number;
|
|
|
28
28
|
* @hidden
|
|
29
29
|
*/
|
|
30
30
|
export declare const closest: (node: any, predicate: any) => any;
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export declare const isSmartBoxInput: (target: any) => boolean;
|
|
31
35
|
/**
|
|
32
36
|
* @hidden
|
|
33
37
|
*/
|