@lingshugroup/web-plus 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/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.cjs +38 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.js +21633 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.js.br +0 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.js.gz +0 -0
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.cjs +1 -1
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.js +38 -37
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.js.br +0 -0
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview/components/Image.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview/components/Image.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.js +43 -42
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index.js +3 -3
- package/lib/types/components/_constants/aria.d.ts +17 -0
- package/lib/types/components/_constants/index.d.ts +2 -0
- package/lib/types/components/_constants/previewType.d.ts +22 -0
- package/lib/types/components/_constants/token.d.ts +1 -0
- package/lib/types/components/_directives/auth.d.ts +12 -0
- package/lib/types/components/_directives/index.d.ts +2 -0
- package/lib/types/components/_hooks/index.d.ts +6 -0
- package/lib/types/components/_hooks/useColorthiefHook.d.ts +3 -0
- package/lib/types/components/_hooks/useDelayLoader.d.ts +4 -0
- package/lib/types/components/_hooks/useGlobalConfig.d.ts +1 -0
- package/lib/types/components/_hooks/useNamespace.d.ts +20 -0
- package/lib/types/components/_hooks/useOptionHook.d.ts +14 -0
- package/lib/types/components/_hooks/usePreviewHook.d.ts +6 -0
- package/lib/types/components/_hooks/useRouterHook.d.ts +9376 -0
- package/lib/types/components/_hooks/useSelectOptionsHook.d.ts +3 -0
- package/lib/types/components/_hooks/useTableListHook.d.ts +23 -0
- package/lib/types/components/_hooks/useWSHook.d.ts +7 -0
- package/lib/types/components/_hooks/useZIndex.d.ts +5 -0
- package/lib/types/components/_types/index.d.ts +9 -0
- package/lib/types/components/_utils/check.d.ts +55 -0
- package/lib/types/components/_utils/config.d.ts +7 -0
- package/lib/types/components/_utils/dom.d.ts +2 -0
- package/lib/types/components/_utils/index.d.ts +3 -0
- package/lib/types/components/_utils/power.d.ts +1 -0
- package/lib/types/components/_utils/runtime.d.ts +31 -0
- package/lib/types/components/_utils/types.d.ts +149 -0
- package/lib/types/components/_utils/utils.d.ts +44 -0
- package/lib/types/components/_utils/validate.d.ts +96 -0
- package/lib/types/components/backTop/Index.vue.d.ts +27 -0
- package/lib/types/components/backTop/index.d.ts +34 -0
- package/lib/types/components/backTop/types.d.ts +4 -0
- package/lib/types/components/bellMessage/Index.vue.d.ts +26 -0
- package/lib/types/components/bellMessage/index.d.ts +61 -0
- package/lib/types/components/bellMessage/types.d.ts +24 -0
- package/lib/types/components/breadcrumb/Index.vue.d.ts +17 -0
- package/lib/types/components/breadcrumb/index.d.ts +43 -0
- package/lib/types/components/breadcrumb/types.d.ts +12 -0
- package/lib/types/components/button/Button.vue.d.ts +27 -0
- package/lib/types/components/button/ButtonGroup.vue.d.ts +31 -0
- package/lib/types/components/button/index.d.ts +79 -0
- package/lib/types/components/button/types.d.ts +10 -0
- package/lib/types/components/chart/Index.vue.d.ts +30 -0
- package/lib/types/components/chart/config/base.d.ts +36 -0
- package/lib/types/components/chart/config/index.d.ts +12 -0
- package/lib/types/components/chart/config/template/bar.d.ts +1 -0
- package/lib/types/components/chart/config/template/line.d.ts +1 -0
- package/lib/types/components/chart/config/template/pie.d.ts +2 -0
- package/lib/types/components/chart/index.d.ts +69 -0
- package/lib/types/components/chart/types.d.ts +54 -0
- package/lib/types/components/confirm/Index.vue.d.ts +87 -0
- package/lib/types/components/confirm/index.d.ts +182 -0
- package/lib/types/components/confirm/types.d.ts +28 -0
- package/lib/types/components/containerBox/Index.vue.d.ts +30 -0
- package/lib/types/components/containerBox/index.d.ts +40 -0
- package/lib/types/components/containerBox/types.d.ts +5 -0
- package/lib/types/components/descriptions/Index.vue.d.ts +38 -0
- package/lib/types/components/descriptions/index.d.ts +51 -0
- package/lib/types/components/descriptions/types.d.ts +22 -0
- package/lib/types/components/dialog/Index.vue.d.ts +387 -0
- package/lib/types/components/dialog/index.d.ts +159 -0
- package/lib/types/components/dialog/types.d.ts +35 -0
- package/lib/types/components/editor/Index.vue.d.ts +37 -0
- package/lib/types/components/editor/index.d.ts +88 -0
- package/lib/types/components/editor/types.d.ts +15 -0
- package/lib/types/components/form/Form.vue.d.ts +667 -0
- package/lib/types/components/form/FormItem.vue.d.ts +1367 -0
- package/lib/types/components/form/index.d.ts +2635 -0
- package/lib/types/components/form/types.d.ts +112 -0
- package/lib/types/components/icon/Index.vue.d.ts +46 -0
- package/lib/types/components/icon/index.d.ts +76 -0
- package/lib/types/components/icon/types.d.ts +54 -0
- package/lib/types/components/index.d.ts +4 -0
- package/lib/types/components/jsonEditor/Index.vue.d.ts +13 -0
- package/lib/types/components/jsonEditor/index.d.ts +36 -0
- package/lib/types/components/jsonEditor/types.d.ts +4 -0
- package/lib/types/components/layout/Index.vue.d.ts +54 -0
- package/lib/types/components/layout/components/CommandList.vue.d.ts +103 -0
- package/lib/types/components/layout/components/Header.vue.d.ts +119 -0
- package/lib/types/components/layout/index.d.ts +81 -0
- package/lib/types/components/layout/types.d.ts +55 -0
- package/lib/types/components/list/List.vue.d.ts +1630 -0
- package/lib/types/components/list/index.d.ts +617 -0
- package/lib/types/components/list/types.d.ts +141 -0
- package/lib/types/components/live/Index.vue.d.ts +22 -0
- package/lib/types/components/live/index.d.ts +54 -0
- package/lib/types/components/live/types.d.ts +7 -0
- package/lib/types/components/map/Index.vue.d.ts +137 -0
- package/lib/types/components/map/index.d.ts +241 -0
- package/lib/types/components/map/types.d.ts +61 -0
- package/lib/types/components/menu/Index.vue.d.ts +193 -0
- package/lib/types/components/menu/MenuItem.vue.d.ts +59 -0
- package/lib/types/components/menu/index.d.ts +141 -0
- package/lib/types/components/menu/types.d.ts +100 -0
- package/lib/types/components/preview/Index.vue.d.ts +67 -0
- package/lib/types/components/preview/components/Docx.vue.d.ts +12 -0
- package/lib/types/components/preview/components/Image.vue.d.ts +63 -0
- package/lib/types/components/preview/components/Pdf.vue.d.ts +16 -0
- package/lib/types/components/preview/components/Xlsx.vue.d.ts +21 -0
- package/lib/types/components/preview/components/pdfs/Annotation.vue.d.ts +22 -0
- package/lib/types/components/preview/components/pdfs/PdfItem.vue.d.ts +58 -0
- package/lib/types/components/preview/components/pdfs/Text.vue.d.ts +17 -0
- package/lib/types/components/preview/components/pdfs/XFA.vue.d.ts +13 -0
- package/lib/types/components/preview/components/pdfs/annotations.d.ts +5 -0
- package/lib/types/components/preview/components/pdfs/destination.d.ts +7 -0
- package/lib/types/components/preview/components/pdfs/highlight.d.ts +6 -0
- package/lib/types/components/preview/components/pdfs/linkService.d.ts +71 -0
- package/lib/types/components/preview/components/pdfs/miscellaneous.d.ts +3 -0
- package/lib/types/components/preview/composable.d.ts +30 -0
- package/lib/types/components/preview/index.d.ts +130 -0
- package/lib/types/components/preview/types.d.ts +143 -0
- package/lib/types/components/preview_docx/Docx.vue.d.ts +12 -0
- package/lib/types/components/preview_docx/Index.vue.d.ts +61 -0
- package/lib/types/components/preview_docx/index.d.ts +121 -0
- package/lib/types/components/preview_docx/types.d.ts +5 -0
- package/lib/types/components/preview_image/Image.vue.d.ts +64 -0
- package/lib/types/components/preview_image/Index.vue.d.ts +76 -0
- package/lib/types/components/preview_image/index.d.ts +125 -0
- package/lib/types/components/preview_image/types.d.ts +25 -0
- package/lib/types/components/preview_pdf/Index.vue.d.ts +61 -0
- package/lib/types/components/preview_pdf/Pdf.vue.d.ts +16 -0
- package/lib/types/components/preview_pdf/composable.d.ts +30 -0
- package/lib/types/components/preview_pdf/index.d.ts +121 -0
- package/lib/types/components/preview_pdf/pdfs/Annotation.vue.d.ts +22 -0
- package/lib/types/components/preview_pdf/pdfs/PdfItem.vue.d.ts +58 -0
- package/lib/types/components/preview_pdf/pdfs/Text.vue.d.ts +17 -0
- package/lib/types/components/preview_pdf/pdfs/XFA.vue.d.ts +13 -0
- package/lib/types/components/preview_pdf/pdfs/annotations.d.ts +5 -0
- package/lib/types/components/preview_pdf/pdfs/destination.d.ts +7 -0
- package/lib/types/components/preview_pdf/pdfs/highlight.d.ts +6 -0
- package/lib/types/components/preview_pdf/pdfs/linkService.d.ts +71 -0
- package/lib/types/components/preview_pdf/pdfs/miscellaneous.d.ts +3 -0
- package/lib/types/components/preview_pdf/types.d.ts +79 -0
- package/lib/types/components/preview_xlsx/Index.vue.d.ts +61 -0
- package/lib/types/components/preview_xlsx/Xlsx.vue.d.ts +24 -0
- package/lib/types/components/preview_xlsx/config.d.ts +66 -0
- package/lib/types/components/preview_xlsx/index.d.ts +121 -0
- package/lib/types/components/preview_xlsx/types.d.ts +21 -0
- package/lib/types/components/print/Index.vue.d.ts +34 -0
- package/lib/types/components/print/index.d.ts +52 -0
- package/lib/types/components/print/types.d.ts +10 -0
- package/lib/types/components/table/Table.vue.d.ts +640 -0
- package/lib/types/components/table/index.d.ts +343 -0
- package/lib/types/components/table/types.d.ts +63 -0
- package/lib/types/components/tree/Index.vue.d.ts +83 -0
- package/lib/types/components/tree/index.d.ts +159 -0
- package/lib/types/components/tree/types.d.ts +35 -0
- package/lib/types/components/upload/Index.vue.d.ts +456 -0
- package/lib/types/components/upload/index.d.ts +3 -0
- package/lib/types/components/upload/types.d.ts +54 -0
- package/package.json +2 -1
- package/lib/node_modules/.pnpm/xlsx@https___cdn.sheetjs.com_xlsx-0.20.3_xlsx-0.20.3.tgz/node_modules/xlsx/xlsx/index.cjs +0 -63
- package/lib/node_modules/.pnpm/xlsx@https___cdn.sheetjs.com_xlsx-0.20.3_xlsx-0.20.3.tgz/node_modules/xlsx/xlsx/index.js +0 -20945
- package/lib/node_modules/.pnpm/xlsx@https___cdn.sheetjs.com_xlsx-0.20.3_xlsx-0.20.3.tgz/node_modules/xlsx/xlsx/index.js.br +0 -0
- package/lib/node_modules/.pnpm/xlsx@https___cdn.sheetjs.com_xlsx-0.20.3_xlsx-0.20.3.tgz/node_modules/xlsx/xlsx/index.js.gz +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { App, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
+
import { LSOptions, EpPropFinalized, EpPropMergeType } from '../_utils/types';
|
|
3
|
+
declare const LSPreviewPdf: {
|
|
4
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
5
|
+
source: {
|
|
6
|
+
readonly type: globalThis.PropType<{
|
|
7
|
+
type: unknown;
|
|
8
|
+
required: true;
|
|
9
|
+
}>;
|
|
10
|
+
readonly required: false;
|
|
11
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
|
+
__epPropKey: true;
|
|
13
|
+
};
|
|
14
|
+
zoomSize: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
15
|
+
needLoading: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
16
|
+
loadingOption: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {
|
|
17
|
+
text: string;
|
|
18
|
+
background: string;
|
|
19
|
+
}, boolean>;
|
|
20
|
+
hasDownload: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
21
|
+
downloadData: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: globalThis.PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
27
|
+
onLoadComplete?: (() => any) | undefined;
|
|
28
|
+
onLoadError?: (() => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
31
|
+
} & {
|
|
32
|
+
loadComplete: () => any;
|
|
33
|
+
loadError: () => any;
|
|
34
|
+
}, PublicProps, {
|
|
35
|
+
zoomSize: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
36
|
+
needLoading: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
|
+
loadingOption: Record<string, any>;
|
|
38
|
+
hasDownload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
|
+
downloadData: Record<string, any>;
|
|
40
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
41
|
+
P: {};
|
|
42
|
+
B: {};
|
|
43
|
+
D: {};
|
|
44
|
+
C: {};
|
|
45
|
+
M: {};
|
|
46
|
+
Defaults: {};
|
|
47
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
48
|
+
source: {
|
|
49
|
+
readonly type: globalThis.PropType<{
|
|
50
|
+
type: unknown;
|
|
51
|
+
required: true;
|
|
52
|
+
}>;
|
|
53
|
+
readonly required: false;
|
|
54
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
+
__epPropKey: true;
|
|
56
|
+
};
|
|
57
|
+
zoomSize: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
58
|
+
needLoading: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
59
|
+
loadingOption: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {
|
|
60
|
+
text: string;
|
|
61
|
+
background: string;
|
|
62
|
+
}, boolean>;
|
|
63
|
+
hasDownload: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
64
|
+
downloadData: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
65
|
+
modelValue: {
|
|
66
|
+
type: globalThis.PropType<boolean>;
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{
|
|
69
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
70
|
+
onLoadComplete?: (() => any) | undefined;
|
|
71
|
+
onLoadError?: (() => any) | undefined;
|
|
72
|
+
}>, {}, {}, {}, {}, {
|
|
73
|
+
zoomSize: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
74
|
+
needLoading: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
75
|
+
loadingOption: Record<string, any>;
|
|
76
|
+
hasDownload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
77
|
+
downloadData: Record<string, any>;
|
|
78
|
+
}>;
|
|
79
|
+
__isFragment?: never;
|
|
80
|
+
__isTeleport?: never;
|
|
81
|
+
__isSuspense?: never;
|
|
82
|
+
} & ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
83
|
+
source: {
|
|
84
|
+
readonly type: globalThis.PropType<{
|
|
85
|
+
type: unknown;
|
|
86
|
+
required: true;
|
|
87
|
+
}>;
|
|
88
|
+
readonly required: false;
|
|
89
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
90
|
+
__epPropKey: true;
|
|
91
|
+
};
|
|
92
|
+
zoomSize: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
93
|
+
needLoading: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
94
|
+
loadingOption: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {
|
|
95
|
+
text: string;
|
|
96
|
+
background: string;
|
|
97
|
+
}, boolean>;
|
|
98
|
+
hasDownload: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
99
|
+
downloadData: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
100
|
+
modelValue: {
|
|
101
|
+
type: globalThis.PropType<boolean>;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
104
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
105
|
+
onLoadComplete?: (() => any) | undefined;
|
|
106
|
+
onLoadError?: (() => any) | undefined;
|
|
107
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
108
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
109
|
+
} & {
|
|
110
|
+
loadComplete: () => any;
|
|
111
|
+
loadError: () => any;
|
|
112
|
+
}, string, {
|
|
113
|
+
zoomSize: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
114
|
+
needLoading: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
115
|
+
loadingOption: Record<string, any>;
|
|
116
|
+
hasDownload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
117
|
+
downloadData: Record<string, any>;
|
|
118
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
119
|
+
install: (app: App, options?: LSOptions) => void;
|
|
120
|
+
};
|
|
121
|
+
export default LSPreviewPdf;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PDFDocumentProxy, PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import { AnnotationEventPayload } from '../types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
page?: PDFPageProxy;
|
|
6
|
+
viewport?: PageViewport;
|
|
7
|
+
document?: PDFDocumentProxy;
|
|
8
|
+
annotationsFilter?: string[];
|
|
9
|
+
annotationsMap?: object;
|
|
10
|
+
imageResourcesPath?: string;
|
|
11
|
+
hideForms?: boolean;
|
|
12
|
+
enableScripting?: boolean;
|
|
13
|
+
intent: string;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
16
|
+
annotation: (payload: AnnotationEventPayload) => any;
|
|
17
|
+
annotationLoaded: (payload: any[]) => any;
|
|
18
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onAnnotation?: ((payload: AnnotationEventPayload) => any) | undefined;
|
|
20
|
+
onAnnotationLoaded?: ((payload: any[]) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PDFDocumentLoadingTask } from 'pdfjs-dist';
|
|
2
|
+
import { HighlightOptions, WatermarkOptions } from '../types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
pdf: PDFDocumentLoadingTask;
|
|
6
|
+
page: number;
|
|
7
|
+
scale: number;
|
|
8
|
+
rotation?: number;
|
|
9
|
+
fitParent?: boolean;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
textLayer?: boolean;
|
|
13
|
+
imageResourcesPath?: string;
|
|
14
|
+
hideForms?: boolean;
|
|
15
|
+
intent?: string;
|
|
16
|
+
annotationLayer?: boolean;
|
|
17
|
+
annotationsFilter?: string[];
|
|
18
|
+
annotationsMap?: object;
|
|
19
|
+
watermarkText?: string;
|
|
20
|
+
watermarkOptions?: WatermarkOptions;
|
|
21
|
+
highlightText?: string | string[];
|
|
22
|
+
highlightOptions?: HighlightOptions;
|
|
23
|
+
};
|
|
24
|
+
declare function reload(): void;
|
|
25
|
+
declare function cancel(): void;
|
|
26
|
+
declare function __VLS_template(): {
|
|
27
|
+
attrs: Partial<{}>;
|
|
28
|
+
slots: {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
refs: {
|
|
32
|
+
container: HTMLDivElement;
|
|
33
|
+
loadingLayer: HTMLDivElement;
|
|
34
|
+
};
|
|
35
|
+
rootEl: HTMLDivElement;
|
|
36
|
+
};
|
|
37
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {
|
|
39
|
+
reload: typeof reload;
|
|
40
|
+
cancel: typeof cancel;
|
|
41
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
42
|
+
[x: string]: any;
|
|
43
|
+
} & {
|
|
44
|
+
[x: string]: any;
|
|
45
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
scale: number;
|
|
49
|
+
page: number;
|
|
50
|
+
intent: string;
|
|
51
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import { HighlightEventPayload, HighlightOptions, TextLayerLoadedEventPayload } from '../types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
page?: PDFPageProxy;
|
|
6
|
+
viewport?: PageViewport;
|
|
7
|
+
highlightText?: string | string[];
|
|
8
|
+
highlightOptions?: HighlightOptions;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
+
highlight: (payload: HighlightEventPayload) => any;
|
|
12
|
+
textLoaded: (payload: TextLayerLoadedEventPayload) => any;
|
|
13
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
|
|
15
|
+
onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PDFDocumentProxy, PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
page?: PDFPageProxy;
|
|
5
|
+
document?: PDFDocumentProxy;
|
|
6
|
+
viewport?: PageViewport;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
9
|
+
xfaLoaded: () => any;
|
|
10
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onXfaLoaded?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PDFDocumentProxy } from 'pdfjs-dist';
|
|
2
|
+
import { AnnotationEventPayload } from '../types';
|
|
3
|
+
declare const EVENTS_TO_HANDLER: string[];
|
|
4
|
+
declare function annotationEventsHandler(evt: Event, PDFDoc: PDFDocumentProxy, Annotations: Object[]): AnnotationEventPayload | Promise<AnnotationEventPayload | undefined> | undefined;
|
|
5
|
+
export { annotationEventsHandler, EVENTS_TO_HANDLER };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PDFDocumentProxy, RefProxy } from 'pdfjs-dist/types/src/display/api';
|
|
2
|
+
import { PDFLocation } from '../types';
|
|
3
|
+
declare function getDestinationArray(doc: PDFDocumentProxy, dest: string | any[] | null): Promise<any[] | null>;
|
|
4
|
+
declare function getDestinationRef(doc: PDFDocumentProxy, destArray: any[] | null): Promise<RefProxy | null>;
|
|
5
|
+
declare function getLocation(type: string, spec: number[]): PDFLocation | null;
|
|
6
|
+
declare const isSpecLike: (list: any[]) => list is number[];
|
|
7
|
+
export { getDestinationArray, getDestinationRef, getLocation, isSpecLike };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TextContent } from 'pdfjs-dist/types/src/display/text_layer';
|
|
2
|
+
import { HighlightOptions, Match } from '../types';
|
|
3
|
+
declare function highlightMatches(matches: Match[], textContent: TextContent, textDivs: HTMLElement[]): void;
|
|
4
|
+
declare function resetDivs(textContent: TextContent, textDivs: HTMLElement[]): void;
|
|
5
|
+
declare function findMatches(queries: string[], textContent: TextContent, options: HighlightOptions): Match[];
|
|
6
|
+
export { findMatches, highlightMatches, resetDivs };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IPDFLinkService } from 'pdfjs-dist/types/web/interfaces';
|
|
2
|
+
declare class SimpleLinkService implements IPDFLinkService {
|
|
3
|
+
externalLinkEnabled: boolean;
|
|
4
|
+
constructor();
|
|
5
|
+
/**
|
|
6
|
+
* @type {number}
|
|
7
|
+
*/
|
|
8
|
+
get pagesCount(): number;
|
|
9
|
+
/**
|
|
10
|
+
* @type {number}
|
|
11
|
+
*/
|
|
12
|
+
get page(): number;
|
|
13
|
+
/**
|
|
14
|
+
* @param {number} _value
|
|
15
|
+
*/
|
|
16
|
+
set page(_value: number);
|
|
17
|
+
/**
|
|
18
|
+
* @type {number}
|
|
19
|
+
*/
|
|
20
|
+
get rotation(): number;
|
|
21
|
+
/**
|
|
22
|
+
* @param {number} _value
|
|
23
|
+
*/
|
|
24
|
+
set rotation(_value: number);
|
|
25
|
+
/**
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
*/
|
|
28
|
+
get isInPresentationMode(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @param {string|Array} _dest - The named, or explicit, PDF destination.
|
|
31
|
+
*/
|
|
32
|
+
goToDestination(_dest: string | Array<any>): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* @param {number|string} _val - The page number, or page label.
|
|
35
|
+
*/
|
|
36
|
+
goToPage(_val: number | string): void;
|
|
37
|
+
/**
|
|
38
|
+
* @param {HTMLAnchorElement} link
|
|
39
|
+
* @param {string} url
|
|
40
|
+
* @param {boolean} [_newWindow]
|
|
41
|
+
*/
|
|
42
|
+
addLinkAttributes(link: HTMLAnchorElement, url: string, _newWindow?: boolean): void;
|
|
43
|
+
/**
|
|
44
|
+
* @param _dest - The PDF destination object.
|
|
45
|
+
* @returns {string} The hyperlink to the PDF object.
|
|
46
|
+
*/
|
|
47
|
+
getDestinationHash(_dest: any): string;
|
|
48
|
+
/**
|
|
49
|
+
* @param _hash - The PDF parameters/hash.
|
|
50
|
+
* @returns {string} The hyperlink to the PDF object.
|
|
51
|
+
*/
|
|
52
|
+
getAnchorUrl(_hash: any): string;
|
|
53
|
+
/**
|
|
54
|
+
* @param {string} _hash
|
|
55
|
+
*/
|
|
56
|
+
setHash(_hash: string): void;
|
|
57
|
+
/**
|
|
58
|
+
* @param {string} _action
|
|
59
|
+
*/
|
|
60
|
+
executeNamedAction(_action: string): void;
|
|
61
|
+
/**
|
|
62
|
+
* @param {Object} _action
|
|
63
|
+
*/
|
|
64
|
+
executeSetOCGState(_action: object): void;
|
|
65
|
+
/**
|
|
66
|
+
* @param {number} _pageNum - page number.
|
|
67
|
+
* @param {Object} _pageRef - reference to the page.
|
|
68
|
+
*/
|
|
69
|
+
cachePageRef(_pageNum: number, _pageRef: object): void;
|
|
70
|
+
}
|
|
71
|
+
export { SimpleLinkService };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import { DocumentInitParameters, OnProgressParameters, PDFDataRangeTransport, TextContent, TypedArray } from 'pdfjs-dist/types/src/display/api';
|
|
3
|
+
import { Metadata } from 'pdfjs-dist/types/src/display/metadata';
|
|
4
|
+
export interface Match {
|
|
5
|
+
start: {
|
|
6
|
+
idx: number;
|
|
7
|
+
offset: number;
|
|
8
|
+
};
|
|
9
|
+
end: {
|
|
10
|
+
idx: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
};
|
|
13
|
+
str: string;
|
|
14
|
+
oindex: number;
|
|
15
|
+
}
|
|
16
|
+
export type LoadedEventPayload = PageViewport;
|
|
17
|
+
export interface AnnotationEventPayload {
|
|
18
|
+
type: string;
|
|
19
|
+
data: any;
|
|
20
|
+
}
|
|
21
|
+
export interface HighlightEventPayload {
|
|
22
|
+
matches: Match[];
|
|
23
|
+
page: number;
|
|
24
|
+
textContent: TextContent;
|
|
25
|
+
textDivs: HTMLElement[];
|
|
26
|
+
}
|
|
27
|
+
export interface TextLayerLoadedEventPayload {
|
|
28
|
+
textDivs: HTMLElement[];
|
|
29
|
+
textContent: TextContent | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface WatermarkOptions {
|
|
32
|
+
columns?: number;
|
|
33
|
+
rows?: number;
|
|
34
|
+
rotation?: number;
|
|
35
|
+
fontSize?: number;
|
|
36
|
+
color?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface HighlightOptions {
|
|
39
|
+
ignoreCase?: boolean;
|
|
40
|
+
completeWords?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface Base<T, S> {
|
|
43
|
+
type: T;
|
|
44
|
+
spec: S;
|
|
45
|
+
}
|
|
46
|
+
export type XYZ = Base<'XYZ', [left: number, top: number, zoom: number]>;
|
|
47
|
+
export type Fit = Base<'Fit', []>;
|
|
48
|
+
export type FitH = Base<'FitH', [top: number]>;
|
|
49
|
+
export type FitV = Base<'FitV', [left: number]>;
|
|
50
|
+
export type FitR = Base<'FitR', [left: number, bottom: number, right: number, top: number]>;
|
|
51
|
+
export type FitB = Base<'FitB', []>;
|
|
52
|
+
export type FitBH = Base<'FitBH', [top: number]>;
|
|
53
|
+
export type FitBV = Base<'FitBV', [left: number]>;
|
|
54
|
+
export type PDFLocation = XYZ | Fit | FitH | FitV | FitR | FitB | FitBH | FitBV;
|
|
55
|
+
export interface PDFDestination {
|
|
56
|
+
pageIndex: number;
|
|
57
|
+
location: PDFLocation;
|
|
58
|
+
}
|
|
59
|
+
export type OnProgressCallback = (progressData: OnProgressParameters) => void;
|
|
60
|
+
export type UpdatePasswordFn = (newPassword: string) => void;
|
|
61
|
+
export type OnPasswordCallback = (updatePassword: UpdatePasswordFn, reason: any) => void;
|
|
62
|
+
export type OnErrorCallback = (error: any) => void;
|
|
63
|
+
export type PDFSrc = string | URL | TypedArray | PDFDataRangeTransport | DocumentInitParameters | undefined | null;
|
|
64
|
+
export interface PDFOptions {
|
|
65
|
+
onProgress?: OnProgressCallback;
|
|
66
|
+
onPassword?: OnPasswordCallback;
|
|
67
|
+
onError?: OnErrorCallback;
|
|
68
|
+
password?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface PDFInfoMetadata {
|
|
71
|
+
info: Object;
|
|
72
|
+
metadata: Metadata;
|
|
73
|
+
}
|
|
74
|
+
export interface PDFInfo {
|
|
75
|
+
metadata: PDFInfoMetadata;
|
|
76
|
+
attachments: Record<string, unknown>;
|
|
77
|
+
javascript: string[] | null;
|
|
78
|
+
outline: any;
|
|
79
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { EpPropFinalized, EpPropMergeType } from '../_utils/types';
|
|
3
|
+
declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
source: {
|
|
5
|
+
readonly type: globalThis.PropType<{
|
|
6
|
+
type: unknown;
|
|
7
|
+
required: true;
|
|
8
|
+
}>;
|
|
9
|
+
readonly required: false;
|
|
10
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11
|
+
__epPropKey: true;
|
|
12
|
+
};
|
|
13
|
+
zoomSize: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
14
|
+
needLoading: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
15
|
+
loadingOption: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {
|
|
16
|
+
text: string;
|
|
17
|
+
background: string;
|
|
18
|
+
}, boolean>;
|
|
19
|
+
hasDownload: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
20
|
+
downloadData: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: globalThis.PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
26
|
+
} & {
|
|
27
|
+
loadComplete: () => any;
|
|
28
|
+
loadError: () => any;
|
|
29
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
30
|
+
source: {
|
|
31
|
+
readonly type: globalThis.PropType<{
|
|
32
|
+
type: unknown;
|
|
33
|
+
required: true;
|
|
34
|
+
}>;
|
|
35
|
+
readonly required: false;
|
|
36
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
|
+
__epPropKey: true;
|
|
38
|
+
};
|
|
39
|
+
zoomSize: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
40
|
+
needLoading: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
41
|
+
loadingOption: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {
|
|
42
|
+
text: string;
|
|
43
|
+
background: string;
|
|
44
|
+
}, boolean>;
|
|
45
|
+
hasDownload: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
46
|
+
downloadData: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: globalThis.PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
52
|
+
onLoadComplete?: (() => any) | undefined;
|
|
53
|
+
onLoadError?: (() => any) | undefined;
|
|
54
|
+
}>, {
|
|
55
|
+
zoomSize: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
56
|
+
needLoading: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
57
|
+
loadingOption: Record<string, any>;
|
|
58
|
+
hasDownload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
59
|
+
downloadData: Record<string, any>;
|
|
60
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { EpPropFinalized, EpPropMergeType } from '../_utils/types';
|
|
3
|
+
declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
source: EpPropFinalized<({
|
|
5
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
6
|
+
prototype: File;
|
|
7
|
+
} | StringConstructor)[], unknown, unknown, null, boolean>;
|
|
8
|
+
hasPagination: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
9
|
+
onClose: FunctionConstructor;
|
|
10
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
|
+
source: EpPropFinalized<({
|
|
12
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
13
|
+
prototype: File;
|
|
14
|
+
} | StringConstructor)[], unknown, unknown, null, boolean>;
|
|
15
|
+
hasPagination: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
16
|
+
onClose: FunctionConstructor;
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
18
|
+
source: EpPropMergeType<({
|
|
19
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
20
|
+
prototype: File;
|
|
21
|
+
} | StringConstructor)[], unknown, unknown>;
|
|
22
|
+
hasPagination: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const jsList: {
|
|
2
|
+
id: string;
|
|
3
|
+
src: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const cssList: {
|
|
6
|
+
id: string;
|
|
7
|
+
src: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const luckysheetConfig: {
|
|
10
|
+
container: string;
|
|
11
|
+
lang: string;
|
|
12
|
+
gridKey: number;
|
|
13
|
+
showinfobar: boolean;
|
|
14
|
+
allowEdit: boolean;
|
|
15
|
+
allowCopy: boolean;
|
|
16
|
+
allowUpdate: boolean;
|
|
17
|
+
showtoolbar: boolean;
|
|
18
|
+
enableAddRow: boolean;
|
|
19
|
+
enableAddBackTop: boolean;
|
|
20
|
+
sheetFormulaBar: boolean;
|
|
21
|
+
showstatisticBar: boolean;
|
|
22
|
+
showsheetbar: boolean;
|
|
23
|
+
forceCalculation: boolean;
|
|
24
|
+
showConfigWindowResize: boolean;
|
|
25
|
+
showsheetbarConfig: {
|
|
26
|
+
sheet: boolean;
|
|
27
|
+
};
|
|
28
|
+
sheetRightClickConfig: {
|
|
29
|
+
delete: boolean;
|
|
30
|
+
copy: boolean;
|
|
31
|
+
rename: boolean;
|
|
32
|
+
color: boolean;
|
|
33
|
+
hide: boolean;
|
|
34
|
+
move: boolean;
|
|
35
|
+
};
|
|
36
|
+
cellRightClickConfig: {
|
|
37
|
+
copy: boolean;
|
|
38
|
+
copyAs: boolean;
|
|
39
|
+
paste: boolean;
|
|
40
|
+
insertRow: boolean;
|
|
41
|
+
insertColumn: boolean;
|
|
42
|
+
deleteRow: boolean;
|
|
43
|
+
deleteColumn: boolean;
|
|
44
|
+
deleteCell: boolean;
|
|
45
|
+
hideRow: boolean;
|
|
46
|
+
hideColumn: boolean;
|
|
47
|
+
rowHeight: boolean;
|
|
48
|
+
columnWidth: boolean;
|
|
49
|
+
clear: boolean;
|
|
50
|
+
matrix: boolean;
|
|
51
|
+
sort: boolean;
|
|
52
|
+
filter: boolean;
|
|
53
|
+
chart: boolean;
|
|
54
|
+
image: boolean;
|
|
55
|
+
link: boolean;
|
|
56
|
+
data: boolean;
|
|
57
|
+
cellFormat: boolean;
|
|
58
|
+
};
|
|
59
|
+
hook: {
|
|
60
|
+
cellUpdateBefore: () => boolean;
|
|
61
|
+
imageDeleteBefore: () => boolean;
|
|
62
|
+
imageUpdateBefore: () => boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export declare const fileSizeLimit = 20;
|
|
66
|
+
export declare const rowsPerBatch = 1000;
|