@superdoc-dev/cli 0.8.0-next.102 → 0.8.0-next.105

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 +158 -59
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -17776,6 +17776,7 @@ var CONTENT_CONTROL_TYPES, LOCK_MODES, CONTENT_CONTROL_APPEARANCES;
17776
17776
  var init_content_controls_types = __esm(() => {
17777
17777
  CONTENT_CONTROL_TYPES = [
17778
17778
  "text",
17779
+ "richText",
17779
17780
  "date",
17780
17781
  "checkbox",
17781
17782
  "comboBox",
@@ -66095,7 +66096,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
66095
66096
  emptyOptions2 = {};
66096
66097
  });
66097
66098
 
66098
- // ../../packages/superdoc/dist/chunks/SuperConverter-5Idv4fhC.es.js
66099
+ // ../../packages/superdoc/dist/chunks/SuperConverter-Odr0JG7X.es.js
66099
66100
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
66100
66101
  const fieldValue = extension$1.config[field];
66101
66102
  if (typeof fieldValue === "function")
@@ -77073,10 +77074,12 @@ function handleDocumentSectionNode(params3) {
77073
77074
  }
77074
77075
  function detectControlType(sdtPr) {
77075
77076
  if (!sdtPr?.elements)
77076
- return null;
77077
+ return "richText";
77077
77078
  const names = sdtPr.elements.map((el) => el.name);
77078
77079
  if (names.includes("w:text"))
77079
77080
  return "text";
77081
+ if (names.includes("w:richText"))
77082
+ return "richText";
77080
77083
  if (names.includes("w:date"))
77081
77084
  return "date";
77082
77085
  if (names.includes("w14:checkbox") || names.includes("w:checkbox"))
@@ -77091,7 +77094,16 @@ function detectControlType(sdtPr) {
77091
77094
  return "repeatingSectionItem";
77092
77095
  if (names.includes("w:group"))
77093
77096
  return "group";
77094
- return null;
77097
+ const TYPE_CHILD_NAMES = new Set([
77098
+ "w:equation",
77099
+ "w:picture",
77100
+ "w:citation",
77101
+ "w:bibliography",
77102
+ "w:docPartList"
77103
+ ]);
77104
+ if (names.some((n) => TYPE_CHILD_NAMES.has(n)))
77105
+ return null;
77106
+ return "richText";
77095
77107
  }
77096
77108
  function extractAppearance(sdtPr) {
77097
77109
  const el = sdtPr?.elements?.find((e) => e.name === "w:appearance" || e.name === "w15:appearance");
@@ -105829,25 +105841,62 @@ var isRegExp = (value) => {
105829
105841
  node3._vMergeConsumed = true;
105830
105842
  }, getTableCellMargins = (inlineMargins, referencedStyles) => {
105831
105843
  const { cellMargins = {} } = referencedStyles;
105832
- return [
105833
- "left",
105834
- "right",
105835
- "top",
105836
- "bottom"
105837
- ].reduce((acc, direction) => {
105838
- const key = `margin${direction.charAt(0).toUpperCase() + direction.slice(1)}`;
105839
- const inlineValue = inlineMargins ? inlineMargins?.[key]?.value : null;
105840
- const styleValue = cellMargins ? cellMargins[key] : null;
105841
- if (inlineValue != null)
105842
- acc[direction] = twipsToPixels(inlineValue);
105843
- else if (styleValue == null)
105844
- acc[direction] = undefined;
105845
- else if (typeof styleValue === "object")
105846
- acc[direction] = twipsToPixels(styleValue.value);
105844
+ const readMargin = (source, key) => {
105845
+ if (!source)
105846
+ return null;
105847
+ const v = source[key];
105848
+ if (v == null)
105849
+ return null;
105850
+ if (typeof v === "number")
105851
+ return v;
105852
+ if (typeof v === "object" && typeof v.value === "number")
105853
+ return v.value;
105854
+ return null;
105855
+ };
105856
+ const sides = [
105857
+ {
105858
+ physical: "top",
105859
+ physicalKey: "marginTop",
105860
+ logicalKey: null
105861
+ },
105862
+ {
105863
+ physical: "bottom",
105864
+ physicalKey: "marginBottom",
105865
+ logicalKey: null
105866
+ },
105867
+ {
105868
+ physical: "left",
105869
+ physicalKey: "marginLeft",
105870
+ logicalKey: "marginStart"
105871
+ },
105872
+ {
105873
+ physical: "right",
105874
+ physicalKey: "marginRight",
105875
+ logicalKey: "marginEnd"
105876
+ }
105877
+ ];
105878
+ const result = {};
105879
+ for (const { physical, physicalKey, logicalKey } of sides) {
105880
+ const inlinePhysical = readMargin(inlineMargins, physicalKey);
105881
+ const inlineLogical = logicalKey ? readMargin(inlineMargins, logicalKey) : null;
105882
+ if (inlinePhysical != null) {
105883
+ result[physical] = twipsToPixels(inlinePhysical);
105884
+ continue;
105885
+ }
105886
+ if (inlineLogical != null) {
105887
+ result[physical] = twipsToPixels(inlineLogical);
105888
+ continue;
105889
+ }
105890
+ const stylePhysical = readMargin(cellMargins, physicalKey);
105891
+ const styleLogical = logicalKey ? readMargin(cellMargins, logicalKey) : null;
105892
+ if (stylePhysical != null)
105893
+ result[physical] = twipsToPixels(stylePhysical);
105894
+ else if (styleLogical != null)
105895
+ result[physical] = twipsToPixels(styleLogical);
105847
105896
  else
105848
- acc[direction] = twipsToPixels(styleValue);
105849
- return acc;
105850
- }, {});
105897
+ result[physical] = undefined;
105898
+ }
105899
+ return result;
105851
105900
  }, PX_PER_PT$1, pxToEighthPoints = (px) => Math.round(px / PX_PER_PT$1 * 8), SIDES, XML_NODE_NAME$30 = "w:tc", SD_NODE_NAME$29 = "tableCell", validXmlAttributes$8, config$29, translator$6, propertyTranslators$9, translator$154, translator$51, translator$68, translator$69, translator$74, translator$157, translator$160, translator$172, translator$177, translator$178, propertyTranslators$8, translator$173, createPlaceholderCell = (gridWidth, reason) => {
105852
105901
  const safeWidth = Number.isFinite(gridWidth) ? gridWidth : 0;
105853
105902
  const noBorder = {
@@ -119548,7 +119597,7 @@ var isRegExp = (value) => {
119548
119597
  state.kern = kernNode.attributes["w:val"];
119549
119598
  }
119550
119599
  }, SuperConverter;
119551
- var init_SuperConverter_5Idv4fhC_es = __esm(() => {
119600
+ var init_SuperConverter_Odr0JG7X_es = __esm(() => {
119552
119601
  init_rolldown_runtime_Bg48TavK_es();
119553
119602
  init_jszip_C49i9kUs_es();
119554
119603
  init_xml_js_CqGKpaft_es();
@@ -134717,6 +134766,7 @@ var init_SuperConverter_5Idv4fhC_es = __esm(() => {
134717
134766
  ]);
134718
134767
  CONTENT_CONTROL_TYPES2 = [
134719
134768
  "text",
134769
+ "richText",
134720
134770
  "date",
134721
134771
  "checkbox",
134722
134772
  "comboBox",
@@ -154926,6 +154976,7 @@ var init_SuperConverter_5Idv4fhC_es = __esm(() => {
154926
154976
  ]);
154927
154977
  CONTROL_TYPE_ELEMENT_MAP = {
154928
154978
  text: "w:text",
154979
+ richText: "w:richText",
154929
154980
  date: "w:date",
154930
154981
  checkbox: "w14:checkbox",
154931
154982
  comboBox: "w:comboBox",
@@ -156278,6 +156329,7 @@ var init_SuperConverter_5Idv4fhC_es = __esm(() => {
156278
156329
  SDT_NODE_NAMES = ["structuredContent", "structuredContentBlock"];
156279
156330
  VALID_CONTROL_TYPES = [
156280
156331
  "text",
156332
+ "richText",
156281
156333
  "date",
156282
156334
  "checkbox",
156283
156335
  "comboBox",
@@ -157417,7 +157469,7 @@ var init_SuperConverter_5Idv4fhC_es = __esm(() => {
157417
157469
  };
157418
157470
  });
157419
157471
 
157420
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-CEUTigkM.es.js
157472
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-DR4hZl1N.es.js
157421
157473
  function parseSizeUnit(val = "0") {
157422
157474
  const length3 = val.toString() || "0";
157423
157475
  const value = Number.parseFloat(length3);
@@ -160139,8 +160191,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
160139
160191
  }
160140
160192
  };
160141
160193
  };
160142
- var init_create_headless_toolbar_CEUTigkM_es = __esm(() => {
160143
- init_SuperConverter_5Idv4fhC_es();
160194
+ var init_create_headless_toolbar_DR4hZl1N_es = __esm(() => {
160195
+ init_SuperConverter_Odr0JG7X_es();
160144
160196
  init_constants_DrU4EASo_es();
160145
160197
  init_dist_B8HfvhaK_es();
160146
160198
  CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
@@ -161587,7 +161639,7 @@ var init_decrypt_docx_4kQ488M9_es = __esm(() => {
161587
161639
  ]);
161588
161640
  });
161589
161641
 
161590
- // ../../packages/superdoc/dist/chunks/DocxZipper-Dh4RtvcE.es.js
161642
+ // ../../packages/superdoc/dist/chunks/DocxZipper-TPSo9G36.es.js
161591
161643
  function sniffEncoding(u8) {
161592
161644
  if (u8.length >= 2) {
161593
161645
  const b0 = u8[0], b1 = u8[1];
@@ -162247,7 +162299,7 @@ var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.docum
162247
162299
  return `image/${MIME_TYPE_FOR_EXT[detectedType] || detectedType}`;
162248
162300
  }
162249
162301
  }, DocxZipper_default;
162250
- var init_DocxZipper_Dh4RtvcE_es = __esm(() => {
162302
+ var init_DocxZipper_TPSo9G36_es = __esm(() => {
162251
162303
  init_rolldown_runtime_Bg48TavK_es();
162252
162304
  init_jszip_C49i9kUs_es();
162253
162305
  init_xml_js_CqGKpaft_es();
@@ -162302,7 +162354,8 @@ var init_DocxZipper_Dh4RtvcE_es = __esm(() => {
162302
162354
  ]);
162303
162355
  MIME_TYPE_FOR_EXT = {
162304
162356
  tif: "tiff",
162305
- jpg: "jpeg"
162357
+ jpg: "jpeg",
162358
+ svg: "svg+xml"
162306
162359
  };
162307
162360
  FONT_CONTENT_TYPES = {
162308
162361
  odttf: "application/vnd.openxmlformats-officedocument.obfuscatedFont",
@@ -208837,7 +208890,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
208837
208890
  init_remark_gfm_BhnWr3yf_es();
208838
208891
  });
208839
208892
 
208840
- // ../../packages/superdoc/dist/chunks/src-OZOxpRA7.es.js
208893
+ // ../../packages/superdoc/dist/chunks/src-ByXcviOY.es.js
208841
208894
  function deleteProps(obj, propOrProps) {
208842
208895
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
208843
208896
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -211760,6 +211813,15 @@ function shallowEqual$2(a2, b$1) {
211760
211813
  return false;
211761
211814
  return true;
211762
211815
  }
211816
+ function isSdtContentFullyLocked(node3) {
211817
+ return node3.attrs.lockMode === "sdtContentLocked";
211818
+ }
211819
+ function findAncestorDepth$1($pos, predicate) {
211820
+ for (let depth = $pos.depth;depth > 0; depth -= 1)
211821
+ if (predicate($pos.node(depth)))
211822
+ return depth;
211823
+ return null;
211824
+ }
211763
211825
  function deleteFromEndOfRun(state, dispatch, $pos) {
211764
211826
  const rightRun = state.doc.nodeAt($pos.pos + 1);
211765
211827
  const $afterRightRunPos = state.doc.resolve($pos.pos + 2 + rightRun.nodeSize);
@@ -244439,7 +244501,10 @@ function wrapWrapper(editor, input2, options) {
244439
244501
  id: id2,
244440
244502
  tag: input2.tag,
244441
244503
  alias: input2.alias,
244442
- lockMode: input2.lockMode ?? "unlocked"
244504
+ lockMode: input2.lockMode ?? "unlocked",
244505
+ controlType: "richText",
244506
+ type: "richText",
244507
+ sdtPr: buildDefaultSdtPr("richText")
244443
244508
  }, resolved.node);
244444
244509
  const { tr } = editor.state;
244445
244510
  tr.replaceWith(resolved.pos, resolved.pos + resolved.node.nodeSize, wrapperNode);
@@ -244652,6 +244717,11 @@ function buildDefaultTypeSdtPrElement(controlType) {
244652
244717
  name: "w:text",
244653
244718
  type: "element"
244654
244719
  };
244720
+ case "richText":
244721
+ return {
244722
+ name: "w:richText",
244723
+ type: "element"
244724
+ };
244655
244725
  case "date":
244656
244726
  return {
244657
244727
  name: "w:date",
@@ -245361,15 +245431,16 @@ function createWrapper(editor, input2, options) {
245361
245431
  if (input2.target)
245362
245432
  resolveSdtByTarget(editor.state.doc, input2.target);
245363
245433
  return executeSdtMutation(editor, target, options, () => {
245434
+ const controlType = input2.controlType ?? "richText";
245364
245435
  const attrs = {
245365
245436
  id: id2,
245366
245437
  tag: input2.tag,
245367
245438
  alias: input2.alias,
245368
245439
  lockMode: input2.lockMode ?? "unlocked",
245369
- controlType: input2.controlType ?? "unknown",
245370
- type: input2.controlType ?? "unknown"
245440
+ controlType,
245441
+ type: controlType
245371
245442
  };
245372
- const defaultSdtPr = buildDefaultSdtPr(input2.controlType ?? "unknown");
245443
+ const defaultSdtPr = buildDefaultSdtPr(controlType);
245373
245444
  const isDateCreate = input2.controlType === "date" && input2.content == null;
245374
245445
  const dateDefaults = isDateCreate ? buildDateControlDefaults() : null;
245375
245446
  const sdtPrWithDateDefaults = dateDefaults ? applyDateDefaultsToSdtPr(defaultSdtPr, dateDefaults) : defaultSdtPr;
@@ -265632,11 +265703,7 @@ function tableNodeToBlock(node3, { nextBlockId, positions, storyKey, trackedChan
265632
265703
  };
265633
265704
  };
265634
265705
  const borderSource = getBorderSource();
265635
- const isRtlTable$1 = tablePropertiesForCascade?.rightToLeft === true;
265636
- const tableBorders = borderSource ? extractTableBorders(borderSource.borders, {
265637
- unit: borderSource.unit,
265638
- isRtl: isRtlTable$1
265639
- }) : undefined;
265706
+ const tableBorders = borderSource ? extractTableBorders(borderSource.borders, { unit: borderSource.unit }) : undefined;
265640
265707
  if (tableBorders)
265641
265708
  tableAttrs.borders = tableBorders;
265642
265709
  if (node3.attrs?.borderCollapse)
@@ -276558,6 +276625,35 @@ var Node$13 = class Node$14 {
276558
276625
  dispatch(tr.scrollIntoView());
276559
276626
  }
276560
276627
  return true;
276628
+ }, deleteBlockSdtAtTextBlockStart = () => ({ state, dispatch }) => {
276629
+ const { selection } = state;
276630
+ if (!selection.empty)
276631
+ return false;
276632
+ const { $from } = selection;
276633
+ const sdtDepth = findAncestorDepth$1($from, (node3) => node3.type.name === "structuredContentBlock");
276634
+ if (sdtDepth == null)
276635
+ return false;
276636
+ const textblockDepth = findAncestorDepth$1($from, (node3) => node3.isTextblock);
276637
+ if (textblockDepth !== sdtDepth + 1)
276638
+ return false;
276639
+ if ($from.node(textblockDepth).type.name !== "paragraph")
276640
+ return false;
276641
+ if ($from.pos !== $from.start(textblockDepth))
276642
+ return false;
276643
+ if ($from.before(textblockDepth) !== $from.start(sdtDepth))
276644
+ return false;
276645
+ const sdtNode = $from.node(sdtDepth);
276646
+ if (sdtNode.attrs.lockMode === "sdtLocked")
276647
+ return false;
276648
+ if (isSdtContentFullyLocked(sdtNode))
276649
+ return true;
276650
+ if (dispatch) {
276651
+ const from$1 = $from.before(sdtDepth);
276652
+ const tr = state.tr.delete(from$1, from$1 + sdtNode.nodeSize);
276653
+ const selectionPos = Math.min(from$1, tr.doc.content.size);
276654
+ dispatch(tr.setSelection(Selection.near(tr.doc.resolve(selectionPos), -1)).scrollIntoView());
276655
+ }
276656
+ return true;
276561
276657
  }, deleteSkipEmptyRun = () => ({ state, dispatch }) => {
276562
276658
  const sel = state.selection;
276563
276659
  if (!sel.empty)
@@ -285051,6 +285147,7 @@ var Node$13 = class Node$14 {
285051
285147
  tr.setMeta("inputType", "deleteContentBackward");
285052
285148
  return false;
285053
285149
  },
285150
+ () => commands$1.deleteBlockSdtAtTextBlockStart(),
285054
285151
  () => commands$1.backspaceEmptyRunParagraph(),
285055
285152
  () => commands$1.backspaceSkipEmptyRun(),
285056
285153
  () => commands$1.backspaceAtomBefore(),
@@ -285065,6 +285162,7 @@ var Node$13 = class Node$14 {
285065
285162
  const { view } = editor;
285066
285163
  dispatchHistoryBoundary(view);
285067
285164
  return editor.commands.first(({ commands: commands$1 }) => [
285165
+ () => commands$1.deleteBlockSdtAtTextBlockStart(),
285068
285166
  () => commands$1.deleteSkipEmptyRun(),
285069
285167
  () => commands$1.deleteAtomAfter(),
285070
285168
  () => commands$1.deleteNextToRun(),
@@ -297040,11 +297138,10 @@ menclose::after {
297040
297138
  }, EMPTY_CHART_DATA, hydrateTableStyleAttrs = (tableNode, context, effectiveStyleId) => {
297041
297139
  const hydration = {};
297042
297140
  const tableProps = tableNode.attrs?.tableProperties ?? null;
297043
- const isRtlTable$1 = tableProps?.rightToLeft === true;
297044
297141
  let inlineBorders;
297045
297142
  let inlinePadding;
297046
297143
  if (tableProps) {
297047
- const padding = convertCellMarginsToPx(tableProps.cellMargins, isRtlTable$1);
297144
+ const padding = convertCellMarginsToPx(tableProps.cellMargins);
297048
297145
  if (padding)
297049
297146
  inlinePadding = normalizeCellPaddingTopBottom(padding);
297050
297147
  if (tableProps.borders && typeof tableProps.borders === "object")
@@ -297075,7 +297172,7 @@ menclose::after {
297075
297172
  } else if (inlineBorders)
297076
297173
  hydration.borders = inlineBorders;
297077
297174
  if (resolved.cellMargins) {
297078
- const stylePadding = convertCellMarginsToPx(resolved.cellMargins, isRtlTable$1);
297175
+ const stylePadding = convertCellMarginsToPx(resolved.cellMargins);
297079
297176
  if (stylePadding) {
297080
297177
  const normalizedStylePadding = normalizeCellPaddingTopBottom(stylePadding);
297081
297178
  hydration.cellPadding = inlinePadding ? {
@@ -297141,7 +297238,7 @@ menclose::after {
297141
297238
  ...border,
297142
297239
  size: size$1
297143
297240
  } : border;
297144
- }, convertCellMarginsToPx = (margins, isRtlTable$1 = false) => {
297241
+ }, convertCellMarginsToPx = (margins) => {
297145
297242
  if (!margins || typeof margins !== "object")
297146
297243
  return;
297147
297244
  const spacing = {};
@@ -297154,8 +297251,8 @@ menclose::after {
297154
297251
  marginBottom: "bottom",
297155
297252
  marginLeft: "left",
297156
297253
  marginRight: "right",
297157
- marginStart: isRtlTable$1 ? "right" : "left",
297158
- marginEnd: isRtlTable$1 ? "left" : "right"
297254
+ marginStart: "left",
297255
+ marginEnd: "right"
297159
297256
  };
297160
297257
  Object.entries(margins).forEach(([key2, value]) => {
297161
297258
  const side = keyMap[key2];
@@ -297491,11 +297588,11 @@ menclose::after {
297491
297588
  val: normalizeLegacyBorderStyle(b$1.val)
297492
297589
  };
297493
297590
  }
297494
- const fallback = extractCellBorders({ borders: filteredLegacyBorders }, { isRtl: tableProperties?.rightToLeft === true });
297591
+ const fallback = extractCellBorders({ borders: filteredLegacyBorders });
297495
297592
  if (fallback)
297496
297593
  cellAttrs.borders = fallback;
297497
297594
  }
297498
- const padding = extractCellPadding(cellNode.attrs ?? {}, { isRtl: tableProperties?.rightToLeft === true }) ?? (defaultCellPadding ? { ...defaultCellPadding } : undefined);
297595
+ const padding = extractCellPadding(cellNode.attrs ?? {}) ?? (defaultCellPadding ? { ...defaultCellPadding } : undefined);
297499
297596
  if (padding)
297500
297597
  cellAttrs.padding = padding;
297501
297598
  const verticalAlign = cellNode.attrs?.verticalAlign;
@@ -302641,18 +302738,18 @@ menclose::after {
302641
302738
  return;
302642
302739
  console.log(...args$1);
302643
302740
  }, 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;
302644
- var init_src_OZOxpRA7_es = __esm(() => {
302741
+ var init_src_ByXcviOY_es = __esm(() => {
302645
302742
  init_rolldown_runtime_Bg48TavK_es();
302646
- init_SuperConverter_5Idv4fhC_es();
302743
+ init_SuperConverter_Odr0JG7X_es();
302647
302744
  init_jszip_C49i9kUs_es();
302648
302745
  init_uuid_qzgm05fK_es();
302649
- init_create_headless_toolbar_CEUTigkM_es();
302746
+ init_create_headless_toolbar_DR4hZl1N_es();
302650
302747
  init_constants_DrU4EASo_es();
302651
302748
  init_dist_B8HfvhaK_es();
302652
302749
  init_unified_Dsuw2be5_es();
302653
302750
  init_remark_gfm_BhnWr3yf_es();
302654
302751
  init_remark_stringify_6MMJfY0k_es();
302655
- init_DocxZipper_Dh4RtvcE_es();
302752
+ init_DocxZipper_TPSo9G36_es();
302656
302753
  init__plugin_vue_export_helper_HmhZBO0u_es();
302657
302754
  init_eventemitter3_UwU_CLPU_es();
302658
302755
  init_errors_C_DoKMoN_es();
@@ -305414,6 +305511,7 @@ ${err.toString()}`);
305414
305511
  decreaseListIndent: () => decreaseListIndent,
305415
305512
  decreaseTextIndent: () => decreaseTextIndent,
305416
305513
  deleteAtomAfter: () => deleteAtomAfter,
305514
+ deleteBlockSdtAtTextBlockStart: () => deleteBlockSdtAtTextBlockStart,
305417
305515
  deleteNextToRun: () => deleteNextToRun,
305418
305516
  deleteSelection: () => deleteSelection$1,
305419
305517
  deleteSkipEmptyRun: () => deleteSkipEmptyRun,
@@ -326908,6 +327006,7 @@ function print() { __p += __j.call(arguments, '') }
326908
327006
  ]);
326909
327007
  CONTROL_TYPE_SDT_PR_ELEMENTS = {
326910
327008
  text: "w:text",
327009
+ richText: "w:richText",
326911
327010
  date: "w:date",
326912
327011
  checkbox: "w14:checkbox",
326913
327012
  comboBox: "w:comboBox",
@@ -340687,11 +340786,11 @@ function print() { __p += __j.call(arguments, '') }
340687
340786
  ];
340688
340787
  });
340689
340788
 
340690
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-BGYHCZ5O.es.js
340789
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-C-W-_8d_.es.js
340691
340790
  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;
340692
- var init_create_super_doc_ui_BGYHCZ5O_es = __esm(() => {
340693
- init_SuperConverter_5Idv4fhC_es();
340694
- init_create_headless_toolbar_CEUTigkM_es();
340791
+ var init_create_super_doc_ui_C_W__8d__es = __esm(() => {
340792
+ init_SuperConverter_Odr0JG7X_es();
340793
+ init_create_headless_toolbar_DR4hZl1N_es();
340695
340794
  MOD_ALIASES = new Set([
340696
340795
  "Mod",
340697
340796
  "Meta",
@@ -340733,16 +340832,16 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
340733
340832
 
340734
340833
  // ../../packages/superdoc/dist/super-editor.es.js
340735
340834
  var init_super_editor_es = __esm(() => {
340736
- init_src_OZOxpRA7_es();
340737
- init_SuperConverter_5Idv4fhC_es();
340835
+ init_src_ByXcviOY_es();
340836
+ init_SuperConverter_Odr0JG7X_es();
340738
340837
  init_jszip_C49i9kUs_es();
340739
340838
  init_xml_js_CqGKpaft_es();
340740
- init_create_headless_toolbar_CEUTigkM_es();
340839
+ init_create_headless_toolbar_DR4hZl1N_es();
340741
340840
  init_constants_DrU4EASo_es();
340742
340841
  init_dist_B8HfvhaK_es();
340743
340842
  init_unified_Dsuw2be5_es();
340744
- init_DocxZipper_Dh4RtvcE_es();
340745
- init_create_super_doc_ui_BGYHCZ5O_es();
340843
+ init_DocxZipper_TPSo9G36_es();
340844
+ init_create_super_doc_ui_C_W__8d__es();
340746
340845
  init_ui_CGB3qmy3_es();
340747
340846
  init_eventemitter3_UwU_CLPU_es();
340748
340847
  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.102",
3
+ "version": "0.8.0-next.105",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -26,19 +26,19 @@
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
28
  "@superdoc/super-editor": "0.0.1",
29
- "@superdoc/pm-adapter": "0.0.0",
30
- "superdoc": "1.32.0"
29
+ "superdoc": "1.32.0",
30
+ "@superdoc/pm-adapter": "0.0.0"
31
31
  },
32
32
  "module": "src/index.ts",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-x64": "0.8.0-next.102",
38
- "@superdoc-dev/cli-linux-arm64": "0.8.0-next.102",
39
- "@superdoc-dev/cli-linux-x64": "0.8.0-next.102",
40
- "@superdoc-dev/cli-windows-x64": "0.8.0-next.102",
41
- "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.102"
37
+ "@superdoc-dev/cli-darwin-x64": "0.8.0-next.105",
38
+ "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.105",
39
+ "@superdoc-dev/cli-linux-x64": "0.8.0-next.105",
40
+ "@superdoc-dev/cli-linux-arm64": "0.8.0-next.105",
41
+ "@superdoc-dev/cli-windows-x64": "0.8.0-next.105"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",