@pixerate/editor 0.234.0 → 0.236.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.
Files changed (45) hide show
  1. package/dist/agent/index.cjs +286 -27
  2. package/dist/agent/index.d.cts +1 -0
  3. package/dist/agent/index.d.ts +1 -0
  4. package/dist/agent/index.js +261 -2
  5. package/dist/agent/reviewTools.d.cts +16 -0
  6. package/dist/agent/reviewTools.d.ts +16 -0
  7. package/dist/animation-editor/controller.d.cts +25 -0
  8. package/dist/animation-editor/controller.d.ts +25 -0
  9. package/dist/animation-editor/index.cjs +159 -50
  10. package/dist/animation-editor/index.d.cts +1 -0
  11. package/dist/animation-editor/index.d.ts +1 -0
  12. package/dist/animation-editor/index.js +115 -6
  13. package/dist/animation-editor/layers.d.cts +2 -0
  14. package/dist/animation-editor/layers.d.ts +2 -0
  15. package/dist/animation-editor/sequence.d.cts +33 -0
  16. package/dist/animation-editor/sequence.d.ts +33 -0
  17. package/dist/{chunk-PI2UYMZY.js → chunk-FSLKBQU7.js} +269 -15
  18. package/dist/{chunk-I277KJLQ.js → chunk-G3RUKJ5C.js} +105 -1
  19. package/dist/{chunk-6RZVFYGJ.cjs → chunk-JWCKJNDR.cjs} +105 -1
  20. package/dist/{chunk-3MO3ZS7E.js → chunk-PHYOZK3B.js} +59 -311
  21. package/dist/{chunk-CZBRY4SW.cjs → chunk-WPWHT4Z6.cjs} +122 -374
  22. package/dist/{chunk-O7QXVGMP.cjs → chunk-WV5WTOC6.cjs} +295 -41
  23. package/dist/effects/index.cjs +19 -11
  24. package/dist/effects/index.d.cts +1 -0
  25. package/dist/effects/index.d.ts +1 -0
  26. package/dist/effects/index.js +9 -1
  27. package/dist/effects/template-tools.d.cts +25 -0
  28. package/dist/effects/template-tools.d.ts +25 -0
  29. package/dist/effects/templates.d.cts +30 -1
  30. package/dist/effects/templates.d.ts +30 -1
  31. package/dist/extensions/index.cjs +6 -6
  32. package/dist/extensions/index.js +10 -10
  33. package/dist/index.cjs +11 -11
  34. package/dist/index.js +10 -10
  35. package/dist/video-editor/controller.d.cts +26 -0
  36. package/dist/video-editor/controller.d.ts +26 -0
  37. package/dist/video-editor/index.cjs +187 -42
  38. package/dist/video-editor/index.d.cts +1 -0
  39. package/dist/video-editor/index.d.ts +1 -0
  40. package/dist/video-editor/index.js +145 -0
  41. package/dist/video-editor/sequence.d.cts +38 -0
  42. package/dist/video-editor/sequence.d.ts +38 -0
  43. package/package.json +1 -1
  44. package/skills/pixerate-rich-text/SKILL.md +28 -1
  45. package/skills/pixerate-rich-text-revise/SKILL.md +8 -1
