@vue-pdf-viewer/shared 1.3.0 → 1.3.1
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/types.d.ts +4 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -175,13 +175,15 @@ export interface AnnotationToolOption {
|
|
|
175
175
|
component?: Component;
|
|
176
176
|
}
|
|
177
177
|
export interface HighlightToolOption extends AnnotationToolOption {
|
|
178
|
+
colors?: AnnotationHighlightColors;
|
|
178
179
|
}
|
|
179
180
|
export interface StrikethroughToolOption extends AnnotationToolOption {
|
|
181
|
+
colors?: AnnotationStrikethroughColors;
|
|
180
182
|
}
|
|
181
183
|
export interface UnderlineToolOption extends AnnotationToolOption {
|
|
184
|
+
colors?: AnnotationUnderlineColors;
|
|
182
185
|
}
|
|
183
186
|
export interface TextSelectionOption extends AnnotationToolOption {
|
|
184
|
-
colors?: AnnotationTextSelectionColors;
|
|
185
187
|
highlight?: HighlightToolOption | boolean;
|
|
186
188
|
strikethrough?: StrikethroughToolOption | boolean;
|
|
187
189
|
underline?: UnderlineToolOption | boolean;
|
|
@@ -217,7 +219,7 @@ export type OutlineRef = {
|
|
|
217
219
|
num: number;
|
|
218
220
|
};
|
|
219
221
|
export type OutlineDestinations = [
|
|
220
|
-
OutlineRef | number,
|
|
222
|
+
(OutlineRef | number),
|
|
221
223
|
OutlineName,
|
|
222
224
|
...any[]
|
|
223
225
|
];
|