@progress/kendo-angular-inputs 15.5.0-develop.9 → 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.
@@ -0,0 +1,71 @@
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 } from '@angular/core';
6
+ import { ControlValueAccessor } from '@angular/forms';
7
+ import { CheckBoxRounded } from '../common/models';
8
+ import { CheckBoxState } from './checked-state';
9
+ import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
10
+ import * as i0 from "@angular/core";
11
+ export declare class CheckBoxComponent extends RadioCheckBoxBase implements ControlValueAccessor, OnInit, AfterViewInit {
12
+ protected renderer: Renderer2;
13
+ hostElement: ElementRef;
14
+ protected cdr: ChangeDetectorRef;
15
+ protected ngZone: NgZone;
16
+ protected injector: Injector;
17
+ hostClass: boolean;
18
+ /**
19
+ * Sets the checked state of the component.
20
+ *
21
+ * @default false
22
+ */
23
+ set checkedState(value: CheckBoxState);
24
+ get checkedState(): CheckBoxState;
25
+ /**
26
+ * The rounded property specifies the border radius of the CheckBox
27
+ * ([see example]({% slug appearance_checkboxdirective %}#toc-rounded)).
28
+ *
29
+ * @default 'medium'
30
+ *
31
+ * The possible values are:
32
+ * * `small`
33
+ * * `medium`
34
+ * * `large`
35
+ * * `none`
36
+ */
37
+ set rounded(rounded: CheckBoxRounded);
38
+ get rounded(): CheckBoxRounded;
39
+ /**
40
+ * Fires each time the inner input's checked state is changed.
41
+ * When the state of the component is programmatically changed to `ngModel` or `formControl`
42
+ * through its API or form binding, the `checkedStateChange` event is not triggered because it
43
+ * might cause a mix-up with the built-in mechanisms of the `ngModel` or `formControl` bindings.
44
+ *
45
+ * Used to provide a two-way binding for the `checkedState` property.
46
+ */
47
+ checkedStateChange: EventEmitter<CheckBoxState>;
48
+ /**
49
+ * @hidden
50
+ */
51
+ get isChecked(): boolean;
52
+ /**
53
+ * @hidden
54
+ */
55
+ get isIndeterminate(): boolean;
56
+ protected get defaultAttributes(): any;
57
+ private _rounded;
58
+ private _checkedState;
59
+ constructor(renderer: Renderer2, hostElement: ElementRef, cdr: ChangeDetectorRef, ngZone: NgZone, injector: Injector);
60
+ ngAfterViewInit(): void;
61
+ /**
62
+ * @hidden
63
+ */
64
+ handleChange: ($event: any) => void;
65
+ /**
66
+ * @hidden
67
+ */
68
+ writeValue(value: any): void;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "kendo-checkbox", ["kendoCheckBox"], { "checkedState": "checkedState"; "rounded": "rounded"; }, { "checkedStateChange": "checkedStateChange"; }, never, never>;
71
+ }
@@ -0,0 +1,13 @@
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
+ /**
6
+ * Represents the options for the `checkedState` input of the CheckBox component.
7
+ *
8
+ * @example
9
+ * ```html
10
+ * <kendo-checkbox checkedState="indeterminate"></kendo-checkbox>
11
+ * ```
12
+ */
13
+ export declare type CheckBoxState = boolean | 'indeterminate';
@@ -4,10 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./checkbox/checkbox.directive";
7
- import * as i2 from "@angular/common";
7
+ import * as i2 from "./checkbox/checkbox.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 CheckBox directive.
13
+ * definition for the CheckBox directive and CheckBoxComponent.
11
14
  *
12
15
  * @example
13
16
  *
@@ -38,6 +41,6 @@ import * as i2 from "@angular/common";
38
41
  */
39
42
  export declare class CheckBoxModule {
40
43
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<CheckBoxModule, [typeof i1.CheckBoxDirective], [typeof i2.CommonModule], [typeof i1.CheckBoxDirective]>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckBoxModule, [typeof i1.CheckBoxDirective, typeof i2.CheckBoxComponent], [typeof i3.CommonModule, typeof i4.EventsModule, typeof i5.SharedEventsModule], [typeof i1.CheckBoxDirective, typeof i2.CheckBoxComponent]>;
42
45
  static ɵinj: i0.ɵɵInjectorDeclaration<CheckBoxModule>;
43
46
  }
