@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 { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { InputFillMode, InputRounded, InputSize } from '../common/models';
|
|
9
|
+
import { SignatureCloseEvent, SignatureOpenEvent } from './events';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
|
|
14
|
+
*
|
|
15
|
+
* The Signature allows users to add a hand-drawn signature to forms.
|
|
16
|
+
*/
|
|
17
|
+
export declare class SignatureComponent implements ControlValueAccessor {
|
|
18
|
+
private element;
|
|
19
|
+
private renderer;
|
|
20
|
+
private ngZone;
|
|
21
|
+
private cd;
|
|
22
|
+
localization: LocalizationService;
|
|
23
|
+
staticHostClasses: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
focusableId: string;
|
|
28
|
+
direction: string;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the read-only state of the Signature.
|
|
31
|
+
*
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
readonly: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the disabled state of the Signature.
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Sets the width of the signature in pixels.
|
|
43
|
+
*
|
|
44
|
+
* The width can also be set using inline styles and CSS.
|
|
45
|
+
*/
|
|
46
|
+
width: number;
|
|
47
|
+
/**
|
|
48
|
+
* The height of the signature in pixels.
|
|
49
|
+
*
|
|
50
|
+
* The height can also be set using inline styles and CSS.
|
|
51
|
+
*/
|
|
52
|
+
height: number;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the value of the signature.
|
|
55
|
+
*
|
|
56
|
+
* The value is a Base64-encoded PNG image.
|
|
57
|
+
*/
|
|
58
|
+
set value(value: string);
|
|
59
|
+
get value(): string;
|
|
60
|
+
/**
|
|
61
|
+
* @hidden
|
|
62
|
+
*/
|
|
63
|
+
svgIcon(name: string): SVGIcon;
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
66
|
+
*
|
|
67
|
+
* @default 0
|
|
68
|
+
*/
|
|
69
|
+
set tabindex(value: number);
|
|
70
|
+
get tabindex(): number;
|
|
71
|
+
/**
|
|
72
|
+
* The size property specifies the padding of the Signature internal controls
|
|
73
|
+
* ([see example]({% slug appearance_signature %}#toc-size)).
|
|
74
|
+
*
|
|
75
|
+
* The possible values are:
|
|
76
|
+
* * `small`
|
|
77
|
+
* * `medium` (default)
|
|
78
|
+
* * `large`
|
|
79
|
+
* * `none`
|
|
80
|
+
*/
|
|
81
|
+
size: InputSize;
|
|
82
|
+
/**
|
|
83
|
+
* The rounded property specifies the border radius of the signature
|
|
84
|
+
* ([see example]({% slug appearance_signature %}#toc-rounded)).
|
|
85
|
+
*
|
|
86
|
+
* The possible values are:
|
|
87
|
+
* * `small`
|
|
88
|
+
* * `medium` (default)
|
|
89
|
+
* * `large`
|
|
90
|
+
* * `full` (not supported by the Signature)
|
|
91
|
+
* * `none`
|
|
92
|
+
*/
|
|
93
|
+
rounded: InputRounded;
|
|
94
|
+
/**
|
|
95
|
+
* The fillMode property specifies the background and border styles of the signature
|
|
96
|
+
* ([see example]({% slug appearance_signature %}#toc-fillMode)).
|
|
97
|
+
*
|
|
98
|
+
* The possible values are:
|
|
99
|
+
* * `flat`
|
|
100
|
+
* * `solid` (default)
|
|
101
|
+
* * `outline`
|
|
102
|
+
* * `none`
|
|
103
|
+
*/
|
|
104
|
+
fillMode: InputFillMode;
|
|
105
|
+
/**
|
|
106
|
+
* The stroke color of the signature.
|
|
107
|
+
*
|
|
108
|
+
* Accepts CSS color names and hex values.
|
|
109
|
+
*
|
|
110
|
+
* The default value is determined by the theme `$kendo-input-text` variable.
|
|
111
|
+
*/
|
|
112
|
+
color: any;
|
|
113
|
+
/**
|
|
114
|
+
* The background color of the signature.
|
|
115
|
+
*
|
|
116
|
+
* Accepts CSS color names and hex values.
|
|
117
|
+
*
|
|
118
|
+
* The default value is determined by the theme `$kendo-input-bg` variable.
|
|
119
|
+
*/
|
|
120
|
+
backgroundColor: any;
|
|
121
|
+
/**
|
|
122
|
+
* The stroke width of the signature.
|
|
123
|
+
*
|
|
124
|
+
* @default 1
|
|
125
|
+
*/
|
|
126
|
+
strokeWidth: number;
|
|
127
|
+
/**
|
|
128
|
+
* A flag indicating whether to smooth out signature lines.
|
|
129
|
+
*
|
|
130
|
+
* @default false
|
|
131
|
+
*/
|
|
132
|
+
smooth: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* A flag indicating if the signature can be maximized.
|
|
135
|
+
*
|
|
136
|
+
* @default true
|
|
137
|
+
*/
|
|
138
|
+
maximizable: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* @hidden
|
|
141
|
+
*/
|
|
142
|
+
maximized: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* The scale factor for the popup.
|
|
145
|
+
*
|
|
146
|
+
* The Signature width and height will be multiplied by the scale when showing the popup.
|
|
147
|
+
*
|
|
148
|
+
* @default 3
|
|
149
|
+
*/
|
|
150
|
+
popupScale: number;
|
|
151
|
+
/**
|
|
152
|
+
* The scale factor for the exported image.
|
|
153
|
+
*
|
|
154
|
+
* The Signature width and height will be multiplied by the scale when converting the signature to an image.
|
|
155
|
+
*
|
|
156
|
+
* @default 2
|
|
157
|
+
*/
|
|
158
|
+
exportScale: number;
|
|
159
|
+
/**
|
|
160
|
+
* @hidden
|
|
161
|
+
*/
|
|
162
|
+
parentLocalization: LocalizationService;
|
|
163
|
+
/**
|
|
164
|
+
* A flag indicating whether the dotted line should be displayed in the background.
|
|
165
|
+
*
|
|
166
|
+
* @default false
|
|
167
|
+
*/
|
|
168
|
+
hideLine: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Fires each time the signature value is changed.
|
|
171
|
+
*/
|
|
172
|
+
valueChange: EventEmitter<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Fires each time the popup is about to open.
|
|
175
|
+
* This event is preventable. If you cancel it, the popup will remain closed.
|
|
176
|
+
*/
|
|
177
|
+
open: EventEmitter<SignatureOpenEvent>;
|
|
178
|
+
/**
|
|
179
|
+
* Fires each time the popup is about to close.
|
|
180
|
+
* This event is preventable. If you cancel it, the popup will remain open.
|
|
181
|
+
*/
|
|
182
|
+
close: EventEmitter<SignatureCloseEvent>;
|
|
183
|
+
/**
|
|
184
|
+
* Fires each time Signature is focused.
|
|
185
|
+
*/
|
|
186
|
+
onFocus: EventEmitter<any>;
|
|
187
|
+
/**
|
|
188
|
+
* Fires each time the Signature is blurred.
|
|
189
|
+
*/
|
|
190
|
+
onBlur: EventEmitter<any>;
|
|
191
|
+
/**
|
|
192
|
+
* @hidden
|
|
193
|
+
*/
|
|
194
|
+
minimize: EventEmitter<void>;
|
|
195
|
+
canvas: ElementRef;
|
|
196
|
+
minimizeButton: ElementRef;
|
|
197
|
+
maximizeButton: ElementRef;
|
|
198
|
+
/**
|
|
199
|
+
* Indicates whether the Signature wrapper is focused.
|
|
200
|
+
*/
|
|
201
|
+
isFocused: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Indicates whether the Signature popup is open.
|
|
204
|
+
*/
|
|
205
|
+
isOpen: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* @hidden
|
|
208
|
+
*/
|
|
209
|
+
get isEmpty(): boolean;
|
|
210
|
+
/**
|
|
211
|
+
* @hidden
|
|
212
|
+
*/
|
|
213
|
+
get canvasLabel(): string;
|
|
214
|
+
/**
|
|
215
|
+
* @hidden
|
|
216
|
+
*/
|
|
217
|
+
get clearTitle(): string;
|
|
218
|
+
/**
|
|
219
|
+
* @hidden
|
|
220
|
+
*/
|
|
221
|
+
get minimizeTitle(): string;
|
|
222
|
+
/**
|
|
223
|
+
* @hidden
|
|
224
|
+
*/
|
|
225
|
+
get maximizeTitle(): string;
|
|
226
|
+
/**
|
|
227
|
+
* @hidden
|
|
228
|
+
*/
|
|
229
|
+
get baseWidth(): number;
|
|
230
|
+
/**
|
|
231
|
+
* @hidden
|
|
232
|
+
*/
|
|
233
|
+
get baseHeight(): number;
|
|
234
|
+
/**
|
|
235
|
+
* @hidden
|
|
236
|
+
*/
|
|
237
|
+
get popupWidth(): number;
|
|
238
|
+
/**
|
|
239
|
+
* @hidden
|
|
240
|
+
*/
|
|
241
|
+
get popupHeight(): number;
|
|
242
|
+
/**
|
|
243
|
+
* @hidden
|
|
244
|
+
*/
|
|
245
|
+
isDrawing: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* @hidden
|
|
248
|
+
*/
|
|
249
|
+
get showMaximize(): boolean;
|
|
250
|
+
/**
|
|
251
|
+
* @hidden
|
|
252
|
+
*/
|
|
253
|
+
get showMinimize(): boolean;
|
|
254
|
+
/**
|
|
255
|
+
* @hidden
|
|
256
|
+
*/
|
|
257
|
+
get showClear(): boolean;
|
|
258
|
+
/**
|
|
259
|
+
* @hidden
|
|
260
|
+
*/
|
|
261
|
+
private get focused();
|
|
262
|
+
private set focused(value);
|
|
263
|
+
private get options();
|
|
264
|
+
private notifyNgTouched;
|
|
265
|
+
private notifyNgChanged;
|
|
266
|
+
private instance;
|
|
267
|
+
private _value;
|
|
268
|
+
private _tabindex;
|
|
269
|
+
private subscriptions;
|
|
270
|
+
private unsubscribe;
|
|
271
|
+
private hostClasses;
|
|
272
|
+
constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone, cd: ChangeDetectorRef, localization: LocalizationService);
|
|
273
|
+
ngOnInit(): void;
|
|
274
|
+
ngAfterViewInit(): void;
|
|
275
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
276
|
+
ngOnDestroy(): void;
|
|
277
|
+
/**
|
|
278
|
+
* @hidden
|
|
279
|
+
*/
|
|
280
|
+
onClear(): void;
|
|
281
|
+
/**
|
|
282
|
+
* @hidden
|
|
283
|
+
*/
|
|
284
|
+
onValueChange(): Promise<void>;
|
|
285
|
+
/**
|
|
286
|
+
* @hidden
|
|
287
|
+
*/
|
|
288
|
+
onDialogValueChange(value: string): void;
|
|
289
|
+
/**
|
|
290
|
+
* @hidden
|
|
291
|
+
*/
|
|
292
|
+
onDialogClick(e: any): void;
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*/
|
|
296
|
+
onDialogKeydown(e: any): void;
|
|
297
|
+
/**
|
|
298
|
+
* @hidden
|
|
299
|
+
*/
|
|
300
|
+
onDialogClose(): void;
|
|
301
|
+
/**
|
|
302
|
+
* Clears the value of the Signature.
|
|
303
|
+
*/
|
|
304
|
+
reset(): void;
|
|
305
|
+
/**
|
|
306
|
+
* Toggles the popup of the Signature.
|
|
307
|
+
* Does not trigger the `open` and `close` events of the component.
|
|
308
|
+
*
|
|
309
|
+
* @param open An optional parameter. Specifies whether the popup will be opened or closed.
|
|
310
|
+
*/
|
|
311
|
+
toggle(open?: boolean): void;
|
|
312
|
+
/**
|
|
313
|
+
* @hidden
|
|
314
|
+
*/
|
|
315
|
+
onMaximize(): Promise<void>;
|
|
316
|
+
/**
|
|
317
|
+
* @hidden
|
|
318
|
+
*/
|
|
319
|
+
onMinimize(): void;
|
|
320
|
+
private applyHostClasses;
|
|
321
|
+
private readThemeColors;
|
|
322
|
+
/**
|
|
323
|
+
* Focuses the wrapper of the Signature.
|
|
324
|
+
*/
|
|
325
|
+
focus(): void;
|
|
326
|
+
/**
|
|
327
|
+
* @hidden
|
|
328
|
+
*/
|
|
329
|
+
onWrapperFocus(): void;
|
|
330
|
+
/**
|
|
331
|
+
* Blurs the Signature.
|
|
332
|
+
*/
|
|
333
|
+
blur(): void;
|
|
334
|
+
/**
|
|
335
|
+
* @hidden
|
|
336
|
+
*/
|
|
337
|
+
onWrapperBlur(): void;
|
|
338
|
+
/**
|
|
339
|
+
* @hidden
|
|
340
|
+
*/
|
|
341
|
+
onWrapperClick(_event: MouseEvent): void;
|
|
342
|
+
/**
|
|
343
|
+
* @hidden
|
|
344
|
+
*/
|
|
345
|
+
writeValue(value: string): void;
|
|
346
|
+
/**
|
|
347
|
+
* @hidden
|
|
348
|
+
*/
|
|
349
|
+
registerOnChange(fn: any): void;
|
|
350
|
+
/**
|
|
351
|
+
* @hidden
|
|
352
|
+
*/
|
|
353
|
+
registerOnTouched(fn: any): void;
|
|
354
|
+
/**
|
|
355
|
+
* @hidden
|
|
356
|
+
*/
|
|
357
|
+
popupValue: any;
|
|
358
|
+
private onDraw;
|
|
359
|
+
private onDrawEnd;
|
|
360
|
+
private addEventListeners;
|
|
361
|
+
private getMessage;
|
|
362
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureComponent, never>;
|
|
363
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureComponent, "kendo-signature", ["kendoSignature"], { "focusableId": "focusableId"; "readonly": "readonly"; "disabled": "disabled"; "width": "width"; "height": "height"; "value": "value"; "tabindex": "tabindex"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "color": "color"; "backgroundColor": "backgroundColor"; "strokeWidth": "strokeWidth"; "smooth": "smooth"; "maximizable": "maximizable"; "maximized": "maximized"; "popupScale": "popupScale"; "exportScale": "exportScale"; "parentLocalization": "parentLocalization"; "hideLine": "hideLine"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "minimize": "minimize"; }, never, never>;
|
|
364
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 "./signature/signature.component";
|
|
7
|
+
import * as i2 from "./signature/localization/custom-messages.component";
|
|
8
|
+
import * as i3 from "./signature/localization/localized-signature-messages.directive";
|
|
9
|
+
import * as i4 from "@progress/kendo-angular-buttons";
|
|
10
|
+
import * as i5 from "@angular/common";
|
|
11
|
+
import * as i6 from "@progress/kendo-angular-dialog";
|
|
12
|
+
import * as i7 from "@progress/kendo-angular-icons";
|
|
13
|
+
/**
|
|
14
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
15
|
+
* definition for the Signature component.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
*
|
|
19
|
+
* ```ts-no-run
|
|
20
|
+
* // Import the Signature module
|
|
21
|
+
* import { SignatureModule } from '@progress/kendo-angular-inputs';
|
|
22
|
+
*
|
|
23
|
+
* // The browser platform with a compiler
|
|
24
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
25
|
+
*
|
|
26
|
+
* import { NgModule } from '@angular/core';
|
|
27
|
+
*
|
|
28
|
+
* // Import the app component
|
|
29
|
+
* import { AppComponent } from './app.component';
|
|
30
|
+
*
|
|
31
|
+
* // Define the app module
|
|
32
|
+
* _@NgModule({
|
|
33
|
+
* declarations: [AppComponent], // declare app component
|
|
34
|
+
* imports: [BrowserModule, SignatureModule], // import Signature module
|
|
35
|
+
* bootstrap: [AppComponent]
|
|
36
|
+
* })
|
|
37
|
+
* export class AppModule {}
|
|
38
|
+
*
|
|
39
|
+
* // Compile and launch the module
|
|
40
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare class SignatureModule {
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureModule, never>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SignatureModule, [typeof i1.SignatureComponent, typeof i2.SignatureCustomMessagesComponent, typeof i3.LocalizedSignatureMessagesDirective], [typeof i4.ButtonModule, typeof i5.CommonModule, typeof i6.DialogsModule, typeof i7.IconsModule], [typeof i1.SignatureComponent, typeof i2.SignatureCustomMessagesComponent]>;
|
|
47
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SignatureModule>;
|
|
48
|
+
}
|
|
@@ -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 { SliderMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SliderCustomMessagesComponent extends SliderMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderCustomMessagesComponent, "kendo-slider-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 { SliderMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedSliderMessagesDirective extends SliderMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedSliderMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedSliderMessagesDirective, "[kendoSliderLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 SliderMessages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The title of the **Decrease** button of the Slider.
|
|
13
|
+
*/
|
|
14
|
+
decrement: string;
|
|
15
|
+
/**
|
|
16
|
+
* The title of the **Increase** button of the Slider.
|
|
17
|
+
*/
|
|
18
|
+
increment: string;
|
|
19
|
+
/**
|
|
20
|
+
* The title of the drag handle of the Slider.
|
|
21
|
+
*/
|
|
22
|
+
dragHandle: string;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderMessages, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SliderMessages, "kendo-slider-messages-base", never, { "decrement": "decrement"; "increment": "increment"; "dragHandle": "dragHandle"; }, {}, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { SliderModelBase } from '../sliders-common/slider-model.base';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare class SliderModel extends SliderModelBase {
|
|
10
|
+
protected tickSizes: number[];
|
|
11
|
+
protected handlePosition: number;
|
|
12
|
+
positionHandle(dragHandle: HTMLElement): void;
|
|
13
|
+
positionSelection(selection: HTMLElement): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
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, Renderer2, ElementRef, OnChanges, OnDestroy, NgZone, Injector, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { SliderBase } from '../sliders-common/slider-base';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* Represents the [Kendo UI Slider component for Angular]({% slug overview_slider %}).
|
|
13
|
+
*/
|
|
14
|
+
export declare class SliderComponent extends SliderBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
15
|
+
protected localization: LocalizationService;
|
|
16
|
+
protected injector: Injector;
|
|
17
|
+
protected renderer: Renderer2;
|
|
18
|
+
protected ngZone: NgZone;
|
|
19
|
+
protected changeDetector: ChangeDetectorRef;
|
|
20
|
+
protected hostElement: ElementRef;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
focusableId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Changes the `title` attribute of the drag handle so that it can be localized.
|
|
27
|
+
*/
|
|
28
|
+
dragHandleTitle: string;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the title of the **Increase** button of the Slider ([see example]({% slug sidebuttons_slider %}#toc-titles)).
|
|
31
|
+
*/
|
|
32
|
+
incrementTitle: string;
|
|
33
|
+
/**
|
|
34
|
+
* Determines if the animation will be played on value change.
|
|
35
|
+
* Regardless of this setting, no animation will be played during the initial rendering.
|
|
36
|
+
*/
|
|
37
|
+
animate: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the title of the **Decrease** button of the Slider ([see example]({% slug sidebuttons_slider %}#toc-titles)).
|
|
40
|
+
*/
|
|
41
|
+
decrementTitle: string;
|
|
42
|
+
/**
|
|
43
|
+
* Renders the arrow side buttons of the Slider ([see example]({% slug sidebuttons_slider %}#toc-hidden-state)).
|
|
44
|
+
* When `showButtons` is set to `false`, the buttons are not displayed.
|
|
45
|
+
*/
|
|
46
|
+
showButtons: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The current value of the Slider when it is initially displayed.
|
|
49
|
+
* The component can use either NgModel or the `value` binding but not both of them at the same time.
|
|
50
|
+
*/
|
|
51
|
+
value: number;
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
set tabIndex(tabIndex: number);
|
|
56
|
+
get tabIndex(): number;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
get currentValue(): string;
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
arrowUpIcon: SVGIcon;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
arrowDownIcon: SVGIcon;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
arrowLeftIcon: SVGIcon;
|
|
73
|
+
/**
|
|
74
|
+
* @hidden
|
|
75
|
+
*/
|
|
76
|
+
arrowRightIcon: SVGIcon;
|
|
77
|
+
draghandle: ElementRef;
|
|
78
|
+
decreaseButton: ElementRef;
|
|
79
|
+
increaseButton: ElementRef;
|
|
80
|
+
private focusChangedProgrammatically;
|
|
81
|
+
private isInvalid;
|
|
82
|
+
constructor(localization: LocalizationService, injector: Injector, renderer: Renderer2, ngZone: NgZone, changeDetector: ChangeDetectorRef, hostElement: ElementRef);
|
|
83
|
+
/**
|
|
84
|
+
* Focuses the Slider.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts-no-run
|
|
88
|
+
* _@Component({
|
|
89
|
+
* selector: 'my-app',
|
|
90
|
+
* template: `
|
|
91
|
+
* <button (click)="slider.focus()">Focus</button>
|
|
92
|
+
* <kendo-slider #slider></kendo-slider>
|
|
93
|
+
* `
|
|
94
|
+
* })
|
|
95
|
+
* class AppComponent { }
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
focus(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Blurs the Slider.
|
|
101
|
+
*/
|
|
102
|
+
blur(): void;
|
|
103
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
104
|
+
ngAfterViewInit(): void;
|
|
105
|
+
ngOnDestroy(): void;
|
|
106
|
+
/**
|
|
107
|
+
* @hidden
|
|
108
|
+
*/
|
|
109
|
+
get incrementMessage(): string;
|
|
110
|
+
/**
|
|
111
|
+
* @hidden
|
|
112
|
+
*/
|
|
113
|
+
get decrementMessage(): string;
|
|
114
|
+
/**
|
|
115
|
+
* @hidden
|
|
116
|
+
*/
|
|
117
|
+
get dragHandleMessage(): string;
|
|
118
|
+
/**
|
|
119
|
+
* @hidden
|
|
120
|
+
*/
|
|
121
|
+
onWrapClick: (args: any) => void;
|
|
122
|
+
/**
|
|
123
|
+
* @hidden
|
|
124
|
+
*/
|
|
125
|
+
handleDragPress(args: any): void;
|
|
126
|
+
/**
|
|
127
|
+
* @hidden
|
|
128
|
+
*/
|
|
129
|
+
onHandleDrag(args: any): void;
|
|
130
|
+
/**
|
|
131
|
+
* @hidden
|
|
132
|
+
*/
|
|
133
|
+
onKeyDown: (e: any) => void;
|
|
134
|
+
/**
|
|
135
|
+
* @hidden
|
|
136
|
+
*/
|
|
137
|
+
onHandleRelease(): void;
|
|
138
|
+
/**
|
|
139
|
+
* @hidden
|
|
140
|
+
*/
|
|
141
|
+
writeValue(value: number): void;
|
|
142
|
+
/**
|
|
143
|
+
* @hidden
|
|
144
|
+
*/
|
|
145
|
+
registerOnChange(fn: () => any): void;
|
|
146
|
+
/**
|
|
147
|
+
* @hidden
|
|
148
|
+
*/
|
|
149
|
+
registerOnTouched(fn: () => any): void;
|
|
150
|
+
/**
|
|
151
|
+
* @hidden
|
|
152
|
+
*/
|
|
153
|
+
changeValue(value: number): void;
|
|
154
|
+
/**
|
|
155
|
+
* @hidden
|
|
156
|
+
*/
|
|
157
|
+
sizeComponent(animate: boolean): void;
|
|
158
|
+
protected set focused(value: boolean);
|
|
159
|
+
private set dragging(value);
|
|
160
|
+
private setValueChangeInterval;
|
|
161
|
+
private ngChange;
|
|
162
|
+
private ngTouched;
|
|
163
|
+
private decreaseValue;
|
|
164
|
+
private increaseValue;
|
|
165
|
+
private getProps;
|
|
166
|
+
private isSliderInvalid;
|
|
167
|
+
private attachElementEventHandlers;
|
|
168
|
+
private handleBlur;
|
|
169
|
+
get decreaseButtonArrowIcon(): string;
|
|
170
|
+
get increaseButtonArrowIcon(): string;
|
|
171
|
+
get decreaseButtonArrowSVGIcon(): SVGIcon;
|
|
172
|
+
get increaseButtonArrowSVGIcon(): SVGIcon;
|
|
173
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
174
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "kendo-slider", ["kendoSlider"], { "focusableId": "focusableId"; "dragHandleTitle": "dragHandleTitle"; "incrementTitle": "incrementTitle"; "animate": "animate"; "decrementTitle": "decrementTitle"; "showButtons": "showButtons"; "value": "value"; "tabIndex": "tabIndex"; }, {}, never, never>;
|
|
175
|
+
}
|