@arbidocs/react 0.5.150 → 0.5.152
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/{chunk-VAHVEHKM.cjs → chunk-6RRKO4ZK.cjs} +3 -3
- package/dist/{chunk-VAHVEHKM.cjs.map → chunk-6RRKO4ZK.cjs.map} +1 -1
- package/dist/chunk-BI7HFGXF.cjs +507 -0
- package/dist/chunk-BI7HFGXF.cjs.map +1 -0
- package/dist/{chunk-HCUPZGAY.cjs → chunk-SKJWJ3OY.cjs} +26 -249
- package/dist/chunk-SKJWJ3OY.cjs.map +1 -0
- package/dist/{chunk-BCUKXFB6.cjs → chunk-WJIRX5MS.cjs} +5 -5
- package/dist/chunk-WJIRX5MS.cjs.map +1 -0
- package/dist/datasets/rows-source.js.map +2 -2
- package/dist/datasets/sources/activity.js +1 -1
- package/dist/datasets/sources/activity.js.map +2 -2
- package/dist/datasets/sources/conversations.js +1 -1
- package/dist/datasets/sources/conversations.js.map +2 -2
- package/dist/datasets/sources/database.js +17 -9
- package/dist/datasets/sources/database.js.map +2 -2
- package/dist/datasets/sources/documents.js +1 -1
- package/dist/datasets/sources/documents.js.map +2 -2
- package/dist/datasets/sources/facts.js +1 -1
- package/dist/datasets/sources/facts.js.map +2 -2
- package/dist/datasets/sources/projects.js +1 -1
- package/dist/datasets/sources/projects.js.map +2 -2
- package/dist/datasets/sources/tags.js +1 -1
- package/dist/datasets/sources/tags.js.map +2 -2
- package/dist/datasets/sources/usage.js +5 -4
- package/dist/datasets/sources/usage.js.map +2 -2
- package/dist/datasets/sources/workflows.js +1 -1
- package/dist/datasets/sources/workflows.js.map +2 -2
- package/dist/datasets/sources/workspaces.js +1 -1
- package/dist/datasets/sources/workspaces.js.map +2 -2
- package/dist/datasets/types.js.map +1 -1
- package/dist/directmessages/file-shares.js +88 -0
- package/dist/directmessages/file-shares.js.map +7 -0
- package/dist/directmessages/index.js +8 -0
- package/dist/directmessages/index.js.map +2 -2
- package/dist/document-tools/core.cjs +157 -149
- package/dist/document-tools/core.d.ts +5 -477
- package/dist/document-tools/core.js +4 -0
- package/dist/document-tools/core.js.map +2 -2
- package/dist/document-tools/file-shares.js +24 -5
- package/dist/document-tools/file-shares.js.map +2 -2
- package/dist/document-tools/index.cjs +159 -151
- package/dist/document-tools/index.d.ts +5 -5
- package/dist/{query-keys.d-BZolSssa.d.ts → file-shares.d-CamKxNLC.d.ts} +517 -1
- package/dist/index.cjs +431 -326
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-DbcrFwS6.d.ts → index.d-Dy_Pz6Vl.d.ts} +4 -0
- package/dist/index.d.ts +125 -15
- package/dist/notifications/index.js +2 -0
- package/dist/notifications/index.js.map +2 -2
- package/dist/notifications/server-notifications.js +29 -7
- package/dist/notifications/server-notifications.js.map +2 -2
- package/dist/shell/index.cjs +38 -38
- package/dist/ui/card.js +2 -2
- package/dist/ui/card.js.map +2 -2
- package/dist/ui/index.cjs +160 -160
- package/dist/ui/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/chunk-ASL7H2TF.cjs +0 -264
- package/dist/chunk-ASL7H2TF.cjs.map +0 -1
- package/dist/chunk-BCUKXFB6.cjs.map +0 -1
- package/dist/chunk-HCUPZGAY.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/document-tools/file-shares.ts"],
|
|
4
|
-
"sourcesContent": ["import { useQuery } from '@tanstack/react-query'\nimport { arbiQueryKeys } from '../query-keys'\n/** Share one immutable file version with named recipients, independently of workspace membership. */\nimport { signMessage, unlockIdentityWithPassword, type components } from '@arbidocs/client'\nimport type { DocumentToolsClient } from './environment'\nimport { intentText, sha256Hex } from './signing'\nimport type {\n SignatureRequest,\n SignRequestVars,\n SignRequestSignResponse,\n} from './signature-requests'\n\nexport type FileShare = components['schemas']['FileShareResponse']\nexport type CreateFileShare = components['schemas']['CreateFileShare']\n\nfunction failure(error: unknown): Error {\n const detail = (error as { detail?: unknown } | undefined)?.detail\n return new Error(typeof detail === 'string' ? detail : 'The shared file request failed')\n}\n\nexport async function createFileShare(\n client: DocumentToolsClient,\n documentId: string,\n body: CreateFileShare\n) {\n const result = await client.POST('/v1/document/{document_ext_id}/file-shares', {\n params: { path: { document_ext_id: documentId } },\n body,\n })\n if (!result.data) throw failure(result.error)\n return result.data\n}\n\nexport async function getFileShare(client: DocumentToolsClient, id: string): Promise<FileShare> {\n const result = await client.GET('/v1/file-shares/{share_id}', {\n params: { path: { share_id: id } },\n })\n if (!result.data) throw failure(result.error)\n return result.data\n}\n\nexport async function fileShareBytes(\n client: DocumentToolsClient,\n id: string,\n kind: 'view' | 'original' | 'signed'\n) {\n const result = await client.GET('/v1/file-shares/{share_id}/file', {\n params: { path: { share_id: id }, query: { kind } },\n parseAs: 'blob',\n })\n if (!result.data) throw failure(result.error)\n return result.data\n}\n\n/** Adapt only the guided viewer's presentation data; sharing uses its own authorization endpoints. */\nexport function fileShareSigningRequest(share: FileShare): SignatureRequest {\n return {\n external_id: share.external_id,\n doc_ext_id: share.document_ext_id,\n version: share.version,\n source_sha256: share.source_sha256,\n fields: share.fields,\n message: share.message,\n status:\n share.status === 'signing' ? 'sent' : share.status === 'completed' ? 'completed' : 'voided',\n signers: share.recipients\n .filter((r) => r.permission === 'sign')\n .map((r) => ({\n external_id: r.email,\n email: r.email,\n name: r.email,\n status: r.status === 'signed' ? 'signed' : 'pending',\n progress: r.status === 'signed' ? 'signed' : 'registered',\n fields: share.fields.filter((f) => f.signer === r.email).length,\n })),\n created_at: new Date(0).toISOString(),\n stale: false,\n }\n}\n\nexport async function signFileShare(\n client: DocumentToolsClient,\n domain: string,\n vars: SignRequestVars\n): Promise<SignRequestSignResponse> {\n const path = { share_id: vars.request.external_id }\n const body = { adopted: vars.adopted, fields: vars.fields }\n const prepared = await client.POST('/v1/file-shares/{share_id}/sign/prepare', {\n params: { path },\n body,\n })\n if (!prepared.data) throw failure(prepared.error)\n const { statement, timestamp, source_sha256, intent } = prepared.data\n if (\n source_sha256 !== vars.request.source_sha256 ||\n (await sha256Hex(vars.pdfBlob)) !== source_sha256\n )\n throw new Error('The shared file changed. Ask the sender for a new request.')\n if (intent !== intentText({ name: vars.adopted.name }))\n throw new Error('Signing statement mismatch')\n const identity = await unlockIdentityWithPassword(vars.email, vars.password, domain)\n const result = await client.POST('/v1/file-shares/{share_id}/sign', {\n params: { path },\n body: { ...body, timestamp, signature: signMessage(statement, identity) },\n })\n if (!result.data) throw failure(result.error)\n return {\n request: fileShareSigningRequest(result.data),\n completed: result.data.status === 'completed',\n }\n}\n\nexport function useFileShare(client: DocumentToolsClient, shareId: string, signing: boolean) {\n return useQuery({\n queryKey: arbiQueryKeys.fileShare(shareId),\n queryFn: () => getFileShare(client, shareId),\n refetchInterval: signing ? false : 5000,\n })\n}\n\nexport function useFileSharePdf(client: DocumentToolsClient, shareId: string, share?: FileShare) {\n return useQuery({\n queryKey: arbiQueryKeys.fileSharePdf(shareId, share?.status),\n queryFn: () =>\n fileShareBytes(client, shareId, share?.status === 'completed' ? 'signed' : 'view'),\n enabled: !!share?.can_preview,\n staleTime: Infinity,\n })\n}\n\nexport function useFileShares(client: DocumentToolsClient) {\n return useQuery({\n queryKey: arbiQueryKeys.fileShares(),\n queryFn: async () => {\n const result = await client
|
|
5
|
-
"mappings": "AAAA,SAAS,
|
|
4
|
+
"sourcesContent": ["import { useCallback } from 'react'\nimport { useQuery, useQueryClient } from '@tanstack/react-query'\nimport { arbiQueryKeys } from '../query-keys'\n/** Share one immutable file version with named recipients, independently of workspace membership. */\nimport { signMessage, unlockIdentityWithPassword, type components } from '@arbidocs/client'\nimport type { DocumentToolsClient } from './environment'\nimport { intentText, sha256Hex } from './signing'\nimport type {\n SignatureRequest,\n SignRequestVars,\n SignRequestSignResponse,\n} from './signature-requests'\n\nexport type FileShare = components['schemas']['FileShareResponse']\nexport type CreateFileShare = components['schemas']['CreateFileShare']\n\nfunction failure(error: unknown): Error {\n const detail = (error as { detail?: unknown } | undefined)?.detail\n return new Error(typeof detail === 'string' ? detail : 'The shared file request failed')\n}\n\nexport async function createFileShare(\n client: DocumentToolsClient,\n documentId: string,\n body: CreateFileShare\n) {\n const result = await client.POST('/v1/document/{document_ext_id}/file-shares', {\n params: { path: { document_ext_id: documentId } },\n body,\n })\n if (!result.data) throw failure(result.error)\n return result.data\n}\n\nexport async function getFileShare(client: DocumentToolsClient, id: string): Promise<FileShare> {\n const result = await client.GET('/v1/file-shares/{share_id}', {\n params: { path: { share_id: id } },\n })\n if (!result.data) throw failure(result.error)\n return result.data\n}\n\nexport async function fileShareBytes(\n client: DocumentToolsClient,\n id: string,\n kind: 'view' | 'original' | 'signed'\n) {\n const result = await client.GET('/v1/file-shares/{share_id}/file', {\n params: { path: { share_id: id }, query: { kind } },\n parseAs: 'blob',\n })\n if (!result.data) throw failure(result.error)\n return result.data\n}\n\n/** Adapt only the guided viewer's presentation data; sharing uses its own authorization endpoints. */\nexport function fileShareSigningRequest(share: FileShare): SignatureRequest {\n return {\n external_id: share.external_id,\n doc_ext_id: share.document_ext_id,\n version: share.version,\n source_sha256: share.source_sha256,\n fields: share.fields,\n message: share.message,\n status:\n share.status === 'signing' ? 'sent' : share.status === 'completed' ? 'completed' : 'voided',\n signers: share.recipients\n .filter((r) => r.permission === 'sign')\n .map((r) => ({\n external_id: r.email,\n email: r.email,\n name: r.email,\n status: r.status === 'signed' ? 'signed' : 'pending',\n progress: r.status === 'signed' ? 'signed' : 'registered',\n fields: share.fields.filter((f) => f.signer === r.email).length,\n })),\n created_at: new Date(0).toISOString(),\n stale: false,\n }\n}\n\nexport async function signFileShare(\n client: DocumentToolsClient,\n domain: string,\n vars: SignRequestVars\n): Promise<SignRequestSignResponse> {\n const path = { share_id: vars.request.external_id }\n const body = { adopted: vars.adopted, fields: vars.fields }\n const prepared = await client.POST('/v1/file-shares/{share_id}/sign/prepare', {\n params: { path },\n body,\n })\n if (!prepared.data) throw failure(prepared.error)\n const { statement, timestamp, source_sha256, intent } = prepared.data\n if (\n source_sha256 !== vars.request.source_sha256 ||\n (await sha256Hex(vars.pdfBlob)) !== source_sha256\n )\n throw new Error('The shared file changed. Ask the sender for a new request.')\n if (intent !== intentText({ name: vars.adopted.name }))\n throw new Error('Signing statement mismatch')\n const identity = await unlockIdentityWithPassword(vars.email, vars.password, domain)\n const result = await client.POST('/v1/file-shares/{share_id}/sign', {\n params: { path },\n body: { ...body, timestamp, signature: signMessage(statement, identity) },\n })\n if (!result.data) throw failure(result.error)\n return {\n request: fileShareSigningRequest(result.data),\n completed: result.data.status === 'completed',\n }\n}\n\nexport function useFileShare(client: DocumentToolsClient, shareId: string, signing: boolean) {\n return useQuery({\n queryKey: arbiQueryKeys.fileShare(shareId),\n queryFn: () => getFileShare(client, shareId),\n refetchInterval: signing ? false : 5000,\n })\n}\n\nexport function useFileSharePdf(client: DocumentToolsClient, shareId: string, share?: FileShare) {\n return useQuery({\n queryKey: arbiQueryKeys.fileSharePdf(shareId, share?.status),\n queryFn: () =>\n fileShareBytes(client, shareId, share?.status === 'completed' ? 'signed' : 'view'),\n enabled: !!share?.can_preview,\n staleTime: Infinity,\n })\n}\n\n/** The shares I created or was invited to (revoked and expired ones are not listed). Listing does\n * not open a share, so it never starts a recipient's access window. Null client: not loaded. */\nexport function useFileShares(client: DocumentToolsClient | null) {\n return useQuery({\n queryKey: arbiQueryKeys.fileShares(),\n queryFn: async () => {\n const result = await client?.GET('/v1/file-shares')\n if (!result?.data) throw new Error('Could not load shared files')\n return result.data\n },\n enabled: !!client,\n })\n}\n\n/** Read the share list again (after a change made to a share: signed, declined, saved, revoked). */\nexport function useRefreshFileShares(): () => Promise<void> {\n const queryClient = useQueryClient()\n return useCallback(\n () => queryClient.invalidateQueries({ queryKey: arbiQueryKeys.fileShares() }),\n [queryClient]\n )\n}\n\n/**\n * Save a completed share's signed PDF as its document's next version, in the share's workspace\n * (its key must be on the session: open that workspace first).\n */\nexport async function publishFileShare(client: DocumentToolsClient, share: FileShare) {\n const result = await client.POST(\n '/v1/document/{document_ext_id}/file-shares/{share_id}/publish',\n { params: { path: { document_ext_id: share.document_ext_id, share_id: share.external_id } } }\n )\n if (!result.data) throw new Error('Could not save the signed version to its workspace')\n return result.data\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var chunkP2DPOZBS_cjs = require('../chunk-P2DPOZBS.cjs');
|
|
3
|
+
var chunkSKJWJ3OY_cjs = require('../chunk-SKJWJ3OY.cjs');
|
|
4
|
+
var chunkBI7HFGXF_cjs = require('../chunk-BI7HFGXF.cjs');
|
|
6
5
|
require('../chunk-SUZORMAB.cjs');
|
|
7
6
|
require('../chunk-2IJP73ZG.cjs');
|
|
7
|
+
var chunkP2DPOZBS_cjs = require('../chunk-P2DPOZBS.cjs');
|
|
8
8
|
require('../chunk-KULS4YWP.cjs');
|
|
9
9
|
require('../chunk-VOFNX4P6.cjs');
|
|
10
10
|
require('../chunk-WYZJLZ67.cjs');
|
|
11
|
-
require('../chunk-5NOZDH3F.cjs');
|
|
12
11
|
require('../chunk-HJDR5HEO.cjs');
|
|
12
|
+
require('../chunk-5NOZDH3F.cjs');
|
|
13
13
|
require('../chunk-S6A6FSG7.cjs');
|
|
14
14
|
|
|
15
15
|
// src/document-tools/production.ts
|
|
@@ -37,9 +37,9 @@ async function fetchProductionPdf(client, doc) {
|
|
|
37
37
|
const pdf = isPdfDocument(doc);
|
|
38
38
|
let blob;
|
|
39
39
|
try {
|
|
40
|
-
blob = await (pdf ?
|
|
40
|
+
blob = await (pdf ? chunkBI7HFGXF_cjs.fetchDocumentFile : chunkBI7HFGXF_cjs.fetchDocumentPdf)(client, doc.external_id);
|
|
41
41
|
} catch (e) {
|
|
42
|
-
if (!pdf && e instanceof
|
|
42
|
+
if (!pdf && e instanceof chunkBI7HFGXF_cjs.DocumentFetchError) return null;
|
|
43
43
|
throw e;
|
|
44
44
|
}
|
|
45
45
|
const bytes = new Uint8Array(await blob.arrayBuffer());
|
|
@@ -249,379 +249,387 @@ async function setPdfAttachment(pdf, attachment) {
|
|
|
249
249
|
|
|
250
250
|
Object.defineProperty(exports, "DEFAULT_FIELD_SIZE", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkSKJWJ3OY_cjs.DEFAULT_FIELD_SIZE; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "FIELD_TYPE_LABELS", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkSKJWJ3OY_cjs.FIELD_TYPE_LABELS; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "INFORMAL_SIGNATURE_NOTE", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkSKJWJ3OY_cjs.INFORMAL_SIGNATURE_NOTE; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "LEGACY_LAYER_PREFIX", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkSKJWJ3OY_cjs.LEGACY_LAYER_PREFIX; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "MARK_FIELD_TYPES", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkSKJWJ3OY_cjs.MARK_FIELD_TYPES; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "MAX_MERGE_ATTEMPTS", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkSKJWJ3OY_cjs.MAX_MERGE_ATTEMPTS; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "MarkupStoreError", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkSKJWJ3OY_cjs.MarkupStoreError; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "SIGNATURE_FIELD_TYPES", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkSKJWJ3OY_cjs.SIGNATURE_FIELD_TYPES; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "SIGNED_UNCHANGED", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkSKJWJ3OY_cjs.SIGNED_UNCHANGED; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "SIGNER_PROGRESS_LABELS", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkSKJWJ3OY_cjs.SIGNER_PROGRESS_LABELS; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "SignatureVerificationError", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
293
|
-
});
|
|
294
|
-
Object.defineProperty(exports, "SigningError", {
|
|
295
|
-
enumerable: true,
|
|
296
|
-
get: function () { return chunkHCUPZGAY_cjs.SigningError; }
|
|
292
|
+
get: function () { return chunkSKJWJ3OY_cjs.SignatureVerificationError; }
|
|
297
293
|
});
|
|
298
294
|
Object.defineProperty(exports, "VERIFY_PATH", {
|
|
299
295
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkSKJWJ3OY_cjs.VERIFY_PATH; }
|
|
301
297
|
});
|
|
302
298
|
Object.defineProperty(exports, "addToMarkup", {
|
|
303
299
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkSKJWJ3OY_cjs.addToMarkup; }
|
|
305
301
|
});
|
|
306
302
|
Object.defineProperty(exports, "canAnnotate", {
|
|
307
303
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkSKJWJ3OY_cjs.canAnnotate; }
|
|
309
305
|
});
|
|
310
306
|
Object.defineProperty(exports, "copyOpenThreads", {
|
|
311
307
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
313
|
-
});
|
|
314
|
-
Object.defineProperty(exports, "createFileShare", {
|
|
315
|
-
enumerable: true,
|
|
316
|
-
get: function () { return chunkHCUPZGAY_cjs.createFileShare; }
|
|
308
|
+
get: function () { return chunkSKJWJ3OY_cjs.copyOpenThreads; }
|
|
317
309
|
});
|
|
318
310
|
Object.defineProperty(exports, "createMarkupStore", {
|
|
319
311
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkSKJWJ3OY_cjs.createMarkupStore; }
|
|
321
313
|
});
|
|
322
314
|
Object.defineProperty(exports, "deleteSavedSignature", {
|
|
323
315
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkSKJWJ3OY_cjs.deleteSavedSignature; }
|
|
325
317
|
});
|
|
326
318
|
Object.defineProperty(exports, "fetchDocumentSignatureRequests", {
|
|
327
319
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
329
|
-
});
|
|
330
|
-
Object.defineProperty(exports, "fetchDocumentSignatures", {
|
|
331
|
-
enumerable: true,
|
|
332
|
-
get: function () { return chunkHCUPZGAY_cjs.fetchDocumentSignatures; }
|
|
320
|
+
get: function () { return chunkSKJWJ3OY_cjs.fetchDocumentSignatureRequests; }
|
|
333
321
|
});
|
|
334
322
|
Object.defineProperty(exports, "fetchSavedSignature", {
|
|
335
323
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkSKJWJ3OY_cjs.fetchSavedSignature; }
|
|
337
325
|
});
|
|
338
326
|
Object.defineProperty(exports, "fetchSignatureVerification", {
|
|
339
327
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkSKJWJ3OY_cjs.fetchSignatureVerification; }
|
|
341
329
|
});
|
|
342
330
|
Object.defineProperty(exports, "fieldsFromSuggestions", {
|
|
343
331
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkSKJWJ3OY_cjs.fieldsFromSuggestions; }
|
|
345
333
|
});
|
|
346
334
|
Object.defineProperty(exports, "fieldsInSigningOrder", {
|
|
347
335
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
349
|
-
});
|
|
350
|
-
Object.defineProperty(exports, "fileShareBytes", {
|
|
351
|
-
enumerable: true,
|
|
352
|
-
get: function () { return chunkHCUPZGAY_cjs.fileShareBytes; }
|
|
353
|
-
});
|
|
354
|
-
Object.defineProperty(exports, "fileShareSigningRequest", {
|
|
355
|
-
enumerable: true,
|
|
356
|
-
get: function () { return chunkHCUPZGAY_cjs.fileShareSigningRequest; }
|
|
336
|
+
get: function () { return chunkSKJWJ3OY_cjs.fieldsInSigningOrder; }
|
|
357
337
|
});
|
|
358
338
|
Object.defineProperty(exports, "forgetLegacyLayer", {
|
|
359
339
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkSKJWJ3OY_cjs.forgetLegacyLayer; }
|
|
361
341
|
});
|
|
362
342
|
Object.defineProperty(exports, "frozenCopyName", {
|
|
363
343
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
365
|
-
});
|
|
366
|
-
Object.defineProperty(exports, "getFileShare", {
|
|
367
|
-
enumerable: true,
|
|
368
|
-
get: function () { return chunkHCUPZGAY_cjs.getFileShare; }
|
|
344
|
+
get: function () { return chunkSKJWJ3OY_cjs.frozenCopyName; }
|
|
369
345
|
});
|
|
370
346
|
Object.defineProperty(exports, "initialsOf", {
|
|
371
347
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
373
|
-
});
|
|
374
|
-
Object.defineProperty(exports, "intentText", {
|
|
375
|
-
enumerable: true,
|
|
376
|
-
get: function () { return chunkHCUPZGAY_cjs.intentText; }
|
|
348
|
+
get: function () { return chunkSKJWJ3OY_cjs.initialsOf; }
|
|
377
349
|
});
|
|
378
350
|
Object.defineProperty(exports, "inviteSigners", {
|
|
379
351
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkSKJWJ3OY_cjs.inviteSigners; }
|
|
381
353
|
});
|
|
382
354
|
Object.defineProperty(exports, "isEmailSigner", {
|
|
383
355
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
385
|
-
});
|
|
386
|
-
Object.defineProperty(exports, "isLegibleSignatureBox", {
|
|
387
|
-
enumerable: true,
|
|
388
|
-
get: function () { return chunkHCUPZGAY_cjs.isLegibleSignatureBox; }
|
|
356
|
+
get: function () { return chunkSKJWJ3OY_cjs.isEmailSigner; }
|
|
389
357
|
});
|
|
390
358
|
Object.defineProperty(exports, "isSignatureReference", {
|
|
391
359
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkSKJWJ3OY_cjs.isSignatureReference; }
|
|
393
361
|
});
|
|
394
362
|
Object.defineProperty(exports, "marksByVersion", {
|
|
395
363
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkSKJWJ3OY_cjs.marksByVersion; }
|
|
397
365
|
});
|
|
398
366
|
Object.defineProperty(exports, "matchSignedCopy", {
|
|
399
367
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkSKJWJ3OY_cjs.matchSignedCopy; }
|
|
401
369
|
});
|
|
402
370
|
Object.defineProperty(exports, "migrateLegacyLayer", {
|
|
403
371
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkSKJWJ3OY_cjs.migrateLegacyLayer; }
|
|
405
373
|
});
|
|
406
374
|
Object.defineProperty(exports, "newFieldId", {
|
|
407
375
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkSKJWJ3OY_cjs.newFieldId; }
|
|
409
377
|
});
|
|
410
378
|
Object.defineProperty(exports, "openThreadsOf", {
|
|
411
379
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkSKJWJ3OY_cjs.openThreadsOf; }
|
|
413
381
|
});
|
|
414
382
|
Object.defineProperty(exports, "pngBytes", {
|
|
415
383
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkSKJWJ3OY_cjs.pngBytes; }
|
|
417
385
|
});
|
|
418
386
|
Object.defineProperty(exports, "pngSize", {
|
|
419
387
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunkSKJWJ3OY_cjs.pngSize; }
|
|
421
389
|
});
|
|
422
390
|
Object.defineProperty(exports, "readLegacyLayer", {
|
|
423
391
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkSKJWJ3OY_cjs.readLegacyLayer; }
|
|
425
393
|
});
|
|
426
394
|
Object.defineProperty(exports, "redactionLogName", {
|
|
427
395
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkSKJWJ3OY_cjs.redactionLogName; }
|
|
429
397
|
});
|
|
430
398
|
Object.defineProperty(exports, "saveSignatureRequest", {
|
|
431
399
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkSKJWJ3OY_cjs.saveSignatureRequest; }
|
|
433
401
|
});
|
|
434
402
|
Object.defineProperty(exports, "sendBlocker", {
|
|
435
403
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
437
|
-
});
|
|
438
|
-
Object.defineProperty(exports, "sha256Hex", {
|
|
439
|
-
enumerable: true,
|
|
440
|
-
get: function () { return chunkHCUPZGAY_cjs.sha256Hex; }
|
|
441
|
-
});
|
|
442
|
-
Object.defineProperty(exports, "signDocument", {
|
|
443
|
-
enumerable: true,
|
|
444
|
-
get: function () { return chunkHCUPZGAY_cjs.signDocument; }
|
|
445
|
-
});
|
|
446
|
-
Object.defineProperty(exports, "signFileShare", {
|
|
447
|
-
enumerable: true,
|
|
448
|
-
get: function () { return chunkHCUPZGAY_cjs.signFileShare; }
|
|
404
|
+
get: function () { return chunkSKJWJ3OY_cjs.sendBlocker; }
|
|
449
405
|
});
|
|
450
406
|
Object.defineProperty(exports, "signSignatureRequest", {
|
|
451
407
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunkSKJWJ3OY_cjs.signSignatureRequest; }
|
|
453
409
|
});
|
|
454
410
|
Object.defineProperty(exports, "signatureFieldSuggestions", {
|
|
455
411
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunkSKJWJ3OY_cjs.signatureFieldSuggestions; }
|
|
457
413
|
});
|
|
458
414
|
Object.defineProperty(exports, "splitSuggestions", {
|
|
459
415
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunkSKJWJ3OY_cjs.splitSuggestions; }
|
|
461
417
|
});
|
|
462
418
|
Object.defineProperty(exports, "storeSavedSignature", {
|
|
463
419
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunkSKJWJ3OY_cjs.storeSavedSignature; }
|
|
465
421
|
});
|
|
466
422
|
Object.defineProperty(exports, "suggestSignatureFields", {
|
|
467
423
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
469
|
-
});
|
|
470
|
-
Object.defineProperty(exports, "toAppearance", {
|
|
471
|
-
enumerable: true,
|
|
472
|
-
get: function () { return chunkHCUPZGAY_cjs.toAppearance; }
|
|
424
|
+
get: function () { return chunkSKJWJ3OY_cjs.suggestSignatureFields; }
|
|
473
425
|
});
|
|
474
426
|
Object.defineProperty(exports, "uploadFrozenCopy", {
|
|
475
427
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkSKJWJ3OY_cjs.uploadFrozenCopy; }
|
|
477
429
|
});
|
|
478
430
|
Object.defineProperty(exports, "useDeclineSignatureRequest", {
|
|
479
431
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkSKJWJ3OY_cjs.useDeclineSignatureRequest; }
|
|
481
433
|
});
|
|
482
434
|
Object.defineProperty(exports, "useDeleteSavedSignature", {
|
|
483
435
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkSKJWJ3OY_cjs.useDeleteSavedSignature; }
|
|
485
437
|
});
|
|
486
438
|
Object.defineProperty(exports, "useDocumentBytes", {
|
|
487
439
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkSKJWJ3OY_cjs.useDocumentBytes; }
|
|
489
441
|
});
|
|
490
442
|
Object.defineProperty(exports, "useDocumentMarkup", {
|
|
491
443
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkSKJWJ3OY_cjs.useDocumentMarkup; }
|
|
493
445
|
});
|
|
494
446
|
Object.defineProperty(exports, "useDocumentSignatureRequests", {
|
|
495
447
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
497
|
-
});
|
|
498
|
-
Object.defineProperty(exports, "useDocumentSignatures", {
|
|
499
|
-
enumerable: true,
|
|
500
|
-
get: function () { return chunkHCUPZGAY_cjs.useDocumentSignatures; }
|
|
501
|
-
});
|
|
502
|
-
Object.defineProperty(exports, "useFileShare", {
|
|
503
|
-
enumerable: true,
|
|
504
|
-
get: function () { return chunkHCUPZGAY_cjs.useFileShare; }
|
|
505
|
-
});
|
|
506
|
-
Object.defineProperty(exports, "useFileSharePdf", {
|
|
507
|
-
enumerable: true,
|
|
508
|
-
get: function () { return chunkHCUPZGAY_cjs.useFileSharePdf; }
|
|
509
|
-
});
|
|
510
|
-
Object.defineProperty(exports, "useFileShares", {
|
|
511
|
-
enumerable: true,
|
|
512
|
-
get: function () { return chunkHCUPZGAY_cjs.useFileShares; }
|
|
448
|
+
get: function () { return chunkSKJWJ3OY_cjs.useDocumentSignatureRequests; }
|
|
513
449
|
});
|
|
514
450
|
Object.defineProperty(exports, "useInviteSigners", {
|
|
515
451
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunkSKJWJ3OY_cjs.useInviteSigners; }
|
|
517
453
|
});
|
|
518
454
|
Object.defineProperty(exports, "useIsOnline", {
|
|
519
455
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunkSKJWJ3OY_cjs.useIsOnline; }
|
|
521
457
|
});
|
|
522
458
|
Object.defineProperty(exports, "useSaveSignatureRequest", {
|
|
523
459
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
460
|
+
get: function () { return chunkSKJWJ3OY_cjs.useSaveSignatureRequest; }
|
|
525
461
|
});
|
|
526
462
|
Object.defineProperty(exports, "useSavedSignature", {
|
|
527
463
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
529
|
-
});
|
|
530
|
-
Object.defineProperty(exports, "useSignDocument", {
|
|
531
|
-
enumerable: true,
|
|
532
|
-
get: function () { return chunkHCUPZGAY_cjs.useSignDocument; }
|
|
464
|
+
get: function () { return chunkSKJWJ3OY_cjs.useSavedSignature; }
|
|
533
465
|
});
|
|
534
466
|
Object.defineProperty(exports, "useSignSignatureRequest", {
|
|
535
467
|
enumerable: true,
|
|
536
|
-
get: function () { return
|
|
468
|
+
get: function () { return chunkSKJWJ3OY_cjs.useSignSignatureRequest; }
|
|
537
469
|
});
|
|
538
470
|
Object.defineProperty(exports, "useSignatureVerification", {
|
|
539
471
|
enumerable: true,
|
|
540
|
-
get: function () { return
|
|
472
|
+
get: function () { return chunkSKJWJ3OY_cjs.useSignatureVerification; }
|
|
541
473
|
});
|
|
542
474
|
Object.defineProperty(exports, "useSignerCandidates", {
|
|
543
475
|
enumerable: true,
|
|
544
|
-
get: function () { return
|
|
476
|
+
get: function () { return chunkSKJWJ3OY_cjs.useSignerCandidates; }
|
|
545
477
|
});
|
|
546
478
|
Object.defineProperty(exports, "useStoreSavedSignature", {
|
|
547
479
|
enumerable: true,
|
|
548
|
-
get: function () { return
|
|
480
|
+
get: function () { return chunkSKJWJ3OY_cjs.useStoreSavedSignature; }
|
|
549
481
|
});
|
|
550
482
|
Object.defineProperty(exports, "useVoidSignatureRequest", {
|
|
551
483
|
enumerable: true,
|
|
552
|
-
get: function () { return
|
|
484
|
+
get: function () { return chunkSKJWJ3OY_cjs.useVoidSignatureRequest; }
|
|
553
485
|
});
|
|
554
486
|
Object.defineProperty(exports, "versionsWithMarkup", {
|
|
555
487
|
enumerable: true,
|
|
556
|
-
get: function () { return
|
|
488
|
+
get: function () { return chunkSKJWJ3OY_cjs.versionsWithMarkup; }
|
|
557
489
|
});
|
|
558
490
|
Object.defineProperty(exports, "DocumentFetchError", {
|
|
559
491
|
enumerable: true,
|
|
560
|
-
get: function () { return
|
|
492
|
+
get: function () { return chunkBI7HFGXF_cjs.DocumentFetchError; }
|
|
561
493
|
});
|
|
562
494
|
Object.defineProperty(exports, "DocumentToolsProvider", {
|
|
563
495
|
enumerable: true,
|
|
564
|
-
get: function () { return
|
|
496
|
+
get: function () { return chunkBI7HFGXF_cjs.DocumentToolsProvider; }
|
|
565
497
|
});
|
|
566
498
|
Object.defineProperty(exports, "MarkupDownloadError", {
|
|
567
499
|
enumerable: true,
|
|
568
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunkBI7HFGXF_cjs.MarkupDownloadError; }
|
|
569
501
|
});
|
|
570
502
|
Object.defineProperty(exports, "SIGNED_LOCKED_REASON", {
|
|
571
503
|
enumerable: true,
|
|
572
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunkBI7HFGXF_cjs.SIGNED_LOCKED_REASON; }
|
|
505
|
+
});
|
|
506
|
+
Object.defineProperty(exports, "SigningError", {
|
|
507
|
+
enumerable: true,
|
|
508
|
+
get: function () { return chunkBI7HFGXF_cjs.SigningError; }
|
|
573
509
|
});
|
|
574
510
|
Object.defineProperty(exports, "certificateLink", {
|
|
575
511
|
enumerable: true,
|
|
576
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunkBI7HFGXF_cjs.certificateLink; }
|
|
577
513
|
});
|
|
578
514
|
Object.defineProperty(exports, "clientUpload", {
|
|
579
515
|
enumerable: true,
|
|
580
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunkBI7HFGXF_cjs.clientUpload; }
|
|
581
517
|
});
|
|
582
518
|
Object.defineProperty(exports, "contentDispositionFileName", {
|
|
583
519
|
enumerable: true,
|
|
584
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunkBI7HFGXF_cjs.contentDispositionFileName; }
|
|
521
|
+
});
|
|
522
|
+
Object.defineProperty(exports, "createFileShare", {
|
|
523
|
+
enumerable: true,
|
|
524
|
+
get: function () { return chunkBI7HFGXF_cjs.createFileShare; }
|
|
585
525
|
});
|
|
586
526
|
Object.defineProperty(exports, "currentHasMarkup", {
|
|
587
527
|
enumerable: true,
|
|
588
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunkBI7HFGXF_cjs.currentHasMarkup; }
|
|
589
529
|
});
|
|
590
530
|
Object.defineProperty(exports, "defaultCertificateUrl", {
|
|
591
531
|
enumerable: true,
|
|
592
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunkBI7HFGXF_cjs.defaultCertificateUrl; }
|
|
593
533
|
});
|
|
594
534
|
Object.defineProperty(exports, "downloadBlob", {
|
|
595
535
|
enumerable: true,
|
|
596
|
-
get: function () { return
|
|
536
|
+
get: function () { return chunkBI7HFGXF_cjs.downloadBlob; }
|
|
597
537
|
});
|
|
598
538
|
Object.defineProperty(exports, "fetchDocumentFile", {
|
|
599
539
|
enumerable: true,
|
|
600
|
-
get: function () { return
|
|
540
|
+
get: function () { return chunkBI7HFGXF_cjs.fetchDocumentFile; }
|
|
601
541
|
});
|
|
602
542
|
Object.defineProperty(exports, "fetchDocumentPdf", {
|
|
603
543
|
enumerable: true,
|
|
604
|
-
get: function () { return
|
|
544
|
+
get: function () { return chunkBI7HFGXF_cjs.fetchDocumentPdf; }
|
|
545
|
+
});
|
|
546
|
+
Object.defineProperty(exports, "fetchDocumentSignatures", {
|
|
547
|
+
enumerable: true,
|
|
548
|
+
get: function () { return chunkBI7HFGXF_cjs.fetchDocumentSignatures; }
|
|
605
549
|
});
|
|
606
550
|
Object.defineProperty(exports, "fetchMarkupPdf", {
|
|
607
551
|
enumerable: true,
|
|
608
|
-
get: function () { return
|
|
552
|
+
get: function () { return chunkBI7HFGXF_cjs.fetchMarkupPdf; }
|
|
553
|
+
});
|
|
554
|
+
Object.defineProperty(exports, "fileShareBytes", {
|
|
555
|
+
enumerable: true,
|
|
556
|
+
get: function () { return chunkBI7HFGXF_cjs.fileShareBytes; }
|
|
557
|
+
});
|
|
558
|
+
Object.defineProperty(exports, "fileShareSigningRequest", {
|
|
559
|
+
enumerable: true,
|
|
560
|
+
get: function () { return chunkBI7HFGXF_cjs.fileShareSigningRequest; }
|
|
561
|
+
});
|
|
562
|
+
Object.defineProperty(exports, "getFileShare", {
|
|
563
|
+
enumerable: true,
|
|
564
|
+
get: function () { return chunkBI7HFGXF_cjs.getFileShare; }
|
|
565
|
+
});
|
|
566
|
+
Object.defineProperty(exports, "intentText", {
|
|
567
|
+
enumerable: true,
|
|
568
|
+
get: function () { return chunkBI7HFGXF_cjs.intentText; }
|
|
569
|
+
});
|
|
570
|
+
Object.defineProperty(exports, "isLegibleSignatureBox", {
|
|
571
|
+
enumerable: true,
|
|
572
|
+
get: function () { return chunkBI7HFGXF_cjs.isLegibleSignatureBox; }
|
|
609
573
|
});
|
|
610
574
|
Object.defineProperty(exports, "isSignedVersion", {
|
|
611
575
|
enumerable: true,
|
|
612
|
-
get: function () { return
|
|
576
|
+
get: function () { return chunkBI7HFGXF_cjs.isSignedVersion; }
|
|
577
|
+
});
|
|
578
|
+
Object.defineProperty(exports, "publishFileShare", {
|
|
579
|
+
enumerable: true,
|
|
580
|
+
get: function () { return chunkBI7HFGXF_cjs.publishFileShare; }
|
|
581
|
+
});
|
|
582
|
+
Object.defineProperty(exports, "sha256Hex", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
get: function () { return chunkBI7HFGXF_cjs.sha256Hex; }
|
|
585
|
+
});
|
|
586
|
+
Object.defineProperty(exports, "signDocument", {
|
|
587
|
+
enumerable: true,
|
|
588
|
+
get: function () { return chunkBI7HFGXF_cjs.signDocument; }
|
|
589
|
+
});
|
|
590
|
+
Object.defineProperty(exports, "signFileShare", {
|
|
591
|
+
enumerable: true,
|
|
592
|
+
get: function () { return chunkBI7HFGXF_cjs.signFileShare; }
|
|
593
|
+
});
|
|
594
|
+
Object.defineProperty(exports, "toAppearance", {
|
|
595
|
+
enumerable: true,
|
|
596
|
+
get: function () { return chunkBI7HFGXF_cjs.toAppearance; }
|
|
613
597
|
});
|
|
614
598
|
Object.defineProperty(exports, "uploadQueryString", {
|
|
615
599
|
enumerable: true,
|
|
616
|
-
get: function () { return
|
|
600
|
+
get: function () { return chunkBI7HFGXF_cjs.uploadQueryString; }
|
|
601
|
+
});
|
|
602
|
+
Object.defineProperty(exports, "useDocumentSignatures", {
|
|
603
|
+
enumerable: true,
|
|
604
|
+
get: function () { return chunkBI7HFGXF_cjs.useDocumentSignatures; }
|
|
617
605
|
});
|
|
618
606
|
Object.defineProperty(exports, "useDocumentTools", {
|
|
619
607
|
enumerable: true,
|
|
620
|
-
get: function () { return
|
|
608
|
+
get: function () { return chunkBI7HFGXF_cjs.useDocumentTools; }
|
|
609
|
+
});
|
|
610
|
+
Object.defineProperty(exports, "useFileShare", {
|
|
611
|
+
enumerable: true,
|
|
612
|
+
get: function () { return chunkBI7HFGXF_cjs.useFileShare; }
|
|
613
|
+
});
|
|
614
|
+
Object.defineProperty(exports, "useFileSharePdf", {
|
|
615
|
+
enumerable: true,
|
|
616
|
+
get: function () { return chunkBI7HFGXF_cjs.useFileSharePdf; }
|
|
617
|
+
});
|
|
618
|
+
Object.defineProperty(exports, "useFileShares", {
|
|
619
|
+
enumerable: true,
|
|
620
|
+
get: function () { return chunkBI7HFGXF_cjs.useFileShares; }
|
|
621
621
|
});
|
|
622
622
|
Object.defineProperty(exports, "useOptionalDocumentTools", {
|
|
623
623
|
enumerable: true,
|
|
624
|
-
get: function () { return
|
|
624
|
+
get: function () { return chunkBI7HFGXF_cjs.useOptionalDocumentTools; }
|
|
625
|
+
});
|
|
626
|
+
Object.defineProperty(exports, "useRefreshFileShares", {
|
|
627
|
+
enumerable: true,
|
|
628
|
+
get: function () { return chunkBI7HFGXF_cjs.useRefreshFileShares; }
|
|
629
|
+
});
|
|
630
|
+
Object.defineProperty(exports, "useSignDocument", {
|
|
631
|
+
enumerable: true,
|
|
632
|
+
get: function () { return chunkBI7HFGXF_cjs.useSignDocument; }
|
|
625
633
|
});
|
|
626
634
|
Object.defineProperty(exports, "documentBytesKey", {
|
|
627
635
|
enumerable: true,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { DocumentToolsClient, DocumentToolsEnvironment } from '
|
|
2
|
-
export { AdoptedSignature,
|
|
1
|
+
import { c as DocumentToolsClient, d as DocumentToolsEnvironment } from '../file-shares.d-CamKxNLC.js';
|
|
2
|
+
export { A as AdoptedSignature, C as CreateFileShare, D as DEFAULT_FIELD_SIZE, a as DocumentBytesKind, b as DocumentChange, e as DocumentToolsNoticeKind, f as DocumentToolsNoticeOptions, g as DocumentToolsNotify, h as DocumentToolsProvider, i as DocumentToolsProviderProps, j as DocumentToolsUser, k as DocumentUploadQuery, l as DocumentUploadRequest, F as FIELD_TYPE_LABELS, m as FileShare, M as MARK_FIELD_TYPES, N as NamedSigner, R as ResolvedDocumentToolsEnvironment, S as SIGNATURE_FIELD_TYPES, n as SIGNER_PROGRESS_LABELS, o as SaveSignatureRequestVars, p as SignRequestSignResponse, q as SignRequestVars, r as SignatureField, s as SignatureFieldSuggestions, t as SignatureFieldType, u as SignatureRequest, v as SignatureRequestSigner, w as SignerCandidate, x as SignerProgress, y as SuggestedSignatureField, H as certificateLink, I as clientUpload, K as createFileShare, L as defaultCertificateUrl, O as documentBytesKey, P as downloadBlob, Q as fetchDocumentSignatureRequests, T as fieldsFromSuggestions, U as fieldsInSigningOrder, V as fileShareBytes, W as fileShareSigningRequest, X as getFileShare, Y as initialsOf, Z as inviteSigners, _ as isEmailSigner, a1 as newFieldId, a2 as publishFileShare, a3 as saveSignatureRequest, a4 as sendBlocker, a5 as signFileShare, a6 as signSignatureRequest, a7 as signatureFieldSuggestions, a8 as splitSuggestions, a9 as suggestSignatureFields, aa as uploadQueryString, ab as useDeclineSignatureRequest, ac as useDocumentSignatureRequests, ad as useDocumentTools, ae as useFileShare, af as useFileSharePdf, ag as useFileShares, ah as useInviteSigners, ai as useOptionalDocumentTools, aj as useRefreshFileShares, ak as useSaveSignatureRequest, al as useSignSignatureRequest, am as useSignerCandidates, an as useVoidSignatureRequest } from '../file-shares.d-CamKxNLC.js';
|
|
3
|
+
export { AnnotatableState, CopyMatch, DocumentFetchError, DocumentFetchOptions, FrozenCopySource, INFORMAL_SIGNATURE_NOTE, KeypairSource, LEGACY_LAYER_PREFIX, LegacyPrompt, MAX_MERGE_ATTEMPTS, MarkupDocument, MarkupDownloadError, MarkupSnapshot, MarkupStore, MarkupStoreError, MarkupStoreOptions, OlderMarkupNote, SIGNED_LOCKED_REASON, SIGNED_UNCHANGED, SavedSignature, SignDocumentResponse, SignDocumentVars, SignatureAppearance, SignatureRecord, SignatureStatusResponse, SignatureVerification, SignatureVerificationError, SignerDetails, SigningError, SigningErrorReason, UseDocumentBytesOptions, VERIFY_PATH, VerifiedSignature, VersionInfo, addToMarkup, canAnnotate, contentDispositionFileName, copyOpenThreads, createMarkupStore, currentHasMarkup, deleteSavedSignature, fetchDocumentFile, fetchDocumentPdf, fetchDocumentSignatures, fetchMarkupPdf, fetchSavedSignature, fetchSignatureVerification, forgetLegacyLayer, frozenCopyName, intentText, isLegibleSignatureBox, isSignatureReference, isSignedVersion, marksByVersion, matchSignedCopy, migrateLegacyLayer, openThreadsOf, pngBytes, pngSize, readLegacyLayer, redactionLogName, sha256Hex, signDocument, storeSavedSignature, toAppearance, uploadFrozenCopy, useDeleteSavedSignature, useDocumentBytes, useDocumentMarkup, useDocumentSignatures, useIsOnline, useSavedSignature, useSignDocument, useSignatureVerification, useStoreSavedSignature, versionsWithMarkup } from './core.js';
|
|
3
4
|
import { components } from '@arbidocs/client';
|
|
4
5
|
import { P as ProductionChoices } from '../ProductionDialog.d-CpzslFn0.js';
|
|
5
6
|
import { a as BundleFile, b as BundleIndexEntry } from '../bundle.d-BnCSbHy2.js';
|
|
6
|
-
|
|
7
|
+
import '@arbidocs/sdk/browser';
|
|
8
|
+
import '@tanstack/react-query';
|
|
7
9
|
import 'react';
|
|
8
10
|
import '../store.d-DkFXbWDk.js';
|
|
9
11
|
import '../model.d-CNtRWKVK.js';
|
|
10
|
-
import '@tanstack/react-query';
|
|
11
|
-
import '@arbidocs/sdk/browser';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Production sets: number the selected documents with Bates labels (optionally a QR code back to
|