@@ -0,0 +1,166 @@
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 { Renderer2, EventEmitter, ElementRef, Injector, ChangeDetectorRef, NgZone } from '@angular/core';
6
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
7
+ import { ComponentType } from './utils';
8
+ import { CheckBoxRounded, InputSize } from './models';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare class RadioCheckBoxBase implements ControlValueAccessor {
14
+ private componentType;
15
+ protected hostElement: ElementRef;
16
+ protected renderer: Renderer2;
17
+ protected cdr: ChangeDetectorRef;
18
+ protected ngZone: NgZone;
19
+ protected injector: Injector;
20
+ /**
21
+ * @hidden
22
+ */
23
+ focusableId: string;
24
+ /**
25
+ * Sets the `title` attribute of the `input` element of the component.
26
+ */
27
+ title: string;
28
+ /**
29
+ * Sets the `name` attribute for the component.
30
+ */
31
+ name: string;
32
+ /**
33
+ * Sets the disabled state of the component.
34
+ *
35
+ * @default false
36
+ */
37
+ disabled: boolean;
38
+ /**
39
+ * Specifies the `tabindex` of the component.
40
+ *
41
+ * @default 0
42
+ */
43
+ tabindex: number;
44
+ /**
45
+ * @hidden
46
+ */
47
+ set tabIndex(tabIndex: number);
48
+ get tabIndex(): number;
49
+ /**
50
+ * Provides a value for the component.
51
+ */
52
+ value: string;
53
+ /**
54
+ * The size property specifies the width and height of the component.
55
+ *
56
+ * @default 'medium'
57
+ *
58
+ * The possible values are:
59
+ * * `small`
60
+ * * `medium`
61
+ * * `large`
62
+ * * `none`
63
+ */
64
+ set size(size: InputSize);
65
+ get size(): InputSize;
66
+ /**
67
+ * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
68
+ */
69
+ set inputAttributes(attributes: {
70
+ [key: string]: string;
71
+ });
72
+ get inputAttributes(): {
73
+ [key: string]: string;
74
+ };
75
+ ngOnInit(): void;
76
+ /**
77
+ * Fires each time the user focuses the component.
78
+ *
79
+ * > To wire the event programmatically, use the `onFocus` property.
80
+ */
81
+ onFocus: EventEmitter<any>;
82
+ /**
83
+ * Fires each time the component gets blurred.
84
+ *
85
+ * > To wire the event programmatically, use the `onBlur` property.
86
+ */
87
+ onBlur: EventEmitter<any>;
88
+ /**
89
+ * Focuses the component.
90
+ */
91
+ focus(): void;
92
+ /**
93
+ * Blurs the component.
94
+ */
95
+ blur(): void;
96
+ /**
97
+ * @hidden
98
+ */
99
+ handleInputBlur: () => void;
100
+ /**
101
+ * @hidden
102
+ */
103
+ handleFocus(): void;
104
+ /**
105
+ * @hidden
106
+ */
107
+ handleBlur(): void;
108
+ /**
109
+ * @hidden
110
+ */
111
+ registerOnChange(fn: (_: any) => void): void;
112
+ /**
113
+ * @hidden
114
+ */
115
+ registerOnTouched(fn: () => any): void;
116
+ /**
117
+ * @hidden
118
+ */
119
+ get isControlRequired(): boolean;
120
+ /**
121
+ * @hidden
122
+ */
123
+ get isControlInvalid(): boolean;
124
+ /**
125
+ * Represents the visible `input` element.
126
+ */
127
+ input: ElementRef;
128
+ /**
129
+ * @hidden
130
+ */
131
+ get isFocused(): boolean;
132
+ /**
133
+ * @hidden
134
+ */
135
+ set isFocused(value: boolean);
136
+ /**
137
+ * @hidden
138
+ * Called when the status of the component changes to or from `disabled`.
139
+ * Depending on the value, it enables or disables the appropriate DOM element.
140
+ *
141
+ * @param isDisabled
142
+ */
143
+ setDisabledState(isDisabled: boolean): void;
144
+ protected control: NgControl;
145
+ protected focusChangedProgrammatically: boolean;
146
+ protected get defaultAttributes(): any;
147
+ protected parsedAttributes: {
148
+ [key: string]: string;
149
+ };
150
+ protected _inputAttributes: {
151
+ [key: string]: string;
152
+ };
153
+ protected ngChange: Function;
154
+ protected ngTouched: Function;
155
+ private _isFocused;
156
+ private _size;
157
+ constructor(componentType: ComponentType, hostElement: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone, injector: Injector);
158
+ /**
159
+ * @hidden
160
+ */
161
+ writeValue(_value: any): void;
162
+ protected handleClasses(value: InputSize | CheckBoxRounded, input: string): void;
163
+ protected setInputAttributes(): void;
164
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioCheckBoxBase, never>;
165
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioCheckBoxBase, "ng-component", never, { "focusableId": "focusableId"; "title": "title"; "name": "name"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "value": "value"; "size": "size"; "inputAttributes": "inputAttributes"; }, { "onFocus": "focus"; "onBlur": "blur"; }, never, never>;
166
+ }
package/common/utils.d.ts CHANGED
@@ -2,6 +2,7 @@
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 { InjectionToken } from "@angular/core";
5
6
  import { InputStylingClasses } from "./models";
