superdoc 2.27.0-next.4 → 2.27.0-next.6
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/{create-super-doc-ui-BWoeA7So.cjs → create-super-doc-ui-CqpZP17K.cjs} +0 -6
- package/dist/chunks/{create-super-doc-ui-DqZk5WpX.es.js → create-super-doc-ui-mIZuVMA6.es.js} +0 -6
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/index.d.ts +1 -1
- package/dist/document-api/src/types/receipt.d.ts +2 -1
- package/dist/document-api/src/types/temporary-mutation.d.ts +16 -2
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/core/types/index.d.ts +3 -60
- package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +0 -6
- package/dist/superdoc/src/public/ui/types.d.ts +1 -1
- package/dist/superdoc/src/public/ui-react.d.ts +0 -5
- package/dist/superdoc/src/public/ui-vue.d.ts +0 -5
- package/dist/superdoc/src/public/ui.d.cts +2 -0
- package/dist/superdoc/src/public/ui.d.ts +1 -10
- package/dist/superdoc.cjs +6 -13
- package/dist/superdoc.es.js +6 -13
- 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 +2 -2
|
@@ -36,12 +36,6 @@ type CommentInvalidationInput = {
|
|
|
36
36
|
export declare function getV2TrackedChangeMutationImpact(event: unknown): V2TrackedChangeMutationImpact | null;
|
|
37
37
|
/**
|
|
38
38
|
* Comment ids retired by a committed v2 mutation.
|
|
39
|
-
*
|
|
40
|
-
* AIDEV-NOTE: History commits put invalidated comment ids on `result`; cut and
|
|
41
|
-
* other command receipts use `receipt`. Same origin split as
|
|
42
|
-
* getV2TrackedChangeMutationImpact. Reading the wrong field, or treating a
|
|
43
|
-
* tracked-change entity as a comment, leaves a sidebar card after cut or
|
|
44
|
-
* undo/redo.
|
|
45
39
|
*/
|
|
46
40
|
export declare function collectV2InvalidatedCommentIds(event: unknown): Set<string>;
|
|
47
41
|
export declare function applyV2CommentInvalidationFromMutation({ event, commentsStore, superdoc, documentId, }?: CommentInvalidationInput): CommentInvalidationResult;
|
|
@@ -30,7 +30,7 @@ import { BuiltInCommandId } from './commands.js';
|
|
|
30
30
|
* (`scripts/ensure-types.cjs` `rewriteDocApiPaths`), so no bare private
|
|
31
31
|
* specifier leaks into the emitted `.d.ts`.
|
|
32
32
|
*/
|
|
33
|
-
export type { Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, BookmarkAddress, ScrollIntoViewInput, ScrollIntoViewOutput, DocumentApi, EntityAddress, CommentsListQuery as DocumentApiCommentsListQuery, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, StoryLocator as DocumentStoryLocator, } from '../../../../document-api/src/index.js';
|
|
33
|
+
export type { Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, BookmarkAddress, ScrollIntoViewInput, ScrollIntoViewOutput, DocumentApi, EntityAddress, CommentsListQuery as DocumentApiCommentsListQuery, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryOperationResultTarget, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, StoryLocator as DocumentStoryLocator, } from '../../../../document-api/src/index.js';
|
|
34
34
|
export type { StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, } from '../../../../document-api/src/index.js';
|
|
35
35
|
export type { ListPresetId } from '../../../../document-api/src/index.js';
|
|
36
36
|
export type { BrowserDocumentApi, PartialBrowserDocumentApi } from '../browser-document-api.js';
|
|
@@ -10,11 +10,6 @@
|
|
|
10
10
|
* self-contained v2 React layer under `./ui/react.ts`, which is built on the
|
|
11
11
|
* v2-native controller. No v1 React bindings and no private v2 runtime
|
|
12
12
|
* imports.
|
|
13
|
-
*
|
|
14
|
-
* Rules for this file:
|
|
15
|
-
* - AIDEV-NOTE: Named exports only. No `export *`.
|
|
16
|
-
* - AIDEV-NOTE: `verify-public-facade-emit.cjs` parses this file and verifies
|
|
17
|
-
* the emitted declarations expose exactly these named exports.
|
|
18
13
|
*/
|
|
19
14
|
export { SuperDocUIProvider, useSuperDocUI, useSuperDocHost, useSetSuperDoc, useSuperDocSlice, useSuperDocSelection, useSuperDocSearch, useSuperDocComments, useSuperDocContentControls, useSuperDocTrackChanges, useSuperDocToolbar, useSuperDocCommand, useSuperDocDocument, useSuperDocDocumentApi, useSuperDocFontOptions, useSuperDocFontSizeOptions, useSuperDocZoom, } from './ui/react.js';
|
|
20
15
|
export type { SuperDocHost, SuperDocUIProviderProps, UseSuperDocCommandResult } from './ui/react.js';
|
|
@@ -10,11 +10,6 @@
|
|
|
10
10
|
* subpath. It routes through the local, self-contained v2 Vue layer under
|
|
11
11
|
* `./ui/vue.ts`, which is built on the v2-native controller. No v1 Vue
|
|
12
12
|
* bindings and no private v2 runtime imports.
|
|
13
|
-
*
|
|
14
|
-
* Rules for this file:
|
|
15
|
-
* - AIDEV-NOTE: Named exports only. No `export *`.
|
|
16
|
-
* - AIDEV-NOTE: `verify-public-facade-emit.cjs` parses this file and verifies
|
|
17
|
-
* the emitted declarations expose exactly these named exports.
|
|
18
13
|
*/
|
|
19
14
|
export { provideSuperDocUI, useSuperDocUI, useSuperDocHost, useSetSuperDoc, useClearSuperDoc, useSuperDocSlice, useSuperDocSelection, useSuperDocSearch, useSuperDocComments, useSuperDocContentControls, useSuperDocTrackChanges, useSuperDocToolbar, useSuperDocCommand, useSuperDocDocument, useSuperDocFontOptions, useSuperDocFontSizeOptions, useSuperDocZoom, } from './ui/vue.js';
|
|
20
15
|
export type { SuperDocHost, SuperDocUIBinding, UseSuperDocCommandResult } from './ui/vue.js';
|
|
@@ -104,6 +104,7 @@ import type { TemporaryMutationInput as __Cjs_TemporaryMutationInput } from './u
|
|
|
104
104
|
import type { TemporaryMutationOperation as __Cjs_TemporaryMutationOperation } from './ui.js' with { "resolution-mode": "import" };
|
|
105
105
|
import type { TemporaryMutationReceipt as __Cjs_TemporaryMutationReceipt } from './ui.js' with { "resolution-mode": "import" };
|
|
106
106
|
import type { TemporaryMutationReplaceInput as __Cjs_TemporaryMutationReplaceInput } from './ui.js' with { "resolution-mode": "import" };
|
|
107
|
+
import type { TemporaryOperationResultTarget as __Cjs_TemporaryOperationResultTarget } from './ui.js' with { "resolution-mode": "import" };
|
|
107
108
|
import type { TextAddress as __Cjs_TextAddress } from './ui.js' with { "resolution-mode": "import" };
|
|
108
109
|
import type { TextRangeRejectionReason as __Cjs_TextRangeRejectionReason } from './ui.js' with { "resolution-mode": "import" };
|
|
109
110
|
import type { TextTarget as __Cjs_TextTarget } from './ui.js' with { "resolution-mode": "import" };
|
|
@@ -249,6 +250,7 @@ export type { __Cjs_TemporaryMutationInput as TemporaryMutationInput };
|
|
|
249
250
|
export type { __Cjs_TemporaryMutationOperation as TemporaryMutationOperation };
|
|
250
251
|
export type { __Cjs_TemporaryMutationReceipt as TemporaryMutationReceipt };
|
|
251
252
|
export type { __Cjs_TemporaryMutationReplaceInput as TemporaryMutationReplaceInput };
|
|
253
|
+
export type { __Cjs_TemporaryOperationResultTarget as TemporaryOperationResultTarget };
|
|
252
254
|
export type { __Cjs_TextAddress as TextAddress };
|
|
253
255
|
export type { __Cjs_TextRangeRejectionReason as TextRangeRejectionReason };
|
|
254
256
|
export type { __Cjs_TextTarget as TextTarget };
|
|
@@ -13,19 +13,10 @@
|
|
|
13
13
|
* SuperDoc events — no v1 editor command/state/view/chain surface and no
|
|
14
14
|
* private v2 runtime packages are imported. SDK/headless document automation
|
|
15
15
|
* remains synchronous on its own surface.
|
|
16
|
-
*
|
|
17
|
-
* Rules for this file:
|
|
18
|
-
* - AIDEV-NOTE: Named exports only. No `export *`.
|
|
19
|
-
* - AIDEV-NOTE: Re-export source MUST stay the local `./ui/**` v2-native
|
|
20
|
-
* controller. Do NOT re-introduce the v1 editor UI subpath — that surface
|
|
21
|
-
* was removed in `superdoc@2` and `check-private-core.cjs` forbids any v1
|
|
22
|
-
* editor artifact in the emitted package.
|
|
23
|
-
* - AIDEV-NOTE: `verify-public-facade-emit.cjs` parses this file and verifies
|
|
24
|
-
* the emitted declarations expose exactly these named exports.
|
|
25
16
|
*/
|
|
26
17
|
export { createSuperDocUI } from './ui/create-super-doc-ui.js';
|
|
27
18
|
export { getDocumentApiRejectionReason } from './ui/rejection-reasons.js';
|
|
28
19
|
export { shallowEqual } from './ui/equality.js';
|
|
29
20
|
export { BUILT_IN_COMMAND_IDS } from './ui/commands.js';
|
|
30
|
-
export type { EqualityFn, SelectorFn, Subscribable, SuperDocUI, BorrowedSuperDocUI, SuperDocUIOptions, SuperDocUIState, SuperDocUIScope, SuperDocLike, SuperDocEditorLike, CommandHandle, CommandState, CommandExecutionResult, WorkflowReceipt, WorkflowActionResult, WorkflowScrollResult, SelectionRestoreResult, SuperDocUIReason, CommandId, CommandsHandle, ContextMenuItem, ContextMenuHandle, WatermarkHandle, SearchController, SearchHandle, SearchQueryOptions, CustomCommandContext, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, MetadataHandle, SelectionHandle, TablesHandle, TableContextInfo, ToolbarHandle, BuiltInCommandId, ToolbarCommandId, CommentsHandle, TrackChangesHandle, ContentControlsHandle, BookmarksHandle, BookmarkAddress, ContentControlFocusResult, ContentControlHighlightResult, FontsHandle, ZoomHandle, DocumentHandle, DocumentReplacementResult, ViewportHandle, StylesHandle, ActiveParagraphStyle, SliceStatus, SelectionSlice, SelectionCapture, CommentAnchorCapture, ToolbarSnapshotSlice, CommentsSlice, TrackChangesSlice, ContentControlsSlice, FontsSlice, ZoomSlice, DocumentSlice, StylesSlice, SearchSnapshot, SearchSlice, StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, CommentInfo, CommentsListQuery, TrackChangeInfo, TrackChangePointHit, TrackChangesItem, FontFamilyOption, FontSizeOption, CommentAddress, TrackedChangeAddress, ContentControlViewportAddress, ViewportEntityAddress, ViewportEntityHit, ViewportContext, ViewportRect, ViewportGetRectInput, ViewportGetRectTarget, ViewportGetRectsInput, ViewportGetRectsResult, ViewportRectResult, BrowserDocumentApi, PartialBrowserDocumentApi, DocumentApi, Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, ScrollIntoViewInput, ScrollIntoViewOutput, EntityAddress, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, DocumentStoryLocator, } from './ui/types.js';
|
|
21
|
+
export type { EqualityFn, SelectorFn, Subscribable, SuperDocUI, BorrowedSuperDocUI, SuperDocUIOptions, SuperDocUIState, SuperDocUIScope, SuperDocLike, SuperDocEditorLike, CommandHandle, CommandState, CommandExecutionResult, WorkflowReceipt, WorkflowActionResult, WorkflowScrollResult, SelectionRestoreResult, SuperDocUIReason, CommandId, CommandsHandle, ContextMenuItem, ContextMenuHandle, WatermarkHandle, SearchController, SearchHandle, SearchQueryOptions, CustomCommandContext, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, MetadataHandle, SelectionHandle, TablesHandle, TableContextInfo, ToolbarHandle, BuiltInCommandId, ToolbarCommandId, CommentsHandle, TrackChangesHandle, ContentControlsHandle, BookmarksHandle, BookmarkAddress, ContentControlFocusResult, ContentControlHighlightResult, FontsHandle, ZoomHandle, DocumentHandle, DocumentReplacementResult, ViewportHandle, StylesHandle, ActiveParagraphStyle, SliceStatus, SelectionSlice, SelectionCapture, CommentAnchorCapture, ToolbarSnapshotSlice, CommentsSlice, TrackChangesSlice, ContentControlsSlice, FontsSlice, ZoomSlice, DocumentSlice, StylesSlice, SearchSnapshot, SearchSlice, StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, CommentInfo, CommentsListQuery, TrackChangeInfo, TrackChangePointHit, TrackChangesItem, FontFamilyOption, FontSizeOption, CommentAddress, TrackedChangeAddress, ContentControlViewportAddress, ViewportEntityAddress, ViewportEntityHit, ViewportContext, ViewportRect, ViewportGetRectInput, ViewportGetRectTarget, ViewportGetRectsInput, ViewportGetRectsResult, ViewportRectResult, BrowserDocumentApi, PartialBrowserDocumentApi, DocumentApi, Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, ScrollIntoViewInput, ScrollIntoViewOutput, EntityAddress, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryOperationResultTarget, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, DocumentStoryLocator, } from './ui/types.js';
|
|
31
22
|
export type { PageMetricsHandle, PageMetricsSnapshot, PageMetricsPage, PageBodyTarget } from './ui/page-metrics.js';
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./chunks/rolldown-runtime-74VwNCz7.cjs");
|
|
3
3
|
const require_blank_docx = require("./chunks/blank-docx-BuFAbRjs.cjs");
|
|
4
|
-
const require_create_super_doc_ui = require("./chunks/create-super-doc-ui-
|
|
4
|
+
const require_create_super_doc_ui = require("./chunks/create-super-doc-ui-CqpZP17K.cjs");
|
|
5
5
|
const require_eventemitter3 = require("./chunks/eventemitter3-C_TAnXOl.cjs");
|
|
6
6
|
const require_uuid = require("./chunks/uuid-BhG0ngwk.cjs");
|
|
7
7
|
const require__plugin_vue_export_helper = require("./chunks/_plugin-vue_export-helper-BUdjGKyl.cjs");
|
|
@@ -260,7 +260,7 @@ var v_click_outside_default = {
|
|
|
260
260
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
261
261
|
function getSuperdocVersion() {
|
|
262
262
|
try {
|
|
263
|
-
return "2.27.0-next.
|
|
263
|
+
return "2.27.0-next.6";
|
|
264
264
|
} catch {
|
|
265
265
|
return "unknown";
|
|
266
266
|
}
|
|
@@ -12994,7 +12994,7 @@ var _sfc_main$35 = {
|
|
|
12994
12994
|
};
|
|
12995
12995
|
}
|
|
12996
12996
|
};
|
|
12997
|
-
var CommentHeader_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_vue_export_helper_default(_sfc_main$35, [["__scopeId", "data-v-
|
|
12997
|
+
var CommentHeader_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_vue_export_helper_default(_sfc_main$35, [["__scopeId", "data-v-b2a33943"]]);
|
|
12998
12998
|
//#endregion
|
|
12999
12999
|
//#region src/components/CommentsLayer/CommentInput.vue
|
|
13000
13000
|
var _hoisted_1$27 = { class: "input-section" };
|
|
@@ -14606,7 +14606,7 @@ var _sfc_main$33 = {
|
|
|
14606
14606
|
};
|
|
14607
14607
|
}
|
|
14608
14608
|
};
|
|
14609
|
-
var CommentDialog_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_vue_export_helper_default(_sfc_main$33, [["__scopeId", "data-v-
|
|
14609
|
+
var CommentDialog_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_vue_export_helper_default(_sfc_main$33, [["__scopeId", "data-v-f5016db4"]]);
|
|
14610
14610
|
//#endregion
|
|
14611
14611
|
//#region src/components/CommentsLayer/commentsList/ReviewDirectoryListItem.vue
|
|
14612
14612
|
var _hoisted_1$25 = [
|
|
@@ -37940,13 +37940,6 @@ var TOOLBAR_ITEM_ALIASES = Object.freeze({
|
|
|
37940
37940
|
* `superdoc.ui`.
|
|
37941
37941
|
* - `ui: { ... }` opts in per surface. An omitted key keeps that surface's
|
|
37942
37942
|
* historical default rather than inheriting from its siblings.
|
|
37943
|
-
*
|
|
37944
|
-
* AIDEV-NOTE: legacy-public - the `modules.*` built-in UI spellings shipped in
|
|
37945
|
-
* stable 2.3.0 and stay supported for all of v2, so these branches are load
|
|
37946
|
-
* bearing rather than scaffolding. Every built-in surface now has a canonical
|
|
37947
|
-
* path: use `ui.*`, `interaction.*`, `surfaces.*`, or `hyperlinks.*`, with
|
|
37948
|
-
* comment policy on `interaction.comments` and hyperlink activation on
|
|
37949
|
-
* `hyperlinks.onActivate`. Earliest removal: v3.0.
|
|
37950
37943
|
*/
|
|
37951
37944
|
var isUnknownArray = (value) => Array.isArray(value);
|
|
37952
37945
|
var isOptionsBag = (value) => require_create_super_doc_ui.isPlainObject(value);
|
|
@@ -41319,7 +41312,7 @@ var _sfc_main$11 = {
|
|
|
41319
41312
|
};
|
|
41320
41313
|
}
|
|
41321
41314
|
};
|
|
41322
|
-
var ButtonGroup_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_vue_export_helper_default(_sfc_main$11, [["__scopeId", "data-v-
|
|
41315
|
+
var ButtonGroup_default = /*#__PURE__*/ require__plugin_vue_export_helper._plugin_vue_export_helper_default(_sfc_main$11, [["__scopeId", "data-v-fb216897"]]);
|
|
41323
41316
|
var TOOLBAR_FONTS = [
|
|
41324
41317
|
["Arial", "sans-serif"],
|
|
41325
41318
|
["Arial Black", "sans-serif"],
|
|
@@ -46231,7 +46224,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
|
|
|
46231
46224
|
}
|
|
46232
46225
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46233
46226
|
this.colorIndex = 0;
|
|
46234
|
-
this.version = "2.27.0-next.
|
|
46227
|
+
this.version = "2.27.0-next.6";
|
|
46235
46228
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46236
46229
|
this.superdocId = config.superdocId || require_uuid.v4();
|
|
46237
46230
|
this.colors = this.config.colors ?? [];
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __toESM$2 } from "./chunks/rolldown-runtime-0pSA04fp.es.js";
|
|
2
2
|
import { t as blank_default } from "./chunks/blank-docx-DzQccOlW.es.js";
|
|
3
|
-
import { _ as getWorkflowRecording, a as registerFirstPartyCommandMutation, c as getV2TrackedChangeMutationImpact, d as resolveImageSrc, g as createInteractionHistory, h as closeInteractionHistory, i as readFirstPartyPageNumbers, l as isPlainObject$1, m as DOM_CLASS_NAMES, n as executeFirstPartyCommandAsync, p as isSyntheticTrackedChangeCommentLaneItem, r as executeFirstPartyShortcutAsync, s as applyV2CommentInvalidationFromMutation, t as createSuperDocUI, u as createImageFilePicker, v as isWorkflowRecordingEnabled, y as recordInteraction } from "./chunks/create-super-doc-ui-
|
|
3
|
+
import { _ as getWorkflowRecording, a as registerFirstPartyCommandMutation, c as getV2TrackedChangeMutationImpact, d as resolveImageSrc, g as createInteractionHistory, h as closeInteractionHistory, i as readFirstPartyPageNumbers, l as isPlainObject$1, m as DOM_CLASS_NAMES, n as executeFirstPartyCommandAsync, p as isSyntheticTrackedChangeCommentLaneItem, r as executeFirstPartyShortcutAsync, s as applyV2CommentInvalidationFromMutation, t as createSuperDocUI, u as createImageFilePicker, v as isWorkflowRecordingEnabled, y as recordInteraction } from "./chunks/create-super-doc-ui-mIZuVMA6.es.js";
|
|
4
4
|
import { t as import_eventemitter3 } from "./chunks/eventemitter3-DEIiXiH2.es.js";
|
|
5
5
|
import { t as v4 } from "./chunks/uuid-H0Xcmmhy.es.js";
|
|
6
6
|
import { $ as vModelText, A as onActivated, B as renderSlot, C as isRef$1, D as normalizeClass, E as nextTick, F as openBlock, G as toRaw$2, H as resolveDynamicComponent, I as provide$1, J as unref, K as toRef, L as reactive, M as onDeactivated, N as onMounted, O as normalizeProps, P as onScopeDispose$1, Q as vModelSelect, R as ref, S as isReactive$1, T as mergeProps, U as shallowRef$1, V as resolveDirective, W as toDisplayString, X as useSlots, Y as useAttrs, Z as vModelCheckbox, _ as getCurrentInstance, a as computed$1, b as hasInjectionContext, c as createCommentVNode, d as createStaticVNode, et as watch$1, f as createTextVNode, g as effectScope, h as defineComponent, i as Transition, it as withModifiers, j as onBeforeUnmount, k as normalizeStyle, l as createElementBlock, m as defineAsyncComponent, n as Fragment, nt as withDirectives, o as createApp, p as createVNode, q as toRefs, r as Teleport, rt as withKeys, s as createBlock, t as _plugin_vue_export_helper_default, tt as withCtx, u as createElementVNode, v as getCurrentScope, w as markRaw, x as inject$1, y as h, z as renderList } from "./chunks/_plugin-vue_export-helper-7ZiLY07t.es.js";
|
|
@@ -258,7 +258,7 @@ var v_click_outside_default = {
|
|
|
258
258
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
259
259
|
function getSuperdocVersion() {
|
|
260
260
|
try {
|
|
261
|
-
return "2.27.0-next.
|
|
261
|
+
return "2.27.0-next.6";
|
|
262
262
|
} catch {
|
|
263
263
|
return "unknown";
|
|
264
264
|
}
|
|
@@ -12988,7 +12988,7 @@ var CommentHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
|
|
|
12988
12988
|
], 2)]);
|
|
12989
12989
|
};
|
|
12990
12990
|
}
|
|
12991
|
-
}, [["__scopeId", "data-v-
|
|
12991
|
+
}, [["__scopeId", "data-v-b2a33943"]]);
|
|
12992
12992
|
//#endregion
|
|
12993
12993
|
//#region src/components/CommentsLayer/CommentInput.vue
|
|
12994
12994
|
var _hoisted_1$27 = { class: "input-section" };
|
|
@@ -14598,7 +14598,7 @@ var CommentDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
|
|
|
14598
14598
|
], 64))], 14, _hoisted_1$26)), [[_directive_click_outside, handleClickOutside]]);
|
|
14599
14599
|
};
|
|
14600
14600
|
}
|
|
14601
|
-
}, [["__scopeId", "data-v-
|
|
14601
|
+
}, [["__scopeId", "data-v-f5016db4"]]);
|
|
14602
14602
|
//#endregion
|
|
14603
14603
|
//#region src/components/CommentsLayer/commentsList/ReviewDirectoryListItem.vue
|
|
14604
14604
|
var _hoisted_1$25 = [
|
|
@@ -37900,13 +37900,6 @@ var TOOLBAR_ITEM_ALIASES = Object.freeze({
|
|
|
37900
37900
|
* `superdoc.ui`.
|
|
37901
37901
|
* - `ui: { ... }` opts in per surface. An omitted key keeps that surface's
|
|
37902
37902
|
* historical default rather than inheriting from its siblings.
|
|
37903
|
-
*
|
|
37904
|
-
* AIDEV-NOTE: legacy-public - the `modules.*` built-in UI spellings shipped in
|
|
37905
|
-
* stable 2.3.0 and stay supported for all of v2, so these branches are load
|
|
37906
|
-
* bearing rather than scaffolding. Every built-in surface now has a canonical
|
|
37907
|
-
* path: use `ui.*`, `interaction.*`, `surfaces.*`, or `hyperlinks.*`, with
|
|
37908
|
-
* comment policy on `interaction.comments` and hyperlink activation on
|
|
37909
|
-
* `hyperlinks.onActivate`. Earliest removal: v3.0.
|
|
37910
37903
|
*/
|
|
37911
37904
|
var isUnknownArray = (value) => Array.isArray(value);
|
|
37912
37905
|
var isOptionsBag = (value) => isPlainObject$1(value);
|
|
@@ -41269,7 +41262,7 @@ var ButtonGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default({
|
|
|
41269
41262
|
}), 128))], 36);
|
|
41270
41263
|
};
|
|
41271
41264
|
}
|
|
41272
|
-
}, [["__scopeId", "data-v-
|
|
41265
|
+
}, [["__scopeId", "data-v-fb216897"]]);
|
|
41273
41266
|
var TOOLBAR_FONTS = [
|
|
41274
41267
|
["Arial", "sans-serif"],
|
|
41275
41268
|
["Arial Black", "sans-serif"],
|
|
@@ -46161,7 +46154,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
46161
46154
|
}
|
|
46162
46155
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46163
46156
|
this.colorIndex = 0;
|
|
46164
|
-
this.version = "2.27.0-next.
|
|
46157
|
+
this.version = "2.27.0-next.6";
|
|
46165
46158
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46166
46159
|
this.superdocId = config.superdocId || v4();
|
|
46167
46160
|
this.colors = this.config.colors ?? [];
|