@stll/folio-core 0.74.0 → 0.76.0
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/ai-edits/clean-text.d.ts +4 -1
- package/dist/ai-edits/clean-text.js +21 -7
- package/dist/ai-edits/headless.d.ts +7 -3
- package/dist/ai-edits/headless.js +36 -21
- package/dist/ai-edits/note-references.d.ts +1 -1
- package/dist/ai-edits/note-references.js +1 -1
- package/dist/ai-edits/pending-suggestions.d.ts +9 -7
- package/dist/ai-edits/pending-suggestions.js +135 -90
- package/dist/ai-edits/pendingJoin.d.ts +5 -1
- package/dist/ai-edits/pendingJoin.js +6 -2
- package/dist/ai-edits/read.js +9 -3
- package/dist/ai-edits/retired-comment-receipts.d.ts +2 -2
- package/dist/ai-edits/retired-comment-receipts.js +3 -18
- package/dist/ai-edits/tracked-batch-fidelity.d.ts +6 -10
- package/dist/ai-edits/tracked-batch-fidelity.js +3 -182
- package/dist/ai-edits/types.d.ts +9 -4
- package/dist/canonical/batchCommentReferences.js +2 -1
- package/dist/canonical/canonicalBatchReview.d.ts +4 -1
- package/dist/canonical/canonicalBatchReview.js +37 -22
- package/dist/canonical/canonicalComments.d.ts +6 -2
- package/dist/canonical/canonicalComments.js +16 -6
- package/dist/canonical/canonicalCompilerRefusal.d.ts +2 -4
- package/dist/canonical/canonicalCompilerRefusal.js +20 -14
- package/dist/canonical/canonicalPublicOperations.js +231 -79
- package/dist/canonical/canonicalRefusalGrounds.d.ts +4 -0
- package/dist/canonical/canonicalRefusalGrounds.js +56 -0
- package/dist/canonical/canonicalSession.d.ts +12 -6
- package/dist/canonical/canonicalSession.js +119 -122
- package/dist/canonical/canonicalTrackedBatchFidelity.js +3 -3
- package/dist/compare/inline-atoms.d.ts +35 -41
- package/dist/compare/inline-atoms.js +2 -465
- package/dist/compare/section-boundary-properties.d.ts +3 -30
- package/dist/compare/section-boundary-properties.js +4 -72
- package/dist/controller/canonicalClipboard.d.ts +1 -1
- package/dist/controller/canonicalClipboard.js +110 -55
- package/dist/controller/canonicalComposition.d.ts +1 -1
- package/dist/controller/canonicalComposition.js +5 -5
- package/dist/controller/canonicalContentControlValue.js +7 -7
- package/dist/controller/canonicalInput.d.ts +4 -2
- package/dist/controller/canonicalInput.js +33 -16
- package/dist/controller/canonicalReview.d.ts +21 -0
- package/dist/controller/canonicalReview.js +44 -9
- package/dist/controller/canonicalStoryEditor.d.ts +2 -3
- package/dist/controller/canonicalStoryEditor.js +43 -25
- package/dist/controller/canonicalStructure.d.ts +19 -3
- package/dist/controller/canonicalStructure.js +182 -58
- package/dist/controller/deferredDisplayListPainter.d.ts +8 -0
- package/dist/controller/deferredDisplayListPainter.js +34 -0
- package/dist/controller/folioEditor.js +4 -2
- package/dist/controller/fontReadiness.js +50 -23
- package/dist/controller/headerFooterEditorManager.js +3 -17
- package/dist/controller/hiddenEditorApi.d.ts +24 -3
- package/dist/controller/hiddenEditorApi.js +2 -0
- package/dist/controller/hiddenEditorManager.js +135 -207
- package/dist/controller/layoutPipeline.d.ts +4 -86
- package/dist/controller/layoutPipeline.js +8 -727
- package/dist/controller/layoutPipelineExecution.d.ts +94 -0
- package/dist/controller/layoutPipelineExecution.js +730 -0
- package/dist/controller/noteEditorManager.js +3 -16
- package/dist/docx/blockContentParser.d.ts +1 -3
- package/dist/docx/blockContentParser.js +3 -10
- package/dist/docx/bulletMarkers.d.ts +8 -0
- package/dist/docx/bulletMarkers.js +9 -1
- package/dist/docx/canonicalSave.d.ts +4 -3
- package/dist/docx/canonicalSave.js +4 -3
- package/dist/docx/canonicalSessionInput.js +25 -11
- package/dist/docx/ensureParaIds.d.ts +31 -0
- package/dist/docx/ensureParaIds.js +57 -32
- package/dist/docx/ensureUniqueControlIds.d.ts +13 -0
- package/dist/docx/ensureUniqueControlIds.js +47 -29
- package/dist/docx/ensureUniqueRevisionIds.d.ts +13 -0
- package/dist/docx/ensureUniqueRevisionIds.js +52 -29
- package/dist/docx/listMarkerComputation.d.ts +24 -17
- package/dist/docx/listMarkerComputation.js +31 -60
- package/dist/docx/listModelNormalization.js +8 -15
- package/dist/docx/rezip.d.ts +16 -3
- package/dist/docx/rezip.js +35 -9
- package/dist/docx/selectiveSave.js +13 -5
- package/dist/docx/server/templatePlan/apply.js +96 -7
- package/dist/docx/server/templatePlan/blocks.d.ts +70 -3
- package/dist/docx/server/templatePlan/blocks.js +272 -10
- package/dist/docx/server/templatePlan/builders.d.ts +52 -2
- package/dist/docx/server/templatePlan/builders.js +224 -5
- package/dist/docx/server/templatePlan/effects.d.ts +27 -0
- package/dist/docx/server/templatePlan/effects.js +188 -0
- package/dist/docx/server/templatePlan/emit.d.ts +4 -1
- package/dist/docx/server/templatePlan/emit.js +46 -2
- package/dist/docx/server/templatePlan/inspect.js +39 -52
- package/dist/docx/server/templatePlan/labels.d.ts +7 -2
- package/dist/docx/server/templatePlan/labels.js +120 -23
- package/dist/docx/server/templatePlan/plan.d.ts +24 -3
- package/dist/docx/server/templatePlan/plan.js +54 -15
- package/dist/docx/server/templatePlan/planShape.js +76 -22
- package/dist/docx/server/templatePlan/revisions.d.ts +46 -0
- package/dist/docx/server/templatePlan/revisions.js +407 -0
- package/dist/docx/server/templatePlan/story.d.ts +23 -1
- package/dist/docx/server/templatePlan/story.js +60 -2
- package/dist/docx/server/templatePlan/types.d.ts +354 -16
- package/dist/docx/server/templatePlan/verify.js +164 -14
- package/dist/docx/server/templatePlan/xml.d.ts +3 -0
- package/dist/docx/server/templatePlan/xml.js +4 -1
- package/dist/i18n/messages/ar.gen.js +1 -0
- package/dist/i18n/messages/catalogs.gen.d.ts +17 -0
- package/dist/i18n/messages/catalogs.gen.js +17 -0
- package/dist/i18n/messages/cs.gen.js +1 -0
- package/dist/i18n/messages/de.gen.js +1 -0
- package/dist/i18n/messages/en.gen.js +1 -0
- package/dist/i18n/messages/es.gen.js +1 -0
- package/dist/i18n/messages/et.gen.js +1 -0
- package/dist/i18n/messages/fr.gen.js +1 -0
- package/dist/i18n/messages/he.gen.js +1 -0
- package/dist/i18n/messages/hi.gen.js +1 -0
- package/dist/i18n/messages/hu.gen.js +1 -0
- package/dist/i18n/messages/lt.gen.js +1 -0
- package/dist/i18n/messages/lv.gen.js +1 -0
- package/dist/i18n/messages/messages.gen.d.ts +1 -0
- package/dist/i18n/messages/pl.gen.js +1 -0
- package/dist/i18n/messages/pt-BR.gen.js +1 -0
- package/dist/i18n/messages/sk.gen.js +1 -0
- package/dist/i18n/messages/tr.gen.js +1 -0
- package/dist/i18n/messages/zh-CN.gen.js +1 -0
- package/dist/internal/revisionResolutionStep.d.ts +2 -31
- package/dist/internal/revisionResolutionStep.js +2 -171
- package/dist/layout-bridge/convert/toFlowBlocks.js +0 -12
- package/dist/layout-bridge/convert/topLevelConversion.js +1 -10
- package/dist/prosemirror/commands/comments.d.ts +6 -234
- package/dist/prosemirror/commands/comments.js +5 -2464
- package/dist/prosemirror/commands/index.d.ts +4 -2
- package/dist/prosemirror/commands/index.js +4 -2
- package/dist/prosemirror/commands/tableCellMergeResolution.d.ts +1 -11
- package/dist/prosemirror/commands/tableCellMergeResolution.js +3 -154
- package/dist/prosemirror/extensions/features/ImagePasteExtension.js +1 -1
- package/dist/prosemirror/extensions/marks/HyperlinkExtension.js +6 -8
- package/dist/prosemirror/hyperlinkRemoval.d.ts +11 -8
- package/dist/prosemirror/hyperlinkRemoval.js +24 -15
- package/dist/prosemirror/listMarker.d.ts +1 -6
- package/dist/prosemirror/listMarker.js +4 -56
- package/dist/prosemirror/paraIds.d.ts +1 -14
- package/dist/prosemirror/paraIds.js +1 -14
- package/dist/prosemirror/paragraphMarkJoin.d.ts +0 -16
- package/dist/prosemirror/paragraphMarkJoin.js +3 -46
- package/dist/prosemirror/projectionReview.d.ts +49 -0
- package/dist/prosemirror/projectionReview.js +292 -0
- package/dist/prosemirror/rebaseParagraphRunFormatting.d.ts +1 -13
- package/dist/prosemirror/rebaseParagraphRunFormatting.js +1 -16
- package/dist/prosemirror/replacedAnnotations.d.ts +2 -5
- package/dist/prosemirror/replacedAnnotations.js +1 -10
- package/dist/prosemirror/revisionCarriers.d.ts +9 -1
- package/dist/prosemirror/revisionCarriers.js +15 -1
- package/dist/prosemirror/revisionRangeQueries.d.ts +32 -0
- package/dist/prosemirror/revisionRangeQueries.js +76 -0
- package/dist/prosemirror/runFormattingMarkNames.d.ts +1 -1
- package/dist/prosemirror/runFormattingMarkNames.js +1 -1
- package/dist/prosemirror/suggestionQueries.d.ts +114 -0
- package/dist/prosemirror/suggestionQueries.js +320 -0
- package/dist/prosemirror/tableGridMutation.d.ts +1 -16
- package/dist/prosemirror/tableGridMutation.js +1 -78
- package/dist/prosemirror/tableRowRevisionOwnership.d.ts +18 -0
- package/dist/prosemirror/tableRowRevisionOwnership.js +7 -0
- package/dist/prosemirror/utils/extractTrackedChanges.js +14 -4
- package/dist/server.d.ts +2 -2
- package/dist/types/canonicalCapabilities.d.ts +40 -69
- package/dist/types/canonicalCapabilities.js +51 -65
- package/dist/types/canonicalComments.d.ts +2 -2
- package/dist/types/canonicalSections.d.ts +2 -2
- package/dist/utils/clipboard.d.ts +2 -28
- package/dist/utils/clipboard.js +1 -96
- package/dist/utils/clipboardFiles.d.ts +27 -0
- package/dist/utils/clipboardFiles.js +98 -0
- package/dist/utils/rulerControl.d.ts +1 -0
- package/dist/utils/rulerControl.js +2 -1
- package/package.json +2 -2
- package/dist/internal/headlessRevisionResolutionGuard.d.ts +0 -3
- package/dist/internal/headlessRevisionResolutionGuard.js +0 -18
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { isNumberingReference } from "../../numberingReference.js";
|
|
2
2
|
import { parseSettings } from "../../settingsParser.js";
|
|
3
3
|
import { validateDocxConformance } from "../validateDocxConformance.js";
|
|
4
|
-
import { analyzeDocument } from "./blocks.js";
|
|
5
|
-
import { fieldBookmarkOf } from "./builders.js";
|
|
4
|
+
import { analyzeDocument, analyzeSource, viewOf } from "./blocks.js";
|
|
5
|
+
import { applyRefCaseFormat, fieldBookmarkOf, keepsShiftReturnSpacing, refCaseFormat } from "./builders.js";
|
|
6
|
+
import { countEffects, findInvisibleEffects } from "./effects.js";
|
|
6
7
|
import { linkAddress, linkAddressKey, templateCharacterStyles } from "./emit.js";
|
|
7
8
|
import { emphasisSignature, readDirectEmphasis, signatureHighlight, signatureWithoutHighlight } from "./emphasis.js";
|
|
8
9
|
import { partFields, readHeaderFooterParts } from "./inspect.js";
|
|
@@ -10,8 +11,8 @@ import { styleNumbering } from "./labels.js";
|
|
|
10
11
|
import { guarded, readPartText } from "./package.js";
|
|
11
12
|
import { hyperlinkFieldLink, paragraphPieces, piecesContent, resolvePlan, segmentPieces } from "./plan.js";
|
|
12
13
|
import { objectFingerprint, objectTargets, readStoryResources, relationshipIdsOf } from "./resources.js";
|
|
13
|
-
import { createStoryState, endStory, readParagraph, walkBlocks } from "./story.js";
|
|
14
|
-
import { integerOrNull, isW, readRawPart, twipsOrNull, wAttr, wChild, wChildVal, wChildren, wName, walkElements } from "./xml.js";
|
|
14
|
+
import { createStoryState, endStory, isSelfNumberingField, readParagraph, toggleOf, walkBlocks } from "./story.js";
|
|
15
|
+
import { integerOrNull, isW, rangeOf, readRawPart, twipsOrNull, wAttr, wChild, wChildVal, wChildren, wName, walkElements } from "./xml.js";
|
|
15
16
|
import { Result } from "better-result";
|
|
16
17
|
// src/docx/server/templatePlan/verify.ts
|
|
17
18
|
/**
|
|
@@ -46,7 +47,7 @@ const emptyContent = () => ({
|
|
|
46
47
|
links: [],
|
|
47
48
|
marks: []
|
|
48
49
|
});
|
|
49
|
-
const appendUnit = (content, { kind, text, signature, link, element, origin }, resources) => {
|
|
50
|
+
const appendUnit = (content, { kind, text, signature, link, element, instruction, origin }, resources) => {
|
|
50
51
|
content.text += text;
|
|
51
52
|
for (let unit = 0; unit < text.length; unit += 1) {
|
|
52
53
|
content.signatures.push(signature);
|
|
@@ -54,6 +55,7 @@ const appendUnit = (content, { kind, text, signature, link, element, origin }, r
|
|
|
54
55
|
}
|
|
55
56
|
const at = content.text.length - text.length;
|
|
56
57
|
if (kind === "pageBreak") content.marks.push(`${at}:break:${wAttr(element, "type") ?? "page"}`);
|
|
58
|
+
else if (kind === "selfNumber") content.marks.push(`${at}:number:${instruction ?? ""}`);
|
|
57
59
|
else if (kind === "object" && element !== null) content.marks.push(`${at}:object:${objectFingerprint(element)}:${objectTargets(element, origin, resources).join(",")}`);
|
|
58
60
|
};
|
|
59
61
|
/** A paragraph break inside a note. */
|
|
@@ -70,6 +72,7 @@ const expectedContent = (pieces, resources, content = emptyContent()) => {
|
|
|
70
72
|
signature: piece.signature,
|
|
71
73
|
link: linkAddressKey(linkAddress(piece.link, resources.relationships[piece.origin])),
|
|
72
74
|
element: piece.atom?.element ?? null,
|
|
75
|
+
instruction: piece.atom?.instruction ?? null,
|
|
73
76
|
origin: piece.origin
|
|
74
77
|
}, resources);
|
|
75
78
|
return content;
|
|
@@ -95,6 +98,7 @@ const outputContent = ({ read, origin, resources, styles, content = emptyContent
|
|
|
95
98
|
signature: styleId === null || styleId === expectedStyle ? stated : `${stated};rStyle=${styleId}`,
|
|
96
99
|
link,
|
|
97
100
|
element: atom.element,
|
|
101
|
+
instruction: atom.instruction ?? null,
|
|
98
102
|
origin
|
|
99
103
|
}, resources);
|
|
100
104
|
}
|
|
@@ -198,13 +202,38 @@ const CONFORMANCE_RANK = {
|
|
|
198
202
|
invalid: 0
|
|
199
203
|
};
|
|
200
204
|
const NUMBER_SWITCH = /\\[nrw]\b/u;
|
|
205
|
+
const tabStopsKey = (tabs) => tabs === null ? null : wChildren(tabs, "tab").map((tab) => `${wAttr(tab, "val") ?? ""}@${String(twipsOrNull(wAttr(tab, "pos")) ?? wAttr(tab, "pos"))}${wAttr(tab, "leader") === null ? "" : `;${wAttr(tab, "leader") ?? ""}`}`).join(",");
|
|
206
|
+
const indentKey = (left, hanging, firstLine) => [
|
|
207
|
+
left,
|
|
208
|
+
hanging,
|
|
209
|
+
firstLine
|
|
210
|
+
].map((side) => side ?? "").join(":");
|
|
211
|
+
/** The sides of an indent counted in characters: they override the
|
|
212
|
+
* measured ones, so a paragraph that states one is another paragraph. */
|
|
213
|
+
const CHARACTER_INDENTS = [
|
|
214
|
+
"leftChars",
|
|
215
|
+
"startChars",
|
|
216
|
+
"hangingChars",
|
|
217
|
+
"firstLineChars"
|
|
218
|
+
];
|
|
219
|
+
const characterIndentKey = (indent) => CHARACTER_INDENTS.flatMap((name) => {
|
|
220
|
+
const value = wAttr(indent, name);
|
|
221
|
+
return value === null ? [] : [`;${name}=${value}`];
|
|
222
|
+
}).join("");
|
|
201
223
|
const statedProperties = (paragraph) => {
|
|
202
224
|
const properties = wChild(paragraph, "pPr");
|
|
203
225
|
const numbering = wChild(properties, "numPr");
|
|
226
|
+
const indent = wChild(properties, "ind");
|
|
204
227
|
return {
|
|
205
228
|
styleId: wChildVal(properties, "pStyle"),
|
|
206
229
|
numId: integerOrNull(wChildVal(numbering, "numId")),
|
|
207
|
-
ilvl: integerOrNull(wChildVal(numbering, "ilvl"))
|
|
230
|
+
ilvl: integerOrNull(wChildVal(numbering, "ilvl")),
|
|
231
|
+
pageBreakBefore: toggleOf(wChild(properties, "pageBreakBefore")) === true,
|
|
232
|
+
keepNext: toggleOf(wChild(properties, "keepNext")) === true,
|
|
233
|
+
indent: indent === null ? null : `${indentKey(twipsOrNull(wAttr(indent, "left") ?? wAttr(indent, "start")), twipsOrNull(wAttr(indent, "hanging")), twipsOrNull(wAttr(indent, "firstLine")))}${characterIndentKey(indent)}`,
|
|
234
|
+
tabStops: tabStopsKey(wChild(properties, "tabs")),
|
|
235
|
+
alignment: wChildVal(properties, "jc"),
|
|
236
|
+
endsSection: wChild(properties, "sectPr") !== null
|
|
208
237
|
};
|
|
209
238
|
};
|
|
210
239
|
/** Whether a bookmark of `read` holds all of the paragraph's content. */
|
|
@@ -226,6 +255,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
226
255
|
if (Result.isError(analyzedOutput)) return analyzedOutput;
|
|
227
256
|
const out = analyzedOutput.value;
|
|
228
257
|
const issues = [];
|
|
258
|
+
if (source.manifest.trackedChangesResolved !== void 0 && out.manifest.trackedChanges > 0) issues.push({
|
|
259
|
+
code: "revision-left",
|
|
260
|
+
message: `The output holds ${String(out.manifest.trackedChanges)} tracked change(s).`
|
|
261
|
+
});
|
|
229
262
|
const warnings = [...source.manifest.warnings.map((warning) => `Source: ${warning}`), ...out.story.warnings];
|
|
230
263
|
const sourceResourcesRead = await readStoryResources(source);
|
|
231
264
|
if (Result.isError(sourceResourcesRead)) return sourceResourcesRead;
|
|
@@ -244,16 +277,31 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
244
277
|
const plannedProperties = (paragraph) => {
|
|
245
278
|
const slot = slotBlocks.get(paragraph);
|
|
246
279
|
if (slot !== void 0) return statedProperties(slot.element);
|
|
247
|
-
const { styleId, numbering } = paragraph;
|
|
280
|
+
const { styleId, numbering, pageBreakBefore, keepNext, alignment } = paragraph;
|
|
281
|
+
const endsSection = paragraph.endsSection !== null;
|
|
282
|
+
const indent = paragraph.indent === null ? null : indentKey(paragraph.indent.left, paragraph.indent.hanging, paragraph.indent.firstLine);
|
|
283
|
+
const tabStops = paragraph.tabStops === null ? null : paragraph.tabStops.map((stop) => `left@${String(stop)}`).join(",");
|
|
248
284
|
if (numbering.kind === "direct") return {
|
|
249
285
|
styleId,
|
|
250
286
|
numId: numbering.numId,
|
|
251
|
-
ilvl: numbering.ilvl
|
|
287
|
+
ilvl: numbering.ilvl,
|
|
288
|
+
pageBreakBefore,
|
|
289
|
+
keepNext,
|
|
290
|
+
indent,
|
|
291
|
+
tabStops,
|
|
292
|
+
alignment,
|
|
293
|
+
endsSection
|
|
252
294
|
};
|
|
253
295
|
return {
|
|
254
296
|
styleId,
|
|
255
297
|
numId: numbering.kind === "none" && styleNumbering(styleId ?? template.defaultStyleId, template.styles, template.numbering)?.kind === "reference" ? 0 : null,
|
|
256
|
-
ilvl: null
|
|
298
|
+
ilvl: null,
|
|
299
|
+
pageBreakBefore,
|
|
300
|
+
keepNext,
|
|
301
|
+
indent,
|
|
302
|
+
tabStops,
|
|
303
|
+
alignment,
|
|
304
|
+
endsSection
|
|
257
305
|
};
|
|
258
306
|
};
|
|
259
307
|
const checkProperties = (planned, stated, blockId) => {
|
|
@@ -267,6 +315,21 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
267
315
|
message: `Block ${blockId} is not in the list, or at the level, the plan gives it.`,
|
|
268
316
|
blockId
|
|
269
317
|
});
|
|
318
|
+
if (stated.pageBreakBefore !== planned.pageBreakBefore) issues.push({
|
|
319
|
+
code: "page-start-mismatch",
|
|
320
|
+
message: planned.pageBreakBefore ? `Block ${blockId} does not start the new page the plan gives it.` : `Block ${blockId} starts a new page the plan does not give it.`,
|
|
321
|
+
blockId
|
|
322
|
+
});
|
|
323
|
+
if (stated.keepNext !== planned.keepNext || stated.indent !== planned.indent || stated.tabStops !== planned.tabStops || stated.alignment !== planned.alignment) issues.push({
|
|
324
|
+
code: "paragraph-format-mismatch",
|
|
325
|
+
message: `Block ${blockId} does not carry the keep-with-next, the indent, the tab stops or the alignment the plan gives it.`,
|
|
326
|
+
blockId
|
|
327
|
+
});
|
|
328
|
+
if (stated.endsSection !== planned.endsSection) issues.push({
|
|
329
|
+
code: "section-mismatch",
|
|
330
|
+
message: planned.endsSection ? `Block ${blockId} does not end the section the plan gives it.` : `Block ${blockId} ends a section the plan does not give it.`,
|
|
331
|
+
blockId
|
|
332
|
+
});
|
|
270
333
|
};
|
|
271
334
|
const outputOf = /* @__PURE__ */ new Map();
|
|
272
335
|
const templateOutputIds = /* @__PURE__ */ new Set();
|
|
@@ -343,7 +406,7 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
343
406
|
resources: outputResources,
|
|
344
407
|
styles: characterStyles
|
|
345
408
|
});
|
|
346
|
-
return before.styleId === after.styleId && before.numId === after.numId && before.ilvl === after.ilvl && sameReading(was, is) && sameList(was.signatures, is.signatures);
|
|
409
|
+
return before.styleId === after.styleId && before.pageBreakBefore === after.pageBreakBefore && before.keepNext === after.keepNext && before.indent === after.indent && before.tabStops === after.tabStops && before.alignment === after.alignment && before.endsSection === after.endsSection && before.numId === after.numId && before.ilvl === after.ilvl && sameReading(was, is) && sameList(was.signatures, is.signatures);
|
|
347
410
|
}))) issues.push({
|
|
348
411
|
code: "template-mismatch",
|
|
349
412
|
message: `Template block ${item.block.block.id} does not read as the template has it.`,
|
|
@@ -358,6 +421,9 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
358
421
|
case "paragraph":
|
|
359
422
|
assign(item.paragraph, block);
|
|
360
423
|
break;
|
|
424
|
+
case "separator":
|
|
425
|
+
if (block?.read === null || block?.read === void 0 || block.read.atoms.length > 0) missing("An empty paragraph that parts two tables is not in place.");
|
|
426
|
+
break;
|
|
361
427
|
case "slot":
|
|
362
428
|
assign(item.paragraph, block);
|
|
363
429
|
break;
|
|
@@ -378,6 +444,15 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
378
444
|
}
|
|
379
445
|
}
|
|
380
446
|
if (outputTopLevel.length !== resolved.items.length) missing(`The plan places ${resolved.items.length} block(s), the output holds ${outputTopLevel.length}.`);
|
|
447
|
+
const pageIssue = (page, section) => page !== void 0 && (section === void 0 || section.orientation !== page.orientation || section.size.width !== page.width || section.size.height !== page.height || page.margins !== void 0 && (section.margins.top !== page.margins.top || section.margins.right !== page.margins.right || section.margins.bottom !== page.margins.bottom || section.margins.left !== page.margins.left));
|
|
448
|
+
for (const [paragraph, block] of outputOf) if (pageIssue(paragraph.endsSection?.page, out.manifest.sections[block.block.sectionIndex])) issues.push({
|
|
449
|
+
code: "section-mismatch",
|
|
450
|
+
message: `The section block ${paragraph.parts.at(0)?.block.block.id ?? "?"} ends does not have the page the plan gives it.`
|
|
451
|
+
});
|
|
452
|
+
if (pageIssue(plan.lastSection?.page, out.manifest.sections.at(-1))) issues.push({
|
|
453
|
+
code: "section-mismatch",
|
|
454
|
+
message: "The last section does not have the page the plan gives it."
|
|
455
|
+
});
|
|
381
456
|
const comparisons = /* @__PURE__ */ new Map();
|
|
382
457
|
const spans = {
|
|
383
458
|
source: {
|
|
@@ -546,7 +621,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
546
621
|
let predictedText = null;
|
|
547
622
|
if (targetBlock !== void 0) {
|
|
548
623
|
if (!hasNumberSwitch) predictedText = targetBlock.block.text;
|
|
549
|
-
else if (usesNumber)
|
|
624
|
+
else if (usesNumber) {
|
|
625
|
+
const number = /\\t\b/u.test(entry.reference.instruction) ? targetBlock.label?.numberOnly ?? null : targetBlock.label?.paragraphNumber ?? null;
|
|
626
|
+
predictedText = number === null ? null : applyRefCaseFormat(number, refCaseFormat(entry.reference.instruction));
|
|
627
|
+
}
|
|
550
628
|
}
|
|
551
629
|
let status = "ok";
|
|
552
630
|
if (field === void 0 || fieldBookmarkOf(field.instruction) !== bookmark || field.instruction.trim() !== entry.instruction.trim() || comparisons.get(paragraph)?.text === "identical" && (field.paragraphOrdinal !== block?.read?.ordinal || field.resultStart !== at)) status = "missing-field";
|
|
@@ -599,6 +677,18 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
599
677
|
lvlText: patch.lvlText
|
|
600
678
|
};
|
|
601
679
|
for (const [name, value] of Object.entries(planned)) if (value !== void 0 && wChildVal(level, name) !== value) numberingMismatch(`Level ${patch.ilvl} of list definition ${patch.abstractNumId} does not carry the planned ${name}.`);
|
|
680
|
+
const fonts = wChild(wChild(level, "rPr"), "rFonts");
|
|
681
|
+
if (patch.font !== void 0 && ([
|
|
682
|
+
"ascii",
|
|
683
|
+
"hAnsi",
|
|
684
|
+
"eastAsia",
|
|
685
|
+
"cs"
|
|
686
|
+
].some((name) => wAttr(fonts, name) !== patch.font) || [
|
|
687
|
+
"asciiTheme",
|
|
688
|
+
"hAnsiTheme",
|
|
689
|
+
"eastAsiaTheme",
|
|
690
|
+
"cstheme"
|
|
691
|
+
].some((name) => wAttr(fonts, name) !== null))) numberingMismatch(`Level ${patch.ilvl} of list definition ${patch.abstractNumId} is not set in the planned face.`);
|
|
602
692
|
const indent = wChild(wChild(level, "pPr"), "ind");
|
|
603
693
|
for (const [name, value] of Object.entries(patch.indent ?? {})) if (twipsOrNull(wAttr(indent, name)) !== value) numberingMismatch(`Level ${patch.ilvl} of list definition ${patch.abstractNumId} does not carry the planned ${name} indent.`);
|
|
604
694
|
for (const [stated, other] of [["hanging", "firstLine"], ["firstLine", "hanging"]]) if (patch.indent?.[stated] !== void 0 && wAttr(indent, other) !== null) numberingMismatch(`Level ${patch.ilvl} of list definition ${patch.abstractNumId} keeps a ${other} indent beside the planned ${stated} one.`);
|
|
@@ -733,6 +823,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
733
823
|
message: `A ${field.kind} field the plan freezes is still live.`
|
|
734
824
|
});
|
|
735
825
|
if (nestedUnfrozen > 0) warnings.push(`${nestedUnfrozen} field(s) of a frozen kind sit inside another field's code and stay live.`);
|
|
826
|
+
if (plan.compat?.doNotExpandShiftReturn === true && (settingsXml.value === null || !keepsShiftReturnSpacing(settingsXml.value))) issues.push({
|
|
827
|
+
code: "compat-mismatch",
|
|
828
|
+
message: "The compatibility setting the plan switches on is not on in the output."
|
|
829
|
+
});
|
|
736
830
|
const updateOnOpen = plan.fields?.updateOnOpen;
|
|
737
831
|
if (updateOnOpen !== void 0 && updateOnOpen !== updatesOnOpen) issues.push({
|
|
738
832
|
code: "update-fields-mismatch",
|
|
@@ -755,6 +849,55 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
755
849
|
if (Result.isError(templateHeadersAndFooters)) return templateHeadersAndFooters;
|
|
756
850
|
for (const part of templateHeadersAndFooters.value) frozenFields.push(...countByKind(part.path, frozenIn(partFields(part))));
|
|
757
851
|
}
|
|
852
|
+
const effectsOf = (path, xml) => {
|
|
853
|
+
const part = path === null || xml === null ? null : readRawPart(path, xml);
|
|
854
|
+
return part === null ? [] : findInvisibleEffects(part);
|
|
855
|
+
};
|
|
856
|
+
const keptRanges = [...resolved.keptTemplateBlocks.map(({ element }) => element), ...resolved.items.flatMap((item) => item.kind === "slot" ? [item.templateBlock.element] : [])].flatMap((element) => {
|
|
857
|
+
const range = rangeOf(element);
|
|
858
|
+
return range === null ? [] : [range];
|
|
859
|
+
});
|
|
860
|
+
const templateHeaderFooterParts = await readHeaderFooterParts(template);
|
|
861
|
+
if (Result.isError(templateHeaderFooterParts)) return templateHeaderFooterParts;
|
|
862
|
+
const effectParts = [
|
|
863
|
+
{
|
|
864
|
+
part: out.pkg.documentPath,
|
|
865
|
+
before: findInvisibleEffects(template.document).filter(({ range }) => keptRanges.some((kept) => range.start >= kept.start && range.end <= kept.end)),
|
|
866
|
+
after: findInvisibleEffects(out.document)
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
part: template.numberingPath,
|
|
870
|
+
before: effectsOf(template.numberingPath, template.numberingXml),
|
|
871
|
+
after: effectsOf(out.numberingPath, out.numberingXml)
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
part: template.stylesPath,
|
|
875
|
+
before: effectsOf(template.stylesPath, template.stylesXml),
|
|
876
|
+
after: effectsOf(out.stylesPath, out.stylesXml)
|
|
877
|
+
},
|
|
878
|
+
...templateHeaderFooterParts.value.map((part) => ({
|
|
879
|
+
part: part.path,
|
|
880
|
+
before: findInvisibleEffects(part),
|
|
881
|
+
after: findInvisibleEffects(outputHeadersAndFooters.value.find(({ path }) => path === part.path) ?? part)
|
|
882
|
+
}))
|
|
883
|
+
];
|
|
884
|
+
const textEffects = {
|
|
885
|
+
removed: [],
|
|
886
|
+
left: []
|
|
887
|
+
};
|
|
888
|
+
for (const { part, before, after } of effectParts) {
|
|
889
|
+
if (part === null) continue;
|
|
890
|
+
const left = countEffects(part, after);
|
|
891
|
+
textEffects.left.push(...left);
|
|
892
|
+
for (const { effect, count } of countEffects(part, before)) {
|
|
893
|
+
const kept = left.find((entry) => entry.effect === effect)?.count ?? 0;
|
|
894
|
+
if (count > kept) textEffects.removed.push({
|
|
895
|
+
part,
|
|
896
|
+
effect,
|
|
897
|
+
count: count - kept
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
}
|
|
758
901
|
const filler = [];
|
|
759
902
|
const documentText = out.story.order.flatMap(({ read }) => read === null ? [] : [read.text]).join("\n");
|
|
760
903
|
for (const text of options?.fillerStrings ?? []) for (const { part, text: haystack } of [{
|
|
@@ -781,7 +924,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
781
924
|
emphasisMismatch: 0,
|
|
782
925
|
labelChanged: 0,
|
|
783
926
|
labelLost: 0,
|
|
784
|
-
labelAsText: 0
|
|
927
|
+
labelAsText: 0,
|
|
928
|
+
pageStarts: 0,
|
|
929
|
+
sectionEnds: 0,
|
|
930
|
+
tableSeparators: resolved.items.filter(({ kind }) => kind === "separator").length
|
|
785
931
|
};
|
|
786
932
|
const tables = /* @__PURE__ */ new Map();
|
|
787
933
|
for (const block of source.story.order) {
|
|
@@ -832,6 +978,8 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
832
978
|
const emphasis = comparison?.emphasis ?? "mismatch";
|
|
833
979
|
if (disposition === "merged") counts.merged += 1;
|
|
834
980
|
else counts.placed += 1;
|
|
981
|
+
if (leads && paragraph?.pageBreakBefore === true) counts.pageStarts += 1;
|
|
982
|
+
if (leads && paragraph !== void 0 && paragraph.endsSection !== null) counts.sectionEnds += 1;
|
|
835
983
|
if (text === "identical") counts.textIdentical += 1;
|
|
836
984
|
else counts.textMismatch += 1;
|
|
837
985
|
if (emphasis === "mismatch") counts.emphasisMismatch += 1;
|
|
@@ -867,7 +1015,7 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
867
1015
|
for (const read of placedReads) {
|
|
868
1016
|
for (const index of read.fieldIndices) {
|
|
869
1017
|
const field = source.story.state.fields[index];
|
|
870
|
-
if (field !== void 0 && hyperlinkFieldLink(field) === null) droppedFields.set(field.kind, (droppedFields.get(field.kind) ?? 0) + 1);
|
|
1018
|
+
if (field !== void 0 && hyperlinkFieldLink(field) === null && !isSelfNumberingField(field.kind)) droppedFields.set(field.kind, (droppedFields.get(field.kind) ?? 0) + 1);
|
|
871
1019
|
}
|
|
872
1020
|
let previous = null;
|
|
873
1021
|
for (const { link } of read.atoms) {
|
|
@@ -905,6 +1053,7 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
905
1053
|
sourceSha256: source.manifest.sha256,
|
|
906
1054
|
templateSha256: template.manifest.sha256,
|
|
907
1055
|
outputSha256: out.manifest.sha256,
|
|
1056
|
+
...source.manifest.trackedChangesResolved === void 0 ? {} : { trackedChanges: source.manifest.trackedChangesResolved },
|
|
908
1057
|
blocks,
|
|
909
1058
|
counts,
|
|
910
1059
|
footnotes,
|
|
@@ -941,6 +1090,7 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
941
1090
|
internalHyperlinks,
|
|
942
1091
|
sectionBreaks
|
|
943
1092
|
},
|
|
1093
|
+
textEffects,
|
|
944
1094
|
updateFields,
|
|
945
1095
|
conformance: {
|
|
946
1096
|
status: conformance.status,
|
|
@@ -952,7 +1102,7 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
|
|
|
952
1102
|
});
|
|
953
1103
|
};
|
|
954
1104
|
const verifyUnguarded = async ({ source, template, output, plan, options }) => {
|
|
955
|
-
const analyzedSource = await
|
|
1105
|
+
const analyzedSource = await analyzeSource(source, viewOf(plan));
|
|
956
1106
|
if (Result.isError(analyzedSource)) return analyzedSource;
|
|
957
1107
|
const analyzedTemplate = await analyzeDocument(template);
|
|
958
1108
|
if (Result.isError(analyzedTemplate)) return analyzedTemplate;
|
|
@@ -25,6 +25,9 @@ export declare const integerOrNull: (value: string | null) => number | null;
|
|
|
25
25
|
* universal measure (`1in`, `2.54cm`), which the schema allows in its place.
|
|
26
26
|
*/
|
|
27
27
|
export declare const twipsOrNull: (value: string | null) => number | null;
|
|
28
|
+
/** A length in half-points: a plain number, or a universal measure such as
|
|
29
|
+
* `12pt`. */
|
|
30
|
+
export declare const halfPointsOrNull: (value: string | null) => number | null;
|
|
28
31
|
/** The largest of `values`, or `floor` when none is larger. */
|
|
29
32
|
export declare const maxOf: (values: Iterable<number>, floor: number) => number;
|
|
30
33
|
/** A relationship attribute (`r:id`, `r:embed`, ...) by local name. */
|
|
@@ -32,6 +32,9 @@ const integerOrNull = (value) => {
|
|
|
32
32
|
* universal measure (`1in`, `2.54cm`), which the schema allows in its place.
|
|
33
33
|
*/
|
|
34
34
|
const twipsOrNull = (value) => integerOrNull(value) ?? (value === null ? null : universalMeasureAs(value.trim(), "twips") ?? null);
|
|
35
|
+
/** A length in half-points: a plain number, or a universal measure such as
|
|
36
|
+
* `12pt`. */
|
|
37
|
+
const halfPointsOrNull = (value) => integerOrNull(value) ?? (value === null ? null : universalMeasureAs(value.trim(), "halfPoints") ?? null);
|
|
35
38
|
/** The largest of `values`, or `floor` when none is larger. */
|
|
36
39
|
const maxOf = (values, floor) => {
|
|
37
40
|
let max = floor;
|
|
@@ -122,4 +125,4 @@ const walkElements = (root, visit) => {
|
|
|
122
125
|
}
|
|
123
126
|
}
|
|
124
127
|
};
|
|
125
|
-
export { MARKUP_COMPATIBILITY_NAMESPACE, MATH_NAMESPACE, elementChildren, escapeXmlAttribute, escapeXmlText, innerRangeOf, integerOrNull, isW, maxOf, partPrefixes, prefixFor, rangeOf, readRawPart, relationshipAttr, sliceWithSplices, spliceXml, twipsOrNull, wAttr, wChild, wChildVal, wChildren, wName, walkElements };
|
|
128
|
+
export { MARKUP_COMPATIBILITY_NAMESPACE, MATH_NAMESPACE, elementChildren, escapeXmlAttribute, escapeXmlText, halfPointsOrNull, innerRangeOf, integerOrNull, isW, maxOf, partPrefixes, prefixFor, rangeOf, readRawPart, relationshipAttr, sliceWithSplices, spliceXml, twipsOrNull, wAttr, wChild, wChildVal, wChildren, wName, walkElements };
|
|
@@ -337,6 +337,7 @@ const messages = { "folio": {
|
|
|
337
337
|
"editSessionTakenOver": "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.",
|
|
338
338
|
"editor": {
|
|
339
339
|
"accessibleName": "محرر المستندات",
|
|
340
|
+
"changeNotApplied": "تعذّر إجراء هذا التغيير.",
|
|
340
341
|
"changeUnavailable": "لا يمكن إجراء هذا التغيير هنا بعد.",
|
|
341
342
|
"contentLocked": "هذا الجزء من المستند مقفل.",
|
|
342
343
|
"editing": "تحرير",
|
|
@@ -338,6 +338,7 @@ export declare const CATALOGS: {
|
|
|
338
338
|
readonly editSessionTakenOver: "Another tab, window, or device opened this document for editing, so this session was released. Unsaved local changes are preserved — reopen the doc to continue.";
|
|
339
339
|
readonly editor: {
|
|
340
340
|
readonly accessibleName: "Document editor";
|
|
341
|
+
readonly changeNotApplied: "This change couldn't be made.";
|
|
341
342
|
readonly changeUnavailable: "This change can't be made here yet.";
|
|
342
343
|
readonly contentLocked: "This part of the document is locked.";
|
|
343
344
|
readonly editing: "Editing";
|
|
@@ -1004,6 +1005,7 @@ export declare const CATALOGS: {
|
|
|
1004
1005
|
readonly editSessionTakenOver: "Diese Bearbeitungssitzung wurde an anderer Stelle übernommen.";
|
|
1005
1006
|
readonly editor: {
|
|
1006
1007
|
readonly accessibleName: "Dokumenteditor";
|
|
1008
|
+
readonly changeNotApplied: "Diese Änderung konnte nicht vorgenommen werden.";
|
|
1007
1009
|
readonly changeUnavailable: "Diese Änderung ist hier noch nicht möglich.";
|
|
1008
1010
|
readonly contentLocked: "Dieser Teil des Dokuments ist gesperrt.";
|
|
1009
1011
|
readonly editing: "Bearbeiten";
|
|
@@ -1670,6 +1672,7 @@ export declare const CATALOGS: {
|
|
|
1670
1672
|
readonly editSessionTakenOver: "Cette session de modification a été reprise ailleurs.";
|
|
1671
1673
|
readonly editor: {
|
|
1672
1674
|
readonly accessibleName: "Éditeur de documents";
|
|
1675
|
+
readonly changeNotApplied: "Cette modification n'a pas pu être effectuée.";
|
|
1673
1676
|
readonly changeUnavailable: "Cette modification n'est pas encore possible ici.";
|
|
1674
1677
|
readonly contentLocked: "Cette partie du document est verrouillée.";
|
|
1675
1678
|
readonly editing: "Modification";
|
|
@@ -2336,6 +2339,7 @@ export declare const CATALOGS: {
|
|
|
2336
2339
|
readonly editSessionTakenOver: "Esta sesión de edición se tomó en otro lugar.";
|
|
2337
2340
|
readonly editor: {
|
|
2338
2341
|
readonly accessibleName: "Editor de documentos";
|
|
2342
|
+
readonly changeNotApplied: "No se pudo hacer este cambio.";
|
|
2339
2343
|
readonly changeUnavailable: "Este cambio aún no se puede hacer aquí.";
|
|
2340
2344
|
readonly contentLocked: "Esta parte del documento está bloqueada.";
|
|
2341
2345
|
readonly editing: "Edición";
|
|
@@ -3002,6 +3006,7 @@ export declare const CATALOGS: {
|
|
|
3002
3006
|
readonly editSessionTakenOver: "Tento dokument byl otevřen k úpravám v jiné kartě, okně nebo zařízení, takže byla tato relace ukončena. Neuložené místní změny zůstávají zachovány — otevřete dokument znovu a pokračujte.";
|
|
3003
3007
|
readonly editor: {
|
|
3004
3008
|
readonly accessibleName: "Editor dokumentů";
|
|
3009
|
+
readonly changeNotApplied: "Tuto změnu nebylo možné provést.";
|
|
3005
3010
|
readonly changeUnavailable: "Tuto změnu zde zatím nelze provést.";
|
|
3006
3011
|
readonly contentLocked: "Tato část dokumentu je uzamčená.";
|
|
3007
3012
|
readonly editing: "Úpravy";
|
|
@@ -3668,6 +3673,7 @@ export declare const CATALOGS: {
|
|
|
3668
3673
|
readonly editSessionTakenOver: "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.";
|
|
3669
3674
|
readonly editor: {
|
|
3670
3675
|
readonly accessibleName: "محرر المستندات";
|
|
3676
|
+
readonly changeNotApplied: "تعذّر إجراء هذا التغيير.";
|
|
3671
3677
|
readonly changeUnavailable: "لا يمكن إجراء هذا التغيير هنا بعد.";
|
|
3672
3678
|
readonly contentLocked: "هذا الجزء من المستند مقفل.";
|
|
3673
3679
|
readonly editing: "تحرير";
|
|
@@ -4334,6 +4340,7 @@ export declare const CATALOGS: {
|
|
|
4334
4340
|
readonly editSessionTakenOver: "See muutmisseanss võeti mujal üle.";
|
|
4335
4341
|
readonly editor: {
|
|
4336
4342
|
readonly accessibleName: "Dokumendiredaktor";
|
|
4343
|
+
readonly changeNotApplied: "Seda muudatust ei saanud teha.";
|
|
4337
4344
|
readonly changeUnavailable: "Seda muudatust ei saa siin veel teha.";
|
|
4338
4345
|
readonly contentLocked: "See dokumendi osa on lukustatud.";
|
|
4339
4346
|
readonly editing: "Redigeerimine";
|
|
@@ -5000,6 +5007,7 @@ export declare const CATALOGS: {
|
|
|
5000
5007
|
readonly editSessionTakenOver: "כרטיסייה, חלון או מכשיר אחר פתחו מסמך זה לעריכה, ולכן הפעלה זו שוחררה. שינויים מקומיים שלא נשמרו נשמרו — פתח מחדש את המסמך כדי להמשיך.";
|
|
5001
5008
|
readonly editor: {
|
|
5002
5009
|
readonly accessibleName: "עורך מסמכים";
|
|
5010
|
+
readonly changeNotApplied: "לא ניתן היה לבצע את השינוי הזה.";
|
|
5003
5011
|
readonly changeUnavailable: "עדיין לא ניתן לבצע את השינוי הזה כאן.";
|
|
5004
5012
|
readonly contentLocked: "חלק זה של המסמך נעול.";
|
|
5005
5013
|
readonly editing: "עריכה";
|
|
@@ -5666,6 +5674,7 @@ export declare const CATALOGS: {
|
|
|
5666
5674
|
readonly editSessionTakenOver: "किसी अन्य टैब, विंडो या डिवाइस ने इस दस्तावेज़ को संपादन के लिए खोला, इसलिए यह सत्र बंद कर दिया गया। सहेजे नहीं गए स्थानीय परिवर्तन सुरक्षित हैं — जारी रखने के लिए दस्तावेज़ फिर से खोलें।";
|
|
5667
5675
|
readonly editor: {
|
|
5668
5676
|
readonly accessibleName: "दस्तावेज़ संपादक";
|
|
5677
|
+
readonly changeNotApplied: "यह बदलाव नहीं किया जा सका।";
|
|
5669
5678
|
readonly changeUnavailable: "यह बदलाव अभी यहाँ नहीं किया जा सकता।";
|
|
5670
5679
|
readonly contentLocked: "दस्तावेज़ का यह हिस्सा लॉक है।";
|
|
5671
5680
|
readonly editing: "संपादन";
|
|
@@ -6332,6 +6341,7 @@ export declare const CATALOGS: {
|
|
|
6332
6341
|
readonly editSessionTakenOver: "Ezt a szerkesztési munkamenetet máshol vették át.";
|
|
6333
6342
|
readonly editor: {
|
|
6334
6343
|
readonly accessibleName: "Dokumentumszerkesztő";
|
|
6344
|
+
readonly changeNotApplied: "Ezt a módosítást nem sikerült végrehajtani.";
|
|
6335
6345
|
readonly changeUnavailable: "Ez a módosítás itt még nem hajtható végre.";
|
|
6336
6346
|
readonly contentLocked: "A dokumentum ezen része zárolva van.";
|
|
6337
6347
|
readonly editing: "Szerkesztés";
|
|
@@ -6998,6 +7008,7 @@ export declare const CATALOGS: {
|
|
|
6998
7008
|
readonly editSessionTakenOver: "Ši redagavimo sesija buvo perimta kitur.";
|
|
6999
7009
|
readonly editor: {
|
|
7000
7010
|
readonly accessibleName: "Dokumentų redaktorius";
|
|
7011
|
+
readonly changeNotApplied: "Šio pakeitimo atlikti nepavyko.";
|
|
7001
7012
|
readonly changeUnavailable: "Šio pakeitimo čia dar negalima atlikti.";
|
|
7002
7013
|
readonly contentLocked: "Ši dokumento dalis užrakinta.";
|
|
7003
7014
|
readonly editing: "Redagavimas";
|
|
@@ -7664,6 +7675,7 @@ export declare const CATALOGS: {
|
|
|
7664
7675
|
readonly editSessionTakenOver: "Šo rediģēšanas sesiju pārņēma citur.";
|
|
7665
7676
|
readonly editor: {
|
|
7666
7677
|
readonly accessibleName: "Dokumentu redaktors";
|
|
7678
|
+
readonly changeNotApplied: "Šīs izmaiņas neizdevās veikt.";
|
|
7667
7679
|
readonly changeUnavailable: "Šīs izmaiņas šeit vēl nevar veikt.";
|
|
7668
7680
|
readonly contentLocked: "Šī dokumenta daļa ir bloķēta.";
|
|
7669
7681
|
readonly editing: "Rediģēšana";
|
|
@@ -8330,6 +8342,7 @@ export declare const CATALOGS: {
|
|
|
8330
8342
|
readonly editSessionTakenOver: "Ta sesja edycji została przejęta gdzie indziej.";
|
|
8331
8343
|
readonly editor: {
|
|
8332
8344
|
readonly accessibleName: "Edytor dokumentów";
|
|
8345
|
+
readonly changeNotApplied: "Nie udało się wprowadzić tej zmiany.";
|
|
8333
8346
|
readonly changeUnavailable: "Tej zmiany nie można jeszcze tu wprowadzić.";
|
|
8334
8347
|
readonly contentLocked: "Ta część dokumentu jest zablokowana.";
|
|
8335
8348
|
readonly editing: "Edytowanie";
|
|
@@ -8996,6 +9009,7 @@ export declare const CATALOGS: {
|
|
|
8996
9009
|
readonly editSessionTakenOver: "Esta sessão de edição foi assumida em outro lugar.";
|
|
8997
9010
|
readonly editor: {
|
|
8998
9011
|
readonly accessibleName: "Editor de documentos";
|
|
9012
|
+
readonly changeNotApplied: "Não foi possível fazer esta alteração.";
|
|
8999
9013
|
readonly changeUnavailable: "Ainda não é possível fazer esta alteração aqui.";
|
|
9000
9014
|
readonly contentLocked: "Esta parte do documento está bloqueada.";
|
|
9001
9015
|
readonly editing: "Editando";
|
|
@@ -9662,6 +9676,7 @@ export declare const CATALOGS: {
|
|
|
9662
9676
|
readonly editSessionTakenOver: "Túto reláciu úprav prevzalo iné okno.";
|
|
9663
9677
|
readonly editor: {
|
|
9664
9678
|
readonly accessibleName: "Editor dokumentov";
|
|
9679
|
+
readonly changeNotApplied: "Túto zmenu sa nepodarilo vykonať.";
|
|
9665
9680
|
readonly changeUnavailable: "Túto zmenu tu zatiaľ nemožno vykonať.";
|
|
9666
9681
|
readonly contentLocked: "Táto časť dokumentu je uzamknutá.";
|
|
9667
9682
|
readonly editing: "Úpravy";
|
|
@@ -10328,6 +10343,7 @@ export declare const CATALOGS: {
|
|
|
10328
10343
|
readonly editSessionTakenOver: "Başka bir sekme, pencere veya cihaz bu belgeyi düzenlemek için açtığından bu oturum sonlandırıldı. Kaydedilmemiş yerel değişiklikler korunur; devam etmek için belgeyi yeniden açın.";
|
|
10329
10344
|
readonly editor: {
|
|
10330
10345
|
readonly accessibleName: "Belge düzenleyici";
|
|
10346
|
+
readonly changeNotApplied: "Bu değişiklik yapılamadı.";
|
|
10331
10347
|
readonly changeUnavailable: "Bu değişiklik henüz burada yapılamıyor.";
|
|
10332
10348
|
readonly contentLocked: "Belgenin bu bölümü kilitli.";
|
|
10333
10349
|
readonly editing: "Düzenleme";
|
|
@@ -10994,6 +11010,7 @@ export declare const CATALOGS: {
|
|
|
10994
11010
|
readonly editSessionTakenOver: "另一个标签页、窗口或设备已打开此文档进行编辑,因此本会话已释放。未保存的本地更改会保留,请重新打开文档以继续。";
|
|
10995
11011
|
readonly editor: {
|
|
10996
11012
|
readonly accessibleName: "文档编辑器";
|
|
11013
|
+
readonly changeNotApplied: "无法进行此更改。";
|
|
10997
11014
|
readonly changeUnavailable: "暂时无法在此处进行此更改。";
|
|
10998
11015
|
readonly contentLocked: "文档的这一部分已锁定。";
|
|
10999
11016
|
readonly editing: "编辑";
|
|
@@ -338,6 +338,7 @@ const CATALOGS = {
|
|
|
338
338
|
"editSessionTakenOver": "Another tab, window, or device opened this document for editing, so this session was released. Unsaved local changes are preserved — reopen the doc to continue.",
|
|
339
339
|
"editor": {
|
|
340
340
|
"accessibleName": "Document editor",
|
|
341
|
+
"changeNotApplied": "This change couldn't be made.",
|
|
341
342
|
"changeUnavailable": "This change can't be made here yet.",
|
|
342
343
|
"contentLocked": "This part of the document is locked.",
|
|
343
344
|
"editing": "Editing",
|
|
@@ -1002,6 +1003,7 @@ const CATALOGS = {
|
|
|
1002
1003
|
"editSessionTakenOver": "Diese Bearbeitungssitzung wurde an anderer Stelle übernommen.",
|
|
1003
1004
|
"editor": {
|
|
1004
1005
|
"accessibleName": "Dokumenteditor",
|
|
1006
|
+
"changeNotApplied": "Diese Änderung konnte nicht vorgenommen werden.",
|
|
1005
1007
|
"changeUnavailable": "Diese Änderung ist hier noch nicht möglich.",
|
|
1006
1008
|
"contentLocked": "Dieser Teil des Dokuments ist gesperrt.",
|
|
1007
1009
|
"editing": "Bearbeiten",
|
|
@@ -1666,6 +1668,7 @@ const CATALOGS = {
|
|
|
1666
1668
|
"editSessionTakenOver": "Cette session de modification a été reprise ailleurs.",
|
|
1667
1669
|
"editor": {
|
|
1668
1670
|
"accessibleName": "Éditeur de documents",
|
|
1671
|
+
"changeNotApplied": "Cette modification n'a pas pu être effectuée.",
|
|
1669
1672
|
"changeUnavailable": "Cette modification n'est pas encore possible ici.",
|
|
1670
1673
|
"contentLocked": "Cette partie du document est verrouillée.",
|
|
1671
1674
|
"editing": "Modification",
|
|
@@ -2330,6 +2333,7 @@ const CATALOGS = {
|
|
|
2330
2333
|
"editSessionTakenOver": "Esta sesión de edición se tomó en otro lugar.",
|
|
2331
2334
|
"editor": {
|
|
2332
2335
|
"accessibleName": "Editor de documentos",
|
|
2336
|
+
"changeNotApplied": "No se pudo hacer este cambio.",
|
|
2333
2337
|
"changeUnavailable": "Este cambio aún no se puede hacer aquí.",
|
|
2334
2338
|
"contentLocked": "Esta parte del documento está bloqueada.",
|
|
2335
2339
|
"editing": "Edición",
|
|
@@ -2994,6 +2998,7 @@ const CATALOGS = {
|
|
|
2994
2998
|
"editSessionTakenOver": "Tento dokument byl otevřen k úpravám v jiné kartě, okně nebo zařízení, takže byla tato relace ukončena. Neuložené místní změny zůstávají zachovány — otevřete dokument znovu a pokračujte.",
|
|
2995
2999
|
"editor": {
|
|
2996
3000
|
"accessibleName": "Editor dokumentů",
|
|
3001
|
+
"changeNotApplied": "Tuto změnu nebylo možné provést.",
|
|
2997
3002
|
"changeUnavailable": "Tuto změnu zde zatím nelze provést.",
|
|
2998
3003
|
"contentLocked": "Tato část dokumentu je uzamčená.",
|
|
2999
3004
|
"editing": "Úpravy",
|
|
@@ -3658,6 +3663,7 @@ const CATALOGS = {
|
|
|
3658
3663
|
"editSessionTakenOver": "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.",
|
|
3659
3664
|
"editor": {
|
|
3660
3665
|
"accessibleName": "محرر المستندات",
|
|
3666
|
+
"changeNotApplied": "تعذّر إجراء هذا التغيير.",
|
|
3661
3667
|
"changeUnavailable": "لا يمكن إجراء هذا التغيير هنا بعد.",
|
|
3662
3668
|
"contentLocked": "هذا الجزء من المستند مقفل.",
|
|
3663
3669
|
"editing": "تحرير",
|
|
@@ -4322,6 +4328,7 @@ const CATALOGS = {
|
|
|
4322
4328
|
"editSessionTakenOver": "See muutmisseanss võeti mujal üle.",
|
|
4323
4329
|
"editor": {
|
|
4324
4330
|
"accessibleName": "Dokumendiredaktor",
|
|
4331
|
+
"changeNotApplied": "Seda muudatust ei saanud teha.",
|
|
4325
4332
|
"changeUnavailable": "Seda muudatust ei saa siin veel teha.",
|
|
4326
4333
|
"contentLocked": "See dokumendi osa on lukustatud.",
|
|
4327
4334
|
"editing": "Redigeerimine",
|
|
@@ -4986,6 +4993,7 @@ const CATALOGS = {
|
|
|
4986
4993
|
"editSessionTakenOver": "כרטיסייה, חלון או מכשיר אחר פתחו מסמך זה לעריכה, ולכן הפעלה זו שוחררה. שינויים מקומיים שלא נשמרו נשמרו — פתח מחדש את המסמך כדי להמשיך.",
|
|
4987
4994
|
"editor": {
|
|
4988
4995
|
"accessibleName": "עורך מסמכים",
|
|
4996
|
+
"changeNotApplied": "לא ניתן היה לבצע את השינוי הזה.",
|
|
4989
4997
|
"changeUnavailable": "עדיין לא ניתן לבצע את השינוי הזה כאן.",
|
|
4990
4998
|
"contentLocked": "חלק זה של המסמך נעול.",
|
|
4991
4999
|
"editing": "עריכה",
|
|
@@ -5650,6 +5658,7 @@ const CATALOGS = {
|
|
|
5650
5658
|
"editSessionTakenOver": "किसी अन्य टैब, विंडो या डिवाइस ने इस दस्तावेज़ को संपादन के लिए खोला, इसलिए यह सत्र बंद कर दिया गया। सहेजे नहीं गए स्थानीय परिवर्तन सुरक्षित हैं — जारी रखने के लिए दस्तावेज़ फिर से खोलें।",
|
|
5651
5659
|
"editor": {
|
|
5652
5660
|
"accessibleName": "दस्तावेज़ संपादक",
|
|
5661
|
+
"changeNotApplied": "यह बदलाव नहीं किया जा सका।",
|
|
5653
5662
|
"changeUnavailable": "यह बदलाव अभी यहाँ नहीं किया जा सकता।",
|
|
5654
5663
|
"contentLocked": "दस्तावेज़ का यह हिस्सा लॉक है।",
|
|
5655
5664
|
"editing": "संपादन",
|
|
@@ -6314,6 +6323,7 @@ const CATALOGS = {
|
|
|
6314
6323
|
"editSessionTakenOver": "Ezt a szerkesztési munkamenetet máshol vették át.",
|
|
6315
6324
|
"editor": {
|
|
6316
6325
|
"accessibleName": "Dokumentumszerkesztő",
|
|
6326
|
+
"changeNotApplied": "Ezt a módosítást nem sikerült végrehajtani.",
|
|
6317
6327
|
"changeUnavailable": "Ez a módosítás itt még nem hajtható végre.",
|
|
6318
6328
|
"contentLocked": "A dokumentum ezen része zárolva van.",
|
|
6319
6329
|
"editing": "Szerkesztés",
|
|
@@ -6978,6 +6988,7 @@ const CATALOGS = {
|
|
|
6978
6988
|
"editSessionTakenOver": "Ši redagavimo sesija buvo perimta kitur.",
|
|
6979
6989
|
"editor": {
|
|
6980
6990
|
"accessibleName": "Dokumentų redaktorius",
|
|
6991
|
+
"changeNotApplied": "Šio pakeitimo atlikti nepavyko.",
|
|
6981
6992
|
"changeUnavailable": "Šio pakeitimo čia dar negalima atlikti.",
|
|
6982
6993
|
"contentLocked": "Ši dokumento dalis užrakinta.",
|
|
6983
6994
|
"editing": "Redagavimas",
|
|
@@ -7642,6 +7653,7 @@ const CATALOGS = {
|
|
|
7642
7653
|
"editSessionTakenOver": "Šo rediģēšanas sesiju pārņēma citur.",
|
|
7643
7654
|
"editor": {
|
|
7644
7655
|
"accessibleName": "Dokumentu redaktors",
|
|
7656
|
+
"changeNotApplied": "Šīs izmaiņas neizdevās veikt.",
|
|
7645
7657
|
"changeUnavailable": "Šīs izmaiņas šeit vēl nevar veikt.",
|
|
7646
7658
|
"contentLocked": "Šī dokumenta daļa ir bloķēta.",
|
|
7647
7659
|
"editing": "Rediģēšana",
|
|
@@ -8306,6 +8318,7 @@ const CATALOGS = {
|
|
|
8306
8318
|
"editSessionTakenOver": "Ta sesja edycji została przejęta gdzie indziej.",
|
|
8307
8319
|
"editor": {
|
|
8308
8320
|
"accessibleName": "Edytor dokumentów",
|
|
8321
|
+
"changeNotApplied": "Nie udało się wprowadzić tej zmiany.",
|
|
8309
8322
|
"changeUnavailable": "Tej zmiany nie można jeszcze tu wprowadzić.",
|
|
8310
8323
|
"contentLocked": "Ta część dokumentu jest zablokowana.",
|
|
8311
8324
|
"editing": "Edytowanie",
|
|
@@ -8970,6 +8983,7 @@ const CATALOGS = {
|
|
|
8970
8983
|
"editSessionTakenOver": "Esta sessão de edição foi assumida em outro lugar.",
|
|
8971
8984
|
"editor": {
|
|
8972
8985
|
"accessibleName": "Editor de documentos",
|
|
8986
|
+
"changeNotApplied": "Não foi possível fazer esta alteração.",
|
|
8973
8987
|
"changeUnavailable": "Ainda não é possível fazer esta alteração aqui.",
|
|
8974
8988
|
"contentLocked": "Esta parte do documento está bloqueada.",
|
|
8975
8989
|
"editing": "Editando",
|
|
@@ -9634,6 +9648,7 @@ const CATALOGS = {
|
|
|
9634
9648
|
"editSessionTakenOver": "Túto reláciu úprav prevzalo iné okno.",
|
|
9635
9649
|
"editor": {
|
|
9636
9650
|
"accessibleName": "Editor dokumentov",
|
|
9651
|
+
"changeNotApplied": "Túto zmenu sa nepodarilo vykonať.",
|
|
9637
9652
|
"changeUnavailable": "Túto zmenu tu zatiaľ nemožno vykonať.",
|
|
9638
9653
|
"contentLocked": "Táto časť dokumentu je uzamknutá.",
|
|
9639
9654
|
"editing": "Úpravy",
|
|
@@ -10298,6 +10313,7 @@ const CATALOGS = {
|
|
|
10298
10313
|
"editSessionTakenOver": "Başka bir sekme, pencere veya cihaz bu belgeyi düzenlemek için açtığından bu oturum sonlandırıldı. Kaydedilmemiş yerel değişiklikler korunur; devam etmek için belgeyi yeniden açın.",
|
|
10299
10314
|
"editor": {
|
|
10300
10315
|
"accessibleName": "Belge düzenleyici",
|
|
10316
|
+
"changeNotApplied": "Bu değişiklik yapılamadı.",
|
|
10301
10317
|
"changeUnavailable": "Bu değişiklik henüz burada yapılamıyor.",
|
|
10302
10318
|
"contentLocked": "Belgenin bu bölümü kilitli.",
|
|
10303
10319
|
"editing": "Düzenleme",
|
|
@@ -10962,6 +10978,7 @@ const CATALOGS = {
|
|
|
10962
10978
|
"editSessionTakenOver": "另一个标签页、窗口或设备已打开此文档进行编辑,因此本会话已释放。未保存的本地更改会保留,请重新打开文档以继续。",
|
|
10963
10979
|
"editor": {
|
|
10964
10980
|
"accessibleName": "文档编辑器",
|
|
10981
|
+
"changeNotApplied": "无法进行此更改。",
|
|
10965
10982
|
"changeUnavailable": "暂时无法在此处进行此更改。",
|
|
10966
10983
|
"contentLocked": "文档的这一部分已锁定。",
|
|
10967
10984
|
"editing": "编辑",
|