@progress/kendo-angular-inputs 16.5.0 → 16.6.0-develop.2
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/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/checkbox.directive.d.ts +1 -1
- package/checkbox.module.d.ts +3 -6
- package/colorpicker/color-contrast-svg.component.d.ts +1 -1
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
- package/colorpicker/color-gradient.component.d.ts +1 -1
- package/colorpicker/color-input.component.d.ts +1 -1
- package/colorpicker/color-palette.component.d.ts +1 -1
- package/colorpicker/colorpicker.component.d.ts +1 -1
- package/colorpicker/contrast-validation.component.d.ts +1 -1
- package/colorpicker/contrast.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker.component.d.ts +1 -1
- package/colorpicker/localization/custom-messages.component.d.ts +1 -1
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
- package/colorpicker.module.d.ts +5 -21
- package/directives.d.ts +111 -0
- package/esm2020/checkbox/checkbox.component.mjs +7 -6
- package/esm2020/checkbox/checkbox.directive.mjs +3 -2
- package/esm2020/checkbox.module.mjs +8 -10
- package/esm2020/colorpicker/color-contrast-svg.component.mjs +6 -4
- package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +5 -2
- package/esm2020/colorpicker/color-gradient.component.mjs +11 -12
- package/esm2020/colorpicker/color-input.component.mjs +8 -7
- package/esm2020/colorpicker/color-palette.component.mjs +7 -5
- package/esm2020/colorpicker/colorpicker.component.mjs +9 -8
- package/esm2020/colorpicker/contrast-validation.component.mjs +7 -5
- package/esm2020/colorpicker/contrast.component.mjs +8 -6
- package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +3 -2
- package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +7 -5
- package/esm2020/colorpicker/flatcolorpicker.component.mjs +7 -9
- package/esm2020/colorpicker/localization/custom-messages.component.mjs +3 -2
- package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +3 -2
- package/esm2020/colorpicker.module.mjs +15 -84
- package/esm2020/directives.mjs +188 -0
- package/esm2020/formfield/error.component.mjs +3 -2
- package/esm2020/formfield/formfield.component.mjs +6 -4
- package/esm2020/formfield/hint.component.mjs +3 -2
- package/esm2020/formfield.module.mjs +9 -9
- package/esm2020/index.mjs +1 -0
- package/esm2020/inputs.module.mjs +50 -56
- package/esm2020/maskedtextbox/maskedtextbox.component.mjs +9 -8
- package/esm2020/maskedtextbox.module.mjs +7 -30
- package/esm2020/numerictextbox/localization/custom-messages.component.mjs +3 -2
- package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +3 -2
- package/esm2020/numerictextbox/numerictextbox.component.mjs +11 -10
- package/esm2020/numerictextbox.module.mjs +11 -25
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/radiobutton/radiobutton.component.mjs +7 -6
- package/esm2020/radiobutton/radiobutton.directive.mjs +3 -2
- package/esm2020/radiobutton.module.mjs +8 -10
- package/esm2020/rangeslider/localization/custom-messages.component.mjs +3 -2
- package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +3 -2
- package/esm2020/rangeslider/rangeslider.component.mjs +9 -8
- package/esm2020/rangeslider.module.mjs +11 -25
- package/esm2020/rating/directives/rating-hovered-item.directive.mjs +3 -2
- package/esm2020/rating/directives/rating-item.directive.mjs +3 -2
- package/esm2020/rating/directives/rating-selected-item.directive.mjs +3 -2
- package/esm2020/rating/rating.component.mjs +7 -5
- package/esm2020/rating.module.mjs +12 -23
- package/esm2020/shared/input-separator.component.mjs +3 -2
- package/esm2020/shared/shared-events.directive.mjs +3 -2
- package/esm2020/shared/textarea.directive.mjs +3 -2
- package/esm2020/shared.module.mjs +3 -3
- package/esm2020/signature/localization/custom-messages.component.mjs +3 -2
- package/esm2020/signature/localization/localized-signature-messages.directive.mjs +3 -2
- package/esm2020/signature/signature.component.mjs +9 -7
- package/esm2020/signature.module.mjs +13 -32
- package/esm2020/slider/localization/custom-messages.component.mjs +3 -2
- package/esm2020/slider/localization/localized-slider-messages.directive.mjs +3 -2
- package/esm2020/slider/slider.component.mjs +10 -9
- package/esm2020/slider.module.mjs +13 -27
- package/esm2020/sliders-common/label-template.directive.mjs +3 -2
- package/esm2020/sliders-common/slider-ticks.component.mjs +6 -4
- package/esm2020/switch/localization/custom-messages.component.mjs +3 -2
- package/esm2020/switch/localization/localized-switch-messages.directive.mjs +3 -2
- package/esm2020/switch/switch.component.mjs +6 -4
- package/esm2020/switch.module.mjs +10 -23
- package/esm2020/textarea/textarea-prefix.component.mjs +3 -2
- package/esm2020/textarea/textarea-suffix.component.mjs +3 -2
- package/esm2020/textarea/textarea.component.mjs +9 -8
- package/esm2020/textarea.module.mjs +9 -31
- package/esm2020/textbox/localization/custom-messages.component.mjs +3 -2
- package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +3 -2
- package/esm2020/textbox/textbox-prefix.directive.mjs +3 -2
- package/esm2020/textbox/textbox-suffix.directive.mjs +3 -2
- package/esm2020/textbox/textbox.component.mjs +11 -10
- package/esm2020/textbox/textbox.directive.mjs +3 -2
- package/esm2020/textbox.module.mjs +14 -48
- package/fesm2015/progress-kendo-angular-inputs.mjs +9233 -9325
- package/fesm2020/progress-kendo-angular-inputs.mjs +9088 -9180
- package/formfield/error.component.d.ts +1 -1
- package/formfield/formfield.component.d.ts +1 -1
- package/formfield/hint.component.d.ts +1 -1
- package/formfield.module.d.ts +4 -5
- package/index.d.ts +1 -0
- package/inputs.module.d.ts +40 -15
- package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
- package/maskedtextbox.module.d.ts +1 -5
- package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
- package/numerictextbox/numerictextbox.component.d.ts +1 -1
- package/numerictextbox.module.d.ts +4 -9
- package/package.json +9 -9
- package/radiobutton/radiobutton.component.d.ts +1 -1
- package/radiobutton/radiobutton.directive.d.ts +1 -1
- package/radiobutton.module.d.ts +3 -6
- package/rangeslider/localization/custom-messages.component.d.ts +1 -1
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
- package/rangeslider/rangeslider.component.d.ts +1 -1
- package/rangeslider.module.d.ts +2 -5
- package/rating/directives/rating-hovered-item.directive.d.ts +1 -1
- package/rating/directives/rating-item.directive.d.ts +1 -1
- package/rating/directives/rating-selected-item.directive.d.ts +1 -1
- package/rating/rating.component.d.ts +1 -1
- package/rating.module.d.ts +1 -3
- package/shared/input-separator.component.d.ts +1 -1
- package/shared/shared-events.directive.d.ts +1 -1
- package/shared/textarea.directive.d.ts +1 -1
- package/shared.module.d.ts +1 -1
- package/signature/localization/custom-messages.component.d.ts +1 -1
- package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
- package/signature/signature.component.d.ts +1 -1
- package/signature.module.d.ts +1 -6
- package/slider/localization/custom-messages.component.d.ts +1 -1
- package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/slider.module.d.ts +2 -7
- package/sliders-common/label-template.directive.d.ts +1 -1
- package/sliders-common/slider-ticks.component.d.ts +1 -1
- package/switch/localization/custom-messages.component.d.ts +1 -1
- package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
- package/switch/switch.component.d.ts +1 -1
- package/switch.module.d.ts +1 -4
- package/textarea/textarea-prefix.component.d.ts +1 -1
- package/textarea/textarea-suffix.component.d.ts +1 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea.module.d.ts +4 -9
- package/textbox/localization/custom-messages.component.d.ts +1 -1
- package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
- package/textbox/textbox-prefix.directive.d.ts +1 -1
- package/textbox/textbox-suffix.directive.d.ts +1 -1
- package/textbox/textbox.component.d.ts +1 -1
- package/textbox/textbox.directive.d.ts +1 -1
- package/textbox.module.d.ts +5 -12
- package/colorpicker/focus-on-dom-ready.directive.d.ts +0 -18
- package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +0 -29
- package/esm2020/shared-events.module.mjs +0 -22
- package/esm2020/sliders-common/sliders-common.module.mjs +0 -42
- package/shared-events.module.d.ts +0 -14
- package/sliders-common/sliders-common.module.d.ts +0 -17
|
@@ -67,5 +67,5 @@ export declare class CheckBoxComponent extends RadioCheckBoxBase implements Cont
|
|
|
67
67
|
*/
|
|
68
68
|
writeValue(value: any): void;
|
|
69
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "kendo-checkbox", ["kendoCheckBox"], { "checkedState": "checkedState"; "rounded": "rounded"; }, { "checkedStateChange": "checkedStateChange"; }, never, never,
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "kendo-checkbox", ["kendoCheckBox"], { "checkedState": "checkedState"; "rounded": "rounded"; }, { "checkedStateChange": "checkedStateChange"; }, never, never, true, never>;
|
|
71
71
|
}
|
|
@@ -48,5 +48,5 @@ export declare class CheckBoxDirective {
|
|
|
48
48
|
ngAfterViewInit(): void;
|
|
49
49
|
private handleClasses;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxDirective, never>;
|
|
51
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxDirective, "input[kendoCheckBox]", never, { "size": "size"; "rounded": "rounded"; }, {}, never, never,
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxDirective, "input[kendoCheckBox]", never, { "size": "size"; "rounded": "rounded"; }, {}, never, never, true, never>;
|
|
52
52
|
}
|
package/checkbox.module.d.ts
CHANGED
|
@@ -3,11 +3,8 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./checkbox/checkbox.
|
|
7
|
-
import * as i2 from "./checkbox/checkbox.
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
import * as i4 from "@progress/kendo-angular-common";
|
|
10
|
-
import * as i5 from "./shared-events.module";
|
|
6
|
+
import * as i1 from "./checkbox/checkbox.component";
|
|
7
|
+
import * as i2 from "./checkbox/checkbox.directive";
|
|
11
8
|
/**
|
|
12
9
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13
10
|
* definition for the CheckBox directive and CheckBoxComponent.
|
|
@@ -41,6 +38,6 @@ import * as i5 from "./shared-events.module";
|
|
|
41
38
|
*/
|
|
42
39
|
export declare class CheckBoxModule {
|
|
43
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckBoxModule, [typeof i1.
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckBoxModule, never, [typeof i1.CheckBoxComponent, typeof i2.CheckBoxDirective], [typeof i1.CheckBoxComponent, typeof i2.CheckBoxDirective]>;
|
|
45
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<CheckBoxModule>;
|
|
46
43
|
}
|
|
@@ -25,5 +25,5 @@ export declare class ColorContrastSvgComponent implements AfterViewInit, OnChang
|
|
|
25
25
|
private findValue;
|
|
26
26
|
private getPaths;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorContrastSvgComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorContrastSvgComponent, "[kendoColorContrastSvg]", never, { "wrapper": "wrapper"; "hsva": "hsva"; "backgroundColor": "backgroundColor"; }, {}, never, never,
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorContrastSvgComponent, "[kendoColorContrastSvg]", never, { "wrapper": "wrapper"; "hsva": "hsva"; "backgroundColor": "backgroundColor"; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
@@ -16,5 +16,5 @@ export declare class NumericLabelDirective implements OnInit {
|
|
|
16
16
|
constructor(host: NumericTextBoxComponent);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumericLabelDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericLabelDirective, "[kendoAdditionalNumericLabel]", never, { "kendoAdditionalNumericLabel": "kendoAdditionalNumericLabel"; "localizationService": "localizationService"; }, {}, never, never,
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericLabelDirective, "[kendoAdditionalNumericLabel]", never, { "kendoAdditionalNumericLabel": "kendoAdditionalNumericLabel"; "localizationService": "localizationService"; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -277,5 +277,5 @@ export declare class ColorGradientComponent implements OnInit, OnChanges, OnDest
|
|
|
277
277
|
private subscribeChanges;
|
|
278
278
|
private unsubscribeChanges;
|
|
279
279
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorGradientComponent, never>;
|
|
280
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorGradientComponent, "kendo-colorgradient", ["kendoColorGradient"], { "id": "id"; "opacity": "opacity"; "disabled": "disabled"; "readonly": "readonly"; "clearButton": "clearButton"; "delay": "delay"; "value": "value"; "contrastTool": "contrastTool"; "tabindex": "tabindex"; "format": "format"; "gradientSliderStep": "gradientSliderStep"; "gradientSliderSmallStep": "gradientSliderSmallStep"; }, { "valueChange": "valueChange"; }, never, never,
|
|
280
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorGradientComponent, "kendo-colorgradient", ["kendoColorGradient"], { "id": "id"; "opacity": "opacity"; "disabled": "disabled"; "readonly": "readonly"; "clearButton": "clearButton"; "delay": "delay"; "value": "value"; "contrastTool": "contrastTool"; "tabindex": "tabindex"; "format": "format"; "gradientSliderStep": "gradientSliderStep"; "gradientSliderSmallStep": "gradientSliderSmallStep"; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
281
281
|
}
|
|
@@ -93,5 +93,5 @@ export declare class ColorInputComponent implements AfterViewInit, OnChanges {
|
|
|
93
93
|
private initDomEvents;
|
|
94
94
|
private lastInput;
|
|
95
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorInputComponent, never>;
|
|
96
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorInputComponent, "kendo-colorinput", never, { "focusableId": "focusableId"; "formatView": "formatView"; "tabindex": "tabindex"; "value": "value"; "opacity": "opacity"; "disabled": "disabled"; "readonly": "readonly"; }, { "valueChange": "valueChange"; "tabOut": "tabOut"; }, never, never,
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorInputComponent, "kendo-colorinput", never, { "focusableId": "focusableId"; "formatView": "formatView"; "tabindex": "tabindex"; "value": "value"; "opacity": "opacity"; "disabled": "disabled"; "readonly": "readonly"; }, { "valueChange": "valueChange"; "tabOut": "tabOut"; }, never, never, true, never>;
|
|
97
97
|
}
|
|
@@ -219,5 +219,5 @@ export declare class ColorPaletteComponent implements OnInit, AfterViewInit, OnD
|
|
|
219
219
|
private notifyNgTouched;
|
|
220
220
|
private notifyNgChanged;
|
|
221
221
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPaletteComponent, never>;
|
|
222
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPaletteComponent, "kendo-colorpalette", ["kendoColorPalette"], { "id": "id"; "format": "format"; "value": "value"; "columns": "columns"; "palette": "palette"; "tabindex": "tabindex"; "disabled": "disabled"; "readonly": "readonly"; "tileSize": "tileSize"; }, { "selectionChange": "selectionChange"; "valueChange": "valueChange"; "cellSelection": "cellSelection"; }, never, never,
|
|
222
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPaletteComponent, "kendo-colorpalette", ["kendoColorPalette"], { "id": "id"; "format": "format"; "value": "value"; "columns": "columns"; "palette": "palette"; "tabindex": "tabindex"; "disabled": "disabled"; "readonly": "readonly"; "tileSize": "tileSize"; }, { "selectionChange": "selectionChange"; "valueChange": "valueChange"; "cellSelection": "cellSelection"; }, never, never, true, never>;
|
|
223
223
|
}
|
|
@@ -379,5 +379,5 @@ export declare class ColorPickerComponent implements OnInit, AfterViewInit, OnCh
|
|
|
379
379
|
private domFocusListener;
|
|
380
380
|
private handleHostId;
|
|
381
381
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
382
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "kendo-colorpicker", ["kendoColorPicker"], { "views": "views"; "view": "view"; "activeView": "activeView"; "readonly": "readonly"; "disabled": "disabled"; "format": "format"; "value": "value"; "popupSettings": "popupSettings"; "paletteSettings": "paletteSettings"; "gradientSettings": "gradientSettings"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; "clearButton": "clearButton"; "tabindex": "tabindex"; "preview": "preview"; "actionsLayout": "actionsLayout"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "cancel": "cancel"; "activeColorClick": "activeColorClick"; "clearButtonClick": "clearButtonClick"; "activeViewChange": "activeViewChange"; }, never, never,
|
|
382
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "kendo-colorpicker", ["kendoColorPicker"], { "views": "views"; "view": "view"; "activeView": "activeView"; "readonly": "readonly"; "disabled": "disabled"; "format": "format"; "value": "value"; "popupSettings": "popupSettings"; "paletteSettings": "paletteSettings"; "gradientSettings": "gradientSettings"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; "clearButton": "clearButton"; "tabindex": "tabindex"; "preview": "preview"; "actionsLayout": "actionsLayout"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "cancel": "cancel"; "activeColorClick": "activeColorClick"; "clearButtonClick": "clearButtonClick"; "activeViewChange": "activeViewChange"; }, never, never, true, never>;
|
|
383
383
|
}
|
|
@@ -20,5 +20,5 @@ export declare class ContrastValidationComponent {
|
|
|
20
20
|
get failMessage(): string;
|
|
21
21
|
get contrastText(): string;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContrastValidationComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContrastValidationComponent, "[kendoContrastValidation]", never, { "type": "type"; "pass": "pass"; "value": "value"; }, {}, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContrastValidationComponent, "[kendoContrastValidation]", never, { "type": "type"; "pass": "pass"; "value": "value"; }, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -21,5 +21,5 @@ export declare class ContrastComponent {
|
|
|
21
21
|
get satisfiesAAACondition(): boolean;
|
|
22
22
|
get contrastRatio(): number;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContrastComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContrastComponent, "[kendoContrastTool]", never, { "value": "value"; "ratio": "ratio"; }, {}, never, never,
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContrastComponent, "[kendoContrastTool]", never, { "value": "value"; "ratio": "ratio"; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
@@ -20,5 +20,5 @@ export declare class FlatColorPickerActionButtonsComponent {
|
|
|
20
20
|
getText(text: string): string;
|
|
21
21
|
onActionButtonClick(type: string, ev: any): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerActionButtonsComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerActionButtonsComponent, "[kendoFlatColorPickerActionButtons]", never, { "innerTabIndex": "innerTabIndex"; }, { "actionButtonClick": "actionButtonClick"; "tabOut": "tabOut"; }, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerActionButtonsComponent, "[kendoFlatColorPickerActionButtons]", never, { "innerTabIndex": "innerTabIndex"; }, { "actionButtonClick": "actionButtonClick"; "tabOut": "tabOut"; }, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -39,5 +39,5 @@ export declare class FlatColorPickerHeaderComponent implements AfterViewInit {
|
|
|
39
39
|
getText(text: string): string;
|
|
40
40
|
onHeaderTabOut(ev: any, index: number): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerHeaderComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerHeaderComponent, "[kendoFlatColorPickerHeader]", never, { "clearButton": "clearButton"; "activeView": "activeView"; "views": "views"; "preview": "preview"; "innerTabIndex": "innerTabIndex"; "value": "value"; "selection": "selection"; }, { "viewChange": "viewChange"; "valuePaneClick": "valuePaneClick"; "clearButtonClick": "clearButtonClick"; "tabOut": "tabOut"; }, never, never,
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerHeaderComponent, "[kendoFlatColorPickerHeader]", never, { "clearButton": "clearButton"; "activeView": "activeView"; "views": "views"; "preview": "preview"; "innerTabIndex": "innerTabIndex"; "value": "value"; "selection": "selection"; }, { "viewChange": "viewChange"; "valuePaneClick": "valuePaneClick"; "clearButtonClick": "clearButtonClick"; "tabOut": "tabOut"; }, never, never, true, never>;
|
|
43
43
|
}
|
|
@@ -263,5 +263,5 @@ export declare class FlatColorPickerComponent implements OnInit, AfterViewInit,
|
|
|
263
263
|
private initDomEvents;
|
|
264
264
|
private removeGradientAttributes;
|
|
265
265
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerComponent, never>;
|
|
266
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerComponent, "kendo-flatcolorpicker", ["kendoFlatColorPicker"], { "readonly": "readonly"; "disabled": "disabled"; "format": "format"; "value": "value"; "tabindex": "tabindex"; "clearButton": "clearButton"; "preview": "preview"; "actionsLayout": "actionsLayout"; "activeView": "activeView"; "views": "views"; "gradientSettings": "gradientSettings"; "paletteSettings": "paletteSettings"; }, { "valueChange": "valueChange"; "cancel": "cancel"; "activeViewChange": "activeViewChange"; "clearButtonClick": "clearButtonClick"; "actionButtonClick": "actionButtonClick"; }, never, never,
|
|
266
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerComponent, "kendo-flatcolorpicker", ["kendoFlatColorPicker"], { "readonly": "readonly"; "disabled": "disabled"; "format": "format"; "value": "value"; "tabindex": "tabindex"; "clearButton": "clearButton"; "preview": "preview"; "actionsLayout": "actionsLayout"; "activeView": "activeView"; "views": "views"; "gradientSettings": "gradientSettings"; "paletteSettings": "paletteSettings"; }, { "valueChange": "valueChange"; "cancel": "cancel"; "activeViewChange": "activeViewChange"; "clearButtonClick": "clearButtonClick"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
267
267
|
}
|
|
@@ -13,5 +13,5 @@ export declare class ColorPickerCustomMessagesComponent extends ColorPickerMessa
|
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerCustomMessagesComponent, "kendo-colorpicker-messages, kendo-flatcolorpicker-messages, kendo-colorgradient-messages, kendo-colorpalette-messages", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerCustomMessagesComponent, "kendo-colorpicker-messages, kendo-flatcolorpicker-messages, kendo-colorgradient-messages, kendo-colorpalette-messages", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class LocalizedColorPickerMessagesDirective extends ColorPickerMe
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedColorPickerMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedColorPickerMessagesDirective, "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedColorPickerMessagesDirective, "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
package/colorpicker.module.d.ts
CHANGED
|
@@ -4,32 +4,16 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./colorpicker/colorpicker.component";
|
|
7
|
-
import * as i2 from "./colorpicker/
|
|
8
|
-
import * as i3 from "./colorpicker/
|
|
9
|
-
import * as i4 from "./colorpicker/
|
|
10
|
-
import * as i5 from "./colorpicker/
|
|
11
|
-
import * as i6 from "./colorpicker/localization/custom-messages.component";
|
|
12
|
-
import * as i7 from "./colorpicker/color-gradient-numeric-label.directive";
|
|
13
|
-
import * as i8 from "./colorpicker/color-input.component";
|
|
14
|
-
import * as i9 from "./colorpicker/focus-on-dom-ready.directive";
|
|
15
|
-
import * as i10 from "./colorpicker/contrast.component";
|
|
16
|
-
import * as i11 from "./colorpicker/contrast-validation.component";
|
|
17
|
-
import * as i12 from "./colorpicker/flatcolorpicker-header.component";
|
|
18
|
-
import * as i13 from "./colorpicker/flatcolorpicker-actions.component";
|
|
19
|
-
import * as i14 from "./colorpicker/color-contrast-svg.component";
|
|
20
|
-
import * as i15 from "./slider.module";
|
|
21
|
-
import * as i16 from "./numerictextbox.module";
|
|
22
|
-
import * as i17 from "@angular/common";
|
|
23
|
-
import * as i18 from "@progress/kendo-angular-popup";
|
|
24
|
-
import * as i19 from "@progress/kendo-angular-common";
|
|
25
|
-
import * as i20 from "@progress/kendo-angular-buttons";
|
|
26
|
-
import * as i21 from "@progress/kendo-angular-icons";
|
|
7
|
+
import * as i2 from "./colorpicker/localization/custom-messages.component";
|
|
8
|
+
import * as i3 from "./colorpicker/flatcolorpicker.component";
|
|
9
|
+
import * as i4 from "./colorpicker/color-gradient.component";
|
|
10
|
+
import * as i5 from "./colorpicker/color-palette.component";
|
|
27
11
|
/**
|
|
28
12
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
29
13
|
* definition for the ColorPicker.
|
|
30
14
|
*/
|
|
31
15
|
export declare class ColorPickerModule {
|
|
32
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerModule, [typeof i1.ColorPickerComponent, typeof i2.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerModule, never, [typeof i1.ColorPickerComponent, typeof i2.ColorPickerCustomMessagesComponent, typeof i3.FlatColorPickerComponent, typeof i2.ColorPickerCustomMessagesComponent, typeof i4.ColorGradientComponent, typeof i2.ColorPickerCustomMessagesComponent, typeof i5.ColorPaletteComponent, typeof i2.ColorPickerCustomMessagesComponent], [typeof i1.ColorPickerComponent, typeof i2.ColorPickerCustomMessagesComponent, typeof i3.FlatColorPickerComponent, typeof i2.ColorPickerCustomMessagesComponent, typeof i4.ColorGradientComponent, typeof i2.ColorPickerCustomMessagesComponent, typeof i5.ColorPaletteComponent, typeof i2.ColorPickerCustomMessagesComponent]>;
|
|
34
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<ColorPickerModule>;
|
|
35
19
|
}
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PrefixTemplateDirective, SuffixTemplateDirective } from "@progress/kendo-angular-common";
|
|
6
|
+
import { CheckBoxComponent } from "./checkbox/checkbox.component";
|
|
7
|
+
import { CheckBoxDirective } from "./checkbox/checkbox.directive";
|
|
8
|
+
import { ColorGradientComponent } from "./colorpicker/color-gradient.component";
|
|
9
|
+
import { ColorPaletteComponent } from "./colorpicker/color-palette.component";
|
|
10
|
+
import { ColorPickerComponent } from "./colorpicker/colorpicker.component";
|
|
11
|
+
import { FlatColorPickerComponent } from "./colorpicker/flatcolorpicker.component";
|
|
12
|
+
import { ColorPickerCustomMessagesComponent } from "./colorpicker/localization/custom-messages.component";
|
|
13
|
+
import { ErrorComponent } from "./formfield/error.component";
|
|
14
|
+
import { FormFieldComponent } from "./formfield/formfield.component";
|
|
15
|
+
import { HintComponent } from "./formfield/hint.component";
|
|
16
|
+
import { MaskedTextBoxComponent } from "./maskedtextbox/maskedtextbox.component";
|
|
17
|
+
import { NumericTextBoxCustomMessagesComponent } from "./numerictextbox/localization/custom-messages.component";
|
|
18
|
+
import { NumericTextBoxComponent } from "./numerictextbox/numerictextbox.component";
|
|
19
|
+
import { RadioButtonComponent } from "./radiobutton/radiobutton.component";
|
|
20
|
+
import { RadioButtonDirective } from "./radiobutton/radiobutton.directive";
|
|
21
|
+
import { RangeSliderCustomMessagesComponent } from "./rangeslider/localization/custom-messages.component";
|
|
22
|
+
import { RangeSliderComponent } from "./rangeslider/rangeslider.component";
|
|
23
|
+
import { RatingHoveredItemTemplateDirective } from "./rating/directives/rating-hovered-item.directive";
|
|
24
|
+
import { RatingItemTemplateDirective } from "./rating/directives/rating-item.directive";
|
|
25
|
+
import { RatingSelectedItemTemplateDirective } from "./rating/directives/rating-selected-item.directive";
|
|
26
|
+
import { RatingComponent } from "./rating/rating.component";
|
|
27
|
+
import { InputSeparatorComponent } from "./shared/input-separator.component";
|
|
28
|
+
import { TextAreaDirective } from "./shared/textarea.directive";
|
|
29
|
+
import { SignatureCustomMessagesComponent } from "./signature/localization/custom-messages.component";
|
|
30
|
+
import { SignatureComponent } from "./signature/signature.component";
|
|
31
|
+
import { SliderCustomMessagesComponent } from "./slider/localization/custom-messages.component";
|
|
32
|
+
import { SliderComponent } from "./slider/slider.component";
|
|
33
|
+
import { LabelTemplateDirective } from "./sliders-common/label-template.directive";
|
|
34
|
+
import { SwitchCustomMessagesComponent } from "./switch/localization/custom-messages.component";
|
|
35
|
+
import { SwitchComponent } from "./switch/switch.component";
|
|
36
|
+
import { TextAreaPrefixComponent } from "./textarea/textarea-prefix.component";
|
|
37
|
+
import { TextAreaSuffixComponent } from "./textarea/textarea-suffix.component";
|
|
38
|
+
import { TextAreaComponent } from "./textarea/textarea.component";
|
|
39
|
+
import { TextBoxCustomMessagesComponent } from "./textbox/localization/custom-messages.component";
|
|
40
|
+
import { TextBoxPrefixTemplateDirective } from "./textbox/textbox-prefix.directive";
|
|
41
|
+
import { TextBoxSuffixTemplateDirective } from "./textbox/textbox-suffix.directive";
|
|
42
|
+
import { TextBoxComponent } from "./textbox/textbox.component";
|
|
43
|
+
import { TextBoxDirective } from "./textbox/textbox.directive";
|
|
44
|
+
/**
|
|
45
|
+
* Utility array that contains all `TextBox` related components and directives
|
|
46
|
+
*/
|
|
47
|
+
export declare const KENDO_TEXTBOX: readonly [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent];
|
|
48
|
+
/**
|
|
49
|
+
* Utility array that contains all `NumericTextBox` related components and directives
|
|
50
|
+
*/
|
|
51
|
+
export declare const KENDO_NUMERICTEXTBOX: readonly [typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof PrefixTemplateDirective, typeof SuffixTemplateDirective];
|
|
52
|
+
/**
|
|
53
|
+
* Utility array that contains all `MaskedTextBox` related components and directives
|
|
54
|
+
*/
|
|
55
|
+
export declare const KENDO_MASKEDTEXTBOX: readonly [typeof MaskedTextBoxComponent];
|
|
56
|
+
/**
|
|
57
|
+
* Utility array that contains all `TextArea` related components and directives
|
|
58
|
+
*/
|
|
59
|
+
export declare const KENDO_TEXTAREA: readonly [typeof TextAreaComponent, typeof TextAreaDirective, typeof TextAreaPrefixComponent, typeof TextAreaSuffixComponent];
|
|
60
|
+
/**
|
|
61
|
+
* Utility array that contains all `CheckBox` related components and directives
|
|
62
|
+
*/
|
|
63
|
+
export declare const KENDO_CHECKBOX: readonly [typeof CheckBoxComponent, typeof CheckBoxDirective];
|
|
64
|
+
/**
|
|
65
|
+
* Utility array that contains all `RadioButton` related components and directives
|
|
66
|
+
*/
|
|
67
|
+
export declare const KENDO_RADIOBUTTON: readonly [typeof RadioButtonComponent, typeof RadioButtonDirective];
|
|
68
|
+
/**
|
|
69
|
+
* Utility array that contains all `Switch` related components and directives
|
|
70
|
+
*/
|
|
71
|
+
export declare const KENDO_SWITCH: readonly [typeof SwitchComponent, typeof SwitchCustomMessagesComponent];
|
|
72
|
+
/**
|
|
73
|
+
* Utility array that contains all `FormField` related components and directives
|
|
74
|
+
*/
|
|
75
|
+
export declare const KENDO_FORMFIELD: readonly [typeof FormFieldComponent, typeof HintComponent, typeof ErrorComponent];
|
|
76
|
+
/**
|
|
77
|
+
* Utility array that contains all `Slider` related components and directives
|
|
78
|
+
*/
|
|
79
|
+
export declare const KENDO_SLIDER: readonly [typeof SliderComponent, typeof SliderCustomMessagesComponent, typeof LabelTemplateDirective];
|
|
80
|
+
/**
|
|
81
|
+
* Utility array that contains all `RangeSlider` related components and directives
|
|
82
|
+
*/
|
|
83
|
+
export declare const KENDO_RANGESLIDER: readonly [typeof RangeSliderComponent, typeof RangeSliderCustomMessagesComponent, typeof LabelTemplateDirective];
|
|
84
|
+
/**
|
|
85
|
+
* Utility array that contains all `Rating` related components and directives
|
|
86
|
+
*/
|
|
87
|
+
export declare const KENDO_RATING: readonly [typeof RatingComponent, typeof RatingItemTemplateDirective, typeof RatingHoveredItemTemplateDirective, typeof RatingSelectedItemTemplateDirective];
|
|
88
|
+
/**
|
|
89
|
+
* Utility array that contains all `Signature` related components and directives
|
|
90
|
+
*/
|
|
91
|
+
export declare const KENDO_SIGNATURE: readonly [typeof SignatureComponent, typeof SignatureCustomMessagesComponent];
|
|
92
|
+
/**
|
|
93
|
+
* Utility array that contains all `ColorPicker` related components and directives
|
|
94
|
+
*/
|
|
95
|
+
export declare const KENDO_COLORPICKER: readonly [typeof ColorPickerComponent, typeof ColorPickerCustomMessagesComponent];
|
|
96
|
+
/**
|
|
97
|
+
* Utility array that contains all `FlatColorPicker` related components and directives
|
|
98
|
+
*/
|
|
99
|
+
export declare const KENDO_FLATCOLORPICKER: readonly [typeof FlatColorPickerComponent, typeof ColorPickerCustomMessagesComponent];
|
|
100
|
+
/**
|
|
101
|
+
* Utility array that contains all `ColorPallete` related components and directives
|
|
102
|
+
*/
|
|
103
|
+
export declare const KENDO_COLORPALETTE: readonly [typeof ColorPaletteComponent, typeof ColorPickerCustomMessagesComponent];
|
|
104
|
+
/**
|
|
105
|
+
* Utility array that contains all `ColorGradient` related components and directives
|
|
106
|
+
*/
|
|
107
|
+
export declare const KENDO_COLORGRADIENT: readonly [typeof ColorGradientComponent, typeof ColorPickerCustomMessagesComponent];
|
|
108
|
+
/**
|
|
109
|
+
* Utility array that contains all `@progress/kendo-angular-inputs` related components and directives
|
|
110
|
+
*/
|
|
111
|
+
export declare const KENDO_INPUTS: readonly [typeof TextBoxDirective, typeof TextBoxComponent, typeof InputSeparatorComponent, typeof TextBoxSuffixTemplateDirective, typeof TextBoxPrefixTemplateDirective, typeof TextBoxCustomMessagesComponent, typeof NumericTextBoxComponent, typeof NumericTextBoxCustomMessagesComponent, typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof MaskedTextBoxComponent, typeof TextAreaComponent, typeof TextAreaDirective, typeof TextAreaPrefixComponent, typeof TextAreaSuffixComponent, typeof CheckBoxComponent, typeof CheckBoxDirective, typeof RadioButtonComponent, typeof RadioButtonDirective, typeof SwitchComponent, typeof SwitchCustomMessagesComponent, typeof FormFieldComponent, typeof HintComponent, typeof ErrorComponent, typeof SliderComponent, typeof SliderCustomMessagesComponent, typeof LabelTemplateDirective, typeof RangeSliderComponent, typeof RangeSliderCustomMessagesComponent, typeof LabelTemplateDirective, typeof RatingComponent, typeof RatingItemTemplateDirective, typeof RatingHoveredItemTemplateDirective, typeof RatingSelectedItemTemplateDirective, typeof SignatureComponent, typeof SignatureCustomMessagesComponent, typeof ColorPickerComponent, typeof ColorPickerCustomMessagesComponent, typeof FlatColorPickerComponent, typeof ColorPickerCustomMessagesComponent, typeof ColorGradientComponent, typeof ColorPickerCustomMessagesComponent, typeof ColorPaletteComponent, typeof ColorPickerCustomMessagesComponent];
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, forwardRef, Input, HostBinding, Renderer2, Output, EventEmitter, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
-
import { KendoInput, isPresent, } from '@progress/kendo-angular-common';
|
|
7
|
+
import { EventsOutsideAngularDirective, KendoInput, isPresent, } from '@progress/kendo-angular-common';
|
|
8
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
9
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { packageMetadata } from '../package-metadata';
|
|
11
11
|
import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
|
|
12
|
+
import { SharedInputEventsDirective } from '../shared/shared-events.directive';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "@progress/kendo-angular-common";
|
|
14
|
-
import * as i2 from "../shared/shared-events.directive";
|
|
15
14
|
const DEFAULT_ROUNDED = 'medium';
|
|
16
15
|
export class CheckBoxComponent extends RadioCheckBoxBase {
|
|
17
16
|
constructor(renderer, hostElement, cdr, ngZone, injector) {
|
|
@@ -120,7 +119,7 @@ export class CheckBoxComponent extends RadioCheckBoxBase {
|
|
|
120
119
|
}
|
|
121
120
|
}
|
|
122
121
|
CheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
123
|
-
CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: { checkedState: "checkedState", rounded: "rounded" }, outputs: { checkedStateChange: "checkedStateChange" }, host: { properties: { "class.k-checkbox-wrap": "this.hostClass" } }, providers: [
|
|
122
|
+
CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CheckBoxComponent, isStandalone: true, selector: "kendo-checkbox", inputs: { checkedState: "checkedState", rounded: "rounded" }, outputs: { checkedStateChange: "checkedStateChange" }, host: { properties: { "class.k-checkbox-wrap": "this.hostClass" } }, providers: [
|
|
124
123
|
LocalizationService,
|
|
125
124
|
{ provide: L10N_PREFIX, useValue: 'kendo.checkbox' },
|
|
126
125
|
{
|
|
@@ -158,7 +157,7 @@ CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
158
157
|
}"
|
|
159
158
|
/>
|
|
160
159
|
</ng-container>
|
|
161
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
160
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
162
161
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxComponent, decorators: [{
|
|
163
162
|
type: Component,
|
|
164
163
|
args: [{
|
|
@@ -203,7 +202,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
203
202
|
}"
|
|
204
203
|
/>
|
|
205
204
|
</ng-container>
|
|
206
|
-
|
|
205
|
+
`,
|
|
206
|
+
standalone: true,
|
|
207
|
+
imports: [SharedInputEventsDirective, EventsOutsideAngularDirective]
|
|
207
208
|
}]
|
|
208
209
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { hostClass: [{
|
|
209
210
|
type: HostBinding,
|
|
@@ -78,11 +78,12 @@ export class CheckBoxDirective {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
CheckBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
81
|
-
CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: { size: "size", rounded: "rounded" }, host: { properties: { "class.k-checkbox": "this.kendoClass" } }, ngImport: i0 });
|
|
81
|
+
CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CheckBoxDirective, isStandalone: true, selector: "input[kendoCheckBox]", inputs: { size: "size", rounded: "rounded" }, host: { properties: { "class.k-checkbox": "this.kendoClass" } }, ngImport: i0 });
|
|
82
82
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxDirective, decorators: [{
|
|
83
83
|
type: Directive,
|
|
84
84
|
args: [{
|
|
85
|
-
selector: 'input[kendoCheckBox]'
|
|
85
|
+
selector: 'input[kendoCheckBox]',
|
|
86
|
+
standalone: true
|
|
86
87
|
}]
|
|
87
88
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { kendoClass: [{
|
|
88
89
|
type: HostBinding,
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { CheckBoxDirective } from './checkbox/checkbox.directive';
|
|
9
|
-
import { CheckBoxComponent } from './checkbox/checkbox.component';
|
|
10
|
-
import { SharedEventsModule } from './shared-events.module';
|
|
6
|
+
import { KENDO_CHECKBOX } from './directives';
|
|
11
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "./checkbox/checkbox.component";
|
|
9
|
+
import * as i2 from "./checkbox/checkbox.directive";
|
|
10
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
12
11
|
/**
|
|
13
12
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
13
|
* definition for the CheckBox directive and CheckBoxComponent.
|
|
@@ -43,13 +42,12 @@ import * as i0 from "@angular/core";
|
|
|
43
42
|
export class CheckBoxModule {
|
|
44
43
|
}
|
|
45
44
|
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
-
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxModule,
|
|
47
|
-
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxModule, imports: [
|
|
45
|
+
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxModule, imports: [i1.CheckBoxComponent, i2.CheckBoxDirective], exports: [i1.CheckBoxComponent, i2.CheckBoxDirective] });
|
|
46
|
+
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxModule, imports: [i1.CheckBoxComponent] });
|
|
48
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckBoxModule, decorators: [{
|
|
49
48
|
type: NgModule,
|
|
50
49
|
args: [{
|
|
51
|
-
|
|
52
|
-
exports: [
|
|
53
|
-
imports: [CommonModule, EventsModule, SharedEventsModule]
|
|
50
|
+
imports: [...KENDO_CHECKBOX],
|
|
51
|
+
exports: [...KENDO_CHECKBOX]
|
|
54
52
|
}]
|
|
55
53
|
}] });
|
|
@@ -8,8 +8,8 @@ import { isPresent } from '../common/utils';
|
|
|
8
8
|
import { AA_RATIO, STEP_COUNT, AAA_RATIO } from './constants';
|
|
9
9
|
import { bezierCommand, getContrastFromTwoRGBAs, getRGBA, getColorFromHSV, svgPath, controlPoint, line } from './utils';
|
|
10
10
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
11
|
+
import { NgFor } from '@angular/common';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@angular/common";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
@@ -73,9 +73,9 @@ export class ColorContrastSvgComponent {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
-
ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
|
76
|
+
ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorContrastSvgComponent, isStandalone: true, selector: "[kendoColorContrastSvg]", inputs: { wrapper: "wrapper", hsva: "hsva", backgroundColor: "backgroundColor" }, host: { properties: { "class.k-color-contrast-svg": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
77
77
|
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
78
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
78
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
79
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{
|
|
@@ -83,7 +83,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
83
83
|
selector: '[kendoColorContrastSvg]',
|
|
84
84
|
template: `
|
|
85
85
|
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
86
|
-
|
|
86
|
+
`,
|
|
87
|
+
standalone: true,
|
|
88
|
+
imports: [NgFor]
|
|
87
89
|
}]
|
|
88
90
|
}], propDecorators: { hostClass: [{
|
|
89
91
|
type: HostBinding,
|
|
@@ -20,10 +20,13 @@ export class NumericLabelDirective {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericLabelDirective, deps: [{ token: i1.NumericTextBoxComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
-
NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
|
|
23
|
+
NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NumericLabelDirective, isStandalone: true, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericLabelDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
|
-
args: [{
|
|
26
|
+
args: [{
|
|
27
|
+
selector: '[kendoAdditionalNumericLabel]',
|
|
28
|
+
standalone: true
|
|
29
|
+
}]
|
|
27
30
|
}], ctorParameters: function () { return [{ type: i1.NumericTextBoxComponent }]; }, propDecorators: { kendoAdditionalNumericLabel: [{
|
|
28
31
|
type: Input
|
|
29
32
|
}], localizationService: [{
|
|
@@ -8,7 +8,7 @@ import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
8
8
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
9
9
|
import { take, throttleTime } from 'rxjs/operators';
|
|
10
10
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
11
|
-
import { isChanged, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
11
|
+
import { DraggableDirective, isChanged, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
13
|
import { containsFocus, isUntouched } from '../common/dom-utils';
|
|
14
14
|
import { parseColor, getHSV, getColorFromHSV, getColorFromHue } from './utils';
|
|
@@ -19,16 +19,13 @@ import { ColorInputComponent } from './color-input.component';
|
|
|
19
19
|
import { DEFAULT_GRADIENT_BACKGROUND_COLOR, DEFAULT_OUTPUT_FORMAT, DRAGHANDLE_MOVE_SPEED, DRAGHANDLE_MOVE_SPEED_SMALL_STEP } from './constants';
|
|
20
20
|
import { packageMetadata } from '../package-metadata';
|
|
21
21
|
import { dropletSlashIcon } from '@progress/kendo-svg-icons';
|
|
22
|
+
import { ContrastComponent } from './contrast.component';
|
|
23
|
+
import { ColorContrastSvgComponent } from './color-contrast-svg.component';
|
|
24
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
25
|
+
import { LocalizedColorPickerMessagesDirective } from './localization/localized-colorpicker-messages.directive';
|
|
26
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
22
27
|
import * as i0 from "@angular/core";
|
|
23
28
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
24
|
-
import * as i2 from "../slider/slider.component";
|
|
25
|
-
import * as i3 from "@angular/common";
|
|
26
|
-
import * as i4 from "@progress/kendo-angular-common";
|
|
27
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
|
28
|
-
import * as i6 from "./localization/localized-colorpicker-messages.directive";
|
|
29
|
-
import * as i7 from "./color-input.component";
|
|
30
|
-
import * as i8 from "./contrast.component";
|
|
31
|
-
import * as i9 from "./color-contrast-svg.component";
|
|
32
29
|
let serial = 0;
|
|
33
30
|
/**
|
|
34
31
|
* The ColorGradient component enables smooth color transitions and provides options for selecting specific colors over the drag handle.
|
|
@@ -578,7 +575,7 @@ export class ColorGradientComponent {
|
|
|
578
575
|
}
|
|
579
576
|
}
|
|
580
577
|
ColorGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorGradientComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
581
|
-
ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: { id: "id", opacity: "opacity", disabled: "disabled", readonly: "readonly", clearButton: "clearButton", delay: "delay", value: "value", contrastTool: "contrastTool", tabindex: "tabindex", format: "format", gradientSliderStep: "gradientSliderStep", gradientSliderSmallStep: "gradientSliderSmallStep" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "keydown.enter": "enterHandler($event)", "keydown.escape": "escapeHandler($event)", "focusin": "focusHandler($event)" }, properties: { "class.k-colorgradient": "this.hostClasses", "attr.aria-readonly": "this.readonlyAttribute", "class.k-disabled": "this.disabledClass", "attr.id": "this.gradientId", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabindex", "attr.role": "this.ariaRole", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-disabled": "this.isDisabled", "class.k-readonly": "this.readonly" } }, providers: [
|
|
578
|
+
ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorGradientComponent, isStandalone: true, selector: "kendo-colorgradient", inputs: { id: "id", opacity: "opacity", disabled: "disabled", readonly: "readonly", clearButton: "clearButton", delay: "delay", value: "value", contrastTool: "contrastTool", tabindex: "tabindex", format: "format", gradientSliderStep: "gradientSliderStep", gradientSliderSmallStep: "gradientSliderSmallStep" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "keydown.enter": "enterHandler($event)", "keydown.escape": "escapeHandler($event)", "focusin": "focusHandler($event)" }, properties: { "class.k-colorgradient": "this.hostClasses", "attr.aria-readonly": "this.readonlyAttribute", "class.k-disabled": "this.disabledClass", "attr.id": "this.gradientId", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabindex", "attr.role": "this.ariaRole", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-disabled": "this.isDisabled", "class.k-readonly": "this.readonly" } }, providers: [
|
|
582
579
|
{
|
|
583
580
|
multi: true,
|
|
584
581
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -746,7 +743,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
746
743
|
[value]="value"
|
|
747
744
|
[ratio]="contrastTool">
|
|
748
745
|
</div>
|
|
749
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
746
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { kind: "component", type: 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"] }, { kind: "component", type: SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { kind: "component", type: ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }] });
|
|
750
747
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
751
748
|
type: Component,
|
|
752
749
|
args: [{
|
|
@@ -921,7 +918,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
921
918
|
[value]="value"
|
|
922
919
|
[ratio]="contrastTool">
|
|
923
920
|
</div>
|
|
924
|
-
|
|
921
|
+
`,
|
|
922
|
+
standalone: true,
|
|
923
|
+
imports: [LocalizedColorPickerMessagesDirective, DraggableDirective, NgIf, ColorContrastSvgComponent, ButtonComponent, SliderComponent, NgClass, ColorInputComponent, ContrastComponent]
|
|
925
924
|
}]
|
|
926
925
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.Injector }]; }, propDecorators: { hostClasses: [{
|
|
927
926
|
type: HostBinding,
|