@progress/kendo-angular-inputs 11.0.0-develop.95 → 11.0.0-develop.96

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.
Files changed (35) hide show
  1. package/colorpicker/color-gradient.component.d.ts +5 -0
  2. package/colorpicker/color-input.component.d.ts +5 -0
  3. package/colorpicker/colorpicker.component.d.ts +18 -4
  4. package/colorpicker/contrast-validation.component.d.ts +3 -0
  5. package/colorpicker/contrast.component.d.ts +3 -0
  6. package/colorpicker/flatcolorpicker-header.component.d.ts +10 -3
  7. package/colorpicker.module.d.ts +3 -1
  8. package/esm2020/colorpicker/color-gradient.component.mjs +34 -17
  9. package/esm2020/colorpicker/color-input.component.mjs +29 -14
  10. package/esm2020/colorpicker/colorpicker.component.mjs +77 -18
  11. package/esm2020/colorpicker/contrast-validation.component.mjs +10 -6
  12. package/esm2020/colorpicker/contrast.component.mjs +13 -9
  13. package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +54 -25
  14. package/esm2020/colorpicker.module.mjs +11 -3
  15. package/esm2020/numerictextbox/numerictextbox.component.mjs +47 -16
  16. package/esm2020/numerictextbox.module.mjs +4 -3
  17. package/esm2020/package-metadata.mjs +1 -1
  18. package/esm2020/signature/signature.component.mjs +17 -0
  19. package/esm2020/signature.module.mjs +7 -3
  20. package/esm2020/slider/slider.component.mjs +73 -42
  21. package/esm2020/slider.module.mjs +5 -3
  22. package/esm2020/textbox/textbox.component.mjs +92 -20
  23. package/esm2020/textbox.module.mjs +4 -3
  24. package/fesm2015/progress-kendo-angular-inputs.mjs +427 -157
  25. package/fesm2020/progress-kendo-angular-inputs.mjs +427 -157
  26. package/numerictextbox/numerictextbox.component.d.ts +9 -0
  27. package/numerictextbox.module.d.ts +2 -1
  28. package/package.json +9 -8
  29. package/schematics/ngAdd/index.js +4 -2
  30. package/signature/signature.component.d.ts +8 -0
  31. package/signature.module.d.ts +2 -1
  32. package/slider/slider.component.d.ts +17 -0
  33. package/slider.module.d.ts +4 -2
  34. package/textbox/textbox.component.d.ts +18 -1
  35. package/textbox.module.d.ts +4 -3
@@ -9,6 +9,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
9
9
  import { ArrowDirection } from './arrow-direction';
10
10
  import { Subscription } from 'rxjs';
11
11
  import { InputSize, InputRounded, InputFillMode } from '../common/models';
12
+ import { SVGIcon } from '@progress/kendo-svg-icons';
12
13
  import * as i0 from "@angular/core";
13
14
  /**
14
15
  * Represents the [Kendo UI NumericTextBox component for Angular]({% slug overview_numerictextbox %}).
@@ -175,6 +176,14 @@ export declare class NumericTextBoxComponent implements ControlValueAccessor, On
175
176
  arrowDirection: ArrowDirection;
176
177
  get disableClass(): boolean;
177
178
  hostClasses: boolean;
179
+ /**
180
+ * @hidden
181
+ */
182
+ arrowUpIcon: SVGIcon;
183
+ /**
184
+ * @hidden
185
+ */
186
+ arrowDownIcon: SVGIcon;
178
187
  protected subscriptions: Subscription;
179
188
  protected inputValue: string;
180
189
  protected spinTimeout: number;
@@ -8,6 +8,7 @@ import * as i2 from "./numerictextbox/numerictextbox.component";
8
8
  import * as i3 from "./numerictextbox/localization/custom-messages.component";
9
9
  import * as i4 from "@angular/common";
10
10
  import * as i5 from "@progress/kendo-angular-common";
11
+ import * as i6 from "@progress/kendo-angular-icons";
11
12
  /**
12
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
14
  * definition for the NumericTextBox component.
@@ -41,6 +42,6 @@ import * as i5 from "@progress/kendo-angular-common";
41
42
  */
