superdoc 2.22.0-next.9 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{create-super-doc-ui-Dos1KQcL.es.js → create-super-doc-ui-DmGX1w-i.es.js} +165 -48
- package/dist/chunks/{create-super-doc-ui-DTLJMJIl.cjs → create-super-doc-ui-MSiU8Kg0.cjs} +165 -48
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/content-controls/content-controls.types.d.ts +2 -0
- package/dist/document-api/src/contract/operation-definitions.d.ts +2 -2
- package/dist/layout-engine/contracts/src/index.d.ts +17 -7
- package/dist/layout-engine/contracts/src/justify-utils.d.ts +5 -2
- package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +30 -4
- package/dist/layout-engine/layout-bridge/src/index.d.ts +3 -3
- package/dist/layout-engine/layout-bridge/src/layoutHeaderFooter.d.ts +4 -0
- package/dist/layout-engine/layout-engine/src/anchors.d.ts +4 -4
- package/dist/layout-engine/layout-engine/src/column-balancing.d.ts +2 -2
- package/dist/layout-engine/layout-engine/src/execution.d.ts +1 -1
- package/dist/layout-engine/layout-engine/src/index.d.ts +28 -1
- package/dist/layout-engine/layout-engine/src/inline-drawing-alignment.d.ts +4 -1
- package/dist/layout-engine/layout-engine/src/layout-paragraph.d.ts +9 -1
- package/dist/layout-engine/layout-engine/src/layout-utils.d.ts +5 -1
- package/dist/layout-engine/layout-engine/src/paragraph-continuation.d.ts +6 -0
- package/dist/layout-engine/layout-engine/src/section-props.d.ts +1 -1
- package/dist/layout-engine/layout-engine/src/source-preparation.d.ts +52 -0
- package/dist/layout-engine/painters/dom/src/page-content.d.ts +6 -0
- package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphContent.d.ts +3 -1
- package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphFragment.d.ts +3 -1
- package/dist/layout-engine/painters/dom/src/persistent-page-surface.d.ts +5 -4
- package/dist/layout-engine/painters/dom/src/pm-position-validation.d.ts +1 -0
- package/dist/layout-engine/painters/dom/src/render-work.d.ts +3 -0
- package/dist/layout-engine/painters/dom/src/renderer.d.ts +28 -5
- package/dist/layout-engine/painters/dom/src/runs/render-line.d.ts +3 -1
- package/dist/layout-engine/painters/dom/src/runs/tab-run.d.ts +1 -1
- package/dist/layout-engine/painters/dom/src/table/renderTableCell.d.ts +3 -1
- package/dist/layout-engine/painters/dom/src/table/renderTableFragment.d.ts +3 -1
- package/dist/layout-engine/painters/dom/src/table/renderTableRow.d.ts +3 -1
- 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/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +3 -3
- package/dist-cdn/superdoc.min.js +40 -40
- package/package.json +2 -2
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 { c as createImageFilePicker, d as DOM_CLASS_NAMES, f as closeInteractionHistory, g as recordInteraction, h as isWorkflowRecordingEnabled, i as registerFirstPartyCommandMutation, l as resolveImageSrc, m as getWorkflowRecording, n as executeFirstPartyCommandAsync, o as applyV2CommentInvalidationFromMutation, p as createInteractionHistory, r as readFirstPartyPageNumbers, s as getV2TrackedChangeMutationImpact, t as createSuperDocUI } from "./chunks/create-super-doc-ui-
|
|
3
|
+
import { c as createImageFilePicker, d as DOM_CLASS_NAMES, f as closeInteractionHistory, g as recordInteraction, h as isWorkflowRecordingEnabled, i as registerFirstPartyCommandMutation, l as resolveImageSrc, m as getWorkflowRecording, n as executeFirstPartyCommandAsync, o as applyV2CommentInvalidationFromMutation, p as createInteractionHistory, r as readFirstPartyPageNumbers, s as getV2TrackedChangeMutationImpact, t as createSuperDocUI } from "./chunks/create-super-doc-ui-DmGX1w-i.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 watch$1, A as onActivated, B as resolveDirective, C as isRef$1, D as normalizeClass, E as nextTick, F as openBlock, G as toRef, H as shallowRef$1, I as reactive, J as useAttrs, K as toRefs, L as ref, M as onDeactivated, N as onMounted, O as normalizeProps, P as onScopeDispose$1, Q as vModelText, R as renderList, S as isReactive$1, T as mergeProps, U as toDisplayString, V as resolveDynamicComponent, W as toRaw$2, X as vModelCheckbox, Y as useSlots, Z as vModelSelect, _ as getCurrentInstance, a as computed$1, b as hasInjectionContext, c as createCommentVNode, d as createStaticVNode, et as withCtx, f as createTextVNode, g as effectScope, h as defineComponent, i as Transition, j as onBeforeUnmount, k as normalizeStyle, l as createElementBlock, m as defineAsyncComponent, n as Fragment, nt as withKeys, o as createApp, p as createVNode, q as unref, r as Teleport, rt as withModifiers, s as createBlock, t as _plugin_vue_export_helper_default, tt as withDirectives, u as createElementVNode, v as getCurrentScope, w as markRaw, x as inject$1, y as h, z as renderSlot } from "./chunks/_plugin-vue_export-helper-DHiJKCsy.es.js";
|
|
@@ -314,7 +314,7 @@ var shuffleArray = (array) => {
|
|
|
314
314
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
315
315
|
function getSuperdocVersion() {
|
|
316
316
|
try {
|
|
317
|
-
return "2.22.0
|
|
317
|
+
return "2.22.0";
|
|
318
318
|
} catch {
|
|
319
319
|
return "unknown";
|
|
320
320
|
}
|
|
@@ -46311,7 +46311,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
46311
46311
|
this.config.colors = shuffleArray(this.config.colors);
|
|
46312
46312
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46313
46313
|
this.colorIndex = 0;
|
|
46314
|
-
this.version = "2.22.0
|
|
46314
|
+
this.version = "2.22.0";
|
|
46315
46315
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46316
46316
|
this.superdocId = config.superdocId || v4();
|
|
46317
46317
|
this.colors = this.config.colors ?? [];
|