@progress/kendo-angular-label 3.1.1-dev.202110280926 → 4.0.0-next.202202221305

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.
Files changed (79) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/bundles/kendo-angular-label.umd.js +5 -0
  5. package/{dist/es2015 → esm2015}/floating-label/floating-label-input-adapter.js +0 -0
  6. package/{dist/es2015 → esm2015}/floating-label/floating-label.component.js +70 -75
  7. package/{dist/es2015 → esm2015}/floating-label/floating-label.module.js +14 -11
  8. package/{dist/es → esm2015}/floating-label/models/label-position.js +1 -0
  9. package/{dist/es2015/shared.module.d.ts → esm2015/kendo-angular-label.js} +2 -3
  10. package/esm2015/label/label.component.js +158 -0
  11. package/{dist/es2015 → esm2015}/label.directive.js +20 -24
  12. package/{dist/es2015 → esm2015}/label.module.js +16 -11
  13. package/esm2015/localization/custom-messages.component.js +41 -0
  14. package/esm2015/localization/localized-messages.directive.js +39 -0
  15. package/esm2015/localization/messages.js +22 -0
  16. package/{dist/es → esm2015}/main.js +2 -0
  17. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  18. package/esm2015/shared.module.js +29 -0
  19. package/{dist/es2015 → esm2015}/util.js +0 -0
  20. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-label.js} +239 -201
  21. package/{dist/es2015/floating-label → floating-label}/floating-label-input-adapter.d.ts +2 -1
  22. package/{dist/es2015/floating-label → floating-label}/floating-label.component.d.ts +6 -3
  23. package/{dist/es2015/floating-label → floating-label}/floating-label.module.d.ts +7 -0
  24. package/{dist/es2015/floating-label → floating-label}/models/label-position.d.ts +0 -0
  25. package/{dist/es2015/floating-label/models/label-position.js → kendo-angular-label.d.ts} +5 -0
  26. package/{dist/es2015/label → label}/label.component.d.ts +3 -0
  27. package/{dist/es2015/label.directive.d.ts → label.directive.d.ts} +4 -1
  28. package/{dist/es2015/label.module.d.ts → label.module.d.ts} +9 -0
  29. package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
  30. package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
  31. package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
  32. package/{dist/es2015/main.d.ts → main.d.ts} +2 -0
  33. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  34. package/package.json +33 -102
  35. package/schematics/ngAdd/index.js +5 -2
  36. package/schematics/ngAdd/index.js.map +1 -1
  37. package/shared.module.d.ts +15 -0
  38. package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
  39. package/dist/cdn/js/kendo-angular-label.js +0 -20
  40. package/dist/cdn/main.js +0 -5
  41. package/dist/es/floating-label/floating-label-input-adapter.js +0 -58
  42. package/dist/es/floating-label/floating-label.component.js +0 -312
  43. package/dist/es/floating-label/floating-label.module.js +0 -52
  44. package/dist/es/index.js +0 -11
  45. package/dist/es/label/label.component.js +0 -137
  46. package/dist/es/label.directive.js +0 -140
  47. package/dist/es/label.module.js +0 -63
  48. package/dist/es/localization/custom-messages.component.js +0 -44
  49. package/dist/es/localization/localized-messages.directive.js +0 -35
  50. package/dist/es/localization/messages.js +0 -22
  51. package/dist/es/package-metadata.js +0 -15
  52. package/dist/es/shared.module.js +0 -27
  53. package/dist/es/util.js +0 -33
  54. package/dist/es2015/index.d.ts +0 -11
  55. package/dist/es2015/index.js +0 -11
  56. package/dist/es2015/index.metadata.json +0 -1
  57. package/dist/es2015/label/label.component.js +0 -146
  58. package/dist/es2015/localization/custom-messages.component.js +0 -36
  59. package/dist/es2015/localization/localized-messages.directive.js +0 -34
  60. package/dist/es2015/localization/messages.js +0 -16
  61. package/dist/es2015/main.js +0 -10
  62. package/dist/es2015/shared.module.js +0 -24
  63. package/dist/fesm5/index.js +0 -858
  64. package/dist/npm/floating-label/floating-label-input-adapter.js +0 -60
  65. package/dist/npm/floating-label/floating-label.component.js +0 -314
  66. package/dist/npm/floating-label/floating-label.module.js +0 -54
  67. package/dist/npm/floating-label/models/label-position.js +0 -6
  68. package/dist/npm/index.js +0 -17
  69. package/dist/npm/label/label.component.js +0 -139
  70. package/dist/npm/label.directive.js +0 -142
  71. package/dist/npm/label.module.js +0 -65
  72. package/dist/npm/localization/custom-messages.component.js +0 -46
  73. package/dist/npm/localization/localized-messages.directive.js +0 -37
  74. package/dist/npm/localization/messages.js +0 -24
  75. package/dist/npm/main.js +0 -18
  76. package/dist/npm/package-metadata.js +0 -17
  77. package/dist/npm/shared.module.js +0 -29
  78. package/dist/npm/util.js +0 -35
  79. package/dist/systemjs/kendo-angular-label.js +0 -5
