@progress/kendo-angular-inputs 15.2.0-develop.2 → 15.2.0-develop.4
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
|
@@ -9,14 +9,14 @@ import { Subscription, fromEvent, interval, merge, BehaviorSubject, Subject } fr
|
|
|
9
9
|
import { take, filter, concatMap, startWith, takeUntil, skip, debounceTime, throttleTime } from 'rxjs/operators';
|
|
10
10
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
11
11
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
12
|
-
import * as i4
|
|
12
|
+
import * as i4 from '@progress/kendo-angular-common';
|
|
13
13
|
import { Keys, guid, hasObservers, anyChanged, isDocumentAvailable, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, isChanged, DraggableModule, EventsModule, ResizeSensorModule, AdornmentsModule, isSafari, PreventableEvent, findFocusableChild, parseCSSClassNames, closest as closest$1 } from '@progress/kendo-angular-common';
|
|
14
14
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
15
15
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
|
-
import { caretAltUpIcon, caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, checkIcon, exclamationCircleIcon, xIcon, dropletSliderIcon, paletteIcon, dropletSlashIcon, caretAltExpandIcon, xCircleIcon, hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import { caretAltUpIcon, caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, checkIcon, exclamationCircleIcon, xIcon, dropletSliderIcon, paletteIcon, dropletSlashIcon, caretAltExpandIcon, xCircleIcon, hyperlinkOpenIcon, starIcon, starOutlineIcon } from '@progress/kendo-svg-icons';
|
|
17
17
|
import * as i2 from '@progress/kendo-angular-buttons';
|
|
18
18
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
19
|
-
import * as
|
|
19
|
+
import * as i3 from '@angular/common';
|
|
20
20
|
import { CommonModule } from '@angular/common';
|
|
21
21
|
import { browser, mobileOS } from '@progress/kendo-common';
|
|
22
22
|
import * as i1$1 from '@progress/kendo-angular-intl';
|
|
@@ -25,7 +25,7 @@ import { IconsModule } from '@progress/kendo-angular-icons';
|
|
|
25
25
|
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
26
26
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
27
27
|
import { parseColor as parseColor$1, Color, namedColors } from '@progress/kendo-drawing';
|
|
28
|
-
import * as i3 from '@progress/kendo-angular-dialog';
|
|
28
|
+
import * as i3$1 from '@progress/kendo-angular-dialog';
|
|
29
29
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
30
30
|
import { __awaiter } from 'tslib';
|
|
31
31
|
import { SignaturePad } from '@progress/kendo-inputs-common';
|
|
@@ -538,8 +538,8 @@ const packageMetadata = {
|
|
|
538
538
|
name: '@progress/kendo-angular-inputs',
|
|
539
539
|
productName: 'Kendo UI for Angular',
|
|
540
540
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
541
|
-
publishDate:
|
|
542
|
-
version: '15.2.0-develop.
|
|
541
|
+
publishDate: 1709814651,
|
|
542
|
+
version: '15.2.0-develop.4',
|
|
543
543
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
544
544
|
};
|
|
545
545
|
|
|
@@ -902,7 +902,7 @@ SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
902
902
|
<ng-template #defaultLabel let-value="value">
|
|
903
903
|
{{ tickTitle(value) }}
|
|
904
904
|
</ng-template>
|
|
905
|
-
`, isInline: true, directives: [{ type:
|
|
905
|
+
`, isInline: true, directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
906
906
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SliderTicksComponent, decorators: [{
|
|
907
907
|
type: Component,
|
|
908
908
|
args: [{
|
|
@@ -1501,7 +1501,7 @@ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
1501
1501
|
[attr.aria-label]="currentValue"
|
|
1502
1502
|
></button>
|
|
1503
1503
|
<kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
|
|
1504
|
-
`, isInline: true, components: [{ 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"] }, { type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i4
|
|
1504
|
+
`, isInline: true, components: [{ 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"] }, { type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
1505
1505
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SliderComponent, decorators: [{
|
|
1506
1506
|
type: Component,
|
|
1507
1507
|
args: [{
|
|
@@ -2204,7 +2204,7 @@ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2204
2204
|
</div>
|
|
2205
2205
|
</div>
|
|
2206
2206
|
<kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>
|
|
2207
|
-
`, isInline: true, components: [{ type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i4
|
|
2207
|
+
`, isInline: true, components: [{ type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
2208
2208
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RangeSliderComponent, decorators: [{
|
|
2209
2209
|
type: Component,
|
|
2210
2210
|
args: [{
|
|
@@ -4617,7 +4617,7 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4617
4617
|
</button>
|
|
4618
4618
|
</span>
|
|
4619
4619
|
</ng-container>
|
|
4620
|
-
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]" }, { type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type:
|
|
4620
|
+
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]" }, { type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
4621
4621
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericTextBoxComponent, decorators: [{
|
|
4622
4622
|
type: Component,
|
|
4623
4623
|
args: [{
|
|
@@ -5907,7 +5907,7 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5907
5907
|
</ng-template>
|
|
5908
5908
|
</span>
|
|
5909
5909
|
</ng-container>
|
|
5910
|
-
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }], directives: [{ type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type:
|
|
5910
|
+
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }], directives: [{ type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
5911
5911
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxComponent, decorators: [{
|
|
5912
5912
|
type: Component,
|
|
5913
5913
|
args: [{
|
|
@@ -7337,7 +7337,7 @@ TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
7337
7337
|
</ng-template>
|
|
7338
7338
|
</span>
|
|
7339
7339
|
<ng-container>
|
|
7340
|
-
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedTextBoxMessagesDirective, selector: "[kendoTextBoxLocalizedMessages]" }, { type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type:
|
|
7340
|
+
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedTextBoxMessagesDirective, selector: "[kendoTextBoxLocalizedMessages]" }, { type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
7341
7341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextBoxComponent, decorators: [{
|
|
7342
7342
|
type: Component,
|
|
7343
7343
|
args: [{
|
|
@@ -8412,7 +8412,7 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
8412
8412
|
></kendo-input-separator>
|
|
8413
8413
|
<ng-content select="kendo-textarea-suffix"></ng-content>
|
|
8414
8414
|
</ng-container>
|
|
8415
|
-
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }], directives: [{ type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type:
|
|
8415
|
+
`, isInline: true, components: [{ type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }], directives: [{ type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
8416
8416
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
8417
8417
|
type: Component,
|
|
8418
8418
|
args: [{
|
|
@@ -9211,7 +9211,7 @@ FlatColorPickerHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
9211
9211
|
</span>
|
|
9212
9212
|
</div>
|
|
9213
9213
|
</div>
|
|
9214
|
-
`, isInline: true, components: [{ 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"] }], directives: [{ type:
|
|
9214
|
+
`, isInline: true, components: [{ 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"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
9215
9215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlatColorPickerHeaderComponent, decorators: [{
|
|
9216
9216
|
type: Component,
|
|
9217
9217
|
args: [{
|
|
@@ -9413,7 +9413,7 @@ class ColorContrastSvgComponent {
|
|
|
9413
9413
|
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9414
9414
|
ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: { wrapper: "wrapper", hsva: "hsva", backgroundColor: "backgroundColor" }, host: { properties: { "class.k-color-contrast-svg": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
9415
9415
|
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
9416
|
-
`, isInline: true, directives: [{ type:
|
|
9416
|
+
`, isInline: true, directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
9417
9417
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
|
|
9418
9418
|
type: Component,
|
|
9419
9419
|
args: [{
|
|
@@ -9715,7 +9715,7 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9715
9715
|
<label [for]="alpha.focusableId" class="k-colorgradient-input-label">A</label>
|
|
9716
9716
|
</div>
|
|
9717
9717
|
</ng-container>
|
|
9718
|
-
`, isInline: true, components: [{ 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"] }, { type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type:
|
|
9718
|
+
`, isInline: true, components: [{ 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"] }, { type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }] });
|
|
9719
9719
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorInputComponent, decorators: [{
|
|
9720
9720
|
type: Component,
|
|
9721
9721
|
args: [{
|
|
@@ -9911,7 +9911,7 @@ ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
9911
9911
|
<kendo-icon-wrapper name="x" [svgIcon]="xCircleIcon"></kendo-icon-wrapper>
|
|
9912
9912
|
</span>
|
|
9913
9913
|
</ng-container>
|
|
9914
|
-
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type:
|
|
9914
|
+
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9915
9915
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContrastValidationComponent, decorators: [{
|
|
9916
9916
|
type: Component,
|
|
9917
9917
|
args: [{
|
|
@@ -9989,7 +9989,7 @@ ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
9989
9989
|
[value]="value"
|
|
9990
9990
|
[pass]="satisfiesAAACondition">
|
|
9991
9991
|
</div>
|
|
9992
|
-
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: ["type", "pass", "value"] }], directives: [{ type:
|
|
9992
|
+
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: ["type", "pass", "value"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9993
9993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContrastComponent, decorators: [{
|
|
9994
9994
|
type: Component,
|
|
9995
9995
|
args: [{
|
|
@@ -10845,7 +10845,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10845
10845
|
[value]="value"
|
|
10846
10846
|
[ratio]="contrastTool">
|
|
10847
10847
|
</div>
|
|
10848
|
-
`, isInline: true, components: [{ type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { 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"] }, { type: SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { type: ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { type: ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i4
|
|
10848
|
+
`, isInline: true, components: [{ type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { 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"] }, { type: SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { type: ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { type: ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i4.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
10849
10849
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
10850
10850
|
type: Component,
|
|
10851
10851
|
args: [{
|
|
@@ -11628,7 +11628,7 @@ ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11628
11628
|
</tr>
|
|
11629
11629
|
</tbody>
|
|
11630
11630
|
</table>
|
|
11631
|
-
`, isInline: true, directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type:
|
|
11631
|
+
`, isInline: true, directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
11632
11632
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorPaletteComponent, decorators: [{
|
|
11633
11633
|
type: Component,
|
|
11634
11634
|
args: [{
|
|
@@ -12410,7 +12410,7 @@ FlatColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12410
12410
|
[ngClass]="'k-justify-content-' + actionsLayout"
|
|
12411
12411
|
(actionButtonClick)="onAction($event)"
|
|
12412
12412
|
(tabOut)="firstFocusable.focus()"></div>
|
|
12413
|
-
`, isInline: true, components: [{ type: FlatColorPickerHeaderComponent, selector: "[kendoFlatColorPickerHeader]", inputs: ["clearButton", "activeView", "views", "preview", "innerTabIndex", "value", "selection"], outputs: ["viewChange", "valuePaneClick", "clearButtonClick", "tabOut"] }, { type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: ["id", "opacity", "disabled", "readonly", "clearButton", "delay", "value", "contrastTool", "tabindex", "format", "gradientSliderStep", "gradientSliderSmallStep"], outputs: ["valueChange"], exportAs: ["kendoColorGradient"] }, { type: ColorPaletteComponent, selector: "kendo-colorpalette", inputs: ["id", "format", "value", "columns", "palette", "tabindex", "disabled", "readonly", "tileSize"], outputs: ["selectionChange", "valueChange", "cellSelection"], exportAs: ["kendoColorPalette"] }, { type: FlatColorPickerActionButtonsComponent, selector: "[kendoFlatColorPickerActionButtons]", inputs: ["innerTabIndex"], outputs: ["actionButtonClick", "tabOut"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type:
|
|
12413
|
+
`, isInline: true, components: [{ type: FlatColorPickerHeaderComponent, selector: "[kendoFlatColorPickerHeader]", inputs: ["clearButton", "activeView", "views", "preview", "innerTabIndex", "value", "selection"], outputs: ["viewChange", "valuePaneClick", "clearButtonClick", "tabOut"] }, { type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: ["id", "opacity", "disabled", "readonly", "clearButton", "delay", "value", "contrastTool", "tabindex", "format", "gradientSliderStep", "gradientSliderSmallStep"], outputs: ["valueChange"], exportAs: ["kendoColorGradient"] }, { type: ColorPaletteComponent, selector: "kendo-colorpalette", inputs: ["id", "format", "value", "columns", "palette", "tabindex", "disabled", "readonly", "tileSize"], outputs: ["selectionChange", "valueChange", "cellSelection"], exportAs: ["kendoColorPalette"] }, { type: FlatColorPickerActionButtonsComponent, selector: "[kendoFlatColorPickerActionButtons]", inputs: ["innerTabIndex"], outputs: ["actionButtonClick", "tabOut"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
12414
12414
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlatColorPickerComponent, decorators: [{
|
|
12415
12415
|
type: Component,
|
|
12416
12416
|
args: [{
|
|
@@ -13453,7 +13453,7 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13453
13453
|
</kendo-flatcolorpicker>
|
|
13454
13454
|
</ng-template>
|
|
13455
13455
|
<ng-container #container></ng-container>
|
|
13456
|
-
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { 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"] }, { type: FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "paletteSettings"], outputs: ["valueChange", "cancel", "activeViewChange", "clearButtonClick", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type:
|
|
13456
|
+
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { 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"] }, { type: FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "paletteSettings"], outputs: ["valueChange", "cancel", "activeViewChange", "clearButtonClick", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
13457
13457
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
13458
13458
|
type: Component,
|
|
13459
13459
|
args: [{
|
|
@@ -13751,7 +13751,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13751
13751
|
}]
|
|
13752
13752
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
13753
13753
|
|
|
13754
|
-
const PUBLIC_DIRECTIVES = [
|
|
13754
|
+
const PUBLIC_DIRECTIVES$1 = [
|
|
13755
13755
|
ColorPickerComponent,
|
|
13756
13756
|
ColorPaletteComponent,
|
|
13757
13757
|
ColorGradientComponent,
|
|
@@ -13813,10 +13813,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13813
13813
|
type: NgModule,
|
|
13814
13814
|
args: [{
|
|
13815
13815
|
declarations: [
|
|
13816
|
-
PUBLIC_DIRECTIVES,
|
|
13816
|
+
PUBLIC_DIRECTIVES$1,
|
|
13817
13817
|
INTERNAL_DIRECTIVES
|
|
13818
13818
|
],
|
|
13819
|
-
exports: [PUBLIC_DIRECTIVES],
|
|
13819
|
+
exports: [PUBLIC_DIRECTIVES$1],
|
|
13820
13820
|
imports: [
|
|
13821
13821
|
SliderModule,
|
|
13822
13822
|
NumericTextBoxModule,
|
|
@@ -14409,7 +14409,7 @@ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14409
14409
|
<ng-content select="kendo-formhint" *ngIf="hasHints"></ng-content>
|
|
14410
14410
|
<ng-content select="kendo-formerror" *ngIf="hasErrors"></ng-content>
|
|
14411
14411
|
</div>
|
|
14412
|
-
`, isInline: true, directives: [{ type:
|
|
14412
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
14413
14413
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
14414
14414
|
type: Component,
|
|
14415
14415
|
args: [{
|
|
@@ -15305,7 +15305,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
15305
15305
|
[parentLocalization]="localization">
|
|
15306
15306
|
</kendo-signature>
|
|
15307
15307
|
</kendo-dialog>
|
|
15308
|
-
`, isInline: true, components: [{ 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"] }, { type: i3.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { 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"] }], directives: [{ type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type:
|
|
15308
|
+
`, isInline: true, components: [{ 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"] }, { type: i3$1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { 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"] }], directives: [{ type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15309
15309
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
15310
15310
|
type: Component,
|
|
15311
15311
|
args: [{
|
|
@@ -15572,6 +15572,812 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15572
15572
|
}]
|
|
15573
15573
|
}] });
|
|
15574
15574
|
|
|
15575
|
+
/**
|
|
15576
|
+
* Renders the rating item content. To define an item template, nest an `<ng-template>` tag
|
|
15577
|
+
* with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag
|
|
15578
|
+
* [see example]({% slug templates_rating %}#toc-item-template).
|
|
15579
|
+
*/
|
|
15580
|
+
class RatingItemTemplateDirective {
|
|
15581
|
+
constructor(templateRef) {
|
|
15582
|
+
this.templateRef = templateRef;
|
|
15583
|
+
}
|
|
15584
|
+
}
|
|
15585
|
+
RatingItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15586
|
+
RatingItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RatingItemTemplateDirective, selector: "[kendoRatingItemTemplate]", ngImport: i0 });
|
|
15587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingItemTemplateDirective, decorators: [{
|
|
15588
|
+
type: Directive,
|
|
15589
|
+
args: [{
|
|
15590
|
+
selector: '[kendoRatingItemTemplate]'
|
|
15591
|
+
}]
|
|
15592
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
15593
|
+
|
|
15594
|
+
/**
|
|
15595
|
+
* Renders the hovered rating item content. To define an item template, nest an `<ng-template>` tag
|
|
15596
|
+
* with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag
|
|
15597
|
+
* [see example]({% slug templates_rating %}#toc-hovered-item-template).
|
|
15598
|
+
*/
|
|
15599
|
+
class RatingHoveredItemTemplateDirective {
|
|
15600
|
+
constructor(templateRef) {
|
|
15601
|
+
this.templateRef = templateRef;
|
|
15602
|
+
}
|
|
15603
|
+
}
|
|
15604
|
+
RatingHoveredItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingHoveredItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15605
|
+
RatingHoveredItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RatingHoveredItemTemplateDirective, selector: "[kendoRatingHoveredItemTemplate]", ngImport: i0 });
|
|
15606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingHoveredItemTemplateDirective, decorators: [{
|
|
15607
|
+
type: Directive,
|
|
15608
|
+
args: [{
|
|
15609
|
+
selector: '[kendoRatingHoveredItemTemplate]'
|
|
15610
|
+
}]
|
|
15611
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
15612
|
+
|
|
15613
|
+
/**
|
|
15614
|
+
* Renders the selected rating item content. To define an item template, nest an `<ng-template>` tag
|
|
15615
|
+
* with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag
|
|
15616
|
+
* [see example]({% slug templates_rating %}#toc-selected-item-template).
|
|
15617
|
+
*/
|
|
15618
|
+
class RatingSelectedItemTemplateDirective {
|
|
15619
|
+
constructor(templateRef) {
|
|
15620
|
+
this.templateRef = templateRef;
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
RatingSelectedItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingSelectedItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15624
|
+
RatingSelectedItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RatingSelectedItemTemplateDirective, selector: "[kendoRatingSelectedItemTemplate]", ngImport: i0 });
|
|
15625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingSelectedItemTemplateDirective, decorators: [{
|
|
15626
|
+
type: Directive,
|
|
15627
|
+
args: [{
|
|
15628
|
+
selector: '[kendoRatingSelectedItemTemplate]'
|
|
15629
|
+
}]
|
|
15630
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
15631
|
+
|
|
15632
|
+
/**
|
|
15633
|
+
* Represents the [Kendo UI Rating component for Angular]({% slug overview_rating %}).
|
|
15634
|
+
*/
|
|
15635
|
+
class RatingComponent {
|
|
15636
|
+
constructor(element, renderer, localizationService, cdr, zone) {
|
|
15637
|
+
this.element = element;
|
|
15638
|
+
this.renderer = renderer;
|
|
15639
|
+
this.localizationService = localizationService;
|
|
15640
|
+
this.cdr = cdr;
|
|
15641
|
+
this.zone = zone;
|
|
15642
|
+
/**
|
|
15643
|
+
* 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).
|
|
15644
|
+
*
|
|
15645
|
+
* @default false
|
|
15646
|
+
*
|
|
15647
|
+
*/
|
|
15648
|
+
this.disabled = false;
|
|
15649
|
+
/**
|
|
15650
|
+
* Determines whether the Rating is in its read-only state ([see example]({% slug readonly_rating %})).
|
|
15651
|
+
*
|
|
15652
|
+
* @default false
|
|
15653
|
+
*
|
|
15654
|
+
*/
|
|
15655
|
+
this.readonly = false;
|
|
15656
|
+
/**
|
|
15657
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Rating.
|
|
15658
|
+
*
|
|
15659
|
+
* @default 0
|
|
15660
|
+
*
|
|
15661
|
+
*/
|
|
15662
|
+
this.tabindex = 0;
|
|
15663
|
+
/**
|
|
15664
|
+
* Sets the number of rating items ([see example]({% slug itemscount_rating %})).
|
|
15665
|
+
*
|
|
15666
|
+
* @default 5
|
|
15667
|
+
*
|
|
15668
|
+
*/
|
|
15669
|
+
this.itemsCount = 5;
|
|
15670
|
+
/**
|
|
15671
|
+
* Sets custom Rating SVG icon. It is the icon that is used for not selected/hovered state. [see example]({% slug icon_rating %}).
|
|
15672
|
+
*/
|
|
15673
|
+
this.svgIcon = starIcon;
|
|
15674
|
+
/**
|
|
15675
|
+
* Sets custom Rating SVG icon. It is the icon that is used for selected/hovered state. [see example]({% slug icon_rating %}).
|
|
15676
|
+
*/
|
|
15677
|
+
this.svgIconOutline = starOutlineIcon;
|
|
15678
|
+
/**
|
|
15679
|
+
* Fires each time the user selects a new value.
|
|
15680
|
+
*/
|
|
15681
|
+
this.valueChange = new EventEmitter();
|
|
15682
|
+
this.hostClass = true;
|
|
15683
|
+
this.valueMin = 0;
|
|
15684
|
+
this.ariaRole = 'slider';
|
|
15685
|
+
/**
|
|
15686
|
+
* @hidden
|
|
15687
|
+
*/
|
|
15688
|
+
this.ratingItems = [];
|
|
15689
|
+
this.ngChange = (_) => { };
|
|
15690
|
+
this.ngTouched = () => { };
|
|
15691
|
+
this._selection = 'continuous';
|
|
15692
|
+
this._precision = 'item';
|
|
15693
|
+
this.subscriptions = new Subscription();
|
|
15694
|
+
validatePackage(packageMetadata);
|
|
15695
|
+
}
|
|
15696
|
+
/**
|
|
15697
|
+
* The initial value of the Rating component.
|
|
15698
|
+
* The component can use either NgModel or the `value` binding but not both of them at the same time.
|
|
15699
|
+
*
|
|
15700
|
+
*/
|
|
15701
|
+
set value(value) {
|
|
15702
|
+
this._value = value;
|
|
15703
|
+
this.updateRatingItems();
|
|
15704
|
+
}
|
|
15705
|
+
get value() {
|
|
15706
|
+
return this._value;
|
|
15707
|
+
}
|
|
15708
|
+
/**
|
|
15709
|
+
* Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
|
|
15710
|
+
*
|
|
15711
|
+
* @default 'continuous'
|
|
15712
|
+
*
|
|
15713
|
+
*/
|
|
15714
|
+
set selection(selection) {
|
|
15715
|
+
this._selection = selection;
|
|
15716
|
+
this.updateRatingItems();
|
|
15717
|
+
}
|
|
15718
|
+
get selection() {
|
|
15719
|
+
return this._selection;
|
|
15720
|
+
}
|
|
15721
|
+
/**
|
|
15722
|
+
* Determines the precision of the Rating ([see example]({% slug precision_rating %})).
|
|
15723
|
+
*
|
|
15724
|
+
* @default 'item'
|
|
15725
|
+
*
|
|
15726
|
+
*/
|
|
15727
|
+
set precision(precision) {
|
|
15728
|
+
this._precision = precision;
|
|
15729
|
+
this.updateRatingItems();
|
|
15730
|
+
}
|
|
15731
|
+
get precision() {
|
|
15732
|
+
return this._precision;
|
|
15733
|
+
}
|
|
15734
|
+
get isControlInvalid() {
|
|
15735
|
+
var _a, _b;
|
|
15736
|
+
return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
|
|
15737
|
+
}
|
|
15738
|
+
get valueMax() {
|
|
15739
|
+
return this.itemsCount;
|
|
15740
|
+
}
|
|
15741
|
+
get valueNow() {
|
|
15742
|
+
return this.value;
|
|
15743
|
+
}
|
|
15744
|
+
ngOnInit() {
|
|
15745
|
+
this.subscriptions.add(this.localizationService
|
|
15746
|
+
.changes
|
|
15747
|
+
.subscribe(({ rtl }) => {
|
|
15748
|
+
this.direction = rtl ? 'rtl' : 'ltr';
|
|
15749
|
+
}));
|
|
15750
|
+
this.subscriptions.add(this.renderer.listen(this.element.nativeElement, 'blur', () => this.ngTouched()));
|
|
15751
|
+
this.subscriptions.add(this.renderer.listen(this.element.nativeElement, 'keydown', event => this.onKeyDown(event)));
|
|
15752
|
+
this.createRatingItems();
|
|
15753
|
+
}
|
|
15754
|
+
ngAfterViewInit() {
|
|
15755
|
+
const items = this.element.nativeElement.querySelectorAll('.k-rating-item');
|
|
15756
|
+
this.zone.runOutsideAngular(() => {
|
|
15757
|
+
items.forEach((item, index) => this.subscriptions.add(this.renderer.listen(item, 'mousemove', (event) => this.onMouseMove(index, event))));
|
|
15758
|
+
});
|
|
15759
|
+
}
|
|
15760
|
+
ngOnDestroy() {
|
|
15761
|
+
this.subscriptions.unsubscribe();
|
|
15762
|
+
}
|
|
15763
|
+
/**
|
|
15764
|
+
* Focuses the Rating component.
|
|
15765
|
+
*/
|
|
15766
|
+
focus() {
|
|
15767
|
+
if (isDocumentAvailable() && !this.disabled) {
|
|
15768
|
+
this.element.nativeElement.focus();
|
|
15769
|
+
}
|
|
15770
|
+
}
|
|
15771
|
+
/**
|
|
15772
|
+
* Blurs the Rating component.
|
|
15773
|
+
*/
|
|
15774
|
+
blur() {
|
|
15775
|
+
if (isDocumentAvailable()) {
|
|
15776
|
+
this.element.nativeElement.blur();
|
|
15777
|
+
}
|
|
15778
|
+
}
|
|
15779
|
+
/**
|
|
15780
|
+
* @hidden
|
|
15781
|
+
*/
|
|
15782
|
+
createRatingItems() {
|
|
15783
|
+
for (let i = 0; i < this.itemsCount; i++) {
|
|
15784
|
+
const item = {
|
|
15785
|
+
title: this.isHalf(i, this.value) ? String(i + 0.5) : String(i + 1),
|
|
15786
|
+
selected: this.isSelected(i, this.value),
|
|
15787
|
+
selectedIndicator: false,
|
|
15788
|
+
hovered: false,
|
|
15789
|
+
half: this.isHalf(i, this.value)
|
|
15790
|
+
};
|
|
15791
|
+
this.ratingItems.push(item);
|
|
15792
|
+
}
|
|
15793
|
+
}
|
|
15794
|
+
/**
|
|
15795
|
+
* @hidden
|
|
15796
|
+
*/
|
|
15797
|
+
onMouseEnter(event) {
|
|
15798
|
+
this.rect = event.target.getBoundingClientRect();
|
|
15799
|
+
}
|
|
15800
|
+
/**
|
|
15801
|
+
* @hidden
|
|
15802
|
+
*/
|
|
15803
|
+
onMouseMove(value, event) {
|
|
15804
|
+
const halfPrecision = this.precision === 'half';
|
|
15805
|
+
const isFirstHalf = halfPrecision && this.isFirstHalf(this.rect, event.clientX);
|
|
15806
|
+
this.zone.run(() => this.ratingItems.forEach((item, index) => {
|
|
15807
|
+
item.title = (halfPrecision && value === index && isFirstHalf) ? String(index + 0.5) : String(index + 1);
|
|
15808
|
+
item.selected = item.hovered = this.isSelected(index, value + 1);
|
|
15809
|
+
item.selectedIndicator = this.isSelected(index, this.value);
|
|
15810
|
+
item.half = (halfPrecision && value === index) ? isFirstHalf : false;
|
|
15811
|
+
}));
|
|
15812
|
+
}
|
|
15813
|
+
/**
|
|
15814
|
+
* @hidden
|
|
15815
|
+
*/
|
|
15816
|
+
onMouseOut() {
|
|
15817
|
+
this.rect = null;
|
|
15818
|
+
this.updateRatingItems();
|
|
15819
|
+
}
|
|
15820
|
+
/**
|
|
15821
|
+
* @hidden
|
|
15822
|
+
* Called when the status of the component changes to or from `disabled`.
|
|
15823
|
+
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
15824
|
+
*
|
|
15825
|
+
* @param isDisabled
|
|
15826
|
+
*/
|
|
15827
|
+
setDisabledState(isDisabled) {
|
|
15828
|
+
this.disabled = isDisabled;
|
|
15829
|
+
this.cdr.markForCheck();
|
|
15830
|
+
}
|
|
15831
|
+
/**
|
|
15832
|
+
* @hidden
|
|
15833
|
+
*/
|
|
15834
|
+
changeValue(index, event) {
|
|
15835
|
+
const rect = event.target.getBoundingClientRect();
|
|
15836
|
+
const isFirstHalf = this.isFirstHalf(rect, event.clientX);
|
|
15837
|
+
const value = (this.precision === 'half' && isFirstHalf) ? index + 0.5 : index + 1;
|
|
15838
|
+
if (!areSame(this.value, value)) {
|
|
15839
|
+
this.value = value;
|
|
15840
|
+
this.ngChange(this.value);
|
|
15841
|
+
this.valueChange.emit(this.value);
|
|
15842
|
+
this.updateRatingItems();
|
|
15843
|
+
this.cdr.markForCheck();
|
|
15844
|
+
}
|
|
15845
|
+
}
|
|
15846
|
+
/**
|
|
15847
|
+
* @hidden
|
|
15848
|
+
*/
|
|
15849
|
+
updateRatingItems() {
|
|
15850
|
+
this.ratingItems.forEach((item, index) => {
|
|
15851
|
+
item.title = this.isHalf(index, this.value) ? String(index + 0.5) : String(index + 1);
|
|
15852
|
+
item.selected = this.isSelected(index, this.value);
|
|
15853
|
+
item.selectedIndicator = this.isSelected(index, this.value);
|
|
15854
|
+
item.hovered = false;
|
|
15855
|
+
item.half = this.isHalf(index, this.value);
|
|
15856
|
+
});
|
|
15857
|
+
}
|
|
15858
|
+
/**
|
|
15859
|
+
* @hidden
|
|
15860
|
+
*/
|
|
15861
|
+
writeValue(value) {
|
|
15862
|
+
this.value = value;
|
|
15863
|
+
this.updateRatingItems();
|
|
15864
|
+
this.cdr.markForCheck();
|
|
15865
|
+
}
|
|
15866
|
+
/**
|
|
15867
|
+
* @hidden
|
|
15868
|
+
*/
|
|
15869
|
+
registerOnChange(fn) {
|
|
15870
|
+
this.ngChange = fn;
|
|
15871
|
+
}
|
|
15872
|
+
/**
|
|
15873
|
+
* @hidden
|
|
15874
|
+
*/
|
|
15875
|
+
registerOnTouched(fn) {
|
|
15876
|
+
this.ngTouched = fn;
|
|
15877
|
+
}
|
|
15878
|
+
isSelected(index, value) {
|
|
15879
|
+
return this.selection === 'single' ? index === Math.ceil(value - 1) : index <= Math.ceil(value - 1);
|
|
15880
|
+
}
|
|
15881
|
+
isHalf(index, value) {
|
|
15882
|
+
return (this.precision === 'half' && (value > index) && (value < index + 1));
|
|
15883
|
+
}
|
|
15884
|
+
isFirstHalf(rect, clientX) {
|
|
15885
|
+
const elementPosition = rect.x + (rect.width / 2);
|
|
15886
|
+
return this.direction === 'ltr' ? clientX < elementPosition : clientX > elementPosition;
|
|
15887
|
+
}
|
|
15888
|
+
onKeyDown(event) {
|
|
15889
|
+
const decreaseValue = () => {
|
|
15890
|
+
if (this.value <= 0) {
|
|
15891
|
+
return;
|
|
15892
|
+
}
|
|
15893
|
+
this.value = (this.precision === 'half') ? this.value - 0.5 : this.value - 1;
|
|
15894
|
+
this.ngChange(this.value);
|
|
15895
|
+
this.valueChange.emit(this.value);
|
|
15896
|
+
this.updateRatingItems();
|
|
15897
|
+
this.cdr.markForCheck();
|
|
15898
|
+
};
|
|
15899
|
+
const increaseValue = () => {
|
|
15900
|
+
if (this.value >= this.itemsCount) {
|
|
15901
|
+
return;
|
|
15902
|
+
}
|
|
15903
|
+
this.value = (this.precision === 'half') ? this.value + 0.5 : this.value + 1;
|
|
15904
|
+
this.ngChange(this.value);
|
|
15905
|
+
this.valueChange.emit(this.value);
|
|
15906
|
+
this.updateRatingItems();
|
|
15907
|
+
this.cdr.markForCheck();
|
|
15908
|
+
};
|
|
15909
|
+
const setMinValue = () => {
|
|
15910
|
+
if (!areSame(this.value, this.valueMin)) {
|
|
15911
|
+
this.value = this.valueMin;
|
|
15912
|
+
this.ngChange(this.value);
|
|
15913
|
+
this.valueChange.emit(this.value);
|
|
15914
|
+
this.updateRatingItems();
|
|
15915
|
+
this.cdr.markForCheck();
|
|
15916
|
+
}
|
|
15917
|
+
};
|
|
15918
|
+
const setMaxValue = () => {
|
|
15919
|
+
if (!areSame(this.value, this.valueMax)) {
|
|
15920
|
+
this.value = this.valueMax;
|
|
15921
|
+
this.ngChange(this.value);
|
|
15922
|
+
this.valueChange.emit(this.value);
|
|
15923
|
+
this.updateRatingItems();
|
|
15924
|
+
this.cdr.markForCheck();
|
|
15925
|
+
}
|
|
15926
|
+
};
|
|
15927
|
+
if (event.keyCode === Keys.ArrowDown) {
|
|
15928
|
+
decreaseValue();
|
|
15929
|
+
}
|
|
15930
|
+
if (event.keyCode === Keys.ArrowLeft) {
|
|
15931
|
+
if (this.direction === 'ltr') {
|
|
15932
|
+
decreaseValue();
|
|
15933
|
+
}
|
|
15934
|
+
else {
|
|
15935
|
+
increaseValue();
|
|
15936
|
+
}
|
|
15937
|
+
}
|
|
15938
|
+
if (event.keyCode === Keys.ArrowUp) {
|
|
15939
|
+
increaseValue();
|
|
15940
|
+
}
|
|
15941
|
+
if (event.keyCode === Keys.ArrowRight) {
|
|
15942
|
+
if (this.direction === 'ltr') {
|
|
15943
|
+
increaseValue();
|
|
15944
|
+
}
|
|
15945
|
+
else {
|
|
15946
|
+
decreaseValue();
|
|
15947
|
+
}
|
|
15948
|
+
}
|
|
15949
|
+
if (event.keyCode === Keys.Home) {
|
|
15950
|
+
setMinValue();
|
|
15951
|
+
}
|
|
15952
|
+
if (event.keyCode === Keys.End) {
|
|
15953
|
+
setMaxValue();
|
|
15954
|
+
}
|
|
15955
|
+
}
|
|
15956
|
+
}
|
|
15957
|
+
RatingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
15958
|
+
RatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: RatingComponent, selector: "kendo-rating", inputs: { disabled: "disabled", readonly: "readonly", tabindex: "tabindex", itemsCount: "itemsCount", value: "value", selection: "selection", precision: "precision", label: "label", icon: "icon", svgIcon: "svgIcon", svgIconOutline: "svgIconOutline" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.aria-disabled": "this.disabled", "class.k-disabled": "this.disabled", "attr.aria-readonly": "this.readonly", "class.k-readonly": "this.readonly", "attr.tabindex": "this.tabindex", "class.k-rating": "this.hostClass", "attr.dir": "this.direction", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-valuemin": "this.valueMin", "attr.aria-valuemax": "this.valueMax", "attr.aria-valuenow": "this.valueNow", "attr.role": "this.ariaRole" } }, providers: [
|
|
15959
|
+
LocalizationService,
|
|
15960
|
+
{ provide: L10N_PREFIX, useValue: 'kendo.rating' },
|
|
15961
|
+
{
|
|
15962
|
+
multi: true,
|
|
15963
|
+
provide: NG_VALUE_ACCESSOR,
|
|
15964
|
+
useExisting: forwardRef(() => RatingComponent) /* eslint-disable-line*/
|
|
15965
|
+
},
|
|
15966
|
+
{
|
|
15967
|
+
provide: KendoInput,
|
|
15968
|
+
useExisting: forwardRef(() => RatingComponent)
|
|
15969
|
+
}
|
|
15970
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: RatingItemTemplateDirective, descendants: true }, { propertyName: "hoveredItemTemplate", first: true, predicate: RatingHoveredItemTemplateDirective, descendants: true }, { propertyName: "selectedItemTemplate", first: true, predicate: RatingSelectedItemTemplateDirective, descendants: true }], exportAs: ["kendoRating"], ngImport: i0, template: `
|
|
15971
|
+
<span class="k-rating-container">
|
|
15972
|
+
<span
|
|
15973
|
+
*ngFor="let item of ratingItems; index as i"
|
|
15974
|
+
class="k-rating-item"
|
|
15975
|
+
[title]="item.title"
|
|
15976
|
+
[ngClass]="{
|
|
15977
|
+
'k-selected': item.selected || item.selectedIndicator,
|
|
15978
|
+
'k-hover': item.hovered
|
|
15979
|
+
}"
|
|
15980
|
+
(mouseenter)="onMouseEnter($event)"
|
|
15981
|
+
(mouseout)="onMouseOut()"
|
|
15982
|
+
(click)="changeValue(i, $event)"
|
|
15983
|
+
>
|
|
15984
|
+
<ng-container *ngIf="!item.half">
|
|
15985
|
+
<ng-container *ngIf="!itemTemplate">
|
|
15986
|
+
<kendo-icon-wrapper
|
|
15987
|
+
*ngIf="!icon"
|
|
15988
|
+
size="xlarge"
|
|
15989
|
+
[name]="item.selected || item.hovered ? 'star' : 'star-outline'"
|
|
15990
|
+
[svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
|
|
15991
|
+
>
|
|
15992
|
+
</kendo-icon-wrapper>
|
|
15993
|
+
|
|
15994
|
+
<kendo-icon-wrapper
|
|
15995
|
+
*ngIf="icon"
|
|
15996
|
+
size="xlarge"
|
|
15997
|
+
[name]="item.selected || item.hovered ? icon : icon + '-outline'"
|
|
15998
|
+
>
|
|
15999
|
+
</kendo-icon-wrapper>
|
|
16000
|
+
</ng-container>
|
|
16001
|
+
|
|
16002
|
+
<ng-template
|
|
16003
|
+
*ngIf="itemTemplate && (!item.selected && !item.hovered)"
|
|
16004
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16005
|
+
>
|
|
16006
|
+
</ng-template>
|
|
16007
|
+
|
|
16008
|
+
<ng-template
|
|
16009
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16010
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16011
|
+
>
|
|
16012
|
+
</ng-template>
|
|
16013
|
+
|
|
16014
|
+
<ng-template
|
|
16015
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16016
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16017
|
+
>
|
|
16018
|
+
</ng-template>
|
|
16019
|
+
</ng-container>
|
|
16020
|
+
|
|
16021
|
+
<ng-container *ngIf="item.half">
|
|
16022
|
+
<ng-container *ngIf="!itemTemplate">
|
|
16023
|
+
<span class="k-rating-precision-complement">
|
|
16024
|
+
<kendo-icon-wrapper
|
|
16025
|
+
*ngIf="!icon"
|
|
16026
|
+
size="xlarge"
|
|
16027
|
+
[name]="'star-outline'"
|
|
16028
|
+
[svgIcon]="svgIconOutline"
|
|
16029
|
+
>
|
|
16030
|
+
</kendo-icon-wrapper>
|
|
16031
|
+
|
|
16032
|
+
<kendo-icon-wrapper
|
|
16033
|
+
*ngIf="icon"
|
|
16034
|
+
size="xlarge"
|
|
16035
|
+
[name]="icon + '-outline'"
|
|
16036
|
+
>
|
|
16037
|
+
</kendo-icon-wrapper>
|
|
16038
|
+
</span>
|
|
16039
|
+
|
|
16040
|
+
<span
|
|
16041
|
+
class="k-rating-precision-part"
|
|
16042
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16043
|
+
>
|
|
16044
|
+
<kendo-icon-wrapper
|
|
16045
|
+
*ngIf="!icon"
|
|
16046
|
+
size="xlarge"
|
|
16047
|
+
[name]="'star'"
|
|
16048
|
+
[svgIcon]="svgIcon"
|
|
16049
|
+
>
|
|
16050
|
+
</kendo-icon-wrapper>
|
|
16051
|
+
|
|
16052
|
+
<kendo-icon-wrapper
|
|
16053
|
+
*ngIf="icon"
|
|
16054
|
+
size="xlarge"
|
|
16055
|
+
[name]="icon"
|
|
16056
|
+
>
|
|
16057
|
+
</kendo-icon-wrapper>
|
|
16058
|
+
</span>
|
|
16059
|
+
</ng-container>
|
|
16060
|
+
|
|
16061
|
+
<span
|
|
16062
|
+
class="k-rating-precision-complement"
|
|
16063
|
+
>
|
|
16064
|
+
<ng-template
|
|
16065
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16066
|
+
>
|
|
16067
|
+
</ng-template>
|
|
16068
|
+
</span>
|
|
16069
|
+
|
|
16070
|
+
<span
|
|
16071
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16072
|
+
class="k-rating-precision-part"
|
|
16073
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16074
|
+
>
|
|
16075
|
+
<ng-template
|
|
16076
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16077
|
+
>
|
|
16078
|
+
</ng-template>
|
|
16079
|
+
</span>
|
|
16080
|
+
|
|
16081
|
+
<span
|
|
16082
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16083
|
+
class="k-rating-precision-part"
|
|
16084
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16085
|
+
>
|
|
16086
|
+
<ng-template
|
|
16087
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16088
|
+
>
|
|
16089
|
+
</ng-template>
|
|
16090
|
+
</span>
|
|
16091
|
+
|
|
16092
|
+
<span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
|
|
16093
|
+
</ng-container>
|
|
16094
|
+
</span>
|
|
16095
|
+
</span>
|
|
16096
|
+
|
|
16097
|
+
<span
|
|
16098
|
+
*ngIf="label"
|
|
16099
|
+
class="k-rating-label"
|
|
16100
|
+
>{{ label }}</span>
|
|
16101
|
+
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
16102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingComponent, decorators: [{
|
|
16103
|
+
type: Component,
|
|
16104
|
+
args: [{
|
|
16105
|
+
exportAs: 'kendoRating',
|
|
16106
|
+
providers: [
|
|
16107
|
+
LocalizationService,
|
|
16108
|
+
{ provide: L10N_PREFIX, useValue: 'kendo.rating' },
|
|
16109
|
+
{
|
|
16110
|
+
multi: true,
|
|
16111
|
+
provide: NG_VALUE_ACCESSOR,
|
|
16112
|
+
useExisting: forwardRef(() => RatingComponent) /* eslint-disable-line*/
|
|
16113
|
+
},
|
|
16114
|
+
{
|
|
16115
|
+
provide: KendoInput,
|
|
16116
|
+
useExisting: forwardRef(() => RatingComponent)
|
|
16117
|
+
}
|
|
16118
|
+
],
|
|
16119
|
+
selector: 'kendo-rating',
|
|
16120
|
+
template: `
|
|
16121
|
+
<span class="k-rating-container">
|
|
16122
|
+
<span
|
|
16123
|
+
*ngFor="let item of ratingItems; index as i"
|
|
16124
|
+
class="k-rating-item"
|
|
16125
|
+
[title]="item.title"
|
|
16126
|
+
[ngClass]="{
|
|
16127
|
+
'k-selected': item.selected || item.selectedIndicator,
|
|
16128
|
+
'k-hover': item.hovered
|
|
16129
|
+
}"
|
|
16130
|
+
(mouseenter)="onMouseEnter($event)"
|
|
16131
|
+
(mouseout)="onMouseOut()"
|
|
16132
|
+
(click)="changeValue(i, $event)"
|
|
16133
|
+
>
|
|
16134
|
+
<ng-container *ngIf="!item.half">
|
|
16135
|
+
<ng-container *ngIf="!itemTemplate">
|
|
16136
|
+
<kendo-icon-wrapper
|
|
16137
|
+
*ngIf="!icon"
|
|
16138
|
+
size="xlarge"
|
|
16139
|
+
[name]="item.selected || item.hovered ? 'star' : 'star-outline'"
|
|
16140
|
+
[svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
|
|
16141
|
+
>
|
|
16142
|
+
</kendo-icon-wrapper>
|
|
16143
|
+
|
|
16144
|
+
<kendo-icon-wrapper
|
|
16145
|
+
*ngIf="icon"
|
|
16146
|
+
size="xlarge"
|
|
16147
|
+
[name]="item.selected || item.hovered ? icon : icon + '-outline'"
|
|
16148
|
+
>
|
|
16149
|
+
</kendo-icon-wrapper>
|
|
16150
|
+
</ng-container>
|
|
16151
|
+
|
|
16152
|
+
<ng-template
|
|
16153
|
+
*ngIf="itemTemplate && (!item.selected && !item.hovered)"
|
|
16154
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16155
|
+
>
|
|
16156
|
+
</ng-template>
|
|
16157
|
+
|
|
16158
|
+
<ng-template
|
|
16159
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16160
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16161
|
+
>
|
|
16162
|
+
</ng-template>
|
|
16163
|
+
|
|
16164
|
+
<ng-template
|
|
16165
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16166
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16167
|
+
>
|
|
16168
|
+
</ng-template>
|
|
16169
|
+
</ng-container>
|
|
16170
|
+
|
|
16171
|
+
<ng-container *ngIf="item.half">
|
|
16172
|
+
<ng-container *ngIf="!itemTemplate">
|
|
16173
|
+
<span class="k-rating-precision-complement">
|
|
16174
|
+
<kendo-icon-wrapper
|
|
16175
|
+
*ngIf="!icon"
|
|
16176
|
+
size="xlarge"
|
|
16177
|
+
[name]="'star-outline'"
|
|
16178
|
+
[svgIcon]="svgIconOutline"
|
|
16179
|
+
>
|
|
16180
|
+
</kendo-icon-wrapper>
|
|
16181
|
+
|
|
16182
|
+
<kendo-icon-wrapper
|
|
16183
|
+
*ngIf="icon"
|
|
16184
|
+
size="xlarge"
|
|
16185
|
+
[name]="icon + '-outline'"
|
|
16186
|
+
>
|
|
16187
|
+
</kendo-icon-wrapper>
|
|
16188
|
+
</span>
|
|
16189
|
+
|
|
16190
|
+
<span
|
|
16191
|
+
class="k-rating-precision-part"
|
|
16192
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16193
|
+
>
|
|
16194
|
+
<kendo-icon-wrapper
|
|
16195
|
+
*ngIf="!icon"
|
|
16196
|
+
size="xlarge"
|
|
16197
|
+
[name]="'star'"
|
|
16198
|
+
[svgIcon]="svgIcon"
|
|
16199
|
+
>
|
|
16200
|
+
</kendo-icon-wrapper>
|
|
16201
|
+
|
|
16202
|
+
<kendo-icon-wrapper
|
|
16203
|
+
*ngIf="icon"
|
|
16204
|
+
size="xlarge"
|
|
16205
|
+
[name]="icon"
|
|
16206
|
+
>
|
|
16207
|
+
</kendo-icon-wrapper>
|
|
16208
|
+
</span>
|
|
16209
|
+
</ng-container>
|
|
16210
|
+
|
|
16211
|
+
<span
|
|
16212
|
+
class="k-rating-precision-complement"
|
|
16213
|
+
>
|
|
16214
|
+
<ng-template
|
|
16215
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16216
|
+
>
|
|
16217
|
+
</ng-template>
|
|
16218
|
+
</span>
|
|
16219
|
+
|
|
16220
|
+
<span
|
|
16221
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16222
|
+
class="k-rating-precision-part"
|
|
16223
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16224
|
+
>
|
|
16225
|
+
<ng-template
|
|
16226
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16227
|
+
>
|
|
16228
|
+
</ng-template>
|
|
16229
|
+
</span>
|
|
16230
|
+
|
|
16231
|
+
<span
|
|
16232
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16233
|
+
class="k-rating-precision-part"
|
|
16234
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16235
|
+
>
|
|
16236
|
+
<ng-template
|
|
16237
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16238
|
+
>
|
|
16239
|
+
</ng-template>
|
|
16240
|
+
</span>
|
|
16241
|
+
|
|
16242
|
+
<span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
|
|
16243
|
+
</ng-container>
|
|
16244
|
+
</span>
|
|
16245
|
+
</span>
|
|
16246
|
+
|
|
16247
|
+
<span
|
|
16248
|
+
*ngIf="label"
|
|
16249
|
+
class="k-rating-label"
|
|
16250
|
+
>{{ label }}</span>
|
|
16251
|
+
`
|
|
16252
|
+
}]
|
|
16253
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { itemTemplate: [{
|
|
16254
|
+
type: ContentChild,
|
|
16255
|
+
args: [RatingItemTemplateDirective]
|
|
16256
|
+
}], hoveredItemTemplate: [{
|
|
16257
|
+
type: ContentChild,
|
|
16258
|
+
args: [RatingHoveredItemTemplateDirective]
|
|
16259
|
+
}], selectedItemTemplate: [{
|
|
16260
|
+
type: ContentChild,
|
|
16261
|
+
args: [RatingSelectedItemTemplateDirective]
|
|
16262
|
+
}], disabled: [{
|
|
16263
|
+
type: Input
|
|
16264
|
+
}, {
|
|
16265
|
+
type: HostBinding,
|
|
16266
|
+
args: ['attr.aria-disabled']
|
|
16267
|
+
}, {
|
|
16268
|
+
type: HostBinding,
|
|
16269
|
+
args: ['class.k-disabled']
|
|
16270
|
+
}], readonly: [{
|
|
16271
|
+
type: Input
|
|
16272
|
+
}, {
|
|
16273
|
+
type: HostBinding,
|
|
16274
|
+
args: ['attr.aria-readonly']
|
|
16275
|
+
}, {
|
|
16276
|
+
type: HostBinding,
|
|
16277
|
+
args: ['class.k-readonly']
|
|
16278
|
+
}], tabindex: [{
|
|
16279
|
+
type: Input
|
|
16280
|
+
}, {
|
|
16281
|
+
type: HostBinding,
|
|
16282
|
+
args: ['attr.tabindex']
|
|
16283
|
+
}], itemsCount: [{
|
|
16284
|
+
type: Input
|
|
16285
|
+
}], value: [{
|
|
16286
|
+
type: Input
|
|
16287
|
+
}], selection: [{
|
|
16288
|
+
type: Input
|
|
16289
|
+
}], precision: [{
|
|
16290
|
+
type: Input
|
|
16291
|
+
}], label: [{
|
|
16292
|
+
type: Input
|
|
16293
|
+
}], icon: [{
|
|
16294
|
+
type: Input
|
|
16295
|
+
}], svgIcon: [{
|
|
16296
|
+
type: Input
|
|
16297
|
+
}], svgIconOutline: [{
|
|
16298
|
+
type: Input
|
|
16299
|
+
}], valueChange: [{
|
|
16300
|
+
type: Output
|
|
16301
|
+
}], hostClass: [{
|
|
16302
|
+
type: HostBinding,
|
|
16303
|
+
args: ['class.k-rating']
|
|
16304
|
+
}], direction: [{
|
|
16305
|
+
type: HostBinding,
|
|
16306
|
+
args: ['attr.dir']
|
|
16307
|
+
}], isControlInvalid: [{
|
|
16308
|
+
type: HostBinding,
|
|
16309
|
+
args: ['attr.aria-invalid']
|
|
16310
|
+
}], valueMin: [{
|
|
16311
|
+
type: HostBinding,
|
|
16312
|
+
args: ['attr.aria-valuemin']
|
|
16313
|
+
}], valueMax: [{
|
|
16314
|
+
type: HostBinding,
|
|
16315
|
+
args: ['attr.aria-valuemax']
|
|
16316
|
+
}], valueNow: [{
|
|
16317
|
+
type: HostBinding,
|
|
16318
|
+
args: ['attr.aria-valuenow']
|
|
16319
|
+
}], ariaRole: [{
|
|
16320
|
+
type: HostBinding,
|
|
16321
|
+
args: ['attr.role']
|
|
16322
|
+
}] } });
|
|
16323
|
+
|
|
16324
|
+
const PUBLIC_DIRECTIVES = [
|
|
16325
|
+
RatingComponent,
|
|
16326
|
+
RatingItemTemplateDirective,
|
|
16327
|
+
RatingHoveredItemTemplateDirective,
|
|
16328
|
+
RatingSelectedItemTemplateDirective
|
|
16329
|
+
];
|
|
16330
|
+
/**
|
|
16331
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
16332
|
+
* definition for the Rating component.
|
|
16333
|
+
*
|
|
16334
|
+
* @example
|
|
16335
|
+
*
|
|
16336
|
+
* ```ts-no-run
|
|
16337
|
+
* // Import the Rating module
|
|
16338
|
+
* import { RatingModule } from '@progress/kendo-angular-inputs';
|
|
16339
|
+
*
|
|
16340
|
+
* // The browser platform with a compiler
|
|
16341
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
16342
|
+
*
|
|
16343
|
+
* import { NgModule } from '@angular/core';
|
|
16344
|
+
*
|
|
16345
|
+
* // Import the app component
|
|
16346
|
+
* import { AppComponent } from './app.component';
|
|
16347
|
+
*
|
|
16348
|
+
* // Define the app module
|
|
16349
|
+
* _@NgModule({
|
|
16350
|
+
* declarations: [AppComponent], // declare app component
|
|
16351
|
+
* imports: [BrowserModule, RatingModule], // import Rating module
|
|
16352
|
+
* bootstrap: [AppComponent]
|
|
16353
|
+
* })
|
|
16354
|
+
* export class AppModule {}
|
|
16355
|
+
*
|
|
16356
|
+
* // Compile and launch the module
|
|
16357
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
16358
|
+
*
|
|
16359
|
+
* ```
|
|
16360
|
+
*/
|
|
16361
|
+
class RatingModule {
|
|
16362
|
+
}
|
|
16363
|
+
RatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16364
|
+
RatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, declarations: [RatingComponent,
|
|
16365
|
+
RatingItemTemplateDirective,
|
|
16366
|
+
RatingHoveredItemTemplateDirective,
|
|
16367
|
+
RatingSelectedItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [RatingComponent,
|
|
16368
|
+
RatingItemTemplateDirective,
|
|
16369
|
+
RatingHoveredItemTemplateDirective,
|
|
16370
|
+
RatingSelectedItemTemplateDirective] });
|
|
16371
|
+
RatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, imports: [[CommonModule, IconsModule]] });
|
|
16372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, decorators: [{
|
|
16373
|
+
type: NgModule,
|
|
16374
|
+
args: [{
|
|
16375
|
+
declarations: [PUBLIC_DIRECTIVES],
|
|
16376
|
+
exports: [PUBLIC_DIRECTIVES],
|
|
16377
|
+
imports: [CommonModule, IconsModule]
|
|
16378
|
+
}]
|
|
16379
|
+
}] });
|
|
16380
|
+
|
|
15575
16381
|
/**
|
|
15576
16382
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
15577
16383
|
* definition for the Inputs components.
|
|
@@ -15618,7 +16424,8 @@ InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
15618
16424
|
CheckBoxModule,
|
|
15619
16425
|
RadioButtonModule,
|
|
15620
16426
|
FormFieldModule,
|
|
15621
|
-
SignatureModule
|
|
16427
|
+
SignatureModule,
|
|
16428
|
+
RatingModule] });
|
|
15622
16429
|
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputsModule, imports: [[CommonModule], TextAreaModule,
|
|
15623
16430
|
TextBoxModule,
|
|
15624
16431
|
SliderModule,
|
|
@@ -15630,7 +16437,8 @@ InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
15630
16437
|
CheckBoxModule,
|
|
15631
16438
|
RadioButtonModule,
|
|
15632
16439
|
FormFieldModule,
|
|
15633
|
-
SignatureModule
|
|
16440
|
+
SignatureModule,
|
|
16441
|
+
RatingModule] });
|
|
15634
16442
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputsModule, decorators: [{
|
|
15635
16443
|
type: NgModule,
|
|
15636
16444
|
args: [{
|
|
@@ -15646,7 +16454,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15646
16454
|
CheckBoxModule,
|
|
15647
16455
|
RadioButtonModule,
|
|
15648
16456
|
FormFieldModule,
|
|
15649
|
-
SignatureModule
|
|
16457
|
+
SignatureModule,
|
|
16458
|
+
RatingModule
|
|
15650
16459
|
],
|
|
15651
16460
|
imports: [CommonModule]
|
|
15652
16461
|
}]
|
|
@@ -15668,5 +16477,5 @@ class SwitchFocusEvent {
|
|
|
15668
16477
|
* Generated bundle index. Do not edit.
|
|
15669
16478
|
*/
|
|
15670
16479
|
|
|
15671
|
-
export { ActiveColorClickEvent, CheckBoxDirective, CheckBoxModule, ColorGradientComponent, ColorPaletteComponent, ColorPickerCancelEvent, ColorPickerCloseEvent, ColorPickerComponent, ColorPickerCustomMessagesComponent, ColorPickerModule, ColorPickerOpenEvent, ErrorComponent, FlatColorPickerComponent, FormFieldComponent, FormFieldModule, HintComponent, InputSeparatorComponent, InputsModule, LabelTemplateDirective, LocalizedColorPickerMessagesDirective, LocalizedNumericTextBoxMessagesDirective, LocalizedRangeSliderMessagesDirective, LocalizedSignatureMessagesDirective, LocalizedSliderMessagesDirective, LocalizedSwitchMessagesDirective, LocalizedTextBoxMessagesDirective, MaskedTextBoxComponent, MaskedTextBoxModule, MaskingService, NumericLabelDirective, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, NumericTextBoxModule, RadioButtonDirective, RadioButtonModule, RangeSliderComponent, RangeSliderCustomMessagesComponent, RangeSliderModule, SharedModule, SignatureCloseEvent, SignatureComponent, SignatureCustomMessagesComponent, SignatureMessages, SignatureModule, SignatureOpenEvent, SliderComponent, SliderCustomMessagesComponent, SliderModule, SliderTicksComponent, SwitchBlurEvent, SwitchComponent, SwitchCustomMessagesComponent, SwitchFocusEvent, SwitchModule, TextAreaComponent, TextAreaDirective, TextAreaModule, TextAreaPrefixComponent, TextAreaSuffixComponent, TextBoxComponent, TextBoxCustomMessagesComponent, TextBoxDirective, TextBoxModule, TextBoxPrefixTemplateDirective, TextBoxSuffixTemplateDirective };
|
|
16480
|
+
export { ActiveColorClickEvent, CheckBoxDirective, CheckBoxModule, ColorGradientComponent, ColorPaletteComponent, ColorPickerCancelEvent, ColorPickerCloseEvent, ColorPickerComponent, ColorPickerCustomMessagesComponent, ColorPickerModule, ColorPickerOpenEvent, ErrorComponent, FlatColorPickerComponent, FormFieldComponent, FormFieldModule, HintComponent, InputSeparatorComponent, InputsModule, LabelTemplateDirective, LocalizedColorPickerMessagesDirective, LocalizedNumericTextBoxMessagesDirective, LocalizedRangeSliderMessagesDirective, LocalizedSignatureMessagesDirective, LocalizedSliderMessagesDirective, LocalizedSwitchMessagesDirective, LocalizedTextBoxMessagesDirective, MaskedTextBoxComponent, MaskedTextBoxModule, MaskingService, NumericLabelDirective, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, NumericTextBoxModule, RadioButtonDirective, RadioButtonModule, RangeSliderComponent, RangeSliderCustomMessagesComponent, RangeSliderModule, RatingComponent, RatingHoveredItemTemplateDirective, RatingItemTemplateDirective, RatingModule, RatingSelectedItemTemplateDirective, SharedModule, SignatureCloseEvent, SignatureComponent, SignatureCustomMessagesComponent, SignatureMessages, SignatureModule, SignatureOpenEvent, SliderComponent, SliderCustomMessagesComponent, SliderModule, SliderTicksComponent, SwitchBlurEvent, SwitchComponent, SwitchCustomMessagesComponent, SwitchFocusEvent, SwitchModule, TextAreaComponent, TextAreaDirective, TextAreaModule, TextAreaPrefixComponent, TextAreaSuffixComponent, TextBoxComponent, TextBoxCustomMessagesComponent, TextBoxDirective, TextBoxModule, TextBoxPrefixTemplateDirective, TextBoxSuffixTemplateDirective };
|
|
15672
16481
|
|