@progress/kendo-angular-common 24.2.2 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-common.mjs +33 -33
- package/index.d.ts +723 -20
- package/package.json +5 -5
- package/adornments/prefix.directive.d.ts +0 -36
- package/adornments/separator-orientation.d.ts +0 -8
- package/adornments/separator.component.d.ts +0 -47
- package/adornments/suffix.directive.d.ts +0 -42
- package/adornments.d.ts +0 -8
- package/directives.d.ts +0 -45
- package/dom-queries/closest-by-selector.d.ts +0 -5
- package/dom-queries/closest-in-scope.d.ts +0 -5
- package/dom-queries/closest.d.ts +0 -5
- package/dom-queries/contains.d.ts +0 -5
- package/dom-queries/find-element.d.ts +0 -5
- package/dom-queries/find-focusable-child.d.ts +0 -5
- package/dom-queries/find-focusable.d.ts +0 -5
- package/dom-queries/has-classes.d.ts +0 -5
- package/dom-queries/is-focusable-with-tab-key.d.ts +0 -5
- package/dom-queries/is-focusable.d.ts +0 -6
- package/dom-queries/is-visible.d.ts +0 -5
- package/dom-queries/matches-classes.d.ts +0 -5
- package/dom-queries/matches-node-name.d.ts +0 -5
- package/dom-queries/rtl-scroll-position.d.ts +0 -8
- package/dom-queries.d.ts +0 -19
- package/draggable/draggable.directive.d.ts +0 -23
- package/draggable.d.ts +0 -5
- package/enums/keys.d.ts +0 -74
- package/enums.d.ts +0 -5
- package/events/events-outside-angular.directive.d.ts +0 -22
- package/events.d.ts +0 -5
- package/localization/replace-message-placeholder.d.ts +0 -8
- package/preventable-event.d.ts +0 -18
- package/resize-sensor/compat.service.d.ts +0 -23
- package/resize-sensor/observer.service.d.ts +0 -19
- package/resize-sensor/resize-batch.service.d.ts +0 -24
- package/resize-sensor/resize-sensor.component.d.ts +0 -32
- package/resize-sensor/resize.service.d.ts +0 -28
- package/resize-sensor.d.ts +0 -8
- package/template-context/index.d.ts +0 -5
- package/template-context/template-context.directive.d.ts +0 -17
- package/toggle-button-tab-stop/toggle-button-tab-stop.d.ts +0 -11
- package/toggle-button-tab-stop/toggle-button-tab-stop.directive.d.ts +0 -72
- package/toggle-button-tab-stop.d.ts +0 -6
- package/tokens.d.ts +0 -14
- package/utils/any-changed.d.ts +0 -9
- package/utils/detect-browser.d.ts +0 -20
- package/utils/focusable-selectors.d.ts +0 -8
- package/utils/forms-utils.d.ts +0 -9
- package/utils/getter.d.ts +0 -8
- package/utils/guid.d.ts +0 -8
- package/utils/has-observers.d.ts +0 -9
- package/utils/html-attributes.d.ts +0 -33
- package/utils/is-changed.d.ts +0 -9
- package/utils/is-document-available.d.ts +0 -8
- package/utils/keys-normalizer.d.ts +0 -23
- package/utils/ng-class-parser.d.ts +0 -34
- package/utils/objects-equal.d.ts +0 -5
- package/utils/process-css-value.d.ts +0 -5
- package/utils/scrollbar.service.d.ts +0 -27
- package/utils/setter.d.ts +0 -8
- package/utils.d.ts +0 -14
- package/watermark/index.d.ts +0 -6
- package/watermark/utils.d.ts +0 -12
- package/watermark/validation.d.ts +0 -15
- package/watermark/watermark.component.d.ts +0 -44
package/index.d.ts
CHANGED
|
@@ -2,23 +2,726 @@
|
|
|
2
2
|
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { OnInit, OnChanges, OnDestroy, EventEmitter, ElementRef, NgZone, Renderer2, AfterViewChecked, InjectionToken, SimpleChanges, AfterViewInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
7
|
+
import { AbstractControl } from '@angular/forms';
|
|
8
|
+
import { LicenseMessage, PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
|
|
10
|
+
declare class DraggableDirective implements OnInit, OnChanges, OnDestroy {
|
|
11
|
+
private element;
|
|
12
|
+
private ngZone;
|
|
13
|
+
enableDrag: boolean;
|
|
14
|
+
kendoPress: EventEmitter<any>;
|
|
15
|
+
kendoDrag: EventEmitter<any>;
|
|
16
|
+
kendoRelease: EventEmitter<any>;
|
|
17
|
+
private draggable?;
|
|
18
|
+
constructor(element: ElementRef, ngZone: NgZone);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnChanges(changes: any): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
private toggleDraggable;
|
|
23
|
+
private destroyDraggable;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[kendoDraggable]", never, { "enableDrag": { "alias": "enableDrag"; "required": false; }; }, { "kendoPress": "kendoPress"; "kendoDrag": "kendoDrag"; "kendoRelease": "kendoRelease"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare const closestInScope: (node: Node, predicate: (_: Node) => boolean, scope: Node) => Node;
|
|
29
|
+
|
|
30
|
+
declare const closest: (node: Node, predicate: (_: Node) => boolean) => Node;
|
|
31
|
+
|
|
32
|
+
declare const contains: (parent: Node, node: Node, matchSelf?: boolean) => boolean;
|
|
33
|
+
|
|
34
|
+
declare const findElement: (node: any, predicate: (element: any) => boolean, matchSelf?: boolean) => any;
|
|
35
|
+
|
|
36
|
+
declare const findFocusableChild: (element: any, checkVisibility?: boolean) => any;
|
|
37
|
+
|
|
38
|
+
declare const findFocusable: (element: any, checkVisibility?: boolean) => any;
|
|
39
|
+
|
|
40
|
+
declare const hasClasses: (element: HTMLElement, classNames: string) => boolean;
|
|
41
|
+
|
|
42
|
+
declare const isFocusableWithTabKey: (element: any, checkVisibility?: boolean) => boolean;
|
|
43
|
+
|
|
44
|
+
declare const isFocusable: (element: any) => boolean;
|
|
45
|
+
declare const hasFocusableParent: (element: HTMLElement, container?: HTMLElement) => boolean;
|
|
46
|
+
|
|
47
|
+
declare const isVisible: (element: any) => boolean;
|
|
48
|
+
|
|
49
|
+
declare const matchesClasses: (classNames: string) => (element: HTMLElement) => boolean;
|
|
50
|
+
|
|
51
|
+
declare const matchesNodeName: (nodeName: string) => (element: HTMLElement) => boolean;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Normalizes a scroll position value in RTL mode.
|
|
55
|
+
*/
|
|
56
|
+
declare function rtlScrollPosition(position: number, element: any, initial: number): number;
|
|
57
|
+
|
|
58
|
+
declare function closestBySelector(element: any, selector: string): any;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @hidden
|
|
62
|
+
*/
|
|
63
|
+
declare class EventsOutsideAngularDirective implements OnInit, OnDestroy {
|
|
64
|
+
private element;
|
|
65
|
+
private ngZone;
|
|
66
|
+
private renderer;
|
|
67
|
+
events: any;
|
|
68
|
+
scope: any;
|
|
69
|
+
protected subscriptions?: any[] | null;
|
|
70
|
+
constructor(element: ElementRef, ngZone: NgZone, renderer: Renderer2);
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventsOutsideAngularDirective, never>;
|
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EventsOutsideAngularDirective, "[kendoEventsOutsideAngular]", never, { "events": { "alias": "kendoEventsOutsideAngular"; "required": false; }; "scope": { "alias": "scope"; "required": false; }; }, {}, never, never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @hidden
|
|
79
|
+
*/
|
|
80
|
+
declare class ResizeBatchService implements OnDestroy {
|
|
81
|
+
private ngZone;
|
|
82
|
+
private scheduled;
|
|
83
|
+
private resolvedPromise;
|
|
84
|
+
private subscription?;
|
|
85
|
+
constructor(ngZone: NgZone);
|
|
86
|
+
schedule(instance: any, method: any): void;
|
|
87
|
+
isScheduled(instance: any): boolean;
|
|
88
|
+
cancel(instance: any): void;
|
|
89
|
+
ngOnDestroy(): void;
|
|
90
|
+
private unsubscribe;
|
|
91
|
+
private flush;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeBatchService, never>;
|
|
93
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeBatchService>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Resize Sensor Component
|
|
98
|
+
*
|
|
99
|
+
* Triggers a "resize" event whenever the parent DOM element size changes.
|
|
100
|
+
*/
|
|
101
|
+
declare class ResizeSensorComponent implements OnDestroy, AfterViewChecked {
|
|
102
|
+
/**
|
|
103
|
+
* The maximum number of resize events to emit per second.
|
|
104
|
+
*
|
|
105
|
+
* Defaults to 10.
|
|
106
|
+
*/
|
|
107
|
+
rateLimit: number;
|
|
108
|
+
/**
|
|
109
|
+
* Fires when the parent DOM element has been resized.
|
|
110
|
+
*/
|
|
111
|
+
resize: EventEmitter<any>;
|
|
112
|
+
private subscription;
|
|
113
|
+
private resizeService;
|
|
114
|
+
constructor(resizeBatchService: ResizeBatchService, element: ElementRef, ngZone: NgZone);
|
|
115
|
+
ngAfterViewChecked(): void;
|
|
116
|
+
ngOnDestroy(): void;
|
|
117
|
+
acceptSize(size?: any): void;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeSensorComponent, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizeSensorComponent, "kendo-resize-sensor", never, { "rateLimit": { "alias": "rateLimit"; "required": false; }; }, { "resize": "resize"; }, never, never, true, never>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare const enum ServiceState {
|
|
123
|
+
Initial = 0,
|
|
124
|
+
Initializing = 1,
|
|
125
|
+
Initialized = 2
|
|
126
|
+
}
|
|
127
|
+
declare abstract class ResizeService {
|
|
128
|
+
protected resizeBatchService: ResizeBatchService;
|
|
129
|
+
resize: EventEmitter<any>;
|
|
130
|
+
acceptedSize: boolean;
|
|
131
|
+
lastWidth?: number;
|
|
132
|
+
lastHeight?: number;
|
|
133
|
+
protected state: ServiceState;
|
|
134
|
+
protected parentElement: any;
|
|
135
|
+
protected abstract init(): void;
|
|
136
|
+
constructor(resizeBatchService: ResizeBatchService);
|
|
137
|
+
acceptSize(size?: any): void;
|
|
138
|
+
checkChanges(): void;
|
|
139
|
+
destroy(): void;
|
|
140
|
+
protected checkSize(): boolean;
|
|
141
|
+
protected initSize(): void;
|
|
142
|
+
protected measure(): any;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare class ResizeCompatService extends ResizeService {
|
|
146
|
+
private element;
|
|
147
|
+
private ngZone;
|
|
148
|
+
private expand;
|
|
149
|
+
private expandChild;
|
|
150
|
+
private shrink;
|
|
151
|
+
private subscription?;
|
|
152
|
+
constructor(resizeBatchService: ResizeBatchService, element: ElementRef | null, ngZone: NgZone);
|
|
153
|
+
checkChanges(): void;
|
|
154
|
+
destroy(): void;
|
|
155
|
+
protected checkSize(): boolean;
|
|
156
|
+
protected init(): void;
|
|
157
|
+
private render;
|
|
158
|
+
private reset;
|
|
159
|
+
private subscribe;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @hidden
|
|
164
|
+
*/
|
|
165
|
+
declare class ResizeObserverService extends ResizeService {
|
|
166
|
+
private element;
|
|
167
|
+
private ngZone;
|
|
168
|
+
private resizeObserver;
|
|
169
|
+
static supported(): boolean;
|
|
170
|
+
constructor(resizeBatchService: ResizeBatchService, element: ElementRef, ngZone: NgZone);
|
|
171
|
+
destroy(): void;
|
|
172
|
+
protected init(): void;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
declare class KendoInput {
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @hidden
|
|
179
|
+
*
|
|
180
|
+
* Token used by the kendoWebMcp directive to resolve the host component instance.
|
|
181
|
+
* Each supported Kendo component provides itself under this token.
|
|
182
|
+
*/
|
|
183
|
+
declare const KENDO_WEBMCP_HOST: InjectionToken<any>;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @hidden
|
|
187
|
+
*/
|
|
188
|
+
declare const isDocumentAvailable: () => boolean;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @hidden
|
|
192
|
+
*/
|
|
193
|
+
declare const isChanged: (propertyName: string, changes: SimpleChanges, skipFirstChange?: boolean) => boolean;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @hidden
|
|
197
|
+
*/
|
|
198
|
+
declare const anyChanged: (propertyNames: string[], changes: SimpleChanges, skipFirstChange?: boolean) => boolean;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @hidden
|
|
202
|
+
*/
|
|
203
|
+
declare const hasObservers: (emitter: EventEmitter<any>) => boolean;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @hidden
|
|
207
|
+
*/
|
|
208
|
+
declare const guid: Function;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @hidden
|
|
212
|
+
*
|
|
213
|
+
* Returns true if the used browser is Safari.
|
|
214
|
+
*/
|
|
215
|
+
declare const isSafari: (userAgent: any) => boolean;
|
|
216
|
+
/**
|
|
217
|
+
* @hidden
|
|
218
|
+
*
|
|
219
|
+
* Returns true if the used browser is Firefox.
|
|
220
|
+
*/
|
|
221
|
+
declare const isFirefox: (userAgent: any) => boolean;
|
|
222
|
+
/**
|
|
223
|
+
* @hidden
|
|
224
|
+
*/
|
|
225
|
+
declare const firefoxMaxHeight = 17895697;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* @hidden
|
|
229
|
+
*/
|
|
230
|
+
declare const setHTMLAttributes: (attributes: {
|
|
231
|
+
[key: string]: string;
|
|
232
|
+
}, renderer: Renderer2, element: Element, zone?: NgZone) => void;
|
|
233
|
+
/**
|
|
234
|
+
* @hidden
|
|
235
|
+
*/
|
|
236
|
+
declare const removeHTMLAttributes: (attributes: {
|
|
237
|
+
[key: string]: string;
|
|
238
|
+
}, renderer: Renderer2, element: Element) => void;
|
|
239
|
+
/**
|
|
240
|
+
* @hidden
|
|
241
|
+
*/
|
|
242
|
+
declare const parseAttributes: (target: {
|
|
243
|
+
[key: string]: string;
|
|
244
|
+
}, source: {
|
|
245
|
+
[key: string]: string;
|
|
246
|
+
}) => {
|
|
247
|
+
[key: string]: string;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* @hidden
|
|
251
|
+
*/
|
|
252
|
+
declare const applyAttributes: (attributes: {
|
|
253
|
+
[key: string]: string;
|
|
254
|
+
}, renderer: Renderer2, element: Element) => void;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @hidden
|
|
258
|
+
*/
|
|
259
|
+
declare const isControlRequired: (control: AbstractControl) => boolean;
|
|
260
|
+
|
|
261
|
+
declare const areObjectsEqual: (firstObject: any, secondObject: any) => boolean;
|
|
262
|
+
|
|
263
|
+
declare const processCssValue: (value: number | string) => string | null;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Enum with key codes.
|
|
267
|
+
*/
|
|
268
|
+
declare enum Keys {
|
|
269
|
+
ArrowDown = "ArrowDown",
|
|
270
|
+
ArrowLeft = "ArrowLeft",
|
|
271
|
+
ArrowRight = "ArrowRight",
|
|
272
|
+
ArrowUp = "ArrowUp",
|
|
273
|
+
Backspace = "Backspace",
|
|
274
|
+
Delete = "Delete",
|
|
275
|
+
Digit0 = "Digit0",
|
|
276
|
+
Digit1 = "Digit1",
|
|
277
|
+
Digit2 = "Digit2",
|
|
278
|
+
Digit3 = "Digit3",
|
|
279
|
+
Digit4 = "Digit4",
|
|
280
|
+
Digit5 = "Digit5",
|
|
281
|
+
Digit6 = "Digit6",
|
|
282
|
+
Digit7 = "Digit7",
|
|
283
|
+
Digit8 = "Digit8",
|
|
284
|
+
Digit9 = "Digit9",
|
|
285
|
+
End = "End",
|
|
286
|
+
Enter = "Enter",
|
|
287
|
+
Escape = "Escape",
|
|
288
|
+
F1 = "F1",
|
|
289
|
+
F2 = "F2",
|
|
290
|
+
F10 = "F10",
|
|
291
|
+
Home = "Home",
|
|
292
|
+
KeyA = "KeyA",
|
|
293
|
+
KeyB = "KeyB",
|
|
294
|
+
KeyC = "KeyC",
|
|
295
|
+
KeyD = "KeyD",
|
|
296
|
+
KeyE = "KeyE",
|
|
297
|
+
KeyF = "KeyF",
|
|
298
|
+
KeyG = "KeyG",
|
|
299
|
+
KeyH = "KeyH",
|
|
300
|
+
KeyI = "KeyI",
|
|
301
|
+
KeyJ = "KeyJ",
|
|
302
|
+
KeyK = "KeyK",
|
|
303
|
+
KeyL = "KeyL",
|
|
304
|
+
KeyM = "KeyM",
|
|
305
|
+
KeyN = "KeyN",
|
|
306
|
+
KeyO = "KeyO",
|
|
307
|
+
KeyP = "KeyP",
|
|
308
|
+
KeyQ = "KeyQ",
|
|
309
|
+
KeyR = "KeyR",
|
|
310
|
+
KeyS = "KeyS",
|
|
311
|
+
KeyT = "KeyT",
|
|
312
|
+
KeyU = "KeyU",
|
|
313
|
+
KeyV = "KeyV",
|
|
314
|
+
KeyW = "KeyW",
|
|
315
|
+
KeyX = "KeyX",
|
|
316
|
+
KeyY = "KeyY",
|
|
317
|
+
KeyZ = "KeyZ",
|
|
318
|
+
Numpad1 = "Numpad1",
|
|
319
|
+
Numpad2 = "Numpad2",
|
|
320
|
+
Numpad3 = "Numpad3",
|
|
321
|
+
Numpad4 = "Numpad4",
|
|
322
|
+
Numpad5 = "Numpad5",
|
|
323
|
+
Numpad6 = "Numpad6",
|
|
324
|
+
Numpad7 = "Numpad7",
|
|
325
|
+
Numpad8 = "Numpad8",
|
|
326
|
+
Numpad9 = "Numpad9",
|
|
327
|
+
Numpad0 = "Numpad0",
|
|
328
|
+
NumpadEnter = "NumpadEnter",
|
|
329
|
+
NumpadDecimal = "NumpadDecimal",
|
|
330
|
+
PageDown = "PageDown",
|
|
331
|
+
PageUp = "PageUp",
|
|
332
|
+
Space = "Space",
|
|
333
|
+
Tab = "Tab"
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @hidden
|
|
338
|
+
*/
|
|
339
|
+
declare const focusableSelector: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @hidden
|
|
343
|
+
*/
|
|
344
|
+
declare const isPresent: (value: any) => boolean;
|
|
345
|
+
/**
|
|
346
|
+
* @hidden
|
|
347
|
+
*/
|
|
348
|
+
declare const isObjectPresent: (value: any) => boolean;
|
|
349
|
+
/**
|
|
350
|
+
* @hidden
|
|
351
|
+
*/
|
|
352
|
+
declare const isString: (value: any) => value is string;
|
|
353
|
+
/**
|
|
354
|
+
* @hidden
|
|
355
|
+
*/
|
|
356
|
+
declare const isObject: (value: any) => value is object;
|
|
357
|
+
/**
|
|
358
|
+
* @hidden
|
|
359
|
+
*/
|
|
360
|
+
declare const isSet: (value: any) => value is Set<any>;
|
|
361
|
+
/**
|
|
362
|
+
* @hidden
|
|
363
|
+
*/
|
|
364
|
+
declare const splitStringToArray: (value: string) => string[];
|
|
365
|
+
/**
|
|
366
|
+
* Receives CSS class declarations either as an object, string, set or array and returns an array of the class names.
|
|
367
|
+
*
|
|
368
|
+
* @hidden
|
|
369
|
+
*/
|
|
370
|
+
declare const parseCSSClassNames: (value: any) => Array<string>;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @hidden
|
|
374
|
+
*
|
|
375
|
+
* Normalizes keyboard events to ensure consistent key handling across different keyboard layouts.
|
|
376
|
+
*
|
|
377
|
+
* This function addresses the following scenarios:
|
|
378
|
+
* 1. On some keyboards, PageUp/Down, Home/End, and arrow keys are mapped to Numpad keys
|
|
379
|
+
* 2. For letter keys (KeyA-KeyZ), checks the deprecated keyCode property to handle non-QWERTY layouts
|
|
380
|
+
* (e.g., AZERTY, QWERTZ) where event.code may not match the expected letter
|
|
381
|
+
*
|
|
382
|
+
* @param event - The keyboard event to normalize
|
|
383
|
+
* @returns The normalized key code string (e.g., 'KeyA', 'ArrowDown', 'Enter')
|
|
384
|
+
*
|
|
385
|
+
* @example
|
|
386
|
+
* // On an AZERTY layout, pressing Ctrl+A (where 'A' is physically at 'Q' position)
|
|
387
|
+
* // event.code = 'KeyQ', event.keyCode = 65
|
|
388
|
+
* const code = normalizeKeys(event); // Returns 'KeyA'
|
|
389
|
+
*/
|
|
390
|
+
declare const normalizeKeys: (event: KeyboardEvent) => string;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @hidden
|
|
394
|
+
*/
|
|
395
|
+
declare function getter(field: string): any;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @hidden
|
|
399
|
+
*/
|
|
400
|
+
declare function setter(field: string): any;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* @hidden
|
|
404
|
+
*/
|
|
405
|
+
declare class WatermarkOverlayComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
406
|
+
licenseMessage?: LicenseMessage;
|
|
407
|
+
banner: ElementRef;
|
|
408
|
+
watermarkStyle: string;
|
|
409
|
+
isOpen: boolean;
|
|
410
|
+
isMobile: boolean;
|
|
411
|
+
isNarrow: boolean;
|
|
412
|
+
isCloseHovered: boolean;
|
|
413
|
+
isCTAHovered: boolean;
|
|
414
|
+
bannerMounted: boolean;
|
|
415
|
+
get messages(): LicenseMessage[];
|
|
416
|
+
extraMessages: LicenseMessage[];
|
|
417
|
+
get primaryMessage(): LicenseMessage;
|
|
418
|
+
licenseKeyUrl: string;
|
|
419
|
+
getContent(msg: LicenseMessage): {
|
|
420
|
+
iconSrc?: string;
|
|
421
|
+
title: string;
|
|
422
|
+
description: string;
|
|
423
|
+
buttonText: string;
|
|
424
|
+
buttonLink: string;
|
|
425
|
+
};
|
|
426
|
+
private unsubscribeLicenseMessage;
|
|
427
|
+
private unsubscribeResize;
|
|
428
|
+
ngOnInit(): void;
|
|
429
|
+
ngAfterViewInit(): void;
|
|
430
|
+
ngOnDestroy(): void;
|
|
431
|
+
closeBanner(): void;
|
|
432
|
+
get isBannerRendered(): boolean;
|
|
433
|
+
private subscribeLicenseMessage;
|
|
434
|
+
private subscribeResize;
|
|
435
|
+
resetPresenceCheck(): void;
|
|
436
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WatermarkOverlayComponent, never>;
|
|
437
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WatermarkOverlayComponent, "div[kendoWatermarkOverlay], kendo-watermark-overlay", never, { "licenseMessage": { "alias": "licenseMessage"; "required": false; }; }, {}, never, never, true, never>;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* @hidden
|
|
442
|
+
*/
|
|
443
|
+
declare function shouldShowValidationUI(isPackageValid: boolean): boolean;
|
|
444
|
+
/**
|
|
445
|
+
* @hidden
|
|
446
|
+
*
|
|
447
|
+
* Returns the notification message to display, if any.
|
|
448
|
+
*/
|
|
449
|
+
declare function getLicenseMessage(meta: PackageMetadata): LicenseMessage | undefined;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Specifies the adornments in the prefix container of the [Inputs](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#prefix-adornments) and [DropDowns](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/adornments#prefix-adornments).
|
|
453
|
+
* ```html
|
|
454
|
+
* <kendo-textbox>
|
|
455
|
+
* <ng-template kendoPrefixTemplate>
|
|
456
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
457
|
+
* </ng-template>
|
|
458
|
+
* </kendo-textbox>
|
|
459
|
+
*
|
|
460
|
+
* <kendo-multiselect [data]="data" [(ngModel)]="value">
|
|
461
|
+
* <ng-template kendoPrefixTemplate>
|
|
462
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
463
|
+
* </ng-template>
|
|
464
|
+
* </kendo-multiselect>
|
|
465
|
+
* ```
|
|
466
|
+
*/
|
|
467
|
+
declare class PrefixTemplateDirective {
|
|
468
|
+
templateRef: TemplateRef<any>;
|
|
469
|
+
/**
|
|
470
|
+
* Sets the `showSeparator` attribute of the `prefixTemplate`.
|
|
471
|
+
*
|
|
472
|
+
* @default false
|
|
473
|
+
*/
|
|
474
|
+
set showSeparator(value: boolean);
|
|
475
|
+
get showSeparator(): boolean;
|
|
476
|
+
private _showSeparator;
|
|
477
|
+
constructor(templateRef: TemplateRef<any>);
|
|
478
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrefixTemplateDirective, [{ optional: true; }]>;
|
|
479
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixTemplateDirective, "[kendoPrefixTemplate]", never, { "showSeparator": { "alias": "showSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Represents the directive for suffix adornments in the Inputs and DropDowns components.
|
|
484
|
+
*
|
|
485
|
+
* Use the `kendoSuffixTemplate` directive to add custom content to the suffix container.
|
|
486
|
+
*
|
|
487
|
+
* * See [Inputs Suffix Adornments](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#suffix-adornments)
|
|
488
|
+
* * See [DropDowns Suffix Adornments](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/adornments#suffix-adornments)
|
|
489
|
+
*
|
|
490
|
+
* @example
|
|
491
|
+
* ```html
|
|
492
|
+
* <kendo-textbox>
|
|
493
|
+
* <ng-template kendoSuffixTemplate>
|
|
494
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
495
|
+
* </ng-template>
|
|
496
|
+
* </kendo-textbox>
|
|
497
|
+
* <kendo-multiselect [data]="data" [(ngModel)]="value">
|
|
498
|
+
* <ng-template kendoSuffixTemplate>
|
|
499
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
500
|
+
* </ng-template>
|
|
501
|
+
* </kendo-multiselect>
|
|
502
|
+
* ```
|
|
503
|
+
*/
|
|
504
|
+
declare class SuffixTemplateDirective {
|
|
505
|
+
templateRef: TemplateRef<any>;
|
|
506
|
+
/**
|
|
507
|
+
* Sets the `showSeparator` attribute of the `suffixTemplate`.
|
|
508
|
+
*
|
|
509
|
+
* @default false
|
|
510
|
+
*/
|
|
511
|
+
set showSeparator(value: boolean);
|
|
512
|
+
get showSeparator(): boolean;
|
|
513
|
+
private _showSeparator;
|
|
514
|
+
constructor(templateRef: TemplateRef<any>);
|
|
515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuffixTemplateDirective, [{ optional: true; }]>;
|
|
516
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuffixTemplateDirective, "[kendoSuffixTemplate]", never, { "showSeparator": { "alias": "showSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Specifies the orientation of the `SeparatorComponent` when using adornments.
|
|
521
|
+
*/
|
|
522
|
+
type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Specifies a separator in the content of the [Inputs](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#separator) and [DropDowns](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/adornments#separator).
|
|
526
|
+
* @example
|
|
527
|
+
* ```ts
|
|
528
|
+
* @Component({
|
|
529
|
+
* selector: 'my-app',
|
|
530
|
+
* template: `
|
|
531
|
+
* <kendo-textbox>
|
|
532
|
+
* <ng-template kendoSuffixTemplate>
|
|
533
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
534
|
+
* <kendo-separator></kendo-separator>
|
|
535
|
+
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
536
|
+
* </ng-template>
|
|
537
|
+
* </kendo-textbox>
|
|
538
|
+
* `
|
|
539
|
+
* })
|
|
540
|
+
* class AppComponent {}
|
|
541
|
+
* ```
|
|
542
|
+
*/
|
|
543
|
+
declare class SeparatorComponent {
|
|
544
|
+
/**
|
|
545
|
+
* Specifies the orientation of the separator. Applicable for the adornments of the [`TextAreaComponent`](https://www.telerik.com/kendo-angular-ui/components/inputs/api/textareacomponent).
|
|
546
|
+
*
|
|
547
|
+
* @default 'vertical'
|
|
548
|
+
*/
|
|
549
|
+
orientation: SeparatorOrientation;
|
|
550
|
+
/**
|
|
551
|
+
* @hidden
|
|
552
|
+
*/
|
|
553
|
+
get vertical(): boolean;
|
|
554
|
+
/**
|
|
555
|
+
* @hidden
|
|
556
|
+
*/
|
|
557
|
+
get horizontal(): boolean;
|
|
558
|
+
/**
|
|
559
|
+
* @hidden
|
|
560
|
+
*/
|
|
561
|
+
hostClass: boolean;
|
|
562
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorComponent, never>;
|
|
563
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeparatorComponent, "kendo-separator", never, { "orientation": { "alias": "orientation"; "required": false; }; }, {}, never, never, true, never>;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
declare abstract class PreventableEvent {
|
|
567
|
+
private prevented;
|
|
568
|
+
/**
|
|
569
|
+
* Prevents the default action for the event.
|
|
570
|
+
* The source component suppresses the built-in behavior that follows the event.
|
|
571
|
+
*/
|
|
572
|
+
preventDefault(): void;
|
|
573
|
+
/**
|
|
574
|
+
* Returns `true` if you or any subscriber prevented the default action.
|
|
575
|
+
*
|
|
576
|
+
* @returns `true` if the default action was prevented, otherwise, `false`.
|
|
577
|
+
*/
|
|
578
|
+
isDefaultPrevented(): boolean;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @hidden
|
|
583
|
+
*/
|
|
584
|
+
declare const scrollbarWidth: () => number;
|
|
585
|
+
/**
|
|
586
|
+
* @hidden
|
|
587
|
+
*/
|
|
588
|
+
declare const rtlScrollLeft: () => number;
|
|
589
|
+
/**
|
|
590
|
+
* @hidden
|
|
591
|
+
*/
|
|
592
|
+
declare class ScrollbarService implements OnDestroy {
|
|
593
|
+
changes: EventEmitter<any>;
|
|
594
|
+
private subscription;
|
|
595
|
+
constructor(ngZone: NgZone);
|
|
596
|
+
get scrollbarWidth(): number;
|
|
597
|
+
get rtlScrollLeft(): number;
|
|
598
|
+
ngOnDestroy(): void;
|
|
599
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollbarService, never>;
|
|
600
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollbarService>;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @hidden
|
|
605
|
+
*/
|
|
606
|
+
declare abstract class MultiTabStop {
|
|
607
|
+
escape: EventEmitter<any>;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Includes the button that toggles the Popup in the tab sequence when applied
|
|
612
|
+
* to a SplitButton, ComboBox, MultiComboBox, DatePicker, TimePicker, and DateTimePicker component.
|
|
613
|
+
* ```ts-no-run
|
|
614
|
+
* _@Component({
|
|
615
|
+
* selector: 'my-app',
|
|
616
|
+
* template: `
|
|
617
|
+
* <kendo-combobox [data]="data"
|
|
618
|
+
* kendoToggleButtonTabStop>
|
|
619
|
+
* </kendo-combobox>
|
|
620
|
+
*
|
|
621
|
+
* <kendo-datepicker [(ngModel)]="value"
|
|
622
|
+
* kendoToggleButtonTabStop>
|
|
623
|
+
* </kendo-datepicker>
|
|
624
|
+
* `
|
|
625
|
+
* })
|
|
626
|
+
* class AppComponent {}
|
|
627
|
+
* ```
|
|
628
|
+
*/
|
|
629
|
+
declare class ToggleButtonTabStopDirective {
|
|
630
|
+
private hostEl;
|
|
631
|
+
private renderer;
|
|
632
|
+
private zone;
|
|
633
|
+
private hostComponent;
|
|
634
|
+
/**
|
|
635
|
+
* @hidden
|
|
636
|
+
*
|
|
637
|
+
* Allows setting the interactive state of the toggle button.
|
|
638
|
+
*
|
|
639
|
+
* @default true
|
|
640
|
+
*/
|
|
641
|
+
active: any;
|
|
642
|
+
/**
|
|
643
|
+
* Defines the value of the `aria-label` attribute of the toggle button when active.
|
|
644
|
+
*
|
|
645
|
+
* @default "toggle popup"
|
|
646
|
+
*/
|
|
647
|
+
toggleButtonAriaLabel: string;
|
|
648
|
+
private button;
|
|
649
|
+
private sub;
|
|
650
|
+
private focusButton;
|
|
651
|
+
private isSplitButton;
|
|
652
|
+
private observer;
|
|
653
|
+
/**
|
|
654
|
+
* @hidden
|
|
655
|
+
*/
|
|
656
|
+
constructor(hostEl: ElementRef, renderer: Renderer2, zone: NgZone, hostComponent: MultiTabStop);
|
|
657
|
+
ngOnInit(): void;
|
|
658
|
+
ngAfterViewInit(): void;
|
|
659
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
660
|
+
ngOnDestroy(): void;
|
|
661
|
+
private activateButton;
|
|
662
|
+
private deactivateButton;
|
|
663
|
+
private onFocus;
|
|
664
|
+
private onBlur;
|
|
665
|
+
private onClick;
|
|
666
|
+
private onKeyDown;
|
|
667
|
+
private addListeners;
|
|
668
|
+
private removeListeners;
|
|
669
|
+
private focusToggleButton;
|
|
670
|
+
private returnFocusToToggleButton;
|
|
671
|
+
private initializeObserver;
|
|
672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonTabStopDirective, never>;
|
|
673
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleButtonTabStopDirective, "[kendoToggleButtonTabStop]", never, { "active": { "alias": "kendoToggleButtonTabStop"; "required": false; }; "toggleButtonAriaLabel": { "alias": "toggleButtonAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* @hidden
|
|
678
|
+
*/
|
|
679
|
+
declare class TemplateContextDirective {
|
|
680
|
+
set templateContext(context: any);
|
|
681
|
+
private insertedViewRef;
|
|
682
|
+
private viewContainerRef;
|
|
683
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
684
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContextDirective, never>;
|
|
685
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateContextDirective, "[templateContext]", never, { "templateContext": { "alias": "templateContext"; "required": false; }; }, {}, never, never, true, never>;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @hidden
|
|
690
|
+
*/
|
|
691
|
+
declare const KENDO_ADORNMENTS: readonly [typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof SeparatorComponent];
|
|
692
|
+
/**
|
|
693
|
+
* @hidden
|
|
694
|
+
*/
|
|
695
|
+
declare const KENDO_COMMON: readonly [typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof SeparatorComponent, typeof DraggableDirective, typeof EventsOutsideAngularDirective, typeof ResizeSensorComponent, typeof ToggleButtonTabStopDirective, typeof WatermarkOverlayComponent];
|
|
696
|
+
/**
|
|
697
|
+
* @hidden
|
|
698
|
+
*/
|
|
699
|
+
declare const KENDO_DRAGGABLE: readonly [typeof DraggableDirective];
|
|
700
|
+
/**
|
|
701
|
+
* @hidden
|
|
702
|
+
*/
|
|
703
|
+
declare const KENDO_EVENTS: readonly [typeof EventsOutsideAngularDirective];
|
|
704
|
+
/**
|
|
705
|
+
* @hidden
|
|
706
|
+
*/
|
|
707
|
+
declare const KENDO_RESIZESENSOR: readonly [typeof ResizeSensorComponent];
|
|
708
|
+
/**
|
|
709
|
+
* @hidden
|
|
710
|
+
*/
|
|
711
|
+
declare const KENDO_TOGGLEBUTTONTABSTOP: readonly [typeof ToggleButtonTabStopDirective];
|
|
712
|
+
/**
|
|
713
|
+
* @hidden
|
|
714
|
+
*/
|
|
715
|
+
declare const KENDO_WATERMARK: readonly [typeof WatermarkOverlayComponent];
|
|
716
|
+
/**
|
|
717
|
+
* @hidden
|
|
718
|
+
*/
|
|
719
|
+
declare const KENDO_TEMPLATE_CONTEXT: readonly [typeof TemplateContextDirective];
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* @hidden
|
|
723
|
+
*/
|
|
724
|
+
declare const replaceMessagePlaceholder: (message: string, name: string, value: string) => string;
|
|
725
|
+
|
|
726
|
+
export { ScrollbarService as BrowserSupportService, DraggableDirective, EventsOutsideAngularDirective, KENDO_ADORNMENTS, KENDO_COMMON, KENDO_DRAGGABLE, KENDO_EVENTS, KENDO_RESIZESENSOR, KENDO_TEMPLATE_CONTEXT, KENDO_TOGGLEBUTTONTABSTOP, KENDO_WATERMARK, KENDO_WEBMCP_HOST, KendoInput, Keys, MultiTabStop, PrefixTemplateDirective, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ScrollbarService, SeparatorComponent, SuffixTemplateDirective, TemplateContextDirective, ToggleButtonTabStopDirective, WatermarkOverlayComponent, anyChanged, applyAttributes, areObjectsEqual, closest, closestBySelector, closestInScope, contains, findElement, findFocusable, findFocusableChild, firefoxMaxHeight, focusableSelector, getLicenseMessage, getter, guid, hasClasses, hasFocusableParent, hasObservers, isChanged, isControlRequired, isDocumentAvailable, isFirefox, isFocusable, isFocusableWithTabKey, isObject, isObjectPresent, isPresent, isSafari, isSet, isString, isVisible, matchesClasses, matchesNodeName, normalizeKeys, parseAttributes, parseCSSClassNames, processCssValue, removeHTMLAttributes, replaceMessagePlaceholder, rtlScrollLeft, rtlScrollPosition, scrollbarWidth, setHTMLAttributes, setter, shouldShowValidationUI, splitStringToArray };
|
|
727
|
+
export type { SeparatorOrientation };
|