@arbidocs/react 0.5.124 → 0.5.126
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/artifacts/index.cjs +81 -38
- package/dist/artifacts/index.cjs.map +1 -1
- package/dist/artifacts/index.d.ts +3 -0
- package/dist/artifacts/useArtifactSession.js +48 -4
- package/dist/artifacts/useArtifactSession.js.map +2 -2
- package/dist/artifacts/versions.js +2 -1
- package/dist/artifacts/versions.js.map +2 -2
- package/dist/calls/livekit/index.cjs +42 -42
- package/dist/chat/turn-flush.js +3 -3
- package/dist/chat/turn-flush.js.map +2 -2
- package/dist/{chunk-AB2A6F6T.cjs → chunk-4NGWDVHD.cjs} +15 -6
- package/dist/chunk-4NGWDVHD.cjs.map +1 -0
- package/dist/{chunk-WUYSVTKE.cjs → chunk-6RRKO4ZK.cjs} +4 -4
- package/dist/{chunk-WUYSVTKE.cjs.map → chunk-6RRKO4ZK.cjs.map} +1 -1
- package/dist/{chunk-FAJLJDWS.cjs → chunk-FOBB5U4Y.cjs} +5 -5
- package/dist/{chunk-FAJLJDWS.cjs.map → chunk-FOBB5U4Y.cjs.map} +1 -1
- package/dist/{chunk-3JAEX57E.cjs → chunk-G5DYDBQN.cjs} +4 -4
- package/dist/{chunk-3JAEX57E.cjs.map → chunk-G5DYDBQN.cjs.map} +1 -1
- package/dist/{chunk-7L7QRIQ2.cjs → chunk-H3XHBIZ6.cjs} +5 -5
- package/dist/{chunk-7L7QRIQ2.cjs.map → chunk-H3XHBIZ6.cjs.map} +1 -1
- package/dist/{chunk-NDIKMOBJ.cjs → chunk-KULS4YWP.cjs} +4 -3
- package/dist/chunk-KULS4YWP.cjs.map +1 -0
- package/dist/{chunk-GKGAPU6T.cjs → chunk-NK5KFHXP.cjs} +17 -2
- package/dist/chunk-NK5KFHXP.cjs.map +1 -0
- package/dist/{chunk-K6ELFSG6.cjs → chunk-TNJ5T2MV.cjs} +25 -25
- package/dist/{chunk-K6ELFSG6.cjs.map → chunk-TNJ5T2MV.cjs.map} +1 -1
- package/dist/document-tools/core.cjs +97 -97
- package/dist/document-tools/core.d.ts +1 -0
- package/dist/document-tools/index.cjs +99 -99
- package/dist/entities/EntityPill.js +12 -4
- package/dist/entities/EntityPill.js.map +2 -2
- package/dist/entities/SharingEntity.js +1 -0
- package/dist/entities/SharingEntity.js.map +2 -2
- package/dist/index.cjs +1013 -1020
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-CXjQ1akb.d.ts → index.d-DbcrFwS6.d.ts} +2 -0
- package/dist/index.d.ts +15 -13
- package/dist/shell/index.cjs +38 -38
- package/dist/ui/index.cjs +151 -151
- package/dist/ui/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/chunk-AB2A6F6T.cjs.map +0 -1
- package/dist/chunk-GKGAPU6T.cjs.map +0 -1
- package/dist/chunk-NDIKMOBJ.cjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkTNJ5T2MV_cjs = require('../chunk-TNJ5T2MV.cjs');
|
|
4
|
+
var chunkG5DYDBQN_cjs = require('../chunk-G5DYDBQN.cjs');
|
|
5
5
|
require('../chunk-SUZORMAB.cjs');
|
|
6
6
|
require('../chunk-2IJP73ZG.cjs');
|
|
7
7
|
var chunkO32T7XRD_cjs = require('../chunk-O32T7XRD.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-KULS4YWP.cjs');
|
|
9
9
|
require('../chunk-VOFNX4P6.cjs');
|
|
10
10
|
require('../chunk-WYZJLZ67.cjs');
|
|
11
11
|
require('../chunk-HJDR5HEO.cjs');
|
|
@@ -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 ? chunkG5DYDBQN_cjs.fetchDocumentFile : chunkG5DYDBQN_cjs.fetchDocumentPdf)(client, doc.external_id);
|
|
41
41
|
} catch (e) {
|
|
42
|
-
if (!pdf && e instanceof
|
|
42
|
+
if (!pdf && e instanceof chunkG5DYDBQN_cjs.DocumentFetchError) return null;
|
|
43
43
|
throw e;
|
|
44
44
|
}
|
|
45
45
|
const bytes = new Uint8Array(await blob.arrayBuffer());
|
|
@@ -249,379 +249,379 @@ 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 chunkTNJ5T2MV_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 chunkTNJ5T2MV_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 chunkTNJ5T2MV_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 chunkTNJ5T2MV_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 chunkTNJ5T2MV_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 chunkTNJ5T2MV_cjs.MAX_MERGE_ATTEMPTS; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "MarkupStoreError", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkTNJ5T2MV_cjs.MarkupStoreError; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "SIGNATURE_FIELD_TYPES", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkTNJ5T2MV_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 chunkTNJ5T2MV_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 chunkTNJ5T2MV_cjs.SIGNER_PROGRESS_LABELS; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "SignatureVerificationError", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkTNJ5T2MV_cjs.SignatureVerificationError; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "SigningError", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkTNJ5T2MV_cjs.SigningError; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "VERIFY_PATH", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkTNJ5T2MV_cjs.VERIFY_PATH; }
|
|
301
301
|
});
|
|
302
302
|
Object.defineProperty(exports, "addToMarkup", {
|
|
303
303
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkTNJ5T2MV_cjs.addToMarkup; }
|
|
305
305
|
});
|
|
306
306
|
Object.defineProperty(exports, "canAnnotate", {
|
|
307
307
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkTNJ5T2MV_cjs.canAnnotate; }
|
|
309
309
|
});
|
|
310
310
|
Object.defineProperty(exports, "copyOpenThreads", {
|
|
311
311
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkTNJ5T2MV_cjs.copyOpenThreads; }
|
|
313
313
|
});
|
|
314
314
|
Object.defineProperty(exports, "createFileShare", {
|
|
315
315
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkTNJ5T2MV_cjs.createFileShare; }
|
|
317
317
|
});
|
|
318
318
|
Object.defineProperty(exports, "createMarkupStore", {
|
|
319
319
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkTNJ5T2MV_cjs.createMarkupStore; }
|
|
321
321
|
});
|
|
322
322
|
Object.defineProperty(exports, "deleteSavedSignature", {
|
|
323
323
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkTNJ5T2MV_cjs.deleteSavedSignature; }
|
|
325
325
|
});
|
|
326
326
|
Object.defineProperty(exports, "fetchDocumentSignatureRequests", {
|
|
327
327
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkTNJ5T2MV_cjs.fetchDocumentSignatureRequests; }
|
|
329
329
|
});
|
|
330
330
|
Object.defineProperty(exports, "fetchDocumentSignatures", {
|
|
331
331
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkTNJ5T2MV_cjs.fetchDocumentSignatures; }
|
|
333
333
|
});
|
|
334
334
|
Object.defineProperty(exports, "fetchSavedSignature", {
|
|
335
335
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkTNJ5T2MV_cjs.fetchSavedSignature; }
|
|
337
337
|
});
|
|
338
338
|
Object.defineProperty(exports, "fetchSignatureVerification", {
|
|
339
339
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkTNJ5T2MV_cjs.fetchSignatureVerification; }
|
|
341
341
|
});
|
|
342
342
|
Object.defineProperty(exports, "fieldsFromSuggestions", {
|
|
343
343
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkTNJ5T2MV_cjs.fieldsFromSuggestions; }
|
|
345
345
|
});
|
|
346
346
|
Object.defineProperty(exports, "fieldsInSigningOrder", {
|
|
347
347
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkTNJ5T2MV_cjs.fieldsInSigningOrder; }
|
|
349
349
|
});
|
|
350
350
|
Object.defineProperty(exports, "fileShareBytes", {
|
|
351
351
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkTNJ5T2MV_cjs.fileShareBytes; }
|
|
353
353
|
});
|
|
354
354
|
Object.defineProperty(exports, "fileShareSigningRequest", {
|
|
355
355
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunkTNJ5T2MV_cjs.fileShareSigningRequest; }
|
|
357
357
|
});
|
|
358
358
|
Object.defineProperty(exports, "forgetLegacyLayer", {
|
|
359
359
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkTNJ5T2MV_cjs.forgetLegacyLayer; }
|
|
361
361
|
});
|
|
362
362
|
Object.defineProperty(exports, "frozenCopyName", {
|
|
363
363
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkTNJ5T2MV_cjs.frozenCopyName; }
|
|
365
365
|
});
|
|
366
366
|
Object.defineProperty(exports, "getFileShare", {
|
|
367
367
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkTNJ5T2MV_cjs.getFileShare; }
|
|
369
369
|
});
|
|
370
370
|
Object.defineProperty(exports, "initialsOf", {
|
|
371
371
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkTNJ5T2MV_cjs.initialsOf; }
|
|
373
373
|
});
|
|
374
374
|
Object.defineProperty(exports, "intentText", {
|
|
375
375
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkTNJ5T2MV_cjs.intentText; }
|
|
377
377
|
});
|
|
378
378
|
Object.defineProperty(exports, "inviteSigners", {
|
|
379
379
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkTNJ5T2MV_cjs.inviteSigners; }
|
|
381
381
|
});
|
|
382
382
|
Object.defineProperty(exports, "isEmailSigner", {
|
|
383
383
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkTNJ5T2MV_cjs.isEmailSigner; }
|
|
385
385
|
});
|
|
386
386
|
Object.defineProperty(exports, "isLegibleSignatureBox", {
|
|
387
387
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunkTNJ5T2MV_cjs.isLegibleSignatureBox; }
|
|
389
389
|
});
|
|
390
390
|
Object.defineProperty(exports, "isSignatureReference", {
|
|
391
391
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkTNJ5T2MV_cjs.isSignatureReference; }
|
|
393
393
|
});
|
|
394
394
|
Object.defineProperty(exports, "marksByVersion", {
|
|
395
395
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkTNJ5T2MV_cjs.marksByVersion; }
|
|
397
397
|
});
|
|
398
398
|
Object.defineProperty(exports, "matchSignedCopy", {
|
|
399
399
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkTNJ5T2MV_cjs.matchSignedCopy; }
|
|
401
401
|
});
|
|
402
402
|
Object.defineProperty(exports, "migrateLegacyLayer", {
|
|
403
403
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunkTNJ5T2MV_cjs.migrateLegacyLayer; }
|
|
405
405
|
});
|
|
406
406
|
Object.defineProperty(exports, "newFieldId", {
|
|
407
407
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunkTNJ5T2MV_cjs.newFieldId; }
|
|
409
409
|
});
|
|
410
410
|
Object.defineProperty(exports, "openThreadsOf", {
|
|
411
411
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunkTNJ5T2MV_cjs.openThreadsOf; }
|
|
413
413
|
});
|
|
414
414
|
Object.defineProperty(exports, "pngBytes", {
|
|
415
415
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunkTNJ5T2MV_cjs.pngBytes; }
|
|
417
417
|
});
|
|
418
418
|
Object.defineProperty(exports, "pngSize", {
|
|
419
419
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunkTNJ5T2MV_cjs.pngSize; }
|
|
421
421
|
});
|
|
422
422
|
Object.defineProperty(exports, "readLegacyLayer", {
|
|
423
423
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
424
|
+
get: function () { return chunkTNJ5T2MV_cjs.readLegacyLayer; }
|
|
425
425
|
});
|
|
426
426
|
Object.defineProperty(exports, "redactionLogName", {
|
|
427
427
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkTNJ5T2MV_cjs.redactionLogName; }
|
|
429
429
|
});
|
|
430
430
|
Object.defineProperty(exports, "saveSignatureRequest", {
|
|
431
431
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkTNJ5T2MV_cjs.saveSignatureRequest; }
|
|
433
433
|
});
|
|
434
434
|
Object.defineProperty(exports, "sendBlocker", {
|
|
435
435
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkTNJ5T2MV_cjs.sendBlocker; }
|
|
437
437
|
});
|
|
438
438
|
Object.defineProperty(exports, "sha256Hex", {
|
|
439
439
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkTNJ5T2MV_cjs.sha256Hex; }
|
|
441
441
|
});
|
|
442
442
|
Object.defineProperty(exports, "signDocument", {
|
|
443
443
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkTNJ5T2MV_cjs.signDocument; }
|
|
445
445
|
});
|
|
446
446
|
Object.defineProperty(exports, "signFileShare", {
|
|
447
447
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
448
|
+
get: function () { return chunkTNJ5T2MV_cjs.signFileShare; }
|
|
449
449
|
});
|
|
450
450
|
Object.defineProperty(exports, "signSignatureRequest", {
|
|
451
451
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunkTNJ5T2MV_cjs.signSignatureRequest; }
|
|
453
453
|
});
|
|
454
454
|
Object.defineProperty(exports, "signatureFieldSuggestions", {
|
|
455
455
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunkTNJ5T2MV_cjs.signatureFieldSuggestions; }
|
|
457
457
|
});
|
|
458
458
|
Object.defineProperty(exports, "splitSuggestions", {
|
|
459
459
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
460
|
+
get: function () { return chunkTNJ5T2MV_cjs.splitSuggestions; }
|
|
461
461
|
});
|
|
462
462
|
Object.defineProperty(exports, "storeSavedSignature", {
|
|
463
463
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
464
|
+
get: function () { return chunkTNJ5T2MV_cjs.storeSavedSignature; }
|
|
465
465
|
});
|
|
466
466
|
Object.defineProperty(exports, "suggestSignatureFields", {
|
|
467
467
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
468
|
+
get: function () { return chunkTNJ5T2MV_cjs.suggestSignatureFields; }
|
|
469
469
|
});
|
|
470
470
|
Object.defineProperty(exports, "toAppearance", {
|
|
471
471
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
472
|
+
get: function () { return chunkTNJ5T2MV_cjs.toAppearance; }
|
|
473
473
|
});
|
|
474
474
|
Object.defineProperty(exports, "uploadFrozenCopy", {
|
|
475
475
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
476
|
+
get: function () { return chunkTNJ5T2MV_cjs.uploadFrozenCopy; }
|
|
477
477
|
});
|
|
478
478
|
Object.defineProperty(exports, "useDeclineSignatureRequest", {
|
|
479
479
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
480
|
+
get: function () { return chunkTNJ5T2MV_cjs.useDeclineSignatureRequest; }
|
|
481
481
|
});
|
|
482
482
|
Object.defineProperty(exports, "useDeleteSavedSignature", {
|
|
483
483
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
484
|
+
get: function () { return chunkTNJ5T2MV_cjs.useDeleteSavedSignature; }
|
|
485
485
|
});
|
|
486
486
|
Object.defineProperty(exports, "useDocumentBytes", {
|
|
487
487
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
488
|
+
get: function () { return chunkTNJ5T2MV_cjs.useDocumentBytes; }
|
|
489
489
|
});
|
|
490
490
|
Object.defineProperty(exports, "useDocumentMarkup", {
|
|
491
491
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
492
|
+
get: function () { return chunkTNJ5T2MV_cjs.useDocumentMarkup; }
|
|
493
493
|
});
|
|
494
494
|
Object.defineProperty(exports, "useDocumentSignatureRequests", {
|
|
495
495
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
496
|
+
get: function () { return chunkTNJ5T2MV_cjs.useDocumentSignatureRequests; }
|
|
497
497
|
});
|
|
498
498
|
Object.defineProperty(exports, "useDocumentSignatures", {
|
|
499
499
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunkTNJ5T2MV_cjs.useDocumentSignatures; }
|
|
501
501
|
});
|
|
502
502
|
Object.defineProperty(exports, "useFileShare", {
|
|
503
503
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunkTNJ5T2MV_cjs.useFileShare; }
|
|
505
505
|
});
|
|
506
506
|
Object.defineProperty(exports, "useFileSharePdf", {
|
|
507
507
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
508
|
+
get: function () { return chunkTNJ5T2MV_cjs.useFileSharePdf; }
|
|
509
509
|
});
|
|
510
510
|
Object.defineProperty(exports, "useFileShares", {
|
|
511
511
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunkTNJ5T2MV_cjs.useFileShares; }
|
|
513
513
|
});
|
|
514
514
|
Object.defineProperty(exports, "useInviteSigners", {
|
|
515
515
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunkTNJ5T2MV_cjs.useInviteSigners; }
|
|
517
517
|
});
|
|
518
518
|
Object.defineProperty(exports, "useIsOnline", {
|
|
519
519
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunkTNJ5T2MV_cjs.useIsOnline; }
|
|
521
521
|
});
|
|
522
522
|
Object.defineProperty(exports, "useSaveSignatureRequest", {
|
|
523
523
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
524
|
+
get: function () { return chunkTNJ5T2MV_cjs.useSaveSignatureRequest; }
|
|
525
525
|
});
|
|
526
526
|
Object.defineProperty(exports, "useSavedSignature", {
|
|
527
527
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunkTNJ5T2MV_cjs.useSavedSignature; }
|
|
529
529
|
});
|
|
530
530
|
Object.defineProperty(exports, "useSignDocument", {
|
|
531
531
|
enumerable: true,
|
|
532
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunkTNJ5T2MV_cjs.useSignDocument; }
|
|
533
533
|
});
|
|
534
534
|
Object.defineProperty(exports, "useSignSignatureRequest", {
|
|
535
535
|
enumerable: true,
|
|
536
|
-
get: function () { return
|
|
536
|
+
get: function () { return chunkTNJ5T2MV_cjs.useSignSignatureRequest; }
|
|
537
537
|
});
|
|
538
538
|
Object.defineProperty(exports, "useSignatureVerification", {
|
|
539
539
|
enumerable: true,
|
|
540
|
-
get: function () { return
|
|
540
|
+
get: function () { return chunkTNJ5T2MV_cjs.useSignatureVerification; }
|
|
541
541
|
});
|
|
542
542
|
Object.defineProperty(exports, "useSignerCandidates", {
|
|
543
543
|
enumerable: true,
|
|
544
|
-
get: function () { return
|
|
544
|
+
get: function () { return chunkTNJ5T2MV_cjs.useSignerCandidates; }
|
|
545
545
|
});
|
|
546
546
|
Object.defineProperty(exports, "useStoreSavedSignature", {
|
|
547
547
|
enumerable: true,
|
|
548
|
-
get: function () { return
|
|
548
|
+
get: function () { return chunkTNJ5T2MV_cjs.useStoreSavedSignature; }
|
|
549
549
|
});
|
|
550
550
|
Object.defineProperty(exports, "useVoidSignatureRequest", {
|
|
551
551
|
enumerable: true,
|
|
552
|
-
get: function () { return
|
|
552
|
+
get: function () { return chunkTNJ5T2MV_cjs.useVoidSignatureRequest; }
|
|
553
553
|
});
|
|
554
554
|
Object.defineProperty(exports, "versionsWithMarkup", {
|
|
555
555
|
enumerable: true,
|
|
556
|
-
get: function () { return
|
|
556
|
+
get: function () { return chunkTNJ5T2MV_cjs.versionsWithMarkup; }
|
|
557
557
|
});
|
|
558
558
|
Object.defineProperty(exports, "DocumentFetchError", {
|
|
559
559
|
enumerable: true,
|
|
560
|
-
get: function () { return
|
|
560
|
+
get: function () { return chunkG5DYDBQN_cjs.DocumentFetchError; }
|
|
561
561
|
});
|
|
562
562
|
Object.defineProperty(exports, "DocumentToolsProvider", {
|
|
563
563
|
enumerable: true,
|
|
564
|
-
get: function () { return
|
|
564
|
+
get: function () { return chunkG5DYDBQN_cjs.DocumentToolsProvider; }
|
|
565
565
|
});
|
|
566
566
|
Object.defineProperty(exports, "MarkupDownloadError", {
|
|
567
567
|
enumerable: true,
|
|
568
|
-
get: function () { return
|
|
568
|
+
get: function () { return chunkG5DYDBQN_cjs.MarkupDownloadError; }
|
|
569
569
|
});
|
|
570
570
|
Object.defineProperty(exports, "SIGNED_LOCKED_REASON", {
|
|
571
571
|
enumerable: true,
|
|
572
|
-
get: function () { return
|
|
572
|
+
get: function () { return chunkG5DYDBQN_cjs.SIGNED_LOCKED_REASON; }
|
|
573
573
|
});
|
|
574
574
|
Object.defineProperty(exports, "certificateLink", {
|
|
575
575
|
enumerable: true,
|
|
576
|
-
get: function () { return
|
|
576
|
+
get: function () { return chunkG5DYDBQN_cjs.certificateLink; }
|
|
577
577
|
});
|
|
578
578
|
Object.defineProperty(exports, "clientUpload", {
|
|
579
579
|
enumerable: true,
|
|
580
|
-
get: function () { return
|
|
580
|
+
get: function () { return chunkG5DYDBQN_cjs.clientUpload; }
|
|
581
581
|
});
|
|
582
582
|
Object.defineProperty(exports, "contentDispositionFileName", {
|
|
583
583
|
enumerable: true,
|
|
584
|
-
get: function () { return
|
|
584
|
+
get: function () { return chunkG5DYDBQN_cjs.contentDispositionFileName; }
|
|
585
585
|
});
|
|
586
586
|
Object.defineProperty(exports, "currentHasMarkup", {
|
|
587
587
|
enumerable: true,
|
|
588
|
-
get: function () { return
|
|
588
|
+
get: function () { return chunkG5DYDBQN_cjs.currentHasMarkup; }
|
|
589
589
|
});
|
|
590
590
|
Object.defineProperty(exports, "defaultCertificateUrl", {
|
|
591
591
|
enumerable: true,
|
|
592
|
-
get: function () { return
|
|
592
|
+
get: function () { return chunkG5DYDBQN_cjs.defaultCertificateUrl; }
|
|
593
593
|
});
|
|
594
594
|
Object.defineProperty(exports, "downloadBlob", {
|
|
595
595
|
enumerable: true,
|
|
596
|
-
get: function () { return
|
|
596
|
+
get: function () { return chunkG5DYDBQN_cjs.downloadBlob; }
|
|
597
597
|
});
|
|
598
598
|
Object.defineProperty(exports, "fetchDocumentFile", {
|
|
599
599
|
enumerable: true,
|
|
600
|
-
get: function () { return
|
|
600
|
+
get: function () { return chunkG5DYDBQN_cjs.fetchDocumentFile; }
|
|
601
601
|
});
|
|
602
602
|
Object.defineProperty(exports, "fetchDocumentPdf", {
|
|
603
603
|
enumerable: true,
|
|
604
|
-
get: function () { return
|
|
604
|
+
get: function () { return chunkG5DYDBQN_cjs.fetchDocumentPdf; }
|
|
605
605
|
});
|
|
606
606
|
Object.defineProperty(exports, "fetchMarkupPdf", {
|
|
607
607
|
enumerable: true,
|
|
608
|
-
get: function () { return
|
|
608
|
+
get: function () { return chunkG5DYDBQN_cjs.fetchMarkupPdf; }
|
|
609
609
|
});
|
|
610
610
|
Object.defineProperty(exports, "isSignedVersion", {
|
|
611
611
|
enumerable: true,
|
|
612
|
-
get: function () { return
|
|
612
|
+
get: function () { return chunkG5DYDBQN_cjs.isSignedVersion; }
|
|
613
613
|
});
|
|
614
614
|
Object.defineProperty(exports, "uploadQueryString", {
|
|
615
615
|
enumerable: true,
|
|
616
|
-
get: function () { return
|
|
616
|
+
get: function () { return chunkG5DYDBQN_cjs.uploadQueryString; }
|
|
617
617
|
});
|
|
618
618
|
Object.defineProperty(exports, "useDocumentTools", {
|
|
619
619
|
enumerable: true,
|
|
620
|
-
get: function () { return
|
|
620
|
+
get: function () { return chunkG5DYDBQN_cjs.useDocumentTools; }
|
|
621
621
|
});
|
|
622
622
|
Object.defineProperty(exports, "useOptionalDocumentTools", {
|
|
623
623
|
enumerable: true,
|
|
624
|
-
get: function () { return
|
|
624
|
+
get: function () { return chunkG5DYDBQN_cjs.useOptionalDocumentTools; }
|
|
625
625
|
});
|
|
626
626
|
Object.defineProperty(exports, "documentBytesKey", {
|
|
627
627
|
enumerable: true,
|
|
@@ -3,6 +3,8 @@ import { forwardRef } from "react";
|
|
|
3
3
|
import { MoreVertical } from "lucide-react";
|
|
4
4
|
import { cn } from "../lib/utils.js";
|
|
5
5
|
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip.js";
|
|
6
|
+
const PILL_TOUCH_HIT = "pointer-coarse:after:absolute pointer-coarse:after:left-1/2 pointer-coarse:after:top-1/2 pointer-coarse:after:h-11 pointer-coarse:after:w-[max(100%,2.75rem)] pointer-coarse:after:-translate-x-1/2 pointer-coarse:after:-translate-y-1/2 pointer-coarse:after:content-['']";
|
|
7
|
+
const MAIN_AREA_TOUCH_HIT = "relative pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:top-1/2 pointer-coarse:after:h-11 pointer-coarse:after:-translate-y-1/2 pointer-coarse:after:content-['']";
|
|
6
8
|
const EntityPill = forwardRef(function EntityPill2({
|
|
7
9
|
icon,
|
|
8
10
|
label,
|
|
@@ -21,6 +23,7 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
21
23
|
moreContent,
|
|
22
24
|
href,
|
|
23
25
|
disabled = false,
|
|
26
|
+
pressed,
|
|
24
27
|
tooltipContent,
|
|
25
28
|
"data-testid": testId
|
|
26
29
|
}, ref) {
|
|
@@ -36,7 +39,7 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
36
39
|
"transition-colors",
|
|
37
40
|
className
|
|
38
41
|
);
|
|
39
|
-
const interactiveClasses = "relative cursor-pointer hover:bg-muted
|
|
42
|
+
const interactiveClasses = cn("relative cursor-pointer hover:bg-muted", PILL_TOUCH_HIT);
|
|
40
43
|
const disabledClasses = "cursor-default opacity-60";
|
|
41
44
|
const highlightClasses = "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground";
|
|
42
45
|
const mainContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -82,7 +85,7 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
82
85
|
const mainAreaClass = cn("inline-flex items-center gap-1", fullWidth && "min-w-0 flex-1");
|
|
83
86
|
const mainAreaTouchClass = cn(
|
|
84
87
|
mainAreaClass,
|
|
85
|
-
(onClick || href) && !disabled &&
|
|
88
|
+
(onClick || href) && !disabled && MAIN_AREA_TOUCH_HIT
|
|
86
89
|
);
|
|
87
90
|
if (onMoreClick || moreContent) {
|
|
88
91
|
let mainArea;
|
|
@@ -95,7 +98,8 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
95
98
|
{
|
|
96
99
|
type: "button",
|
|
97
100
|
onClick: href ? onClick : disabled ? void 0 : onClick,
|
|
98
|
-
disabled: disabled || void 0
|
|
101
|
+
disabled: disabled || void 0,
|
|
102
|
+
"aria-pressed": href ? void 0 : pressed
|
|
99
103
|
}
|
|
100
104
|
);
|
|
101
105
|
} else if (href) {
|
|
@@ -117,8 +121,10 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
117
121
|
type: "button",
|
|
118
122
|
onClick: disabled ? void 0 : onClick,
|
|
119
123
|
disabled,
|
|
124
|
+
"aria-pressed": pressed,
|
|
120
125
|
className: cn(
|
|
121
|
-
"
|
|
126
|
+
"inline-flex items-center gap-1",
|
|
127
|
+
MAIN_AREA_TOUCH_HIT,
|
|
122
128
|
disabled && "opacity-60"
|
|
123
129
|
),
|
|
124
130
|
children: mainContent
|
|
@@ -193,6 +199,7 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
193
199
|
ref,
|
|
194
200
|
onClick: onClick && !disabled ? onClick : void 0,
|
|
195
201
|
disabled: disabled || void 0,
|
|
202
|
+
"aria-pressed": pressed,
|
|
196
203
|
"data-testid": testId,
|
|
197
204
|
style
|
|
198
205
|
}
|
|
@@ -222,6 +229,7 @@ const EntityPill = forwardRef(function EntityPill2({
|
|
|
222
229
|
type: "button",
|
|
223
230
|
onClick: disabled ? void 0 : onClick,
|
|
224
231
|
disabled,
|
|
232
|
+
"aria-pressed": pressed,
|
|
225
233
|
className: cn(
|
|
226
234
|
baseClasses,
|
|
227
235
|
disabled ? disabledClasses : interactiveClasses,
|