@abyss-project/commons-front-core 1.0.147 → 2.0.0
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/{CookieConsentSettings.component-Dkw8Ye0E.js → CookieConsentSettings.component-Dqbo9N8Y.js} +234 -124
- package/dist/components/Inputs/ColorPalette/ColorPalette.component.d.ts +1 -0
- package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -2
- package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -2
- package/dist/components/PdfEditor/hooks/use-pdf-document.d.ts +6 -1
- package/dist/components/PdfEditor/operations/actions.d.ts +1 -0
- package/dist/components/PdfEditor/operations/compute-page-order.d.ts +4 -0
- package/dist/components/PdfEditor/operations/extract.d.ts +2 -0
- package/dist/components/PdfEditor/operations/extract.spec.d.ts +1 -0
- package/dist/components/PdfEditor/operations/rasterize.d.ts +3 -0
- package/dist/components/PdfEditor/operations/redact.d.ts +9 -0
- package/dist/components/PdfEditor/operations/redact.spec.d.ts +1 -0
- package/dist/components/PdfEditor/tools/RedactTool.d.ts +2 -0
- package/dist/components/PdfEditor/tools/ShapeTool.d.ts +17 -0
- package/dist/components/PdfEditor/tools/TextTool.d.ts +11 -1
- package/dist/components/PdfEditor/tools/Toolbar.d.ts +11 -0
- package/dist/components/PdfEditor/tools/tool-options-ui.d.ts +4 -0
- package/dist/components/PdfEditor/types.d.ts +55 -3
- package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +7 -2
- package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +4 -0
- package/dist/components/PdfEditor/viewer/ViewerControls.d.ts +2 -0
- package/dist/components/Support/types.d.ts +2 -0
- package/dist/cookie-consent.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +140 -22
- package/dist/{index-C2KsBRfQ.js → index--KPqynn_.js} +2 -2
- package/dist/{index-BW9Bye_5.js → index-AykyIzzG.js} +3 -3
- package/dist/{index-BqukycfU.js → index-B3gKqf-p.js} +3 -3
- package/dist/{index-BL7GRhPa.js → index-BCVRYGLI.js} +4 -4
- package/dist/{index-DCjRpdx3.js → index-BcInTypv.js} +4 -4
- package/dist/{index-B3Q0CXvH.js → index-BdWnB1rS.js} +2 -2
- package/dist/{index-BHkn2ltL.js → index-BiREoCYc.js} +2 -2
- package/dist/{index-GG9dANvs.js → index-CL4h9Xoy.js} +4 -4
- package/dist/{index-DCJSXRWb.js → index-CSpwXL74.js} +1 -1
- package/dist/{index-CrfvkYYN.js → index-CTVUhat-.js} +2 -2
- package/dist/{index-HwfQ82MI.js → index-Ca_vS7os.js} +2 -2
- package/dist/{index-Dn-WBCKE.js → index-Cil-O_44.js} +2 -2
- package/dist/{index-DFfm18gp.js → index-CoY-Eqah.js} +2 -2
- package/dist/{index-DayoEcuw.js → index-DON7Q_3s.js} +2 -2
- package/dist/{index-EZoUoL9o.js → index-DZG8q-Mp.js} +3 -3
- package/dist/{index-2CKJrPca.js → index-Db-3tPxk.js} +2 -2
- package/dist/{index-D8zo5pJ7.js → index-Df71mOHZ.js} +3 -3
- package/dist/{index-Cx0vAIWv.js → index-DpUTQu7B.js} +2 -2
- package/dist/{index-xJbVPHgr.js → index-QwHRQNwT.js} +2 -2
- package/dist/{index-CaN4t0Xc.js → index-VEVfBSFw.js} +2 -2
- package/dist/{index-BOsYmSCD.js → index-a9_oOlg4.js} +32963 -31311
- package/dist/{index-DBRSsvnV.js → index-ldQTy6Xb.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/translations/en.d.ts +66 -11
- package/dist/translations/fr.d.ts +66 -11
- package/package.json +143 -139
|
@@ -4,10 +4,8 @@ type Props = {
|
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
onCancel: () => Promise<void>;
|
|
6
6
|
user: UserSettingsUser;
|
|
7
|
-
resetApiKey: () => Promise<void>;
|
|
8
7
|
fetchMe: () => Promise<void>;
|
|
9
8
|
isLoading: boolean;
|
|
10
|
-
apiKey: string;
|
|
11
9
|
abyssUrl: string;
|
|
12
10
|
};
|
|
13
11
|
declare const UserSettings: FC<Props>;
|
|
@@ -22,10 +22,8 @@ type Props = {
|
|
|
22
22
|
isOpen: boolean;
|
|
23
23
|
onCancel: () => Promise<void>;
|
|
24
24
|
onSave: (values: UserSettingsValues) => Promise<void>;
|
|
25
|
-
resetApiKey: () => Promise<void>;
|
|
26
25
|
user: UserSettingsUser;
|
|
27
26
|
isLoading: boolean;
|
|
28
|
-
apiKey: string;
|
|
29
27
|
abyssUrl: string;
|
|
30
28
|
profileSuffix?: string;
|
|
31
29
|
deleteAccountSuffix?: string;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { PDFDocumentProxy } from 'pdfjs-dist';
|
|
2
2
|
import { PdfSource } from '../types';
|
|
3
|
+
type Decryptor = (bytes: Uint8Array, password: string) => Promise<Uint8Array>;
|
|
3
4
|
interface UsePdfDocumentResult {
|
|
4
5
|
pdfDoc: PDFDocumentProxy | null;
|
|
5
6
|
sourceBytes: Uint8Array | null;
|
|
6
7
|
pageCount: number;
|
|
7
8
|
loading: boolean;
|
|
8
9
|
error: Error | null;
|
|
10
|
+
needsPassword: boolean;
|
|
11
|
+
unlocking: boolean;
|
|
12
|
+
unlockFailed: boolean;
|
|
13
|
+
unlock: (password: string) => void;
|
|
9
14
|
}
|
|
10
|
-
export declare const usePdfDocument: (source: PdfSource | null) => UsePdfDocumentResult;
|
|
15
|
+
export declare const usePdfDocument: (source: PdfSource | null, decryptor?: Decryptor) => UsePdfDocumentResult;
|
|
11
16
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AcroFormField, EditorAction, PdfOperation, ToolKind } from '../types';
|
|
2
2
|
export declare const addOperation: (operation: PdfOperation) => EditorAction;
|
|
3
|
+
export declare const addOperations: (operations: PdfOperation[]) => EditorAction;
|
|
3
4
|
export declare const addOperationAllPages: (operation: PdfOperation, pageIndices: number[]) => EditorAction;
|
|
4
5
|
export declare const updateOperation: (opId: string, operation: PdfOperation) => EditorAction;
|
|
5
6
|
export declare const moveOperation: (opId: string, operation: PdfOperation) => EditorAction;
|
|
@@ -5,5 +5,9 @@ export interface InsertedPageRef {
|
|
|
5
5
|
uploadPageIndex: number;
|
|
6
6
|
}
|
|
7
7
|
export declare function computeInsertionTable(numPages: number, operations: PdfOperation[]): Map<number, InsertedPageRef>;
|
|
8
|
+
export declare function computeBlankPages(numPages: number, operations: PdfOperation[]): Map<number, {
|
|
9
|
+
widthPt: number;
|
|
10
|
+
heightPt: number;
|
|
11
|
+
}>;
|
|
8
12
|
export declare function computePageOrder(numPages: number, operations: PdfOperation[]): number[];
|
|
9
13
|
export declare function computeRotationMap(operations: PdfOperation[]): Map<number, number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PdfOperation } from '../types';
|
|
2
|
+
export interface RedactRect {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
widthPt: number;
|
|
6
|
+
heightPt: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const hasRedactions: (operations: PdfOperation[]) => boolean;
|
|
9
|
+
export declare const collectRedactions: (operations: PdfOperation[]) => Map<number, RedactRect[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ShapeKind } from '../types';
|
|
3
|
+
interface ShapeToolProps {
|
|
4
|
+
mode: 'shape' | 'highlight';
|
|
5
|
+
shapeKind: ShapeKind;
|
|
6
|
+
onShapeKind: (k: ShapeKind) => void;
|
|
7
|
+
color: string;
|
|
8
|
+
onColorChange: (c: string) => void;
|
|
9
|
+
strokeWidth: number;
|
|
10
|
+
onStrokeWidthChange: (w: number) => void;
|
|
11
|
+
fill: string | null;
|
|
12
|
+
onFillChange: (c: string | null) => void;
|
|
13
|
+
highlightColor: string;
|
|
14
|
+
onHighlightColorChange: (c: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const ShapeTool: React.FC<ShapeToolProps>;
|
|
17
|
+
export {};
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
import { TextFontFamily } from '../types';
|
|
3
|
+
interface TextToolProps {
|
|
4
|
+
color: string;
|
|
5
|
+
onColorChange: (c: string) => void;
|
|
6
|
+
size: number;
|
|
7
|
+
onSizeChange: (s: number) => void;
|
|
8
|
+
family: TextFontFamily;
|
|
9
|
+
onFamilyChange: (f: TextFontFamily) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const TextTool: React.FC<TextToolProps>;
|
|
12
|
+
export {};
|
|
@@ -19,6 +19,17 @@ interface ToolbarProps {
|
|
|
19
19
|
compact?: boolean;
|
|
20
20
|
sidebarOpen?: boolean;
|
|
21
21
|
onToggleSidebar?: () => void;
|
|
22
|
+
onAddBlankPage?: () => void;
|
|
23
|
+
onAddPageNumbers?: () => void;
|
|
24
|
+
onWatermark?: () => void;
|
|
25
|
+
onInsertImage?: () => void;
|
|
26
|
+
onInsertCloudImage?: () => void;
|
|
27
|
+
onExtractPages?: () => void;
|
|
28
|
+
onProtect?: () => void;
|
|
29
|
+
onCompress?: () => void;
|
|
30
|
+
securing?: boolean;
|
|
31
|
+
toolOptions?: React.ReactNode;
|
|
32
|
+
placementActive?: boolean;
|
|
22
33
|
}
|
|
23
34
|
export declare const Toolbar: React.FC<ToolbarProps>;
|
|
24
35
|
export {};
|
|
@@ -9,13 +9,19 @@ export declare enum PdfOperationType {
|
|
|
9
9
|
ANNOTATE_TEXT = "ANNOTATE_TEXT",
|
|
10
10
|
ANNOTATE_DRAW = "ANNOTATE_DRAW",
|
|
11
11
|
ANNOTATE_IMAGE = "ANNOTATE_IMAGE",
|
|
12
|
+
ANNOTATE_SHAPE = "ANNOTATE_SHAPE",
|
|
13
|
+
ANNOTATE_HIGHLIGHT = "ANNOTATE_HIGHLIGHT",
|
|
14
|
+
ANNOTATE_REDACT = "ANNOTATE_REDACT",
|
|
12
15
|
FILL_FIELD = "FILL_FIELD",
|
|
13
16
|
PAGE_REORDER = "PAGE_REORDER",
|
|
14
17
|
PAGE_DELETE = "PAGE_DELETE",
|
|
15
18
|
PAGE_ROTATE = "PAGE_ROTATE",
|
|
16
19
|
PAGE_INSERT_FROM_UPLOAD = "PAGE_INSERT_FROM_UPLOAD",
|
|
20
|
+
PAGE_INSERT_BLANK = "PAGE_INSERT_BLANK",
|
|
17
21
|
FLATTEN = "FLATTEN"
|
|
18
22
|
}
|
|
23
|
+
export type ShapeKind = 'rect' | 'ellipse' | 'line' | 'arrow';
|
|
24
|
+
export type TextFontFamily = 'sans' | 'serif' | 'mono';
|
|
19
25
|
export type PdfImageSource = {
|
|
20
26
|
kind: 'USER_ASSET';
|
|
21
27
|
assetId: string;
|
|
@@ -32,6 +38,9 @@ export type PdfOperation = {
|
|
|
32
38
|
text: string;
|
|
33
39
|
fontSize: number;
|
|
34
40
|
color: string;
|
|
41
|
+
fontFamily?: TextFontFamily;
|
|
42
|
+
opacity?: number;
|
|
43
|
+
rotationDeg?: number;
|
|
35
44
|
} | {
|
|
36
45
|
opId: string;
|
|
37
46
|
type: PdfOperationType.ANNOTATE_DRAW;
|
|
@@ -48,6 +57,35 @@ export type PdfOperation = {
|
|
|
48
57
|
widthPt: number;
|
|
49
58
|
heightPt: number;
|
|
50
59
|
source: PdfImageSource;
|
|
60
|
+
} | {
|
|
61
|
+
opId: string;
|
|
62
|
+
type: PdfOperationType.ANNOTATE_SHAPE;
|
|
63
|
+
pageIndex: number;
|
|
64
|
+
shape: ShapeKind;
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
x2: number;
|
|
68
|
+
y2: number;
|
|
69
|
+
color: string;
|
|
70
|
+
strokeWidth: number;
|
|
71
|
+
fill?: string | null;
|
|
72
|
+
} | {
|
|
73
|
+
opId: string;
|
|
74
|
+
type: PdfOperationType.ANNOTATE_HIGHLIGHT;
|
|
75
|
+
pageIndex: number;
|
|
76
|
+
x: number;
|
|
77
|
+
y: number;
|
|
78
|
+
widthPt: number;
|
|
79
|
+
heightPt: number;
|
|
80
|
+
color: string;
|
|
81
|
+
} | {
|
|
82
|
+
opId: string;
|
|
83
|
+
type: PdfOperationType.ANNOTATE_REDACT;
|
|
84
|
+
pageIndex: number;
|
|
85
|
+
x: number;
|
|
86
|
+
y: number;
|
|
87
|
+
widthPt: number;
|
|
88
|
+
heightPt: number;
|
|
51
89
|
} | {
|
|
52
90
|
opId: string;
|
|
53
91
|
type: PdfOperationType.FILL_FIELD;
|
|
@@ -72,6 +110,12 @@ export type PdfOperation = {
|
|
|
72
110
|
afterPageIndex: number;
|
|
73
111
|
uploadKey: string;
|
|
74
112
|
uploadPages: number[];
|
|
113
|
+
} | {
|
|
114
|
+
opId: string;
|
|
115
|
+
type: PdfOperationType.PAGE_INSERT_BLANK;
|
|
116
|
+
afterPageIndex: number;
|
|
117
|
+
widthPt: number;
|
|
118
|
+
heightPt: number;
|
|
75
119
|
} | {
|
|
76
120
|
opId: string;
|
|
77
121
|
type: PdfOperationType.FLATTEN;
|
|
@@ -101,7 +145,7 @@ export type PdfSource = {
|
|
|
101
145
|
fileName: string;
|
|
102
146
|
};
|
|
103
147
|
export type PdfEditorMode = 'anonymous-client' | 'anonymous-shared' | 'session-authenticated' | 'session-cloud-bridge';
|
|
104
|
-
export type ToolKind = 'select' | 'text' | 'draw' | 'signature' | 'eraser' | 'fill-fields';
|
|
148
|
+
export type ToolKind = 'select' | 'text' | 'draw' | 'shape' | 'highlight' | 'redact' | 'signature' | 'eraser' | 'fill-fields';
|
|
105
149
|
export interface AcroFormField {
|
|
106
150
|
name: string;
|
|
107
151
|
kind: 'text' | 'checkbox' | 'radio' | 'dropdown';
|
|
@@ -122,6 +166,9 @@ export interface EditorState {
|
|
|
122
166
|
export type EditorAction = {
|
|
123
167
|
type: 'ADD_OPERATION';
|
|
124
168
|
payload: PdfOperation;
|
|
169
|
+
} | {
|
|
170
|
+
type: 'ADD_OPERATIONS';
|
|
171
|
+
payload: PdfOperation[];
|
|
125
172
|
} | {
|
|
126
173
|
type: 'ADD_OPERATION_ALL_PAGES';
|
|
127
174
|
payload: {
|
|
@@ -205,6 +252,11 @@ export type SaveSignatureFn = (params: {
|
|
|
205
252
|
export type OperationsAdapter = (params: {
|
|
206
253
|
operations: PdfOperation[];
|
|
207
254
|
}) => Promise<void>;
|
|
255
|
+
export interface PdfSecurity {
|
|
256
|
+
setPassword?: (bytes: Uint8Array, password: string) => Promise<Uint8Array>;
|
|
257
|
+
removePassword?: (bytes: Uint8Array, password: string) => Promise<Uint8Array>;
|
|
258
|
+
compress?: (bytes: Uint8Array) => Promise<Uint8Array>;
|
|
259
|
+
}
|
|
208
260
|
export interface PdfEditorProps {
|
|
209
261
|
source: PdfSource;
|
|
210
262
|
mode: PdfEditorMode;
|
|
@@ -216,10 +268,10 @@ export interface PdfEditorProps {
|
|
|
216
268
|
onSaveSignature?: SaveSignatureFn;
|
|
217
269
|
onExport: (request: ExportRequest) => Promise<void>;
|
|
218
270
|
exportOptions: ExportOption[];
|
|
219
|
-
title?: string;
|
|
220
|
-
onTitleChange?: (title: string) => Promise<void>;
|
|
221
271
|
readOnly?: boolean;
|
|
222
272
|
cloudImport?: PdfEditorCloudImportProps;
|
|
223
273
|
manageAssetsUrl?: string;
|
|
224
274
|
onChangeSource?: () => void;
|
|
275
|
+
pdfSecurity?: PdfSecurity;
|
|
276
|
+
pickCloudImage?: () => Promise<string | null>;
|
|
225
277
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { PdfOperation, ToolKind, EditorAction } from '../types';
|
|
2
|
+
import { PdfOperation, ToolKind, EditorAction, ShapeKind, TextFontFamily } from '../types';
|
|
3
3
|
interface PageOverlayProps {
|
|
4
4
|
pageIndex: number;
|
|
5
5
|
displayIndex: number;
|
|
@@ -13,9 +13,14 @@ interface PageOverlayProps {
|
|
|
13
13
|
pendingApplyAllPages: boolean;
|
|
14
14
|
pageIndices: number[];
|
|
15
15
|
dispatch: React.Dispatch<EditorAction>;
|
|
16
|
-
textInput?: string;
|
|
17
16
|
drawColor?: string;
|
|
18
17
|
drawStrokeWidth?: number;
|
|
18
|
+
textColor?: string;
|
|
19
|
+
textSize?: number;
|
|
20
|
+
textFamily?: TextFontFamily;
|
|
21
|
+
shapeKind?: ShapeKind;
|
|
22
|
+
shapeFill?: string | null;
|
|
23
|
+
highlightColor?: string;
|
|
19
24
|
scale?: number;
|
|
20
25
|
rotation?: number;
|
|
21
26
|
}
|
|
@@ -7,6 +7,10 @@ interface PdfCanvasProps {
|
|
|
7
7
|
pdfDoc: PDFDocumentProxy;
|
|
8
8
|
uploadedDocs: Map<string, PDFDocumentProxy>;
|
|
9
9
|
insertionTable: Map<number, InsertedPageRef>;
|
|
10
|
+
blankPages?: Map<number, {
|
|
11
|
+
widthPt: number;
|
|
12
|
+
heightPt: number;
|
|
13
|
+
}>;
|
|
10
14
|
rotationMap?: Map<number, number>;
|
|
11
15
|
scale?: number;
|
|
12
16
|
activePageIndex: number;
|
|
@@ -192,6 +192,7 @@ export interface SupportSidebarProps extends SupportCloudImportProps {
|
|
|
192
192
|
id: string;
|
|
193
193
|
name: string;
|
|
194
194
|
} | null;
|
|
195
|
+
onViewContext?: (contextType: string, contextId: string) => void;
|
|
195
196
|
}
|
|
196
197
|
export interface SupportTicketDetailProps extends SupportCloudImportProps {
|
|
197
198
|
ticket: ISupportTicket;
|
|
@@ -235,6 +236,7 @@ export interface SupportTicketDetailProps extends SupportCloudImportProps {
|
|
|
235
236
|
name: string;
|
|
236
237
|
} | null;
|
|
237
238
|
onUploadMessageAttachment?: (file: File) => void;
|
|
239
|
+
onViewContext?: (contextType: string, contextId: string) => void;
|
|
238
240
|
}
|
|
239
241
|
export interface SupportStatusBadgeProps {
|
|
240
242
|
status: SupportTicketStatus;
|
package/dist/cookie-consent.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, c as a, C as n, a as i, R as C, V as t, d as r, f as k, r as c, e as A, u as l, b, w as d } from "./CookieConsentSettings.component-
|
|
1
|
+
import { A as s, c as a, C as n, a as i, R as C, V as t, d as r, f as k, r as c, e as A, u as l, b, w as d } from "./CookieConsentSettings.component-Dqbo9N8Y.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AbyssCookieConsentProvider,
|
|
4
4
|
a as COOKIE_NAME,
|
|
@@ -86,6 +86,10 @@ export declare const translations: {
|
|
|
86
86
|
title: string;
|
|
87
87
|
content: string;
|
|
88
88
|
};
|
|
89
|
+
"file-quarantined": {
|
|
90
|
+
title: string;
|
|
91
|
+
content: string;
|
|
92
|
+
};
|
|
89
93
|
};
|
|
90
94
|
ABYSS_MONITOR: {
|
|
91
95
|
"cron-task-failed": {
|
|
@@ -220,20 +224,22 @@ export declare const translations: {
|
|
|
220
224
|
select: string;
|
|
221
225
|
text: string;
|
|
222
226
|
draw: string;
|
|
227
|
+
shape: string;
|
|
228
|
+
highlight: string;
|
|
229
|
+
redact: string;
|
|
223
230
|
signature: string;
|
|
224
231
|
eraser: string;
|
|
225
232
|
'fill-fields': string;
|
|
233
|
+
insert: string;
|
|
226
234
|
undo: string;
|
|
227
235
|
redo: string;
|
|
228
236
|
download: string;
|
|
229
237
|
'save-to-cloud': string;
|
|
230
|
-
'quick-sigs': string;
|
|
231
|
-
'quick-texts': string;
|
|
232
238
|
'toggle-pages': string;
|
|
239
|
+
document: string;
|
|
233
240
|
aria: {
|
|
234
241
|
tools: string;
|
|
235
242
|
history: string;
|
|
236
|
-
'quick-signatures': string;
|
|
237
243
|
};
|
|
238
244
|
};
|
|
239
245
|
sidebar: {
|
|
@@ -249,10 +255,12 @@ export declare const translations: {
|
|
|
249
255
|
'page-indicator': string;
|
|
250
256
|
};
|
|
251
257
|
insert: {
|
|
258
|
+
'image-device': string;
|
|
259
|
+
'image-cloud': string;
|
|
260
|
+
'saved-title': string;
|
|
261
|
+
personal: string;
|
|
252
262
|
button: string;
|
|
253
263
|
reading: string;
|
|
254
|
-
'from-file': string;
|
|
255
|
-
'from-cloud': string;
|
|
256
264
|
'only-pdf': string;
|
|
257
265
|
};
|
|
258
266
|
'insert-dialog': {
|
|
@@ -267,21 +275,70 @@ export declare const translations: {
|
|
|
267
275
|
cancel: string;
|
|
268
276
|
delete: string;
|
|
269
277
|
};
|
|
278
|
+
placement: {
|
|
279
|
+
hint: string;
|
|
280
|
+
cancel: string;
|
|
281
|
+
};
|
|
270
282
|
error: {
|
|
271
283
|
'load-failed': string;
|
|
272
284
|
'export-failed': string;
|
|
285
|
+
'try-another': string;
|
|
286
|
+
};
|
|
287
|
+
document: {
|
|
288
|
+
'blank-page': string;
|
|
289
|
+
'page-numbers': string;
|
|
290
|
+
watermark: string;
|
|
291
|
+
extract: string;
|
|
292
|
+
compress: string;
|
|
293
|
+
protect: string;
|
|
294
|
+
};
|
|
295
|
+
password: {
|
|
296
|
+
title: string;
|
|
297
|
+
help: string;
|
|
298
|
+
label: string;
|
|
299
|
+
confirm: string;
|
|
300
|
+
};
|
|
301
|
+
compress: {
|
|
302
|
+
saved: string;
|
|
303
|
+
'already-optimal': string;
|
|
304
|
+
};
|
|
305
|
+
unlock: {
|
|
306
|
+
title: string;
|
|
307
|
+
help: string;
|
|
308
|
+
confirm: string;
|
|
309
|
+
wrong: string;
|
|
273
310
|
};
|
|
311
|
+
watermark: {
|
|
312
|
+
title: string;
|
|
313
|
+
label: string;
|
|
314
|
+
apply: string;
|
|
315
|
+
};
|
|
316
|
+
extract: {
|
|
317
|
+
title: string;
|
|
318
|
+
confirm: string;
|
|
319
|
+
};
|
|
320
|
+
loading: string;
|
|
274
321
|
text: {
|
|
275
|
-
hint: string;
|
|
322
|
+
'hint-short': string;
|
|
276
323
|
placeholder: string;
|
|
324
|
+
size: string;
|
|
325
|
+
font: string;
|
|
277
326
|
};
|
|
278
327
|
draw: {
|
|
279
|
-
hint: string;
|
|
280
|
-
'stroke-width': string;
|
|
281
328
|
color: string;
|
|
282
329
|
width: string;
|
|
283
330
|
'custom-color': string;
|
|
284
331
|
};
|
|
332
|
+
shape: {
|
|
333
|
+
kind: string;
|
|
334
|
+
fill: string;
|
|
335
|
+
'fill-none': string;
|
|
336
|
+
'fill-on': string;
|
|
337
|
+
};
|
|
338
|
+
redact: {
|
|
339
|
+
hint: string;
|
|
340
|
+
warning: string;
|
|
341
|
+
};
|
|
285
342
|
signature: {
|
|
286
343
|
'placement-hint': string;
|
|
287
344
|
'add-hint': string;
|
|
@@ -312,7 +369,6 @@ export declare const translations: {
|
|
|
312
369
|
'scope-label': string;
|
|
313
370
|
scope: {
|
|
314
371
|
personal: string;
|
|
315
|
-
organization: string;
|
|
316
372
|
};
|
|
317
373
|
group: {
|
|
318
374
|
personal: string;
|
|
@@ -329,12 +385,10 @@ export declare const translations: {
|
|
|
329
385
|
empty: string;
|
|
330
386
|
};
|
|
331
387
|
upload: {
|
|
332
|
-
hint: string;
|
|
333
388
|
title: string;
|
|
334
389
|
browse: string;
|
|
335
390
|
replace: string;
|
|
336
391
|
reading: string;
|
|
337
|
-
cancel: string;
|
|
338
392
|
'max-size': string;
|
|
339
393
|
error: {
|
|
340
394
|
'invalid-type': string;
|
|
@@ -1284,6 +1338,11 @@ export declare const translations: {
|
|
|
1284
1338
|
ABYSS_GAME_ODYSSEY: string;
|
|
1285
1339
|
ABYSS_TOOLS: string;
|
|
1286
1340
|
};
|
|
1341
|
+
context: {
|
|
1342
|
+
extraction: {
|
|
1343
|
+
view: string;
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1287
1346
|
};
|
|
1288
1347
|
};
|
|
1289
1348
|
en: {
|
|
@@ -1370,6 +1429,10 @@ export declare const translations: {
|
|
|
1370
1429
|
title: string;
|
|
1371
1430
|
content: string;
|
|
1372
1431
|
};
|
|
1432
|
+
"file-quarantined": {
|
|
1433
|
+
title: string;
|
|
1434
|
+
content: string;
|
|
1435
|
+
};
|
|
1373
1436
|
};
|
|
1374
1437
|
ABYSS_MONITOR: {
|
|
1375
1438
|
"cron-task-failed": {
|
|
@@ -1504,20 +1567,22 @@ export declare const translations: {
|
|
|
1504
1567
|
select: string;
|
|
1505
1568
|
text: string;
|
|
1506
1569
|
draw: string;
|
|
1570
|
+
shape: string;
|
|
1571
|
+
highlight: string;
|
|
1572
|
+
redact: string;
|
|
1507
1573
|
signature: string;
|
|
1508
1574
|
eraser: string;
|
|
1509
1575
|
'fill-fields': string;
|
|
1576
|
+
insert: string;
|
|
1510
1577
|
undo: string;
|
|
1511
1578
|
redo: string;
|
|
1512
1579
|
download: string;
|
|
1513
1580
|
'save-to-cloud': string;
|
|
1514
|
-
'quick-sigs': string;
|
|
1515
|
-
'quick-texts': string;
|
|
1516
1581
|
'toggle-pages': string;
|
|
1582
|
+
document: string;
|
|
1517
1583
|
aria: {
|
|
1518
1584
|
tools: string;
|
|
1519
1585
|
history: string;
|
|
1520
|
-
'quick-signatures': string;
|
|
1521
1586
|
};
|
|
1522
1587
|
};
|
|
1523
1588
|
sidebar: {
|
|
@@ -1533,10 +1598,12 @@ export declare const translations: {
|
|
|
1533
1598
|
'page-indicator': string;
|
|
1534
1599
|
};
|
|
1535
1600
|
insert: {
|
|
1601
|
+
'image-device': string;
|
|
1602
|
+
'image-cloud': string;
|
|
1603
|
+
'saved-title': string;
|
|
1604
|
+
personal: string;
|
|
1536
1605
|
button: string;
|
|
1537
1606
|
reading: string;
|
|
1538
|
-
'from-file': string;
|
|
1539
|
-
'from-cloud': string;
|
|
1540
1607
|
'only-pdf': string;
|
|
1541
1608
|
};
|
|
1542
1609
|
'insert-dialog': {
|
|
@@ -1551,21 +1618,70 @@ export declare const translations: {
|
|
|
1551
1618
|
cancel: string;
|
|
1552
1619
|
delete: string;
|
|
1553
1620
|
};
|
|
1621
|
+
placement: {
|
|
1622
|
+
hint: string;
|
|
1623
|
+
cancel: string;
|
|
1624
|
+
};
|
|
1554
1625
|
error: {
|
|
1555
1626
|
'load-failed': string;
|
|
1556
1627
|
'export-failed': string;
|
|
1628
|
+
'try-another': string;
|
|
1629
|
+
};
|
|
1630
|
+
document: {
|
|
1631
|
+
'blank-page': string;
|
|
1632
|
+
'page-numbers': string;
|
|
1633
|
+
watermark: string;
|
|
1634
|
+
extract: string;
|
|
1635
|
+
compress: string;
|
|
1636
|
+
protect: string;
|
|
1637
|
+
};
|
|
1638
|
+
password: {
|
|
1639
|
+
title: string;
|
|
1640
|
+
help: string;
|
|
1641
|
+
label: string;
|
|
1642
|
+
confirm: string;
|
|
1643
|
+
};
|
|
1644
|
+
compress: {
|
|
1645
|
+
saved: string;
|
|
1646
|
+
'already-optimal': string;
|
|
1647
|
+
};
|
|
1648
|
+
unlock: {
|
|
1649
|
+
title: string;
|
|
1650
|
+
help: string;
|
|
1651
|
+
confirm: string;
|
|
1652
|
+
wrong: string;
|
|
1557
1653
|
};
|
|
1654
|
+
watermark: {
|
|
1655
|
+
title: string;
|
|
1656
|
+
label: string;
|
|
1657
|
+
apply: string;
|
|
1658
|
+
};
|
|
1659
|
+
extract: {
|
|
1660
|
+
title: string;
|
|
1661
|
+
confirm: string;
|
|
1662
|
+
};
|
|
1663
|
+
loading: string;
|
|
1558
1664
|
text: {
|
|
1559
|
-
hint: string;
|
|
1665
|
+
'hint-short': string;
|
|
1560
1666
|
placeholder: string;
|
|
1667
|
+
size: string;
|
|
1668
|
+
font: string;
|
|
1561
1669
|
};
|
|
1562
1670
|
draw: {
|
|
1563
|
-
hint: string;
|
|
1564
|
-
'stroke-width': string;
|
|
1565
1671
|
color: string;
|
|
1566
1672
|
width: string;
|
|
1567
1673
|
'custom-color': string;
|
|
1568
1674
|
};
|
|
1675
|
+
shape: {
|
|
1676
|
+
kind: string;
|
|
1677
|
+
fill: string;
|
|
1678
|
+
'fill-none': string;
|
|
1679
|
+
'fill-on': string;
|
|
1680
|
+
};
|
|
1681
|
+
redact: {
|
|
1682
|
+
hint: string;
|
|
1683
|
+
warning: string;
|
|
1684
|
+
};
|
|
1569
1685
|
signature: {
|
|
1570
1686
|
'placement-hint': string;
|
|
1571
1687
|
'add-hint': string;
|
|
@@ -1596,7 +1712,6 @@ export declare const translations: {
|
|
|
1596
1712
|
'scope-label': string;
|
|
1597
1713
|
scope: {
|
|
1598
1714
|
personal: string;
|
|
1599
|
-
organization: string;
|
|
1600
1715
|
};
|
|
1601
1716
|
group: {
|
|
1602
1717
|
personal: string;
|
|
@@ -1613,12 +1728,10 @@ export declare const translations: {
|
|
|
1613
1728
|
empty: string;
|
|
1614
1729
|
};
|
|
1615
1730
|
upload: {
|
|
1616
|
-
hint: string;
|
|
1617
1731
|
title: string;
|
|
1618
1732
|
browse: string;
|
|
1619
1733
|
replace: string;
|
|
1620
1734
|
reading: string;
|
|
1621
|
-
cancel: string;
|
|
1622
1735
|
'max-size': string;
|
|
1623
1736
|
error: {
|
|
1624
1737
|
'invalid-type': string;
|
|
@@ -2550,6 +2663,11 @@ export declare const translations: {
|
|
|
2550
2663
|
ABYSS_GAME_ODYSSEY: string;
|
|
2551
2664
|
ABYSS_TOOLS: string;
|
|
2552
2665
|
};
|
|
2666
|
+
context: {
|
|
2667
|
+
extraction: {
|
|
2668
|
+
view: string;
|
|
2669
|
+
};
|
|
2670
|
+
};
|
|
2553
2671
|
};
|
|
2554
2672
|
family: {
|
|
2555
2673
|
banner: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as D, E as h, C as L } from "./index-
|
|
2
|
-
import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./index-
|
|
1
|
+
import { L as D, E as h, C as L } from "./index-CSpwXL74.js";
|
|
2
|
+
import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./index-a9_oOlg4.js";
|
|
3
3
|
const tO = 1, Z = 194, j = 195, oO = 196, x = 197, dO = 198, sO = 199, lO = 200, TO = 2, E = 3, u = 201, SO = 24, pO = 25, qO = 49, gO = 50, PO = 55, mO = 56, $O = 57, hO = 59, cO = 60, fO = 61, XO = 62, yO = 63, zO = 65, WO = 238, vO = 71, RO = 241, kO = 242, _O = 243, xO = 244, uO = 245, UO = 246, bO = 247, VO = 248, Y = 72, GO = 249, wO = 250, ZO = 251, jO = 252, EO = 253, YO = 254, FO = 255, CO = 256, JO = 73, AO = 77, IO = 263, NO = 112, DO = 130, LO = 151, HO = 152, BO = 155, p = 10, q = 13, k = 32, c = 9, _ = 35, KO = 40, MO = 46, R = 123, U = 125, F = 39, C = 34, b = 92, Oe = 111, ee = 120, ie = 78, ae = 117, ne = 85, re = /* @__PURE__ */ new Set([
|
|
4
4
|
pO,
|
|
5
5
|
qO,
|