@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
@@ -19,14 +19,14 @@ export const SHARED_DIRECTIVES = [
19
19
  export class SharedModule {
20
20
  }
21
21
  SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
- SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, declarations: [InputSeparatorComponent,
22
+ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [InputSeparatorComponent,
23
23
  TextAreaDirective], exports: [InputSeparatorComponent,
24
24
  TextAreaDirective] });
25
- SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule });
25
+ SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [InputSeparatorComponent] });
26
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
27
27
  type: NgModule,
28
28
  args: [{
29
- declarations: [SHARED_DIRECTIVES],
29
+ imports: [SHARED_DIRECTIVES],
30
30
  exports: [SHARED_DIRECTIVES]
31
31
  }]
32
32
  }] });
@@ -20,7 +20,7 @@ export class SignatureCustomMessagesComponent extends SignatureMessages {
20
20
  }
21
21
  }
22
22
  SignatureCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SignatureCustomMessagesComponent, selector: "kendo-signature-messages", providers: [
23
+ SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SignatureCustomMessagesComponent, isStandalone: true, selector: "kendo-signature-messages", providers: [
24
24
  {
25
25
  provide: SignatureMessages,
26
26
  useExisting: forwardRef(() => SignatureCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-signature-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedSignatureMessagesDirective extends SignatureMessages {
17
17
  }
18
18
  }
19
19
  LocalizedSignatureMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedSignatureMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]", providers: [
20
+ LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSignatureMessagesDirective, isStandalone: true, selector: "[kendoSignatureLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: SignatureMessages,
23
23
  useExisting: forwardRef(() => LocalizedSignatureMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedSignatureMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoSignatureLocalizedMessages]'
35
+ selector: '[kendoSignatureLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -14,12 +14,12 @@ import { packageMetadata } from '../package-metadata';
14
14
  import { SignatureCloseEvent, SignatureOpenEvent } from './events';
15
15
  import { xIcon, hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
16
16
  import { take } from 'rxjs/operators';
17
+ import { NgIf } from '@angular/common';
18
+ import { LocalizedSignatureMessagesDirective } from './localization/localized-signature-messages.directive';
19
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
20
+ import { DialogComponent } from '@progress/kendo-angular-dialog';
17
21
  import * as i0 from "@angular/core";
18
22
  import * as i1 from "@progress/kendo-angular-l10n";
19
- import * as i2 from "@progress/kendo-angular-buttons";
20
- import * as i3 from "@angular/common";
21
- import * as i4 from "@progress/kendo-angular-dialog";
22
- import * as i5 from "./localization/localized-signature-messages.directive";
23
23
  const noop = () => { };
24
24
  let _id = 0;
25
25
  const nextId = () => 'k-signature-focusable-' + _id++;
@@ -611,7 +611,7 @@ export class SignatureComponent {
611
611
  }
612
612
  }
613
613
  SignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
614
- SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SignatureComponent, selector: "kendo-signature", inputs: { focusableId: "focusableId", readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", exportScale: "exportScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
614
+ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SignatureComponent, isStandalone: true, selector: "kendo-signature", inputs: { focusableId: "focusableId", readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", exportScale: "exportScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
615
615
  LocalizationService,
616
616
  { provide: L10N_PREFIX, useValue: 'kendo.signature' },
617
617
  { multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
@@ -714,7 +714,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
714
714
  [parentLocalization]="localization">
715
715
  </kendo-signature>
716
716
  </kendo-dialog>
717
- `, isInline: true, dependencies: [{ kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: SignatureComponent, selector: "kendo-signature", inputs: ["focusableId", "readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }, { kind: "directive", type: i5.LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
717
+ `, isInline: true, dependencies: [{ kind: "component", type: SignatureComponent, selector: "kendo-signature", inputs: ["focusableId", "readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }, { kind: "directive", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
718
718
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureComponent, decorators: [{
719
719
  type: Component,
720
720
  args: [{
@@ -825,7 +825,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
825
825
  [parentLocalization]="localization">
826
826
  </kendo-signature>
827
827
  </kendo-dialog>
828
- `
828
+ `,
829
+ standalone: true,
830
+ imports: [LocalizedSignatureMessagesDirective, NgIf, ButtonComponent, DialogComponent]
829
831
  }]
830
832
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { staticHostClasses: [{
831
833
  type: HostBinding,
@@ -2,14 +2,16 @@
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 { CommonModule } from '@angular/common';
6
5
  import { NgModule } from '@angular/core';
7
- import { ButtonModule } from '@progress/kendo-angular-buttons';
8
- import { DialogsModule } from '@progress/kendo-angular-dialog';
9
- import { IconsModule } from '@progress/kendo-angular-icons';
10
- import { LocalizedSignatureMessagesDirective, SignatureCustomMessagesComponent } from './signature/localization';
11
- import { SignatureComponent } from './signature/signature.component';
6
+ import { KENDO_SIGNATURE } from './directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
8
+ import { PopupService } from '@progress/kendo-angular-popup';
9
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
10
+ import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
12
11
  import * as i0 from "@angular/core";
12
+ import * as i1 from "./signature/signature.component";
13
+ import * as i2 from "./signature/localization/custom-messages.component";
14
+ //IMPORTANT: NgModule export kept for backwards compatibility
13
15
  /**
14
16
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
17
  * definition for the Signature component.
@@ -44,34 +46,13 @@ import * as i0 from "@angular/core";
44
46
  export class SignatureModule {
45
47
  }
46
48
  SignatureModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
47
- SignatureModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SignatureModule, declarations: [SignatureComponent,
48
- SignatureCustomMessagesComponent,
49
- LocalizedSignatureMessagesDirective], imports: [ButtonModule,
50
- CommonModule,
51
- DialogsModule,
52
- IconsModule], exports: [SignatureComponent,
53
- SignatureCustomMessagesComponent] });
54
- SignatureModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureModule, imports: [ButtonModule,
55
- CommonModule,
56
- DialogsModule,
57
- IconsModule] });
49
+ SignatureModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SignatureModule, imports: [i1.SignatureComponent, i2.SignatureCustomMessagesComponent], exports: [i1.SignatureComponent, i2.SignatureCustomMessagesComponent] });
50
+ SignatureModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [KENDO_SIGNATURE] });
58
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SignatureModule, decorators: [{
59
52
  type: NgModule,
60
53
  args: [{
61
- declarations: [
62
- SignatureComponent,
63
- SignatureCustomMessagesComponent,
64
- LocalizedSignatureMessagesDirective
65
- ],
66
- exports: [
67
- SignatureComponent,
68
- SignatureCustomMessagesComponent
69
- ],
70
- imports: [
71
- ButtonModule,
72
- CommonModule,
73
- DialogsModule,
74
- IconsModule
75
- ]
54
+ imports: [...KENDO_SIGNATURE],
55
+ exports: [...KENDO_SIGNATURE],
56
+ providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService]
76
57
  }]
77
58
  }] });
@@ -20,7 +20,7 @@ export class SliderCustomMessagesComponent extends SliderMessages {
20
20
  }
21
21
  }
22
22
  SliderCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- SliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SliderCustomMessagesComponent, selector: "kendo-slider-messages", providers: [
23
+ SliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SliderCustomMessagesComponent, isStandalone: true, selector: "kendo-slider-messages", providers: [
24
24
  {
25
25
  provide: SliderMessages,
26
26
  useExisting: forwardRef(() => SliderCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-slider-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedSliderMessagesDirective extends SliderMessages {
17
17
  }
18
18
  }
19
19
  LocalizedSliderMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedSliderMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]", providers: [
20
+ LocalizedSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSliderMessagesDirective, isStandalone: true, selector: "[kendoSliderLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: SliderMessages,
23
23
  useExisting: forwardRef(() => LocalizedSliderMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedSliderMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoSliderLocalizedMessages]'
35
+ selector: '[kendoSliderLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -13,16 +13,15 @@ import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
13
13
  import { areSame, isPresent, requiresZoneOnBlur } from '../common/utils';
14
14
  import { eventValue, decreaseValueToStep, increaseValueToStep } from '../sliders-common/sliders-util';
15
15
  import { invokeElementMethod } from '../common/dom-utils';
16
- import { guid, isDocumentAvailable, hasObservers, KendoInput, anyChanged, Keys } from '@progress/kendo-angular-common';
16
+ import { guid, isDocumentAvailable, hasObservers, KendoInput, anyChanged, Keys, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent } from '@progress/kendo-angular-common';
17
17
  import { SliderBase } from '../sliders-common/slider-base';
18
18
  import { caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
19
+ import { SliderTicksComponent } from '../sliders-common/slider-ticks.component';
20
+ import { NgIf } from '@angular/common';
21
+ import { LocalizedSliderMessagesDirective } from './localization/localized-slider-messages.directive';
22
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
19
23
  import * as i0 from "@angular/core";
20
24
  import * as i1 from "@progress/kendo-angular-l10n";
21
- import * as i2 from "@angular/common";
22
- import * as i3 from "../sliders-common/slider-ticks.component";
23
- import * as i4 from "@progress/kendo-angular-common";
24
- import * as i5 from "@progress/kendo-angular-buttons";
25
- import * as i6 from "./localization/localized-slider-messages.directive";
26
25
  const PRESSED = 'k-pressed';
27
26
  /**
28
27
  * Represents the [Kendo UI Slider component for Angular]({% slug overview_slider %}).
@@ -439,7 +438,7 @@ export class SliderComponent extends SliderBase {
439
438
  }
440
439
  }
441
440
  SliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
442
- SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SliderComponent, selector: "kendo-slider", inputs: { focusableId: "focusableId", dragHandleTitle: "dragHandleTitle", incrementTitle: "incrementTitle", animate: "animate", decrementTitle: "decrementTitle", showButtons: "showButtons", value: "value", tabIndex: "tabIndex" }, providers: [
441
+ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SliderComponent, isStandalone: true, selector: "kendo-slider", inputs: { focusableId: "focusableId", dragHandleTitle: "dragHandleTitle", incrementTitle: "incrementTitle", animate: "animate", decrementTitle: "decrementTitle", showButtons: "showButtons", value: "value", tabIndex: "tabIndex" }, providers: [
443
442
  LocalizationService,
444
443
  { provide: L10N_PREFIX, useValue: 'kendo.slider' },
445
444
  { multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent) },
@@ -524,7 +523,7 @@ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
524
523
  aria-hidden="true"
525
524
  ></button>
526
525
  <kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
527
- `, 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: "component", type: i5.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i6.LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }] });
526
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { 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"] }] });
528
527
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderComponent, decorators: [{
529
528
  type: Component,
530
529
  args: [{
@@ -616,7 +615,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
616
615
  aria-hidden="true"
617
616
  ></button>
618
617
  <kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
619
- `
618
+ `,
619
+ standalone: true,
620
+ imports: [LocalizedSliderMessagesDirective, NgIf, ButtonComponent, EventsOutsideAngularDirective, SliderTicksComponent, DraggableDirective, ResizeSensorComponent]
620
621
  }]
621
622
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { focusableId: [{
622
623
  type: Input
@@ -3,15 +3,15 @@
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 { SliderComponent } from './slider/slider.component';
8
- import { SlidersCommonModule } from './sliders-common/sliders-common.module';
9
- import { LocalizedSliderMessagesDirective } from './slider/localization/localized-slider-messages.directive';
10
- import { SliderCustomMessagesComponent } from './slider/localization/custom-messages.component';
11
- import { LabelTemplateDirective } from './sliders-common/label-template.directive';
12
- import { IconsModule } from '@progress/kendo-angular-icons';
13
- import { ButtonModule } from '@progress/kendo-angular-buttons';
6
+ import { KENDO_SLIDER } from './directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
8
+ import { PopupService } from '@progress/kendo-angular-popup';
9
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
14
10
  import * as i0 from "@angular/core";
11
+ import * as i1 from "./slider/slider.component";
12
+ import * as i2 from "./slider/localization/custom-messages.component";
13
+ import * as i3 from "./sliders-common/label-template.directive";
14
+ //IMPORTANT: NgModule export kept for backwards compatibility
15
15
  /**
16
16
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
17
  * definition for the Slider component.
@@ -47,27 +47,13 @@ import * as i0 from "@angular/core";
47
47
  export class SliderModule {
48
48
  }
49
49
  SliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
- SliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SliderModule, declarations: [SliderComponent,
51
- SliderCustomMessagesComponent,
52
- LocalizedSliderMessagesDirective], imports: [CommonModule, SlidersCommonModule, IconsModule, ButtonModule], exports: [SliderComponent,
53
- SliderCustomMessagesComponent,
54
- LabelTemplateDirective,
55
- LocalizedSliderMessagesDirective] });
56
- SliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderModule, imports: [CommonModule, SlidersCommonModule, IconsModule, ButtonModule] });
50
+ SliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SliderModule, imports: [i1.SliderComponent, i2.SliderCustomMessagesComponent, i3.LabelTemplateDirective], exports: [i1.SliderComponent, i2.SliderCustomMessagesComponent, i3.LabelTemplateDirective] });
51
+ SliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.SliderComponent, i2.SliderCustomMessagesComponent] });
57
52
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderModule, decorators: [{
58
53
  type: NgModule,
59
54
  args: [{
60
- declarations: [
61
- SliderComponent,
62
- SliderCustomMessagesComponent,
63
- LocalizedSliderMessagesDirective
64
- ],
65
- exports: [
66
- SliderComponent,
67
- SliderCustomMessagesComponent,
68
- LabelTemplateDirective,
69
- LocalizedSliderMessagesDirective
70
- ],
71
- imports: [CommonModule, SlidersCommonModule, IconsModule, ButtonModule]
55
+ imports: [...KENDO_SLIDER],
56
+ exports: [...KENDO_SLIDER],
57
+ providers: [IconsService, PopupService, ResizeBatchService]
72
58
  }]
73
59
  }] });
@@ -34,11 +34,12 @@ export class LabelTemplateDirective {
34
34
  }
35
35
  }
36
36
  LabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
37
- LabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LabelTemplateDirective, selector: "[kendoSliderLabelTemplate]", ngImport: i0 });
37
+ LabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LabelTemplateDirective, isStandalone: true, selector: "[kendoSliderLabelTemplate]", ngImport: i0 });
38
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelTemplateDirective, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
- selector: '[kendoSliderLabelTemplate]'
41
+ selector: '[kendoSliderLabelTemplate]',
42
+ standalone: true
42
43
  }]
43
44
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
44
45
  type: Optional
@@ -5,8 +5,8 @@
5
5
  /* eslint-disable @angular-eslint/component-selector */
6
6
  import { Component, Input, QueryList, ViewChildren, HostBinding, TemplateRef } from '@angular/core';
7
7
  import { calculateTicksCount, calculateValueFromTick } from './sliders-util';
8
+ import { NgFor, NgClass, NgSwitch, NgSwitchCase, NgTemplateOutlet } from '@angular/common';
8
9
  import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/common";
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -59,7 +59,7 @@ export class SliderTicksComponent {
59
59
  }
60
60
  }
61
61
  SliderTicksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderTicksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
- SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: { tickTitle: "tickTitle", vertical: "vertical", step: "step", largeStep: "largeStep", min: "min", max: "max", labelTemplate: "labelTemplate" }, host: { properties: { "class": "this.wrapperClasses" } }, viewQueries: [{ propertyName: "tickElements", predicate: ["tickElement"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
62
+ SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SliderTicksComponent, isStandalone: true, selector: "[kendoSliderTicks]", inputs: { tickTitle: "tickTitle", vertical: "vertical", step: "step", largeStep: "largeStep", min: "min", max: "max", labelTemplate: "labelTemplate" }, host: { properties: { "class": "this.wrapperClasses" } }, viewQueries: [{ propertyName: "tickElements", predicate: ["tickElement"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
63
63
  <li #tickElement *ngFor="let tick of ticks;"
64
64
  [ngClass]="tick.classes"
65
65
  title="{{ tickTitle(tick.value) }}"
@@ -77,7 +77,7 @@ SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
77
77
  <ng-template #defaultLabel let-value="value">
78
78
  {{ tickTitle(value) }}
79
79
  </ng-template>
80
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
80
+ `, 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: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
81
81
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SliderTicksComponent, decorators: [{
82
82
  type: Component,
83
83
  args: [{
@@ -100,7 +100,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
100
100
  <ng-template #defaultLabel let-value="value">
101
101
  {{ tickTitle(value) }}
102
102
  </ng-template>
103
- `
103
+ `,
104
+ standalone: true,
105
+ imports: [NgFor, NgClass, NgSwitch, NgSwitchCase, NgTemplateOutlet]
104
106
  }]
105
107
  }], propDecorators: { wrapperClasses: [{
106
108
  type: HostBinding,
@@ -20,7 +20,7 @@ export class SwitchCustomMessagesComponent extends Messages {
20
20
  }
21
21
  }
22
22
  SwitchCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- SwitchCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SwitchCustomMessagesComponent, selector: "kendo-switch-messages", providers: [
23
+ SwitchCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SwitchCustomMessagesComponent, isStandalone: true, selector: "kendo-switch-messages", providers: [
24
24
  {
25
25
  provide: Messages,
26
26
  useExisting: forwardRef(() => SwitchCustomMessagesComponent)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  }
37
37
  ],
38
38
  selector: 'kendo-switch-messages',
39
- template: ``
39
+ template: ``,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedSwitchMessagesDirective extends Messages {
17
17
  }
18
18
  }
19
19
  LocalizedSwitchMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedSwitchMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedSwitchMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]", providers: [
20
+ LocalizedSwitchMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSwitchMessagesDirective, isStandalone: true, selector: "[kendoSwitchLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: Messages,
23
23
  useExisting: forwardRef(() => LocalizedSwitchMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedSwitchMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoSwitchLocalizedMessages]'
35
+ selector: '[kendoSwitchLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -11,9 +11,9 @@ import { packageMetadata } from '../package-metadata';
11
11
  import { requiresZoneOnBlur, getStylingClasses } from '../common/utils';
12
12
  import { skip, take } from "rxjs/operators";
13
13
  import { browser } from '@progress/kendo-common';
14
+ import { LocalizedSwitchMessagesDirective } from './localization/localized-switch-messages.directive';
14
15
  import * as i0 from "@angular/core";
15
16
  import * as i1 from "@progress/kendo-angular-l10n";
16
- import * as i2 from "./localization/localized-switch-messages.directive";
17
17
  const FOCUSED = 'k-focus';
18
18
  const DEFAULT_SIZE = 'medium';
19
19
  const DEFAULT_THUMB_ROUNDED = 'full';
@@ -432,7 +432,7 @@ export class SwitchComponent {
432
432
  }
433
433
  }
434
434
  SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
435
- SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SwitchComponent, selector: "kendo-switch", inputs: { focusableId: "focusableId", onLabel: "onLabel", offLabel: "offLabel", checked: "checked", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", size: "size", thumbRounded: "thumbRounded", trackRounded: "trackRounded", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-ie": "this.ieClass", "attr.role": "this.hostRole", "attr.id": "this.hostId", "attr.aria-checked": "this.ariaChecked", "attr.aria-invalid": "this.ariaInvalid", "attr.tabindex": "this.hostTabIndex", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-readonly": "this.ariaReadonly", "class.k-switch": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
435
+ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SwitchComponent, isStandalone: true, selector: "kendo-switch", inputs: { focusableId: "focusableId", onLabel: "onLabel", offLabel: "offLabel", checked: "checked", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", size: "size", thumbRounded: "thumbRounded", trackRounded: "trackRounded", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-ie": "this.ieClass", "attr.role": "this.hostRole", "attr.id": "this.hostId", "attr.aria-checked": "this.ariaChecked", "attr.aria-invalid": "this.ariaInvalid", "attr.tabindex": "this.hostTabIndex", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-readonly": "this.ariaReadonly", "class.k-switch": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
436
436
  LocalizationService,
437
437
  { provide: L10N_PREFIX, useValue: 'kendo.switch' },
438
438
  {
@@ -465,7 +465,7 @@ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
465
465
  [style.transitionDuration]="initialized ? '200ms' : '0ms'">
466
466
  <span #thumb class="k-switch-thumb"></span>
467
467
  </span>
468
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]" }] });
468
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]" }] });
469
469
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchComponent, decorators: [{
470
470
  type: Component,
471
471
  args: [{
@@ -505,7 +505,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
505
505
  [style.transitionDuration]="initialized ? '200ms' : '0ms'">
506
506
  <span #thumb class="k-switch-thumb"></span>
507
507
  </span>
508
- `
508
+ `,
509
+ standalone: true,
510
+ imports: [LocalizedSwitchMessagesDirective]
509
511
  }]
510
512
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { focusableId: [{
511
513
  type: Input
@@ -3,13 +3,12 @@
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 { SwitchComponent } from './switch/switch.component';
7
- import { CommonModule } from '@angular/common';
8
- import { ResizeSensorModule } from '@progress/kendo-angular-common';
9
- import { LocalizedSwitchMessagesDirective } from './switch/localization/localized-switch-messages.directive';
10
- import { SwitchCustomMessagesComponent } from './switch/localization/custom-messages.component';
11
- import { EventsModule } from '@progress/kendo-angular-common';
6
+ import { KENDO_SWITCH } from './directives';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
12
8
  import * as i0 from "@angular/core";
9
+ import * as i1 from "./switch/switch.component";
10
+ import * as i2 from "./switch/localization/custom-messages.component";
11
+ //IMPORTANT: NgModule export kept for backwards compatibility
13
12
  /**
14
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
14
  * definition for the Switch component.
@@ -44,25 +43,13 @@ import * as i0 from "@angular/core";
44
43
  export class SwitchModule {
45
44
  }
46
45
  SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
47
- SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent,
48
- SwitchCustomMessagesComponent,
49
- LocalizedSwitchMessagesDirective], imports: [CommonModule, EventsModule, ResizeSensorModule], exports: [SwitchComponent,
50
- SwitchCustomMessagesComponent,
51
- LocalizedSwitchMessagesDirective] });
52
- SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, imports: [CommonModule, EventsModule, ResizeSensorModule] });
46
+ SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, imports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent], exports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent] });
47
+ SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, providers: [ResizeBatchService], imports: [KENDO_SWITCH] });
53
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, decorators: [{
54
49
  type: NgModule,
55
50
  args: [{
56
- declarations: [
57
- SwitchComponent,
58
- SwitchCustomMessagesComponent,
59
- LocalizedSwitchMessagesDirective
60
- ],
61
- exports: [
62
- SwitchComponent,
63
- SwitchCustomMessagesComponent,
64
- LocalizedSwitchMessagesDirective
65
- ],
66
- imports: [CommonModule, EventsModule, ResizeSensorModule]
51
+ imports: [...KENDO_SWITCH],
52
+ exports: [...KENDO_SWITCH],
53
+ providers: [ResizeBatchService]
67
54
  }]
68
55
  }] });
@@ -43,13 +43,14 @@ export class TextAreaPrefixComponent {
43
43
  }
44
44
  }
45
45
  TextAreaPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaPrefixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
- TextAreaPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaPrefixComponent, selector: "kendo-textarea-prefix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-prefix": "this.hostClass", "class.k-input-prefix-vertical": "this.verticalOrientation", "class.k-input-prefix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaPrefix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
46
+ TextAreaPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaPrefixComponent, isStandalone: true, selector: "kendo-textarea-prefix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-prefix": "this.hostClass", "class.k-input-prefix-vertical": "this.verticalOrientation", "class.k-input-prefix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaPrefix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
47
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaPrefixComponent, decorators: [{
48
48
  type: Component,
49
49
  args: [{
50
50
  exportAs: 'kendoTextAreaPrefix',
51
51
  selector: 'kendo-textarea-prefix',
52
- template: `<ng-content></ng-content>`
52
+ template: `<ng-content></ng-content>`,
53
+ standalone: true
53
54
  }]
54
55
  }], propDecorators: { flow: [{
55
56
  type: Input
@@ -43,13 +43,14 @@ export class TextAreaSuffixComponent {
43
43
  }
44
44
  }
45
45
  TextAreaSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
- TextAreaSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-suffix": "this.hostClass", "class.k-input-suffix-vertical": "this.verticalOrientation", "class.k-input-suffix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaSuffix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
46
+ TextAreaSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaSuffixComponent, isStandalone: true, selector: "kendo-textarea-suffix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-suffix": "this.hostClass", "class.k-input-suffix-vertical": "this.verticalOrientation", "class.k-input-suffix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaSuffix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
47
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaSuffixComponent, decorators: [{
48
48
  type: Component,
49
49
  args: [{
50
50
  exportAs: 'kendoTextAreaSuffix',
51
51
  selector: 'kendo-textarea-suffix',
52
- template: `<ng-content></ng-content>`
52
+ template: `<ng-content></ng-content>`,
53
+ standalone: true
53
54
  }]
54
55
  }], propDecorators: { flow: [{
55
56
  type: Input