@progress/kendo-angular-inputs 21.4.1 → 22.0.0-develop.1
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/colorpicker/localization/messages.d.ts +1 -1
- package/common/radio-checkbox.base.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-inputs.mjs +321 -321
- package/numerictextbox/localization/messages.d.ts +1 -1
- package/otpinput/localization/messages.d.ts +1 -1
- package/package.json +17 -25
- package/rangeslider/localization/messages.d.ts +1 -1
- package/signature/localization/messages.d.ts +1 -1
- package/slider/localization/messages.d.ts +1 -1
- package/sliders-common/slider-base.d.ts +1 -1
- package/switch/localization/messages.d.ts +1 -1
- package/text-fields-common/text-fields-base.d.ts +1 -1
- package/textbox/localization/messages.d.ts +1 -1
- package/esm2022/checkbox/checkbox.component.mjs +0 -227
- package/esm2022/checkbox/checkbox.directive.mjs +0 -96
- package/esm2022/checkbox/checked-state.mjs +0 -5
- package/esm2022/checkbox.module.mjs +0 -42
- package/esm2022/colorpicker/adaptiveness/adaptive-close-button.component.mjs +0 -62
- package/esm2022/colorpicker/adaptiveness/adaptive-renderer.component.mjs +0 -219
- package/esm2022/colorpicker/color-contrast-svg.component.mjs +0 -108
- package/esm2022/colorpicker/color-gradient-numeric-label.directive.mjs +0 -37
- package/esm2022/colorpicker/color-gradient-text-label.directive.mjs +0 -34
- package/esm2022/colorpicker/color-gradient.component.mjs +0 -1110
- package/esm2022/colorpicker/color-input.component.mjs +0 -498
- package/esm2022/colorpicker/color-palette.component.mjs +0 -629
- package/esm2022/colorpicker/colorpicker.component.mjs +0 -1315
- package/esm2022/colorpicker/constants.mjs +0 -40
- package/esm2022/colorpicker/contrast-validation.component.mjs +0 -83
- package/esm2022/colorpicker/contrast.component.mjs +0 -114
- package/esm2022/colorpicker/events/active-color-click-event.mjs +0 -55
- package/esm2022/colorpicker/events/cancel-event.mjs +0 -18
- package/esm2022/colorpicker/events/close-event.mjs +0 -10
- package/esm2022/colorpicker/events/kendo-drag-event.mjs +0 -5
- package/esm2022/colorpicker/events/open-event.mjs +0 -10
- package/esm2022/colorpicker/events.mjs +0 -8
- package/esm2022/colorpicker/flatcolorpicker-actions.component.mjs +0 -112
- package/esm2022/colorpicker/flatcolorpicker-header.component.mjs +0 -244
- package/esm2022/colorpicker/flatcolorpicker.component.mjs +0 -942
- package/esm2022/colorpicker/localization/colorgradient-localization.service.mjs +0 -46
- package/esm2022/colorpicker/localization/colorpalette-localization.service.mjs +0 -46
- package/esm2022/colorpicker/localization/colorpicker-localization.service.mjs +0 -31
- package/esm2022/colorpicker/localization/custom-messages.component.mjs +0 -51
- package/esm2022/colorpicker/localization/flatcolorpicker-localization.service.mjs +0 -46
- package/esm2022/colorpicker/localization/localized-colorpicker-messages.directive.mjs +0 -39
- package/esm2022/colorpicker/localization/messages.mjs +0 -201
- package/esm2022/colorpicker/models/actions-layout.mjs +0 -5
- package/esm2022/colorpicker/models/adaptive-mode.mjs +0 -8
- package/esm2022/colorpicker/models/colorpicker-view.mjs +0 -5
- package/esm2022/colorpicker/models/gradient-settings.mjs +0 -5
- package/esm2022/colorpicker/models/hsva.mjs +0 -5
- package/esm2022/colorpicker/models/output-format.mjs +0 -5
- package/esm2022/colorpicker/models/palette-presets.mjs +0 -62
- package/esm2022/colorpicker/models/palette-settings.mjs +0 -5
- package/esm2022/colorpicker/models/popup-settings.mjs +0 -5
- package/esm2022/colorpicker/models/rgb.mjs +0 -5
- package/esm2022/colorpicker/models/rgba.mjs +0 -5
- package/esm2022/colorpicker/models/table-cell.mjs +0 -5
- package/esm2022/colorpicker/models/tile-size.mjs +0 -5
- package/esm2022/colorpicker/models.mjs +0 -16
- package/esm2022/colorpicker/services/color-palette.service.mjs +0 -65
- package/esm2022/colorpicker/services/flatcolorpicker.service.mjs +0 -39
- package/esm2022/colorpicker/utils/color-parser.mjs +0 -164
- package/esm2022/colorpicker/utils/contrast-curve.mjs +0 -85
- package/esm2022/colorpicker/utils.mjs +0 -6
- package/esm2022/colorpicker.module.mjs +0 -50
- package/esm2022/common/dom-utils.mjs +0 -36
- package/esm2022/common/formservice.service.mjs +0 -21
- package/esm2022/common/math.mjs +0 -65
- package/esm2022/common/models/fillmode.mjs +0 -5
- package/esm2022/common/models/gutters.mjs +0 -5
- package/esm2022/common/models/responsive-breakpoints.mjs +0 -5
- package/esm2022/common/models/rounded.mjs +0 -5
- package/esm2022/common/models/size.mjs +0 -5
- package/esm2022/common/models/styling-classes.mjs +0 -5
- package/esm2022/common/models/type.mjs +0 -5
- package/esm2022/common/models.mjs +0 -9
- package/esm2022/common/radio-checkbox.base.mjs +0 -295
- package/esm2022/common/utils.mjs +0 -88
- package/esm2022/directives.mjs +0 -430
- package/esm2022/form/form.component.mjs +0 -163
- package/esm2022/form/formseparator.component.mjs +0 -80
- package/esm2022/form/utils.mjs +0 -147
- package/esm2022/form.module.mjs +0 -46
- package/esm2022/formfield/error.component.mjs +0 -70
- package/esm2022/formfield/formfield.component.mjs +0 -353
- package/esm2022/formfield/hint.component.mjs +0 -65
- package/esm2022/formfield/models/message-align.mjs +0 -5
- package/esm2022/formfield/models/orientation.mjs +0 -5
- package/esm2022/formfield/models/show-options.mjs +0 -5
- package/esm2022/formfield.module.mjs +0 -43
- package/esm2022/formfieldset/formfieldset.component.mjs +0 -174
- package/esm2022/index.mjs +0 -91
- package/esm2022/inputs.module.mjs +0 -91
- package/esm2022/maskedtextbox/maskedtextbox.component.mjs +0 -876
- package/esm2022/maskedtextbox/masking.service.mjs +0 -189
- package/esm2022/maskedtextbox/parsing/combinators.mjs +0 -28
- package/esm2022/maskedtextbox/parsing/parsers.mjs +0 -148
- package/esm2022/maskedtextbox/parsing/result.mjs +0 -44
- package/esm2022/maskedtextbox/parsing/stream.mjs +0 -43
- package/esm2022/maskedtextbox.module.mjs +0 -43
- package/esm2022/numerictextbox/arrow-direction.mjs +0 -13
- package/esm2022/numerictextbox/constants.mjs +0 -28
- package/esm2022/numerictextbox/localization/custom-messages.component.mjs +0 -55
- package/esm2022/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +0 -39
- package/esm2022/numerictextbox/localization/messages.mjs +0 -33
- package/esm2022/numerictextbox/numerictextbox.component.mjs +0 -1314
- package/esm2022/numerictextbox/utils.mjs +0 -92
- package/esm2022/numerictextbox.module.mjs +0 -46
- package/esm2022/otp.module.mjs +0 -44
- package/esm2022/otpinput/localization/custom-messages.component.mjs +0 -45
- package/esm2022/otpinput/localization/localized-textbox-messages.directive.mjs +0 -39
- package/esm2022/otpinput/localization/messages.mjs +0 -34
- package/esm2022/otpinput/models/otpinput-type.mjs +0 -5
- package/esm2022/otpinput/models/separator-icon.mjs +0 -5
- package/esm2022/otpinput/otpinput-separator.component.mjs +0 -93
- package/esm2022/otpinput/otpinput.component.mjs +0 -936
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-inputs.mjs +0 -8
- package/esm2022/radiobutton/radiobutton.component.mjs +0 -212
- package/esm2022/radiobutton/radiobutton.directive.mjs +0 -81
- package/esm2022/radiobutton.module.mjs +0 -43
- package/esm2022/rangeslider/localization/custom-messages.component.mjs +0 -53
- package/esm2022/rangeslider/localization/localized-rangeslider-messages.directive.mjs +0 -39
- package/esm2022/rangeslider/localization/messages.mjs +0 -33
- package/esm2022/rangeslider/rangeslider-model.mjs +0 -53
- package/esm2022/rangeslider/rangeslider-value.type.mjs +0 -5
- package/esm2022/rangeslider/rangeslider.component.mjs +0 -625
- package/esm2022/rangeslider.module.mjs +0 -46
- package/esm2022/rating/directives/rating-hovered-item.directive.mjs +0 -35
- package/esm2022/rating/directives/rating-item.directive.mjs +0 -34
- package/esm2022/rating/directives/rating-selected-item.directive.mjs +0 -36
- package/esm2022/rating/models/precision.mjs +0 -5
- package/esm2022/rating/models/rating-item.interface.mjs +0 -5
- package/esm2022/rating/models/selection.mjs +0 -5
- package/esm2022/rating/rating.component.mjs +0 -754
- package/esm2022/rating.module.mjs +0 -46
- package/esm2022/shared/input-separator.component.mjs +0 -55
- package/esm2022/shared/input-spacer.component.mjs +0 -56
- package/esm2022/shared/shared-events.directive.mjs +0 -102
- package/esm2022/shared/utils.mjs +0 -13
- package/esm2022/signature/events/close-event.mjs +0 -10
- package/esm2022/signature/events/index.mjs +0 -6
- package/esm2022/signature/events/open-event.mjs +0 -10
- package/esm2022/signature/localization/custom-messages.component.mjs +0 -43
- package/esm2022/signature/localization/index.mjs +0 -7
- package/esm2022/signature/localization/localized-signature-messages.directive.mjs +0 -39
- package/esm2022/signature/localization/messages.mjs +0 -45
- package/esm2022/signature/signature.component.mjs +0 -981
- package/esm2022/signature.module.mjs +0 -47
- package/esm2022/slider/localization/custom-messages.component.mjs +0 -43
- package/esm2022/slider/localization/localized-slider-messages.directive.mjs +0 -39
- package/esm2022/slider/localization/messages.mjs +0 -39
- package/esm2022/slider/slider-model.mjs +0 -32
- package/esm2022/slider/slider.component.mjs +0 -671
- package/esm2022/slider.module.mjs +0 -48
- package/esm2022/sliders-common/label-template.directive.mjs +0 -37
- package/esm2022/sliders-common/slider-base.mjs +0 -300
- package/esm2022/sliders-common/slider-model.base.mjs +0 -118
- package/esm2022/sliders-common/slider-ticks.component.mjs +0 -147
- package/esm2022/sliders-common/sliders-util.mjs +0 -206
- package/esm2022/sliders-common/title-callback.mjs +0 -5
- package/esm2022/switch/events/blur-event.mjs +0 -13
- package/esm2022/switch/events/focus-event.mjs +0 -13
- package/esm2022/switch/localization/custom-messages.component.mjs +0 -43
- package/esm2022/switch/localization/localized-switch-messages.directive.mjs +0 -39
- package/esm2022/switch/localization/messages.mjs +0 -33
- package/esm2022/switch/switch.component.mjs +0 -585
- package/esm2022/switch.module.mjs +0 -44
- package/esm2022/text-fields-common/text-fields-base.mjs +0 -150
- package/esm2022/textarea/models/adornments-orientation.mjs +0 -5
- package/esm2022/textarea/models/flow.mjs +0 -5
- package/esm2022/textarea/models/resize.mjs +0 -5
- package/esm2022/textarea/models/textarea-settings.mjs +0 -5
- package/esm2022/textarea/textarea-prefix.component.mjs +0 -67
- package/esm2022/textarea/textarea-suffix.component.mjs +0 -67
- package/esm2022/textarea/textarea.component.mjs +0 -740
- package/esm2022/textarea/textarea.directive.mjs +0 -288
- package/esm2022/textarea.module.mjs +0 -46
- package/esm2022/textbox/localization/custom-messages.component.mjs +0 -43
- package/esm2022/textbox/localization/localized-textbox-messages.directive.mjs +0 -39
- package/esm2022/textbox/localization/messages.mjs +0 -27
- package/esm2022/textbox/models/icon-show-options.mjs +0 -5
- package/esm2022/textbox/textbox-prefix.directive.mjs +0 -50
- package/esm2022/textbox/textbox-suffix.directive.mjs +0 -49
- package/esm2022/textbox/textbox.component.mjs +0 -933
- package/esm2022/textbox/textbox.directive.mjs +0 -125
- package/esm2022/textbox.module.mjs +0 -51
- package/esm2022/validators/max.validator.mjs +0 -21
- package/esm2022/validators/min.validator.mjs +0 -21
|
@@ -17,5 +17,5 @@ export declare class NumericTextBoxMessages extends ComponentMessages {
|
|
|
17
17
|
*/
|
|
18
18
|
increment: string;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxMessages, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericTextBoxMessages, "kendo-numerictextbox-messages-base", never, { "decrement": { "alias": "decrement"; "required": false; }; "increment": { "alias": "increment"; "required": false; }; }, {}, never, never,
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericTextBoxMessages, "kendo-numerictextbox-messages-base", never, { "decrement": { "alias": "decrement"; "required": false; }; "increment": { "alias": "increment"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -20,5 +20,5 @@ export declare class OTPInputMessages extends ComponentMessages {
|
|
|
20
20
|
*/
|
|
21
21
|
ariaLabel: string;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputMessages, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OTPInputMessages, "kendo-otpinput-messages-base", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never,
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OTPInputMessages, "kendo-otpinput-messages-base", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,36 +24,30 @@
|
|
|
24
24
|
"TextArea"
|
|
25
25
|
],
|
|
26
26
|
"@progress": {
|
|
27
|
-
"friendlyName": "Inputs"
|
|
28
|
-
"package": {
|
|
29
|
-
"productName": "Kendo UI for Angular",
|
|
30
|
-
"productCode": "KENDOUIANGULAR",
|
|
31
|
-
"publishDate": 1768393111,
|
|
32
|
-
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
33
|
-
}
|
|
27
|
+
"friendlyName": "Inputs"
|
|
34
28
|
},
|
|
35
29
|
"peerDependencies": {
|
|
36
|
-
"@angular/animations": "
|
|
37
|
-
"@angular/common": "
|
|
38
|
-
"@angular/core": "
|
|
39
|
-
"@angular/forms": "
|
|
40
|
-
"@angular/platform-browser": "
|
|
30
|
+
"@angular/animations": "19 - 21",
|
|
31
|
+
"@angular/common": "19 - 21",
|
|
32
|
+
"@angular/core": "19 - 21",
|
|
33
|
+
"@angular/forms": "19 - 21",
|
|
34
|
+
"@angular/platform-browser": "19 - 21",
|
|
41
35
|
"@progress/kendo-drawing": "^1.23.1",
|
|
42
36
|
"@progress/kendo-licensing": "^1.7.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "
|
|
44
|
-
"@progress/kendo-angular-common": "
|
|
45
|
-
"@progress/kendo-angular-utils": "
|
|
46
|
-
"@progress/kendo-angular-navigation": "
|
|
47
|
-
"@progress/kendo-angular-dialog": "
|
|
48
|
-
"@progress/kendo-angular-intl": "
|
|
49
|
-
"@progress/kendo-angular-l10n": "
|
|
50
|
-
"@progress/kendo-angular-popup": "
|
|
51
|
-
"@progress/kendo-angular-icons": "
|
|
37
|
+
"@progress/kendo-angular-buttons": "22.0.0-develop.1",
|
|
38
|
+
"@progress/kendo-angular-common": "22.0.0-develop.1",
|
|
39
|
+
"@progress/kendo-angular-utils": "22.0.0-develop.1",
|
|
40
|
+
"@progress/kendo-angular-navigation": "22.0.0-develop.1",
|
|
41
|
+
"@progress/kendo-angular-dialog": "22.0.0-develop.1",
|
|
42
|
+
"@progress/kendo-angular-intl": "22.0.0-develop.1",
|
|
43
|
+
"@progress/kendo-angular-l10n": "22.0.0-develop.1",
|
|
44
|
+
"@progress/kendo-angular-popup": "22.0.0-develop.1",
|
|
45
|
+
"@progress/kendo-angular-icons": "22.0.0-develop.1",
|
|
52
46
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
47
|
},
|
|
54
48
|
"dependencies": {
|
|
55
49
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "
|
|
50
|
+
"@progress/kendo-angular-schematics": "22.0.0-develop.1",
|
|
57
51
|
"@progress/kendo-common": "^1.0.1",
|
|
58
52
|
"@progress/kendo-draggable": "^3.0.0",
|
|
59
53
|
"@progress/kendo-inputs-common": "^3.1.0"
|
|
@@ -67,8 +61,6 @@
|
|
|
67
61
|
},
|
|
68
62
|
".": {
|
|
69
63
|
"types": "./index.d.ts",
|
|
70
|
-
"esm2022": "./esm2022/progress-kendo-angular-inputs.mjs",
|
|
71
|
-
"esm": "./esm2022/progress-kendo-angular-inputs.mjs",
|
|
72
64
|
"default": "./fesm2022/progress-kendo-angular-inputs.mjs"
|
|
73
65
|
}
|
|
74
66
|
},
|
|
@@ -17,5 +17,5 @@ export declare class RangeSliderMessages extends ComponentMessages {
|
|
|
17
17
|
*/
|
|
18
18
|
dragHandleEnd: string;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<RangeSliderMessages, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeSliderMessages, "kendo-rangeslider-messages-base", never, { "dragHandleStart": { "alias": "dragHandleStart"; "required": false; }; "dragHandleEnd": { "alias": "dragHandleEnd"; "required": false; }; }, {}, never, never,
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeSliderMessages, "kendo-rangeslider-messages-base", never, { "dragHandleStart": { "alias": "dragHandleStart"; "required": false; }; "dragHandleEnd": { "alias": "dragHandleEnd"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -25,5 +25,5 @@ export declare class SignatureMessages extends ComponentMessages {
|
|
|
25
25
|
*/
|
|
26
26
|
canvasLabel: string;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureMessages, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SignatureMessages, "kendo-signature-messages-base", never, { "clear": { "alias": "clear"; "required": false; }; "minimize": { "alias": "minimize"; "required": false; }; "maximize": { "alias": "maximize"; "required": false; }; "canvasLabel": { "alias": "canvasLabel"; "required": false; }; }, {}, never, never,
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SignatureMessages, "kendo-signature-messages-base", never, { "clear": { "alias": "clear"; "required": false; }; "minimize": { "alias": "minimize"; "required": false; }; "maximize": { "alias": "maximize"; "required": false; }; "canvasLabel": { "alias": "canvasLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
@@ -21,5 +21,5 @@ export declare class SliderMessages extends ComponentMessages {
|
|
|
21
21
|
*/
|
|
22
22
|
dragHandle: string;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderMessages, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SliderMessages, "kendo-slider-messages-base", never, { "decrement": { "alias": "decrement"; "required": false; }; "increment": { "alias": "increment"; "required": false; }; "dragHandle": { "alias": "dragHandle"; "required": false; }; }, {}, never, never,
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SliderMessages, "kendo-slider-messages-base", never, { "decrement": { "alias": "decrement"; "required": false; }; "increment": { "alias": "increment"; "required": false; }; "dragHandle": { "alias": "dragHandle"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
@@ -157,5 +157,5 @@ export declare abstract class SliderBase {
|
|
|
157
157
|
protected get keyBinding(): object;
|
|
158
158
|
protected resetStyles(elements: HTMLElement[]): void;
|
|
159
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderBase, never>;
|
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderBase, "kendo-slider-base", never, { "title": { "alias": "title"; "required": false; }; "tickPlacement": { "alias": "tickPlacement"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "smallStep": { "alias": "smallStep"; "required": false; }; "largeStep": { "alias": "largeStep"; "required": false; }; "fixedTickWidth": { "alias": "fixedTickWidth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["labelTemplate"], never,
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderBase, "kendo-slider-base", never, { "title": { "alias": "title"; "required": false; }; "tickPlacement": { "alias": "tickPlacement"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "smallStep": { "alias": "smallStep"; "required": false; }; "largeStep": { "alias": "largeStep"; "required": false; }; "fixedTickWidth": { "alias": "fixedTickWidth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["labelTemplate"], never, true, never>;
|
|
161
161
|
}
|
|
@@ -17,5 +17,5 @@ export declare class Messages extends ComponentMessages {
|
|
|
17
17
|
*/
|
|
18
18
|
off: string;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-switch-messages-base", never, { "on": { "alias": "on"; "required": false; }; "off": { "alias": "off"; "required": false; }; }, {}, never, never,
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-switch-messages-base", never, { "on": { "alias": "on"; "required": false; }; "off": { "alias": "off"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -87,5 +87,5 @@ export declare abstract class TextFieldsBase {
|
|
|
87
87
|
ngChange: Function;
|
|
88
88
|
ngTouched: Function;
|
|
89
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldsBase, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldsBase, "kendo-textfield-base", never, { "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, never, never,
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldsBase, "kendo-textfield-base", never, { "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, never, never, true, never>;
|
|
91
91
|
}
|
|
@@ -13,5 +13,5 @@ export declare class TextBoxMessages extends ComponentMessages {
|
|
|
13
13
|
*/
|
|
14
14
|
clear: string;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxMessages, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxMessages, "kendo-textbox-messages-base", never, { "clear": { "alias": "clear"; "required": false; }; }, {}, never, never,
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxMessages, "kendo-textbox-messages-base", never, { "clear": { "alias": "clear"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ElementRef, forwardRef, Input, HostBinding, Renderer2, Output, EventEmitter, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
|
|
6
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
-
import { EventsOutsideAngularDirective, KendoInput, isPresent, } from '@progress/kendo-angular-common';
|
|
8
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
|
-
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import { packageMetadata } from '../package-metadata';
|
|
11
|
-
import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
|
|
12
|
-
import { SharedInputEventsDirective } from '../shared/shared-events.directive';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
const DEFAULT_ROUNDED = 'medium';
|
|
15
|
-
/**
|
|
16
|
-
* Represents the Kendo UI CheckBox component for Angular.
|
|
17
|
-
* Use this component to create a styled checkbox with support for indeterminate state.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-checkbox [(checkedState)]="value"></kendo-checkbox>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export class CheckBoxComponent extends RadioCheckBoxBase {
|
|
25
|
-
renderer;
|
|
26
|
-
hostElement;
|
|
27
|
-
cdr;
|
|
28
|
-
ngZone;
|
|
29
|
-
injector;
|
|
30
|
-
hostClass = true;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the checked state of the component.
|
|
33
|
-
*
|
|
34
|
-
* Use `true`, `false`, or `'indeterminate'` to control the state.
|
|
35
|
-
*
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
set checkedState(value) {
|
|
39
|
-
this._checkedState = value;
|
|
40
|
-
if (!isPresent(this.input)) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
this.input.nativeElement.indeterminate = value === 'indeterminate';
|
|
44
|
-
}
|
|
45
|
-
get checkedState() {
|
|
46
|
-
return this._checkedState;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Sets the `rounded` property to specify the border radius of the CheckBox
|
|
50
|
-
* ([see example](slug:appearance_checkboxdirective#toc-roundness)).
|
|
51
|
-
*
|
|
52
|
-
* @default 'medium'
|
|
53
|
-
*/
|
|
54
|
-
set rounded(rounded) {
|
|
55
|
-
const newRounded = rounded || DEFAULT_ROUNDED;
|
|
56
|
-
this.handleClasses(newRounded, 'rounded');
|
|
57
|
-
this._rounded = newRounded;
|
|
58
|
-
}
|
|
59
|
-
get rounded() {
|
|
60
|
-
return this._rounded;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Fires when the inner input's checked state changes.
|
|
64
|
-
* This event does not fire when you change the state programmatically using `ngModel` or `formControl`.
|
|
65
|
-
* Use this event for two-way binding with the `checkedState` property.
|
|
66
|
-
*/
|
|
67
|
-
checkedStateChange = new EventEmitter();
|
|
68
|
-
/**
|
|
69
|
-
* @hidden
|
|
70
|
-
*/
|
|
71
|
-
get isChecked() {
|
|
72
|
-
return typeof this.checkedState === 'boolean' && this.checkedState;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
get isIndeterminate() {
|
|
78
|
-
return typeof this.checkedState === 'string' && this.checkedState === 'indeterminate';
|
|
79
|
-
}
|
|
80
|
-
get defaultAttributes() {
|
|
81
|
-
return {
|
|
82
|
-
type: 'checkbox',
|
|
83
|
-
id: this.focusableId,
|
|
84
|
-
title: this.title,
|
|
85
|
-
tabindex: this.tabindex,
|
|
86
|
-
tabIndex: this.tabindex,
|
|
87
|
-
disabled: this.disabled ? '' : null,
|
|
88
|
-
value: this.value,
|
|
89
|
-
checked: this.isChecked,
|
|
90
|
-
'aria-invalid': this.isControlInvalid
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
_rounded = DEFAULT_ROUNDED;
|
|
94
|
-
_checkedState = false;
|
|
95
|
-
constructor(renderer, hostElement, cdr, ngZone, injector) {
|
|
96
|
-
super('checkbox', hostElement, renderer, cdr, ngZone, injector);
|
|
97
|
-
this.renderer = renderer;
|
|
98
|
-
this.hostElement = hostElement;
|
|
99
|
-
this.cdr = cdr;
|
|
100
|
-
this.ngZone = ngZone;
|
|
101
|
-
this.injector = injector;
|
|
102
|
-
validatePackage(packageMetadata);
|
|
103
|
-
}
|
|
104
|
-
ngAfterViewInit() {
|
|
105
|
-
const stylingInputs = ['size', 'rounded'];
|
|
106
|
-
stylingInputs.forEach(input => {
|
|
107
|
-
this.handleClasses(this[input], input);
|
|
108
|
-
});
|
|
109
|
-
this.input.nativeElement.indeterminate = this.checkedState === 'indeterminate';
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @hidden
|
|
113
|
-
*/
|
|
114
|
-
handleChange = ($event) => {
|
|
115
|
-
this.ngZone.run(() => {
|
|
116
|
-
this.checkedState = $event && $event.target && $event.target.checked;
|
|
117
|
-
this.checkedStateChange.emit(this.checkedState);
|
|
118
|
-
this.ngChange(this.checkedState);
|
|
119
|
-
this.cdr.markForCheck();
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* @hidden
|
|
124
|
-
*/
|
|
125
|
-
writeValue(value) {
|
|
126
|
-
this.checkedState = value;
|
|
127
|
-
this.cdr.markForCheck();
|
|
128
|
-
}
|
|
129
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CheckBoxComponent, isStandalone: true, selector: "kendo-checkbox", inputs: { checkedState: "checkedState", rounded: "rounded" }, outputs: { checkedStateChange: "checkedStateChange" }, host: { properties: { "class.k-checkbox-wrap": "this.hostClass" } }, providers: [
|
|
131
|
-
LocalizationService,
|
|
132
|
-
{ provide: L10N_PREFIX, useValue: 'kendo.checkbox' },
|
|
133
|
-
{
|
|
134
|
-
provide: NG_VALUE_ACCESSOR,
|
|
135
|
-
useExisting: forwardRef(() => CheckBoxComponent),
|
|
136
|
-
multi: true
|
|
137
|
-
},
|
|
138
|
-
{ provide: KendoInput, useExisting: forwardRef(() => CheckBoxComponent) }
|
|
139
|
-
], exportAs: ["kendoCheckBox"], usesInheritance: true, ngImport: i0, template: `
|
|
140
|
-
<ng-container
|
|
141
|
-
kendoInputSharedEvents
|
|
142
|
-
[hostElement]="hostElement"
|
|
143
|
-
[(isFocused)]="isFocused"
|
|
144
|
-
(handleBlur)="handleBlur()"
|
|
145
|
-
(onFocus)="handleFocus()"
|
|
146
|
-
>
|
|
147
|
-
<input #input
|
|
148
|
-
type="checkbox"
|
|
149
|
-
class="k-checkbox"
|
|
150
|
-
[id]="focusableId"
|
|
151
|
-
[attr.title]="title"
|
|
152
|
-
[disabled]="disabled"
|
|
153
|
-
[class.k-disabled]="disabled"
|
|
154
|
-
[attr.tabindex]="disabled ? undefined : tabindex"
|
|
155
|
-
[value]="value"
|
|
156
|
-
[checked]="isChecked"
|
|
157
|
-
[class.k-checked]="isChecked"
|
|
158
|
-
[class.k-indeterminate]="isIndeterminate"
|
|
159
|
-
[class.k-invalid]="isControlInvalid"
|
|
160
|
-
[attr.aria-invalid]="isControlInvalid"
|
|
161
|
-
[attr.required]="isControlRequired ? '' : null"
|
|
162
|
-
[kendoEventsOutsideAngular]="{
|
|
163
|
-
blur: handleInputBlur,
|
|
164
|
-
change: handleChange
|
|
165
|
-
}"
|
|
166
|
-
/>
|
|
167
|
-
</ng-container>
|
|
168
|
-
`, 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"] }] });
|
|
169
|
-
}
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxComponent, decorators: [{
|
|
171
|
-
type: Component,
|
|
172
|
-
args: [{
|
|
173
|
-
exportAs: 'kendoCheckBox',
|
|
174
|
-
providers: [
|
|
175
|
-
LocalizationService,
|
|
176
|
-
{ provide: L10N_PREFIX, useValue: 'kendo.checkbox' },
|
|
177
|
-
{
|
|
178
|
-
provide: NG_VALUE_ACCESSOR,
|
|
179
|
-
useExisting: forwardRef(() => CheckBoxComponent),
|
|
180
|
-
multi: true
|
|
181
|
-
},
|
|
182
|
-
{ provide: KendoInput, useExisting: forwardRef(() => CheckBoxComponent) }
|
|
183
|
-
],
|
|
184
|
-
selector: 'kendo-checkbox',
|
|
185
|
-
template: `
|
|
186
|
-
<ng-container
|
|
187
|
-
kendoInputSharedEvents
|
|
188
|
-
[hostElement]="hostElement"
|
|
189
|
-
[(isFocused)]="isFocused"
|
|
190
|
-
(handleBlur)="handleBlur()"
|
|
191
|
-
(onFocus)="handleFocus()"
|
|
192
|
-
>
|
|
193
|
-
<input #input
|
|
194
|
-
type="checkbox"
|
|
195
|
-
class="k-checkbox"
|
|
196
|
-
[id]="focusableId"
|
|
197
|
-
[attr.title]="title"
|
|
198
|
-
[disabled]="disabled"
|
|
199
|
-
[class.k-disabled]="disabled"
|
|
200
|
-
[attr.tabindex]="disabled ? undefined : tabindex"
|
|
201
|
-
[value]="value"
|
|
202
|
-
[checked]="isChecked"
|
|
203
|
-
[class.k-checked]="isChecked"
|
|
204
|
-
[class.k-indeterminate]="isIndeterminate"
|
|
205
|
-
[class.k-invalid]="isControlInvalid"
|
|
206
|
-
[attr.aria-invalid]="isControlInvalid"
|
|
207
|
-
[attr.required]="isControlRequired ? '' : null"
|
|
208
|
-
[kendoEventsOutsideAngular]="{
|
|
209
|
-
blur: handleInputBlur,
|
|
210
|
-
change: handleChange
|
|
211
|
-
}"
|
|
212
|
-
/>
|
|
213
|
-
</ng-container>
|
|
214
|
-
`,
|
|
215
|
-
standalone: true,
|
|
216
|
-
imports: [SharedInputEventsDirective, EventsOutsideAngularDirective]
|
|
217
|
-
}]
|
|
218
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { hostClass: [{
|
|
219
|
-
type: HostBinding,
|
|
220
|
-
args: ['class.k-checkbox-wrap']
|
|
221
|
-
}], checkedState: [{
|
|
222
|
-
type: Input
|
|
223
|
-
}], rounded: [{
|
|
224
|
-
type: Input
|
|
225
|
-
}], checkedStateChange: [{
|
|
226
|
-
type: Output
|
|
227
|
-
}] } });
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
|
|
6
|
-
import { getStylingClasses } from '../common/utils';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
const DEFAULT_SIZE = 'medium';
|
|
9
|
-
const DEFAULT_ROUNDED = 'medium';
|
|
10
|
-
/**
|
|
11
|
-
* Renders the [Kendo UI CheckBox]({% slug overview_checkbox %}) input component.
|
|
12
|
-
* Apply this directive to `input type="checkbox"` HTML elements.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <input type="checkbox" kendoCheckBox />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export class CheckBoxDirective {
|
|
20
|
-
renderer;
|
|
21
|
-
hostElement;
|
|
22
|
-
kendoClass = true;
|
|
23
|
-
get isDisabled() {
|
|
24
|
-
return this.hostElement.nativeElement.disabled;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Sets the `size` property to specify the width and height of the CheckBox
|
|
28
|
-
* ([see example]({% slug appearance_checkboxdirective %}#toc-size)).
|
|
29
|
-
*
|
|
30
|
-
* @default 'medium'
|
|
31
|
-
*/
|
|
32
|
-
set size(size) {
|
|
33
|
-
const newSize = size ? size : DEFAULT_SIZE;
|
|
34
|
-
this.handleClasses(newSize, 'size');
|
|
35
|
-
this._size = newSize;
|
|
36
|
-
}
|
|
37
|
-
get size() {
|
|
38
|
-
return this._size;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Sets the `rounded` property to specify the border radius of the CheckBox
|
|
42
|
-
* ([see example](slug:appearance_checkboxdirective#toc-roundness)).
|
|
43
|
-
*
|
|
44
|
-
* @default 'medium'
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
set rounded(rounded) {
|
|
48
|
-
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
49
|
-
this.handleClasses(newRounded, 'rounded');
|
|
50
|
-
this._rounded = newRounded;
|
|
51
|
-
}
|
|
52
|
-
get rounded() {
|
|
53
|
-
return this._rounded;
|
|
54
|
-
}
|
|
55
|
-
_size = 'medium';
|
|
56
|
-
_rounded = 'medium';
|
|
57
|
-
constructor(renderer, hostElement) {
|
|
58
|
-
this.renderer = renderer;
|
|
59
|
-
this.hostElement = hostElement;
|
|
60
|
-
}
|
|
61
|
-
ngAfterViewInit() {
|
|
62
|
-
const stylingInputs = ['size', 'rounded'];
|
|
63
|
-
stylingInputs.forEach(input => {
|
|
64
|
-
this.handleClasses(this[input], input);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
handleClasses(value, input) {
|
|
68
|
-
const elem = this.hostElement.nativeElement;
|
|
69
|
-
const classes = getStylingClasses('checkbox', input, this[input], value);
|
|
70
|
-
if (classes.toRemove) {
|
|
71
|
-
this.renderer.removeClass(elem, classes.toRemove);
|
|
72
|
-
}
|
|
73
|
-
if (classes.toAdd) {
|
|
74
|
-
this.renderer.addClass(elem, classes.toAdd);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CheckBoxDirective, isStandalone: true, selector: "input[kendoCheckBox]", inputs: { size: "size", rounded: "rounded" }, host: { properties: { "class.k-checkbox": "this.kendoClass", "class.k-disabled": "this.isDisabled" } }, ngImport: i0 });
|
|
79
|
-
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxDirective, decorators: [{
|
|
81
|
-
type: Directive,
|
|
82
|
-
args: [{
|
|
83
|
-
selector: 'input[kendoCheckBox]',
|
|
84
|
-
standalone: true
|
|
85
|
-
}]
|
|
86
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { kendoClass: [{
|
|
87
|
-
type: HostBinding,
|
|
88
|
-
args: ['class.k-checkbox']
|
|
89
|
-
}], isDisabled: [{
|
|
90
|
-
type: HostBinding,
|
|
91
|
-
args: ['class.k-disabled']
|
|
92
|
-
}], size: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], rounded: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}] } });
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { KENDO_CHECKBOX } from './directives';
|
|
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
|
|
11
|
-
/**
|
|
12
|
-
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the CheckBox directive and CheckBoxComponent.
|
|
13
|
-
*
|
|
14
|
-
* Use this module to add CheckBox features to your NgModule-based Angular application.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import { CheckBoxModule } from '@progress/kendo-angular-inputs';
|
|
19
|
-
* import { NgModule } from '@angular/core';
|
|
20
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
21
|
-
* import { AppComponent } from './app.component';
|
|
22
|
-
*
|
|
23
|
-
* @NgModule({
|
|
24
|
-
* declarations: [AppComponent],
|
|
25
|
-
* imports: [BrowserModule, CheckBoxModule],
|
|
26
|
-
* bootstrap: [AppComponent]
|
|
27
|
-
* })
|
|
28
|
-
* export class AppModule {}
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export class CheckBoxModule {
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
33
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxModule, imports: [i1.CheckBoxComponent, i2.CheckBoxDirective], exports: [i1.CheckBoxComponent, i2.CheckBoxDirective] });
|
|
34
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxModule });
|
|
35
|
-
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckBoxModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
imports: [...KENDO_CHECKBOX],
|
|
40
|
-
exports: [...KENDO_CHECKBOX]
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
6
|
-
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class AdaptiveCloseButtonComponent {
|
|
12
|
-
title;
|
|
13
|
-
icon;
|
|
14
|
-
svgIcon;
|
|
15
|
-
color;
|
|
16
|
-
close = new EventEmitter();
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AdaptiveCloseButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AdaptiveCloseButtonComponent, isStandalone: true, selector: "kendo-adaptive-close-button", inputs: { title: "title", icon: "icon", svgIcon: "svgIcon", color: "color" }, outputs: { close: "close" }, ngImport: i0, template: `
|
|
19
|
-
<button kendoButton
|
|
20
|
-
type="button"
|
|
21
|
-
[title]="title"
|
|
22
|
-
[icon]="icon"
|
|
23
|
-
[svgIcon]="svgIcon"
|
|
24
|
-
[themeColor]="color"
|
|
25
|
-
fillMode="flat"
|
|
26
|
-
size="large"
|
|
27
|
-
[tabIndex]="-1"
|
|
28
|
-
(click)="close.emit($event)"
|
|
29
|
-
></button>
|
|
30
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AdaptiveCloseButtonComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: 'kendo-adaptive-close-button',
|
|
36
|
-
template: `
|
|
37
|
-
<button kendoButton
|
|
38
|
-
type="button"
|
|
39
|
-
[title]="title"
|
|
40
|
-
[icon]="icon"
|
|
41
|
-
[svgIcon]="svgIcon"
|
|
42
|
-
[themeColor]="color"
|
|
43
|
-
fillMode="flat"
|
|
44
|
-
size="large"
|
|
45
|
-
[tabIndex]="-1"
|
|
46
|
-
(click)="close.emit($event)"
|
|
47
|
-
></button>
|
|
48
|
-
`,
|
|
49
|
-
standalone: true,
|
|
50
|
-
imports: [ButtonComponent]
|
|
51
|
-
}]
|
|
52
|
-
}], propDecorators: { title: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], icon: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], svgIcon: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], color: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], close: [{
|
|
61
|
-
type: Output
|
|
62
|
-
}] } });
|