@superdoc-dev/cli 0.8.0-next.85 → 0.8.0-next.86

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.
Files changed (2) hide show
  1. package/dist/index.js +191 -99
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -66095,7 +66095,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
66095
66095
  emptyOptions2 = {};
66096
66096
  });
66097
66097
 
66098
- // ../../packages/superdoc/dist/chunks/SuperConverter-C9I74vtg.es.js
66098
+ // ../../packages/superdoc/dist/chunks/SuperConverter-CjDkqrj8.es.js
66099
66099
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
66100
66100
  const fieldValue = extension$1.config[field];
66101
66101
  if (typeof fieldValue === "function")
@@ -77013,6 +77013,18 @@ function handleDocPartObj(params3) {
77013
77013
  const sdtPr = node3.elements.find((el) => el.name === "w:sdtPr");
77014
77014
  const docPartGalleryType = sdtPr?.elements.find((el) => el.name === "w:docPartObj")?.elements.find((el) => el.name === "w:docPartGallery")?.attributes?.["w:val"] ?? null;
77015
77015
  const content$2 = node3?.elements.find((el) => el.name === "w:sdtContent");
77016
+ const isInsideParagraph = (params3.path || []).some((p) => p?.name === "w:p");
77017
+ const hasBlockChild = !!content$2?.elements?.some((el) => el?.name === "w:p" || el?.name === "w:tbl");
77018
+ if (isInsideParagraph && !hasBlockChild)
77019
+ return inlineDocPartHandler({
77020
+ ...params3,
77021
+ nodes: [content$2],
77022
+ extraParams: {
77023
+ ...params3.extraParams || {},
77024
+ sdtPr,
77025
+ docPartGalleryType
77026
+ }
77027
+ });
77016
77028
  return (validGalleryTypeMap[docPartGalleryType] || genericDocPartHandler)({
77017
77029
  ...params3,
77018
77030
  nodes: [content$2],
@@ -105810,6 +105822,27 @@ var isRegExp = (value) => {
105810
105822
  attrs,
105811
105823
  marks
105812
105824
  };
105825
+ }, inlineDocPartHandler = (params3) => {
105826
+ const node3 = params3.nodes[0];
105827
+ const translatedContent = params3.nodeListHandler.handler({
105828
+ ...params3,
105829
+ nodes: node3?.elements || [],
105830
+ path: [...params3.path || [], node3]
105831
+ });
105832
+ const sdtPr = params3.extraParams.sdtPr;
105833
+ const docPartGalleryType = params3.extraParams.docPartGalleryType;
105834
+ const id2 = sdtPr?.elements?.find((el) => el.name === "w:id")?.attributes?.["w:val"] || null;
105835
+ const docPartObj = sdtPr?.elements.find((el) => el.name === "w:docPartObj");
105836
+ return {
105837
+ type: "structuredContent",
105838
+ content: translatedContent,
105839
+ attrs: {
105840
+ id: id2,
105841
+ docPartGallery: docPartGalleryType ?? docPartObj?.elements?.find((el) => el.name === "w:docPartGallery")?.attributes?.["w:val"] ?? null,
105842
+ docPartUnique: docPartObj?.elements?.some((el) => el.name === "w:docPartUnique") ?? false,
105843
+ sdtPr
105844
+ }
105845
+ };
105813
105846
  }, tableOfContentsHandler = (params3) => {
105814
105847
  const node3 = params3.nodes[0];
105815
105848
  const normalizedContent = normalizeDocPartContent(translateTocSdtContent(node3, params3));
@@ -119097,7 +119130,7 @@ var isRegExp = (value) => {
119097
119130
  state.kern = kernNode.attributes["w:val"];
119098
119131
  }
119099
119132
  }, SuperConverter;
119100
- var init_SuperConverter_C9I74vtg_es = __esm(() => {
119133
+ var init_SuperConverter_CjDkqrj8_es = __esm(() => {
119101
119134
  init_rolldown_runtime_Bg48TavK_es();
119102
119135
  init_jszip_C49i9kUs_es();
119103
119136
  init_xml_js_CqGKpaft_es();
@@ -156957,7 +156990,7 @@ var init_SuperConverter_C9I74vtg_es = __esm(() => {
156957
156990
  };
156958
156991
  });
156959
156992
 
156960
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-B7nufamW.es.js
156993
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-pGestihw.es.js
156961
156994
  function parseSizeUnit(val = "0") {
156962
156995
  const length3 = val.toString() || "0";
156963
156996
  const value = Number.parseFloat(length3);
@@ -159624,8 +159657,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
159624
159657
  }
159625
159658
  };
159626
159659
  };
159627
- var init_create_headless_toolbar_B7nufamW_es = __esm(() => {
159628
- init_SuperConverter_C9I74vtg_es();
159660
+ var init_create_headless_toolbar_pGestihw_es = __esm(() => {
159661
+ init_SuperConverter_CjDkqrj8_es();
159629
159662
  init_constants_DrU4EASo_es();
159630
159663
  init_dist_B8HfvhaK_es();
159631
159664
  CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
@@ -208322,7 +208355,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
208322
208355
  init_remark_gfm_BhnWr3yf_es();
208323
208356
  });
208324
208357
 
208325
- // ../../packages/superdoc/dist/chunks/src-BE-DiVIy.es.js
208358
+ // ../../packages/superdoc/dist/chunks/src-tOywM1hR.es.js
208326
208359
  function deleteProps(obj, propOrProps) {
208327
208360
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
208328
208361
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -255983,26 +256016,26 @@ function resolvePageNumberTokens(layout, blocks2, measures, numberingCtx) {
255983
256016
  continue;
255984
256017
  }
255985
256018
  const displayPageText = displayPageInfo.displayText;
255986
- for (const fragment2 of page.fragments) {
255987
- if (fragment2.kind !== "para")
255988
- continue;
255989
- const blockId = fragment2.blockId;
255990
- if (processedBlocks.has(blockId))
255991
- continue;
255992
- if (blockHasTokensFlags.get(blockId) === false)
255993
- continue;
255994
- const block = blockMap.get(blockId);
255995
- if (!block || block.kind !== "paragraph")
255996
- continue;
255997
- if (!hasPageTokens$1(block)) {
256019
+ for (const fragment2 of page.fragments)
256020
+ if (fragment2.kind === "para") {
256021
+ const blockId = fragment2.blockId;
256022
+ if (processedBlocks.has(blockId))
256023
+ continue;
256024
+ if (blockHasTokensFlags.get(blockId) === false)
256025
+ continue;
256026
+ const block = blockMap.get(blockId);
256027
+ if (!block || block.kind !== "paragraph")
256028
+ continue;
256029
+ if (!hasPageTokens$1(block)) {
256030
+ processedBlocks.add(blockId);
256031
+ continue;
256032
+ }
256033
+ const clonedBlock = cloneBlockWithResolvedTokens(block, displayPageText, totalPagesStr);
256034
+ updatedBlocks.set(blockId, clonedBlock);
256035
+ affectedBlockIds.add(blockId);
255998
256036
  processedBlocks.add(blockId);
255999
256037
  continue;
256000
256038
  }
256001
- const clonedBlock = cloneBlockWithResolvedTokens(block, displayPageText, totalPagesStr);
256002
- updatedBlocks.set(blockId, clonedBlock);
256003
- affectedBlockIds.add(blockId);
256004
- processedBlocks.add(blockId);
256005
- }
256006
256039
  }
256007
256040
  return {
256008
256041
  affectedBlockIds,
@@ -258099,6 +258132,20 @@ function isBorderSpec(value) {
258099
258132
  function hasComments$1(run2) {
258100
258133
  return "comments" in run2 && Array.isArray(run2.comments) && run2.comments.length > 0;
258101
258134
  }
258135
+ function forEachParagraphBlock(blocks2, visit2) {
258136
+ for (const block of blocks2)
258137
+ if (block.kind === "paragraph")
258138
+ visit2(block);
258139
+ else if (block.kind === "table") {
258140
+ const table2 = block;
258141
+ for (const row2 of table2.rows ?? [])
258142
+ for (const cell2 of row2.cells ?? [])
258143
+ if (cell2.blocks && cell2.blocks.length > 0)
258144
+ forEachParagraphBlock(cell2.blocks, visit2);
258145
+ else if (cell2.paragraph)
258146
+ forEachParagraphBlock([cell2.paragraph], visit2);
258147
+ }
258148
+ }
258102
258149
  function resolveHeaderFooterTokens(blocks2, pageNumber, totalPages, pageNumberText) {
258103
258150
  if (!blocks2 || blocks2.length === 0)
258104
258151
  return;
@@ -258112,10 +258159,7 @@ function resolveHeaderFooterTokens(blocks2, pageNumber, totalPages, pageNumberTe
258112
258159
  }
258113
258160
  const pageNumberStr = pageNumberText ?? String(pageNumber);
258114
258161
  const totalPagesStr = String(totalPages);
258115
- for (const block of blocks2) {
258116
- if (block.kind !== "paragraph")
258117
- continue;
258118
- const paraBlock = block;
258162
+ forEachParagraphBlock(blocks2, (paraBlock) => {
258119
258163
  for (const run2 of paraBlock.runs)
258120
258164
  if ("token" in run2 && run2.token) {
258121
258165
  if (run2.token === "pageNumber")
@@ -258123,22 +258167,37 @@ function resolveHeaderFooterTokens(blocks2, pageNumber, totalPages, pageNumberTe
258123
258167
  else if (run2.token === "totalPageCount")
258124
258168
  run2.text = totalPagesStr;
258125
258169
  }
258126
- }
258170
+ });
258127
258171
  }
258128
258172
  function cloneHeaderFooterBlocks(blocks2) {
258129
258173
  if (!blocks2 || blocks2.length === 0)
258130
258174
  return [];
258131
- return blocks2.map((block) => {
258132
- if (block.kind === "paragraph") {
258133
- const paraBlock = block;
258134
- return {
258135
- ...paraBlock,
258136
- runs: paraBlock.runs.map((run2) => ({ ...run2 })),
258137
- attrs: paraBlock.attrs ? { ...paraBlock.attrs } : undefined
258138
- };
258139
- }
258140
- return { ...block };
258141
- });
258175
+ return blocks2.map(cloneHeaderFooterBlock);
258176
+ }
258177
+ function cloneHeaderFooterBlock(block) {
258178
+ if (block.kind === "paragraph") {
258179
+ const paraBlock = block;
258180
+ return {
258181
+ ...paraBlock,
258182
+ runs: paraBlock.runs.map((run2) => ({ ...run2 })),
258183
+ attrs: paraBlock.attrs ? { ...paraBlock.attrs } : undefined
258184
+ };
258185
+ }
258186
+ if (block.kind === "table") {
258187
+ const table2 = block;
258188
+ return {
258189
+ ...table2,
258190
+ rows: (table2.rows ?? []).map((row2) => ({
258191
+ ...row2,
258192
+ cells: (row2.cells ?? []).map((cell2) => ({
258193
+ ...cell2,
258194
+ paragraph: cell2.paragraph ? cloneHeaderFooterBlock(cell2.paragraph) : cell2.paragraph,
258195
+ blocks: cell2.blocks ? cell2.blocks.map(cloneHeaderFooterBlock) : cell2.blocks
258196
+ }))
258197
+ }))
258198
+ };
258199
+ }
258200
+ return { ...block };
258142
258201
  }
258143
258202
  function isEnabled(envVar, defaultValue) {
258144
258203
  if (typeof process$1 === "undefined" || typeof process$1.env === "undefined")
@@ -258171,14 +258230,24 @@ function getBucketRepresentative(bucket) {
258171
258230
  return 5000;
258172
258231
  }
258173
258232
  }
258233
+ function paragraphHasPageToken(para) {
258234
+ for (const run2 of para.runs)
258235
+ if ("token" in run2 && (run2.token === "pageNumber" || run2.token === "totalPageCount"))
258236
+ return true;
258237
+ return false;
258238
+ }
258174
258239
  function hasPageTokens(blocks2) {
258175
- for (const block of blocks2) {
258176
- if (block.kind !== "paragraph")
258177
- continue;
258178
- for (const run2 of block.runs)
258179
- if ("token" in run2 && (run2.token === "pageNumber" || run2.token === "totalPageCount"))
258240
+ for (const block of blocks2)
258241
+ if (block.kind === "paragraph") {
258242
+ if (paragraphHasPageToken(block))
258180
258243
  return true;
258181
- }
258244
+ } else if (block.kind === "table") {
258245
+ const table2 = block;
258246
+ for (const row2 of table2.rows ?? [])
258247
+ for (const cell2 of row2.cells ?? [])
258248
+ if (hasPageTokens(cell2.blocks ? cell2.blocks : cell2.paragraph ? [cell2.paragraph] : []))
258249
+ return true;
258250
+ }
258182
258251
  return false;
258183
258252
  }
258184
258253
  async function layoutHeaderFooterWithCache(sections, constraints, measureBlock$1, cache$2 = sharedHeaderFooterCache, totalPages, pageResolver, kind) {
@@ -263256,7 +263325,7 @@ function handleStructuredContentBlockNode(node3, context) {
263256
263325
  const { blocks: blocks2, recordBlockKind, nextBlockId, positions, trackedChangesConfig, bookmarks, hyperlinkConfig, converters: converters$1, converterContext, enableComments, themeColors } = context;
263257
263326
  const structuredContentMetadata = resolveNodeSdtMetadata(node3, "structuredContentBlock");
263258
263327
  const paragraphToFlowBlocks$1 = converters$1.paragraphToFlowBlocks;
263259
- node3.content.forEach((child) => {
263328
+ const visitChild = (child) => {
263260
263329
  if (child.type === "paragraph") {
263261
263330
  const paragraphBlocks = paragraphToFlowBlocks$1({
263262
263331
  para: child,
@@ -263275,7 +263344,9 @@ function handleStructuredContentBlockNode(node3, context) {
263275
263344
  blocks2.push(block);
263276
263345
  recordBlockKind?.(block.kind);
263277
263346
  });
263278
- } else if (child.type === "table") {
263347
+ return;
263348
+ }
263349
+ if (child.type === "table") {
263279
263350
  const tableNodeToBlock$1 = converters$1?.tableNodeToBlock;
263280
263351
  if (tableNodeToBlock$1) {
263281
263352
  const tableBlock = tableNodeToBlock$1(child, {
@@ -263295,8 +263366,12 @@ function handleStructuredContentBlockNode(node3, context) {
263295
263366
  recordBlockKind?.(tableBlock.kind);
263296
263367
  }
263297
263368
  }
263369
+ return;
263298
263370
  }
263299
- });
263371
+ if (child.type === "documentPartObject" && Array.isArray(child.content))
263372
+ child.content.forEach(visitChild);
263373
+ };
263374
+ node3.content.forEach(visitChild);
263300
263375
  }
263301
263376
  function processParagraphChild(child, sectionMetadata, context, output, converters$1) {
263302
263377
  const paragraphBlocks = converters$1.paragraphToFlowBlocks({
@@ -296061,6 +296136,58 @@ menclose::after {
296061
296136
  blocks2.push(block);
296062
296137
  });
296063
296138
  };
296139
+ const flattenSdtWrappersIntoCell = (wrapperNode, inheritedSdtMetadata) => {
296140
+ if (!Array.isArray(wrapperNode.content))
296141
+ return;
296142
+ for (const nestedNode of wrapperNode.content) {
296143
+ if (nestedNode.type === "paragraph") {
296144
+ if (!paragraphToFlowBlocks$1)
296145
+ continue;
296146
+ appendParagraphBlocks(paragraphToFlowBlocks$1({
296147
+ para: nestedNode,
296148
+ nextBlockId: context.nextBlockId,
296149
+ positions: context.positions,
296150
+ storyKey: context.storyKey,
296151
+ trackedChangesConfig: context.trackedChangesConfig,
296152
+ bookmarks: context.bookmarks,
296153
+ hyperlinkConfig: context.hyperlinkConfig,
296154
+ themeColors: context.themeColors,
296155
+ converterContext: cellConverterContext,
296156
+ converters: context.converters,
296157
+ enableComments: context.enableComments
296158
+ }), inheritedSdtMetadata);
296159
+ continue;
296160
+ }
296161
+ if (nestedNode.type === "table" && tableNodeToBlock$1) {
296162
+ const tableBlock = tableNodeToBlock$1(nestedNode, {
296163
+ nextBlockId: context.nextBlockId,
296164
+ positions: context.positions,
296165
+ storyKey: context.storyKey,
296166
+ trackedChangesConfig: context.trackedChangesConfig,
296167
+ bookmarks: context.bookmarks,
296168
+ hyperlinkConfig: context.hyperlinkConfig,
296169
+ themeColors: context.themeColors,
296170
+ converterContext: context.converterContext,
296171
+ converters: context.converters,
296172
+ enableComments: context.enableComments
296173
+ });
296174
+ if (tableBlock && tableBlock.kind === "table") {
296175
+ if (inheritedSdtMetadata)
296176
+ applySdtMetadataToTableBlock(tableBlock, inheritedSdtMetadata);
296177
+ blocks2.push(tableBlock);
296178
+ }
296179
+ continue;
296180
+ }
296181
+ if (nestedNode.type === "documentPartObject") {
296182
+ flattenSdtWrappersIntoCell(nestedNode, inheritedSdtMetadata);
296183
+ continue;
296184
+ }
296185
+ if (nestedNode.type === "structuredContentBlock") {
296186
+ flattenSdtWrappersIntoCell(nestedNode, inheritedSdtMetadata ?? resolveNodeSdtMetadata(nestedNode, "structuredContentBlock"));
296187
+ continue;
296188
+ }
296189
+ }
296190
+ };
296064
296191
  for (const childNode of cellNode.content) {
296065
296192
  if (childNode.type === "paragraph") {
296066
296193
  if (!paragraphToFlowBlocks$1)
@@ -296081,46 +296208,7 @@ menclose::after {
296081
296208
  continue;
296082
296209
  }
296083
296210
  if (childNode.type === "structuredContentBlock" && Array.isArray(childNode.content)) {
296084
- const structuredContentMetadata = resolveNodeSdtMetadata(childNode, "structuredContentBlock");
296085
- for (const nestedNode of childNode.content) {
296086
- if (nestedNode.type === "paragraph") {
296087
- if (!paragraphToFlowBlocks$1)
296088
- continue;
296089
- appendParagraphBlocks(paragraphToFlowBlocks$1({
296090
- para: nestedNode,
296091
- nextBlockId: context.nextBlockId,
296092
- positions: context.positions,
296093
- storyKey: context.storyKey,
296094
- trackedChangesConfig: context.trackedChangesConfig,
296095
- bookmarks: context.bookmarks,
296096
- hyperlinkConfig: context.hyperlinkConfig,
296097
- themeColors: context.themeColors,
296098
- converterContext: cellConverterContext,
296099
- converters: context.converters,
296100
- enableComments: context.enableComments
296101
- }), structuredContentMetadata);
296102
- continue;
296103
- }
296104
- if (nestedNode.type === "table" && tableNodeToBlock$1) {
296105
- const tableBlock = tableNodeToBlock$1(nestedNode, {
296106
- nextBlockId: context.nextBlockId,
296107
- positions: context.positions,
296108
- storyKey: context.storyKey,
296109
- trackedChangesConfig: context.trackedChangesConfig,
296110
- bookmarks: context.bookmarks,
296111
- hyperlinkConfig: context.hyperlinkConfig,
296112
- themeColors: context.themeColors,
296113
- converterContext: context.converterContext,
296114
- converters: context.converters,
296115
- enableComments: context.enableComments
296116
- });
296117
- if (tableBlock && tableBlock.kind === "table") {
296118
- applySdtMetadataToTableBlock(tableBlock, structuredContentMetadata);
296119
- blocks2.push(tableBlock);
296120
- }
296121
- continue;
296122
- }
296123
- }
296211
+ flattenSdtWrappersIntoCell(childNode, resolveNodeSdtMetadata(childNode, "structuredContentBlock"));
296124
296212
  continue;
296125
296213
  }
296126
296214
  if (childNode.type === "table" && tableNodeToBlock$1) {
@@ -296140,6 +296228,10 @@ menclose::after {
296140
296228
  blocks2.push(tableBlock);
296141
296229
  continue;
296142
296230
  }
296231
+ if (childNode.type === "documentPartObject" && Array.isArray(childNode.content)) {
296232
+ flattenSdtWrappersIntoCell(childNode, undefined);
296233
+ continue;
296234
+ }
296143
296235
  if (childNode.type === "image" && context.converters?.imageNodeToBlock) {
296144
296236
  const mergedMarks = [...childNode.marks ?? []];
296145
296237
  const trackedMeta = context.trackedChangesConfig ? collectTrackedChangeFromMarks(mergedMarks, context.storyKey) : undefined;
@@ -301355,12 +301447,12 @@ menclose::after {
301355
301447
  return;
301356
301448
  console.log(...args$1);
301357
301449
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
301358
- var init_src_BE_DiVIy_es = __esm(() => {
301450
+ var init_src_tOywM1hR_es = __esm(() => {
301359
301451
  init_rolldown_runtime_Bg48TavK_es();
301360
- init_SuperConverter_C9I74vtg_es();
301452
+ init_SuperConverter_CjDkqrj8_es();
301361
301453
  init_jszip_C49i9kUs_es();
301362
301454
  init_uuid_qzgm05fK_es();
301363
- init_create_headless_toolbar_B7nufamW_es();
301455
+ init_create_headless_toolbar_pGestihw_es();
301364
301456
  init_constants_DrU4EASo_es();
301365
301457
  init_dist_B8HfvhaK_es();
301366
301458
  init_unified_Dsuw2be5_es();
@@ -339104,11 +339196,11 @@ function print() { __p += __j.call(arguments, '') }
339104
339196
  ];
339105
339197
  });
339106
339198
 
339107
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-CmG_8rWP.es.js
339199
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-Cj3mqS9_.es.js
339108
339200
  var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
339109
- var init_create_super_doc_ui_CmG_8rWP_es = __esm(() => {
339110
- init_SuperConverter_C9I74vtg_es();
339111
- init_create_headless_toolbar_B7nufamW_es();
339201
+ var init_create_super_doc_ui_Cj3mqS9__es = __esm(() => {
339202
+ init_SuperConverter_CjDkqrj8_es();
339203
+ init_create_headless_toolbar_pGestihw_es();
339112
339204
  MOD_ALIASES = new Set([
339113
339205
  "Mod",
339114
339206
  "Meta",
@@ -339150,16 +339242,16 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
339150
339242
 
339151
339243
  // ../../packages/superdoc/dist/super-editor.es.js
339152
339244
  var init_super_editor_es = __esm(() => {
339153
- init_src_BE_DiVIy_es();
339154
- init_SuperConverter_C9I74vtg_es();
339245
+ init_src_tOywM1hR_es();
339246
+ init_SuperConverter_CjDkqrj8_es();
339155
339247
  init_jszip_C49i9kUs_es();
339156
339248
  init_xml_js_CqGKpaft_es();
339157
- init_create_headless_toolbar_B7nufamW_es();
339249
+ init_create_headless_toolbar_pGestihw_es();
339158
339250
  init_constants_DrU4EASo_es();
339159
339251
  init_dist_B8HfvhaK_es();
339160
339252
  init_unified_Dsuw2be5_es();
339161
339253
  init_DocxZipper_Dh4RtvcE_es();
339162
- init_create_super_doc_ui_CmG_8rWP_es();
339254
+ init_create_super_doc_ui_Cj3mqS9__es();
339163
339255
  init_ui_CGB3qmy3_es();
339164
339256
  init_eventemitter3_UwU_CLPU_es();
339165
339257
  init_errors_C_DoKMoN_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.8.0-next.85",
3
+ "version": "0.8.0-next.86",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -24,9 +24,9 @@
24
24
  "@types/node": "22.19.2",
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
- "@superdoc/document-api": "0.0.1",
28
27
  "@superdoc/pm-adapter": "0.0.0",
29
28
  "@superdoc/super-editor": "0.0.1",
29
+ "@superdoc/document-api": "0.0.1",
30
30
  "superdoc": "1.31.0"
31
31
  },
32
32
  "module": "src/index.ts",
@@ -34,11 +34,11 @@
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.85",
38
- "@superdoc-dev/cli-darwin-x64": "0.8.0-next.85",
39
- "@superdoc-dev/cli-linux-x64": "0.8.0-next.85",
40
- "@superdoc-dev/cli-linux-arm64": "0.8.0-next.85",
41
- "@superdoc-dev/cli-windows-x64": "0.8.0-next.85"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.86",
38
+ "@superdoc-dev/cli-darwin-x64": "0.8.0-next.86",
39
+ "@superdoc-dev/cli-windows-x64": "0.8.0-next.86",
40
+ "@superdoc-dev/cli-linux-x64": "0.8.0-next.86",
41
+ "@superdoc-dev/cli-linux-arm64": "0.8.0-next.86"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",