@progress/kendo-angular-inputs 15.5.0-develop.8 → 15.5.0

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.
package/index.d.ts CHANGED
@@ -52,6 +52,9 @@ export { Orientation } from './formfield/models/orientation';
52
52
  export { TextBoxComponent } from './textbox/textbox.component';
53
53
  export { TextBoxPrefixTemplateDirective } from './textbox/textbox-prefix.directive';
54
54
  export { TextBoxSuffixTemplateDirective } from './textbox/textbox-suffix.directive';
55
+ export { CheckBoxComponent } from './checkbox/checkbox.component';
56
+ export { CheckBoxState } from './checkbox/checked-state';
57
+ export { RadioButtonComponent } from './radiobutton/radiobutton.component';
55
58
  export { TextAreaComponent } from './textarea/textarea.component';
56
59
  export { TextAreaFlow } from './textarea/models/flow';
57
60
  export { TextAreaResize } from './textarea/models/resize';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "15.5.0-develop.8",
3
+ "version": "15.5.0",
4
4
  "description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -34,19 +34,19 @@
34
34
  "@angular/platform-browser": "13 - 17",
35
35
  "@progress/kendo-drawing": "^1.19.0",
36
36
  "@progress/kendo-licensing": "^1.0.2",
37
- "@progress/kendo-angular-buttons": "15.5.0-develop.8",
38
- "@progress/kendo-angular-common": "15.5.0-develop.8",
39
- "@progress/kendo-angular-dialog": "15.5.0-develop.8",
40
- "@progress/kendo-angular-intl": "15.5.0-develop.8",
41
- "@progress/kendo-angular-l10n": "15.5.0-develop.8",
42
- "@progress/kendo-angular-popup": "15.5.0-develop.8",
43
- "@progress/kendo-angular-icons": "15.5.0-develop.8",
37
+ "@progress/kendo-angular-buttons": "15.5.0",
38
+ "@progress/kendo-angular-common": "15.5.0",
39
+ "@progress/kendo-angular-dialog": "15.5.0",
40
+ "@progress/kendo-angular-intl": "15.5.0",
41
+ "@progress/kendo-angular-l10n": "15.5.0",
42
+ "@progress/kendo-angular-popup": "15.5.0",
43
+ "@progress/kendo-angular-icons": "15.5.0",
44
44
  "rxjs": "^6.5.3 || ^7.0.0",
45
- "@progress/kendo-angular-upload": "15.5.0-develop.8"
45
+ "@progress/kendo-angular-upload": "15.5.0"
46
46
  },
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.1",
49
- "@progress/kendo-angular-schematics": "15.5.0-develop.8",
49
+ "@progress/kendo-angular-schematics": "15.5.0",
50
50
  "@progress/kendo-common": "^0.2.2",
51
51
  "@progress/kendo-draggable": "^3.0.0",
52
52
  "@progress/kendo-inputs-common": "^3.1.0"
@@ -0,0 +1,50 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ElementRef, Renderer2, AfterViewInit, EventEmitter, ChangeDetectorRef, NgZone, Injector, OnInit, OnDestroy } from '@angular/core';
6
+ import { ControlValueAccessor } from '@angular/forms';
7
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
8
+ import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
9
+ import * as i0 from "@angular/core";
10
+ export declare class RadioButtonComponent extends RadioCheckBoxBase implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
11
+ protected renderer: Renderer2;
12
+ hostElement: ElementRef;
13
+ protected cdr: ChangeDetectorRef;
14
+ protected ngZone: NgZone;
15
+ protected injector: Injector;
16
+ private localizationService;
17
+ hostClass: boolean;
18
+ direction: string;
19
+ /**
20
+ * Specifies the checked state of the RadioButton.
21
+ *
22
+ * @default false
23
+ */
24
+ checked: boolean;
25
+ /**
26
+ * Fires each time the checked state is changed.
27
+ * When the state of the component is programmatically changed to `ngModel` or `formControl`
28
+ * through its API or form binding, the `checkedStateChange` event is not triggered because it
29
+ * might cause a mix-up with the built-in mechanisms of the `ngModel` or `formControl` bindings.
30
+ *
31
+ * Used to provide a two-way binding for the `checked` property.
32
+ */
33
+ checkedChange: EventEmitter<boolean>;
34
+ private subs;
35
+ protected get defaultAttributes(): any;
36
+ constructor(renderer: Renderer2, hostElement: ElementRef, cdr: ChangeDetectorRef, ngZone: NgZone, injector: Injector, localizationService: LocalizationService);
37
+ ngOnInit(): void;
38
+ ngAfterViewInit(): void;
39
+ ngOnDestroy(): void;
40
+ /**
41
+ * @hidden
42
+ */
43
+ handleChange: ($event: any) => void;
44
+ /**
45
+ * @hidden
46
+ */
47
+ writeValue(value: any): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "kendo-radiobutton", ["kendoRadioButton"], { "checked": "checked"; }, { "checkedChange": "checkedChange"; }, never, never>;
50
+ }
@@ -4,10 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./radiobutton/radiobutton.directive";
7
- import * as i2 from "@angular/common";
7
+ import * as i2 from "./radiobutton/radiobutton.component";
8
+ import * as i3 from "@angular/common";
9
+ import * as i4 from "@progress/kendo-angular-common";
10
+ import * as i5 from "./shared-events.module";
8
11
  /**
9
12
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
- * definition for the RadioButton directive.
13
+ * definition for the RadioButton directive and RadioButtonComponent.
11
14
  *
12
15
  * @example
13
16
  *
@@ -38,6 +41,6 @@ import * as i2 from "@angular/common";
38
41
  */
39
42
  export declare class RadioButtonModule {
40
43
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonModule, [typeof i1.RadioButtonDirective], [typeof i2.CommonModule], [typeof i1.RadioButtonDirective]>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonModule, [typeof i1.RadioButtonDirective, typeof i2.RadioButtonComponent], [typeof i3.CommonModule, typeof i4.EventsModule, typeof i5.SharedEventsModule], [typeof i1.RadioButtonDirective, typeof i2.RadioButtonComponent]>;
42
45
  static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonModule>;
43
46
  }
@@ -159,7 +159,7 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
159
159
  * })
160
160
  * class AppComponent {
161
161
  * public handleFocus(): void {
162
- * console.log('Component is focused');
162
+ * console.log('Component is focused.');
163
163
  * }
164
164
  * }
165
165
  * ```
@@ -205,7 +205,7 @@ export declare class TextBoxComponent implements ControlValueAccessor {
205
205
  * })
206
206
  * class AppComponent {
207
207
  * public handleFocus(): void {
208
- * console.log('Component is isFocused');
208
+ * console.log('Component is focused.');
209
209
  * }
210
210
  * }
211
211
  * ```