@progress/kendo-angular-inputs 16.5.0 → 16.6.0-develop.10

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 (153) hide show
  1. package/NOTICE.txt +12 -19
  2. package/checkbox/checkbox.component.d.ts +1 -1
  3. package/checkbox/checkbox.directive.d.ts +2 -2
  4. package/checkbox.module.d.ts +3 -6
  5. package/colorpicker/color-contrast-svg.component.d.ts +1 -1
  6. package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
  7. package/colorpicker/color-gradient.component.d.ts +1 -1
  8. package/colorpicker/color-input.component.d.ts +1 -1
  9. package/colorpicker/color-palette.component.d.ts +1 -1
  10. package/colorpicker/colorpicker.component.d.ts +1 -1
  11. package/colorpicker/contrast-validation.component.d.ts +1 -1
  12. package/colorpicker/contrast.component.d.ts +1 -1
  13. package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
  14. package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
  15. package/colorpicker/flatcolorpicker.component.d.ts +1 -1
  16. package/colorpicker/localization/custom-messages.component.d.ts +1 -1
  17. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
  18. package/colorpicker.module.d.ts +5 -21
  19. package/directives.d.ts +111 -0
  20. package/esm2020/checkbox/checkbox.component.mjs +7 -6
  21. package/esm2020/checkbox/checkbox.directive.mjs +4 -3
  22. package/esm2020/checkbox.module.mjs +8 -10
  23. package/esm2020/colorpicker/color-contrast-svg.component.mjs +6 -4
  24. package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +5 -2
  25. package/esm2020/colorpicker/color-gradient.component.mjs +11 -12
  26. package/esm2020/colorpicker/color-input.component.mjs +8 -7
  27. package/esm2020/colorpicker/color-palette.component.mjs +7 -5
  28. package/esm2020/colorpicker/colorpicker.component.mjs +9 -8
  29. package/esm2020/colorpicker/contrast-validation.component.mjs +7 -5
  30. package/esm2020/colorpicker/contrast.component.mjs +8 -6
  31. package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +3 -2
  32. package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +7 -5
  33. package/esm2020/colorpicker/flatcolorpicker.component.mjs +7 -9
  34. package/esm2020/colorpicker/localization/custom-messages.component.mjs +3 -2
  35. package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +3 -2
  36. package/esm2020/colorpicker.module.mjs +15 -84
  37. package/esm2020/directives.mjs +188 -0
  38. package/esm2020/formfield/error.component.mjs +3 -2
  39. package/esm2020/formfield/formfield.component.mjs +6 -4
  40. package/esm2020/formfield/hint.component.mjs +3 -2
  41. package/esm2020/formfield.module.mjs +9 -9
  42. package/esm2020/index.mjs +1 -0
  43. package/esm2020/inputs.module.mjs +50 -56
  44. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +9 -8
  45. package/esm2020/maskedtextbox.module.mjs +7 -30
  46. package/esm2020/numerictextbox/localization/custom-messages.component.mjs +3 -2
  47. package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +3 -2
  48. package/esm2020/numerictextbox/numerictextbox.component.mjs +12 -11
  49. package/esm2020/numerictextbox.module.mjs +11 -25
  50. package/esm2020/package-metadata.mjs +2 -2
  51. package/esm2020/radiobutton/radiobutton.component.mjs +7 -6
  52. package/esm2020/radiobutton/radiobutton.directive.mjs +3 -2
  53. package/esm2020/radiobutton.module.mjs +8 -10
  54. package/esm2020/rangeslider/localization/custom-messages.component.mjs +3 -2
  55. package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +3 -2
  56. package/esm2020/rangeslider/rangeslider.component.mjs +9 -8
  57. package/esm2020/rangeslider.module.mjs +11 -25
  58. package/esm2020/rating/directives/rating-hovered-item.directive.mjs +3 -2
  59. package/esm2020/rating/directives/rating-item.directive.mjs +3 -2
  60. package/esm2020/rating/directives/rating-selected-item.directive.mjs +3 -2
  61. package/esm2020/rating/rating.component.mjs +7 -5
  62. package/esm2020/rating.module.mjs +12 -23
  63. package/esm2020/shared/input-separator.component.mjs +3 -2
  64. package/esm2020/shared/shared-events.directive.mjs +3 -2
  65. package/esm2020/shared/textarea.directive.mjs +3 -2
  66. package/esm2020/shared.module.mjs +3 -3
  67. package/esm2020/signature/localization/custom-messages.component.mjs +3 -2
  68. package/esm2020/signature/localization/localized-signature-messages.directive.mjs +3 -2
  69. package/esm2020/signature/signature.component.mjs +9 -7
  70. package/esm2020/signature.module.mjs +13 -32
  71. package/esm2020/slider/localization/custom-messages.component.mjs +3 -2
  72. package/esm2020/slider/localization/localized-slider-messages.directive.mjs +3 -2
  73. package/esm2020/slider/slider.component.mjs +10 -9
  74. package/esm2020/slider.module.mjs +13 -27
  75. package/esm2020/sliders-common/label-template.directive.mjs +3 -2
  76. package/esm2020/sliders-common/slider-ticks.component.mjs +6 -4
  77. package/esm2020/switch/localization/custom-messages.component.mjs +3 -2
  78. package/esm2020/switch/localization/localized-switch-messages.directive.mjs +3 -2
  79. package/esm2020/switch/switch.component.mjs +6 -4
  80. package/esm2020/switch.module.mjs +10 -23
  81. package/esm2020/textarea/textarea-prefix.component.mjs +3 -2
  82. package/esm2020/textarea/textarea-suffix.component.mjs +3 -2
  83. package/esm2020/textarea/textarea.component.mjs +9 -8
  84. package/esm2020/textarea.module.mjs +9 -31
  85. package/esm2020/textbox/localization/custom-messages.component.mjs +3 -2
  86. package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +3 -2
  87. package/esm2020/textbox/textbox-prefix.directive.mjs +3 -2
  88. package/esm2020/textbox/textbox-suffix.directive.mjs +3 -2
  89. package/esm2020/textbox/textbox.component.mjs +11 -10
  90. package/esm2020/textbox/textbox.directive.mjs +3 -2
  91. package/esm2020/textbox.module.mjs +14 -48
  92. package/fesm2015/progress-kendo-angular-inputs.mjs +9234 -9326
  93. package/fesm2020/progress-kendo-angular-inputs.mjs +9089 -9181
  94. package/formfield/error.component.d.ts +1 -1
  95. package/formfield/formfield.component.d.ts +1 -1
  96. package/formfield/hint.component.d.ts +1 -1
  97. package/formfield.module.d.ts +4 -5
  98. package/index.d.ts +1 -0
  99. package/inputs.module.d.ts +40 -15
  100. package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
  101. package/maskedtextbox.module.d.ts +1 -5
  102. package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
  103. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
  104. package/numerictextbox/numerictextbox.component.d.ts +2 -2
  105. package/numerictextbox.module.d.ts +4 -9
  106. package/package.json +9 -9
  107. package/radiobutton/radiobutton.component.d.ts +1 -1
  108. package/radiobutton/radiobutton.directive.d.ts +1 -1
  109. package/radiobutton.module.d.ts +3 -6
  110. package/rangeslider/localization/custom-messages.component.d.ts +1 -1
  111. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
  112. package/rangeslider/rangeslider.component.d.ts +1 -1
  113. package/rangeslider.module.d.ts +2 -5
  114. package/rating/directives/rating-hovered-item.directive.d.ts +1 -1
  115. package/rating/directives/rating-item.directive.d.ts +1 -1
  116. package/rating/directives/rating-selected-item.directive.d.ts +1 -1
  117. package/rating/rating.component.d.ts +1 -1
  118. package/rating.module.d.ts +1 -3
  119. package/shared/input-separator.component.d.ts +1 -1
  120. package/shared/shared-events.directive.d.ts +1 -1
  121. package/shared/textarea.directive.d.ts +1 -1
  122. package/shared.module.d.ts +1 -1
  123. package/signature/localization/custom-messages.component.d.ts +1 -1
  124. package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
  125. package/signature/signature.component.d.ts +1 -1
  126. package/signature.module.d.ts +1 -6
  127. package/slider/localization/custom-messages.component.d.ts +1 -1
  128. package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
  129. package/slider/slider.component.d.ts +1 -1
  130. package/slider.module.d.ts +2 -7
  131. package/sliders-common/label-template.directive.d.ts +1 -1
  132. package/sliders-common/slider-ticks.component.d.ts +1 -1
  133. package/switch/localization/custom-messages.component.d.ts +1 -1
  134. package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
  135. package/switch/switch.component.d.ts +1 -1
  136. package/switch.module.d.ts +1 -4
  137. package/textarea/textarea-prefix.component.d.ts +1 -1
  138. package/textarea/textarea-suffix.component.d.ts +1 -1
  139. package/textarea/textarea.component.d.ts +1 -1
  140. package/textarea.module.d.ts +4 -9
  141. package/textbox/localization/custom-messages.component.d.ts +1 -1
  142. package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
  143. package/textbox/textbox-prefix.directive.d.ts +1 -1
  144. package/textbox/textbox-suffix.directive.d.ts +1 -1
  145. package/textbox/textbox.component.d.ts +1 -1
  146. package/textbox/textbox.directive.d.ts +1 -1
  147. package/textbox.module.d.ts +5 -12
  148. package/colorpicker/focus-on-dom-ready.directive.d.ts +0 -18
  149. package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +0 -29
  150. package/esm2020/shared-events.module.mjs +0 -22
  151. package/esm2020/sliders-common/sliders-common.module.mjs +0 -42
  152. package/shared-events.module.d.ts +0 -14
  153. package/sliders-common/sliders-common.module.d.ts +0 -17
