@pierre/diffs 1.3.6 → 1.4.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 (254) hide show
  1. package/dist/components/CodeView.d.ts +113 -68
  2. package/dist/components/CodeView.d.ts.map +1 -1
  3. package/dist/components/CodeView.js +153 -58
  4. package/dist/components/CodeView.js.map +1 -1
  5. package/dist/components/File.d.ts +75 -15
  6. package/dist/components/File.d.ts.map +1 -1
  7. package/dist/components/File.js +223 -62
  8. package/dist/components/File.js.map +1 -1
  9. package/dist/components/FileDiff.d.ts +97 -21
  10. package/dist/components/FileDiff.d.ts.map +1 -1
  11. package/dist/components/FileDiff.js +400 -100
  12. package/dist/components/FileDiff.js.map +1 -1
  13. package/dist/components/UnresolvedFile.d.ts +2 -2
  14. package/dist/components/UnresolvedFile.d.ts.map +1 -1
  15. package/dist/components/UnresolvedFile.js +2 -2
  16. package/dist/components/UnresolvedFile.js.map +1 -1
  17. package/dist/components/VirtualizedFile.d.ts +16 -7
  18. package/dist/components/VirtualizedFile.d.ts.map +1 -1
  19. package/dist/components/VirtualizedFile.js +140 -51
  20. package/dist/components/VirtualizedFile.js.map +1 -1
  21. package/dist/components/VirtualizedFileDiff.d.ts +14 -8
  22. package/dist/components/VirtualizedFileDiff.d.ts.map +1 -1
  23. package/dist/components/VirtualizedFileDiff.js +183 -93
  24. package/dist/components/VirtualizedFileDiff.js.map +1 -1
  25. package/dist/components/VirtulizerDevelopment.d.ts +1 -1
  26. package/dist/components/VirtulizerDevelopment.d.ts.map +1 -1
  27. package/dist/edit/index.d.ts +7 -4
  28. package/dist/edit/index.js +5 -1
  29. package/dist/editor/EditStateManager.d.ts +56 -0
  30. package/dist/editor/EditStateManager.d.ts.map +1 -0
  31. package/dist/editor/EditStateManager.js +135 -0
  32. package/dist/editor/EditStateManager.js.map +1 -0
  33. package/dist/editor/cloneRetainedDiffSessionSnapshot.d.ts +7 -0
  34. package/dist/editor/cloneRetainedDiffSessionSnapshot.d.ts.map +1 -0
  35. package/dist/editor/cloneRetainedDiffSessionSnapshot.js +16 -0
  36. package/dist/editor/cloneRetainedDiffSessionSnapshot.js.map +1 -0
  37. package/dist/editor/editPrediction.d.ts +76 -0
  38. package/dist/editor/editPrediction.d.ts.map +1 -0
  39. package/dist/editor/editPrediction.js +365 -0
  40. package/dist/editor/editPrediction.js.map +1 -0
  41. package/dist/editor/editStack.d.ts +19 -40
  42. package/dist/editor/editStack.d.ts.map +1 -1
  43. package/dist/editor/editStack.js +67 -4
  44. package/dist/editor/editStack.js.map +1 -1
  45. package/dist/editor/editor.d.ts +118 -29
  46. package/dist/editor/editor.d.ts.map +1 -1
  47. package/dist/editor/editor.js +1103 -383
  48. package/dist/editor/editor.js.map +1 -1
  49. package/dist/editor/editor2.js +1 -1
  50. package/dist/editor/languages.d.ts +3 -3
  51. package/dist/editor/languages.d.ts.map +1 -1
  52. package/dist/editor/languages.js.map +1 -1
  53. package/dist/editor/lineAnnotations.d.ts +3 -3
  54. package/dist/editor/lineAnnotations.d.ts.map +1 -1
  55. package/dist/editor/lineAnnotations.js +16 -7
  56. package/dist/editor/lineAnnotations.js.map +1 -1
  57. package/dist/editor/marker.d.ts +2 -2
  58. package/dist/editor/marker.d.ts.map +1 -1
  59. package/dist/editor/marker.js.map +1 -1
  60. package/dist/editor/matchBrackets.d.ts +2 -2
  61. package/dist/editor/matchBrackets.d.ts.map +1 -1
  62. package/dist/editor/matchBrackets.js.map +1 -1
  63. package/dist/editor/pieceTable.d.ts +1 -1
  64. package/dist/editor/pieceTable.js.map +1 -1
  65. package/dist/editor/searchPanel.d.ts +2 -2
  66. package/dist/editor/searchPanel.js +1 -1
  67. package/dist/editor/searchPanel.js.map +1 -1
  68. package/dist/editor/selection.d.ts +32 -23
  69. package/dist/editor/selection.d.ts.map +1 -1
  70. package/dist/editor/selection.js +3 -3
  71. package/dist/editor/selection.js.map +1 -1
  72. package/dist/editor/selectionAction.d.ts +3 -3
  73. package/dist/editor/selectionAction.d.ts.map +1 -1
  74. package/dist/editor/selectionAction.js.map +1 -1
  75. package/dist/editor/textDocument.d.ts +11 -8
  76. package/dist/editor/textDocument.d.ts.map +1 -1
  77. package/dist/editor/textDocument.js +28 -5
  78. package/dist/editor/textDocument.js.map +1 -1
  79. package/dist/editor/textDocumentChangeTransaction.d.ts +15 -0
  80. package/dist/editor/textDocumentChangeTransaction.d.ts.map +1 -0
  81. package/dist/editor/textDocumentChangeTransaction.js +12 -0
  82. package/dist/editor/textDocumentChangeTransaction.js.map +1 -0
  83. package/dist/editor/textMeasure.d.ts +5 -0
  84. package/dist/editor/textMeasure.d.ts.map +1 -1
  85. package/dist/editor/textMeasure.js +10 -0
  86. package/dist/editor/textMeasure.js.map +1 -1
  87. package/dist/editor/tokenizer.d.ts +1 -1
  88. package/dist/editor/tokenizer.js.map +1 -1
  89. package/dist/editor/types.d.ts +267 -0
  90. package/dist/editor/types.d.ts.map +1 -0
  91. package/dist/editor/types.js +0 -0
  92. package/dist/editor/utils.d.ts +2 -1
  93. package/dist/editor/utils.d.ts.map +1 -1
  94. package/dist/editor/utils.js +4 -1
  95. package/dist/editor/utils.js.map +1 -1
  96. package/dist/index.d.ts +8 -6
  97. package/dist/index.js +9 -8
  98. package/dist/managers/InteractionManager.d.ts.map +1 -1
  99. package/dist/managers/InteractionManager.js +7 -0
  100. package/dist/managers/InteractionManager.js.map +1 -1
  101. package/dist/react/CodeView.d.ts +36 -25
  102. package/dist/react/CodeView.d.ts.map +1 -1
  103. package/dist/react/CodeView.js +15 -14
  104. package/dist/react/CodeView.js.map +1 -1
  105. package/dist/react/EditContext.d.ts +8 -11
  106. package/dist/react/EditContext.d.ts.map +1 -1
  107. package/dist/react/EditContext.js +2 -9
  108. package/dist/react/EditContext.js.map +1 -1
  109. package/dist/react/File.d.ts +10 -6
  110. package/dist/react/File.d.ts.map +1 -1
  111. package/dist/react/File.js +8 -4
  112. package/dist/react/File.js.map +1 -1
  113. package/dist/react/FileDiff.d.ts +10 -5
  114. package/dist/react/FileDiff.d.ts.map +1 -1
  115. package/dist/react/FileDiff.js +8 -4
  116. package/dist/react/FileDiff.js.map +1 -1
  117. package/dist/react/MultiFileDiff.d.ts +8 -5
  118. package/dist/react/MultiFileDiff.d.ts.map +1 -1
  119. package/dist/react/MultiFileDiff.js +8 -12
  120. package/dist/react/MultiFileDiff.js.map +1 -1
  121. package/dist/react/PatchDiff.d.ts +7 -4
  122. package/dist/react/PatchDiff.d.ts.map +1 -1
  123. package/dist/react/PatchDiff.js +8 -4
  124. package/dist/react/PatchDiff.js.map +1 -1
  125. package/dist/react/UnresolvedFile.d.ts +3 -3
  126. package/dist/react/UnresolvedFile.d.ts.map +1 -1
  127. package/dist/react/UnresolvedFile.js.map +1 -1
  128. package/dist/react/index.d.ts +8 -5
  129. package/dist/react/types.d.ts +46 -9
  130. package/dist/react/types.d.ts.map +1 -1
  131. package/dist/react/utils/renderDiffChildren.d.ts +14 -12
  132. package/dist/react/utils/renderDiffChildren.d.ts.map +1 -1
  133. package/dist/react/utils/renderDiffChildren.js +2 -2
  134. package/dist/react/utils/renderDiffChildren.js.map +1 -1
  135. package/dist/react/utils/renderFileChildren.d.ts +14 -12
  136. package/dist/react/utils/renderFileChildren.d.ts.map +1 -1
  137. package/dist/react/utils/renderFileChildren.js +2 -2
  138. package/dist/react/utils/renderFileChildren.js.map +1 -1
  139. package/dist/react/utils/useFileDiffInstance.d.ts +22 -10
  140. package/dist/react/utils/useFileDiffInstance.d.ts.map +1 -1
  141. package/dist/react/utils/useFileDiffInstance.js +112 -22
  142. package/dist/react/utils/useFileDiffInstance.js.map +1 -1
  143. package/dist/react/utils/useFileInstance.d.ts +15 -9
  144. package/dist/react/utils/useFileInstance.d.ts.map +1 -1
  145. package/dist/react/utils/useFileInstance.js +84 -25
  146. package/dist/react/utils/useFileInstance.js.map +1 -1
  147. package/dist/renderers/DiffHunksRenderer.d.ts +30 -15
  148. package/dist/renderers/DiffHunksRenderer.d.ts.map +1 -1
  149. package/dist/renderers/DiffHunksRenderer.js +172 -108
  150. package/dist/renderers/DiffHunksRenderer.js.map +1 -1
  151. package/dist/renderers/FileRenderer.d.ts +27 -11
  152. package/dist/renderers/FileRenderer.d.ts.map +1 -1
  153. package/dist/renderers/FileRenderer.js +138 -64
  154. package/dist/renderers/FileRenderer.js.map +1 -1
  155. package/dist/renderers/UnresolvedFileHunksRenderer.d.ts +2 -2
  156. package/dist/renderers/UnresolvedFileHunksRenderer.d.ts.map +1 -1
  157. package/dist/renderers/UnresolvedFileHunksRenderer.js +2 -2
  158. package/dist/renderers/UnresolvedFileHunksRenderer.js.map +1 -1
  159. package/dist/shiki-stream/tokenizer.d.ts.map +1 -1
  160. package/dist/shiki-stream/tokenizer.js +2 -1
  161. package/dist/shiki-stream/tokenizer.js.map +1 -1
  162. package/dist/ssr/index.d.ts +2 -2
  163. package/dist/ssr/preloadDiffs.d.ts +21 -21
  164. package/dist/ssr/preloadDiffs.d.ts.map +1 -1
  165. package/dist/ssr/preloadDiffs.js +1 -1
  166. package/dist/ssr/preloadDiffs.js.map +1 -1
  167. package/dist/ssr/preloadFile.d.ts +6 -6
  168. package/dist/ssr/preloadFile.d.ts.map +1 -1
  169. package/dist/ssr/preloadFile.js.map +1 -1
  170. package/dist/ssr/preloadPatchFile.d.ts +4 -4
  171. package/dist/ssr/preloadPatchFile.d.ts.map +1 -1
  172. package/dist/ssr/preloadPatchFile.js.map +1 -1
  173. package/dist/style.js +1 -1
  174. package/dist/types.d.ts +13 -263
  175. package/dist/types.d.ts.map +1 -1
  176. package/dist/utils/appendItems.d.ts +5 -0
  177. package/dist/utils/appendItems.d.ts.map +1 -0
  178. package/dist/utils/appendItems.js +8 -0
  179. package/dist/utils/appendItems.js.map +1 -0
  180. package/dist/utils/areDiffTargetsEqual.js +1 -1
  181. package/dist/utils/areDiffTargetsEqual.js.map +1 -1
  182. package/dist/utils/areFileTargetsEqual.d.ts +7 -0
  183. package/dist/utils/areFileTargetsEqual.d.ts.map +1 -0
  184. package/dist/utils/areFileTargetsEqual.js +8 -0
  185. package/dist/utils/areFileTargetsEqual.js.map +1 -0
  186. package/dist/utils/areManagedSnapshotsEqual.d.ts +1 -1
  187. package/dist/utils/areManagedSnapshotsEqual.d.ts.map +1 -1
  188. package/dist/utils/areManagedSnapshotsEqual.js.map +1 -1
  189. package/dist/utils/areOptionsEqual.d.ts +3 -3
  190. package/dist/utils/areOptionsEqual.d.ts.map +1 -1
  191. package/dist/utils/areOptionsEqual.js.map +1 -1
  192. package/dist/utils/cloneFileDiffMetadata.d.ts +3 -2
  193. package/dist/utils/cloneFileDiffMetadata.d.ts.map +1 -1
  194. package/dist/utils/cloneFileDiffMetadata.js +8 -5
  195. package/dist/utils/cloneFileDiffMetadata.js.map +1 -1
  196. package/dist/utils/composeCacheKey.d.ts +6 -0
  197. package/dist/utils/composeCacheKey.d.ts.map +1 -0
  198. package/dist/utils/composeCacheKey.js +10 -0
  199. package/dist/utils/composeCacheKey.js.map +1 -0
  200. package/dist/utils/editSessionAnnotations.d.ts +69 -0
  201. package/dist/utils/editSessionAnnotations.d.ts.map +1 -0
  202. package/dist/utils/editSessionAnnotations.js +64 -0
  203. package/dist/utils/editSessionAnnotations.js.map +1 -0
  204. package/dist/utils/editSessionHunks.d.ts +5 -3
  205. package/dist/utils/editSessionHunks.d.ts.map +1 -1
  206. package/dist/utils/editSessionHunks.js +7 -5
  207. package/dist/utils/editSessionHunks.js.map +1 -1
  208. package/dist/utils/getDiffHunksRendererOptions.d.ts +1 -1
  209. package/dist/utils/getDiffHunksRendererOptions.d.ts.map +1 -1
  210. package/dist/utils/getDiffHunksRendererOptions.js.map +1 -1
  211. package/dist/utils/getFileRendererOptions.d.ts +1 -1
  212. package/dist/utils/getFileRendererOptions.d.ts.map +1 -1
  213. package/dist/utils/getFileRendererOptions.js.map +1 -1
  214. package/dist/utils/hydratePartialDiff.d.ts.map +1 -1
  215. package/dist/utils/hydratePartialDiff.js +2 -1
  216. package/dist/utils/hydratePartialDiff.js.map +1 -1
  217. package/dist/utils/lineAnnotationIdentity.d.ts +16 -0
  218. package/dist/utils/lineAnnotationIdentity.d.ts.map +1 -0
  219. package/dist/utils/lineAnnotationIdentity.js +17 -0
  220. package/dist/utils/lineAnnotationIdentity.js.map +1 -0
  221. package/dist/utils/parseDiffFromFile.d.ts +2 -2
  222. package/dist/utils/parseDiffFromFile.d.ts.map +1 -1
  223. package/dist/utils/parseDiffFromFile.js +6 -6
  224. package/dist/utils/parseDiffFromFile.js.map +1 -1
  225. package/dist/utils/parsePatchFiles.d.ts +6 -3
  226. package/dist/utils/parsePatchFiles.d.ts.map +1 -1
  227. package/dist/utils/parsePatchFiles.js +34 -9
  228. package/dist/utils/parsePatchFiles.js.map +1 -1
  229. package/dist/utils/renderDiffWithHighlighter.d.ts.map +1 -1
  230. package/dist/utils/renderDiffWithHighlighter.js +6 -5
  231. package/dist/utils/renderDiffWithHighlighter.js.map +1 -1
  232. package/dist/utils/renderFileWithHighlighter.d.ts.map +1 -1
  233. package/dist/utils/renderFileWithHighlighter.js +7 -4
  234. package/dist/utils/renderFileWithHighlighter.js.map +1 -1
  235. package/dist/utils/trimPatchContext.d.ts.map +1 -1
  236. package/dist/utils/trimPatchContext.js +3 -2
  237. package/dist/utils/trimPatchContext.js.map +1 -1
  238. package/dist/utils/updateDiffHunks.js +1 -1
  239. package/dist/utils/virtualDiffLayout.js +1 -1
  240. package/dist/worker/WorkerPoolManager.d.ts +4 -3
  241. package/dist/worker/WorkerPoolManager.d.ts.map +1 -1
  242. package/dist/worker/WorkerPoolManager.js +33 -4
  243. package/dist/worker/WorkerPoolManager.js.map +1 -1
  244. package/dist/worker/types.d.ts +5 -0
  245. package/dist/worker/types.d.ts.map +1 -1
  246. package/dist/worker/worker-portable.js +14 -6
  247. package/dist/worker/worker-portable.js.map +1 -1
  248. package/dist/worker/worker.js +14 -6
  249. package/dist/worker/worker.js.map +1 -1
  250. package/package.json +9 -1
  251. package/dist/editor/stateStorage.d.ts +0 -15
  252. package/dist/editor/stateStorage.d.ts.map +0 -1
  253. package/dist/editor/stateStorage.js +0 -65
  254. package/dist/editor/stateStorage.js.map +0 -1
