@progress/kendo-angular-inputs 25.4.0-develop.3 → 25.4.0-develop.30
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 +16 -1
- package/fesm2022/progress-kendo-angular-inputs.mjs +173 -39
- package/index.d.ts +24 -2
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
- package/EULA.pdf +0 -0
- package/EULA.rtf +0 -2730
|
@@ -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.attributeConditionalRemoval = 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.valuelessAttributeRemoval = 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;
|
|
@@ -374,6 +374,21 @@ const attributeConditionalRemoval = (templateContent, tagName, attributeName, va
|
|
|
374
374
|
return result;
|
|
375
375
|
};
|
|
376
376
|
exports.attributeConditionalRemoval = attributeConditionalRemoval;
|
|
377
|
+
/**
|
|
378
|
+
* Removes an attribute from a tag regardless of whether it has a value.
|
|
379
|
+
* Handles valueless directive selectors (`<ng-template kendoDirective>`) and static values (`attr="value"`).
|
|
380
|
+
*
|
|
381
|
+
* @param templateContent - The template string content to transform
|
|
382
|
+
* @param tagName - The HTML tag name to target (e.g., 'ng-template')
|
|
383
|
+
* @param attributeName - The attribute name to remove
|
|
384
|
+
* @returns The transformed template content
|
|
385
|
+
*/
|
|
386
|
+
const valuelessAttributeRemoval = (templateContent, tagName, attributeName) => {
|
|
387
|
+
const escapeRegex = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
388
|
+
const pattern = new RegExp(`(<${escapeRegex(tagName)}\\b(?:[^>"']|"[^"]*"|'[^']*')*?)\\s+${escapeRegex(attributeName)}(?:\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]+))?(?=\\s|\\/?>)`, 'gi');
|
|
389
|
+
return templateContent.replace(pattern, '$1');
|
|
390
|
+
};
|
|
391
|
+
exports.valuelessAttributeRemoval = valuelessAttributeRemoval;
|
|
377
392
|
function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propertyName) {
|
|
378
393
|
if (source.includes(typeName)) {
|
|
379
394
|
if (!isImportedFromPackage(rootSource, j, packageName, typeName)) {
|
|
@@ -38,6 +38,24 @@ const isPresent = (value) => value !== null && value !== undefined;
|
|
|
38
38
|
* @hidden
|
|
39
39
|
*/
|
|
40
40
|
const areSame = (value1, value2) => value1 === value2 || (value1 === null && value2 === undefined) || (value1 === undefined && value2 === null);
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
const limitMaxLength = (value, maxLength) => {
|
|
45
|
+
const exceedsMaxLength = isPresent(maxLength) && maxLength >= 0 && value?.length > maxLength;
|
|
46
|
+
if (!exceedsMaxLength) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
const limitedValue = value.slice(0, maxLength);
|
|
50
|
+
const lastCodeUnit = limitedValue.charCodeAt(limitedValue.length - 1);
|
|
51
|
+
const nextCodeUnit = value.charCodeAt(limitedValue.length);
|
|
52
|
+
const splitsSurrogatePair = lastCodeUnit >= 0xD800 && lastCodeUnit <= 0xDBFF &&
|
|
53
|
+
nextCodeUnit >= 0xDC00 && nextCodeUnit <= 0xDFFF;
|
|
54
|
+
if (splitsSurrogatePair) {
|
|
55
|
+
return limitedValue.slice(0, -1);
|
|
56
|
+
}
|
|
57
|
+
return limitedValue;
|
|
58
|
+
};
|
|
41
59
|
/**
|
|
42
60
|
* @hidden
|
|
43
61
|
*/
|
|
@@ -590,8 +608,8 @@ const packageMetadata = {
|
|
|
590
608
|
productName: 'Kendo UI for Angular',
|
|
591
609
|
productCode: 'KENDOUIANGULAR',
|
|
592
610
|
productCodes: ['KENDOUIANGULAR'],
|
|
593
|
-
publishDate:
|
|
594
|
-
version: '25.4.0-develop.
|
|
611
|
+
publishDate: 1793898298,
|
|
612
|
+
version: '25.4.0-develop.30',
|
|
595
613
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
596
614
|
};
|
|
597
615
|
|
|
@@ -1778,7 +1796,7 @@ class SliderComponent extends SliderBase {
|
|
|
1778
1796
|
></button>
|
|
1779
1797
|
}
|
|
1780
1798
|
<kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
|
|
1781
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "
|
|
1799
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1782
1800
|
}
|
|
1783
1801
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SliderComponent, decorators: [{
|
|
1784
1802
|
type: Component,
|
|
@@ -8427,6 +8445,7 @@ class TextBoxComponent {
|
|
|
8427
8445
|
prefix;
|
|
8428
8446
|
control;
|
|
8429
8447
|
subscriptions;
|
|
8448
|
+
composing = false;
|
|
8430
8449
|
_focusableId = signal(`k-${guid()}`, ...(ngDevMode ? [{ debugName: "_focusableId" }] : []));
|
|
8431
8450
|
_title = signal(undefined, ...(ngDevMode ? [{ debugName: "_title" }] : []));
|
|
8432
8451
|
_type = signal('text', ...(ngDevMode ? [{ debugName: "_type" }] : []));
|
|
@@ -8560,10 +8579,27 @@ class TextBoxComponent {
|
|
|
8560
8579
|
this.focusChangedProgrammatically = false;
|
|
8561
8580
|
}
|
|
8562
8581
|
};
|
|
8582
|
+
/**
|
|
8583
|
+
* @hidden
|
|
8584
|
+
*/
|
|
8585
|
+
handleCompositionStart = () => {
|
|
8586
|
+
this.composing = true;
|
|
8587
|
+
};
|
|
8588
|
+
/**
|
|
8589
|
+
* @hidden
|
|
8590
|
+
*/
|
|
8591
|
+
handleCompositionEnd = () => {
|
|
8592
|
+
this.composing = false;
|
|
8593
|
+
this.enforceMaxLength(true);
|
|
8594
|
+
};
|
|
8563
8595
|
/**
|
|
8564
8596
|
* @hidden
|
|
8565
8597
|
*/
|
|
8566
8598
|
handleInputBlur = () => {
|
|
8599
|
+
if (this.composing) {
|
|
8600
|
+
this.composing = false;
|
|
8601
|
+
this.enforceMaxLength();
|
|
8602
|
+
}
|
|
8567
8603
|
if (hasObservers(this.inputBlur) || requiresZoneOnBlur(this.control)) {
|
|
8568
8604
|
this.ngZone.run(() => {
|
|
8569
8605
|
this.ngTouched();
|
|
@@ -8579,8 +8615,14 @@ class TextBoxComponent {
|
|
|
8579
8615
|
const target = ev.target;
|
|
8580
8616
|
const isBrowserSafari = isSafari(navigator.userAgent);
|
|
8581
8617
|
const incomingValue = isBrowserSafari && isJapanese(target.value) ? ev.data : target.value;
|
|
8618
|
+
const value = this.composing || ev.isComposing
|
|
8619
|
+
? incomingValue
|
|
8620
|
+
: limitMaxLength(incomingValue, this.maxlength);
|
|
8582
8621
|
const [caretStart, caretEnd] = [target.selectionStart, target.selectionEnd];
|
|
8583
|
-
|
|
8622
|
+
if (value !== incomingValue) {
|
|
8623
|
+
target.value = value;
|
|
8624
|
+
}
|
|
8625
|
+
this.updateValue(value);
|
|
8584
8626
|
if (isBrowserSafari) {
|
|
8585
8627
|
target.setSelectionRange(caretStart, caretEnd);
|
|
8586
8628
|
}
|
|
@@ -8771,6 +8813,17 @@ class TextBoxComponent {
|
|
|
8771
8813
|
});
|
|
8772
8814
|
}
|
|
8773
8815
|
}
|
|
8816
|
+
enforceMaxLength(syncValue = false) {
|
|
8817
|
+
const target = this.input.nativeElement;
|
|
8818
|
+
const value = limitMaxLength(target.value, this.maxlength);
|
|
8819
|
+
if (value !== target.value) {
|
|
8820
|
+
target.value = value;
|
|
8821
|
+
this.updateValue(value);
|
|
8822
|
+
}
|
|
8823
|
+
else if (syncValue) {
|
|
8824
|
+
this.updateValue(value);
|
|
8825
|
+
}
|
|
8826
|
+
}
|
|
8774
8827
|
/**
|
|
8775
8828
|
* @hidden
|
|
8776
8829
|
*/
|
|
@@ -8860,7 +8913,9 @@ class TextBoxComponent {
|
|
|
8860
8913
|
[kendoEventsOutsideAngular]="{
|
|
8861
8914
|
focus: handleInputFocus,
|
|
8862
8915
|
blur: handleInputBlur,
|
|
8863
|
-
input: handleInput
|
|
8916
|
+
input: handleInput,
|
|
8917
|
+
compositionstart: handleCompositionStart,
|
|
8918
|
+
compositionend: handleCompositionEnd
|
|
8864
8919
|
}"
|
|
8865
8920
|
/>
|
|
8866
8921
|
@if (showClearButton()) {
|
|
@@ -8968,7 +9023,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
8968
9023
|
[kendoEventsOutsideAngular]="{
|
|
8969
9024
|
focus: handleInputFocus,
|
|
8970
9025
|
blur: handleInputBlur,
|
|
8971
|
-
input: handleInput
|
|
9026
|
+
input: handleInput,
|
|
9027
|
+
compositionstart: handleCompositionStart,
|
|
9028
|
+
compositionend: handleCompositionEnd
|
|
8972
9029
|
}"
|
|
8973
9030
|
/>
|
|
8974
9031
|
@if (showClearButton()) {
|
|
@@ -9434,7 +9491,7 @@ class ColorInputComponent {
|
|
|
9434
9491
|
</div>
|
|
9435
9492
|
}
|
|
9436
9493
|
}
|
|
9437
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "
|
|
9494
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], 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"] }] });
|
|
9438
9495
|
}
|
|
9439
9496
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ColorInputComponent, decorators: [{
|
|
9440
9497
|
type: Component,
|
|
@@ -11217,7 +11274,7 @@ class ColorGradientComponent {
|
|
|
11217
11274
|
[ratio]="contrastTool">
|
|
11218
11275
|
</div>
|
|
11219
11276
|
}
|
|
11220
|
-
`, 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", "
|
|
11277
|
+
`, 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11221
11278
|
}
|
|
11222
11279
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
11223
11280
|
type: Component,
|
|
@@ -12571,7 +12628,7 @@ class FlatColorPickerHeaderComponent {
|
|
|
12571
12628
|
</div>
|
|
12572
12629
|
}
|
|
12573
12630
|
</div>
|
|
12574
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "
|
|
12631
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
12575
12632
|
}
|
|
12576
12633
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FlatColorPickerHeaderComponent, decorators: [{
|
|
12577
12634
|
type: Component,
|
|
@@ -12732,7 +12789,7 @@ class FlatColorPickerActionButtonsComponent {
|
|
|
12732
12789
|
[tabindex]="innerTabIndex.toString()"
|
|
12733
12790
|
(keydown.tab)="$event.preventDefault(); tabOut.emit();"
|
|
12734
12791
|
>{{getText('applyButton')}}</button>
|
|
12735
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "
|
|
12792
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
12736
12793
|
}
|
|
12737
12794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FlatColorPickerActionButtonsComponent, decorators: [{
|
|
12738
12795
|
type: Component,
|
|
@@ -13786,7 +13843,7 @@ class AdaptiveCloseButtonComponent {
|
|
|
13786
13843
|
[tabIndex]="-1"
|
|
13787
13844
|
(click)="close.emit($event)"
|
|
13788
13845
|
></button>
|
|
13789
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "
|
|
13846
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
13790
13847
|
}
|
|
13791
13848
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: AdaptiveCloseButtonComponent, decorators: [{
|
|
13792
13849
|
type: Component,
|
|
@@ -13916,7 +13973,7 @@ class AdaptiveRendererComponent {
|
|
|
13916
13973
|
}
|
|
13917
13974
|
</ng-template>
|
|
13918
13975
|
</kendo-actionsheet>
|
|
13919
|
-
`, 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", "
|
|
13976
|
+
`, 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], 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"] }] });
|
|
13920
13977
|
}
|
|
13921
13978
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
13922
13979
|
type: Component,
|
|
@@ -15123,7 +15180,7 @@ class ColorPickerComponent {
|
|
|
15123
15180
|
@if (isOpen || isAdaptiveModeEnabled) {
|
|
15124
15181
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
15125
15182
|
}
|
|
15126
|
-
`, 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", "
|
|
15183
|
+
`, 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15127
15184
|
}
|
|
15128
15185
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
15129
15186
|
type: Component,
|
|
@@ -18444,7 +18501,7 @@ class SignatureComponent {
|
|
|
18444
18501
|
</kendo-signature>
|
|
18445
18502
|
</kendo-dialog>
|
|
18446
18503
|
}
|
|
18447
|
-
`, 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", "
|
|
18504
|
+
`, 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], 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 });
|
|
18448
18505
|
}
|
|
18449
18506
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
18450
18507
|
type: Component,
|
|
@@ -18957,6 +19014,7 @@ class TextFieldsBase {
|
|
|
18957
19014
|
* @hidden
|
|
18958
19015
|
*/
|
|
18959
19016
|
handleInputBlur = () => {
|
|
19017
|
+
this.onInputBlur();
|
|
18960
19018
|
this.changeDetector.markForCheck();
|
|
18961
19019
|
if (hasObservers(this.inputBlur) || requiresZoneOnBlur(this.control)) {
|
|
18962
19020
|
this.ngZone.run(() => {
|
|
@@ -18965,6 +19023,7 @@ class TextFieldsBase {
|
|
|
18965
19023
|
});
|
|
18966
19024
|
}
|
|
18967
19025
|
};
|
|
19026
|
+
onInputBlur() { }
|
|
18968
19027
|
/**
|
|
18969
19028
|
* @hidden
|
|
18970
19029
|
* Called when the status of the component changes to or from `disabled`.
|
|
@@ -19259,6 +19318,7 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
19259
19318
|
* The event does not fire when the value changes programmatically or through form control binding.
|
|
19260
19319
|
*/
|
|
19261
19320
|
valueChange = new EventEmitter();
|
|
19321
|
+
composing = false;
|
|
19262
19322
|
initialHeight;
|
|
19263
19323
|
maxResizableHeight;
|
|
19264
19324
|
resizeSubscription;
|
|
@@ -19466,14 +19526,39 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
19466
19526
|
this._isFocused = value;
|
|
19467
19527
|
}
|
|
19468
19528
|
}
|
|
19529
|
+
/**
|
|
19530
|
+
* @hidden
|
|
19531
|
+
*/
|
|
19532
|
+
handleCompositionStart = () => {
|
|
19533
|
+
this.composing = true;
|
|
19534
|
+
};
|
|
19535
|
+
/**
|
|
19536
|
+
* @hidden
|
|
19537
|
+
*/
|
|
19538
|
+
handleCompositionEnd = () => {
|
|
19539
|
+
this.composing = false;
|
|
19540
|
+
this.enforceMaxLength(true);
|
|
19541
|
+
};
|
|
19469
19542
|
/**
|
|
19470
19543
|
* @hidden
|
|
19471
19544
|
*/
|
|
19472
19545
|
handleInput = (ev) => {
|
|
19473
|
-
const
|
|
19546
|
+
const target = ev.target;
|
|
19547
|
+
const incomingValue = this.composing || ev.isComposing
|
|
19548
|
+
? target.value
|
|
19549
|
+
: limitMaxLength(target.value, this.maxlength);
|
|
19550
|
+
if (incomingValue !== target.value) {
|
|
19551
|
+
target.value = incomingValue;
|
|
19552
|
+
}
|
|
19474
19553
|
this.updateValue(incomingValue);
|
|
19475
19554
|
this.resize();
|
|
19476
19555
|
};
|
|
19556
|
+
onInputBlur() {
|
|
19557
|
+
if (this.composing) {
|
|
19558
|
+
this.composing = false;
|
|
19559
|
+
this.enforceMaxLength();
|
|
19560
|
+
}
|
|
19561
|
+
}
|
|
19477
19562
|
/**
|
|
19478
19563
|
* @hidden
|
|
19479
19564
|
*/
|
|
@@ -19586,6 +19671,18 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
19586
19671
|
});
|
|
19587
19672
|
}
|
|
19588
19673
|
}
|
|
19674
|
+
enforceMaxLength(syncValue = false) {
|
|
19675
|
+
const target = this.input.nativeElement;
|
|
19676
|
+
const value = limitMaxLength(target.value, this.maxlength);
|
|
19677
|
+
if (value !== target.value) {
|
|
19678
|
+
target.value = value;
|
|
19679
|
+
this.updateValue(value);
|
|
19680
|
+
this.resize();
|
|
19681
|
+
}
|
|
19682
|
+
else if (syncValue) {
|
|
19683
|
+
this.updateValue(value);
|
|
19684
|
+
}
|
|
19685
|
+
}
|
|
19589
19686
|
setSelection(start, end) {
|
|
19590
19687
|
if (this.isFocused) {
|
|
19591
19688
|
invokeElementMethod(this.input, 'setSelectionRange', start, end);
|
|
@@ -19660,7 +19757,10 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
19660
19757
|
[kendoEventsOutsideAngular]="{
|
|
19661
19758
|
focus: handleInputFocus,
|
|
19662
19759
|
blur: handleInputBlur,
|
|
19663
|
-
input: handleInput
|
|
19760
|
+
input: handleInput,
|
|
19761
|
+
compositionstart: handleCompositionStart,
|
|
19762
|
+
compositionend: handleCompositionEnd
|
|
19763
|
+
}"
|
|
19664
19764
|
></textarea>
|
|
19665
19765
|
@if (suffix && showSuffixSeparator) {
|
|
19666
19766
|
<kendo-input-separator
|
|
@@ -19722,7 +19822,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
19722
19822
|
[kendoEventsOutsideAngular]="{
|
|
19723
19823
|
focus: handleInputFocus,
|
|
19724
19824
|
blur: handleInputBlur,
|
|
19725
|
-
input: handleInput
|
|
19825
|
+
input: handleInput,
|
|
19826
|
+
compositionstart: handleCompositionStart,
|
|
19827
|
+
compositionend: handleCompositionEnd
|
|
19828
|
+
}"
|
|
19726
19829
|
></textarea>
|
|
19727
19830
|
@if (suffix && showSuffixSeparator) {
|
|
19728
19831
|
<kendo-input-separator
|
|
@@ -21061,7 +21164,7 @@ class FormComponent {
|
|
|
21061
21164
|
this.localizationService = localizationService;
|
|
21062
21165
|
const isValid = validatePackage(packageMetadata);
|
|
21063
21166
|
this.licenseMessage = getLicenseMessage(packageMetadata);
|
|
21064
|
-
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
21167
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid, packageMetadata);
|
|
21065
21168
|
this.direction = localizationService.rtl ? 'rtl' : 'ltr';
|
|
21066
21169
|
this.subscriptions.add(this.localizationService.changes.subscribe(({ rtl }) => {
|
|
21067
21170
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
@@ -21651,7 +21754,9 @@ const KENDO_FORM = [
|
|
|
21651
21754
|
FormComponent,
|
|
21652
21755
|
FormSeparatorComponent,
|
|
21653
21756
|
FormFieldSetComponent,
|
|
21654
|
-
|
|
21757
|
+
FormFieldComponent,
|
|
21758
|
+
HintComponent,
|
|
21759
|
+
ErrorComponent
|
|
21655
21760
|
];
|
|
21656
21761
|
/**
|
|
21657
21762
|
* Use the `KENDO_SLIDER` utility array to add all Slider-related components and directives to a standalone Angular component.
|
|
@@ -21816,24 +21921,53 @@ const KENDO_COLORGRADIENT = [
|
|
|
21816
21921
|
* ```
|
|
21817
21922
|
*/
|
|
21818
21923
|
const KENDO_INPUTS = [
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21823
|
-
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
|
|
21830
|
-
|
|
21831
|
-
|
|
21832
|
-
|
|
21833
|
-
|
|
21834
|
-
|
|
21835
|
-
|
|
21836
|
-
|
|
21924
|
+
TextBoxDirective,
|
|
21925
|
+
TextBoxComponent,
|
|
21926
|
+
InputSeparatorComponent,
|
|
21927
|
+
InputSpacerComponent,
|
|
21928
|
+
TextBoxSuffixTemplateDirective,
|
|
21929
|
+
TextBoxPrefixTemplateDirective,
|
|
21930
|
+
TextBoxCustomMessagesComponent,
|
|
21931
|
+
PrefixTemplateDirective,
|
|
21932
|
+
SuffixTemplateDirective,
|
|
21933
|
+
SeparatorComponent,
|
|
21934
|
+
NumericTextBoxComponent,
|
|
21935
|
+
NumericTextBoxCustomMessagesComponent,
|
|
21936
|
+
MaskedTextBoxComponent,
|
|
21937
|
+
TextAreaComponent,
|
|
21938
|
+
TextAreaDirective,
|
|
21939
|
+
TextAreaPrefixComponent,
|
|
21940
|
+
TextAreaSuffixComponent,
|
|
21941
|
+
CheckBoxComponent,
|
|
21942
|
+
CheckBoxDirective,
|
|
21943
|
+
RadioButtonComponent,
|
|
21944
|
+
RadioButtonDirective,
|
|
21945
|
+
SwitchComponent,
|
|
21946
|
+
SwitchCustomMessagesComponent,
|
|
21947
|
+
FormComponent,
|
|
21948
|
+
FormSeparatorComponent,
|
|
21949
|
+
FormFieldSetComponent,
|
|
21950
|
+
FormFieldComponent,
|
|
21951
|
+
HintComponent,
|
|
21952
|
+
ErrorComponent,
|
|
21953
|
+
SliderComponent,
|
|
21954
|
+
SliderCustomMessagesComponent,
|
|
21955
|
+
LabelTemplateDirective,
|
|
21956
|
+
RangeSliderComponent,
|
|
21957
|
+
RangeSliderCustomMessagesComponent,
|
|
21958
|
+
RatingComponent,
|
|
21959
|
+
RatingItemTemplateDirective,
|
|
21960
|
+
RatingHoveredItemTemplateDirective,
|
|
21961
|
+
RatingSelectedItemTemplateDirective,
|
|
21962
|
+
SignatureComponent,
|
|
21963
|
+
SignatureCustomMessagesComponent,
|
|
21964
|
+
ColorPickerComponent,
|
|
21965
|
+
ColorPickerCustomMessagesComponent,
|
|
21966
|
+
FlatColorPickerComponent,
|
|
21967
|
+
ColorGradientComponent,
|
|
21968
|
+
ColorPaletteComponent,
|
|
21969
|
+
OTPInputComponent,
|
|
21970
|
+
OTPInputCustomMessagesComponent
|
|
21837
21971
|
];
|
|
21838
21972
|
|
|
21839
21973
|
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
@@ -21859,8 +21993,8 @@ const KENDO_INPUTS = [
|
|
|
21859
21993
|
*/
|
|
21860
21994
|
class InputsModule {
|
|
21861
21995
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: InputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21862
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: InputsModule, imports: [TextBoxDirective, TextBoxComponent, InputSeparatorComponent, InputSpacerComponent, TextBoxSuffixTemplateDirective, TextBoxPrefixTemplateDirective, TextBoxCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent,
|
|
21863
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: InputsModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService, AdaptiveService], imports: [TextBoxComponent, i8.SeparatorComponent, NumericTextBoxComponent,
|
|
21996
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: InputsModule, imports: [TextBoxDirective, TextBoxComponent, InputSeparatorComponent, InputSpacerComponent, TextBoxSuffixTemplateDirective, TextBoxPrefixTemplateDirective, TextBoxCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, MaskedTextBoxComponent, TextAreaComponent, TextAreaDirective, TextAreaPrefixComponent, TextAreaSuffixComponent, CheckBoxComponent, CheckBoxDirective, RadioButtonComponent, RadioButtonDirective, SwitchComponent, SwitchCustomMessagesComponent, FormComponent, FormSeparatorComponent, FormFieldSetComponent, FormFieldComponent, HintComponent, ErrorComponent, SliderComponent, SliderCustomMessagesComponent, LabelTemplateDirective, RangeSliderComponent, RangeSliderCustomMessagesComponent, RatingComponent, RatingItemTemplateDirective, RatingHoveredItemTemplateDirective, RatingSelectedItemTemplateDirective, SignatureComponent, SignatureCustomMessagesComponent, ColorPickerComponent, ColorPickerCustomMessagesComponent, FlatColorPickerComponent, ColorGradientComponent, ColorPaletteComponent, OTPInputComponent, OTPInputCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent], exports: [TextBoxDirective, TextBoxComponent, InputSeparatorComponent, InputSpacerComponent, TextBoxSuffixTemplateDirective, TextBoxPrefixTemplateDirective, TextBoxCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, MaskedTextBoxComponent, TextAreaComponent, TextAreaDirective, TextAreaPrefixComponent, TextAreaSuffixComponent, CheckBoxComponent, CheckBoxDirective, RadioButtonComponent, RadioButtonDirective, SwitchComponent, SwitchCustomMessagesComponent, FormComponent, FormSeparatorComponent, FormFieldSetComponent, FormFieldComponent, HintComponent, ErrorComponent, SliderComponent, SliderCustomMessagesComponent, LabelTemplateDirective, RangeSliderComponent, RangeSliderCustomMessagesComponent, RatingComponent, RatingItemTemplateDirective, RatingHoveredItemTemplateDirective, RatingSelectedItemTemplateDirective, SignatureComponent, SignatureCustomMessagesComponent, ColorPickerComponent, ColorPickerCustomMessagesComponent, FlatColorPickerComponent, ColorGradientComponent, ColorPaletteComponent, OTPInputComponent, OTPInputCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent] });
|
|
21997
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: InputsModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService, AdaptiveService], imports: [TextBoxComponent, i8.SeparatorComponent, NumericTextBoxComponent, FormComponent, SliderComponent, RangeSliderComponent, RatingComponent, SignatureComponent, ColorPickerComponent, FlatColorPickerComponent, ColorGradientComponent, OTPInputComponent, i8.SeparatorComponent] });
|
|
21864
21998
|
}
|
|
21865
21999
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: InputsModule, decorators: [{
|
|
21866
22000
|
type: NgModule,
|
package/index.d.ts
CHANGED
|
@@ -2118,6 +2118,7 @@ declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
2118
2118
|
prefix: TextBoxPrefixTemplateDirective | PrefixTemplateDirective;
|
|
2119
2119
|
protected control: NgControl;
|
|
2120
2120
|
protected subscriptions: Subscription;
|
|
2121
|
+
private composing;
|
|
2121
2122
|
private _focusableId;
|
|
2122
2123
|
private _title;
|
|
2123
2124
|
private _type;
|
|
@@ -2166,6 +2167,14 @@ declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
2166
2167
|
* @hidden
|
|
2167
2168
|
*/
|
|
2168
2169
|
handleInputFocus: () => void;
|
|
2170
|
+
/**
|
|
2171
|
+
* @hidden
|
|
2172
|
+
*/
|
|
2173
|
+
handleCompositionStart: () => void;
|
|
2174
|
+
/**
|
|
2175
|
+
* @hidden
|
|
2176
|
+
*/
|
|
2177
|
+
handleCompositionEnd: () => void;
|
|
2169
2178
|
/**
|
|
2170
2179
|
* @hidden
|
|
2171
2180
|
*/
|
|
@@ -2263,6 +2272,7 @@ declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
2263
2272
|
private setSelection;
|
|
2264
2273
|
private selectAll;
|
|
2265
2274
|
private updateValue;
|
|
2275
|
+
private enforceMaxLength;
|
|
2266
2276
|
/**
|
|
2267
2277
|
* @hidden
|
|
2268
2278
|
*/
|
|
@@ -2431,6 +2441,7 @@ declare abstract class TextFieldsBase {
|
|
|
2431
2441
|
* @hidden
|
|
2432
2442
|
*/
|
|
2433
2443
|
handleInputBlur: () => void;
|
|
2444
|
+
protected onInputBlur(): void;
|
|
2434
2445
|
/**
|
|
2435
2446
|
* @hidden
|
|
2436
2447
|
* Called when the status of the component changes to or from `disabled`.
|
|
@@ -2685,6 +2696,7 @@ declare class TextAreaComponent extends TextFieldsBase implements ControlValueAc
|
|
|
2685
2696
|
* The event does not fire when the value changes programmatically or through form control binding.
|
|
2686
2697
|
*/
|
|
2687
2698
|
valueChange: EventEmitter<any>;
|
|
2699
|
+
private composing;
|
|
2688
2700
|
private initialHeight;
|
|
2689
2701
|
private maxResizableHeight;
|
|
2690
2702
|
private resizeSubscription;
|
|
@@ -2757,10 +2769,19 @@ declare class TextAreaComponent extends TextFieldsBase implements ControlValueAc
|
|
|
2757
2769
|
* @hidden
|
|
2758
2770
|
*/
|
|
2759
2771
|
set isFocused(value: boolean);
|
|
2772
|
+
/**
|
|
2773
|
+
* @hidden
|
|
2774
|
+
*/
|
|
2775
|
+
handleCompositionStart: () => void;
|
|
2776
|
+
/**
|
|
2777
|
+
* @hidden
|
|
2778
|
+
*/
|
|
2779
|
+
handleCompositionEnd: () => void;
|
|
2760
2780
|
/**
|
|
2761
2781
|
* @hidden
|
|
2762
2782
|
*/
|
|
2763
2783
|
handleInput: (ev: any) => void;
|
|
2784
|
+
protected onInputBlur(): void;
|
|
2764
2785
|
/**
|
|
2765
2786
|
* @hidden
|
|
2766
2787
|
*/
|
|
@@ -2784,6 +2805,7 @@ declare class TextAreaComponent extends TextFieldsBase implements ControlValueAc
|
|
|
2784
2805
|
*/
|
|
2785
2806
|
handleBlur(): void;
|
|
2786
2807
|
private updateValue;
|
|
2808
|
+
private enforceMaxLength;
|
|
2787
2809
|
private setSelection;
|
|
2788
2810
|
private selectAll;
|
|
2789
2811
|
private handleClasses;
|
|
@@ -6734,7 +6756,7 @@ declare class OTPInputCustomMessagesComponent extends OTPInputMessages {
|
|
|
6734
6756
|
*/
|
|
6735
6757
|
declare class InputsModule {
|
|
6736
6758
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
6737
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof InputSpacerComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent, typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof
|
|
6759
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof InputSpacerComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent, typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof MaskedTextBoxComponent, typeof TextAreaComponent, typeof TextAreaDirective, typeof TextAreaPrefixComponent, typeof TextAreaSuffixComponent, typeof CheckBoxComponent, typeof CheckBoxDirective, typeof RadioButtonComponent, typeof RadioButtonDirective, typeof SwitchComponent, typeof SwitchCustomMessagesComponent, typeof FormComponent, typeof FormSeparatorComponent, typeof FormFieldSetComponent, typeof FormFieldComponent, typeof HintComponent, typeof ErrorComponent, typeof SliderComponent, typeof SliderCustomMessagesComponent, typeof LabelTemplateDirective, typeof RangeSliderComponent, typeof RangeSliderCustomMessagesComponent, typeof RatingComponent, typeof RatingItemTemplateDirective, typeof RatingHoveredItemTemplateDirective, typeof RatingSelectedItemTemplateDirective, typeof SignatureComponent, typeof SignatureCustomMessagesComponent, typeof ColorPickerComponent, typeof ColorPickerCustomMessagesComponent, typeof FlatColorPickerComponent, typeof ColorGradientComponent, typeof ColorPaletteComponent, typeof OTPInputComponent, typeof OTPInputCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent], [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof InputSpacerComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent, typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof MaskedTextBoxComponent, typeof TextAreaComponent, typeof TextAreaDirective, typeof TextAreaPrefixComponent, typeof TextAreaSuffixComponent, typeof CheckBoxComponent, typeof CheckBoxDirective, typeof RadioButtonComponent, typeof RadioButtonDirective, typeof SwitchComponent, typeof SwitchCustomMessagesComponent, typeof FormComponent, typeof FormSeparatorComponent, typeof FormFieldSetComponent, typeof FormFieldComponent, typeof HintComponent, typeof ErrorComponent, typeof SliderComponent, typeof SliderCustomMessagesComponent, typeof LabelTemplateDirective, typeof RangeSliderComponent, typeof RangeSliderCustomMessagesComponent, typeof RatingComponent, typeof RatingItemTemplateDirective, typeof RatingHoveredItemTemplateDirective, typeof RatingSelectedItemTemplateDirective, typeof SignatureComponent, typeof SignatureCustomMessagesComponent, typeof ColorPickerComponent, typeof ColorPickerCustomMessagesComponent, typeof FlatColorPickerComponent, typeof ColorGradientComponent, typeof ColorPaletteComponent, typeof OTPInputComponent, typeof OTPInputCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent]>;
|
|
6738
6760
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
6739
6761
|
}
|
|
6740
6762
|
|
|
@@ -7613,7 +7635,7 @@ declare const KENDO_COLORGRADIENT: readonly [typeof ColorGradientComponent, type
|
|
|
7613
7635
|
* export class MyComponent {}
|
|
7614
7636
|
* ```
|
|
7615
7637
|
*/
|
|
7616
|
-
declare const KENDO_INPUTS: readonly [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof InputSpacerComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent, typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof SeparatorComponent, typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof
|
|
7638
|
+
declare const KENDO_INPUTS: readonly [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof InputSpacerComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent, typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof SeparatorComponent, typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof MaskedTextBoxComponent, typeof TextAreaComponent, typeof TextAreaDirective, typeof TextAreaPrefixComponent, typeof TextAreaSuffixComponent, typeof CheckBoxComponent, typeof CheckBoxDirective, typeof RadioButtonComponent, typeof RadioButtonDirective, typeof SwitchComponent, typeof SwitchCustomMessagesComponent, typeof FormComponent, typeof FormSeparatorComponent, typeof FormFieldSetComponent, typeof FormFieldComponent, typeof HintComponent, typeof ErrorComponent, typeof SliderComponent, typeof SliderCustomMessagesComponent, typeof LabelTemplateDirective, typeof RangeSliderComponent, typeof RangeSliderCustomMessagesComponent, typeof RatingComponent, typeof RatingItemTemplateDirective, typeof RatingHoveredItemTemplateDirective, typeof RatingSelectedItemTemplateDirective, typeof SignatureComponent, typeof SignatureCustomMessagesComponent, typeof ColorPickerComponent, typeof ColorPickerCustomMessagesComponent, typeof FlatColorPickerComponent, typeof ColorGradientComponent, typeof ColorPaletteComponent, typeof OTPInputComponent, typeof OTPInputCustomMessagesComponent];
|
|
7617
7639
|
|
|
7618
7640
|
export { ActiveColorClickEvent, CheckBoxComponent, CheckBoxDirective, CheckBoxModule, ColorGradientComponent, ColorPaletteComponent, ColorPickerCancelEvent, ColorPickerCloseEvent, ColorPickerComponent, ColorPickerCustomMessagesComponent, ColorPickerModule, ColorPickerOpenEvent, ErrorComponent, FlatColorPickerComponent, FormComponent, FormFieldComponent, FormFieldModule, FormFieldSetComponent, FormModule, FormSeparatorComponent, HintComponent, InputSeparatorComponent, InputSpacerComponent, InputsModule, KENDO_CHECKBOX, KENDO_COLORGRADIENT, KENDO_COLORPALETTE, KENDO_COLORPICKER, KENDO_FLATCOLORPICKER, KENDO_FORM, KENDO_FORMFIELD, KENDO_INPUTS, KENDO_MASKEDTEXTBOX, KENDO_NUMERICTEXTBOX, KENDO_OTPINPUT, KENDO_RADIOBUTTON, KENDO_RANGESLIDER, KENDO_RATING, KENDO_SIGNATURE, KENDO_SLIDER, KENDO_SWITCH, KENDO_TEXTAREA, KENDO_TEXTBOX, LabelTemplateDirective, LocalizedColorPickerMessagesDirective, LocalizedNumericTextBoxMessagesDirective, LocalizedRangeSliderMessagesDirective, LocalizedSignatureMessagesDirective, LocalizedSliderMessagesDirective, LocalizedSwitchMessagesDirective, LocalizedTextBoxMessagesDirective, MaskedTextBoxComponent, MaskedTextBoxModule, MaskingService, NumericLabelDirective, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, NumericTextBoxModule, OTPInputComponent, OTPInputCustomMessagesComponent, OTPInputModule, RadioButtonComponent, RadioButtonDirective, RadioButtonModule, RangeSliderComponent, RangeSliderCustomMessagesComponent, RangeSliderModule, RatingComponent, RatingHoveredItemTemplateDirective, RatingItemTemplateDirective, RatingModule, RatingSelectedItemTemplateDirective, SignatureCloseEvent, SignatureComponent, SignatureCustomMessagesComponent, SignatureMessages, SignatureModule, SignatureOpenEvent, SliderComponent, SliderCustomMessagesComponent, SliderModule, SliderTicksComponent, SwitchBlurEvent, SwitchComponent, SwitchCustomMessagesComponent, SwitchFocusEvent, SwitchModule, TextAreaComponent, TextAreaDirective, TextAreaModule, TextAreaPrefixComponent, TextAreaSuffixComponent, TextBoxComponent, TextBoxCustomMessagesComponent, TextBoxDirective, TextBoxModule, TextBoxPrefixTemplateDirective, TextBoxSuffixTemplateDirective };
|
|
7619
7641
|
export type { CheckBoxRounded, CheckBoxState, ColorPickerActionsLayout, ColorPickerView, GradientSettings, Gutters, IconShowOptions, InputFillMode, InputRounded, InputSize, InputType, MessageAlign, OTPInputType, OTPSeparatorIcon, Orientation, OutputFormat, PaletteSettings, PopupSettings, RangeSliderValue, RatingPrecision, RatingSelectionMode, ResponsiveFormBreakPoint, ShowOptions, SliderTickTitleCallback, TextAreaAdornmentsOrientation, TextAreaFlow, TextAreaResize, TextAreaSettings, TileSize };
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.4.0-develop.
|
|
10
|
+
"publishDate": 1793898298,
|
|
11
|
+
"version": "25.4.0-develop.30",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|