@progress/kendo-angular-label 24.2.2 → 25.0.0-develop.12
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-label.mjs +152 -72
- package/index.d.ts +477 -9
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
- package/directives.d.ts +0 -35
- package/floating-label/floating-label-input-adapter.d.ts +0 -21
- package/floating-label/floating-label.component.d.ts +0 -127
- package/floating-label/floating-label.module.d.ts +0 -27
- package/floating-label/models/label-position.d.ts +0 -38
- package/label/label.component.d.ts +0 -116
- package/label.directive.d.ts +0 -74
- package/label.module.d.ts +0 -35
- package/localization/custom-messages.component.d.ts +0 -18
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -17
- package/package-metadata.d.ts +0 -9
- package/util.d.ts +0 -24
package/index.d.ts
CHANGED
|
@@ -2,12 +2,480 @@
|
|
|
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
|
-
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { ElementRef, Renderer2, NgZone, AfterContentInit, AfterContentChecked, OnDestroy, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
7
|
+
import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { NgControl } from '@angular/forms';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Represents the [Kendo UI Label directive for Angular](https://www.telerik.com/kendo-angular-ui/components/labels/label/label-directive).
|
|
12
|
+
* Use the `LabelDirective` to link a focusable Angular component or HTML element to a `<label>` tag with the `[for]` property binding.
|
|
13
|
+
*
|
|
14
|
+
* To link a component with the `label` element:
|
|
15
|
+
* - Set the `[for]` property binding to a [template reference variable](link:site.data.urls.angular['templatesyntax']#template-reference-variables--var-), or
|
|
16
|
+
* - Set the `[for]` property binding to an `id` HTML string value.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* @Component({
|
|
21
|
+
* selector: 'my-app',
|
|
22
|
+
* template: `
|
|
23
|
+
* <div class="row example-wrapper" style="min-height: 450px;">
|
|
24
|
+
* <div class="col-xs-12 col-md-6 example-col">
|
|
25
|
+
* <label [for]="datepicker">DatePicker: </label>
|
|
26
|
+
* <kendo-datepicker #datepicker></kendo-datepicker>
|
|
27
|
+
* </div>
|
|
28
|
+
*
|
|
29
|
+
* <div class="col-xs-12 col-md-6 example-col">
|
|
30
|
+
* <label for="input">Input: </label>
|
|
31
|
+
* <input id="input" />
|
|
32
|
+
* </div>
|
|
33
|
+
* </div>
|
|
34
|
+
* `
|
|
35
|
+
* })
|
|
36
|
+
* class AppComponent { }
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
declare class LabelDirective {
|
|
40
|
+
private label;
|
|
41
|
+
private renderer;
|
|
42
|
+
private zone;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the focusable target for the label.
|
|
45
|
+
* Accepts a [template reference variable](link:site.data.urls.angular['templatesyntax']#template-reference-variables--var-) or an `id` HTML string value.
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* This property is related to accessibility.
|
|
49
|
+
*/
|
|
50
|
+
set for(value: string | {
|
|
51
|
+
focus: Function;
|
|
52
|
+
});
|
|
53
|
+
get for(): string | {
|
|
54
|
+
focus: Function;
|
|
55
|
+
};
|
|
56
|
+
get labelFor(): string;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
* Allows the user to specify if the label CSS class should be rendered or not.
|
|
60
|
+
*/
|
|
61
|
+
labelClass: boolean;
|
|
62
|
+
private clickListener;
|
|
63
|
+
private _for;
|
|
64
|
+
constructor(label: ElementRef<HTMLLabelElement>, renderer: Renderer2, zone: NgZone);
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
ngAfterViewInit(): void;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
/**
|
|
74
|
+
* @hidden
|
|
75
|
+
*/
|
|
76
|
+
setAriaLabelledby(): void;
|
|
77
|
+
private getFocusableComponent;
|
|
78
|
+
private handleClick;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelDirective, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "label[for]", never, { "for": { "alias": "for"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Represents the [Kendo UI Label component for Angular](https://www.telerik.com/kendo-angular-ui/components/labels/label).
|
|
85
|
+
*
|
|
86
|
+
* Use the `LabelComponent` to associate a label with input elements or components.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```html
|
|
90
|
+
* <kendo-label [for]="input" text="First name">
|
|
91
|
+
* <kendo-textbox #input></kendo-textbox>
|
|
92
|
+
* </kendo-label>
|
|
93
|
+
* ```
|
|
94
|
+
* @remarks
|
|
95
|
+
* Supported children components are: {@link CustomMessagesComponent}.
|
|
96
|
+
*/
|
|
97
|
+
declare class LabelComponent implements AfterContentInit {
|
|
98
|
+
private elementRef;
|
|
99
|
+
private renderer;
|
|
100
|
+
private localization;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies the `dir` attribute value for the component.
|
|
103
|
+
* @hidden
|
|
104
|
+
*/
|
|
105
|
+
get direction(): string;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the text content of the Label. Use this property to describe the input.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```html
|
|
111
|
+
* <kendo-label text="Email"></kendo-label>
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
set text(value: string);
|
|
115
|
+
get text(): string;
|
|
116
|
+
/**
|
|
117
|
+
* Associates the label with a component by a template reference or with an HTML element by `id`.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* ```html
|
|
121
|
+
* <input #myInput />
|
|
122
|
+
* <kendo-label [for]="myInput" text="Username"></kendo-label>
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
set for(forValue: any);
|
|
126
|
+
get for(): any;
|
|
127
|
+
/**
|
|
128
|
+
* Marks a form field as optional. When enabled, the label displays the `Optional` text by default.
|
|
129
|
+
* You can customize the text by providing a custom message. ([See example](https://www.telerik.com/kendo-angular-ui/components/labels/globalization#custom-messages)).
|
|
130
|
+
*
|
|
131
|
+
* @default false
|
|
132
|
+
* @example
|
|
133
|
+
* ```html
|
|
134
|
+
* <kendo-label text="Phone" [optional]="true"></kendo-label>
|
|
135
|
+
* ```
|
|
136
|
+
*/
|
|
137
|
+
set optional(value: boolean);
|
|
138
|
+
get optional(): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Sets the CSS styles for the label element.
|
|
141
|
+
* Accepts values supported by the [`ngStyle`](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```html
|
|
145
|
+
* <kendo-label text="Name" [labelCssStyle]="{ color: 'red' }"></kendo-label>
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
set labelCssStyle(value: any);
|
|
149
|
+
get labelCssStyle(): any;
|
|
150
|
+
/**
|
|
151
|
+
* Sets the CSS classes for the label element.
|
|
152
|
+
* Accepts values supported by the [`ngClass`](link:site.data.urls.angular['ngclassapi']) directive.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* ```html
|
|
156
|
+
* <kendo-label text="Address" [labelCssClass]="'custom-label'"></kendo-label>
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
159
|
+
set labelCssClass(value: any);
|
|
160
|
+
get labelCssClass(): any;
|
|
161
|
+
labelDirective: LabelDirective;
|
|
162
|
+
kendoInput: any;
|
|
163
|
+
/**
|
|
164
|
+
* @hidden
|
|
165
|
+
*/
|
|
166
|
+
control: string | {
|
|
167
|
+
focus: Function;
|
|
168
|
+
};
|
|
169
|
+
private readonly subscriptions;
|
|
170
|
+
private readonly _direction;
|
|
171
|
+
private readonly _text;
|
|
172
|
+
private readonly _for;
|
|
173
|
+
private readonly _optional;
|
|
174
|
+
private readonly _labelCssStyle;
|
|
175
|
+
private readonly _labelCssClass;
|
|
176
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, localization: LocalizationService);
|
|
177
|
+
/**
|
|
178
|
+
* @hidden
|
|
179
|
+
*/
|
|
180
|
+
ngAfterContentInit(): void;
|
|
181
|
+
/**
|
|
182
|
+
* @hidden
|
|
183
|
+
*/
|
|
184
|
+
ngOnInit(): void;
|
|
185
|
+
/**
|
|
186
|
+
* @hidden
|
|
187
|
+
*/
|
|
188
|
+
ngAfterViewInit(): void;
|
|
189
|
+
/**
|
|
190
|
+
* @hidden
|
|
191
|
+
*/
|
|
192
|
+
ngOnDestroy(): void;
|
|
193
|
+
/**
|
|
194
|
+
* @hidden
|
|
195
|
+
*/
|
|
196
|
+
textFor(key: string): string;
|
|
197
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
198
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "kendo-label", ["kendoLabel"], { "text": { "alias": "text"; "required": false; }; "for": { "alias": "for"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "labelCssStyle": { "alias": "labelCssStyle"; "required": false; }; "labelCssClass": { "alias": "labelCssClass"; "required": false; }; }, {}, ["kendoInput"], ["*"], true, never>;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @hidden
|
|
203
|
+
*/
|
|
204
|
+
declare class Messages extends ComponentMessages {
|
|
205
|
+
/**
|
|
206
|
+
* The optional text.
|
|
207
|
+
*/
|
|
208
|
+
set optional(value: string);
|
|
209
|
+
get optional(): string;
|
|
210
|
+
private _optional;
|
|
211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
212
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-label-messages-base", never, { "optional": { "alias": "optional"; "required": false; }; }, {}, never, never, true, never>;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Use the `CustomMessagesComponent` to override default component messages. ([See example](https://www.telerik.com/kendo-angular-ui/components/labels/globalization#internationalization))
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
219
|
+
declare class CustomMessagesComponent extends Messages {
|
|
220
|
+
protected service: LocalizationService;
|
|
221
|
+
constructor(service: LocalizationService);
|
|
222
|
+
protected get override(): boolean;
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
224
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-label-messages, kendo-floatinglabel-messages", never, {}, {}, never, never, true, never>;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Represents the type of the [`labelPosition`](https://www.telerik.com/kendo-angular-ui/components/labels/api/floatinglabelcomponent#labelposition) field and the parameter of the [`positionChange`](https://www.telerik.com/kendo-angular-ui/components/labels/api/floatinglabelcomponent#positionchange) event.
|
|
229
|
+
* Do not use this type to specify whether the FloatingLabel is outside or inside the associated component. [See example.](https://www.telerik.com/kendo-angular-ui/components/labels/floatinglabel/events)
|
|
230
|
+
*
|
|
231
|
+
* The possible values are:
|
|
232
|
+
* - `Out`—Indicates that the FloatingLabel is outside the component it is associated with.
|
|
233
|
+
* - `In`—Indicates that the FloatingLabel is inside the component it is associated with.
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* ```typescript
|
|
237
|
+
* import { Component } from "@angular/core";
|
|
238
|
+
* import { KENDO_FLOATINGLABEL, FloatingLabelPosition } from "@progress/kendo-angular-label";
|
|
239
|
+
*
|
|
240
|
+
* @Component({
|
|
241
|
+
* selector: "my-app",
|
|
242
|
+
* standalone: true,
|
|
243
|
+
* imports: [KENDO_FLOATINGLABEL],
|
|
244
|
+
* template: `
|
|
245
|
+
* <kendo-floatinglabel
|
|
246
|
+
* (positionChange)="labelPosition($event)"
|
|
247
|
+
* text="Enter First Name"
|
|
248
|
+
* >
|
|
249
|
+
* <kendo-textbox [style.width.px]="180"></kendo-textbox>
|
|
250
|
+
* </kendo-floatinglabel>
|
|
251
|
+
* `,
|
|
252
|
+
* })
|
|
253
|
+
* export class AppComponent {
|
|
254
|
+
* labelPosition(position: FloatingLabelPosition): void {
|
|
255
|
+
* ...
|
|
256
|
+
* }
|
|
257
|
+
* }
|
|
258
|
+
* ```
|
|
259
|
+
*/
|
|
260
|
+
type FloatingLabelPosition = 'Out' | 'In';
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Represents the [Kendo UI FloatingLabel component for Angular](https://www.telerik.com/kendo-angular-ui/components/labels/floatinglabel).
|
|
264
|
+
* Use this component to provide floating labels to `input` elements.
|
|
265
|
+
*
|
|
266
|
+
* The FloatingLabel supports Template and Reactive Forms.
|
|
267
|
+
* You can use it with Kendo UI for Angular Inputs components such as `kendo-combobox`, `kendo-numerictextbox`, or `kendo-textbox`.
|
|
268
|
+
* [See example.](https://www.telerik.com/kendo-angular-ui/components/labels/floatinglabel/association)
|
|
269
|
+
*
|
|
270
|
+
* @example
|
|
271
|
+
* ```html
|
|
272
|
+
* <kendo-floatinglabel text="First name">
|
|
273
|
+
* <kendo-textbox></kendo-textbox>
|
|
274
|
+
* </kendo-floatinglabel>
|
|
275
|
+
* ```
|
|
276
|
+
*
|
|
277
|
+
* @remarks
|
|
278
|
+
* Supported children components are: {@link CustomMessagesComponent}.
|
|
279
|
+
*/
|
|
280
|
+
declare class FloatingLabelComponent implements AfterContentChecked, AfterContentInit, OnDestroy {
|
|
281
|
+
private elementRef;
|
|
282
|
+
private renderer;
|
|
283
|
+
private localization;
|
|
284
|
+
private changeDetectorRef;
|
|
285
|
+
/**
|
|
286
|
+
* Gets the current floating label position.
|
|
287
|
+
*/
|
|
288
|
+
get labelPosition(): FloatingLabelPosition;
|
|
289
|
+
hostClasses: boolean;
|
|
290
|
+
get focusedClass(): boolean;
|
|
291
|
+
get invalidClass(): boolean;
|
|
292
|
+
/**
|
|
293
|
+
* @hidden
|
|
294
|
+
*/
|
|
295
|
+
direction: string;
|
|
296
|
+
/**
|
|
297
|
+
* Sets the CSS styles for the internal label element.
|
|
298
|
+
* Accepts values supported by the [`ngStyle`](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
299
|
+
*/
|
|
300
|
+
set labelCssStyle(value: any);
|
|
301
|
+
get labelCssStyle(): any;
|
|
302
|
+
/**
|
|
303
|
+
* Sets the CSS classes for the label element.
|
|
304
|
+
* Accepts values supported by the [`ngClass`](link:site.data.urls.angular['ngclassapi']) directive.
|
|
305
|
+
*/
|
|
306
|
+
set labelCssClass(value: any);
|
|
307
|
+
get labelCssClass(): any;
|
|
308
|
+
/**
|
|
309
|
+
* Sets the `id` attribute of the input inside the floating label.
|
|
310
|
+
*
|
|
311
|
+
* @remarks
|
|
312
|
+
* This property is related to accessibility.
|
|
313
|
+
*/
|
|
314
|
+
set id(value: string);
|
|
315
|
+
get id(): string;
|
|
316
|
+
/**
|
|
317
|
+
* Sets the text content of the floating label that describes the input.
|
|
318
|
+
*
|
|
319
|
+
* @remarks
|
|
320
|
+
* This property is related to accessibility.
|
|
321
|
+
*/
|
|
322
|
+
set text(value: string);
|
|
323
|
+
get text(): string;
|
|
324
|
+
/**
|
|
325
|
+
* Marks a form field as optional. When enabled, renders the `Optional` text by default.
|
|
326
|
+
* You can customize the text by providing a custom message ([see example](https://www.telerik.com/kendo-angular-ui/components/labels/globalization#custom-messages)).
|
|
327
|
+
*
|
|
328
|
+
* @default false
|
|
329
|
+
*/
|
|
330
|
+
set optional(value: boolean);
|
|
331
|
+
get optional(): boolean;
|
|
332
|
+
/**
|
|
333
|
+
* Fires after the FloatingLabel position changes.
|
|
334
|
+
*/
|
|
335
|
+
positionChange: EventEmitter<FloatingLabelPosition>;
|
|
336
|
+
kendoInput: any;
|
|
337
|
+
formControl: NgControl;
|
|
338
|
+
/**
|
|
339
|
+
* @hidden
|
|
340
|
+
*/
|
|
341
|
+
get focused(): boolean;
|
|
342
|
+
/**
|
|
343
|
+
* @hidden
|
|
344
|
+
*/
|
|
345
|
+
get empty(): boolean;
|
|
346
|
+
/**
|
|
347
|
+
* @hidden
|
|
348
|
+
*/
|
|
349
|
+
get invalid(): boolean;
|
|
350
|
+
/**
|
|
351
|
+
* @hidden
|
|
352
|
+
*/
|
|
353
|
+
labelId: string;
|
|
354
|
+
private readonly _labelCssStyle;
|
|
355
|
+
private readonly _labelCssClass;
|
|
356
|
+
private readonly _id;
|
|
357
|
+
private readonly _text;
|
|
358
|
+
private readonly _optional;
|
|
359
|
+
private readonly _focused;
|
|
360
|
+
private readonly _empty;
|
|
361
|
+
private readonly _invalid;
|
|
362
|
+
private subscription;
|
|
363
|
+
private autoFillStarted;
|
|
364
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, localization: LocalizationService, changeDetectorRef: ChangeDetectorRef);
|
|
365
|
+
/**
|
|
366
|
+
* @hidden
|
|
367
|
+
*/
|
|
368
|
+
ngAfterContentChecked(): void;
|
|
369
|
+
/**
|
|
370
|
+
* @hidden
|
|
371
|
+
*/
|
|
372
|
+
ngAfterContentInit(): void;
|
|
373
|
+
ngAfterViewInit(): void;
|
|
374
|
+
/**
|
|
375
|
+
* @hidden
|
|
376
|
+
*/
|
|
377
|
+
ngOnDestroy(): void;
|
|
378
|
+
/**
|
|
379
|
+
* @hidden
|
|
380
|
+
*/
|
|
381
|
+
textFor(key: string): string;
|
|
382
|
+
private subscribe;
|
|
383
|
+
private updateState;
|
|
384
|
+
private isValueEmpty;
|
|
385
|
+
private setAriaLabelledby;
|
|
386
|
+
private setLabelFor;
|
|
387
|
+
private handleAutofill;
|
|
388
|
+
private addHandlers;
|
|
389
|
+
private validateSetup;
|
|
390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingLabelComponent, never>;
|
|
391
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingLabelComponent, "kendo-floatinglabel", ["kendoFloatingLabel"], { "labelCssStyle": { "alias": "labelCssStyle"; "required": false; }; "labelCssClass": { "alias": "labelCssClass"; "required": false; }; "id": { "alias": "id"; "required": false; }; "text": { "alias": "text"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; }, { "positionChange": "positionChange"; }, ["kendoInput", "formControl"], ["*"], true, never>;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Label component.
|
|
396
|
+
* The module imports:
|
|
397
|
+
* - `LabelDirective`
|
|
398
|
+
* - `LabelComponent`
|
|
399
|
+
* - `FloatingLabel`
|
|
400
|
+
*
|
|
401
|
+
* @example
|
|
402
|
+
* ```ts
|
|
403
|
+
* import { LabelModule } from '@progress/kendo-angular-label';
|
|
404
|
+
* import { NgModule } from '@angular/core';
|
|
405
|
+
* import { AppComponent } from './app.component';
|
|
406
|
+
*
|
|
407
|
+
* @NgModule({
|
|
408
|
+
* declarations: [AppComponent],
|
|
409
|
+
* imports: [BrowserModule, LabelModule],
|
|
410
|
+
* bootstrap: [AppComponent]
|
|
411
|
+
* })
|
|
412
|
+
* export class AppModule {}
|
|
413
|
+
* ```
|
|
414
|
+
*/
|
|
415
|
+
declare class LabelModule {
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelModule, never>;
|
|
417
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LabelModule, never, [typeof LabelDirective, typeof LabelComponent, typeof CustomMessagesComponent, typeof FloatingLabelComponent, typeof CustomMessagesComponent], [typeof LabelDirective, typeof LabelComponent, typeof CustomMessagesComponent, typeof FloatingLabelComponent, typeof CustomMessagesComponent]>;
|
|
418
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LabelModule>;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the FloatingLabel component.
|
|
423
|
+
*
|
|
424
|
+
* @example
|
|
425
|
+
* ```typescript
|
|
426
|
+
* import { FloatingLabelModule } from '@progress/kendo-angular-label';
|
|
427
|
+
*
|
|
428
|
+
* @NgModule({
|
|
429
|
+
* imports: [BrowserModule, FloatingLabelModule],
|
|
430
|
+
* declarations: [AppComponent],
|
|
431
|
+
* bootstrap: [AppComponent]
|
|
432
|
+
* })
|
|
433
|
+
* export class AppModule { }
|
|
434
|
+
* ```
|
|
435
|
+
*/
|
|
436
|
+
declare class FloatingLabelModule {
|
|
437
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingLabelModule, never>;
|
|
438
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingLabelModule, never, [typeof FloatingLabelComponent, typeof CustomMessagesComponent], [typeof FloatingLabelComponent, typeof CustomMessagesComponent]>;
|
|
439
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FloatingLabelModule>;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @hidden
|
|
444
|
+
*/
|
|
445
|
+
declare class LocalizedMessagesDirective extends Messages {
|
|
446
|
+
protected service: LocalizationService;
|
|
447
|
+
constructor(service: LocalizationService);
|
|
448
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
449
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoLabelLocalizedMessages], [kendoFloatingLabelLocalizedMessages] ", never, {}, {}, never, never, true, never>;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Holds all `Label`-related components and directives.
|
|
454
|
+
*
|
|
455
|
+
* @example
|
|
456
|
+
* ```typescript
|
|
457
|
+
* import { KENDO_LABEL } from '@progress/kendo-angular-label';
|
|
458
|
+
* ```
|
|
459
|
+
*/
|
|
460
|
+
declare const KENDO_LABEL: readonly [typeof LabelDirective, typeof LabelComponent, typeof CustomMessagesComponent];
|
|
461
|
+
/**
|
|
462
|
+
* Holds all `FloatingLabel`-related components and directives.
|
|
463
|
+
*
|
|
464
|
+
* @example
|
|
465
|
+
* ```typescript
|
|
466
|
+
* import { KENDO_FLOATINGLABEL } from '@progress/kendo-angular-label';
|
|
467
|
+
* ```
|
|
468
|
+
*/
|
|
469
|
+
declare const KENDO_FLOATINGLABEL: readonly [typeof FloatingLabelComponent, typeof CustomMessagesComponent];
|
|
470
|
+
/**
|
|
471
|
+
* Holds all `@progress/kendo-angular-label`-related components and directives.
|
|
472
|
+
*
|
|
473
|
+
* @example
|
|
474
|
+
* ```typescript
|
|
475
|
+
* import { KENDO_LABELS } from '@progress/kendo-angular-label';
|
|
476
|
+
* ```
|
|
477
|
+
*/
|
|
478
|
+
declare const KENDO_LABELS: readonly [typeof LabelDirective, typeof LabelComponent, typeof CustomMessagesComponent, typeof FloatingLabelComponent, typeof CustomMessagesComponent];
|
|
479
|
+
|
|
480
|
+
export { CustomMessagesComponent, FloatingLabelComponent, FloatingLabelModule, KENDO_FLOATINGLABEL, KENDO_LABEL, KENDO_LABELS, LabelComponent, LabelDirective, LabelModule, LocalizedMessagesDirective };
|
|
481
|
+
export type { FloatingLabelPosition };
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1785317889,
|
|
11
|
+
"version": "25.0.0-develop.12",
|
|
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-label",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.12",
|
|
4
4
|
"description": "Kendo UI Label for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1785317889,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/animations": "
|
|
28
|
-
"@angular/common": "
|
|
29
|
-
"@angular/core": "
|
|
30
|
-
"@angular/forms": "
|
|
31
|
-
"@angular/platform-browser": "
|
|
27
|
+
"@angular/animations": "20 - 22",
|
|
28
|
+
"@angular/common": "20 - 22",
|
|
29
|
+
"@angular/core": "20 - 22",
|
|
30
|
+
"@angular/forms": "20 - 22",
|
|
31
|
+
"@angular/platform-browser": "20 - 22",
|
|
32
32
|
"@progress/kendo-licensing": "^1.11.0",
|
|
33
|
-
"@progress/kendo-angular-common": "
|
|
34
|
-
"@progress/kendo-angular-l10n": "
|
|
33
|
+
"@progress/kendo-angular-common": "25.0.0-develop.12",
|
|
34
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.12",
|
|
35
35
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"tslib": "^2.3.1",
|
|
39
|
-
"@progress/kendo-angular-schematics": "
|
|
39
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.12"
|
|
40
40
|
},
|
|
41
41
|
"schematics": "./schematics/collection.json",
|
|
42
42
|
"module": "fesm2022/progress-kendo-angular-label.mjs",
|
package/directives.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { FloatingLabelComponent } from "./floating-label/floating-label.component";
|
|
6
|
-
import { LabelDirective } from "./label.directive";
|
|
7
|
-
import { LabelComponent } from "./label/label.component";
|
|
8
|
-
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
9
|
-
/**
|
|
10
|
-
* Holds all `Label`-related components and directives.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import { KENDO_LABEL } from '@progress/kendo-angular-label';
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare const KENDO_LABEL: readonly [typeof LabelDirective, typeof LabelComponent, typeof CustomMessagesComponent];
|
|
18
|
-
/**
|
|
19
|
-
* Holds all `FloatingLabel`-related components and directives.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```typescript
|
|
23
|
-
* import { KENDO_FLOATINGLABEL } from '@progress/kendo-angular-label';
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare const KENDO_FLOATINGLABEL: readonly [typeof FloatingLabelComponent, typeof CustomMessagesComponent];
|
|
27
|
-
/**
|
|
28
|
-
* Holds all `@progress/kendo-angular-label`-related components and directives.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* import { KENDO_LABELS } from '@progress/kendo-angular-label';
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare const KENDO_LABELS: readonly [typeof LabelDirective, typeof LabelComponent, typeof CustomMessagesComponent, typeof FloatingLabelComponent, typeof CustomMessagesComponent];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { NgControl } from '@angular/forms';
|
|
7
|
-
import { EventEmitter } from '@angular/core';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class FloatingLabelInputAdapter {
|
|
12
|
-
private component;
|
|
13
|
-
onFocus: Observable<any> | EventEmitter<any>;
|
|
14
|
-
onBlur: Observable<any> | EventEmitter<any>;
|
|
15
|
-
autoFillStart: Observable<any> | EventEmitter<any>;
|
|
16
|
-
autoFillEnd: Observable<any> | EventEmitter<any>;
|
|
17
|
-
onValueChange: Observable<any> | EventEmitter<any>;
|
|
18
|
-
get focusableId(): string;
|
|
19
|
-
set focusableId(value: string);
|
|
20
|
-
constructor(component: any, formControl?: NgControl);
|
|
21
|
-
}
|