@@ -24,7 +24,11 @@ var _chunkA7PQNIBXcjs = require('../chunk-A7PQNIBX.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunk6RZVFYGJcjs = require('../chunk-6RZVFYGJ.cjs');
27
+
28
+
29
+
30
+
31
+ var _chunkJWCKJNDRcjs = require('../chunk-JWCKJNDR.cjs');
28
32
 
29
33
 
30
34
  var _chunkPY4GWSE2cjs = require('../chunk-PY4GWSE2.cjs');
@@ -223,14 +227,14 @@ function checkSlot(templateId, slot, issues) {
223
227
  if (!slot || typeof slot.name !== "string" || !/^[A-Za-z][\w-]*$/.test(slot.name)) return at('needs a name of letters, digits, "-" and "_", starting with a letter');
224
228
  if (!_chunkJAOSL334cjs.EFFECT_TEMPLATE_SLOT_TYPES.includes(slot.type)) return at(`type "${slot.type}" is not one of ${_chunkJAOSL334cjs.EFFECT_TEMPLATE_SLOT_TYPES.join(", ")}`);
225
229
  if (typeof slot.label !== "string" || !slot.label) at("needs a label");
226
- if (_chunk6RZVFYGJcjs.isSubjectTemplateSlot.call(void 0, slot)) {
230
+ if (_chunkJWCKJNDRcjs.isSubjectTemplateSlot.call(void 0, slot)) {
227
231
  if (typeof slot.hasDefault !== "boolean") at("a subject slot needs hasDefault (a boolean)");
228
232
  if ("default" in slot) at("a subject slot describes hasDefault, not its default");
229
233
  return;
230
234
  }
231
235
  const fallback = slot.default;
232
236
  if (fallback === void 0) return at("needs a default");
233
- const problem = _chunk6RZVFYGJcjs.templateValueProblem.call(void 0, slot, fallback);
237
+ const problem = _chunkJWCKJNDRcjs.templateValueProblem.call(void 0, slot, fallback);
234
238
  if (problem) at(`its default does not fit: ${problem}`);
235
239
  if (slot.type === "number" && slot.min !== void 0 && slot.max !== void 0 && slot.min > slot.max) at("min is above max");
236
240
  }
@@ -276,11 +280,11 @@ async function checkTemplates(provider, list, issues) {
276
280
  const result = await provider.instantiateTemplate(id);
277
281
  if (!result.ok) at(`instantiateTemplate with the defaults failed: ${result.errors.join(" ")}`);
278
282
  else {
279
- for (const p of _chunk6RZVFYGJcjs.checkEffectSequence.call(void 0, result.sequence, list)) at(`with the defaults, ${p}`);
283
+ for (const p of _chunkJWCKJNDRcjs.checkEffectSequence.call(void 0, result.sequence, list)) at(`with the defaults, ${p}`);
280
284
  if (_optionalChain([result, 'access', _15 => _15.sequence, 'optionalAccess', _16 => _16.shots, 'optionalAccess', _17 => _17.length]) !== summary.shots) at(`listTemplates says ${summary.shots} shots; the sequence has ${_optionalChain([result, 'access', _18 => _18.sequence, 'optionalAccess', _19 => _19.shots, 'optionalAccess', _20 => _20.length])}`);
281
285
  if (!Array.isArray(result.openSlots) || !Array.isArray(result.notes)) at("instantiateTemplate needs openSlots and notes lists");
282
286
  else {
283
- const open = Array.isArray(_optionalChain([result, 'access', _21 => _21.sequence, 'optionalAccess', _22 => _22.shots])) ? _chunk6RZVFYGJcjs.effectSequenceSlots.call(void 0, result.sequence) : [];
287
+ const open = Array.isArray(_optionalChain([result, 'access', _21 => _21.sequence, 'optionalAccess', _22 => _22.shots])) ? _chunkJWCKJNDRcjs.effectSequenceSlots.call(void 0, result.sequence) : [];
284
288
  if (open.some((s) => !result.openSlots.includes(s))) at(`openSlots ${JSON.stringify(result.openSlots)} misses slots the sequence leaves open (${open.join(", ")})`);
285
289
  }
286
290
  }
@@ -498,7 +502,7 @@ function fill(t, values) {
498
502
  const slots = new Map(t.slots.map((s) => [s.name, s]));
499
503
  const valueOf = (name) => {
500
504
  const s = slots.get(name);
501
- return _nullishCoalesce(values[name], () => ( (_chunk6RZVFYGJcjs.isSubjectTemplateSlot.call(void 0, s) ? s.subjectDefault : s.default)));
505
+ return _nullishCoalesce(values[name], () => ( (_chunkJWCKJNDRcjs.isSubjectTemplateSlot.call(void 0, s) ? s.subjectDefault : s.default)));
502
506
  };
503
507
  const walk = (v, key) => {
504
508
  if (typeof v === "string") {
@@ -525,16 +529,16 @@ function fakeTemplateMethods() {
525
529
  return t;
526
530
  };
527
531
  return {
528
- listTemplates: (options) => _chunk6RZVFYGJcjs.searchTemplateSummaries.call(void 0, TEMPLATES.map((t) => t.summary), options).map((s) => structuredClone(s)),
532
+ listTemplates: (options) => _chunkJWCKJNDRcjs.searchTemplateSummaries.call(void 0, TEMPLATES.map((t) => t.summary), options).map((s) => structuredClone(s)),
529
533
  describeTemplate: (id) => structuredClone(describeOf(get(id))),
530
534
  instantiateTemplate(id, values = {}, options = {}) {
531
535
  const t = get(id);
532
- const errors = _chunk6RZVFYGJcjs.checkTemplateValues.call(void 0, describeOf(t).slots, values);
533
- if (options.name !== void 0 && (typeof options.name !== "string" || !_chunk6RZVFYGJcjs.EFFECT_SEQUENCE_NAME.test(options.name))) errors.push(`The sequence name is lowercase words and dashes (like "${t.summary.id.replace(/^fake\./, "")}").`);
536
+ const errors = _chunkJWCKJNDRcjs.checkTemplateValues.call(void 0, describeOf(t).slots, values);
537
+ if (options.name !== void 0 && (typeof options.name !== "string" || !_chunkJWCKJNDRcjs.EFFECT_SEQUENCE_NAME.test(options.name))) errors.push(`The sequence name is lowercase words and dashes (like "${t.summary.id.replace(/^fake\./, "")}").`);
534
538
  if (errors.length) return { ok: false, errors };
535
539
  const sequence = fill(t, values);
536
540
  if (options.name) sequence.name = options.name;
537
- return { ok: true, sequence, openSlots: _chunk6RZVFYGJcjs.effectSequenceSlots.call(void 0, sequence), notes: [] };
541
+ return { ok: true, sequence, openSlots: _chunkJWCKJNDRcjs.effectSequenceSlots.call(void 0, sequence), notes: [] };
538
542
  }
539
543
  };
540
544
  }
@@ -1607,4 +1611,8 @@ function createEffectAuthoringToolProvider(host, options) {
1607
1611
 
1608
1612
 
1609
1613
 
1610
- exports.CAMERA_MOVE_MAX_MS = _chunkJAOSL334cjs.CAMERA_MOVE_MAX_MS; exports.CAMERA_MOVE_ROLES = _chunkJAOSL334cjs.CAMERA_MOVE_ROLES; exports.EFFECT_ERROR_CODES = _chunkJAOSL334cjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunkJAOSL334cjs.EFFECT_KINDS; exports.EFFECT_LAYER_ROLES = _chunkJAOSL334cjs.EFFECT_LAYER_ROLES; exports.EFFECT_LAYER_USES = _chunk6RZVFYGJcjs.EFFECT_LAYER_USES; exports.EFFECT_SEQUENCE_NAME = _chunk6RZVFYGJcjs.EFFECT_SEQUENCE_NAME; exports.EFFECT_SUBJECT_KINDS = _chunkJAOSL334cjs.EFFECT_SUBJECT_KINDS; exports.EFFECT_TEMPLATE_SLOT_TYPES = _chunkJAOSL334cjs.EFFECT_TEMPLATE_SLOT_TYPES; exports.EFFECT_TRANSITION_MS = _chunkJAOSL334cjs.EFFECT_TRANSITION_MS; exports.EFFECT_USES = _chunkJAOSL334cjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunkJAOSL334cjs.EffectControlError; exports.EffectDisposedError = _chunkJAOSL334cjs.EffectDisposedError; exports.EffectError = _chunkJAOSL334cjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunkJAOSL334cjs.EffectUnsupportedError; exports.EffectsSlot = _chunkJAOSL334cjs.EffectsSlot; exports.NoEffectsProviderError = _chunkJAOSL334cjs.NoEffectsProviderError; exports.UnknownEffectError = _chunkJAOSL334cjs.UnknownEffectError; exports.UnknownTemplateError = _chunkJAOSL334cjs.UnknownTemplateError; exports.applyEffectMask = _chunkJAOSL334cjs.applyEffectMask; exports.cameraBoxOfView = _chunkJAOSL334cjs.cameraBoxOfView; exports.cameraMoveField = _chunkJAOSL334cjs.cameraMoveField; exports.cameraMoveIdList = _chunkJAOSL334cjs.cameraMoveIdList; exports.cameraMoveParts = _chunkJAOSL334cjs.cameraMoveParts; exports.cameraMovesFor = _chunkJAOSL334cjs.cameraMovesFor; exports.cameraViewOfBox = _chunkJAOSL334cjs.cameraViewOfBox; exports.checkEffectProvider = checkEffectProvider; exports.checkEffectSequence = _chunk6RZVFYGJcjs.checkEffectSequence; exports.checkTemplateValues = _chunk6RZVFYGJcjs.checkTemplateValues; exports.countEffectTags = _chunkJAOSL334cjs.countEffectTags; exports.createEffectAuthoringSession = _chunkA7PQNIBXcjs.createEffectAuthoringSession; exports.createEffectAuthoringToolProvider = createEffectAuthoringToolProvider; exports.createEffectPixels = _chunkJAOSL334cjs.createEffectPixels; exports.createEffectToolProvider = _chunkJAOSL334cjs.createEffectToolProvider; exports.createFakeEffectProvider = createFakeEffectProvider; exports.effectControlField = effectControlField; exports.effectFieldValue = effectFieldValue; exports.effectFontFamilies = effectFontFamilies; exports.effectLayerInput = _chunk6RZVFYGJcjs.effectLayerInput; exports.effectLayerOffered = _chunk6RZVFYGJcjs.effectLayerOffered; exports.effectLayerRole = _chunk6RZVFYGJcjs.effectLayerRole; exports.effectOffered = _chunkJAOSL334cjs.effectOffered; exports.effectParameterFields = effectParameterFields; exports.effectSampleInputs = effectSampleInputs; exports.effectSamplePicture = effectSamplePicture; exports.effectSequenceEffects = _chunk6RZVFYGJcjs.effectSequenceEffects; exports.effectSequenceSlots = _chunk6RZVFYGJcjs.effectSequenceSlots; exports.effectSubjectKind = _chunk6RZVFYGJcjs.effectSubjectKind; exports.effectSubjectProblem = _chunk6RZVFYGJcjs.effectSubjectProblem; exports.effectValueErrors = _chunkJAOSL334cjs.effectValueErrors; exports.encodeEffectFloat = _chunkJAOSL334cjs.encodeEffectFloat; exports.groupEffectsByCategory = groupEffectsByCategory; exports.hasEffectTags = _chunkJAOSL334cjs.hasEffectTags; exports.isCameraView = _chunkJAOSL334cjs.isCameraView; exports.isEffectError = _chunkJAOSL334cjs.isEffectError; exports.isEffectFontControl = isEffectFontControl; exports.isEffectPixels = _chunkJAOSL334cjs.isEffectPixels; exports.isSubjectTemplateSlot = _chunk6RZVFYGJcjs.isSubjectTemplateSlot; exports.linearToSrgb = _chunkJAOSL334cjs.linearToSrgb; exports.normaliseEffectTag = _chunkJAOSL334cjs.normaliseEffectTag; exports.renderEffectThumbnail = renderEffectThumbnail; exports.resolveCameraMoveSpec = _chunkJAOSL334cjs.resolveCameraMoveSpec; exports.resolveEffectValues = _chunkJAOSL334cjs.resolveEffectValues; exports.sampleCameraViews = _chunkJAOSL334cjs.sampleCameraViews; exports.sampleEffectCameraMove = _chunkJAOSL334cjs.sampleEffectCameraMove; exports.searchEffectSummaries = _chunkJAOSL334cjs.searchEffectSummaries; exports.searchTemplateSummaries = _chunk6RZVFYGJcjs.searchTemplateSummaries; exports.srgbToLinear = _chunkJAOSL334cjs.srgbToLinear; exports.templateDefaultValues = _chunk6RZVFYGJcjs.templateDefaultValues; exports.templateSlotSchema = _chunk6RZVFYGJcjs.templateSlotSchema; exports.templateSlotSummary = _chunk6RZVFYGJcjs.templateSlotSummary; exports.templateSlotTakes = _chunk6RZVFYGJcjs.templateSlotTakes; exports.templateValueProblem = _chunk6RZVFYGJcjs.templateValueProblem; exports.templateValuesSchema = _chunk6RZVFYGJcjs.templateValuesSchema;
1614
+
1615
+
1616
+
1617
+
1618
+ exports.CAMERA_MOVE_MAX_MS = _chunkJAOSL334cjs.CAMERA_MOVE_MAX_MS; exports.CAMERA_MOVE_ROLES = _chunkJAOSL334cjs.CAMERA_MOVE_ROLES; exports.EFFECT_ERROR_CODES = _chunkJAOSL334cjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunkJAOSL334cjs.EFFECT_KINDS; exports.EFFECT_LAYER_ROLES = _chunkJAOSL334cjs.EFFECT_LAYER_ROLES; exports.EFFECT_LAYER_USES = _chunkJWCKJNDRcjs.EFFECT_LAYER_USES; exports.EFFECT_SEQUENCE_NAME = _chunkJWCKJNDRcjs.EFFECT_SEQUENCE_NAME; exports.EFFECT_SUBJECT_KINDS = _chunkJAOSL334cjs.EFFECT_SUBJECT_KINDS; exports.EFFECT_TEMPLATE_SLOT_TYPES = _chunkJAOSL334cjs.EFFECT_TEMPLATE_SLOT_TYPES; exports.EFFECT_TRANSITION_MS = _chunkJAOSL334cjs.EFFECT_TRANSITION_MS; exports.EFFECT_USES = _chunkJAOSL334cjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunkJAOSL334cjs.EffectControlError; exports.EffectDisposedError = _chunkJAOSL334cjs.EffectDisposedError; exports.EffectError = _chunkJAOSL334cjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunkJAOSL334cjs.EffectUnsupportedError; exports.EffectsSlot = _chunkJAOSL334cjs.EffectsSlot; exports.NoEffectsProviderError = _chunkJAOSL334cjs.NoEffectsProviderError; exports.UnknownEffectError = _chunkJAOSL334cjs.UnknownEffectError; exports.UnknownTemplateError = _chunkJAOSL334cjs.UnknownTemplateError; exports.applyEffectMask = _chunkJAOSL334cjs.applyEffectMask; exports.cameraBoxOfView = _chunkJAOSL334cjs.cameraBoxOfView; exports.cameraMoveField = _chunkJAOSL334cjs.cameraMoveField; exports.cameraMoveIdList = _chunkJAOSL334cjs.cameraMoveIdList; exports.cameraMoveParts = _chunkJAOSL334cjs.cameraMoveParts; exports.cameraMovesFor = _chunkJAOSL334cjs.cameraMovesFor; exports.cameraViewOfBox = _chunkJAOSL334cjs.cameraViewOfBox; exports.checkEffectProvider = checkEffectProvider; exports.checkEffectSequence = _chunkJWCKJNDRcjs.checkEffectSequence; exports.checkTemplateValues = _chunkJWCKJNDRcjs.checkTemplateValues; exports.countEffectTags = _chunkJAOSL334cjs.countEffectTags; exports.createEffectAuthoringSession = _chunkA7PQNIBXcjs.createEffectAuthoringSession; exports.createEffectAuthoringToolProvider = createEffectAuthoringToolProvider; exports.createEffectPixels = _chunkJAOSL334cjs.createEffectPixels; exports.createEffectToolProvider = _chunkJAOSL334cjs.createEffectToolProvider; exports.createFakeEffectProvider = createFakeEffectProvider; exports.effectControlField = effectControlField; exports.effectFieldValue = effectFieldValue; exports.effectFontFamilies = effectFontFamilies; exports.effectLayerInput = _chunkJWCKJNDRcjs.effectLayerInput; exports.effectLayerOffered = _chunkJWCKJNDRcjs.effectLayerOffered; exports.effectLayerRole = _chunkJWCKJNDRcjs.effectLayerRole; exports.effectLayerSpan = _chunkJWCKJNDRcjs.effectLayerSpan; exports.effectOffered = _chunkJAOSL334cjs.effectOffered; exports.effectParameterFields = effectParameterFields; exports.effectSampleInputs = effectSampleInputs; exports.effectSamplePicture = effectSamplePicture; exports.effectSequenceEffects = _chunkJWCKJNDRcjs.effectSequenceEffects; exports.effectSequenceSlots = _chunkJWCKJNDRcjs.effectSequenceSlots; exports.effectSequenceTiming = _chunkJWCKJNDRcjs.effectSequenceTiming; exports.effectSubjectKind = _chunkJWCKJNDRcjs.effectSubjectKind; exports.effectSubjectProblem = _chunkJWCKJNDRcjs.effectSubjectProblem; exports.effectTemplateTools = _chunkJWCKJNDRcjs.effectTemplateTools; exports.effectValueErrors = _chunkJAOSL334cjs.effectValueErrors; exports.encodeEffectFloat = _chunkJAOSL334cjs.encodeEffectFloat; exports.fillEffectTemplate = _chunkJWCKJNDRcjs.fillEffectTemplate; exports.groupEffectsByCategory = groupEffectsByCategory; exports.hasEffectTags = _chunkJAOSL334cjs.hasEffectTags; exports.isCameraView = _chunkJAOSL334cjs.isCameraView; exports.isEffectError = _chunkJAOSL334cjs.isEffectError; exports.isEffectFontControl = isEffectFontControl; exports.isEffectPixels = _chunkJAOSL334cjs.isEffectPixels; exports.isSubjectTemplateSlot = _chunkJWCKJNDRcjs.isSubjectTemplateSlot; exports.linearToSrgb = _chunkJAOSL334cjs.linearToSrgb; exports.normaliseEffectTag = _chunkJAOSL334cjs.normaliseEffectTag; exports.renderEffectThumbnail = renderEffectThumbnail; exports.resolveCameraMoveSpec = _chunkJAOSL334cjs.resolveCameraMoveSpec; exports.resolveEffectValues = _chunkJAOSL334cjs.resolveEffectValues; exports.sampleCameraViews = _chunkJAOSL334cjs.sampleCameraViews; exports.sampleEffectCameraMove = _chunkJAOSL334cjs.sampleEffectCameraMove; exports.searchEffectSummaries = _chunkJAOSL334cjs.searchEffectSummaries; exports.searchTemplateSummaries = _chunkJWCKJNDRcjs.searchTemplateSummaries; exports.srgbToLinear = _chunkJAOSL334cjs.srgbToLinear; exports.templateDefaultValues = _chunkJWCKJNDRcjs.templateDefaultValues; exports.templateSlotSchema = _chunkJWCKJNDRcjs.templateSlotSchema; exports.templateSlotSummary = _chunkJWCKJNDRcjs.templateSlotSummary; exports.templateSlotTakes = _chunkJWCKJNDRcjs.templateSlotTakes; exports.templateValueProblem = _chunkJWCKJNDRcjs.templateValueProblem; exports.templateValuesSchema = _chunkJWCKJNDRcjs.templateValuesSchema;
@@ -11,6 +11,7 @@ export * from './templates.cjs';
11
11
  export * from './conformance.cjs';
12
12
  export * from './fake.cjs';
13
13
  export * from './tools.cjs';
14
+ export * from './template-tools.cjs';
14
15
  export * from './ui.cjs';
15
16
  export * from './pool.cjs';
16
17
  export * from './authoring.cjs';
@@ -11,6 +11,7 @@ export * from './templates.js';
11
11
  export * from './conformance.js';
12
12
  export * from './fake.js';
13
13
  export * from './tools.js';
14
+ export * from './template-tools.js';
14
15
  export * from './ui.js';
15
16
  export * from './pool.js';
16
17
  export * from './authoring.js';
@@ -12,10 +12,14 @@ import {
12
12
  effectLayerInput,
13
13
  effectLayerOffered,
14
14
  effectLayerRole,
15
+ effectLayerSpan,
15
16
  effectSequenceEffects,
16
17
  effectSequenceSlots,
18
+ effectSequenceTiming,
17
19
  effectSubjectKind,
18
20
  effectSubjectProblem,
21
+ effectTemplateTools,
22
+ fillEffectTemplate,
19
23
  isSubjectTemplateSlot,
20
24
  searchTemplateSummaries,
21
25
  templateDefaultValues,
@@ -24,7 +28,7 @@ import {
24
28
  templateSlotTakes,
25
29
  templateValueProblem,
26
30
  templateValuesSchema
27
- } from "../chunk-I277KJLQ.js";
31
+ } from "../chunk-G3RUKJ5C.js";
28
32
  import {
29
33
  EffectRendererPool
30
34
  } from "../chunk-EHLOCVWB.js";
@@ -1574,16 +1578,20 @@ export {
1574
1578
  effectLayerInput,
1575
1579
  effectLayerOffered,
1576
1580
  effectLayerRole,
1581
+ effectLayerSpan,
1577
1582
  effectOffered,
1578
1583
  effectParameterFields,
1579
1584
  effectSampleInputs,
1580
1585
  effectSamplePicture,
1581
1586
  effectSequenceEffects,
1582
1587
  effectSequenceSlots,
1588
+ effectSequenceTiming,
1583
1589
  effectSubjectKind,
1584
1590
  effectSubjectProblem,
1591
+ effectTemplateTools,
1585
1592
  effectValueErrors,
1586
1593
  encodeEffectFloat,
1594
+ fillEffectTemplate,
1587
1595
  groupEffectsByCategory,
1588
1596
  hasEffectTags,
1589
1597
  isCameraView,
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Agent tools for the provider's sequence templates, shared by the editors that can load an
3
+ * `EffectSequence`: `list_templates`, `describe_template` and `fill_template`. An editor gives
4
+ * them to its effect tool provider (`extraTools`) with an `EffectTemplateToolHost` that says what
5
+ * filling makes there and does it as one undo step.
6
+ */
7
+ import type { AgentTool } from '../tools/registry.cjs';
8
+ import type { JsonSchema } from '../tools/schema.cjs';
9
+ import type { EffectToolContext } from './tools.cjs';
10
+ import type { EffectProvider } from './types.cjs';
11
+ export interface EffectTemplateToolHost {
12
+ /** The current provider, or `null`. */
13
+ provider(): EffectProvider | null;
14
+ /** Added to `fill_template`'s description: what filling makes in this editor and what it returns. */
15
+ fillDetails: string;
16
+ /** Arguments `fill_template` takes in this editor besides `template`, `values` and `name`. */
17
+ fillOptions?: Record<string, JsonSchema>;
18
+ /** Fills the template and loads it as one undo step; returns what it made. Throws a sentence when it cannot. */
19
+ fill(template: string, values: Record<string, unknown>, options: {
20
+ name?: string;
21
+ [option: string]: unknown;
22
+ }): Promise<Record<string, unknown>>;
23
+ }
24
+ /** The template tools (see the module comment). */
25
+ export declare function effectTemplateTools(host: EffectTemplateToolHost, ctx: EffectToolContext): AgentTool[];
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Agent tools for the provider's sequence templates, shared by the editors that can load an
3
+ * `EffectSequence`: `list_templates`, `describe_template` and `fill_template`. An editor gives
4
+ * them to its effect tool provider (`extraTools`) with an `EffectTemplateToolHost` that says what
5
+ * filling makes there and does it as one undo step.
6
+ */
7
+ import type { AgentTool } from '../tools/registry.js';
8
+ import type { JsonSchema } from '../tools/schema.js';
9
+ import type { EffectToolContext } from './tools.js';
10
+ import type { EffectProvider } from './types.js';
11
+ export interface EffectTemplateToolHost {
12
+ /** The current provider, or `null`. */
13
+ provider(): EffectProvider | null;
14
+ /** Added to `fill_template`'s description: what filling makes in this editor and what it returns. */
15
+ fillDetails: string;
16
+ /** Arguments `fill_template` takes in this editor besides `template`, `values` and `name`. */
17
+ fillOptions?: Record<string, JsonSchema>;
18
+ /** Fills the template and loads it as one undo step; returns what it made. Throws a sentence when it cannot. */
19
+ fill(template: string, values: Record<string, unknown>, options: {
20
+ name?: string;
21
+ [option: string]: unknown;
22
+ }): Promise<Record<string, unknown>>;
23
+ }
24
+ /** The template tools (see the module comment). */
25
+ export declare function effectTemplateTools(host: EffectTemplateToolHost, ctx: EffectToolContext): AgentTool[];
@@ -4,7 +4,7 @@
4
4
  * a sequence before loading it, and which input a layer's subject feeds. Dependency-free.
5
5
  */
6
6
  import type { JsonSchema } from '../tools/schema.cjs';
7
- import { type EffectDescription, type EffectLayer, type EffectLayerRole, type EffectSequence, type EffectSubjectKind, type EffectSummary, type EffectTemplateSearchOptions, type EffectTemplateSlot, type EffectTemplateSummary } from './types.cjs';
7
+ import { type EffectDescription, type EffectProvider, type EffectTemplateDescription, type EffectTemplateOptions, type EffectLayer, type EffectLayerRole, type EffectSequence, type EffectSubjectKind, type EffectSummary, type EffectTemplateSearchOptions, type EffectTemplateSlot, type EffectTemplateSummary } from './types.cjs';
8
8
  export declare const EFFECT_SEQUENCE_NAME: RegExp;
9
9
  /** True for a subject slot (`image`, `video`, `svg`). */
10
10
  export declare const isSubjectTemplateSlot: (slot: Pick<EffectTemplateSlot, "type">) => boolean;
@@ -54,3 +54,32 @@ export declare function checkEffectSequence(sequence: unknown, catalog?: readonl
54
54
  export declare function effectSequenceEffects(sequence: EffectSequence): string[];
55
55
  /** Subject slots a sequence leaves for the host (`{ slot }` subjects), each once. */
56
56
  export declare function effectSequenceSlots(sequence: EffectSequence): string[];
57
+ /** A filled template, checked and ready for an editor to load. */
58
+ export interface FilledEffectTemplate {
59
+ template: EffectTemplateDescription;
60
+ sequence: EffectSequence;
61
+ openSlots: string[];
62
+ notes: string[];
63
+ }
64
+ /**
65
+ * Fills a provider template for an editor: checks the provider has templates, checks `values`
66
+ * against the slots first (every problem at once, as sentences), fills it, and checks the
67
+ * sequence against the provider's catalog before anything is loaded. Throws an `Error` whose
68
+ * message says what is wrong and what to call instead; never returns a sequence that names
69
+ * effects the provider does not list.
70
+ */
71
+ export declare function fillEffectTemplate(provider: EffectProvider | null | undefined, id: string, values?: unknown, options?: EffectTemplateOptions): Promise<FilledEffectTemplate>;
72
+ /** Where a layer of a sequence shows, in ms from the sequence's start, given each shot's start and the total length. */
73
+ export declare function effectLayerSpan(layer: Pick<EffectLayer, 'from' | 'until'>, shotIndex: number, shotStarts: readonly number[], total: number): {
74
+ start: number;
75
+ end: number;
76
+ };
77
+ /**
78
+ * When each shot of a sequence starts and how long it all lasts (ms): a shot plays its lead-in (the
79
+ * longer of its transition and its camera move in, when the move says its `ms`) and then holds.
80
+ */
81
+ export declare function effectSequenceTiming(sequence: EffectSequence): {
82
+ starts: number[];
83
+ leadIns: number[];
84
+ total: number;
85
+ };
@@ -4,7 +4,7 @@
4
4
  * a sequence before loading it, and which input a layer's subject feeds. Dependency-free.
5
5
  */
6
6
  import type { JsonSchema } from '../tools/schema.js';
7
- import { type EffectDescription, type EffectLayer, type EffectLayerRole, type EffectSequence, type EffectSubjectKind, type EffectSummary, type EffectTemplateSearchOptions, type EffectTemplateSlot, type EffectTemplateSummary } from './types.js';
7
+ import { type EffectDescription, type EffectProvider, type EffectTemplateDescription, type EffectTemplateOptions, type EffectLayer, type EffectLayerRole, type EffectSequence, type EffectSubjectKind, type EffectSummary, type EffectTemplateSearchOptions, type EffectTemplateSlot, type EffectTemplateSummary } from './types.js';
8
8
  export declare const EFFECT_SEQUENCE_NAME: RegExp;
9
9
  /** True for a subject slot (`image`, `video`, `svg`). */
10
10
  export declare const isSubjectTemplateSlot: (slot: Pick<EffectTemplateSlot, "type">) => boolean;
@@ -54,3 +54,32 @@ export declare function checkEffectSequence(sequence: unknown, catalog?: readonl
54
54
  export declare function effectSequenceEffects(sequence: EffectSequence): string[];
55
55
  /** Subject slots a sequence leaves for the host (`{ slot }` subjects), each once. */
56
56
  export declare function effectSequenceSlots(sequence: EffectSequence): string[];
57
+ /** A filled template, checked and ready for an editor to load. */
58
+ export interface FilledEffectTemplate {
59
+ template: EffectTemplateDescription;
60
+ sequence: EffectSequence;
61
+ openSlots: string[];
62
+ notes: string[];
63
+ }
64
+ /**
65
+ * Fills a provider template for an editor: checks the provider has templates, checks `values`
66
+ * against the slots first (every problem at once, as sentences), fills it, and checks the
67
+ * sequence against the provider's catalog before anything is loaded. Throws an `Error` whose
68
+ * message says what is wrong and what to call instead; never returns a sequence that names
69
+ * effects the provider does not list.
70
+ */
71
+ export declare function fillEffectTemplate(provider: EffectProvider | null | undefined, id: string, values?: unknown, options?: EffectTemplateOptions): Promise<FilledEffectTemplate>;
72
+ /** Where a layer of a sequence shows, in ms from the sequence's start, given each shot's start and the total length. */
73
+ export declare function effectLayerSpan(layer: Pick<EffectLayer, 'from' | 'until'>, shotIndex: number, shotStarts: readonly number[], total: number): {
74
+ start: number;
75
+ end: number;
76
+ };
77
+ /**
78
+ * When each shot of a sequence starts and how long it all lasts (ms): a shot plays its lead-in (the
79
+ * longer of its transition and its camera move in, when the move says its `ms`) and then holds.
80
+ */
81
+ export declare function effectSequenceTiming(sequence: EffectSequence): {
82
+ starts: number[];
83
+ leadIns: number[];
84
+ total: number;
85
+ };
@@ -87,6 +87,7 @@
87
87
 
88
88
 
89
89
 
90
+ var _chunkWPWHT4Z6cjs = require('../chunk-WPWHT4Z6.cjs');
90
91
 
91
92
 
92
93
 
@@ -94,8 +95,10 @@
94
95
 
95
96
 
96
97
 
98
+ var _chunkYN6JKAUEcjs = require('../chunk-YN6JKAUE.cjs');
99
+ require('../chunk-HUAISCUX.cjs');
100
+ require('../chunk-HMGWFXEC.cjs');
97
101
 
98
- var _chunkCZBRY4SWcjs = require('../chunk-CZBRY4SW.cjs');
99
102
 
100
103
 
101
104
 
@@ -103,9 +106,6 @@ var _chunkCZBRY4SWcjs = require('../chunk-CZBRY4SW.cjs');
103
106
 
104
107
 
105
108
 
106
- var _chunkYN6JKAUEcjs = require('../chunk-YN6JKAUE.cjs');
107
- require('../chunk-HUAISCUX.cjs');
108
- require('../chunk-HMGWFXEC.cjs');
109
109
 
110
110
 
111
111
 
@@ -171,7 +171,7 @@ require('../chunk-HMGWFXEC.cjs');
171
171
 
172
172
 
173
173
 
174
- var _chunkO7QXVGMPcjs = require('../chunk-O7QXVGMP.cjs');
174
+ var _chunkWV5WTOC6cjs = require('../chunk-WV5WTOC6.cjs');
175
175
  require('../chunk-5DQPDXOM.cjs');
176
176
  require('../chunk-TTCJPX4U.cjs');
177
177
  require('../chunk-N76AMOKE.cjs');
@@ -415,4 +415,4 @@ require('../chunk-IPJ3TEYR.cjs');
415
415
 
416
416
 
417
417
 
418
- exports.ALLOW_NESTED_TABLES_META = _chunkO7QXVGMPcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkO7QXVGMPcjs.AgentCaret; exports.Autocorrect = _chunkCZBRY4SWcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkCZBRY4SWcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkCZBRY4SWcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkCZBRY4SWcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkCZBRY4SWcjs.CharacterStyle; exports.Chart = _chunkO7QXVGMPcjs.Chart; exports.ChartNodeView = _chunkO7QXVGMPcjs.ChartNodeView; exports.ColorHighlighter = _chunkCZBRY4SWcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkCZBRY4SWcjs.Comments; exports.CrossReference = _chunkCZBRY4SWcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkO7QXVGMPcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkO7QXVGMPcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkCZBRY4SWcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkO7QXVGMPcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkO7QXVGMPcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkCZBRY4SWcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkCZBRY4SWcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkO7QXVGMPcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkCZBRY4SWcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkO7QXVGMPcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkCZBRY4SWcjs.FileImport; exports.FindReplace = _chunkCZBRY4SWcjs.FindReplace; exports.FindReplaceStore = _chunkCZBRY4SWcjs.FindReplaceStore; exports.FontSize = _chunkCZBRY4SWcjs.FontSize; exports.Footnote = _chunkCZBRY4SWcjs.Footnote; exports.FootnoteReference = _chunkCZBRY4SWcjs.FootnoteReference; exports.Footnotes = _chunkCZBRY4SWcjs.Footnotes; exports.GradientText = _chunkCZBRY4SWcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkCZBRY4SWcjs.Image; exports.LoadingNode = _chunkCZBRY4SWcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkO7QXVGMPcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkO7QXVGMPcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkO7QXVGMPcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkO7QXVGMPcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkCZBRY4SWcjs.Markdown; exports.Mention = _chunkCZBRY4SWcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkCZBRY4SWcjs.Outline; exports.ParagraphStyles = _chunkCZBRY4SWcjs.ParagraphStyles; exports.RichClipboard = _chunkCZBRY4SWcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkCZBRY4SWcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkO7QXVGMPcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkCZBRY4SWcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkCZBRY4SWcjs.SlashCommands; exports.SmilieReplacer = _chunkCZBRY4SWcjs.SmilieReplacer; exports.Sparkline = _chunkO7QXVGMPcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkO7QXVGMPcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkO7QXVGMPcjs.Table; exports.TableCell = _chunkO7QXVGMPcjs.TableCell; exports.TableHeader = _chunkO7QXVGMPcjs.TableHeader; exports.TableOfContents = _chunkCZBRY4SWcjs.TableOfContents; exports.TableRow = _chunkO7QXVGMPcjs.TableRow; exports.TemplateSuggestions = _chunkCZBRY4SWcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkO7QXVGMPcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkCZBRY4SWcjs.applyDocumentComparison; exports.applyReplacements = _chunkO7QXVGMPcjs.applyReplacements; exports.autocorrectPluginKey = _chunkCZBRY4SWcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkCZBRY4SWcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkCZBRY4SWcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkCZBRY4SWcjs.captureSelectionFormat; exports.chartPluginKey = _chunkO7QXVGMPcjs.chartPluginKey; exports.clearAgentCaret = _chunkO7QXVGMPcjs.clearAgentCaret; exports.commentsPluginKey = _chunkCZBRY4SWcjs.commentsPluginKey; exports.compareInEditor = _chunkCZBRY4SWcjs.compareInEditor; exports.compileFindPattern = _chunkO7QXVGMPcjs.compileFindPattern; exports.computeOutline = _chunkCZBRY4SWcjs.computeOutline; exports.createAgentCaretPlugin = _chunkO7QXVGMPcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkO7QXVGMPcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkCZBRY4SWcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkCZBRY4SWcjs.createMentionExtension; exports.createOutlineStore = _chunkCZBRY4SWcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkCZBRY4SWcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkCZBRY4SWcjs.createRichTextPreset; exports.createSearchBudget = _chunkO7QXVGMPcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkCZBRY4SWcjs.createTableCommands; exports.createTableExtensions = _chunkO7QXVGMPcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkO7QXVGMPcjs.createTableNestingPlugin; exports.createTableStore = _chunkO7QXVGMPcjs.createTableStore; exports.crossReferencePluginKey = _chunkCZBRY4SWcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkCZBRY4SWcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkCZBRY4SWcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkO7QXVGMPcjs.ensureAgentCaret; exports.expandReplacement = _chunkO7QXVGMPcjs.expandReplacement; exports.fileImportPluginKey = _chunkCZBRY4SWcjs.fileImportPluginKey; exports.findAllMatches = _chunkO7QXVGMPcjs.findAllMatches; exports.findAutocorrection = _chunkCZBRY4SWcjs.findAutocorrection; exports.findCommentRanges = _chunkCZBRY4SWcjs.findCommentRanges; exports.findHexColors = _chunkCZBRY4SWcjs.findHexColors; exports.findReplacePluginKey = _chunkCZBRY4SWcjs.findReplacePluginKey; exports.foldCodePoint = _chunkO7QXVGMPcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkCZBRY4SWcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkCZBRY4SWcjs.footnotesPluginKey; exports.formatFindStatus = _chunkCZBRY4SWcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkCZBRY4SWcjs.fractionRules; exports.getActiveHeading = _chunkCZBRY4SWcjs.getActiveHeading; exports.getAgentCarets = _chunkO7QXVGMPcjs.getAgentCarets; exports.getBookmarks = _chunkCZBRY4SWcjs.getBookmarks; exports.getCommentAnchors = _chunkCZBRY4SWcjs.getCommentAnchors; exports.getCommentAuthor = _chunkCZBRY4SWcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkCZBRY4SWcjs.getCommentIdsAt; exports.getCommentStore = _chunkCZBRY4SWcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkCZBRY4SWcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkO7QXVGMPcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkCZBRY4SWcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkCZBRY4SWcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkCZBRY4SWcjs.getFindReplaceStore; exports.getFootnotes = _chunkCZBRY4SWcjs.getFootnotes; exports.getMentionNodes = _chunkCZBRY4SWcjs.getMentionNodes; exports.getOutline = _chunkCZBRY4SWcjs.getOutline; exports.getParagraphStyleAt = _chunkCZBRY4SWcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkCZBRY4SWcjs.getStyleRegistry; exports.getTableActionState = _chunkO7QXVGMPcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkCZBRY4SWcjs.getTableOfContentsEntries; exports.getTableState = _chunkO7QXVGMPcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkCZBRY4SWcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkO7QXVGMPcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkCZBRY4SWcjs.imagePastePluginKey; exports.insertImageNode = _chunkCZBRY4SWcjs.insertImageNode; exports.insertSliceAfterTable = _chunkO7QXVGMPcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkO7QXVGMPcjs.isChartEnabled; exports.isGfmTable = _chunkO7QXVGMPcjs.isGfmTable; exports.isInTableCell = _chunkO7QXVGMPcjs.isInTableCell; exports.isInsidePromptToken = _chunkCZBRY4SWcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkCZBRY4SWcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkO7QXVGMPcjs.isSelectionInTable; exports.isTableEnabled = _chunkO7QXVGMPcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkO7QXVGMPcjs.markAgentChanges; exports.navigateToHeading = _chunkCZBRY4SWcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkO7QXVGMPcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkO7QXVGMPcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkO7QXVGMPcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkO7QXVGMPcjs.outermostTableDepth; exports.outlinePluginKey = _chunkCZBRY4SWcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkCZBRY4SWcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkO7QXVGMPcjs.parseReplacement; exports.removeImageNode = _chunkCZBRY4SWcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkO7QXVGMPcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkCZBRY4SWcjs.richClipboardPluginKey; exports.runTableAction = _chunkO7QXVGMPcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkO7QXVGMPcjs.searchDocument; exports.setAgentCaret = _chunkO7QXVGMPcjs.setAgentCaret; exports.setMentionRoleAt = _chunkCZBRY4SWcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkO7QXVGMPcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkO7QXVGMPcjs.sliceContainsTable; exports.smartQuoteRules = _chunkCZBRY4SWcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkCZBRY4SWcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkO7QXVGMPcjs.sparklineLabel; exports.staticChartSvg = _chunkO7QXVGMPcjs.staticChartSvg; exports.symbolRules = _chunkCZBRY4SWcjs.symbolRules; exports.syncFootnotes = _chunkCZBRY4SWcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkO7QXVGMPcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkCZBRY4SWcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkCZBRY4SWcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkCZBRY4SWcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkO7QXVGMPcjs.typeAgentText; exports.unnestTables = _chunkO7QXVGMPcjs.unnestTables; exports.updateImageSrc = _chunkCZBRY4SWcjs.updateImageSrc; exports.validateFindPattern = _chunkCZBRY4SWcjs.validateFindPattern; exports.writeRichClipboard = _chunkCZBRY4SWcjs.writeRichClipboard;
418
+ exports.ALLOW_NESTED_TABLES_META = _chunkWV5WTOC6cjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkWV5WTOC6cjs.AgentCaret; exports.Autocorrect = _chunkWPWHT4Z6cjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkWPWHT4Z6cjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkWPWHT4Z6cjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkWV5WTOC6cjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkWPWHT4Z6cjs.CharacterStyle; exports.Chart = _chunkWV5WTOC6cjs.Chart; exports.ChartNodeView = _chunkWV5WTOC6cjs.ChartNodeView; exports.ColorHighlighter = _chunkWPWHT4Z6cjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkWV5WTOC6cjs.Comments; exports.CrossReference = _chunkWPWHT4Z6cjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkWV5WTOC6cjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkWV5WTOC6cjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkWPWHT4Z6cjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkWV5WTOC6cjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkWV5WTOC6cjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkWPWHT4Z6cjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkWPWHT4Z6cjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkWV5WTOC6cjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkWPWHT4Z6cjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkWV5WTOC6cjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkWPWHT4Z6cjs.FileImport; exports.FindReplace = _chunkWPWHT4Z6cjs.FindReplace; exports.FindReplaceStore = _chunkWPWHT4Z6cjs.FindReplaceStore; exports.FontSize = _chunkWPWHT4Z6cjs.FontSize; exports.Footnote = _chunkWPWHT4Z6cjs.Footnote; exports.FootnoteReference = _chunkWPWHT4Z6cjs.FootnoteReference; exports.Footnotes = _chunkWPWHT4Z6cjs.Footnotes; exports.GradientText = _chunkWPWHT4Z6cjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkWPWHT4Z6cjs.Image; exports.LoadingNode = _chunkWPWHT4Z6cjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkWV5WTOC6cjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkWV5WTOC6cjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkWV5WTOC6cjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkWV5WTOC6cjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkWPWHT4Z6cjs.Markdown; exports.Mention = _chunkWPWHT4Z6cjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkWPWHT4Z6cjs.Outline; exports.ParagraphStyles = _chunkWPWHT4Z6cjs.ParagraphStyles; exports.RichClipboard = _chunkWPWHT4Z6cjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkWPWHT4Z6cjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkWV5WTOC6cjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkWPWHT4Z6cjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkWPWHT4Z6cjs.SlashCommands; exports.SmilieReplacer = _chunkWPWHT4Z6cjs.SmilieReplacer; exports.Sparkline = _chunkWV5WTOC6cjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkWV5WTOC6cjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkWV5WTOC6cjs.Table; exports.TableCell = _chunkWV5WTOC6cjs.TableCell; exports.TableHeader = _chunkWV5WTOC6cjs.TableHeader; exports.TableOfContents = _chunkWPWHT4Z6cjs.TableOfContents; exports.TableRow = _chunkWV5WTOC6cjs.TableRow; exports.TemplateSuggestions = _chunkWPWHT4Z6cjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkWV5WTOC6cjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkWPWHT4Z6cjs.applyDocumentComparison; exports.applyReplacements = _chunkWV5WTOC6cjs.applyReplacements; exports.autocorrectPluginKey = _chunkWPWHT4Z6cjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkWPWHT4Z6cjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkWPWHT4Z6cjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkWPWHT4Z6cjs.captureSelectionFormat; exports.chartPluginKey = _chunkWV5WTOC6cjs.chartPluginKey; exports.clearAgentCaret = _chunkWV5WTOC6cjs.clearAgentCaret; exports.commentsPluginKey = _chunkWV5WTOC6cjs.commentsPluginKey; exports.compareInEditor = _chunkWPWHT4Z6cjs.compareInEditor; exports.compileFindPattern = _chunkWV5WTOC6cjs.compileFindPattern; exports.computeOutline = _chunkWPWHT4Z6cjs.computeOutline; exports.createAgentCaretPlugin = _chunkWV5WTOC6cjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkWV5WTOC6cjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkWPWHT4Z6cjs.createFindReplaceCommands; exports.createMentionExtension = _chunkWPWHT4Z6cjs.createMentionExtension; exports.createOutlineStore = _chunkWPWHT4Z6cjs.createOutlineStore; exports.createParagraphStylesStore = _chunkWPWHT4Z6cjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkWPWHT4Z6cjs.createRichTextPreset; exports.createSearchBudget = _chunkWV5WTOC6cjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkWPWHT4Z6cjs.createTableCommands; exports.createTableExtensions = _chunkWV5WTOC6cjs.createTableExtensions; exports.createTableNestingPlugin = _chunkWV5WTOC6cjs.createTableNestingPlugin; exports.createTableStore = _chunkWV5WTOC6cjs.createTableStore; exports.crossReferencePluginKey = _chunkWPWHT4Z6cjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkWPWHT4Z6cjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkWPWHT4Z6cjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkWV5WTOC6cjs.ensureAgentCaret; exports.expandReplacement = _chunkWV5WTOC6cjs.expandReplacement; exports.fileImportPluginKey = _chunkWPWHT4Z6cjs.fileImportPluginKey; exports.findAllMatches = _chunkWV5WTOC6cjs.findAllMatches; exports.findAutocorrection = _chunkWPWHT4Z6cjs.findAutocorrection; exports.findCommentRanges = _chunkWV5WTOC6cjs.findCommentRanges; exports.findHexColors = _chunkWPWHT4Z6cjs.findHexColors; exports.findReplacePluginKey = _chunkWPWHT4Z6cjs.findReplacePluginKey; exports.foldCodePoint = _chunkWV5WTOC6cjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkWPWHT4Z6cjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkWPWHT4Z6cjs.footnotesPluginKey; exports.formatFindStatus = _chunkWPWHT4Z6cjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkWPWHT4Z6cjs.fractionRules; exports.getActiveHeading = _chunkWPWHT4Z6cjs.getActiveHeading; exports.getAgentCarets = _chunkWV5WTOC6cjs.getAgentCarets; exports.getBookmarks = _chunkWPWHT4Z6cjs.getBookmarks; exports.getCommentAnchors = _chunkWV5WTOC6cjs.getCommentAnchors; exports.getCommentAuthor = _chunkWV5WTOC6cjs.getCommentAuthor; exports.getCommentIdsAt = _chunkWV5WTOC6cjs.getCommentIdsAt; exports.getCommentStore = _chunkWV5WTOC6cjs.getCommentStore; exports.getCrossReferenceTargets = _chunkWPWHT4Z6cjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkWV5WTOC6cjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkWPWHT4Z6cjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkWPWHT4Z6cjs.getFindReplaceState; exports.getFindReplaceStore = _chunkWPWHT4Z6cjs.getFindReplaceStore; exports.getFootnotes = _chunkWPWHT4Z6cjs.getFootnotes; exports.getMentionNodes = _chunkWPWHT4Z6cjs.getMentionNodes; exports.getOutline = _chunkWPWHT4Z6cjs.getOutline; exports.getParagraphStyleAt = _chunkWPWHT4Z6cjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkWPWHT4Z6cjs.getStyleRegistry; exports.getTableActionState = _chunkWV5WTOC6cjs.getTableActionState; exports.getTableOfContentsEntries = _chunkWPWHT4Z6cjs.getTableOfContentsEntries; exports.getTableState = _chunkWV5WTOC6cjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkWPWHT4Z6cjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkWV5WTOC6cjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkWPWHT4Z6cjs.imagePastePluginKey; exports.insertImageNode = _chunkWPWHT4Z6cjs.insertImageNode; exports.insertSliceAfterTable = _chunkWV5WTOC6cjs.insertSliceAfterTable; exports.isChartEnabled = _chunkWV5WTOC6cjs.isChartEnabled; exports.isGfmTable = _chunkWV5WTOC6cjs.isGfmTable; exports.isInTableCell = _chunkWV5WTOC6cjs.isInTableCell; exports.isInsidePromptToken = _chunkWPWHT4Z6cjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkWPWHT4Z6cjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkWV5WTOC6cjs.isSelectionInTable; exports.isTableEnabled = _chunkWV5WTOC6cjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkWV5WTOC6cjs.markAgentChanges; exports.navigateToHeading = _chunkWPWHT4Z6cjs.navigateToHeading; exports.normalizeSparklineValues = _chunkWV5WTOC6cjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkWV5WTOC6cjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkWV5WTOC6cjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkWV5WTOC6cjs.outermostTableDepth; exports.outlinePluginKey = _chunkWPWHT4Z6cjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkWPWHT4Z6cjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkWV5WTOC6cjs.parseReplacement; exports.removeImageNode = _chunkWPWHT4Z6cjs.removeImageNode; exports.replaceWithTextTransaction = _chunkWV5WTOC6cjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkWPWHT4Z6cjs.richClipboardPluginKey; exports.runTableAction = _chunkWV5WTOC6cjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkWV5WTOC6cjs.searchDocument; exports.setAgentCaret = _chunkWV5WTOC6cjs.setAgentCaret; exports.setMentionRoleAt = _chunkWPWHT4Z6cjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkWV5WTOC6cjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkWV5WTOC6cjs.sliceContainsTable; exports.smartQuoteRules = _chunkWPWHT4Z6cjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkWPWHT4Z6cjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkWV5WTOC6cjs.sparklineLabel; exports.staticChartSvg = _chunkWV5WTOC6cjs.staticChartSvg; exports.symbolRules = _chunkWPWHT4Z6cjs.symbolRules; exports.syncFootnotes = _chunkWPWHT4Z6cjs.syncFootnotes; exports.tableNestingPluginKey = _chunkWV5WTOC6cjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkWPWHT4Z6cjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkWPWHT4Z6cjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkWPWHT4Z6cjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkWV5WTOC6cjs.typeAgentText; exports.unnestTables = _chunkWV5WTOC6cjs.unnestTables; exports.updateImageSrc = _chunkWPWHT4Z6cjs.updateImageSrc; exports.validateFindPattern = _chunkWPWHT4Z6cjs.validateFindPattern; exports.writeRichClipboard = _chunkWPWHT4Z6cjs.writeRichClipboard;
@@ -2,10 +2,8 @@ import {
2
2
  Autocorrect,
3
3
  Bookmark,
4
4
  CHARACTER_STYLE_MARK_NAME,
5
- COMMENT_MARK_NAME,
6
5
  CharacterStyle,
7
6
  ColorHighlighter,
8
- Comments,
9
7
  CrossReference,
10
8
  DEFAULT_AUTOCORRECT_EXCEPTIONS,
11
9
  DocumentCompare,
@@ -37,7 +35,6 @@ import {
37
35
  buildOutlineTree,
38
36
  capitalizeSentenceRules,
39
37
  captureSelectionFormat,
40
- commentsPluginKey,
41
38
  compareInEditor,
42
39
  computeOutline,
43
40
  createFindReplaceCommands,
@@ -51,7 +48,6 @@ import {
51
48
  documentStructureCommandItems,
52
49
  fileImportPluginKey,
53
50
  findAutocorrection,
54
- findCommentRanges,
55
51
  findHexColors,
56
52
  findReplacePluginKey,
57
53
  footnotesMarkdownIt,
@@ -60,10 +56,6 @@ import {
60
56
  fractionRules,
61
57
  getActiveHeading,
62
58
  getBookmarks,
63
- getCommentAnchors,
64
- getCommentAuthor,
65
- getCommentIdsAt,
66
- getCommentStore,
67
59
  getCrossReferenceTargets,
68
60
  getDocumentStructureCommandItems,
69
61
  getFindReplaceState,
@@ -95,7 +87,7 @@ import {
95
87
  updateImageSrc,
96
88
  validateFindPattern,
97
89
  writeRichClipboard
98
- } from "../chunk-3MO3ZS7E.js";
90
+ } from "../chunk-PHYOZK3B.js";
99
91
  import {
100
92
  DEFAULT_STYLES,
101
93
  NORMAL_STYLE_ID,
@@ -109,8 +101,10 @@ import "../chunk-V5OOP74P.js";
109
101
  import {
110
102
  ALLOW_NESTED_TABLES_META,
111
103
  AgentCaret,
104
+ COMMENT_MARK_NAME,
112
105
  Chart,
113
106
  ChartNodeView,
107
+ Comments,
114
108
  DEFAULT_AGENT_CARET_COLOR,
115
109
  DEFAULT_AGENT_CARET_NAME,
116
110
  DEFAULT_TABLE_OPTIONS,
@@ -132,6 +126,7 @@ import {
132
126
  applyReplacements,
133
127
  chartPluginKey,
134
128
  clearAgentCaret,
129
+ commentsPluginKey,
135
130
  compileFindPattern,
136
131
  createAgentCaretPlugin,
137
132
  createChartNodeView,
@@ -142,8 +137,13 @@ import {
142
137
  ensureAgentCaret,
143
138
  expandReplacement,
144
139
  findAllMatches,
140
+ findCommentRanges,
145
141
  foldCodePoint,
146
142
  getAgentCarets,
143
+ getCommentAnchors,
144
+ getCommentAuthor,
145
+ getCommentIdsAt,
146
+ getCommentStore,
147
147
  getDocumentCharts,
148
148
  getTableActionState,
149
149
  getTableState,
@@ -171,7 +171,7 @@ import {
171
171
  tableNestingPluginKey,
172
172
  typeAgentText,
173
173
  unnestTables
174
- } from "../chunk-PI2UYMZY.js";
174
+ } from "../chunk-FSLKBQU7.js";
175
175
  import "../chunk-23E5GI2U.js";
176
176
  import "../chunk-KGRZMHZB.js";
177
177
  import "../chunk-WKMUBATU.js";