@progress/kendo-angular-inputs 15.2.0-develop.2 → 15.2.0-develop.3
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/esm2020/index.mjs +6 -0
- package/esm2020/inputs.module.mjs +7 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rating/directives/rating-hovered-item.directive.mjs +24 -0
- package/esm2020/rating/directives/rating-item.directive.mjs +24 -0
- package/esm2020/rating/directives/rating-selected-item.directive.mjs +24 -0
- package/esm2020/rating/models/precision.mjs +5 -0
- package/esm2020/rating/models/rating-item.interface.mjs +5 -0
- package/esm2020/rating/models/selection.mjs +5 -0
- package/esm2020/rating/rating.component.mjs +710 -0
- package/esm2020/rating.module.mjs +68 -0
- package/fesm2015/progress-kendo-angular-inputs.mjs +840 -31
- package/fesm2020/progress-kendo-angular-inputs.mjs +839 -31
- package/index.d.ts +5 -0
- package/inputs.module.d.ts +2 -1
- package/package.json +10 -10
- package/rating/directives/rating-hovered-item.directive.d.ts +17 -0
- package/rating/directives/rating-item.directive.d.ts +17 -0
- package/rating/directives/rating-selected-item.directive.d.ts +17 -0
- package/rating/models/precision.d.ts +13 -0
- package/rating/models/rating-item.interface.d.ts +32 -0
- package/rating/models/selection.d.ts +13 -0
- package/rating/rating.component.d.ts +180 -0
- package/rating.module.d.ts +47 -0
package/index.d.ts
CHANGED
|
@@ -81,3 +81,8 @@ export { SignatureComponent } from './signature/signature.component';
|
|
|
81
81
|
export { SignatureModule } from './signature.module';
|
|
82
82
|
export { SignatureOpenEvent, SignatureCloseEvent } from './signature/events';
|
|
83
83
|
export { SignatureCustomMessagesComponent, LocalizedSignatureMessagesDirective, SignatureMessages } from './signature/localization';
|
|
84
|
+
export { RatingItemTemplateDirective } from './rating/directives/rating-item.directive';
|
|
85
|
+
export { RatingHoveredItemTemplateDirective } from './rating/directives/rating-hovered-item.directive';
|
|
86
|
+
export { RatingSelectedItemTemplateDirective } from './rating/directives/rating-selected-item.directive';
|
|
87
|
+
export { RatingComponent } from './rating/rating.component';
|
|
88
|
+
export { RatingModule } from './rating.module';
|
package/inputs.module.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import * as i10 from "./checkbox.module";
|
|
|
16
16
|
import * as i11 from "./radiobutton.module";
|
|
17
17
|
import * as i12 from "./formfield.module";
|
|
18
18
|
import * as i13 from "./signature.module";
|
|
19
|
+
import * as i14 from "./rating.module";
|
|
19
20
|
/**
|
|
20
21
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
21
22
|
* definition for the Inputs components.
|
|
@@ -50,6 +51,6 @@ import * as i13 from "./signature.module";
|
|
|
50
51
|
*/
|
|
51
52
|
export declare class InputsModule {
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
53
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.CommonModule], [typeof i2.TextAreaModule, typeof i3.TextBoxModule, typeof i4.SliderModule, typeof i5.RangeSliderModule, typeof i6.SwitchModule, typeof i7.NumericTextBoxModule, typeof i8.MaskedTextBoxModule, typeof i9.ColorPickerModule, typeof i10.CheckBoxModule, typeof i11.RadioButtonModule, typeof i12.FormFieldModule, typeof i13.SignatureModule]>;
|
|
54
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.CommonModule], [typeof i2.TextAreaModule, typeof i3.TextBoxModule, typeof i4.SliderModule, typeof i5.RangeSliderModule, typeof i6.SwitchModule, typeof i7.NumericTextBoxModule, typeof i8.MaskedTextBoxModule, typeof i9.ColorPickerModule, typeof i10.CheckBoxModule, typeof i11.RadioButtonModule, typeof i12.FormFieldModule, typeof i13.SignatureModule, typeof i14.RatingModule]>;
|
|
54
55
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
55
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "15.2.0-develop.
|
|
3
|
+
"version": "15.2.0-develop.3",
|
|
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.2.0-develop.
|
|
38
|
-
"@progress/kendo-angular-common": "15.2.0-develop.
|
|
39
|
-
"@progress/kendo-angular-dialog": "15.2.0-develop.
|
|
40
|
-
"@progress/kendo-angular-intl": "15.2.0-develop.
|
|
41
|
-
"@progress/kendo-angular-l10n": "15.2.0-develop.
|
|
42
|
-
"@progress/kendo-angular-popup": "15.2.0-develop.
|
|
43
|
-
"@progress/kendo-angular-icons": "15.2.0-develop.
|
|
37
|
+
"@progress/kendo-angular-buttons": "15.2.0-develop.3",
|
|
38
|
+
"@progress/kendo-angular-common": "15.2.0-develop.3",
|
|
39
|
+
"@progress/kendo-angular-dialog": "15.2.0-develop.3",
|
|
40
|
+
"@progress/kendo-angular-intl": "15.2.0-develop.3",
|
|
41
|
+
"@progress/kendo-angular-l10n": "15.2.0-develop.3",
|
|
42
|
+
"@progress/kendo-angular-popup": "15.2.0-develop.3",
|
|
43
|
+
"@progress/kendo-angular-icons": "15.2.0-develop.3",
|
|
44
44
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
45
|
-
"@progress/kendo-angular-upload": "15.2.0-develop.
|
|
45
|
+
"@progress/kendo-angular-upload": "15.2.0-develop.3"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.1",
|
|
49
|
-
"@progress/kendo-angular-schematics": "15.2.0-develop.
|
|
49
|
+
"@progress/kendo-angular-schematics": "15.2.0-develop.3",
|
|
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,17 @@
|
|
|
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 { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Renders the hovered rating item content. To define an item template, nest an `<ng-template>` tag
|
|
9
|
+
* with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag
|
|
10
|
+
* [see example]({% slug templates_rating %}#toc-hovered-item-template).
|
|
11
|
+
*/
|
|
12
|
+
export declare class RatingHoveredItemTemplateDirective {
|
|
13
|
+
templateRef: TemplateRef<any>;
|
|
14
|
+
constructor(templateRef: TemplateRef<any>);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingHoveredItemTemplateDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RatingHoveredItemTemplateDirective, "[kendoRatingHoveredItemTemplate]", never, {}, {}, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Renders the rating item content. To define an item template, nest an `<ng-template>` tag
|
|
9
|
+
* with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag
|
|
10
|
+
* [see example]({% slug templates_rating %}#toc-item-template).
|
|
11
|
+
*/
|
|
12
|
+
export declare class RatingItemTemplateDirective {
|
|
13
|
+
templateRef: TemplateRef<any>;
|
|
14
|
+
constructor(templateRef: TemplateRef<any>);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingItemTemplateDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RatingItemTemplateDirective, "[kendoRatingItemTemplate]", never, {}, {}, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Renders the selected rating item content. To define an item template, nest an `<ng-template>` tag
|
|
9
|
+
* with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag
|
|
10
|
+
* [see example]({% slug templates_rating %}#toc-selected-item-template).
|
|
11
|
+
*/
|
|
12
|
+
export declare class RatingSelectedItemTemplateDirective {
|
|
13
|
+
templateRef: TemplateRef<any>;
|
|
14
|
+
constructor(templateRef: TemplateRef<any>);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingSelectedItemTemplateDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RatingSelectedItemTemplateDirective, "[kendoRatingSelectedItemTemplate]", never, {}, {}, never>;
|
|
17
|
+
}
|
|
@@ -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
|
+
* Specifies the precision with which an item is selected.
|
|
7
|
+
*
|
|
8
|
+
* The available values are:
|
|
9
|
+
* * `item` (default)
|
|
10
|
+
* * `half`
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare type RatingPrecision = 'item' | 'half';
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* An interface for the rating items in the Rating component
|
|
7
|
+
*
|
|
8
|
+
* @hidden
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export interface RatingItem {
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the rating item title.
|
|
14
|
+
*/
|
|
15
|
+
title?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies whether the rating item is selected.
|
|
18
|
+
*/
|
|
19
|
+
selected?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies whether the rating item should be indicated as selected (if the `k-selected` class should be rendered).
|
|
22
|
+
*/
|
|
23
|
+
selectedIndicator?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies whether the rating item is hovered.
|
|
26
|
+
*/
|
|
27
|
+
hovered?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies whether the value represents half icon or whole icon.
|
|
30
|
+
*/
|
|
31
|
+
half?: boolean;
|
|
32
|
+
}
|
|
@@ -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
|
+
* Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
|
|
7
|
+
*
|
|
8
|
+
* The available values are:
|
|
9
|
+
* * `continuous` (default)
|
|
10
|
+
* * `single`
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare type RatingSelectionMode = 'continuous' | 'single';
|
|
@@ -0,0 +1,180 @@
|
|
|
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 { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
+
import { RatingSelectionMode } from './models/selection';
|
|
10
|
+
import { RatingItem } from './models/rating-item.interface';
|
|
11
|
+
import { RatingItemTemplateDirective } from './directives/rating-item.directive';
|
|
12
|
+
import { RatingHoveredItemTemplateDirective } from './directives/rating-hovered-item.directive';
|
|
13
|
+
import { RatingSelectedItemTemplateDirective } from './directives/rating-selected-item.directive';
|
|
14
|
+
import { RatingPrecision } from './models/precision';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
/**
|
|
17
|
+
* Represents the [Kendo UI Rating component for Angular]({% slug overview_rating %}).
|
|
18
|
+
*/
|
|
19
|
+
export declare class RatingComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
20
|
+
element: ElementRef;
|
|
21
|
+
private renderer;
|
|
22
|
+
private localizationService;
|
|
23
|
+
private cdr;
|
|
24
|
+
private zone;
|
|
25
|
+
itemTemplate: RatingItemTemplateDirective;
|
|
26
|
+
hoveredItemTemplate: RatingHoveredItemTemplateDirective;
|
|
27
|
+
selectedItemTemplate: RatingSelectedItemTemplateDirective;
|
|
28
|
+
/**
|
|
29
|
+
* Determines whether the Rating is disabled ([see example]({% slug disabledstate_rating %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_rating#toc-managing-the-rating-disabled-state-in-reactive-forms).
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Determines whether the Rating is in its read-only state ([see example]({% slug readonly_rating %})).
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Rating.
|
|
44
|
+
*
|
|
45
|
+
* @default 0
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
tabindex: number;
|
|
49
|
+
/**
|
|
50
|
+
* Sets the number of rating items ([see example]({% slug itemscount_rating %})).
|
|
51
|
+
*
|
|
52
|
+
* @default 5
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
itemsCount: number;
|
|
56
|
+
/**
|
|
57
|
+
* The initial value of the Rating component.
|
|
58
|
+
* The component can use either NgModel or the `value` binding but not both of them at the same time.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
set value(value: number);
|
|
62
|
+
get value(): number;
|
|
63
|
+
/**
|
|
64
|
+
* Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
|
|
65
|
+
*
|
|
66
|
+
* @default 'continuous'
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
set selection(selection: RatingSelectionMode);
|
|
70
|
+
get selection(): RatingSelectionMode;
|
|
71
|
+
/**
|
|
72
|
+
* Determines the precision of the Rating ([see example]({% slug precision_rating %})).
|
|
73
|
+
*
|
|
74
|
+
* @default 'item'
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
set precision(precision: RatingPrecision);
|
|
78
|
+
get precision(): RatingPrecision;
|
|
79
|
+
/**
|
|
80
|
+
* Sets the Rating label. It is not the native HMTL `label` element, it is just a `span` element with the provided text ([see example]({% slug label_rating %})).
|
|
81
|
+
*/
|
|
82
|
+
label: string;
|
|
83
|
+
/**
|
|
84
|
+
* Sets custom Rating font icon [see example]({% slug icon_rating %}).
|
|
85
|
+
*/
|
|
86
|
+
icon: string;
|
|
87
|
+
/**
|
|
88
|
+
* Sets custom Rating SVG icon. It is the icon that is used for not selected/hovered state. [see example]({% slug icon_rating %}).
|
|
89
|
+
*/
|
|
90
|
+
svgIcon: SVGIcon;
|
|
91
|
+
/**
|
|
92
|
+
* Sets custom Rating SVG icon. It is the icon that is used for selected/hovered state. [see example]({% slug icon_rating %}).
|
|
93
|
+
*/
|
|
94
|
+
svgIconOutline: SVGIcon;
|
|
95
|
+
/**
|
|
96
|
+
* Fires each time the user selects a new value.
|
|
97
|
+
*/
|
|
98
|
+
valueChange: EventEmitter<number>;
|
|
99
|
+
hostClass: boolean;
|
|
100
|
+
direction: string;
|
|
101
|
+
get isControlInvalid(): string;
|
|
102
|
+
valueMin: number;
|
|
103
|
+
get valueMax(): number;
|
|
104
|
+
get valueNow(): number;
|
|
105
|
+
ariaRole: string;
|
|
106
|
+
/**
|
|
107
|
+
* @hidden
|
|
108
|
+
*/
|
|
109
|
+
ratingItems: RatingItem[];
|
|
110
|
+
private control;
|
|
111
|
+
private ngChange;
|
|
112
|
+
private ngTouched;
|
|
113
|
+
private rect;
|
|
114
|
+
private _value;
|
|
115
|
+
private _selection;
|
|
116
|
+
private _precision;
|
|
117
|
+
private subscriptions;
|
|
118
|
+
constructor(element: ElementRef, renderer: Renderer2, localizationService: LocalizationService, cdr: ChangeDetectorRef, zone: NgZone);
|
|
119
|
+
ngOnInit(): void;
|
|
120
|
+
ngAfterViewInit(): void;
|
|
121
|
+
ngOnDestroy(): void;
|
|
122
|
+
/**
|
|
123
|
+
* Focuses the Rating component.
|
|
124
|
+
*/
|
|
125
|
+
focus(): void;
|
|
126
|
+
/**
|
|
127
|
+
* Blurs the Rating component.
|
|
128
|
+
*/
|
|
129
|
+
blur(): void;
|
|
130
|
+
/**
|
|
131
|
+
* @hidden
|
|
132
|
+
*/
|
|
133
|
+
private createRatingItems;
|
|
134
|
+
/**
|
|
135
|
+
* @hidden
|
|
136
|
+
*/
|
|
137
|
+
onMouseEnter(event: any): void;
|
|
138
|
+
/**
|
|
139
|
+
* @hidden
|
|
140
|
+
*/
|
|
141
|
+
onMouseMove(value: number, event: any): void;
|
|
142
|
+
/**
|
|
143
|
+
* @hidden
|
|
144
|
+
*/
|
|
145
|
+
onMouseOut(): void;
|
|
146
|
+
/**
|
|
147
|
+
* @hidden
|
|
148
|
+
* Called when the status of the component changes to or from `disabled`.
|
|
149
|
+
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
150
|
+
*
|
|
151
|
+
* @param isDisabled
|
|
152
|
+
*/
|
|
153
|
+
setDisabledState(isDisabled: boolean): void;
|
|
154
|
+
/**
|
|
155
|
+
* @hidden
|
|
156
|
+
*/
|
|
157
|
+
changeValue(index: number, event: any): void;
|
|
158
|
+
/**
|
|
159
|
+
* @hidden
|
|
160
|
+
*/
|
|
161
|
+
updateRatingItems(): void;
|
|
162
|
+
/**
|
|
163
|
+
* @hidden
|
|
164
|
+
*/
|
|
165
|
+
writeValue(value: number): void;
|
|
166
|
+
/**
|
|
167
|
+
* @hidden
|
|
168
|
+
*/
|
|
169
|
+
registerOnChange(fn: () => any): void;
|
|
170
|
+
/**
|
|
171
|
+
* @hidden
|
|
172
|
+
*/
|
|
173
|
+
registerOnTouched(fn: () => any): void;
|
|
174
|
+
private isSelected;
|
|
175
|
+
private isHalf;
|
|
176
|
+
private isFirstHalf;
|
|
177
|
+
private onKeyDown;
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
|
|
179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "kendo-rating", ["kendoRating"], { "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; "itemsCount": "itemsCount"; "value": "value"; "selection": "selection"; "precision": "precision"; "label": "label"; "icon": "icon"; "svgIcon": "svgIcon"; "svgIconOutline": "svgIconOutline"; }, { "valueChange": "valueChange"; }, ["itemTemplate", "hoveredItemTemplate", "selectedItemTemplate"], never>;
|
|
180
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./rating/rating.component";
|
|
7
|
+
import * as i2 from "./rating/directives/rating-item.directive";
|
|
8
|
+
import * as i3 from "./rating/directives/rating-hovered-item.directive";
|
|
9
|
+
import * as i4 from "./rating/directives/rating-selected-item.directive";
|
|
10
|
+
import * as i5 from "@angular/common";
|
|
11
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
|
12
|
+
/**
|
|
13
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
|
+
* definition for the Rating component.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* ```ts-no-run
|
|
19
|
+
* // Import the Rating module
|
|
20
|
+
* import { RatingModule } from '@progress/kendo-angular-inputs';
|
|
21
|
+
*
|
|
22
|
+
* // The browser platform with a compiler
|
|
23
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
24
|
+
*
|
|
25
|
+
* import { NgModule } from '@angular/core';
|
|
26
|
+
*
|
|
27
|
+
* // Import the app component
|
|
28
|
+
* import { AppComponent } from './app.component';
|
|
29
|
+
*
|
|
30
|
+
* // Define the app module
|
|
31
|
+
* _@NgModule({
|
|
32
|
+
* declarations: [AppComponent], // declare app component
|
|
33
|
+
* imports: [BrowserModule, RatingModule], // import Rating module
|
|
34
|
+
* bootstrap: [AppComponent]
|
|
35
|
+
* })
|
|
36
|
+
* export class AppModule {}
|
|
37
|
+
*
|
|
38
|
+
* // Compile and launch the module
|
|
39
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class RatingModule {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingModule, never>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RatingModule, [typeof i1.RatingComponent, typeof i2.RatingItemTemplateDirective, typeof i3.RatingHoveredItemTemplateDirective, typeof i4.RatingSelectedItemTemplateDirective], [typeof i5.CommonModule, typeof i6.IconsModule], [typeof i1.RatingComponent, typeof i2.RatingItemTemplateDirective, typeof i3.RatingHoveredItemTemplateDirective, typeof i4.RatingSelectedItemTemplateDirective]>;
|
|
46
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RatingModule>;
|
|
47
|
+
}
|