@@ -1,13 +1,17 @@
1
- import { CodeViewCreateEditorOptions, CodeViewDiffItem, CodeViewFileItem, CodeViewItem, CodeViewLayout, CodeViewScrollTarget, DiffLineAnnotation, DiffsEditor, FileContents, HunkSeparators, LineAnnotation, SelectedLineRange, SmoothScrollSettings, VirtualFileMetrics, VirtualWindowSpecs } from "../types.js";
1
+ import { CodeViewDiffItem, CodeViewFileItem, CodeViewItem, CodeViewLayout, CodeViewScrollTarget, HunkSeparators, SelectedLineRange, SmoothScrollSettings, VirtualFileMetrics, VirtualWindowSpecs } from "../types.js";
2
+ import { EditCompletionDecision, EditorChangeEvent, EditorType, FileDiffEditCompleteEvent, FileEditCompleteEvent } from "../editor/types.js";
2
3
  import { SelectionWriteOptions } from "../managers/InteractionManager.js";
3
4
  import { WorkerPoolManager } from "../worker/WorkerPoolManager.js";
4
5
  import { FileOptions } from "./File.js";
5
6
  import { FileDiffOptions } from "./FileDiff.js";
7
+ import { Editor, EditorOptions } from "../editor/editor.js";
6
8
  import { VirtualizerConfig } from "./Virtualizer.js";
