@progress/kendo-angular-toolbar 22.1.0-develop.18 → 22.1.0-develop.19
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/size.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-toolbar.mjs +93 -95
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/toolbar.component.d.ts +2 -2
- package/tools/toolbar-button.component.d.ts +3 -3
- package/tools/toolbar-buttongroup.component.d.ts +1 -1
- package/tools/toolbar-dropdownbutton.component.d.ts +2 -2
- package/tools/toolbar-splitbutton.component.d.ts +2 -2
package/common/fillmode.d.ts
CHANGED
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: '22.1.0-develop.
|
|
30
|
+
version: '22.1.0-develop.19',
|
|
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
|
}
|
|
@@ -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,
|
|
@@ -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.
|
|
@@ -1238,12 +1238,11 @@ class ToolBarComponent {
|
|
|
1238
1238
|
* Sets the fill mode for the ToolBar.
|
|
1239
1239
|
* This property controls the background and border styles of the ToolBar
|
|
1240
1240
|
* ([see example](slug:appearance_toolbar#toc-fill-mode)).
|
|
1241
|
-
* @default
|
|
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"
|
|
@@ -2767,22 +2761,22 @@ 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
2782
|
* ([see example]({% slug controltypes_toolbar %}#toc-buttons)).
|
|
@@ -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"
|
|
@@ -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"
|
|
@@ -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
3921
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-themeColor)).
|
|
3924
|
-
* @default
|
|
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']).
|
|
@@ -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)"
|
|
@@ -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)"
|
|
@@ -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)"
|
|
@@ -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
|
*/
|
|
@@ -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)"
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "22.1.0-develop.
|
|
10
|
+
"publishDate": 1770219730,
|
|
11
|
+
"version": "22.1.0-develop.19",
|
|
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": "22.1.0-develop.
|
|
3
|
+
"version": "22.1.0-develop.19",
|
|
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": 1770219730,
|
|
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": "22.1.0-develop.
|
|
59
|
-
"@progress/kendo-angular-common": "22.1.0-develop.
|
|
60
|
-
"@progress/kendo-angular-l10n": "22.1.0-develop.
|
|
61
|
-
"@progress/kendo-angular-icons": "22.1.0-develop.
|
|
62
|
-
"@progress/kendo-angular-indicators": "22.1.0-develop.
|
|
63
|
-
"@progress/kendo-angular-popup": "22.1.0-develop.
|
|
58
|
+
"@progress/kendo-angular-buttons": "22.1.0-develop.19",
|
|
59
|
+
"@progress/kendo-angular-common": "22.1.0-develop.19",
|
|
60
|
+
"@progress/kendo-angular-l10n": "22.1.0-develop.19",
|
|
61
|
+
"@progress/kendo-angular-icons": "22.1.0-develop.19",
|
|
62
|
+
"@progress/kendo-angular-indicators": "22.1.0-develop.19",
|
|
63
|
+
"@progress/kendo-angular-popup": "22.1.0-develop.19",
|
|
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": "22.1.0-develop.
|
|
68
|
+
"@progress/kendo-angular-schematics": "22.1.0-develop.19"
|
|
69
69
|
},
|
|
70
70
|
"schematics": "./schematics/collection.json",
|
|
71
71
|
"module": "fesm2022/progress-kendo-angular-toolbar.mjs",
|
package/toolbar.component.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export declare class ToolBarComponent {
|
|
|
105
105
|
* Sets the fill mode for the ToolBar.
|
|
106
106
|
* This property controls the background and border styles of the ToolBar
|
|
107
107
|
* ([see example](slug:appearance_toolbar#toc-fill-mode)).
|
|
108
|
-
* @default
|
|
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;
|
|
@@ -97,20 +97,20 @@ 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
|
/**
|
|
@@ -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
|
/**
|
|
@@ -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
101
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-themeColor)).
|
|
102
|
-
* @default
|
|
102
|
+
* @default undefined
|
|
103
103
|
*/
|
|
104
104
|
themeColor: ButtonThemeColor;
|
|
105
105
|
/**
|
|
@@ -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
|
/**
|