@zerohive/hive-viewer 2.0.3 → 2.0.5
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/dist/index.cjs +560 -119
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.mjs +561 -120
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +75 -9
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -74,11 +74,13 @@ interface DocumentSurfaceOverlayState {
|
|
|
74
74
|
placements: SignaturePlacement[];
|
|
75
75
|
annotations: AnnotationPlacement[];
|
|
76
76
|
pendingSignature?: Signature | null;
|
|
77
|
+
pendingSignatureColor?: SignatureInkColor;
|
|
77
78
|
pendingAnnotation?: boolean;
|
|
78
79
|
activePlacementId?: string | null;
|
|
79
80
|
activeAnnotationId?: string | null;
|
|
80
81
|
placeHint: string;
|
|
81
82
|
annotationHint: string;
|
|
83
|
+
cancelPlacementLabel: string;
|
|
82
84
|
annotationPlaceholder: string;
|
|
83
85
|
signatureAltLabel: string;
|
|
84
86
|
signatureAltByLabel: string;
|
|
@@ -99,6 +101,7 @@ interface DocumentSurfaceOverlayState {
|
|
|
99
101
|
onRemoveAnnotation: (id: string) => void;
|
|
100
102
|
onSelectPlacement: (id: string | null) => void;
|
|
101
103
|
onSelectAnnotation: (id: string | null) => void;
|
|
104
|
+
onCancelPlacementMode: () => void;
|
|
102
105
|
}
|
|
103
106
|
type PageLayout = "single" | "side-by-side";
|
|
104
107
|
type DocumentMode = "view" | "edit" | "create";
|
|
@@ -148,6 +151,7 @@ interface DocumentViewerProps {
|
|
|
148
151
|
blob?: Blob;
|
|
149
152
|
fileName?: string;
|
|
150
153
|
fileType?: SupportedFileType;
|
|
154
|
+
loading?: boolean;
|
|
151
155
|
pdfWorkerSrc?: string;
|
|
152
156
|
mode?: DocumentMode;
|
|
153
157
|
allowSigning?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -74,11 +74,13 @@ interface DocumentSurfaceOverlayState {
|
|
|
74
74
|
placements: SignaturePlacement[];
|
|
75
75
|
annotations: AnnotationPlacement[];
|
|
76
76
|
pendingSignature?: Signature | null;
|
|
77
|
+
pendingSignatureColor?: SignatureInkColor;
|
|
77
78
|
pendingAnnotation?: boolean;
|
|
78
79
|
activePlacementId?: string | null;
|
|
79
80
|
activeAnnotationId?: string | null;
|
|
80
81
|
placeHint: string;
|
|
81
82
|
annotationHint: string;
|
|
83
|
+
cancelPlacementLabel: string;
|
|
82
84
|
annotationPlaceholder: string;
|
|
83
85
|
signatureAltLabel: string;
|
|
84
86
|
signatureAltByLabel: string;
|
|
@@ -99,6 +101,7 @@ interface DocumentSurfaceOverlayState {
|
|
|
99
101
|
onRemoveAnnotation: (id: string) => void;
|
|
100
102
|
onSelectPlacement: (id: string | null) => void;
|
|
101
103
|
onSelectAnnotation: (id: string | null) => void;
|
|
104
|
+
onCancelPlacementMode: () => void;
|
|
102
105
|
}
|
|
103
106
|
type PageLayout = "single" | "side-by-side";
|
|
104
107
|
type DocumentMode = "view" | "edit" | "create";
|
|
@@ -148,6 +151,7 @@ interface DocumentViewerProps {
|
|
|
148
151
|
blob?: Blob;
|
|
149
152
|
fileName?: string;
|
|
150
153
|
fileType?: SupportedFileType;
|
|
154
|
+
loading?: boolean;
|
|
151
155
|
pdfWorkerSrc?: string;
|
|
152
156
|
mode?: DocumentMode;
|
|
153
157
|
allowSigning?: boolean;
|