@progress/kendo-angular-inputs 24.0.0-develop.8 → 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.
- package/codemods/libs/common/src/codemods/utils.js +53 -18
- package/fesm2022/progress-kendo-angular-inputs.mjs +133 -82
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
- package/switch/switch.component.d.ts +2 -0
- package/textarea/textarea-prefix.component.d.ts +1 -1
- package/textarea/textarea-suffix.component.d.ts +1 -1
- package/textbox/textbox.component.d.ts +0 -1
|
@@ -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
|
}
|
|
@@ -8,12 +8,12 @@ import { NgControl, NG_VALUE_ACCESSOR, NG_VALIDATORS, RadioControlValueAccessor
|
|
|
8
8
|
import { Subscription, fromEvent, interval, merge, BehaviorSubject, Subject } from 'rxjs';
|
|
9
9
|
import { take, tap, filter, concatMap, startWith, takeUntil, skip, debounceTime, throttleTime } from 'rxjs/operators';
|
|
10
10
|
import * as i8 from '@progress/kendo-angular-common';
|
|
11
|
-
import { isDocumentAvailable, Keys, guid, anyChanged, normalizeKeys, hasObservers, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent, KendoInput, hasFocusableParent, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, SuffixTemplateDirective, PrefixTemplateDirective, isChanged, isPresent as isPresent$1, isSafari, PreventableEvent, findFocusableChild, parseCSSClassNames, closest as closest$1, processCssValue, replaceMessagePlaceholder, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, SeparatorComponent, ResizeBatchService, KENDO_ADORNMENTS } from '@progress/kendo-angular-common';
|
|
11
|
+
import { isDocumentAvailable, Keys, guid, anyChanged, normalizeKeys, hasObservers, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent, KendoInput, KENDO_WEBMCP_HOST, hasFocusableParent, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, SuffixTemplateDirective, PrefixTemplateDirective, isChanged, isPresent as isPresent$1, isSafari, PreventableEvent, findFocusableChild, parseCSSClassNames, closest as closest$1, processCssValue, replaceMessagePlaceholder, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, SeparatorComponent, ResizeBatchService, KENDO_ADORNMENTS } from '@progress/kendo-angular-common';
|
|
12
12
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
13
13
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
14
14
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
15
15
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
|
-
import {
|
|
16
|
+
import { chevronUpIcon, chevronDownIcon, chevronLeftIcon, chevronRightIcon, xIcon, exclamationCircleIcon, checkIcon, caretAltExpandIcon, xCircleIcon, dropletSlashIcon, dropletSliderIcon, paletteIcon, hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
|
|
17
17
|
import { NgClass, NgTemplateOutlet, NgStyle } from '@angular/common';
|
|
18
18
|
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
19
19
|
import * as i1$1 from '@progress/kendo-angular-intl';
|
|
@@ -583,8 +583,8 @@ const packageMetadata = {
|
|
|
583
583
|
productName: 'Kendo UI for Angular',
|
|
584
584
|
productCode: 'KENDOUIANGULAR',
|
|
585
585
|
productCodes: ['KENDOUIANGULAR'],
|
|
586
|
-
publishDate:
|
|
587
|
-
version: '24.0.0
|
|
586
|
+
publishDate: 1779273406,
|
|
587
|
+
version: '24.0.0',
|
|
588
588
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
589
589
|
};
|
|
590
590
|
|
|
@@ -1179,19 +1179,19 @@ class SliderComponent extends SliderBase {
|
|
|
1179
1179
|
/**
|
|
1180
1180
|
* @hidden
|
|
1181
1181
|
*/
|
|
1182
|
-
arrowUpIcon =
|
|
1182
|
+
arrowUpIcon = chevronUpIcon;
|
|
1183
1183
|
/**
|
|
1184
1184
|
* @hidden
|
|
1185
1185
|
*/
|
|
1186
|
-
arrowDownIcon =
|
|
1186
|
+
arrowDownIcon = chevronDownIcon;
|
|
1187
1187
|
/**
|
|
1188
1188
|
* @hidden
|
|
1189
1189
|
*/
|
|
1190
|
-
arrowLeftIcon =
|
|
1190
|
+
arrowLeftIcon = chevronLeftIcon;
|
|
1191
1191
|
/**
|
|
1192
1192
|
* @hidden
|
|
1193
1193
|
*/
|
|
1194
|
-
arrowRightIcon =
|
|
1194
|
+
arrowRightIcon = chevronRightIcon;
|
|
1195
1195
|
draghandle;
|
|
1196
1196
|
decreaseButton;
|
|
1197
1197
|
increaseButton;
|
|
@@ -1514,43 +1514,36 @@ class SliderComponent extends SliderBase {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
};
|
|
1516
1516
|
get decreaseButtonArrowIcon() {
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
'caret-alt-down';
|
|
1522
|
-
return icon;
|
|
1517
|
+
if (this.vertical) {
|
|
1518
|
+
return 'chevron-down';
|
|
1519
|
+
}
|
|
1520
|
+
return this.direction === 'ltr' ? 'chevron-left' : 'chevron-right';
|
|
1523
1521
|
}
|
|
1524
1522
|
get increaseButtonArrowIcon() {
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
'caret-alt-up';
|
|
1530
|
-
return icon;
|
|
1523
|
+
if (this.vertical) {
|
|
1524
|
+
return 'chevron-up';
|
|
1525
|
+
}
|
|
1526
|
+
return this.direction === 'ltr' ? 'chevron-right' : 'chevron-left';
|
|
1531
1527
|
}
|
|
1532
1528
|
get decreaseButtonArrowSVGIcon() {
|
|
1533
|
-
|
|
1534
|
-
this.
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
this.arrowDownIcon;
|
|
1538
|
-
return icon;
|
|
1529
|
+
if (this.vertical) {
|
|
1530
|
+
return this.arrowDownIcon;
|
|
1531
|
+
}
|
|
1532
|
+
return this.direction === 'ltr' ? this.arrowLeftIcon : this.arrowRightIcon;
|
|
1539
1533
|
}
|
|
1540
1534
|
get increaseButtonArrowSVGIcon() {
|
|
1541
|
-
|
|
1542
|
-
this.
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
this.arrowUpIcon;
|
|
1546
|
-
return icon;
|
|
1535
|
+
if (this.vertical) {
|
|
1536
|
+
return this.arrowUpIcon;
|
|
1537
|
+
}
|
|
1538
|
+
return this.direction === 'ltr' ? this.arrowRightIcon : this.arrowLeftIcon;
|
|
1547
1539
|
}
|
|
1548
1540
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SliderComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1549
1541
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SliderComponent, isStandalone: true, selector: "kendo-slider", inputs: { focusableId: "focusableId", dragHandleTitle: "dragHandleTitle", incrementTitle: "incrementTitle", animate: "animate", decrementTitle: "decrementTitle", showButtons: "showButtons", value: "value", tabIndex: "tabIndex" }, providers: [
|
|
1550
1542
|
LocalizationService,
|
|
1551
1543
|
{ provide: L10N_PREFIX, useValue: 'kendo.slider' },
|
|
1552
1544
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent) },
|
|
1553
|
-
{ provide: KendoInput, useExisting: forwardRef(() => SliderComponent) }
|
|
1545
|
+
{ provide: KendoInput, useExisting: forwardRef(() => SliderComponent) },
|
|
1546
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => SliderComponent) }
|
|
1554
1547
|
], viewQueries: [{ propertyName: "draghandle", first: true, predicate: ["draghandle"], descendants: true, static: true }, { propertyName: "decreaseButton", first: true, predicate: ["decreaseButton"], descendants: true, read: ElementRef }, { propertyName: "increaseButton", first: true, predicate: ["increaseButton"], descendants: true, read: ElementRef }], exportAs: ["kendoSlider"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
1555
1548
|
<ng-container kendoSliderLocalizedMessages
|
|
1556
1549
|
i18n-increment="kendo.slider.increment|The title of the **Increase** button of the Slider."
|
|
@@ -1632,7 +1625,7 @@ class SliderComponent extends SliderBase {
|
|
|
1632
1625
|
></button>
|
|
1633
1626
|
}
|
|
1634
1627
|
<kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
|
|
1635
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
1628
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { 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: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
1636
1629
|
}
|
|
1637
1630
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SliderComponent, decorators: [{
|
|
1638
1631
|
type: Component,
|
|
@@ -1642,7 +1635,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1642
1635
|
LocalizationService,
|
|
1643
1636
|
{ provide: L10N_PREFIX, useValue: 'kendo.slider' },
|
|
1644
1637
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent) },
|
|
1645
|
-
{ provide: KendoInput, useExisting: forwardRef(() => SliderComponent) }
|
|
1638
|
+
{ provide: KendoInput, useExisting: forwardRef(() => SliderComponent) },
|
|
1639
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => SliderComponent) }
|
|
1646
1640
|
],
|
|
1647
1641
|
selector: 'kendo-slider',
|
|
1648
1642
|
template: `
|
|
@@ -2289,7 +2283,8 @@ class RangeSliderComponent extends SliderBase {
|
|
|
2289
2283
|
LocalizationService,
|
|
2290
2284
|
{ provide: L10N_PREFIX, useValue: 'kendo.rangeslider' },
|
|
2291
2285
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RangeSliderComponent) },
|
|
2292
|
-
{ provide: KendoInput, useExisting: forwardRef(() => RangeSliderComponent) }
|
|
2286
|
+
{ provide: KendoInput, useExisting: forwardRef(() => RangeSliderComponent) },
|
|
2287
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => RangeSliderComponent) }
|
|
2293
2288
|
], viewQueries: [{ propertyName: "draghandleStart", first: true, predicate: ["draghandleStart"], descendants: true, static: true }, { propertyName: "draghandleEnd", first: true, predicate: ["draghandleEnd"], descendants: true, static: true }], exportAs: ["kendoRangeSlider"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
2294
2289
|
<ng-container kendoSliderLocalizedMessages
|
|
2295
2290
|
i18n-dragHandleStart="kendo.rangeslider.dragHandleStart|The title of the **Start** drag handle of the Slider."
|
|
@@ -2373,7 +2368,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2373
2368
|
LocalizationService,
|
|
2374
2369
|
{ provide: L10N_PREFIX, useValue: 'kendo.rangeslider' },
|
|
2375
2370
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RangeSliderComponent) },
|
|
2376
|
-
{ provide: KendoInput, useExisting: forwardRef(() => RangeSliderComponent) }
|
|
2371
|
+
{ provide: KendoInput, useExisting: forwardRef(() => RangeSliderComponent) },
|
|
2372
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => RangeSliderComponent) }
|
|
2377
2373
|
],
|
|
2378
2374
|
selector: 'kendo-rangeslider',
|
|
2379
2375
|
template: `
|
|
@@ -2542,11 +2538,19 @@ class SwitchComponent {
|
|
|
2542
2538
|
/**
|
|
2543
2539
|
* @hidden
|
|
2544
2540
|
*/
|
|
2541
|
+
set focusableId(value) {
|
|
2542
|
+
this._focusableId = value;
|
|
2543
|
+
}
|
|
2545
2544
|
get focusableId() {
|
|
2546
|
-
if (this.
|
|
2547
|
-
|
|
2545
|
+
if (!this._focusableId) {
|
|
2546
|
+
if (this.hostElement.nativeElement.hasAttribute('id')) {
|
|
2547
|
+
this._focusableId = this.hostElement.nativeElement.getAttribute('id');
|
|
2548
|
+
}
|
|
2549
|
+
else {
|
|
2550
|
+
this._focusableId = `k-${guid()}`;
|
|
2551
|
+
}
|
|
2548
2552
|
}
|
|
2549
|
-
return
|
|
2553
|
+
return this._focusableId;
|
|
2550
2554
|
}
|
|
2551
2555
|
/**
|
|
2552
2556
|
* Set the **On** label.
|
|
@@ -2674,6 +2678,7 @@ class SwitchComponent {
|
|
|
2674
2678
|
control;
|
|
2675
2679
|
domSubscriptions = [];
|
|
2676
2680
|
_checked = false;
|
|
2681
|
+
_focusableId;
|
|
2677
2682
|
_size;
|
|
2678
2683
|
_trackRounded;
|
|
2679
2684
|
_thumbRounded;
|
|
@@ -2941,6 +2946,10 @@ class SwitchComponent {
|
|
|
2941
2946
|
{
|
|
2942
2947
|
provide: KendoInput,
|
|
2943
2948
|
useExisting: forwardRef(() => SwitchComponent)
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
provide: KENDO_WEBMCP_HOST,
|
|
2952
|
+
useExisting: forwardRef(() => SwitchComponent)
|
|
2944
2953
|
}
|
|
2945
2954
|
], viewQueries: [{ propertyName: "track", first: true, predicate: ["track"], descendants: true, static: true }, { propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true, static: true }], exportAs: ["kendoSwitch"], ngImport: i0, template: `
|
|
2946
2955
|
<ng-container kendoSwitchLocalizedMessages
|
|
@@ -2980,6 +2989,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2980
2989
|
{
|
|
2981
2990
|
provide: KendoInput,
|
|
2982
2991
|
useExisting: forwardRef(() => SwitchComponent)
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
provide: KENDO_WEBMCP_HOST,
|
|
2995
|
+
useExisting: forwardRef(() => SwitchComponent)
|
|
2983
2996
|
}
|
|
2984
2997
|
],
|
|
2985
2998
|
selector: 'kendo-switch',
|
|
@@ -4069,11 +4082,11 @@ class NumericTextBoxComponent {
|
|
|
4069
4082
|
/**
|
|
4070
4083
|
* @hidden
|
|
4071
4084
|
*/
|
|
4072
|
-
arrowUpIcon =
|
|
4085
|
+
arrowUpIcon = chevronUpIcon;
|
|
4073
4086
|
/**
|
|
4074
4087
|
* @hidden
|
|
4075
4088
|
*/
|
|
4076
|
-
arrowDownIcon =
|
|
4089
|
+
arrowDownIcon = chevronDownIcon;
|
|
4077
4090
|
subscriptions;
|
|
4078
4091
|
inputValue = '';
|
|
4079
4092
|
spinTimeout;
|
|
@@ -4826,7 +4839,8 @@ class NumericTextBoxComponent {
|
|
|
4826
4839
|
{ provide: L10N_PREFIX, useValue: 'kendo.numerictextbox' },
|
|
4827
4840
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => NumericTextBoxComponent), multi: true },
|
|
4828
4841
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => NumericTextBoxComponent), multi: true },
|
|
4829
|
-
{ provide: KendoInput, useExisting: forwardRef(() => NumericTextBoxComponent) }
|
|
4842
|
+
{ provide: KendoInput, useExisting: forwardRef(() => NumericTextBoxComponent) },
|
|
4843
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => NumericTextBoxComponent) }
|
|
4830
4844
|
], queries: [{ propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "numericInput", first: true, predicate: ["numericInput"], descendants: true, static: true }], exportAs: ["kendoNumericTextBox"], usesOnChanges: true, ngImport: i0, template: `
|
|
4831
4845
|
<ng-container kendoNumericTextBoxLocalizedMessages
|
|
4832
4846
|
i18n-increment="kendo.numerictextbox.increment|The title for the **Increment** button in the NumericTextBox"
|
|
@@ -4902,7 +4916,7 @@ class NumericTextBoxComponent {
|
|
|
4902
4916
|
tabindex="-1"
|
|
4903
4917
|
>
|
|
4904
4918
|
<kendo-icon-wrapper
|
|
4905
|
-
name="
|
|
4919
|
+
name="chevron-up"
|
|
4906
4920
|
innerCssClass="k-button-icon"
|
|
4907
4921
|
[svgIcon]="arrowUpIcon"
|
|
4908
4922
|
>
|
|
@@ -4919,7 +4933,7 @@ class NumericTextBoxComponent {
|
|
|
4919
4933
|
tabindex="-1"
|
|
4920
4934
|
>
|
|
4921
4935
|
<kendo-icon-wrapper
|
|
4922
|
-
name="
|
|
4936
|
+
name="chevron-down"
|
|
4923
4937
|
innerCssClass="k-button-icon"
|
|
4924
4938
|
[svgIcon]="arrowDownIcon"
|
|
4925
4939
|
>
|
|
@@ -4939,7 +4953,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
4939
4953
|
{ provide: L10N_PREFIX, useValue: 'kendo.numerictextbox' },
|
|
4940
4954
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => NumericTextBoxComponent), multi: true },
|
|
4941
4955
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => NumericTextBoxComponent), multi: true },
|
|
4942
|
-
{ provide: KendoInput, useExisting: forwardRef(() => NumericTextBoxComponent) }
|
|
4956
|
+
{ provide: KendoInput, useExisting: forwardRef(() => NumericTextBoxComponent) },
|
|
4957
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => NumericTextBoxComponent) }
|
|
4943
4958
|
],
|
|
4944
4959
|
selector: 'kendo-numerictextbox',
|
|
4945
4960
|
template: `
|
|
@@ -5017,7 +5032,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
5017
5032
|
tabindex="-1"
|
|
5018
5033
|
>
|
|
5019
5034
|
<kendo-icon-wrapper
|
|
5020
|
-
name="
|
|
5035
|
+
name="chevron-up"
|
|
5021
5036
|
innerCssClass="k-button-icon"
|
|
5022
5037
|
[svgIcon]="arrowUpIcon"
|
|
5023
5038
|
>
|
|
@@ -5034,7 +5049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
5034
5049
|
tabindex="-1"
|
|
5035
5050
|
>
|
|
5036
5051
|
<kendo-icon-wrapper
|
|
5037
|
-
name="
|
|
5052
|
+
name="chevron-down"
|
|
5038
5053
|
innerCssClass="k-button-icon"
|
|
5039
5054
|
[svgIcon]="arrowDownIcon"
|
|
5040
5055
|
>
|
|
@@ -6249,6 +6264,10 @@ class MaskedTextBoxComponent {
|
|
|
6249
6264
|
{
|
|
6250
6265
|
provide: KendoInput,
|
|
6251
6266
|
useExisting: forwardRef(() => MaskedTextBoxComponent)
|
|
6267
|
+
},
|
|
6268
|
+
{
|
|
6269
|
+
provide: KENDO_WEBMCP_HOST,
|
|
6270
|
+
useExisting: forwardRef(() => MaskedTextBoxComponent)
|
|
6252
6271
|
}
|
|
6253
6272
|
], queries: [{ propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], exportAs: ["kendoMaskedTextBox"], usesOnChanges: true, ngImport: i0, template: `
|
|
6254
6273
|
<ng-container
|
|
@@ -6320,6 +6339,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6320
6339
|
{
|
|
6321
6340
|
provide: KendoInput,
|
|
6322
6341
|
useExisting: forwardRef(() => MaskedTextBoxComponent)
|
|
6342
|
+
},
|
|
6343
|
+
{
|
|
6344
|
+
provide: KENDO_WEBMCP_HOST,
|
|
6345
|
+
useExisting: forwardRef(() => MaskedTextBoxComponent)
|
|
6323
6346
|
}
|
|
6324
6347
|
],
|
|
6325
6348
|
selector: 'kendo-maskedtextbox',
|
|
@@ -7773,7 +7796,6 @@ class TextBoxComponent {
|
|
|
7773
7796
|
get disabledClass() {
|
|
7774
7797
|
return this.disabled;
|
|
7775
7798
|
}
|
|
7776
|
-
hostClasses = true;
|
|
7777
7799
|
direction;
|
|
7778
7800
|
/**
|
|
7779
7801
|
* @hidden
|
|
@@ -7825,6 +7847,8 @@ class TextBoxComponent {
|
|
|
7825
7847
|
this.direction = localizationService.rtl ? 'rtl' : 'ltr';
|
|
7826
7848
|
}
|
|
7827
7849
|
ngOnInit() {
|
|
7850
|
+
this.renderer.addClass(this.hostElement.nativeElement, 'k-textbox');
|
|
7851
|
+
this.renderer.addClass(this.hostElement.nativeElement, 'k-input');
|
|
7828
7852
|
this.control = this.injector.get(NgControl, null);
|
|
7829
7853
|
this.checkClearButton();
|
|
7830
7854
|
this.subscriptions = this.localizationService.changes.subscribe(({ rtl }) => {
|
|
@@ -8170,7 +8194,7 @@ class TextBoxComponent {
|
|
|
8170
8194
|
setHTMLAttributes(this.parsedAttributes, this.renderer, this.input.nativeElement, this.ngZone);
|
|
8171
8195
|
}
|
|
8172
8196
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TextBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
8173
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: TextBoxComponent, isStandalone: true, selector: "kendo-textbox", inputs: { focusableId: "focusableId", title: "title", type: "type", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", value: "value", selectOnFocus: "selectOnFocus", showSuccessIcon: "showSuccessIcon", showErrorIcon: "showErrorIcon", clearButton: "clearButton", successIcon: "successIcon", successSvgIcon: "successSvgIcon", errorIcon: "errorIcon", errorSvgIcon: "errorSvgIcon", clearButtonIcon: "clearButtonIcon", clearButtonSvgIcon: "clearButtonSvgIcon", size: "size", rounded: "rounded", fillMode: "fillMode", tabIndex: "tabIndex", placeholder: "placeholder", maxlength: "maxlength", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", inputFocus: "inputFocus", inputBlur: "inputBlur", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass", "
|
|
8197
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: TextBoxComponent, isStandalone: true, selector: "kendo-textbox", inputs: { focusableId: "focusableId", title: "title", type: "type", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", value: "value", selectOnFocus: "selectOnFocus", showSuccessIcon: "showSuccessIcon", showErrorIcon: "showErrorIcon", clearButton: "clearButton", successIcon: "successIcon", successSvgIcon: "successSvgIcon", errorIcon: "errorIcon", errorSvgIcon: "errorSvgIcon", clearButtonIcon: "clearButtonIcon", clearButtonSvgIcon: "clearButtonSvgIcon", size: "size", rounded: "rounded", fillMode: "fillMode", tabIndex: "tabIndex", placeholder: "placeholder", maxlength: "maxlength", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", inputFocus: "inputFocus", inputBlur: "inputBlur", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass", "attr.dir": "this.direction" } }, providers: [
|
|
8174
8198
|
LocalizationService,
|
|
8175
8199
|
{ provide: L10N_PREFIX, useValue: 'kendo.textbox' },
|
|
8176
8200
|
{
|
|
@@ -8178,7 +8202,8 @@ class TextBoxComponent {
|
|
|
8178
8202
|
useExisting: forwardRef(() => TextBoxComponent),
|
|
8179
8203
|
multi: true
|
|
8180
8204
|
},
|
|
8181
|
-
{ provide: KendoInput, useExisting: forwardRef(() => TextBoxComponent) }
|
|
8205
|
+
{ provide: KendoInput, useExisting: forwardRef(() => TextBoxComponent) },
|
|
8206
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TextBoxComponent) }
|
|
8182
8207
|
], queries: [{ propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }, { propertyName: "textBoxSuffixTemplate", predicate: TextBoxSuffixTemplateDirective }, { propertyName: "textBoxPrefixTemplate", predicate: TextBoxPrefixTemplateDirective }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], exportAs: ["kendoTextBox"], usesOnChanges: true, ngImport: i0, template: `
|
|
8183
8208
|
<ng-container kendoTextBoxLocalizedMessages
|
|
8184
8209
|
i18n-clear="kendo.textbox.clear|The title for the **Clear** button in the TextBox."
|
|
@@ -8280,7 +8305,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
8280
8305
|
useExisting: forwardRef(() => TextBoxComponent),
|
|
8281
8306
|
multi: true
|
|
8282
8307
|
},
|
|
8283
|
-
{ provide: KendoInput, useExisting: forwardRef(() => TextBoxComponent) }
|
|
8308
|
+
{ provide: KendoInput, useExisting: forwardRef(() => TextBoxComponent) },
|
|
8309
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TextBoxComponent) }
|
|
8284
8310
|
],
|
|
8285
8311
|
selector: 'kendo-textbox',
|
|
8286
8312
|
template: `
|
|
@@ -8455,12 +8481,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
8455
8481
|
}], disabledClass: [{
|
|
8456
8482
|
type: HostBinding,
|
|
8457
8483
|
args: ['class.k-disabled']
|
|
8458
|
-
}], hostClasses: [{
|
|
8459
|
-
type: HostBinding,
|
|
8460
|
-
args: ['class.k-textbox']
|
|
8461
|
-
}, {
|
|
8462
|
-
type: HostBinding,
|
|
8463
|
-
args: ['class.k-input']
|
|
8464
8484
|
}], direction: [{
|
|
8465
8485
|
type: HostBinding,
|
|
8466
8486
|
args: ['attr.dir']
|
|
@@ -8792,7 +8812,7 @@ class ColorInputComponent {
|
|
|
8792
8812
|
</div>
|
|
8793
8813
|
}
|
|
8794
8814
|
}
|
|
8795
|
-
`, 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"
|
|
8815
|
+
`, 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: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextLabelDirective, selector: "[kendoTextLabel]", inputs: ["focusableId"] }] });
|
|
8796
8816
|
}
|
|
8797
8817
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ColorInputComponent, decorators: [{
|
|
8798
8818
|
type: Component,
|
|
@@ -10300,7 +10320,7 @@ class ColorGradientComponent {
|
|
|
10300
10320
|
[ratio]="contrastTool">
|
|
10301
10321
|
</div>
|
|
10302
10322
|
}
|
|
10303
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
10323
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { 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: "component", type: SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "size", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { kind: "component", type: ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }] });
|
|
10304
10324
|
}
|
|
10305
10325
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
10306
10326
|
type: Component,
|
|
@@ -11575,7 +11595,7 @@ class FlatColorPickerHeaderComponent {
|
|
|
11575
11595
|
</div>
|
|
11576
11596
|
}
|
|
11577
11597
|
</div>
|
|
11578
|
-
`, 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"
|
|
11598
|
+
`, 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: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
11579
11599
|
}
|
|
11580
11600
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FlatColorPickerHeaderComponent, decorators: [{
|
|
11581
11601
|
type: Component,
|
|
@@ -11731,7 +11751,7 @@ class FlatColorPickerActionButtonsComponent {
|
|
|
11731
11751
|
[tabindex]="innerTabIndex.toString()"
|
|
11732
11752
|
(keydown.tab)="$event.preventDefault(); tabOut.emit();"
|
|
11733
11753
|
>{{getText('applyButton')}}</button>
|
|
11734
|
-
`, 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"
|
|
11754
|
+
`, 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"] }] });
|
|
11735
11755
|
}
|
|
11736
11756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FlatColorPickerActionButtonsComponent, decorators: [{
|
|
11737
11757
|
type: Component,
|
|
@@ -12725,7 +12745,7 @@ class AdaptiveCloseButtonComponent {
|
|
|
12725
12745
|
[tabIndex]="-1"
|
|
12726
12746
|
(click)="close.emit($event)"
|
|
12727
12747
|
></button>
|
|
12728
|
-
`, 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"
|
|
12748
|
+
`, 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"] }] });
|
|
12729
12749
|
}
|
|
12730
12750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AdaptiveCloseButtonComponent, decorators: [{
|
|
12731
12751
|
type: Component,
|
|
@@ -12855,7 +12875,7 @@ class AdaptiveRendererComponent {
|
|
|
12855
12875
|
}
|
|
12856
12876
|
</ng-template>
|
|
12857
12877
|
</kendo-actionsheet>
|
|
12858
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
12878
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { 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: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveCloseButtonComponent, selector: "kendo-adaptive-close-button", inputs: ["title", "icon", "svgIcon", "color"], outputs: ["close"] }] });
|
|
12859
12879
|
}
|
|
12860
12880
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
12861
12881
|
type: Component,
|
|
@@ -13320,7 +13340,7 @@ class ColorPickerComponent {
|
|
|
13320
13340
|
/**
|
|
13321
13341
|
* @hidden
|
|
13322
13342
|
*/
|
|
13323
|
-
arrowDownIcon =
|
|
13343
|
+
arrowDownIcon = chevronDownIcon;
|
|
13324
13344
|
popupRef;
|
|
13325
13345
|
_svgIcon;
|
|
13326
13346
|
_value;
|
|
@@ -13827,6 +13847,10 @@ class ColorPickerComponent {
|
|
|
13827
13847
|
{
|
|
13828
13848
|
provide: L10N_PREFIX,
|
|
13829
13849
|
useValue: 'kendo.colorpicker'
|
|
13850
|
+
},
|
|
13851
|
+
{
|
|
13852
|
+
provide: KENDO_WEBMCP_HOST,
|
|
13853
|
+
useExisting: forwardRef(() => ColorPickerComponent)
|
|
13830
13854
|
}
|
|
13831
13855
|
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "activeColor", first: true, predicate: ["activeColor"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "flatColorPicker", first: true, predicate: ["flatColorPicker"], descendants: true }, { propertyName: "adaptiveRenderer", first: true, predicate: AdaptiveRendererComponent, descendants: true }], exportAs: ["kendoColorPicker"], usesOnChanges: true, ngImport: i0, template: `
|
|
13832
13856
|
<ng-container kendoColorPickerLocalizedMessages
|
|
@@ -13906,7 +13930,7 @@ class ColorPickerComponent {
|
|
|
13906
13930
|
kendoButton
|
|
13907
13931
|
tabindex="-1"
|
|
13908
13932
|
type="button"
|
|
13909
|
-
icon="
|
|
13933
|
+
icon="chevron-down"
|
|
13910
13934
|
[size]="size"
|
|
13911
13935
|
[svgIcon]="arrowDownIcon"
|
|
13912
13936
|
[fillMode]="fillMode"
|
|
@@ -13953,7 +13977,7 @@ class ColorPickerComponent {
|
|
|
13953
13977
|
@if (isOpen || isAdaptiveModeEnabled) {
|
|
13954
13978
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
13955
13979
|
}
|
|
13956
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { 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: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
13980
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { 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: 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: "component", type: FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "adaptiveMode", "paletteSettings", "size"], outputs: ["valueChange", "cancel", "activeViewChange", "clearButtonClick", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "actionSheetTemplate", "isActionSheetExpanded", "preview"], outputs: ["actionSheetClose", "onExpand", "onCollapse", "onApply", "onCancel"] }] });
|
|
13957
13981
|
}
|
|
13958
13982
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
13959
13983
|
type: Component,
|
|
@@ -13976,7 +14000,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
13976
14000
|
{
|
|
13977
14001
|
provide: L10N_PREFIX,
|
|
13978
14002
|
useValue: 'kendo.colorpicker'
|
|
13979
|
-
}
|
|
14003
|
+
},
|
|
14004
|
+
{
|
|
14005
|
+
provide: KENDO_WEBMCP_HOST,
|
|
14006
|
+
useExisting: forwardRef(() => ColorPickerComponent)
|
|
14007
|
+
}
|
|
14008
|
+
],
|
|
13980
14009
|
template: `
|
|
13981
14010
|
<ng-container kendoColorPickerLocalizedMessages
|
|
13982
14011
|
i18n-colorPickerNoColor="kendo.colorpicker.colorPickerNoColor|The aria-label applied to the ColorPicker component when the value is empty."
|
|
@@ -14055,7 +14084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
14055
14084
|
kendoButton
|
|
14056
14085
|
tabindex="-1"
|
|
14057
14086
|
type="button"
|
|
14058
|
-
icon="
|
|
14087
|
+
icon="chevron-down"
|
|
14059
14088
|
[size]="size"
|
|
14060
14089
|
[svgIcon]="arrowDownIcon"
|
|
14061
14090
|
[fillMode]="fillMode"
|
|
@@ -15294,6 +15323,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
15294
15323
|
}]
|
|
15295
15324
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
15296
15325
|
|
|
15326
|
+
const ratingStarIcon = {
|
|
15327
|
+
name: 'star',
|
|
15328
|
+
content: '<path d="m22.762 10.668-4.557 3.931 1.389 5.88a1.661 1.661 0 0 1-2.481 1.805L12 19.138l-5.116 3.146a1.661 1.661 0 0 1-2.478-1.805l1.394-5.88-4.557-3.931a1.667 1.667 0 0 1 .943-2.921l5.974-.482 2.304-5.577a1.656 1.656 0 0 1 3.065 0l2.304 5.577 5.973.482a1.667 1.667 0 0 1 .95 2.922z"/>',
|
|
15329
|
+
viewBox: '0 0 24 24'
|
|
15330
|
+
};
|
|
15331
|
+
const ratingStarOutlineIcon = {
|
|
15332
|
+
name: 'star-outline',
|
|
15333
|
+
content: '<path d="M23.065 8.95a1.44 1.44 0 0 0-1.267-1l-6.101-.493-2.351-5.691a1.454 1.454 0 0 0-2.691 0L8.304 7.454l-6.101.496A1.44 1.44 0 0 0 .936 8.951a1.46 1.46 0 0 0 .433 1.562l4.657 4.011-1.417 5.998a1.46 1.46 0 0 0 .567 1.52 1.43 1.43 0 0 0 1.61.061L12 18.898l5.222 3.211a1.43 1.43 0 0 0 1.611-.061 1.46 1.46 0 0 0 .566-1.52l-1.417-5.998 4.65-4.016a1.46 1.46 0 0 0 .433-1.564m-1.229.644-4.929 4.253a.61.61 0 0 0-.195.599l1.506 6.357a.24.24 0 0 1-.096.261.23.23 0 0 1-.262.009l-5.541-3.404a.61.61 0 0 0-.636 0l-5.54 3.403a.23.23 0 0 1-.263-.01.24.24 0 0 1-.101-.26l1.506-6.358a.61.61 0 0 0-.194-.598l-4.93-4.253a.24.24 0 0 1-.074-.269.23.23 0 0 1 .21-.167l6.471-.522a.61.61 0 0 0 .513-.373l2.493-6.035a.238.238 0 0 1 .444 0l2.494 6.035a.61.61 0 0 0 .512.373l6.472.522a.23.23 0 0 1 .21.167.24.24 0 0 1-.068.269z"/>',
|
|
15334
|
+
viewBox: '0 0 24 24'
|
|
15335
|
+
};
|
|
15297
15336
|
/**
|
|
15298
15337
|
* Represents the Kendo UI Rating component for Angular.
|
|
15299
15338
|
* Use this component to let users select a rating value.
|
|
@@ -15385,11 +15424,11 @@ class RatingComponent {
|
|
|
15385
15424
|
/**
|
|
15386
15425
|
* Sets a custom SVG icon for the selected or hovered state of the Rating items ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/icon)).
|
|
15387
15426
|
*/
|
|
15388
|
-
svgIcon =
|
|
15427
|
+
svgIcon = ratingStarIcon;
|
|
15389
15428
|
/**
|
|
15390
15429
|
* Sets a custom SVG icon for the default state of the Rating items when not hovered or selected ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/rating/icon)).
|
|
15391
15430
|
*/
|
|
15392
|
-
svgIconOutline =
|
|
15431
|
+
svgIconOutline = ratingStarOutlineIcon;
|
|
15393
15432
|
/**
|
|
15394
15433
|
* Fires when the user selects a new value.
|
|
15395
15434
|
*/
|
|
@@ -15656,6 +15695,10 @@ class RatingComponent {
|
|
|
15656
15695
|
{
|
|
15657
15696
|
provide: KendoInput,
|
|
15658
15697
|
useExisting: forwardRef(() => RatingComponent)
|
|
15698
|
+
},
|
|
15699
|
+
{
|
|
15700
|
+
provide: KENDO_WEBMCP_HOST,
|
|
15701
|
+
useExisting: forwardRef(() => RatingComponent)
|
|
15659
15702
|
}
|
|
15660
15703
|
], queries: [{ propertyName: "itemTemplate", first: true, predicate: RatingItemTemplateDirective, descendants: true }, { propertyName: "hoveredItemTemplate", first: true, predicate: RatingHoveredItemTemplateDirective, descendants: true }, { propertyName: "selectedItemTemplate", first: true, predicate: RatingSelectedItemTemplateDirective, descendants: true }], exportAs: ["kendoRating"], ngImport: i0, template: `
|
|
15661
15704
|
<span class="k-rating-container">
|
|
@@ -15676,7 +15719,7 @@ class RatingComponent {
|
|
|
15676
15719
|
@if (!icon) {
|
|
15677
15720
|
<kendo-icon-wrapper
|
|
15678
15721
|
size="xlarge"
|
|
15679
|
-
[name]="item.selected || item.hovered ? 'star' : 'star
|
|
15722
|
+
[name]="item.selected || item.hovered ? 'star' : 'star'"
|
|
15680
15723
|
[svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
|
|
15681
15724
|
>
|
|
15682
15725
|
</kendo-icon-wrapper>
|
|
@@ -15717,7 +15760,7 @@ class RatingComponent {
|
|
|
15717
15760
|
@if (!icon) {
|
|
15718
15761
|
<kendo-icon-wrapper
|
|
15719
15762
|
size="xlarge"
|
|
15720
|
-
[name]="'star
|
|
15763
|
+
[name]="'star'"
|
|
15721
15764
|
[svgIcon]="svgIconOutline"
|
|
15722
15765
|
>
|
|
15723
15766
|
</kendo-icon-wrapper>
|
|
@@ -15812,6 +15855,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
15812
15855
|
{
|
|
15813
15856
|
provide: KendoInput,
|
|
15814
15857
|
useExisting: forwardRef(() => RatingComponent)
|
|
15858
|
+
},
|
|
15859
|
+
{
|
|
15860
|
+
provide: KENDO_WEBMCP_HOST,
|
|
15861
|
+
useExisting: forwardRef(() => RatingComponent)
|
|
15815
15862
|
}
|
|
15816
15863
|
],
|
|
15817
15864
|
selector: 'kendo-rating',
|
|
@@ -15834,7 +15881,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
15834
15881
|
@if (!icon) {
|
|
15835
15882
|
<kendo-icon-wrapper
|
|
15836
15883
|
size="xlarge"
|
|
15837
|
-
[name]="item.selected || item.hovered ? 'star' : 'star
|
|
15884
|
+
[name]="item.selected || item.hovered ? 'star' : 'star'"
|
|
15838
15885
|
[svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
|
|
15839
15886
|
>
|
|
15840
15887
|
</kendo-icon-wrapper>
|
|
@@ -15875,7 +15922,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
15875
15922
|
@if (!icon) {
|
|
15876
15923
|
<kendo-icon-wrapper
|
|
15877
15924
|
size="xlarge"
|
|
15878
|
-
[name]="'star
|
|
15925
|
+
[name]="'star'"
|
|
15879
15926
|
[svgIcon]="svgIconOutline"
|
|
15880
15927
|
>
|
|
15881
15928
|
</kendo-icon-wrapper>
|
|
@@ -16834,7 +16881,8 @@ class SignatureComponent {
|
|
|
16834
16881
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SignatureComponent, isStandalone: true, selector: "kendo-signature", inputs: { focusableId: "focusableId", readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", exportScale: "exportScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
|
|
16835
16882
|
LocalizationService,
|
|
16836
16883
|
{ provide: L10N_PREFIX, useValue: 'kendo.signature' },
|
|
16837
|
-
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
|
|
16884
|
+
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) },
|
|
16885
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => SignatureComponent) }
|
|
16838
16886
|
], viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }, { propertyName: "minimizeButton", first: true, predicate: ["minimize"], descendants: true, read: ElementRef }, { propertyName: "maximizeButton", first: true, predicate: ["maximize"], descendants: true, read: ElementRef }], exportAs: ["kendoSignature"], usesOnChanges: true, ngImport: i0, template: `
|
|
16839
16887
|
<ng-container kendoSignatureLocalizedMessages
|
|
16840
16888
|
i18n-clear="kendo.signature.clear|The message for the Clear button."
|
|
@@ -16939,7 +16987,7 @@ class SignatureComponent {
|
|
|
16939
16987
|
</kendo-signature>
|
|
16940
16988
|
</kendo-dialog>
|
|
16941
16989
|
}
|
|
16942
|
-
`, isInline: true, dependencies: [{ kind: "component", type: SignatureComponent, selector: "kendo-signature", inputs: ["focusableId", "readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }, { kind: "directive", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
16990
|
+
`, isInline: true, dependencies: [{ kind: "component", type: SignatureComponent, selector: "kendo-signature", inputs: ["focusableId", "readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }, { kind: "directive", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { 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: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "closable", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16943
16991
|
}
|
|
16944
16992
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
16945
16993
|
type: Component,
|
|
@@ -16950,7 +16998,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
16950
16998
|
providers: [
|
|
16951
16999
|
LocalizationService,
|
|
16952
17000
|
{ provide: L10N_PREFIX, useValue: 'kendo.signature' },
|
|
16953
|
-
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
|
|
17001
|
+
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) },
|
|
17002
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => SignatureComponent) }
|
|
16954
17003
|
],
|
|
16955
17004
|
template: `
|
|
16956
17005
|
<ng-container kendoSignatureLocalizedMessages
|
|
@@ -17225,7 +17274,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
17225
17274
|
* ```html
|
|
17226
17275
|
* <kendo-textarea>
|
|
17227
17276
|
* <kendo-textarea-prefix>
|
|
17228
|
-
* <button kendoButton
|
|
17277
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
17229
17278
|
* </kendo-textarea-prefix>
|
|
17230
17279
|
* </kendo-textarea>
|
|
17231
17280
|
* ```
|
|
@@ -17287,7 +17336,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
17287
17336
|
* ```html
|
|
17288
17337
|
* <kendo-textarea>
|
|
17289
17338
|
* <kendo-textarea-suffix>
|
|
17290
|
-
* <button kendoButton
|
|
17339
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
17291
17340
|
* </kendo-textarea-suffix>
|
|
17292
17341
|
* </kendo-textarea>
|
|
17293
17342
|
* ```
|
|
@@ -18023,7 +18072,8 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
18023
18072
|
useExisting: forwardRef(() => TextAreaComponent),
|
|
18024
18073
|
multi: true
|
|
18025
18074
|
},
|
|
18026
|
-
{ provide: KendoInput, useExisting: forwardRef(() => TextAreaComponent) }
|
|
18075
|
+
{ provide: KendoInput, useExisting: forwardRef(() => TextAreaComponent) },
|
|
18076
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TextAreaComponent) }
|
|
18027
18077
|
], queries: [{ propertyName: "prefix", first: true, predicate: TextAreaPrefixComponent, descendants: true }, { propertyName: "suffix", first: true, predicate: TextAreaSuffixComponent, descendants: true }], exportAs: ["kendoTextArea"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
18028
18078
|
<ng-container
|
|
18029
18079
|
kendoInputSharedEvents
|
|
@@ -18083,7 +18133,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
18083
18133
|
useExisting: forwardRef(() => TextAreaComponent),
|
|
18084
18134
|
multi: true
|
|
18085
18135
|
},
|
|
18086
|
-
{ provide: KendoInput, useExisting: forwardRef(() => TextAreaComponent) }
|
|
18136
|
+
{ provide: KendoInput, useExisting: forwardRef(() => TextAreaComponent) },
|
|
18137
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TextAreaComponent) }
|
|
18087
18138
|
],
|
|
18088
18139
|
selector: 'kendo-textarea',
|
|
18089
18140
|
template: `
|
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": 1779273406,
|
|
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-inputs",
|
|
3
|
-
"version": "24.0.0
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"package": {
|
|
56
56
|
"productName": "Kendo UI for Angular",
|
|
57
57
|
"productCode": "KENDOUIANGULAR",
|
|
58
|
-
"publishDate":
|
|
58
|
+
"publishDate": 1779273406,
|
|
59
59
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
@@ -65,22 +65,22 @@
|
|
|
65
65
|
"@angular/core": "19 - 21",
|
|
66
66
|
"@angular/forms": "19 - 21",
|
|
67
67
|
"@angular/platform-browser": "19 - 21",
|
|
68
|
-
"@progress/kendo-drawing": "^1.
|
|
68
|
+
"@progress/kendo-drawing": "^1.25.0",
|
|
69
69
|
"@progress/kendo-licensing": "^1.11.0",
|
|
70
|
-
"@progress/kendo-angular-buttons": "24.0.0
|
|
71
|
-
"@progress/kendo-angular-common": "24.0.0
|
|
72
|
-
"@progress/kendo-angular-utils": "24.0.0
|
|
73
|
-
"@progress/kendo-angular-navigation": "24.0.0
|
|
74
|
-
"@progress/kendo-angular-dialog": "24.0.0
|
|
75
|
-
"@progress/kendo-angular-intl": "24.0.0
|
|
76
|
-
"@progress/kendo-angular-l10n": "24.0.0
|
|
77
|
-
"@progress/kendo-angular-popup": "24.0.0
|
|
78
|
-
"@progress/kendo-angular-icons": "24.0.0
|
|
70
|
+
"@progress/kendo-angular-buttons": "24.0.0",
|
|
71
|
+
"@progress/kendo-angular-common": "24.0.0",
|
|
72
|
+
"@progress/kendo-angular-utils": "24.0.0",
|
|
73
|
+
"@progress/kendo-angular-navigation": "24.0.0",
|
|
74
|
+
"@progress/kendo-angular-dialog": "24.0.0",
|
|
75
|
+
"@progress/kendo-angular-intl": "24.0.0",
|
|
76
|
+
"@progress/kendo-angular-l10n": "24.0.0",
|
|
77
|
+
"@progress/kendo-angular-popup": "24.0.0",
|
|
78
|
+
"@progress/kendo-angular-icons": "24.0.0",
|
|
79
79
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"tslib": "^2.3.1",
|
|
83
|
-
"@progress/kendo-angular-schematics": "24.0.0
|
|
83
|
+
"@progress/kendo-angular-schematics": "24.0.0",
|
|
84
84
|
"@progress/kendo-common": "^1.0.1",
|
|
85
85
|
"@progress/kendo-draggable": "^3.0.0",
|
|
86
86
|
"@progress/kendo-inputs-common": "^3.1.0"
|
|
@@ -31,6 +31,7 @@ export declare class SwitchComponent implements ControlValueAccessor, OnInit, On
|
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
+
set focusableId(value: string);
|
|
34
35
|
get focusableId(): string;
|
|
35
36
|
/**
|
|
36
37
|
* Set the **On** label.
|
|
@@ -120,6 +121,7 @@ export declare class SwitchComponent implements ControlValueAccessor, OnInit, On
|
|
|
120
121
|
protected control: NgControl;
|
|
121
122
|
private domSubscriptions;
|
|
122
123
|
private _checked;
|
|
124
|
+
private _focusableId;
|
|
123
125
|
private _size;
|
|
124
126
|
private _trackRounded;
|
|
125
127
|
private _thumbRounded;
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* ```html
|
|
13
13
|
* <kendo-textarea>
|
|
14
14
|
* <kendo-textarea-prefix>
|
|
15
|
-
* <button kendoButton
|
|
15
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
16
16
|
* </kendo-textarea-prefix>
|
|
17
17
|
* </kendo-textarea>
|
|
18
18
|
* ```
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* ```html
|
|
13
13
|
* <kendo-textarea>
|
|
14
14
|
* <kendo-textarea-suffix>
|
|
15
|
-
* <button kendoButton
|
|
15
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
16
16
|
* </kendo-textarea-suffix>
|
|
17
17
|
* </kendo-textarea>
|
|
18
18
|
* ```
|