@@ -0,0 +1,158 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ContentChild, Component, HostBinding, Input, ViewChild } from '@angular/core';
6
+ import { Subscription } from 'rxjs';
7
+ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
8
+ import { KendoInput, guid } from '@progress/kendo-angular-common';
9
+ import { validatePackage } from '@progress/kendo-licensing';
10
+ import { packageMetadata } from '../package-metadata';
11
+ import { LabelDirective } from './../label.directive';
12
+ import { getWrappedNativeInput } from './../util';
13
+ import * as i0 from "@angular/core";
14
+ import * as i1 from "@progress/kendo-angular-l10n";
15
+ import * as i2 from "../localization/localized-messages.directive";
16
+ import * as i3 from "../label.directive";
17
+ import * as i4 from "@angular/common";
18
+ /**
19
+ * Represents the [Kendo UI Label component for Angular]({% slug label_basic %}).
20
+ *
21
+ * Associates a label with input elements or components.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ *
26
+ * _@Component({
27
+ * selector: 'my-app',
28
+ * template: `
29
+ * <kendo-label [for]="input" text="First name">
30
+ * <input [(ngModel)]="name" kendoTextBox #input />
31
+ * </kendo-label>
32
+ * `
33
+ * })
34
+ * class AppComponent {
35
+ * public name = 'John';
36
+ * }
37
+ *
38
+ * ```
39
+ */
40
+ export class LabelComponent {
41
+ constructor(elementRef, renderer, localization) {
42
+ this.elementRef = elementRef;
43
+ this.renderer = renderer;
44
+ this.localization = localization;
45
+ this.subscriptions = new Subscription();
46
+ validatePackage(packageMetadata);
47
+ this.direction = localization.rtl ? 'rtl' : 'ltr';
48
+ this.renderer.removeAttribute(this.elementRef.nativeElement, 'id');
49
+ }
50
+ /**
51
+ * @hidden
52
+ */
53
+ ngAfterContentInit() {
54
+ if (this.for) {
55
+ this.control = this.for;
56
+ return;
57
+ }
58
+ const wrappedNativeInput = getWrappedNativeInput(this.elementRef.nativeElement);
59
+ if (wrappedNativeInput) {
60
+ if (!wrappedNativeInput.hasAttribute('id')) {
61
+ this.renderer.setAttribute(wrappedNativeInput, 'id', `k-${guid()}`);
62
+ }
63
+ this.control = wrappedNativeInput;
64
+ return;
65
+ }
66
+ this.control = this.kendoInput;
67
+ }
68
+ /**
69
+ * @hidden
70
+ */
71
+ ngOnInit() {
72
+ this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => {
73
+ this.direction = rtl ? 'rtl' : 'ltr';
74
+ }));
75
+ }
76
+ /**
77
+ * @hidden
78
+ */
79
+ ngAfterViewInit() {
80
+ this.labelDirective.setAriaLabelledby();
81
+ }
82
+ /**
83
+ * @hidden
84
+ */
85
+ ngOnDestroy() {
86
+ if (this.subscriptions) {
87
+ this.subscriptions.unsubscribe();
88
+ }
89
+ }
90
+ /**
91
+ * @hidden
92
+ */
93
+ textFor(key) {
94
+ return this.localization.get(key);
95
+ }
96
+ }
97
+ LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
98
+ LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
99
+ LocalizationService,
100
+ {
101
+ provide: L10N_PREFIX,
102
+ useValue: 'kendo.label'
103
+ }
104
+ ], queries: [{ propertyName: "kendoInput", first: true, predicate: KendoInput, descendants: true, static: true }], viewQueries: [{ propertyName: "labelDirective", first: true, predicate: LabelDirective, descendants: true, static: true }], exportAs: ["kendoLabel"], ngImport: i0, template: `
105
+ <ng-container kendoLabelLocalizedMessages
106
+ i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"
107
+ optional="Optional"
108
+ >
109
+ </ng-container>
110
+ <label
111
+ [for]="control"
112
+ [class.k-label-empty]="!text">
113
+ {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
114
+ </label>
115
+ <ng-content></ng-content>
116
+ `, isInline: true, directives: [{ type: i2.LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: i3.LabelDirective, selector: "label[for]", inputs: ["for"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelComponent, decorators: [{
118
+ type: Component,
119
+ args: [{
120
+ selector: 'kendo-label',
121
+ exportAs: 'kendoLabel',
122
+ providers: [
123
+ LocalizationService,
124
+ {
125
+ provide: L10N_PREFIX,
126
+ useValue: 'kendo.label'
127
+ }
128
+ ],
129
+ template: `
130
+ <ng-container kendoLabelLocalizedMessages
131
+ i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"
132
+ optional="Optional"
133
+ >
134
+ </ng-container>
135
+ <label
136
+ [for]="control"
137
+ [class.k-label-empty]="!text">
138
+ {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
139
+ </label>
140
+ <ng-content></ng-content>
141
+ `
142
+ }]
143
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; }, propDecorators: { direction: [{
144
+ type: HostBinding,
145
+ args: ['attr.dir']
146
+ }], text: [{
147
+ type: Input
148
+ }], for: [{
149
+ type: Input
150
+ }], optional: [{
151
+ type: Input
152
+ }], labelDirective: [{
153
+ type: ViewChild,
154
+ args: [LabelDirective, { static: true }]
155
+ }], kendoInput: [{
156
+ type: ContentChild,
157
+ args: [KendoInput, { static: true }]
158
+ }] } });
@@ -2,10 +2,10 @@
2
2
  * Copyright © 2021 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
- import * as tslib_1 from "tslib";
6
5
  import { isUploadComponent, getRootElement, inputElementHasAttr, isInputElement } from './util';
7
- import { Directive, Input, HostBinding, ElementRef, Renderer2, NgZone } from '@angular/core';
6
+ import { Directive, Input, HostBinding } from '@angular/core';
8
7
  import { isDocumentAvailable, guid } from '@progress/kendo-angular-common';
8
+ import * as i0 from "@angular/core";
9
9
  /**
10
10
  * Represents the [Kendo UI Label directive for Angular]({% slug overview_label %}).
11
11
  * The Label associates a focusable Angular component or an HTML element
@@ -37,7 +37,7 @@ import { isDocumentAvailable, guid } from '@progress/kendo-angular-common';
37
37
  * class AppComponent { }
38
38
  * ```
39
39
  */
40
- let LabelDirective = class LabelDirective {
40
+ export class LabelDirective {
41
41
  constructor(label, renderer, zone) {
42
42
  this.label = label;
43
43
  this.renderer = renderer;
@@ -110,24 +110,20 @@ let LabelDirective = class LabelDirective {
110
110
  const target = this.for;
111
111
  return target && target.focus !== undefined ? target : null;
112
112
  }
113
- };
114
- tslib_1.__decorate([
115
- Input(),
116
- tslib_1.__metadata("design:type", Object)
117
- ], LabelDirective.prototype, "for", void 0);
118
- tslib_1.__decorate([
119
- HostBinding('attr.for'),
120
- tslib_1.__metadata("design:type", String),
121
- tslib_1.__metadata("design:paramtypes", [])
122
- ], LabelDirective.prototype, "labelFor", null);
123
- tslib_1.__decorate([
124
- HostBinding('class.k-label'),
125
- tslib_1.__metadata("design:type", Boolean)
126
- ], LabelDirective.prototype, "labelClass", void 0);
127
- LabelDirective = tslib_1.__decorate([
128
- Directive({
129
- selector: 'label[for]' //tslint:disable-line:directive-selector
130
- }),
131
- tslib_1.__metadata("design:paramtypes", [ElementRef, Renderer2, NgZone])
132
- ], LabelDirective);
133
- export { LabelDirective };
113
+ }
114
+ LabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
115
+ LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LabelDirective, selector: "label[for]", inputs: { for: "for" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelDirective, decorators: [{
117
+ type: Directive,
118
+ args: [{
119
+ selector: 'label[for]' //eslint-disable-line directive-selector
120
+ }]
121
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { for: [{
122
+ type: Input
123
+ }], labelFor: [{
124
+ type: HostBinding,
125
+ args: ['attr.for']
126
+ }], labelClass: [{
127
+ type: HostBinding,
128
+ args: ['class.k-label']
129
+ }] } });
@@ -2,13 +2,13 @@
2
2
  * Copyright © 2021 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
- import * as tslib_1 from "tslib";
6
5
  import { SharedDirectivesModule } from './shared.module';
7
6
  import { CommonModule } from '@angular/common';
8
7
  import { NgModule } from '@angular/core';
9
8
  import { FloatingLabelModule } from './floating-label/floating-label.module';
10
9
  import { LabelDirective } from './label.directive';
11
10
  import { LabelComponent } from './label/label.component';
11
+ import * as i0 from "@angular/core";
12
12
  const COMPONENT_DIRECTIVES = [
13
13
  LabelDirective,
14
14
  LabelComponent
@@ -48,13 +48,18 @@ const COMPONENT_DIRECTIVES = [
48
48
  *
49
49
  * ```
50
50
  */
51
- let LabelModule = class LabelModule {
52
- };
53
- LabelModule = tslib_1.__decorate([
54
- NgModule({
55
- imports: [CommonModule, SharedDirectivesModule],
56
- declarations: [...COMPONENT_DIRECTIVES],
57
- exports: [...COMPONENT_DIRECTIVES, FloatingLabelModule, SharedDirectivesModule]
58
- })
59
- ], LabelModule);
60
- export { LabelModule };
51
+ export class LabelModule {
52
+ }
53
+ LabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54
+ LabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelModule, declarations: [LabelDirective,
55
+ LabelComponent], imports: [CommonModule, SharedDirectivesModule], exports: [LabelDirective,
56
+ LabelComponent, FloatingLabelModule, SharedDirectivesModule] });
57
+ LabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelModule, imports: [[CommonModule, SharedDirectivesModule], FloatingLabelModule, SharedDirectivesModule] });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelModule, decorators: [{
59
+ type: NgModule,
60
+ args: [{
61
+ imports: [CommonModule, SharedDirectivesModule],
62
+ declarations: [...COMPONENT_DIRECTIVES],
63
+ exports: [...COMPONENT_DIRECTIVES, FloatingLabelModule, SharedDirectivesModule]
64
+ }]
65
+ }] });
@@ -0,0 +1,41 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, forwardRef } from '@angular/core';
6
+ import { Messages } from './messages';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@progress/kendo-angular-l10n";
9
+ /**
10
+ * Custom component messages override default component messages
11
+ * ([see example]({% slug label_globalization %}#toc-localization)).
12
+ */
13
+ export class CustomMessagesComponent extends Messages {
14
+ constructor(service) {
15
+ super();
16
+ this.service = service;
17
+ }
18
+ get override() {
19
+ return true;
20
+ }
21
+ }
22
+ CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomMessagesComponent, selector: "kendo-label-messages, kendo-floatinglabel-messages", providers: [
24
+ {
25
+ provide: Messages,
26
+ useExisting: forwardRef(() => CustomMessagesComponent)
27
+ }
28
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomMessagesComponent, decorators: [{
30
+ type: Component,
31
+ args: [{
32
+ providers: [
33
+ {
34
+ provide: Messages,
35
+ useExisting: forwardRef(() => CustomMessagesComponent)
36
+ }
37
+ ],
38
+ selector: 'kendo-label-messages, kendo-floatinglabel-messages',
39
+ template: ``
40
+ }]
41
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -0,0 +1,39 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, forwardRef } from '@angular/core';
6
+ import { Messages } from './messages';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@progress/kendo-angular-l10n";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export class LocalizedMessagesDirective extends Messages {
13
+ constructor(service) {
14
+ super();
15
+ this.service = service;
16
+ }
17
+ }
18
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
19
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n ", providers: [
20
+ {
21
+ provide: Messages,
22
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
23
+ }
24
+ ], usesInheritance: true, ngImport: i0 });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
26
+ type: Directive,
27
+ args: [{
28
+ providers: [
29
+ {
30
+ provide: Messages,
31
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
32
+ }
33
+ ],
34
+ selector: `
35
+ [kendoLabelLocalizedMessages],
36
+ [kendoFloatingLabelLocalizedMessages]
37
+ `
38
+ }]
39
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -0,0 +1,22 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class Messages extends ComponentMessages {
12
+ }
13
+ Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
+ Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: Messages, selector: "kendo-label-messages-base", inputs: { optional: "optional" }, usesInheritance: true, ngImport: i0 });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ selector: 'kendo-label-messages-base'
19
+ }]
20
+ }], propDecorators: { optional: [{
21
+ type: Input
22
+ }] } });
@@ -8,3 +8,5 @@ export { FloatingLabelModule } from './floating-label/floating-label.module';
8
8
  export { FloatingLabelComponent } from './floating-label/floating-label.component';
9
9
  export { LabelComponent } from './label/label.component';
10
10
  export { CustomMessagesComponent } from './localization/custom-messages.component';
11
+ export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
12
+ export { SharedDirectivesModule } from './shared.module';
@@ -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: 1635413135,
12
+ publishDate: 1645535045,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -0,0 +1,29 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgModule } from '@angular/core';
6
+ import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
7
+ import { CustomMessagesComponent } from './localization/custom-messages.component';
8
+ import * as i0 from "@angular/core";
9
+ const SHARED_DIRECTIVES = [
10
+ LocalizedMessagesDirective,
11
+ CustomMessagesComponent
12
+ ];
13
+ /**
14
+ * @hidden
15
+ */
16
+ export class SharedDirectivesModule {
17
+ }
18
+ SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
+ SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule, declarations: [LocalizedMessagesDirective,
20
+ CustomMessagesComponent], exports: [LocalizedMessagesDirective,
21
+ CustomMessagesComponent] });
22
+ SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule, decorators: [{
24
+ type: NgModule,
25
+ args: [{
26
+ declarations: [SHARED_DIRECTIVES],
27
+ exports: [SHARED_DIRECTIVES]
28
+ }]
29
+ }] });
File without changes