@progress/kendo-angular-inputs 13.2.1-develop.11 → 13.2.1-develop.13
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/LICENSE.md +11 -0
- package/NOTICE.txt +654 -0
- package/README.md +184 -0
- package/checkbox/checkbox.directive.d.ts +52 -0
- package/checkbox.module.d.ts +43 -0
- package/colorpicker/color-contrast-svg.component.d.ts +29 -0
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +20 -0
- package/colorpicker/color-gradient.component.d.ts +281 -0
- package/colorpicker/color-input.component.d.ts +95 -0
- package/colorpicker/color-palette.component.d.ts +221 -0
- package/colorpicker/colorpicker.component.d.ts +383 -0
- package/colorpicker/constants.d.ts +41 -0
- package/colorpicker/contrast-validation.component.d.ts +24 -0
- package/colorpicker/contrast.component.d.ts +25 -0
- package/colorpicker/events/active-color-click-event.d.ts +53 -0
- package/colorpicker/events/cancel-event.d.ts +15 -0
- package/colorpicker/events/close-event.d.ts +10 -0
- package/colorpicker/events/kendo-drag-event.d.ts +21 -0
- package/colorpicker/events/open-event.d.ts +10 -0
- package/colorpicker/events.d.ts +8 -0
- package/colorpicker/flatcolorpicker-actions.component.d.ts +24 -0
- package/colorpicker/flatcolorpicker-header.component.d.ts +43 -0
- package/colorpicker/flatcolorpicker.component.d.ts +267 -0
- package/colorpicker/focus-on-dom-ready.directive.d.ts +18 -0
- package/colorpicker/localization/colorgradient-localization.service.d.ts +17 -0
- package/colorpicker/localization/colorpalette-localization.service.d.ts +17 -0
- package/colorpicker/localization/colorpicker-localization.service.d.ts +14 -0
- package/colorpicker/localization/custom-messages.component.d.ts +17 -0
- package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +17 -0
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +16 -0
- package/colorpicker/localization/messages.d.ts +121 -0
- package/colorpicker/models/actions-layout.d.ts +8 -0
- package/colorpicker/models/colorpicker-view.d.ts +8 -0
- package/colorpicker/models/gradient-settings.d.ts +35 -0
- package/colorpicker/models/hsva.d.ts +13 -0
- package/colorpicker/models/output-format.d.ts +8 -0
- package/colorpicker/models/palette-presets.d.ts +61 -0
- package/colorpicker/models/palette-settings.d.ts +33 -0
- package/colorpicker/models/popup-settings.d.ts +18 -0
- package/colorpicker/models/rgb.d.ts +12 -0
- package/colorpicker/models/rgba.d.ts +13 -0
- package/colorpicker/models/table-cell.d.ts +11 -0
- package/colorpicker/models/tile-size.d.ts +11 -0
- package/colorpicker/models.d.ts +16 -0
- package/colorpicker/services/color-palette.service.d.ts +19 -0
- package/colorpicker/services/flatcolorpicker.service.d.ts +15 -0
- package/colorpicker/utils/color-parser.d.ts +77 -0
- package/colorpicker/utils/contrast-curve.d.ts +37 -0
- package/colorpicker/utils.d.ts +6 -0
- package/colorpicker.module.d.ts +35 -0
- package/common/dom-utils.d.ts +25 -0
- package/common/math.d.ts +36 -0
- package/common/models/fillmode.d.ts +9 -0
- package/common/models/rounded.d.ts +14 -0
- package/common/models/size.d.ts +9 -0
- package/common/models/styling-classes.d.ts +11 -0
- package/common/models.d.ts +8 -0
- package/common/utils.d.ts +56 -0
- package/esm2020/checkbox/checkbox.directive.mjs +94 -0
- package/esm2020/checkbox.module.mjs +52 -0
- package/esm2020/colorpicker/color-contrast-svg.component.mjs +97 -0
- package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +31 -0
- package/esm2020/colorpicker/color-gradient.component.mjs +1003 -0
- package/esm2020/colorpicker/color-input.component.mjs +433 -0
- package/esm2020/colorpicker/color-palette.component.mjs +553 -0
- package/esm2020/colorpicker/colorpicker.component.mjs +1086 -0
- package/esm2020/colorpicker/constants.mjs +40 -0
- package/esm2020/colorpicker/contrast-validation.component.mjs +72 -0
- package/esm2020/colorpicker/contrast.component.mjs +100 -0
- package/esm2020/colorpicker/events/active-color-click-event.mjs +58 -0
- package/esm2020/colorpicker/events/cancel-event.mjs +14 -0
- package/esm2020/colorpicker/events/close-event.mjs +10 -0
- package/esm2020/colorpicker/events/kendo-drag-event.mjs +5 -0
- package/esm2020/colorpicker/events/open-event.mjs +10 -0
- package/esm2020/colorpicker/events.mjs +8 -0
- package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +93 -0
- package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +217 -0
- package/esm2020/colorpicker/flatcolorpicker.component.mjs +829 -0
- package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +29 -0
- package/esm2020/colorpicker/localization/colorgradient-localization.service.mjs +45 -0
- package/esm2020/colorpicker/localization/colorpalette-localization.service.mjs +45 -0
- package/esm2020/colorpicker/localization/colorpicker-localization.service.mjs +31 -0
- package/esm2020/colorpicker/localization/custom-messages.component.mjs +41 -0
- package/esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs +45 -0
- package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +37 -0
- package/esm2020/colorpicker/localization/messages.mjs +75 -0
- package/esm2020/colorpicker/models/actions-layout.mjs +5 -0
- package/esm2020/colorpicker/models/colorpicker-view.mjs +5 -0
- package/esm2020/colorpicker/models/gradient-settings.mjs +5 -0
- package/esm2020/colorpicker/models/hsva.mjs +5 -0
- package/esm2020/colorpicker/models/output-format.mjs +5 -0
- package/esm2020/colorpicker/models/palette-presets.mjs +62 -0
- package/esm2020/colorpicker/models/palette-settings.mjs +5 -0
- package/esm2020/colorpicker/models/popup-settings.mjs +5 -0
- package/esm2020/colorpicker/models/rgb.mjs +5 -0
- package/esm2020/colorpicker/models/rgba.mjs +5 -0
- package/esm2020/colorpicker/models/table-cell.mjs +5 -0
- package/esm2020/colorpicker/models/tile-size.mjs +6 -0
- package/esm2020/colorpicker/models.mjs +16 -0
- package/esm2020/colorpicker/services/color-palette.service.mjs +67 -0
- package/esm2020/colorpicker/services/flatcolorpicker.service.mjs +39 -0
- package/esm2020/colorpicker/utils/color-parser.mjs +164 -0
- package/esm2020/colorpicker/utils/contrast-curve.mjs +85 -0
- package/esm2020/colorpicker/utils.mjs +6 -0
- package/esm2020/colorpicker.module.mjs +104 -0
- package/esm2020/common/dom-utils.mjs +36 -0
- package/esm2020/common/math.mjs +65 -0
- package/esm2020/common/models/fillmode.mjs +5 -0
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/esm2020/common/models/styling-classes.mjs +5 -0
- package/esm2020/common/models.mjs +8 -0
- package/esm2020/common/utils.mjs +81 -0
- package/esm2020/formfield/error.component.mjs +68 -0
- package/esm2020/formfield/formfield.component.mjs +284 -0
- package/esm2020/formfield/hint.component.mjs +63 -0
- package/esm2020/formfield/models/message-align.mjs +5 -0
- package/esm2020/formfield/models/orientation.mjs +5 -0
- package/esm2020/formfield/models/show-options.mjs +5 -0
- package/esm2020/formfield.module.mjs +54 -0
- package/esm2020/index.mjs +66 -0
- package/esm2020/inputs.module.mjs +98 -0
- package/esm2020/maskedtextbox/maskedtextbox.component.mjs +711 -0
- package/esm2020/maskedtextbox/masking.service.mjs +191 -0
- package/esm2020/maskedtextbox/parsing/combinators.mjs +28 -0
- package/esm2020/maskedtextbox/parsing/parsers.mjs +147 -0
- package/esm2020/maskedtextbox/parsing/result.mjs +41 -0
- package/esm2020/maskedtextbox/parsing/stream.mjs +41 -0
- package/esm2020/maskedtextbox.module.mjs +53 -0
- package/esm2020/numerictextbox/arrow-direction.mjs +13 -0
- package/esm2020/numerictextbox/constants.mjs +28 -0
- package/esm2020/numerictextbox/localization/custom-messages.component.mjs +41 -0
- package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +37 -0
- package/esm2020/numerictextbox/localization/messages.mjs +25 -0
- package/esm2020/numerictextbox/numerictextbox.component.mjs +1105 -0
- package/esm2020/numerictextbox/utils.mjs +92 -0
- package/esm2020/numerictextbox.module.mjs +66 -0
- package/esm2020/package-metadata.mjs +15 -0
- package/esm2020/progress-kendo-angular-inputs.mjs +8 -0
- package/esm2020/radiobutton/radiobutton.directive.mjs +76 -0
- package/esm2020/radiobutton.module.mjs +52 -0
- package/esm2020/rangeslider/localization/custom-messages.component.mjs +41 -0
- package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +37 -0
- package/esm2020/rangeslider/localization/messages.mjs +25 -0
- package/esm2020/rangeslider/rangeslider-model.mjs +52 -0
- package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
- package/esm2020/rangeslider/rangeslider.component.mjs +605 -0
- package/esm2020/rangeslider.module.mjs +71 -0
- package/esm2020/shared/input-separator.component.mjs +41 -0
- package/esm2020/shared/textarea.directive.mjs +260 -0
- package/esm2020/shared/utils.mjs +13 -0
- package/esm2020/shared.module.mjs +32 -0
- package/esm2020/signature/events/close-event.mjs +10 -0
- package/esm2020/signature/events/index.mjs +6 -0
- package/esm2020/signature/events/open-event.mjs +10 -0
- package/esm2020/signature/localization/custom-messages.component.mjs +41 -0
- package/esm2020/signature/localization/index.mjs +7 -0
- package/esm2020/signature/localization/localized-signature-messages.directive.mjs +37 -0
- package/esm2020/signature/localization/messages.mjs +29 -0
- package/esm2020/signature/signature.component.mjs +906 -0
- package/esm2020/signature.module.mjs +79 -0
- package/esm2020/slider/localization/custom-messages.component.mjs +41 -0
- package/esm2020/slider/localization/localized-slider-messages.directive.mjs +37 -0
- package/esm2020/slider/localization/messages.mjs +27 -0
- package/esm2020/slider/slider-model.mjs +34 -0
- package/esm2020/slider/slider.component.mjs +646 -0
- package/esm2020/slider.module.mjs +73 -0
- package/esm2020/sliders-common/label-template.directive.mjs +45 -0
- package/esm2020/sliders-common/slider-base.mjs +255 -0
- package/esm2020/sliders-common/slider-model.base.mjs +93 -0
- package/esm2020/sliders-common/slider-ticks.component.mjs +125 -0
- package/esm2020/sliders-common/sliders-common.module.mjs +42 -0
- package/esm2020/sliders-common/sliders-util.mjs +219 -0
- package/esm2020/sliders-common/title-callback.mjs +5 -0
- package/esm2020/switch/events/blur-event.mjs +9 -0
- package/esm2020/switch/events/focus-event.mjs +9 -0
- package/esm2020/switch/localization/custom-messages.component.mjs +41 -0
- package/esm2020/switch/localization/localized-switch-messages.directive.mjs +37 -0
- package/esm2020/switch/localization/messages.mjs +25 -0
- package/esm2020/switch/switch.component.mjs +577 -0
- package/esm2020/switch.module.mjs +68 -0
- package/esm2020/text-fields-common/text-fields-base.mjs +128 -0
- package/esm2020/textarea/models/flow.mjs +5 -0
- package/esm2020/textarea/models/resize.mjs +5 -0
- package/esm2020/textarea/textarea-suffix.component.mjs +40 -0
- package/esm2020/textarea/textarea.component.mjs +604 -0
- package/esm2020/textarea.module.mjs +68 -0
- package/esm2020/textbox/localization/custom-messages.component.mjs +41 -0
- package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +37 -0
- package/esm2020/textbox/localization/messages.mjs +23 -0
- package/esm2020/textbox/models/icon-show-options.mjs +5 -0
- package/esm2020/textbox/textbox-prefix.directive.mjs +38 -0
- package/esm2020/textbox/textbox-suffix.directive.mjs +37 -0
- package/esm2020/textbox/textbox.component.mjs +849 -0
- package/esm2020/textbox/textbox.directive.mjs +121 -0
- package/esm2020/textbox.module.mjs +89 -0
- package/esm2020/validators/max.validator.mjs +21 -0
- package/esm2020/validators/min.validator.mjs +21 -0
- package/fesm2015/progress-kendo-angular-inputs.mjs +15090 -0
- package/fesm2020/progress-kendo-angular-inputs.mjs +15055 -0
- package/formfield/error.component.d.ts +31 -0
- package/formfield/formfield.component.d.ts +98 -0
- package/formfield/hint.component.d.ts +29 -0
- package/formfield/models/message-align.d.ts +8 -0
- package/formfield/models/orientation.d.ts +9 -0
- package/formfield/models/show-options.d.ts +16 -0
- package/formfield.module.d.ts +45 -0
- package/index.d.ts +76 -0
- package/inputs.module.d.ts +55 -0
- package/maskedtextbox/maskedtextbox.component.d.ts +315 -0
- package/maskedtextbox/masking.service.d.ts +48 -0
- package/maskedtextbox/parsing/combinators.d.ts +13 -0
- package/maskedtextbox/parsing/parsers.d.ts +51 -0
- package/maskedtextbox/parsing/result.d.ts +27 -0
- package/maskedtextbox/parsing/stream.d.ts +26 -0
- package/maskedtextbox.module.d.ts +44 -0
- package/numerictextbox/arrow-direction.d.ts +12 -0
- package/numerictextbox/constants.d.ts +28 -0
- package/numerictextbox/localization/custom-messages.component.d.ts +17 -0
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +16 -0
- package/numerictextbox/localization/messages.d.ts +21 -0
- package/numerictextbox/numerictextbox.component.d.ts +364 -0
- package/numerictextbox/utils.d.ts +44 -0
- package/numerictextbox.module.d.ts +47 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +74 -0
- package/progress-kendo-angular-inputs.d.ts +9 -0
- package/radiobutton/radiobutton.directive.d.ts +38 -0
- package/radiobutton.module.d.ts +43 -0
- package/rangeslider/localization/custom-messages.component.d.ts +17 -0
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +16 -0
- package/rangeslider/localization/messages.d.ts +21 -0
- package/rangeslider/rangeslider-model.d.ts +15 -0
- package/rangeslider/rangeslider-value.type.d.ts +9 -0
- package/rangeslider/rangeslider.component.d.ts +139 -0
- package/rangeslider.module.d.ts +48 -0
- package/schematics/collection.json +12 -0
- package/schematics/ngAdd/index.js +11 -0
- package/schematics/ngAdd/schema.json +28 -0
- package/shared/input-separator.component.d.ts +28 -0
- package/shared/textarea.directive.d.ts +99 -0
- package/shared/utils.d.ts +10 -0
- package/shared.module.d.ts +19 -0
- package/signature/events/close-event.d.ts +10 -0
- package/signature/events/index.d.ts +6 -0
- package/signature/events/open-event.d.ts +10 -0
- package/signature/localization/custom-messages.component.d.ts +17 -0
- package/signature/localization/index.d.ts +7 -0
- package/signature/localization/localized-signature-messages.directive.d.ts +16 -0
- package/signature/localization/messages.d.ts +29 -0
- package/signature/signature.component.d.ts +364 -0
- package/signature.module.d.ts +48 -0
- package/slider/localization/custom-messages.component.d.ts +17 -0
- package/slider/localization/localized-slider-messages.directive.d.ts +16 -0
- package/slider/localization/messages.d.ts +25 -0
- package/slider/slider-model.d.ts +14 -0
- package/slider/slider.component.d.ts +175 -0
- package/slider.module.d.ts +50 -0
- package/sliders-common/label-template.directive.d.ts +36 -0
- package/sliders-common/slider-base.d.ts +141 -0
- package/sliders-common/slider-model.base.d.ts +26 -0
- package/sliders-common/slider-ticks.component.d.ts +26 -0
- package/sliders-common/sliders-common.module.d.ts +17 -0
- package/sliders-common/sliders-util.d.ts +119 -0
- package/sliders-common/title-callback.d.ts +10 -0
- package/switch/events/blur-event.d.ts +13 -0
- package/switch/events/focus-event.d.ts +13 -0
- package/switch/localization/custom-messages.component.d.ts +17 -0
- package/switch/localization/localized-switch-messages.directive.d.ts +16 -0
- package/switch/localization/messages.d.ts +21 -0
- package/switch/switch.component.d.ts +216 -0
- package/switch.module.d.ts +46 -0
- package/text-fields-common/text-fields-base.d.ts +91 -0
- package/textarea/models/flow.d.ts +12 -0
- package/textarea/models/resize.d.ts +16 -0
- package/textarea/textarea-suffix.component.d.ts +26 -0
- package/textarea/textarea.component.d.ts +225 -0
- package/textarea.module.d.ts +48 -0
- package/textbox/localization/custom-messages.component.d.ts +17 -0
- package/textbox/localization/localized-textbox-messages.directive.d.ts +16 -0
- package/textbox/localization/messages.d.ts +17 -0
- package/textbox/models/icon-show-options.d.ts +13 -0
- package/textbox/textbox-prefix.directive.d.ts +29 -0
- package/textbox/textbox-suffix.directive.d.ts +28 -0
- package/textbox/textbox.component.d.ts +376 -0
- package/textbox/textbox.directive.d.ts +59 -0
- package/textbox.module.d.ts +53 -0
- package/validators/max.validator.d.ts +8 -0
- package/validators/min.validator.d.ts +8 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, NgZone, ChangeDetectorRef, Injector } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor, AbstractControl, NgControl, Validator } from '@angular/forms';
|
|
7
|
+
import { IntlService, NumberFormatOptions } from '@progress/kendo-angular-intl';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { ArrowDirection } from './arrow-direction';
|
|
10
|
+
import { Subscription } from 'rxjs';
|
|
11
|
+
import { InputSize, InputRounded, InputFillMode } from '../common/models';
|
|
12
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* Represents the [Kendo UI NumericTextBox component for Angular]({% slug overview_numerictextbox %}).
|
|
16
|
+
*/
|
|
17
|
+
export declare class NumericTextBoxComponent implements ControlValueAccessor, OnChanges, OnDestroy, Validator {
|
|
18
|
+
private intl;
|
|
19
|
+
private renderer;
|
|
20
|
+
private localizationService;
|
|
21
|
+
private injector;
|
|
22
|
+
private ngZone;
|
|
23
|
+
private changeDetector;
|
|
24
|
+
private hostElement;
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
focusableId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Determines whether the NumericTextBox is disabled ([see example]({% slug disabled_numerictextbox %})).
|
|
31
|
+
*/
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Determines whether the NumericTextBox is in its read-only state ([see example]({% slug readonly_numerictextbox %})).
|
|
35
|
+
*/
|
|
36
|
+
readonly: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the title of the `input` element of the NumericTextBox.
|
|
39
|
+
*/
|
|
40
|
+
title: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies whether the value will be auto-corrected based on the minimum and maximum values
|
|
43
|
+
* ([see example]({% slug precision_numerictextbox %})).
|
|
44
|
+
*/
|
|
45
|
+
autoCorrect: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the number format which is used when the NumericTextBox is not focused
|
|
48
|
+
* ([see example]({% slug formats_numerictextbox %})).
|
|
49
|
+
* If `format` is set to `null` or `undefined`, the default format will be used.
|
|
50
|
+
*/
|
|
51
|
+
get format(): string | NumberFormatOptions | null | undefined;
|
|
52
|
+
set format(value: string | NumberFormatOptions | null | undefined);
|
|
53
|
+
/**
|
|
54
|
+
* Specifies the greatest value that is valid
|
|
55
|
+
* ([see example]({% slug precision_numerictextbox %}#toc-value-ranges)).
|
|
56
|
+
*/
|
|
57
|
+
max: number;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the smallest value that is valid
|
|
60
|
+
* ([see example]({% slug precision_numerictextbox %}#toc-value-ranges)).
|
|
61
|
+
*/
|
|
62
|
+
min: number;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies the number of decimals that the user can enter when the input is focused
|
|
65
|
+
* ([see example]({% slug precision_numerictextbox %})).
|
|
66
|
+
*/
|
|
67
|
+
decimals: number;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the input placeholder.
|
|
70
|
+
*/
|
|
71
|
+
placeholder: string;
|
|
72
|
+
/**
|
|
73
|
+
* Specifies the value that is used to increment or decrement the component value
|
|
74
|
+
* ([see example]({% slug predefinedsteps_numerictextbox %})).
|
|
75
|
+
*/
|
|
76
|
+
step: number;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies whether the **Up** and **Down** spin buttons will be rendered
|
|
79
|
+
* ([see example]({% slug spinbuttons_numerictextbox %})).
|
|
80
|
+
*/
|
|
81
|
+
spinners: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Determines whether the built-in minimum or maximum validators are enforced when a form is validated.
|
|
84
|
+
*
|
|
85
|
+
* > The 4.2.0 Angular version introduces the `min` and `max` validation directives. As a result, even if you set `rangeValidation`
|
|
86
|
+
* to `false`, the built-in Angular validators will be executed.
|
|
87
|
+
*/
|
|
88
|
+
rangeValidation: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
91
|
+
*/
|
|
92
|
+
tabindex: number;
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
set tabIndex(tabIndex: number);
|
|
97
|
+
get tabIndex(): number;
|
|
98
|
+
/**
|
|
99
|
+
* Determines whether the value of the NumericTextBox will be changed via scrolling. Defaults to `true`.
|
|
100
|
+
*
|
|
101
|
+
* @default true
|
|
102
|
+
*/
|
|
103
|
+
changeValueOnScroll: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Determines whether the whole value will be selected when the NumericTextBox is clicked. Defaults to `true`.
|
|
106
|
+
*/
|
|
107
|
+
selectOnFocus: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the value of the NumericTextBox
|
|
110
|
+
* ([see example]({% slug formats_numerictextbox %})).
|
|
111
|
+
*/
|
|
112
|
+
value: number;
|
|
113
|
+
/**
|
|
114
|
+
* Specifies the maximum number of characters the end user can type or paste in the input.
|
|
115
|
+
* The locale-specific decimal separator and negative sign (`-`) are included in the length of the value when present.
|
|
116
|
+
* The `maxlength` restriction is not applied to the length of the formatted value when the component is not focused.
|
|
117
|
+
*/
|
|
118
|
+
maxlength: number;
|
|
119
|
+
/**
|
|
120
|
+
* The size property specifies padding of the NumericTextBox internal input element
|
|
121
|
+
* ([see example]({% slug appearance_numerictextbox %}#toc-size)).
|
|
122
|
+
* The possible values are:
|
|
123
|
+
* * `small`
|
|
124
|
+
* * `medium` (default)
|
|
125
|
+
* * `large`
|
|
126
|
+
* * `none`
|
|
127
|
+
*/
|
|
128
|
+
set size(size: InputSize);
|
|
129
|
+
get size(): InputSize;
|
|
130
|
+
/**
|
|
131
|
+
* The rounded property specifies the border radius of the NumericTextBox
|
|
132
|
+
* ([see example]({% slug appearance_numerictextbox %}#toc-rounded)).
|
|
133
|
+
* The possible values are:
|
|
134
|
+
* * `small`
|
|
135
|
+
* * `medium` (default)
|
|
136
|
+
* * `large`
|
|
137
|
+
* * `none`
|
|
138
|
+
*/
|
|
139
|
+
set rounded(rounded: InputRounded);
|
|
140
|
+
get rounded(): InputRounded;
|
|
141
|
+
/**
|
|
142
|
+
* The fillMode property specifies the background and border styles of the NumericTextBox
|
|
143
|
+
* ([see example]({% slug appearance_numerictextbox %}#toc-fillMode)).
|
|
144
|
+
* The possible values are:
|
|
145
|
+
* * `flat`
|
|
146
|
+
* * `solid` (default)
|
|
147
|
+
* * `outline`
|
|
148
|
+
* * `none`
|
|
149
|
+
*/
|
|
150
|
+
set fillMode(fillMode: InputFillMode);
|
|
151
|
+
get fillMode(): InputFillMode;
|
|
152
|
+
/**
|
|
153
|
+
* Fires each time the user selects a new value ([see example]({% slug overview_numerictextbox %}#toc-events)).
|
|
154
|
+
*/
|
|
155
|
+
valueChange: EventEmitter<any>;
|
|
156
|
+
/**
|
|
157
|
+
* Fires each time the user focuses the `input` element ([see example]({% slug overview_numerictextbox %}#toc-events)).
|
|
158
|
+
*/
|
|
159
|
+
onFocus: EventEmitter<any>;
|
|
160
|
+
/**
|
|
161
|
+
* Fires each time the `input` element gets blurred ([see example]({% slug overview_numerictextbox %}#toc-events)).
|
|
162
|
+
*/
|
|
163
|
+
onBlur: EventEmitter<any>;
|
|
164
|
+
/**
|
|
165
|
+
* @hidden
|
|
166
|
+
*/
|
|
167
|
+
numericInput: ElementRef;
|
|
168
|
+
direction: string;
|
|
169
|
+
/**
|
|
170
|
+
* @hidden
|
|
171
|
+
*/
|
|
172
|
+
ArrowDirection: any;
|
|
173
|
+
/**
|
|
174
|
+
* @hidden
|
|
175
|
+
*/
|
|
176
|
+
arrowDirection: ArrowDirection;
|
|
177
|
+
get disableClass(): boolean;
|
|
178
|
+
hostClasses: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* @hidden
|
|
181
|
+
*/
|
|
182
|
+
arrowUpIcon: SVGIcon;
|
|
183
|
+
/**
|
|
184
|
+
* @hidden
|
|
185
|
+
*/
|
|
186
|
+
arrowDownIcon: SVGIcon;
|
|
187
|
+
protected subscriptions: Subscription;
|
|
188
|
+
protected inputValue: string;
|
|
189
|
+
protected spinTimeout: number;
|
|
190
|
+
protected isFocused: boolean;
|
|
191
|
+
protected minValidateFn: any;
|
|
192
|
+
protected maxValidateFn: any;
|
|
193
|
+
protected numericRegex: RegExp;
|
|
194
|
+
protected _format: string | NumberFormatOptions;
|
|
195
|
+
protected previousSelection: any;
|
|
196
|
+
protected pressedKey: any;
|
|
197
|
+
protected control: NgControl;
|
|
198
|
+
protected isPasted: boolean;
|
|
199
|
+
protected mouseDown: boolean;
|
|
200
|
+
private _size;
|
|
201
|
+
private _rounded;
|
|
202
|
+
private _fillMode;
|
|
203
|
+
private ngChange;
|
|
204
|
+
private ngTouched;
|
|
205
|
+
private ngValidatorChange;
|
|
206
|
+
private domEvents;
|
|
207
|
+
constructor(intl: IntlService, renderer: Renderer2, localizationService: LocalizationService, injector: Injector, ngZone: NgZone, changeDetector: ChangeDetectorRef, hostElement: ElementRef);
|
|
208
|
+
ngOnInit(): void;
|
|
209
|
+
ngAfterViewInit(): void;
|
|
210
|
+
/**
|
|
211
|
+
* @hidden
|
|
212
|
+
*/
|
|
213
|
+
increasePress: (e: any) => void;
|
|
214
|
+
/**
|
|
215
|
+
* @hidden
|
|
216
|
+
*/
|
|
217
|
+
decreasePress: (e: any) => void;
|
|
218
|
+
/**
|
|
219
|
+
* @hidden
|
|
220
|
+
*/
|
|
221
|
+
releaseArrow: () => void;
|
|
222
|
+
/**
|
|
223
|
+
* @hidden
|
|
224
|
+
*/
|
|
225
|
+
ngOnChanges(changes: any): void;
|
|
226
|
+
/**
|
|
227
|
+
* @hidden
|
|
228
|
+
*/
|
|
229
|
+
ngOnDestroy(): void;
|
|
230
|
+
/**
|
|
231
|
+
* @hidden
|
|
232
|
+
*/
|
|
233
|
+
validate(control: AbstractControl): {
|
|
234
|
+
[key: string]: any;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* @hidden
|
|
238
|
+
*/
|
|
239
|
+
registerOnValidatorChange(fn: Function): void;
|
|
240
|
+
/**
|
|
241
|
+
* @hidden
|
|
242
|
+
*/
|
|
243
|
+
writeValue(value: number): void;
|
|
244
|
+
/**
|
|
245
|
+
* @hidden
|
|
246
|
+
*/
|
|
247
|
+
registerOnChange(fn: () => any): void;
|
|
248
|
+
/**
|
|
249
|
+
* @hidden
|
|
250
|
+
*/
|
|
251
|
+
registerOnTouched(fn: () => any): void;
|
|
252
|
+
/**
|
|
253
|
+
* @hidden
|
|
254
|
+
* Called when the status of the component changes to or from `disabled`.
|
|
255
|
+
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
256
|
+
*
|
|
257
|
+
* @param isDisabled
|
|
258
|
+
*/
|
|
259
|
+
setDisabledState(isDisabled: boolean): void;
|
|
260
|
+
/**
|
|
261
|
+
* Focuses the NumericTextBox.
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* ```ts-no-run
|
|
265
|
+
* _@Component({
|
|
266
|
+
* selector: 'my-app',
|
|
267
|
+
* template: `
|
|
268
|
+
* <button (click)="numerictextbox.focus()">Focus NumericTextBox</button>
|
|
269
|
+
* <kendo-numerictextbox #numerictextbox></kendo-numerictextbox>
|
|
270
|
+
* `
|
|
271
|
+
* })
|
|
272
|
+
* class AppComponent { }
|
|
273
|
+
* ```
|
|
274
|
+
*/
|
|
275
|
+
focus(): void;
|
|
276
|
+
/**
|
|
277
|
+
* Blurs the NumericTextBox.
|
|
278
|
+
*/
|
|
279
|
+
blur(): void;
|
|
280
|
+
/**
|
|
281
|
+
* Notifies the `NumericTextBoxComponent` that the input value should be changed.
|
|
282
|
+
* Can be used to update the input after setting the component properties directly.
|
|
283
|
+
*/
|
|
284
|
+
notifyValueChange(): void;
|
|
285
|
+
/**
|
|
286
|
+
* @hidden
|
|
287
|
+
*/
|
|
288
|
+
handlePaste: () => void;
|
|
289
|
+
/**
|
|
290
|
+
* @hidden
|
|
291
|
+
*/
|
|
292
|
+
handleInput: () => void;
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*/
|
|
296
|
+
handleDragEnter: () => void;
|
|
297
|
+
/**
|
|
298
|
+
* @hidden
|
|
299
|
+
*/
|
|
300
|
+
handleMouseDown: () => void;
|
|
301
|
+
/**
|
|
302
|
+
* @hidden
|
|
303
|
+
*/
|
|
304
|
+
handleFocus: () => void;
|
|
305
|
+
/**
|
|
306
|
+
* @hidden
|
|
307
|
+
*/
|
|
308
|
+
handleBlur: () => void;
|
|
309
|
+
/**
|
|
310
|
+
* @hidden
|
|
311
|
+
*/
|
|
312
|
+
handleKeyDown: (e: any) => void;
|
|
313
|
+
/**
|
|
314
|
+
* @hidden
|
|
315
|
+
*/
|
|
316
|
+
handleWheel: (e: any) => void;
|
|
317
|
+
/**
|
|
318
|
+
* @hidden
|
|
319
|
+
*/
|
|
320
|
+
get incrementTitle(): string;
|
|
321
|
+
/**
|
|
322
|
+
* @hidden
|
|
323
|
+
*/
|
|
324
|
+
get decrementTitle(): string;
|
|
325
|
+
/**
|
|
326
|
+
* @hidden
|
|
327
|
+
*/
|
|
328
|
+
get isControlInvalid(): boolean;
|
|
329
|
+
private get decimalSeparator();
|
|
330
|
+
private get elementValue();
|
|
331
|
+
private set elementValue(value);
|
|
332
|
+
private get focused();
|
|
333
|
+
private set focused(value);
|
|
334
|
+
private get hasDecimals();
|
|
335
|
+
private get isDisabled();
|
|
336
|
+
private arrowPress;
|
|
337
|
+
private updateValue;
|
|
338
|
+
private replaceNumpadDotValue;
|
|
339
|
+
private isValid;
|
|
340
|
+
private spin;
|
|
341
|
+
private addStep;
|
|
342
|
+
private setSelection;
|
|
343
|
+
private limitValue;
|
|
344
|
+
private limitInputValue;
|
|
345
|
+
private tryPadValue;
|
|
346
|
+
private isInRange;
|
|
347
|
+
private restrictModelValue;
|
|
348
|
+
private restrictDecimals;
|
|
349
|
+
private formatInputValue;
|
|
350
|
+
private formatValue;
|
|
351
|
+
private setInputValue;
|
|
352
|
+
private verifySettings;
|
|
353
|
+
private verifyValue;
|
|
354
|
+
private parseOptions;
|
|
355
|
+
private intlChange;
|
|
356
|
+
private hasTrailingZeros;
|
|
357
|
+
private selectAll;
|
|
358
|
+
private selectCaret;
|
|
359
|
+
private numberOfLeadingZeroes;
|
|
360
|
+
private adjustSignificantChars;
|
|
361
|
+
private handleClasses;
|
|
362
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxComponent, never>;
|
|
363
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxComponent, "kendo-numerictextbox", ["kendoNumericTextBox"], { "focusableId": "focusableId"; "disabled": "disabled"; "readonly": "readonly"; "title": "title"; "autoCorrect": "autoCorrect"; "format": "format"; "max": "max"; "min": "min"; "decimals": "decimals"; "placeholder": "placeholder"; "step": "step"; "spinners": "spinners"; "rangeValidation": "rangeValidation"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "changeValueOnScroll": "changeValueOnScroll"; "selectOnFocus": "selectOnFocus"; "value": "value"; "maxlength": "maxlength"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; }, never, never>;
|
|
364
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export declare const numericRegex: (options: any) => RegExp;
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const decimalPart: (value: number) => number;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare const noop: (_: any) => void;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare const defined: (value: any) => boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export declare const isNumber: (value: any) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
export declare function pad(value: any, digits: number): number;
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export declare const getDeltaFromMouseWheel: (e: any) => number;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export declare const getCaretPosition: (element: HTMLInputElement) => number;
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
export declare const extractSignificantNumericChars: (formattedString: string, separator: string) => number;
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
export declare const isRightClick: (event: any) => boolean;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./numerictextbox/localization/localized-numerictextbox-messages.directive";
|
|
7
|
+
import * as i2 from "./numerictextbox/numerictextbox.component";
|
|
8
|
+
import * as i3 from "./numerictextbox/localization/custom-messages.component";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
import * as i5 from "@progress/kendo-angular-common";
|
|
11
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
|
12
|
+
/**
|
|
13
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
|
+
* definition for the NumericTextBox component.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* ```ts-no-run
|
|
19
|
+
* // Import the NumericTextBox module
|
|
20
|
+
* import { NumericTextBoxModule } from '@progress/kendo-angular-inputs';
|
|
21
|
+
*
|
|
22
|
+
* // The browser platform with a compiler
|
|
23
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
24
|
+
*
|
|
25
|
+
* import { NgModule } from '@angular/core';
|
|
26
|
+
*
|
|
27
|
+
* // Import the app component
|
|
28
|
+
* import { AppComponent } from './app.component';
|
|
29
|
+
*
|
|
30
|
+
* // Define the app module
|
|
31
|
+
* _@NgModule({
|
|
32
|
+
* declarations: [AppComponent], // declare app component
|
|
33
|
+
* imports: [BrowserModule, NumericTextBoxModule], // import NumericTextBox module
|
|
34
|
+
* bootstrap: [AppComponent]
|
|
35
|
+
* })
|
|
36
|
+
* export class AppModule {}
|
|
37
|
+
*
|
|
38
|
+
* // Compile and launch the module
|
|
39
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class NumericTextBoxModule {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxModule, never>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NumericTextBoxModule, [typeof i1.LocalizedNumericTextBoxMessagesDirective, typeof i2.NumericTextBoxComponent, typeof i3.NumericTextBoxCustomMessagesComponent], [typeof i4.CommonModule, typeof i5.EventsModule, typeof i6.IconsModule], [typeof i2.NumericTextBoxComponent, typeof i3.NumericTextBoxCustomMessagesComponent]>;
|
|
46
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NumericTextBoxModule>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@progress/kendo-angular-inputs",
|
|
3
|
+
"version": "13.2.1-develop.13",
|
|
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
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
+
"author": "Progress",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"Angular",
|
|
13
|
+
"Kendo UI",
|
|
14
|
+
"MaskedTextBox",
|
|
15
|
+
"Progress",
|
|
16
|
+
"Slider",
|
|
17
|
+
"Switch",
|
|
18
|
+
"CheckBox",
|
|
19
|
+
"RadioButton",
|
|
20
|
+
"NumericTextBox",
|
|
21
|
+
"RangeSlider",
|
|
22
|
+
"ColorPicker",
|
|
23
|
+
"TextBox",
|
|
24
|
+
"TextArea"
|
|
25
|
+
],
|
|
26
|
+
"@progress": {
|
|
27
|
+
"friendlyName": "Inputs"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@angular/animations": "13 - 16",
|
|
31
|
+
"@angular/common": "13 - 16",
|
|
32
|
+
"@angular/core": "13 - 16",
|
|
33
|
+
"@angular/platform-browser": "13 - 16",
|
|
34
|
+
"@progress/kendo-drawing": "^1.17.2",
|
|
35
|
+
"@progress/kendo-licensing": "^1.0.2",
|
|
36
|
+
"@progress/kendo-angular-buttons": "13.2.1-develop.13",
|
|
37
|
+
"@progress/kendo-angular-common": "13.2.1-develop.13",
|
|
38
|
+
"@progress/kendo-angular-dialog": "13.2.1-develop.13",
|
|
39
|
+
"@progress/kendo-angular-intl": "13.2.1-develop.13",
|
|
40
|
+
"@progress/kendo-angular-l10n": "13.2.1-develop.13",
|
|
41
|
+
"@progress/kendo-angular-popup": "13.2.1-develop.13",
|
|
42
|
+
"@progress/kendo-angular-icons": "13.2.1-develop.13",
|
|
43
|
+
"rxjs": "^6.5.3 || ^7.0.0",
|
|
44
|
+
"@progress/kendo-angular-upload": "13.2.1-develop.13"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"tslib": "^2.3.1",
|
|
48
|
+
"@progress/kendo-angular-schematics": "13.2.1-develop.13",
|
|
49
|
+
"@progress/kendo-common": "^0.2.2",
|
|
50
|
+
"@progress/kendo-draggable": "^3.0.0",
|
|
51
|
+
"@progress/kendo-inputs-common": "^3.1.0"
|
|
52
|
+
},
|
|
53
|
+
"schematics": "./schematics/collection.json",
|
|
54
|
+
"module": "fesm2015/progress-kendo-angular-inputs.mjs",
|
|
55
|
+
"es2020": "fesm2020/progress-kendo-angular-inputs.mjs",
|
|
56
|
+
"esm2020": "esm2020/progress-kendo-angular-inputs.mjs",
|
|
57
|
+
"fesm2020": "fesm2020/progress-kendo-angular-inputs.mjs",
|
|
58
|
+
"fesm2015": "fesm2015/progress-kendo-angular-inputs.mjs",
|
|
59
|
+
"typings": "progress-kendo-angular-inputs.d.ts",
|
|
60
|
+
"exports": {
|
|
61
|
+
"./package.json": {
|
|
62
|
+
"default": "./package.json"
|
|
63
|
+
},
|
|
64
|
+
".": {
|
|
65
|
+
"types": "./progress-kendo-angular-inputs.d.ts",
|
|
66
|
+
"esm2020": "./esm2020/progress-kendo-angular-inputs.mjs",
|
|
67
|
+
"es2020": "./fesm2020/progress-kendo-angular-inputs.mjs",
|
|
68
|
+
"es2015": "./fesm2015/progress-kendo-angular-inputs.mjs",
|
|
69
|
+
"node": "./fesm2015/progress-kendo-angular-inputs.mjs",
|
|
70
|
+
"default": "./fesm2020/progress-kendo-angular-inputs.mjs"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"sideEffects": false
|
|
74
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Generated bundle index. Do not edit.
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@progress/kendo-angular-inputs" />
|
|
9
|
+
export * from './index';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
+
import { InputSize } from '../common/models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Represents the directive that renders the [Kendo UI RadioButton]({% slug overview_checkbox %}) input component.
|
|
10
|
+
* The directive is placed on input type="radio" elements.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts-no-run
|
|
14
|
+
* <input type="radio" kendoRadioButton />
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class RadioButtonDirective {
|
|
18
|
+
private renderer;
|
|
19
|
+
private hostElement;
|
|
20
|
+
kendoClass: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The size property specifies the width and height of the RadioButton
|
|
23
|
+
* ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
|
|
24
|
+
* The possible values are:
|
|
25
|
+
* * `small`
|
|
26
|
+
* * `medium` (default)
|
|
27
|
+
* * `large`
|
|
28
|
+
* * `none`
|
|
29
|
+
*/
|
|
30
|
+
set size(size: InputSize);
|
|
31
|
+
get size(): InputSize;
|
|
32
|
+
private _size;
|
|
33
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
private handleClasses;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioButtonDirective, "input[kendoRadioButton]", never, { "size": "size"; }, {}, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./radiobutton/radiobutton.directive";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
/**
|
|
9
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
10
|
+
* definition for the RadioButton directive.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
*
|
|
14
|
+
* ```ts-no-run
|
|
15
|
+
* // Import the RadioButton module
|
|
16
|
+
* import { RadioButtonModule } from '@progress/kendo-angular-inputs';
|
|
17
|
+
*
|
|
18
|
+
* // The browser platform with a compiler
|
|
19
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
20
|
+
*
|
|
21
|
+
* import { NgModule } from '@angular/core';
|
|
22
|
+
*
|
|
23
|
+
* // Import the app component
|
|
24
|
+
* import { AppComponent } from './app.component';
|
|
25
|
+
*
|
|
26
|
+
* // Define the app module
|
|
27
|
+
* _@NgModule({
|
|
28
|
+
* declarations: [AppComponent], // declare app component
|
|
29
|
+
* imports: [BrowserModule, RadioButtonModule], // import RadioButton module
|
|
30
|
+
* bootstrap: [AppComponent]
|
|
31
|
+
* })
|
|
32
|
+
* export class AppModule {}
|
|
33
|
+
*
|
|
34
|
+
* // Compile and launch the module
|
|
35
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
36
|
+
*
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class RadioButtonModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonModule, never>;
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonModule, [typeof i1.RadioButtonDirective], [typeof i2.CommonModule], [typeof i1.RadioButtonDirective]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonModule>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { RangeSliderMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class RangeSliderCustomMessagesComponent extends RangeSliderMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeSliderCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RangeSliderCustomMessagesComponent, "kendo-rangeslider-messages", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { RangeSliderMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedRangeSliderMessagesDirective extends RangeSliderMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedRangeSliderMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedRangeSliderMessagesDirective, "[kendoSliderLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|