@progress/kendo-angular-inputs 18.1.0-develop.19 → 18.1.0-develop.2
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/colorpicker/color-gradient.component.d.ts +1 -19
- package/colorpicker/color-input.component.d.ts +3 -15
- package/colorpicker/color-palette.component.d.ts +6 -16
- package/colorpicker/colorpicker.component.d.ts +8 -55
- package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -3
- package/colorpicker/flatcolorpicker-header.component.d.ts +1 -3
- package/colorpicker/flatcolorpicker.component.d.ts +1 -19
- package/colorpicker/localization/messages.d.ts +1 -9
- package/common/utils.d.ts +0 -4
- package/directives.d.ts +1 -7
- package/esm2022/colorpicker/color-gradient.component.mjs +17 -75
- package/esm2022/colorpicker/color-input.component.mjs +23 -56
- package/esm2022/colorpicker/color-palette.component.mjs +15 -45
- package/esm2022/colorpicker/colorpicker.component.mjs +41 -182
- package/esm2022/colorpicker/flatcolorpicker-actions.component.mjs +7 -22
- package/esm2022/colorpicker/flatcolorpicker-header.component.mjs +3 -8
- package/esm2022/colorpicker/flatcolorpicker.component.mjs +17 -72
- package/esm2022/colorpicker/localization/messages.mjs +1 -13
- package/esm2022/colorpicker/services/flatcolorpicker.service.mjs +3 -3
- package/esm2022/colorpicker.module.mjs +2 -3
- package/esm2022/common/utils.mjs +0 -4
- package/esm2022/directives.mjs +0 -10
- package/esm2022/index.mjs +0 -3
- package/esm2022/inputs.module.mjs +3 -6
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-inputs.mjs +965 -2703
- package/index.d.ts +0 -4
- package/inputs.module.d.ts +1 -3
- package/package.json +10 -12
- package/colorpicker/adaptiveness/adaptive-close-button.component.d.ts +0 -20
- package/colorpicker/adaptiveness/adaptive-renderer.component.d.ts +0 -38
- package/colorpicker/color-gradient-text-label.directive.d.ts +0 -19
- package/colorpicker/models/adaptive-mode.d.ts +0 -23
- package/esm2022/colorpicker/adaptiveness/adaptive-close-button.component.mjs +0 -62
- package/esm2022/colorpicker/adaptiveness/adaptive-renderer.component.mjs +0 -205
- package/esm2022/colorpicker/color-gradient-text-label.directive.mjs +0 -34
- package/esm2022/colorpicker/models/adaptive-mode.mjs +0 -27
- package/esm2022/otpinput/localization/custom-messages.component.mjs +0 -43
- package/esm2022/otpinput/localization/localized-textbox-messages.directive.mjs +0 -39
- package/esm2022/otpinput/localization/messages.mjs +0 -34
- package/esm2022/otpinput/models/otpinput-type.mjs +0 -5
- package/esm2022/otpinput/models/separator-icon.mjs +0 -5
- package/esm2022/otpinput/otpinput-separator.component.mjs +0 -83
- package/esm2022/otpinput/otpinput.component.mjs +0 -930
- package/otpinput/localization/custom-messages.component.d.ts +0 -17
- package/otpinput/localization/localized-textbox-messages.directive.d.ts +0 -16
- package/otpinput/localization/messages.d.ts +0 -24
- package/otpinput/models/otpinput-type.d.ts +0 -10
- package/otpinput/models/separator-icon.d.ts +0 -12
- package/otpinput/otpinput-separator.component.d.ts +0 -25
- package/otpinput/otpinput.component.d.ts +0 -284
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
6
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class OTPInputMessages extends ComponentMessages {
|
|
12
|
-
/**
|
|
13
|
-
* The aria-label of the OTP Input. Follows the pattern **Input {currentInput} of {totalInputs}, current value {value}** by default.
|
|
14
|
-
* Тhe default label text when the current input is 1, and the total number of inputs is 4 will be
|
|
15
|
-
* **Input 1 of 4, current value null**.
|
|
16
|
-
*
|
|
17
|
-
* The message consists of several parts - the current input number, the total number of inputs, the current value and a localizable string.
|
|
18
|
-
* To allow for reordering its parts, the `ariaLabel` input accepts a string with placeholders for the current input,
|
|
19
|
-
* total number of inputs and current value. The `{currentInput}`, `{totalInputs}` and `{currentValue}` placeholders will be
|
|
20
|
-
* replaced internally with the respective actual values.
|
|
21
|
-
*/
|
|
22
|
-
ariaLabel;
|
|
23
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: OTPInputMessages, selector: "kendo-otpinput-messages-base", inputs: { ariaLabel: "ariaLabel" }, usesInheritance: true, ngImport: i0 });
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputMessages, decorators: [{
|
|
27
|
-
type: Directive,
|
|
28
|
-
args: [{
|
|
29
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
30
|
-
selector: 'kendo-otpinput-messages-base'
|
|
31
|
-
}]
|
|
32
|
-
}], propDecorators: { ariaLabel: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}] } });
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input } from "@angular/core";
|
|
6
|
-
import { NgClass, NgIf } from "@angular/common";
|
|
7
|
-
import { IconWrapperComponent } from "@progress/kendo-angular-icons";
|
|
8
|
-
import { isPresent } from "@progress/kendo-angular-common";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export class OTPInputSeparatorComponent {
|
|
14
|
-
set separator(otpSeparator) {
|
|
15
|
-
this._separator = otpSeparator;
|
|
16
|
-
this.clearSeparator();
|
|
17
|
-
if (!isPresent(otpSeparator)) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
if (typeof otpSeparator === 'string') {
|
|
21
|
-
this.hasText = true;
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if (typeof otpSeparator.value !== 'string') {
|
|
25
|
-
this.hasSVGIcon = otpSeparator?.type === 'svgIcon';
|
|
26
|
-
this.separatorSVGIcon = otpSeparator.value;
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
this.hasIconClass = otpSeparator?.type === 'iconClass';
|
|
30
|
-
this.hasFontIcon = otpSeparator?.type === 'fontIcon';
|
|
31
|
-
this.separatorIconString = otpSeparator.value;
|
|
32
|
-
}
|
|
33
|
-
get separator() {
|
|
34
|
-
return this._separator;
|
|
35
|
-
}
|
|
36
|
-
wrapperClass = true;
|
|
37
|
-
hasText;
|
|
38
|
-
hasIconClass;
|
|
39
|
-
hasSVGIcon;
|
|
40
|
-
hasFontIcon;
|
|
41
|
-
separatorIconString;
|
|
42
|
-
separatorSVGIcon;
|
|
43
|
-
_separator;
|
|
44
|
-
clearSeparator() {
|
|
45
|
-
this.hasText = false;
|
|
46
|
-
this.hasFontIcon = false;
|
|
47
|
-
this.hasIconClass = false;
|
|
48
|
-
this.hasSVGIcon = false;
|
|
49
|
-
}
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: OTPInputSeparatorComponent, isStandalone: true, selector: "kendo-otpinput-separator", inputs: { separator: "separator" }, host: { properties: { "class.k-otp-separator": "this.wrapperClass" } }, exportAs: ["kendoOTPInputSeparator"], ngImport: i0, template: `
|
|
52
|
-
<ng-container *ngIf="hasText">{{this.separator}}</ng-container>
|
|
53
|
-
<span *ngIf="hasIconClass" [ngClass]="separatorIconString"></span>
|
|
54
|
-
<kendo-icon-wrapper
|
|
55
|
-
*ngIf="hasFontIcon || hasSVGIcon"
|
|
56
|
-
[name]="separatorIconString"
|
|
57
|
-
[svgIcon]="separatorSVGIcon"
|
|
58
|
-
></kendo-icon-wrapper>
|
|
59
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
60
|
-
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputSeparatorComponent, decorators: [{
|
|
62
|
-
type: Component,
|
|
63
|
-
args: [{
|
|
64
|
-
exportAs: 'kendoOTPInputSeparator',
|
|
65
|
-
selector: 'kendo-otpinput-separator',
|
|
66
|
-
template: `
|
|
67
|
-
<ng-container *ngIf="hasText">{{this.separator}}</ng-container>
|
|
68
|
-
<span *ngIf="hasIconClass" [ngClass]="separatorIconString"></span>
|
|
69
|
-
<kendo-icon-wrapper
|
|
70
|
-
*ngIf="hasFontIcon || hasSVGIcon"
|
|
71
|
-
[name]="separatorIconString"
|
|
72
|
-
[svgIcon]="separatorSVGIcon"
|
|
73
|
-
></kendo-icon-wrapper>
|
|
74
|
-
`,
|
|
75
|
-
standalone: true,
|
|
76
|
-
imports: [NgIf, NgClass, IconWrapperComponent]
|
|
77
|
-
}]
|
|
78
|
-
}], propDecorators: { separator: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], wrapperClass: [{
|
|
81
|
-
type: HostBinding,
|
|
82
|
-
args: ['class.k-otp-separator']
|
|
83
|
-
}] } });
|