6
7
  /**
7
8
  * @hidden
@@ -54,3 +55,13 @@ export declare const isNone: (style: string) => boolean;
54
55
  * Returns the styling classes to be added and removed
55
56
  */
56
57
  export declare const getStylingClasses: (componentType: any, stylingOption: string, previousValue: any, newValue: any) => InputStylingClasses;
58
+ /**
59
+ * @hidden
60
+ *
61
+ * Used to differentiate between the Radio and CheckBox components in their base class.
62
+ */
63
+ export declare const COMPONENT_TYPE: InjectionToken<ComponentType>;
64
+ /**
65
+ * @hidden
66
+ */
67
+ export declare type ComponentType = 'radio' | 'checkbox';
@@ -0,0 +1,215 @@
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 { Component, ElementRef, forwardRef, Input, HostBinding, Renderer2, Output, EventEmitter, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
6
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
+ import { KendoInput, isPresent, } from '@progress/kendo-angular-common';
8
+ import { validatePackage } from '@progress/kendo-licensing';
9
+ import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
10
+ import { packageMetadata } from '../package-metadata';
11
+ import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "../shared/shared-events.directive";
14
+ import * as i2 from "@progress/kendo-angular-common";
15
+ const DEFAULT_ROUNDED = 'medium';
16
+ export class CheckBoxComponent extends RadioCheckBoxBase {
17
+ constructor(renderer, hostElement, cdr, ngZone, injector) {
18
+ super('checkbox', hostElement, renderer, cdr, ngZone, injector);
19
+ this.renderer = renderer;
20
+ this.hostElement = hostElement;
21
+ this.cdr = cdr;
22
+ this.ngZone = ngZone;
23
+ this.injector = injector;
24
+ this.hostClass = true;
25
+ /**
26
+ * Fires each time the inner input's 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 `checkedState` property.
32
+ */
33
+ this.checkedStateChange = new EventEmitter();
34
+ this._rounded = DEFAULT_ROUNDED;
35
+ this._checkedState = false;
36
+ /**
37
+ * @hidden
38
+ */
39
+ this.handleChange = ($event) => {
40
+ this.ngZone.run(() => {
41
+ this.checkedState = $event && $event.target && $event.target.checked;
42
+ this.checkedStateChange.emit(this.checkedState);
43
+ this.ngChange(this.checkedState);
44
+ });
45
+ };
46
+ validatePackage(packageMetadata);
47
+ }
48
+ /**
49
+ * Sets the checked state of the component.
50
+ *
51
+ * @default false
52
+ */
53
+ set checkedState(value) {
54
+ this._checkedState = value;
55
+ if (!isPresent(this.input)) {
56
+ return;
57
+ }
58
+ this.input.nativeElement.indeterminate = value === 'indeterminate';
59
+ }
60
+ get checkedState() {
61
+ return this._checkedState;
62
+ }
63
+ /**
64
+ * The rounded property specifies the border radius of the CheckBox
65
+ * ([see example]({% slug appearance_checkboxdirective %}#toc-rounded)).
66
+ *
67
+ * @default 'medium'
68
+ *
69
+ * The possible values are:
70
+ * * `small`
71
+ * * `medium`
72
+ * * `large`
73
+ * * `none`
74
+ */
75
+ set rounded(rounded) {
76
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
77
+ this.handleClasses(newRounded, 'rounded');
78
+ this._rounded = newRounded;
79
+ }
80
+ get rounded() {
81
+ return this._rounded;
82
+ }
83
+ /**
84
+ * @hidden
85
+ */
86
+ get isChecked() {
87
+ return typeof this.checkedState === 'boolean' && this.checkedState;
88
+ }
89
+ /**
90
+ * @hidden
91
+ */
92
+ get isIndeterminate() {
93
+ return typeof this.checkedState === 'string' && this.checkedState === 'indeterminate';
94
+ }
95
+ get defaultAttributes() {
96
+ return {
97
+ type: 'checkbox',
98
+ id: this.focusableId,
99
+ title: this.title,
100
+ tabindex: this.tabindex,
101
+ tabIndex: this.tabindex,
102
+ disabled: this.disabled ? '' : null,
103
+ value: this.value,
104
+ checked: this.isChecked,
105
+ 'aria-invalid': this.isControlInvalid
106
+ };
107
+ }
108
+ ngAfterViewInit() {
109
+ const stylingInputs = ['size', 'rounded'];
110
+ stylingInputs.forEach(input => {
111
+ this.handleClasses(this[input], input);
112
+ });
113
+ this.input.nativeElement.indeterminate = this.checkedState === 'indeterminate';
114
+ }
115
+ /**
116
+ * @hidden
117
+ */
118
+ writeValue(value) {
119
+ this.checkedState = value;
120
+ }
121
+ }
122
+ CheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
123
+ CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: { checkedState: "checkedState", rounded: "rounded" }, outputs: { checkedStateChange: "checkedStateChange" }, host: { properties: { "class.k-checkbox-wrap": "this.hostClass" } }, providers: [
124
+ LocalizationService,
125
+ { provide: L10N_PREFIX, useValue: 'kendo.checkbox' },
126
+ {
127
+ provide: NG_VALUE_ACCESSOR,
128
+ useExisting: forwardRef(() => CheckBoxComponent),
129
+ multi: true
130
+ },
131
+ { provide: KendoInput, useExisting: forwardRef(() => CheckBoxComponent) }
132
+ ], exportAs: ["kendoCheckBox"], usesInheritance: true, ngImport: i0, template: `
133
+ <ng-container
134
+ kendoInputSharedEvents
135
+ [hostElement]="hostElement"
136
+ [(isFocused)]="isFocused"
137
+ (handleBlur)="handleBlur()"
138
+ (onFocus)="handleFocus()"
139
+ >
140
+ <input #input
141
+ type="checkbox"
142
+ class="k-checkbox"
143
+ [id]="focusableId"
144
+ [attr.title]="title"
145
+ [disabled]="disabled"
146
+ [class.k-disabled]="disabled"
147
+ [attr.tabindex]="disabled ? undefined : tabindex"
148
+ [value]="value"
149
+ [checked]="isChecked"
150
+ [class.k-checked]="isChecked"
151
+ [class.k-indeterminate]="isIndeterminate"
152
+ [attr.aria-invalid]="isControlInvalid"
153
+ [attr.required]="isControlRequired ? '' : null"
154
+ [kendoEventsOutsideAngular]="{
155
+ blur: handleInputBlur,
156
+ change: handleChange
157
+ }"
158
+ />
159
+ </ng-container>
160
+ `, isInline: true, directives: [{ type: i1.SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i2.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxComponent, decorators: [{
162
+ type: Component,
163
+ args: [{
164
+ exportAs: 'kendoCheckBox',
165
+ providers: [
166
+ LocalizationService,
167
+ { provide: L10N_PREFIX, useValue: 'kendo.checkbox' },
168
+ {
169
+ provide: NG_VALUE_ACCESSOR,
170
+ useExisting: forwardRef(() => CheckBoxComponent),
171
+ multi: true
172
+ },
173
+ { provide: KendoInput, useExisting: forwardRef(() => CheckBoxComponent) }
174
+ ],
175
+ selector: 'kendo-checkbox',
176
+ template: `
177
+ <ng-container
178
+ kendoInputSharedEvents
179
+ [hostElement]="hostElement"
180
+ [(isFocused)]="isFocused"
181
+ (handleBlur)="handleBlur()"
182
+ (onFocus)="handleFocus()"
183
+ >
184
+ <input #input
185
+ type="checkbox"
186
+ class="k-checkbox"
187
+ [id]="focusableId"
188
+ [attr.title]="title"
189
+ [disabled]="disabled"
190
+ [class.k-disabled]="disabled"
191
+ [attr.tabindex]="disabled ? undefined : tabindex"
192
+ [value]="value"
193
+ [checked]="isChecked"
194
+ [class.k-checked]="isChecked"
195
+ [class.k-indeterminate]="isIndeterminate"
196
+ [attr.aria-invalid]="isControlInvalid"
197
+ [attr.required]="isControlRequired ? '' : null"
198
+ [kendoEventsOutsideAngular]="{
199
+ blur: handleInputBlur,
200
+ change: handleChange
201
+ }"
202
+ />
203
+ </ng-container>
204
+ `
205
+ }]
206
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { hostClass: [{
207
+ type: HostBinding,
208
+ args: ['class.k-checkbox-wrap']
209
+ }], checkedState: [{
210
+ type: Input
211
+ }], rounded: [{
212
+ type: Input
213
+ }], checkedStateChange: [{
214
+ type: Output
215
+ }] } });
@@ -0,0 +1,5 @@
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
+ export {};
@@ -3,12 +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 { CheckBoxDirective } from './checkbox/checkbox.directive';
6
+ import { EventsModule } from '@progress/kendo-angular-common';
7
7
  import { CommonModule } from '@angular/common';
8
+ import { CheckBoxDirective } from './checkbox/checkbox.directive';
9
+ import { CheckBoxComponent } from './checkbox/checkbox.component';
10
+ import { SharedEventsModule } from './shared-events.module';
8
11
  import * as i0 from "@angular/core";
9
12
  /**
10
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
- * definition for the CheckBox directive.
14
+ * definition for the CheckBox directive and CheckBoxComponent.
12
15
  *
13
16
  * @example
14
17
  *
@@ -40,13 +43,13 @@ import * as i0 from "@angular/core";
40
43
  export class CheckBoxModule {
41
44
  }
42
45
  CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
- CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxDirective], imports: [CommonModule], exports: [CheckBoxDirective] });
44
- CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxModule, imports: [[CommonModule]] });
46
+ CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxDirective, CheckBoxComponent], imports: [CommonModule, EventsModule, SharedEventsModule], exports: [CheckBoxDirective, CheckBoxComponent] });
47
+ CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxModule, imports: [[CommonModule, EventsModule, SharedEventsModule]] });
45
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CheckBoxModule, decorators: [{
46
49
  type: NgModule,
47
50
  args: [{
48
- declarations: [CheckBoxDirective],
49
- exports: [CheckBoxDirective],
50
- imports: [CommonModule]
51
+ declarations: [CheckBoxDirective, CheckBoxComponent],
52
+ exports: [CheckBoxDirective, CheckBoxComponent],
53
+ imports: [CommonModule, EventsModule, SharedEventsModule]
51
54
  }]
52
55
  }] });