superdoc 2.22.1-next.1 → 2.22.1-next.2
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.
|
@@ -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.22.1-next.
|
|
22
|
+
superdocVersion: "2.22.1-next.2",
|
|
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.22.1-next.
|
|
21
|
+
superdocVersion: "2.22.1-next.2",
|
|
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
|
|
@@ -142,6 +142,8 @@ export type DocPartMetadata = {
|
|
|
142
142
|
*/
|
|
143
143
|
export type SdtMetadata = FieldAnnotationMetadata | StructuredContentMetadata | DocumentSectionMetadata | DocPartMetadata;
|
|
144
144
|
export declare const CONTRACTS_VERSION = "1.2.0";
|
|
145
|
+
/** Match the cell painter's alignment footprint, including out-of-flow drawings. */
|
|
146
|
+
export declare function tableCellAlignmentOffset(verticalAlign: string | undefined, contentHeight: number, flowHeight: number, measuredContentHeight: number): number;
|
|
145
147
|
/** Unique identifier for a block in the document. Format: `${pos}-${type}`. */
|
|
146
148
|
export type BlockId = string;
|
|
147
149
|
/**
|
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.22.1-next.
|
|
319
|
+
return "2.22.1-next.2";
|
|
320
320
|
} catch {
|
|
321
321
|
return "unknown";
|
|
322
322
|
}
|
|
@@ -46387,7 +46387,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
|
|
|
46387
46387
|
this.config.colors = shuffleArray(this.config.colors);
|
|
46388
46388
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46389
46389
|
this.colorIndex = 0;
|
|
46390
|
-
this.version = "2.22.1-next.
|
|
46390
|
+
this.version = "2.22.1-next.2";
|
|
46391
46391
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46392
46392
|
this.superdocId = config.superdocId || require_uuid.v4();
|
|
46393
46393
|
this.colors = this.config.colors ?? [];
|
package/dist/superdoc.es.js
CHANGED
|
@@ -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.1-next.
|
|
317
|
+
return "2.22.1-next.2";
|
|
318
318
|
} catch {
|
|
319
319
|
return "unknown";
|
|
320
320
|
}
|
|
@@ -46316,7 +46316,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
46316
46316
|
this.config.colors = shuffleArray(this.config.colors);
|
|
46317
46317
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46318
46318
|
this.colorIndex = 0;
|
|
46319
|
-
this.version = "2.22.1-next.
|
|
46319
|
+
this.version = "2.22.1-next.2";
|
|
46320
46320
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46321
46321
|
this.superdocId = config.superdocId || v4();
|
|
46322
46322
|
this.colors = this.config.colors ?? [];
|