superdoc 2.19.0-next.6 → 2.19.0-next.8
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/chunks/pdf.worker.min-BgWCk_Cj.cjs +4 -0
- package/dist/chunks/pdf.worker.min-t-CYmkGJ.es.js +4 -0
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/diff/diff.types.d.ts +9 -1
- package/dist/document-api/src/diff/index.d.ts +1 -1
- package/dist/document-api/src/index.d.ts +1 -1
- package/dist/style.css +22 -22
- package/dist/style.layered.css +22 -22
- package/dist/superdoc.cjs +8 -4
- package/dist/superdoc.es.js +8 -4
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +6 -6
- package/package.json +3 -2
|
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
19
19
|
var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
|
|
20
20
|
var ENGINE_INFO = Object.freeze({
|
|
21
21
|
...PRIVATE_ENGINE_INFO,
|
|
22
|
-
superdocVersion: "2.19.0-next.
|
|
22
|
+
superdocVersion: "2.19.0-next.8",
|
|
23
23
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
24
24
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
25
25
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
18
18
|
var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
|
|
19
19
|
var ENGINE_INFO = Object.freeze({
|
|
20
20
|
...PRIVATE_ENGINE_INFO,
|
|
21
|
-
superdocVersion: "2.19.0-next.
|
|
21
|
+
superdocVersion: "2.19.0-next.8",
|
|
22
22
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
23
23
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
24
24
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -44,7 +44,7 @@ export interface DiffSummary {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
/** Stable reason code for a compare-time apply blocker. */
|
|
47
|
-
export type DiffApplyEligibilityBlockerCode = 'family-apply-lane-unavailable' | 'header-footer-physical-lifecycle-unsafe' | 'header-footer-tracked-lifecycle-unsupported' | 'comment-replay-unsafe' | 'comment-anchor-marker-semantics-unsafe' | 'styles-replay-unsafe' | 'numbering-replay-unsafe' | 'definition-replay-tracked-unsupported' | 'section-reference-replay-unsafe' | 'structural-paragraph-unsupported';
|
|
47
|
+
export type DiffApplyEligibilityBlockerCode = 'family-apply-lane-unavailable' | 'header-footer-physical-lifecycle-unsafe' | 'header-footer-tracked-lifecycle-unsupported' | 'comment-replay-unsafe' | 'comment-anchor-marker-semantics-unsafe' | 'styles-replay-unsafe' | 'numbering-replay-unsafe' | 'definition-replay-tracked-unsupported' | 'package-graph-tracked-unsupported' | 'section-reference-replay-unsafe' | 'structural-paragraph-unsupported';
|
|
48
48
|
/** A known reason that the complete diff cannot be applied in one change mode. */
|
|
49
49
|
export interface DiffApplyEligibilityBlocker {
|
|
50
50
|
code: DiffApplyEligibilityBlockerCode;
|
|
@@ -71,9 +71,17 @@ export interface DiffPayload {
|
|
|
71
71
|
summary: DiffSummary;
|
|
72
72
|
/** Known compare-time blockers by apply mode. Candidate status is not a live apply guarantee. */
|
|
73
73
|
applyEligibility?: DiffApplyEligibility;
|
|
74
|
+
/** Exhaustive changed OPC parts from the two source-complete snapshots. */
|
|
75
|
+
partChanges?: DiffPartChange[];
|
|
74
76
|
/** Opaque engine-owned diff data. Do not inspect or modify. */
|
|
75
77
|
payload: Record<string, unknown>;
|
|
76
78
|
}
|
|
79
|
+
export interface DiffPartChange {
|
|
80
|
+
partUri: string;
|
|
81
|
+
kind: 'added' | 'removed' | 'modified';
|
|
82
|
+
beforeFingerprint: string | null;
|
|
83
|
+
afterFingerprint: string | null;
|
|
84
|
+
}
|
|
77
85
|
export interface DiffApplyReviewItem {
|
|
78
86
|
id: string;
|
|
79
87
|
story: StoryLocator;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type { DiffAdapter, DiffApi } from './diff.js';
|
|
2
2
|
export { executeDiffCapture, executeDiffCompare, executeDiffApply } from './diff.js';
|
|
3
|
-
export type { DiffSnapshot, DiffPayload, DiffApplyResult, DiffSummary, DiffCoverage, DiffEngineId, DiffCompareInput, DiffApplyInput, DiffApplyOptions, DiffChangeMode, DiffApplyOperationReceipt, DiffApplyReviewItem, DiffApplyEligibility, DiffApplyModeEligibility, DiffApplyEligibilityBlocker, DiffApplyEligibilityBlockerCode, } from './diff.types.js';
|
|
3
|
+
export type { DiffSnapshot, DiffPayload, DiffPartChange, DiffApplyResult, DiffSummary, DiffCoverage, DiffEngineId, DiffCompareInput, DiffApplyInput, DiffApplyOptions, DiffChangeMode, DiffApplyOperationReceipt, DiffApplyReviewItem, DiffApplyEligibility, DiffApplyModeEligibility, DiffApplyEligibilityBlocker, DiffApplyEligibilityBlockerCode, } from './diff.types.js';
|
|
@@ -95,7 +95,7 @@ export { executeProjectMarkdown } from './project-markdown/project-markdown.js';
|
|
|
95
95
|
export type { HistoryState, HistoryActionResult, HistoryNoopReason, SDHistoryStatus, SDHistoryCollaborationMeta, } from './history/history.types.js';
|
|
96
96
|
export { executeTrackChangesGet, executeTrackChangesList, executeTrackChangesDecide, } from './track-changes/track-changes.js';
|
|
97
97
|
export { createPlanApi, type PlanApi, type PlanExecuteInput, type PlanExecuteEntry, type PlanExecuteEntryExpect, type PlanExecuteResult, type PlanEntryReceipt, type PlanEntryReceiptStatus, type PlanExecuteFailure, type PlanCaptureRefMarker, type PlanProjectTextOffsetMarker, } from './plan/plan.js';
|
|
98
|
-
export type { DiffSnapshot, DiffPayload, DiffApplyResult, DiffCompareInput, DiffApplyInput, DiffApplyOptions, DiffApplyOperationReceipt, DiffApplyReviewItem, DiffApplyEligibility, DiffApplyModeEligibility, DiffApplyEligibilityBlocker, DiffApplyEligibilityBlockerCode, } from './diff/diff.types.js';
|
|
98
|
+
export type { DiffSnapshot, DiffPayload, DiffPartChange, DiffApplyResult, DiffCompareInput, DiffApplyInput, DiffApplyOptions, DiffApplyOperationReceipt, DiffApplyReviewItem, DiffApplyEligibility, DiffApplyModeEligibility, DiffApplyEligibilityBlocker, DiffApplyEligibilityBlockerCode, } from './diff/diff.types.js';
|
|
99
99
|
export type { GetAdapter } from './get/get.js';
|
|
100
100
|
export type { FindAdapter, FindOptions } from './find/find.js';
|
|
101
101
|
export type { GetNodeAdapter, GetNodeByIdInput } from './get-node/get-node.js';
|
package/dist/style.css
CHANGED
|
@@ -2339,34 +2339,34 @@ img[data-v-c95b2073] {
|
|
|
2339
2339
|
pointer-events: auto;
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
|
-
.superdoc[data-v-
|
|
2342
|
+
.superdoc[data-v-696dd93d] {
|
|
2343
2343
|
display: flex;
|
|
2344
2344
|
position: relative;
|
|
2345
2345
|
}
|
|
2346
|
-
.right-sidebar[data-v-
|
|
2346
|
+
.right-sidebar[data-v-696dd93d] {
|
|
2347
2347
|
min-width: 320px;
|
|
2348
2348
|
height: 100%;
|
|
2349
2349
|
}
|
|
2350
|
-
.floating-comments[data-v-
|
|
2350
|
+
.floating-comments[data-v-696dd93d] {
|
|
2351
2351
|
min-width: 300px;
|
|
2352
2352
|
width: 300px;
|
|
2353
2353
|
height: 100%;
|
|
2354
2354
|
overflow: visible;
|
|
2355
2355
|
}
|
|
2356
|
-
.superdoc__layers[data-v-
|
|
2356
|
+
.superdoc__layers[data-v-696dd93d] {
|
|
2357
2357
|
height: 100%;
|
|
2358
2358
|
position: relative;
|
|
2359
2359
|
box-sizing: border-box;
|
|
2360
2360
|
}
|
|
2361
|
-
.superdoc__document[data-v-
|
|
2361
|
+
.superdoc__document[data-v-696dd93d] {
|
|
2362
2362
|
width: 100%;
|
|
2363
2363
|
position: relative;
|
|
2364
2364
|
}
|
|
2365
|
-
.superdoc__sub-document[data-v-
|
|
2365
|
+
.superdoc__sub-document[data-v-696dd93d] {
|
|
2366
2366
|
width: 100%;
|
|
2367
2367
|
position: relative;
|
|
2368
2368
|
}
|
|
2369
|
-
.superdoc__selection-layer[data-v-
|
|
2369
|
+
.superdoc__selection-layer[data-v-696dd93d] {
|
|
2370
2370
|
position: absolute;
|
|
2371
2371
|
min-width: 100%;
|
|
2372
2372
|
min-height: 100%;
|
|
@@ -2377,13 +2377,13 @@ img[data-v-c95b2073] {
|
|
|
2377
2377
|
/* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
|
|
2378
2378
|
the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
|
|
2379
2379
|
clickable, and below the selection layer (z-index 10). */
|
|
2380
|
-
.superdoc__whiteboard-layer[data-v-
|
|
2380
|
+
.superdoc__whiteboard-layer[data-v-696dd93d] {
|
|
2381
2381
|
z-index: 4;
|
|
2382
2382
|
}
|
|
2383
|
-
.superdoc__temp-selection[data-v-
|
|
2383
|
+
.superdoc__temp-selection[data-v-696dd93d] {
|
|
2384
2384
|
position: absolute;
|
|
2385
2385
|
}
|
|
2386
|
-
.superdoc__right-sidebar[data-v-
|
|
2386
|
+
.superdoc__right-sidebar[data-v-696dd93d] {
|
|
2387
2387
|
width: 320px;
|
|
2388
2388
|
min-width: 320px;
|
|
2389
2389
|
padding: 0 10px;
|
|
@@ -2391,7 +2391,7 @@ img[data-v-c95b2073] {
|
|
|
2391
2391
|
position: relative;
|
|
2392
2392
|
z-index: 2;
|
|
2393
2393
|
}
|
|
2394
|
-
.superdoc__compact-comment-popover[data-v-
|
|
2394
|
+
.superdoc__compact-comment-popover[data-v-696dd93d] {
|
|
2395
2395
|
position: absolute;
|
|
2396
2396
|
top: 12px;
|
|
2397
2397
|
right: 12px;
|
|
@@ -2400,14 +2400,14 @@ img[data-v-c95b2073] {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
|
|
2402
2402
|
/* Tools styles */
|
|
2403
|
-
.tools[data-v-
|
|
2403
|
+
.tools[data-v-696dd93d] {
|
|
2404
2404
|
position: absolute;
|
|
2405
2405
|
z-index: 3;
|
|
2406
2406
|
display: flex;
|
|
2407
2407
|
flex-direction: column;
|
|
2408
2408
|
gap: var(--sd-ui-tools-gap, 6px);
|
|
2409
2409
|
}
|
|
2410
|
-
.tools-item[data-v-
|
|
2410
|
+
.tools-item[data-v-696dd93d] {
|
|
2411
2411
|
display: flex;
|
|
2412
2412
|
align-items: center;
|
|
2413
2413
|
justify-content: center;
|
|
@@ -2418,10 +2418,10 @@ img[data-v-c95b2073] {
|
|
|
2418
2418
|
cursor: pointer;
|
|
2419
2419
|
position: relative;
|
|
2420
2420
|
}
|
|
2421
|
-
.tools-item i[data-v-
|
|
2421
|
+
.tools-item i[data-v-696dd93d] {
|
|
2422
2422
|
cursor: pointer;
|
|
2423
2423
|
}
|
|
2424
|
-
.superdoc__tools-icon[data-v-
|
|
2424
|
+
.superdoc__tools-icon[data-v-696dd93d] {
|
|
2425
2425
|
width: var(--sd-ui-tools-icon-size, 20px);
|
|
2426
2426
|
height: var(--sd-ui-tools-icon-size, 20px);
|
|
2427
2427
|
flex-shrink: 0;
|
|
@@ -2436,22 +2436,22 @@ img[data-v-c95b2073] {
|
|
|
2436
2436
|
|
|
2437
2437
|
/* 834px is iPad screen size in portrait orientation */
|
|
2438
2438
|
@media (max-width: 834px) {
|
|
2439
|
-
.superdoc .superdoc__layers[data-v-
|
|
2439
|
+
.superdoc .superdoc__layers[data-v-696dd93d] {
|
|
2440
2440
|
margin: 0;
|
|
2441
2441
|
border: 0 !important;
|
|
2442
2442
|
box-shadow: none;
|
|
2443
2443
|
}
|
|
2444
|
-
.superdoc__sub-document[data-v-
|
|
2444
|
+
.superdoc__sub-document[data-v-696dd93d] {
|
|
2445
2445
|
max-width: 100%;
|
|
2446
2446
|
}
|
|
2447
|
-
.superdoc__right-sidebar[data-v-
|
|
2447
|
+
.superdoc__right-sidebar[data-v-696dd93d] {
|
|
2448
2448
|
padding: 10px;
|
|
2449
2449
|
position: relative;
|
|
2450
2450
|
}
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
2453
2453
|
/* AI Writer styles */
|
|
2454
|
-
.ai-writer-container[data-v-
|
|
2454
|
+
.ai-writer-container[data-v-696dd93d] {
|
|
2455
2455
|
position: fixed;
|
|
2456
2456
|
z-index: 1000;
|
|
2457
2457
|
background: white;
|
|
@@ -2467,10 +2467,10 @@ img[data-v-c95b2073] {
|
|
|
2467
2467
|
transform: translateY(-50%);
|
|
2468
2468
|
z-index: 50;
|
|
2469
2469
|
} */
|
|
2470
|
-
.ai-tool > svg[data-v-
|
|
2470
|
+
.ai-tool > svg[data-v-696dd93d] {
|
|
2471
2471
|
fill: transparent;
|
|
2472
2472
|
}
|
|
2473
|
-
.ai-tool[data-v-
|
|
2473
|
+
.ai-tool[data-v-696dd93d]::before {
|
|
2474
2474
|
content: '';
|
|
2475
2475
|
position: absolute;
|
|
2476
2476
|
width: 20px;
|
|
@@ -2491,7 +2491,7 @@ img[data-v-c95b2073] {
|
|
|
2491
2491
|
filter: brightness(1.2);
|
|
2492
2492
|
transition: filter 0.2s ease;
|
|
2493
2493
|
}
|
|
2494
|
-
.ai-tool[data-v-
|
|
2494
|
+
.ai-tool[data-v-696dd93d]:hover::before {
|
|
2495
2495
|
filter: brightness(1.3);
|
|
2496
2496
|
}
|
|
2497
2497
|
|
package/dist/style.layered.css
CHANGED
|
@@ -2339,34 +2339,34 @@ img[data-v-c95b2073] {
|
|
|
2339
2339
|
pointer-events: auto;
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
|
-
.superdoc[data-v-
|
|
2342
|
+
.superdoc[data-v-696dd93d] {
|
|
2343
2343
|
display: flex;
|
|
2344
2344
|
position: relative;
|
|
2345
2345
|
}
|
|
2346
|
-
.right-sidebar[data-v-
|
|
2346
|
+
.right-sidebar[data-v-696dd93d] {
|
|
2347
2347
|
min-width: 320px;
|
|
2348
2348
|
height: 100%;
|
|
2349
2349
|
}
|
|
2350
|
-
.floating-comments[data-v-
|
|
2350
|
+
.floating-comments[data-v-696dd93d] {
|
|
2351
2351
|
min-width: 300px;
|
|
2352
2352
|
width: 300px;
|
|
2353
2353
|
height: 100%;
|
|
2354
2354
|
overflow: visible;
|
|
2355
2355
|
}
|
|
2356
|
-
.superdoc__layers[data-v-
|
|
2356
|
+
.superdoc__layers[data-v-696dd93d] {
|
|
2357
2357
|
height: 100%;
|
|
2358
2358
|
position: relative;
|
|
2359
2359
|
box-sizing: border-box;
|
|
2360
2360
|
}
|
|
2361
|
-
.superdoc__document[data-v-
|
|
2361
|
+
.superdoc__document[data-v-696dd93d] {
|
|
2362
2362
|
width: 100%;
|
|
2363
2363
|
position: relative;
|
|
2364
2364
|
}
|
|
2365
|
-
.superdoc__sub-document[data-v-
|
|
2365
|
+
.superdoc__sub-document[data-v-696dd93d] {
|
|
2366
2366
|
width: 100%;
|
|
2367
2367
|
position: relative;
|
|
2368
2368
|
}
|
|
2369
|
-
.superdoc__selection-layer[data-v-
|
|
2369
|
+
.superdoc__selection-layer[data-v-696dd93d] {
|
|
2370
2370
|
position: absolute;
|
|
2371
2371
|
min-width: 100%;
|
|
2372
2372
|
min-height: 100%;
|
|
@@ -2377,13 +2377,13 @@ img[data-v-c95b2073] {
|
|
|
2377
2377
|
/* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
|
|
2378
2378
|
the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
|
|
2379
2379
|
clickable, and below the selection layer (z-index 10). */
|
|
2380
|
-
.superdoc__whiteboard-layer[data-v-
|
|
2380
|
+
.superdoc__whiteboard-layer[data-v-696dd93d] {
|
|
2381
2381
|
z-index: 4;
|
|
2382
2382
|
}
|
|
2383
|
-
.superdoc__temp-selection[data-v-
|
|
2383
|
+
.superdoc__temp-selection[data-v-696dd93d] {
|
|
2384
2384
|
position: absolute;
|
|
2385
2385
|
}
|
|
2386
|
-
.superdoc__right-sidebar[data-v-
|
|
2386
|
+
.superdoc__right-sidebar[data-v-696dd93d] {
|
|
2387
2387
|
width: 320px;
|
|
2388
2388
|
min-width: 320px;
|
|
2389
2389
|
padding: 0 10px;
|
|
@@ -2391,7 +2391,7 @@ img[data-v-c95b2073] {
|
|
|
2391
2391
|
position: relative;
|
|
2392
2392
|
z-index: 2;
|
|
2393
2393
|
}
|
|
2394
|
-
.superdoc__compact-comment-popover[data-v-
|
|
2394
|
+
.superdoc__compact-comment-popover[data-v-696dd93d] {
|
|
2395
2395
|
position: absolute;
|
|
2396
2396
|
top: 12px;
|
|
2397
2397
|
right: 12px;
|
|
@@ -2400,14 +2400,14 @@ img[data-v-c95b2073] {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
|
|
2402
2402
|
/* Tools styles */
|
|
2403
|
-
.tools[data-v-
|
|
2403
|
+
.tools[data-v-696dd93d] {
|
|
2404
2404
|
position: absolute;
|
|
2405
2405
|
z-index: 3;
|
|
2406
2406
|
display: flex;
|
|
2407
2407
|
flex-direction: column;
|
|
2408
2408
|
gap: var(--sd-ui-tools-gap, 6px);
|
|
2409
2409
|
}
|
|
2410
|
-
.tools-item[data-v-
|
|
2410
|
+
.tools-item[data-v-696dd93d] {
|
|
2411
2411
|
display: flex;
|
|
2412
2412
|
align-items: center;
|
|
2413
2413
|
justify-content: center;
|
|
@@ -2418,10 +2418,10 @@ img[data-v-c95b2073] {
|
|
|
2418
2418
|
cursor: pointer;
|
|
2419
2419
|
position: relative;
|
|
2420
2420
|
}
|
|
2421
|
-
.tools-item i[data-v-
|
|
2421
|
+
.tools-item i[data-v-696dd93d] {
|
|
2422
2422
|
cursor: pointer;
|
|
2423
2423
|
}
|
|
2424
|
-
.superdoc__tools-icon[data-v-
|
|
2424
|
+
.superdoc__tools-icon[data-v-696dd93d] {
|
|
2425
2425
|
width: var(--sd-ui-tools-icon-size, 20px);
|
|
2426
2426
|
height: var(--sd-ui-tools-icon-size, 20px);
|
|
2427
2427
|
flex-shrink: 0;
|
|
@@ -2436,22 +2436,22 @@ img[data-v-c95b2073] {
|
|
|
2436
2436
|
|
|
2437
2437
|
/* 834px is iPad screen size in portrait orientation */
|
|
2438
2438
|
@media (max-width: 834px) {
|
|
2439
|
-
.superdoc .superdoc__layers[data-v-
|
|
2439
|
+
.superdoc .superdoc__layers[data-v-696dd93d] {
|
|
2440
2440
|
margin: 0;
|
|
2441
2441
|
border: 0 !important;
|
|
2442
2442
|
box-shadow: none;
|
|
2443
2443
|
}
|
|
2444
|
-
.superdoc__sub-document[data-v-
|
|
2444
|
+
.superdoc__sub-document[data-v-696dd93d] {
|
|
2445
2445
|
max-width: 100%;
|
|
2446
2446
|
}
|
|
2447
|
-
.superdoc__right-sidebar[data-v-
|
|
2447
|
+
.superdoc__right-sidebar[data-v-696dd93d] {
|
|
2448
2448
|
padding: 10px;
|
|
2449
2449
|
position: relative;
|
|
2450
2450
|
}
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
2453
2453
|
/* AI Writer styles */
|
|
2454
|
-
.ai-writer-container[data-v-
|
|
2454
|
+
.ai-writer-container[data-v-696dd93d] {
|
|
2455
2455
|
position: fixed;
|
|
2456
2456
|
z-index: 1000;
|
|
2457
2457
|
background: white;
|
|
@@ -2467,10 +2467,10 @@ img[data-v-c95b2073] {
|
|
|
2467
2467
|
transform: translateY(-50%);
|
|
2468
2468
|
z-index: 50;
|
|
2469
2469
|
} */
|
|
2470
|
-
.ai-tool > svg[data-v-
|
|
2470
|
+
.ai-tool > svg[data-v-696dd93d] {
|
|
2471
2471
|
fill: transparent;
|
|
2472
2472
|
}
|
|
2473
|
-
.ai-tool[data-v-
|
|
2473
|
+
.ai-tool[data-v-696dd93d]::before {
|
|
2474
2474
|
content: '';
|
|
2475
2475
|
position: absolute;
|
|
2476
2476
|
width: 20px;
|
|
@@ -2491,7 +2491,7 @@ img[data-v-c95b2073] {
|
|
|
2491
2491
|
filter: brightness(1.2);
|
|
2492
2492
|
transition: filter 0.2s ease;
|
|
2493
2493
|
}
|
|
2494
|
-
.ai-tool[data-v-
|
|
2494
|
+
.ai-tool[data-v-696dd93d]:hover::before {
|
|
2495
2495
|
filter: brightness(1.3);
|
|
2496
2496
|
}
|
|
2497
2497
|
|
package/dist/superdoc.cjs
CHANGED
|
@@ -316,7 +316,7 @@ var shuffleArray = (array) => {
|
|
|
316
316
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
317
317
|
function getSuperdocVersion() {
|
|
318
318
|
try {
|
|
319
|
-
return "2.19.0-next.
|
|
319
|
+
return "2.19.0-next.8";
|
|
320
320
|
} catch {
|
|
321
321
|
return "unknown";
|
|
322
322
|
}
|
|
@@ -23433,7 +23433,11 @@ var SuperDoc_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_v
|
|
|
23433
23433
|
handleImageUpload: proxy.$superdoc.config.handleImageUpload,
|
|
23434
23434
|
externalExtensions: proxy.$superdoc.config.editorExtensions || [],
|
|
23435
23435
|
extensions: proxy.$superdoc.config.extensions || [],
|
|
23436
|
-
...pdfConfig?.pdfLib ? { pdfLib: pdfConfig.pdfLib } : {}
|
|
23436
|
+
...pdfConfig?.pdfLib ? { pdfLib: pdfConfig.pdfLib } : typeof __SUPERDOC_BUILD__ !== "undefined" && __SUPERDOC_BUILD__ === "cdn-iife" ? {} : { loadPdfJs: async () => {
|
|
23437
|
+
const [pdfJs, worker] = await Promise.all([import("pdfjs-dist/build/pdf.mjs"), Promise.resolve().then(() => require("./chunks/pdf.worker.min-BgWCk_Cj.cjs"))]);
|
|
23438
|
+
pdfJs.GlobalWorkerOptions.workerSrc = worker.default;
|
|
23439
|
+
return pdfJs;
|
|
23440
|
+
} },
|
|
23437
23441
|
suppressDefaultDocxStyles: proxy.$superdoc.config.suppressDefaultDocxStyles,
|
|
23438
23442
|
disableContextMenu: !proxy.$superdoc.uiConfig.contextMenu.enabled || proxy.$superdoc.config.disableContextMenu === true,
|
|
23439
23443
|
jsonOverride: proxy.$superdoc.config.jsonOverride,
|
|
@@ -24499,7 +24503,7 @@ var SuperDoc_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_v
|
|
|
24499
24503
|
], 38);
|
|
24500
24504
|
};
|
|
24501
24505
|
}
|
|
24502
|
-
}, [["__scopeId", "data-v-
|
|
24506
|
+
}, [["__scopeId", "data-v-696dd93d"]]);
|
|
24503
24507
|
//#endregion
|
|
24504
24508
|
//#region src/core/create-app.js
|
|
24505
24509
|
var PINIA_DEVTOOLS_SETUP_EVENT = "devtools-plugin:setup";
|
|
@@ -45686,7 +45690,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
|
|
|
45686
45690
|
this.config.colors = shuffleArray(this.config.colors);
|
|
45687
45691
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
45688
45692
|
this.colorIndex = 0;
|
|
45689
|
-
this.version = "2.19.0-next.
|
|
45693
|
+
this.version = "2.19.0-next.8";
|
|
45690
45694
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
45691
45695
|
this.superdocId = config.superdocId || require_uuid.v4();
|
|
45692
45696
|
this.colors = this.config.colors ?? [];
|
package/dist/superdoc.es.js
CHANGED
|
@@ -315,7 +315,7 @@ var shuffleArray = (array) => {
|
|
|
315
315
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
316
316
|
function getSuperdocVersion() {
|
|
317
317
|
try {
|
|
318
|
-
return "2.19.0-next.
|
|
318
|
+
return "2.19.0-next.8";
|
|
319
319
|
} catch {
|
|
320
320
|
return "unknown";
|
|
321
321
|
}
|
|
@@ -23393,7 +23393,11 @@ var SuperDoc_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
|
|
|
23393
23393
|
handleImageUpload: proxy.$superdoc.config.handleImageUpload,
|
|
23394
23394
|
externalExtensions: proxy.$superdoc.config.editorExtensions || [],
|
|
23395
23395
|
extensions: proxy.$superdoc.config.extensions || [],
|
|
23396
|
-
...pdfConfig?.pdfLib ? { pdfLib: pdfConfig.pdfLib } : {}
|
|
23396
|
+
...pdfConfig?.pdfLib ? { pdfLib: pdfConfig.pdfLib } : typeof __SUPERDOC_BUILD__ !== "undefined" && __SUPERDOC_BUILD__ === "cdn-iife" ? {} : { loadPdfJs: async () => {
|
|
23397
|
+
const [pdfJs, worker] = await Promise.all([import("pdfjs-dist/build/pdf.mjs"), import("./chunks/pdf.worker.min-t-CYmkGJ.es.js")]);
|
|
23398
|
+
pdfJs.GlobalWorkerOptions.workerSrc = worker.default;
|
|
23399
|
+
return pdfJs;
|
|
23400
|
+
} },
|
|
23397
23401
|
suppressDefaultDocxStyles: proxy.$superdoc.config.suppressDefaultDocxStyles,
|
|
23398
23402
|
disableContextMenu: !proxy.$superdoc.uiConfig.contextMenu.enabled || proxy.$superdoc.config.disableContextMenu === true,
|
|
23399
23403
|
jsonOverride: proxy.$superdoc.config.jsonOverride,
|
|
@@ -24459,7 +24463,7 @@ var SuperDoc_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
|
|
|
24459
24463
|
], 38);
|
|
24460
24464
|
};
|
|
24461
24465
|
}
|
|
24462
|
-
}, [["__scopeId", "data-v-
|
|
24466
|
+
}, [["__scopeId", "data-v-696dd93d"]]);
|
|
24463
24467
|
//#endregion
|
|
24464
24468
|
//#region src/core/create-app.js
|
|
24465
24469
|
var PINIA_DEVTOOLS_SETUP_EVENT = "devtools-plugin:setup";
|
|
@@ -45617,7 +45621,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
45617
45621
|
this.config.colors = shuffleArray(this.config.colors);
|
|
45618
45622
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
45619
45623
|
this.colorIndex = 0;
|
|
45620
|
-
this.version = "2.19.0-next.
|
|
45624
|
+
this.version = "2.19.0-next.8";
|
|
45621
45625
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
45622
45626
|
this.superdocId = config.superdocId || v4();
|
|
45623
45627
|
this.colors = this.config.colors ?? [];
|