@progress/kendo-angular-inputs 9.1.0-sig.202208261440 → 10.0.0-dev.202208291357
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/esm2015/package-metadata.js +1 -1
- package/esm2015/signature/signature.component.js +59 -18
- package/esm2015/signature.module.js +4 -4
- package/fesm2015/kendo-angular-inputs.js +64 -23
- package/package.json +2 -2
- package/signature/signature.component.d.ts +25 -2
- package/signature.module.d.ts +4 -4
|
@@ -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: 1661781385,
|
|
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
|
};
|
|
@@ -24,6 +24,7 @@ const DEFAULT_SIZE = 'medium';
|
|
|
24
24
|
const DEFAULT_ROUNDED = 'medium';
|
|
25
25
|
const DEFAULT_FILL_MODE = 'solid';
|
|
26
26
|
const DEFAULT_POPUP_SCALE = 3;
|
|
27
|
+
const DEFAULT_EXPORT_SCALE = 2;
|
|
27
28
|
/**
|
|
28
29
|
* Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
|
|
29
30
|
*
|
|
@@ -129,6 +130,14 @@ export class SignatureComponent {
|
|
|
129
130
|
* @default 3
|
|
130
131
|
*/
|
|
131
132
|
this.popupScale = DEFAULT_POPUP_SCALE;
|
|
133
|
+
/**
|
|
134
|
+
* The scale factor for the exported image.
|
|
135
|
+
*
|
|
136
|
+
* The Signature width and height will be multiplied by the scale when converting the signature to an image.
|
|
137
|
+
*
|
|
138
|
+
* @default 2
|
|
139
|
+
*/
|
|
140
|
+
this.exportScale = DEFAULT_EXPORT_SCALE;
|
|
132
141
|
/**
|
|
133
142
|
* A flag indicating whether the dotted line should be displayed in the background.
|
|
134
143
|
*
|
|
@@ -229,19 +238,29 @@ export class SignatureComponent {
|
|
|
229
238
|
get maximizeTitle() {
|
|
230
239
|
return this.getMessage('maximize');
|
|
231
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* @hidden
|
|
243
|
+
*/
|
|
244
|
+
get baseWidth() {
|
|
245
|
+
return this.width || this.element.nativeElement.offsetWidth;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @hidden
|
|
249
|
+
*/
|
|
250
|
+
get baseHeight() {
|
|
251
|
+
return this.height || this.element.nativeElement.offsetHeight;
|
|
252
|
+
}
|
|
232
253
|
/**
|
|
233
254
|
* @hidden
|
|
234
255
|
*/
|
|
235
256
|
get popupWidth() {
|
|
236
|
-
|
|
237
|
-
return baseWidth * this.popupScale;
|
|
257
|
+
return this.baseWidth * this.popupScale;
|
|
238
258
|
}
|
|
239
259
|
/**
|
|
240
260
|
* @hidden
|
|
241
261
|
*/
|
|
242
262
|
get popupHeight() {
|
|
243
|
-
|
|
244
|
-
return baseHeight * this.popupScale;
|
|
263
|
+
return this.baseHeight * this.popupScale;
|
|
245
264
|
}
|
|
246
265
|
/**
|
|
247
266
|
* @hidden
|
|
@@ -336,9 +355,12 @@ export class SignatureComponent {
|
|
|
336
355
|
*/
|
|
337
356
|
onValueChange() {
|
|
338
357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
339
|
-
const value = yield this.instance.exportImage(
|
|
358
|
+
const value = yield this.instance.exportImage({
|
|
359
|
+
width: this.baseWidth * this.exportScale,
|
|
360
|
+
height: this.baseHeight * this.exportScale
|
|
361
|
+
});
|
|
340
362
|
this._value = value;
|
|
341
|
-
this.cd.
|
|
363
|
+
this.cd.markForCheck();
|
|
342
364
|
this.ngZone.run(() => {
|
|
343
365
|
this.valueChange.emit(value);
|
|
344
366
|
this.notifyNgChanged(value);
|
|
@@ -351,8 +373,12 @@ export class SignatureComponent {
|
|
|
351
373
|
onDialogValueChange(value) {
|
|
352
374
|
this.value = value;
|
|
353
375
|
this.valueChange.emit(value);
|
|
376
|
+
this.notifyNgTouched();
|
|
354
377
|
this.notifyNgChanged(value);
|
|
355
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* @hidden
|
|
381
|
+
*/
|
|
356
382
|
onDialogClick(e) {
|
|
357
383
|
if (e.target.classList.contains('k-overlay')) {
|
|
358
384
|
this.isOpen = false;
|
|
@@ -397,11 +423,18 @@ export class SignatureComponent {
|
|
|
397
423
|
* @hidden
|
|
398
424
|
*/
|
|
399
425
|
onMaximize() {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
426
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
427
|
+
const args = new SignatureOpenEvent();
|
|
428
|
+
this.open.next(args);
|
|
429
|
+
if (!args.isDefaultPrevented()) {
|
|
430
|
+
this.popupValue = yield this.instance.exportImage({
|
|
431
|
+
width: this.popupWidth * this.exportScale,
|
|
432
|
+
height: this.popupHeight * this.exportScale
|
|
433
|
+
});
|
|
434
|
+
this.isOpen = true;
|
|
435
|
+
this.cd.detectChanges();
|
|
436
|
+
}
|
|
437
|
+
});
|
|
405
438
|
}
|
|
406
439
|
/**
|
|
407
440
|
* @hidden
|
|
@@ -414,7 +447,7 @@ export class SignatureComponent {
|
|
|
414
447
|
this.hostClasses.forEach(([name]) => classList.remove(name));
|
|
415
448
|
this.hostClasses = [
|
|
416
449
|
[`k-signature-${SIZE_MAP[this.size || DEFAULT_SIZE]}`, !isNone(this.size)],
|
|
417
|
-
[`k-
|
|
450
|
+
[`k-input-${this.fillMode || DEFAULT_FILL_MODE}`, !isNone(this.fillMode)],
|
|
418
451
|
[`k-rounded-${ROUNDED_MAP[this.rounded || DEFAULT_ROUNDED]}`, !isNone(this.rounded)]
|
|
419
452
|
];
|
|
420
453
|
this.hostClasses.forEach(([name, enabled]) => classList.toggle(name, enabled));
|
|
@@ -488,11 +521,11 @@ export class SignatureComponent {
|
|
|
488
521
|
}
|
|
489
522
|
onDraw() {
|
|
490
523
|
this.isDrawing = true;
|
|
491
|
-
this.cd.
|
|
524
|
+
this.cd.markForCheck();
|
|
492
525
|
}
|
|
493
526
|
onDrawEnd() {
|
|
494
527
|
this.isDrawing = false;
|
|
495
|
-
this.cd.
|
|
528
|
+
this.cd.markForCheck();
|
|
496
529
|
}
|
|
497
530
|
addEventListeners() {
|
|
498
531
|
const element = this.element.nativeElement;
|
|
@@ -522,7 +555,7 @@ export class SignatureComponent {
|
|
|
522
555
|
}
|
|
523
556
|
}
|
|
524
557
|
SignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
525
|
-
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SignatureComponent, selector: "kendo-signature", inputs: { readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
|
|
558
|
+
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SignatureComponent, selector: "kendo-signature", inputs: { readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", exportScale: "exportScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
|
|
526
559
|
LocalizationService,
|
|
527
560
|
{ provide: L10N_PREFIX, useValue: 'kendo.signature' },
|
|
528
561
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
|
|
@@ -543,6 +576,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
543
576
|
class="k-signature-action k-signature-maximize"
|
|
544
577
|
icon="hyperlink-open"
|
|
545
578
|
fillMode="flat"
|
|
579
|
+
[size]="size"
|
|
546
580
|
(click)="onMaximize()"
|
|
547
581
|
[attr.aria-label]="maximizeTitle"
|
|
548
582
|
[title]="maximizeTitle">
|
|
@@ -553,6 +587,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
553
587
|
class="k-signature-action k-signature-minimize"
|
|
554
588
|
icon="window-minimize"
|
|
555
589
|
fillMode="flat"
|
|
590
|
+
[size]="size"
|
|
556
591
|
(click)="onMinimize()"
|
|
557
592
|
[attr.aria-label]="minimizeTitle"
|
|
558
593
|
[title]="minimizeTitle">
|
|
@@ -575,6 +610,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
575
610
|
class="k-signature-action k-signature-clear"
|
|
576
611
|
icon="close"
|
|
577
612
|
fillMode="flat"
|
|
613
|
+
[size]="size"
|
|
578
614
|
[attr.aria-label]="clearTitle"
|
|
579
615
|
[title]="clearTitle"
|
|
580
616
|
(click)="onClear()" >
|
|
@@ -592,7 +628,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
592
628
|
[backgroundColor]="backgroundColor"
|
|
593
629
|
[strokeWidth]="strokeWidth"
|
|
594
630
|
[smooth]="smooth"
|
|
595
|
-
[value]="
|
|
631
|
+
[value]="popupValue"
|
|
596
632
|
(valueChange)="onDialogValueChange($event)"
|
|
597
633
|
[hideLine]="hideLine"
|
|
598
634
|
[class.k-signature-maximized]="true"
|
|
@@ -604,7 +640,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
604
640
|
[parentLocalization]="localization">
|
|
605
641
|
</kendo-signature>
|
|
606
642
|
</kendo-dialog>
|
|
607
|
-
`, isInline: true, components: [{ type: i2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SignatureComponent, selector: "kendo-signature", inputs: ["readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }], directives: [{ type: i3.LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
643
|
+
`, isInline: true, components: [{ type: i2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SignatureComponent, selector: "kendo-signature", inputs: ["readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }], directives: [{ type: i3.LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
608
644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
609
645
|
type: Component,
|
|
610
646
|
args: [{
|
|
@@ -633,6 +669,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
633
669
|
class="k-signature-action k-signature-maximize"
|
|
634
670
|
icon="hyperlink-open"
|
|
635
671
|
fillMode="flat"
|
|
672
|
+
[size]="size"
|
|
636
673
|
(click)="onMaximize()"
|
|
637
674
|
[attr.aria-label]="maximizeTitle"
|
|
638
675
|
[title]="maximizeTitle">
|
|
@@ -643,6 +680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
643
680
|
class="k-signature-action k-signature-minimize"
|
|
644
681
|
icon="window-minimize"
|
|
645
682
|
fillMode="flat"
|
|
683
|
+
[size]="size"
|
|
646
684
|
(click)="onMinimize()"
|
|
647
685
|
[attr.aria-label]="minimizeTitle"
|
|
648
686
|
[title]="minimizeTitle">
|
|
@@ -665,6 +703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
665
703
|
class="k-signature-action k-signature-clear"
|
|
666
704
|
icon="close"
|
|
667
705
|
fillMode="flat"
|
|
706
|
+
[size]="size"
|
|
668
707
|
[attr.aria-label]="clearTitle"
|
|
669
708
|
[title]="clearTitle"
|
|
670
709
|
(click)="onClear()" >
|
|
@@ -682,7 +721,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
682
721
|
[backgroundColor]="backgroundColor"
|
|
683
722
|
[strokeWidth]="strokeWidth"
|
|
684
723
|
[smooth]="smooth"
|
|
685
|
-
[value]="
|
|
724
|
+
[value]="popupValue"
|
|
686
725
|
(valueChange)="onDialogValueChange($event)"
|
|
687
726
|
[hideLine]="hideLine"
|
|
688
727
|
[class.k-signature-maximized]="true"
|
|
@@ -749,6 +788,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
749
788
|
type: Input
|
|
750
789
|
}], popupScale: [{
|
|
751
790
|
type: Input
|
|
791
|
+
}], exportScale: [{
|
|
792
|
+
type: Input
|
|
752
793
|
}], parentLocalization: [{
|
|
753
794
|
type: Input
|
|
754
795
|
}], hideLine: [{
|
|
@@ -11,13 +11,13 @@ import { SignatureComponent } from './signature/signature.component';
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
14
|
-
* definition for the
|
|
14
|
+
* definition for the Signature component.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
*
|
|
18
18
|
* ```ts-no-run
|
|
19
|
-
* // Import the
|
|
20
|
-
* import {
|
|
19
|
+
* // Import the Signature module
|
|
20
|
+
* import { SignatureModule } from '@progress/kendo-angular-inputs';
|
|
21
21
|
*
|
|
22
22
|
* // The browser platform with a compiler
|
|
23
23
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -30,7 +30,7 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
* // Define the app module
|
|
31
31
|
* _@NgModule({
|
|
32
32
|
* declarations: [AppComponent], // declare app component
|
|
33
|
-
* imports: [BrowserModule,
|
|
33
|
+
* imports: [BrowserModule, SignatureModule], // import Signature module
|
|
34
34
|
* bootstrap: [AppComponent]
|
|
35
35
|
* })
|
|
36
36
|
* export class AppModule {}
|
|
@@ -535,7 +535,7 @@ const packageMetadata = {
|
|
|
535
535
|
name: '@progress/kendo-angular-inputs',
|
|
536
536
|
productName: 'Kendo UI for Angular',
|
|
537
537
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
538
|
-
publishDate:
|
|
538
|
+
publishDate: 1661781385,
|
|
539
539
|
version: '',
|
|
540
540
|
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'
|
|
541
541
|
};
|
|
@@ -13095,6 +13095,7 @@ const DEFAULT_SIZE = 'medium';
|
|
|
13095
13095
|
const DEFAULT_ROUNDED = 'medium';
|
|
13096
13096
|
const DEFAULT_FILL_MODE = 'solid';
|
|
13097
13097
|
const DEFAULT_POPUP_SCALE = 3;
|
|
13098
|
+
const DEFAULT_EXPORT_SCALE = 2;
|
|
13098
13099
|
/**
|
|
13099
13100
|
* Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
|
|
13100
13101
|
*
|
|
@@ -13200,6 +13201,14 @@ class SignatureComponent {
|
|
|
13200
13201
|
* @default 3
|
|
13201
13202
|
*/
|
|
13202
13203
|
this.popupScale = DEFAULT_POPUP_SCALE;
|
|
13204
|
+
/**
|
|
13205
|
+
* The scale factor for the exported image.
|
|
13206
|
+
*
|
|
13207
|
+
* The Signature width and height will be multiplied by the scale when converting the signature to an image.
|
|
13208
|
+
*
|
|
13209
|
+
* @default 2
|
|
13210
|
+
*/
|
|
13211
|
+
this.exportScale = DEFAULT_EXPORT_SCALE;
|
|
13203
13212
|
/**
|
|
13204
13213
|
* A flag indicating whether the dotted line should be displayed in the background.
|
|
13205
13214
|
*
|
|
@@ -13300,19 +13309,29 @@ class SignatureComponent {
|
|
|
13300
13309
|
get maximizeTitle() {
|
|
13301
13310
|
return this.getMessage('maximize');
|
|
13302
13311
|
}
|
|
13312
|
+
/**
|
|
13313
|
+
* @hidden
|
|
13314
|
+
*/
|
|
13315
|
+
get baseWidth() {
|
|
13316
|
+
return this.width || this.element.nativeElement.offsetWidth;
|
|
13317
|
+
}
|
|
13318
|
+
/**
|
|
13319
|
+
* @hidden
|
|
13320
|
+
*/
|
|
13321
|
+
get baseHeight() {
|
|
13322
|
+
return this.height || this.element.nativeElement.offsetHeight;
|
|
13323
|
+
}
|
|
13303
13324
|
/**
|
|
13304
13325
|
* @hidden
|
|
13305
13326
|
*/
|
|
13306
13327
|
get popupWidth() {
|
|
13307
|
-
|
|
13308
|
-
return baseWidth * this.popupScale;
|
|
13328
|
+
return this.baseWidth * this.popupScale;
|
|
13309
13329
|
}
|
|
13310
13330
|
/**
|
|
13311
13331
|
* @hidden
|
|
13312
13332
|
*/
|
|
13313
13333
|
get popupHeight() {
|
|
13314
|
-
|
|
13315
|
-
return baseHeight * this.popupScale;
|
|
13334
|
+
return this.baseHeight * this.popupScale;
|
|
13316
13335
|
}
|
|
13317
13336
|
/**
|
|
13318
13337
|
* @hidden
|
|
@@ -13407,9 +13426,12 @@ class SignatureComponent {
|
|
|
13407
13426
|
*/
|
|
13408
13427
|
onValueChange() {
|
|
13409
13428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13410
|
-
const value = yield this.instance.exportImage(
|
|
13429
|
+
const value = yield this.instance.exportImage({
|
|
13430
|
+
width: this.baseWidth * this.exportScale,
|
|
13431
|
+
height: this.baseHeight * this.exportScale
|
|
13432
|
+
});
|
|
13411
13433
|
this._value = value;
|
|
13412
|
-
this.cd.
|
|
13434
|
+
this.cd.markForCheck();
|
|
13413
13435
|
this.ngZone.run(() => {
|
|
13414
13436
|
this.valueChange.emit(value);
|
|
13415
13437
|
this.notifyNgChanged(value);
|
|
@@ -13422,8 +13444,12 @@ class SignatureComponent {
|
|
|
13422
13444
|
onDialogValueChange(value) {
|
|
13423
13445
|
this.value = value;
|
|
13424
13446
|
this.valueChange.emit(value);
|
|
13447
|
+
this.notifyNgTouched();
|
|
13425
13448
|
this.notifyNgChanged(value);
|
|
13426
13449
|
}
|
|
13450
|
+
/**
|
|
13451
|
+
* @hidden
|
|
13452
|
+
*/
|
|
13427
13453
|
onDialogClick(e) {
|
|
13428
13454
|
if (e.target.classList.contains('k-overlay')) {
|
|
13429
13455
|
this.isOpen = false;
|
|
@@ -13468,11 +13494,18 @@ class SignatureComponent {
|
|
|
13468
13494
|
* @hidden
|
|
13469
13495
|
*/
|
|
13470
13496
|
onMaximize() {
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
13475
|
-
|
|
13497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13498
|
+
const args = new SignatureOpenEvent();
|
|
13499
|
+
this.open.next(args);
|
|
13500
|
+
if (!args.isDefaultPrevented()) {
|
|
13501
|
+
this.popupValue = yield this.instance.exportImage({
|
|
13502
|
+
width: this.popupWidth * this.exportScale,
|
|
13503
|
+
height: this.popupHeight * this.exportScale
|
|
13504
|
+
});
|
|
13505
|
+
this.isOpen = true;
|
|
13506
|
+
this.cd.detectChanges();
|
|
13507
|
+
}
|
|
13508
|
+
});
|
|
13476
13509
|
}
|
|
13477
13510
|
/**
|
|
13478
13511
|
* @hidden
|
|
@@ -13485,7 +13518,7 @@ class SignatureComponent {
|
|
|
13485
13518
|
this.hostClasses.forEach(([name]) => classList.remove(name));
|
|
13486
13519
|
this.hostClasses = [
|
|
13487
13520
|
[`k-signature-${SIZE_MAP[this.size || DEFAULT_SIZE]}`, !isNone(this.size)],
|
|
13488
|
-
[`k-
|
|
13521
|
+
[`k-input-${this.fillMode || DEFAULT_FILL_MODE}`, !isNone(this.fillMode)],
|
|
13489
13522
|
[`k-rounded-${ROUNDED_MAP[this.rounded || DEFAULT_ROUNDED]}`, !isNone(this.rounded)]
|
|
13490
13523
|
];
|
|
13491
13524
|
this.hostClasses.forEach(([name, enabled]) => classList.toggle(name, enabled));
|
|
@@ -13559,11 +13592,11 @@ class SignatureComponent {
|
|
|
13559
13592
|
}
|
|
13560
13593
|
onDraw() {
|
|
13561
13594
|
this.isDrawing = true;
|
|
13562
|
-
this.cd.
|
|
13595
|
+
this.cd.markForCheck();
|
|
13563
13596
|
}
|
|
13564
13597
|
onDrawEnd() {
|
|
13565
13598
|
this.isDrawing = false;
|
|
13566
|
-
this.cd.
|
|
13599
|
+
this.cd.markForCheck();
|
|
13567
13600
|
}
|
|
13568
13601
|
addEventListeners() {
|
|
13569
13602
|
const element = this.element.nativeElement;
|
|
@@ -13593,7 +13626,7 @@ class SignatureComponent {
|
|
|
13593
13626
|
}
|
|
13594
13627
|
}
|
|
13595
13628
|
SignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13596
|
-
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SignatureComponent, selector: "kendo-signature", inputs: { readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
|
|
13629
|
+
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SignatureComponent, selector: "kendo-signature", inputs: { readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", exportScale: "exportScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
|
|
13597
13630
|
LocalizationService,
|
|
13598
13631
|
{ provide: L10N_PREFIX, useValue: 'kendo.signature' },
|
|
13599
13632
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
|
|
@@ -13614,6 +13647,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
13614
13647
|
class="k-signature-action k-signature-maximize"
|
|
13615
13648
|
icon="hyperlink-open"
|
|
13616
13649
|
fillMode="flat"
|
|
13650
|
+
[size]="size"
|
|
13617
13651
|
(click)="onMaximize()"
|
|
13618
13652
|
[attr.aria-label]="maximizeTitle"
|
|
13619
13653
|
[title]="maximizeTitle">
|
|
@@ -13624,6 +13658,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
13624
13658
|
class="k-signature-action k-signature-minimize"
|
|
13625
13659
|
icon="window-minimize"
|
|
13626
13660
|
fillMode="flat"
|
|
13661
|
+
[size]="size"
|
|
13627
13662
|
(click)="onMinimize()"
|
|
13628
13663
|
[attr.aria-label]="minimizeTitle"
|
|
13629
13664
|
[title]="minimizeTitle">
|
|
@@ -13646,6 +13681,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
13646
13681
|
class="k-signature-action k-signature-clear"
|
|
13647
13682
|
icon="close"
|
|
13648
13683
|
fillMode="flat"
|
|
13684
|
+
[size]="size"
|
|
13649
13685
|
[attr.aria-label]="clearTitle"
|
|
13650
13686
|
[title]="clearTitle"
|
|
13651
13687
|
(click)="onClear()" >
|
|
@@ -13663,7 +13699,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
13663
13699
|
[backgroundColor]="backgroundColor"
|
|
13664
13700
|
[strokeWidth]="strokeWidth"
|
|
13665
13701
|
[smooth]="smooth"
|
|
13666
|
-
[value]="
|
|
13702
|
+
[value]="popupValue"
|
|
13667
13703
|
(valueChange)="onDialogValueChange($event)"
|
|
13668
13704
|
[hideLine]="hideLine"
|
|
13669
13705
|
[class.k-signature-maximized]="true"
|
|
@@ -13675,7 +13711,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
13675
13711
|
[parentLocalization]="localization">
|
|
13676
13712
|
</kendo-signature>
|
|
13677
13713
|
</kendo-dialog>
|
|
13678
|
-
`, isInline: true, components: [{ type: i2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SignatureComponent, selector: "kendo-signature", inputs: ["readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }], directives: [{ type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13714
|
+
`, isInline: true, components: [{ type: i2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SignatureComponent, selector: "kendo-signature", inputs: ["readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }], directives: [{ type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13679
13715
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
13680
13716
|
type: Component,
|
|
13681
13717
|
args: [{
|
|
@@ -13704,6 +13740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13704
13740
|
class="k-signature-action k-signature-maximize"
|
|
13705
13741
|
icon="hyperlink-open"
|
|
13706
13742
|
fillMode="flat"
|
|
13743
|
+
[size]="size"
|
|
13707
13744
|
(click)="onMaximize()"
|
|
13708
13745
|
[attr.aria-label]="maximizeTitle"
|
|
13709
13746
|
[title]="maximizeTitle">
|
|
@@ -13714,6 +13751,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13714
13751
|
class="k-signature-action k-signature-minimize"
|
|
13715
13752
|
icon="window-minimize"
|
|
13716
13753
|
fillMode="flat"
|
|
13754
|
+
[size]="size"
|
|
13717
13755
|
(click)="onMinimize()"
|
|
13718
13756
|
[attr.aria-label]="minimizeTitle"
|
|
13719
13757
|
[title]="minimizeTitle">
|
|
@@ -13736,6 +13774,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13736
13774
|
class="k-signature-action k-signature-clear"
|
|
13737
13775
|
icon="close"
|
|
13738
13776
|
fillMode="flat"
|
|
13777
|
+
[size]="size"
|
|
13739
13778
|
[attr.aria-label]="clearTitle"
|
|
13740
13779
|
[title]="clearTitle"
|
|
13741
13780
|
(click)="onClear()" >
|
|
@@ -13753,7 +13792,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13753
13792
|
[backgroundColor]="backgroundColor"
|
|
13754
13793
|
[strokeWidth]="strokeWidth"
|
|
13755
13794
|
[smooth]="smooth"
|
|
13756
|
-
[value]="
|
|
13795
|
+
[value]="popupValue"
|
|
13757
13796
|
(valueChange)="onDialogValueChange($event)"
|
|
13758
13797
|
[hideLine]="hideLine"
|
|
13759
13798
|
[class.k-signature-maximized]="true"
|
|
@@ -13820,6 +13859,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13820
13859
|
type: Input
|
|
13821
13860
|
}], popupScale: [{
|
|
13822
13861
|
type: Input
|
|
13862
|
+
}], exportScale: [{
|
|
13863
|
+
type: Input
|
|
13823
13864
|
}], parentLocalization: [{
|
|
13824
13865
|
type: Input
|
|
13825
13866
|
}], hideLine: [{
|
|
@@ -13845,13 +13886,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13845
13886
|
|
|
13846
13887
|
/**
|
|
13847
13888
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
13848
|
-
* definition for the
|
|
13889
|
+
* definition for the Signature component.
|
|
13849
13890
|
*
|
|
13850
13891
|
* @example
|
|
13851
13892
|
*
|
|
13852
13893
|
* ```ts-no-run
|
|
13853
|
-
* // Import the
|
|
13854
|
-
* import {
|
|
13894
|
+
* // Import the Signature module
|
|
13895
|
+
* import { SignatureModule } from '@progress/kendo-angular-inputs';
|
|
13855
13896
|
*
|
|
13856
13897
|
* // The browser platform with a compiler
|
|
13857
13898
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -13864,7 +13905,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13864
13905
|
* // Define the app module
|
|
13865
13906
|
* _@NgModule({
|
|
13866
13907
|
* declarations: [AppComponent], // declare app component
|
|
13867
|
-
* imports: [BrowserModule,
|
|
13908
|
+
* imports: [BrowserModule, SignatureModule], // import Signature module
|
|
13868
13909
|
* bootstrap: [AppComponent]
|
|
13869
13910
|
* })
|
|
13870
13911
|
* export class AppModule {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0-dev.202208291357",
|
|
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@progress/kendo-common": "^0.2.2",
|
|
35
35
|
"@progress/kendo-draggable": "^3.0.0",
|
|
36
|
-
"@progress/kendo-inputs-common": "
|
|
36
|
+
"@progress/kendo-inputs-common": "^3.1.0",
|
|
37
37
|
"@progress/kendo-schematics": "^3.0.0",
|
|
38
38
|
"tslib": "^2.3.1"
|
|
39
39
|
},
|
|
@@ -139,6 +139,14 @@ export declare class SignatureComponent implements ControlValueAccessor {
|
|
|
139
139
|
* @default 3
|
|
140
140
|
*/
|
|
141
141
|
popupScale: number;
|
|
142
|
+
/**
|
|
143
|
+
* The scale factor for the exported image.
|
|
144
|
+
*
|
|
145
|
+
* The Signature width and height will be multiplied by the scale when converting the signature to an image.
|
|
146
|
+
*
|
|
147
|
+
* @default 2
|
|
148
|
+
*/
|
|
149
|
+
exportScale: number;
|
|
142
150
|
/**
|
|
143
151
|
* @hidden
|
|
144
152
|
*/
|
|
@@ -200,6 +208,14 @@ export declare class SignatureComponent implements ControlValueAccessor {
|
|
|
200
208
|
* @hidden
|
|
201
209
|
*/
|
|
202
210
|
get maximizeTitle(): string;
|
|
211
|
+
/**
|
|
212
|
+
* @hidden
|
|
213
|
+
*/
|
|
214
|
+
get baseWidth(): number;
|
|
215
|
+
/**
|
|
216
|
+
* @hidden
|
|
217
|
+
*/
|
|
218
|
+
get baseHeight(): number;
|
|
203
219
|
/**
|
|
204
220
|
* @hidden
|
|
205
221
|
*/
|
|
@@ -252,6 +268,9 @@ export declare class SignatureComponent implements ControlValueAccessor {
|
|
|
252
268
|
* @hidden
|
|
253
269
|
*/
|
|
254
270
|
onDialogValueChange(value: string): void;
|
|
271
|
+
/**
|
|
272
|
+
* @hidden
|
|
273
|
+
*/
|
|
255
274
|
onDialogClick(e: any): void;
|
|
256
275
|
/**
|
|
257
276
|
* @hidden
|
|
@@ -271,7 +290,7 @@ export declare class SignatureComponent implements ControlValueAccessor {
|
|
|
271
290
|
/**
|
|
272
291
|
* @hidden
|
|
273
292
|
*/
|
|
274
|
-
onMaximize(): void
|
|
293
|
+
onMaximize(): Promise<void>;
|
|
275
294
|
/**
|
|
276
295
|
* @hidden
|
|
277
296
|
*/
|
|
@@ -309,10 +328,14 @@ export declare class SignatureComponent implements ControlValueAccessor {
|
|
|
309
328
|
* @hidden
|
|
310
329
|
*/
|
|
311
330
|
registerOnTouched(fn: any): void;
|
|
331
|
+
/**
|
|
332
|
+
* @hidden
|
|
333
|
+
*/
|
|
334
|
+
popupValue: any;
|
|
312
335
|
private onDraw;
|
|
313
336
|
private onDrawEnd;
|
|
314
337
|
private addEventListeners;
|
|
315
338
|
private getMessage;
|
|
316
339
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureComponent, never>;
|
|
317
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureComponent, "kendo-signature", ["kendoSignature"], { "readonly": "readonly"; "disabled": "disabled"; "width": "width"; "height": "height"; "value": "value"; "tabindex": "tabindex"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "color": "color"; "backgroundColor": "backgroundColor"; "strokeWidth": "strokeWidth"; "smooth": "smooth"; "maximizable": "maximizable"; "maximized": "maximized"; "popupScale": "popupScale"; "parentLocalization": "parentLocalization"; "hideLine": "hideLine"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "minimize": "minimize"; }, never, never>;
|
|
340
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureComponent, "kendo-signature", ["kendoSignature"], { "readonly": "readonly"; "disabled": "disabled"; "width": "width"; "height": "height"; "value": "value"; "tabindex": "tabindex"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "color": "color"; "backgroundColor": "backgroundColor"; "strokeWidth": "strokeWidth"; "smooth": "smooth"; "maximizable": "maximizable"; "maximized": "maximized"; "popupScale": "popupScale"; "exportScale": "exportScale"; "parentLocalization": "parentLocalization"; "hideLine": "hideLine"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "minimize": "minimize"; }, never, never>;
|
|
318
341
|
}
|
package/signature.module.d.ts
CHANGED
|
@@ -11,13 +11,13 @@ import * as i5 from "@angular/common";
|
|
|
11
11
|
import * as i6 from "@progress/kendo-angular-dialog";
|
|
12
12
|
/**
|
|
13
13
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
14
|
-
* definition for the
|
|
14
|
+
* definition for the Signature component.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
*
|
|
18
18
|
* ```ts-no-run
|
|
19
|
-
* // Import the
|
|
20
|
-
* import {
|
|
19
|
+
* // Import the Signature module
|
|
20
|
+
* import { SignatureModule } from '@progress/kendo-angular-inputs';
|
|
21
21
|
*
|
|
22
22
|
* // The browser platform with a compiler
|
|
23
23
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -30,7 +30,7 @@ import * as i6 from "@progress/kendo-angular-dialog";
|
|
|
30
30
|
* // Define the app module
|
|
31
31
|
* _@NgModule({
|
|
32
32
|
* declarations: [AppComponent], // declare app component
|
|
33
|
-
* imports: [BrowserModule,
|
|
33
|
+
* imports: [BrowserModule, SignatureModule], // import Signature module
|
|
34
34
|
* bootstrap: [AppComponent]
|
|
35
35
|
* })
|
|
36
36
|
* export class AppModule {}
|