@@ -3,12 +3,10 @@
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 { MaskedTextBoxComponent } from './maskedtextbox/maskedtextbox.component';
7
- import { CommonModule } from '@angular/common';
8
- import { AdornmentsModule, EventsModule } from '@progress/kendo-angular-common';
9
- import { SharedModule } from './shared.module';
10
- import { SharedEventsModule } from './shared-events.module';
6
+ import { KENDO_MASKEDTEXTBOX } from './directives';
11
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "./maskedtextbox/maskedtextbox.component";
9
+ //IMPORTANT: NgModule export kept for backwards compatibility
12
10
  /**
13
11
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
12
  * definition for the MaskedTextBox component.
@@ -43,33 +41,12 @@ import * as i0 from "@angular/core";
43
41
  export class MaskedTextBoxModule {
44
42
  }
45
43
  MaskedTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, declarations: [MaskedTextBoxComponent], imports: [CommonModule,
47
- EventsModule,
48
- SharedModule,
49
- AdornmentsModule,
50
- SharedEventsModule], exports: [MaskedTextBoxComponent,
51
- AdornmentsModule] });
52
- MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, imports: [CommonModule,
53
- EventsModule,
54
- SharedModule,
55
- AdornmentsModule,
56
- SharedEventsModule, AdornmentsModule] });
44
+ MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, imports: [i1.MaskedTextBoxComponent], exports: [i1.MaskedTextBoxComponent] });
45
+ MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, imports: [KENDO_MASKEDTEXTBOX] });
57
46
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, decorators: [{
58
47
  type: NgModule,
59
48
  args: [{
60
- declarations: [
61
- MaskedTextBoxComponent
62
- ],
63
- exports: [
64
- MaskedTextBoxComponent,
65
- AdornmentsModule
66
- ],
67
- imports: [
68
- CommonModule,
69
- EventsModule,
70
- SharedModule,
71
- AdornmentsModule,
72
- SharedEventsModule
73
- ],
49
+ imports: [...KENDO_MASKEDTEXTBOX],
50
+ exports: [...KENDO_MASKEDTEXTBOX]
74
51
  }]
75
52
  }] });
@@ -20,7 +20,7 @@ export class NumericTextBoxCustomMessagesComponent extends NumericTextBoxMessage
20
20
  }
21
21
  }
22
22
  NumericTextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- NumericTextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages", providers: [
23
+ NumericTextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericTextBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-numerictextbox-messages", providers: [
24
24
  {
25
25
  provide: NumericTextBoxMessages,
26
26
  useExisting: forwardRef(() => NumericTextBoxCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-numerictextbox-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedNumericTextBoxMessagesDirective extends NumericTextBoxMess
17
17
  }
18
18
  }
19
19
  LocalizedNumericTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedNumericTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedNumericTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]", providers: [
20
+ LocalizedNumericTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedNumericTextBoxMessagesDirective, isStandalone: true, selector: "[kendoNumericTextBoxLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: NumericTextBoxMessages,
23
23
  useExisting: forwardRef(() => LocalizedNumericTextBoxMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedNumericTextBoxMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoNumericTextBoxLocalizedMessages]'
35
+ selector: '[kendoNumericTextBoxLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -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,
@@ -393,7 +392,7 @@ export class NumericTextBoxComponent {
393
392
  }
394
393
  /**
395
394
  * The `rounded` property specifies the border radius of the NumericTextBox
396
- * ([see example](slug appearance_numerictextbox#toc-roundness)).
395
+ * ([see example](slug:appearance_numerictextbox#toc-roundness)).
397
396
  * The possible values are:
398
397
  * * `small`
399
398
  * * `medium` (default)
@@ -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: 1722606842,
13
+ version: '16.6.0-develop.10',
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,