@progress/kendo-angular-toolbar 24.0.0-develop.9 → 24.0.0
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use strict";
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
|
|
7
|
+
exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeConditionalRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
|
|
8
8
|
exports.hasKendoInTemplate = hasKendoInTemplate;
|
|
9
9
|
exports.isImportedFromPackage = isImportedFromPackage;
|
|
10
10
|
exports.tsPropertyRemoval = tsPropertyRemoval;
|
|
@@ -345,6 +345,34 @@ const attributeRemoval = (templateContent, tagName, attributeName, propertyToRem
|
|
|
345
345
|
});
|
|
346
346
|
};
|
|
347
347
|
exports.attributeRemoval = attributeRemoval;
|
|
348
|
+
/**
|
|
349
|
+
* Removes an attribute from a tag only when its value matches one of the specified values.
|
|
350
|
+
* Handles both static (`attr="value"`) and bound (`[attr]="'value'"`) forms.
|
|
351
|
+
*
|
|
352
|
+
* @param templateContent - The template string content to transform
|
|
353
|
+
* @param tagName - The HTML tag name to target (e.g., 'kendo-button')
|
|
354
|
+
* @param attributeName - The attribute name to conditionally remove
|
|
355
|
+
* @param values - The attribute values that trigger removal
|
|
356
|
+
* @returns The transformed template content
|
|
357
|
+
*/
|
|
358
|
+
const attributeConditionalRemoval = (templateContent, tagName, attributeName, values) => {
|
|
359
|
+
const escapeRegex = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
360
|
+
const escapedTag = escapeRegex(tagName);
|
|
361
|
+
const escapedAttr = escapeRegex(attributeName);
|
|
362
|
+
// Remove bound attributes [attribute]="value"
|
|
363
|
+
const boundAttributePattern = new RegExp(`(<${escapedTag}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
364
|
+
// Remove static attributes attribute="value"
|
|
365
|
+
const staticAttributePattern = new RegExp(`(<${escapedTag}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
366
|
+
// Strip outer and inner quotes to extract the raw value for comparison
|
|
367
|
+
const matchesValue = (raw) => {
|
|
368
|
+
const inner = raw.replace(/^["']|["']$/g, '').replace(/^['"]|['"]$/g, '');
|
|
369
|
+
return values.includes(inner);
|
|
370
|
+
};
|
|
371
|
+
let result = templateContent.replace(boundAttributePattern, (match, prefix, value, suffix) => matchesValue(value) ? prefix + suffix : match);
|
|
372
|
+
result = result.replace(staticAttributePattern, (match, prefix, value, suffix) => matchesValue(value) ? prefix + suffix : match);
|
|
373
|
+
return result;
|
|
374
|
+
};
|
|
375
|
+
exports.attributeConditionalRemoval = attributeConditionalRemoval;
|
|
348
376
|
function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propertyName) {
|
|
349
377
|
if (source.includes(typeName)) {
|
|
350
378
|
if (!isImportedFromPackage(rootSource, j, packageName, typeName)) {
|
|
@@ -441,8 +469,31 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
441
469
|
}
|
|
442
470
|
}
|
|
443
471
|
});
|
|
444
|
-
// Handle return statements with object literals
|
|
472
|
+
// Handle return statements with object literals, but only when the enclosing
|
|
473
|
+
// function's declared return type matches typeName. This prevents removing
|
|
474
|
+
// unrelated propertyName keys from object literals returned in other functions.
|
|
475
|
+
const enclosingFunctionReturnsType = (nodePath) => {
|
|
476
|
+
let current = nodePath.parent;
|
|
477
|
+
while (current) {
|
|
478
|
+
const node = current.node;
|
|
479
|
+
if (node.type === 'FunctionDeclaration' ||
|
|
480
|
+
node.type === 'FunctionExpression' ||
|
|
481
|
+
node.type === 'ArrowFunctionExpression' ||
|
|
482
|
+
node.type === 'ClassMethod' ||
|
|
483
|
+
node.type === 'ObjectMethod') {
|
|
484
|
+
return !!(node.returnType &&
|
|
485
|
+
node.returnType.typeAnnotation?.type === 'TSTypeReference' &&
|
|
486
|
+
node.returnType.typeAnnotation.typeName?.type === 'Identifier' &&
|
|
487
|
+
node.returnType.typeAnnotation.typeName.name === typeName);
|
|
488
|
+
}
|
|
489
|
+
current = current.parent;
|
|
490
|
+
}
|
|
491
|
+
return false;
|
|
492
|
+
};
|
|
445
493
|
rootSource.find(j.ReturnStatement).forEach((path) => {
|
|
494
|
+
if (!enclosingFunctionReturnsType(path)) {
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
446
497
|
if (path.node.argument && path.node.argument.type === 'ObjectExpression') {
|
|
447
498
|
const properties = path.node.argument.properties;
|
|
448
499
|
const propIndex = properties.findIndex((p) => p.type === 'ObjectProperty' &&
|
|
@@ -491,22 +542,6 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
491
542
|
statement.remove();
|
|
492
543
|
}
|
|
493
544
|
});
|
|
494
|
-
// Handle nested member expressions like chatConfig.chat.modelFields.pinnedByField
|
|
495
|
-
rootSource
|
|
496
|
-
.find(j.AssignmentExpression, {
|
|
497
|
-
left: {
|
|
498
|
-
type: 'MemberExpression',
|
|
499
|
-
object: {
|
|
500
|
-
type: 'MemberExpression',
|
|
501
|
-
},
|
|
502
|
-
property: {
|
|
503
|
-
name: propertyName,
|
|
504
|
-
},
|
|
505
|
-
},
|
|
506
|
-
})
|
|
507
|
-
.forEach((path) => {
|
|
508
|
-
j(path).closest(j.ExpressionStatement).remove();
|
|
509
|
-
});
|
|
510
545
|
return rootSource;
|
|
511
546
|
}
|
|
512
547
|
}
|
|
@@ -12,7 +12,7 @@ import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/k
|
|
|
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
|
|
29
|
+
publishDate: 1779273399,
|
|
30
|
+
version: '24.0.0',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -756,6 +756,10 @@ class ToolBarRendererComponent {
|
|
|
756
756
|
this.renderer.setStyle(this.internalComponentRef, 'visibility', this.tool.visibility);
|
|
757
757
|
this.renderer.setStyle(this.internalComponentRef, 'display', this.tool.toolbarDisplay);
|
|
758
758
|
}
|
|
759
|
+
else if (this.location === 'section') {
|
|
760
|
+
this.renderer.setStyle(this.internalComponentRef, 'visibility', 'visible');
|
|
761
|
+
this.renderer.setStyle(this.internalComponentRef, 'display', this.tool.overflows ? 'inline-flex' : 'none');
|
|
762
|
+
}
|
|
759
763
|
else {
|
|
760
764
|
this.renderer.setStyle(this.internalComponentRef, 'display', this.tool.overflowDisplay);
|
|
761
765
|
}
|
|
@@ -979,8 +983,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
979
983
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.LocalizationService }] });
|
|
980
984
|
|
|
981
985
|
const DIRECTION_CLASSES = {
|
|
982
|
-
left: '
|
|
983
|
-
right: '
|
|
986
|
+
left: 'chevron-left',
|
|
987
|
+
right: 'chevron-right'
|
|
984
988
|
};
|
|
985
989
|
/**
|
|
986
990
|
* @hidden
|
|
@@ -1009,8 +1013,8 @@ class ToolbarScrollableButtonComponent {
|
|
|
1009
1013
|
get svgIcon() {
|
|
1010
1014
|
return this.scrollButtonSVGIcon;
|
|
1011
1015
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1016
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
1017
|
+
chevronRightIcon = chevronRightIcon;
|
|
1014
1018
|
subs = new Subscription();
|
|
1015
1019
|
constructor(host, renderer, ngZone, localization) {
|
|
1016
1020
|
this.host = host;
|
|
@@ -1062,11 +1066,11 @@ class ToolbarScrollableButtonComponent {
|
|
|
1062
1066
|
}
|
|
1063
1067
|
get scrollButtonSVGIcon() {
|
|
1064
1068
|
const defaultPrevSVGIcon = !this.localization.rtl ?
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1069
|
+
this.chevronLeftIcon :
|
|
1070
|
+
this.chevronRightIcon;
|
|
1067
1071
|
const defaultNextSVGIcon = !this.localization.rtl ?
|
|
1068
|
-
this.
|
|
1069
|
-
this.
|
|
1072
|
+
this.chevronRightIcon :
|
|
1073
|
+
this.chevronLeftIcon;
|
|
1070
1074
|
if (typeof this.overflow === 'object') {
|
|
1071
1075
|
const prevIcon = this.overflow.prevSVGButtonIcon !== undefined ? this.overflow.prevSVGButtonIcon : defaultPrevSVGIcon;
|
|
1072
1076
|
const nextIcon = this.overflow.nextSVGButtonIcon !== undefined ? this.overflow.nextSVGButtonIcon : defaultNextSVGIcon;
|
|
@@ -1362,11 +1366,11 @@ class ToolBarComponent {
|
|
|
1362
1366
|
/**
|
|
1363
1367
|
* @hidden
|
|
1364
1368
|
*/
|
|
1365
|
-
prevButtonIcon =
|
|
1369
|
+
prevButtonIcon = chevronLeftIcon;
|
|
1366
1370
|
/**
|
|
1367
1371
|
* @hidden
|
|
1368
1372
|
*/
|
|
1369
|
-
nextButtonIcon =
|
|
1373
|
+
nextButtonIcon = chevronRightIcon;
|
|
1370
1374
|
/**
|
|
1371
1375
|
* @hidden
|
|
1372
1376
|
*/
|
|
@@ -2240,7 +2244,7 @@ class ToolBarComponent {
|
|
|
2240
2244
|
[attr.aria-haspopup]="normalizedOverflow.mode === 'section' ? null : 'menu'"
|
|
2241
2245
|
[style.visibility]="'hidden'"
|
|
2242
2246
|
[style.position]="'relative'"
|
|
2243
|
-
class="k-toolbar-overflow-button"
|
|
2247
|
+
class="k-toolbar-overflow-button k-rounded-none"
|
|
2244
2248
|
[ngClass]="overflowClass"
|
|
2245
2249
|
(click)="showPopup()"
|
|
2246
2250
|
>
|
|
@@ -2348,7 +2352,7 @@ class ToolBarComponent {
|
|
|
2348
2352
|
@if (showLicenseWatermark) {
|
|
2349
2353
|
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
2350
2354
|
}
|
|
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"
|
|
2355
|
+
`, 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"] }] });
|
|
2352
2356
|
}
|
|
2353
2357
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarComponent, decorators: [{
|
|
2354
2358
|
type: Component,
|
|
@@ -2480,7 +2484,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2480
2484
|
[attr.aria-haspopup]="normalizedOverflow.mode === 'section' ? null : 'menu'"
|
|
2481
2485
|
[style.visibility]="'hidden'"
|
|
2482
2486
|
[style.position]="'relative'"
|
|
2483
|
-
class="k-toolbar-overflow-button"
|
|
2487
|
+
class="k-toolbar-overflow-button k-rounded-none"
|
|
2484
2488
|
[ngClass]="overflowClass"
|
|
2485
2489
|
(click)="showPopup()"
|
|
2486
2490
|
>
|
|
@@ -3138,7 +3142,7 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
3138
3142
|
</button>
|
|
3139
3143
|
}
|
|
3140
3144
|
</ng-template>
|
|
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"
|
|
3145
|
+
`, 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" }] });
|
|
3142
3146
|
}
|
|
3143
3147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarButtonComponent, decorators: [{
|
|
3144
3148
|
type: Component,
|
|
@@ -3580,7 +3584,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3580
3584
|
[size]="size"
|
|
3581
3585
|
[togglable]="button.togglable"
|
|
3582
3586
|
[selected]="button.selected"
|
|
3583
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3587
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3584
3588
|
[fillMode]="button.fillMode"
|
|
3585
3589
|
[themeColor]="button.themeColor"
|
|
3586
3590
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -3648,7 +3652,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3648
3652
|
[size]="size"
|
|
3649
3653
|
[togglable]="button.togglable"
|
|
3650
3654
|
[selected]="button.selected"
|
|
3651
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3655
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3652
3656
|
[fillMode]="button.fillMode"
|
|
3653
3657
|
[themeColor]="button.themeColor"
|
|
3654
3658
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -3664,7 +3668,7 @@ class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
3664
3668
|
}
|
|
3665
3669
|
</kendo-buttongroup>
|
|
3666
3670
|
</ng-template>
|
|
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"
|
|
3671
|
+
`, 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"] }] });
|
|
3668
3672
|
}
|
|
3669
3673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolBarButtonGroupComponent, decorators: [{
|
|
3670
3674
|
type: Component,
|
|
@@ -3696,7 +3700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
3696
3700
|
[size]="size"
|
|
3697
3701
|
[togglable]="button.togglable"
|
|
3698
3702
|
[selected]="button.selected"
|
|
3699
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3703
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3700
3704
|
[fillMode]="button.fillMode"
|
|
3701
3705
|
[themeColor]="button.themeColor"
|
|
3702
3706
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -3764,7 +3768,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
3764
3768
|
[size]="size"
|
|
3765
3769
|
[togglable]="button.togglable"
|
|
3766
3770
|
[selected]="button.selected"
|
|
3767
|
-
[attr.aria-pressed]="button.selected ? true : false"
|
|
3771
|
+
[attr.aria-pressed]="button.togglable ? (button.selected ? true : false) : null"
|
|
3768
3772
|
[fillMode]="button.fillMode"
|
|
3769
3773
|
[themeColor]="button.themeColor"
|
|
3770
3774
|
[icon]="button.toolbarOptions.icon"
|
|
@@ -4525,11 +4529,11 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
|
|
|
4525
4529
|
/**
|
|
4526
4530
|
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) for the arrow button.
|
|
4527
4531
|
*/
|
|
4528
|
-
arrowButtonIcon = '
|
|
4532
|
+
arrowButtonIcon = 'chevron-down';
|
|
4529
4533
|
/**
|
|
4530
4534
|
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) for the arrow button.
|
|
4531
4535
|
*/
|
|
4532
|
-
arrowButtonSvgIcon =
|
|
4536
|
+
arrowButtonSvgIcon = chevronDownIcon;
|
|
4533
4537
|
/**
|
|
4534
4538
|
* Sets the text field for the button-list popup.
|
|
4535
4539
|
* @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
|
|
10
|
+
"publishDate": 1779273399,
|
|
11
|
+
"version": "24.0.0",
|
|
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
|
|
3
|
+
"version": "24.0.0",
|
|
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": 1779273399,
|
|
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
|
|
57
|
-
"@progress/kendo-angular-common": "24.0.0
|
|
58
|
-
"@progress/kendo-angular-l10n": "24.0.0
|
|
59
|
-
"@progress/kendo-angular-icons": "24.0.0
|
|
60
|
-
"@progress/kendo-angular-indicators": "24.0.0
|
|
61
|
-
"@progress/kendo-angular-popup": "24.0.0
|
|
56
|
+
"@progress/kendo-angular-buttons": "24.0.0",
|
|
57
|
+
"@progress/kendo-angular-common": "24.0.0",
|
|
58
|
+
"@progress/kendo-angular-l10n": "24.0.0",
|
|
59
|
+
"@progress/kendo-angular-icons": "24.0.0",
|
|
60
|
+
"@progress/kendo-angular-indicators": "24.0.0",
|
|
61
|
+
"@progress/kendo-angular-popup": "24.0.0",
|
|
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
|
|
66
|
+
"@progress/kendo-angular-schematics": "24.0.0"
|
|
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;
|