@progress/kendo-angular-toolbar 24.0.0-develop.2 → 24.0.0-develop.21
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/NOTICE.txt +2599 -172
- package/fesm2022/progress-kendo-angular-toolbar.mjs +93 -77
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/scrollable-button.component.d.ts +2 -2
- package/toolbar.component.d.ts +9 -0
|
@@ -6,13 +6,13 @@ import * as i0 from '@angular/core';
|
|
|
6
6
|
import { EventEmitter, Injectable, inject, ElementRef, Input, ViewChild, Directive, Output, forwardRef, HostBinding, Component, ViewContainerRef, HostListener, ContentChildren, isDevMode, ViewChildren, NgModule } from '@angular/core';
|
|
7
7
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { normalizeKeys, Keys, isPresent as isPresent$1, isDocumentAvailable, guid, parseCSSClassNames, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
9
|
+
import { normalizeKeys, Keys, isPresent as isPresent$1, isDocumentAvailable, getLicenseMessage, shouldShowValidationUI, guid, parseCSSClassNames, ResizeSensorComponent, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
10
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
11
11
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
13
|
import { take, filter, takeUntil } from 'rxjs/operators';
|
|
14
14
|
import { Subject, Subscription, merge, fromEvent } from 'rxjs';
|
|
15
|
-
import {
|
|
15
|
+
import { chevronLeftIcon, chevronRightIcon, moreHorizontalIcon, moreVerticalIcon, chevronDownIcon } from '@progress/kendo-svg-icons';
|
|
16
16
|
import { ButtonComponent, ButtonGroupComponent, DropDownButtonComponent, SplitButtonComponent } from '@progress/kendo-angular-buttons';
|
|
17
17
|
import { NgTemplateOutlet, NgClass, NgStyle } from '@angular/common';
|
|
18
18
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
@@ -26,8 +26,8 @@ const packageMetadata = {
|
|
|
26
26
|
productName: 'Kendo UI for Angular',
|
|
27
27
|
productCode: 'KENDOUIANGULAR',
|
|
28
28
|
productCodes: ['KENDOUIANGULAR'],
|
|
29
|
-
publishDate:
|
|
30
|
-
version: '24.0.0-develop.
|
|
29
|
+
publishDate: 1778160975,
|
|
30
|
+
version: '24.0.0-develop.21',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -979,8 +979,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
979
979
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.LocalizationService }] });
|
|
980
980
|
|
|
981
981
|
const DIRECTION_CLASSES = {
|
|
982
|
-
left: '
|
|
983
|
-
right: '
|
|
982
|
+
left: 'chevron-left',
|
|
983
|
+
right: 'chevron-right'
|
|
984
984
|
};
|
|
985
985
|
/**
|
|
986
986
|
* @hidden
|
|
@@ -1009,8 +1009,8 @@ class ToolbarScrollableButtonComponent {
|
|
|
1009
1009
|
get svgIcon() {
|
|
1010
1010
|
return this.scrollButtonSVGIcon;
|
|
1011
1011
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1012
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
1013
|
+
chevronRightIcon = chevronRightIcon;
|
|
1014
1014
|
subs = new Subscription();
|
|
1015
1015
|
constructor(host, renderer, ngZone, localization) {
|
|
1016
1016
|
this.host = host;
|
|
@@ -1062,11 +1062,11 @@ class ToolbarScrollableButtonComponent {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
get scrollButtonSVGIcon() {
|
|
1064
1064
|
const defaultPrevSVGIcon = !this.localization.rtl ?
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1065
|
+
this.chevronLeftIcon :
|
|
1066
|
+
this.chevronRightIcon;
|
|
1067
1067
|
const defaultNextSVGIcon = !this.localization.rtl ?
|
|
1068
|
-
this.
|
|
1069
|
-
this.
|
|
1068
|
+
this.chevronRightIcon :
|
|
1069
|
+
this.chevronLeftIcon;
|
|
1070
1070
|
if (typeof this.overflow === 'object') {
|
|
1071
1071
|
const prevIcon = this.overflow.prevSVGButtonIcon !== undefined ? this.overflow.prevSVGButtonIcon : defaultPrevSVGIcon;
|
|
1072
1072
|
const nextIcon = this.overflow.nextSVGButtonIcon !== undefined ? this.overflow.nextSVGButtonIcon : defaultNextSVGIcon;
|
|
@@ -1362,11 +1362,11 @@ class ToolBarComponent {
|
|
|
1362
1362
|
/**
|
|
1363
1363
|
* @hidden
|
|
1364
1364
|
*/
|
|
1365
|
-
prevButtonIcon =
|
|
1365
|
+
prevButtonIcon = chevronLeftIcon;
|
|
1366
1366
|
/**
|
|
1367
1367
|
* @hidden
|
|
1368
1368
|
*/
|
|
1369
|
-
nextButtonIcon =
|
|
1369
|
+
nextButtonIcon = chevronRightIcon;
|
|
1370
1370
|
/**
|
|
1371
1371
|
* @hidden
|
|
1372
1372
|
*/
|
|
@@ -1435,6 +1435,14 @@ class ToolBarComponent {
|
|
|
1435
1435
|
get resizableClass() {
|
|
1436
1436
|
return this.resizable;
|
|
1437
1437
|
}
|
|
1438
|
+
/**
|
|
1439
|
+
* @hidden
|
|
1440
|
+
*/
|
|
1441
|
+
showLicenseWatermark = false;
|
|
1442
|
+
/**
|
|
1443
|
+
* @hidden
|
|
1444
|
+
*/
|
|
1445
|
+
licenseMessage;
|
|
1438
1446
|
constructor(localization, popupService, refreshService, navigationService,
|
|
1439
1447
|
// Needs to be public as it is being accessed in the Editor component
|
|
1440
1448
|
element, zone, renderer, _cdr, toolsService, scrollService) {
|
|
@@ -1448,7 +1456,9 @@ class ToolBarComponent {
|
|
|
1448
1456
|
this._cdr = _cdr;
|
|
1449
1457
|
this.toolsService = toolsService;
|
|
1450
1458
|
this.scrollService = scrollService;
|
|
1451
|
-
validatePackage(packageMetadata);
|
|
1459
|
+
const isValid = validatePackage(packageMetadata);
|
|
1460
|
+
this.licenseMessage = getLicenseMessage(packageMetadata);
|
|
1461
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
1452
1462
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
1453
1463
|
this.scrollService.owner = this;
|
|
1454
1464
|
}
|
|
@@ -2179,36 +2189,36 @@ class ToolBarComponent {
|
|
|
2179
2189
|
@if (isScrollMode) {
|
|
2180
2190
|
<div class="k-toolbar-items k-toolbar-items-scroll" tabindex="-1" #scrollContainer>
|
|
2181
2191
|
@for (tool of allTools; track tool; let index = $index) {
|
|
2192
|
+
<ng-template #wrapper>
|
|
2193
|
+
<div class="k-toolbar-item">
|
|
2194
|
+
<ng-container [ngTemplateOutlet]="tool.toolbarTemplate"></ng-container>
|
|
2195
|
+
</div>
|
|
2196
|
+
</ng-template>
|
|
2182
2197
|
<ng-container
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
</div>
|
|
2193
|
-
</ng-template>
|
|
2194
|
-
</ng-container>
|
|
2195
|
-
}
|
|
2196
|
-
</div>
|
|
2198
|
+
kendoToolbarRenderer
|
|
2199
|
+
[tool]="tool"
|
|
2200
|
+
location="toolbar"
|
|
2201
|
+
[resizable]="resizable"
|
|
2202
|
+
(rendererClick)="onRendererClick($event)"
|
|
2203
|
+
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.toolbarTemplate : wrapper">
|
|
2204
|
+
</ng-container>
|
|
2205
|
+
}
|
|
2206
|
+
</div>
|
|
2197
2207
|
} @else {
|
|
2198
2208
|
@for (tool of allTools; track tool; let index = $index) {
|
|
2199
|
-
<ng-container
|
|
2200
|
-
kendoToolbarRenderer
|
|
2201
|
-
[tool]="tool"
|
|
2202
|
-
location="toolbar"
|
|
2203
|
-
[resizable]="resizable"
|
|
2204
|
-
(rendererClick)="onRendererClick($event)"
|
|
2205
|
-
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.toolbarTemplate : wrapper">
|
|
2206
2209
|
<ng-template #wrapper>
|
|
2207
2210
|
<div class="k-toolbar-item">
|
|
2208
2211
|
<ng-container [ngTemplateOutlet]="tool.toolbarTemplate"></ng-container>
|
|
2209
2212
|
</div>
|
|
2210
2213
|
</ng-template>
|
|
2211
|
-
|
|
2214
|
+
<ng-container
|
|
2215
|
+
kendoToolbarRenderer
|
|
2216
|
+
[tool]="tool"
|
|
2217
|
+
location="toolbar"
|
|
2218
|
+
[resizable]="resizable"
|
|
2219
|
+
(rendererClick)="onRendererClick($event)"
|
|
2220
|
+
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.toolbarTemplate : wrapper">
|
|
2221
|
+
</ng-container>
|
|
2212
2222
|
}
|
|
2213
2223
|
}
|
|
2214
2224
|
@if (showOverflowSeparator) {
|
|
@@ -2230,7 +2240,7 @@ class ToolBarComponent {
|
|
|
2230
2240
|
[attr.aria-haspopup]="normalizedOverflow.mode === 'section' ? null : 'menu'"
|
|
2231
2241
|
[style.visibility]="'hidden'"
|
|
2232
2242
|
[style.position]="'relative'"
|
|
2233
|
-
class="k-toolbar-overflow-button"
|
|
2243
|
+
class="k-toolbar-overflow-button k-rounded-none"
|
|
2234
2244
|
[ngClass]="overflowClass"
|
|
2235
2245
|
(click)="showPopup()"
|
|
2236
2246
|
>
|
|
@@ -2317,6 +2327,9 @@ class ToolBarComponent {
|
|
|
2317
2327
|
[attr.dir]="direction === 'rtl' ? 'rtl' : null"
|
|
2318
2328
|
[attr.aria-labelledby]="overflowBtnId">
|
|
2319
2329
|
@for (tool of overflowTools; track tool; let index = $index) {
|
|
2330
|
+
<ng-template #wrapper>
|
|
2331
|
+
<ng-container [ngTemplateOutlet]="tool.sectionTemplate"></ng-container>
|
|
2332
|
+
</ng-template>
|
|
2320
2333
|
<ng-container
|
|
2321
2334
|
kendoToolbarRenderer
|
|
2322
2335
|
[tool]="tool"
|
|
@@ -2324,9 +2337,6 @@ class ToolBarComponent {
|
|
|
2324
2337
|
[resizable]="resizable"
|
|
2325
2338
|
(rendererClick)="onRendererClick($event)"
|
|
2326
2339
|
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.sectionTemplate : wrapper">
|
|
2327
|
-
<ng-template #wrapper>
|
|
2328
|
-
<ng-container [ngTemplateOutlet]="tool.sectionTemplate"></ng-container>
|
|
2329
|
-
</ng-template>
|
|
2330
2340
|
</ng-container>
|
|
2331
2341
|
}
|
|
2332
2342
|
</span>
|
|
@@ -2335,7 +2345,10 @@ class ToolBarComponent {
|
|
|
2335
2345
|
@if (overflowEnabled) {
|
|
2336
2346
|
<kendo-resize-sensor #resizeSensor></kendo-resize-sensor>
|
|
2337
2347
|
}
|
|
2338
|
-
|
|
2348
|
+
@if (showLicenseWatermark) {
|
|
2349
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
2350
|
+
}
|
|
2351
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LocalizedToolbarMessagesDirective, selector: "[kendoToolbarLocalizedMessages]" }, { kind: "directive", type: ToolBarRendererComponent, selector: "[kendoToolbarRenderer]", inputs: ["tool", "location", "resizable"], outputs: ["rendererClick"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ToolbarScrollableButtonComponent, selector: "[kendoToolbarScrollableButton]", inputs: ["prev", "overflow"], outputs: ["onClick"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: ["licenseMessage"] }] });
|
|
2339
2352
|
}
|
|
2340
2353
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
2341
2354
|
type: Component,
|
|
@@ -2416,36 +2429,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2416
2429
|
@if (isScrollMode) {
|
|
2417
2430
|
<div class="k-toolbar-items k-toolbar-items-scroll" tabindex="-1" #scrollContainer>
|
|
2418
2431
|
@for (tool of allTools; track tool; let index = $index) {
|
|
2432
|
+
<ng-template #wrapper>
|
|
2433
|
+
<div class="k-toolbar-item">
|
|
2434
|
+
<ng-container [ngTemplateOutlet]="tool.toolbarTemplate"></ng-container>
|
|
2435
|
+
</div>
|
|
2436
|
+
</ng-template>
|
|
2419
2437
|
<ng-container
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
</div>
|
|
2430
|
-
</ng-template>
|
|
2431
|
-
</ng-container>
|
|
2432
|
-
}
|
|
2433
|
-
</div>
|
|
2438
|
+
kendoToolbarRenderer
|
|
2439
|
+
[tool]="tool"
|
|
2440
|
+
location="toolbar"
|
|
2441
|
+
[resizable]="resizable"
|
|
2442
|
+
(rendererClick)="onRendererClick($event)"
|
|
2443
|
+
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.toolbarTemplate : wrapper">
|
|
2444
|
+
</ng-container>
|
|
2445
|
+
}
|
|
2446
|
+
</div>
|
|
2434
2447
|
} @else {
|
|
2435
2448
|
@for (tool of allTools; track tool; let index = $index) {
|
|
2436
|
-
<ng-container
|
|
2437
|
-
kendoToolbarRenderer
|
|
2438
|
-
[tool]="tool"
|
|
2439
|
-
location="toolbar"
|
|
2440
|
-
[resizable]="resizable"
|
|
2441
|
-
(rendererClick)="onRendererClick($event)"
|
|
2442
|
-
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.toolbarTemplate : wrapper">
|
|
2443
2449
|
<ng-template #wrapper>
|
|
2444
2450
|
<div class="k-toolbar-item">
|
|
2445
2451
|
<ng-container [ngTemplateOutlet]="tool.toolbarTemplate"></ng-container>
|
|
2446
2452
|
</div>
|
|
2447
2453
|
</ng-template>
|
|
2448
|
-
|
|
2454
|
+
<ng-container
|
|
2455
|
+
kendoToolbarRenderer
|
|
2456
|
+
[tool]="tool"
|
|
2457
|
+
location="toolbar"
|
|
2458
|
+
[resizable]="resizable"
|
|
2459
|
+
(rendererClick)="onRendererClick($event)"
|
|
2460
|
+
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.toolbarTemplate : wrapper">
|
|
2461
|
+
</ng-container>
|
|
2449
2462
|
}
|
|
2450
2463
|
}
|
|
2451
2464
|
@if (showOverflowSeparator) {
|
|
@@ -2467,7 +2480,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2467
2480
|
[attr.aria-haspopup]="normalizedOverflow.mode === 'section' ? null : 'menu'"
|
|
2468
2481
|
[style.visibility]="'hidden'"
|
|
2469
2482
|
[style.position]="'relative'"
|
|
2470
|
-
class="k-toolbar-overflow-button"
|
|
2483
|
+
class="k-toolbar-overflow-button k-rounded-none"
|
|
2471
2484
|
[ngClass]="overflowClass"
|
|
2472
2485
|
(click)="showPopup()"
|
|
2473
2486
|
>
|
|
@@ -2554,6 +2567,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2554
2567
|
[attr.dir]="direction === 'rtl' ? 'rtl' : null"
|
|
2555
2568
|
[attr.aria-labelledby]="overflowBtnId">
|
|
2556
2569
|
@for (tool of overflowTools; track tool; let index = $index) {
|
|
2570
|
+
<ng-template #wrapper>
|
|
2571
|
+
<ng-container [ngTemplateOutlet]="tool.sectionTemplate"></ng-container>
|
|
2572
|
+
</ng-template>
|
|
2557
2573
|
<ng-container
|
|
2558
2574
|
kendoToolbarRenderer
|
|
2559
2575
|
[tool]="tool"
|
|
@@ -2561,9 +2577,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2561
2577
|
[resizable]="resizable"
|
|
2562
2578
|
(rendererClick)="onRendererClick($event)"
|
|
2563
2579
|
[ngTemplateOutlet]="tool.isBuiltInTool ? tool.sectionTemplate : wrapper">
|
|
2564
|
-
<ng-template #wrapper>
|
|
2565
|
-
<ng-container [ngTemplateOutlet]="tool.sectionTemplate"></ng-container>
|
|
2566
|
-
</ng-template>
|
|
2567
2580
|
</ng-container>
|
|
2568
2581
|
}
|
|
2569
2582
|
</span>
|
|
@@ -2572,9 +2585,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2572
2585
|
@if (overflowEnabled) {
|
|
2573
2586
|
<kendo-resize-sensor #resizeSensor></kendo-resize-sensor>
|
|
2574
2587
|
}
|
|
2588
|
+
@if (showLicenseWatermark) {
|
|
2589
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
2590
|
+
}
|
|
2575
2591
|
`,
|
|
2576
2592
|
standalone: true,
|
|
2577
|
-
imports: [NgTemplateOutlet, LocalizedToolbarMessagesDirective, ToolBarRendererComponent, ButtonComponent, NgClass, ResizeSensorComponent, ToolbarScrollableButtonComponent]
|
|
2593
|
+
imports: [NgTemplateOutlet, LocalizedToolbarMessagesDirective, ToolBarRendererComponent, ButtonComponent, NgClass, ResizeSensorComponent, ToolbarScrollableButtonComponent, WatermarkOverlayComponent]
|
|
2578
2594
|
}]
|
|
2579
2595
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: RefreshService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: ToolbarToolsService }, { type: ScrollService }], propDecorators: { overflow: [{
|
|
2580
2596
|
type: Input
|
|
@@ -3122,7 +3138,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3122
3138
|
</button>
|
|
3123
3139
|
}
|
|
3124
3140
|
</ng-template>
|
|
3125
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
3141
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: BadgeComponent, selector: "kendo-badge", inputs: ["align", "size", "fill", "themeColor", "rounded", "position", "cutoutBorder"] }, { kind: "component", type: BadgeContainerComponent, selector: "kendo-badge-container" }] });
|
|
3126
3142
|
}
|
|
3127
3143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
|
|
3128
3144
|
type: Component,
|
|
@@ -3564,7 +3580,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3564
3580
|
[size]="size"
|
|
3565
3581
|
[togglable]="button.togglable"
|
|
3566
3582
|
[selected]="button.selected"
|
|
3567
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3583
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3568
3584
|
[fillMode]="button.fillMode"
|
|
3569
3585
|
[themeColor]="button.themeColor"
|
|
3570
3586
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -3632,7 +3648,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3632
3648
|
[size]="size"
|
|
3633
3649
|
[togglable]="button.togglable"
|
|
3634
3650
|
[selected]="button.selected"
|
|
3635
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3651
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3636
3652
|
[fillMode]="button.fillMode"
|
|
3637
3653
|
[themeColor]="button.themeColor"
|
|
3638
3654
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -3648,7 +3664,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3648
3664
|
}
|
|
3649
3665
|
</kendo-buttongroup>
|
|
3650
3666
|
</ng-template>
|
|
3651
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
3667
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
3652
3668
|
}
|
|
3653
3669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
|
|
3654
3670
|
type: Component,
|
|
@@ -3680,7 +3696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
3680
3696
|
[size]="size"
|
|
3681
3697
|
[togglable]="button.togglable"
|
|
3682
3698
|
[selected]="button.selected"
|
|
3683
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3699
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3684
3700
|
[fillMode]="button.fillMode"
|
|
3685
3701
|
[themeColor]="button.themeColor"
|
|
3686
3702
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -3748,7 +3764,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
3748
3764
|
[size]="size"
|
|
3749
3765
|
[togglable]="button.togglable"
|
|
3750
3766
|
[selected]="button.selected"
|
|
3751
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3767
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3752
3768
|
[fillMode]="button.fillMode"
|
|
3753
3769
|
[themeColor]="button.themeColor"
|
|
3754
3770
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -4509,11 +4525,11 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4509
4525
|
/**
|
|
4510
4526
|
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
4511
4527
|
*/
|
|
4512
|
-
arrowButtonIcon = '
|
|
4528
|
+
arrowButtonIcon = 'chevron-down';
|
|
4513
4529
|
/**
|
|
4514
4530
|
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
4515
4531
|
*/
|
|
4516
|
-
arrowButtonSvgIcon =
|
|
4532
|
+
arrowButtonSvgIcon = chevronDownIcon;
|
|
4517
4533
|
/**
|
|
4518
4534
|
* Sets the text field for the button-list popup.
|
|
4519
4535
|
* @default 'text'
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778160975,
|
|
11
|
+
"version": "24.0.0-develop.21",
|
|
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": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.21",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"package": {
|
|
44
44
|
"productName": "Kendo UI for Angular",
|
|
45
45
|
"productCode": "KENDOUIANGULAR",
|
|
46
|
-
"publishDate":
|
|
46
|
+
"publishDate": 1778160975,
|
|
47
47
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
@@ -53,17 +53,17 @@
|
|
|
53
53
|
"@angular/core": "19 - 21",
|
|
54
54
|
"@angular/platform-browser": "19 - 21",
|
|
55
55
|
"@progress/kendo-licensing": "^1.11.0",
|
|
56
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
57
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
58
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
59
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
60
|
-
"@progress/kendo-angular-indicators": "24.0.0-develop.
|
|
61
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
56
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.21",
|
|
57
|
+
"@progress/kendo-angular-common": "24.0.0-develop.21",
|
|
58
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.21",
|
|
59
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.21",
|
|
60
|
+
"@progress/kendo-angular-indicators": "24.0.0-develop.21",
|
|
61
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.21",
|
|
62
62
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"tslib": "^2.3.1",
|
|
66
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
66
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.21"
|
|
67
67
|
},
|
|
68
68
|
"schematics": "./schematics/collection.json",
|
|
69
69
|
"module": "fesm2022/progress-kendo-angular-toolbar.mjs",
|
|
@@ -25,8 +25,8 @@ export declare class ToolbarScrollableButtonComponent implements AfterViewInit,
|
|
|
25
25
|
get iconClass(): string;
|
|
26
26
|
get customIconClass(): string;
|
|
27
27
|
get svgIcon(): SVGIcon;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
chevronLeftIcon: SVGIcon;
|
|
29
|
+
chevronRightIcon: SVGIcon;
|
|
30
30
|
private subs;
|
|
31
31
|
constructor(host: ElementRef, renderer: Renderer2, ngZone: NgZone, localization: LocalizationService);
|
|
32
32
|
ngAfterViewInit(): void;
|
package/toolbar.component.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { TemplateRef, ElementRef, QueryList, EventEmitter, ViewContainerRef, NgZ
|
|
|
6
6
|
import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
|
|
7
7
|
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { LicenseMessage } from '@progress/kendo-licensing';
|
|
9
10
|
import { RefreshService } from './refresh.service';
|
|
10
11
|
import { NavigationService } from './navigation.service';
|
|
11
12
|
import { PopupSettings } from './popup-settings';
|
|
@@ -216,6 +217,14 @@ export declare class ToolBarComponent {
|
|
|
216
217
|
role: string;
|
|
217
218
|
get getDir(): string;
|
|
218
219
|
get resizableClass(): boolean;
|
|
220
|
+
/**
|
|
221
|
+
* @hidden
|
|
222
|
+
*/
|
|
223
|
+
showLicenseWatermark: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* @hidden
|
|
226
|
+
*/
|
|
227
|
+
licenseMessage?: LicenseMessage;
|
|
219
228
|
constructor(localization: LocalizationService, popupService: PopupService, refreshService: RefreshService, navigationService: NavigationService, element: ElementRef, zone: NgZone, renderer: Renderer2, _cdr: ChangeDetectorRef, toolsService: ToolbarToolsService, scrollService: ScrollService);
|
|
220
229
|
ngAfterContentInit(): void;
|
|
221
230
|
ngAfterViewInit(): void;
|