42
43
  export declare class NumericTextBoxModule {
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<NumericTextBoxModule, [typeof i1.LocalizedNumericTextBoxMessagesDirective, typeof i2.NumericTextBoxComponent, typeof i3.NumericTextBoxCustomMessagesComponent], [typeof i4.CommonModule, typeof i5.EventsModule], [typeof i2.NumericTextBoxComponent, typeof i3.NumericTextBoxCustomMessagesComponent]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NumericTextBoxModule, [typeof i1.LocalizedNumericTextBoxMessagesDirective, typeof i2.NumericTextBoxComponent, typeof i3.NumericTextBoxCustomMessagesComponent], [typeof i4.CommonModule, typeof i5.EventsModule, typeof i6.IconsModule], [typeof i2.NumericTextBoxComponent, typeof i3.NumericTextBoxCustomMessagesComponent]>;
45
46
  static ɵinj: i0.ɵɵInjectorDeclaration<NumericTextBoxModule>;
46
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "11.0.0-develop.95",
3
+ "version": "11.0.0-develop.96",
4
4
  "description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -36,13 +36,14 @@
36
36
  "@progress/kendo-drawing": "^1.17.0",
37
37
  "@progress/kendo-inputs-common": "^3.1.0",
38
38
  "@progress/kendo-licensing": "^1.0.2",
39
- "@progress/kendo-angular-buttons": "11.0.0-develop.95",
40
- "@progress/kendo-angular-common": "11.0.0-develop.95",
41
- "@progress/kendo-angular-dialog": "11.0.0-develop.95",
42
- "@progress/kendo-angular-intl": "11.0.0-develop.95",
43
- "@progress/kendo-angular-l10n": "11.0.0-develop.95",
44
- "@progress/kendo-angular-popup": "11.0.0-develop.95",
45
- "@progress/kendo-angular-schematics": "11.0.0-develop.95",
39
+ "@progress/kendo-angular-buttons": "11.0.0-develop.96",
40
+ "@progress/kendo-angular-common": "11.0.0-develop.96",
41
+ "@progress/kendo-angular-dialog": "11.0.0-develop.96",
42
+ "@progress/kendo-angular-intl": "11.0.0-develop.96",
43
+ "@progress/kendo-angular-l10n": "11.0.0-develop.96",
44
+ "@progress/kendo-angular-popup": "11.0.0-develop.96",
45
+ "@progress/kendo-angular-schematics": "11.0.0-develop.96",
46
+ "@progress/kendo-angular-icons": "11.0.0-develop.96",
46
47
  "rxjs": "^6.5.3 || ^7.0.0"
47
48
  },
48
49
  "dependencies": {
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
- const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'InputsModule', package: 'inputs' //package name, e.g grid
6
- });
5
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'InputsModule', package: 'inputs', peerDependencies: {
6
+ // peer dep of the icons
7
+ '@progress/kendo-svg-icons': '^1.0.0',
8
+ } });
7
9
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
8
10
  }
9
11
  exports.default = default_1;
@@ -7,6 +7,7 @@ import { ControlValueAccessor } from '@angular/forms';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { InputFillMode, InputRounded, InputSize } from '../common/models';
9
9
  import { SignatureCloseEvent, SignatureOpenEvent } from './events';
10
+ import { SVGIcon } from '@progress/kendo-svg-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
@@ -53,6 +54,10 @@ export declare class SignatureComponent implements ControlValueAccessor {
53
54
  */
54
55
  set value(value: string);
55
56
  get value(): string;
57
+ /**
58
+ * @hidden
59
+ */
60
+ svgIcon(name: string): SVGIcon;
56
61
  /**
57
62
  * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
58
63
  *
@@ -245,6 +250,9 @@ export declare class SignatureComponent implements ControlValueAccessor {
245
250
  * @hidden
246
251
  */
247
252
  get showClear(): boolean;
253
+ /**
254
+ * @hidden
255
+ */
248
256
  private get focused();
249
257
  private set focused(value);
250
258
  private get options();
@@ -9,6 +9,7 @@ import * as i3 from "./signature/localization/localized-signature-messages.direc
9
9
  import * as i4 from "@progress/kendo-angular-buttons";
10
10
  import * as i5 from "@angular/common";
11
11
  import * as i6 from "@progress/kendo-angular-dialog";
12
+ import * as i7 from "@progress/kendo-angular-icons";
12
13
  /**
13
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
15
  * definition for the Signature component.
@@ -42,6 +43,6 @@ import * as i6 from "@progress/kendo-angular-dialog";
42
43
  */
43
44
  export declare class SignatureModule {
44
45
  static ɵfac: i0.ɵɵFactoryDeclaration<SignatureModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<SignatureModule, [typeof i1.SignatureComponent, typeof i2.SignatureCustomMessagesComponent, typeof i3.LocalizedSignatureMessagesDirective], [typeof i4.ButtonModule, typeof i5.CommonModule, typeof i6.DialogsModule], [typeof i1.SignatureComponent, typeof i2.SignatureCustomMessagesComponent]>;
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]>;
46
47
  static ɵinj: i0.ɵɵInjectorDeclaration<SignatureModule>;
47
48
  }
