@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,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 { TextBoxMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class TextBoxCustomMessagesComponent extends TextBoxMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxCustomMessagesComponent, "kendo-textbox-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 { TextBoxMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedTextBoxMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedTextBoxMessagesDirective, "[kendoTextBoxLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class TextBoxMessages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The title of the **Clear** button of the TextBox.
|
|
13
|
+
*/
|
|
14
|
+
clear: string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxMessages, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxMessages, "kendo-textbox-messages-base", never, { "clear": "clear"; }, {}, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
* Specifies whether the Success or Error icons will be shown ([see examples]({% slug validation_textbox %})).
|
|
7
|
+
*
|
|
8
|
+
* The possible values are:
|
|
9
|
+
*
|
|
10
|
+
* * `initial`(Default) —Gives an initial, built-in control of the icons.
|
|
11
|
+
* * `boolean`—The icon is displayed, if the condition given by the developer is met.
|
|
12
|
+
*/
|
|
13
|
+
export declare type IconShowOptions = 'initial' | true | false;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the adornments in the prefix container ([see examples]({% slug adornments_textbox %}#toc-prefixadornments)).
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts-no-run
|
|
11
|
+
* _@Component({
|
|
12
|
+
* selector: 'my-app',
|
|
13
|
+
* template: `
|
|
14
|
+
* <kendo-textbox>
|
|
15
|
+
* <ng-template kendoTextBoxPrefixTemplate>
|
|
16
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
17
|
+
* </ng-template>
|
|
18
|
+
* </kendo-textbox>
|
|
19
|
+
* `
|
|
20
|
+
* })
|
|
21
|
+
* class AppComponent {}
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class TextBoxPrefixTemplateDirective {
|
|
25
|
+
templateRef: TemplateRef<any>;
|
|
26
|
+
constructor(templateRef: TemplateRef<any>);
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxPrefixTemplateDirective, [{ optional: true; }]>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxPrefixTemplateDirective, "[kendoTextBoxPrefixTemplate]", never, {}, {}, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the adornments in the suffix container ([see examples]({% slug adornments_textbox %}#toc-suffixadornments)).
|
|
9
|
+
* ```ts-no-run
|
|
10
|
+
* _@Component({
|
|
11
|
+
* selector: 'my-app',
|
|
12
|
+
* template: `
|
|
13
|
+
* <kendo-textbox>
|
|
14
|
+
* <ng-template kendoTextBoxSuffixTemplate>
|
|
15
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
16
|
+
* </ng-template>
|
|
17
|
+
* </kendo-textbox>
|
|
18
|
+
* `
|
|
19
|
+
* })
|
|
20
|
+
* class AppComponent {}
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class TextBoxSuffixTemplateDirective {
|
|
24
|
+
templateRef: TemplateRef<any>;
|
|
25
|
+
constructor(templateRef: TemplateRef<any>);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxSuffixTemplateDirective, [{ optional: true; }]>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxSuffixTemplateDirective, "[kendoTextBoxSuffixTemplate]", never, {}, {}, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,376 @@
|
|
|
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 { Subscription } from 'rxjs';
|
|
6
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
|
+
import { ElementRef, EventEmitter, NgZone, ChangeDetectorRef, Injector, Renderer2, SimpleChanges } from '@angular/core';
|
|
8
|
+
import { IconShowOptions } from './models/icon-show-options';
|
|
9
|
+
import { TextBoxSuffixTemplateDirective } from './textbox-suffix.directive';
|
|
10
|
+
import { TextBoxPrefixTemplateDirective } from './textbox-prefix.directive';
|
|
11
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
|
+
import { SVGIcon } from '@progress/kendo-angular-icons';
|
|
13
|
+
import { InputSize, InputRounded, InputFillMode } from '../common/models';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class TextBoxComponent implements ControlValueAccessor {
|
|
16
|
+
private localizationService;
|
|
17
|
+
private ngZone;
|
|
18
|
+
private changeDetector;
|
|
19
|
+
protected renderer: Renderer2;
|
|
20
|
+
private injector;
|
|
21
|
+
private hostElement;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
focusableId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the `title` attribute of the `input` element of the TextBox.
|
|
28
|
+
*/
|
|
29
|
+
title: string;
|
|
30
|
+
/**
|
|
31
|
+
* Sets the disabled state of the component.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Sets the read-only state of the component.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the `tabindex` of the TextBox.
|
|
44
|
+
*
|
|
45
|
+
* @default 0
|
|
46
|
+
*/
|
|
47
|
+
tabindex: number;
|
|
48
|
+
/**
|
|
49
|
+
* Provides a value for the TextBox.
|
|
50
|
+
*/
|
|
51
|
+
value: string;
|
|
52
|
+
/**
|
|
53
|
+
* Determines whether the whole value will be selected when the TextBox is clicked. Defaults to `false`.
|
|
54
|
+
*
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
selectOnFocus: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies when the Success icon will be shown ([see example]({% slug validation_textbox %})).
|
|
60
|
+
*
|
|
61
|
+
* The possible values are:
|
|
62
|
+
*
|
|
63
|
+
* `boolean`—The Success icon is displayed, if the condition given by the developer is met.
|
|
64
|
+
*
|
|
65
|
+
* `initial`—The Success icon will be displayed when the component state is neither `invalid` nor `touched` or `dirty`.
|
|
66
|
+
*
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
showSuccessIcon: IconShowOptions;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies when the Error icon will be shown ([see example]({% slug validation_textbox %})).
|
|
72
|
+
*
|
|
73
|
+
* The possible values are:
|
|
74
|
+
*
|
|
75
|
+
* * `initial`—The Error icon will be displayed when the component state is
|
|
76
|
+
* `invalid` and `touched` or `dirty`.
|
|
77
|
+
* * `boolean`—The Error icon is displayed, if the condition given by the developer is met.
|
|
78
|
+
*
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
showErrorIcon: IconShowOptions;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies whether a Clear button will be rendered.
|
|
84
|
+
*
|
|
85
|
+
* @default false
|
|
86
|
+
*/
|
|
87
|
+
clearButton: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Sets a custom icon that will be rendered instead of the default one for a valid user input.
|
|
90
|
+
*/
|
|
91
|
+
successIcon: string;
|
|
92
|
+
/**
|
|
93
|
+
* Sets a custom SVG icon that will be rendered instead of the default one for a valid user input.
|
|
94
|
+
*/
|
|
95
|
+
successSvgIcon: SVGIcon;
|
|
96
|
+
/**
|
|
97
|
+
* Sets a custom icon that will be rendered instead of the default one for invalid user input.
|
|
98
|
+
*/
|
|
99
|
+
errorIcon: string;
|
|
100
|
+
/**
|
|
101
|
+
* Sets a custom SVG icon that will be rendered instead of the default one for invalid user input.
|
|
102
|
+
*/
|
|
103
|
+
errorSvgIcon: SVGIcon;
|
|
104
|
+
/**
|
|
105
|
+
* Sets a custom icon that will be rendered instead of the default one.
|
|
106
|
+
*/
|
|
107
|
+
clearButtonIcon: string;
|
|
108
|
+
/**
|
|
109
|
+
* Sets a custom SVG icon that will be rendered instead of the default one.
|
|
110
|
+
*/
|
|
111
|
+
clearButtonSvgIcon: SVGIcon;
|
|
112
|
+
/**
|
|
113
|
+
* The size property specifies the padding of the TextBox internal input element
|
|
114
|
+
* ([see example]({% slug appearance_textbox %}#toc-size)).
|
|
115
|
+
*
|
|
116
|
+
* The possible values are:
|
|
117
|
+
* * `small`
|
|
118
|
+
* * `medium` (default)
|
|
119
|
+
* * `large`
|
|
120
|
+
* * `none`
|
|
121
|
+
*/
|
|
122
|
+
set size(size: InputSize);
|
|
123
|
+
get size(): InputSize;
|
|
124
|
+
/**
|
|
125
|
+
* The rounded property specifies the border radius of the TextBox
|
|
126
|
+
* ([see example]({% slug appearance_textbox %}#toc-rounded)).
|
|
127
|
+
*
|
|
128
|
+
* The possible values are:
|
|
129
|
+
* * `small`
|
|
130
|
+
* * `medium` (default)
|
|
131
|
+
* * `large`
|
|
132
|
+
* * `full`
|
|
133
|
+
* * `none`
|
|
134
|
+
*/
|
|
135
|
+
set rounded(rounded: InputRounded);
|
|
136
|
+
get rounded(): InputRounded;
|
|
137
|
+
/**
|
|
138
|
+
* The fillMode property specifies the background and border styles of the TextBox
|
|
139
|
+
* ([see example]({% slug appearance_textbox %}#toc-fillMode)).
|
|
140
|
+
*
|
|
141
|
+
* The possible values are:
|
|
142
|
+
* * `flat`
|
|
143
|
+
* * `solid` (default)
|
|
144
|
+
* * `outline`
|
|
145
|
+
* * `none`
|
|
146
|
+
*/
|
|
147
|
+
set fillMode(fillMode: InputFillMode);
|
|
148
|
+
get fillMode(): InputFillMode;
|
|
149
|
+
/**
|
|
150
|
+
* @hidden
|
|
151
|
+
*/
|
|
152
|
+
set tabIndex(tabIndex: number);
|
|
153
|
+
get tabIndex(): number;
|
|
154
|
+
/**
|
|
155
|
+
* The hint, which is displayed when the component is empty.
|
|
156
|
+
*/
|
|
157
|
+
placeholder: string;
|
|
158
|
+
/**
|
|
159
|
+
* Specifies the maximum length of the TextBox value.
|
|
160
|
+
*/
|
|
161
|
+
maxlength: number;
|
|
162
|
+
/**
|
|
163
|
+
* Fires each time the value is changed—
|
|
164
|
+
* when the component is blurred or the value is cleared through the **Clear** button
|
|
165
|
+
* ([see example]({% slug overview_textbox %}#toc-events)).
|
|
166
|
+
* When the value of the component is programmatically changed to `ngModel` or `formControl`
|
|
167
|
+
* through its API or form binding, the `valueChange` event is not triggered because it
|
|
168
|
+
* might cause a mix-up with the built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
|
|
169
|
+
*/
|
|
170
|
+
valueChange: EventEmitter<any>;
|
|
171
|
+
/**
|
|
172
|
+
* Fires each time the user focuses the `input` element.
|
|
173
|
+
*/
|
|
174
|
+
inputFocus: EventEmitter<any>;
|
|
175
|
+
/**
|
|
176
|
+
* Fires each time the `input` element gets blurred.
|
|
177
|
+
*/
|
|
178
|
+
inputBlur: EventEmitter<any>;
|
|
179
|
+
/**
|
|
180
|
+
* Fires each time the user focuses the TextBox component.
|
|
181
|
+
*
|
|
182
|
+
* > To wire the event programmatically, use the `onFocus` property.
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* ```ts-no-run
|
|
186
|
+
* _@Component({
|
|
187
|
+
* selector: 'my-app',
|
|
188
|
+
* template: `
|
|
189
|
+
* <kendo-textbox (focus)="handleFocus()"></kendo-textbox>
|
|
190
|
+
* `
|
|
191
|
+
* })
|
|
192
|
+
* class AppComponent {
|
|
193
|
+
* public handleFocus(): void {
|
|
194
|
+
* console.log('Component is isFocused');
|
|
195
|
+
* }
|
|
196
|
+
* }
|
|
197
|
+
* ```
|
|
198
|
+
*/
|
|
199
|
+
onFocus: EventEmitter<any>;
|
|
200
|
+
/**
|
|
201
|
+
* Fires each time the TextBox component gets blurred.
|
|
202
|
+
*
|
|
203
|
+
* > To wire the event programmatically, use the `onBlur` property.
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* ```ts-no-run
|
|
207
|
+
* _@Component({
|
|
208
|
+
* selector: 'my-app',
|
|
209
|
+
* template: `
|
|
210
|
+
* <kendo-textbox (blur)="handleBlur()"></kendo-textbox>
|
|
211
|
+
* `
|
|
212
|
+
* })
|
|
213
|
+
* class AppComponent {
|
|
214
|
+
* public handleBlur(): void {
|
|
215
|
+
* console.log('Component is blurred');
|
|
216
|
+
* }
|
|
217
|
+
* }
|
|
218
|
+
* ```
|
|
219
|
+
*/
|
|
220
|
+
onBlur: EventEmitter<any>;
|
|
221
|
+
/**
|
|
222
|
+
* Represents the visible `input` element of the TextBox.
|
|
223
|
+
*/
|
|
224
|
+
input: ElementRef;
|
|
225
|
+
/**
|
|
226
|
+
* @hidden
|
|
227
|
+
*/
|
|
228
|
+
suffixTemplate: TextBoxSuffixTemplateDirective;
|
|
229
|
+
/**
|
|
230
|
+
* @hidden
|
|
231
|
+
*/
|
|
232
|
+
prefixTemplate: TextBoxPrefixTemplateDirective;
|
|
233
|
+
get disabledClass(): boolean;
|
|
234
|
+
hostClasses: boolean;
|
|
235
|
+
direction: string;
|
|
236
|
+
/**
|
|
237
|
+
* @hidden
|
|
238
|
+
*/
|
|
239
|
+
showClearButton: boolean;
|
|
240
|
+
protected control: NgControl;
|
|
241
|
+
protected subscriptions: Subscription;
|
|
242
|
+
private clearButtonClicked;
|
|
243
|
+
private _isFocused;
|
|
244
|
+
private focusChangedProgrammatically;
|
|
245
|
+
private _size;
|
|
246
|
+
private _rounded;
|
|
247
|
+
private _fillMode;
|
|
248
|
+
constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
|
|
249
|
+
ngOnInit(): void;
|
|
250
|
+
ngAfterViewInit(): void;
|
|
251
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
252
|
+
ngOnDestroy(): void;
|
|
253
|
+
/**
|
|
254
|
+
* @hidden
|
|
255
|
+
*/
|
|
256
|
+
svgIcon(name: string): SVGIcon;
|
|
257
|
+
/**
|
|
258
|
+
* Focuses the TextBox.
|
|
259
|
+
*
|
|
260
|
+
* @example
|
|
261
|
+
* ```ts-no-run
|
|
262
|
+
* _@Component({
|
|
263
|
+
* selector: 'my-app',
|
|
264
|
+
* template: `
|
|
265
|
+
* <button (click)="input.focus()">Focus the input</button>
|
|
266
|
+
* <kendo-textbox #input></kendo-textbox>
|
|
267
|
+
* `
|
|
268
|
+
* })
|
|
269
|
+
* class AppComponent { }
|
|
270
|
+
* ```
|
|
271
|
+
*/
|
|
272
|
+
focus(): void;
|
|
273
|
+
/**
|
|
274
|
+
* Blurs the TextBox.
|
|
275
|
+
*/
|
|
276
|
+
blur(): void;
|
|
277
|
+
/**
|
|
278
|
+
* @hidden
|
|
279
|
+
*/
|
|
280
|
+
handleInputFocus: () => void;
|
|
281
|
+
/**
|
|
282
|
+
* @hidden
|
|
283
|
+
*/
|
|
284
|
+
handleInputBlur: () => void;
|
|
285
|
+
/**
|
|
286
|
+
* @hidden
|
|
287
|
+
*/
|
|
288
|
+
handleInput: (ev: any) => void;
|
|
289
|
+
/**
|
|
290
|
+
* @hidden
|
|
291
|
+
*/
|
|
292
|
+
clearTitle(): string;
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*/
|
|
296
|
+
checkClearButton(): void;
|
|
297
|
+
/**
|
|
298
|
+
* @hidden
|
|
299
|
+
*/
|
|
300
|
+
clearValue(ev?: any): void;
|
|
301
|
+
/**
|
|
302
|
+
* @hidden
|
|
303
|
+
*/
|
|
304
|
+
writeValue(value: string): void;
|
|
305
|
+
/**
|
|
306
|
+
* @hidden
|
|
307
|
+
*/
|
|
308
|
+
registerOnChange(fn: () => any): void;
|
|
309
|
+
/**
|
|
310
|
+
* @hidden
|
|
311
|
+
*/
|
|
312
|
+
registerOnTouched(fn: () => any): void;
|
|
313
|
+
/**
|
|
314
|
+
* @hidden
|
|
315
|
+
* Called when the status of the component changes to or from `disabled`.
|
|
316
|
+
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
317
|
+
*
|
|
318
|
+
* @param isDisabled
|
|
319
|
+
*/
|
|
320
|
+
setDisabledState(isDisabled: boolean): void;
|
|
321
|
+
/**
|
|
322
|
+
* @hidden
|
|
323
|
+
*/
|
|
324
|
+
showErrorsInitial(): boolean;
|
|
325
|
+
/**
|
|
326
|
+
* @hidden
|
|
327
|
+
*/
|
|
328
|
+
private showSuccessInitial;
|
|
329
|
+
/**
|
|
330
|
+
* @hidden
|
|
331
|
+
*/
|
|
332
|
+
get isControlInvalid(): boolean;
|
|
333
|
+
/**
|
|
334
|
+
* @hidden
|
|
335
|
+
*/
|
|
336
|
+
get successIconClasses(): string;
|
|
337
|
+
/**
|
|
338
|
+
* @hidden
|
|
339
|
+
*/
|
|
340
|
+
get customSuccessIconClasses(): string;
|
|
341
|
+
/**
|
|
342
|
+
* @hidden
|
|
343
|
+
*/
|
|
344
|
+
get errorIconClasses(): string;
|
|
345
|
+
/**
|
|
346
|
+
* @hidden
|
|
347
|
+
*/
|
|
348
|
+
get customIconClasses(): string;
|
|
349
|
+
/**
|
|
350
|
+
* @hidden
|
|
351
|
+
*/
|
|
352
|
+
get customClearButtonClasses(): string;
|
|
353
|
+
/**
|
|
354
|
+
* @hidden
|
|
355
|
+
*/
|
|
356
|
+
get clearButtonClass(): string;
|
|
357
|
+
/**
|
|
358
|
+
* @hidden
|
|
359
|
+
*/
|
|
360
|
+
get hasErrors(): boolean;
|
|
361
|
+
/**
|
|
362
|
+
* @hidden
|
|
363
|
+
*/
|
|
364
|
+
get isSuccessful(): boolean;
|
|
365
|
+
private ngChange;
|
|
366
|
+
private ngTouched;
|
|
367
|
+
private setSelection;
|
|
368
|
+
private selectAll;
|
|
369
|
+
private updateValue;
|
|
370
|
+
private get isFocused();
|
|
371
|
+
private set isFocused(value);
|
|
372
|
+
private handleBlur;
|
|
373
|
+
private handleClasses;
|
|
374
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
|
|
375
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "kendo-textbox", ["kendoTextBox"], { "focusableId": "focusableId"; "title": "title"; "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; "value": "value"; "selectOnFocus": "selectOnFocus"; "showSuccessIcon": "showSuccessIcon"; "showErrorIcon": "showErrorIcon"; "clearButton": "clearButton"; "successIcon": "successIcon"; "successSvgIcon": "successSvgIcon"; "errorIcon": "errorIcon"; "errorSvgIcon": "errorSvgIcon"; "clearButtonIcon": "clearButtonIcon"; "clearButtonSvgIcon": "clearButtonSvgIcon"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "tabIndex": "tabIndex"; "placeholder": "placeholder"; "maxlength": "maxlength"; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "onFocus": "focus"; "onBlur": "blur"; }, ["suffixTemplate", "prefixTemplate"], never>;
|
|
376
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { AfterViewInit, ElementRef, EventEmitter, OnDestroy, Renderer2, NgZone } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the [Kendo UI TextBox directive]({% slug overview_textbox %}) for the Inputs components for Angular.
|
|
9
|
+
* Used to style the textbox of any `input` element.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts-no-run
|
|
13
|
+
* <input kendoTextBox />
|
|
14
|
+
* <input kendoTextBox type="email" />
|
|
15
|
+
* <input kendoTextBox type="password" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class TextBoxDirective implements AfterViewInit, OnDestroy {
|
|
19
|
+
private renderer;
|
|
20
|
+
private inputElement;
|
|
21
|
+
private ngZone;
|
|
22
|
+
hostClasses: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
onFocus: EventEmitter<any>;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
onBlur: EventEmitter<any>;
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
onValueChange: EventEmitter<any>;
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
autoFillStart: EventEmitter<any>;
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
autoFillEnd: EventEmitter<any>;
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
46
|
+
set value(text: string);
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
get value(): string;
|
|
51
|
+
get id(): string;
|
|
52
|
+
set id(id: string);
|
|
53
|
+
private listeners;
|
|
54
|
+
constructor(renderer: Renderer2, inputElement: ElementRef, ngZone: NgZone);
|
|
55
|
+
ngAfterViewInit(): void;
|
|
56
|
+
ngOnDestroy(): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxDirective, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxDirective, "input[kendoTextBox]", never, { "value": "value"; }, {}, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 "./textbox/textbox.directive";
|
|
7
|
+
import * as i2 from "./textbox/textbox.component";
|
|
8
|
+
import * as i3 from "./textbox/textbox-suffix.directive";
|
|
9
|
+
import * as i4 from "./textbox/textbox-prefix.directive";
|
|
10
|
+
import * as i5 from "./textbox/localization/custom-messages.component";
|
|
11
|
+
import * as i6 from "./textbox/localization/localized-textbox-messages.directive";
|
|
12
|
+
import * as i7 from "@angular/common";
|
|
13
|
+
import * as i8 from "@progress/kendo-angular-common";
|
|
14
|
+
import * as i9 from "./shared.module";
|
|
15
|
+
import * as i10 from "@progress/kendo-angular-icons";
|
|
16
|
+
import * as i11 from "./shared/input-separator.component";
|
|
17
|
+
import * as i12 from "./shared/textarea.directive";
|
|
18
|
+
/**
|
|
19
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
20
|
+
* definition for the TextBox directive.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
*
|
|
24
|
+
* ```ts-no-run
|
|
25
|
+
* // Import the TextBox module
|
|
26
|
+
* import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
27
|
+
*
|
|
28
|
+
* // The browser platform with a compiler
|
|
29
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
30
|
+
*
|
|
31
|
+
* import { NgModule } from '@angular/core';
|
|
32
|
+
*
|
|
33
|
+
* // Import the app component
|
|
34
|
+
* import { AppComponent } from './app.component';
|
|
35
|
+
*
|
|
36
|
+
* // Define the app module
|
|
37
|
+
* _@NgModule({
|
|
38
|
+
* declarations: [AppComponent], // declare app component
|
|
39
|
+
* imports: [BrowserModule, TextBoxModule], // import TextBox module
|
|
40
|
+
* bootstrap: [AppComponent]
|
|
41
|
+
* })
|
|
42
|
+
* export class AppModule {}
|
|
43
|
+
*
|
|
44
|
+
* // Compile and launch the module
|
|
45
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class TextBoxModule {
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxModule, never>;
|
|
51
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TextBoxModule, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective], [typeof i7.CommonModule, typeof i8.EventsModule, typeof i9.SharedModule, typeof i10.IconsModule], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i8.EventsModule, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective, typeof i11.InputSeparatorComponent, typeof i12.TextAreaDirective]>;
|
|
52
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TextBoxModule>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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 createMaxValidator: Function;
|
|
@@ -0,0 +1,8 @@
|
|
|
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 createMinValidator: Function;
|