@superdoc-dev/cli 0.5.0-next.62 → 0.5.0-next.64
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/index.js +104 -21
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -3101,7 +3101,7 @@ var init_operation_definitions = __esm(() => {
|
|
|
3101
3101
|
"trackChanges.list": {
|
|
3102
3102
|
memberPath: "trackChanges.list",
|
|
3103
3103
|
description: "List all tracked changes in the document.",
|
|
3104
|
-
expectedResult: "Returns a TrackChangesListResult with
|
|
3104
|
+
expectedResult: "Returns a TrackChangesListResult with tracked change entries, total count, and raw imported Word OOXML revision IDs (`w:id`) when available.",
|
|
3105
3105
|
requiresDocumentContext: true,
|
|
3106
3106
|
metadata: readOperation({
|
|
3107
3107
|
idempotency: "idempotent",
|
|
@@ -3115,7 +3115,7 @@ var init_operation_definitions = __esm(() => {
|
|
|
3115
3115
|
"trackChanges.get": {
|
|
3116
3116
|
memberPath: "trackChanges.get",
|
|
3117
3117
|
description: "Retrieve a single tracked change by ID.",
|
|
3118
|
-
expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, and
|
|
3118
|
+
expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, affected content, and raw imported Word OOXML revision IDs (`w:id`) when available.",
|
|
3119
3119
|
requiresDocumentContext: true,
|
|
3120
3120
|
metadata: readOperation({
|
|
3121
3121
|
idempotency: "idempotent",
|
|
@@ -8244,7 +8244,7 @@ function buildInternalContractSchemas() {
|
|
|
8244
8244
|
operations
|
|
8245
8245
|
};
|
|
8246
8246
|
}
|
|
8247
|
-
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, storyLocatorSchema, 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, documentStyleInfoSchema, documentStylesSchema, documentDefaultsSchema, 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, tableBorderColorPattern = "^([0-9A-Fa-f]{6}|auto)$", tableBorderSpecSchema, nullableTableBorderSpecSchema, 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;
|
|
8247
|
+
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, storyLocatorSchema, 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, documentStyleInfoSchema, documentStylesSchema, documentDefaultsSchema, 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, trackChangeWordRevisionIdsSchema, trackChangeInfoSchema, trackChangeDomainItemSchema, trackChangesListResultSchema, capabilityReasonCodeSchema, capabilityReasonsSchema, capabilityFlagSchema, operationRuntimeCapabilitySchema, operationCapabilitiesSchema, inlinePropertyCapabilitySchema, inlinePropertyCapabilitiesByKeySchema, formatCapabilitiesSchema, planEngineCapabilitiesSchema, capabilitiesOutputSchema, strictEmptyObjectSchema, tableBorderColorPattern = "^([0-9A-Fa-f]{6}|auto)$", tableBorderSpecSchema, nullableTableBorderSpecSchema, 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;
|
|
8248
8248
|
var init_schemas = __esm(() => {
|
|
8249
8249
|
init_command_catalog();
|
|
8250
8250
|
init_types2();
|
|
@@ -8958,10 +8958,28 @@ var init_schemas = __esm(() => {
|
|
|
8958
8958
|
creatorEmail: { type: "string" }
|
|
8959
8959
|
}, ["address", "status"]);
|
|
8960
8960
|
commentsListResultSchema = discoveryResultSchema(commentDomainItemSchema);
|
|
8961
|
+
trackChangeWordRevisionIdsSchema = {
|
|
8962
|
+
...objectSchema({
|
|
8963
|
+
insert: {
|
|
8964
|
+
type: "string",
|
|
8965
|
+
description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:ins>` element when this logical change includes an insertion."
|
|
8966
|
+
},
|
|
8967
|
+
delete: {
|
|
8968
|
+
type: "string",
|
|
8969
|
+
description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:del>` element when this logical change includes a deletion."
|
|
8970
|
+
},
|
|
8971
|
+
format: {
|
|
8972
|
+
type: "string",
|
|
8973
|
+
description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:rPrChange>` element when this logical change includes a formatting revision."
|
|
8974
|
+
}
|
|
8975
|
+
}),
|
|
8976
|
+
description: "Raw imported Word OOXML revision IDs (`w:id`) from the source document when available. This is provenance metadata, not the canonical SuperDoc tracked-change ID. Replacements may include both `insert` and `delete` IDs."
|
|
8977
|
+
};
|
|
8961
8978
|
trackChangeInfoSchema = objectSchema({
|
|
8962
8979
|
address: trackedChangeAddressSchema,
|
|
8963
8980
|
id: { type: "string" },
|
|
8964
8981
|
type: { enum: ["insert", "delete", "format"] },
|
|
8982
|
+
wordRevisionIds: trackChangeWordRevisionIdsSchema,
|
|
8965
8983
|
author: { type: "string" },
|
|
8966
8984
|
authorEmail: { type: "string" },
|
|
8967
8985
|
authorImage: { type: "string" },
|
|
@@ -8971,6 +8989,7 @@ var init_schemas = __esm(() => {
|
|
|
8971
8989
|
trackChangeDomainItemSchema = discoveryItemSchema({
|
|
8972
8990
|
address: trackedChangeAddressSchema,
|
|
8973
8991
|
type: { enum: ["insert", "delete", "format"] },
|
|
8992
|
+
wordRevisionIds: trackChangeWordRevisionIdsSchema,
|
|
8974
8993
|
author: { type: "string" },
|
|
8975
8994
|
authorEmail: { type: "string" },
|
|
8976
8995
|
authorImage: { type: "string" },
|
|
@@ -65862,7 +65881,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
|
|
|
65862
65881
|
emptyOptions2 = {};
|
|
65863
65882
|
});
|
|
65864
65883
|
|
|
65865
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
65884
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-DSmNz8oe.es.js
|
|
65866
65885
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
65867
65886
|
const fieldValue = extension$1.config[field];
|
|
65868
65887
|
if (typeof fieldValue === "function")
|
|
@@ -75392,6 +75411,7 @@ function handleStyleChangeMarksV2(rPrChange, currentMarks, params3) {
|
|
|
75392
75411
|
const attributes = rPrChange.attributes || {};
|
|
75393
75412
|
const mappedAttributes = {
|
|
75394
75413
|
id: attributes["w:id"],
|
|
75414
|
+
sourceId: attributes["w:id"],
|
|
75395
75415
|
date: attributes["w:date"],
|
|
75396
75416
|
author: attributes["w:author"],
|
|
75397
75417
|
authorEmail: attributes["w:authorEmail"]
|
|
@@ -75419,6 +75439,7 @@ function handleStyleChangeMarks(rPr, currentMarks) {
|
|
|
75419
75439
|
const { attributes } = styleChangeMark;
|
|
75420
75440
|
const mappedAttributes = {
|
|
75421
75441
|
id: attributes["w:id"],
|
|
75442
|
+
sourceId: attributes["w:id"],
|
|
75422
75443
|
date: attributes["w:date"],
|
|
75423
75444
|
author: attributes["w:author"],
|
|
75424
75445
|
authorEmail: attributes["w:authorEmail"]
|
|
@@ -99817,6 +99838,24 @@ function resolveTrackedChangeType(change) {
|
|
|
99817
99838
|
return "delete";
|
|
99818
99839
|
return "insert";
|
|
99819
99840
|
}
|
|
99841
|
+
function mergeWordRevisionId(target, key, value) {
|
|
99842
|
+
if (!value)
|
|
99843
|
+
return target;
|
|
99844
|
+
if (!target)
|
|
99845
|
+
return { [key]: value };
|
|
99846
|
+
if (!target[key])
|
|
99847
|
+
target[key] = value;
|
|
99848
|
+
return target;
|
|
99849
|
+
}
|
|
99850
|
+
function getWordRevisionIdKey(markType) {
|
|
99851
|
+
if (markType === "trackInsert")
|
|
99852
|
+
return "insert";
|
|
99853
|
+
if (markType === "trackDelete")
|
|
99854
|
+
return "delete";
|
|
99855
|
+
if (markType === "trackFormat")
|
|
99856
|
+
return "format";
|
|
99857
|
+
return null;
|
|
99858
|
+
}
|
|
99820
99859
|
function groupTrackedChanges(editor) {
|
|
99821
99860
|
const currentDoc = editor.state.doc;
|
|
99822
99861
|
const cached = groupedCache.get(editor);
|
|
@@ -99834,6 +99873,8 @@ function groupTrackedChanges(editor) {
|
|
|
99834
99873
|
const nextHasInsert = markType === TrackInsertMarkName;
|
|
99835
99874
|
const nextHasDelete = markType === TrackDeleteMarkName;
|
|
99836
99875
|
const nextHasFormat = markType === TrackFormatMarkName;
|
|
99876
|
+
const wordRevisionId = toNonEmptyString(attrs.sourceId);
|
|
99877
|
+
const wordRevisionIdKey = getWordRevisionIdKey(markType);
|
|
99837
99878
|
if (!existing) {
|
|
99838
99879
|
byRawId.set(id2, {
|
|
99839
99880
|
rawId: id2,
|
|
@@ -99842,7 +99883,8 @@ function groupTrackedChanges(editor) {
|
|
|
99842
99883
|
hasInsert: nextHasInsert,
|
|
99843
99884
|
hasDelete: nextHasDelete,
|
|
99844
99885
|
hasFormat: nextHasFormat,
|
|
99845
|
-
attrs: { ...attrs }
|
|
99886
|
+
attrs: { ...attrs },
|
|
99887
|
+
wordRevisionIds: wordRevisionIdKey ? mergeWordRevisionId(undefined, wordRevisionIdKey, wordRevisionId ?? undefined) : undefined
|
|
99846
99888
|
});
|
|
99847
99889
|
continue;
|
|
99848
99890
|
}
|
|
@@ -99853,6 +99895,8 @@ function groupTrackedChanges(editor) {
|
|
|
99853
99895
|
existing.hasFormat = existing.hasFormat || nextHasFormat;
|
|
99854
99896
|
if (Object.keys(existing.attrs).length === 0 && Object.keys(attrs).length > 0)
|
|
99855
99897
|
existing.attrs = { ...attrs };
|
|
99898
|
+
if (wordRevisionIdKey)
|
|
99899
|
+
existing.wordRevisionIds = mergeWordRevisionId(existing.wordRevisionIds, wordRevisionIdKey, wordRevisionId ?? undefined);
|
|
99856
99900
|
}
|
|
99857
99901
|
const grouped = Array.from(byRawId.values()).map((change) => ({
|
|
99858
99902
|
...change,
|
|
@@ -103094,7 +103138,7 @@ var isRegExp = (value) => {
|
|
|
103094
103138
|
tracked: false,
|
|
103095
103139
|
carrier: runAttributeCarrier2(runPropertyKey ?? key),
|
|
103096
103140
|
schema
|
|
103097
|
-
}), INLINE_PROPERTY_REGISTRY2, INLINE_PROPERTY_KEY_SET2, INLINE_PROPERTY_BY_KEY2, UNDERLINE_OBJECT_ALLOWED_KEYS2, SHADING_ALLOWED_KEYS2, BORDER_ALLOWED_KEYS2, FIT_TEXT_ALLOWED_KEYS2, LANG_ALLOWED_KEYS2, RFONTS_ALLOWED_KEYS2, EAST_ASIAN_LAYOUT_ALLOWED_KEYS2, STYLISTIC_SET_ALLOWED_KEYS2, VERT_ALIGN_VALUES2, PROPERTY_VALIDATOR_MAP2, NONE_FAILURES2, NONE_THROWS2, T_NOT_FOUND2, T_NOT_FOUND_CAPABLE2, T_PLAN_ENGINE2, T_NOT_FOUND_COMMAND2, T_IMAGE_COMMAND2, T_CC_READ2, T_CC_MUTATION2, T_CC_TYPED2, T_CC_TYPED_READ2, T_CC_RAW2, T_QUERY_MATCH2, T_SECTION_CREATE2, T_SECTION_READ2, T_PARAGRAPH_MUTATION2, T_SECTION_MUTATION2, T_SECTION_SETTINGS_MUTATION2, T_HEADER_FOOTER_MUTATION2, T_STORY2, T_REF_READ_LIST2, T_REF_MUTATION2, T_REF_MUTATION_REMOVE2, T_REF_INSERT2, T_PROTECTION_READ2, T_PROTECTION_MUTATION2, T_PERM_RANGE_READ2, T_PERM_RANGE_MUTATION2, FORMAT_INLINE_ALIAS_OPERATION_DEFINITIONS2, OPERATION_DEFINITIONS2, OPERATION_IDS2, COMMAND_CATALOG3, PARAGRAPH_ALIGNMENTS2, TAB_STOP_ALIGNMENTS2, TAB_STOP_LEADERS2, BORDER_SIDES2, CLEAR_BORDER_SIDES2, LINE_RULES2, PARAGRAPH_DIRECTIONS2, ALIGNMENT_POLICIES2, PARAGRAPH_BLOCK_TYPES2, SET_STYLE_KEYS2, CLEAR_STYLE_KEYS2, RESET_DIRECT_FORMATTING_KEYS2, SET_ALIGNMENT_KEYS2, CLEAR_ALIGNMENT_KEYS2, SET_INDENTATION_KEYS2, CLEAR_INDENTATION_KEYS2, SET_SPACING_KEYS2, CLEAR_SPACING_KEYS2, SET_KEEP_OPTIONS_KEYS2, SET_OUTLINE_LEVEL_KEYS2, SET_FLOW_OPTIONS_KEYS2, SET_TAB_STOP_KEYS2, CLEAR_TAB_STOP_KEYS2, CLEAR_ALL_TAB_STOPS_KEYS2, SET_BORDER_KEYS2, CLEAR_BORDER_KEYS2, SET_SHADING_KEYS2, CLEAR_SHADING_KEYS2, SET_DIRECTION_KEYS2, CLEAR_DIRECTION_KEYS2, ST_ON_OFF_ON_VALUES2, ST_ON_OFF_OFF_VALUES2, ST_UNDERLINE_VALUES2, ST_UNDERLINE_VALUE_SET2, ST_VERTICAL_ALIGN_RUN2, ST_EM2, ST_TEXT_ALIGNMENT2, ST_TEXT_DIRECTION2, ST_TEXTBOX_TIGHT_WRAP2, ST_TEXT_TRANSFORM2, ST_JUSTIFICATION2, FONT_FAMILY_SCHEMA2, COLOR_SCHEMA2, SPACING_SCHEMA2, INDENT_SCHEMA2, UNDERLINE_SCHEMA2, BORDER_PROPERTIES_SCHEMA2, SHADING_SCHEMA2, LANG_SCHEMA2, EAST_ASIAN_LAYOUT_SCHEMA2, FIT_TEXT_SCHEMA2, NUMBERING_PROPERTIES_SCHEMA2, FRAME_PR_SCHEMA2, PARAGRAPH_BORDERS_SCHEMA2, TAB_STOP_SCHEMA2, PROPERTY_REGISTRY2, ALLOWED_KEYS_BY_CHANNEL2, PROPERTY_INDEX2, EXCLUDED_KEYS2, INPUT_ALLOWED_KEYS2, TARGET_ALLOWED_KEYS2, OPTIONS_ALLOWED_KEYS2, VALID_CHANNELS2, Z_ORDER_RELATIVE_HEIGHT_MAX2 = 4294967295, nodeTypeValues2, blockNodeTypeValues2, deletableBlockNodeTypeValues2, inlineNodeTypeValues2, rangeSchema2, textAddressSchema2, textTargetSchema2, blockNodeAddressSchema2, deletableBlockNodeAddressSchema2, tableAddressSchema2, tableRowAddressSchema2, tableCellAddressSchema2, tableOrCellAddressSchema2, paragraphAddressSchema2, headingAddressSchema2, listItemAddressSchema2, paragraphTargetSchema2, sectionAddressSchema2, nodeAddressSchema2, commentAddressSchema2, trackedChangeAddressSchema2, entityAddressSchema2, selectionTargetSchema2, deleteBehaviorSchema2, resolvedHandleSchema2, pageInfoSchema2, receiptSuccessSchema2, textMutationRangeSchema2, textMutationResolutionSchema2, textMutationSuccessSchema2, matchBlockSchema2, storyLocatorSchema2, trackChangeRefSchema2, createParagraphSuccessSchema2, createHeadingSuccessSchema2, headingLevelSchema2, listsInsertSuccessSchema2, listsMutateItemSuccessSchema2, textSelectorSchema2, nodeSelectorSchema2, sdMutationResolutionSchema2, sdMutationSuccessSchema2, documentInfoCountsSchema2, documentInfoOutlineItemSchema2, documentInfoCapabilitiesSchema2, documentStylesSchema2, documentDefaultsSchema2, listKindSchema2, listInsertPositionSchema2, sectionBreakTypeSchema2, sectionOrientationSchema2, sectionVerticalAlignSchema2, sectionDirectionSchema2, sectionHeaderFooterKindSchema2, sectionHeaderFooterVariantSchema2, sectionLineNumberRestartSchema2, sectionPageNumberFormatSchema2, sectionRangeDomainSchema2, sectionPageMarginsSchema2, sectionHeaderFooterMarginsSchema2, sectionPageSetupSchema2, sectionColumnsSchema2, sectionLineNumberingSchema2, sectionPageNumberingSchema2, sectionHeaderFooterRefsSchema2, sectionBorderSpecSchema2, sectionPageBordersSchema2, sectionMutationSuccessSchema2, documentMutationSuccessSchema2, paragraphMutationTargetSchema2, paragraphMutationSuccessSchema2, createSectionBreakSuccessSchema2, capabilityReasonsSchema2, capabilityFlagSchema2, operationRuntimeCapabilitySchema2, operationCapabilitiesSchema2, inlinePropertyCapabilitySchema2, formatCapabilitiesSchema2, planEngineCapabilitiesSchema2, nullableTableBorderSpecSchema2, sdFragmentSchema2, placementSchema2, nestingPolicySchema2, tableCreateLocationSchema2, formatInlineAliasOperationSchemas2, tocMutationFailureSchema2, tocMutationSuccessSchema2, tocEntryMutationFailureSchema2, tocEntryMutationSuccessSchema2, hyperlinkTargetSchema2, hyperlinkReadPropertiesSchema2, hyperlinkSpecSchema2, hyperlinkPatchSchema2, hyperlinkDomainSchema2, hyperlinkMutationSuccessSchema2, hyperlinkMutationFailureSchema2, contentControlTargetSchema2, contentControlMutationSuccessSchema2, contentControlMutationFailureSchema2, ccListResultSchema2, ccInfoSchema2, refFailureSchema2, bookmarkAddressSchema2, bookmarkMutation2, footnoteAddressSchema2, footnoteConfigScopeSchema2, footnoteNumberingSchema2, footnoteMutation2, footnoteConfig2, crossRefAddressSchema2, crossRefTargetSchema2, crossRefDisplaySchema2, crossRefMutation2, indexAddressSchema2, indexEntryAddressSchema2, indexConfigSchema2, indexEntryDataSchema2, indexEntryPatchSchema2, indexMutation2, indexEntryMutation2, captionAddressSchema2, captionMutation2, captionConfig2, fieldAddressSchema2, fieldMutation2, citationAddressSchema2, citationSourceAddressSchema2, bibliographyAddressSchema2, citationMutation2, citationSourceMutation2, bibliographyMutation2, citationPersonSchema2, citationSourceFieldsSchema2, tocCreateLocationSchema2, authoritiesAddressSchema2, authorityEntryAddressSchema2, authoritiesConfigSchema2, authorityEntryDataSchema2, authorityEntryPatchSchema2, authoritiesMutation2, authorityEntryMutation2, diffCoverageSchema2, diffSummarySchema2, diffSnapshotSchema2, diffPayloadSchema2, GROUP_METADATA2, STEP_OP_CATALOG_UNFROZEN2, PUBLIC_STEP_OP_CATALOG_UNFROZEN2, PUBLIC_MUTATION_STEP_OP_IDS2, PUBLIC_MUTATION_STEP_OP_SET2, CAPABILITY_REASON_CODES, VALID_EDGE_VALUES2, VALID_EDGE_NODE_TYPES2, VALID_DOCUMENT_EDGES2, VALID_REF_BOUNDARIES2, VALID_ANCHOR_KINDS2, RESOLVE_RANGE_ALLOWED_KEYS2, CREATE_COMMENT_ALLOWED_KEYS2, PATCH_COMMENT_ALLOWED_KEYS2, STYLE_APPLY_INPUT_ALLOWED_KEYS2, INLINE_ALIAS_INPUT_ALLOWED_KEYS2, DELETE_INPUT_ALLOWED_KEYS2, VALID_BEHAVIORS2, CONTENT_KIND_SET2, INLINE_KIND_SET2, LEGACY_TOP_LEVEL_TYPES2, TEXT_INSERT_ALLOWED_KEYS2, STRUCTURAL_INSERT_ALLOWED_KEYS2, VALID_INSERT_TYPES2, LIST_KINDS2, LIST_INSERT_POSITIONS2, JOIN_DIRECTIONS2, MUTATION_SCOPES2, LEVEL_ALIGNMENTS2, TRAILING_CHARACTERS2, LIST_PRESET_IDS2, VALID_BLOCK_NODE_TYPES$1, VALID_LIST_KINDS2, VALID_INSERT_POSITIONS2, VALID_JOIN_DIRECTIONS2, VALID_MUTATION_SCOPES2, VALID_LEVEL_ALIGNMENTS2, VALID_TRAILING_CHARACTERS2, VALID_LIST_PRESETS2, VALID_CONTINUITY_VALUES2, VALID_SEQUENCE_MODES2, VALID_LIST_CREATE_MODES2, TEXT_REPLACE_ALLOWED_KEYS2, STRUCTURAL_REPLACE_ALLOWED_KEYS2, VALID_HEADING_LEVELS2, SECTION_BREAK_TYPES$1, SUPPORTED_DELETE_NODE_TYPES2, REJECTED_DELETE_NODE_TYPES2, VALID_BLOCK_NODE_TYPES3, SNAPSHOT_VERSIONS2, PAYLOAD_VERSIONS2, VALID_STYLE_OPTION_FLAGS2, TABLE_BORDER_COLOR_PATTERN2, VALID_APPLY_TO_VALUES2, VALID_BORDER_EDGE_KEYS2, HEADER_FOOTER_KINDS$1, HEADER_FOOTER_VARIANTS$1, DEFAULT_SECTIONS_LIST_LIMIT2 = 250, SECTION_BREAK_TYPES3, SECTION_ORIENTATIONS2, SECTION_VERTICAL_ALIGNS2, SECTION_DIRECTIONS2, HEADER_FOOTER_KINDS3, HEADER_FOOTER_VARIANTS3, LINE_NUMBER_RESTARTS2, PAGE_NUMBER_FORMATS2, PAGE_BORDER_DISPLAYS2, PAGE_BORDER_OFFSET_FROM_VALUES2, PAGE_BORDER_Z_ORDER_VALUES2, VALID_WRAP_TYPES2, VALID_WRAP_SIDES2, VALID_IMAGE_SIZE_UNITS2, VALID_TOC_UPDATE_MODES2, EDIT_ENTRY_PATCH_ALLOWED_KEYS2, PATCH_FIELDS2, CONTENT_CONTROL_TYPES2, LOCK_MODES2, CONTENT_CONTROL_APPEARANCES2, VALID_NODE_KINDS2, VALID_LOCK_MODES$1, VALID_CC_TYPES2, VALID_CC_APPEARANCES2, VALID_CONTENT_FORMATS2, VALID_RAW_PATCH_OPS2, VALID_SET_MODES2, VALID_CREATE_LOCATION_KINDS2, DEFAULT_PROTECTION_STATE, ADAPTER_GATED_PREFIXES2, _buffers, _defaultCollectionId = null, _nextCollectionId = 1, generateV2HandlerEntity = (handlerName, translator$216) => ({
|
|
103141
|
+
}), INLINE_PROPERTY_REGISTRY2, INLINE_PROPERTY_KEY_SET2, INLINE_PROPERTY_BY_KEY2, UNDERLINE_OBJECT_ALLOWED_KEYS2, SHADING_ALLOWED_KEYS2, BORDER_ALLOWED_KEYS2, FIT_TEXT_ALLOWED_KEYS2, LANG_ALLOWED_KEYS2, RFONTS_ALLOWED_KEYS2, EAST_ASIAN_LAYOUT_ALLOWED_KEYS2, STYLISTIC_SET_ALLOWED_KEYS2, VERT_ALIGN_VALUES2, PROPERTY_VALIDATOR_MAP2, NONE_FAILURES2, NONE_THROWS2, T_NOT_FOUND2, T_NOT_FOUND_CAPABLE2, T_PLAN_ENGINE2, T_NOT_FOUND_COMMAND2, T_IMAGE_COMMAND2, T_CC_READ2, T_CC_MUTATION2, T_CC_TYPED2, T_CC_TYPED_READ2, T_CC_RAW2, T_QUERY_MATCH2, T_SECTION_CREATE2, T_SECTION_READ2, T_PARAGRAPH_MUTATION2, T_SECTION_MUTATION2, T_SECTION_SETTINGS_MUTATION2, T_HEADER_FOOTER_MUTATION2, T_STORY2, T_REF_READ_LIST2, T_REF_MUTATION2, T_REF_MUTATION_REMOVE2, T_REF_INSERT2, T_PROTECTION_READ2, T_PROTECTION_MUTATION2, T_PERM_RANGE_READ2, T_PERM_RANGE_MUTATION2, FORMAT_INLINE_ALIAS_OPERATION_DEFINITIONS2, OPERATION_DEFINITIONS2, OPERATION_IDS2, COMMAND_CATALOG3, PARAGRAPH_ALIGNMENTS2, TAB_STOP_ALIGNMENTS2, TAB_STOP_LEADERS2, BORDER_SIDES2, CLEAR_BORDER_SIDES2, LINE_RULES2, PARAGRAPH_DIRECTIONS2, ALIGNMENT_POLICIES2, PARAGRAPH_BLOCK_TYPES2, SET_STYLE_KEYS2, CLEAR_STYLE_KEYS2, RESET_DIRECT_FORMATTING_KEYS2, SET_ALIGNMENT_KEYS2, CLEAR_ALIGNMENT_KEYS2, SET_INDENTATION_KEYS2, CLEAR_INDENTATION_KEYS2, SET_SPACING_KEYS2, CLEAR_SPACING_KEYS2, SET_KEEP_OPTIONS_KEYS2, SET_OUTLINE_LEVEL_KEYS2, SET_FLOW_OPTIONS_KEYS2, SET_TAB_STOP_KEYS2, CLEAR_TAB_STOP_KEYS2, CLEAR_ALL_TAB_STOPS_KEYS2, SET_BORDER_KEYS2, CLEAR_BORDER_KEYS2, SET_SHADING_KEYS2, CLEAR_SHADING_KEYS2, SET_DIRECTION_KEYS2, CLEAR_DIRECTION_KEYS2, ST_ON_OFF_ON_VALUES2, ST_ON_OFF_OFF_VALUES2, ST_UNDERLINE_VALUES2, ST_UNDERLINE_VALUE_SET2, ST_VERTICAL_ALIGN_RUN2, ST_EM2, ST_TEXT_ALIGNMENT2, ST_TEXT_DIRECTION2, ST_TEXTBOX_TIGHT_WRAP2, ST_TEXT_TRANSFORM2, ST_JUSTIFICATION2, FONT_FAMILY_SCHEMA2, COLOR_SCHEMA2, SPACING_SCHEMA2, INDENT_SCHEMA2, UNDERLINE_SCHEMA2, BORDER_PROPERTIES_SCHEMA2, SHADING_SCHEMA2, LANG_SCHEMA2, EAST_ASIAN_LAYOUT_SCHEMA2, FIT_TEXT_SCHEMA2, NUMBERING_PROPERTIES_SCHEMA2, FRAME_PR_SCHEMA2, PARAGRAPH_BORDERS_SCHEMA2, TAB_STOP_SCHEMA2, PROPERTY_REGISTRY2, ALLOWED_KEYS_BY_CHANNEL2, PROPERTY_INDEX2, EXCLUDED_KEYS2, INPUT_ALLOWED_KEYS2, TARGET_ALLOWED_KEYS2, OPTIONS_ALLOWED_KEYS2, VALID_CHANNELS2, Z_ORDER_RELATIVE_HEIGHT_MAX2 = 4294967295, nodeTypeValues2, blockNodeTypeValues2, deletableBlockNodeTypeValues2, inlineNodeTypeValues2, rangeSchema2, textAddressSchema2, textTargetSchema2, blockNodeAddressSchema2, deletableBlockNodeAddressSchema2, tableAddressSchema2, tableRowAddressSchema2, tableCellAddressSchema2, tableOrCellAddressSchema2, paragraphAddressSchema2, headingAddressSchema2, listItemAddressSchema2, paragraphTargetSchema2, sectionAddressSchema2, nodeAddressSchema2, commentAddressSchema2, trackedChangeAddressSchema2, entityAddressSchema2, selectionTargetSchema2, deleteBehaviorSchema2, resolvedHandleSchema2, pageInfoSchema2, receiptSuccessSchema2, textMutationRangeSchema2, textMutationResolutionSchema2, textMutationSuccessSchema2, matchBlockSchema2, storyLocatorSchema2, trackChangeRefSchema2, createParagraphSuccessSchema2, createHeadingSuccessSchema2, headingLevelSchema2, listsInsertSuccessSchema2, listsMutateItemSuccessSchema2, textSelectorSchema2, nodeSelectorSchema2, sdMutationResolutionSchema2, sdMutationSuccessSchema2, documentInfoCountsSchema2, documentInfoOutlineItemSchema2, documentInfoCapabilitiesSchema2, documentStylesSchema2, documentDefaultsSchema2, listKindSchema2, listInsertPositionSchema2, sectionBreakTypeSchema2, sectionOrientationSchema2, sectionVerticalAlignSchema2, sectionDirectionSchema2, sectionHeaderFooterKindSchema2, sectionHeaderFooterVariantSchema2, sectionLineNumberRestartSchema2, sectionPageNumberFormatSchema2, sectionRangeDomainSchema2, sectionPageMarginsSchema2, sectionHeaderFooterMarginsSchema2, sectionPageSetupSchema2, sectionColumnsSchema2, sectionLineNumberingSchema2, sectionPageNumberingSchema2, sectionHeaderFooterRefsSchema2, sectionBorderSpecSchema2, sectionPageBordersSchema2, sectionMutationSuccessSchema2, documentMutationSuccessSchema2, paragraphMutationTargetSchema2, paragraphMutationSuccessSchema2, createSectionBreakSuccessSchema2, trackChangeWordRevisionIdsSchema2, capabilityReasonsSchema2, capabilityFlagSchema2, operationRuntimeCapabilitySchema2, operationCapabilitiesSchema2, inlinePropertyCapabilitySchema2, formatCapabilitiesSchema2, planEngineCapabilitiesSchema2, nullableTableBorderSpecSchema2, sdFragmentSchema2, placementSchema2, nestingPolicySchema2, tableCreateLocationSchema2, formatInlineAliasOperationSchemas2, tocMutationFailureSchema2, tocMutationSuccessSchema2, tocEntryMutationFailureSchema2, tocEntryMutationSuccessSchema2, hyperlinkTargetSchema2, hyperlinkReadPropertiesSchema2, hyperlinkSpecSchema2, hyperlinkPatchSchema2, hyperlinkDomainSchema2, hyperlinkMutationSuccessSchema2, hyperlinkMutationFailureSchema2, contentControlTargetSchema2, contentControlMutationSuccessSchema2, contentControlMutationFailureSchema2, ccListResultSchema2, ccInfoSchema2, refFailureSchema2, bookmarkAddressSchema2, bookmarkMutation2, footnoteAddressSchema2, footnoteConfigScopeSchema2, footnoteNumberingSchema2, footnoteMutation2, footnoteConfig2, crossRefAddressSchema2, crossRefTargetSchema2, crossRefDisplaySchema2, crossRefMutation2, indexAddressSchema2, indexEntryAddressSchema2, indexConfigSchema2, indexEntryDataSchema2, indexEntryPatchSchema2, indexMutation2, indexEntryMutation2, captionAddressSchema2, captionMutation2, captionConfig2, fieldAddressSchema2, fieldMutation2, citationAddressSchema2, citationSourceAddressSchema2, bibliographyAddressSchema2, citationMutation2, citationSourceMutation2, bibliographyMutation2, citationPersonSchema2, citationSourceFieldsSchema2, tocCreateLocationSchema2, authoritiesAddressSchema2, authorityEntryAddressSchema2, authoritiesConfigSchema2, authorityEntryDataSchema2, authorityEntryPatchSchema2, authoritiesMutation2, authorityEntryMutation2, diffCoverageSchema2, diffSummarySchema2, diffSnapshotSchema2, diffPayloadSchema2, GROUP_METADATA2, STEP_OP_CATALOG_UNFROZEN2, PUBLIC_STEP_OP_CATALOG_UNFROZEN2, PUBLIC_MUTATION_STEP_OP_IDS2, PUBLIC_MUTATION_STEP_OP_SET2, CAPABILITY_REASON_CODES, VALID_EDGE_VALUES2, VALID_EDGE_NODE_TYPES2, VALID_DOCUMENT_EDGES2, VALID_REF_BOUNDARIES2, VALID_ANCHOR_KINDS2, RESOLVE_RANGE_ALLOWED_KEYS2, CREATE_COMMENT_ALLOWED_KEYS2, PATCH_COMMENT_ALLOWED_KEYS2, STYLE_APPLY_INPUT_ALLOWED_KEYS2, INLINE_ALIAS_INPUT_ALLOWED_KEYS2, DELETE_INPUT_ALLOWED_KEYS2, VALID_BEHAVIORS2, CONTENT_KIND_SET2, INLINE_KIND_SET2, LEGACY_TOP_LEVEL_TYPES2, TEXT_INSERT_ALLOWED_KEYS2, STRUCTURAL_INSERT_ALLOWED_KEYS2, VALID_INSERT_TYPES2, LIST_KINDS2, LIST_INSERT_POSITIONS2, JOIN_DIRECTIONS2, MUTATION_SCOPES2, LEVEL_ALIGNMENTS2, TRAILING_CHARACTERS2, LIST_PRESET_IDS2, VALID_BLOCK_NODE_TYPES$1, VALID_LIST_KINDS2, VALID_INSERT_POSITIONS2, VALID_JOIN_DIRECTIONS2, VALID_MUTATION_SCOPES2, VALID_LEVEL_ALIGNMENTS2, VALID_TRAILING_CHARACTERS2, VALID_LIST_PRESETS2, VALID_CONTINUITY_VALUES2, VALID_SEQUENCE_MODES2, VALID_LIST_CREATE_MODES2, TEXT_REPLACE_ALLOWED_KEYS2, STRUCTURAL_REPLACE_ALLOWED_KEYS2, VALID_HEADING_LEVELS2, SECTION_BREAK_TYPES$1, SUPPORTED_DELETE_NODE_TYPES2, REJECTED_DELETE_NODE_TYPES2, VALID_BLOCK_NODE_TYPES3, SNAPSHOT_VERSIONS2, PAYLOAD_VERSIONS2, VALID_STYLE_OPTION_FLAGS2, TABLE_BORDER_COLOR_PATTERN2, VALID_APPLY_TO_VALUES2, VALID_BORDER_EDGE_KEYS2, HEADER_FOOTER_KINDS$1, HEADER_FOOTER_VARIANTS$1, DEFAULT_SECTIONS_LIST_LIMIT2 = 250, SECTION_BREAK_TYPES3, SECTION_ORIENTATIONS2, SECTION_VERTICAL_ALIGNS2, SECTION_DIRECTIONS2, HEADER_FOOTER_KINDS3, HEADER_FOOTER_VARIANTS3, LINE_NUMBER_RESTARTS2, PAGE_NUMBER_FORMATS2, PAGE_BORDER_DISPLAYS2, PAGE_BORDER_OFFSET_FROM_VALUES2, PAGE_BORDER_Z_ORDER_VALUES2, VALID_WRAP_TYPES2, VALID_WRAP_SIDES2, VALID_IMAGE_SIZE_UNITS2, VALID_TOC_UPDATE_MODES2, EDIT_ENTRY_PATCH_ALLOWED_KEYS2, PATCH_FIELDS2, CONTENT_CONTROL_TYPES2, LOCK_MODES2, CONTENT_CONTROL_APPEARANCES2, VALID_NODE_KINDS2, VALID_LOCK_MODES$1, VALID_CC_TYPES2, VALID_CC_APPEARANCES2, VALID_CONTENT_FORMATS2, VALID_RAW_PATCH_OPS2, VALID_SET_MODES2, VALID_CREATE_LOCATION_KINDS2, DEFAULT_PROTECTION_STATE, ADAPTER_GATED_PREFIXES2, _buffers, _defaultCollectionId = null, _nextCollectionId = 1, generateV2HandlerEntity = (handlerName, translator$216) => ({
|
|
103098
103142
|
handlerName,
|
|
103099
103143
|
handler: (params3) => {
|
|
103100
103144
|
const { nodes } = params3;
|
|
@@ -103658,7 +103702,7 @@ var isRegExp = (value) => {
|
|
|
103658
103702
|
type: "element",
|
|
103659
103703
|
name: "w:rPrChange",
|
|
103660
103704
|
attributes: {
|
|
103661
|
-
"w:id": trackFormatMark.attrs?.id,
|
|
103705
|
+
"w:id": trackFormatMark.attrs?.sourceId || trackFormatMark.attrs?.id,
|
|
103662
103706
|
"w:author": trackFormatMark.attrs?.author,
|
|
103663
103707
|
"w:authorEmail": trackFormatMark.attrs?.authorEmail,
|
|
103664
103708
|
"w:date": trackFormatMark.attrs?.date
|
|
@@ -117452,7 +117496,7 @@ var isRegExp = (value) => {
|
|
|
117452
117496
|
state.kern = kernNode.attributes["w:val"];
|
|
117453
117497
|
}
|
|
117454
117498
|
}, SuperConverter;
|
|
117455
|
-
var
|
|
117499
|
+
var init_SuperConverter_DSmNz8oe_es = __esm(() => {
|
|
117456
117500
|
init_rolldown_runtime_Bg48TavK_es();
|
|
117457
117501
|
init_jszip_C49i9kUs_es();
|
|
117458
117502
|
init_xml_js_CqGKpaft_es();
|
|
@@ -122349,7 +122393,7 @@ var init_SuperConverter_D0RwvY4d_es = __esm(() => {
|
|
|
122349
122393
|
"trackChanges.list": {
|
|
122350
122394
|
memberPath: "trackChanges.list",
|
|
122351
122395
|
description: "List all tracked changes in the document.",
|
|
122352
|
-
expectedResult: "Returns a TrackChangesListResult with
|
|
122396
|
+
expectedResult: "Returns a TrackChangesListResult with tracked change entries, total count, and raw imported Word OOXML revision IDs (`w:id`) when available.",
|
|
122353
122397
|
requiresDocumentContext: true,
|
|
122354
122398
|
metadata: readOperation2({
|
|
122355
122399
|
idempotency: "idempotent",
|
|
@@ -122363,7 +122407,7 @@ var init_SuperConverter_D0RwvY4d_es = __esm(() => {
|
|
|
122363
122407
|
"trackChanges.get": {
|
|
122364
122408
|
memberPath: "trackChanges.get",
|
|
122365
122409
|
description: "Retrieve a single tracked change by ID.",
|
|
122366
|
-
expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, and
|
|
122410
|
+
expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, affected content, and raw imported Word OOXML revision IDs (`w:id`) when available.",
|
|
122367
122411
|
requiresDocumentContext: true,
|
|
122368
122412
|
metadata: readOperation2({
|
|
122369
122413
|
idempotency: "idempotent",
|
|
@@ -127581,6 +127625,23 @@ var init_SuperConverter_D0RwvY4d_es = __esm(() => {
|
|
|
127581
127625
|
creatorName: { type: "string" },
|
|
127582
127626
|
creatorEmail: { type: "string" }
|
|
127583
127627
|
}, ["address", "status"]));
|
|
127628
|
+
trackChangeWordRevisionIdsSchema2 = {
|
|
127629
|
+
...objectSchema2({
|
|
127630
|
+
insert: {
|
|
127631
|
+
type: "string",
|
|
127632
|
+
description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:ins>` element when this logical change includes an insertion."
|
|
127633
|
+
},
|
|
127634
|
+
delete: {
|
|
127635
|
+
type: "string",
|
|
127636
|
+
description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:del>` element when this logical change includes a deletion."
|
|
127637
|
+
},
|
|
127638
|
+
format: {
|
|
127639
|
+
type: "string",
|
|
127640
|
+
description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:rPrChange>` element when this logical change includes a formatting revision."
|
|
127641
|
+
}
|
|
127642
|
+
}),
|
|
127643
|
+
description: "Raw imported Word OOXML revision IDs (`w:id`) from the source document when available. This is provenance metadata, not the canonical SuperDoc tracked-change ID. Replacements may include both `insert` and `delete` IDs."
|
|
127644
|
+
};
|
|
127584
127645
|
objectSchema2({
|
|
127585
127646
|
address: trackedChangeAddressSchema2,
|
|
127586
127647
|
id: { type: "string" },
|
|
@@ -127589,6 +127650,7 @@ var init_SuperConverter_D0RwvY4d_es = __esm(() => {
|
|
|
127589
127650
|
"delete",
|
|
127590
127651
|
"format"
|
|
127591
127652
|
] },
|
|
127653
|
+
wordRevisionIds: trackChangeWordRevisionIdsSchema2,
|
|
127592
127654
|
author: { type: "string" },
|
|
127593
127655
|
authorEmail: { type: "string" },
|
|
127594
127656
|
authorImage: { type: "string" },
|
|
@@ -127606,6 +127668,7 @@ var init_SuperConverter_D0RwvY4d_es = __esm(() => {
|
|
|
127606
127668
|
"delete",
|
|
127607
127669
|
"format"
|
|
127608
127670
|
] },
|
|
127671
|
+
wordRevisionIds: trackChangeWordRevisionIdsSchema2,
|
|
127609
127672
|
author: { type: "string" },
|
|
127610
127673
|
authorEmail: { type: "string" },
|
|
127611
127674
|
authorImage: { type: "string" },
|
|
@@ -154525,7 +154588,7 @@ var init_SuperConverter_D0RwvY4d_es = __esm(() => {
|
|
|
154525
154588
|
};
|
|
154526
154589
|
});
|
|
154527
154590
|
|
|
154528
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
154591
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-Ciy4oezR.es.js
|
|
154529
154592
|
function parseSizeUnit(val = "0") {
|
|
154530
154593
|
const length3 = val.toString() || "0";
|
|
154531
154594
|
const value = Number.parseFloat(length3);
|
|
@@ -156061,8 +156124,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
|
|
|
156061
156124
|
return false;
|
|
156062
156125
|
return Boolean(checker(attrs));
|
|
156063
156126
|
};
|
|
156064
|
-
var
|
|
156065
|
-
|
|
156127
|
+
var init_create_headless_toolbar_Ciy4oezR_es = __esm(() => {
|
|
156128
|
+
init_SuperConverter_DSmNz8oe_es();
|
|
156066
156129
|
init_constants_5yyN6FZg_es();
|
|
156067
156130
|
init_dist_B8HfvhaK_es();
|
|
156068
156131
|
CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
|
|
@@ -204500,7 +204563,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
204500
204563
|
init_remark_gfm_BhnWr3yf_es();
|
|
204501
204564
|
});
|
|
204502
204565
|
|
|
204503
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
204566
|
+
// ../../packages/superdoc/dist/chunks/src-D0dZmrnp.es.js
|
|
204504
204567
|
function deleteProps(obj, propOrProps) {
|
|
204505
204568
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
204506
204569
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -226557,6 +226620,18 @@ function paragraphsClearDirectionWrapper(editor, input2, options) {
|
|
|
226557
226620
|
return result;
|
|
226558
226621
|
}, options);
|
|
226559
226622
|
}
|
|
226623
|
+
function normalizeWordRevisionIds(wordRevisionIds) {
|
|
226624
|
+
if (!wordRevisionIds)
|
|
226625
|
+
return;
|
|
226626
|
+
const normalized = {};
|
|
226627
|
+
if (wordRevisionIds.insert)
|
|
226628
|
+
normalized.insert = wordRevisionIds.insert;
|
|
226629
|
+
if (wordRevisionIds.delete)
|
|
226630
|
+
normalized.delete = wordRevisionIds.delete;
|
|
226631
|
+
if (wordRevisionIds.format)
|
|
226632
|
+
normalized.format = wordRevisionIds.format;
|
|
226633
|
+
return Object.keys(normalized).length > 0 ? normalized : undefined;
|
|
226634
|
+
}
|
|
226560
226635
|
function buildTrackChangeInfo(editor, change) {
|
|
226561
226636
|
const excerpt = normalizeExcerpt(editor.state.doc.textBetween(change.from, change.to, " ", ""));
|
|
226562
226637
|
const type = resolveTrackedChangeType(change);
|
|
@@ -226568,6 +226643,7 @@ function buildTrackChangeInfo(editor, change) {
|
|
|
226568
226643
|
},
|
|
226569
226644
|
id: change.id,
|
|
226570
226645
|
type,
|
|
226646
|
+
wordRevisionIds: normalizeWordRevisionIds(change.wordRevisionIds),
|
|
226571
226647
|
author: toNonEmptyString(change.attrs.author),
|
|
226572
226648
|
authorEmail: toNonEmptyString(change.attrs.authorEmail),
|
|
226573
226649
|
authorImage: toNonEmptyString(change.attrs.authorImage),
|
|
@@ -226604,10 +226680,11 @@ function trackChangesListWrapper(editor, input2) {
|
|
|
226604
226680
|
const items = paged.items.map((change) => {
|
|
226605
226681
|
const info = buildTrackChangeInfo(editor, change);
|
|
226606
226682
|
const handle3 = buildResolvedHandle(`tc:${info.id}`, "stable", "trackedChange");
|
|
226607
|
-
const { address: address2, type, author, authorEmail, authorImage, date, excerpt } = info;
|
|
226683
|
+
const { address: address2, type, wordRevisionIds, author, authorEmail, authorImage, date, excerpt } = info;
|
|
226608
226684
|
return buildDiscoveryItem(info.id, handle3, {
|
|
226609
226685
|
address: address2,
|
|
226610
226686
|
type,
|
|
226687
|
+
wordRevisionIds,
|
|
226611
226688
|
author,
|
|
226612
226689
|
authorEmail,
|
|
226613
226690
|
authorImage,
|
|
@@ -268987,6 +269064,7 @@ var Node$13 = class Node$14 {
|
|
|
268987
269064
|
if (after2.length || before2.length) {
|
|
268988
269065
|
const newFormatMark = state.schema.marks[TrackFormatMarkName].create({
|
|
268989
269066
|
id: wid,
|
|
269067
|
+
sourceId: formatChangeMark?.attrs?.sourceId || "",
|
|
268990
269068
|
author: user.name,
|
|
268991
269069
|
authorEmail: user.email,
|
|
268992
269070
|
authorImage: user.image,
|
|
@@ -269055,6 +269133,7 @@ var Node$13 = class Node$14 {
|
|
|
269055
269133
|
if (after2.length || before2.length) {
|
|
269056
269134
|
const newFormatMark = state.schema.marks[TrackFormatMarkName].create({
|
|
269057
269135
|
id: formatChangeMark ? formatChangeMark.attrs.id : sharedWid ?? (sharedWid = v4_default()),
|
|
269136
|
+
sourceId: formatChangeMark?.attrs?.sourceId || "",
|
|
269058
269137
|
author: user.name,
|
|
269059
269138
|
authorEmail: user.email,
|
|
269060
269139
|
authorImage: user.image,
|
|
@@ -286881,12 +286960,12 @@ var Node$13 = class Node$14 {
|
|
|
286881
286960
|
return;
|
|
286882
286961
|
console.log(...args$1);
|
|
286883
286962
|
}, 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;
|
|
286884
|
-
var
|
|
286963
|
+
var init_src_D0dZmrnp_es = __esm(() => {
|
|
286885
286964
|
init_rolldown_runtime_Bg48TavK_es();
|
|
286886
|
-
|
|
286965
|
+
init_SuperConverter_DSmNz8oe_es();
|
|
286887
286966
|
init_jszip_C49i9kUs_es();
|
|
286888
286967
|
init_uuid_qzgm05fK_es();
|
|
286889
|
-
|
|
286968
|
+
init_create_headless_toolbar_Ciy4oezR_es();
|
|
286890
286969
|
init_constants_5yyN6FZg_es();
|
|
286891
286970
|
init_dist_B8HfvhaK_es();
|
|
286892
286971
|
init_unified_Dsuw2be5_es();
|
|
@@ -303383,6 +303462,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
303383
303462
|
return { "data-after": JSON.stringify(attrs.after) };
|
|
303384
303463
|
}
|
|
303385
303464
|
},
|
|
303465
|
+
sourceId: {
|
|
303466
|
+
default: "",
|
|
303467
|
+
rendered: false
|
|
303468
|
+
},
|
|
303386
303469
|
importedAuthor: {
|
|
303387
303470
|
default: "",
|
|
303388
303471
|
rendered: false
|
|
@@ -321359,11 +321442,11 @@ var init_zipper_DbkgrypV_es = __esm(() => {
|
|
|
321359
321442
|
|
|
321360
321443
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
321361
321444
|
var init_super_editor_es = __esm(() => {
|
|
321362
|
-
|
|
321363
|
-
|
|
321445
|
+
init_src_D0dZmrnp_es();
|
|
321446
|
+
init_SuperConverter_DSmNz8oe_es();
|
|
321364
321447
|
init_jszip_C49i9kUs_es();
|
|
321365
321448
|
init_xml_js_CqGKpaft_es();
|
|
321366
|
-
|
|
321449
|
+
init_create_headless_toolbar_Ciy4oezR_es();
|
|
321367
321450
|
init_constants_5yyN6FZg_es();
|
|
321368
321451
|
init_dist_B8HfvhaK_es();
|
|
321369
321452
|
init_unified_Dsuw2be5_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.5.0-next.
|
|
3
|
+
"version": "0.5.0-next.64",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
|
-
"@superdoc/pm-adapter": "0.0.0",
|
|
29
28
|
"@superdoc/super-editor": "0.0.1",
|
|
29
|
+
"@superdoc/pm-adapter": "0.0.0",
|
|
30
30
|
"superdoc": "1.24.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.5.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.5.0-next.
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.64",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.64",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.64",
|
|
40
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.64",
|
|
41
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.64"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|