@progress/kendo-angular-inputs 9.0.4-dev.202208010852 → 9.1.0-sig.202208231615
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/bundles/kendo-angular-inputs.umd.js +1 -1
- package/colorpicker/colorpicker.component.d.ts +1 -1
- package/common/utils.d.ts +21 -0
- package/esm2015/colorpicker/color-gradient.component.js +2 -2
- package/esm2015/colorpicker/color-input.component.js +2 -2
- package/esm2015/colorpicker/colorpicker.component.js +2 -2
- package/esm2015/colorpicker/contrast-validation.component.js +2 -2
- package/esm2015/colorpicker/contrast.component.js +2 -2
- package/esm2015/colorpicker/flatcolorpicker-header.component.js +2 -2
- package/esm2015/common/utils.js +16 -6
- package/esm2015/inputs.module.js +7 -3
- package/esm2015/main.js +4 -0
- package/esm2015/numerictextbox/numerictextbox.component.js +4 -4
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/signature/events/close-event.js +10 -0
- package/esm2015/signature/events/index.js +6 -0
- package/esm2015/signature/events/open-event.js +10 -0
- package/esm2015/signature/localization/custom-messages.component.js +40 -0
- package/esm2015/signature/localization/index.js +7 -0
- package/esm2015/signature/localization/localized-signature-messages.directive.js +36 -0
- package/esm2015/signature/localization/messages.js +27 -0
- package/esm2015/signature/signature.component.js +711 -0
- package/esm2015/signature.module.js +64 -0
- package/esm2015/slider/slider.component.js +8 -8
- package/esm2015/textbox/textbox.component.js +1 -1
- package/fesm2015/kendo-angular-inputs.js +942 -82
- package/inputs.module.d.ts +2 -1
- package/main.d.ts +4 -0
- package/package.json +6 -4
- 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 +25 -0
- package/signature/signature.component.d.ts +307 -0
- package/signature.module.d.ts +46 -0
package/inputs.module.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import * as i9 from "./colorpicker.module";
|
|
|
15
15
|
import * as i10 from "./checkbox.module";
|
|
16
16
|
import * as i11 from "./radiobutton.module";
|
|
17
17
|
import * as i12 from "./formfield.module";
|
|
18
|
+
import * as i13 from "./signature.module";
|
|
18
19
|
/**
|
|
19
20
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
20
21
|
* definition for the Inputs components.
|
|
@@ -49,6 +50,6 @@ import * as i12 from "./formfield.module";
|
|
|
49
50
|
*/
|
|
50
51
|
export declare class InputsModule {
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
52
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.CommonModule], [typeof i2.TextAreaModule, typeof i3.TextBoxModule, typeof i4.SliderModule, typeof i5.RangeSliderModule, typeof i6.SwitchModule, typeof i7.NumericTextBoxModule, typeof i8.MaskedTextBoxModule, typeof i9.ColorPickerModule, typeof i10.CheckBoxModule, typeof i11.RadioButtonModule, typeof i12.FormFieldModule]>;
|
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.CommonModule], [typeof i2.TextAreaModule, typeof i3.TextBoxModule, typeof i4.SliderModule, typeof i5.RangeSliderModule, typeof i6.SwitchModule, typeof i7.NumericTextBoxModule, typeof i8.MaskedTextBoxModule, typeof i9.ColorPickerModule, typeof i10.CheckBoxModule, typeof i11.RadioButtonModule, typeof i12.FormFieldModule, typeof i13.SignatureModule]>;
|
|
53
54
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
54
55
|
}
|
package/main.d.ts
CHANGED
|
@@ -67,3 +67,7 @@ export { RangeSliderCustomMessagesComponent } from './rangeslider/localization/c
|
|
|
67
67
|
export { SwitchCustomMessagesComponent } from './switch/localization/custom-messages.component';
|
|
68
68
|
export { TextBoxCustomMessagesComponent } from './textbox/localization/custom-messages.component';
|
|
69
69
|
export { ColorPickerCustomMessagesComponent } from './colorpicker/localization/custom-messages.component';
|
|
70
|
+
export { SignatureComponent } from './signature/signature.component';
|
|
71
|
+
export { SignatureModule } from './signature.module';
|
|
72
|
+
export { SignatureOpenEvent, SignatureCloseEvent } from './signature/events';
|
|
73
|
+
export { SignatureCustomMessagesComponent, LocalizedSignatureMessagesDirective, SignatureMessages } from './signature/localization';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0-sig.202208231615",
|
|
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",
|
|
@@ -31,9 +31,10 @@
|
|
|
31
31
|
"friendlyName": "Inputs"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@progress/kendo-common": "^0.2.
|
|
35
|
-
"@progress/kendo-schematics": "^3.0.0",
|
|
34
|
+
"@progress/kendo-common": "^0.2.2",
|
|
36
35
|
"@progress/kendo-draggable": "^3.0.0",
|
|
36
|
+
"@progress/kendo-inputs-common": "dev",
|
|
37
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
37
38
|
"tslib": "^2.3.1"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
@@ -42,10 +43,11 @@
|
|
|
42
43
|
"@angular/core": "12 - 14",
|
|
43
44
|
"@angular/forms": "12 - 14",
|
|
44
45
|
"@progress/kendo-angular-common": "^3.0.0",
|
|
46
|
+
"@progress/kendo-angular-dialog": "^7.0.0",
|
|
45
47
|
"@progress/kendo-angular-intl": "^4.0.0",
|
|
46
48
|
"@progress/kendo-angular-l10n": "^4.0.0",
|
|
47
49
|
"@progress/kendo-angular-popup": "^5.0.0",
|
|
48
|
-
"@progress/kendo-drawing": "^1.
|
|
50
|
+
"@progress/kendo-drawing": "^1.17.0",
|
|
49
51
|
"@progress/kendo-licensing": "^1.0.2",
|
|
50
52
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
51
53
|
},
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 Signature component.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SignatureCloseEvent extends PreventableEvent {
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 './close-event';
|
|
6
|
+
export * from './open-event';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 Signature component.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SignatureOpenEvent extends PreventableEvent {
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 { SignatureMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SignatureCustomMessagesComponent extends SignatureMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureCustomMessagesComponent, "kendo-signature-messages", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { SignatureCustomMessagesComponent } from './custom-messages.component';
|
|
6
|
+
export { LocalizedSignatureMessagesDirective } from './localized-signature-messages.directive';
|
|
7
|
+
export { SignatureMessages } from './messages';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 { SignatureMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedSignatureMessagesDirective extends SignatureMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedSignatureMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedSignatureMessagesDirective, "[kendoSignatureLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class SignatureMessages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The title of the Clear button of the Signature.
|
|
13
|
+
*/
|
|
14
|
+
clear: string;
|
|
15
|
+
/**
|
|
16
|
+
* The title of the Minimize button of the Signature.
|
|
17
|
+
*/
|
|
18
|
+
minimize: string;
|
|
19
|
+
/**
|
|
20
|
+
* The title of the Maximize button of the Signature.
|
|
21
|
+
*/
|
|
22
|
+
maximize: string;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureMessages, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SignatureMessages, "kendo-signature-messages-base", never, { "clear": "clear"; "minimize": "minimize"; "maximize": "maximize"; }, {}, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { InputFillMode, InputRounded, InputSize } from '../common/models';
|
|
9
|
+
import { SignatureCloseEvent, SignatureOpenEvent } from './events';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
|
|
13
|
+
*
|
|
14
|
+
* The Signature allows users to add a hand-drawn signature to forms.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SignatureComponent implements ControlValueAccessor {
|
|
17
|
+
private element;
|
|
18
|
+
private renderer;
|
|
19
|
+
private ngZone;
|
|
20
|
+
localization: LocalizationService;
|
|
21
|
+
staticHostClasses: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the read-only state of the Signature.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
readonly: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the disabled state of the Signature.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the value of the signature.
|
|
36
|
+
*
|
|
37
|
+
* The value is a Base64-encoded PNG image.
|
|
38
|
+
*/
|
|
39
|
+
set value(value: string);
|
|
40
|
+
get value(): string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
43
|
+
*
|
|
44
|
+
* @default 0
|
|
45
|
+
*/
|
|
46
|
+
set tabindex(value: number);
|
|
47
|
+
get tabindex(): number;
|
|
48
|
+
/**
|
|
49
|
+
* The size property specifies the padding of the Signature internal controls
|
|
50
|
+
* ([see example]({% slug appearance_signature %}#toc-size)).
|
|
51
|
+
*
|
|
52
|
+
* The possible values are:
|
|
53
|
+
* * `small`
|
|
54
|
+
* * `medium` (default)
|
|
55
|
+
* * `large`
|
|
56
|
+
* * `none`
|
|
57
|
+
*/
|
|
58
|
+
size: InputSize;
|
|
59
|
+
/**
|
|
60
|
+
* The rounded property specifies the border radius of the signature
|
|
61
|
+
* ([see example]({% slug appearance_signature %}#toc-rounded)).
|
|
62
|
+
*
|
|
63
|
+
* The possible values are:
|
|
64
|
+
* * `small`
|
|
65
|
+
* * `medium` (default)
|
|
66
|
+
* * `large`
|
|
67
|
+
* * `full`
|
|
68
|
+
* * `none`
|
|
69
|
+
*/
|
|
70
|
+
rounded: InputRounded;
|
|
71
|
+
/**
|
|
72
|
+
* The fillMode property specifies the background and border styles of the signature
|
|
73
|
+
* ([see example]({% slug appearance_signature %}#toc-fillMode)).
|
|
74
|
+
*
|
|
75
|
+
* The possible values are:
|
|
76
|
+
* * `flat`
|
|
77
|
+
* * `solid` (default)
|
|
78
|
+
* * `outline`
|
|
79
|
+
* * `none`
|
|
80
|
+
*/
|
|
81
|
+
fillMode: InputFillMode;
|
|
82
|
+
/**
|
|
83
|
+
* The stroke color of the signature.
|
|
84
|
+
*
|
|
85
|
+
* Accepts CSS color names and hex values.
|
|
86
|
+
*
|
|
87
|
+
* @default '#000000'
|
|
88
|
+
*/
|
|
89
|
+
color: string;
|
|
90
|
+
/**
|
|
91
|
+
* The stroke width of the signature.
|
|
92
|
+
*
|
|
93
|
+
* @default 1
|
|
94
|
+
*/
|
|
95
|
+
strokeWidth: number;
|
|
96
|
+
/**
|
|
97
|
+
* A flag indicating whether to smooth out signature lines.
|
|
98
|
+
*
|
|
99
|
+
* @default false
|
|
100
|
+
*/
|
|
101
|
+
smooth: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* A flag indicating if the signature can be maximized.
|
|
104
|
+
*
|
|
105
|
+
* @default true
|
|
106
|
+
*/
|
|
107
|
+
maximizable: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @hidden
|
|
110
|
+
*/
|
|
111
|
+
maximized: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* The scale factor for the popup.
|
|
114
|
+
*
|
|
115
|
+
* The Signature width and height will be multiplied by the scale when showing the popup.
|
|
116
|
+
*
|
|
117
|
+
* @default 3
|
|
118
|
+
*/
|
|
119
|
+
popupScale: number;
|
|
120
|
+
/**
|
|
121
|
+
* @hidden
|
|
122
|
+
*/
|
|
123
|
+
parentLocalization: LocalizationService;
|
|
124
|
+
/**
|
|
125
|
+
* A flag indicating whether the dotted line should be displayed in the background.
|
|
126
|
+
*
|
|
127
|
+
* @default false
|
|
128
|
+
*/
|
|
129
|
+
hideLine: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Sets the width of the signature in pixels.
|
|
132
|
+
*
|
|
133
|
+
* The width can also be set using inline styles and CSS.
|
|
134
|
+
*/
|
|
135
|
+
width: number;
|
|
136
|
+
/**
|
|
137
|
+
* @hidden
|
|
138
|
+
*/
|
|
139
|
+
get popupWidth(): number;
|
|
140
|
+
/**
|
|
141
|
+
* The height of the signature in pixels.
|
|
142
|
+
*
|
|
143
|
+
* The height can also be set using inline styles and CSS.
|
|
144
|
+
*/
|
|
145
|
+
height: number;
|
|
146
|
+
/**
|
|
147
|
+
* @hidden
|
|
148
|
+
*/
|
|
149
|
+
get popupHeight(): number;
|
|
150
|
+
direction: string;
|
|
151
|
+
/**
|
|
152
|
+
* Fires each time the signature value is changed.
|
|
153
|
+
*/
|
|
154
|
+
valueChange: EventEmitter<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Fires each time the popup is about to open.
|
|
157
|
+
* This event is preventable. If you cancel it, the popup will remain closed.
|
|
158
|
+
*/
|
|
159
|
+
open: EventEmitter<SignatureOpenEvent>;
|
|
160
|
+
/**
|
|
161
|
+
* Fires each time the popup is about to close.
|
|
162
|
+
* This event is preventable. If you cancel it, the popup will remain open.
|
|
163
|
+
*/
|
|
164
|
+
close: EventEmitter<SignatureCloseEvent>;
|
|
165
|
+
/**
|
|
166
|
+
* Fires each time Signature is focused.
|
|
167
|
+
*/
|
|
168
|
+
onFocus: EventEmitter<any>;
|
|
169
|
+
/**
|
|
170
|
+
* Fires each time the Signature is blurred.
|
|
171
|
+
*/
|
|
172
|
+
onBlur: EventEmitter<any>;
|
|
173
|
+
/**
|
|
174
|
+
* @hidden
|
|
175
|
+
*/
|
|
176
|
+
minimize: EventEmitter<void>;
|
|
177
|
+
canvas: ElementRef;
|
|
178
|
+
/**
|
|
179
|
+
* Indicates whether the Signature wrapper is focused.
|
|
180
|
+
*/
|
|
181
|
+
isFocused: boolean;
|
|
182
|
+
get focusedClass(): boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Indicates whether the Signature popup is open.
|
|
185
|
+
*/
|
|
186
|
+
isOpen: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* @hidden
|
|
189
|
+
*/
|
|
190
|
+
get isEmpty(): boolean;
|
|
191
|
+
/**
|
|
192
|
+
* @hidden
|
|
193
|
+
*/
|
|
194
|
+
get clearTitle(): string;
|
|
195
|
+
/**
|
|
196
|
+
* @hidden
|
|
197
|
+
*/
|
|
198
|
+
get minimizeTitle(): string;
|
|
199
|
+
/**
|
|
200
|
+
* @hidden
|
|
201
|
+
*/
|
|
202
|
+
get maximizeTitle(): string;
|
|
203
|
+
private get options();
|
|
204
|
+
private instance;
|
|
205
|
+
/**
|
|
206
|
+
* @hidden
|
|
207
|
+
*/
|
|
208
|
+
isDrawing: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* @hidden
|
|
211
|
+
*/
|
|
212
|
+
get showMaximize(): boolean;
|
|
213
|
+
/**
|
|
214
|
+
* @hidden
|
|
215
|
+
*/
|
|
216
|
+
get showMinimize(): boolean;
|
|
217
|
+
/**
|
|
218
|
+
* @hidden
|
|
219
|
+
*/
|
|
220
|
+
get showClear(): boolean;
|
|
221
|
+
private notifyNgTouched;
|
|
222
|
+
private notifyNgChanged;
|
|
223
|
+
private _value;
|
|
224
|
+
private _tabindex;
|
|
225
|
+
private subscriptions;
|
|
226
|
+
private unsubscribe;
|
|
227
|
+
private hostClasses;
|
|
228
|
+
constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone, localization: LocalizationService);
|
|
229
|
+
ngOnInit(): void;
|
|
230
|
+
ngAfterViewInit(): void;
|
|
231
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
232
|
+
ngOnDestroy(): void;
|
|
233
|
+
/**
|
|
234
|
+
* @hidden
|
|
235
|
+
*/
|
|
236
|
+
onClear(): void;
|
|
237
|
+
/**
|
|
238
|
+
* @hidden
|
|
239
|
+
*/
|
|
240
|
+
onValueChange(): Promise<void>;
|
|
241
|
+
/**
|
|
242
|
+
* @hidden
|
|
243
|
+
*/
|
|
244
|
+
onDialogValueChange(value: string): void;
|
|
245
|
+
/**
|
|
246
|
+
* @hidden
|
|
247
|
+
*/
|
|
248
|
+
onDialogClose(): void;
|
|
249
|
+
/**
|
|
250
|
+
* Clears the value of the Signature.
|
|
251
|
+
*/
|
|
252
|
+
reset(): void;
|
|
253
|
+
/**
|
|
254
|
+
* Toggles the popup of the Signature.
|
|
255
|
+
* Does not trigger the `open` and `close` events of the component.
|
|
256
|
+
*
|
|
257
|
+
* @param open An optional parameter. Specifies whether the popup will be opened or closed.
|
|
258
|
+
*/
|
|
259
|
+
toggle(open?: boolean): void;
|
|
260
|
+
/**
|
|
261
|
+
* @hidden
|
|
262
|
+
*/
|
|
263
|
+
onMaximize(): void;
|
|
264
|
+
/**
|
|
265
|
+
* @hidden
|
|
266
|
+
*/
|
|
267
|
+
onMinimize(): void;
|
|
268
|
+
private applyHostClasses;
|
|
269
|
+
/**
|
|
270
|
+
* Focuses the wrapper of the Signature.
|
|
271
|
+
*/
|
|
272
|
+
focus(): void;
|
|
273
|
+
/**
|
|
274
|
+
* @hidden
|
|
275
|
+
*/
|
|
276
|
+
onWrapperFocus(): void;
|
|
277
|
+
/**
|
|
278
|
+
* Blurs the Signature.
|
|
279
|
+
*/
|
|
280
|
+
blur(): void;
|
|
281
|
+
/**
|
|
282
|
+
* @hidden
|
|
283
|
+
*/
|
|
284
|
+
onWrapperBlur(): void;
|
|
285
|
+
/**
|
|
286
|
+
* @hidden
|
|
287
|
+
*/
|
|
288
|
+
onWrapperClick(_event: MouseEvent): void;
|
|
289
|
+
/**
|
|
290
|
+
* @hidden
|
|
291
|
+
*/
|
|
292
|
+
writeValue(value: string): void;
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*/
|
|
296
|
+
registerOnChange(fn: any): void;
|
|
297
|
+
/**
|
|
298
|
+
* @hidden
|
|
299
|
+
*/
|
|
300
|
+
registerOnTouched(fn: any): void;
|
|
301
|
+
private onDraw;
|
|
302
|
+
private onDrawEnd;
|
|
303
|
+
private addEventListeners;
|
|
304
|
+
private getMessage;
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureComponent, never>;
|
|
306
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureComponent, "kendo-signature", ["kendoSignature"], { "readonly": "readonly"; "disabled": "disabled"; "value": "value"; "tabindex": "tabindex"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "color": "color"; "strokeWidth": "strokeWidth"; "smooth": "smooth"; "maximizable": "maximizable"; "maximized": "maximized"; "popupScale": "popupScale"; "parentLocalization": "parentLocalization"; "hideLine": "hideLine"; "width": "width"; "height": "height"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "minimize": "minimize"; }, never, never>;
|
|
307
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./signature/signature.component";
|
|
7
|
+
import * as i2 from "./signature/localization/custom-messages.component";
|
|
8
|
+
import * as i3 from "./signature/localization/localized-signature-messages.directive";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
import * as i5 from "@progress/kendo-angular-dialog";
|
|
11
|
+
/**
|
|
12
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
13
|
+
* definition for the MaskedTextBox component.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
*
|
|
17
|
+
* ```ts-no-run
|
|
18
|
+
* // Import the MaskedTextBox module
|
|
19
|
+
* import { MaskedTextBoxModule } from '@progress/kendo-angular-inputs';
|
|
20
|
+
*
|
|
21
|
+
* // The browser platform with a compiler
|
|
22
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
23
|
+
*
|
|
24
|
+
* import { NgModule } from '@angular/core';
|
|
25
|
+
*
|
|
26
|
+
* // Import the app component
|
|
27
|
+
* import { AppComponent } from './app.component';
|
|
28
|
+
*
|
|
29
|
+
* // Define the app module
|
|
30
|
+
* _@NgModule({
|
|
31
|
+
* declarations: [AppComponent], // declare app component
|
|
32
|
+
* imports: [BrowserModule, MaskedTextBoxModule], // import MaskedTextBox module
|
|
33
|
+
* bootstrap: [AppComponent]
|
|
34
|
+
* })
|
|
35
|
+
* export class AppModule {}
|
|
36
|
+
*
|
|
37
|
+
* // Compile and launch the module
|
|
38
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class SignatureModule {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureModule, never>;
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SignatureModule, [typeof i1.SignatureComponent, typeof i2.SignatureCustomMessagesComponent, typeof i3.LocalizedSignatureMessagesDirective], [typeof i4.CommonModule, typeof i5.DialogsModule], [typeof i1.SignatureComponent, typeof i2.SignatureCustomMessagesComponent]>;
|
|
45
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SignatureModule>;
|
|
46
|
+
}
|