@beyondwork/docx-react-component 1.0.135 → 1.0.136
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/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/v3.cjs +183 -39
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +2 -2
- package/dist/{canonical-document-CfZIc-fC.d.cts → canonical-document-COmM7v11.d.cts} +1 -1
- package/dist/{canonical-document-CfZIc-fC.d.ts → canonical-document-COmM7v11.d.ts} +1 -1
- package/dist/{chunk-5CCYF333.js → chunk-HUWZ7AHE.js} +123 -0
- package/dist/{chunk-GIFXKIM5.js → chunk-JZZKTL7K.js} +620 -50
- package/dist/{chunk-EPFVMUKF.js → chunk-NX7W6T7L.js} +169 -37
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +1075 -154
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +123 -23
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/{loader-BQ7AB-0v.d.cts → loader-Cr35kVUi.d.cts} +3 -3
- package/dist/{loader-Cy6OYBfn.d.ts → loader-uGY6nDZP.d.ts} +3 -3
- package/dist/{public-types-D31xKNGc.d.cts → public-types-8kVIB5HW.d.ts} +16 -8
- package/dist/{public-types-DqYt8GdP.d.ts → public-types-CSSH2Whc.d.cts} +16 -8
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +737 -46
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +2 -2
- package/dist/{session-DA-F2fCw.d.cts → session-Beg8ihOi.d.cts} +3 -3
- package/dist/{session-DqL8H0oZ.d.ts → session-Dgp-2uYw.d.ts} +3 -3
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/{types-SllbCtGs.d.ts → types-Cin_abw3.d.ts} +2 -2
- package/dist/{types-B2y94n5t.d.cts → types-qsS39ZkQ.d.cts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveScopeRange,
|
|
19
19
|
scopeSpecificity,
|
|
20
20
|
searchDocument
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HUWZ7AHE.js";
|
|
22
22
|
import {
|
|
23
23
|
BROADCAST_COMMAND_TYPES,
|
|
24
24
|
COMMAND_EVENT_SCHEMA_VERSION,
|
|
@@ -41,7 +41,8 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
chartModelStore,
|
|
43
43
|
createEditorSurfaceSnapshot,
|
|
44
|
-
createFormattingContext
|
|
44
|
+
createFormattingContext,
|
|
45
|
+
storyTargetKey
|
|
45
46
|
} from "./chunk-EZFF6GKF.js";
|
|
46
47
|
import {
|
|
47
48
|
createSelectionSnapshot,
|
|
@@ -61,6 +62,7 @@ import {
|
|
|
61
62
|
GRADIENT_STOP_UNITS,
|
|
62
63
|
MAIN_STORY_KEY,
|
|
63
64
|
collectEditableTargetRefs,
|
|
65
|
+
collectStoryBlockContexts,
|
|
64
66
|
createHeaderFooterStoryKey,
|
|
65
67
|
createNoteStoryKey,
|
|
66
68
|
validateEditableTargetRef
|
|
@@ -1329,9 +1331,23 @@ function findSurfaceBlockById(blocks, blockId) {
|
|
|
1329
1331
|
}
|
|
1330
1332
|
function createScopeFromAnchor(runtime, input) {
|
|
1331
1333
|
const doc = runtime.getCanonicalDocument();
|
|
1332
|
-
const
|
|
1334
|
+
const normalizedInputAnchor = normalizeCreateScopeAnchor(input.anchor);
|
|
1335
|
+
const storyTarget = normalizedInputAnchor.storyTarget ?? { kind: "main" };
|
|
1333
1336
|
const storyLength = storyTarget.kind === "main" ? computeMainStoryLength(doc) : Number.MAX_SAFE_INTEGER;
|
|
1334
|
-
const { from, to } =
|
|
1337
|
+
const { from, to } = normalizedInputAnchor;
|
|
1338
|
+
if (!Number.isFinite(from) || !Number.isFinite(to)) {
|
|
1339
|
+
const diagnosticFrom = Number.isFinite(from) ? from : 0;
|
|
1340
|
+
const diagnosticTo = Number.isFinite(to) ? to : diagnosticFrom;
|
|
1341
|
+
return {
|
|
1342
|
+
status: "range-invalid",
|
|
1343
|
+
reason: "non-finite-range",
|
|
1344
|
+
from: diagnosticFrom,
|
|
1345
|
+
to: diagnosticTo,
|
|
1346
|
+
storyLength,
|
|
1347
|
+
message: `createScopeFromAnchor requires finite numeric from/to offsets. Pass selection.activeRange or an object shaped as {from, to}; do not pass a malformed range.`,
|
|
1348
|
+
nextStep: "pass-selection-activeRange-or-finite-from-to"
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1335
1351
|
if (from < 0) {
|
|
1336
1352
|
return {
|
|
1337
1353
|
status: "range-invalid",
|
|
@@ -1429,6 +1445,29 @@ function createScopeFromAnchor(runtime, input) {
|
|
|
1429
1445
|
}
|
|
1430
1446
|
return { status: "created", scopeId: result.scopeId, anchor: result.anchor };
|
|
1431
1447
|
}
|
|
1448
|
+
function normalizeCreateScopeAnchor(anchor) {
|
|
1449
|
+
const candidate = anchor;
|
|
1450
|
+
const activeRange = candidate.activeRange;
|
|
1451
|
+
if (activeRange?.kind === "range") {
|
|
1452
|
+
return {
|
|
1453
|
+
from: activeRange.from,
|
|
1454
|
+
to: activeRange.to,
|
|
1455
|
+
storyTarget: candidate.storyTarget
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
if (candidate.kind === "range") {
|
|
1459
|
+
return {
|
|
1460
|
+
from: candidate.from ?? Number.NaN,
|
|
1461
|
+
to: candidate.to ?? Number.NaN,
|
|
1462
|
+
storyTarget: candidate.storyTarget
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
return {
|
|
1466
|
+
from: candidate.from ?? Number.NaN,
|
|
1467
|
+
to: candidate.to ?? Number.NaN,
|
|
1468
|
+
storyTarget: candidate.storyTarget
|
|
1469
|
+
};
|
|
1470
|
+
}
|
|
1432
1471
|
|
|
1433
1472
|
// src/api/v3/runtime/workflow.ts
|
|
1434
1473
|
var createScopeMetadata = {
|
|
@@ -3969,7 +4008,8 @@ var SUPPORTED_COMMANDS = [
|
|
|
3969
4008
|
"indent",
|
|
3970
4009
|
"outdent",
|
|
3971
4010
|
"restart-numbering",
|
|
3972
|
-
"continue-numbering"
|
|
4011
|
+
"continue-numbering",
|
|
4012
|
+
"set-value"
|
|
3973
4013
|
];
|
|
3974
4014
|
var UNSUPPORTED_COMMANDS = [
|
|
3975
4015
|
"create",
|
|
@@ -3978,7 +4018,6 @@ var UNSUPPORTED_COMMANDS = [
|
|
|
3978
4018
|
"join",
|
|
3979
4019
|
"separate",
|
|
3980
4020
|
"split",
|
|
3981
|
-
"set-value",
|
|
3982
4021
|
"apply-template",
|
|
3983
4022
|
"capture-template",
|
|
3984
4023
|
"apply-preset",
|
|
@@ -4027,10 +4066,10 @@ function createListsFamily(runtime) {
|
|
|
4027
4066
|
return resolved.kind === "resolved" ? toReadback(runtime.getCanonicalDocument(), resolved.target, resolved.paragraph) : null;
|
|
4028
4067
|
},
|
|
4029
4068
|
previewCommand(input) {
|
|
4030
|
-
return previewListCommand(runtime.getCanonicalDocument(), input);
|
|
4069
|
+
return previewListCommand(runtime.getCanonicalDocument(), input, activeStoryKey(runtime));
|
|
4031
4070
|
},
|
|
4032
4071
|
applyCommand(input) {
|
|
4033
|
-
const preview = previewListCommand(runtime.getCanonicalDocument(), input);
|
|
4072
|
+
const preview = previewListCommand(runtime.getCanonicalDocument(), input, activeStoryKey(runtime));
|
|
4034
4073
|
if (!preview.supported || !preview.target) {
|
|
4035
4074
|
return {
|
|
4036
4075
|
applied: false,
|
|
@@ -4090,7 +4129,7 @@ function createListsFamily(runtime) {
|
|
|
4090
4129
|
}
|
|
4091
4130
|
};
|
|
4092
4131
|
}
|
|
4093
|
-
function previewListCommand(document, input) {
|
|
4132
|
+
function previewListCommand(document, input, activeStoryKey2) {
|
|
4094
4133
|
const resolved = resolveCurrentListTarget(document, input);
|
|
4095
4134
|
if (resolved.kind !== "resolved") {
|
|
4096
4135
|
return {
|
|
@@ -4102,6 +4141,20 @@ function previewListCommand(document, input) {
|
|
|
4102
4141
|
}
|
|
4103
4142
|
const target = toReadback(document, resolved.target, resolved.paragraph);
|
|
4104
4143
|
const targetRef = { targetKey: target.targetKey, addressKey: target.addressKey };
|
|
4144
|
+
if (activeStoryKey2 !== void 0 && target.storyKey !== activeStoryKey2) {
|
|
4145
|
+
return {
|
|
4146
|
+
command: input.command,
|
|
4147
|
+
supported: false,
|
|
4148
|
+
target,
|
|
4149
|
+
affectedTargets: [target],
|
|
4150
|
+
blockers: [{
|
|
4151
|
+
code: "list-target-wrong-story",
|
|
4152
|
+
ownerLayer: "L07",
|
|
4153
|
+
message: "List target does not belong to the runtime active story.",
|
|
4154
|
+
...targetRef
|
|
4155
|
+
}]
|
|
4156
|
+
};
|
|
4157
|
+
}
|
|
4105
4158
|
if (!SUPPORTED_COMMANDS.includes(input.command)) {
|
|
4106
4159
|
return {
|
|
4107
4160
|
command: input.command,
|
|
@@ -4114,6 +4167,17 @@ function previewListCommand(document, input) {
|
|
|
4114
4167
|
const canContinuePrevious = canContinuePreviousSequence(document, resolved.paragraphIndex);
|
|
4115
4168
|
const canJoin = canJoinPreviousSequence(document, resolved.paragraphIndex);
|
|
4116
4169
|
const blockers = [];
|
|
4170
|
+
if (input.command === "set-value") {
|
|
4171
|
+
const value = input.startAt;
|
|
4172
|
+
if (!Number.isInteger(value) || value === void 0 || value < 1) {
|
|
4173
|
+
blockers.push({
|
|
4174
|
+
code: "list-command-preflight-blocked",
|
|
4175
|
+
ownerLayer: "L07",
|
|
4176
|
+
message: "runtime.lists.set-value requires a positive integer startAt value.",
|
|
4177
|
+
...targetRef
|
|
4178
|
+
});
|
|
4179
|
+
}
|
|
4180
|
+
}
|
|
4117
4181
|
if (input.command === "continue-numbering" && !canContinuePrevious) {
|
|
4118
4182
|
blockers.push({
|
|
4119
4183
|
code: "list-continue-target-missing",
|
|
@@ -4144,6 +4208,7 @@ function editorCommandForListCommand(command, editableTarget, timestamp, startAt
|
|
|
4144
4208
|
case "outdent":
|
|
4145
4209
|
return { type: "list.outdent", editableTargets: [editableTarget], origin };
|
|
4146
4210
|
case "restart-numbering":
|
|
4211
|
+
case "set-value":
|
|
4147
4212
|
return {
|
|
4148
4213
|
type: "list.restart-numbering",
|
|
4149
4214
|
editableTarget,
|
|
@@ -4227,33 +4292,35 @@ function resolveCurrentListTarget(document, input) {
|
|
|
4227
4292
|
return { kind: "resolved", ...resolved };
|
|
4228
4293
|
}
|
|
4229
4294
|
function currentListTargets(document) {
|
|
4230
|
-
const paragraphs = collectParagraphEntries(document
|
|
4295
|
+
const paragraphs = collectParagraphEntries(document);
|
|
4231
4296
|
const targets = collectEditableTargetRefs(document).filter(isListTextTarget);
|
|
4232
|
-
const
|
|
4233
|
-
for (const target of targets)
|
|
4297
|
+
const byStoryBlockPath = /* @__PURE__ */ new Map();
|
|
4298
|
+
for (const target of targets) byStoryBlockPath.set(storyBlockPathKey(target.storyKey, target.blockPath), target);
|
|
4234
4299
|
const out = [];
|
|
4235
4300
|
for (let paragraphIndex = 0; paragraphIndex < paragraphs.length; paragraphIndex += 1) {
|
|
4236
4301
|
const entry = paragraphs[paragraphIndex];
|
|
4237
4302
|
if (!entry?.paragraph.numbering) continue;
|
|
4238
|
-
const target =
|
|
4303
|
+
const target = byStoryBlockPath.get(storyBlockPathKey(entry.storyKey, entry.blockPath));
|
|
4239
4304
|
if (!target) continue;
|
|
4240
|
-
out.push({ target, paragraph: entry.paragraph, paragraphIndex });
|
|
4305
|
+
out.push({ target, paragraph: entry.paragraph, paragraphIndex, storyKey: entry.storyKey });
|
|
4241
4306
|
}
|
|
4242
4307
|
return out;
|
|
4243
4308
|
}
|
|
4244
|
-
function collectParagraphEntries(
|
|
4309
|
+
function collectParagraphEntries(document) {
|
|
4245
4310
|
const out = [];
|
|
4246
|
-
|
|
4311
|
+
for (const context of collectStoryBlockContexts(document)) {
|
|
4312
|
+
collectParagraphEntriesInto(context.blocks, context.storyKey, context.basePath, out);
|
|
4313
|
+
}
|
|
4247
4314
|
return out;
|
|
4248
4315
|
}
|
|
4249
|
-
function collectParagraphEntriesInto(blocks, basePath, out) {
|
|
4316
|
+
function collectParagraphEntriesInto(blocks, storyKey, basePath, out) {
|
|
4250
4317
|
for (let blockIndex = 0; blockIndex < blocks.length; blockIndex += 1) {
|
|
4251
4318
|
const block = blocks[blockIndex];
|
|
4252
4319
|
if (!block) continue;
|
|
4253
4320
|
const blockPath = `${basePath}/block[${blockIndex}]`;
|
|
4254
4321
|
switch (block.type) {
|
|
4255
4322
|
case "paragraph":
|
|
4256
|
-
out.push({ paragraph: block, blockPath });
|
|
4323
|
+
out.push({ paragraph: block, storyKey, blockPath });
|
|
4257
4324
|
break;
|
|
4258
4325
|
case "table":
|
|
4259
4326
|
for (let rowIndex = 0; rowIndex < block.rows.length; rowIndex += 1) {
|
|
@@ -4264,6 +4331,7 @@ function collectParagraphEntriesInto(blocks, basePath, out) {
|
|
|
4264
4331
|
if (!cell) continue;
|
|
4265
4332
|
collectParagraphEntriesInto(
|
|
4266
4333
|
cell.children,
|
|
4334
|
+
storyKey,
|
|
4267
4335
|
`${blockPath}/row[${rowIndex}]/cell[${cellIndex}]`,
|
|
4268
4336
|
out
|
|
4269
4337
|
);
|
|
@@ -4271,7 +4339,7 @@ function collectParagraphEntriesInto(blocks, basePath, out) {
|
|
|
4271
4339
|
}
|
|
4272
4340
|
break;
|
|
4273
4341
|
case "sdt":
|
|
4274
|
-
collectParagraphEntriesInto(block.children, blockPath, out);
|
|
4342
|
+
collectParagraphEntriesInto(block.children, storyKey, blockPath, out);
|
|
4275
4343
|
break;
|
|
4276
4344
|
case "custom_xml":
|
|
4277
4345
|
break;
|
|
@@ -4315,13 +4383,16 @@ function toReadback(document, target, paragraph) {
|
|
|
4315
4383
|
};
|
|
4316
4384
|
}
|
|
4317
4385
|
function canContinuePreviousSequence(document, paragraphIndex) {
|
|
4318
|
-
const paragraphs = collectParagraphEntries(document
|
|
4319
|
-
const
|
|
4386
|
+
const paragraphs = collectParagraphEntries(document);
|
|
4387
|
+
const currentEntry = paragraphs[paragraphIndex];
|
|
4388
|
+
const current = currentEntry?.paragraph;
|
|
4320
4389
|
if (!current?.numbering) return false;
|
|
4321
4390
|
const currentKind = getListKind(document.numbering, current.numbering.numberingInstanceId);
|
|
4322
4391
|
if (!currentKind) return false;
|
|
4323
4392
|
for (let index = paragraphIndex - 1; index >= 0; index -= 1) {
|
|
4324
|
-
const
|
|
4393
|
+
const previousEntry = paragraphs[index];
|
|
4394
|
+
if (previousEntry?.storyKey !== currentEntry.storyKey) break;
|
|
4395
|
+
const previous = previousEntry.paragraph;
|
|
4325
4396
|
if (!previous?.numbering) continue;
|
|
4326
4397
|
const previousKind = getListKind(document.numbering, previous.numbering.numberingInstanceId);
|
|
4327
4398
|
return previousKind === currentKind && previous.numbering.numberingInstanceId !== current.numbering.numberingInstanceId;
|
|
@@ -4329,14 +4400,25 @@ function canContinuePreviousSequence(document, paragraphIndex) {
|
|
|
4329
4400
|
return false;
|
|
4330
4401
|
}
|
|
4331
4402
|
function canJoinPreviousSequence(document, paragraphIndex) {
|
|
4332
|
-
const paragraphs = collectParagraphEntries(document
|
|
4333
|
-
const
|
|
4334
|
-
const
|
|
4403
|
+
const paragraphs = collectParagraphEntries(document);
|
|
4404
|
+
const currentEntry = paragraphs[paragraphIndex];
|
|
4405
|
+
const previousEntry = paragraphs[paragraphIndex - 1];
|
|
4406
|
+
if (previousEntry?.storyKey !== currentEntry?.storyKey) return false;
|
|
4407
|
+
const current = currentEntry?.paragraph;
|
|
4408
|
+
const previous = previousEntry?.paragraph;
|
|
4335
4409
|
if (!current?.numbering || !previous?.numbering) return false;
|
|
4336
4410
|
const currentKind = getListKind(document.numbering, current.numbering.numberingInstanceId);
|
|
4337
4411
|
const previousKind = getListKind(document.numbering, previous.numbering.numberingInstanceId);
|
|
4338
4412
|
return Boolean(currentKind) && currentKind === previousKind && current.numbering.numberingInstanceId !== previous.numbering.numberingInstanceId;
|
|
4339
4413
|
}
|
|
4414
|
+
function storyBlockPathKey(storyKey, blockPath) {
|
|
4415
|
+
return `${storyKey}
|
|
4416
|
+
${blockPath}`;
|
|
4417
|
+
}
|
|
4418
|
+
function activeStoryKey(runtime) {
|
|
4419
|
+
const activeStory = runtime.getRenderSnapshot()?.activeStory;
|
|
4420
|
+
return activeStory ? storyTargetKey(activeStory) : void 0;
|
|
4421
|
+
}
|
|
4340
4422
|
function unsupportedCommandBlocker(command, target) {
|
|
4341
4423
|
return {
|
|
4342
4424
|
code: "list-command-unsupported",
|
|
@@ -8631,33 +8713,51 @@ function createPlaceholderScopes(runtime, input) {
|
|
|
8631
8713
|
blockerDetails: Object.freeze([detail])
|
|
8632
8714
|
};
|
|
8633
8715
|
}
|
|
8634
|
-
const compiler = createScopeCompilerService(runtime);
|
|
8635
8716
|
const byOriginalIndex = /* @__PURE__ */ new Map();
|
|
8636
|
-
|
|
8717
|
+
const createdScopeIds = [];
|
|
8718
|
+
const scopeRequests = orderedHits.map((item) => {
|
|
8637
8719
|
const text = item.text || query;
|
|
8638
8720
|
const label = input.labelPrefix === void 0 ? text : `${input.labelPrefix} ${item.originalIndex + 1}`;
|
|
8639
|
-
|
|
8640
|
-
anchor: {
|
|
8721
|
+
return {
|
|
8722
|
+
anchor: {
|
|
8723
|
+
kind: "range",
|
|
8724
|
+
from: item.hit.from,
|
|
8725
|
+
to: item.hit.to,
|
|
8726
|
+
assoc: input.assoc ?? { start: 1, end: -1 }
|
|
8727
|
+
},
|
|
8641
8728
|
mode: input.mode ?? "edit",
|
|
8642
8729
|
label,
|
|
8643
8730
|
...input.visibility ? { visibility: input.visibility } : {},
|
|
8644
8731
|
...input.guardPolicy ? { guardPolicy: input.guardPolicy } : {},
|
|
8645
8732
|
...input.assoc ? { assoc: input.assoc } : {},
|
|
8646
|
-
...input.stableRefHint ? {
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8733
|
+
...input.stableRefHint ? {
|
|
8734
|
+
scopeMetadataFields: [
|
|
8735
|
+
{
|
|
8736
|
+
key: "stableRefHint",
|
|
8737
|
+
valueType: "string",
|
|
8738
|
+
value: input.stableRefHint
|
|
8739
|
+
}
|
|
8740
|
+
]
|
|
8741
|
+
} : {}
|
|
8742
|
+
};
|
|
8743
|
+
});
|
|
8744
|
+
const scopeResults = runtime.addScopes(scopeRequests);
|
|
8745
|
+
orderedHits.forEach((item, requestIndex) => {
|
|
8746
|
+
const text = item.text || query;
|
|
8747
|
+
const result = scopeResults[requestIndex];
|
|
8748
|
+
if (result && result.scopeId && result.plantStatus?.planted !== false) {
|
|
8749
|
+
createdScopeIds.push(result.scopeId);
|
|
8650
8750
|
byOriginalIndex.set(item.originalIndex, {
|
|
8651
8751
|
status: "created",
|
|
8652
8752
|
text,
|
|
8653
8753
|
excerpt: excerpt(text),
|
|
8654
|
-
scopeId: result.scopeId
|
|
8655
|
-
...compiled?.handle ? { handle: compiled.handle } : {}
|
|
8754
|
+
scopeId: result.scopeId
|
|
8656
8755
|
});
|
|
8657
|
-
|
|
8756
|
+
return;
|
|
8658
8757
|
}
|
|
8758
|
+
const reason = result?.plantStatus?.reason ?? "unknown";
|
|
8659
8759
|
const detail = blockerWithOwner(
|
|
8660
|
-
`actions:placeholder-scopes:create-refused:${
|
|
8760
|
+
`actions:placeholder-scopes:create-refused:${reason}`,
|
|
8661
8761
|
"blocked",
|
|
8662
8762
|
"The placeholder match could not be converted into a workflow scope.",
|
|
8663
8763
|
"Refresh the document and retry; if it still refuses, route the target to the workflow/scope writer owner.",
|
|
@@ -8670,6 +8770,38 @@ function createPlaceholderScopes(runtime, input) {
|
|
|
8670
8770
|
blockers: Object.freeze([detail.code]),
|
|
8671
8771
|
blockerDetails: Object.freeze([detail])
|
|
8672
8772
|
});
|
|
8773
|
+
});
|
|
8774
|
+
if (createdScopeIds.length > 0) {
|
|
8775
|
+
const createdScopeIdSet = new Set(createdScopeIds);
|
|
8776
|
+
const handlesByScopeId = new Map(
|
|
8777
|
+
createScopeCompilerService(runtime).compileAllScopes().filter((scope) => createdScopeIdSet.has(scope.handle.scopeId)).map((scope) => [scope.handle.scopeId, scope.handle])
|
|
8778
|
+
);
|
|
8779
|
+
for (const [originalIndex, item] of byOriginalIndex) {
|
|
8780
|
+
if (item.status !== "created" || !item.scopeId) continue;
|
|
8781
|
+
const handle = handlesByScopeId.get(item.scopeId);
|
|
8782
|
+
if (!handle) {
|
|
8783
|
+
const detail = blockerWithOwner(
|
|
8784
|
+
`actions:placeholder-scopes:create-unresolved:${item.scopeId}`,
|
|
8785
|
+
"blocked",
|
|
8786
|
+
"The placeholder scope marker was planted but did not enumerate as a current semantic scope handle.",
|
|
8787
|
+
"Treat this target as unresolved, refresh scope enumeration, and route persistent misses to the semantic-scope compiler owner.",
|
|
8788
|
+
"L08"
|
|
8789
|
+
);
|
|
8790
|
+
byOriginalIndex.set(originalIndex, {
|
|
8791
|
+
status: "blocked",
|
|
8792
|
+
text: item.text,
|
|
8793
|
+
excerpt: item.excerpt,
|
|
8794
|
+
scopeId: item.scopeId,
|
|
8795
|
+
blockers: Object.freeze([detail.code]),
|
|
8796
|
+
blockerDetails: Object.freeze([detail])
|
|
8797
|
+
});
|
|
8798
|
+
continue;
|
|
8799
|
+
}
|
|
8800
|
+
byOriginalIndex.set(originalIndex, {
|
|
8801
|
+
...item,
|
|
8802
|
+
handle
|
|
8803
|
+
});
|
|
8804
|
+
}
|
|
8673
8805
|
}
|
|
8674
8806
|
const scopes = orderedHits.map((item) => byOriginalIndex.get(item.originalIndex)).filter((value) => value !== void 0);
|
|
8675
8807
|
const created = scopes.filter((scope) => scope.status === "created").length;
|
package/dist/compare.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CanonicalDocument, B as BlockNode } from './canonical-document-
|
|
1
|
+
import { C as CanonicalDocument, B as BlockNode } from './canonical-document-COmM7v11.cjs';
|
|
2
2
|
|
|
3
3
|
type OpcCompressionMethod = "store" | "deflate";
|
|
4
4
|
type OpcSurfaceKind = "content" | "relationships" | "content-types";
|
package/dist/compare.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CanonicalDocument, B as BlockNode } from './canonical-document-
|
|
1
|
+
import { C as CanonicalDocument, B as BlockNode } from './canonical-document-COmM7v11.js';
|
|
2
2
|
|
|
3
3
|
type OpcCompressionMethod = "store" | "deflate";
|
|
4
4
|
type OpcSurfaceKind = "content" | "relationships" | "content-types";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'prosemirror-state';
|
|
2
2
|
import 'prosemirror-model';
|
|
3
|
-
export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-
|
|
4
|
-
import '../../canonical-document-
|
|
3
|
+
export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-CSSH2Whc.cjs';
|
|
4
|
+
import '../../canonical-document-COmM7v11.cjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'prosemirror-state';
|
|
2
2
|
import 'prosemirror-model';
|
|
3
|
-
export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-
|
|
4
|
-
import '../../canonical-document-
|
|
3
|
+
export { gc as Alignment, gd as FormattingMutationResult, ge as FormattingOperation, gf as TextMarkClearTarget, gg as TextMarkRangeOperation, gh as applyFormattingOperationToDocument, gi as applyIndentation, gj as applyTextMarkOperationToDocumentRange, gk as getFormattingStateFromRenderSnapshot, gl as isMarkActive, gm as makeSetAlignment, gn as makeSetFontFamily, go as makeSetFontSize, gp as makeSetHighlight, gq as makeSetTextColor, gr as makeToggleAllCaps, gs as makeToggleBold, gt as makeToggleItalic, gu as makeToggleSmallCaps, gv as makeToggleStrikethrough, gw as makeToggleSubscript, gx as makeToggleSuperscript, gy as makeToggleUnderline } from '../../public-types-8kVIB5HW.js';
|
|
4
|
+
import '../../canonical-document-COmM7v11.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-
|
|
1
|
+
import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-CSSH2Whc.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.cjs';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-
|
|
1
|
+
import { C as CanonicalDocumentEnvelope, e as SelectionSnapshot, i as TransactionMapping } from '../../public-types-8kVIB5HW.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.js';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-
|
|
2
|
-
import { C as CanonicalDocument, P as PageSize, a as PageMargins, b as ColumnProperties, c as PageNumbering } from '../../canonical-document-
|
|
1
|
+
import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-CSSH2Whc.cjs';
|
|
2
|
+
import { C as CanonicalDocument, P as PageSize, a as PageMargins, b as ColumnProperties, c as PageNumbering } from '../../canonical-document-COmM7v11.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
import 'y-protocols/awareness';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-
|
|
2
|
-
import { C as CanonicalDocument, P as PageSize, a as PageMargins, b as ColumnProperties, c as PageNumbering } from '../../canonical-document-
|
|
1
|
+
import { j as SelectionSnapshot, M as MarginPresetDefinition, k as PageFormatDefinition, R as RuntimeRenderSnapshot } from '../../public-types-8kVIB5HW.js';
|
|
2
|
+
import { C as CanonicalDocument, P as PageSize, a as PageMargins, b as ColumnProperties, c as PageNumbering } from '../../canonical-document-COmM7v11.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
import 'y-protocols/awareness';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-
|
|
1
|
+
import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-CSSH2Whc.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.cjs';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-
|
|
1
|
+
import { P as PersistedEditorSnapshot, R as RuntimeRenderSnapshot } from '../../public-types-8kVIB5HW.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.js';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-
|
|
2
|
-
import '../../canonical-document-
|
|
1
|
+
export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-CSSH2Whc.cjs';
|
|
2
|
+
import '../../canonical-document-COmM7v11.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
import 'y-protocols/awareness';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-
|
|
2
|
-
import '../../canonical-document-
|
|
1
|
+
export { gz as CellLocator, gA as TableStructureOperation, gB as applyTableStructureOperation, gC as applyTableStructureOperationForEditableTarget, gD as getTableStructureContext, gE as removeCellFromRow, gF as removeTableRowPure, gG as tableStructureActionHandleForTarget } from '../../public-types-8kVIB5HW.js';
|
|
2
|
+
import '../../canonical-document-COmM7v11.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
import 'y-protocols/awareness';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-
|
|
1
|
+
import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-CSSH2Whc.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.cjs';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-
|
|
1
|
+
import { T as TextTransactionTextTarget, d as EditorSurfaceSnapshot, S as ScopeSurfaceTelemetry, C as CanonicalDocumentEnvelope, e as SelectionSnapshot, f as TextTransactionResult, g as StructuralMutationResult, I as InsertTableOptions, h as TextFormattingDirective, i as TransactionMapping } from '../../public-types-8kVIB5HW.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.js';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-
|
|
1
|
+
export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-CSSH2Whc.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.cjs';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-
|
|
1
|
+
export { fq as Assoc, fr as BoundaryAssoc, fs as DEFAULT_BOUNDARY_ASSOC, ft as DetachedAnchor, fu as DocRange, b7 as EditorAnchorProjection, fv as InternalEditorAnchorProjection, fw as MAIN_STORY_TARGET, fx as MappingResult, fy as MappingStep, fz as NodeAnchor, fA as Position, fB as RangeAnchor, i as TransactionMapping, fC as anchorUnaffectedByMapping, fD as areAnchorsEqual, fE as createDetachedAnchor, fF as createEmptyMapping, fG as createNodeAnchor, fH as createRangeAnchor, fI as getEffectiveRange, fJ as mapAnchor, fK as mapPosition, fL as mapRange, fM as normalizeRange, fN as storyTargetsEqual } from '../../public-types-8kVIB5HW.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
|
-
import '../../canonical-document-
|
|
5
|
+
import '../../canonical-document-COmM7v11.js';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-
|
|
2
|
-
export { o as createCanonicalDocumentId } from '../../canonical-document-
|
|
1
|
+
export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-CSSH2Whc.cjs';
|
|
2
|
+
export { o as createCanonicalDocumentId } from '../../canonical-document-COmM7v11.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
import 'y-protocols/awareness';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-
|
|
2
|
-
export { o as createCanonicalDocumentId } from '../../canonical-document-
|
|
1
|
+
export { C as CanonicalDocumentEnvelope, fO as CommandStateSnapshot, fP as CommentEntryRecord, fQ as CommentResolutionRecord, fR as CommentSidebarSnapshot, fS as CommentThreadRecord, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, fT as CompatibilityPanelSnapshot, r as CompatibilityReport, fU as CreateEditorStateOptions, fV as DocumentStats, t as EditorError, cu as EditorErrorCode, fW as EditorRuntimeState, fX as EditorState, cJ as EditorWarning, cK as EditorWarningCode, fY as PersistedEditorSnapshot, fZ as ReviewStore, f_ as RevisionMetadataRecord, f$ as RevisionRecord, g0 as RuntimePhase, g1 as RuntimeRenderSnapshot, e as SelectionSnapshot, g2 as TrackedChangesSnapshot, g3 as createDefaultCanonicalDocument, g4 as createEditorState, g5 as createEmptyCompatibilityReport, g6 as createEmptyReviewStore, g7 as createPersistedEditorSnapshot, g8 as createSelectionSnapshot, g9 as deriveDocumentStats, ga as deriveRenderSnapshot, gb as normalizeCommentThreadRecord } from '../../public-types-8kVIB5HW.js';
|
|
2
|
+
export { o as createCanonicalDocumentId } from '../../canonical-document-COmM7v11.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
import 'y-protocols/awareness';
|