@superdoc-dev/cli 0.3.0-next.30 → 0.3.0-next.32

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 +194 -39
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -7730,7 +7730,7 @@ function buildInternalContractSchemas() {
7730
7730
  operations
7731
7731
  };
7732
7732
  }
7733
- var nodeTypeValues, blockNodeTypeValues, deletableBlockNodeTypeValues, inlineNodeTypeValues, knownTargetKindValues, SHARED_DEFS, rangeSchema, positionSchema, inlineAnchorSchema, targetKindSchema, textAddressSchema, textTargetSchema, blockNodeAddressSchema, deletableBlockNodeAddressSchema, tableAddressSchema, tableRowAddressSchema, tableCellAddressSchema, tableOrCellAddressSchema, paragraphAddressSchema, headingAddressSchema, listItemAddressSchema, paragraphTargetSchema, sectionAddressSchema, inlineNodeAddressSchema, nodeAddressSchema, commentAddressSchema, trackedChangeAddressSchema, entityAddressSchema, selectionTargetSchema, targetLocatorSchema, deleteBehaviorSchema, resolvedHandleSchema, pageInfoSchema, receiptSuccessSchema, textMutationRangeSchema, textMutationResolutionSchema, textMutationSuccessSchema, matchRunSchema, matchBlockSchema, trackChangeRefSchema, createParagraphSuccessSchema, createHeadingSuccessSchema, headingLevelSchema, listsInsertSuccessSchema, listsMutateItemSuccessSchema, listsExitSuccessSchema, nodeSummarySchema, nodeInfoSchema, matchContextSchema, unknownNodeDiagnosticSchema, textSelectorSchema, nodeSelectorSchema, selectorShorthandSchema, sdTextSelectorSchema, sdNodeSelectorSchema, sdSelectorSchema, sdReadOptionsSchema, sdFindInputSchema, sdNodeResultSchema, sdFindResultSchema, sdMutationResolutionSchema, sdMutationSuccessSchema, documentInfoCountsSchema, documentInfoOutlineItemSchema, documentInfoCapabilitiesSchema, documentInfoSchema, listKindSchema, listInsertPositionSchema, listItemInfoSchema, listItemDomainItemSchema, listsListResultSchema, sectionBreakTypeSchema, sectionOrientationSchema, sectionVerticalAlignSchema, sectionDirectionSchema, sectionHeaderFooterKindSchema, sectionHeaderFooterVariantSchema, sectionLineNumberRestartSchema, sectionPageNumberFormatSchema, sectionRangeDomainSchema, sectionPageMarginsSchema, sectionHeaderFooterMarginsSchema, sectionPageSetupSchema, sectionColumnsSchema, sectionLineNumberingSchema, sectionPageNumberingSchema, sectionHeaderFooterRefsSchema, sectionBorderSpecSchema, sectionPageBordersSchema, sectionInfoSchema, sectionResolvedHandleSchema, sectionDomainItemSchema, sectionsListResultSchema, sectionMutationSuccessSchema, documentMutationSuccessSchema, paragraphMutationTargetSchema, paragraphMutationSuccessSchema, createSectionBreakSuccessSchema, commentInfoSchema, commentDomainItemSchema, commentsListResultSchema, trackChangeInfoSchema, trackChangeDomainItemSchema, trackChangesListResultSchema, capabilityReasonCodeSchema, capabilityReasonsSchema, capabilityFlagSchema, operationRuntimeCapabilitySchema, operationCapabilitiesSchema, inlinePropertyCapabilitySchema, inlinePropertyCapabilitiesByKeySchema, formatCapabilitiesSchema, planEngineCapabilitiesSchema, capabilitiesOutputSchema, strictEmptyObjectSchema, sdFragmentSchema, placementSchema, nestingPolicySchema, insertInputSchema, tableLocatorSchema, cellLocatorSchema, tableOrCellLocatorSchema, mergeRangeLocatorSchema, tableCreateLocationSchema, tableMutationSuccessSchema, createTableSuccessSchema, tableMutationFailureCodes, tableMutationFailureSchema, tableMutationResultSchema, createTableResultSchema, historyActionSuccessSchema, historyActionFailureSchema, formatInlineAliasOperationSchemas, tocMutationFailureCodes, tocMutationFailureSchema, tocMutationSuccessSchema, tocEntryMutationFailureCodes, tocEntryMutationFailureSchema, tocEntryMutationSuccessSchema, hyperlinkTargetSchema, hyperlinkReadPropertiesSchema, hyperlinkDestinationSchema, hyperlinkSpecSchema, hyperlinkPatchSchema, hyperlinkDomainSchema, hyperlinkMutationSuccessSchema, hyperlinkMutationFailureCodes, hyperlinkMutationFailureSchema, hyperlinkInfoSchema, contentControlTargetSchema, contentControlMutationSuccessSchema, contentControlMutationFailureSchema, ccListResultSchema, ccInfoSchema, refListQuerySchema, discoveryOutputSchema, receiptFailureSchema, refFailureSchema, bookmarkAddressSchema, bookmarkMutation, footnoteAddressSchema, footnoteConfigScopeSchema, footnoteNumberingSchema, footnoteMutation, footnoteConfig, crossRefAddressSchema, crossRefTargetSchema, crossRefDisplaySchema, crossRefMutation, indexAddressSchema, indexEntryAddressSchema, indexConfigSchema, indexEntryDataSchema, indexEntryPatchSchema, indexMutation, indexEntryMutation, captionAddressSchema, captionMutation, captionConfig, fieldAddressSchema, fieldMutation, citationAddressSchema, citationSourceAddressSchema, bibliographyAddressSchema, citationMutation, citationSourceMutation, bibliographyMutation, citationPersonSchema, citationSourceFieldsSchema, tocCreateLocationSchema, authoritiesAddressSchema, authorityEntryAddressSchema, authoritiesConfigSchema, authorityEntryDataSchema, authorityEntryPatchSchema, authoritiesMutation, authorityEntryMutation, diffCoverageSchema, diffSummarySchema, diffSnapshotSchema, diffPayloadSchema, diffApplyResultSchema, operationSchemas;
7733
+ var nodeTypeValues, blockNodeTypeValues, deletableBlockNodeTypeValues, inlineNodeTypeValues, knownTargetKindValues, SHARED_DEFS, rangeSchema, positionSchema, inlineAnchorSchema, targetKindSchema, textAddressSchema, textTargetSchema, blockNodeAddressSchema, deletableBlockNodeAddressSchema, tableAddressSchema, tableRowAddressSchema, tableCellAddressSchema, tableOrCellAddressSchema, paragraphAddressSchema, headingAddressSchema, listItemAddressSchema, paragraphTargetSchema, sectionAddressSchema, inlineNodeAddressSchema, nodeAddressSchema, commentAddressSchema, trackedChangeAddressSchema, entityAddressSchema, selectionTargetSchema, targetLocatorSchema, deleteBehaviorSchema, resolvedHandleSchema, pageInfoSchema, receiptSuccessSchema, textMutationRangeSchema, textMutationResolutionSchema, textMutationSuccessSchema, matchRunSchema, matchBlockSchema, trackChangeRefSchema, createParagraphSuccessSchema, createHeadingSuccessSchema, headingLevelSchema, listsInsertSuccessSchema, listsMutateItemSuccessSchema, listsExitSuccessSchema, nodeSummarySchema, nodeInfoSchema, matchContextSchema, unknownNodeDiagnosticSchema, textSelectorSchema, nodeSelectorSchema, selectorShorthandSchema, sdTextSelectorSchema, sdNodeSelectorSchema, sdSelectorSchema, sdReadOptionsSchema, sdFindInputSchema, sdNodeResultSchema, sdFindResultSchema, sdMutationResolutionSchema, sdMutationSuccessSchema, documentInfoCountsSchema, documentInfoOutlineItemSchema, documentInfoCapabilitiesSchema, documentInfoSchema, listKindSchema, listInsertPositionSchema, listItemInfoSchema, listItemDomainItemSchema, listsListResultSchema, sectionBreakTypeSchema, sectionOrientationSchema, sectionVerticalAlignSchema, sectionDirectionSchema, sectionHeaderFooterKindSchema, sectionHeaderFooterVariantSchema, sectionLineNumberRestartSchema, sectionPageNumberFormatSchema, sectionRangeDomainSchema, sectionPageMarginsSchema, sectionHeaderFooterMarginsSchema, sectionPageSetupSchema, sectionColumnsSchema, sectionLineNumberingSchema, sectionPageNumberingSchema, sectionHeaderFooterRefsSchema, sectionBorderSpecSchema, sectionPageBordersSchema, sectionInfoSchema, sectionResolvedHandleSchema, sectionDomainItemSchema, sectionsListResultSchema, sectionMutationSuccessSchema, documentMutationSuccessSchema, paragraphMutationTargetSchema, paragraphMutationSuccessSchema, createSectionBreakSuccessSchema, commentInfoSchema, commentDomainItemSchema, commentsListResultSchema, trackChangeInfoSchema, trackChangeDomainItemSchema, trackChangesListResultSchema, capabilityReasonCodeSchema, capabilityReasonsSchema, capabilityFlagSchema, operationRuntimeCapabilitySchema, operationCapabilitiesSchema, inlinePropertyCapabilitySchema, inlinePropertyCapabilitiesByKeySchema, formatCapabilitiesSchema, planEngineCapabilitiesSchema, capabilitiesOutputSchema, strictEmptyObjectSchema, sdFragmentSchema, placementSchema, nestingPolicySchema, insertInputSchema, tableLocatorSchema, cellLocatorSchema, cellOrTableScopedCellLocatorSchema, tableOrCellLocatorSchema, mergeRangeLocatorSchema, tableCreateLocationSchema, tableMutationSuccessSchema, createTableSuccessSchema, tableMutationFailureCodes, tableMutationFailureSchema, tableMutationResultSchema, createTableResultSchema, historyActionSuccessSchema, historyActionFailureSchema, formatInlineAliasOperationSchemas, tocMutationFailureCodes, tocMutationFailureSchema, tocMutationSuccessSchema, tocEntryMutationFailureCodes, tocEntryMutationFailureSchema, tocEntryMutationSuccessSchema, hyperlinkTargetSchema, hyperlinkReadPropertiesSchema, hyperlinkDestinationSchema, hyperlinkSpecSchema, hyperlinkPatchSchema, hyperlinkDomainSchema, hyperlinkMutationSuccessSchema, hyperlinkMutationFailureCodes, hyperlinkMutationFailureSchema, hyperlinkInfoSchema, contentControlTargetSchema, contentControlMutationSuccessSchema, contentControlMutationFailureSchema, ccListResultSchema, ccInfoSchema, refListQuerySchema, discoveryOutputSchema, receiptFailureSchema, refFailureSchema, bookmarkAddressSchema, bookmarkMutation, footnoteAddressSchema, footnoteConfigScopeSchema, footnoteNumberingSchema, footnoteMutation, footnoteConfig, crossRefAddressSchema, crossRefTargetSchema, crossRefDisplaySchema, crossRefMutation, indexAddressSchema, indexEntryAddressSchema, indexConfigSchema, indexEntryDataSchema, indexEntryPatchSchema, indexMutation, indexEntryMutation, captionAddressSchema, captionMutation, captionConfig, fieldAddressSchema, fieldMutation, citationAddressSchema, citationSourceAddressSchema, bibliographyAddressSchema, citationMutation, citationSourceMutation, bibliographyMutation, citationPersonSchema, citationSourceFieldsSchema, tocCreateLocationSchema, authoritiesAddressSchema, authorityEntryAddressSchema, authoritiesConfigSchema, authorityEntryDataSchema, authorityEntryPatchSchema, authoritiesMutation, authorityEntryMutation, diffCoverageSchema, diffSummarySchema, diffSnapshotSchema, diffPayloadSchema, diffApplyResultSchema, operationSchemas;
7734
7734
  var init_schemas = __esm(() => {
7735
7735
  init_command_catalog();
7736
7736
  init_types2();
@@ -8489,6 +8489,21 @@ var init_schemas = __esm(() => {
8489
8489
  }),
8490
8490
  oneOf: [{ required: ["target"] }, { required: ["nodeId"] }]
8491
8491
  };
8492
+ cellOrTableScopedCellLocatorSchema = {
8493
+ oneOf: [
8494
+ cellLocatorSchema,
8495
+ objectSchema({
8496
+ target: tableAddressSchema,
8497
+ rowIndex: { type: "integer", minimum: 0 },
8498
+ columnIndex: { type: "integer", minimum: 0 }
8499
+ }, ["target", "rowIndex", "columnIndex"]),
8500
+ objectSchema({
8501
+ nodeId: { type: "string" },
8502
+ rowIndex: { type: "integer", minimum: 0 },
8503
+ columnIndex: { type: "integer", minimum: 0 }
8504
+ }, ["nodeId", "rowIndex", "columnIndex"])
8505
+ ]
8506
+ };
8492
8507
  tableOrCellLocatorSchema = {
8493
8508
  ...objectSchema({
8494
8509
  target: tableOrCellAddressSchema,
@@ -10663,7 +10678,7 @@ var init_schemas = __esm(() => {
10663
10678
  failure: tableMutationFailureSchema
10664
10679
  },
10665
10680
  "tables.unmergeCells": {
10666
- input: cellLocatorSchema,
10681
+ input: cellOrTableScopedCellLocatorSchema,
10667
10682
  output: tableMutationResultSchema,
10668
10683
  success: tableMutationSuccessSchema,
10669
10684
  failure: tableMutationFailureSchema
@@ -10753,7 +10768,9 @@ var init_schemas = __esm(() => {
10753
10768
  ...objectSchema({
10754
10769
  target: tableAddressSchema,
10755
10770
  nodeId: { type: "string" },
10756
- flag: { enum: ["headerRow", "totalRow", "firstColumn", "lastColumn", "bandedRows", "bandedColumns"] },
10771
+ flag: {
10772
+ enum: ["headerRow", "lastRow", "totalRow", "firstColumn", "lastColumn", "bandedRows", "bandedColumns"]
10773
+ },
10757
10774
  enabled: { type: "boolean" }
10758
10775
  }, ["flag", "enabled"]),
10759
10776
  oneOf: [{ required: ["target"] }, { required: ["nodeId"] }]
@@ -10921,7 +10938,7 @@ var init_schemas = __esm(() => {
10921
10938
  autoFitMode: { enum: ["fixedWidth", "fitContents", "fitWindow"] },
10922
10939
  styleOptions: objectSchema({
10923
10940
  headerRow: { type: "boolean" },
10924
- totalRow: { type: "boolean" },
10941
+ lastRow: { type: "boolean" },
10925
10942
  firstColumn: { type: "boolean" },
10926
10943
  lastColumn: { type: "boolean" },
10927
10944
  bandedRows: { type: "boolean" },
@@ -14362,6 +14379,26 @@ function validateRowLocator(input, operationName) {
14362
14379
  throw new DocumentApiValidationError("INVALID_TARGET", `${operationName}: rowIndex must not be provided when target is a row node. ` + `Either pass a table target with rowIndex, or pass a row target without rowIndex.`);
14363
14380
  }
14364
14381
  }
14382
+ function hasTableScopedCellCoordinates(input) {
14383
+ return input.rowIndex != null && input.columnIndex != null;
14384
+ }
14385
+ function validateCellOrTableScopedCellLocator(input, operationName) {
14386
+ validateTableLocator(input, operationName);
14387
+ const hasRowIndex = input.rowIndex != null;
14388
+ const hasColumnIndex = input.columnIndex != null;
14389
+ if (hasRowIndex !== hasColumnIndex) {
14390
+ throw new DocumentApiValidationError("INVALID_TARGET", `${operationName}: both rowIndex and columnIndex are required when using table-scoped cell targeting. ` + `Provide both or neither.`, { fields: ["rowIndex", "columnIndex"] });
14391
+ }
14392
+ const hasCoordinates = hasTableScopedCellCoordinates(input);
14393
+ if (isObjectRecord(input.target) && input.target.kind === "block") {
14394
+ if (input.target.nodeType === "tableCell" && hasCoordinates) {
14395
+ throw new DocumentApiValidationError("INVALID_TARGET", `${operationName}: rowIndex/columnIndex must not be provided when target is a cell node. ` + `Either pass a table target with coordinates, or pass a cell target without coordinates.`, { fields: ["rowIndex", "columnIndex"] });
14396
+ }
14397
+ if (input.target.nodeType === "table" && !hasCoordinates) {
14398
+ throw new DocumentApiValidationError("INVALID_TARGET", `${operationName}: rowIndex and columnIndex are required when target is a table.`, { fields: ["rowIndex", "columnIndex"] });
14399
+ }
14400
+ }
14401
+ }
14365
14402
  function executeTableLocatorOp(operationName, adapter, input, options) {
14366
14403
  validateTableLocator(input, operationName);
14367
14404
  return adapter(input, normalizeMutationOptions(options));
@@ -14370,6 +14407,10 @@ function executeRowLocatorOp(operationName, adapter, input, options) {
14370
14407
  validateRowLocator(input, operationName);
14371
14408
  return adapter(input, normalizeMutationOptions(options));
14372
14409
  }
14410
+ function executeCellOrTableScopedCellLocatorOp(operationName, adapter, input, options) {
14411
+ validateCellOrTableScopedCellLocator(input, operationName);
14412
+ return adapter(input, normalizeMutationOptions(options));
14413
+ }
14373
14414
  function executeDocumentLevelTableOp(adapter, input, options) {
14374
14415
  return adapter(input, normalizeMutationOptions(options));
14375
14416
  }
@@ -16383,7 +16424,7 @@ function createDocumentApi(adapters) {
16383
16424
  return executeTableLocatorOp("tables.mergeCells", adapters.tables.mergeCells.bind(adapters.tables), input, options);
16384
16425
  },
16385
16426
  unmergeCells(input, options) {
16386
- return executeTableLocatorOp("tables.unmergeCells", adapters.tables.unmergeCells.bind(adapters.tables), input, options);
16427
+ return executeCellOrTableScopedCellLocatorOp("tables.unmergeCells", adapters.tables.unmergeCells.bind(adapters.tables), input, options);
16387
16428
  },
16388
16429
  splitCell(input, options) {
16389
16430
  return executeTableLocatorOp("tables.splitCell", adapters.tables.splitCell.bind(adapters.tables), input, options);
@@ -39326,7 +39367,7 @@ var init_remark_gfm_z_sDF4ss_es = __esm(() => {
39326
39367
  emptyOptions2 = {};
39327
39368
  });
39328
39369
 
39329
- // ../../packages/superdoc/dist/chunks/SuperConverter-DjQ-Rpeg.es.js
39370
+ // ../../packages/superdoc/dist/chunks/SuperConverter-BrfbGHMj.es.js
39330
39371
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
39331
39372
  const fieldValue = extension$1.config[field];
39332
39373
  if (typeof fieldValue === "function")
@@ -43489,6 +43530,21 @@ function validateRowLocator2(input, operationName) {
43489
43530
  if (input.target.nodeType === "tableRow" && input.rowIndex != null)
43490
43531
  throw new DocumentApiValidationError2("INVALID_TARGET", `${operationName}: rowIndex must not be provided when target is a row node. Either pass a table target with rowIndex, or pass a row target without rowIndex.`);
43491
43532
  }
43533
+ function hasTableScopedCellCoordinates2(input) {
43534
+ return input.rowIndex != null && input.columnIndex != null;
43535
+ }
43536
+ function validateCellOrTableScopedCellLocator2(input, operationName) {
43537
+ validateTableLocator2(input, operationName);
43538
+ if (input.rowIndex != null !== (input.columnIndex != null))
43539
+ throw new DocumentApiValidationError2("INVALID_TARGET", `${operationName}: both rowIndex and columnIndex are required when using table-scoped cell targeting. Provide both or neither.`, { fields: ["rowIndex", "columnIndex"] });
43540
+ const hasCoordinates = hasTableScopedCellCoordinates2(input);
43541
+ if (isObjectRecord2(input.target) && input.target.kind === "block") {
43542
+ if (input.target.nodeType === "tableCell" && hasCoordinates)
43543
+ throw new DocumentApiValidationError2("INVALID_TARGET", `${operationName}: rowIndex/columnIndex must not be provided when target is a cell node. Either pass a table target with coordinates, or pass a cell target without coordinates.`, { fields: ["rowIndex", "columnIndex"] });
43544
+ if (input.target.nodeType === "table" && !hasCoordinates)
43545
+ throw new DocumentApiValidationError2("INVALID_TARGET", `${operationName}: rowIndex and columnIndex are required when target is a table.`, { fields: ["rowIndex", "columnIndex"] });
43546
+ }
43547
+ }
43492
43548
  function executeTableLocatorOp2(operationName, adapter, input, options) {
43493
43549
  validateTableLocator2(input, operationName);
43494
43550
  return adapter(input, normalizeMutationOptions2(options));
@@ -43497,6 +43553,10 @@ function executeRowLocatorOp2(operationName, adapter, input, options) {
43497
43553
  validateRowLocator2(input, operationName);
43498
43554
  return adapter(input, normalizeMutationOptions2(options));
43499
43555
  }
43556
+ function executeCellOrTableScopedCellLocatorOp2(operationName, adapter, input, options) {
43557
+ validateCellOrTableScopedCellLocator2(input, operationName);
43558
+ return adapter(input, normalizeMutationOptions2(options));
43559
+ }
43500
43560
  function executeDocumentLevelTableOp2(adapter, input, options) {
43501
43561
  return adapter(input, normalizeMutationOptions2(options));
43502
43562
  }
@@ -45286,7 +45346,7 @@ function createDocumentApi2(adapters) {
45286
45346
  return executeTableLocatorOp2("tables.mergeCells", adapters.tables.mergeCells.bind(adapters.tables), input, options);
45287
45347
  },
45288
45348
  unmergeCells(input, options) {
45289
- return executeTableLocatorOp2("tables.unmergeCells", adapters.tables.unmergeCells.bind(adapters.tables), input, options);
45349
+ return executeCellOrTableScopedCellLocatorOp2("tables.unmergeCells", adapters.tables.unmergeCells.bind(adapters.tables), input, options);
45290
45350
  },
45291
45351
  splitCell(input, options) {
45292
45352
  return executeTableLocatorOp2("tables.splitCell", adapters.tables.splitCell.bind(adapters.tables), input, options);
@@ -46862,21 +46922,25 @@ function determineCellStyleTypes(tblLook, rowIndex, cellIndex, numRows, numCells
46862
46922
  applicable.add(rowGroup % 2 === 0 ? "band1Horz" : "band2Horz");
46863
46923
  if (!tblLook?.noVBand)
46864
46924
  applicable.add(colGroup % 2 === 0 ? "band1Vert" : "band2Vert");
46865
- if (tblLook?.firstRow && rowIndex === 0)
46925
+ const isFirstRow = !!tblLook?.firstRow && rowIndex === 0;
46926
+ const isLastRow = !!tblLook?.lastRow && numRows != null && numRows > 0 && rowIndex === numRows - 1;
46927
+ const isFirstCol = !!tblLook?.firstColumn && cellIndex === 0;
46928
+ const isLastCol = !!tblLook?.lastColumn && numCells != null && numCells > 0 && cellIndex === numCells - 1;
46929
+ if (isFirstRow)
46866
46930
  applicable.add("firstRow");
46867
- if (tblLook?.firstColumn && cellIndex === 0)
46931
+ if (isFirstCol)
46868
46932
  applicable.add("firstCol");
46869
- if (tblLook?.lastRow && numRows != null && numRows > 0 && rowIndex === numRows - 1)
46933
+ if (isLastRow)
46870
46934
  applicable.add("lastRow");
46871
- if (tblLook?.lastColumn && numCells != null && numCells > 0 && cellIndex === numCells - 1)
46935
+ if (isLastCol)
46872
46936
  applicable.add("lastCol");
46873
- if (rowIndex === 0 && cellIndex === 0)
46937
+ if (isFirstRow && isFirstCol)
46874
46938
  applicable.add("nwCell");
46875
- if (rowIndex === 0 && numCells != null && numCells > 0 && cellIndex === numCells - 1)
46939
+ if (isFirstRow && isLastCol)
46876
46940
  applicable.add("neCell");
46877
- if (numRows != null && numRows > 0 && rowIndex === numRows - 1 && cellIndex === 0)
46941
+ if (isLastRow && isFirstCol)
46878
46942
  applicable.add("swCell");
46879
- if (numRows != null && numRows > 0 && numCells != null && numCells > 0 && rowIndex === numRows - 1 && cellIndex === numCells - 1)
46943
+ if (isLastRow && isLastCol)
46880
46944
  applicable.add("seCell");
46881
46945
  if (rowCnfStyle || cellCnfStyle)
46882
46946
  for (const [flag, styleType] of CNF_STYLE_MAP) {
@@ -85208,7 +85272,7 @@ var isRegExp = (value) => {
85208
85272
  state.kern = kernNode.attributes["w:val"];
85209
85273
  }
85210
85274
  }, SuperConverter;
85211
- var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
85275
+ var init_SuperConverter_BrfbGHMj_es = __esm(() => {
85212
85276
  init_rolldown_runtime_B2q5OVn9_es();
85213
85277
  init_jszip_ChlR43oI_es();
85214
85278
  init_xml_js_BtmJ6bNs_es();
@@ -95099,7 +95163,35 @@ var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
95099
95163
  ({ ...objectSchema2({
95100
95164
  target: tableCellAddressSchema2,
95101
95165
  nodeId: { type: "string" }
95102
- }) });
95166
+ }) }, objectSchema2({
95167
+ target: tableAddressSchema2,
95168
+ rowIndex: {
95169
+ type: "integer",
95170
+ minimum: 0
95171
+ },
95172
+ columnIndex: {
95173
+ type: "integer",
95174
+ minimum: 0
95175
+ }
95176
+ }, [
95177
+ "target",
95178
+ "rowIndex",
95179
+ "columnIndex"
95180
+ ])), objectSchema2({
95181
+ nodeId: { type: "string" },
95182
+ rowIndex: {
95183
+ type: "integer",
95184
+ minimum: 0
95185
+ },
95186
+ columnIndex: {
95187
+ type: "integer",
95188
+ minimum: 0
95189
+ }
95190
+ }, [
95191
+ "nodeId",
95192
+ "rowIndex",
95193
+ "columnIndex"
95194
+ ]);
95103
95195
  ({ ...objectSchema2({
95104
95196
  target: tableOrCellAddressSchema2,
95105
95197
  nodeId: { type: "string" }
@@ -97318,6 +97410,7 @@ var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
97318
97410
  nodeId: { type: "string" },
97319
97411
  flag: { enum: [
97320
97412
  "headerRow",
97413
+ "lastRow",
97321
97414
  "totalRow",
97322
97415
  "firstColumn",
97323
97416
  "lastColumn",
@@ -97519,7 +97612,7 @@ var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
97519
97612
  ] },
97520
97613
  styleOptions: objectSchema2({
97521
97614
  headerRow: { type: "boolean" },
97522
- totalRow: { type: "boolean" },
97615
+ lastRow: { type: "boolean" },
97523
97616
  firstColumn: { type: "boolean" },
97524
97617
  lastColumn: { type: "boolean" },
97525
97618
  bandedRows: { type: "boolean" },
@@ -147588,7 +147681,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
147588
147681
  init_remark_gfm_z_sDF4ss_es();
147589
147682
  });
147590
147683
 
147591
- // ../../packages/superdoc/dist/chunks/src-Dy7DgW_n.es.js
147684
+ // ../../packages/superdoc/dist/chunks/src-DmrqwlWf.es.js
147592
147685
  function deleteProps(obj, propOrProps) {
147593
147686
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
147594
147687
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -164472,6 +164565,28 @@ function resolveMergeRangeLocator(editor, input2, operationName) {
164472
164565
  endCol
164473
164566
  };
164474
164567
  }
164568
+ function resolveTableScopedCellLocator(editor, input2, operationName) {
164569
+ const table2 = resolveTableLocator(editor, input2, operationName);
164570
+ const map$12 = TableMap.get(table2.candidate.node);
164571
+ if (input2.rowIndex < 0 || input2.rowIndex >= map$12.height || input2.columnIndex < 0 || input2.columnIndex >= map$12.width)
164572
+ throw new DocumentApiAdapterError("INVALID_TARGET", `${operationName}: cell (${input2.rowIndex}, ${input2.columnIndex}) is out of bounds (table is ${map$12.height}×${map$12.width}).`);
164573
+ const requestedIndex = input2.rowIndex * map$12.width + input2.columnIndex;
164574
+ const cellOffset = map$12.map[requestedIndex];
164575
+ const anchorIndex = map$12.map.indexOf(cellOffset);
164576
+ const anchorRow = Math.floor(anchorIndex / map$12.width);
164577
+ const anchorCol = anchorIndex % map$12.width;
164578
+ const cellPos = table2.candidate.pos + 1 + cellOffset;
164579
+ const cellNode = table2.candidate.node.nodeAt(cellOffset);
164580
+ if (!cellNode)
164581
+ throw new DocumentApiAdapterError("TARGET_NOT_FOUND", `${operationName}: cell at (${input2.rowIndex}, ${input2.columnIndex}) could not be resolved.`);
164582
+ return {
164583
+ table: table2,
164584
+ cellNode,
164585
+ cellPos,
164586
+ rowIndex: anchorRow,
164587
+ columnIndex: anchorCol
164588
+ };
164589
+ }
164475
164590
  function resolveColumnLocator(editor, input2, operationName) {
164476
164591
  const table2 = resolveTableLocator(editor, input2, operationName);
164477
164592
  const columnCount = getTableColumnCount(table2.candidate.node);
@@ -166050,9 +166165,32 @@ function tablesMergeCellsAdapter(editor, input2, options) {
166050
166165
  return toTableFailure("INVALID_TARGET", "Cell merge could not be applied.");
166051
166166
  }
166052
166167
  }
166168
+ function hasDefinedUnmergeCoordinates(input2) {
166169
+ const inputRecord = input2;
166170
+ return inputRecord.rowIndex != null && inputRecord.columnIndex != null;
166171
+ }
166172
+ function resolveUnmergeInput(editor, input2) {
166173
+ if (!hasDefinedUnmergeCoordinates(input2))
166174
+ return resolveCellLocator(editor, input2, "tables.unmergeCells");
166175
+ const target = input2.target;
166176
+ if (target && typeof target === "object" && !Array.isArray(target)) {
166177
+ const blockTarget = target;
166178
+ if (blockTarget.kind === "block" && blockTarget.nodeType === "table")
166179
+ return resolveTableScopedCellLocator(editor, input2, "tables.unmergeCells");
166180
+ return resolveCellLocator(editor, { target }, "tables.unmergeCells");
166181
+ }
166182
+ const nodeId = input2.nodeId;
166183
+ if (typeof nodeId === "string") {
166184
+ const candidate = findBlockByNodeIdOnly(getBlockIndex(editor), nodeId);
166185
+ if (!candidate)
166186
+ throw new DocumentApiAdapterError("TARGET_NOT_FOUND", "tables.unmergeCells: target was not found.", { target: nodeId });
166187
+ return candidate.nodeType === "table" ? resolveTableScopedCellLocator(editor, input2, "tables.unmergeCells") : resolveCellLocator(editor, { nodeId }, "tables.unmergeCells");
166188
+ }
166189
+ return resolveCellLocator(editor, {}, "tables.unmergeCells");
166190
+ }
166053
166191
  function tablesUnmergeCellsAdapter(editor, input2, options) {
166054
166192
  rejectTrackedMode("tables.unmergeCells", options);
166055
- const { table: table2, cellPos, cellNode, rowIndex, columnIndex } = resolveCellLocator(editor, input2, "tables.unmergeCells");
166193
+ const { table: table2, cellPos, cellNode, rowIndex, columnIndex } = resolveUnmergeInput(editor, input2);
166056
166194
  const attrs = cellNode.attrs;
166057
166195
  const colspan = attrs.colspan || 1;
166058
166196
  const rowspan = attrs.rowspan || 1;
@@ -166325,30 +166463,30 @@ function tablesClearStyleAdapter(editor, input2, options) {
166325
166463
  return toTableFailure("INVALID_TARGET", "Table style removal could not be applied.");
166326
166464
  }
166327
166465
  }
166466
+ function resolveStyleOptionFlag(flag) {
166467
+ return FLAG_TO_OOXML_KEY[flag === "totalRow" ? "lastRow" : flag];
166468
+ }
166328
166469
  function tablesSetStyleOptionAdapter(editor, input2, options) {
166329
166470
  rejectTrackedMode("tables.setStyleOption", options);
166330
166471
  const { candidate, address: address2 } = resolveTableLocator(editor, input2, "tables.setStyleOption");
166331
166472
  if (options?.dryRun)
166332
166473
  return buildTableSuccess(address2);
166333
166474
  try {
166334
- const tr = editor.state.tr;
166475
+ const xmlKey = resolveStyleOptionFlag(input2.flag);
166476
+ const ooxmlValue = INVERTED_FLAGS.has(input2.flag) ? !input2.enabled : input2.enabled;
166335
166477
  const currentAttrs = candidate.node.attrs;
166336
166478
  const currentTableProps = currentAttrs.tableProperties ?? {};
166337
- const currentLook = { ...currentTableProps.tblLook ?? {} };
166338
- const xmlKey = {
166339
- headerRow: "firstRow",
166340
- totalRow: "lastRow",
166341
- firstColumn: "firstColumn",
166342
- lastColumn: "lastColumn",
166343
- bandedRows: "noHBand",
166344
- bandedColumns: "noVBand"
166345
- }[input2.flag];
166346
- if (xmlKey)
166347
- currentLook[xmlKey] = input2.flag === "bandedRows" || input2.flag === "bandedColumns" ? !input2.enabled : input2.enabled;
166479
+ const existingLook = currentTableProps.tblLook;
166480
+ if (existingLook != null && existingLook[xmlKey] === ooxmlValue)
166481
+ return toTableFailure("NO_OP", `Style option '${input2.flag}' already has the requested value.`);
166482
+ const updatedLook = existingLook != null ? { ...existingLook } : { ...WORD_DEFAULT_TBL_LOOK };
166483
+ updatedLook[xmlKey] = ooxmlValue;
166484
+ delete updatedLook.val;
166348
166485
  const updatedTableProps = {
166349
166486
  ...currentTableProps,
166350
- tblLook: currentLook
166487
+ tblLook: updatedLook
166351
166488
  };
166489
+ const tr = editor.state.tr;
166352
166490
  tr.setNodeMarkup(candidate.pos, null, {
166353
166491
  ...currentAttrs,
166354
166492
  tableProperties: updatedTableProps,
@@ -167025,7 +167163,7 @@ function tablesGetPropertiesAdapter(editor, input2) {
167025
167163
  if (look)
167026
167164
  result.styleOptions = {
167027
167165
  headerRow: look.firstRow === true,
167028
- totalRow: look.lastRow === true,
167166
+ lastRow: look.lastRow === true,
167029
167167
  firstColumn: look.firstColumn === true,
167030
167168
  lastColumn: look.lastColumn === true,
167031
167169
  bandedRows: look.noHBand !== true,
@@ -208334,7 +208472,7 @@ var Node$13 = class Node$14 {
208334
208472
  return;
208335
208473
  const candidate = run2.pmEnd;
208336
208474
  return typeof candidate === "number" ? candidate : undefined;
208337
- }, engines_exports, DEFAULT_HEADER_FOOTER_MARGIN_PX = 0, LINE_NUMBER_RESTART_VALUES, PAGE_NUMBER_FORMAT_VALUES, SECTION_ORIENTATION_VALUES, SECTION_VERTICAL_ALIGN_VALUES, readSectPrHeaderFooterRefs, PIXELS_PER_INCH$2 = 96, BULLET_FORMATS$1, LOCK_MODE_TO_SDT_LOCK, SNIPPET_PADDING = 30, DUAL_KIND_TYPES, KNOWN_BLOCK_PM_NODE_TYPES, KNOWN_INLINE_PM_NODE_TYPES, MAX_PATTERN_LENGTH = 1024, TOGGLE_MARK_SPECS, CORE_MARK_NAMES, METADATA_MARK_NAMES, CSS_NAMED_COLORS, HEADING_STYLE_DEPTH, BULLET_FORMATS, MARK_PRIORITY, remarkProcessor, DEFAULT_UNFLATTEN_LISTS = true, REQUIRED_COMMANDS, VALID_CAPABILITY_REASON_CODES, REQUIRED_HELPERS, SCHEMA_NODE_GATES, schemaGatedIds, SUPPORTED_NON_UNIFORM_STRATEGIES, SUPPORTED_SET_MARKS, REGEX_MAX_PATTERN_LENGTH = 1024, registry, VALID_CREATE_POSITIONS, REF_HANDLERS, STEP_INTERACTION_MATRIX, MATRIX_EXEMPT_OPS, DEFAULT_INLINE_POLICY, CORE_SET_MARK_KEYS, BOOLEAN_INLINE_MARK_KEYS, TEXT_STYLE_KEYS, PRESERVE_RUN_PROPERTIES_META_KEY = "sdPreserveRunPropertiesKeys", CONTENT_CAPABILITIES, INLINE_CAPABILITIES, SDT_LOCK_TO_LOCK_MODE, STUB_WHERE, EMPTY_RESOLUTION, CONTAINER_NODE_TYPES, VALID_EDGE_NODE_TYPES3, FALLBACK_STORE_KEY = "__documentApiComments", STYLES_PART = "word/styles.xml", PROPERTIES_KEY_BY_CHANNEL, XML_PATH_BY_CHANNEL2, UNDERLINE_API_TO_STORAGE, UNDERLINE_STORAGE_TO_API, HEX_SUBKEYS_BY_PROPERTY, PARAGRAPH_NODE_TYPES, TEXT_STYLE_CHARACTER_STYLE_ATTR = "styleId", DIRECT_FORMATTING_MARK_NAMES, ALIGNMENT_TO_JUSTIFICATION, SUPPORTED_DELETE_NODE_TYPES3, REJECTED_DELETE_NODE_TYPES3, TEXT_PREVIEW_MAX_LENGTH = 80, RANGE_DELETE_SAFE_NODE_TYPES, INDENT_PER_LEVEL_TWIPS = 720, HANGING_INDENT_TWIPS = 360, ORDERED_PRESET_CONFIG, BULLET_PRESET_CONFIG, PRESET_TEMPLATES, LevelFormattingHelpers, PRESET_KIND_MAP, NUMBERING_PART = "word/numbering.xml", DEFAULT_PRESET_FOR_KIND, _setValueDelegate, PREVIEW_TEXT_MAX_LENGTH = 2000, BLOCK_PREVIEW_MAX_LENGTH = 200, EDGE_NODE_TYPES$1, DOCX_HEX_ID_LENGTH = 8, POINTS_TO_PIXELS, POINTS_TO_TWIPS = 20, PIXELS_TO_TWIPS, DEFAULT_TABLE_GRID_WIDTH_TWIPS = 1500, SETTINGS_PART = "word/settings.xml", TABLE_ADAPTER_DISPATCH, ROW_TARGETED_TABLE_OPS, registered = false, STYLES_PART_ID = "word/styles.xml", stylesPartDescriptor, settingsPartDescriptor, RELS_PART_ID2 = "word/_rels/document.xml.rels", RELS_XMLNS$1 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", relsPartDescriptor, DOCUMENT_RELS_PATH$1 = "word/_rels/document.xml.rels", RELS_XMLNS2 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", WORDPROCESSINGML_XMLNS = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", OFFICE_DOCUMENT_RELS_XMLNS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", RELATIONSHIP_ID_PATTERN, HEADER_FILE_PATTERN$1, FOOTER_FILE_PATTERN$1, HISTORY_UNSAFE_OPS, IGNORED_ATTRIBUTE_KEYS, TRACK_CHANGE_MARK_NAMES, TRACK_CHANGE_IGNORED_ATTRIBUTE_KEYS, VOLATILE_PARAGRAPH_ATTRS, VOLATILE_IMAGE_ORIGINAL_ATTR_KEYS, SIMILARITY_THRESHOLD = 0.65, MIN_LENGTH_FOR_SIMILARITY = 4, COMMENT_ATTRS_DIFF_IGNORED_KEYS, setNestedValue = (target, path2, value) => {
208475
+ }, engines_exports, DEFAULT_HEADER_FOOTER_MARGIN_PX = 0, LINE_NUMBER_RESTART_VALUES, PAGE_NUMBER_FORMAT_VALUES, SECTION_ORIENTATION_VALUES, SECTION_VERTICAL_ALIGN_VALUES, readSectPrHeaderFooterRefs, PIXELS_PER_INCH$2 = 96, BULLET_FORMATS$1, LOCK_MODE_TO_SDT_LOCK, SNIPPET_PADDING = 30, DUAL_KIND_TYPES, KNOWN_BLOCK_PM_NODE_TYPES, KNOWN_INLINE_PM_NODE_TYPES, MAX_PATTERN_LENGTH = 1024, TOGGLE_MARK_SPECS, CORE_MARK_NAMES, METADATA_MARK_NAMES, CSS_NAMED_COLORS, HEADING_STYLE_DEPTH, BULLET_FORMATS, MARK_PRIORITY, remarkProcessor, DEFAULT_UNFLATTEN_LISTS = true, REQUIRED_COMMANDS, VALID_CAPABILITY_REASON_CODES, REQUIRED_HELPERS, SCHEMA_NODE_GATES, schemaGatedIds, SUPPORTED_NON_UNIFORM_STRATEGIES, SUPPORTED_SET_MARKS, REGEX_MAX_PATTERN_LENGTH = 1024, registry, VALID_CREATE_POSITIONS, REF_HANDLERS, STEP_INTERACTION_MATRIX, MATRIX_EXEMPT_OPS, DEFAULT_INLINE_POLICY, CORE_SET_MARK_KEYS, BOOLEAN_INLINE_MARK_KEYS, TEXT_STYLE_KEYS, PRESERVE_RUN_PROPERTIES_META_KEY = "sdPreserveRunPropertiesKeys", CONTENT_CAPABILITIES, INLINE_CAPABILITIES, SDT_LOCK_TO_LOCK_MODE, STUB_WHERE, EMPTY_RESOLUTION, CONTAINER_NODE_TYPES, VALID_EDGE_NODE_TYPES3, FALLBACK_STORE_KEY = "__documentApiComments", STYLES_PART = "word/styles.xml", PROPERTIES_KEY_BY_CHANNEL, XML_PATH_BY_CHANNEL2, UNDERLINE_API_TO_STORAGE, UNDERLINE_STORAGE_TO_API, HEX_SUBKEYS_BY_PROPERTY, PARAGRAPH_NODE_TYPES, TEXT_STYLE_CHARACTER_STYLE_ATTR = "styleId", DIRECT_FORMATTING_MARK_NAMES, ALIGNMENT_TO_JUSTIFICATION, SUPPORTED_DELETE_NODE_TYPES3, REJECTED_DELETE_NODE_TYPES3, TEXT_PREVIEW_MAX_LENGTH = 80, RANGE_DELETE_SAFE_NODE_TYPES, INDENT_PER_LEVEL_TWIPS = 720, HANGING_INDENT_TWIPS = 360, ORDERED_PRESET_CONFIG, BULLET_PRESET_CONFIG, PRESET_TEMPLATES, LevelFormattingHelpers, PRESET_KIND_MAP, NUMBERING_PART = "word/numbering.xml", DEFAULT_PRESET_FOR_KIND, _setValueDelegate, PREVIEW_TEXT_MAX_LENGTH = 2000, BLOCK_PREVIEW_MAX_LENGTH = 200, EDGE_NODE_TYPES$1, DOCX_HEX_ID_LENGTH = 8, POINTS_TO_PIXELS, POINTS_TO_TWIPS = 20, PIXELS_TO_TWIPS, DEFAULT_TABLE_GRID_WIDTH_TWIPS = 1500, SETTINGS_PART = "word/settings.xml", WORD_DEFAULT_TBL_LOOK, FLAG_TO_OOXML_KEY, INVERTED_FLAGS, TABLE_ADAPTER_DISPATCH, ROW_TARGETED_TABLE_OPS, registered = false, STYLES_PART_ID = "word/styles.xml", stylesPartDescriptor, settingsPartDescriptor, RELS_PART_ID2 = "word/_rels/document.xml.rels", RELS_XMLNS$1 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", relsPartDescriptor, DOCUMENT_RELS_PATH$1 = "word/_rels/document.xml.rels", RELS_XMLNS2 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", WORDPROCESSINGML_XMLNS = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", OFFICE_DOCUMENT_RELS_XMLNS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", RELATIONSHIP_ID_PATTERN, HEADER_FILE_PATTERN$1, FOOTER_FILE_PATTERN$1, HISTORY_UNSAFE_OPS, IGNORED_ATTRIBUTE_KEYS, TRACK_CHANGE_MARK_NAMES, TRACK_CHANGE_IGNORED_ATTRIBUTE_KEYS, VOLATILE_PARAGRAPH_ATTRS, VOLATILE_IMAGE_ORIGINAL_ATTR_KEYS, SIMILARITY_THRESHOLD = 0.65, MIN_LENGTH_FOR_SIMILARITY = 4, COMMENT_ATTRS_DIFF_IGNORED_KEYS, setNestedValue = (target, path2, value) => {
208338
208476
  if (!path2.includes(".")) {
208339
208477
  target[path2] = value;
208340
208478
  return;
@@ -227364,9 +227502,9 @@ var Node$13 = class Node$14 {
227364
227502
  return false;
227365
227503
  return Boolean(checker(attrs));
227366
227504
  }, SuperToolbar, ICONS, TEXTS, tableActionsOptions;
227367
- var init_src_Dy7DgW_n_es = __esm(() => {
227505
+ var init_src_DmrqwlWf_es = __esm(() => {
227368
227506
  init_rolldown_runtime_B2q5OVn9_es();
227369
- init_SuperConverter_DjQ_Rpeg_es();
227507
+ init_SuperConverter_BrfbGHMj_es();
227370
227508
  init_jszip_ChlR43oI_es();
227371
227509
  init_uuid_qzgm05fK_es();
227372
227510
  init_constants_ep1_Gwqi_es();
@@ -235315,6 +235453,23 @@ function print() { __p += __j.call(arguments, '') }
235315
235453
  EDGE_NODE_TYPES$1 = new Set(SELECTION_EDGE_NODE_TYPES2);
235316
235454
  POINTS_TO_PIXELS = 96 / 72;
235317
235455
  PIXELS_TO_TWIPS = 1440 / 96;
235456
+ WORD_DEFAULT_TBL_LOOK = {
235457
+ firstRow: true,
235458
+ lastRow: false,
235459
+ firstColumn: true,
235460
+ lastColumn: false,
235461
+ noHBand: false,
235462
+ noVBand: true
235463
+ };
235464
+ FLAG_TO_OOXML_KEY = {
235465
+ headerRow: "firstRow",
235466
+ lastRow: "lastRow",
235467
+ firstColumn: "firstColumn",
235468
+ lastColumn: "lastColumn",
235469
+ bandedRows: "noHBand",
235470
+ bandedColumns: "noVBand"
235471
+ };
235472
+ INVERTED_FLAGS = new Set(["bandedRows", "bandedColumns"]);
235318
235473
  TABLE_ADAPTER_DISPATCH = {
235319
235474
  "tables.delete": (e, i4, o) => tablesDeleteAdapter(e, i4, o),
235320
235475
  "tables.clearContents": (e, i4, o) => tablesClearContentsAdapter(e, i4, o),
@@ -260618,8 +260773,8 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
260618
260773
 
260619
260774
  // ../../packages/superdoc/dist/super-editor.es.js
260620
260775
  var init_super_editor_es = __esm(() => {
260621
- init_src_Dy7DgW_n_es();
260622
- init_SuperConverter_DjQ_Rpeg_es();
260776
+ init_src_DmrqwlWf_es();
260777
+ init_SuperConverter_BrfbGHMj_es();
260623
260778
  init_jszip_ChlR43oI_es();
260624
260779
  init_xml_js_BtmJ6bNs_es();
260625
260780
  init_constants_ep1_Gwqi_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.3.0-next.30",
3
+ "version": "0.3.0-next.32",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -21,20 +21,20 @@
21
21
  "@types/node": "22.19.2",
22
22
  "typescript": "^5.9.2",
23
23
  "@superdoc/document-api": "0.0.1",
24
+ "@superdoc/pm-adapter": "0.0.0",
24
25
  "@superdoc/super-editor": "0.0.1",
25
- "superdoc": "1.20.0",
26
- "@superdoc/pm-adapter": "0.0.0"
26
+ "superdoc": "1.20.0"
27
27
  },
28
28
  "module": "src/index.ts",
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@superdoc-dev/cli-darwin-arm64": "0.3.0-next.30",
34
- "@superdoc-dev/cli-darwin-x64": "0.3.0-next.30",
35
- "@superdoc-dev/cli-linux-x64": "0.3.0-next.30",
36
- "@superdoc-dev/cli-linux-arm64": "0.3.0-next.30",
37
- "@superdoc-dev/cli-windows-x64": "0.3.0-next.30"
33
+ "@superdoc-dev/cli-darwin-arm64": "0.3.0-next.32",
34
+ "@superdoc-dev/cli-darwin-x64": "0.3.0-next.32",
35
+ "@superdoc-dev/cli-linux-x64": "0.3.0-next.32",
36
+ "@superdoc-dev/cli-windows-x64": "0.3.0-next.32",
37
+ "@superdoc-dev/cli-linux-arm64": "0.3.0-next.32"
38
38
  },
39
39
  "scripts": {
40
40
  "predev": "node scripts/ensure-superdoc-build.js",