diff --git a/src/Bundle/ChillDocStoreBundle/Resources/public/types.ts b/src/Bundle/ChillDocStoreBundle/Resources/public/types.ts index 1fc8b1cdd..ddc5d087c 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/public/types.ts +++ b/src/Bundle/ChillDocStoreBundle/Resources/public/types.ts @@ -68,7 +68,7 @@ export interface PDFPage { height: number, } export interface SignatureZone { - index: number, + index: number | null, x: number, y: number, width: number, @@ -82,4 +82,6 @@ export interface Signature { zones: SignatureZone[], } -export type SignedState = 'pending' | 'signed' | 'rejected' | 'canceled' | 'error'; \ No newline at end of file +export type SignedState = 'pending' | 'signed' | 'rejected' | 'canceled' | 'error'; + +export type CanvasEvent = 'select' | 'add'; \ No newline at end of file diff --git a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue index bc4bfc544..114c08704 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue +++ b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue @@ -80,8 +80,32 @@
+ +
+
+
+ +
+
+ +
+
+
+
-
+
-
+