@progress/kendo-angular-inputs 9.0.4 → 9.1.0-sig.202208261045
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 +767 -0
- package/esm2015/signature.module.js +75 -0
- package/esm2015/slider/slider.component.js +8 -8
- package/esm2015/textbox/textbox.component.js +1 -1
- package/fesm2015/kendo-angular-inputs.js +1010 -83
- package/inputs.module.d.ts +2 -1
- package/main.d.ts +4 -0
- package/package.json +7 -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 +317 -0
- package/signature.module.d.ts +47 -0
|
@@ -99,7 +99,7 @@ export declare class ColorPickerComponent implements OnInit, AfterViewInit, OnCh
|
|
|
99
99
|
* Defines the name of an [existing icon in the Kendo UI theme]({% slug icons %}).
|
|
100
100
|
* Provide only the name of the icon without the `k-icon` or the `k-i-` prefixes.
|
|
101
101
|
*
|
|
102
|
-
* For example, `
|
|
102
|
+
* For example, `pencil-tools` will be parsed to `k-icon k-i-pencil-tools`.
|
|
103
103
|
*/
|
|
104
104
|
icon: string;
|
|
105
105
|
/**
|
package/common/utils.d.ts
CHANGED
|
@@ -27,6 +27,27 @@ export declare const requiresZoneOnBlur: (ngControl: any) => any;
|
|
|
27
27
|
* @param max The inclusive upper bound number.
|
|
28
28
|
*/
|
|
29
29
|
export declare const fitIntoBounds: (contender: number, min: number, max: number) => number;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const SIZE_MAP: {
|
|
34
|
+
small: string;
|
|
35
|
+
medium: string;
|
|
36
|
+
large: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export declare const ROUNDED_MAP: {
|
|
42
|
+
small: string;
|
|
43
|
+
medium: string;
|
|
44
|
+
large: string;
|
|
45
|
+
full: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
export declare const isNone: (style: string) => boolean;
|
|
30
51
|
/**
|
|
31
52
|
* @hidden
|
|
32
53
|
*
|
|
@@ -577,7 +577,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
577
577
|
[attr.aria-label]="clearButtonTitle"
|
|
578
578
|
[attr.title]="clearButtonTitle"
|
|
579
579
|
tabindex="0">
|
|
580
|
-
<span class="k-icon k-i-
|
|
580
|
+
<span class="k-icon k-i-droplet-slash"></span>
|
|
581
581
|
</span>
|
|
582
582
|
<kendo-slider
|
|
583
583
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
@@ -716,7 +716,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
716
716
|
[attr.aria-label]="clearButtonTitle"
|
|
717
717
|
[attr.title]="clearButtonTitle"
|
|
718
718
|
tabindex="0">
|
|
719
|
-
<span class="k-icon k-i-
|
|
719
|
+
<span class="k-icon k-i-droplet-slash"></span>
|
|
720
720
|
</span>
|
|
721
721
|
<kendo-slider
|
|
722
722
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
@@ -127,7 +127,7 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
127
127
|
[attr.title]="formatButtonTitle"
|
|
128
128
|
type="button"
|
|
129
129
|
>
|
|
130
|
-
<span class="k-button-icon k-icon k-i-
|
|
130
|
+
<span class="k-button-icon k-icon k-i-caret-alt-expand"></span>
|
|
131
131
|
</button>
|
|
132
132
|
</div>
|
|
133
133
|
<div *ngIf="formatView === 'hex'" class="k-vstack">
|
|
@@ -227,7 +227,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
227
227
|
[attr.title]="formatButtonTitle"
|
|
228
228
|
type="button"
|
|
229
229
|
>
|
|
230
|
-
<span class="k-button-icon k-icon k-i-
|
|
230
|
+
<span class="k-button-icon k-icon k-i-caret-alt-expand"></span>
|
|
231
231
|
</button>
|
|
232
232
|
</div>
|
|
233
233
|
<div *ngIf="formatView === 'hex'" class="k-vstack">
|
|
@@ -738,7 +738,7 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
738
738
|
tabindex="-1"
|
|
739
739
|
type="button"
|
|
740
740
|
class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button">
|
|
741
|
-
<span class="k-button-icon k-icon k-i-
|
|
741
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
742
742
|
</button>
|
|
743
743
|
<ng-template #popupTemplate>
|
|
744
744
|
<kendo-flatcolorpicker
|
|
@@ -831,7 +831,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
831
831
|
tabindex="-1"
|
|
832
832
|
type="button"
|
|
833
833
|
class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button">
|
|
834
|
-
<span class="k-button-icon k-icon k-i-
|
|
834
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
835
835
|
</button>
|
|
836
836
|
<ng-template #popupTemplate>
|
|
837
837
|
<kendo-flatcolorpicker
|
|
@@ -35,7 +35,7 @@ ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
35
35
|
</span>
|
|
36
36
|
<span class="k-contrast-validation k-text-error" *ngIf="!pass">
|
|
37
37
|
{{failMessage}}
|
|
38
|
-
<span class="k-icon k-i-
|
|
38
|
+
<span class="k-icon k-i-x"></span>
|
|
39
39
|
</span>
|
|
40
40
|
</ng-container>
|
|
41
41
|
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
@@ -53,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
53
53
|
</span>
|
|
54
54
|
<span class="k-contrast-validation k-text-error" *ngIf="!pass">
|
|
55
55
|
{{failMessage}}
|
|
56
|
-
<span class="k-icon k-i-
|
|
56
|
+
<span class="k-icon k-i-x"></span>
|
|
57
57
|
</span>
|
|
58
58
|
</ng-container>
|
|
59
59
|
`
|
|
@@ -43,7 +43,7 @@ ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
43
43
|
<span class="k-icon k-i-check" *ngIf="satisfiesAAACondition"></span>
|
|
44
44
|
</span>
|
|
45
45
|
<span class="k-contrast-validation k-text-error" *ngIf="!satisfiesAACondition">
|
|
46
|
-
<span class="k-icon k-i-
|
|
46
|
+
<span class="k-icon k-i-x"></span>
|
|
47
47
|
</span>
|
|
48
48
|
</ng-container>
|
|
49
49
|
</div>
|
|
@@ -72,7 +72,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
72
72
|
<span class="k-icon k-i-check" *ngIf="satisfiesAAACondition"></span>
|
|
73
73
|
</span>
|
|
74
74
|
<span class="k-contrast-validation k-text-error" *ngIf="!satisfiesAACondition">
|
|
75
|
-
<span class="k-icon k-i-
|
|
75
|
+
<span class="k-icon k-i-x"></span>
|
|
76
76
|
</span>
|
|
77
77
|
</ng-container>
|
|
78
78
|
</div>
|
|
@@ -61,7 +61,7 @@ FlatColorPickerHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
61
61
|
[attr.aria-label]="getText('clearButton')"
|
|
62
62
|
[attr.title]="getText('clearButton')"
|
|
63
63
|
(click)="clearButtonClick.emit()">
|
|
64
|
-
<span class="k-button-icon k-icon k-i-
|
|
64
|
+
<span class="k-button-icon k-icon k-i-droplet-slash"></span>
|
|
65
65
|
</button>
|
|
66
66
|
<div class="k-coloreditor-preview k-vstack" *ngIf="preview">
|
|
67
67
|
<span
|
|
@@ -111,7 +111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
111
111
|
[attr.aria-label]="getText('clearButton')"
|
|
112
112
|
[attr.title]="getText('clearButton')"
|
|
113
113
|
(click)="clearButtonClick.emit()">
|
|
114
|
-
<span class="k-button-icon k-icon k-i-
|
|
114
|
+
<span class="k-button-icon k-icon k-i-droplet-slash"></span>
|
|
115
115
|
</button>
|
|
116
116
|
<div class="k-coloreditor-preview k-vstack" *ngIf="preview">
|
|
117
117
|
<span
|
package/esm2015/common/utils.js
CHANGED
|
@@ -32,17 +32,27 @@ export const fitIntoBounds = (contender, min, max) => {
|
|
|
32
32
|
}
|
|
33
33
|
return contender <= min ? min : contender >= max ? max : contender;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export const SIZE_MAP = {
|
|
36
39
|
small: 'sm',
|
|
37
40
|
medium: 'md',
|
|
38
41
|
large: 'lg'
|
|
39
42
|
};
|
|
40
|
-
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
46
|
+
export const ROUNDED_MAP = {
|
|
41
47
|
small: 'sm',
|
|
42
48
|
medium: 'md',
|
|
43
49
|
large: 'lg',
|
|
44
50
|
full: 'full'
|
|
45
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
export const isNone = (style) => style === 'none';
|
|
46
56
|
/**
|
|
47
57
|
* @hidden
|
|
48
58
|
*
|
|
@@ -52,13 +62,13 @@ export const getStylingClasses = (componentType, stylingOption, previousValue, n
|
|
|
52
62
|
switch (stylingOption) {
|
|
53
63
|
case 'size':
|
|
54
64
|
return {
|
|
55
|
-
toRemove: `k-${componentType}-${
|
|
56
|
-
toAdd: newValue !== 'none' ? `k-${componentType}-${
|
|
65
|
+
toRemove: `k-${componentType}-${SIZE_MAP[previousValue]}`,
|
|
66
|
+
toAdd: newValue !== 'none' ? `k-${componentType}-${SIZE_MAP[newValue]}` : ''
|
|
57
67
|
};
|
|
58
68
|
case 'rounded':
|
|
59
69
|
return {
|
|
60
|
-
toRemove: `k-rounded-${
|
|
61
|
-
toAdd: newValue !== 'none' ? `k-rounded-${
|
|
70
|
+
toRemove: `k-rounded-${ROUNDED_MAP[previousValue]}`,
|
|
71
|
+
toAdd: newValue !== 'none' ? `k-rounded-${ROUNDED_MAP[newValue]}` : ''
|
|
62
72
|
};
|
|
63
73
|
case 'fillMode':
|
|
64
74
|
return {
|
package/esm2015/inputs.module.js
CHANGED
|
@@ -15,6 +15,7 @@ import { ColorPickerModule } from './colorpicker.module';
|
|
|
15
15
|
import { CheckBoxModule } from './checkbox.module';
|
|
16
16
|
import { RadioButtonModule } from './radiobutton.module';
|
|
17
17
|
import { FormFieldModule } from './formfield.module';
|
|
18
|
+
import { SignatureModule } from './signature.module';
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
/**
|
|
20
21
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
@@ -61,7 +62,8 @@ InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
61
62
|
ColorPickerModule,
|
|
62
63
|
CheckBoxModule,
|
|
63
64
|
RadioButtonModule,
|
|
64
|
-
FormFieldModule
|
|
65
|
+
FormFieldModule,
|
|
66
|
+
SignatureModule] });
|
|
65
67
|
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputsModule, imports: [[CommonModule], TextAreaModule,
|
|
66
68
|
TextBoxModule,
|
|
67
69
|
SliderModule,
|
|
@@ -72,7 +74,8 @@ InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
72
74
|
ColorPickerModule,
|
|
73
75
|
CheckBoxModule,
|
|
74
76
|
RadioButtonModule,
|
|
75
|
-
FormFieldModule
|
|
77
|
+
FormFieldModule,
|
|
78
|
+
SignatureModule] });
|
|
76
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputsModule, decorators: [{
|
|
77
80
|
type: NgModule,
|
|
78
81
|
args: [{
|
|
@@ -87,7 +90,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
87
90
|
ColorPickerModule,
|
|
88
91
|
CheckBoxModule,
|
|
89
92
|
RadioButtonModule,
|
|
90
|
-
FormFieldModule
|
|
93
|
+
FormFieldModule,
|
|
94
|
+
SignatureModule
|
|
91
95
|
],
|
|
92
96
|
imports: [CommonModule]
|
|
93
97
|
}]
|
package/esm2015/main.js
CHANGED
|
@@ -57,3 +57,7 @@ export { RangeSliderCustomMessagesComponent } from './rangeslider/localization/c
|
|
|
57
57
|
export { SwitchCustomMessagesComponent } from './switch/localization/custom-messages.component';
|
|
58
58
|
export { TextBoxCustomMessagesComponent } from './textbox/localization/custom-messages.component';
|
|
59
59
|
export { ColorPickerCustomMessagesComponent } from './colorpicker/localization/custom-messages.component';
|
|
60
|
+
export { SignatureComponent } from './signature/signature.component';
|
|
61
|
+
export { SignatureModule } from './signature.module';
|
|
62
|
+
export { SignatureOpenEvent, SignatureCloseEvent } from './signature/events';
|
|
63
|
+
export { SignatureCustomMessagesComponent, LocalizedSignatureMessagesDirective, SignatureMessages } from './signature/localization';
|
|
@@ -903,7 +903,7 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
903
903
|
class="k-spinner-increase k-button k-icon-button k-button-solid k-button-solid-base"
|
|
904
904
|
tabindex="-1"
|
|
905
905
|
>
|
|
906
|
-
<span class="k-button-icon k-icon k-i-
|
|
906
|
+
<span class="k-button-icon k-icon k-i-caret-alt-up"></span>
|
|
907
907
|
</button>
|
|
908
908
|
<button
|
|
909
909
|
type="button"
|
|
@@ -915,7 +915,7 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
915
915
|
class="k-spinner-decrease k-button k-icon-button k-button-solid k-button-solid-base"
|
|
916
916
|
tabindex="-1"
|
|
917
917
|
>
|
|
918
|
-
<span class="k-button-icon k-icon k-i-
|
|
918
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
919
919
|
</button>
|
|
920
920
|
</span>
|
|
921
921
|
`, isInline: true, directives: [{ type: i3.LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]" }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
@@ -978,7 +978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
978
978
|
class="k-spinner-increase k-button k-icon-button k-button-solid k-button-solid-base"
|
|
979
979
|
tabindex="-1"
|
|
980
980
|
>
|
|
981
|
-
<span class="k-button-icon k-icon k-i-
|
|
981
|
+
<span class="k-button-icon k-icon k-i-caret-alt-up"></span>
|
|
982
982
|
</button>
|
|
983
983
|
<button
|
|
984
984
|
type="button"
|
|
@@ -990,7 +990,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
990
990
|
class="k-spinner-decrease k-button k-icon-button k-button-solid k-button-solid-base"
|
|
991
991
|
tabindex="-1"
|
|
992
992
|
>
|
|
993
|
-
<span class="k-button-icon k-icon k-i-
|
|
993
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
994
994
|
</button>
|
|
995
995
|
</span>
|
|
996
996
|
`
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-inputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1661507297,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -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 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 class SignatureOpenEvent extends PreventableEvent {
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { Component, forwardRef } from '@angular/core';
|
|
6
|
+
import { SignatureMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
|
+
/**
|
|
10
|
+
* Custom component messages override default component messages.
|
|
11
|
+
*/
|
|
12
|
+
export class SignatureCustomMessagesComponent extends SignatureMessages {
|
|
13
|
+
constructor(service) {
|
|
14
|
+
super();
|
|
15
|
+
this.service = service;
|
|
16
|
+
}
|
|
17
|
+
get override() {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
SignatureCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SignatureCustomMessagesComponent, selector: "kendo-signature-messages", providers: [
|
|
23
|
+
{
|
|
24
|
+
provide: SignatureMessages,
|
|
25
|
+
useExisting: forwardRef(() => SignatureCustomMessagesComponent)
|
|
26
|
+
}
|
|
27
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureCustomMessagesComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
providers: [
|
|
32
|
+
{
|
|
33
|
+
provide: SignatureMessages,
|
|
34
|
+
useExisting: forwardRef(() => SignatureCustomMessagesComponent)
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
selector: 'kendo-signature-messages',
|
|
38
|
+
template: ``
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -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,36 @@
|
|
|
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 { Directive, forwardRef } from '@angular/core';
|
|
6
|
+
import { SignatureMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export class LocalizedSignatureMessagesDirective extends SignatureMessages {
|
|
13
|
+
constructor(service) {
|
|
14
|
+
super();
|
|
15
|
+
this.service = service;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
LocalizedSignatureMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedSignatureMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]", providers: [
|
|
20
|
+
{
|
|
21
|
+
provide: SignatureMessages,
|
|
22
|
+
useExisting: forwardRef(() => LocalizedSignatureMessagesDirective)
|
|
23
|
+
}
|
|
24
|
+
], usesInheritance: true, ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedSignatureMessagesDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
providers: [
|
|
29
|
+
{
|
|
30
|
+
provide: SignatureMessages,
|
|
31
|
+
useExisting: forwardRef(() => LocalizedSignatureMessagesDirective)
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
selector: '[kendoSignatureLocalizedMessages]'
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { 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 SignatureMessages extends ComponentMessages {
|
|
12
|
+
}
|
|
13
|
+
SignatureMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
SignatureMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SignatureMessages, selector: "kendo-signature-messages-base", inputs: { clear: "clear", minimize: "minimize", maximize: "maximize" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureMessages, decorators: [{
|
|
16
|
+
type: Directive,
|
|
17
|
+
args: [{
|
|
18
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
19
|
+
selector: 'kendo-signature-messages-base'
|
|
20
|
+
}]
|
|
21
|
+
}], propDecorators: { clear: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], minimize: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], maximize: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] } });
|