@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,31 @@
|
|
|
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 { MessageAlign } from './models/message-align';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents an error message that will be shown underneath
|
|
9
|
+
* a Kendo control or native HTML form-bound component after a validation.
|
|
10
|
+
*/
|
|
11
|
+
export declare class ErrorComponent {
|
|
12
|
+
hostClass: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the alignment of the Error message.
|
|
15
|
+
*
|
|
16
|
+
* The possible values are:
|
|
17
|
+
* * (Default) `start`
|
|
18
|
+
* * `end`
|
|
19
|
+
*/
|
|
20
|
+
align: MessageAlign;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
roleAttribute: string;
|
|
26
|
+
get startClass(): boolean;
|
|
27
|
+
get endClass(): boolean;
|
|
28
|
+
get idAttribute(): string;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "kendo-formerror", never, { "align": "align"; }, {}, never, ["*"]>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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, Renderer2, QueryList, AfterViewChecked } from '@angular/core';
|
|
6
|
+
import { NgControl } from '@angular/forms';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { ShowOptions } from './models/show-options';
|
|
9
|
+
import { ErrorComponent } from './error.component';
|
|
10
|
+
import { HintComponent } from './hint.component';
|
|
11
|
+
import { Orientation } from './models/orientation';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* Specifies a container for form-bound controls (Kendo controls or native HTML controls).
|
|
15
|
+
* Applies styling and behavior rules.
|
|
16
|
+
*/
|
|
17
|
+
export declare class FormFieldComponent implements AfterViewInit, AfterViewChecked {
|
|
18
|
+
private renderer;
|
|
19
|
+
private localizationService;
|
|
20
|
+
private hostElement;
|
|
21
|
+
hostClass: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
direction: string;
|
|
26
|
+
get errorClass(): boolean;
|
|
27
|
+
get disabledClass(): boolean;
|
|
28
|
+
set formControls(formControls: QueryList<NgControl>);
|
|
29
|
+
controlElementRefs: QueryList<ElementRef>;
|
|
30
|
+
kendoInput: any;
|
|
31
|
+
errorChildren: QueryList<ErrorComponent>;
|
|
32
|
+
hintChildren: QueryList<HintComponent>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* Specifies when the Hint messages will be shown.
|
|
36
|
+
*
|
|
37
|
+
* The possible values are:
|
|
38
|
+
*
|
|
39
|
+
* * (Default) `initial`—Allows displaying hints when the form-bound component state is
|
|
40
|
+
* `valid` or `untouched` and `pristine`.
|
|
41
|
+
* * `always`—Allows full control over the visibility of the hints.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
showHints: ShowOptions;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the layout orientation of the form field.
|
|
47
|
+
*
|
|
48
|
+
* * The possible values are:
|
|
49
|
+
*
|
|
50
|
+
* * (Default) `vertical`
|
|
51
|
+
* * `horizontal`
|
|
52
|
+
*/
|
|
53
|
+
orientation: Orientation;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies when the Error messages will be shown.
|
|
56
|
+
*
|
|
57
|
+
* The possible values are:
|
|
58
|
+
*
|
|
59
|
+
* * (Default) `initial`—Allows displaying errors when the form-bound component state is
|
|
60
|
+
* `invalid` and `touched` or `dirty`.
|
|
61
|
+
* * `always`—Allows full control over the visibility of the errors.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
showErrors: ShowOptions;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
get horizontal(): boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
get hasHints(): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* @hidden
|
|
75
|
+
*/
|
|
76
|
+
get hasErrors(): boolean;
|
|
77
|
+
private control;
|
|
78
|
+
private subscriptions;
|
|
79
|
+
private rtl;
|
|
80
|
+
constructor(renderer: Renderer2, localizationService: LocalizationService, hostElement: ElementRef<HTMLElement>);
|
|
81
|
+
ngAfterViewInit(): void;
|
|
82
|
+
ngAfterViewChecked(): void;
|
|
83
|
+
ngOnDestroy(): void;
|
|
84
|
+
private disabledKendoInput;
|
|
85
|
+
private disabledControl;
|
|
86
|
+
private disabledElement;
|
|
87
|
+
private validateFormControl;
|
|
88
|
+
private isControlGroup;
|
|
89
|
+
private isRadioControl;
|
|
90
|
+
private updateDescription;
|
|
91
|
+
private findControlElements;
|
|
92
|
+
private generateDescriptionIds;
|
|
93
|
+
private showHintsInitial;
|
|
94
|
+
private showErrorsInitial;
|
|
95
|
+
private setDescription;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "kendo-formfield", never, { "showHints": "showHints"; "orientation": "orientation"; "showErrors": "showErrors"; }, {}, ["kendoInput", "formControls", "controlElementRefs", "errorChildren", "hintChildren"], ["label, kendo-label", "*", "kendo-formhint", "kendo-formerror"]>;
|
|
98
|
+
}
|
|
@@ -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 { MessageAlign } from './models/message-align';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents a hint message that will be shown underneath a form-bound component.
|
|
9
|
+
*/
|
|
10
|
+
export declare class HintComponent {
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the alignment of the Hint message.
|
|
13
|
+
*
|
|
14
|
+
* The possible values are:
|
|
15
|
+
* * (Default) `start`
|
|
16
|
+
* * `end`
|
|
17
|
+
*/
|
|
18
|
+
align: MessageAlign;
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
readonly id: string;
|
|
23
|
+
hostClass: boolean;
|
|
24
|
+
get startClass(): boolean;
|
|
25
|
+
get endClass(): boolean;
|
|
26
|
+
get idAttribute(): string;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HintComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HintComponent, "kendo-formhint", never, { "align": "align"; }, {}, never, ["*"]>;
|
|
29
|
+
}
|
|
@@ -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
|
+
* Specifies whether the text message is aligned at the start or the end of the line.
|
|
7
|
+
*/
|
|
8
|
+
export declare type MessageAlign = 'start' | 'end';
|
|
@@ -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
|
+
* Specifies the layout orientation of the form fields.
|
|
7
|
+
* @default `vertical`
|
|
8
|
+
*/
|
|
9
|
+
export declare type Orientation = 'vertical' | 'horizontal';
|
|
@@ -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
|
+
/**
|
|
6
|
+
* Specifies whether the Hint or Error messages will be shown.
|
|
7
|
+
*
|
|
8
|
+
* The possible values are:
|
|
9
|
+
*
|
|
10
|
+
* * `initial`(Default) —Gives an initial, built-in control of the messages.
|
|
11
|
+
* For both Hint and Error components, the configuration depends on the form-bound component state.
|
|
12
|
+
* See [Hint `initial` configuration]({% slug api_inputs_formfieldcomponent %}#toc-showHints) and [Error `initial` configuration]({% slug api_inputs_formfieldcomponent %}#toc-showErrors).
|
|
13
|
+
*
|
|
14
|
+
* * `always`—Allows full control over the visibility of the messages.
|
|
15
|
+
*/
|
|
16
|
+
export declare type ShowOptions = 'initial' | 'always';
|
|
@@ -0,0 +1,45 @@
|
|
|
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 "./formfield/hint.component";
|
|
7
|
+
import * as i2 from "./formfield/error.component";
|
|
8
|
+
import * as i3 from "./formfield/formfield.component";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
/**
|
|
11
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12
|
+
* definition for the FormField, Error and Hint components.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
*
|
|
16
|
+
* ```ts-no-run
|
|
17
|
+
* // Import the FormField module
|
|
18
|
+
* import { FormFieldModule } from '@progress/kendo-angular-inputs';
|
|
19
|
+
*
|
|
20
|
+
* // The browser platform with a compiler
|
|
21
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
22
|
+
*
|
|
23
|
+
* import { NgModule } from '@angular/core';
|
|
24
|
+
*
|
|
25
|
+
* // Import the app component
|
|
26
|
+
* import { AppComponent } from './app.component';
|
|
27
|
+
*
|
|
28
|
+
* // Define the app module
|
|
29
|
+
* _@NgModule({
|
|
30
|
+
* declarations: [AppComponent], // declare app component
|
|
31
|
+
* imports: [BrowserModule, FormFieldModule], // import FormField module
|
|
32
|
+
* bootstrap: [AppComponent]
|
|
33
|
+
* })
|
|
34
|
+
* export class AppModule {}
|
|
35
|
+
*
|
|
36
|
+
* // Compile and launch the module
|
|
37
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
38
|
+
*
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class FormFieldModule {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldModule, never>;
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormFieldModule, [typeof i1.HintComponent, typeof i2.ErrorComponent, typeof i3.FormFieldComponent], [typeof i4.CommonModule], [typeof i1.HintComponent, typeof i2.ErrorComponent, typeof i3.FormFieldComponent]>;
|
|
44
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormFieldModule>;
|
|
45
|
+
}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
export { SliderComponent } from './slider/slider.component';
|
|
6
|
+
export { RangeSliderComponent } from './rangeslider/rangeslider.component';
|
|
7
|
+
export { RangeSliderValue } from './rangeslider/rangeslider-value.type';
|
|
8
|
+
export { LabelTemplateDirective } from './sliders-common/label-template.directive';
|
|
9
|
+
export { SwitchComponent } from './switch/switch.component';
|
|
10
|
+
export { TextBoxDirective } from './textbox/textbox.directive';
|
|
11
|
+
export { TextAreaDirective } from './shared/textarea.directive';
|
|
12
|
+
export { NumericTextBoxComponent } from './numerictextbox/numerictextbox.component';
|
|
13
|
+
export { NumericTextBoxCustomMessagesComponent } from './numerictextbox/localization/custom-messages.component';
|
|
14
|
+
export { MaskedTextBoxComponent } from './maskedtextbox/maskedtextbox.component';
|
|
15
|
+
export { InputsModule } from './inputs.module';
|
|
16
|
+
export { SliderTicksComponent } from './sliders-common/slider-ticks.component';
|
|
17
|
+
export { SliderModule } from './slider.module';
|
|
18
|
+
export { RangeSliderModule } from './rangeslider.module';
|
|
19
|
+
export { SwitchModule } from './switch.module';
|
|
20
|
+
export { NumericTextBoxModule } from './numerictextbox.module';
|
|
21
|
+
export { MaskedTextBoxModule } from './maskedtextbox.module';
|
|
22
|
+
export { TextBoxModule } from './textbox.module';
|
|
23
|
+
export { TextAreaModule } from './textarea.module';
|
|
24
|
+
export { CheckBoxModule } from './checkbox.module';
|
|
25
|
+
export { RadioButtonModule } from './radiobutton.module';
|
|
26
|
+
export { SwitchBlurEvent } from './switch/events/blur-event';
|
|
27
|
+
export { SwitchFocusEvent } from './switch/events/focus-event';
|
|
28
|
+
export { InputRounded, CheckBoxRounded, InputFillMode, InputSize } from './common/models';
|
|
29
|
+
export { ColorPickerComponent } from './colorpicker/colorpicker.component';
|
|
30
|
+
export { ColorPaletteComponent } from './colorpicker/color-palette.component';
|
|
31
|
+
export { ColorGradientComponent } from './colorpicker/color-gradient.component';
|
|
32
|
+
export { ColorPickerModule } from './colorpicker.module';
|
|
33
|
+
export { PopupSettings } from './colorpicker/models';
|
|
34
|
+
export { TileSize } from './colorpicker/models';
|
|
35
|
+
export { PaletteSettings } from './colorpicker/models';
|
|
36
|
+
export { OutputFormat } from './colorpicker/models';
|
|
37
|
+
export * from './colorpicker/events';
|
|
38
|
+
export { ColorPickerView } from './colorpicker/models';
|
|
39
|
+
export { GradientSettings } from './colorpicker/models';
|
|
40
|
+
export { FlatColorPickerComponent } from './colorpicker/flatcolorpicker.component';
|
|
41
|
+
export { ColorPickerActionsLayout } from './colorpicker/models/actions-layout';
|
|
42
|
+
export { CheckBoxDirective } from './checkbox/checkbox.directive';
|
|
43
|
+
export { RadioButtonDirective } from './radiobutton/radiobutton.directive';
|
|
44
|
+
export { HintComponent } from './formfield/hint.component';
|
|
45
|
+
export { ErrorComponent } from './formfield/error.component';
|
|
46
|
+
export { FormFieldComponent } from './formfield/formfield.component';
|
|
47
|
+
export { FormFieldModule } from './formfield.module';
|
|
48
|
+
export { ShowOptions } from './formfield/models/show-options';
|
|
49
|
+
export { MessageAlign } from './formfield/models/message-align';
|
|
50
|
+
export { Orientation } from './formfield/models/orientation';
|
|
51
|
+
export { TextBoxComponent } from './textbox/textbox.component';
|
|
52
|
+
export { TextBoxPrefixTemplateDirective } from './textbox/textbox-prefix.directive';
|
|
53
|
+
export { TextBoxSuffixTemplateDirective } from './textbox/textbox-suffix.directive';
|
|
54
|
+
export { TextAreaComponent } from './textarea/textarea.component';
|
|
55
|
+
export { TextAreaFlow } from './textarea/models/flow';
|
|
56
|
+
export { TextAreaResize } from './textarea/models/resize';
|
|
57
|
+
export { TextAreaSuffixComponent } from './textarea/textarea-suffix.component';
|
|
58
|
+
export { InputSeparatorComponent } from './shared/input-separator.component';
|
|
59
|
+
export { SharedModule } from './shared.module';
|
|
60
|
+
export { LocalizedColorPickerMessagesDirective } from './colorpicker/localization/localized-colorpicker-messages.directive';
|
|
61
|
+
export { LocalizedNumericTextBoxMessagesDirective } from './numerictextbox/localization/localized-numerictextbox-messages.directive';
|
|
62
|
+
export { LocalizedTextBoxMessagesDirective } from './textbox/localization/localized-textbox-messages.directive';
|
|
63
|
+
export { LocalizedSliderMessagesDirective } from './slider/localization/localized-slider-messages.directive';
|
|
64
|
+
export { LocalizedRangeSliderMessagesDirective } from './rangeslider/localization/localized-rangeslider-messages.directive';
|
|
65
|
+
export { LocalizedSwitchMessagesDirective } from './switch/localization/localized-switch-messages.directive';
|
|
66
|
+
export { SliderTickTitleCallback } from './sliders-common/title-callback';
|
|
67
|
+
export { SliderCustomMessagesComponent } from './slider/localization/custom-messages.component';
|
|
68
|
+
export { RangeSliderCustomMessagesComponent } from './rangeslider/localization/custom-messages.component';
|
|
69
|
+
export { SwitchCustomMessagesComponent } from './switch/localization/custom-messages.component';
|
|
70
|
+
export { TextBoxCustomMessagesComponent } from './textbox/localization/custom-messages.component';
|
|
71
|
+
export { ColorPickerCustomMessagesComponent } from './colorpicker/localization/custom-messages.component';
|
|
72
|
+
export { NumericLabelDirective } from './colorpicker/color-gradient-numeric-label.directive';
|
|
73
|
+
export { SignatureComponent } from './signature/signature.component';
|
|
74
|
+
export { SignatureModule } from './signature.module';
|
|
75
|
+
export { SignatureOpenEvent, SignatureCloseEvent } from './signature/events';
|
|
76
|
+
export { SignatureCustomMessagesComponent, LocalizedSignatureMessagesDirective, SignatureMessages } from './signature/localization';
|
|
@@ -0,0 +1,55 @@
|
|
|
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 "@angular/common";
|
|
7
|
+
import * as i2 from "./textarea.module";
|
|
8
|
+
import * as i3 from "./textbox.module";
|
|
9
|
+
import * as i4 from "./slider.module";
|
|
10
|
+
import * as i5 from "./rangeslider.module";
|
|
11
|
+
import * as i6 from "./switch.module";
|
|
12
|
+
import * as i7 from "./numerictextbox.module";
|
|
13
|
+
import * as i8 from "./maskedtextbox.module";
|
|
14
|
+
import * as i9 from "./colorpicker.module";
|
|
15
|
+
import * as i10 from "./checkbox.module";
|
|
16
|
+
import * as i11 from "./radiobutton.module";
|
|
17
|
+
import * as i12 from "./formfield.module";
|
|
18
|
+
import * as i13 from "./signature.module";
|
|
19
|
+
/**
|
|
20
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
21
|
+
* definition for the Inputs components.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
*
|
|
25
|
+
* ```ts-no-run
|
|
26
|
+
* // Import the Inputs module
|
|
27
|
+
* import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
28
|
+
*
|
|
29
|
+
* // The browser platform with a compiler
|
|
30
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
31
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
32
|
+
*
|
|
33
|
+
* import { NgModule } from '@angular/core';
|
|
34
|
+
*
|
|
35
|
+
* // Import the app component
|
|
36
|
+
* import { AppComponent } from './app.component';
|
|
37
|
+
*
|
|
38
|
+
* // Define the app module
|
|
39
|
+
* _@NgModule({
|
|
40
|
+
* declarations: [AppComponent], // declare app component
|
|
41
|
+
* imports: [BrowserModule, BrowserAnimationsModule, InputsModule], // import Inputs module
|
|
42
|
+
* bootstrap: [AppComponent]
|
|
43
|
+
* })
|
|
44
|
+
* export class AppModule {}
|
|
45
|
+
*
|
|
46
|
+
* // Compile and launch the module
|
|
47
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class InputsModule {
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.CommonModule], [typeof i2.TextAreaModule, typeof i3.TextBoxModule, typeof i4.SliderModule, typeof i5.RangeSliderModule, typeof i6.SwitchModule, typeof i7.NumericTextBoxModule, typeof i8.MaskedTextBoxModule, typeof i9.ColorPickerModule, typeof i10.CheckBoxModule, typeof i11.RadioButtonModule, typeof i12.FormFieldModule, typeof i13.SignatureModule]>;
|
|
54
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
55
|
+
}
|