@harbour-enterprises/superdoc 1.13.2-next.1 → 1.14.0-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.
- package/dist/chunks/{PdfViewer-DkAPF7zq.es.js → PdfViewer-CQVTFT-M.es.js} +3 -3
- package/dist/chunks/{PdfViewer-B2HRk9y_.cjs → PdfViewer-YFlD2rVo.cjs} +3 -3
- package/dist/chunks/{SuperConverter-CRnLevlf.es.js → SuperConverter-ChN3jUr5.es.js} +12 -3
- package/dist/chunks/{SuperConverter-CvGHSNgf.cjs → SuperConverter-D2tnJizi.cjs} +12 -3
- package/dist/chunks/{comments-store-DSOtUbbO.cjs → comments-store-B5ZQHzVY.cjs} +1 -1
- package/dist/chunks/{comments-store-BBQoK_ZJ.es.js → comments-store-DBqaRopy.es.js} +1 -1
- package/dist/chunks/{src-DNnoOc1f.es.js → src-Bk_GM_ay.es.js} +9338 -9296
- package/dist/chunks/{src-CBLIx9WD.cjs → src-DClVY3dw.cjs} +9340 -9298
- package/dist/super-editor/converter.cjs +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/src/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/src/core/super-converter/styles.d.ts +32 -66
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
- package/dist/super-editor/src/extensions/run/calculateInlineRunPropertiesPlugin.d.ts +20 -0
- package/dist/super-editor/src/extensions/run/calculateInlineRunPropertiesPlugin.d.ts.map +1 -1
- package/dist/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
- package/dist/super-editor/src/tests/helpers/paragraphReference.d.ts +1 -1
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc/src/dev/components/sidebar/SidebarLayout.vue.d.ts +25 -0
- package/dist/superdoc/src/dev/components/sidebar/SidebarLayout.vue.d.ts.map +1 -0
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +5 -5
- package/dist/superdoc.umd.js +5347 -5294
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +4 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as useCompitable, D as warnOnce, L as pxfy, R as c, U as createKey, V as cM, b as useThemeClass, et as __plugin_vue_export_helper_default, f as light_default$1, m as use_theme_default, p as fadeInTransition, x as useConfig, z as cB } from "./src-
|
|
2
|
-
import "./SuperConverter-
|
|
1
|
+
import { A as useCompitable, D as warnOnce, L as pxfy, R as c, U as createKey, V as cM, b as useThemeClass, et as __plugin_vue_export_helper_default, f as light_default$1, m as use_theme_default, p as fadeInTransition, x as useConfig, z as cB } from "./src-Bk_GM_ay.es.js";
|
|
2
|
+
import "./SuperConverter-ChN3jUr5.es.js";
|
|
3
3
|
import { n as init_dist, r as process$1 } from "./jszip-ChlR43oI.es.js";
|
|
4
4
|
import "./xml-js-DLE8mr0n.es.js";
|
|
5
5
|
import "./helpers-BGD_wEOi.es.js";
|
|
6
|
-
import { f as storeToRefs, i as useSelection, n as useSuperdocStore, p as Loading_default } from "./comments-store-
|
|
6
|
+
import { f as storeToRefs, i as useSelection, n as useSuperdocStore, p as Loading_default } from "./comments-store-DBqaRopy.es.js";
|
|
7
7
|
import "./DocxZipper-lmCBVhg-.es.js";
|
|
8
8
|
import { F as onMounted, I as onUnmounted, L as openBlock, S as defineComponent, T as h, W as watchEffect, _ as createCommentVNode, b as createVNode, h as createBaseVNode, m as computed, ot as unref, t as Transition, tt as ref, v as createElementBlock } from "./vue-DMMnFUp6.es.js";
|
|
9
9
|
import "./eventemitter3-CllYWHI6.es.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
require("./SuperConverter-
|
|
2
|
+
const require_src = require("./src-DClVY3dw.cjs");
|
|
3
|
+
require("./SuperConverter-D2tnJizi.cjs");
|
|
4
4
|
const require_jszip = require("./jszip-DCT9QYaK.cjs");
|
|
5
5
|
require("./xml-js--DznO7Gk.cjs");
|
|
6
6
|
require("./helpers-Cs_Zz44i.cjs");
|
|
7
|
-
const require_comments_store = require("./comments-store-
|
|
7
|
+
const require_comments_store = require("./comments-store-B5ZQHzVY.cjs");
|
|
8
8
|
require("./DocxZipper-Bs5-dXNA.cjs");
|
|
9
9
|
const require_vue = require("./vue-D6hUziY_.cjs");
|
|
10
10
|
require("./eventemitter3-CEw7qfX9.cjs");
|
|
@@ -6883,7 +6883,8 @@ const handleParagraphNode$1 = (params) => {
|
|
|
6883
6883
|
nodes: updatedElements,
|
|
6884
6884
|
extraParams: {
|
|
6885
6885
|
...params.extraParams,
|
|
6886
|
-
paragraphProperties: resolvedParagraphProperties
|
|
6886
|
+
paragraphProperties: resolvedParagraphProperties,
|
|
6887
|
+
numberingDefinedInline: Boolean(inlineParagraphProperties.numberingProperties)
|
|
6887
6888
|
},
|
|
6888
6889
|
path: [...params.path || [], node]
|
|
6889
6890
|
};
|
|
@@ -7448,7 +7449,15 @@ var encode$38 = (params, encodedAttrs = {}) => {
|
|
|
7448
7449
|
nodes: [rPrNode]
|
|
7449
7450
|
}) : {};
|
|
7450
7451
|
const paragraphProperties = params?.extraParams?.paragraphProperties || {};
|
|
7451
|
-
|
|
7452
|
+
let tableInfo = null;
|
|
7453
|
+
if (params?.extraParams?.rowIndex != null && params?.extraParams?.columnIndex != null && params?.extraParams?.tableProperties != null && params?.extraParams?.totalColumns != null && params?.extraParams?.totalRows != null) tableInfo = {
|
|
7454
|
+
rowIndex: params.extraParams.rowIndex,
|
|
7455
|
+
cellIndex: params.extraParams.columnIndex,
|
|
7456
|
+
tableProperties: params.extraParams.tableProperties,
|
|
7457
|
+
numCells: params.extraParams.totalColumns,
|
|
7458
|
+
numRows: params.extraParams.totalRows
|
|
7459
|
+
};
|
|
7460
|
+
const marksResult = encodeMarksFromRPr(resolveRunProperties(params, runProperties ?? {}, paragraphProperties, tableInfo, false, params?.extraParams?.numberingDefinedInline), params?.docx);
|
|
7452
7461
|
const marks = Array.isArray(marksResult) ? marksResult : [];
|
|
7453
7462
|
const rPrChange = rPrNode?.elements?.find((el) => el.name === "w:rPrChange");
|
|
7454
7463
|
const styleChangeMarks = handleStyleChangeMarksV2(rPrChange, marks, params) || [];
|
|
@@ -33572,7 +33581,7 @@ var SuperConverter = class SuperConverter {
|
|
|
33572
33581
|
static getStoredSuperdocVersion(docx) {
|
|
33573
33582
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
33574
33583
|
}
|
|
33575
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.
|
|
33584
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.14.0-next.2") {
|
|
33576
33585
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
33577
33586
|
}
|
|
33578
33587
|
static generateWordTimestamp() {
|
|
@@ -6893,7 +6893,8 @@ const handleParagraphNode$1 = (params) => {
|
|
|
6893
6893
|
nodes: updatedElements,
|
|
6894
6894
|
extraParams: {
|
|
6895
6895
|
...params.extraParams,
|
|
6896
|
-
paragraphProperties: resolvedParagraphProperties
|
|
6896
|
+
paragraphProperties: resolvedParagraphProperties,
|
|
6897
|
+
numberingDefinedInline: Boolean(inlineParagraphProperties.numberingProperties)
|
|
6897
6898
|
},
|
|
6898
6899
|
path: [...params.path || [], node]
|
|
6899
6900
|
};
|
|
@@ -7460,7 +7461,15 @@ var encode$38 = (params, encodedAttrs = {}) => {
|
|
|
7460
7461
|
nodes: [rPrNode]
|
|
7461
7462
|
}) : {};
|
|
7462
7463
|
const paragraphProperties = params?.extraParams?.paragraphProperties || {};
|
|
7463
|
-
|
|
7464
|
+
let tableInfo = null;
|
|
7465
|
+
if (params?.extraParams?.rowIndex != null && params?.extraParams?.columnIndex != null && params?.extraParams?.tableProperties != null && params?.extraParams?.totalColumns != null && params?.extraParams?.totalRows != null) tableInfo = {
|
|
7466
|
+
rowIndex: params.extraParams.rowIndex,
|
|
7467
|
+
cellIndex: params.extraParams.columnIndex,
|
|
7468
|
+
tableProperties: params.extraParams.tableProperties,
|
|
7469
|
+
numCells: params.extraParams.totalColumns,
|
|
7470
|
+
numRows: params.extraParams.totalRows
|
|
7471
|
+
};
|
|
7472
|
+
const marksResult = encodeMarksFromRPr(resolveRunProperties(params, runProperties ?? {}, paragraphProperties, tableInfo, false, params?.extraParams?.numberingDefinedInline), params?.docx);
|
|
7464
7473
|
const marks = Array.isArray(marksResult) ? marksResult : [];
|
|
7465
7474
|
const rPrChange = rPrNode?.elements?.find((el) => el.name === "w:rPrChange");
|
|
7466
7475
|
const styleChangeMarks = handleStyleChangeMarksV2(rPrChange, marks, params) || [];
|
|
@@ -33590,7 +33599,7 @@ var SuperConverter = class SuperConverter {
|
|
|
33590
33599
|
static getStoredSuperdocVersion(docx) {
|
|
33591
33600
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
33592
33601
|
}
|
|
33593
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.
|
|
33602
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.14.0-next.2") {
|
|
33594
33603
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
33595
33604
|
}
|
|
33596
33605
|
static generateWordTimestamp() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-DClVY3dw.cjs");
|
|
3
3
|
const require_jszip = require("./jszip-DCT9QYaK.cjs");
|
|
4
4
|
const require_uuid = require("./uuid-CHj_rjgt.cjs");
|
|
5
5
|
const require_vue = require("./vue-D6hUziY_.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as createEncoder, B as cE, Bt as comments_module_events, Ct as ObservableV2, Dt as readVarString, E as throwError, Et as createDecoder, Ft as create, It as min, Lt as pow, Mt as toUint8Array, Nt as writeVarUint, O as useSsrAdapter, Ot as readVarUint, Pt as writeVarUint8Array, Q as getRichTextExtensions, R as c, S as configProviderInjectionKey, St as map, Tt as getUnixTime, _t as varStorage, at as Editor, bt as encodeAwarenessUpdate, ct as CommentsPluginKey, dt as createUint8ArrayFromArrayBuffer, ft as fromBase64, g as _common_default, gt as onChange, h as index_cssr_default$1, ht as offChange, j as isMounted, jt as length, kt as readVarUint8Array, lt as TrackChangesBasePluginKey, mt as isNode, pt as toBase64, ut as getTrackChanges, v as cssrAnchorMetaName, vt as Awareness, wt as setIfUndefined, xt as removeAwarenessStates, yt as applyAwarenessUpdate, z as cB, zt as getFileObject } from "./src-
|
|
1
|
+
import { At as createEncoder, B as cE, Bt as comments_module_events, Ct as ObservableV2, Dt as readVarString, E as throwError, Et as createDecoder, Ft as create, It as min, Lt as pow, Mt as toUint8Array, Nt as writeVarUint, O as useSsrAdapter, Ot as readVarUint, Pt as writeVarUint8Array, Q as getRichTextExtensions, R as c, S as configProviderInjectionKey, St as map, Tt as getUnixTime, _t as varStorage, at as Editor, bt as encodeAwarenessUpdate, ct as CommentsPluginKey, dt as createUint8ArrayFromArrayBuffer, ft as fromBase64, g as _common_default, gt as onChange, h as index_cssr_default$1, ht as offChange, j as isMounted, jt as length, kt as readVarUint8Array, lt as TrackChangesBasePluginKey, mt as isNode, pt as toBase64, ut as getTrackChanges, v as cssrAnchorMetaName, vt as Awareness, wt as setIfUndefined, xt as removeAwarenessStates, yt as applyAwarenessUpdate, z as cB, zt as getFileObject } from "./src-Bk_GM_ay.es.js";
|
|
2
2
|
import { a as init_dist$1, i as global, n as init_dist, r as process$1 } from "./jszip-ChlR43oI.es.js";
|
|
3
3
|
import { t as v4_default } from "./uuid-2IzDu5nl.es.js";
|
|
4
4
|
import { $ as reactive, A as nextTick, C as getCurrentInstance, D as inject, E as hasInjectionContext, J as getCurrentScope, M as onBeforeMount, Q as onScopeDispose, S as defineComponent, T as h, U as watch, X as isRef, Y as isReactive, Z as markRaw, at as toRefs, it as toRef, m as computed, nt as shallowRef, ot as unref, q as effectScope, rt as toRaw, t as Transition, tt as ref } from "./vue-DMMnFUp6.es.js";
|