7
9
  import { VirtualizedFile } from "./VirtualizedFile.js";
8
10
  import { VirtualizedFileDiff } from "./VirtualizedFileDiff.js";
9
11
 
10
12
  //#region src/components/CodeView.d.ts
13
+ type CodeViewCreateEditorOptions<EType extends EditorType, LAnnotation, Caret> = Required<Pick<EditorOptions<EType, LAnnotation, Caret>, 'onChange'>>;
14
+ type CodeViewEditor<LAnnotation, Caret> = Editor<'file', LAnnotation, Caret> | Editor<'file-diff', LAnnotation, Caret>;
11
15
  interface AdvancedVirtualizedBaseItem {
12
16
  /** Current index of this record in the ordered items array. */
13
17
  index: number;
@@ -23,40 +27,44 @@ interface AdvancedVirtualizedBaseItem {
23
27
  /** Last CodeView option revision this item rendered with. */
24
28
  renderedOptionsRevision: number;
25
29
  }
26
- interface CodeViewDiffItemContext<LAnnotation> extends AdvancedVirtualizedBaseItem {
30
+ interface CodeViewVirtualizedInstanceKey {
31
+ readonly __id: string;
32
+ readonly renderType: 'virtualized';
33
+ }
34
+ interface CodeViewDiffItemContext<LAnnotation, Caret> extends AdvancedVirtualizedBaseItem {
27
35
  type: 'diff';
28
36
  /** Latest item snapshot for this record. Controlled updates can replace it. */
29
37
  item: CodeViewDiffItem<LAnnotation>;
30
38
  /** Virtualized diff instance responsible for rendering this item. */
31
- instance: VirtualizedFileDiff<LAnnotation>;
39
+ instance: VirtualizedFileDiff<LAnnotation, Caret>;
32
40
  }
33
- interface CodeViewFileItemContext<LAnnotation> extends AdvancedVirtualizedBaseItem {
41
+ interface CodeViewFileItemContext<LAnnotation, Caret> extends AdvancedVirtualizedBaseItem {
34
42
  type: 'file';
35
43
  /** Latest item snapshot for this record. Controlled updates can replace it. */
36
44
  item: CodeViewFileItem<LAnnotation>;
37
45
  /** Virtualized file instance responsible for rendering this item. */
38
- instance: VirtualizedFile<LAnnotation>;
46
+ instance: VirtualizedFile<LAnnotation, Caret>;
39
47
  }
40
- type CodeViewContextItem<LAnnotation> = CodeViewDiffItemContext<LAnnotation> | CodeViewFileItemContext<LAnnotation>;
41
- interface CodeViewRenderedDiffItem<LAnnotation> {
48
+ type CodeViewContextItem<LAnnotation, Caret> = CodeViewDiffItemContext<LAnnotation, Caret> | CodeViewFileItemContext<LAnnotation, Caret>;
49
+ interface CodeViewRenderedDiffItem<LAnnotation, Caret> {
42
50
  id: string;
43
51
  type: 'diff';
44
52
  item: CodeViewDiffItem<LAnnotation>;
45
53
  version: number | undefined;
46
54
  element: HTMLElement;
47
- instance: VirtualizedFileDiff<LAnnotation>;
55
+ instance: VirtualizedFileDiff<LAnnotation, Caret>;
48
56
  }
49
- interface CodeViewRenderedFileItem<LAnnotation> {
57
+ interface CodeViewRenderedFileItem<LAnnotation, Caret> {
50
58
  id: string;
51
59
  type: 'file';
52
60
  item: CodeViewFileItem<LAnnotation>;
53
61
  version: number | undefined;
54
62
  element: HTMLElement;
55
- instance: VirtualizedFile<LAnnotation>;
63
+ instance: VirtualizedFile<LAnnotation, Caret>;
56
64
  }
57
- type CodeViewRenderedItem<LAnnotation> = CodeViewRenderedDiffItem<LAnnotation> | CodeViewRenderedFileItem<LAnnotation>;
58
- interface CodeViewSlotSnapshot<LAnnotation> {
59
- items: CodeViewRenderedItem<LAnnotation>[] | undefined;
65
+ type CodeViewRenderedItem<LAnnotation, Caret> = CodeViewRenderedDiffItem<LAnnotation, Caret> | CodeViewRenderedFileItem<LAnnotation, Caret>;
66
+ interface CodeViewSlotSnapshot<LAnnotation, Caret> {
67
+ items: CodeViewRenderedItem<LAnnotation, Caret>[] | undefined;
60
68
  header: HTMLElement | undefined;
61
69
  footer: HTMLElement | undefined;
62
70
  }
@@ -64,32 +72,42 @@ interface CodeViewLineSelection {
64
72
  id: string;
65
73
  range: SelectedLineRange;
66
74
  }
67
- interface CodeViewCoordinator<LAnnotation> {
75
+ interface CodeViewCoordinator<LAnnotation, Caret> {
68
76
  hasHeaderRenderers: boolean;
69
77
  hasAnnotationRenderer: boolean;
70
78
  hasGutterRenderer: boolean;
71
- onSnapshotChange(snapshot: CodeViewSlotSnapshot<LAnnotation> | undefined): void;
79
+ onSnapshotChange(snapshot: CodeViewSlotSnapshot<LAnnotation, Caret> | undefined): void;
72
80
  }
73
- type CodeViewScrollListener<LAnnotation> = (scrollTop: number, viewer: CodeView<LAnnotation>) => void;
81
+ type CodeViewScrollListener<LAnnotation, Caret> = (scrollTop: number, viewer: CodeView<LAnnotation, Caret>) => void;
74
82
  type OverloadCallbackArgs<TCallback> = TCallback extends ((...args: infer TArgs) => unknown) ? TArgs : never;
75
83
  type CallbackReturn<TCallback> = TCallback extends ((...args: never[]) => infer TReturn) ? TReturn : never;
76
- type OverloadFileCallbackArgs<LAnnotation, TKey extends keyof FileOptions<LAnnotation>> = OverloadCallbackArgs<NonNullable<FileOptions<LAnnotation>[TKey]>>;
77
- type OverloadDiffCallbackArgs<LAnnotation, TKey extends keyof FileDiffOptions<LAnnotation>> = OverloadCallbackArgs<NonNullable<FileDiffOptions<LAnnotation>[TKey]>>;
78
- type CodeViewOptionCallback<LAnnotation, TKey extends keyof FileOptions<LAnnotation> & keyof FileDiffOptions<LAnnotation>> = {
79
- (...args: [...OverloadFileCallbackArgs<LAnnotation, TKey>, context: CodeViewFileItemContext<LAnnotation>]): CallbackReturn<NonNullable<FileOptions<LAnnotation>[TKey]>>;
80
- (...args: [...OverloadDiffCallbackArgs<LAnnotation, TKey>, context: CodeViewDiffItemContext<LAnnotation>]): CallbackReturn<NonNullable<FileDiffOptions<LAnnotation>[TKey]>>;
84
+ type OverloadFileCallbackArgs<LAnnotation, Caret, TKey extends keyof FileOptions<LAnnotation, Caret>> = OverloadCallbackArgs<NonNullable<FileOptions<LAnnotation, Caret>[TKey]>>;
85
+ type OverloadDiffCallbackArgs<LAnnotation, Caret, TKey extends keyof FileDiffOptions<LAnnotation, Caret>> = OverloadCallbackArgs<NonNullable<FileDiffOptions<LAnnotation, Caret>[TKey]>>;
86
+ type CodeViewOptionCallback<LAnnotation, Caret, TKey extends keyof FileOptions<LAnnotation, Caret> & keyof FileDiffOptions<LAnnotation, Caret>> = {
87
+ (...args: [...OverloadFileCallbackArgs<LAnnotation, Caret, TKey>, context: CodeViewFileItemContext<LAnnotation, Caret>]): CallbackReturn<NonNullable<FileOptions<LAnnotation, Caret>[TKey]>>;
88
+ (...args: [...OverloadDiffCallbackArgs<LAnnotation, Caret, TKey>, context: CodeViewDiffItemContext<LAnnotation, Caret>]): CallbackReturn<NonNullable<FileDiffOptions<LAnnotation, Caret>[TKey]>>;
81
89
  };
82
90
  declare const CODE_VIEW_DIFF_OPTION_KEYS: readonly ['theme', 'disableLineNumbers', 'overflow', 'themeType', 'disableFileHeader', 'disableVirtualizationBuffers', 'preferredHighlighter', 'useCSSClasses', 'useTokenTransformer', 'tokenizeMaxLineLength', 'tokenizeMaxLength', 'unsafeCSS', 'diffStyle', 'diffIndicators', 'disableBackground', 'expandUnchanged', 'loadDiffFiles', 'collapsedContextThreshold', 'lineDiffType', 'maxLineDiffLength', 'expansionLineCount', 'lineHoverHighlight', 'enableTokenInteractionsOnWhitespace', 'enableGutterUtility', '__debugPointerEvents', 'enableLineSelection', 'controlledSelection', 'disableErrorHandling'];
83
91
  type CodeViewDiffOptionKeys = (typeof CODE_VIEW_DIFF_OPTION_KEYS)[number];
84
92
  declare const CODE_VIEW_FILE_OPTION_KEYS: readonly ['theme', 'disableLineNumbers', 'overflow', 'themeType', 'disableFileHeader', 'disableVirtualizationBuffers', 'preferredHighlighter', 'useCSSClasses', 'useTokenTransformer', 'tokenizeMaxLineLength', 'tokenizeMaxLength', 'unsafeCSS', 'lineHoverHighlight', 'enableTokenInteractionsOnWhitespace', 'enableGutterUtility', '__debugPointerEvents', 'enableLineSelection', 'controlledSelection', 'disableErrorHandling'];
85
- type CodeViewPassThroughOptions<LAnnotation> = Pick<FileDiffOptions<LAnnotation>, CodeViewDiffOptionKeys>;
93
+ type CodeViewPassThroughOptions<LAnnotation, Caret> = Pick<FileDiffOptions<LAnnotation, Caret>, CodeViewDiffOptionKeys>;
94
+ type CodeViewMode = 'file' | 'diff';
95
+ interface CodeViewItemEditCompleteEventMap<LAnnotation, Caret> {
96
+ file: FileEditCompleteEvent<LAnnotation, Caret>;
97
+ diff: FileDiffEditCompleteEvent<LAnnotation, Caret>;
98
+ }
99
+ interface CodeViewModeItemMap<LAnnotation> {
100
+ file: CodeViewFileItem<LAnnotation>;
101
+ diff: CodeViewDiffItem<LAnnotation>;
102
+ }
103
+ type CodeViewItemEditCompleteHandler<LAnnotation, Caret> = <TMode extends CodeViewMode>(event: CodeViewItemEditCompleteEventMap<LAnnotation, Caret>[TMode], item: CodeViewModeItemMap<LAnnotation>[TMode], nextItem: CodeViewModeItemMap<LAnnotation>[TMode]) => EditCompletionDecision;
86
104
  declare const CODE_VIEW_SHARED_CALLBACK_KEYS: readonly ['renderCustomHeader', 'renderHeaderPrefix', 'renderHeaderFilenameSuffix', 'renderHeaderMetadata', 'renderAnnotation', 'renderGutterUtility', 'onPostRender', 'onGutterUtilityClick', 'onLineClick', 'onLineNumberClick', 'onLineEnter', 'onLineLeave', 'onTokenClick', 'onTokenEnter', 'onTokenLeave'];
87
105
  declare const CODE_VIEW_SELECTION_CALLBACK_KEYS: readonly ['onLineSelected', 'onLineSelectionStart', 'onLineSelectionChange', 'onLineSelectionEnd'];
88
106
  type CodeViewSharedCallbackKeys = (typeof CODE_VIEW_SHARED_CALLBACK_KEYS)[number];
89
107
  type CodeViewSelectionCallbackKeys = (typeof CODE_VIEW_SELECTION_CALLBACK_KEYS)[number];
90
- type CodeViewSharedCallbackOptions<LAnnotation> = { [TKey in CodeViewSharedCallbackKeys]?: CodeViewOptionCallback<LAnnotation, TKey> };
91
- type CodeViewSelectionCallbackOptions<LAnnotation> = { [TKey in CodeViewSelectionCallbackKeys]?: CodeViewOptionCallback<LAnnotation, TKey> };
92
- interface CodeViewOptions<LAnnotation> extends CodeViewPassThroughOptions<LAnnotation>, CodeViewSharedCallbackOptions<LAnnotation>, CodeViewSelectionCallbackOptions<LAnnotation> {
108
+ type CodeViewSharedCallbackOptions<LAnnotation, Caret> = { [TKey in CodeViewSharedCallbackKeys]?: CodeViewOptionCallback<LAnnotation, Caret, TKey> };
109
+ type CodeViewSelectionCallbackOptions<LAnnotation, Caret> = { [TKey in CodeViewSelectionCallbackKeys]?: CodeViewOptionCallback<LAnnotation, Caret, TKey> };
110
+ interface CodeViewOptions<LAnnotation, Caret> extends CodeViewPassThroughOptions<LAnnotation, Caret>, CodeViewSharedCallbackOptions<LAnnotation, Caret>, CodeViewSelectionCallbackOptions<LAnnotation, Caret> {
93
111
  hunkSeparators?: Exclude<HunkSeparators, 'custom'>;
94
112
  itemMetrics?: Partial<VirtualFileMetrics>;
95
113
  pointerEventsOnScroll?: boolean;
@@ -98,36 +116,48 @@ interface CodeViewOptions<LAnnotation> extends CodeViewPassThroughOptions<LAnnot
98
116
  controlledSelection?: boolean;
99
117
  onSelectedLinesChange?(selection: CodeViewLineSelection | null): void;
100
118
  layout?: CodeViewLayout;
119
+ /**
120
+ * Return an in-memory retention key for an item's editable draft and
121
+ * undo/redo history. Called only when CodeView creates the item's editor.
122
+ */
123
+ getEditStateKey?(item: CodeViewItem<LAnnotation>): string | undefined;
101
124
  /**
102
125
  * Create an editor for an item entering edit mode (`edit: true`). Providing
103
126
  * this option is what enables item editing. Pass the given options into the
104
- * editor constructor — `new Editor(options)` — so CodeView can route
105
- * document changes to `onItemEditChange`. CodeView owns the returned
106
- * editor's lifecycle: it attaches when the edited item mounts, re-attaches
107
- * across virtualization unmounts, and cleans the editor up once the item
108
- * stops being editable (edit off, collapsed, or removed). Returning
109
- * undefined declines the attach; CodeView retries on later render passes.
127
+ * editor constructor — `new Editor(editorType, options, editStateKey)` —
128
+ * so CodeView can route document changes to `onItemEditChange` and retain
129
+ * history when requested. CodeView owns the returned editor's lifecycle: it
130
+ * associates with the edited item, suspends and resumes rendering across
131
+ * virtualization unmounts and collapse, and tears the editor down when the
132
+ * session ends (edit off or removal).
110
133
  */
111
- createEditor?(options: CodeViewCreateEditorOptions<LAnnotation>): DiffsEditor<LAnnotation> | undefined;
134
+ createEditor?<EType extends EditorType>(editorType: EType, options: CodeViewCreateEditorOptions<EType, LAnnotation, Caret>, editStateKey?: string): Editor<EType, LAnnotation, Caret>;
112
135
  /**
113
- * Called when an edited item's document changes, with the owning item
114
- * resolved by CodeView.
136
+ * Called with the editor's `EditorChangeEvent` and the owning item whenever
137
+ * the edited document changes, from internal (edit) changes or external
138
+ * (CodeViewItem) changes. The event contains that same attached editor.
139
+ *
140
+ * Do not feed these changes back into item state.
115
141
  */
116
- onItemEditChange?(item: CodeViewItem<LAnnotation>, file: FileContents, lineAnnotations?: LineAnnotation<LAnnotation>[] | DiffLineAnnotation<LAnnotation>[]): void;
142
+ onItemEditChange?(event: EditorChangeEvent<EditorType, LAnnotation, Caret>, item: CodeViewItem<LAnnotation>): void;
117
143
  /**
118
- * Called once when an item's edit session ends — edit turned off, item
119
- * removed (including a controlled `setItems([])` that empties the list), or
120
- * item collapsed — with the final contents from the session's last document
121
- * change. Not called when the session produced no changes, nor on a direct
122
- * `reset()`/`cleanUp()` teardown.
144
+ * Called once when an edit session ends: edit to false, the item is removed
145
+ * from items, or the viewer tears down (`reset()`/`cleanUp()`, where the
146
+ * result is not installed because the viewer is going away). Collapse does
147
+ * not call it because the session remains active until the item expands.
123
148
  *
124
- * Committing is user-space: CodeView never writes item data itself. The
125
- * recommended handler makes one combined item write (`updateItem` with a
126
- * `version` bump) carrying the new file/fileDiff — with a fresh `cacheKey`,
127
- * since the delivered contents differ from what the old key cached — along
128
- * with `edit: false`.
149
+ * The event carries the completed `file`/`fileDiff` built from the edit
150
+ * session. `item` is the item that owned the session, and `nextItem` is
151
+ * the accepted replacement CodeView built from it: the event's completed
152
+ * value and annotations, `edit: false`, and a bumped `version`. Return
153
+ * `'accept'` to install the edit — CodeView applies `nextItem` through the
154
+ * item update path when the item still exists, and a controlled owner puts
155
+ * the same `nextItem` into its state — or `'reject'` to revert. The event is
156
+ * frozen; re-key the accepted value in place (`event.fileDiff.cacheKey =
157
+ * '…'`) before accepting. The event contains the detached editor with its
158
+ * final pre-detach state.
129
159
  */
130
- onItemEditComplete?(item: CodeViewItem<LAnnotation>, file: FileContents, lineAnnotations?: LineAnnotation<LAnnotation>[] | DiffLineAnnotation<LAnnotation>[]): void;
160
+ onItemEditComplete?: CodeViewItemEditCompleteHandler<LAnnotation, Caret>;
131
161
  /** Render a non-virtualized element at the very start of the scroll content,
132
162
  * before the first item. It is always rendered and scrolls with the content.
133
163
  * Return the same element across calls and mutate it in place to update;
@@ -142,8 +172,8 @@ interface CodeViewOptions<LAnnotation> extends CodeViewPassThroughOptions<LAnnot
142
172
  * performance fairly significantly */
143
173
  __devOnlyValidateItemHeights?: boolean;
144
174
  }
145
- type CodeViewItemMap<LAnnotation> = Map<string, CodeViewContextItem<LAnnotation>>;
146
- declare class CodeView<LAnnotation = undefined> {
175
+ type CodeViewItemMap<LAnnotation, Caret> = Map<string, CodeViewContextItem<LAnnotation, Caret>>;
176
+ declare class CodeView<LAnnotation = undefined, Caret = undefined> {
147
177
  static __STOP: boolean;
148
178
  static __lastScrollPosition: number;
149
179
  type: 'advanced';
@@ -194,7 +224,7 @@ declare class CodeView<LAnnotation = undefined> {
194
224
  private workerManager;
195
225
  private isReadySubscription;
196
226
  private isContainerManaged;
197
- constructor(options?: CodeViewOptions<LAnnotation>, workerManager?: WorkerPoolManager | undefined, isContainerManaged?: boolean);
227
+ constructor(options?: CodeViewOptions<LAnnotation, Caret>, workerManager?: WorkerPoolManager | undefined, isContainerManaged?: boolean);
198
228
  private getLayout;
199
229
  private getItemTopOffset;
200
230
  private computeMetricsCache;
@@ -239,9 +269,10 @@ declare class CodeView<LAnnotation = undefined> {
239
269
  /**
240
270
  * Get the live editor for an item currently in edit mode. Use this to drive
241
271
  * editor APIs CodeView does not wrap (applyEdits, undo, setMarkers, …).
242
- * Returns undefined once the item leaves edit mode.
272
+ * Returns undefined once the item's session ends (edit off or removal); a
273
+ * collapsed item keeps its suspended editor.
243
274
  */
244
- getEditor(itemId: string): DiffsEditor<LAnnotation> | undefined;
275
+ getEditor(itemId: string): CodeViewEditor<LAnnotation, Caret> | undefined;
245
276
  updateItem(input: CodeViewItem<LAnnotation>): boolean;
246
277
  updateItemId(oldId: string, newId: string): boolean;
247
278
  addItem(input: CodeViewItem<LAnnotation>): void;
@@ -257,44 +288,58 @@ declare class CodeView<LAnnotation = undefined> {
257
288
  private appendItemsInternal;
258
289
  private canSkipRenderForAppend;
259
290
  onThemeChange(): void;
260
- setOptions(options: CodeViewOptions<LAnnotation> | undefined): void;
261
- capturePendingLayoutAnchor(nextItems?: Readonly<CodeViewItemMap<LAnnotation>>): void;
291
+ setOptions(options: CodeViewOptions<LAnnotation, Caret> | undefined): void;
292
+ capturePendingLayoutAnchor(nextItems?: Readonly<CodeViewItemMap<LAnnotation, Caret>>): void;
262
293
  render(immediate?: boolean): void;
263
294
  private isReady;
264
295
  private clearReadySubscription;
265
- instanceChanged(instance: VirtualizedFile<LAnnotation> | VirtualizedFileDiff<LAnnotation>, layoutDirty: boolean): void;
296
+ instanceChanged(instance: CodeViewVirtualizedInstanceKey, layoutDirty: boolean): void;
266
297
  getWindowSpecs(): VirtualWindowSpecs;
267
298
  getContainerElement(): HTMLElement | undefined;
268
299
  getHeaderElement(): HTMLElement | undefined;
269
300
  getFooterElement(): HTMLElement | undefined;
270
- getRenderedItems(): CodeViewRenderedItem<LAnnotation>[];
271
- setSlotCoordinator(coordinator?: CodeViewCoordinator<LAnnotation>): boolean;
272
- getSlotSnapshot(coordinator: CodeViewCoordinator<LAnnotation>): CodeViewSlotSnapshot<LAnnotation> | undefined;
301
+ getRenderedItems(): CodeViewRenderedItem<LAnnotation, Caret>[];
302
+ setSlotCoordinator(coordinator?: CodeViewCoordinator<LAnnotation, Caret>): boolean;
303
+ getSlotSnapshot(coordinator: CodeViewCoordinator<LAnnotation, Caret>): CodeViewSlotSnapshot<LAnnotation, Caret> | undefined;
273
304
  private buildSlotSnapshot;
274
- subscribeToScroll(listener: CodeViewScrollListener<LAnnotation>): () => void;
275
- getLocalTopForInstance(instance: VirtualizedFile<LAnnotation> | VirtualizedFileDiff<LAnnotation>): number;
305
+ subscribeToScroll(listener: CodeViewScrollListener<LAnnotation, Caret>): () => void;
306
+ getLocalTopForInstance(instance: CodeViewVirtualizedInstanceKey): number;
276
307
  getTopForItem(id: string): number | undefined;
277
308
  private createItem;
278
309
  private applySelectedLines;
279
310
  private syncSelection;
280
311
  private isItemInEditMode;
281
312
  /**
282
- * Attach (or lazily create) the editor for a mounted edit-mode item. Called
313
+ * Lazily create and attach the editor for a mounted edit-mode item. Called
283
314
  * from the render loop so every mounted item passes through it: fresh
284
315
  * mounts, remounts after virtualization released the item, and items whose
285
316
  * edit flag was just turned on. Editors persist across unmounts, so a
286
- * remounted item re-attaches its existing editor and resumes the retained
287
- * document; the renderers keep the host's file/diff data in sync with the
288
- * session so the remount paints the edited text.
317
+ * remounted item resumes its existing editor and retained document; the
318
+ * instance retains its private session model so the remount
319
+ * paints the edited text without changing the host input.
289
320
  */
290
321
  private attachItemEditor;
291
322
  /**
292
- * Drop editors for items that can no longer be edited: removed, edit turned
293
- * off, or collapsed. Attachment happens in the render loop via
294
- * attachItemEditor, so this only reconciles editors CodeView is already
295
- * holding.
323
+ * Reconcile the editors CodeView is holding: complete sessions for items
324
+ * whose edit turned off or that were removed, and suspend sessions for
325
+ * collapsed items (the editor tears down, the record and the instance's
326
+ * session stay for the next expand). Attachment happens in the render loop
327
+ * via attachItemEditor.
296
328
  */
297
329
  private syncItemEditors;
330
+ private requireItemFromState;
331
+ /**
332
+ * Item-instance `onEditComplete` adapter for file items: builds the
333
+ * accepted next item, hands it to `onItemEditComplete` alongside the event
334
+ * and the owning item, and translates the identity of the returned item to
335
+ * the component return contract.
336
+ */
337
+ private completeFileItemEdit;
338
+ /**
339
+ * Item-instance `onEditComplete` adapter for diff items; see
340
+ * completeFileItemEdit.
341
+ */
342
+ private completeDiffItemEdit;
298
343
  private renamePendingScrollTarget;
299
344
  private renamePendingLayoutAnchor;
300
345
  private createFileOptionsPrototype;
@@ -472,5 +517,5 @@ declare class CodeView<LAnnotation = undefined> {
472
517
  private getFitPerfectlyOverscroll;
473
518
  }
474
519
  //#endregion
475
- export { CODE_VIEW_DIFF_OPTION_KEYS, CODE_VIEW_FILE_OPTION_KEYS, CodeView, CodeViewCoordinator, CodeViewLineSelection, CodeViewOptions, CodeViewRenderedDiffItem, CodeViewRenderedFileItem, CodeViewRenderedItem, CodeViewScrollListener, CodeViewSlotSnapshot };
520
+ export { CODE_VIEW_DIFF_OPTION_KEYS, CODE_VIEW_FILE_OPTION_KEYS, CodeView, CodeViewCoordinator, CodeViewCreateEditorOptions, CodeViewItemEditCompleteEventMap, CodeViewItemEditCompleteHandler, CodeViewLineSelection, CodeViewMode, CodeViewModeItemMap, CodeViewOptions, CodeViewRenderedDiffItem, CodeViewRenderedFileItem, CodeViewRenderedItem, CodeViewScrollListener, CodeViewSlotSnapshot };
476
521
  //# sourceMappingURL=CodeView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeView.d.ts","names":[],"sources":["../../src/components/CodeView.ts"],"mappings":";;;;;;;;;;UA8GU,2BAAA;;EAER,KAAA;EAFQ;EAIR,GAAA;;EAEA,MAAA;EAJA;;EAOA,OAAA,EAAS,WAAW;EAApB;EAEA,OAAA;EAAA;EAEA,uBAAA;AAAA;AAAA,UAGQ,uBAAA,sBAEA,2BAAA;EACR,IAAA;EAH+B;EAK/B,IAAA,EAAM,gBAAA,CAAiB,WAAA;EAAA;EAEvB,QAAA,EAAU,mBAAA,CAAoB,WAAA;AAAA;AAAA,UAGtB,uBAAA,sBAEA,2BAAA;EACR,IAAA;EAXmC;EAanC,IAAA,EAAM,gBAAA,CAAiB,WAAA;EAdvB;EAgBA,QAAA,EAAU,eAAA,CAAgB,WAAA;AAAA;AAAA,KAGvB,mBAAA,gBACD,uBAAA,CAAwB,WAAA,IACxB,uBAAA,CAAwB,WAAA;AAAA,UAEX,wBAAA;EACf,EAAA;EACA,IAAA;EACA,IAAA,EAAM,gBAAA,CAAiB,WAAA;EACvB,OAAA;EACA,OAAA,EAAS,WAAA;EACT,QAAA,EAAU,mBAAA,CAAoB,WAAA;AAAA;AAAA,UAGf,wBAAA;EACf,EAAA;EACA,IAAA;EACA,IAAA,EAAM,gBAAA,CAAiB,WAAA;EACvB,OAAA;EACA,OAAA,EAAS,WAAA;EACT,QAAA,EAAU,eAAA,CAAgB,WAAA;AAAA;AAAA,KAGhB,oBAAA,gBACR,wBAAA,CAAyB,WAAA,IACzB,wBAAA,CAAyB,WAAA;AAAA,UAIZ,oBAAA;EAGf,KAAA,EAAO,oBAAA,CAAqB,WAAA;EAM5B,MAAA,EAAQ,WAAA;EACR,MAAA,EAAQ,WAAA;AAAA;AAAA,UAGO,q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