pdfjs-annotation-extension-for-react 0.1.2 → 0.1.4
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/README.md +183 -143
- package/dist/exceljs.min-CMjPUDcS.cjs +29 -0
- package/dist/exceljs.min-Dh79U1RF.js +22592 -0
- package/dist/index-CFQdWq34.js +59024 -0
- package/dist/index-rsibqSCw.cjs +397 -0
- package/dist/index.cjs.js +1 -425
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +3 -81538
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -313,7 +313,7 @@ declare type PdfAnnotatorUserOptions = DeepPartial<PdfAnnotatorOptions>;
|
|
|
313
313
|
export declare interface PdfBaseProps {
|
|
314
314
|
/**
|
|
315
315
|
* 主题色
|
|
316
|
-
* @default: '
|
|
316
|
+
* @default: 'violet'
|
|
317
317
|
*/
|
|
318
318
|
theme?: 'ruby' | 'indigo' | 'gray' | 'gold' | 'bronze' | 'brown' | 'yellow' | 'amber' | 'orange' | 'tomato' | 'red' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'lime' | 'mint' | 'sky' | undefined;
|
|
319
319
|
/**
|
|
@@ -344,6 +344,11 @@ export declare interface PdfBaseProps {
|
|
|
344
344
|
* 控制侧边栏是否折叠
|
|
345
345
|
*/
|
|
346
346
|
isSidebarCollapsed?: boolean;
|
|
347
|
+
/**
|
|
348
|
+
* 是否开启流式加载模式, auto 为自动判断
|
|
349
|
+
* @default auto
|
|
350
|
+
*/
|
|
351
|
+
enableRange?: boolean | 'auto';
|
|
347
352
|
}
|
|
348
353
|
|
|
349
354
|
declare type PdfjsAnnotationSubtype = 'None' | 'Link' | 'Text' | 'Widget' | 'Popup' | 'FreeText' | 'Line' | 'Square' | 'Circle' | 'PolyLine' | 'Polygon' | 'Caret' | 'Ink' | 'Highlight' | 'Underline' | 'Squiggly' | 'StrikeOut' | 'Stamp' | 'FileAttachment' | 'Note' | 'Arrow';
|