@progress/kendo-angular-inputs 15.2.0-develop.1 → 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
|
@@ -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, caretAltExpandIcon, xCircleIcon, dropletSlashIcon, dropletSliderIcon, paletteIcon, hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import { caretAltUpIcon, caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, checkIcon, exclamationCircleIcon, xIcon, caretAltExpandIcon, xCircleIcon, dropletSlashIcon, dropletSliderIcon, paletteIcon, 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 { SignaturePad } from '@progress/kendo-inputs-common';
|
|
31
31
|
|
|
@@ -537,8 +537,8 @@ const packageMetadata = {
|
|
|
537
537
|
name: '@progress/kendo-angular-inputs',
|
|
538
538
|
productName: 'Kendo UI for Angular',
|
|
539
539
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
540
|
-
publishDate:
|
|
541
|
-
version: '15.2.0-develop.
|
|
540
|
+
publishDate: 1709730435,
|
|
541
|
+
version: '15.2.0-develop.3',
|
|
542
542
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
543
543
|
};
|
|
544
544
|
|
|
@@ -899,7 +899,7 @@ SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
899
899
|
<ng-template #defaultLabel let-value="value">
|
|
900
900
|
{{ tickTitle(value) }}
|
|
901
901
|
</ng-template>
|
|
902
|
-
`, isInline: true, directives: [{ type:
|
|
902
|
+
`, 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"] }] });
|
|
903
903
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SliderTicksComponent, decorators: [{
|
|
904
904
|
type: Component,
|
|
905
905
|
args: [{
|
|
@@ -1498,7 +1498,7 @@ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
1498
1498
|
[attr.aria-label]="currentValue"
|
|
1499
1499
|
></button>
|
|
1500
1500
|
<kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
|
|
1501
|
-
`, 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
|
|
1501
|
+
`, 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"] }] });
|
|
1502
1502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SliderComponent, decorators: [{
|
|
1503
1503
|
type: Component,
|
|
1504
1504
|
args: [{
|
|
@@ -2201,7 +2201,7 @@ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2201
2201
|
</div>
|
|
2202
2202
|
</div>
|
|
2203
2203
|
<kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>
|
|
2204
|
-
`, isInline: true, components: [{ type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i4
|
|
2204
|
+
`, 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"] }] });
|
|
2205
2205
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RangeSliderComponent, decorators: [{
|
|
2206
2206
|
type: Component,
|
|
2207
2207
|
args: [{
|
|
@@ -4610,7 +4610,7 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4610
4610
|
</button>
|
|
4611
4611
|
</span>
|
|
4612
4612
|
</ng-container>
|
|
4613
|
-
`, 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:
|
|
4613
|
+
`, 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"] }] });
|
|
4614
4614
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericTextBoxComponent, decorators: [{
|
|
4615
4615
|
type: Component,
|
|
4616
4616
|
args: [{
|
|
@@ -5900,7 +5900,7 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5900
5900
|
</ng-template>
|
|
5901
5901
|
</span>
|
|
5902
5902
|
</ng-container>
|
|
5903
|
-
`, 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:
|
|
5903
|
+
`, 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"] }] });
|
|
5904
5904
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxComponent, decorators: [{
|
|
5905
5905
|
type: Component,
|
|
5906
5906
|
args: [{
|
|
@@ -7324,7 +7324,7 @@ TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
7324
7324
|
</ng-template>
|
|
7325
7325
|
</span>
|
|
7326
7326
|
<ng-container>
|
|
7327
|
-
`, 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:
|
|
7327
|
+
`, 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"] }] });
|
|
7328
7328
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextBoxComponent, decorators: [{
|
|
7329
7329
|
type: Component,
|
|
7330
7330
|
args: [{
|
|
@@ -8399,7 +8399,7 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
8399
8399
|
></kendo-input-separator>
|
|
8400
8400
|
<ng-content select="kendo-textarea-suffix"></ng-content>
|
|
8401
8401
|
</ng-container>
|
|
8402
|
-
`, 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:
|
|
8402
|
+
`, 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"] }] });
|
|
8403
8403
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
8404
8404
|
type: Component,
|
|
8405
8405
|
args: [{
|
|
@@ -9402,7 +9402,7 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9402
9402
|
<label [for]="alpha.focusableId" class="k-colorgradient-input-label">A</label>
|
|
9403
9403
|
</div>
|
|
9404
9404
|
</ng-container>
|
|
9405
|
-
`, 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:
|
|
9405
|
+
`, 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"] }] });
|
|
9406
9406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorInputComponent, decorators: [{
|
|
9407
9407
|
type: Component,
|
|
9408
9408
|
args: [{
|
|
@@ -9630,7 +9630,7 @@ class ColorContrastSvgComponent {
|
|
|
9630
9630
|
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9631
9631
|
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: `
|
|
9632
9632
|
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
9633
|
-
`, isInline: true, directives: [{ type:
|
|
9633
|
+
`, isInline: true, directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
9634
9634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
|
|
9635
9635
|
type: Component,
|
|
9636
9636
|
args: [{
|
|
@@ -9684,7 +9684,7 @@ ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
9684
9684
|
<kendo-icon-wrapper name="x" [svgIcon]="xCircleIcon"></kendo-icon-wrapper>
|
|
9685
9685
|
</span>
|
|
9686
9686
|
</ng-container>
|
|
9687
|
-
`, isInline: true, components: [{ type: i2$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type:
|
|
9687
|
+
`, 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"] }] });
|
|
9688
9688
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContrastValidationComponent, decorators: [{
|
|
9689
9689
|
type: Component,
|
|
9690
9690
|
args: [{
|
|
@@ -9762,7 +9762,7 @@ ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
9762
9762
|
[value]="value"
|
|
9763
9763
|
[pass]="satisfiesAAACondition">
|
|
9764
9764
|
</div>
|
|
9765
|
-
`, 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:
|
|
9765
|
+
`, 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"] }] });
|
|
9766
9766
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContrastComponent, decorators: [{
|
|
9767
9767
|
type: Component,
|
|
9768
9768
|
args: [{
|
|
@@ -10615,7 +10615,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10615
10615
|
[value]="value"
|
|
10616
10616
|
[ratio]="contrastTool">
|
|
10617
10617
|
</div>
|
|
10618
|
-
`, 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
|
|
10618
|
+
`, 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"] }] });
|
|
10619
10619
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
10620
10620
|
type: Component,
|
|
10621
10621
|
args: [{
|
|
@@ -11396,7 +11396,7 @@ ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11396
11396
|
</tr>
|
|
11397
11397
|
</tbody>
|
|
11398
11398
|
</table>
|
|
11399
|
-
`, isInline: true, directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type:
|
|
11399
|
+
`, 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"] }] });
|
|
11400
11400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorPaletteComponent, decorators: [{
|
|
11401
11401
|
type: Component,
|
|
11402
11402
|
args: [{
|
|
@@ -11616,7 +11616,7 @@ FlatColorPickerHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
11616
11616
|
</span>
|
|
11617
11617
|
</div>
|
|
11618
11618
|
</div>
|
|
11619
|
-
`, 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:
|
|
11619
|
+
`, 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"] }] });
|
|
11620
11620
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlatColorPickerHeaderComponent, decorators: [{
|
|
11621
11621
|
type: Component,
|
|
11622
11622
|
args: [{
|
|
@@ -12380,7 +12380,7 @@ FlatColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12380
12380
|
[ngClass]="'k-justify-content-' + actionsLayout"
|
|
12381
12381
|
(actionButtonClick)="onAction($event)"
|
|
12382
12382
|
(tabOut)="firstFocusable.focus()"></div>
|
|
12383
|
-
`, 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:
|
|
12383
|
+
`, 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"] }] });
|
|
12384
12384
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlatColorPickerComponent, decorators: [{
|
|
12385
12385
|
type: Component,
|
|
12386
12386
|
args: [{
|
|
@@ -13421,7 +13421,7 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13421
13421
|
</kendo-flatcolorpicker>
|
|
13422
13422
|
</ng-template>
|
|
13423
13423
|
<ng-container #container></ng-container>
|
|
13424
|
-
`, 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:
|
|
13424
|
+
`, 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"] }] });
|
|
13425
13425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
13426
13426
|
type: Component,
|
|
13427
13427
|
args: [{
|
|
@@ -13719,7 +13719,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13719
13719
|
}]
|
|
13720
13720
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
13721
13721
|
|
|
13722
|
-
const PUBLIC_DIRECTIVES = [
|
|
13722
|
+
const PUBLIC_DIRECTIVES$1 = [
|
|
13723
13723
|
ColorPickerComponent,
|
|
13724
13724
|
ColorPaletteComponent,
|
|
13725
13725
|
ColorGradientComponent,
|
|
@@ -13781,10 +13781,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13781
13781
|
type: NgModule,
|
|
13782
13782
|
args: [{
|
|
13783
13783
|
declarations: [
|
|
13784
|
-
PUBLIC_DIRECTIVES,
|
|
13784
|
+
PUBLIC_DIRECTIVES$1,
|
|
13785
13785
|
INTERNAL_DIRECTIVES
|
|
13786
13786
|
],
|
|
13787
|
-
exports: [PUBLIC_DIRECTIVES],
|
|
13787
|
+
exports: [PUBLIC_DIRECTIVES$1],
|
|
13788
13788
|
imports: [
|
|
13789
13789
|
SliderModule,
|
|
13790
13790
|
NumericTextBoxModule,
|
|
@@ -14377,7 +14377,7 @@ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14377
14377
|
<ng-content select="kendo-formhint" *ngIf="hasHints"></ng-content>
|
|
14378
14378
|
<ng-content select="kendo-formerror" *ngIf="hasErrors"></ng-content>
|
|
14379
14379
|
</div>
|
|
14380
|
-
`, isInline: true, directives: [{ type:
|
|
14380
|
+
`, isInline: true, directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
14381
14381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
14382
14382
|
type: Component,
|
|
14383
14383
|
args: [{
|
|
@@ -15270,7 +15270,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
15270
15270
|
[parentLocalization]="localization">
|
|
15271
15271
|
</kendo-signature>
|
|
15272
15272
|
</kendo-dialog>
|
|
15273
|
-
`, 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:
|
|
15273
|
+
`, 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 });
|
|
15274
15274
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
15275
15275
|
type: Component,
|
|
15276
15276
|
args: [{
|
|
@@ -15537,6 +15537,811 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15537
15537
|
}]
|
|
15538
15538
|
}] });
|
|
15539
15539
|
|
|
15540
|
+
/**
|
|
15541
|
+
* Renders the rating item content. To define an item template, nest an `<ng-template>` tag
|
|
15542
|
+
* with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag
|
|
15543
|
+
* [see example]({% slug templates_rating %}#toc-item-template).
|
|
15544
|
+
*/
|
|
15545
|
+
class RatingItemTemplateDirective {
|
|
15546
|
+
constructor(templateRef) {
|
|
15547
|
+
this.templateRef = templateRef;
|
|
15548
|
+
}
|
|
15549
|
+
}
|
|
15550
|
+
RatingItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15551
|
+
RatingItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RatingItemTemplateDirective, selector: "[kendoRatingItemTemplate]", ngImport: i0 });
|
|
15552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingItemTemplateDirective, decorators: [{
|
|
15553
|
+
type: Directive,
|
|
15554
|
+
args: [{
|
|
15555
|
+
selector: '[kendoRatingItemTemplate]'
|
|
15556
|
+
}]
|
|
15557
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
15558
|
+
|
|
15559
|
+
/**
|
|
15560
|
+
* Renders the hovered rating item content. To define an item template, nest an `<ng-template>` tag
|
|
15561
|
+
* with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag
|
|
15562
|
+
* [see example]({% slug templates_rating %}#toc-hovered-item-template).
|
|
15563
|
+
*/
|
|
15564
|
+
class RatingHoveredItemTemplateDirective {
|
|
15565
|
+
constructor(templateRef) {
|
|
15566
|
+
this.templateRef = templateRef;
|
|
15567
|
+
}
|
|
15568
|
+
}
|
|
15569
|
+
RatingHoveredItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingHoveredItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15570
|
+
RatingHoveredItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RatingHoveredItemTemplateDirective, selector: "[kendoRatingHoveredItemTemplate]", ngImport: i0 });
|
|
15571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingHoveredItemTemplateDirective, decorators: [{
|
|
15572
|
+
type: Directive,
|
|
15573
|
+
args: [{
|
|
15574
|
+
selector: '[kendoRatingHoveredItemTemplate]'
|
|
15575
|
+
}]
|
|
15576
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
15577
|
+
|
|
15578
|
+
/**
|
|
15579
|
+
* Renders the selected rating item content. To define an item template, nest an `<ng-template>` tag
|
|
15580
|
+
* with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag
|
|
15581
|
+
* [see example]({% slug templates_rating %}#toc-selected-item-template).
|
|
15582
|
+
*/
|
|
15583
|
+
class RatingSelectedItemTemplateDirective {
|
|
15584
|
+
constructor(templateRef) {
|
|
15585
|
+
this.templateRef = templateRef;
|
|
15586
|
+
}
|
|
15587
|
+
}
|
|
15588
|
+
RatingSelectedItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingSelectedItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15589
|
+
RatingSelectedItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RatingSelectedItemTemplateDirective, selector: "[kendoRatingSelectedItemTemplate]", ngImport: i0 });
|
|
15590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingSelectedItemTemplateDirective, decorators: [{
|
|
15591
|
+
type: Directive,
|
|
15592
|
+
args: [{
|
|
15593
|
+
selector: '[kendoRatingSelectedItemTemplate]'
|
|
15594
|
+
}]
|
|
15595
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
15596
|
+
|
|
15597
|
+
/**
|
|
15598
|
+
* Represents the [Kendo UI Rating component for Angular]({% slug overview_rating %}).
|
|
15599
|
+
*/
|
|
15600
|
+
class RatingComponent {
|
|
15601
|
+
constructor(element, renderer, localizationService, cdr, zone) {
|
|
15602
|
+
this.element = element;
|
|
15603
|
+
this.renderer = renderer;
|
|
15604
|
+
this.localizationService = localizationService;
|
|
15605
|
+
this.cdr = cdr;
|
|
15606
|
+
this.zone = zone;
|
|
15607
|
+
/**
|
|
15608
|
+
* 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).
|
|
15609
|
+
*
|
|
15610
|
+
* @default false
|
|
15611
|
+
*
|
|
15612
|
+
*/
|
|
15613
|
+
this.disabled = false;
|
|
15614
|
+
/**
|
|
15615
|
+
* Determines whether the Rating is in its read-only state ([see example]({% slug readonly_rating %})).
|
|
15616
|
+
*
|
|
15617
|
+
* @default false
|
|
15618
|
+
*
|
|
15619
|
+
*/
|
|
15620
|
+
this.readonly = false;
|
|
15621
|
+
/**
|
|
15622
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Rating.
|
|
15623
|
+
*
|
|
15624
|
+
* @default 0
|
|
15625
|
+
*
|
|
15626
|
+
*/
|
|
15627
|
+
this.tabindex = 0;
|
|
15628
|
+
/**
|
|
15629
|
+
* Sets the number of rating items ([see example]({% slug itemscount_rating %})).
|
|
15630
|
+
*
|
|
15631
|
+
* @default 5
|
|
15632
|
+
*
|
|
15633
|
+
*/
|
|
15634
|
+
this.itemsCount = 5;
|
|
15635
|
+
/**
|
|
15636
|
+
* Sets custom Rating SVG icon. It is the icon that is used for not selected/hovered state. [see example]({% slug icon_rating %}).
|
|
15637
|
+
*/
|
|
15638
|
+
this.svgIcon = starIcon;
|
|
15639
|
+
/**
|
|
15640
|
+
* Sets custom Rating SVG icon. It is the icon that is used for selected/hovered state. [see example]({% slug icon_rating %}).
|
|
15641
|
+
*/
|
|
15642
|
+
this.svgIconOutline = starOutlineIcon;
|
|
15643
|
+
/**
|
|
15644
|
+
* Fires each time the user selects a new value.
|
|
15645
|
+
*/
|
|
15646
|
+
this.valueChange = new EventEmitter();
|
|
15647
|
+
this.hostClass = true;
|
|
15648
|
+
this.valueMin = 0;
|
|
15649
|
+
this.ariaRole = 'slider';
|
|
15650
|
+
/**
|
|
15651
|
+
* @hidden
|
|
15652
|
+
*/
|
|
15653
|
+
this.ratingItems = [];
|
|
15654
|
+
this.ngChange = (_) => { };
|
|
15655
|
+
this.ngTouched = () => { };
|
|
15656
|
+
this._selection = 'continuous';
|
|
15657
|
+
this._precision = 'item';
|
|
15658
|
+
this.subscriptions = new Subscription();
|
|
15659
|
+
validatePackage(packageMetadata);
|
|
15660
|
+
}
|
|
15661
|
+
/**
|
|
15662
|
+
* The initial value of the Rating component.
|
|
15663
|
+
* The component can use either NgModel or the `value` binding but not both of them at the same time.
|
|
15664
|
+
*
|
|
15665
|
+
*/
|
|
15666
|
+
set value(value) {
|
|
15667
|
+
this._value = value;
|
|
15668
|
+
this.updateRatingItems();
|
|
15669
|
+
}
|
|
15670
|
+
get value() {
|
|
15671
|
+
return this._value;
|
|
15672
|
+
}
|
|
15673
|
+
/**
|
|
15674
|
+
* Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
|
|
15675
|
+
*
|
|
15676
|
+
* @default 'continuous'
|
|
15677
|
+
*
|
|
15678
|
+
*/
|
|
15679
|
+
set selection(selection) {
|
|
15680
|
+
this._selection = selection;
|
|
15681
|
+
this.updateRatingItems();
|
|
15682
|
+
}
|
|
15683
|
+
get selection() {
|
|
15684
|
+
return this._selection;
|
|
15685
|
+
}
|
|
15686
|
+
/**
|
|
15687
|
+
* Determines the precision of the Rating ([see example]({% slug precision_rating %})).
|
|
15688
|
+
*
|
|
15689
|
+
* @default 'item'
|
|
15690
|
+
*
|
|
15691
|
+
*/
|
|
15692
|
+
set precision(precision) {
|
|
15693
|
+
this._precision = precision;
|
|
15694
|
+
this.updateRatingItems();
|
|
15695
|
+
}
|
|
15696
|
+
get precision() {
|
|
15697
|
+
return this._precision;
|
|
15698
|
+
}
|
|
15699
|
+
get isControlInvalid() {
|
|
15700
|
+
return (this.control?.invalid)?.toString();
|
|
15701
|
+
}
|
|
15702
|
+
get valueMax() {
|
|
15703
|
+
return this.itemsCount;
|
|
15704
|
+
}
|
|
15705
|
+
get valueNow() {
|
|
15706
|
+
return this.value;
|
|
15707
|
+
}
|
|
15708
|
+
ngOnInit() {
|
|
15709
|
+
this.subscriptions.add(this.localizationService
|
|
15710
|
+
.changes
|
|
15711
|
+
.subscribe(({ rtl }) => {
|
|
15712
|
+
this.direction = rtl ? 'rtl' : 'ltr';
|
|
15713
|
+
}));
|
|
15714
|
+
this.subscriptions.add(this.renderer.listen(this.element.nativeElement, 'blur', () => this.ngTouched()));
|
|
15715
|
+
this.subscriptions.add(this.renderer.listen(this.element.nativeElement, 'keydown', event => this.onKeyDown(event)));
|
|
15716
|
+
this.createRatingItems();
|
|
15717
|
+
}
|
|
15718
|
+
ngAfterViewInit() {
|
|
15719
|
+
const items = this.element.nativeElement.querySelectorAll('.k-rating-item');
|
|
15720
|
+
this.zone.runOutsideAngular(() => {
|
|
15721
|
+
items.forEach((item, index) => this.subscriptions.add(this.renderer.listen(item, 'mousemove', (event) => this.onMouseMove(index, event))));
|
|
15722
|
+
});
|
|
15723
|
+
}
|
|
15724
|
+
ngOnDestroy() {
|
|
15725
|
+
this.subscriptions.unsubscribe();
|
|
15726
|
+
}
|
|
15727
|
+
/**
|
|
15728
|
+
* Focuses the Rating component.
|
|
15729
|
+
*/
|
|
15730
|
+
focus() {
|
|
15731
|
+
if (isDocumentAvailable() && !this.disabled) {
|
|
15732
|
+
this.element.nativeElement.focus();
|
|
15733
|
+
}
|
|
15734
|
+
}
|
|
15735
|
+
/**
|
|
15736
|
+
* Blurs the Rating component.
|
|
15737
|
+
*/
|
|
15738
|
+
blur() {
|
|
15739
|
+
if (isDocumentAvailable()) {
|
|
15740
|
+
this.element.nativeElement.blur();
|
|
15741
|
+
}
|
|
15742
|
+
}
|
|
15743
|
+
/**
|
|
15744
|
+
* @hidden
|
|
15745
|
+
*/
|
|
15746
|
+
createRatingItems() {
|
|
15747
|
+
for (let i = 0; i < this.itemsCount; i++) {
|
|
15748
|
+
const item = {
|
|
15749
|
+
title: this.isHalf(i, this.value) ? String(i + 0.5) : String(i + 1),
|
|
15750
|
+
selected: this.isSelected(i, this.value),
|
|
15751
|
+
selectedIndicator: false,
|
|
15752
|
+
hovered: false,
|
|
15753
|
+
half: this.isHalf(i, this.value)
|
|
15754
|
+
};
|
|
15755
|
+
this.ratingItems.push(item);
|
|
15756
|
+
}
|
|
15757
|
+
}
|
|
15758
|
+
/**
|
|
15759
|
+
* @hidden
|
|
15760
|
+
*/
|
|
15761
|
+
onMouseEnter(event) {
|
|
15762
|
+
this.rect = event.target.getBoundingClientRect();
|
|
15763
|
+
}
|
|
15764
|
+
/**
|
|
15765
|
+
* @hidden
|
|
15766
|
+
*/
|
|
15767
|
+
onMouseMove(value, event) {
|
|
15768
|
+
const halfPrecision = this.precision === 'half';
|
|
15769
|
+
const isFirstHalf = halfPrecision && this.isFirstHalf(this.rect, event.clientX);
|
|
15770
|
+
this.zone.run(() => this.ratingItems.forEach((item, index) => {
|
|
15771
|
+
item.title = (halfPrecision && value === index && isFirstHalf) ? String(index + 0.5) : String(index + 1);
|
|
15772
|
+
item.selected = item.hovered = this.isSelected(index, value + 1);
|
|
15773
|
+
item.selectedIndicator = this.isSelected(index, this.value);
|
|
15774
|
+
item.half = (halfPrecision && value === index) ? isFirstHalf : false;
|
|
15775
|
+
}));
|
|
15776
|
+
}
|
|
15777
|
+
/**
|
|
15778
|
+
* @hidden
|
|
15779
|
+
*/
|
|
15780
|
+
onMouseOut() {
|
|
15781
|
+
this.rect = null;
|
|
15782
|
+
this.updateRatingItems();
|
|
15783
|
+
}
|
|
15784
|
+
/**
|
|
15785
|
+
* @hidden
|
|
15786
|
+
* Called when the status of the component changes to or from `disabled`.
|
|
15787
|
+
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
15788
|
+
*
|
|
15789
|
+
* @param isDisabled
|
|
15790
|
+
*/
|
|
15791
|
+
setDisabledState(isDisabled) {
|
|
15792
|
+
this.disabled = isDisabled;
|
|
15793
|
+
this.cdr.markForCheck();
|
|
15794
|
+
}
|
|
15795
|
+
/**
|
|
15796
|
+
* @hidden
|
|
15797
|
+
*/
|
|
15798
|
+
changeValue(index, event) {
|
|
15799
|
+
const rect = event.target.getBoundingClientRect();
|
|
15800
|
+
const isFirstHalf = this.isFirstHalf(rect, event.clientX);
|
|
15801
|
+
const value = (this.precision === 'half' && isFirstHalf) ? index + 0.5 : index + 1;
|
|
15802
|
+
if (!areSame(this.value, value)) {
|
|
15803
|
+
this.value = value;
|
|
15804
|
+
this.ngChange(this.value);
|
|
15805
|
+
this.valueChange.emit(this.value);
|
|
15806
|
+
this.updateRatingItems();
|
|
15807
|
+
this.cdr.markForCheck();
|
|
15808
|
+
}
|
|
15809
|
+
}
|
|
15810
|
+
/**
|
|
15811
|
+
* @hidden
|
|
15812
|
+
*/
|
|
15813
|
+
updateRatingItems() {
|
|
15814
|
+
this.ratingItems.forEach((item, index) => {
|
|
15815
|
+
item.title = this.isHalf(index, this.value) ? String(index + 0.5) : String(index + 1);
|
|
15816
|
+
item.selected = this.isSelected(index, this.value);
|
|
15817
|
+
item.selectedIndicator = this.isSelected(index, this.value);
|
|
15818
|
+
item.hovered = false;
|
|
15819
|
+
item.half = this.isHalf(index, this.value);
|
|
15820
|
+
});
|
|
15821
|
+
}
|
|
15822
|
+
/**
|
|
15823
|
+
* @hidden
|
|
15824
|
+
*/
|
|
15825
|
+
writeValue(value) {
|
|
15826
|
+
this.value = value;
|
|
15827
|
+
this.updateRatingItems();
|
|
15828
|
+
this.cdr.markForCheck();
|
|
15829
|
+
}
|
|
15830
|
+
/**
|
|
15831
|
+
* @hidden
|
|
15832
|
+
*/
|
|
15833
|
+
registerOnChange(fn) {
|
|
15834
|
+
this.ngChange = fn;
|
|
15835
|
+
}
|
|
15836
|
+
/**
|
|
15837
|
+
* @hidden
|
|
15838
|
+
*/
|
|
15839
|
+
registerOnTouched(fn) {
|
|
15840
|
+
this.ngTouched = fn;
|
|
15841
|
+
}
|
|
15842
|
+
isSelected(index, value) {
|
|
15843
|
+
return this.selection === 'single' ? index === Math.ceil(value - 1) : index <= Math.ceil(value - 1);
|
|
15844
|
+
}
|
|
15845
|
+
isHalf(index, value) {
|
|
15846
|
+
return (this.precision === 'half' && (value > index) && (value < index + 1));
|
|
15847
|
+
}
|
|
15848
|
+
isFirstHalf(rect, clientX) {
|
|
15849
|
+
const elementPosition = rect.x + (rect.width / 2);
|
|
15850
|
+
return this.direction === 'ltr' ? clientX < elementPosition : clientX > elementPosition;
|
|
15851
|
+
}
|
|
15852
|
+
onKeyDown(event) {
|
|
15853
|
+
const decreaseValue = () => {
|
|
15854
|
+
if (this.value <= 0) {
|
|
15855
|
+
return;
|
|
15856
|
+
}
|
|
15857
|
+
this.value = (this.precision === 'half') ? this.value - 0.5 : this.value - 1;
|
|
15858
|
+
this.ngChange(this.value);
|
|
15859
|
+
this.valueChange.emit(this.value);
|
|
15860
|
+
this.updateRatingItems();
|
|
15861
|
+
this.cdr.markForCheck();
|
|
15862
|
+
};
|
|
15863
|
+
const increaseValue = () => {
|
|
15864
|
+
if (this.value >= this.itemsCount) {
|
|
15865
|
+
return;
|
|
15866
|
+
}
|
|
15867
|
+
this.value = (this.precision === 'half') ? this.value + 0.5 : this.value + 1;
|
|
15868
|
+
this.ngChange(this.value);
|
|
15869
|
+
this.valueChange.emit(this.value);
|
|
15870
|
+
this.updateRatingItems();
|
|
15871
|
+
this.cdr.markForCheck();
|
|
15872
|
+
};
|
|
15873
|
+
const setMinValue = () => {
|
|
15874
|
+
if (!areSame(this.value, this.valueMin)) {
|
|
15875
|
+
this.value = this.valueMin;
|
|
15876
|
+
this.ngChange(this.value);
|
|
15877
|
+
this.valueChange.emit(this.value);
|
|
15878
|
+
this.updateRatingItems();
|
|
15879
|
+
this.cdr.markForCheck();
|
|
15880
|
+
}
|
|
15881
|
+
};
|
|
15882
|
+
const setMaxValue = () => {
|
|
15883
|
+
if (!areSame(this.value, this.valueMax)) {
|
|
15884
|
+
this.value = this.valueMax;
|
|
15885
|
+
this.ngChange(this.value);
|
|
15886
|
+
this.valueChange.emit(this.value);
|
|
15887
|
+
this.updateRatingItems();
|
|
15888
|
+
this.cdr.markForCheck();
|
|
15889
|
+
}
|
|
15890
|
+
};
|
|
15891
|
+
if (event.keyCode === Keys.ArrowDown) {
|
|
15892
|
+
decreaseValue();
|
|
15893
|
+
}
|
|
15894
|
+
if (event.keyCode === Keys.ArrowLeft) {
|
|
15895
|
+
if (this.direction === 'ltr') {
|
|
15896
|
+
decreaseValue();
|
|
15897
|
+
}
|
|
15898
|
+
else {
|
|
15899
|
+
increaseValue();
|
|
15900
|
+
}
|
|
15901
|
+
}
|
|
15902
|
+
if (event.keyCode === Keys.ArrowUp) {
|
|
15903
|
+
increaseValue();
|
|
15904
|
+
}
|
|
15905
|
+
if (event.keyCode === Keys.ArrowRight) {
|
|
15906
|
+
if (this.direction === 'ltr') {
|
|
15907
|
+
increaseValue();
|
|
15908
|
+
}
|
|
15909
|
+
else {
|
|
15910
|
+
decreaseValue();
|
|
15911
|
+
}
|
|
15912
|
+
}
|
|
15913
|
+
if (event.keyCode === Keys.Home) {
|
|
15914
|
+
setMinValue();
|
|
15915
|
+
}
|
|
15916
|
+
if (event.keyCode === Keys.End) {
|
|
15917
|
+
setMaxValue();
|
|
15918
|
+
}
|
|
15919
|
+
}
|
|
15920
|
+
}
|
|
15921
|
+
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 });
|
|
15922
|
+
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: [
|
|
15923
|
+
LocalizationService,
|
|
15924
|
+
{ provide: L10N_PREFIX, useValue: 'kendo.rating' },
|
|
15925
|
+
{
|
|
15926
|
+
multi: true,
|
|
15927
|
+
provide: NG_VALUE_ACCESSOR,
|
|
15928
|
+
useExisting: forwardRef(() => RatingComponent) /* eslint-disable-line*/
|
|
15929
|
+
},
|
|
15930
|
+
{
|
|
15931
|
+
provide: KendoInput,
|
|
15932
|
+
useExisting: forwardRef(() => RatingComponent)
|
|
15933
|
+
}
|
|
15934
|
+
], 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: `
|
|
15935
|
+
<span class="k-rating-container">
|
|
15936
|
+
<span
|
|
15937
|
+
*ngFor="let item of ratingItems; index as i"
|
|
15938
|
+
class="k-rating-item"
|
|
15939
|
+
[title]="item.title"
|
|
15940
|
+
[ngClass]="{
|
|
15941
|
+
'k-selected': item.selected || item.selectedIndicator,
|
|
15942
|
+
'k-hover': item.hovered
|
|
15943
|
+
}"
|
|
15944
|
+
(mouseenter)="onMouseEnter($event)"
|
|
15945
|
+
(mouseout)="onMouseOut()"
|
|
15946
|
+
(click)="changeValue(i, $event)"
|
|
15947
|
+
>
|
|
15948
|
+
<ng-container *ngIf="!item.half">
|
|
15949
|
+
<ng-container *ngIf="!itemTemplate">
|
|
15950
|
+
<kendo-icon-wrapper
|
|
15951
|
+
*ngIf="!icon"
|
|
15952
|
+
size="xlarge"
|
|
15953
|
+
[name]="item.selected || item.hovered ? 'star' : 'star-outline'"
|
|
15954
|
+
[svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
|
|
15955
|
+
>
|
|
15956
|
+
</kendo-icon-wrapper>
|
|
15957
|
+
|
|
15958
|
+
<kendo-icon-wrapper
|
|
15959
|
+
*ngIf="icon"
|
|
15960
|
+
size="xlarge"
|
|
15961
|
+
[name]="item.selected || item.hovered ? icon : icon + '-outline'"
|
|
15962
|
+
>
|
|
15963
|
+
</kendo-icon-wrapper>
|
|
15964
|
+
</ng-container>
|
|
15965
|
+
|
|
15966
|
+
<ng-template
|
|
15967
|
+
*ngIf="itemTemplate && (!item.selected && !item.hovered)"
|
|
15968
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
15969
|
+
>
|
|
15970
|
+
</ng-template>
|
|
15971
|
+
|
|
15972
|
+
<ng-template
|
|
15973
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
15974
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
15975
|
+
>
|
|
15976
|
+
</ng-template>
|
|
15977
|
+
|
|
15978
|
+
<ng-template
|
|
15979
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
15980
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
15981
|
+
>
|
|
15982
|
+
</ng-template>
|
|
15983
|
+
</ng-container>
|
|
15984
|
+
|
|
15985
|
+
<ng-container *ngIf="item.half">
|
|
15986
|
+
<ng-container *ngIf="!itemTemplate">
|
|
15987
|
+
<span class="k-rating-precision-complement">
|
|
15988
|
+
<kendo-icon-wrapper
|
|
15989
|
+
*ngIf="!icon"
|
|
15990
|
+
size="xlarge"
|
|
15991
|
+
[name]="'star-outline'"
|
|
15992
|
+
[svgIcon]="svgIconOutline"
|
|
15993
|
+
>
|
|
15994
|
+
</kendo-icon-wrapper>
|
|
15995
|
+
|
|
15996
|
+
<kendo-icon-wrapper
|
|
15997
|
+
*ngIf="icon"
|
|
15998
|
+
size="xlarge"
|
|
15999
|
+
[name]="icon + '-outline'"
|
|
16000
|
+
>
|
|
16001
|
+
</kendo-icon-wrapper>
|
|
16002
|
+
</span>
|
|
16003
|
+
|
|
16004
|
+
<span
|
|
16005
|
+
class="k-rating-precision-part"
|
|
16006
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16007
|
+
>
|
|
16008
|
+
<kendo-icon-wrapper
|
|
16009
|
+
*ngIf="!icon"
|
|
16010
|
+
size="xlarge"
|
|
16011
|
+
[name]="'star'"
|
|
16012
|
+
[svgIcon]="svgIcon"
|
|
16013
|
+
>
|
|
16014
|
+
</kendo-icon-wrapper>
|
|
16015
|
+
|
|
16016
|
+
<kendo-icon-wrapper
|
|
16017
|
+
*ngIf="icon"
|
|
16018
|
+
size="xlarge"
|
|
16019
|
+
[name]="icon"
|
|
16020
|
+
>
|
|
16021
|
+
</kendo-icon-wrapper>
|
|
16022
|
+
</span>
|
|
16023
|
+
</ng-container>
|
|
16024
|
+
|
|
16025
|
+
<span
|
|
16026
|
+
class="k-rating-precision-complement"
|
|
16027
|
+
>
|
|
16028
|
+
<ng-template
|
|
16029
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16030
|
+
>
|
|
16031
|
+
</ng-template>
|
|
16032
|
+
</span>
|
|
16033
|
+
|
|
16034
|
+
<span
|
|
16035
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16036
|
+
class="k-rating-precision-part"
|
|
16037
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16038
|
+
>
|
|
16039
|
+
<ng-template
|
|
16040
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16041
|
+
>
|
|
16042
|
+
</ng-template>
|
|
16043
|
+
</span>
|
|
16044
|
+
|
|
16045
|
+
<span
|
|
16046
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16047
|
+
class="k-rating-precision-part"
|
|
16048
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16049
|
+
>
|
|
16050
|
+
<ng-template
|
|
16051
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16052
|
+
>
|
|
16053
|
+
</ng-template>
|
|
16054
|
+
</span>
|
|
16055
|
+
|
|
16056
|
+
<span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
|
|
16057
|
+
</ng-container>
|
|
16058
|
+
</span>
|
|
16059
|
+
</span>
|
|
16060
|
+
|
|
16061
|
+
<span
|
|
16062
|
+
*ngIf="label"
|
|
16063
|
+
class="k-rating-label"
|
|
16064
|
+
>{{ label }}</span>
|
|
16065
|
+
`, 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"] }] });
|
|
16066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingComponent, decorators: [{
|
|
16067
|
+
type: Component,
|
|
16068
|
+
args: [{
|
|
16069
|
+
exportAs: 'kendoRating',
|
|
16070
|
+
providers: [
|
|
16071
|
+
LocalizationService,
|
|
16072
|
+
{ provide: L10N_PREFIX, useValue: 'kendo.rating' },
|
|
16073
|
+
{
|
|
16074
|
+
multi: true,
|
|
16075
|
+
provide: NG_VALUE_ACCESSOR,
|
|
16076
|
+
useExisting: forwardRef(() => RatingComponent) /* eslint-disable-line*/
|
|
16077
|
+
},
|
|
16078
|
+
{
|
|
16079
|
+
provide: KendoInput,
|
|
16080
|
+
useExisting: forwardRef(() => RatingComponent)
|
|
16081
|
+
}
|
|
16082
|
+
],
|
|
16083
|
+
selector: 'kendo-rating',
|
|
16084
|
+
template: `
|
|
16085
|
+
<span class="k-rating-container">
|
|
16086
|
+
<span
|
|
16087
|
+
*ngFor="let item of ratingItems; index as i"
|
|
16088
|
+
class="k-rating-item"
|
|
16089
|
+
[title]="item.title"
|
|
16090
|
+
[ngClass]="{
|
|
16091
|
+
'k-selected': item.selected || item.selectedIndicator,
|
|
16092
|
+
'k-hover': item.hovered
|
|
16093
|
+
}"
|
|
16094
|
+
(mouseenter)="onMouseEnter($event)"
|
|
16095
|
+
(mouseout)="onMouseOut()"
|
|
16096
|
+
(click)="changeValue(i, $event)"
|
|
16097
|
+
>
|
|
16098
|
+
<ng-container *ngIf="!item.half">
|
|
16099
|
+
<ng-container *ngIf="!itemTemplate">
|
|
16100
|
+
<kendo-icon-wrapper
|
|
16101
|
+
*ngIf="!icon"
|
|
16102
|
+
size="xlarge"
|
|
16103
|
+
[name]="item.selected || item.hovered ? 'star' : 'star-outline'"
|
|
16104
|
+
[svgIcon]="item.selected || item.hovered ? svgIcon : svgIconOutline"
|
|
16105
|
+
>
|
|
16106
|
+
</kendo-icon-wrapper>
|
|
16107
|
+
|
|
16108
|
+
<kendo-icon-wrapper
|
|
16109
|
+
*ngIf="icon"
|
|
16110
|
+
size="xlarge"
|
|
16111
|
+
[name]="item.selected || item.hovered ? icon : icon + '-outline'"
|
|
16112
|
+
>
|
|
16113
|
+
</kendo-icon-wrapper>
|
|
16114
|
+
</ng-container>
|
|
16115
|
+
|
|
16116
|
+
<ng-template
|
|
16117
|
+
*ngIf="itemTemplate && (!item.selected && !item.hovered)"
|
|
16118
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16119
|
+
>
|
|
16120
|
+
</ng-template>
|
|
16121
|
+
|
|
16122
|
+
<ng-template
|
|
16123
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16124
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16125
|
+
>
|
|
16126
|
+
</ng-template>
|
|
16127
|
+
|
|
16128
|
+
<ng-template
|
|
16129
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16130
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16131
|
+
>
|
|
16132
|
+
</ng-template>
|
|
16133
|
+
</ng-container>
|
|
16134
|
+
|
|
16135
|
+
<ng-container *ngIf="item.half">
|
|
16136
|
+
<ng-container *ngIf="!itemTemplate">
|
|
16137
|
+
<span class="k-rating-precision-complement">
|
|
16138
|
+
<kendo-icon-wrapper
|
|
16139
|
+
*ngIf="!icon"
|
|
16140
|
+
size="xlarge"
|
|
16141
|
+
[name]="'star-outline'"
|
|
16142
|
+
[svgIcon]="svgIconOutline"
|
|
16143
|
+
>
|
|
16144
|
+
</kendo-icon-wrapper>
|
|
16145
|
+
|
|
16146
|
+
<kendo-icon-wrapper
|
|
16147
|
+
*ngIf="icon"
|
|
16148
|
+
size="xlarge"
|
|
16149
|
+
[name]="icon + '-outline'"
|
|
16150
|
+
>
|
|
16151
|
+
</kendo-icon-wrapper>
|
|
16152
|
+
</span>
|
|
16153
|
+
|
|
16154
|
+
<span
|
|
16155
|
+
class="k-rating-precision-part"
|
|
16156
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16157
|
+
>
|
|
16158
|
+
<kendo-icon-wrapper
|
|
16159
|
+
*ngIf="!icon"
|
|
16160
|
+
size="xlarge"
|
|
16161
|
+
[name]="'star'"
|
|
16162
|
+
[svgIcon]="svgIcon"
|
|
16163
|
+
>
|
|
16164
|
+
</kendo-icon-wrapper>
|
|
16165
|
+
|
|
16166
|
+
<kendo-icon-wrapper
|
|
16167
|
+
*ngIf="icon"
|
|
16168
|
+
size="xlarge"
|
|
16169
|
+
[name]="icon"
|
|
16170
|
+
>
|
|
16171
|
+
</kendo-icon-wrapper>
|
|
16172
|
+
</span>
|
|
16173
|
+
</ng-container>
|
|
16174
|
+
|
|
16175
|
+
<span
|
|
16176
|
+
class="k-rating-precision-complement"
|
|
16177
|
+
>
|
|
16178
|
+
<ng-template
|
|
16179
|
+
[ngTemplateOutlet]="itemTemplate?.templateRef"
|
|
16180
|
+
>
|
|
16181
|
+
</ng-template>
|
|
16182
|
+
</span>
|
|
16183
|
+
|
|
16184
|
+
<span
|
|
16185
|
+
*ngIf="hoveredItemTemplate && item.hovered"
|
|
16186
|
+
class="k-rating-precision-part"
|
|
16187
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16188
|
+
>
|
|
16189
|
+
<ng-template
|
|
16190
|
+
[ngTemplateOutlet]="hoveredItemTemplate?.templateRef"
|
|
16191
|
+
>
|
|
16192
|
+
</ng-template>
|
|
16193
|
+
</span>
|
|
16194
|
+
|
|
16195
|
+
<span
|
|
16196
|
+
*ngIf="selectedItemTemplate && (item.selected && !item.hovered)"
|
|
16197
|
+
class="k-rating-precision-part"
|
|
16198
|
+
[ngStyle]="{'clipPath': direction === 'rtl' ? 'inset(0 0 0 50%)' : 'inset(0 50% 0 0)'}"
|
|
16199
|
+
>
|
|
16200
|
+
<ng-template
|
|
16201
|
+
[ngTemplateOutlet]="selectedItemTemplate?.templateRef"
|
|
16202
|
+
>
|
|
16203
|
+
</ng-template>
|
|
16204
|
+
</span>
|
|
16205
|
+
|
|
16206
|
+
<span [style.width.px]="24" [style.height.px]="24" [style.display]="'block'"></span>
|
|
16207
|
+
</ng-container>
|
|
16208
|
+
</span>
|
|
16209
|
+
</span>
|
|
16210
|
+
|
|
16211
|
+
<span
|
|
16212
|
+
*ngIf="label"
|
|
16213
|
+
class="k-rating-label"
|
|
16214
|
+
>{{ label }}</span>
|
|
16215
|
+
`
|
|
16216
|
+
}]
|
|
16217
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { itemTemplate: [{
|
|
16218
|
+
type: ContentChild,
|
|
16219
|
+
args: [RatingItemTemplateDirective]
|
|
16220
|
+
}], hoveredItemTemplate: [{
|
|
16221
|
+
type: ContentChild,
|
|
16222
|
+
args: [RatingHoveredItemTemplateDirective]
|
|
16223
|
+
}], selectedItemTemplate: [{
|
|
16224
|
+
type: ContentChild,
|
|
16225
|
+
args: [RatingSelectedItemTemplateDirective]
|
|
16226
|
+
}], disabled: [{
|
|
16227
|
+
type: Input
|
|
16228
|
+
}, {
|
|
16229
|
+
type: HostBinding,
|
|
16230
|
+
args: ['attr.aria-disabled']
|
|
16231
|
+
}, {
|
|
16232
|
+
type: HostBinding,
|
|
16233
|
+
args: ['class.k-disabled']
|
|
16234
|
+
}], readonly: [{
|
|
16235
|
+
type: Input
|
|
16236
|
+
}, {
|
|
16237
|
+
type: HostBinding,
|
|
16238
|
+
args: ['attr.aria-readonly']
|
|
16239
|
+
}, {
|
|
16240
|
+
type: HostBinding,
|
|
16241
|
+
args: ['class.k-readonly']
|
|
16242
|
+
}], tabindex: [{
|
|
16243
|
+
type: Input
|
|
16244
|
+
}, {
|
|
16245
|
+
type: HostBinding,
|
|
16246
|
+
args: ['attr.tabindex']
|
|
16247
|
+
}], itemsCount: [{
|
|
16248
|
+
type: Input
|
|
16249
|
+
}], value: [{
|
|
16250
|
+
type: Input
|
|
16251
|
+
}], selection: [{
|
|
16252
|
+
type: Input
|
|
16253
|
+
}], precision: [{
|
|
16254
|
+
type: Input
|
|
16255
|
+
}], label: [{
|
|
16256
|
+
type: Input
|
|
16257
|
+
}], icon: [{
|
|
16258
|
+
type: Input
|
|
16259
|
+
}], svgIcon: [{
|
|
16260
|
+
type: Input
|
|
16261
|
+
}], svgIconOutline: [{
|
|
16262
|
+
type: Input
|
|
16263
|
+
}], valueChange: [{
|
|
16264
|
+
type: Output
|
|
16265
|
+
}], hostClass: [{
|
|
16266
|
+
type: HostBinding,
|
|
16267
|
+
args: ['class.k-rating']
|
|
16268
|
+
}], direction: [{
|
|
16269
|
+
type: HostBinding,
|
|
16270
|
+
args: ['attr.dir']
|
|
16271
|
+
}], isControlInvalid: [{
|
|
16272
|
+
type: HostBinding,
|
|
16273
|
+
args: ['attr.aria-invalid']
|
|
16274
|
+
}], valueMin: [{
|
|
16275
|
+
type: HostBinding,
|
|
16276
|
+
args: ['attr.aria-valuemin']
|
|
16277
|
+
}], valueMax: [{
|
|
16278
|
+
type: HostBinding,
|
|
16279
|
+
args: ['attr.aria-valuemax']
|
|
16280
|
+
}], valueNow: [{
|
|
16281
|
+
type: HostBinding,
|
|
16282
|
+
args: ['attr.aria-valuenow']
|
|
16283
|
+
}], ariaRole: [{
|
|
16284
|
+
type: HostBinding,
|
|
16285
|
+
args: ['attr.role']
|
|
16286
|
+
}] } });
|
|
16287
|
+
|
|
16288
|
+
const PUBLIC_DIRECTIVES = [
|
|
16289
|
+
RatingComponent,
|
|
16290
|
+
RatingItemTemplateDirective,
|
|
16291
|
+
RatingHoveredItemTemplateDirective,
|
|
16292
|
+
RatingSelectedItemTemplateDirective
|
|
16293
|
+
];
|
|
16294
|
+
/**
|
|
16295
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
16296
|
+
* definition for the Rating component.
|
|
16297
|
+
*
|
|
16298
|
+
* @example
|
|
16299
|
+
*
|
|
16300
|
+
* ```ts-no-run
|
|
16301
|
+
* // Import the Rating module
|
|
16302
|
+
* import { RatingModule } from '@progress/kendo-angular-inputs';
|
|
16303
|
+
*
|
|
16304
|
+
* // The browser platform with a compiler
|
|
16305
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
16306
|
+
*
|
|
16307
|
+
* import { NgModule } from '@angular/core';
|
|
16308
|
+
*
|
|
16309
|
+
* // Import the app component
|
|
16310
|
+
* import { AppComponent } from './app.component';
|
|
16311
|
+
*
|
|
16312
|
+
* // Define the app module
|
|
16313
|
+
* _@NgModule({
|
|
16314
|
+
* declarations: [AppComponent], // declare app component
|
|
16315
|
+
* imports: [BrowserModule, RatingModule], // import Rating module
|
|
16316
|
+
* bootstrap: [AppComponent]
|
|
16317
|
+
* })
|
|
16318
|
+
* export class AppModule {}
|
|
16319
|
+
*
|
|
16320
|
+
* // Compile and launch the module
|
|
16321
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
16322
|
+
*
|
|
16323
|
+
* ```
|
|
16324
|
+
*/
|
|
16325
|
+
class RatingModule {
|
|
16326
|
+
}
|
|
16327
|
+
RatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16328
|
+
RatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, declarations: [RatingComponent,
|
|
16329
|
+
RatingItemTemplateDirective,
|
|
16330
|
+
RatingHoveredItemTemplateDirective,
|
|
16331
|
+
RatingSelectedItemTemplateDirective], imports: [CommonModule, IconsModule], exports: [RatingComponent,
|
|
16332
|
+
RatingItemTemplateDirective,
|
|
16333
|
+
RatingHoveredItemTemplateDirective,
|
|
16334
|
+
RatingSelectedItemTemplateDirective] });
|
|
16335
|
+
RatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, imports: [[CommonModule, IconsModule]] });
|
|
16336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RatingModule, decorators: [{
|
|
16337
|
+
type: NgModule,
|
|
16338
|
+
args: [{
|
|
16339
|
+
declarations: [PUBLIC_DIRECTIVES],
|
|
16340
|
+
exports: [PUBLIC_DIRECTIVES],
|
|
16341
|
+
imports: [CommonModule, IconsModule]
|
|
16342
|
+
}]
|
|
16343
|
+
}] });
|
|
16344
|
+
|
|
15540
16345
|
/**
|
|
15541
16346
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
15542
16347
|
* definition for the Inputs components.
|
|
@@ -15583,7 +16388,8 @@ InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
15583
16388
|
CheckBoxModule,
|
|
15584
16389
|
RadioButtonModule,
|
|
15585
16390
|
FormFieldModule,
|
|
15586
|
-
SignatureModule
|
|
16391
|
+
SignatureModule,
|
|
16392
|
+
RatingModule] });
|
|
15587
16393
|
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputsModule, imports: [[CommonModule], TextAreaModule,
|
|
15588
16394
|
TextBoxModule,
|
|
15589
16395
|
SliderModule,
|
|
@@ -15595,7 +16401,8 @@ InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
15595
16401
|
CheckBoxModule,
|
|
15596
16402
|
RadioButtonModule,
|
|
15597
16403
|
FormFieldModule,
|
|
15598
|
-
SignatureModule
|
|
16404
|
+
SignatureModule,
|
|
16405
|
+
RatingModule] });
|
|
15599
16406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputsModule, decorators: [{
|
|
15600
16407
|
type: NgModule,
|
|
15601
16408
|
args: [{
|
|
@@ -15611,7 +16418,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15611
16418
|
CheckBoxModule,
|
|
15612
16419
|
RadioButtonModule,
|
|
15613
16420
|
FormFieldModule,
|
|
15614
|
-
SignatureModule
|
|
16421
|
+
SignatureModule,
|
|
16422
|
+
RatingModule
|
|
15615
16423
|
],
|
|
15616
16424
|
imports: [CommonModule]
|
|
15617
16425
|
}]
|
|
@@ -15633,5 +16441,5 @@ class SwitchFocusEvent {
|
|
|
15633
16441
|
* Generated bundle index. Do not edit.
|
|
15634
16442
|
*/
|
|
15635
16443
|
|
|
15636
|
-
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 };
|
|
16444
|
+
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 };
|
|
15637
16445
|
|