@progress/kendo-angular-label 16.6.0-develop.8 → 16.6.0-develop.9
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.
|
@@ -36,12 +36,23 @@ export class LabelComponent {
|
|
|
36
36
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
37
37
|
this.renderer.removeAttribute(this.elementRef.nativeElement, 'id');
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Associates the label with a component by a template reference, or with an HTML element by id.
|
|
41
|
+
*/
|
|
42
|
+
set for(forValue) {
|
|
43
|
+
if (forValue !== this._for) {
|
|
44
|
+
this._for = forValue;
|
|
45
|
+
this.control = forValue;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
get for() {
|
|
49
|
+
return this._for;
|
|
50
|
+
}
|
|
39
51
|
/**
|
|
40
52
|
* @hidden
|
|
41
53
|
*/
|
|
42
54
|
ngAfterContentInit() {
|
|
43
55
|
if (this.for) {
|
|
44
|
-
this.control = this.for;
|
|
45
56
|
return;
|
|
46
57
|
}
|
|
47
58
|
const wrappedNativeInput = getWrappedNativeInput(this.elementRef.nativeElement);
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-label',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.6.0-develop.
|
|
12
|
+
publishDate: 1722605489,
|
|
13
|
+
version: '16.6.0-develop.9',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -193,8 +193,8 @@ const packageMetadata = {
|
|
|
193
193
|
name: '@progress/kendo-angular-label',
|
|
194
194
|
productName: 'Kendo UI for Angular',
|
|
195
195
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
196
|
-
publishDate:
|
|
197
|
-
version: '16.6.0-develop.
|
|
196
|
+
publishDate: 1722605489,
|
|
197
|
+
version: '16.6.0-develop.9',
|
|
198
198
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
199
199
|
};
|
|
200
200
|
|
|
@@ -609,12 +609,23 @@ class LabelComponent {
|
|
|
609
609
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
610
610
|
this.renderer.removeAttribute(this.elementRef.nativeElement, 'id');
|
|
611
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* Associates the label with a component by a template reference, or with an HTML element by id.
|
|
614
|
+
*/
|
|
615
|
+
set for(forValue) {
|
|
616
|
+
if (forValue !== this._for) {
|
|
617
|
+
this._for = forValue;
|
|
618
|
+
this.control = forValue;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
get for() {
|
|
622
|
+
return this._for;
|
|
623
|
+
}
|
|
612
624
|
/**
|
|
613
625
|
* @hidden
|
|
614
626
|
*/
|
|
615
627
|
ngAfterContentInit() {
|
|
616
628
|
if (this.for) {
|
|
617
|
-
this.control = this.for;
|
|
618
629
|
return;
|
|
619
630
|
}
|
|
620
631
|
const wrappedNativeInput = getWrappedNativeInput(this.elementRef.nativeElement);
|
|
@@ -193,8 +193,8 @@ const packageMetadata = {
|
|
|
193
193
|
name: '@progress/kendo-angular-label',
|
|
194
194
|
productName: 'Kendo UI for Angular',
|
|
195
195
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
196
|
-
publishDate:
|
|
197
|
-
version: '16.6.0-develop.
|
|
196
|
+
publishDate: 1722605489,
|
|
197
|
+
version: '16.6.0-develop.9',
|
|
198
198
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
199
199
|
};
|
|
200
200
|
|
|
@@ -609,12 +609,23 @@ class LabelComponent {
|
|
|
609
609
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
610
610
|
this.renderer.removeAttribute(this.elementRef.nativeElement, 'id');
|
|
611
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* Associates the label with a component by a template reference, or with an HTML element by id.
|
|
614
|
+
*/
|
|
615
|
+
set for(forValue) {
|
|
616
|
+
if (forValue !== this._for) {
|
|
617
|
+
this._for = forValue;
|
|
618
|
+
this.control = forValue;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
get for() {
|
|
622
|
+
return this._for;
|
|
623
|
+
}
|
|
612
624
|
/**
|
|
613
625
|
* @hidden
|
|
614
626
|
*/
|
|
615
627
|
ngAfterContentInit() {
|
|
616
628
|
if (this.for) {
|
|
617
|
-
this.control = this.for;
|
|
618
629
|
return;
|
|
619
630
|
}
|
|
620
631
|
const wrappedNativeInput = getWrappedNativeInput(this.elementRef.nativeElement);
|
|
@@ -33,7 +33,8 @@ export declare class LabelComponent implements AfterContentInit {
|
|
|
33
33
|
/**
|
|
34
34
|
* Associates the label with a component by a template reference, or with an HTML element by id.
|
|
35
35
|
*/
|
|
36
|
-
for: any;
|
|
36
|
+
set for(forValue: any);
|
|
37
|
+
get for(): any;
|
|
37
38
|
/**
|
|
38
39
|
* Allows marking a form field as optional. By default renders the `Optional` text when enabled.
|
|
39
40
|
* The text can be customized by providing a custom message ([see example]({% slug label_globalization %}#toc-custom-messages)).
|
|
@@ -60,6 +61,7 @@ export declare class LabelComponent implements AfterContentInit {
|
|
|
60
61
|
focus: Function;
|
|
61
62
|
};
|
|
62
63
|
private subscriptions;
|
|
64
|
+
private _for;
|
|
63
65
|
constructor(elementRef: ElementRef, renderer: Renderer2, localization: LocalizationService);
|
|
64
66
|
/**
|
|
65
67
|
* @hidden
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-label",
|
|
3
|
-
"version": "16.6.0-develop.
|
|
3
|
+
"version": "16.6.0-develop.9",
|
|
4
4
|
"description": "Kendo UI Label for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"@angular/forms": "15 - 18",
|
|
25
25
|
"@angular/platform-browser": "15 - 18",
|
|
26
26
|
"@progress/kendo-licensing": "^1.0.2",
|
|
27
|
-
"@progress/kendo-angular-common": "16.6.0-develop.
|
|
28
|
-
"@progress/kendo-angular-l10n": "16.6.0-develop.
|
|
27
|
+
"@progress/kendo-angular-common": "16.6.0-develop.9",
|
|
28
|
+
"@progress/kendo-angular-l10n": "16.6.0-develop.9",
|
|
29
29
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.3.1",
|
|
33
|
-
"@progress/kendo-angular-schematics": "16.6.0-develop.
|
|
33
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.9"
|
|
34
34
|
},
|
|
35
35
|
"schematics": "./schematics/collection.json",
|
|
36
36
|
"module": "fesm2015/progress-kendo-angular-label.mjs",
|