@progress/kendo-angular-inputs 16.5.0 → 16.6.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.
Files changed (152) hide show
  1. package/checkbox/checkbox.component.d.ts +1 -1
  2. package/checkbox/checkbox.directive.d.ts +1 -1
  3. package/checkbox.module.d.ts +3 -6
  4. package/colorpicker/color-contrast-svg.component.d.ts +1 -1
  5. package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
  6. package/colorpicker/color-gradient.component.d.ts +1 -1
  7. package/colorpicker/color-input.component.d.ts +1 -1
  8. package/colorpicker/color-palette.component.d.ts +1 -1
  9. package/colorpicker/colorpicker.component.d.ts +1 -1
  10. package/colorpicker/contrast-validation.component.d.ts +1 -1
  11. package/colorpicker/contrast.component.d.ts +1 -1
  12. package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
  13. package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
  14. package/colorpicker/flatcolorpicker.component.d.ts +1 -1
  15. package/colorpicker/localization/custom-messages.component.d.ts +1 -1
  16. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
  17. package/colorpicker.module.d.ts +5 -21
  18. package/directives.d.ts +111 -0
  19. package/esm2020/checkbox/checkbox.component.mjs +7 -6
  20. package/esm2020/checkbox/checkbox.directive.mjs +3 -2
  21. package/esm2020/checkbox.module.mjs +8 -10
  22. package/esm2020/colorpicker/color-contrast-svg.component.mjs +6 -4
  23. package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +5 -2
  24. package/esm2020/colorpicker/color-gradient.component.mjs +11 -12
  25. package/esm2020/colorpicker/color-input.component.mjs +8 -7
  26. package/esm2020/colorpicker/color-palette.component.mjs +7 -5
  27. package/esm2020/colorpicker/colorpicker.component.mjs +9 -8
  28. package/esm2020/colorpicker/contrast-validation.component.mjs +7 -5
  29. package/esm2020/colorpicker/contrast.component.mjs +8 -6
  30. package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +3 -2
  31. package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +7 -5
  32. package/esm2020/colorpicker/flatcolorpicker.component.mjs +7 -9
  33. package/esm2020/colorpicker/localization/custom-messages.component.mjs +3 -2
  34. package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +3 -2
  35. package/esm2020/colorpicker.module.mjs +15 -84
  36. package/esm2020/directives.mjs +188 -0
  37. package/esm2020/formfield/error.component.mjs +3 -2
  38. package/esm2020/formfield/formfield.component.mjs +6 -4
  39. package/esm2020/formfield/hint.component.mjs +3 -2
  40. package/esm2020/formfield.module.mjs +9 -9
  41. package/esm2020/index.mjs +1 -0
  42. package/esm2020/inputs.module.mjs +50 -56
  43. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +9 -8
  44. package/esm2020/maskedtextbox.module.mjs +7 -30
  45. package/esm2020/numerictextbox/localization/custom-messages.component.mjs +3 -2
  46. package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +3 -2
  47. package/esm2020/numerictextbox/numerictextbox.component.mjs +11 -10
  48. package/esm2020/numerictextbox.module.mjs +11 -25
  49. package/esm2020/package-metadata.mjs +2 -2
  50. package/esm2020/radiobutton/radiobutton.component.mjs +7 -6
  51. package/esm2020/radiobutton/radiobutton.directive.mjs +3 -2
  52. package/esm2020/radiobutton.module.mjs +8 -10
  53. package/esm2020/rangeslider/localization/custom-messages.component.mjs +3 -2
  54. package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +3 -2
  55. package/esm2020/rangeslider/rangeslider.component.mjs +9 -8
  56. package/esm2020/rangeslider.module.mjs +11 -25
  57. package/esm2020/rating/directives/rating-hovered-item.directive.mjs +3 -2
  58. package/esm2020/rating/directives/rating-item.directive.mjs +3 -2
  59. package/esm2020/rating/directives/rating-selected-item.directive.mjs +3 -2
  60. package/esm2020/rating/rating.component.mjs +7 -5
  61. package/esm2020/rating.module.mjs +12 -23
  62. package/esm2020/shared/input-separator.component.mjs +3 -2
  63. package/esm2020/shared/shared-events.directive.mjs +3 -2
  64. package/esm2020/shared/textarea.directive.mjs +3 -2
  65. package/esm2020/shared.module.mjs +3 -3
  66. package/esm2020/signature/localization/custom-messages.component.mjs +3 -2
  67. package/esm2020/signature/localization/localized-signature-messages.directive.mjs +3 -2
  68. package/esm2020/signature/signature.component.mjs +9 -7
  69. package/esm2020/signature.module.mjs +13 -32
  70. package/esm2020/slider/localization/custom-messages.component.mjs +3 -2
  71. package/esm2020/slider/localization/localized-slider-messages.directive.mjs +3 -2
  72. package/esm2020/slider/slider.component.mjs +10 -9
  73. package/esm2020/slider.module.mjs +13 -27
  74. package/esm2020/sliders-common/label-template.directive.mjs +3 -2
  75. package/esm2020/sliders-common/slider-ticks.component.mjs +6 -4
  76. package/esm2020/switch/localization/custom-messages.component.mjs +3 -2
  77. package/esm2020/switch/localization/localized-switch-messages.directive.mjs +3 -2
  78. package/esm2020/switch/switch.component.mjs +6 -4
  79. package/esm2020/switch.module.mjs +10 -23
  80. package/esm2020/textarea/textarea-prefix.component.mjs +3 -2
  81. package/esm2020/textarea/textarea-suffix.component.mjs +3 -2
  82. package/esm2020/textarea/textarea.component.mjs +9 -8
  83. package/esm2020/textarea.module.mjs +9 -31
  84. package/esm2020/textbox/localization/custom-messages.component.mjs +3 -2
  85. package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +3 -2
  86. package/esm2020/textbox/textbox-prefix.directive.mjs +3 -2
  87. package/esm2020/textbox/textbox-suffix.directive.mjs +3 -2
  88. package/esm2020/textbox/textbox.component.mjs +11 -10
  89. package/esm2020/textbox/textbox.directive.mjs +3 -2
  90. package/esm2020/textbox.module.mjs +14 -48
  91. package/fesm2015/progress-kendo-angular-inputs.mjs +9233 -9325
  92. package/fesm2020/progress-kendo-angular-inputs.mjs +9088 -9180
  93. package/formfield/error.component.d.ts +1 -1
  94. package/formfield/formfield.component.d.ts +1 -1
  95. package/formfield/hint.component.d.ts +1 -1
  96. package/formfield.module.d.ts +4 -5
  97. package/index.d.ts +1 -0
  98. package/inputs.module.d.ts +40 -15
  99. package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
  100. package/maskedtextbox.module.d.ts +1 -5
  101. package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
  102. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
  103. package/numerictextbox/numerictextbox.component.d.ts +1 -1
  104. package/numerictextbox.module.d.ts +4 -9
  105. package/package.json +9 -9
  106. package/radiobutton/radiobutton.component.d.ts +1 -1
  107. package/radiobutton/radiobutton.directive.d.ts +1 -1
  108. package/radiobutton.module.d.ts +3 -6
  109. package/rangeslider/localization/custom-messages.component.d.ts +1 -1
  110. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
  111. package/rangeslider/rangeslider.component.d.ts +1 -1
  112. package/rangeslider.module.d.ts +2 -5
  113. package/rating/directives/rating-hovered-item.directive.d.ts +1 -1
  114. package/rating/directives/rating-item.directive.d.ts +1 -1
  115. package/rating/directives/rating-selected-item.directive.d.ts +1 -1
  116. package/rating/rating.component.d.ts +1 -1
  117. package/rating.module.d.ts +1 -3
  118. package/shared/input-separator.component.d.ts +1 -1
  119. package/shared/shared-events.directive.d.ts +1 -1
  120. package/shared/textarea.directive.d.ts +1 -1
  121. package/shared.module.d.ts +1 -1
  122. package/signature/localization/custom-messages.component.d.ts +1 -1
  123. package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
  124. package/signature/signature.component.d.ts +1 -1
  125. package/signature.module.d.ts +1 -6
  126. package/slider/localization/custom-messages.component.d.ts +1 -1
  127. package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
  128. package/slider/slider.component.d.ts +1 -1
  129. package/slider.module.d.ts +2 -7
  130. package/sliders-common/label-template.directive.d.ts +1 -1
  131. package/sliders-common/slider-ticks.component.d.ts +1 -1
  132. package/switch/localization/custom-messages.component.d.ts +1 -1
  133. package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
  134. package/switch/switch.component.d.ts +1 -1
  135. package/switch.module.d.ts +1 -4
  136. package/textarea/textarea-prefix.component.d.ts +1 -1
  137. package/textarea/textarea-suffix.component.d.ts +1 -1
  138. package/textarea/textarea.component.d.ts +1 -1
  139. package/textarea.module.d.ts +4 -9
  140. package/textbox/localization/custom-messages.component.d.ts +1 -1
  141. package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
  142. package/textbox/textbox-prefix.directive.d.ts +1 -1
  143. package/textbox/textbox-suffix.directive.d.ts +1 -1
  144. package/textbox/textbox.component.d.ts +1 -1
  145. package/textbox/textbox.directive.d.ts +1 -1
  146. package/textbox.module.d.ts +5 -12
  147. package/colorpicker/focus-on-dom-ready.directive.d.ts +0 -18
  148. package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +0 -29
  149. package/esm2020/shared-events.module.mjs +0 -22
  150. package/esm2020/sliders-common/sliders-common.module.mjs +0 -42
  151. package/shared-events.module.d.ts +0 -14
  152. package/sliders-common/sliders-common.module.d.ts +0 -17
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /* eslint-disable @typescript-eslint/no-explicit-any */
6
6
  import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, Renderer2, ViewChild, forwardRef, isDevMode, NgZone, ChangeDetectorRef, Injector, ContentChild } from '@angular/core';
