@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,41 @@
|
|
|
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 { OutputFormat } from "./models";
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const DEFAULT_OUTPUT_FORMAT: OutputFormat;
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const DEFAULT_GRADIENT_BACKGROUND_COLOR = "rgba(255, 0, 0, 1)";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const DRAGHANDLE_MOVE_SPEED = 5;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const DRAGHANDLE_MOVE_SPEED_SMALL_STEP = 2;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const AAA_RATIO = 7;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export declare const AA_RATIO = 4.5;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const DEFAULT_PRESET = "office";
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare const DEFAULT_ACCESSIBLE_PRESET = "accessible";
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export declare const STEP_COUNT = 16;
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class ContrastValidationComponent {
|
|
12
|
+
private localization;
|
|
13
|
+
type: string;
|
|
14
|
+
pass: boolean;
|
|
15
|
+
value: string;
|
|
16
|
+
checkIcon: SVGIcon;
|
|
17
|
+
xCircleIcon: SVGIcon;
|
|
18
|
+
constructor(localization: LocalizationService);
|
|
19
|
+
get passMessage(): string;
|
|
20
|
+
get failMessage(): string;
|
|
21
|
+
get contrastText(): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContrastValidationComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContrastValidationComponent, "[kendoContrastValidation]", never, { "type": "type"; "pass": "pass"; "value": "value"; }, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class ContrastComponent {
|
|
12
|
+
private localization;
|
|
13
|
+
value: string;
|
|
14
|
+
ratio: string;
|
|
15
|
+
checkIcon: SVGIcon;
|
|
16
|
+
xCircleIcon: SVGIcon;
|
|
17
|
+
constructor(localization: LocalizationService);
|
|
18
|
+
get formatedRatio(): string;
|
|
19
|
+
get contrastRatioText(): string;
|
|
20
|
+
get satisfiesAACondition(): boolean;
|
|
21
|
+
get satisfiesAAACondition(): boolean;
|
|
22
|
+
get contrastRatio(): number;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContrastComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContrastComponent, "[kendoContrastTool]", never, { "value": "value"; "ratio": "ratio"; }, {}, never, never>;
|
|
25
|
+
}
|
|
@@ -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
|
+
/**
|
|
6
|
+
* Fires each time the left side of the ColorPicker wrapper is clicked.
|
|
7
|
+
* The event is triggered regardless of whether a ColorPicker icon is set or not.
|
|
8
|
+
*
|
|
9
|
+
* Provides information about the current active color and gives the option to prevent the opening of the popup.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
*
|
|
13
|
+
* ```ts-no-run
|
|
14
|
+
* _@Component({
|
|
15
|
+
* selector: 'my-app',
|
|
16
|
+
* template: `
|
|
17
|
+
* <kendo-colorpicker
|
|
18
|
+
* [icon]="'edit-tools'"
|
|
19
|
+
* [value]="'#900'"
|
|
20
|
+
* (activeColorClick)="handleActiveColorClick($event)"
|
|
21
|
+
* >
|
|
22
|
+
* </kendo-colorpicker>
|
|
23
|
+
* `
|
|
24
|
+
* })
|
|
25
|
+
* class AppComponent {
|
|
26
|
+
* public handleActiveColorClick(event: ActiveColorClickEvent): void {
|
|
27
|
+
* event.preventOpen();
|
|
28
|
+
*
|
|
29
|
+
* console.log('Open prevented:', event.isOpenPrevented());
|
|
30
|
+
* console.log('Current color:', event.color);
|
|
31
|
+
* }
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class ActiveColorClickEvent {
|
|
36
|
+
color?: string;
|
|
37
|
+
private openPrevented;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
* @param color Represents the current value of the ColorPicker.
|
|
41
|
+
*/
|
|
42
|
+
constructor(color?: string);
|
|
43
|
+
/**
|
|
44
|
+
* Prevents the opening of the popup.
|
|
45
|
+
*/
|
|
46
|
+
preventOpen(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Returns `true` if the popup opening is prevented by any of its subscribers.
|
|
49
|
+
*
|
|
50
|
+
* @returns - Returns `true` if the open action was prevented. Otherwise, returns `false`.
|
|
51
|
+
*/
|
|
52
|
+
isOpenPrevented(): boolean;
|
|
53
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the `cancel` event of the ColorPicker and FlatColorPicker components.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ColorPickerCancelEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The DOM event that triggered the `cancel` event.
|
|
12
|
+
*/
|
|
13
|
+
originalEvent: any;
|
|
14
|
+
constructor(originalEvent: any);
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the `close` event of the ColorPicker component.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ColorPickerCloseEvent extends PreventableEvent {
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 interface KendoDragEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The original dom event triggered by mouse interaction.
|
|
11
|
+
*/
|
|
12
|
+
originalEvent: PointerEvent;
|
|
13
|
+
/**
|
|
14
|
+
* The current mouse position in the X axis.
|
|
15
|
+
*/
|
|
16
|
+
clientX: number;
|
|
17
|
+
/**
|
|
18
|
+
* The current mouse position in the Y axis.
|
|
19
|
+
*/
|
|
20
|
+
clientY: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the `open` event of the ColorPicker component.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ColorPickerOpenEvent extends PreventableEvent {
|
|
10
|
+
}
|
|
@@ -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
|
+
export * from './events/cancel-event';
|
|
6
|
+
export * from './events/close-event';
|
|
7
|
+
export * from './events/open-event';
|
|
8
|
+
export * from './events/active-color-click-event';
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { EventEmitter, ElementRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class FlatColorPickerActionButtonsComponent {
|
|
12
|
+
localizationService: LocalizationService;
|
|
13
|
+
hostClasses: boolean;
|
|
14
|
+
innerTabIndex: number;
|
|
15
|
+
actionButtonClick: EventEmitter<any>;
|
|
16
|
+
tabOut: EventEmitter<any>;
|
|
17
|
+
firstButton: ElementRef;
|
|
18
|
+
lastButton: ElementRef;
|
|
19
|
+
constructor(localizationService: LocalizationService);
|
|
20
|
+
getText(text: string): string;
|
|
21
|
+
onActionButtonClick(type: string, ev: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerActionButtonsComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerActionButtonsComponent, "[kendoFlatColorPickerActionButtons]", never, { "innerTabIndex": "innerTabIndex"; }, { "actionButtonClick": "actionButtonClick"; "tabOut": "tabOut"; }, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { EventEmitter, QueryList, ElementRef, Renderer2, AfterViewInit } from '@angular/core';
|
|
6
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { ColorPickerView } from './models';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare class FlatColorPickerHeaderComponent implements AfterViewInit {
|
|
14
|
+
private localizationService;
|
|
15
|
+
private renderer;
|
|
16
|
+
hostClasses: boolean;
|
|
17
|
+
clearButton: boolean;
|
|
18
|
+
activeView: ColorPickerView;
|
|
19
|
+
views: Array<ColorPickerView>;
|
|
20
|
+
preview: boolean;
|
|
21
|
+
innerTabIndex: number;
|
|
22
|
+
value: string;
|
|
23
|
+
selection: string;
|
|
24
|
+
viewChange: EventEmitter<ColorPickerView>;
|
|
25
|
+
valuePaneClick: EventEmitter<any>;
|
|
26
|
+
clearButtonClick: EventEmitter<any>;
|
|
27
|
+
tabOut: EventEmitter<any>;
|
|
28
|
+
viewButtonsCollection: QueryList<ElementRef>;
|
|
29
|
+
clearButtonElement: ElementRef;
|
|
30
|
+
dropletSliderIcon: SVGIcon;
|
|
31
|
+
paletteIcon: SVGIcon;
|
|
32
|
+
dropletSlashIcon: SVGIcon;
|
|
33
|
+
constructor(localizationService: LocalizationService, renderer: Renderer2);
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
onViewButtonClick(view: ColorPickerView): void;
|
|
36
|
+
get viewButtons(): boolean;
|
|
37
|
+
getViewButtonIcon(view: string): string;
|
|
38
|
+
getViewButtonsSVGIcon(view: string): SVGIcon;
|
|
39
|
+
getText(text: string): string;
|
|
40
|
+
onHeaderTabOut(ev: any, index: number): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerHeaderComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerHeaderComponent, "[kendoFlatColorPickerHeader]", never, { "clearButton": "clearButton"; "activeView": "activeView"; "views": "views"; "preview": "preview"; "innerTabIndex": "innerTabIndex"; "value": "value"; "selection": "selection"; }, { "viewChange": "viewChange"; "valuePaneClick": "valuePaneClick"; "clearButtonClick": "clearButtonClick"; "tabOut": "tabOut"; }, never, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, EventEmitter, NgZone, ChangeDetectorRef, OnInit, AfterViewInit, OnDestroy, Renderer2, SimpleChanges, Injector } from "@angular/core";
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { FlatColorPickerService } from './services/flatcolorpicker.service';
|
|
9
|
+
import { ColorPickerView, GradientSettings, OutputFormat, PaletteSettings, ColorPickerActionsLayout } from "./models";
|
|
10
|
+
import { ColorPickerCancelEvent } from './events';
|
|
11
|
+
import { ColorGradientComponent } from './color-gradient.component';
|
|
12
|
+
import { ColorPaletteComponent } from './color-palette.component';
|
|
13
|
+
import { FlatColorPickerHeaderComponent } from './flatcolorpicker-header.component';
|
|
14
|
+
import { FlatColorPickerActionButtonsComponent } from './flatcolorpicker-actions.component';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
/**
|
|
17
|
+
* Represents the [Kendo UI FlatColorPicker component for Angular]({% slug overview_flatcolorpicker %}).
|
|
18
|
+
*
|
|
19
|
+
* The FlatColorPicker is a powerful tool which allows the user to choose colors through palettes with predefined sets of colors and
|
|
20
|
+
* through a gradient that renders an hsv canvas. It supports previewing the selected color, reverting it to its previous state or clearing it completely.
|
|
21
|
+
*/
|
|
22
|
+
export declare class FlatColorPickerComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
23
|
+
host: ElementRef;
|
|
24
|
+
private service;
|
|
25
|
+
private localizationService;
|
|
26
|
+
private cdr;
|
|
27
|
+
private renderer;
|
|
28
|
+
private ngZone;
|
|
29
|
+
private injector;
|
|
30
|
+
hostClasses: boolean;
|
|
31
|
+
get disabledClass(): boolean;
|
|
32
|
+
get ariaReadonly(): boolean;
|
|
33
|
+
direction: string;
|
|
34
|
+
get hostTabindex(): string;
|
|
35
|
+
ariaRole: string;
|
|
36
|
+
get isControlInvalid(): string;
|
|
37
|
+
get isDisabled(): string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
enterHandler(event: any): void;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
escapeHandler(): void;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
focusHandler(ev: any): void;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the read-only state of the FlatColorPicker.
|
|
52
|
+
*
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
55
|
+
readonly: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the disabled state of the FlatColorPicker.
|
|
58
|
+
*
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the output format of the FlatColorPicker.
|
|
64
|
+
*
|
|
65
|
+
* If the input value is in a different format, it will be parsed into the specified output `format`.
|
|
66
|
+
*
|
|
67
|
+
* The supported values are:
|
|
68
|
+
* * `rgba` (default)
|
|
69
|
+
* * `hex`
|
|
70
|
+
*/
|
|
71
|
+
format: OutputFormat;
|
|
72
|
+
/**
|
|
73
|
+
* Specifies the initially selected color.
|
|
74
|
+
*/
|
|
75
|
+
set value(value: string);
|
|
76
|
+
get value(): string;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
79
|
+
*
|
|
80
|
+
* @default 0
|
|
81
|
+
*/
|
|
82
|
+
set tabindex(value: number);
|
|
83
|
+
get tabindex(): number;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies whether the FlatColorPicker should display a 'Clear color' button.
|
|
86
|
+
*
|
|
87
|
+
* @default true
|
|
88
|
+
*/
|
|
89
|
+
clearButton: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Displays `Apply` and `Cancel` action buttons and a color preview pane.
|
|
92
|
+
*
|
|
93
|
+
* When enabled, the component value will not change immediately upon
|
|
94
|
+
* color selection, but only after the `Apply` button is clicked.
|
|
95
|
+
*
|
|
96
|
+
* The `Cancel` button reverts the current selection to its
|
|
97
|
+
* initial state i.e. to the current value.
|
|
98
|
+
*
|
|
99
|
+
* @default true
|
|
100
|
+
*/
|
|
101
|
+
preview: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Configures the layout of the `Apply` and `Cancel` action buttons.
|
|
104
|
+
* * `start`
|
|
105
|
+
* * `center`
|
|
106
|
+
* * `end` (default)
|
|
107
|
+
* * `stretch`
|
|
108
|
+
*/
|
|
109
|
+
actionsLayout: ColorPickerActionsLayout;
|
|
110
|
+
/**
|
|
111
|
+
* Sets the initially active view in the FlatColorPicker. The property supports two-way binding.
|
|
112
|
+
* * `gradient` (default)
|
|
113
|
+
* * `palette`
|
|
114
|
+
*/
|
|
115
|
+
activeView: ColorPickerView;
|
|
116
|
+
/**
|
|
117
|
+
* Specifies the views that will be rendered. Default value is gradient and palette.
|
|
118
|
+
*/
|
|
119
|
+
views: Array<ColorPickerView>;
|
|
120
|
+
/**
|
|
121
|
+
* Configures the gradient view.
|
|
122
|
+
*/
|
|
123
|
+
set gradientSettings(value: GradientSettings);
|
|
124
|
+
get gradientSettings(): GradientSettings;
|
|
125
|
+
/**
|
|
126
|
+
* Configures the palette view.
|
|
127
|
+
*/
|
|
128
|
+
set paletteSettings(value: PaletteSettings);
|
|
129
|
+
get paletteSettings(): PaletteSettings;
|
|
130
|
+
/**
|
|
131
|
+
* Fires each time the component value is changed.
|
|
132
|
+
*/
|
|
133
|
+
valueChange: EventEmitter<any>;
|
|
134
|
+
/**
|
|
135
|
+
* Fires when the user cancels the current color selection.
|
|
136
|
+
*
|
|
137
|
+
* The event is emitted on preview pane or on 'Cancel' button click.
|
|
138
|
+
*/
|
|
139
|
+
cancel: EventEmitter<ColorPickerCancelEvent>;
|
|
140
|
+
/**
|
|
141
|
+
* Fires each time the view is about to change.
|
|
142
|
+
* Used to provide a two-way binding for the `activeView` property.
|
|
143
|
+
*/
|
|
144
|
+
activeViewChange: EventEmitter<string>;
|
|
145
|
+
/**
|
|
146
|
+
* @hidden
|
|
147
|
+
* Fires each time the clear button is clicked.
|
|
148
|
+
*/
|
|
149
|
+
clearButtonClick: EventEmitter<any>;
|
|
150
|
+
/**
|
|
151
|
+
* @hidden
|
|
152
|
+
*/
|
|
153
|
+
actionButtonClick: EventEmitter<any>;
|
|
154
|
+
header: FlatColorPickerHeaderComponent;
|
|
155
|
+
headerElement: ElementRef;
|
|
156
|
+
gradient: ColorGradientComponent;
|
|
157
|
+
gradientElement: ElementRef;
|
|
158
|
+
palette: ColorPaletteComponent;
|
|
159
|
+
footer: FlatColorPickerActionButtonsComponent;
|
|
160
|
+
/**
|
|
161
|
+
* @hidden
|
|
162
|
+
*/
|
|
163
|
+
selection: string;
|
|
164
|
+
private focused;
|
|
165
|
+
private _value;
|
|
166
|
+
private _tabindex;
|
|
167
|
+
private _gradientSettings;
|
|
168
|
+
private _paletteSettings;
|
|
169
|
+
private dynamicRTLSubscription;
|
|
170
|
+
private subscriptions;
|
|
171
|
+
private internalNavigation;
|
|
172
|
+
private control;
|
|
173
|
+
/**
|
|
174
|
+
* @hidden
|
|
175
|
+
*/
|
|
176
|
+
get innerTabIndex(): number;
|
|
177
|
+
/**
|
|
178
|
+
* @hidden
|
|
179
|
+
*/
|
|
180
|
+
get firstFocusable(): any;
|
|
181
|
+
constructor(host: ElementRef, service: FlatColorPickerService, localizationService: LocalizationService, cdr: ChangeDetectorRef, renderer: Renderer2, ngZone: NgZone, injector: Injector);
|
|
182
|
+
ngOnInit(): void;
|
|
183
|
+
ngAfterViewInit(): void;
|
|
184
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
185
|
+
ngOnDestroy(): void;
|
|
186
|
+
/**
|
|
187
|
+
* @hidden
|
|
188
|
+
*/
|
|
189
|
+
focusFirstHeaderButton(): void;
|
|
190
|
+
/**
|
|
191
|
+
* @hidden
|
|
192
|
+
*/
|
|
193
|
+
lastFocusable(event: any): any;
|
|
194
|
+
/**
|
|
195
|
+
* @hidden
|
|
196
|
+
*/
|
|
197
|
+
onTab(ev: KeyboardEvent): void;
|
|
198
|
+
/**
|
|
199
|
+
* @hidden
|
|
200
|
+
*/
|
|
201
|
+
get headerHasContent(): boolean;
|
|
202
|
+
/**
|
|
203
|
+
* @hidden
|
|
204
|
+
* Used by the FloatingLabel to determine if the component is empty.
|
|
205
|
+
*/
|
|
206
|
+
isEmpty(): boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Focuses the wrapper of the FlatColorPicker.
|
|
209
|
+
*/
|
|
210
|
+
focus(): void;
|
|
211
|
+
/**
|
|
212
|
+
* Blurs the wrapper of the FlatColorPicker.
|
|
213
|
+
*/
|
|
214
|
+
blur(): void;
|
|
215
|
+
/**
|
|
216
|
+
* Clears the value of the FlatColorPicker.
|
|
217
|
+
*/
|
|
218
|
+
reset(): void;
|
|
219
|
+
/**
|
|
220
|
+
* @hidden
|
|
221
|
+
*/
|
|
222
|
+
onViewChange(view: ColorPickerView): void;
|
|
223
|
+
/**
|
|
224
|
+
* @hidden
|
|
225
|
+
*/
|
|
226
|
+
onClearButtonClick(): void;
|
|
227
|
+
/**
|
|
228
|
+
* @hidden
|
|
229
|
+
*/
|
|
230
|
+
handleValueChange(color: string): void;
|
|
231
|
+
/**
|
|
232
|
+
* @hidden
|
|
233
|
+
*/
|
|
234
|
+
onAction(ev: any): void;
|
|
235
|
+
/**
|
|
236
|
+
* @hidden
|
|
237
|
+
*/
|
|
238
|
+
writeValue(value: string): void;
|
|
239
|
+
/**
|
|
240
|
+
* @hidden
|
|
241
|
+
*/
|
|
242
|
+
registerOnChange(fn: any): void;
|
|
243
|
+
/**
|
|
244
|
+
* @hidden
|
|
245
|
+
*/
|
|
246
|
+
registerOnTouched(fn: any): void;
|
|
247
|
+
/**
|
|
248
|
+
* @hidden
|
|
249
|
+
*/
|
|
250
|
+
setDisabledState(isDisabled: boolean): void;
|
|
251
|
+
/**
|
|
252
|
+
* @hidden
|
|
253
|
+
*/
|
|
254
|
+
resetSelection(ev: any): void;
|
|
255
|
+
private setHostElementAriaLabel;
|
|
256
|
+
private setSizingVariables;
|
|
257
|
+
private changeCurrentValue;
|
|
258
|
+
private resetInnerComponentValue;
|
|
259
|
+
private setFlatColorPickerValue;
|
|
260
|
+
private setActiveView;
|
|
261
|
+
private notifyNgChanged;
|
|
262
|
+
private notifyNgTouched;
|
|
263
|
+
private initDomEvents;
|
|
264
|
+
private removeGradientAttributes;
|
|
265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerComponent, never>;
|
|
266
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatColorPickerComponent, "kendo-flatcolorpicker", ["kendoFlatColorPicker"], { "readonly": "readonly"; "disabled": "disabled"; "format": "format"; "value": "value"; "tabindex": "tabindex"; "clearButton": "clearButton"; "preview": "preview"; "actionsLayout": "actionsLayout"; "activeView": "activeView"; "views": "views"; "gradientSettings": "gradientSettings"; "paletteSettings": "paletteSettings"; }, { "valueChange": "valueChange"; "cancel": "cancel"; "activeViewChange": "activeViewChange"; "clearButtonClick": "clearButtonClick"; "actionButtonClick": "actionButtonClick"; }, never, never>;
|
|
267
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, NgZone, AfterContentInit } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class FocusOnDomReadyDirective implements AfterContentInit {
|
|
11
|
+
private host;
|
|
12
|
+
private ngZone;
|
|
13
|
+
constructor(host: ElementRef, ngZone: NgZone);
|
|
14
|
+
ngAfterContentInit(): void;
|
|
15
|
+
focusOnNextTick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusOnDomReadyDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusOnDomReadyDirective, "[kendoFocusOnDomReady]", never, {}, {}, never>;
|
|
18
|
+
}
|
|
@@ -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, MessageService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { FlatColorPickerLocalizationService } from './flatcolorpicker-localization.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class ColorGradientLocalizationService extends LocalizationService {
|
|
12
|
+
private flatColorPickerLocalization?;
|
|
13
|
+
constructor(prefix: string, messageService: MessageService, _rtl: boolean, flatColorPickerLocalization?: FlatColorPickerLocalizationService);
|
|
14
|
+
get(shortKey: string): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorGradientLocalizationService, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ColorGradientLocalizationService>;
|
|
17
|
+
}
|
|
@@ -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, MessageService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { FlatColorPickerLocalizationService } from './flatcolorpicker-localization.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class ColorPaletteLocalizationService extends LocalizationService {
|
|
12
|
+
private flatColorPickerLocalization?;
|
|
13
|
+
constructor(prefix: string, messageService: MessageService, _rtl: boolean, flatColorPickerLocalization?: FlatColorPickerLocalizationService);
|
|
14
|
+
get(shortKey: string): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPaletteLocalizationService, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ColorPaletteLocalizationService>;
|
|
17
|
+
}
|
|
@@ -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 { LocalizationService, MessageService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class ColorPickerLocalizationService extends LocalizationService {
|
|
11
|
+
constructor(prefix: string, messageService: MessageService, _rtl: boolean);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerLocalizationService, [null, { optional: true; }, { optional: true; }]>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ColorPickerLocalizationService>;
|
|
14
|
+
}
|
|
@@ -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 { ColorPickerMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class ColorPickerCustomMessagesComponent extends ColorPickerMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerCustomMessagesComponent, "kendo-colorpicker-messages, kendo-flatcolorpicker-messages, kendo-colorgradient-messages, kendo-colorpalette-messages", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -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, MessageService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { ColorPickerLocalizationService } from './colorpicker-localization.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class FlatColorPickerLocalizationService extends LocalizationService {
|
|
12
|
+
private colorPickerLocalization?;
|
|
13
|
+
constructor(prefix: string, messageService: MessageService, _rtl: boolean, colorPickerLocalization?: ColorPickerLocalizationService);
|
|
14
|
+
get(shortKey: string): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlatColorPickerLocalizationService, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlatColorPickerLocalizationService>;
|
|
17
|
+
}
|