@@ -6,6 +6,7 @@ import { AfterViewInit, Renderer2, ElementRef, OnChanges, OnDestroy, NgZone, Inj
6
6
  import { ControlValueAccessor } from '@angular/forms';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { SliderBase } from '../sliders-common/slider-base';
9
+ import { SVGIcon } from '@progress/kendo-svg-icons';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * Represents the [Kendo UI Slider component for Angular]({% slug overview_slider %}).
@@ -57,6 +58,22 @@ export declare class SliderComponent extends SliderBase implements AfterViewInit
57
58
  * @hidden
58
59
  */
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;
60
77
  draghandle: ElementRef;
61
78
  decreaseButton: ElementRef;
62
79
  increaseButton: ElementRef;
@@ -8,7 +8,9 @@ import * as i2 from "./slider/localization/custom-messages.component";
8
8
  import * as i3 from "./slider/localization/localized-slider-messages.directive";
9
9
  import * as i4 from "@angular/common";
10
10
  import * as i5 from "./sliders-common/sliders-common.module";
11
- import * as i6 from "./sliders-common/label-template.directive";
11
+ import * as i6 from "@progress/kendo-angular-icons";
12
+ import * as i7 from "@progress/kendo-angular-buttons";
13
+ import * as i8 from "./sliders-common/label-template.directive";
12
14
  /**
13
15
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
16
  * definition for the Slider component.
@@ -43,6 +45,6 @@ import * as i6 from "./sliders-common/label-template.directive";
43
45
  */
44
46
  export declare class SliderModule {
45
47
  static ɵfac: i0.ɵɵFactoryDeclaration<SliderModule, never>;
46
- static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof i1.SliderComponent, typeof i2.SliderCustomMessagesComponent, typeof i3.LocalizedSliderMessagesDirective], [typeof i4.CommonModule, typeof i5.SlidersCommonModule], [typeof i1.SliderComponent, typeof i2.SliderCustomMessagesComponent, typeof i6.LabelTemplateDirective, typeof i3.LocalizedSliderMessagesDirective]>;
48
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof i1.SliderComponent, typeof i2.SliderCustomMessagesComponent, typeof i3.LocalizedSliderMessagesDirective], [typeof i4.CommonModule, typeof i5.SlidersCommonModule, typeof i6.IconsModule, typeof i7.ButtonModule], [typeof i1.SliderComponent, typeof i2.SliderCustomMessagesComponent, typeof i8.LabelTemplateDirective, typeof i3.LocalizedSliderMessagesDirective]>;
47
49
  static ɵinj: i0.ɵɵInjectorDeclaration<SliderModule>;
48
50
  }
@@ -9,6 +9,7 @@ import { IconShowOptions } from './models/icon-show-options';
9
9
  import { TextBoxSuffixTemplateDirective } from './textbox-suffix.directive';
10
10
  import { TextBoxPrefixTemplateDirective } from './textbox-prefix.directive';
11
11
  import { LocalizationService } from '@progress/kendo-angular-l10n';
12
+ import { SVGIcon } from '@progress/kendo-angular-icons';
12
13
  import { InputSize, InputRounded, InputFillMode } from '../common/models';
13
14
  import * as i0 from "@angular/core";
14
15
  export declare class TextBoxComponent implements ControlValueAccessor {
@@ -237,6 +238,10 @@ export declare class TextBoxComponent implements ControlValueAccessor {
237
238
  ngAfterViewInit(): void;
238
239
  ngOnChanges(changes: SimpleChanges): void;
239
240
  ngOnDestroy(): void;
241
+ /**
242
+ * @hidden
243
+ */
244
+ svgIcon(name: string): SVGIcon;
240
245
  /**
241
246
  * Focuses the TextBox.
242
247
  *
@@ -317,6 +322,10 @@ export declare class TextBoxComponent implements ControlValueAccessor {
317
322
  * @hidden
318
323
  */
319
324
  get successIconClasses(): string;
325
+ /**
326
+ * @hidden
327
+ */
328
+ get customSuccessIconClasses(): string;
320
329
  /**
321
330
  * @hidden
322
331
  */
@@ -324,7 +333,15 @@ export declare class TextBoxComponent implements ControlValueAccessor {
324
333
  /**
325
334
  * @hidden
326
335
  */
327
- get clearButtonClasses(): string;
336
+ get customIconClasses(): string;
337
+ /**
338
+ * @hidden
339
+ */
340
+ get customClearButtonClasses(): string;
341
+ /**
342
+ * @hidden
343
+ */
344
+ get clearButtonClass(): string;
328
345
  /**
329
346
  * @hidden
330
347
  */
@@ -12,8 +12,9 @@ import * as i6 from "./textbox/localization/localized-textbox-messages.directive
12
12
  import * as i7 from "@angular/common";
13
13
  import * as i8 from "@progress/kendo-angular-common";
14
14
  import * as i9 from "./shared.module";
15
- import * as i10 from "./shared/input-separator.component";
16
- import * as i11 from "./shared/textarea.directive";
15
+ import * as i10 from "@progress/kendo-angular-icons";
16
+ import * as i11 from "./shared/input-separator.component";
17
+ import * as i12 from "./shared/textarea.directive";
17
18
  /**
18
19
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
19
20
  * definition for the TextBox directive.
@@ -47,6 +48,6 @@ import * as i11 from "./shared/textarea.directive";
47
48
  */
48
49
  export declare class TextBoxModule {
49
50
  static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxModule, never>;
50
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextBoxModule, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective], [typeof i7.CommonModule, typeof i8.EventsModule, typeof i9.SharedModule], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i8.EventsModule, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective, typeof i10.InputSeparatorComponent, typeof i11.TextAreaDirective]>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TextBoxModule, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective], [typeof i7.CommonModule, typeof i8.EventsModule, typeof i9.SharedModule, typeof i10.IconsModule], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i8.EventsModule, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective, typeof i11.InputSeparatorComponent, typeof i12.TextAreaDirective]>;
51
52
  static ɵinj: i0.ɵɵInjectorDeclaration<TextBoxModule>;
52
53
  }