7
- import { anyChanged, hasObservers, Keys, guid, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, setHTMLAttributes, isControlRequired, isObjectPresent, removeHTMLAttributes, parseAttributes } from '@progress/kendo-angular-common';
7
+ import { anyChanged, hasObservers, Keys, guid, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, setHTMLAttributes, isControlRequired, isObjectPresent, removeHTMLAttributes, parseAttributes, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
8
8
  import { areSame, getStylingClasses, requiresZoneOnBlur } from '../common/utils';
9
9
  import { invokeElementMethod } from '../common/dom-utils';
10
10
  import { add, toFixedPrecision, limitPrecision } from '../common/math';
@@ -20,15 +20,14 @@ import { defined, noop, numericRegex, isNumber, pad, decimalPart, getDeltaFromMo
20
20
  import { ArrowDirection } from './arrow-direction';
21
21
  import { mobileOS } from '@progress/kendo-common';
22
22
  import { caretAltUpIcon, caretAltDownIcon } from '@progress/kendo-svg-icons';
23
+ import { InputSeparatorComponent } from '../shared/input-separator.component';
24
+ import { NgIf, NgTemplateOutlet } from '@angular/common';
25
+ import { SharedInputEventsDirective } from '../shared/shared-events.directive';
26
+ import { LocalizedNumericTextBoxMessagesDirective } from './localization/localized-numerictextbox-messages.directive';
27
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
23
28
  import * as i0 from "@angular/core";
24
29
  import * as i1 from "@progress/kendo-angular-intl";
25
30
  import * as i2 from "@progress/kendo-angular-l10n";
26
- import * as i3 from "@angular/common";
27
- import * as i4 from "@progress/kendo-angular-common";
28
- import * as i5 from "@progress/kendo-angular-icons";
29
- import * as i6 from "../shared/input-separator.component";
30
- import * as i7 from "../shared/shared-events.directive";
31
- import * as i8 from "./localization/localized-numerictextbox-messages.directive";
32
31
  const PARSABLE_OPTIONS = ['min', 'max', 'step', 'decimals'];
33
32
  const PARSABLE_DEFAULTS = {
34
33
  decimals: null,
@@ -969,7 +968,7 @@ export class NumericTextBoxComponent {
969
968
  }
970
969
  }
971
970
  NumericTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxComponent, deps: [{ token: i1.IntlService }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.Injector }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
972
- NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", autoCorrect: "autoCorrect", format: "format", max: "max", min: "min", decimals: "decimals", placeholder: "placeholder", step: "step", spinners: "spinners", rangeValidation: "rangeValidation", tabindex: "tabindex", tabIndex: "tabIndex", changeValueOnScroll: "changeValueOnScroll", selectOnFocus: "selectOnFocus", value: "value", maxlength: "maxlength", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-disabled": "this.disableClass", "class.k-input": "this.hostClasses", "class.k-numerictextbox": "this.hostClasses" } }, providers: [
971
+ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericTextBoxComponent, isStandalone: true, selector: "kendo-numerictextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", autoCorrect: "autoCorrect", format: "format", max: "max", min: "min", decimals: "decimals", placeholder: "placeholder", step: "step", spinners: "spinners", rangeValidation: "rangeValidation", tabindex: "tabindex", tabIndex: "tabIndex", changeValueOnScroll: "changeValueOnScroll", selectOnFocus: "selectOnFocus", value: "value", maxlength: "maxlength", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-disabled": "this.disableClass", "class.k-input": "this.hostClasses", "class.k-numerictextbox": "this.hostClasses" } }, providers: [
973
972
  LocalizationService,
974
973
  { provide: L10N_PREFIX, useValue: 'kendo.numerictextbox' },
975
974
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => NumericTextBoxComponent), multi: true },
@@ -1066,7 +1065,7 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1066
1065
  </button>
