@progress/kendo-angular-inputs 19.1.1-develop.2 → 19.1.2-develop.1
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/checkbox/checkbox.component.d.ts +15 -13
- package/checkbox/checkbox.directive.d.ts +8 -15
- package/checkbox/checked-state.d.ts +5 -1
- package/checkbox.module.d.ts +9 -20
- package/colorpicker/color-gradient.component.d.ts +26 -26
- package/colorpicker/color-input.component.d.ts +18 -18
- package/colorpicker/color-palette.component.d.ts +28 -29
- package/colorpicker/colorpicker.component.d.ts +53 -69
- package/colorpicker/events/active-color-click-event.d.ts +10 -14
- package/colorpicker/events/cancel-event.d.ts +1 -1
- package/colorpicker/events/close-event.d.ts +1 -1
- package/colorpicker/events/open-event.d.ts +1 -1
- package/colorpicker/flatcolorpicker.component.d.ts +26 -29
- package/colorpicker/localization/custom-messages.component.d.ts +9 -1
- package/colorpicker/localization/messages.d.ts +29 -29
- package/colorpicker/models/palette-settings.d.ts +0 -3
- package/colorpicker/models/tile-size.d.ts +6 -0
- package/colorpicker.module.d.ts +18 -2
- package/common/models/fillmode.d.ts +4 -1
- package/common/models/rounded.d.ts +8 -2
- package/common/models/size.d.ts +4 -1
- package/common/models/type.d.ts +3 -1
- package/common/radio-checkbox.base.d.ts +0 -7
- package/directives.d.ts +216 -18
- package/esm2022/checkbox/checkbox.component.mjs +15 -13
- package/esm2022/checkbox/checkbox.directive.mjs +8 -15
- package/esm2022/checkbox.module.mjs +9 -20
- package/esm2022/colorpicker/color-gradient.component.mjs +26 -26
- package/esm2022/colorpicker/color-input.component.mjs +21 -21
- package/esm2022/colorpicker/color-palette.component.mjs +28 -29
- package/esm2022/colorpicker/colorpicker.component.mjs +53 -69
- package/esm2022/colorpicker/events/active-color-click-event.mjs +10 -14
- package/esm2022/colorpicker/events/cancel-event.mjs +1 -1
- package/esm2022/colorpicker/events/close-event.mjs +1 -1
- package/esm2022/colorpicker/events/open-event.mjs +1 -1
- package/esm2022/colorpicker/flatcolorpicker.component.mjs +26 -29
- package/esm2022/colorpicker/localization/custom-messages.component.mjs +9 -1
- package/esm2022/colorpicker/localization/messages.mjs +29 -29
- package/esm2022/colorpicker.module.mjs +18 -2
- package/esm2022/common/radio-checkbox.base.mjs +0 -7
- package/esm2022/directives.mjs +216 -18
- package/esm2022/formfield/error.component.mjs +9 -6
- package/esm2022/formfield/formfield.component.mjs +24 -20
- package/esm2022/formfield/hint.component.mjs +8 -5
- package/esm2022/formfield.module.mjs +9 -20
- package/esm2022/index.mjs +1 -0
- package/esm2022/inputs.module.mjs +9 -21
- package/esm2022/maskedtextbox/maskedtextbox.component.mjs +46 -88
- package/esm2022/maskedtextbox.module.mjs +9 -20
- package/esm2022/numerictextbox/localization/custom-messages.component.mjs +13 -1
- package/esm2022/numerictextbox/localization/messages.mjs +2 -2
- package/esm2022/numerictextbox/numerictextbox.component.mjs +57 -70
- package/esm2022/numerictextbox.module.mjs +9 -20
- package/esm2022/otp.module.mjs +44 -0
- package/esm2022/otpinput/localization/custom-messages.component.mjs +3 -1
- package/esm2022/otpinput/otpinput.component.mjs +39 -42
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/radiobutton/radiobutton.component.mjs +15 -6
- package/esm2022/radiobutton/radiobutton.directive.mjs +6 -10
- package/esm2022/radiobutton.module.mjs +8 -18
- package/esm2022/rangeslider/localization/custom-messages.component.mjs +11 -1
- package/esm2022/rangeslider/rangeslider.component.mjs +12 -16
- package/esm2022/rangeslider.module.mjs +7 -18
- package/esm2022/rating/directives/rating-hovered-item.directive.mjs +11 -3
- package/esm2022/rating/directives/rating-item.directive.mjs +10 -3
- package/esm2022/rating/directives/rating-selected-item.directive.mjs +12 -3
- package/esm2022/rating/rating.component.mjs +23 -20
- package/esm2022/rating.module.mjs +7 -18
- package/esm2022/shared/input-separator.component.mjs +10 -15
- package/esm2022/shared/textarea.directive.mjs +5 -6
- package/esm2022/signature/events/close-event.mjs +1 -1
- package/esm2022/signature/localization/custom-messages.component.mjs +1 -1
- package/esm2022/signature/signature.component.mjs +52 -51
- package/esm2022/signature.module.mjs +7 -18
- package/esm2022/slider/localization/custom-messages.component.mjs +1 -1
- package/esm2022/slider/slider.component.mjs +18 -19
- package/esm2022/slider.module.mjs +7 -18
- package/esm2022/sliders-common/label-template.directive.mjs +9 -19
- package/esm2022/sliders-common/slider-base.mjs +47 -29
- package/esm2022/switch/events/blur-event.mjs +1 -1
- package/esm2022/switch/events/focus-event.mjs +1 -1
- package/esm2022/switch/localization/custom-messages.component.mjs +1 -1
- package/esm2022/switch/switch.component.mjs +32 -43
- package/esm2022/switch.module.mjs +7 -18
- package/esm2022/textarea/textarea-prefix.component.mjs +11 -13
- package/esm2022/textarea/textarea-suffix.component.mjs +11 -13
- package/esm2022/textarea/textarea.component.mjs +40 -103
- package/esm2022/textarea.module.mjs +7 -18
- package/esm2022/textbox/localization/custom-messages.component.mjs +1 -1
- package/esm2022/textbox/textbox-prefix.directive.mjs +9 -13
- package/esm2022/textbox/textbox-suffix.directive.mjs +10 -14
- package/esm2022/textbox/textbox.component.mjs +41 -112
- package/esm2022/textbox/textbox.directive.mjs +2 -2
- package/esm2022/textbox.module.mjs +7 -18
- package/fesm2022/progress-kendo-angular-inputs.mjs +1207 -1280
- package/formfield/error.component.d.ts +9 -6
- package/formfield/formfield.component.d.ts +24 -20
- package/formfield/hint.component.d.ts +8 -5
- package/formfield/models/message-align.d.ts +3 -1
- package/formfield/models/orientation.d.ts +3 -0
- package/formfield/models/show-options.d.ts +5 -7
- package/formfield.module.d.ts +9 -20
- package/index.d.ts +1 -0
- package/inputs.module.d.ts +9 -21
- package/maskedtextbox/maskedtextbox.component.d.ts +46 -88
- package/maskedtextbox.module.d.ts +9 -20
- package/numerictextbox/localization/custom-messages.component.d.ts +13 -1
- package/numerictextbox/localization/messages.d.ts +2 -2
- package/numerictextbox/numerictextbox.component.d.ts +57 -70
- package/numerictextbox.module.d.ts +9 -20
- package/otp.module.d.ts +32 -0
- package/otpinput/localization/custom-messages.component.d.ts +3 -1
- package/otpinput/models/otpinput-type.d.ts +2 -2
- package/otpinput/models/separator-icon.d.ts +8 -3
- package/otpinput/otpinput.component.d.ts +39 -42
- package/package.json +12 -12
- package/radiobutton/radiobutton.component.d.ts +15 -6
- package/radiobutton/radiobutton.directive.d.ts +6 -10
- package/radiobutton.module.d.ts +8 -18
- package/rangeslider/localization/custom-messages.component.d.ts +11 -1
- package/rangeslider/rangeslider-value.type.d.ts +2 -2
- package/rangeslider/rangeslider.component.d.ts +12 -16
- package/rangeslider.module.d.ts +7 -18
- package/rating/directives/rating-hovered-item.directive.d.ts +11 -3
- package/rating/directives/rating-item.directive.d.ts +10 -3
- package/rating/directives/rating-selected-item.directive.d.ts +12 -3
- package/rating/models/precision.d.ts +1 -2
- package/rating/models/selection.d.ts +1 -2
- package/rating/rating.component.d.ts +21 -18
- package/rating.module.d.ts +7 -18
- package/shared/input-separator.component.d.ts +10 -15
- package/shared/textarea.directive.d.ts +5 -6
- package/signature/events/close-event.d.ts +1 -1
- package/signature/localization/custom-messages.component.d.ts +1 -1
- package/signature/signature.component.d.ts +52 -51
- package/signature.module.d.ts +7 -18
- package/slider/localization/custom-messages.component.d.ts +1 -1
- package/slider/slider.component.d.ts +18 -19
- package/slider.module.d.ts +7 -18
- package/sliders-common/label-template.directive.d.ts +9 -19
- package/sliders-common/slider-base.d.ts +47 -29
- package/sliders-common/title-callback.d.ts +19 -3
- package/switch/events/blur-event.d.ts +1 -1
- package/switch/events/focus-event.d.ts +1 -1
- package/switch/localization/custom-messages.component.d.ts +1 -1
- package/switch/switch.component.d.ts +32 -43
- package/switch.module.d.ts +7 -18
- package/textarea/models/adornments-orientation.d.ts +3 -3
- package/textarea/models/flow.d.ts +3 -3
- package/textarea/models/resize.d.ts +6 -7
- package/textarea/textarea-prefix.component.d.ts +11 -13
- package/textarea/textarea-suffix.component.d.ts +11 -13
- package/textarea/textarea.component.d.ts +40 -103
- package/textarea.module.d.ts +7 -18
- package/textbox/localization/custom-messages.component.d.ts +1 -1
- package/textbox/textbox-prefix.directive.d.ts +9 -13
- package/textbox/textbox-suffix.directive.d.ts +10 -14
- package/textbox/textbox.component.d.ts +41 -112
- package/textbox/textbox.directive.d.ts +2 -2
- package/textbox.module.d.ts +7 -18
|
@@ -3,33 +3,29 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Fires
|
|
7
|
-
* The event
|
|
6
|
+
* Fires when you click the left side of the ColorPicker wrapper.
|
|
7
|
+
* The event triggers whether you set a ColorPicker icon or not.
|
|
8
8
|
*
|
|
9
|
-
* Provides information about the current active color and
|
|
9
|
+
* Provides information about the current active color and lets you prevent the popup from opening.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* _@Component({
|
|
12
|
+
* ```typescript
|
|
13
|
+
* @Component({
|
|
15
14
|
* selector: 'my-app',
|
|
16
15
|
* template: `
|
|
17
16
|
* <kendo-colorpicker
|
|
18
17
|
* [icon]="'edit-tools'"
|
|
19
18
|
* [value]="'#900'"
|
|
20
|
-
* (activeColorClick)="
|
|
19
|
+
* (activeColorClick)="onColorClick($event)"
|
|
21
20
|
* >
|
|
22
21
|
* </kendo-colorpicker>
|
|
23
22
|
* `
|
|
24
23
|
* })
|
|
25
24
|
* class AppComponent {
|
|
26
|
-
* public
|
|
25
|
+
* public onColorClick(event: ActiveColorClickEvent): void {
|
|
27
26
|
* event.preventOpen();
|
|
28
|
-
*
|
|
29
|
-
* console.log('Open prevented:', event.isOpenPrevented());
|
|
30
|
-
* console.log('Current color:', event.color);
|
|
31
27
|
* }
|
|
32
|
-
*
|
|
28
|
+
* }
|
|
33
29
|
* ```
|
|
34
30
|
*/
|
|
35
31
|
export class ActiveColorClickEvent {
|
|
@@ -43,7 +39,7 @@ export class ActiveColorClickEvent {
|
|
|
43
39
|
this.color = color;
|
|
44
40
|
}
|
|
45
41
|
/**
|
|
46
|
-
* Prevents the
|
|
42
|
+
* Prevents the popup from opening.
|
|
47
43
|
*/
|
|
48
44
|
preventOpen() {
|
|
49
45
|
this.openPrevented = true;
|
|
@@ -51,7 +47,7 @@ export class ActiveColorClickEvent {
|
|
|
51
47
|
/**
|
|
52
48
|
* Returns `true` if the popup opening is prevented by any of its subscribers.
|
|
53
49
|
*
|
|
54
|
-
* @returns
|
|
50
|
+
* @returns Returns `true` if the open action was prevented. Otherwise, returns `false`.
|
|
55
51
|
*/
|
|
56
52
|
isOpenPrevented() {
|
|
57
53
|
return this.openPrevented;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `cancel` event of the ColorPicker and FlatColorPicker components.
|
|
8
8
|
*/
|
|
9
9
|
export class ColorPickerCancelEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `close` event of the ColorPicker component.
|
|
8
8
|
*/
|
|
9
9
|
export class ColorPickerCloseEvent extends PreventableEvent {
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `open` event of the ColorPicker component.
|
|
8
8
|
*/
|
|
9
9
|
export class ColorPickerOpenEvent extends PreventableEvent {
|
|
10
10
|
}
|
|
@@ -29,10 +29,17 @@ import * as i1 from "./services/flatcolorpicker.service";
|
|
|
29
29
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
30
30
|
const DEFAULT_SIZE = 'medium';
|
|
31
31
|
/**
|
|
32
|
-
* Represents the
|
|
32
|
+
* Represents the Kendo UI FlatColorPicker component for Angular.
|
|
33
33
|
*
|
|
34
|
-
* The
|
|
35
|
-
*
|
|
34
|
+
* The `FlatColorPickerComponent` lets you choose colors through palettes with predefined sets of colors and through a gradient that renders an HSV canvas. You can preview the selected color, revert it to its previous state, or clear it.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```html
|
|
38
|
+
* <kendo-flatcolorpicker [(value)]="selectedColor"></kendo-flatcolorpicker>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Supported children components are: {@link ColorPickerMessages}.
|
|
36
43
|
*/
|
|
37
44
|
export class FlatColorPickerComponent {
|
|
38
45
|
host;
|
|
@@ -91,7 +98,7 @@ export class FlatColorPickerComponent {
|
|
|
91
98
|
*/
|
|
92
99
|
readonly = false;
|
|
93
100
|
/**
|
|
94
|
-
* Sets the disabled state of the FlatColorPicker. To
|
|
101
|
+
* Sets the disabled state of the FlatColorPicker. To disable it in reactive forms, see [Forms Support](slug:formssupport_flatcolorpicker#toc-managing-the-flatcolorpicker-disabled-state-in-reactive-forms).
|
|
95
102
|
*
|
|
96
103
|
* @default false
|
|
97
104
|
*/
|
|
@@ -99,11 +106,9 @@ export class FlatColorPickerComponent {
|
|
|
99
106
|
/**
|
|
100
107
|
* Specifies the output format of the FlatColorPicker.
|
|
101
108
|
*
|
|
102
|
-
* If the input value is in a different format,
|
|
109
|
+
* If the input value is in a different format, the component parses it into the specified output `format`.
|
|
103
110
|
*
|
|
104
|
-
*
|
|
105
|
-
* * `rgba` (default)
|
|
106
|
-
* * `hex`
|
|
111
|
+
* @default 'rgba'
|
|
107
112
|
*/
|
|
108
113
|
format = 'rgba';
|
|
109
114
|
/**
|
|
@@ -134,7 +139,7 @@ export class FlatColorPickerComponent {
|
|
|
134
139
|
return !this.disabled ? this._tabindex : undefined;
|
|
135
140
|
}
|
|
136
141
|
/**
|
|
137
|
-
* Specifies whether the FlatColorPicker
|
|
142
|
+
* Specifies whether the FlatColorPicker displays a **Clear color** button.
|
|
138
143
|
*
|
|
139
144
|
* @default true
|
|
140
145
|
*/
|
|
@@ -142,31 +147,27 @@ export class FlatColorPickerComponent {
|
|
|
142
147
|
/**
|
|
143
148
|
* Displays `Apply` and `Cancel` action buttons and a color preview pane.
|
|
144
149
|
*
|
|
145
|
-
* When enabled, the component value
|
|
146
|
-
* color selection, but only after the
|
|
150
|
+
* When enabled, the component value does not change immediately upon
|
|
151
|
+
* color selection, but only after the **Apply** button is clicked.
|
|
147
152
|
*
|
|
148
|
-
* The
|
|
149
|
-
* initial state i.e
|
|
153
|
+
* The **Cancel** button reverts the current selection to its
|
|
154
|
+
* initial state, i.e., to the current value.
|
|
150
155
|
*
|
|
151
156
|
* @default true
|
|
152
157
|
*/
|
|
153
158
|
preview = true;
|
|
154
159
|
/**
|
|
155
160
|
* Configures the layout of the `Apply` and `Cancel` action buttons.
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* * `end` (default)
|
|
159
|
-
* * `stretch`
|
|
161
|
+
*
|
|
162
|
+
* @default 'end'
|
|
160
163
|
*/
|
|
161
164
|
actionsLayout = 'end';
|
|
162
165
|
/**
|
|
163
|
-
* Sets the initially active view in the FlatColorPicker.
|
|
164
|
-
* * `gradient` (default)
|
|
165
|
-
* * `palette`
|
|
166
|
+
* Sets the initially active view in the FlatColorPicker. Supports two-way binding.
|
|
166
167
|
*/
|
|
167
168
|
activeView;
|
|
168
169
|
/**
|
|
169
|
-
* Specifies the views
|
|
170
|
+
* Specifies the views to render. The default value is gradient and palette.
|
|
170
171
|
*/
|
|
171
172
|
views = ['gradient', 'palette'];
|
|
172
173
|
/**
|
|
@@ -192,13 +193,9 @@ export class FlatColorPickerComponent {
|
|
|
192
193
|
return this._paletteSettings;
|
|
193
194
|
}
|
|
194
195
|
/**
|
|
195
|
-
*
|
|
196
|
+
* Sets the size of the FlatColorPicker internal elements.
|
|
196
197
|
*
|
|
197
|
-
*
|
|
198
|
-
* * `small`
|
|
199
|
-
* * `medium` (default)
|
|
200
|
-
* * `large`
|
|
201
|
-
* * `none`
|
|
198
|
+
* @default 'medium'
|
|
202
199
|
*/
|
|
203
200
|
set size(size) {
|
|
204
201
|
const newSize = size || DEFAULT_SIZE;
|
|
@@ -209,7 +206,7 @@ export class FlatColorPickerComponent {
|
|
|
209
206
|
return this._size;
|
|
210
207
|
}
|
|
211
208
|
/**
|
|
212
|
-
* Fires
|
|
209
|
+
* Fires when the component value changes.
|
|
213
210
|
*/
|
|
214
211
|
valueChange = new EventEmitter();
|
|
215
212
|
/**
|
|
@@ -219,7 +216,7 @@ export class FlatColorPickerComponent {
|
|
|
219
216
|
*/
|
|
220
217
|
cancel = new EventEmitter();
|
|
221
218
|
/**
|
|
222
|
-
* Fires
|
|
219
|
+
* Fires when the view is about to change.
|
|
223
220
|
* Used to provide a two-way binding for the `activeView` property.
|
|
224
221
|
*/
|
|
225
222
|
activeViewChange = new EventEmitter();
|
|
@@ -8,7 +8,15 @@ import { ColorPickerMessages } from './messages';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Overrides the default component messages for the ColorPicker.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-colorpicker-messages
|
|
16
|
+
* [applyButton]="'Apply custom'"
|
|
17
|
+
* [cancelButton]="'Cancel custom'">
|
|
18
|
+
* </kendo-colorpicker-messages>
|
|
19
|
+
* ```
|
|
12
20
|
*/
|
|
13
21
|
export class ColorPickerCustomMessagesComponent extends ColorPickerMessages {
|
|
14
22
|
service;
|
|
@@ -10,119 +10,119 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ColorPickerMessages extends ComponentMessages {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Sets the `aria-label` for the ColorPalette component when the value is empty.
|
|
14
14
|
*/
|
|
15
15
|
colorPaletteNoColor;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Sets the `aria-label` for the ColorGradient component when the value is empty.
|
|
18
18
|
*/
|
|
19
19
|
colorGradientNoColor;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Sets the `aria-label` for the FlatColorPicker component when the value is empty.
|
|
22
22
|
*/
|
|
23
23
|
flatColorPickerNoColor;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Sets the `aria-label` for the ColorPicker component when the value is empty.
|
|
26
26
|
*/
|
|
27
27
|
colorPickerNoColor;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Sets the title for the gradient color drag handle chooser.
|
|
30
30
|
*/
|
|
31
31
|
colorGradientHandle;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Sets the title for the clear button.
|
|
34
34
|
*/
|
|
35
35
|
clearButton;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Sets the title for the hue slider handle.
|
|
38
38
|
*/
|
|
39
39
|
hueSliderHandle;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Sets the title for the opacity slider handle.
|
|
42
42
|
*/
|
|
43
43
|
opacitySliderHandle;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Sets the placeholder for the HEX color input.
|
|
46
46
|
*/
|
|
47
47
|
hexInputPlaceholder;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Sets the placeholder for the red color input.
|
|
50
50
|
*/
|
|
51
51
|
redInputPlaceholder;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Sets the placeholder for the green color input.
|
|
54
54
|
*/
|
|
55
55
|
greenInputPlaceholder;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Sets the placeholder for the blue color input.
|
|
58
58
|
*/
|
|
59
59
|
blueInputPlaceholder;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Sets the placeholder for the alpha input.
|
|
62
62
|
*/
|
|
63
63
|
alphaInputPlaceholder;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Sets the `aria-label` for the red color input.
|
|
66
66
|
*/
|
|
67
67
|
redChannelLabel;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Sets the `aria-label` for the green color input.
|
|
70
70
|
*/
|
|
71
71
|
greenChannelLabel;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Sets the `aria-label` for the blue color input.
|
|
74
74
|
*/
|
|
75
75
|
blueChannelLabel;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Sets the `aria-label` for the alpha color input.
|
|
78
78
|
*/
|
|
79
79
|
alphaChannelLabel;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Sets the "Pass" message for the contrast tool.
|
|
82
82
|
*/
|
|
83
83
|
passContrast;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Sets the "Fail" message for the contrast tool.
|
|
86
86
|
*/
|
|
87
87
|
failContrast;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Sets the "Contrast ratio" message for the contrast tool.
|
|
90
90
|
*/
|
|
91
91
|
contrastRatio;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Sets the message for the color preview pane.
|
|
94
94
|
*/
|
|
95
95
|
previewColor;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Sets the message for the selected color pane.
|
|
98
98
|
*/
|
|
99
99
|
revertSelection;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Sets the message for the gradient view button.
|
|
102
102
|
*/
|
|
103
103
|
gradientView;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Sets the message for the palette view button.
|
|
106
106
|
*/
|
|
107
107
|
paletteView;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* Sets the message for the input format toggle button.
|
|
110
110
|
*/
|
|
111
111
|
formatButton;
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Sets the message for the **Apply** action button.
|
|
114
114
|
*/
|
|
115
115
|
applyButton;
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Sets the message for the **Cancel** action button.
|
|
118
118
|
*/
|
|
119
119
|
cancelButton;
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Sets the title of the **Close** button for the ActionSheet in adaptive mode.
|
|
122
122
|
*/
|
|
123
123
|
adaptiveCloseButtonTitle;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Sets the title for the ActionSheet in adaptive mode.
|
|
126
126
|
*/
|
|
127
127
|
adaptiveTitle;
|
|
128
128
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -16,8 +16,24 @@ import * as i4 from "./colorpicker/color-gradient.component";
|
|
|
16
16
|
import * as i5 from "./colorpicker/color-palette.component";
|
|
17
17
|
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the ColorPicker.
|
|
20
|
+
*
|
|
21
|
+
* Use this module to add ColorPicker features to your NgModule-based Angular application.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import { ColorPickerModule } from '@progress/kendo-angular-inputs';
|
|
26
|
+
* import { NgModule } from '@angular/core';
|
|
27
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
28
|
+
* import { AppComponent } from './app.component';
|
|
29
|
+
*
|
|
30
|
+
* @NgModule({
|
|
31
|
+
* declarations: [AppComponent],
|
|
32
|
+
* imports: [BrowserModule, ColorPickerModule],
|
|
33
|
+
* bootstrap: [AppComponent]
|
|
34
|
+
* })
|
|
35
|
+
* export class AppModule {}
|
|
36
|
+
* ```
|
|
21
37
|
*/
|
|
22
38
|
export class ColorPickerModule {
|
|
23
39
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -61,11 +61,6 @@ export class RadioCheckBoxBase {
|
|
|
61
61
|
*
|
|
62
62
|
* @default 'medium'
|
|
63
63
|
*
|
|
64
|
-
* The possible values are:
|
|
65
|
-
* * `small`
|
|
66
|
-
* * `medium`
|
|
67
|
-
* * `large`
|
|
68
|
-
* * `none`
|
|
69
64
|
*/
|
|
70
65
|
set size(size) {
|
|
71
66
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
@@ -97,13 +92,11 @@ export class RadioCheckBoxBase {
|
|
|
97
92
|
/**
|
|
98
93
|
* Fires each time the user focuses the component.
|
|
99
94
|
*
|
|
100
|
-
* > To wire the event programmatically, use the `onFocus` property.
|
|
101
95
|
*/
|
|
102
96
|
onFocus = new EventEmitter();
|
|
103
97
|
/**
|
|
104
98
|
* Fires each time the component gets blurred.
|
|
105
99
|
*
|
|
106
|
-
* > To wire the event programmatically, use the `onBlur` property.
|
|
107
100
|
*/
|
|
108
101
|
onBlur = new EventEmitter();
|
|
109
102
|
/**
|