@pixerate/editor 0.244.0 → 0.246.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.cjs +34 -32
- package/dist/agent/index.js +6 -4
- package/dist/animation-editor/index.cjs +61 -61
- package/dist/animation-editor/index.js +4 -4
- package/dist/{brushstrokeRender-4542T5HP.js → brushstrokeRender-AKUI3SEJ.js} +2 -2
- package/dist/{brushstrokeRender-QA5WVIDT.cjs → brushstrokeRender-ZDHMXJAE.cjs} +5 -5
- package/dist/canvas/changeFeed.d.cts +71 -0
- package/dist/canvas/changeFeed.d.ts +71 -0
- package/dist/canvas/index.cjs +490 -34
- package/dist/canvas/index.d.cts +3 -0
- package/dist/canvas/index.d.ts +3 -0
- package/dist/canvas/index.js +483 -27
- package/dist/canvas/proposal-tools.d.cts +21 -0
- package/dist/canvas/proposal-tools.d.ts +21 -0
- package/dist/canvas/proposals.d.cts +112 -0
- package/dist/canvas/proposals.d.ts +112 -0
- package/dist/chart/index.cjs +21 -21
- package/dist/chart/index.js +2 -2
- package/dist/{chunk-7YQNKSQ7.js → chunk-4PMCMWQS.js} +1 -1
- package/dist/{chunk-4I76OCVD.cjs → chunk-5DLCOQOQ.cjs} +16 -1
- package/dist/{chunk-HZ547SGQ.cjs → chunk-5MFDD7SP.cjs} +1 -1
- package/dist/{chunk-WGN7AUKB.js → chunk-7YW7T5TJ.js} +1 -1
- package/dist/{chunk-5RFENYO5.js → chunk-A23PSOBB.js} +1 -1
- package/dist/{chunk-X3ZINLIP.js → chunk-AU6MWQKZ.js} +1 -1
- package/dist/{chunk-AIS56JOO.js → chunk-BVRRIW7F.js} +1 -1
- package/dist/{chunk-BDIH4DYR.cjs → chunk-CEPKXLBS.cjs} +23 -23
- package/dist/{chunk-OSTKS3YN.js → chunk-DQWPMGH2.js} +1 -1
- package/dist/{chunk-IZL5V5RK.cjs → chunk-FK5LTDOO.cjs} +2 -2
- package/dist/{chunk-L5PB7EG3.js → chunk-LDPLEZ5T.js} +1 -1
- package/dist/{chunk-4EQY4TZJ.js → chunk-N6WUB3Y5.js} +1 -1
- package/dist/{chunk-RNSANXPT.js → chunk-NS62CQ2B.js} +112 -14
- package/dist/{chunk-UZU6DIZA.cjs → chunk-NUTMINJZ.cjs} +45 -45
- package/dist/{chunk-4T47Z4J3.cjs → chunk-Q2UYUWAZ.cjs} +10 -0
- package/dist/{chunk-7V7QMFTI.cjs → chunk-QOBCBGGI.cjs} +2 -2
- package/dist/{chunk-FQVVO5YA.js → chunk-SGPIVHJB.js} +1 -1
- package/dist/{chunk-QTMQ5TGA.js → chunk-UCYW4M66.js} +16 -1
- package/dist/{chunk-SD23XMVJ.cjs → chunk-UVPD55UZ.cjs} +35 -35
- package/dist/{chunk-TBJEMELS.js → chunk-VDAWA546.js} +10 -0
- package/dist/{chunk-W7GRGGBH.cjs → chunk-W7L4HUT2.cjs} +8 -8
- package/dist/{chunk-FJ2MSI43.cjs → chunk-WKPXOGZZ.cjs} +124 -26
- package/dist/{chunk-M6JORA5Z.cjs → chunk-XTWXBQD4.cjs} +86 -86
- package/dist/{chunk-D2SGV525.cjs → chunk-XZNU4DUX.cjs} +2 -2
- package/dist/diagram/index.cjs +2 -2
- package/dist/diagram/index.js +1 -1
- package/dist/effects/index.cjs +4 -4
- package/dist/effects/index.js +2 -2
- package/dist/extensions/index.cjs +5 -5
- package/dist/extensions/index.js +4 -4
- package/dist/gradient/index.cjs +2 -2
- package/dist/gradient/index.js +1 -1
- package/dist/history/HistoryManager.d.cts +20 -1
- package/dist/history/HistoryManager.d.ts +20 -1
- package/dist/history/index.cjs +8 -2
- package/dist/history/index.js +8 -2
- package/dist/history/types.d.cts +31 -0
- package/dist/history/types.d.ts +31 -0
- package/dist/image-editor/index.cjs +775 -775
- package/dist/image-editor/index.js +4 -4
- package/dist/index.cjs +16 -10
- package/dist/index.js +11 -5
- package/dist/paint-editor/index.cjs +136 -136
- package/dist/paint-editor/index.js +4 -4
- package/dist/parameters/index.cjs +2 -2
- package/dist/parameters/index.js +1 -1
- package/dist/tools/index.cjs +4 -2
- package/dist/tools/index.d.cts +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +3 -1
- package/dist/tools/origin.d.cts +22 -0
- package/dist/tools/origin.d.ts +22 -0
- package/dist/vector/index.cjs +964 -964
- package/dist/vector/index.js +5 -5
- package/dist/video-editor/index.cjs +4 -4
- package/dist/video-editor/index.js +2 -2
- package/package.json +1 -1
- package/skills/pixerate-canvas/SKILL.md +25 -0
- package/skills/pixerate-paint-editor/references/light-paint.md +7 -1
package/dist/effects/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk4XSBOGMKcjs = require('../chunk-4XSBOGMK.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQOBCBGGIcjs = require('../chunk-QOBCBGGI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -80,7 +80,7 @@ var _chunkPY4GWSE2cjs = require('../chunk-PY4GWSE2.cjs');
|
|
|
80
80
|
|
|
81
81
|
var _chunkGHCSC2WPcjs = require('../chunk-GHCSC2WP.cjs');
|
|
82
82
|
require('../chunk-WOFXZ3XU.cjs');
|
|
83
|
-
require('../chunk-
|
|
83
|
+
require('../chunk-WKPXOGZZ.cjs');
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
var _chunkDWJJI6RTcjs = require('../chunk-DWJJI6RT.cjs');
|
|
@@ -1136,7 +1136,7 @@ function createFakeEffectProvider(options = {}) {
|
|
|
1136
1136
|
} : {},
|
|
1137
1137
|
...options.templates ? fakeTemplateMethods() : {},
|
|
1138
1138
|
...supportsAuthoring ? {
|
|
1139
|
-
openAuthoring: (from) =>
|
|
1139
|
+
openAuthoring: (from) => _chunkQOBCBGGIcjs.createEffectAuthoringSession.call(void 0, from, { provider })
|
|
1140
1140
|
} : {}
|
|
1141
1141
|
};
|
|
1142
1142
|
return provider;
|
|
@@ -1743,4 +1743,4 @@ function createEffectAuthoringToolProvider(host, options) {
|
|
|
1743
1743
|
|
|
1744
1744
|
|
|
1745
1745
|
|
|
1746
|
-
exports.CAMERA_MOVE_MAX_MS = _chunkGHCSC2WPcjs.CAMERA_MOVE_MAX_MS; exports.CAMERA_MOVE_ROLES = _chunkGHCSC2WPcjs.CAMERA_MOVE_ROLES; exports.EFFECT_ACCEPTS = _chunkGHCSC2WPcjs.EFFECT_ACCEPTS; exports.EFFECT_ERROR_CODES = _chunkGHCSC2WPcjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunkGHCSC2WPcjs.EFFECT_KINDS; exports.EFFECT_LAYER_ROLES = _chunkGHCSC2WPcjs.EFFECT_LAYER_ROLES; exports.EFFECT_LAYER_USES = _chunkK5DS2JTAcjs.EFFECT_LAYER_USES; exports.EFFECT_PATH_FORMAT = _chunkGHCSC2WPcjs.EFFECT_PATH_FORMAT; exports.EFFECT_SEQUENCE_NAME = _chunkK5DS2JTAcjs.EFFECT_SEQUENCE_NAME; exports.EFFECT_SUBJECT_KINDS = _chunkGHCSC2WPcjs.EFFECT_SUBJECT_KINDS; exports.EFFECT_TEMPLATE_SLOT_TYPES = _chunkGHCSC2WPcjs.EFFECT_TEMPLATE_SLOT_TYPES; exports.EFFECT_TRANSITION_MS = _chunkGHCSC2WPcjs.EFFECT_TRANSITION_MS; exports.EFFECT_USES = _chunkGHCSC2WPcjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunkGHCSC2WPcjs.EffectControlError; exports.EffectDisposedError = _chunkGHCSC2WPcjs.EffectDisposedError; exports.EffectError = _chunkGHCSC2WPcjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunkGHCSC2WPcjs.EffectUnsupportedError; exports.EffectsSlot = _chunkGHCSC2WPcjs.EffectsSlot; exports.NoEffectsProviderError = _chunkGHCSC2WPcjs.NoEffectsProviderError; exports.UnknownEffectError = _chunkGHCSC2WPcjs.UnknownEffectError; exports.UnknownTemplateError = _chunkGHCSC2WPcjs.UnknownTemplateError; exports.applyEffectMask = _chunkGHCSC2WPcjs.applyEffectMask; exports.cameraBoxOfView = _chunkGHCSC2WPcjs.cameraBoxOfView; exports.cameraMoveField = _chunkGHCSC2WPcjs.cameraMoveField; exports.cameraMoveIdList = _chunkGHCSC2WPcjs.cameraMoveIdList; exports.cameraMoveParts = _chunkGHCSC2WPcjs.cameraMoveParts; exports.cameraMovesFor = _chunkGHCSC2WPcjs.cameraMovesFor; exports.cameraViewOfBox = _chunkGHCSC2WPcjs.cameraViewOfBox; exports.checkEffectProvider = checkEffectProvider; exports.checkEffectSequence = _chunkK5DS2JTAcjs.checkEffectSequence; exports.checkTemplateValues = _chunkK5DS2JTAcjs.checkTemplateValues; exports.countEffectTags = _chunkGHCSC2WPcjs.countEffectTags; exports.createEffectAuthoringSession =
|
|
1746
|
+
exports.CAMERA_MOVE_MAX_MS = _chunkGHCSC2WPcjs.CAMERA_MOVE_MAX_MS; exports.CAMERA_MOVE_ROLES = _chunkGHCSC2WPcjs.CAMERA_MOVE_ROLES; exports.EFFECT_ACCEPTS = _chunkGHCSC2WPcjs.EFFECT_ACCEPTS; exports.EFFECT_ERROR_CODES = _chunkGHCSC2WPcjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunkGHCSC2WPcjs.EFFECT_KINDS; exports.EFFECT_LAYER_ROLES = _chunkGHCSC2WPcjs.EFFECT_LAYER_ROLES; exports.EFFECT_LAYER_USES = _chunkK5DS2JTAcjs.EFFECT_LAYER_USES; exports.EFFECT_PATH_FORMAT = _chunkGHCSC2WPcjs.EFFECT_PATH_FORMAT; exports.EFFECT_SEQUENCE_NAME = _chunkK5DS2JTAcjs.EFFECT_SEQUENCE_NAME; exports.EFFECT_SUBJECT_KINDS = _chunkGHCSC2WPcjs.EFFECT_SUBJECT_KINDS; exports.EFFECT_TEMPLATE_SLOT_TYPES = _chunkGHCSC2WPcjs.EFFECT_TEMPLATE_SLOT_TYPES; exports.EFFECT_TRANSITION_MS = _chunkGHCSC2WPcjs.EFFECT_TRANSITION_MS; exports.EFFECT_USES = _chunkGHCSC2WPcjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunkGHCSC2WPcjs.EffectControlError; exports.EffectDisposedError = _chunkGHCSC2WPcjs.EffectDisposedError; exports.EffectError = _chunkGHCSC2WPcjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunkGHCSC2WPcjs.EffectUnsupportedError; exports.EffectsSlot = _chunkGHCSC2WPcjs.EffectsSlot; exports.NoEffectsProviderError = _chunkGHCSC2WPcjs.NoEffectsProviderError; exports.UnknownEffectError = _chunkGHCSC2WPcjs.UnknownEffectError; exports.UnknownTemplateError = _chunkGHCSC2WPcjs.UnknownTemplateError; exports.applyEffectMask = _chunkGHCSC2WPcjs.applyEffectMask; exports.cameraBoxOfView = _chunkGHCSC2WPcjs.cameraBoxOfView; exports.cameraMoveField = _chunkGHCSC2WPcjs.cameraMoveField; exports.cameraMoveIdList = _chunkGHCSC2WPcjs.cameraMoveIdList; exports.cameraMoveParts = _chunkGHCSC2WPcjs.cameraMoveParts; exports.cameraMovesFor = _chunkGHCSC2WPcjs.cameraMovesFor; exports.cameraViewOfBox = _chunkGHCSC2WPcjs.cameraViewOfBox; exports.checkEffectProvider = checkEffectProvider; exports.checkEffectSequence = _chunkK5DS2JTAcjs.checkEffectSequence; exports.checkTemplateValues = _chunkK5DS2JTAcjs.checkTemplateValues; exports.countEffectTags = _chunkGHCSC2WPcjs.countEffectTags; exports.createEffectAuthoringSession = _chunkQOBCBGGIcjs.createEffectAuthoringSession; exports.createEffectAuthoringToolProvider = createEffectAuthoringToolProvider; exports.createEffectPixels = _chunkGHCSC2WPcjs.createEffectPixels; exports.createEffectToolProvider = _chunkGHCSC2WPcjs.createEffectToolProvider; exports.createFakeEffectProvider = createFakeEffectProvider; exports.effectControlField = effectControlField; exports.effectFieldValue = effectFieldValue; exports.effectFontFamilies = effectFontFamilies; exports.effectLayerInput = _chunkK5DS2JTAcjs.effectLayerInput; exports.effectLayerOffered = _chunkK5DS2JTAcjs.effectLayerOffered; exports.effectLayerRole = _chunkK5DS2JTAcjs.effectLayerRole; exports.effectLayerSpan = _chunkK5DS2JTAcjs.effectLayerSpan; exports.effectOffered = _chunkGHCSC2WPcjs.effectOffered; exports.effectParameterFields = effectParameterFields; exports.effectSampleInputs = effectSampleInputs; exports.effectSamplePicture = effectSamplePicture; exports.effectSequenceEffects = _chunkK5DS2JTAcjs.effectSequenceEffects; exports.effectSequenceSlots = _chunkK5DS2JTAcjs.effectSequenceSlots; exports.effectSequenceTiming = _chunkK5DS2JTAcjs.effectSequenceTiming; exports.effectSubjectKind = _chunkK5DS2JTAcjs.effectSubjectKind; exports.effectSubjectProblem = _chunkK5DS2JTAcjs.effectSubjectProblem; exports.effectTemplateTools = _chunkK5DS2JTAcjs.effectTemplateTools; exports.effectValueErrors = _chunkGHCSC2WPcjs.effectValueErrors; exports.encodeEffectFloat = _chunkGHCSC2WPcjs.encodeEffectFloat; exports.fillEffectTemplate = _chunkK5DS2JTAcjs.fillEffectTemplate; exports.groupEffectsByCategory = groupEffectsByCategory; exports.hasEffectTags = _chunkGHCSC2WPcjs.hasEffectTags; exports.isCameraView = _chunkGHCSC2WPcjs.isCameraView; exports.isEffectError = _chunkGHCSC2WPcjs.isEffectError; exports.isEffectFontControl = isEffectFontControl; exports.isEffectPixels = _chunkGHCSC2WPcjs.isEffectPixels; exports.isSubjectTemplateSlot = _chunkK5DS2JTAcjs.isSubjectTemplateSlot; exports.linearToSrgb = _chunkGHCSC2WPcjs.linearToSrgb; exports.normaliseEffectTag = _chunkGHCSC2WPcjs.normaliseEffectTag; exports.pathControlsOf = _chunkGHCSC2WPcjs.pathControlsOf; exports.renderEffectThumbnail = renderEffectThumbnail; exports.resolveCameraMoveSpec = _chunkGHCSC2WPcjs.resolveCameraMoveSpec; exports.resolveEffectValues = _chunkGHCSC2WPcjs.resolveEffectValues; exports.sampleCameraViews = _chunkGHCSC2WPcjs.sampleCameraViews; exports.sampleEffectCameraMove = _chunkGHCSC2WPcjs.sampleEffectCameraMove; exports.searchEffectSummaries = _chunkGHCSC2WPcjs.searchEffectSummaries; exports.searchTemplateSummaries = _chunkK5DS2JTAcjs.searchTemplateSummaries; exports.srgbToLinear = _chunkGHCSC2WPcjs.srgbToLinear; exports.templateDefaultValues = _chunkK5DS2JTAcjs.templateDefaultValues; exports.templateSlotSchema = _chunkK5DS2JTAcjs.templateSlotSchema; exports.templateSlotSummary = _chunkK5DS2JTAcjs.templateSlotSummary; exports.templateSlotTakes = _chunkK5DS2JTAcjs.templateSlotTakes; exports.templateValueProblem = _chunkK5DS2JTAcjs.templateValueProblem; exports.templateValuesSchema = _chunkK5DS2JTAcjs.templateValuesSchema;
|
package/dist/effects/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-N4ZXW3WB.js";
|
|
4
4
|
import {
|
|
5
5
|
createEffectAuthoringSession
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-AU6MWQKZ.js";
|
|
7
7
|
import {
|
|
8
8
|
EFFECT_LAYER_USES,
|
|
9
9
|
EFFECT_SEQUENCE_NAME,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
srgbToLinear
|
|
81
81
|
} from "../chunk-OFH6Q67U.js";
|
|
82
82
|
import "../chunk-V2ZCJRDM.js";
|
|
83
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-NS62CQ2B.js";
|
|
84
84
|
import {
|
|
85
85
|
ANIMATION_EASING_PRESETS
|
|
86
86
|
} from "../chunk-5UJHB3BW.js";
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
var
|
|
91
|
+
var _chunkNUTMINJZcjs = require('../chunk-NUTMINJZ.cjs');
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
|
|
@@ -172,8 +172,8 @@ require('../chunk-HMGWFXEC.cjs');
|
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
var
|
|
176
|
-
require('../chunk-
|
|
175
|
+
var _chunkW7L4HUT2cjs = require('../chunk-W7L4HUT2.cjs');
|
|
176
|
+
require('../chunk-XZNU4DUX.cjs');
|
|
177
177
|
require('../chunk-TTCJPX4U.cjs');
|
|
178
178
|
require('../chunk-MOW3JMNG.cjs');
|
|
179
179
|
require('../chunk-3R5P3DVY.cjs');
|
|
@@ -216,7 +216,7 @@ require('../chunk-N3KJFGXT.cjs');
|
|
|
216
216
|
require('../chunk-ALNIFK5G.cjs');
|
|
217
217
|
require('../chunk-UWEQ55MY.cjs');
|
|
218
218
|
require('../chunk-2BSBFBOA.cjs');
|
|
219
|
-
require('../chunk-
|
|
219
|
+
require('../chunk-WKPXOGZZ.cjs');
|
|
220
220
|
require('../chunk-7PT4RJL5.cjs');
|
|
221
221
|
require('../chunk-PPFJHTW5.cjs');
|
|
222
222
|
require('../chunk-RD7RX52G.cjs');
|
|
@@ -418,4 +418,4 @@ require('../chunk-IPJ3TEYR.cjs');
|
|
|
418
418
|
|
|
419
419
|
|
|
420
420
|
|
|
421
|
-
exports.ALLOW_NESTED_TABLES_META = _chunkW7GRGGBHcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkW7GRGGBHcjs.AgentCaret; exports.Autocorrect = _chunkUZU6DIZAcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkUZU6DIZAcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkUZU6DIZAcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkW7GRGGBHcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkUZU6DIZAcjs.CharacterStyle; exports.Chart = _chunkW7GRGGBHcjs.Chart; exports.ChartNodeView = _chunkW7GRGGBHcjs.ChartNodeView; exports.ColorHighlighter = _chunkUZU6DIZAcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkW7GRGGBHcjs.Comments; exports.CrossReference = _chunkUZU6DIZAcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkW7GRGGBHcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkW7GRGGBHcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkUZU6DIZAcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkW7GRGGBHcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkW7GRGGBHcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkUZU6DIZAcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkUZU6DIZAcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkW7GRGGBHcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkUZU6DIZAcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkW7GRGGBHcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkUZU6DIZAcjs.FileImport; exports.FindReplace = _chunkUZU6DIZAcjs.FindReplace; exports.FindReplaceStore = _chunkUZU6DIZAcjs.FindReplaceStore; exports.FontSize = _chunkUZU6DIZAcjs.FontSize; exports.Footnote = _chunkUZU6DIZAcjs.Footnote; exports.FootnoteReference = _chunkUZU6DIZAcjs.FootnoteReference; exports.Footnotes = _chunkUZU6DIZAcjs.Footnotes; exports.GradientText = _chunkUZU6DIZAcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkUZU6DIZAcjs.Image; exports.LoadingNode = _chunkUZU6DIZAcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkW7GRGGBHcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkW7GRGGBHcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkW7GRGGBHcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkW7GRGGBHcjs.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 = _chunkUZU6DIZAcjs.Markdown; exports.Mention = _chunkUZU6DIZAcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkUZU6DIZAcjs.Outline; exports.ParagraphStyles = _chunkUZU6DIZAcjs.ParagraphStyles; exports.RichClipboard = _chunkUZU6DIZAcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkUZU6DIZAcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkW7GRGGBHcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkUZU6DIZAcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkUZU6DIZAcjs.SlashCommands; exports.SmilieReplacer = _chunkUZU6DIZAcjs.SmilieReplacer; exports.Sparkline = _chunkW7GRGGBHcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkW7GRGGBHcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkW7GRGGBHcjs.Table; exports.TableCell = _chunkW7GRGGBHcjs.TableCell; exports.TableHeader = _chunkW7GRGGBHcjs.TableHeader; exports.TableOfContents = _chunkUZU6DIZAcjs.TableOfContents; exports.TableRow = _chunkW7GRGGBHcjs.TableRow; exports.TemplateSuggestions = _chunkUZU6DIZAcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkW7GRGGBHcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkUZU6DIZAcjs.applyDocumentComparison; exports.applyReplacements = _chunkW7GRGGBHcjs.applyReplacements; exports.autocorrectPluginKey = _chunkUZU6DIZAcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkUZU6DIZAcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkUZU6DIZAcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkUZU6DIZAcjs.captureSelectionFormat; exports.chartPluginKey = _chunkW7GRGGBHcjs.chartPluginKey; exports.clearAgentCaret = _chunkW7GRGGBHcjs.clearAgentCaret; exports.commentsPluginKey = _chunkW7GRGGBHcjs.commentsPluginKey; exports.compareInEditor = _chunkUZU6DIZAcjs.compareInEditor; exports.compileFindPattern = _chunkW7GRGGBHcjs.compileFindPattern; exports.computeOutline = _chunkUZU6DIZAcjs.computeOutline; exports.createAgentCaretPlugin = _chunkW7GRGGBHcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkW7GRGGBHcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkUZU6DIZAcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkUZU6DIZAcjs.createMentionExtension; exports.createOutlineStore = _chunkUZU6DIZAcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkUZU6DIZAcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkUZU6DIZAcjs.createRichTextPreset; exports.createSearchBudget = _chunkW7GRGGBHcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkUZU6DIZAcjs.createTableCommands; exports.createTableExtensions = _chunkW7GRGGBHcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkW7GRGGBHcjs.createTableNestingPlugin; exports.createTableStore = _chunkW7GRGGBHcjs.createTableStore; exports.crossReferencePluginKey = _chunkUZU6DIZAcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkUZU6DIZAcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkUZU6DIZAcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkW7GRGGBHcjs.ensureAgentCaret; exports.expandReplacement = _chunkW7GRGGBHcjs.expandReplacement; exports.fileImportPluginKey = _chunkUZU6DIZAcjs.fileImportPluginKey; exports.findAllMatches = _chunkW7GRGGBHcjs.findAllMatches; exports.findAutocorrection = _chunkUZU6DIZAcjs.findAutocorrection; exports.findCommentRanges = _chunkW7GRGGBHcjs.findCommentRanges; exports.findHexColors = _chunkUZU6DIZAcjs.findHexColors; exports.findReplacePluginKey = _chunkUZU6DIZAcjs.findReplacePluginKey; exports.foldCodePoint = _chunkW7GRGGBHcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkUZU6DIZAcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkUZU6DIZAcjs.footnotesPluginKey; exports.formatFindStatus = _chunkUZU6DIZAcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkUZU6DIZAcjs.fractionRules; exports.getActiveHeading = _chunkUZU6DIZAcjs.getActiveHeading; exports.getAgentCarets = _chunkW7GRGGBHcjs.getAgentCarets; exports.getBookmarks = _chunkUZU6DIZAcjs.getBookmarks; exports.getCommentAnchors = _chunkW7GRGGBHcjs.getCommentAnchors; exports.getCommentAuthor = _chunkW7GRGGBHcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkW7GRGGBHcjs.getCommentIdsAt; exports.getCommentStore = _chunkW7GRGGBHcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkUZU6DIZAcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkW7GRGGBHcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkUZU6DIZAcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkUZU6DIZAcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkUZU6DIZAcjs.getFindReplaceStore; exports.getFootnotes = _chunkUZU6DIZAcjs.getFootnotes; exports.getMentionNodes = _chunkUZU6DIZAcjs.getMentionNodes; exports.getOutline = _chunkUZU6DIZAcjs.getOutline; exports.getParagraphStyleAt = _chunkUZU6DIZAcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkUZU6DIZAcjs.getStyleRegistry; exports.getTableActionState = _chunkW7GRGGBHcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkUZU6DIZAcjs.getTableOfContentsEntries; exports.getTableState = _chunkW7GRGGBHcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkUZU6DIZAcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkW7GRGGBHcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkUZU6DIZAcjs.imagePastePluginKey; exports.insertImageNode = _chunkUZU6DIZAcjs.insertImageNode; exports.insertSliceAfterTable = _chunkW7GRGGBHcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkW7GRGGBHcjs.isChartEnabled; exports.isGfmTable = _chunkW7GRGGBHcjs.isGfmTable; exports.isInTableCell = _chunkW7GRGGBHcjs.isInTableCell; exports.isInsidePromptToken = _chunkUZU6DIZAcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkUZU6DIZAcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkW7GRGGBHcjs.isSelectionInTable; exports.isTableEnabled = _chunkW7GRGGBHcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.loadingSpinnerSpec = _chunkUZU6DIZAcjs.loadingSpinnerSpec; exports.markAgentChanges = _chunkW7GRGGBHcjs.markAgentChanges; exports.navigateToHeading = _chunkUZU6DIZAcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkW7GRGGBHcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkW7GRGGBHcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkW7GRGGBHcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkW7GRGGBHcjs.outermostTableDepth; exports.outlinePluginKey = _chunkUZU6DIZAcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkUZU6DIZAcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkW7GRGGBHcjs.parseReplacement; exports.removeImageNode = _chunkUZU6DIZAcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkW7GRGGBHcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkUZU6DIZAcjs.richClipboardPluginKey; exports.runTableAction = _chunkW7GRGGBHcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkW7GRGGBHcjs.searchDocument; exports.setAgentCaret = _chunkW7GRGGBHcjs.setAgentCaret; exports.setMentionRoleAt = _chunkUZU6DIZAcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkW7GRGGBHcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkW7GRGGBHcjs.sliceContainsTable; exports.smartQuoteRules = _chunkUZU6DIZAcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkUZU6DIZAcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkW7GRGGBHcjs.sparklineLabel; exports.staticChartSvg = _chunkW7GRGGBHcjs.staticChartSvg; exports.symbolRules = _chunkUZU6DIZAcjs.symbolRules; exports.syncFootnotes = _chunkUZU6DIZAcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkW7GRGGBHcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkUZU6DIZAcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkUZU6DIZAcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkUZU6DIZAcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkW7GRGGBHcjs.typeAgentText; exports.unnestTables = _chunkW7GRGGBHcjs.unnestTables; exports.updateImageSrc = _chunkUZU6DIZAcjs.updateImageSrc; exports.validateFindPattern = _chunkUZU6DIZAcjs.validateFindPattern; exports.writeRichClipboard = _chunkUZU6DIZAcjs.writeRichClipboard;
|
|
421
|
+
exports.ALLOW_NESTED_TABLES_META = _chunkW7L4HUT2cjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkW7L4HUT2cjs.AgentCaret; exports.Autocorrect = _chunkNUTMINJZcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkNUTMINJZcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkNUTMINJZcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkW7L4HUT2cjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkNUTMINJZcjs.CharacterStyle; exports.Chart = _chunkW7L4HUT2cjs.Chart; exports.ChartNodeView = _chunkW7L4HUT2cjs.ChartNodeView; exports.ColorHighlighter = _chunkNUTMINJZcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkW7L4HUT2cjs.Comments; exports.CrossReference = _chunkNUTMINJZcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkW7L4HUT2cjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkW7L4HUT2cjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkNUTMINJZcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkW7L4HUT2cjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkW7L4HUT2cjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkNUTMINJZcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkNUTMINJZcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkW7L4HUT2cjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkNUTMINJZcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkW7L4HUT2cjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkNUTMINJZcjs.FileImport; exports.FindReplace = _chunkNUTMINJZcjs.FindReplace; exports.FindReplaceStore = _chunkNUTMINJZcjs.FindReplaceStore; exports.FontSize = _chunkNUTMINJZcjs.FontSize; exports.Footnote = _chunkNUTMINJZcjs.Footnote; exports.FootnoteReference = _chunkNUTMINJZcjs.FootnoteReference; exports.Footnotes = _chunkNUTMINJZcjs.Footnotes; exports.GradientText = _chunkNUTMINJZcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkNUTMINJZcjs.Image; exports.LoadingNode = _chunkNUTMINJZcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkW7L4HUT2cjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkW7L4HUT2cjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkW7L4HUT2cjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkW7L4HUT2cjs.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 = _chunkNUTMINJZcjs.Markdown; exports.Mention = _chunkNUTMINJZcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkNUTMINJZcjs.Outline; exports.ParagraphStyles = _chunkNUTMINJZcjs.ParagraphStyles; exports.RichClipboard = _chunkNUTMINJZcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkNUTMINJZcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkW7L4HUT2cjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkNUTMINJZcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkNUTMINJZcjs.SlashCommands; exports.SmilieReplacer = _chunkNUTMINJZcjs.SmilieReplacer; exports.Sparkline = _chunkW7L4HUT2cjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkW7L4HUT2cjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkW7L4HUT2cjs.Table; exports.TableCell = _chunkW7L4HUT2cjs.TableCell; exports.TableHeader = _chunkW7L4HUT2cjs.TableHeader; exports.TableOfContents = _chunkNUTMINJZcjs.TableOfContents; exports.TableRow = _chunkW7L4HUT2cjs.TableRow; exports.TemplateSuggestions = _chunkNUTMINJZcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkW7L4HUT2cjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkNUTMINJZcjs.applyDocumentComparison; exports.applyReplacements = _chunkW7L4HUT2cjs.applyReplacements; exports.autocorrectPluginKey = _chunkNUTMINJZcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkNUTMINJZcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkNUTMINJZcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkNUTMINJZcjs.captureSelectionFormat; exports.chartPluginKey = _chunkW7L4HUT2cjs.chartPluginKey; exports.clearAgentCaret = _chunkW7L4HUT2cjs.clearAgentCaret; exports.commentsPluginKey = _chunkW7L4HUT2cjs.commentsPluginKey; exports.compareInEditor = _chunkNUTMINJZcjs.compareInEditor; exports.compileFindPattern = _chunkW7L4HUT2cjs.compileFindPattern; exports.computeOutline = _chunkNUTMINJZcjs.computeOutline; exports.createAgentCaretPlugin = _chunkW7L4HUT2cjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkW7L4HUT2cjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkNUTMINJZcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkNUTMINJZcjs.createMentionExtension; exports.createOutlineStore = _chunkNUTMINJZcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkNUTMINJZcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkNUTMINJZcjs.createRichTextPreset; exports.createSearchBudget = _chunkW7L4HUT2cjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkNUTMINJZcjs.createTableCommands; exports.createTableExtensions = _chunkW7L4HUT2cjs.createTableExtensions; exports.createTableNestingPlugin = _chunkW7L4HUT2cjs.createTableNestingPlugin; exports.createTableStore = _chunkW7L4HUT2cjs.createTableStore; exports.crossReferencePluginKey = _chunkNUTMINJZcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkNUTMINJZcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkNUTMINJZcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkW7L4HUT2cjs.ensureAgentCaret; exports.expandReplacement = _chunkW7L4HUT2cjs.expandReplacement; exports.fileImportPluginKey = _chunkNUTMINJZcjs.fileImportPluginKey; exports.findAllMatches = _chunkW7L4HUT2cjs.findAllMatches; exports.findAutocorrection = _chunkNUTMINJZcjs.findAutocorrection; exports.findCommentRanges = _chunkW7L4HUT2cjs.findCommentRanges; exports.findHexColors = _chunkNUTMINJZcjs.findHexColors; exports.findReplacePluginKey = _chunkNUTMINJZcjs.findReplacePluginKey; exports.foldCodePoint = _chunkW7L4HUT2cjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkNUTMINJZcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkNUTMINJZcjs.footnotesPluginKey; exports.formatFindStatus = _chunkNUTMINJZcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkNUTMINJZcjs.fractionRules; exports.getActiveHeading = _chunkNUTMINJZcjs.getActiveHeading; exports.getAgentCarets = _chunkW7L4HUT2cjs.getAgentCarets; exports.getBookmarks = _chunkNUTMINJZcjs.getBookmarks; exports.getCommentAnchors = _chunkW7L4HUT2cjs.getCommentAnchors; exports.getCommentAuthor = _chunkW7L4HUT2cjs.getCommentAuthor; exports.getCommentIdsAt = _chunkW7L4HUT2cjs.getCommentIdsAt; exports.getCommentStore = _chunkW7L4HUT2cjs.getCommentStore; exports.getCrossReferenceTargets = _chunkNUTMINJZcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkW7L4HUT2cjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkNUTMINJZcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkNUTMINJZcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkNUTMINJZcjs.getFindReplaceStore; exports.getFootnotes = _chunkNUTMINJZcjs.getFootnotes; exports.getMentionNodes = _chunkNUTMINJZcjs.getMentionNodes; exports.getOutline = _chunkNUTMINJZcjs.getOutline; exports.getParagraphStyleAt = _chunkNUTMINJZcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkNUTMINJZcjs.getStyleRegistry; exports.getTableActionState = _chunkW7L4HUT2cjs.getTableActionState; exports.getTableOfContentsEntries = _chunkNUTMINJZcjs.getTableOfContentsEntries; exports.getTableState = _chunkW7L4HUT2cjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkNUTMINJZcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkW7L4HUT2cjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkNUTMINJZcjs.imagePastePluginKey; exports.insertImageNode = _chunkNUTMINJZcjs.insertImageNode; exports.insertSliceAfterTable = _chunkW7L4HUT2cjs.insertSliceAfterTable; exports.isChartEnabled = _chunkW7L4HUT2cjs.isChartEnabled; exports.isGfmTable = _chunkW7L4HUT2cjs.isGfmTable; exports.isInTableCell = _chunkW7L4HUT2cjs.isInTableCell; exports.isInsidePromptToken = _chunkNUTMINJZcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkNUTMINJZcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkW7L4HUT2cjs.isSelectionInTable; exports.isTableEnabled = _chunkW7L4HUT2cjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.loadingSpinnerSpec = _chunkNUTMINJZcjs.loadingSpinnerSpec; exports.markAgentChanges = _chunkW7L4HUT2cjs.markAgentChanges; exports.navigateToHeading = _chunkNUTMINJZcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkW7L4HUT2cjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkW7L4HUT2cjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkW7L4HUT2cjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkW7L4HUT2cjs.outermostTableDepth; exports.outlinePluginKey = _chunkNUTMINJZcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkNUTMINJZcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkW7L4HUT2cjs.parseReplacement; exports.removeImageNode = _chunkNUTMINJZcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkW7L4HUT2cjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkNUTMINJZcjs.richClipboardPluginKey; exports.runTableAction = _chunkW7L4HUT2cjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkW7L4HUT2cjs.searchDocument; exports.setAgentCaret = _chunkW7L4HUT2cjs.setAgentCaret; exports.setMentionRoleAt = _chunkNUTMINJZcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkW7L4HUT2cjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkW7L4HUT2cjs.sliceContainsTable; exports.smartQuoteRules = _chunkNUTMINJZcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkNUTMINJZcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkW7L4HUT2cjs.sparklineLabel; exports.staticChartSvg = _chunkW7L4HUT2cjs.staticChartSvg; exports.symbolRules = _chunkNUTMINJZcjs.symbolRules; exports.syncFootnotes = _chunkNUTMINJZcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkW7L4HUT2cjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkNUTMINJZcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkNUTMINJZcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkNUTMINJZcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkW7L4HUT2cjs.typeAgentText; exports.unnestTables = _chunkW7L4HUT2cjs.unnestTables; exports.updateImageSrc = _chunkNUTMINJZcjs.updateImageSrc; exports.validateFindPattern = _chunkNUTMINJZcjs.validateFindPattern; exports.writeRichClipboard = _chunkNUTMINJZcjs.writeRichClipboard;
|
package/dist/extensions/index.js
CHANGED
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
updateImageSrc,
|
|
89
89
|
validateFindPattern,
|
|
90
90
|
writeRichClipboard
|
|
91
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-SGPIVHJB.js";
|
|
92
92
|
import {
|
|
93
93
|
DEFAULT_STYLES,
|
|
94
94
|
NORMAL_STYLE_ID,
|
|
@@ -172,8 +172,8 @@ import {
|
|
|
172
172
|
tableNestingPluginKey,
|
|
173
173
|
typeAgentText,
|
|
174
174
|
unnestTables
|
|
175
|
-
} from "../chunk-
|
|
176
|
-
import "../chunk-
|
|
175
|
+
} from "../chunk-BVRRIW7F.js";
|
|
176
|
+
import "../chunk-7YW7T5TJ.js";
|
|
177
177
|
import "../chunk-KGRZMHZB.js";
|
|
178
178
|
import "../chunk-N4DFDI73.js";
|
|
179
179
|
import "../chunk-QARCM66V.js";
|
|
@@ -216,7 +216,7 @@ import "../chunk-WJSD3MAZ.js";
|
|
|
216
216
|
import "../chunk-CIQIM2IP.js";
|
|
217
217
|
import "../chunk-VDGBHYC7.js";
|
|
218
218
|
import "../chunk-HF5QZS7Z.js";
|
|
219
|
-
import "../chunk-
|
|
219
|
+
import "../chunk-NS62CQ2B.js";
|
|
220
220
|
import "../chunk-BP6KSGVD.js";
|
|
221
221
|
import "../chunk-6ADHGQ73.js";
|
|
222
222
|
import "../chunk-JEGJP4OW.js";
|
package/dist/gradient/index.cjs
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
var _chunkS6OT6CTScjs = require('../chunk-S6OT6CTS.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkWKPXOGZZcjs = require('../chunk-WKPXOGZZ.cjs');
|
|
32
32
|
require('../chunk-7PT4RJL5.cjs');
|
|
33
33
|
require('../chunk-PPFJHTW5.cjs');
|
|
34
34
|
|
|
@@ -101,7 +101,7 @@ var GradientController = (_class = class {
|
|
|
101
101
|
} else {
|
|
102
102
|
this._gradient = _chunkS6OT6CTScjs.createGradient.call(void 0, ["#000000", "#ffffff"]);
|
|
103
103
|
}
|
|
104
|
-
this._history = _nullishCoalesce(options.history, () => ( new (0,
|
|
104
|
+
this._history = _nullishCoalesce(options.history, () => ( new (0, _chunkWKPXOGZZcjs.HistoryManager)()));
|
|
105
105
|
this._readOnlyOption = options.readOnly;
|
|
106
106
|
this._onChange = options.onChange;
|
|
107
107
|
if (this._gradient.stops.length > 0) {
|
package/dist/gradient/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command, HistoryEntry, HistoryManagerOptions, HistoryMark, HistoryState, MergedExecutionOptions, SnapshotCommandOptions } from "./types.cjs";
|
|
1
|
+
import { Command, HistoryCommitEvent, HistoryEntry, HistoryManagerOptions, HistoryMark, HistoryState, MergedExecutionOptions, SnapshotCommandOptions } from "./types.cjs";
|
|
2
2
|
/**
|
|
3
3
|
* UI-agnostic History and Undo/Redo manager supporting command closures,
|
|
4
4
|
* snapshot diffs, transaction batching, high-frequency event coalescing,
|
|
@@ -14,6 +14,9 @@ export declare class HistoryManager {
|
|
|
14
14
|
private batchDepth;
|
|
15
15
|
private currentBatch;
|
|
16
16
|
private listeners;
|
|
17
|
+
private commitListeners;
|
|
18
|
+
/** Origins set by `withOrigin`, innermost last. */
|
|
19
|
+
private origins;
|
|
17
20
|
private onStateChange?;
|
|
18
21
|
private cachedState;
|
|
19
22
|
private cachedEntries;
|
|
@@ -136,6 +139,22 @@ export declare class HistoryManager {
|
|
|
136
139
|
* Returns an unsubscribe function.
|
|
137
140
|
*/
|
|
138
141
|
subscribe(listener: (state: HistoryState) => void): () => void;
|
|
142
|
+
/**
|
|
143
|
+
* Listens to each change as it lands: what happened (`execute`, `merge`, `undo`, `redo`,
|
|
144
|
+
* `revert`, `clear`), the step and who made it. Unlike `subscribe`, it is not called at once
|
|
145
|
+
* and it hears every step of a `goTo`. Returns an unsubscribe function.
|
|
146
|
+
*/
|
|
147
|
+
onCommit(listener: (event: HistoryCommitEvent) => void): () => void;
|
|
148
|
+
private emit;
|
|
149
|
+
/** The origin a change is recorded with when its command names none (see `withOrigin`). */
|
|
150
|
+
getOrigin(): string;
|
|
151
|
+
/**
|
|
152
|
+
* Records the changes `fn` makes as made by `origin` (`agent:<id>` for an agent), unless a
|
|
153
|
+
* command names its own. When `fn` returns a promise, the origin holds until it settles, so
|
|
154
|
+
* anything else recorded on this history meanwhile (the user's own edits) is stamped with it
|
|
155
|
+
* too: give those commands an explicit `origin`, or keep agent work synchronous.
|
|
156
|
+
*/
|
|
157
|
+
withOrigin<T>(origin: string, fn: () => T): T;
|
|
139
158
|
/**
|
|
140
159
|
* Utility helper to create a Command from before/after state snapshots.
|
|
141
160
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command, HistoryEntry, HistoryManagerOptions, HistoryMark, HistoryState, MergedExecutionOptions, SnapshotCommandOptions } from "./types.js";
|
|
1
|
+
import { Command, HistoryCommitEvent, HistoryEntry, HistoryManagerOptions, HistoryMark, HistoryState, MergedExecutionOptions, SnapshotCommandOptions } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* UI-agnostic History and Undo/Redo manager supporting command closures,
|
|
4
4
|
* snapshot diffs, transaction batching, high-frequency event coalescing,
|
|
@@ -14,6 +14,9 @@ export declare class HistoryManager {
|
|
|
14
14
|
private batchDepth;
|
|
15
15
|
private currentBatch;
|
|
16
16
|
private listeners;
|
|
17
|
+
private commitListeners;
|
|
18
|
+
/** Origins set by `withOrigin`, innermost last. */
|
|
19
|
+
private origins;
|
|
17
20
|
private onStateChange?;
|
|
18
21
|
private cachedState;
|
|
19
22
|
private cachedEntries;
|
|
@@ -136,6 +139,22 @@ export declare class HistoryManager {
|
|
|
136
139
|
* Returns an unsubscribe function.
|
|
137
140
|
*/
|
|
138
141
|
subscribe(listener: (state: HistoryState) => void): () => void;
|
|
142
|
+
/**
|
|
143
|
+
* Listens to each change as it lands: what happened (`execute`, `merge`, `undo`, `redo`,
|
|
144
|
+
* `revert`, `clear`), the step and who made it. Unlike `subscribe`, it is not called at once
|
|
145
|
+
* and it hears every step of a `goTo`. Returns an unsubscribe function.
|
|
146
|
+
*/
|
|
147
|
+
onCommit(listener: (event: HistoryCommitEvent) => void): () => void;
|
|
148
|
+
private emit;
|
|
149
|
+
/** The origin a change is recorded with when its command names none (see `withOrigin`). */
|
|
150
|
+
getOrigin(): string;
|
|
151
|
+
/**
|
|
152
|
+
* Records the changes `fn` makes as made by `origin` (`agent:<id>` for an agent), unless a
|
|
153
|
+
* command names its own. When `fn` returns a promise, the origin holds until it settles, so
|
|
154
|
+
* anything else recorded on this history meanwhile (the user's own edits) is stamped with it
|
|
155
|
+
* too: give those commands an explicit `origin`, or keep agent work synchronous.
|
|
156
|
+
*/
|
|
157
|
+
withOrigin<T>(origin: string, fn: () => T): T;
|
|
139
158
|
/**
|
|
140
159
|
* Utility helper to create a Command from before/after state snapshots.
|
|
141
160
|
*/
|
package/dist/history/index.cjs
CHANGED
|
@@ -8,13 +8,19 @@ var _chunkWWMWFSXMcjs = require('../chunk-WWMWFSXM.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var _chunkFJ2MSI43cjs = require('../chunk-FJ2MSI43.cjs');
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
|
|
14
|
+
var _chunkWKPXOGZZcjs = require('../chunk-WKPXOGZZ.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
exports.DirtyTracker = _chunkWWMWFSXMcjs.DirtyTracker; exports.HistoryManager = _chunkWKPXOGZZcjs.HistoryManager; exports.USER_ORIGIN = _chunkWKPXOGZZcjs.USER_ORIGIN; exports.agentOrigin = _chunkWKPXOGZZcjs.agentOrigin; exports.bindDirtyToHistory = _chunkWWMWFSXMcjs.bindDirtyToHistory; exports.createDirtyTracker = _chunkWWMWFSXMcjs.createDirtyTracker; exports.createHistoryManager = _chunkWKPXOGZZcjs.createHistoryManager; exports.defaultIsEqual = _chunkWWMWFSXMcjs.defaultIsEqual; exports.originAgentId = _chunkWKPXOGZZcjs.originAgentId; exports.withoutDirty = _chunkWWMWFSXMcjs.withoutDirty;
|
package/dist/history/index.js
CHANGED
|
@@ -7,14 +7,20 @@ import {
|
|
|
7
7
|
} from "../chunk-AFCXRB6O.js";
|
|
8
8
|
import {
|
|
9
9
|
HistoryManager,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
USER_ORIGIN,
|
|
11
|
+
agentOrigin,
|
|
12
|
+
createHistoryManager,
|
|
13
|
+
originAgentId
|
|
14
|
+
} from "../chunk-NS62CQ2B.js";
|
|
12
15
|
export {
|
|
13
16
|
DirtyTracker,
|
|
14
17
|
HistoryManager,
|
|
18
|
+
USER_ORIGIN,
|
|
19
|
+
agentOrigin,
|
|
15
20
|
bindDirtyToHistory,
|
|
16
21
|
createDirtyTracker,
|
|
17
22
|
createHistoryManager,
|
|
18
23
|
defaultIsEqual,
|
|
24
|
+
originAgentId,
|
|
19
25
|
withoutDirty
|
|
20
26
|
};
|
package/dist/history/types.d.cts
CHANGED
|
@@ -10,7 +10,18 @@ export interface Command {
|
|
|
10
10
|
* Counted against `HistoryManagerOptions.maxBytes` when no `sizeOf` hook is set.
|
|
11
11
|
*/
|
|
12
12
|
byteSize?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Who made the change: `user` (the default) or `agent:<id>` for an agent. Falls back to the
|
|
15
|
+
* origin set with `HistoryManager.withOrigin`, then to `user`.
|
|
16
|
+
*/
|
|
17
|
+
origin?: string;
|
|
13
18
|
}
|
|
19
|
+
/** The origin of changes no one has claimed: the person at the keyboard. */
|
|
20
|
+
export declare const USER_ORIGIN = "user";
|
|
21
|
+
/** The origin of an agent's changes: `agent:<id>`. */
|
|
22
|
+
export declare function agentOrigin(agentId: string): string;
|
|
23
|
+
/** The agent id of an `agent:<id>` origin, or `null` for any other origin. */
|
|
24
|
+
export declare function originAgentId(origin: string | undefined): string | null;
|
|
14
25
|
export interface HistoryState {
|
|
15
26
|
canUndo: boolean;
|
|
16
27
|
canRedo: boolean;
|
|
@@ -71,6 +82,26 @@ export interface HistoryEntry {
|
|
|
71
82
|
current: boolean;
|
|
72
83
|
/** True for steps on the redo stack (undone, can be redone). */
|
|
73
84
|
undone: boolean;
|
|
85
|
+
/** Who made the step: `user` or `agent:<id>` (see `Command.origin`). */
|
|
86
|
+
origin: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* What a `HistoryManager.onCommit` listener hears:
|
|
90
|
+
* - `execute`: a new step was recorded (also a `batch`).
|
|
91
|
+
* - `merge`: a change folded into the top step (a gesture or a coalesced `executeMerged`).
|
|
92
|
+
* - `undo` / `redo`: one step was taken back or re-applied (`goTo` reports one per step).
|
|
93
|
+
* - `revert`: `revertTo` took steps back for good.
|
|
94
|
+
* - `clear`: the history was emptied.
|
|
95
|
+
*/
|
|
96
|
+
export type HistoryCommitKind = "execute" | "merge" | "undo" | "redo" | "revert" | "clear";
|
|
97
|
+
export interface HistoryCommitEvent {
|
|
98
|
+
kind: HistoryCommitKind;
|
|
99
|
+
/** The step recorded, merged into, undone or redone. Absent for `revert` and `clear`. */
|
|
100
|
+
entry?: HistoryEntry;
|
|
101
|
+
/** Who made the change: the step's origin for `execute` / `merge`, else the origin in effect. */
|
|
102
|
+
origin: string;
|
|
103
|
+
/** `HistoryManager.getRevision()` after the change. */
|
|
104
|
+
revision: number;
|
|
74
105
|
}
|
|
75
106
|
/**
|
|
76
107
|
* A point in the undo history, from `HistoryManager.mark()`, for `revertTo`.
|
package/dist/history/types.d.ts
CHANGED
|
@@ -10,7 +10,18 @@ export interface Command {
|
|
|
10
10
|
* Counted against `HistoryManagerOptions.maxBytes` when no `sizeOf` hook is set.
|
|
11
11
|
*/
|
|
12
12
|
byteSize?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Who made the change: `user` (the default) or `agent:<id>` for an agent. Falls back to the
|
|
15
|
+
* origin set with `HistoryManager.withOrigin`, then to `user`.
|
|
16
|
+
*/
|
|
17
|
+
origin?: string;
|
|
13
18
|
}
|
|
19
|
+
/** The origin of changes no one has claimed: the person at the keyboard. */
|
|
20
|
+
export declare const USER_ORIGIN = "user";
|
|
21
|
+
/** The origin of an agent's changes: `agent:<id>`. */
|
|
22
|
+
export declare function agentOrigin(agentId: string): string;
|
|
23
|
+
/** The agent id of an `agent:<id>` origin, or `null` for any other origin. */
|
|
24
|
+
export declare function originAgentId(origin: string | undefined): string | null;
|
|
14
25
|
export interface HistoryState {
|
|
15
26
|
canUndo: boolean;
|
|
16
27
|
canRedo: boolean;
|
|
@@ -71,6 +82,26 @@ export interface HistoryEntry {
|
|
|
71
82
|
current: boolean;
|
|
72
83
|
/** True for steps on the redo stack (undone, can be redone). */
|
|
73
84
|
undone: boolean;
|
|
85
|
+
/** Who made the step: `user` or `agent:<id>` (see `Command.origin`). */
|
|
86
|
+
origin: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* What a `HistoryManager.onCommit` listener hears:
|
|
90
|
+
* - `execute`: a new step was recorded (also a `batch`).
|
|
91
|
+
* - `merge`: a change folded into the top step (a gesture or a coalesced `executeMerged`).
|
|
92
|
+
* - `undo` / `redo`: one step was taken back or re-applied (`goTo` reports one per step).
|
|
93
|
+
* - `revert`: `revertTo` took steps back for good.
|
|
94
|
+
* - `clear`: the history was emptied.
|
|
95
|
+
*/
|
|
96
|
+
export type HistoryCommitKind = "execute" | "merge" | "undo" | "redo" | "revert" | "clear";
|
|
97
|
+
export interface HistoryCommitEvent {
|
|
98
|
+
kind: HistoryCommitKind;
|
|
99
|
+
/** The step recorded, merged into, undone or redone. Absent for `revert` and `clear`. */
|
|
100
|
+
entry?: HistoryEntry;
|
|
101
|
+
/** Who made the change: the step's origin for `execute` / `merge`, else the origin in effect. */
|
|
102
|
+
origin: string;
|
|
103
|
+
/** `HistoryManager.getRevision()` after the change. */
|
|
104
|
+
revision: number;
|
|
74
105
|
}
|
|
75
106
|
/**
|
|
76
107
|
* A point in the undo history, from `HistoryManager.mark()`, for `revertTo`.
|