1067
1066
  </span>
1068
1067
  </ng-container>
1069
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i6.InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { kind: "directive", type: i7.SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: i8.LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]" }] });
1068
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]" }, { kind: "directive", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
1070
1069
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxComponent, decorators: [{
1071
1070
  type: Component,
1072
1071
  args: [{
@@ -1170,7 +1169,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1170
1169
  </button>
1171
1170
  </span>
1172
1171
  </ng-container>
1173
- `
1172
+ `,
1173
+ standalone: true,
1174
+ imports: [LocalizedNumericTextBoxMessagesDirective, SharedInputEventsDirective, NgIf, NgTemplateOutlet, InputSeparatorComponent, EventsOutsideAngularDirective, IconWrapperComponent]
1174
1175
  }]
1175
1176
  }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.Injector }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { focusableId: [{
1176
1177
  type: Input
@@ -3,15 +3,13 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { NumericTextBoxComponent } from './numerictextbox/numerictextbox.component';
7
- import { CommonModule } from '@angular/common';
8
- import { LocalizedNumericTextBoxMessagesDirective } from './numerictextbox/localization/localized-numerictextbox-messages.directive';
9
- import { NumericTextBoxCustomMessagesComponent } from './numerictextbox/localization/custom-messages.component';
10
- import { AdornmentsModule, EventsModule } from '@progress/kendo-angular-common';
11
- import { IconsModule } from '@progress/kendo-angular-icons';
12
- import { SharedModule } from './shared.module';
13
- import { SharedEventsModule } from './shared-events.module';
6
+ import { KENDO_NUMERICTEXTBOX } from './directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
14
8
  import * as i0 from "@angular/core";
9
+ import * as i1 from "./numerictextbox/numerictextbox.component";
10
+ import * as i2 from "./numerictextbox/localization/custom-messages.component";
11
+ import * as i3 from "@progress/kendo-angular-common";
12
+ //IMPORTANT: NgModule export kept for backwards compatibility
15
13
  /**
16
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
15
  * definition for the NumericTextBox component.
@@ -46,25 +44,13 @@ import * as i0 from "@angular/core";
46
44
  export class NumericTextBoxModule {
47
45
  }
48
46
  NumericTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- NumericTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxModule, declarations: [LocalizedNumericTextBoxMessagesDirective,
50
- NumericTextBoxComponent,
51
- NumericTextBoxCustomMessagesComponent], imports: [CommonModule, EventsModule, IconsModule, SharedModule, AdornmentsModule, SharedEventsModule], exports: [NumericTextBoxComponent,
52
- NumericTextBoxCustomMessagesComponent,
53
- AdornmentsModule] });
54
- NumericTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxModule, imports: [CommonModule, EventsModule, IconsModule, SharedModule, AdornmentsModule, SharedEventsModule, AdornmentsModule] });
47
+ NumericTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxModule, imports: [i1.NumericTextBoxComponent, i2.NumericTextBoxCustomMessagesComponent, i3.PrefixTemplateDirective, i3.SuffixTemplateDirective], exports: [i1.NumericTextBoxComponent, i2.NumericTextBoxCustomMessagesComponent, i3.PrefixTemplateDirective, i3.SuffixTemplateDirective] });
48
+ NumericTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxModule, providers: [IconsService], imports: [i1.NumericTextBoxComponent, i2.NumericTextBoxCustomMessagesComponent] });
55
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxModule, decorators: [{
56
50
  type: NgModule,
57
51
  args: [{
58
- declarations: [
59
- LocalizedNumericTextBoxMessagesDirective,
60
- NumericTextBoxComponent,
61
- NumericTextBoxCustomMessagesComponent
62
- ],
63
- exports: [
64
- NumericTextBoxComponent,
65
- NumericTextBoxCustomMessagesComponent,
66
- AdornmentsModule
67
- ],
68
- imports: [CommonModule, EventsModule, IconsModule, SharedModule, AdornmentsModule, SharedEventsModule]
52
+ imports: [...KENDO_NUMERICTEXTBOX],
53
+ exports: [...KENDO_NUMERICTEXTBOX],
54
+ providers: [IconsService]
69
55
  }]
70
56
  }] });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-inputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721814068,
13
- version: '16.5.0',
12
+ publishDate: 1721846961,
13
+ version: '16.6.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -4,16 +4,15 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ElementRef, forwardRef, Input, HostBinding, Renderer2, Output, EventEmitter, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { KendoInput } from '@progress/kendo-angular-common';
7
+ import { EventsOutsideAngularDirective, KendoInput } from '@progress/kendo-angular-common';
8
8
  import { validatePackage } from '@progress/kendo-licensing';
9
9
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
10
10
  import { packageMetadata } from '../package-metadata';
11
11
  import { Subscription } from 'rxjs';
12
12
  import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
13
+ import { SharedInputEventsDirective } from '../shared/shared-events.directive';
13
14
  import * as i0 from "@angular/core";
14
15
  import * as i1 from "@progress/kendo-angular-l10n";
15
- import * as i2 from "@progress/kendo-angular-common";
16
- import * as i3 from "../shared/shared-events.directive";
17
16
  export class RadioButtonComponent extends RadioCheckBoxBase {
18
17
  constructor(renderer, hostElement, cdr, ngZone, injector, localizationService) {
19
18
  super('radio', hostElement, renderer, cdr, ngZone, injector);
@@ -96,7 +95,7 @@ export class RadioButtonComponent extends RadioCheckBoxBase {
96
95
  }
97
96
  }
98
97
  RadioButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
99
- RadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadioButtonComponent, selector: "kendo-radiobutton", inputs: { checked: "checked" }, outputs: { checkedChange: "checkedChange" }, host: { properties: { "class.k-radio-wrap": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
98
+ RadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RadioButtonComponent, isStandalone: true, selector: "kendo-radiobutton", inputs: { checked: "checked" }, outputs: { checkedChange: "checkedChange" }, host: { properties: { "class.k-radio-wrap": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
100
99
  LocalizationService,
101
100
  { provide: L10N_PREFIX, useValue: 'kendo.radiobutton' },
102
101
  {
@@ -134,7 +133,7 @@ RadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
134
133
  }"
135
134
  />
136
135
  </ng-container>
137
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: i3.SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }] });
136
+ `, isInline: true, dependencies: [{ kind: "directive", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
138
137
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonComponent, decorators: [{
139
138
  type: Component,
140
139
  args: [{
@@ -179,7 +178,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
179
178
  }"
180
179
  />
181
180
  </ng-container>
182
- `
181
+ `,
182
+ standalone: true,
183
+ imports: [SharedInputEventsDirective, EventsOutsideAngularDirective]
183
184
  }]
184
185
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
185
186
  type: HostBinding,
@@ -62,11 +62,12 @@ export class RadioButtonDirective {
62
62
  }
63
63
  }
64
64
  RadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
65
- RadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RadioButtonDirective, selector: "input[kendoRadioButton]", inputs: { size: "size" }, host: { properties: { "class.k-radio": "this.kendoClass" } }, ngImport: i0 });
65
+ RadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RadioButtonDirective, isStandalone: true, selector: "input[kendoRadioButton]", inputs: { size: "size" }, host: { properties: { "class.k-radio": "this.kendoClass" } }, ngImport: i0 });
66
66
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonDirective, decorators: [{
67
67
  type: Directive,
68
68
  args: [{
69
- selector: 'input[kendoRadioButton]'
69
+ selector: 'input[kendoRadioButton]',
70
+ standalone: true
70
71
  }]
71
72
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { kendoClass: [{
72
73
  type: HostBinding,
@@ -2,13 +2,12 @@
2
2
  * Copyright © 2024 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 { EventsModule } from '@progress/kendo-angular-common';
6
5
  import { NgModule } from '@angular/core';
7
- import { RadioButtonDirective } from './radiobutton/radiobutton.directive';
8
- import { CommonModule } from '@angular/common';
9
- import { RadioButtonComponent } from './radiobutton/radiobutton.component';
10
- import { SharedEventsModule } from './shared-events.module';
6
+ import { KENDO_RADIOBUTTON } from './directives';
11
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "./radiobutton/radiobutton.component";
9
+ import * as i2 from "./radiobutton/radiobutton.directive";
10
+ //IMPORTANT: NgModule export kept for backwards compatibility
12
11
  /**
13
12
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
13
  * definition for the RadioButton directive and RadioButtonComponent.
@@ -43,13 +42,12 @@ import * as i0 from "@angular/core";
43
42
  export class RadioButtonModule {
44
43
  }
45
44
  RadioButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- RadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonModule, declarations: [RadioButtonDirective, RadioButtonComponent], imports: [CommonModule, EventsModule, SharedEventsModule], exports: [RadioButtonDirective, RadioButtonComponent] });
47
- RadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonModule, imports: [CommonModule, EventsModule, SharedEventsModule] });
45
+ RadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonModule, imports: [i1.RadioButtonComponent, i2.RadioButtonDirective], exports: [i1.RadioButtonComponent, i2.RadioButtonDirective] });
46
+ RadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonModule, imports: [i1.RadioButtonComponent] });
48
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioButtonModule, decorators: [{
49
48
  type: NgModule,
50
49
  args: [{
51
- declarations: [RadioButtonDirective, RadioButtonComponent],
52
- exports: [RadioButtonDirective, RadioButtonComponent],
53
- imports: [CommonModule, EventsModule, SharedEventsModule]
50
+ imports: [...KENDO_RADIOBUTTON],
51
+ exports: [...KENDO_RADIOBUTTON]
54
52
  }]
55
53
  }] });
@@ -20,7 +20,7 @@ export class RangeSliderCustomMessagesComponent extends RangeSliderMessages {
20
20
  }
21
21
  }
22
22
  RangeSliderCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- RangeSliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RangeSliderCustomMessagesComponent, selector: "kendo-rangeslider-messages", providers: [
23
+ RangeSliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RangeSliderCustomMessagesComponent, isStandalone: true, selector: "kendo-rangeslider-messages", providers: [
24
24
  {
25
25
  provide: RangeSliderMessages,
26
26
  useExisting: forwardRef(() => RangeSliderCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-rangeslider-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedRangeSliderMessagesDirective extends RangeSliderMessages {
17
17
  }
18
18
  }
19
19
  LocalizedRangeSliderMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedRangeSliderMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedRangeSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]", providers: [
20
+ LocalizedRangeSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedRangeSliderMessagesDirective, isStandalone: true, selector: "[kendoSliderLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: RangeSliderMessages,
23
23
  useExisting: forwardRef(() => LocalizedRangeSliderMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedRangeSliderMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoSliderLocalizedMessages]'
35
+ selector: '[kendoSliderLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -10,15 +10,14 @@ import { RangeSliderModel } from './rangeslider-model';
10
10
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
11
11
  import { eventValue, isStartHandle } from '../sliders-common/sliders-util';
12
12
  import { invokeElementMethod } from '../common/dom-utils';
13
- import { guid, isDocumentAvailable, Keys, KendoInput, anyChanged, hasObservers } from '@progress/kendo-angular-common';
13
+ import { guid, isDocumentAvailable, Keys, KendoInput, anyChanged, hasObservers, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent } from '@progress/kendo-angular-common';
14
14
  import { requiresZoneOnBlur } from '../common/utils';
15
15
  import { SliderBase } from '../sliders-common/slider-base';
16
+ import { SliderTicksComponent } from '../sliders-common/slider-ticks.component';
17
+ import { NgIf } from '@angular/common';
18
+ import { LocalizedRangeSliderMessagesDirective } from './localization/localized-rangeslider-messages.directive';
16
19
  import * as i0 from "@angular/core";
17
20
  import * as i1 from "@progress/kendo-angular-l10n";
18
- import * as i2 from "@angular/common";
19
- import * as i3 from "../sliders-common/slider-ticks.component";
20
- import * as i4 from "@progress/kendo-angular-common";
21
- import * as i5 from "./localization/localized-rangeslider-messages.directive";
22
21
  const PRESSED = 'k-pressed';
23
22
  /**
24
23
  * Represents the [Kendo UI RangeSlider component for Angular]({% slug overview_rangeslider %}).
@@ -431,7 +430,7 @@ export class RangeSliderComponent extends SliderBase {
431
430
  }
432
431
  }
433
432
  RangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
434
- RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RangeSliderComponent, selector: "kendo-rangeslider", inputs: { value: "value" }, providers: [
433
+ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RangeSliderComponent, isStandalone: true, selector: "kendo-rangeslider", inputs: { value: "value" }, providers: [
435
434
  LocalizationService,
436
435
  { provide: L10N_PREFIX, useValue: 'kendo.rangeslider' },
437
436
  { multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RangeSliderComponent) },
@@ -508,7 +507,7 @@ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
508
507
  </div>
509
508
  </div>
510
509
  <kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>
511
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { kind: "directive", type: i4.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "directive", type: i5.LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }] });
510
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
512
511
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderComponent, decorators: [{
513
512
  type: Component,
514
513
  args: [{
@@ -592,7 +591,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
592
591
  </div>
593
592
  </div>
594
593
  <kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>
595
- `
594
+ `,
595
+ standalone: true,
596
+ imports: [LocalizedRangeSliderMessagesDirective, EventsOutsideAngularDirective, NgIf, SliderTicksComponent, DraggableDirective, ResizeSensorComponent]
596
597
  }]
597
598
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { value: [{
598
599
  type: Input
@@ -3,13 +3,13 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { SlidersCommonModule } from './sliders-common/sliders-common.module';
8
- import { RangeSliderComponent } from './rangeslider/rangeslider.component';
9
- import { LocalizedRangeSliderMessagesDirective } from './rangeslider/localization/localized-rangeslider-messages.directive';
10
- import { RangeSliderCustomMessagesComponent } from './rangeslider/localization/custom-messages.component';
11
- import { LabelTemplateDirective } from './sliders-common/label-template.directive';
6
+ import { KENDO_RANGESLIDER } from './directives';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
12
8
  import * as i0 from "@angular/core";
9
+ import * as i1 from "./rangeslider/rangeslider.component";
10
+ import * as i2 from "./rangeslider/localization/custom-messages.component";
11
+ import * as i3 from "./sliders-common/label-template.directive";
12
+ //IMPORTANT: NgModule export kept for backwards compatibility
13
13
  /**
14
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
15
  * definition for the RangeSlider component.
@@ -45,27 +45,13 @@ import * as i0 from "@angular/core";
45
45
  export class RangeSliderModule {
46
46
  }
47
47
  RangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
- RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderModule, declarations: [RangeSliderComponent,
49
- RangeSliderCustomMessagesComponent,
50
- LocalizedRangeSliderMessagesDirective], imports: [CommonModule, SlidersCommonModule], exports: [RangeSliderComponent,
51
- RangeSliderCustomMessagesComponent,
52
- LocalizedRangeSliderMessagesDirective,
53
- LabelTemplateDirective] });
54
- RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderModule, imports: [CommonModule, SlidersCommonModule] });
48
+ RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderModule, imports: [i1.RangeSliderComponent, i2.RangeSliderCustomMessagesComponent, i3.LabelTemplateDirective], exports: [i1.RangeSliderComponent, i2.RangeSliderCustomMessagesComponent, i3.LabelTemplateDirective] });
49
+ RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderModule, providers: [ResizeBatchService], imports: [i1.RangeSliderComponent, i2.RangeSliderCustomMessagesComponent] });
55
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RangeSliderModule, decorators: [{
56
51
  type: NgModule,
57
52
  args: [{
58
- declarations: [
59
- RangeSliderComponent,
60
- RangeSliderCustomMessagesComponent,
61
- LocalizedRangeSliderMessagesDirective
62
- ],
63
- exports: [
64
- RangeSliderComponent,
65
- RangeSliderCustomMessagesComponent,
66
- LocalizedRangeSliderMessagesDirective,
67
- LabelTemplateDirective
68
- ],
69
- imports: [CommonModule, SlidersCommonModule]
53
+ imports: [...KENDO_RANGESLIDER],
54
+ exports: [...KENDO_RANGESLIDER],
55
+ providers: [ResizeBatchService]
70
56
  }]
71
57
  }] });
@@ -16,10 +16,11 @@ export class RatingHoveredItemTemplateDirective {
16
16
  }
17
17
  }
18
18
  RatingHoveredItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingHoveredItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
19
- RatingHoveredItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RatingHoveredItemTemplateDirective, selector: "[kendoRatingHoveredItemTemplate]", ngImport: i0 });
19
+ RatingHoveredItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RatingHoveredItemTemplateDirective, isStandalone: true, selector: "[kendoRatingHoveredItemTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingHoveredItemTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoRatingHoveredItemTemplate]'
23
+ selector: '[kendoRatingHoveredItemTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -16,10 +16,11 @@ export class RatingItemTemplateDirective {
16
16
  }
17
17
  }
18
18
  RatingItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
19
- RatingItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RatingItemTemplateDirective, selector: "[kendoRatingItemTemplate]", ngImport: i0 });
19
+ RatingItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RatingItemTemplateDirective, isStandalone: true, selector: "[kendoRatingItemTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingItemTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoRatingItemTemplate]'
23
+ selector: '[kendoRatingItemTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -16,10 +16,11 @@ export class RatingSelectedItemTemplateDirective {
16
16
  }
17
17
  }
18
18
  RatingSelectedItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingSelectedItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
19
- RatingSelectedItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RatingSelectedItemTemplateDirective, selector: "[kendoRatingSelectedItemTemplate]", ngImport: i0 });
19
+ RatingSelectedItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RatingSelectedItemTemplateDirective, isStandalone: true, selector: "[kendoRatingSelectedItemTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingSelectedItemTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoRatingSelectedItemTemplate]'
23
+ selector: '[kendoRatingSelectedItemTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -14,10 +14,10 @@ import { areSame } from '../common/utils';
14
14
  import { RatingItemTemplateDirective } from './directives/rating-item.directive';
15
15
  import { RatingHoveredItemTemplateDirective } from './directives/rating-hovered-item.directive';
16
16
  import { RatingSelectedItemTemplateDirective } from './directives/rating-selected-item.directive';
17
+ import { NgFor, NgClass, NgIf, NgTemplateOutlet, NgStyle } from '@angular/common';
18
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
17
19
  import * as i0 from "@angular/core";
18
20
  import * as i1 from "@progress/kendo-angular-l10n";
19
- import * as i2 from "@angular/common";
20
- import * as i3 from "@progress/kendo-angular-icons";
21
21
  /**
22
22
  * Represents the [Kendo UI Rating component for Angular]({% slug overview_rating %}).
23
23
  */
@@ -343,7 +343,7 @@ export class RatingComponent {
343
343
  }
344
344
  }
345
345
  RatingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
346
- RatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RatingComponent, selector: "kendo-rating", inputs: { disabled: "disabled", readonly: "readonly", tabindex: "tabindex", itemsCount: "itemsCount", value: "value", selection: "selection", precision: "precision", label: "label", icon: "icon", svgIcon: "svgIcon", svgIconOutline: "svgIconOutline" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.aria-disabled": "this.disabled", "class.k-disabled": "this.disabled", "attr.aria-readonly": "this.readonly", "class.k-readonly": "this.readonly", "attr.tabindex": "this.tabindex", "class.k-rating": "this.hostClass", "attr.dir": "this.direction", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-valuemin": "this.valueMin", "attr.aria-valuemax": "this.valueMax", "attr.aria-valuenow": "this.valueNow", "attr.role": "this.ariaRole" } }, providers: [
346
+ RatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RatingComponent, isStandalone: true, selector: "kendo-rating", inputs: { disabled: "disabled", readonly: "readonly", tabindex: "tabindex", itemsCount: "itemsCount", value: "value", selection: "selection", precision: "precision", label: "label", icon: "icon", svgIcon: "svgIcon", svgIconOutline: "svgIconOutline" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.aria-disabled": "this.disabled", "class.k-disabled": "this.disabled", "attr.aria-readonly": "this.readonly", "class.k-readonly": "this.readonly", "attr.tabindex": "this.tabindex", "class.k-rating": "this.hostClass", "attr.dir": "this.direction", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-valuemin": "this.valueMin", "attr.aria-valuemax": "this.valueMax", "attr.aria-valuenow": "this.valueNow", "attr.role": "this.ariaRole" } }, providers: [
347
347
  LocalizationService,
348
348
  { provide: L10N_PREFIX, useValue: 'kendo.rating' },
349
349
  {
@@ -492,7 +492,7 @@ RatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
492
492
  *ngIf="label"
493
493
  class="k-rating-label"
494
494
  >{{ label }}</span>
495
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
495
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
496
496
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingComponent, decorators: [{
497
497
  type: Component,
498
498
  args: [{
@@ -648,7 +648,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
648
648
  *ngIf="label"
649
649
  class="k-rating-label"
650
650
  >{{ label }}</span>
651
- `
651
+ `,
652
+ standalone: true,
653
+ imports: [NgFor, NgClass, NgIf, IconWrapperComponent, NgTemplateOutlet, NgStyle]
652
654
  }]
653
655
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { itemTemplate: [{
654
656
  type: ContentChild,
@@ -3,19 +3,14 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { RatingComponent } from './rating/rating.component';
8
- import { IconsModule } from '@progress/kendo-angular-icons';
9
- import { RatingItemTemplateDirective } from './rating/directives/rating-item.directive';
10
- import { RatingHoveredItemTemplateDirective } from './rating/directives/rating-hovered-item.directive';
11
- import { RatingSelectedItemTemplateDirective } from './rating/directives/rating-selected-item.directive';
6
+ import { KENDO_RATING } from './directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
12
8
  import * as i0 from "@angular/core";
13
- const PUBLIC_DIRECTIVES = [
14
- RatingComponent,
15
- RatingItemTemplateDirective,
16
- RatingHoveredItemTemplateDirective,
17
- RatingSelectedItemTemplateDirective
18
- ];
9
+ import * as i1 from "./rating/rating.component";
10
+ import * as i2 from "./rating/directives/rating-item.directive";
11
+ import * as i3 from "./rating/directives/rating-hovered-item.directive";
12
+ import * as i4 from "./rating/directives/rating-selected-item.directive";
13
+ //IMPORTANT: NgModule export kept for backwards compatibility
19
14
  /**
20
15
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
21
16
  * definition for the Rating component.
@@ -50,19 +45,13 @@ const PUBLIC_DIRECTIVES = [
50
45
  export class RatingModule {
51
46
  }
52
47
  RatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
53
- RatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RatingModule, declarations: [RatingComponent,
54
- RatingItemTemplateDirective,
55
- RatingHoveredItemTemplateDirective,
56
- RatingSelectedItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [RatingComponent,
57
- RatingItemTemplateDirective,
58
- RatingHoveredItemTemplateDirective,
59
- RatingSelectedItemTemplateDirective] });
60
- RatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingModule, imports: [CommonModule, IconsModule] });
48
+ RatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RatingModule, imports: [i1.RatingComponent, i2.RatingItemTemplateDirective, i3.RatingHoveredItemTemplateDirective, i4.RatingSelectedItemTemplateDirective], exports: [i1.RatingComponent, i2.RatingItemTemplateDirective, i3.RatingHoveredItemTemplateDirective, i4.RatingSelectedItemTemplateDirective] });
49
+ RatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingModule, providers: [IconsService], imports: [i1.RatingComponent] });
61
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RatingModule, decorators: [{
62
51
  type: NgModule,
63
52
  args: [{
64
- declarations: [PUBLIC_DIRECTIVES],
65
- exports: [PUBLIC_DIRECTIVES],
66
- imports: [CommonModule, IconsModule]
53
+ imports: [...KENDO_RATING],
54
+ exports: [...KENDO_RATING],
55
+ providers: [IconsService]
67
56
  }]
68
57
  }] });
@@ -38,12 +38,13 @@ export class InputSeparatorComponent {
38
38
  }
39
39
  }
40
40
  InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InputSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
41
+ InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InputSeparatorComponent, isStandalone: true, selector: "kendo-input-separator, kendo-textbox-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
42
42
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InputSeparatorComponent, decorators: [{
43
43
  type: Component,
44
44
  args: [{
45
45
  selector: 'kendo-input-separator, kendo-textbox-separator',
46
- template: ``
46
+ template: ``,
47
+ standalone: true
47
48
  }]
48
49
  }], propDecorators: { orientation: [{
49
50
  type: Input
@@ -74,11 +74,12 @@ export class SharedInputEventsDirective {
74
74
  }
75
75
  }
76
76
  SharedInputEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedInputEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
77
- SharedInputEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
77
+ SharedInputEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SharedInputEventsDirective, isStandalone: true, selector: "[kendoInputSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
78
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedInputEventsDirective, decorators: [{
79
79
  type: Directive,
80
80
  args: [{
81
- selector: '[kendoInputSharedEvents]'
81
+ selector: '[kendoInputSharedEvents]',
82
+ standalone: true
82
83
  }]
83
84
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostElement: [{
84
85
  type: Input
@@ -204,7 +204,7 @@ export class TextAreaDirective {
204
204
  }
205
205
  }
206
206
  TextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
207
- TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-input-md": "this.elementClasses", "class.k-rounded-md": "this.elementClasses", "class.k-input-solid": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
207
+ TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaDirective, isStandalone: true, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-input-md": "this.elementClasses", "class.k-rounded-md": "this.elementClasses", "class.k-input-solid": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
208
208
  provide: NG_VALUE_ACCESSOR,
209
209
  useExisting: forwardRef(() => TextAreaDirective),
210
210
  multi: true
@@ -223,7 +223,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
223
223
  provide: KendoInput,
224
224
  useExisting: forwardRef(() => TextAreaDirective)
225
225
  }],
226
- selector: 'textarea[kendoTextArea]'
226
+ selector: 'textarea[kendoTextArea]',
227
+ standalone: true
227
228
  }]
228
229
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: undefined, decorators: [{
229
230
  type: Optional